12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689 |
- #ifndef _WMI_UNIFIED_H_
- #define _WMI_UNIFIED_H_
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include <wlan_defs.h>
- #include <wmi_services.h>
- #include <wmi_unified_vendor.h>
- #define ATH_MAC_LEN 6
- #define WMI_EVENT_STATUS_SUCCESS 0
- #define WMI_EVENT_STATUS_FAILURE 1
- #define MAX_TX_RATE_VALUES 10
- #define MAX_RSSI_VALUES 10
- #define WMI_MAX_CHAINS 8
- #define WMI_MAX_CHAINS_FOR_AOA_RCC 2
- #define MAX_AOA_PHASEDELTA 31
- #define WLAN_MAX_AC 4
- #define WMI_F_MS(_v, _f) \
- (((_v) & (_f)) >> (_f##_S))
- #define WMI_F_RMW(_var, _v, _f) \
- do { \
- (_var) &= ~(_f); \
- (_var) |= (((_v) << (_f##_S)) & (_f)); \
- } while (0)
- #define WMI_GET_BITS(_val,_index,_num_bits) \
- (((_val) >> (_index)) & ((1 << (_num_bits)) - 1))
- #define WMI_SET_BITS(_var,_index,_num_bits,_val) do { \
- (_var) &= ~(((1 << (_num_bits)) - 1) << (_index)); \
- (_var) |= (((_val) & ((1 << (_num_bits)) - 1)) << (_index)); \
- } while (0)
- #define WMI_PACKED_ARR_SIZE(num_entries,bits_per_entry) \
- (((num_entries) / (32 / (bits_per_entry))) + \
- (((num_entries) % (32 / (bits_per_entry))) ? 1 : 0))
- #define WMI_RETURN_STRING(str) case ((str)): return (A_UINT8 *)(# str);
- static INLINE A_UINT32 wmi_packed_arr_get_bits(A_UINT32 *arr,
- A_UINT32 entry_index, A_UINT32 bits_per_entry)
- {
- A_UINT32 entries_per_uint = (32 / bits_per_entry);
- A_UINT32 uint_index = (entry_index / entries_per_uint);
- A_UINT32 num_entries_in_prev_uints = (uint_index * entries_per_uint);
- A_UINT32 index_in_uint = (entry_index - num_entries_in_prev_uints);
- A_UINT32 start_bit_in_uint = (index_in_uint * bits_per_entry);
- return (arr[uint_index] >> start_bit_in_uint) &
- ((1 << bits_per_entry) - 1);
- }
- static INLINE void wmi_packed_arr_set_bits(A_UINT32 *arr, A_UINT32 entry_index,
- A_UINT32 bits_per_entry, A_UINT32 val)
- {
- A_UINT32 entries_per_uint = (32 / bits_per_entry);
- A_UINT32 uint_index = (entry_index / entries_per_uint);
- A_UINT32 num_entries_in_prev_uints = (uint_index * entries_per_uint);
- A_UINT32 index_in_uint = (entry_index - num_entries_in_prev_uints);
- A_UINT32 start_bit_in_uint = (index_in_uint * bits_per_entry);
- arr[uint_index] &= ~(((1 << bits_per_entry) - 1) << start_bit_in_uint);
- arr[uint_index] |=
- ((val & ((1 << bits_per_entry) - 1)) << start_bit_in_uint);
- }
- typedef struct _wmi_mac_addr {
-
- A_UINT32 mac_addr31to0;
-
- A_UINT32 mac_addr47to32;
- } wmi_mac_addr;
- #define WMI_MAC_ADDR_TO_CHAR_ARRAY(pwmi_mac_addr,c_macaddr) do { \
- (c_macaddr)[0] = (((pwmi_mac_addr)->mac_addr31to0) >> 0) & 0xff; \
- (c_macaddr)[1] = (((pwmi_mac_addr)->mac_addr31to0) >> 8) & 0xff; \
- (c_macaddr)[2] = (((pwmi_mac_addr)->mac_addr31to0) >> 16) & 0xff; \
- (c_macaddr)[3] = (((pwmi_mac_addr)->mac_addr31to0) >> 24) & 0xff; \
- (c_macaddr)[4] = (((pwmi_mac_addr)->mac_addr47to32) >> 0) & 0xff; \
- (c_macaddr)[5] = (((pwmi_mac_addr)->mac_addr47to32) >> 8) & 0xff; \
- } while (0)
- #define WMI_CHAR_ARRAY_TO_MAC_ADDR(c_macaddr,pwmi_mac_addr) do { \
- (pwmi_mac_addr)->mac_addr31to0 = \
- (((c_macaddr)[0] << 0) | \
- ((c_macaddr)[1] << 8) | \
- ((c_macaddr)[2] << 16) | \
- ((c_macaddr)[3] << 24)); \
- (pwmi_mac_addr)->mac_addr47to32 = ((c_macaddr)[4] | ((c_macaddr)[5] << 8));\
- } while (0)
- void wmi_mac_addr_to_char_array(wmi_mac_addr *pwmi_mac_addr, A_UINT8 *c_macaddr);
- void wmi_char_array_to_mac_addr(A_UINT8 *c_macaddr, wmi_mac_addr *pwmi_mac_addr);
- typedef enum {
-
- WMI_GRP_START = 0x3,
- WMI_GRP_SCAN = WMI_GRP_START,
- WMI_GRP_PDEV,
- WMI_GRP_VDEV,
- WMI_GRP_PEER,
- WMI_GRP_MGMT,
- WMI_GRP_BA_NEG,
- WMI_GRP_STA_PS,
- WMI_GRP_DFS,
- WMI_GRP_ROAM,
- WMI_GRP_OFL_SCAN,
- WMI_GRP_P2P,
- WMI_GRP_AP_PS,
- WMI_GRP_RATE_CTRL,
- WMI_GRP_PROFILE,
- WMI_GRP_SUSPEND,
- WMI_GRP_BCN_FILTER,
- WMI_GRP_WOW,
- WMI_GRP_RTT,
- WMI_GRP_SPECTRAL,
- WMI_GRP_STATS,
- WMI_GRP_ARP_NS_OFL,
- WMI_GRP_NLO_OFL,
- WMI_GRP_GTK_OFL,
- WMI_GRP_CSA_OFL,
- WMI_GRP_CHATTER,
- WMI_GRP_TID_ADDBA,
- WMI_GRP_MISC,
- WMI_GRP_GPIO,
- WMI_GRP_FWTEST,
- WMI_GRP_TDLS,
- WMI_GRP_RESMGR,
- WMI_GRP_STA_SMPS,
- WMI_GRP_WLAN_HB,
- WMI_GRP_RMC,
- WMI_GRP_MHF_OFL,
- WMI_GRP_LOCATION_SCAN,
- WMI_GRP_OEM,
- WMI_GRP_NAN,
- WMI_GRP_COEX,
- WMI_GRP_OBSS_OFL,
- WMI_GRP_LPI,
- WMI_GRP_EXTSCAN,
- WMI_GRP_DHCP_OFL,
- WMI_GRP_IPA,
- WMI_GRP_MDNS_OFL,
- WMI_GRP_SAP_OFL,
- WMI_GRP_OCB,
- WMI_GRP_SOC,
- WMI_GRP_PKT_FILTER,
- WMI_GRP_MAWC,
- WMI_GRP_PMF_OFFLOAD,
- WMI_GRP_BPF_OFFLOAD,
- WMI_GRP_NAN_DATA,
- WMI_GRP_PROTOTYPE,
- WMI_GRP_MONITOR,
- WMI_GRP_REGULATORY,
- WMI_GRP_HW_DATA_FILTER,
- WMI_GRP_WLM,
- WMI_GRP_11K_OFFLOAD,
- WMI_GRP_TWT,
- WMI_GRP_MOTION_DET,
- WMI_GRP_SPATIAL_REUSE,
- WMI_GRP_ESP,
- WMI_GRP_HPCS_PULSE,
- WMI_GRP_AUDIO,
- WMI_GRP_CFR_CAPTURE,
- WMI_GRP_ATM,
- WMI_GRP_VENDOR,
- WMI_GRP_LATENCY,
- WMI_GRP_MLO,
- } WMI_GRP_ID;
- #define WMI_CMD_GRP_START_ID(grp_id) (((grp_id) << 12) | 0x1)
- #define WMI_EVT_GRP_START_ID(grp_id) (((grp_id) << 12) | 0x1)
- typedef enum {
-
- WMI_INIT_CMDID = 0x1,
-
-
- WMI_START_SCAN_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_SCAN),
-
- WMI_STOP_SCAN_CMDID,
-
- WMI_SCAN_CHAN_LIST_CMDID,
-
- WMI_SCAN_SCH_PRIO_TBL_CMDID,
-
- WMI_SCAN_UPDATE_REQUEST_CMDID,
-
- WMI_SCAN_PROB_REQ_OUI_CMDID,
-
- WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID,
-
- WMI_SET_SCAN_DBS_DUTY_CYCLE_CMDID,
-
-
- WMI_PDEV_SET_REGDOMAIN_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_PDEV),
-
- WMI_PDEV_SET_CHANNEL_CMDID,
-
- WMI_PDEV_SET_PARAM_CMDID,
-
- WMI_PDEV_PKTLOG_ENABLE_CMDID,
-
- WMI_PDEV_PKTLOG_DISABLE_CMDID,
-
- WMI_PDEV_SET_WMM_PARAMS_CMDID,
-
- WMI_PDEV_SET_HT_CAP_IE_CMDID,
-
- WMI_PDEV_SET_VHT_CAP_IE_CMDID,
-
- WMI_PDEV_SET_DSCP_TID_MAP_CMDID,
-
- WMI_PDEV_SET_QUIET_MODE_CMDID,
-
- WMI_PDEV_GREEN_AP_PS_ENABLE_CMDID,
-
- WMI_PDEV_GET_TPC_CONFIG_CMDID,
-
- WMI_PDEV_SET_BASE_MACADDR_CMDID,
-
- WMI_PDEV_DUMP_CMDID,
-
- WMI_PDEV_SET_LED_CONFIG_CMDID,
-
- WMI_PDEV_GET_TEMPERATURE_CMDID,
-
- WMI_PDEV_SET_LED_FLASHING_CMDID,
-
- WMI_PDEV_SMART_ANT_ENABLE_CMDID,
-
- WMI_PDEV_SMART_ANT_SET_RX_ANTENNA_CMDID,
-
- WMI_PDEV_SET_ANTENNA_SWITCH_TABLE_CMDID,
-
- WMI_PDEV_SET_CTL_TABLE_CMDID,
-
- WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID,
-
- WMI_PDEV_FIPS_CMDID,
-
- WMI_PDEV_GET_ANI_CCK_CONFIG_CMDID,
-
- WMI_PDEV_GET_ANI_OFDM_CONFIG_CMDID,
-
- WMI_PDEV_GET_NFCAL_POWER_CMDID,
-
- WMI_PDEV_GET_TPC_CMDID,
-
- WMI_MIB_STATS_ENABLE_CMDID,
-
- WMI_PDEV_SET_PCL_CMDID,
-
- WMI_PDEV_SET_HW_MODE_CMDID,
-
- WMI_PDEV_SET_MAC_CONFIG_CMDID,
-
- WMI_PDEV_SET_ANTENNA_MODE_CMDID,
-
- WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID,
-
- WMI_PDEV_WAL_POWER_DEBUG_CMDID,
-
- WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID,
-
- WMI_PDEV_SET_WAKEUP_CONFIG_CMDID,
-
- WMI_PDEV_GET_ANTDIV_STATUS_CMDID,
-
- WMI_PDEV_GET_CHIP_POWER_STATS_CMDID,
-
- WMI_PDEV_SET_STATS_THRESHOLD_CMDID,
-
- WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID,
-
- WMI_PDEV_UPDATE_PKT_ROUTING_CMDID,
-
- WMI_PDEV_CHECK_CAL_VERSION_CMDID,
-
- WMI_PDEV_SET_DIVERSITY_GAIN_CMDID,
-
- WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID,
-
- WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID,
-
- WMI_PDEV_UPDATE_PMK_CACHE_CMDID,
-
- WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID,
-
- WMI_PDEV_UPDATE_CTLTABLE_REQUEST_CMDID,
-
- WMI_PDEV_CONFIG_VENDOR_OUI_ACTION_CMDID,
-
- WMI_PDEV_SET_AC_TX_QUEUE_OPTIMIZED_CMDID,
-
- WMI_PDEV_SET_RX_FILTER_PROMISCUOUS_CMDID,
-
- WMI_PDEV_DMA_RING_CFG_REQ_CMDID,
-
- WMI_PDEV_HE_TB_ACTION_FRM_CMDID,
-
- WMI_PDEV_PKTLOG_FILTER_CMDID,
-
- WMI_PDEV_SET_RAP_CONFIG_CMDID,
-
- WMI_PDEV_DSM_FILTER_CMDID,
-
- WMI_PDEV_FRAME_INJECT_CMDID,
-
- WMI_PDEV_TBTT_OFFSET_SYNC_CMDID,
-
- WMI_PDEV_SET_SRG_BSS_COLOR_BITMAP_CMDID,
-
- WMI_PDEV_SET_SRG_PARTIAL_BSSID_BITMAP_CMDID,
-
- WMI_PDEV_SET_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID,
-
- WMI_PDEV_SET_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID,
-
- WMI_PDEV_SET_NON_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID,
-
- WMI_PDEV_SET_NON_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID,
-
- WMI_PDEV_GET_TPC_STATS_CMDID,
-
- WMI_PDEV_ENABLE_DURATION_BASED_TX_MODE_SELECTION_CMDID,
-
- WMI_PDEV_GET_DPD_STATUS_CMDID,
-
- WMI_PDEV_SET_BIOS_SAR_TABLE_CMDID,
-
- WMI_PDEV_SET_BIOS_GEO_TABLE_CMDID,
-
- WMI_PDEV_GET_HALPHY_CAL_STATUS_CMDID,
-
- WMI_PDEV_SET_HALPHY_CAL_BMAP_CMDID,
-
- WMI_PDEV_MULTIPLE_VDEV_SET_PARAM_CMDID,
-
- WMI_PDEV_MEC_AGING_TIMER_CONFIG_CMDID,
-
-
- WMI_VDEV_CREATE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_VDEV),
-
- WMI_VDEV_DELETE_CMDID,
-
- WMI_VDEV_START_REQUEST_CMDID,
-
- WMI_VDEV_RESTART_REQUEST_CMDID,
-
- WMI_VDEV_UP_CMDID,
-
- WMI_VDEV_STOP_CMDID,
-
- WMI_VDEV_DOWN_CMDID,
-
- WMI_VDEV_SET_PARAM_CMDID,
-
- WMI_VDEV_INSTALL_KEY_CMDID,
-
- WMI_VDEV_WNM_SLEEPMODE_CMDID,
- WMI_VDEV_WMM_ADDTS_CMDID,
- WMI_VDEV_WMM_DELTS_CMDID,
- WMI_VDEV_SET_WMM_PARAMS_CMDID,
- WMI_VDEV_SET_GTX_PARAMS_CMDID,
- WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMDID,
- WMI_VDEV_PLMREQ_START_CMDID,
- WMI_VDEV_PLMREQ_STOP_CMDID,
-
- WMI_VDEV_TSF_TSTAMP_ACTION_CMDID,
-
- WMI_VDEV_SET_IE_CMDID,
- WMI_VDEV_RATEMASK_CMDID,
-
- WMI_VDEV_ATF_REQUEST_CMDID,
-
- WMI_VDEV_SET_DSCP_TID_MAP_CMDID,
-
- WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID,
-
- WMI_VDEV_SET_QUIET_MODE_CMDID,
-
- WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID,
-
- WMI_VDEV_ENCRYPT_DECRYPT_DATA_REQ_CMDID,
-
- WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID,
-
- WMI_VDEV_SET_ARP_STAT_CMDID,
- WMI_VDEV_GET_ARP_STAT_CMDID,
-
- WMI_VDEV_GET_TX_POWER_CMDID,
-
- WMI_VDEV_LIMIT_OFFCHAN_CMDID,
-
- WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID,
-
- WMI_VDEV_CHAINMASK_CONFIG_CMDID,
- WMI_VDEV_GET_BCN_RECEPTION_STATS_CMDID,
-
- WMI_VDEV_GET_MWS_COEX_INFO_CMDID,
-
- WMI_VDEV_DELETE_ALL_PEER_CMDID,
-
- WMI_VDEV_BSS_MAX_IDLE_TIME_CMDID,
-
- WMI_VDEV_AUDIO_SYNC_TRIGGER_CMDID,
-
- WMI_VDEV_AUDIO_SYNC_QTIMER_CMDID,
-
- WMI_VDEV_SET_PCL_CMDID,
-
- WMI_VDEV_GET_BIG_DATA_CMDID,
-
- WMI_VDEV_GET_BIG_DATA_P2_CMDID,
-
- WMI_VDEV_SET_TPC_POWER_CMDID,
-
- WMI_VDEV_IGMP_OFFLOAD_CMDID,
-
- WMI_VDEV_ENABLE_DISABLE_INTRA_BSS_CMDID,
-
-
- WMI_PEER_CREATE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_PEER),
-
- WMI_PEER_DELETE_CMDID,
-
- WMI_PEER_FLUSH_TIDS_CMDID,
-
- WMI_PEER_SET_PARAM_CMDID,
-
- WMI_PEER_ASSOC_CMDID,
-
- WMI_PEER_ADD_WDS_ENTRY_CMDID,
-
- WMI_PEER_REMOVE_WDS_ENTRY_CMDID,
-
- WMI_PEER_MCAST_GROUP_CMDID,
-
- WMI_PEER_INFO_REQ_CMDID,
-
- WMI_PEER_GET_ESTIMATED_LINKSPEED_CMDID,
-
- WMI_PEER_SET_RATE_REPORT_CONDITION_CMDID,
-
- WMI_PEER_UPDATE_WDS_ENTRY_CMDID,
-
- WMI_PEER_ADD_PROXY_STA_ENTRY_CMDID,
-
- WMI_PEER_SMART_ANT_SET_TX_ANTENNA_CMDID,
-
- WMI_PEER_SMART_ANT_SET_TRAIN_INFO_CMDID,
-
- WMI_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMDID,
-
- WMI_PEER_ATF_REQUEST_CMDID,
-
- WMI_PEER_BWF_REQUEST_CMDID,
-
- WMI_PEER_REORDER_QUEUE_SETUP_CMDID,
-
- WMI_PEER_REORDER_QUEUE_REMOVE_CMDID,
-
- WMI_PEER_SET_RX_BLOCKSIZE_CMDID,
-
- WMI_PEER_ANTDIV_INFO_REQ_CMDID,
-
- WMI_PEER_RESERVED0_CMDID,
-
- WMI_PEER_TID_MSDUQ_QDEPTH_THRESH_UPDATE_CMDID,
-
- WMI_PEER_TID_CONFIGURATIONS_CMDID,
-
- WMI_PEER_CFR_CAPTURE_CMDID,
-
- WMI_PEER_CHAN_WIDTH_SWITCH_CMDID,
-
- WMI_PEER_TX_PN_REQUEST_CMDID,
-
- WMI_PEER_UNMAP_RESPONSE_CMDID,
-
- WMI_PEER_CONFIG_VLAN_CMDID,
-
- WMI_PEER_CONFIG_PPE_DS_CMDID,
-
- WMI_PEER_ENABLE_DISABLE_INTRA_BSS_CMDID,
-
-
- WMI_BCN_TX_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_MGMT),
-
- WMI_PDEV_SEND_BCN_CMDID,
-
- WMI_BCN_TMPL_CMDID,
-
- WMI_BCN_FILTER_RX_CMDID,
-
- WMI_PRB_REQ_FILTER_RX_CMDID,
-
- WMI_MGMT_TX_CMDID,
-
- WMI_PRB_TMPL_CMDID,
-
- WMI_MGMT_TX_SEND_CMDID,
-
- WMI_OFFCHAN_DATA_TX_SEND_CMDID,
-
- WMI_PDEV_SEND_FD_CMDID,
-
- WMI_BCN_OFFLOAD_CTRL_CMDID,
-
- WMI_BSS_COLOR_CHANGE_ENABLE_CMDID,
-
- WMI_VDEV_BCN_OFFLOAD_QUIET_CONFIG_CMDID,
-
- WMI_FD_TMPL_CMDID,
-
- WMI_QOS_NULL_FRAME_TX_SEND_CMDID,
-
- WMI_MGMT_RX_REO_FILTER_CONFIGURATION_CMDID,
-
-
- WMI_ADDBA_CLEAR_RESP_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_BA_NEG),
-
- WMI_ADDBA_SEND_CMDID,
- WMI_ADDBA_STATUS_CMDID,
-
- WMI_DELBA_SEND_CMDID,
-
- WMI_ADDBA_SET_RESP_CMDID,
-
- WMI_SEND_SINGLEAMSDU_CMDID,
-
-
- WMI_STA_POWERSAVE_MODE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_STA_PS),
-
- WMI_STA_POWERSAVE_PARAM_CMDID,
-
- WMI_STA_MIMO_PS_MODE_CMDID,
-
- WMI_STA_TDCC_CONFIG_CMDID,
-
-
- WMI_PDEV_DFS_ENABLE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_DFS),
-
- WMI_PDEV_DFS_DISABLE_CMDID,
-
- WMI_DFS_PHYERR_FILTER_ENA_CMDID,
-
- WMI_DFS_PHYERR_FILTER_DIS_CMDID,
-
- WMI_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMDID,
-
- WMI_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMDID,
-
- WMI_VDEV_ADFS_CH_CFG_CMDID,
-
- WMI_VDEV_ADFS_OCAC_ABORT_CMDID,
-
-
- WMI_ROAM_SCAN_MODE = WMI_CMD_GRP_START_ID(WMI_GRP_ROAM),
-
- WMI_ROAM_SCAN_RSSI_THRESHOLD,
-
- WMI_ROAM_SCAN_PERIOD,
-
- WMI_ROAM_SCAN_RSSI_CHANGE_THRESHOLD,
-
- WMI_ROAM_AP_PROFILE,
-
- WMI_ROAM_CHAN_LIST,
-
- WMI_ROAM_SCAN_CMD,
-
- WMI_ROAM_SYNCH_COMPLETE,
-
- WMI_ROAM_SET_RIC_REQUEST_CMDID,
-
- WMI_ROAM_INVOKE_CMDID,
-
- WMI_ROAM_FILTER_CMDID,
-
- WMI_ROAM_SUBNET_CHANGE_CONFIG_CMDID,
-
- WMI_ROAM_CONFIGURE_MAWC_CMDID,
-
- WMI_ROAM_SET_MBO_PARAM_CMDID,
-
- WMI_ROAM_PER_CONFIG_CMDID,
-
- WMI_ROAM_BTM_CONFIG_CMDID,
-
- WMI_ENABLE_FILS_CMDID,
-
- WMI_REQUEST_ROAM_SCAN_STATS_CMDID,
-
- WMI_ROAM_BSS_LOAD_CONFIG_CMDID,
-
- WMI_ROAM_DEAUTH_CONFIG_CMDID,
-
- WMI_ROAM_IDLE_CONFIG_CMDID,
-
- DEPRECATED__WMI_ROAM_DSM_FILTER_CMDID,
-
- WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID,
-
- WMI_ROAM_PREAUTH_STATUS_CMDID,
-
- WMI_ROAM_GET_SCAN_CHANNEL_LIST_CMDID,
-
- WMI_ROAM_MLO_CONFIG_CMDID,
-
-
- WMI_OFL_SCAN_ADD_AP_PROFILE = WMI_CMD_GRP_START_ID(WMI_GRP_OFL_SCAN),
-
- WMI_OFL_SCAN_REMOVE_AP_PROFILE,
-
- WMI_OFL_SCAN_PERIOD,
-
-
- WMI_P2P_DEV_SET_DEVICE_INFO = WMI_CMD_GRP_START_ID(WMI_GRP_P2P),
-
- WMI_P2P_DEV_SET_DISCOVERABILITY,
-
- WMI_P2P_GO_SET_BEACON_IE,
-
- WMI_P2P_GO_SET_PROBE_RESP_IE,
-
- WMI_P2P_SET_VENDOR_IE_DATA_CMDID,
-
- WMI_P2P_DISC_OFFLOAD_CONFIG_CMDID,
-
- WMI_P2P_DISC_OFFLOAD_APPIE_CMDID,
-
- WMI_P2P_DISC_OFFLOAD_PATTERN_CMDID,
-
- WMI_P2P_SET_OPPPS_PARAM_CMDID,
-
- WMI_P2P_LISTEN_OFFLOAD_START_CMDID,
-
- WMI_P2P_LISTEN_OFFLOAD_STOP_CMDID,
-
-
- WMI_AP_PS_PEER_PARAM_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_AP_PS),
-
- WMI_AP_PS_PEER_UAPSD_COEX_CMDID,
-
- WMI_AP_PS_EGAP_PARAM_CMDID,
-
- WMI_PEER_RATE_RETRY_SCHED_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_RATE_CTRL),
-
- WMI_WLAN_PROFILE_TRIGGER_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_PROFILE),
- WMI_WLAN_PROFILE_SET_HIST_INTVL_CMDID,
- WMI_WLAN_PROFILE_GET_PROFILE_DATA_CMDID,
- WMI_WLAN_PROFILE_ENABLE_PROFILE_ID_CMDID,
- WMI_WLAN_PROFILE_LIST_PROFILE_ID_CMDID,
-
- WMI_PDEV_SUSPEND_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_SUSPEND),
- WMI_PDEV_RESUME_CMDID,
-
-
- WMI_ADD_BCN_FILTER_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_BCN_FILTER),
-
- WMI_RMV_BCN_FILTER_CMDID,
-
-
- WMI_WOW_ADD_WAKE_PATTERN_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_WOW),
-
- WMI_WOW_DEL_WAKE_PATTERN_CMDID,
-
- WMI_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID,
-
- WMI_WOW_ENABLE_CMDID,
-
- WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID,
-
- WMI_WOW_IOAC_ADD_KEEPALIVE_CMDID,
-
- WMI_WOW_IOAC_DEL_KEEPALIVE_CMDID,
-
- WMI_WOW_IOAC_ADD_WAKE_PATTERN_CMDID,
-
- WMI_WOW_IOAC_DEL_WAKE_PATTERN_CMDID,
-
- WMI_D0_WOW_ENABLE_DISABLE_CMDID,
-
- WMI_EXTWOW_ENABLE_CMDID,
-
- WMI_EXTWOW_SET_APP_TYPE1_PARAMS_CMDID,
-
- WMI_EXTWOW_SET_APP_TYPE2_PARAMS_CMDID,
-
- WMI_WOW_ENABLE_ICMPV6_NA_FLT_CMDID,
-
- WMI_WOW_UDP_SVC_OFLD_CMDID,
-
- WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMDID,
-
- WMI_WOW_SET_ACTION_WAKE_UP_CMDID,
-
-
- WMI_RTT_MEASREQ_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_RTT),
-
- WMI_RTT_TSF_CMDID,
-
-
- WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_SPECTRAL),
-
- WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID,
-
-
- WMI_REQUEST_STATS_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_STATS),
-
- WMI_MCC_SCHED_TRAFFIC_STATS_CMDID,
-
- WMI_REQUEST_STATS_EXT_CMDID,
-
-
- WMI_REQUEST_LINK_STATS_CMDID,
-
- WMI_START_LINK_STATS_CMDID,
-
- WMI_CLEAR_LINK_STATS_CMDID,
-
- WMI_GET_FW_MEM_DUMP_CMDID,
-
- WMI_DEBUG_MESG_FLUSH_CMDID,
-
- WMI_DIAG_EVENT_LOG_CONFIG_CMDID,
-
- WMI_REQUEST_WLAN_STATS_CMDID,
-
- WMI_REQUEST_RCPI_CMDID,
-
- WMI_REQUEST_PEER_STATS_INFO_CMDID,
-
- WMI_REQUEST_RADIO_CHAN_STATS_CMDID,
-
- WMI_REQUEST_WLM_STATS_CMDID,
-
- WMI_REQUEST_CTRL_PATH_STATS_CMDID,
-
- WMI_REQUEST_UNIFIED_LL_GET_STA_CMDID,
-
- WMI_SET_ARP_NS_OFFLOAD_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_ARP_NS_OFL),
-
- WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMDID,
-
- WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMDID,
-
- WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_NLO_OFL),
-
- WMI_APFIND_CMDID,
-
- WMI_PASSPOINT_LIST_CONFIG_CMDID,
-
- WMI_NLO_CONFIGURE_MAWC_CMDID,
-
- WMI_GTK_OFFLOAD_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_GTK_OFL),
-
-
- WMI_CSA_OFFLOAD_ENABLE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_CSA_OFL),
-
- WMI_CSA_OFFLOAD_CHANSWITCH_CMDID,
-
-
- WMI_CHATTER_SET_MODE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_CHATTER),
-
- WMI_CHATTER_ADD_COALESCING_FILTER_CMDID,
-
- WMI_CHATTER_DELETE_COALESCING_FILTER_CMDID,
-
- WMI_CHATTER_COALESCING_QUERY_CMDID,
-
-
- WMI_PEER_TID_ADDBA_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_TID_ADDBA),
-
- WMI_PEER_TID_DELBA_CMDID,
-
- WMI_STA_DTIM_PS_METHOD_CMDID,
-
- WMI_STA_UAPSD_AUTO_TRIG_CMDID,
-
- WMI_STA_KEEPALIVE_CMDID,
-
- WMI_BA_REQ_SSN_CMDID,
-
-
- WMI_ECHO_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_MISC),
-
-
- WMI_PDEV_UTF_CMDID,
-
- WMI_DBGLOG_CFG_CMDID,
-
- WMI_PDEV_QVIT_CMDID,
-
- WMI_PDEV_FTM_INTG_CMDID,
-
- WMI_VDEV_SET_KEEPALIVE_CMDID,
- WMI_VDEV_GET_KEEPALIVE_CMDID,
-
- WMI_FORCE_FW_HANG_CMDID,
-
- WMI_SET_MCASTBCAST_FILTER_CMDID,
-
- WMI_THERMAL_MGMT_CMDID,
-
- WMI_HOST_AUTO_SHUTDOWN_CFG_CMDID,
-
- WMI_TPC_CHAINMASK_CONFIG_CMDID,
-
- WMI_SET_ANTENNA_DIVERSITY_CMDID,
-
- WMI_OCB_SET_SCHED_CMDID,
-
- WMI_RSSI_BREACH_MONITOR_CONFIG_CMDID,
-
- WMI_LRO_CONFIG_CMDID,
-
- WMI_TRANSFER_DATA_TO_FLASH_CMDID,
-
- WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID,
-
- WMI_VDEV_WISA_CMDID,
-
- WMI_DBGLOG_TIME_STAMP_SYNC_CMDID,
-
- WMI_SET_MULTIPLE_MCAST_FILTER_CMDID,
-
- WMI_READ_DATA_FROM_FLASH_CMDID,
-
- WMI_THERM_THROT_SET_CONF_CMDID,
-
- WMI_RUNTIME_DPD_RECAL_CMDID,
-
- WMI_GET_TPC_POWER_CMDID,
-
- WMI_IDLE_TRIGGER_MONITOR_CMDID,
-
- WMI_SET_ELNA_BYPASS_CMDID,
-
- WMI_GET_ELNA_BYPASS_CMDID,
-
- WMI_GET_CHANNEL_ANI_CMDID,
-
- WMI_SET_OCL_CMDID,
-
- WMI_11K_OFFLOAD_REPORT_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_11K_OFFLOAD),
-
- WMI_11K_INVOKE_NEIGHBOR_REPORT_CMDID,
-
- WMI_GPIO_CONFIG_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_GPIO),
- WMI_GPIO_OUTPUT_CMDID,
-
- WMI_TXBF_CMDID,
-
- WMI_ANT_CONTROLLER_CMDID,
-
- WMI_FWTEST_VDEV_MCC_SET_TBTT_MODE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_FWTEST),
-
- WMI_FWTEST_P2P_SET_NOA_PARAM_CMDID,
-
- WMI_UNIT_TEST_CMDID,
-
- WMI_FWTEST_CMDID,
-
- WMI_QBOOST_CFG_CMDID,
-
- WMI_SIMULATION_TEST_CMDID,
-
- WMI_WFA_CONFIG_CMDID,
-
-
- WMI_TDLS_SET_STATE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_TDLS),
-
- WMI_TDLS_PEER_UPDATE_CMDID,
-
- WMI_TDLS_SET_OFFCHAN_MODE_CMDID,
-
-
- WMI_RESMGR_ADAPTIVE_OCS_ENABLE_DISABLE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_RESMGR),
-
- WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID,
-
- WMI_RESMGR_SET_CHAN_LATENCY_CMDID,
-
-
- WMI_STA_SMPS_FORCE_MODE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_STA_SMPS),
-
- WMI_STA_SMPS_PARAM_CMDID,
-
-
- WMI_HB_SET_ENABLE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_WLAN_HB),
-
- WMI_HB_SET_TCP_PARAMS_CMDID,
-
- WMI_HB_SET_TCP_PKT_FILTER_CMDID,
-
- WMI_HB_SET_UDP_PARAMS_CMDID,
-
- WMI_HB_SET_UDP_PKT_FILTER_CMDID,
-
- WMI_HB_OIC_PING_OFFLOAD_PARAM_CMDID,
- WMI_HB_OIC_PING_OFFLOAD_SET_ENABLE_CMDID,
-
- WMI_HB_DHCP_LEASE_RENEW_OFFLOAD_CMDID,
-
-
- WMI_RMC_SET_MODE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_RMC),
-
- WMI_RMC_SET_ACTION_PERIOD_CMDID,
-
- WMI_RMC_CONFIG_CMDID,
-
- WMI_RMC_SET_MANUAL_LEADER_CMDID,
-
-
- WMI_MHF_OFFLOAD_SET_MODE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_MHF_OFL),
-
- WMI_MHF_OFFLOAD_PLUMB_ROUTING_TBL_CMDID,
-
-
- WMI_BATCH_SCAN_ENABLE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_LOCATION_SCAN),
-
- WMI_BATCH_SCAN_DISABLE_CMDID,
-
- WMI_BATCH_SCAN_TRIGGER_RESULT_CMDID,
-
- WMI_OEM_REQ_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_OEM),
- WMI_OEM_REQUEST_CMDID,
-
- WMI_LPI_OEM_REQ_CMDID,
- WMI_OEM_DMA_RING_CFG_REQ_CMDID,
-
- WMI_OEM_DATA_CMDID,
-
- WMI_NAN_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_NAN),
-
- WMI_MODEM_POWER_STATE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_COEX),
- WMI_CHAN_AVOID_UPDATE_CMDID,
- WMI_COEX_CONFIG_CMDID,
- WMI_CHAN_AVOID_RPT_ALLOW_CMDID,
- WMI_COEX_GET_ANTENNA_ISOLATION_CMDID,
- WMI_SAR_LIMITS_CMDID,
- WMI_SAR_GET_LIMITS_CMDID,
-
- WMI_OBSS_SCAN_ENABLE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_OBSS_OFL),
- WMI_OBSS_SCAN_DISABLE_CMDID,
- WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID,
-
-
- WMI_LPI_MGMT_SNOOPING_CONFIG_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_LPI),
-
- WMI_LPI_START_SCAN_CMDID,
-
- WMI_LPI_STOP_SCAN_CMDID,
-
- WMI_EXTSCAN_START_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_EXTSCAN),
- WMI_EXTSCAN_STOP_CMDID,
- WMI_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMDID,
- WMI_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMDID,
- WMI_EXTSCAN_GET_CACHED_RESULTS_CMDID,
- WMI_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMDID,
- WMI_EXTSCAN_SET_CAPABILITIES_CMDID,
- WMI_EXTSCAN_GET_CAPABILITIES_CMDID,
- WMI_EXTSCAN_CONFIGURE_HOTLIST_SSID_MONITOR_CMDID,
- WMI_EXTSCAN_CONFIGURE_MAWC_CMDID,
-
- WMI_SET_DHCP_SERVER_OFFLOAD_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_DHCP_OFL),
-
- WMI_IPA_OFFLOAD_ENABLE_DISABLE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_IPA),
-
- WMI_MDNS_OFFLOAD_ENABLE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_MDNS_OFL),
- WMI_MDNS_SET_FQDN_CMDID,
- WMI_MDNS_SET_RESPONSE_CMDID,
- WMI_MDNS_GET_STATS_CMDID,
- WMI_MDNS_SET_STAIP_CMDID,
-
- WMI_SAP_OFL_ENABLE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_SAP_OFL),
- WMI_SAP_SET_BLACKLIST_PARAM_CMDID,
- WMI_SAP_OBSS_DETECTION_CFG_CMDID,
-
- WMI_OCB_SET_CONFIG_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_OCB),
- WMI_OCB_SET_UTC_TIME_CMDID,
- WMI_OCB_START_TIMING_ADVERT_CMDID,
- WMI_OCB_STOP_TIMING_ADVERT_CMDID,
- WMI_OCB_GET_TSF_TIMER_CMDID,
- WMI_DCC_GET_STATS_CMDID,
- WMI_DCC_CLEAR_STATS_CMDID,
- WMI_DCC_UPDATE_NDL_CMDID,
-
- WMI_SOC_SET_PCL_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_SOC),
- WMI_SOC_SET_HW_MODE_CMDID,
- WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID,
- WMI_SOC_SET_ANTENNA_MODE_CMDID,
-
- WMI_PACKET_FILTER_CONFIG_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_PKT_FILTER),
- WMI_PACKET_FILTER_ENABLE_CMDID,
-
- WMI_MAWC_SENSOR_REPORT_IND_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_MAWC),
-
- WMI_PMF_OFFLOAD_SET_SA_QUERY_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_PMF_OFFLOAD),
-
- WMI_BPF_GET_CAPABILITY_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_BPF_OFFLOAD),
- WMI_BPF_GET_VDEV_STATS_CMDID,
- WMI_BPF_SET_VDEV_INSTRUCTIONS_CMDID,
- WMI_BPF_DEL_VDEV_INSTRUCTIONS_CMDID,
- WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID,
- WMI_BPF_SET_VDEV_ENABLE_CMDID,
- WMI_BPF_SET_VDEV_WORK_MEMORY_CMDID,
- WMI_BPF_GET_VDEV_WORK_MEMORY_CMDID,
-
- WMI_MNT_FILTER_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_MONITOR),
-
- WMI_SET_CURRENT_COUNTRY_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_REGULATORY),
- WMI_11D_SCAN_START_CMDID,
- WMI_11D_SCAN_STOP_CMDID,
- WMI_SET_INIT_COUNTRY_CMDID,
- WMI_AFC_CMDID,
-
-
- WMI_NDI_GET_CAP_REQ_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_PROTOTYPE),
- WMI_NDP_INITIATOR_REQ_CMDID,
- WMI_NDP_RESPONDER_REQ_CMDID,
- WMI_NDP_END_REQ_CMDID,
- WMI_NDP_CMDID,
-
- WMI_HW_DATA_FILTER_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_HW_DATA_FILTER),
-
- WMI_WLM_CONFIG_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_WLM),
-
- WMI_TWT_ENABLE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_TWT),
- WMI_TWT_DISABLE_CMDID,
- WMI_TWT_ADD_DIALOG_CMDID,
- WMI_TWT_DEL_DIALOG_CMDID,
- WMI_TWT_PAUSE_DIALOG_CMDID,
- WMI_TWT_RESUME_DIALOG_CMDID,
- WMI_TWT_BTWT_INVITE_STA_CMDID,
- WMI_TWT_BTWT_REMOVE_STA_CMDID,
- WMI_TWT_NUDGE_DIALOG_CMDID,
-
- WMI_MOTION_DET_CONFIG_PARAM_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_MOTION_DET),
- WMI_MOTION_DET_BASE_LINE_CONFIG_PARAM_CMDID,
- WMI_MOTION_DET_START_STOP_CMDID,
- WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID,
-
- WMI_PDEV_OBSS_PD_SPATIAL_REUSE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_SPATIAL_REUSE),
- WMI_PDEV_OBSS_PD_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMDID,
-
- WMI_HPCS_PULSE_START_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_HPCS_PULSE),
-
- WMI_AUDIO_AGGR_ENABLE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_AUDIO),
- WMI_AUDIO_AGGR_ADD_GROUP_CMDID,
- WMI_AUDIO_AGGR_DEL_GROUP_CMDID,
- WMI_AUDIO_AGGR_SET_GROUP_RATE_CMDID,
- WMI_AUDIO_AGGR_SET_GROUP_RETRY_CMDID,
- WMI_AUDIO_AGGR_SET_GROUP_AUTO_RATE_CMDID,
- WMI_AUDIO_AGGR_SET_GROUP_PROBE_CMDID,
- WMI_AUDIO_AGGR_UPDATE_STA_GROUP_INFO_CMDID,
- WMI_AUDIO_AGGR_GET_STATISTICS_CMDID,
- WMI_AUDIO_AGGR_RESET_STATISTICS_CMDID,
- WMI_AUDIO_AGGR_SET_RTSCTS_CONFIG_CMDID,
- WMI_AUDIO_AGGR_SET_SCHED_METHOD_CMDID,
- WMI_AUDIO_AGGR_GET_SCHED_METHOD_CMDID,
-
- WMI_CFR_CAPTURE_FILTER_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_CFR_CAPTURE),
-
-
- WMI_ATF_SSID_GROUPING_REQUEST_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_ATM),
-
- WMI_ATF_GROUP_WMM_AC_CONFIG_REQUEST_CMDID,
-
- WMI_PEER_ATF_EXT_REQUEST_CMDID,
-
- WMI_VENDOR_PDEV_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_VENDOR),
- WMI_VENDOR_VDEV_CMDID,
- WMI_VENDOR_PEER_CMDID,
-
-
-
- WMI_VDEV_TID_LATENCY_CONFIG_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_LATENCY),
-
- WMI_PEER_TID_LATENCY_CONFIG_CMDID,
-
-
- WMI_MLO_LINK_SET_ACTIVE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_MLO),
-
- WMI_MLO_SETUP_CMDID,
-
- WMI_MLO_READY_CMDID,
-
- WMI_MLO_TEARDOWN_CMDID,
- } WMI_CMD_ID;
- typedef enum {
-
- WMI_SERVICE_READY_EVENTID = 0x1,
-
- WMI_READY_EVENTID,
-
- WMI_SERVICE_AVAILABLE_EVENTID,
-
- WMI_IFACE_COMBINATION_IND_EVENTID,
-
- WMI_SCAN_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_SCAN),
-
- WMI_PDEV_SSCAN_FW_PARAM_EVENTID,
-
- WMI_SSCAN_EVT_MESSAGE_EVENTID,
-
-
- WMI_PDEV_TPC_CONFIG_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_PDEV),
-
- WMI_CHAN_INFO_EVENTID,
-
- WMI_PHYERR_EVENTID,
-
- WMI_PDEV_DUMP_EVENTID,
-
- WMI_TX_PAUSE_EVENTID,
-
- WMI_DFS_RADAR_EVENTID,
-
- WMI_PDEV_L1SS_TRACK_EVENTID,
-
- WMI_PDEV_TEMPERATURE_EVENTID,
-
- WMI_SERVICE_READY_EXT_EVENTID,
-
- WMI_PDEV_FIPS_EVENTID,
-
- WMI_PDEV_CHANNEL_HOPPING_EVENTID,
-
- WMI_PDEV_ANI_CCK_LEVEL_EVENTID,
-
- WMI_PDEV_ANI_OFDM_LEVEL_EVENTID,
-
- WMI_PDEV_TPC_EVENTID,
-
- WMI_PDEV_NFCAL_POWER_ALL_CHANNELS_EVENTID,
-
- WMI_PDEV_SET_HW_MODE_RESP_EVENTID,
- WMI_PDEV_HW_MODE_TRANSITION_EVENTID,
- WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID,
-
- WMI_PDEV_ANTDIV_STATUS_EVENTID,
-
- WMI_PDEV_CHIP_POWER_STATS_EVENTID,
-
- WMI_PDEV_CHIP_POWER_SAVE_FAILURE_DETECTED_EVENTID,
-
- WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID,
-
- WMI_PDEV_CHECK_CAL_VERSION_EVENTID,
-
- WMI_PDEV_DIV_RSSI_ANTID_EVENTID,
-
- WMI_PDEV_BSS_CHAN_INFO_EVENTID,
-
- WMI_PDEV_UPDATE_CTLTABLE_EVENTID,
- WMI_PDEV_DMA_RING_CFG_RSP_EVENTID,
- WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID,
-
- WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID,
-
- WMI_PDEV_CSC_SWITCH_COUNT_STATUS_EVENTID,
-
- WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID,
-
- WMI_PDEV_RAP_INFO_EVENTID,
- WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID,
-
- WMI_SERVICE_READY_EXT2_EVENTID,
-
- WMI_PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENTID,
-
- WMI_PDEV_GET_TPC_STATS_EVENTID,
-
- WMI_PDEV_GET_DPD_STATUS_EVENTID,
-
- WMI_PDEV_GET_HALPHY_CAL_STATUS_EVENTID,
-
- WMI_PDEV_SET_HALPHY_CAL_BMAP_EVENTID,
-
- WMI_PDEV_AOA_PHASEDELTA_EVENTID,
-
-
- WMI_VDEV_START_RESP_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_VDEV),
-
- WMI_VDEV_STOPPED_EVENTID,
-
- WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID,
-
-
- WMI_VDEV_MCC_BCN_INTERVAL_CHANGE_REQ_EVENTID,
-
- WMI_VDEV_TSF_REPORT_EVENTID,
-
- WMI_VDEV_DELETE_RESP_EVENTID,
-
- WMI_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENTID,
-
- WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENTID,
-
- WMI_VDEV_GET_ARP_STAT_EVENTID,
-
- WMI_VDEV_GET_TX_POWER_EVENTID,
- WMI_VDEV_BCN_RECEPTION_STATS_EVENTID,
-
- WMI_VDEV_GET_MWS_COEX_STATE_EVENTID,
-
- WMI_VDEV_GET_MWS_COEX_DPWB_STATE_EVENTID,
-
- WMI_VDEV_GET_MWS_COEX_TDM_STATE_EVENTID,
-
- WMI_VDEV_GET_MWS_COEX_IDRX_STATE_EVENTID,
-
- WMI_VDEV_GET_MWS_COEX_ANTENNA_SHARING_STATE_EVENTID,
-
- WMI_VDEV_MGMT_OFFLOAD_EVENTID,
-
- WMI_VDEV_DELETE_ALL_PEER_RESP_EVENTID,
-
- WMI_VDEV_AUDIO_SYNC_START_STOP_EVENTID,
-
- WMI_VDEV_AUDIO_SYNC_Q_MASTER_SLAVE_OFFSET_EVENTID,
-
- WMI_VDEV_SEND_BIG_DATA_EVENTID,
-
- WMI_VDEV_SEND_BIG_DATA_P2_EVENTID,
-
- WMI_VDEV_BCN_LATENCY_EVENTID,
-
- WMI_VDEV_DISCONNECT_EVENTID,
-
- WMI_VDEV_SMART_MONITOR_EVENTID,
-
-
- WMI_PEER_STA_KICKOUT_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_PEER),
-
- WMI_PEER_INFO_EVENTID,
-
- WMI_PEER_TX_FAIL_CNT_THR_EVENTID,
-
- WMI_PEER_ESTIMATED_LINKSPEED_EVENTID,
-
- WMI_PEER_STATE_EVENTID,
-
- WMI_PEER_ASSOC_CONF_EVENTID,
-
- WMI_PEER_DELETE_RESP_EVENTID,
-
- WMI_PEER_RATECODE_LIST_EVENTID,
- WMI_WDS_PEER_EVENTID,
- WMI_PEER_STA_PS_STATECHG_EVENTID,
-
- WMI_PEER_ANTDIV_INFO_EVENTID,
-
- WMI_PEER_RESERVED0_EVENTID,
- WMI_PEER_RESERVED1_EVENTID,
- WMI_PEER_RESERVED2_EVENTID,
- WMI_PEER_RESERVED3_EVENTID,
- WMI_PEER_RESERVED4_EVENTID,
- WMI_PEER_RESERVED5_EVENTID,
- WMI_PEER_RESERVED6_EVENTID,
- WMI_PEER_RESERVED7_EVENTID,
- WMI_PEER_RESERVED8_EVENTID,
- WMI_PEER_RESERVED9_EVENTID,
- WMI_PEER_RESERVED10_EVENTID,
-
- WMI_PEER_OPER_MODE_CHANGE_EVENTID,
-
- WMI_PEER_TX_PN_RESPONSE_EVENTID,
- WMI_PEER_CFR_CAPTURE_EVENTID,
-
- WMI_PEER_CREATE_CONF_EVENTID,
-
-
- WMI_MGMT_RX_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_MGMT),
-
- WMI_HOST_SWBA_EVENTID,
-
- WMI_TBTTOFFSET_UPDATE_EVENTID,
-
- WMI_OFFLOAD_BCN_TX_STATUS_EVENTID,
-
- WMI_OFFLOAD_PROB_RESP_TX_STATUS_EVENTID,
-
- WMI_MGMT_TX_COMPLETION_EVENTID,
-
- WMI_MGMT_TX_BUNDLE_COMPLETION_EVENTID,
-
- WMI_TBTTOFFSET_EXT_UPDATE_EVENTID,
-
- WMI_OFFCHAN_DATA_TX_COMPLETION_EVENTID,
-
- WMI_HOST_SWFDA_EVENTID,
-
- WMI_HOST_SWBA_V2_EVENTID,
-
- WMI_QOS_NULL_FRAME_TX_COMPLETION_EVENTID,
-
- WMI_MGMT_RX_FW_CONSUMED_EVENTID,
-
-
- WMI_TX_DELBA_COMPLETE_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_BA_NEG),
-
- WMI_TX_ADDBA_COMPLETE_EVENTID,
-
- WMI_BA_RSP_SSN_EVENTID,
-
- WMI_AGGR_STATE_TRIG_EVENTID,
-
- WMI_ROAM_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_ROAM),
-
- WMI_PROFILE_MATCH,
-
- WMI_ROAM_SYNCH_EVENTID,
-
- WMI_ROAM_SYNCH_FRAME_EVENTID,
-
- WMI_ROAM_SCAN_STATS_EVENTID,
-
- WMI_ROAM_BLACKLIST_EVENTID,
-
- WMI_ROAM_PREAUTH_START_EVENTID,
-
- WMI_ROAM_PMKID_REQUEST_EVENTID,
-
- WMI_ROAM_STATS_EVENTID,
-
- WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID,
-
- WMI_ROAM_CAPABILITY_REPORT_EVENTID,
-
- WMI_P2P_DISC_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_P2P),
-
- WMI_P2P_NOA_EVENTID,
-
- WMI_P2P_LISTEN_OFFLOAD_STOPPED_EVENTID,
-
- WMI_AP_PS_EGAP_INFO_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_AP_PS),
-
- WMI_PDEV_RESUME_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_SUSPEND),
-
- WMI_WOW_WAKEUP_HOST_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_WOW),
- WMI_D0_WOW_DISABLE_ACK_EVENTID,
- WMI_WOW_INITIAL_WAKEUP_EVENTID,
-
-
- WMI_RTT_MEASUREMENT_REPORT_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_RTT),
-
- WMI_TSF_MEASUREMENT_REPORT_EVENTID,
-
- WMI_RTT_ERROR_REPORT_EVENTID,
-
-
- WMI_STATS_EXT_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_STATS),
-
- WMI_IFACE_LINK_STATS_EVENTID,
-
- WMI_PEER_LINK_STATS_EVENTID,
-
- WMI_RADIO_LINK_STATS_EVENTID,
-
- WMI_UPDATE_FW_MEM_DUMP_EVENTID,
-
- WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID,
-
- WMI_INST_RSSI_STATS_EVENTID,
-
- WMI_RADIO_TX_POWER_LEVEL_STATS_EVENTID,
-
- WMI_REPORT_STATS_EVENTID,
-
- WMI_UPDATE_RCPI_EVENTID,
-
- WMI_PEER_STATS_INFO_EVENTID,
-
- WMI_RADIO_CHAN_STATS_EVENTID,
-
- WMI_WLM_STATS_EVENTID,
-
- WMI_CTRL_PATH_STATS_EVENTID,
-
-
- WMI_NLO_MATCH_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_NLO_OFL),
-
- WMI_NLO_SCAN_COMPLETE_EVENTID,
-
- WMI_APFIND_EVENTID,
-
- WMI_PASSPOINT_MATCH_EVENTID,
-
- WMI_GTK_OFFLOAD_STATUS_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_GTK_OFL),
-
- WMI_GTK_REKEY_FAIL_EVENTID,
-
- WMI_CSA_HANDLING_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_CSA_OFL),
-
- WMI_CHATTER_PC_QUERY_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_CHATTER),
-
- WMI_PDEV_DFS_RADAR_DETECTION_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_DFS),
-
- WMI_VDEV_DFS_CAC_COMPLETE_EVENTID,
-
- WMI_VDEV_ADFS_OCAC_COMPLETE_EVENTID,
-
- WMI_ECHO_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_MISC),
-
-
- WMI_PDEV_UTF_EVENTID,
-
- WMI_DEBUG_MESG_EVENTID,
-
- WMI_UPDATE_STATS_EVENTID,
-
- WMI_DEBUG_PRINT_EVENTID,
-
- WMI_DCS_INTERFERENCE_EVENTID,
-
- WMI_PDEV_QVIT_EVENTID,
-
- WMI_WLAN_PROFILE_DATA_EVENTID,
-
- WMI_PDEV_FTM_INTG_EVENTID,
-
- WMI_WLAN_FREQ_AVOID_EVENTID,
-
- WMI_VDEV_GET_KEEPALIVE_EVENTID,
-
- WMI_THERMAL_MGMT_EVENTID,
-
- WMI_DIAG_DATA_CONTAINER_EVENTID,
-
- WMI_HOST_AUTO_SHUTDOWN_EVENTID,
-
- WMI_UPDATE_WHAL_MIB_STATS_EVENTID,
-
- WMI_UPDATE_VDEV_RATE_STATS_EVENTID,
- WMI_DIAG_EVENTID,
-
- WMI_OCB_SET_SCHED_EVENTID,
-
- WMI_DEBUG_MESG_FLUSH_COMPLETE_EVENTID,
-
- WMI_RSSI_BREACH_EVENTID,
-
- WMI_TRANSFER_DATA_TO_FLASH_COMPLETE_EVENTID,
-
- WMI_PDEV_UTF_SCPC_EVENTID,
-
- WMI_READ_DATA_FROM_FLASH_EVENTID,
-
- WMI_REPORT_RX_AGGR_FAILURE_EVENTID,
-
- WMI_PKGID_EVENTID,
-
- WMI_THERM_THROT_STATS_EVENTID,
-
- WMI_UNIT_TEST_EVENTID,
-
- WMI_SAR2_RESULT_EVENTID,
-
- WMI_GET_TPC_POWER_EVENTID,
-
- WMI_MUEDCA_PARAMS_CONFIG_EVENTID,
-
- WMI_GET_ELNA_BYPASS_EVENTID,
-
- WMI_GET_CHANNEL_ANI_EVENTID,
-
- WMI_GPIO_INPUT_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_GPIO),
-
- WMI_UPLOADH_EVENTID,
-
- WMI_CAPTUREH_EVENTID,
-
- WMI_RFKILL_STATE_CHANGE_EVENTID,
-
- WMI_SMARTANT_STATE_CHANGE_EVENTID,
-
- WMI_TDLS_PEER_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_TDLS),
-
-
- WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_STA_SMPS),
-
-
- WMI_BATCH_SCAN_ENABLED_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_LOCATION_SCAN),
-
- WMI_BATCH_SCAN_RESULT_EVENTID,
-
- WMI_OEM_CAPABILITY_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_OEM),
- WMI_OEM_MEASUREMENT_REPORT_EVENTID,
- WMI_OEM_ERROR_REPORT_EVENTID,
- WMI_OEM_RESPONSE_EVENTID,
- WMI_OEM_DMA_RING_CFG_RSP_EVENTID,
- WMI_OEM_DMA_BUF_RELEASE_EVENTID,
- WMI_OEM_DATA_EVENTID,
-
- WMI_NAN_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_NAN),
- WMI_NAN_DISC_IFACE_CREATED_EVENTID,
- WMI_NAN_DISC_IFACE_DELETED_EVENTID,
- WMI_NAN_STARTED_CLUSTER_EVENTID,
- WMI_NAN_JOINED_CLUSTER_EVENTID,
- WMI_NAN_DMESG_EVENTID,
-
- WMI_COEX_REPORT_ANTENNA_ISOLATION_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_COEX),
- WMI_SAR_GET_LIMITS_EVENTID,
-
- WMI_LPI_RESULT_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_LPI),
- WMI_LPI_STATUS_EVENTID,
- WMI_LPI_HANDOFF_EVENTID,
-
- WMI_EXTSCAN_START_STOP_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_EXTSCAN),
- WMI_EXTSCAN_OPERATION_EVENTID,
- WMI_EXTSCAN_TABLE_USAGE_EVENTID,
- WMI_EXTSCAN_CACHED_RESULTS_EVENTID,
- WMI_EXTSCAN_WLAN_CHANGE_RESULTS_EVENTID,
- WMI_EXTSCAN_HOTLIST_MATCH_EVENTID,
- WMI_EXTSCAN_CAPABILITIES_EVENTID,
- WMI_EXTSCAN_HOTLIST_SSID_MATCH_EVENTID,
-
- WMI_MDNS_STATS_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_MDNS_OFL),
-
- WMI_SAP_OFL_ADD_STA_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_SAP_OFL),
- WMI_SAP_OFL_DEL_STA_EVENTID,
- WMI_SAP_OBSS_DETECTION_REPORT_EVENTID,
-
- WMI_OBSS_COLOR_COLLISION_DETECTION_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_OBSS_OFL),
-
- WMI_OCB_SET_CONFIG_RESP_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_OCB),
- WMI_OCB_GET_TSF_TIMER_RESP_EVENTID,
- WMI_DCC_GET_STATS_RESP_EVENTID,
- WMI_DCC_UPDATE_NDL_RESP_EVENTID,
- WMI_DCC_STATS_EVENTID,
-
- WMI_SOC_SET_HW_MODE_RESP_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_SOC),
- WMI_SOC_HW_MODE_TRANSITION_EVENTID,
- WMI_SOC_SET_DUAL_MAC_CONFIG_RESP_EVENTID,
-
- WMI_MAWC_ENABLE_SENSOR_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_MAWC),
-
- WMI_BPF_CAPABILIY_INFO_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_BPF_OFFLOAD),
- WMI_BPF_VDEV_STATS_INFO_EVENTID,
- WMI_BPF_GET_VDEV_WORK_MEMORY_RESP_EVENTID,
-
-
- WMI_RMC_NEW_LEADER_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_RMC),
-
- WMI_REG_CHAN_LIST_CC_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_REGULATORY),
- WMI_11D_NEW_COUNTRY_EVENTID,
- WMI_REG_CHAN_LIST_CC_EXT_EVENTID,
- WMI_AFC_EVENTID,
-
- WMI_TWT_ENABLE_COMPLETE_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_TWT),
- WMI_TWT_DISABLE_COMPLETE_EVENTID,
- WMI_TWT_ADD_DIALOG_COMPLETE_EVENTID,
- WMI_TWT_DEL_DIALOG_COMPLETE_EVENTID,
- WMI_TWT_PAUSE_DIALOG_COMPLETE_EVENTID,
- WMI_TWT_RESUME_DIALOG_COMPLETE_EVENTID,
- WMI_TWT_BTWT_INVITE_STA_COMPLETE_EVENTID,
- WMI_TWT_BTWT_REMOVE_STA_COMPLETE_EVENTID,
- WMI_TWT_SESSION_STATS_EVENTID,
- WMI_TWT_NUDGE_DIALOG_COMPLETE_EVENTID,
- WMI_TWT_NOTIFY_EVENTID,
- WMI_TWT_ACK_EVENTID,
-
- WMI_NDI_CAP_RSP_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_PROTOTYPE),
- WMI_NDP_INITIATOR_RSP_EVENTID,
- WMI_NDP_RESPONDER_RSP_EVENTID,
- WMI_NDP_END_RSP_EVENTID,
- WMI_NDP_INDICATION_EVENTID,
- WMI_NDP_CONFIRM_EVENTID,
- WMI_NDP_END_INDICATION_EVENTID,
- WMI_WLAN_COEX_BT_ACTIVITY_EVENTID,
- WMI_NDL_SCHEDULE_UPDATE_EVENTID,
- WMI_NDP_EVENTID,
-
- WMI_MOTION_DET_HOST_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_MOTION_DET),
- WMI_MOTION_DET_BASE_LINE_HOST_EVENTID,
-
- WMI_ESP_ESTIMATE_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_ESP),
-
- WMI_AUDIO_AGGR_REPORT_STATISTICS_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_AUDIO),
- WMI_AUDIO_AGGR_SCHED_METHOD_EVENTID,
-
- WMI_VENDOR_PDEV_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_VENDOR),
- WMI_VENDOR_VDEV_EVENTID,
- WMI_VENDOR_PEER_EVENTID,
-
-
-
- WMI_MLO_LINK_SET_ACTIVE_RESP_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_MLO),
-
- WMI_MLO_SETUP_COMPLETE_EVENTID,
-
- WMI_MLO_TEARDOWN_COMPLETE_EVENTID,
- } WMI_EVT_ID;
- #define WMI_OEM_CAPABILITY_REQ 0x01
- #define WMI_OEM_CAPABILITY_RSP 0x02
- #define WMI_OEM_MEASUREMENT_REQ 0x03
- #define WMI_OEM_MEASUREMENT_RSP 0x04
- #define WMI_OEM_ERROR_REPORT_RSP 0x05
- #define WMI_OEM_NAN_MEAS_REQ 0x06
- #define WMI_OEM_NAN_MEAS_RSP 0x07
- #define WMI_OEM_NAN_PEER_INFO 0x08
- #define WMI_OEM_CONFIGURE_LCR 0x09
- #define WMI_OEM_CONFIGURE_LCI 0x0A
- #define WMI_CHAN_LIST_TAG 0x1
- #define WMI_SSID_LIST_TAG 0x2
- #define WMI_BSSID_LIST_TAG 0x3
- #define WMI_IE_TAG 0x4
- #define WMI_SCAN_START_OFFSET_TAG 0x5
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 mhz;
-
- A_UINT32 band_center_freq1;
-
- A_UINT32 band_center_freq2;
-
- A_UINT32 info;
-
- A_UINT32 reg_info_1;
-
- A_UINT32 reg_info_2;
- } wmi_channel;
- typedef enum {
- WMI_CHANNEL_CHANGE_CAUSE_NONE = 0,
- WMI_CHANNEL_CHANGE_CAUSE_CSA,
- } wmi_channel_change_cause;
- #define WMI_SET_CHANNEL_MODE(pwmi_channel,val) do { \
- (pwmi_channel)->info &= 0xffffffc0; \
- (pwmi_channel)->info |= (val); \
- } while (0)
- #define WMI_GET_CHANNEL_MODE(pwmi_channel) ((pwmi_channel)->info & 0x0000003f)
- #define WMI_CHAN_FLAG_HT40_PLUS 6
- #define WMI_CHAN_FLAG_PASSIVE 7
- #define WMI_CHAN_ADHOC_ALLOWED 8
- #define WMI_CHAN_AP_DISABLED 9
- #define WMI_CHAN_FLAG_DFS 10
- #define WMI_CHAN_FLAG_ALLOW_HT 11
- #define WMI_CHAN_FLAG_ALLOW_VHT 12
- #define WMI_CHANNEL_CHANGE_CAUSE_CSA 13
- #define WMI_CHAN_FLAG_HALF_RATE 14
- #define WMI_CHAN_FLAG_QUARTER_RATE 15
- #define WMI_CHAN_FLAG_DFS_CFREQ2 16
- #define WMI_CHAN_FLAG_ALLOW_HE 17
- #define WMI_CHAN_FLAG_PSC 18
- #define WMI_CHAN_FLAG_NAN_DISABLED 19
- #define WMI_CHAN_FLAG_STA_DFS 20
- #define WMI_SET_CHANNEL_FLAG(pwmi_channel,flag) do { \
- (pwmi_channel)->info |= (1 << flag); \
- } while (0)
- #define WMI_GET_CHANNEL_FLAG(pwmi_channel,flag) \
- (((pwmi_channel)->info & (1 << flag)) >> flag)
- #define WMI_SET_CHANNEL_MIN_POWER(pwmi_channel,val) do { \
- (pwmi_channel)->reg_info_1 &= 0xffffff00; \
- (pwmi_channel)->reg_info_1 |= (val & 0xff); \
- } while (0)
- #define WMI_GET_CHANNEL_MIN_POWER(pwmi_channel) ((pwmi_channel)->reg_info_1 & 0xff)
- #define WMI_SET_CHANNEL_MAX_POWER(pwmi_channel,val) do { \
- (pwmi_channel)->reg_info_1 &= 0xffff00ff; \
- (pwmi_channel)->reg_info_1 |= ((val & 0xff) << 8); \
- } while (0)
- #define WMI_GET_CHANNEL_MAX_POWER(pwmi_channel) ((((pwmi_channel)->reg_info_1) >> 8) & 0xff)
- #define WMI_SET_CHANNEL_REG_POWER(pwmi_channel,val) do { \
- (pwmi_channel)->reg_info_1 &= 0xff00ffff; \
- (pwmi_channel)->reg_info_1 |= ((val & 0xff) << 16); \
- } while (0)
- #define WMI_GET_CHANNEL_REG_POWER(pwmi_channel) ((((pwmi_channel)->reg_info_1) >> 16) & 0xff)
- #define WMI_SET_CHANNEL_REG_CLASSID(pwmi_channel,val) do { \
- (pwmi_channel)->reg_info_1 &= 0x00ffffff; \
- (pwmi_channel)->reg_info_1 |= ((val & 0xff) << 24); \
- } while (0)
- #define WMI_GET_CHANNEL_REG_CLASSID(pwmi_channel) ((((pwmi_channel)->reg_info_1) >> 24) & 0xff)
- #define WMI_SET_CHANNEL_ANTENNA_MAX(pwmi_channel,val) do { \
- (pwmi_channel)->reg_info_2 &= 0xffffff00; \
- (pwmi_channel)->reg_info_2 |= (val & 0xff); \
- } while (0)
- #define WMI_GET_CHANNEL_ANTENNA_MAX(pwmi_channel) ((pwmi_channel)->reg_info_2 & 0xff)
- #define WMI_SET_CHANNEL_MAX_TX_POWER(pwmi_channel,val) do { \
- (pwmi_channel)->reg_info_2 &= 0xffff00ff; \
- (pwmi_channel)->reg_info_2 |= ((val & 0xff) << 8); \
- } while (0)
- #define WMI_GET_CHANNEL_MAX_TX_POWER(pwmi_channel) ((((pwmi_channel)->reg_info_2)>>8) & 0xff)
- #define WMI_SET_CHANNEL_MAX_BANDWIDTH(pwmi_channel,val) do { \
- (pwmi_channel)->reg_info_2 &= 0xff00ffff; \
- (pwmi_channel)->reg_info_2 |= ((val & 0xff) << 16); \
- } while (0)
- #define WMI_GET_CHANNEL_MAX_BANDWIDTH(pwmi_channel) ((((pwmi_channel)->reg_info_2) >> 16) & 0xff)
- #define WMI_HT_CAP_ENABLED 0x0001
- #define WMI_HT_CAP_HT20_SGI 0x0002
- #define WMI_HT_CAP_DYNAMIC_SMPS 0x0004
- #define WMI_HT_CAP_TX_STBC 0x0008
- #define WMI_HT_CAP_TX_STBC_MASK_SHIFT 3
- #define WMI_HT_CAP_RX_STBC 0x0030
- #define WMI_HT_CAP_RX_STBC_MASK_SHIFT 4
- #define WMI_HT_CAP_LDPC 0x0040
- #define WMI_HT_CAP_L_SIG_TXOP_PROT 0x0080
- #define WMI_HT_CAP_MPDU_DENSITY 0x0700
- #define WMI_HT_CAP_MPDU_DENSITY_MASK_SHIFT 8
- #define WMI_HT_CAP_HT40_SGI 0x0800
- #define WMI_HT_CAP_RX_LDPC 0x1000
- #define WMI_HT_CAP_TX_LDPC 0x2000
- #define WMI_HT_CAP_RX_STBC_1SS 0x0010
- #define WMI_HT_CAP_RX_STBC_2SS 0x0020
- #define WMI_HT_CAP_RX_STBC_3SS 0x0030
- #define WMI_HT_CAP_DEFAULT_ALL (WMI_HT_CAP_ENABLED | \
- WMI_HT_CAP_HT20_SGI | \
- WMI_HT_CAP_HT40_SGI | \
- WMI_HT_CAP_TX_STBC | \
- WMI_HT_CAP_RX_STBC | \
- WMI_HT_CAP_LDPC | \
- WMI_HT_CAP_TX_LDPC | \
- WMI_HT_CAP_RX_LDPC)
- #define WMI_VHT_CAP_MAX_MPDU_LEN_7935 0x00000001
- #define WMI_VHT_CAP_MAX_MPDU_LEN_11454 0x00000002
- #define WMI_VHT_CAP_MAX_MPDU_LEN_MASK 0x00000003
- #define WMI_VHT_CAP_CH_WIDTH_160MHZ 0x00000004
- #define WMI_VHT_CAP_CH_WIDTH_80P80_160MHZ 0x00000008
- #define WMI_VHT_CAP_RX_LDPC 0x00000010
- #define WMI_VHT_CAP_SGI_80MHZ 0x00000020
- #define WMI_VHT_CAP_SGI_160MHZ 0x00000040
- #define WMI_VHT_CAP_TX_STBC 0x00000080
- #define WMI_VHT_CAP_RX_STBC_MASK 0x00000300
- #define WMI_VHT_CAP_RX_STBC_MASK_SHIFT 8
- #define WMI_VHT_CAP_SU_BFORMER 0x00000800
- #define WMI_VHT_CAP_SU_BFORMEE 0x00001000
- #define WMI_VHT_CAP_MAX_CS_ANT_MASK 0x0000E000
- #define WMI_VHT_CAP_MAX_CS_ANT_MASK_SHIFT 13
- #define WMI_VHT_CAP_MAX_SND_DIM_MASK 0x00070000
- #define WMI_VHT_CAP_MAX_SND_DIM_MASK_SHIFT 16
- #define WMI_VHT_CAP_MU_BFORMER 0x00080000
- #define WMI_VHT_CAP_MU_BFORMEE 0x00100000
- #define WMI_VHT_CAP_TXOP_PS 0x00200000
- #define WMI_VHT_CAP_MAX_AMPDU_LEN_EXP 0x03800000
- #define WMI_VHT_CAP_MAX_AMPDU_LEN_EXP_SHIFT 23
- #define WMI_VHT_CAP_RX_FIXED_ANT 0x10000000
- #define WMI_VHT_CAP_TX_FIXED_ANT 0x20000000
- #define WMI_VHT_CAP_TX_LDPC 0x40000000
- #define WMI_VHT_CAP_MAX_AMPDU_LEN_EXP_SHIT WMI_VHT_CAP_MAX_AMPDU_LEN_EXP_SHIFT
- #define WMI_VHT_CAP_RX_STBC_1SS 0x00000100
- #define WMI_VHT_CAP_RX_STBC_2SS 0x00000200
- #define WMI_VHT_CAP_RX_STBC_3SS 0x00000300
- #define WMI_vHT_CAP_RX_STBC_3SS WMI_VHT_CAP_RX_STBC_3SS
- #define WMI_VHT_CAP_DEFAULT_ALL (WMI_VHT_CAP_MAX_MPDU_LEN_11454 | \
- WMI_VHT_CAP_SGI_80MHZ | \
- WMI_VHT_CAP_TX_STBC | \
- WMI_VHT_CAP_RX_STBC_MASK | \
- WMI_VHT_CAP_RX_LDPC | \
- WMI_VHT_CAP_TX_LDPC | \
- WMI_VHT_CAP_MAX_AMPDU_LEN_EXP | \
- WMI_VHT_CAP_RX_FIXED_ANT | \
- WMI_VHT_CAP_TX_FIXED_ANT)
- #define WMI_VHT_MAX_MCS_EXT_SS_GET(vht_mcs_map, index) WMI_GET_BITS(vht_mcs_map, 16 + index, 1)
- #define WMI_VHT_MAX_MCS_EXT_SS_SET(vht_mcs_map, index, value) WMI_SET_BITS(vht_mcs_map, 16 + index, 1, value)
- #define WMI_VHT_MCS_NOTIFY_EXT_SS_GET(vht_mcs_map) WMI_GET_BITS(vht_mcs_map, 24, 1)
- #define WMI_VHT_MCS_NOTIFY_EXT_SS_SET(vht_mcs_map, value) WMI_SET_BITS(vht_mcs_map, 24, 1, value)
- #define WMI_VHT_MAX_MCS_4_SS_MASK(r,ss) ((3 & (r)) << (((ss) - 1) << 1))
- #define WMI_VHT_MAX_SUPP_RATE_MASK 0x1fff0000
- #define WMI_VHT_MAX_SUPP_RATE_MASK_SHIFT 16
- #define WMI_HE_CAP_PPE_PRESENT 0x00000001
- #define WMI_HE_CAP_TWT_RESPONDER_SUPPORT 0x00000002
- #define WMI_HE_CAP_TWT_REQUESTER_SUPPORT 0x00000004
- #define WMI_HE_FRAG_SUPPORT_MASK 0x00000018
- #define WMI_HE_FRAG_SUPPORT_SHIFT 3
- #define WMI_HE_CAP_1X_LTF_400NS_GI_SUPPORT 0x00000001
- #define WMI_HE_CAP_2X_LTF_400NS_GI_SUPPORT 0x00000002
- #define WMI_HE_CAP_2X_LTF_160_80_80_SUPPORT 0x00000004
- #define WMI_HE_CAP_RX_DL_OFDMA_SUPPORT 0x00000018
- #define WMI_HE_CAP_RX_DL_MUMIMO_SUPPORT 0x00000030
- #define WMI_HE_CAP_1X_LTF_400NS_GI_SUPPORT_GET(he_cap_info_dword1) \
- WMI_GET_BITS(he_cap_info_dword1, 0, 1)
- #define WMI_HE_CAP_1X_LTF_400NS_GI_SUPPORT_SET(he_cap_info_dword1, value) \
- WMI_SET_BITS(he_cap_info_dword1, 0, 1, value)
- #define WMI_HE_CAP_2X_LTF_400NS_GI_SUPPORT_GET(he_cap_info_dword1) \
- WMI_GET_BITS(he_cap_info_dword1, 1, 1)
- #define WMI_HE_CAP_2X_LTF_400NS_GI_SUPPORT_SET(he_cap_info_dword1, value) \
- WMI_SET_BITS(he_cap_info_dword1, 1, 1, value)
- #define WMI_HE_CAP_2X_LTF_160_80_80_SUPPORT_GET(he_cap_info_dword1) \
- WMI_GET_BITS(he_cap_info_dword1, 2, 1)
- #define WMI_HE_CAP_2X_LTF_160_80_80_SUPPORT_SET(he_cap_info_dword1, value) \
- WMI_SET_BITS(he_cap_info_dword1, 2, 1, value)
- #define WMI_HE_CAP_RX_DL_OFDMA_SUPPORT_GET(he_cap_info_dword1) \
- WMI_GET_BITS(he_cap_info_dword1, 3, 2)
- #define WMI_HE_CAP_RX_DL_OFDMA_SUPPORT_SET(he_cap_info_dword1, value) \
- WMI_SET_BITS(he_cap_info_dword1, 3, 2, value)
- #define WMI_HE_CAP_RX_DL_MUMIMO_SUPPORT_GET(he_cap_info_dword1) \
- WMI_GET_BITS(he_cap_info_dword1, 5, 2)
- #define WMI_HE_CAP_RX_DL_MUMIMO_SUPPORT_SET(he_cap_info_dword1, value) \
- WMI_SET_BITS(he_cap_info_dword1, 5, 2, value)
- #define WMI_HE_MAX_MCS_4_SS_MASK(r,ss) ((3 & (r)) << (((ss) - 1) << 1))
- #define WMI_HE_EXTRA_MCS_SS_GET(he_mcs_map_ext, index) \
- WMI_GET_BITS(he_mcs_map_ext, 16 + index, 1)
- #define WMI_HE_EXTRA_MCS_SS_SET(he_mcs_map_ext, index, value) \
- WMI_SET_BITS(he_mcs_map_ext, 16 + index, 1, value)
- enum {
- WMI_HE_FRAG_SUPPORT_LEVEL0,
- WMI_HE_FRAG_SUPPORT_LEVEL1,
- WMI_HE_FRAG_SUPPORT_LEVEL2,
- WMI_HE_FRAG_SUPPORT_LEVEL3,
- };
- enum {
- WMI_HE_RX_DL_OFDMA_SUPPORT_DEFAULT,
- WMI_HE_RX_DL_OFDMA_SUPPORT_DISABLE,
- WMI_HE_RX_DL_OFDMA_SUPPORT_ENABLE,
- WMI_HE_RX_DL_OFDMA_SUPPORT_INVALID,
- };
- enum {
- WMI_HE_RX_DL_MUMIMO_SUPPORT_DEFAULT,
- WMI_HE_RX_DL_MUMIMO_SUPPORT_DISABLE,
- WMI_HE_RX_DL_MUMIMO_SUPPORT_ENABLE,
- WMI_HE_RX_DL_MUMIMO_SUPPORT_INVALID,
- };
- #define WMI_MAX_NUM_SS MAX_HE_NSS
- #define WMI_MAX_NUM_RU MAX_HE_RU
- #define WMI_SET_PPET16(ppet16_ppet8_ru3_ru0, ru, nssm1, ppet) \
- do { \
- ppet16_ppet8_ru3_ru0[nssm1] &= ~(7 << (((ru-1) & 3) * 6)); \
- ppet16_ppet8_ru3_ru0[nssm1] |= ((ppet & 7) << (((ru-1) & 3) * 6)); \
- } while (0)
- #define WMI_GET_PPET16(ppet16_ppet8_ru3_ru0, ru, nssm1) \
- ((ppet16_ppet8_ru3_ru0[nssm1] >> (((ru-1) & 3) * 6)) & 7)
- #define WMI_SET_PPET8(ppet16_ppet8_ru3_ru0, ru, nssm1, ppet) \
- do { \
- ppet16_ppet8_ru3_ru0[nssm1] &= ~(7 << (((ru-1) & 3) * 6 + 3)); \
- ppet16_ppet8_ru3_ru0[nssm1] |= ((ppet&7) << (((ru-1) & 3) * 6 + 3)); \
- } while (0)
- #define WMI_GET_PPET8(ppet16_ppet8_ru3_ru0, ru, nssm1) \
- ((ppet16_ppet8_ru3_ru0[nssm1] >> (((ru-1) & 3) * 6 + 3)) & 7)
- typedef struct _wmi_ppe_threshold {
- A_UINT32 numss_m1;
- union {
- A_UINT32 ru_count;
- A_UINT32 ru_mask;
- };
- A_UINT32 ppet16_ppet8_ru3_ru0[WMI_MAX_NUM_SS];
-
- } wmi_ppe_threshold;
- #define WMI_MAX_EHTCAP_MAC_SIZE 2
- #define WMI_MAX_EHTCAP_PHY_SIZE 3
- #define WMI_SYS_CAP_ENABLE 0x00000001
- #define WMI_SYS_CAP_TXPOWER 0x00000002
- #define WMI_DBS_HW_MODE_MAC0_TX_STREAMS_BITPOS (28)
- #define WMI_DBS_HW_MODE_MAC0_RX_STREAMS_BITPOS (24)
- #define WMI_DBS_HW_MODE_MAC1_TX_STREAMS_BITPOS (20)
- #define WMI_DBS_HW_MODE_MAC1_RX_STREAMS_BITPOS (16)
- #define WMI_DBS_HW_MODE_MAC0_BANDWIDTH_BITPOS (12)
- #define WMI_DBS_HW_MODE_MAC1_BANDWIDTH_BITPOS (8)
- #define WMI_DBS_HW_MODE_DBS_MODE_BITPOS (7)
- #define WMI_DBS_HW_MODE_AGILE_DFS_MODE_BITPOS (6)
- #define WMI_DBS_HW_MODE_MAC0_TX_STREAMS_MASK (0xf << WMI_DBS_HW_MODE_MAC0_TX_STREAMS_BITPOS)
- #define WMI_DBS_HW_MODE_MAC0_RX_STREAMS_MASK (0xf << WMI_DBS_HW_MODE_MAC0_RX_STREAMS_BITPOS)
- #define WMI_DBS_HW_MODE_MAC1_TX_STREAMS_MASK (0xf << WMI_DBS_HW_MODE_MAC1_TX_STREAMS_BITPOS)
- #define WMI_DBS_HW_MODE_MAC1_RX_STREAMS_MASK (0xf << WMI_DBS_HW_MODE_MAC1_RX_STREAMS_BITPOS)
- #define WMI_DBS_HW_MODE_MAC0_BANDWIDTH_MASK (0xf << WMI_DBS_HW_MODE_MAC0_BANDWIDTH_BITPOS)
- #define WMI_DBS_HW_MODE_MAC1_BANDWIDTH_MASK (0xf << WMI_DBS_HW_MODE_MAC1_BANDWIDTH_BITPOS)
- #define WMI_DBS_HW_MODE_DBS_MODE_MASK (0x1 << WMI_DBS_HW_MODE_DBS_MODE_BITPOS)
- #define WMI_DBS_HW_MODE_AGILE_DFS_MODE_MASK (0x1 << WMI_DBS_HW_MODE_AGILE_DFS_MODE_BITPOS)
- #define WMI_DBS_HW_MODE_MAC0_TX_STREAMS_SET(hw_mode, value) \
- WMI_SET_BITS(hw_mode, WMI_DBS_HW_MODE_MAC0_TX_STREAMS_BITPOS, 4, value)
- #define WMI_DBS_HW_MODE_MAC0_RX_STREAMS_SET(hw_mode, value) \
- WMI_SET_BITS(hw_mode, WMI_DBS_HW_MODE_MAC0_RX_STREAMS_BITPOS, 4, value)
- #define WMI_DBS_HW_MODE_MAC1_TX_STREAMS_SET(hw_mode, value) \
- WMI_SET_BITS(hw_mode, WMI_DBS_HW_MODE_MAC1_TX_STREAMS_BITPOS, 4, value)
- #define WMI_DBS_HW_MODE_MAC1_RX_STREAMS_SET(hw_mode, value) \
- WMI_SET_BITS(hw_mode, WMI_DBS_HW_MODE_MAC1_RX_STREAMS_BITPOS, 4, value)
- #define WMI_DBS_HW_MODE_MAC0_BANDWIDTH_SET(hw_mode, value) \
- WMI_SET_BITS(hw_mode, WMI_DBS_HW_MODE_MAC0_BANDWIDTH_BITPOS, 4, value)
- #define WMI_DBS_HW_MODE_MAC1_BANDWIDTH_SET(hw_mode, value) \
- WMI_SET_BITS(hw_mode, WMI_DBS_HW_MODE_MAC1_BANDWIDTH_BITPOS, 4, value)
- #define WMI_DBS_HW_MODE_DBS_MODE_SET(hw_mode, value) \
- WMI_SET_BITS(hw_mode, WMI_DBS_HW_MODE_DBS_MODE_BITPOS, 1, value)
- #define WMI_DBS_HW_MODE_AGILE_DFS_SET(hw_mode, value) \
- WMI_SET_BITS(hw_mode, WMI_DBS_HW_MODE_AGILE_DFS_MODE_BITPOS, 1, value)
- #define WMI_DBS_HW_MODE_MAC0_TX_STREAMS_GET(hw_mode) \
- ((hw_mode & WMI_DBS_HW_MODE_MAC0_TX_STREAMS_MASK) >> WMI_DBS_HW_MODE_MAC0_TX_STREAMS_BITPOS)
- #define WMI_DBS_HW_MODE_MAC0_RX_STREAMS_GET(hw_mode) \
- ((hw_mode & WMI_DBS_HW_MODE_MAC0_RX_STREAMS_MASK) >> WMI_DBS_HW_MODE_MAC0_RX_STREAMS_BITPOS)
- #define WMI_DBS_HW_MODE_MAC1_TX_STREAMS_GET(hw_mode) \
- ((hw_mode & WMI_DBS_HW_MODE_MAC1_TX_STREAMS_MASK) >> WMI_DBS_HW_MODE_MAC1_TX_STREAMS_BITPOS)
- #define WMI_DBS_HW_MODE_MAC1_RX_STREAMS_GET(hw_mode) \
- ((hw_mode & WMI_DBS_HW_MODE_MAC1_RX_STREAMS_MASK) >> WMI_DBS_HW_MODE_MAC1_RX_STREAMS_BITPOS)
- #define WMI_DBS_HW_MODE_MAC0_BANDWIDTH_GET(hw_mode) \
- ((hw_mode & WMI_DBS_HW_MODE_MAC0_BANDWIDTH_MASK) >> WMI_DBS_HW_MODE_MAC0_BANDWIDTH_BITPOS)
- #define WMI_DBS_HW_MODE_MAC1_BANDWIDTH_GET(hw_mode) \
- ((hw_mode & WMI_DBS_HW_MODE_MAC1_BANDWIDTH_MASK) >> WMI_DBS_HW_MODE_MAC1_BANDWIDTH_BITPOS)
- #define WMI_DBS_HW_MODE_DBS_MODE_GET(hw_mode) \
- ((hw_mode & WMI_DBS_HW_MODE_DBS_MODE_MASK) >> WMI_DBS_HW_MODE_DBS_MODE_BITPOS)
- #define WMI_DBS_HW_MODE_AGILE_DFS_GET(hw_mode) \
- ((hw_mode & WMI_DBS_HW_MODE_AGILE_DFS_MODE_MASK) >> WMI_DBS_HW_MODE_AGILE_DFS_MODE_BITPOS)
- #define WMI_DBS_CONC_SCAN_CFG_DBS_SCAN_BITPOS (31)
- #define WMI_DBS_CONC_SCAN_CFG_AGILE_SCAN_BITPOS (30)
- #define WMI_DBS_CONC_SCAN_CFG_AGILE_DFS_SCAN_BITPOS (29)
- #define WMI_DBS_CONC_SCAN_CFG_ASYNC_DBS_SCAN_BITPOS (28)
- #define WMI_DBS_CONC_SCAN_CFG_SYNC_DBS_SCAN_BITPOS (27)
- #define WMI_DBS_CONC_SCAN_CFG_DBS_SCAN_MASK (0x1 << WMI_DBS_CONC_SCAN_CFG_DBS_SCAN_BITPOS)
- #define WMI_DBS_CONC_SCAN_CFG_AGILE_SCAN_MASK (0x1 << WMI_DBS_CONC_SCAN_CFG_AGILE_SCAN_BITPOS)
- #define WMI_DBS_CONC_SCAN_CFG_AGILE_DFS_SCAN_MASK (0x1 << WMI_DBS_CONC_SCAN_CFG_AGILE_DFS_SCAN_BITPOS)
- #define WMI_DBS_CONC_SCAN_CFG_ASYC_DBS_SCAN_MASK (0x1 << WMI_DBS_CONC_SCAN_CFG_ASYNC_DBS_SCAN_BITPOS)
- #define WMI_DBS_CONC_SCAN_CFG_SYNC_DBS_SCAN_MASK (0x1 << WMI_DBS_CONC_SCAN_CFG_SYNC_DBS_SCAN_BITPOS)
- #define WMI_DBS_CONC_SCAN_CFG_DBS_SCAN_SET(scan_cfg, value) \
- WMI_SET_BITS(scan_cfg, WMI_DBS_CONC_SCAN_CFG_DBS_SCAN_BITPOS, 1, value)
- #define WMI_DBS_CONC_SCAN_CFG_AGILE_SCAN_SET(scan_cfg, value) \
- WMI_SET_BITS(scan_cfg, WMI_DBS_CONC_SCAN_CFG_AGILE_SCAN_BITPOS, 1, value)
- #define WMI_DBS_CONC_SCAN_CFG_AGILE_DFS_SCAN_SET(scan_cfg, value) \
- WMI_SET_BITS(scan_cfg, WMI_DBS_CONC_SCAN_CFG_AGILE_DFS_SCAN_BITPOS, 1, value)
- #define WMI_DBS_CONC_SCAN_CFG_ASYNC_DBS_SCAN_SET(scan_cfg, value) \
- WMI_SET_BITS(scan_cfg, WMI_DBS_CONC_SCAN_CFG_ASYNC_DBS_SCAN_BITPOS, 1, value)
- #define WMI_DBS_CONC_SCAN_CFG_SYNC_DBS_SCAN_SET(scan_cfg, value) \
- WMI_SET_BITS(scan_cfg, WMI_DBS_CONC_SCAN_CFG_SYNC_DBS_SCAN_BITPOS, 1, value)
- #define WMI_DBS_CONC_SCAN_CFG_DBS_SCAN_GET(scan_cfg) \
- ((scan_cfg & WMI_DBS_CONC_SCAN_CFG_DBS_SCAN_MASK) >> WMI_DBS_CONC_SCAN_CFG_DBS_SCAN_BITPOS)
- #define WMI_DBS_CONC_SCAN_CFG_AGILE_SCAN_GET(scan_cfg) \
- ((scan_cfg & WMI_DBS_CONC_SCAN_CFG_AGILE_SCAN_MASK) >> WMI_DBS_CONC_SCAN_CFG_AGILE_SCAN_BITPOS)
- #define WMI_DBS_CONC_SCAN_CFG_AGILE_DFS_SCAN_GET(scan_cfg) \
- ((scan_cfg & WMI_DBS_CONC_SCAN_CFG_AGILE_DFS_SCAN_MASK) >> WMI_DBS_CONC_SCAN_CFG_AGILE_DFS_SCAN_BITPOS)
- #define WMI_DBS_CONC_SCAN_CFG_ASYNC_DBS_SCAN_GET(scan_cfg) \
- ((scan_cfg & WMI_DBS_CONC_SCAN_CFG_ASYC_DBS_SCAN_MASK) >> WMI_DBS_CONC_SCAN_CFG_ASYNC_DBS_SCAN_BITPOS)
- #define WMI_DBS_CONC_SCAN_CFG_SYNC_DBS_SCAN_GET(scan_cfg) \
- ((scan_cfg & WMI_DBS_CONC_SCAN_CFG_SYNC_DBS_SCAN_MASK) >> WMI_DBS_CONC_SCAN_CFG_SYNC_DBS_SCAN_BITPOS)
- #define WMI_DBS_FW_MODE_CFG_DBS_BITPOS (31)
- #define WMI_DBS_FW_MODE_CFG_AGILE_DFS_BITPOS (30)
- #define WMI_DBS_FW_MODE_CFG_DBS_FOR_CXN_BITPOS (29)
- #define WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_STA_BITPOS (28)
- #define WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_P2P_BITPOS (27)
- #define WMI_DBS_FW_MODE_CFG_DBS_MASK (0x1 << WMI_DBS_FW_MODE_CFG_DBS_BITPOS)
- #define WMI_DBS_FW_MODE_CFG_AGILE_DFS_MASK (0x1 << WMI_DBS_FW_MODE_CFG_AGILE_DFS_BITPOS)
- #define WMI_DBS_FW_MODE_CFG_DBS_FOR_CXN_DFS_MASK (0x1 << WMI_DBS_FW_MODE_CFG_DBS_FOR_CXN_BITPOS)
- #define WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_STA_MASK (0x1 << WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_STA_BITPOS)
- #define WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_P2P_MASK (0x1 << WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_P2P_BITPOS)
- #define WMI_DBS_FW_MODE_CFG_DBS_SET(fw_mode, value) \
- WMI_SET_BITS(fw_mode, WMI_DBS_FW_MODE_CFG_DBS_BITPOS, 1, value)
- #define WMI_DBS_FW_MODE_CFG_AGILE_DFS_SET(fw_mode, value) \
- WMI_SET_BITS(fw_mode, WMI_DBS_FW_MODE_CFG_AGILE_DFS_BITPOS, 1, value)
- #define WMI_DBS_FW_MODE_CFG_DBS_FOR_CXN_SET(fw_mode, value) \
- WMI_SET_BITS(fw_mode, WMI_DBS_FW_MODE_CFG_DBS_FOR_CXN_BITPOS, 1, value)
- #define WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_STA_SET(fw_mode, value) \
- WMI_SET_BITS(fw_mode, WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_STA_BITPOS, 1, value)
- #define WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_P2P_SET(fw_mode, value) \
- WMI_SET_BITS(fw_mode, WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_P2P_BITPOS, 1, value)
- #define WMI_DBS_FW_MODE_CFG_DBS_GET(fw_mode) \
- ((fw_mode & WMI_DBS_FW_MODE_CFG_DBS_MASK) >> WMI_DBS_FW_MODE_CFG_DBS_BITPOS)
- #define WMI_DBS_FW_MODE_CFG_AGILE_DFS_GET(fw_mode) \
- ((fw_mode & WMI_DBS_FW_MODE_CFG_AGILE_DFS_MASK) >> WMI_DBS_FW_MODE_CFG_AGILE_DFS_BITPOS)
- #define WMI_DBS_FW_MODE_CFG_DBS_FOR_CXN_GET(fw_mode) \
- ((fw_mode & WMI_DBS_FW_MODE_CFG_DBS_FOR_CXN_DFS_MASK) >> WMI_DBS_FW_MODE_CFG_DBS_FOR_CXN_BITPOS)
- #define WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_STA_GET(fw_mode) \
- ((fw_mode & WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_STA_MASK) >> WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_STA_BITPOS)
- #define WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_P2P_GET(fw_mode) \
- ((fw_mode & WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_P2P_MASK) >> WMI_DBS_FW_MODE_CFG_DBS_FOR_STA_PLUS_P2P_BITPOS)
- typedef struct _wmi_abi_version {
- A_UINT32 abi_version_0;
- A_UINT32 abi_version_1;
- A_UINT32 abi_version_ns_0;
- A_UINT32 abi_version_ns_1;
- A_UINT32 abi_version_ns_2;
- A_UINT32 abi_version_ns_3;
- } wmi_abi_version;
- #define WMI_MAX_MEM_REQS 16
- #define HW_BD_INFO_SIZE 5
- #define WMI_PDEV_ID_SOC 0
- #define WMI_PDEV_ID_1ST 1
- #define WMI_PDEV_ID_2ND 2
- #define WMI_PDEV_ID_3RD 3
- typedef enum {
- BDF_VERSION = 0,
- REF_DESIGN_ID = 1,
- CUSTOMER_ID = 2,
- PROJECT_ID = 3,
- BOARD_DATA_REV = 4,
- } wmi_hw_bd_info_e;
- #define WMI_GET_BDF_VERSION(hw_bd_info) ((hw_bd_info)[BDF_VERSION])
- #define WMI_GET_REF_DESIGN(hw_bd_info) ((hw_bd_info)[REF_DESIGN_ID])
- #define WMI_GET_CUSTOMER_ID(hw_bd_info) ((hw_bd_info)[CUSTOMER_ID])
- #define WMI_GET_PROJECT_ID(hw_bd_info) ((hw_bd_info)[PROJECT_ID])
- #define WMI_GET_BOARD_DATA_REV(hw_bd_info) ((hw_bd_info)[BOARD_DATA_REV])
- #define WMI_SET_BDF_VERSION(hw_bd_info, val) ((hw_bd_info)[BDF_VERSION] = (val))
- #define WMI_SET_REF_DESIGN(hw_bd_info, val) ((hw_bd_info)[REF_DESIGN_ID] = (val))
- #define WMI_SET_CUSTOMER_ID(hw_bd_info, val) ((hw_bd_info)[CUSTOMER_ID] = (val))
- #define WMI_SET_PROJECT_ID(hw_bd_info, val) ((hw_bd_info)[PROJECT_ID] = (val))
- #define WMI_SET_BOARD_DATA_REV(hw_bd_info, val) ((hw_bd_info)[BOARD_DATA_REV] = (val))
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 fw_build_vers;
- wmi_abi_version fw_abi_vers;
- A_UINT32 phy_capability;
- A_UINT32 max_frag_entry;
- A_UINT32 num_rf_chains;
-
- A_UINT32 ht_cap_info;
- A_UINT32 vht_cap_info;
- A_UINT32 vht_supp_mcs;
- A_UINT32 hw_min_tx_power;
- A_UINT32 hw_max_tx_power;
-
- A_UINT32 sys_cap_info;
- A_UINT32 min_pkt_size_enable;
-
- A_UINT32 max_bcn_ie_size;
-
- A_UINT32 num_mem_reqs;
-
- A_UINT32 max_num_scan_channels;
-
- A_UINT32 hw_bd_id;
- A_UINT32 hw_bd_info[HW_BD_INFO_SIZE];
-
- A_UINT32 max_supported_macs;
-
- A_UINT32 wmi_fw_sub_feat_caps;
-
- A_UINT32 num_dbs_hw_modes;
-
- A_UINT32 txrx_chainmask;
-
- A_UINT32 default_dbs_hw_mode_index;
-
- A_UINT32 num_msdu_desc;
- } wmi_service_ready_event_fixed_param;
- typedef enum {
- WMI_RXTX_LED_ENABLE = 0x00000001,
- WMI_RFKILL_ENABLE = 0x00000002,
- } WMI_LEDRFKILL_FLAGS;
- #define WMI_SERVICE_SEGMENT_BM_SIZE32 4
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 wmi_service_segment_offset;
- A_UINT32 wmi_service_segment_bitmap[WMI_SERVICE_SEGMENT_BM_SIZE32];
- } wmi_service_available_event_fixed_param;
- #define WMI_HDL_VERSION_BITPOS 0
- #define WMI_HDL_VERSION_NUM_BITS 10
- #define WMI_HDL_VERSION_GET(dword) WMI_GET_BITS(dword, WMI_HDL_VERSION_BITPOS, WMI_HDL_VERSION_NUM_BITS)
- #define WMI_HDL_VERSION_SET(dword, value) WMI_SET_BITS(dword, WMI_HDL_VERSION_BITPOS, WMI_HDL_VERSION_NUM_BITS, value)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 default_conc_scan_config_bits;
-
- A_UINT32 default_fw_config_bits;
- wmi_ppe_threshold ppet;
- A_UINT32 he_cap_info;
-
- A_UINT32 mpdu_density;
-
- A_UINT32 max_bssid_rx_filters;
-
- A_UINT32 fw_build_vers_ext;
-
- A_UINT32 max_nlo_ssids;
-
- A_UINT32 max_bssid_indicator;
-
- A_UINT32 he_cap_info_ext;
-
-
- } wmi_service_ready_ext_event_fixed_param;
- #define WMI_REG_DB_VERSION_MAJOR_BITPOS 0
- #define WMI_REG_DB_VERSION_MINOR_BITPOS 8
- #define WMI_BDF_REG_DB_VERSION_MAJOR_BITPOS 16
- #define WMI_BDF_REG_DB_VERSION_MINOR_BITPOS 24
- #define WMI_REG_DB_VERSION_NUM_BITS 8
- #define WMI_REG_DB_VERSION_MAJOR_GET(dword) \
- WMI_GET_BITS(dword, WMI_REG_DB_VERSION_MAJOR_BITPOS, WMI_REG_DB_VERSION_NUM_BITS)
- #define WMI_REG_DB_VERSION_MAJOR_SET(dword, value) \
- WMI_SET_BITS(dword, WMI_REG_DB_VERSION_MAJOR_BITPOS, WMI_REG_DB_VERSION_NUM_BITS, value)
- #define WMI_REG_DB_VERSION_MINOR_GET(dword) \
- WMI_GET_BITS(dword, WMI_REG_DB_VERSION_MINOR_BITPOS, WMI_REG_DB_VERSION_NUM_BITS)
- #define WMI_REG_DB_VERSION_MINOR_SET(dword, value) \
- WMI_SET_BITS(dword, WMI_REG_DB_VERSION_MINOR_BITPOS, WMI_REG_DB_VERSION_NUM_BITS, value)
- #define WMI_BDF_REG_DB_VERSION_MAJOR_GET(dword) \
- WMI_GET_BITS(dword, WMI_BDF_REG_DB_VERSION_MAJOR_BITPOS, WMI_REG_DB_VERSION_NUM_BITS)
- #define WMI_BDF_REG_DB_VERSION_MAJOR_SET(dword, value) \
- WMI_SET_BITS(dword, WMI_BDF_REG_DB_VERSION_MAJOR_BITPOS, WMI_REG_DB_VERSION_NUM_BITS, value)
- #define WMI_BDF_REG_DB_VERSION_MINOR_GET(dword) \
- WMI_GET_BITS(dword, WMI_BDF_REG_DB_VERSION_MINOR_BITPOS, WMI_REG_DB_VERSION_NUM_BITS)
- #define WMI_BDF_REG_DB_VERSION_MINOR_SET(dword, value) \
- WMI_SET_BITS(dword, WMI_BDF_REG_DB_VERSION_MINOR_BITPOS, WMI_REG_DB_VERSION_NUM_BITS, value)
- #define WMI_REG_DB_VERSION_SET(dword, reg_db_ver_major, reg_db_ver_minor, bdf_reg_db_ver_major, bdf_reg_db_ver_minor) \
- do { \
- WMI_REG_DB_VERSION_MAJOR_SET(dword, reg_db_ver_major); \
- WMI_REG_DB_VERSION_MINOR_SET(dword, reg_db_ver_minor); \
- WMI_BDF_REG_DB_VERSION_MAJOR_SET(dword, bdf_reg_db_ver_major); \
- WMI_BDF_REG_DB_VERSION_MINOR_SET(dword, bdf_reg_db_ver_minor); \
- } while (0)
- #define WMI_HW_MIN_TX_POWER_BITPOS 0
- #define WMI_HW_MAX_TX_POWER_BITPOS 16
- #define WMI_HW_MIN_TX_POWER_GET(dword) \
- ((A_INT16) WMI_GET_BITS(dword, WMI_HW_MIN_TX_POWER_BITPOS, 16))
- #define WMI_HW_MIN_TX_POWER_SET(dword, value) \
- WMI_SET_BITS(dword, WMI_HW_MIN_TX_POWER_BITPOS, 16, value)
- #define WMI_HW_MAX_TX_POWER_GET(dword) \
- ((A_INT16) WMI_GET_BITS(dword, WMI_HW_MAX_TX_POWER_BITPOS, 16))
- #define WMI_HW_MAX_TX_POWER_SET(dword, value) \
- WMI_SET_BITS(dword, WMI_HW_MAX_TX_POWER_BITPOS, 16, value)
- #define WMI_MAX_USER_PER_PPDU_UL_OFDMA_GET(dword) \
- WMI_GET_BITS(dword, 0, 16)
- #define WMI_MAX_USER_PER_PPDU_UL_OFDMA_SET(dword, value) \
- WMI_SET_BITS(dword, 0, 16, value)
- #define WMI_MAX_USER_PER_PPDU_DL_OFDMA_GET(dword) \
- WMI_GET_BITS(dword, 16, 16)
- #define WMI_MAX_USER_PER_PPDU_DL_OFDMA_SET(dword, value) \
- WMI_SET_BITS(dword, 16, 16, value)
- #define WMI_MAX_USER_PER_PPDU_UL_MUMIMO_GET(dword) \
- WMI_GET_BITS(dword, 0, 16)
- #define WMI_MAX_USER_PER_PPDU_UL_MUMIMO_SET(dword, value) \
- WMI_SET_BITS(dword, 0, 16, value)
- #define WMI_MAX_USER_PER_PPDU_DL_MUMIMO_GET(dword) \
- WMI_GET_BITS(dword, 16, 16)
- #define WMI_MAX_USER_PER_PPDU_DL_MUMIMO_SET(dword, value) \
- WMI_SET_BITS(dword, 16, 16, value)
- #define WMI_TARGET_CAP_FLAGS_RX_PEER_METADATA_VERSION_GET(target_cap_flags) \
- WMI_GET_BITS(target_cap_flags, 0, 2)
- #define WMI_TARGET_CAP_FLAGS_RX_PEER_METADATA_VERSION_SET(target_cap_flags, value) \
- WMI_SET_BITS(target_cap_flags, 0, 2, value)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 reg_db_version;
-
- A_UINT32 hw_min_max_tx_power_2g;
-
- A_UINT32 hw_min_max_tx_power_5g;
-
- A_UINT32 chwidth_num_peer_caps;
-
- A_UINT32 preamble_puncture_bw;
-
- A_UINT32 max_user_per_ppdu_ofdma;
-
- A_UINT32 max_user_per_ppdu_mumimo;
-
- A_UINT32 target_cap_flags;
-
- A_UINT32 eht_cap_mac_info[WMI_MAX_EHTCAP_MAC_SIZE];
-
- } wmi_service_ready_ext2_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- } wmi_chan_rf_characterization_info_event_fixed_param;
- typedef enum {
- WMI_FW_STA_RTT_INITR = 0x00000001,
- WMI_FW_STA_RTT_RESPR = 0x00000002,
- WMI_FW_P2P_CLI_RTT_INITR = 0x00000004,
- WMI_FW_P2P_CLI_RTT_RESPR = 0x00000008,
- WMI_FW_P2P_GO_RTT_INITR = 0x00000010,
- WMI_FW_P2P_GO_RTT_RESPR = 0x00000020,
- WMI_FW_AP_RTT_INITR = 0x00000040,
- WMI_FW_AP_RTT_RESPR = 0x00000080,
- WMI_FW_NAN_RTT_INITR = 0x00000100,
- WMI_FW_NAN_RTT_RESPR = 0x00000200,
- WMI_FW_SCAN_DBS_POLICY = 0x00000400,
-
- WMI_FW_MAX_SUB_FEAT_CAP = 0x80000000,
- } WMI_FW_SUB_FEAT_CAPS;
- typedef enum {
- WMI_HWBD_NONE = 0,
- WMI_HWBD_QCA6174 = 1,
- WMI_HWBD_QCA2582 = 2,
- } WMI_HWBD_ID;
- #define ATH_BD_DATA_REV_MASK 0x000000FF
- #define ATH_BD_DATA_REV_SHIFT 0
- #define ATH_BD_DATA_PROJ_ID_MASK 0x0000FF00
- #define ATH_BD_DATA_PROJ_ID_SHIFT 8
- #define ATH_BD_DATA_CUST_ID_MASK 0x00FF0000
- #define ATH_BD_DATA_CUST_ID_SHIFT 16
- #define ATH_BD_DATA_REF_DESIGN_ID_MASK 0xFF000000
- #define ATH_BD_DATA_REF_DESIGN_ID_SHIFT 24
- #define SET_BD_DATA_REV(bd_data_ver, value) \
- ((bd_data_ver) &= ~ATH_BD_DATA_REV_MASK, (bd_data_ver) |= ((value) << ATH_BD_DATA_REV_SHIFT))
- #define GET_BD_DATA_REV(bd_data_ver) \
- (((bd_data_ver) & ATH_BD_DATA_REV_MASK) >> ATH_BD_DATA_REV_SHIFT)
- #define SET_BD_DATA_PROJ_ID(bd_data_ver, value) \
- ((bd_data_ver) &= ~ATH_BD_DATA_PROJ_ID_MASK, (bd_data_ver) |= ((value) << ATH_BD_DATA_PROJ_ID_SHIFT))
- #define GET_BD_DATA_PROJ_ID(bd_data_ver) \
- (((bd_data_ver) & ATH_BD_DATA_PROJ_ID_MASK) >> ATH_BD_DATA_PROJ_ID_SHIFT)
- #define SET_BD_DATA_CUST_ID(bd_data_ver, value) \
- ((bd_data_ver) &= ~ATH_BD_DATA_CUST_ID_MASK, (bd_data_ver) |= ((value) << ATH_BD_DATA_CUST_ID_SHIFT))
- #define GET_BD_DATA_CUST_ID(bd_data_ver) \
- (((bd_data_ver) & ATH_BD_DATA_CUST_ID_MASK) >> ATH_BD_DATA_CUST_ID_SHIFT)
- #define SET_BD_DATA_REF_DESIGN_ID(bd_data_ver, value) \
- ((bd_data_ver) &= ~ATH_BD_DATA_REF_DESIGN_ID_MASK, (bd_data_ver) |= ((value) << ATH_BD_DATA_REF_DESIGN_ID_SHIFT))
- #define GET_BD_DATA_REF_DESIGN_ID(bd_data_ver) \
- (((bd_data_ver) & ATH_BD_DATA_REF_DESIGN_ID_MASK) >> ATH_BD_DATA_REF_DESIGN_ID_SHIFT)
- #ifdef ROME_LTE_COEX_FREQ_AVOID
- typedef struct {
- A_UINT32 start_freq;
- A_UINT32 end_freq;
- } avoid_freq_range_desc;
- typedef struct {
-
- A_UINT32 num_freq_ranges;
-
- avoid_freq_range_desc avd_freq_range[0];
- } wmi_wlan_avoid_freq_ranges_event;
- #endif
- #define WLAN_INIT_STATUS_SUCCESS 0x0
- #define WLAN_INIT_STATUS_GEN_FAILED 0x1
- #define WLAN_GET_INIT_STATUS_REASON(status) ((status) & 0xffff)
- #define WLAN_GET_INIT_STATUS_MODULE_ID(status) (((status) >> 16) & 0xffff)
- typedef A_UINT32 WLAN_INIT_STATUS;
- typedef struct {
- A_UINT32 tlv_header;
- wmi_abi_version fw_abi_vers;
-
- wmi_mac_addr mac_addr;
- A_UINT32 status;
- A_UINT32 num_dscp_table;
-
- A_UINT32 num_extra_mac_addr;
-
- A_UINT32 num_total_peers;
-
- A_UINT32 num_extra_peers;
-
- A_UINT32 max_ast_index;
-
- A_UINT32 pktlog_defs_checksum;
-
- A_UINT32 max_onchip_ast_index;
- } wmi_ready_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 num_vdevs;
-
- A_UINT32 num_peers;
-
- A_UINT32 num_offload_peers;
-
- A_UINT32 num_offload_reorder_buffs;
-
- A_UINT32 num_peer_keys;
-
- A_UINT32 num_tids;
-
- A_UINT32 ast_skid_limit;
-
- A_UINT32 tx_chain_mask;
-
- A_UINT32 rx_chain_mask;
-
- A_UINT32 rx_timeout_pri[4];
-
- A_UINT32 rx_decap_mode;
-
- A_UINT32 scan_max_pending_req;
-
- A_UINT32 bmiss_offload_max_vdev;
-
- A_UINT32 roam_offload_max_vdev;
-
- A_UINT32 roam_offload_max_ap_profiles;
-
- A_UINT32 num_mcast_groups;
-
- A_UINT32 num_mcast_table_elems;
-
- A_UINT32 mcast2ucast_mode;
-
- A_UINT32 tx_dbg_log_size;
-
- A_UINT32 num_wds_entries;
-
- A_UINT32 dma_burst_size;
-
- A_UINT32 mac_aggr_delim;
-
- A_UINT32 rx_skip_defrag_timeout_dup_detection_check;
-
- A_UINT32 vow_config;
-
- A_UINT32 gtk_offload_max_vdev;
-
- A_UINT32 num_msdu_desc;
-
- A_UINT32 max_frag_entries;
-
- A_UINT32 num_tdls_vdevs;
-
- A_UINT32 num_tdls_conn_table_entries;
-
- A_UINT32 beacon_tx_offload_max_vdev;
- A_UINT32 num_multicast_filter_entries;
- A_UINT32 num_wow_filters;
-
- A_UINT32 num_keep_alive_pattern;
-
- A_UINT32 keep_alive_pattern_size;
-
- A_UINT32 max_tdls_concurrent_sleep_sta;
-
- A_UINT32 max_tdls_concurrent_buffer_sta;
-
- A_UINT32 wmi_send_separate;
-
- A_UINT32 num_ocb_vdevs;
-
- A_UINT32 num_ocb_channels;
-
- A_UINT32 num_ocb_schedules;
-
- #define WMI_RSRC_CFG_FLAG_WOW_IGN_PCIE_RST_S 0
- #define WMI_RSRC_CFG_FLAG_WOW_IGN_PCIE_RST_M 0x1
- #define WMI_RSRC_CFG_FLAG_LTEU_SUPPORT_S 1
- #define WMI_RSRC_CFG_FLAG_LTEU_SUPPORT_M 0x2
- #define WMI_RSRC_CFG_FLAG_COEX_GPIO_SUPPORT_S 2
- #define WMI_RSRC_CFG_FLAG_COEX_GPIO_SUPPORT_M 0x4
- #define WMI_RSRC_CFG_FLAG_AUX_RADIO_SPECTRAL_INTF_S 3
- #define WMI_RSRC_CFG_FLAG_AUX_RADIO_SPECTRAL_INTF_M 0x8
- #define WMI_RSRC_CFG_FLAG_AUX_RADIO_CHAN_LOAD_INTF_S 4
- #define WMI_RSRC_CFG_FLAG_AUX_RADIO_CHAN_LOAD_INTF_M 0x10
- #define WMI_RSRC_CFG_FLAG_BSS_CHANNEL_INFO_64_S 5
- #define WMI_RSRC_CFG_FLAG_BSS_CHANNEL_INFO_64_M 0x20
- #define WMI_RSRC_CFG_FLAG_ATF_CONFIG_ENABLE_S 6
- #define WMI_RSRC_CFG_FLAG_ATF_CONFIG_ENABLE_M 0x40
- #define WMI_RSRC_CFG_FLAG_IPHR_PAD_CONFIG_ENABLE_S 7
- #define WMI_RSRC_CFG_FLAG_IPHR_PAD_CONFIG_ENABLE_M 0x80
- #define WMI_RSRC_CFG_FLAG_QWRAP_MODE_ENABLE_S 8
- #define WMI_RSRC_CFG_FLAG_QWRAP_MODE_ENABLE_M 0x100
- #define WMI_RSRC_CFG_FLAG_MGMT_COMP_EVT_BUNDLE_SUPPORT_S 9
- #define WMI_RSRC_CFG_FLAG_MGMT_COMP_EVT_BUNDLE_SUPPORT_M 0x200
- #define WMI_RSRC_CFG_FLAG_TX_MSDU_ID_NEW_PARTITION_SUPPORT_S 10
- #define WMI_RSRC_CFG_FLAG_TX_MSDU_ID_NEW_PARTITION_SUPPORT_M 0x400
- #define WMI_RSRC_CFG_FLAG_TX_PPDU_STATS_ENABLE_S 11
- #define WMI_RSRC_CFG_FLAG_TX_PPDU_STATS_ENABLE_M 0x800
- #define WMI_RSRC_CFG_FLAG_TCL_CCE_DISABLE_S 12
- #define WMI_RSRC_CFG_FLAG_TCL_CCE_DISABLE_M 0x1000
- #define WMI_RSRC_CFG_FLAG_TIM_V2_SUPPORT_ENABLE_S 13
- #define WMI_RSRC_CFG_FLAG_TIM_V2_SUPPORT_ENABLE_M 0x2000
- #define WMI_RSRC_CFG_FLAG_EAPOL_REKEY_MINRATE_SUPPORT_ENABLE_S 14
- #define WMI_RSRC_CFG_FLAG_EAPOL_REKEY_MINRATE_SUPPORT_ENABLE_M 0x4000
- #define WMI_RSRC_CFG_FLAG_EAPOL_AC_OVERRIDE_VALID_S 15
- #define WMI_RSRC_CFG_FLAG_EAPOL_AC_OVERRIDE_VALID_M 0x8000
-
- #define WMI_RSRC_CFG_FLAG_EAPOL_AC_OVERRIDE_S 16
- #define WMI_RSRC_CFG_FLAG_EAPOL_AC_OVERRIDE_M 0x30000
-
- #define WMI_RSRC_CFG_FLAG_TX_ACK_RSSI_S 18
- #define WMI_RSRC_CFG_FLAG_TX_ACK_RSSI_M 0x40000
-
- #define WMI_RSRC_CFG_FLAG_HTT_H2T_NO_HTC_HDR_LEN_IN_MSG_LEN_S 19
- #define WMI_RSRC_CFG_FLAG_HTT_H2T_NO_HTC_HDR_LEN_IN_MSG_LEN_M 0x80000
- #define WMI_RSRC_CFG_FLAG_PEER_UNMAP_RESPONSE_SUPPORT_S 20
- #define WMI_RSRC_CFG_FLAG_PEER_UNMAP_RESPONSE_SUPPORT_M 0x100000
-
- #define WMI_RSRC_CFG_FLAG_HTT_PEER_STATS_S 21
- #define WMI_RSRC_CFG_FLAG_HTT_PEER_STATS_M 0x200000
-
- #define WMI_RSRC_CFG_FLAG_PEER_TID_EXT_S 22
- #define WMI_RSRC_CFG_FLAG_PEER_TID_EXT_M 0x400000
-
- #define WMI_RSRC_CFG_FLAG_VIDEO_OVER_WIFI_ENABLE_S 23
- #define WMI_RSRC_CFG_FLAG_VIDEO_OVER_WIFI_ENABLE_M 0x800000
-
- #define WMI_RSRC_CFG_FLAG_THREE_WAY_COEX_CONFIG_LEGACY_SUPPORT_S 24
- #define WMI_RSRC_CFG_FLAG_THREE_WAY_COEX_CONFIG_LEGACY_SUPPORT_M 0x1000000
-
- #define WMI_RSRC_CFG_FLAG_THREE_WAY_COEX_CONFIG_OVERRIDE_SUPPORT_S 25
- #define WMI_RSRC_CFG_FLAG_THREE_WAY_COEX_CONFIG_OVERRIDE_SUPPORT_M 0x2000000
-
- #define WMI_RSRC_CFG_FLAG_TX_COMPLETION_TX_TSF64_ENABLE_S 26
- #define WMI_RSRC_CFG_FLAG_TX_COMPLETION_TX_TSF64_ENABLE_M 0x4000000
-
- #define WMI_RSRC_CFG_FLAG_PACKET_CAPTURE_SUPPORT_S 27
- #define WMI_RSRC_CFG_FLAG_PACKET_CAPTURE_SUPPORT_M 0x8000000
-
- #define WMI_RSRC_CFG_FLAG_BSS_MAX_IDLE_TIME_SUPPORT_S 28
- #define WMI_RSRC_CFG_FLAG_BSS_MAX_IDLE_TIME_SUPPORT_M 0x10000000
-
- #define WMI_RSRC_CFG_FLAG_AUDIO_SYNC_SUPPORT_S 29
- #define WMI_RSRC_CFG_FLAG_AUDIO_SYNC_SUPPORT_M 0x20000000
-
- #define WMI_RSRC_CFG_FLAG_IPA_DISABLE_S 30
- #define WMI_RSRC_CFG_FLAG_IPA_DISABLE_M 0x40000000
-
- #define WMI_RSRC_CFG_FLAG_PCIE_GEN_SWITCH_CAPABLITY_S 31
- #define WMI_RSRC_CFG_FLAG_PCIE_GEN_SWITCH_CAPABLITY_M 0x80000000
- A_UINT32 flag1;
-
- A_UINT32 smart_ant_cap;
-
- A_UINT32 BK_Minfree;
- A_UINT32 BE_Minfree;
- A_UINT32 VI_Minfree;
- A_UINT32 VO_Minfree;
-
- A_UINT32 alloc_frag_desc_for_data_pkt;
-
- A_UINT32 num_ns_ext_tuples_cfg;
-
- A_UINT32 bpf_instruction_size;
-
- A_UINT32 max_bssid_rx_filters;
-
- A_UINT32 use_pdev_id;
-
- A_UINT32 max_num_dbs_scan_duty_cycle;
-
- A_UINT32 max_num_group_keys;
- union {
- A_UINT32 peer_map_unmap_v2_support;
-
- A_UINT32 peer_map_unmap_versions;
- };
-
- A_UINT32 sched_params;
-
- A_UINT32 twt_ap_pdev_count;
-
- A_UINT32 twt_ap_sta_count;
-
- A_UINT32 max_nlo_ssids;
-
- A_UINT32 num_packet_filters;
-
- A_UINT32 num_max_sta_vdevs;
-
- A_UINT32 max_bssid_indicator;
-
- A_UINT32 ul_resp_config;
-
- A_UINT32 msdu_flow_override_config0;
-
- A_UINT32 msdu_flow_override_config1;
-
- A_UINT32 flags2;
-
- A_UINT32 host_service_flags;
-
- A_UINT32 max_rnr_neighbours;
-
- A_UINT32 ema_max_vap_cnt;
-
- A_UINT32 ema_max_profile_period;
-
- A_UINT32 max_ndp_sessions;
-
- A_UINT32 max_ndi_interfaces;
-
- A_UINT32 max_ap_vaps;
-
- A_UINT32 cbc_flow_ena;
-
- A_UINT32 ema_init_config;
- } wmi_resource_config;
- #define WMI_MSDU_FLOW_AST_ENABLE_GET(msdu_flow_config0, ast_x) \
- (((ast_x) == 0) ? 1 : ((msdu_flow_config0) & (1 << ((ast_x) - 1))))
- #define WMI_MSDU_FLOW_AST_ENABLE_SET(msdu_flow_config0, ast_x, enable) \
- do { \
- if ((ast_x) == 0) break; \
- if ((enable)) { \
- (msdu_flow_config0) |= (1 << ((ast_x) - 1)); \
- } else { \
- (msdu_flow_config0) &= ~(1 << ((ast_x) - 1)); \
- } \
- } while(0)
- #define WMI_MSDU_FLOW_ASTX_MSDU_FLOW_MASKS_GET(msdu_flow_config1, ast_x) \
- (((msdu_flow_config1) & (0x0f << ((ast_x) * 4))) >> ((ast_x) * 4))
- #define WMI_MSDU_FLOW_ASTX_MSDU_FLOW_MASKS_SET( \
- msdu_flow_config1, ast_x, mask) \
- do { \
- (msdu_flow_config1) &= ~(0xF << ((ast_x) * 4)); \
- (msdu_flow_config1) |= ((mask) << ((ast_x) * 4)); \
- } while(0)
- #define WMI_MSDU_FLOW_TID_VALID_HI_MASKS_GET(msdu_flow_config1) \
- (((msdu_flow_config1) & 0xff0000) >> 16)
- #define WMI_MSDU_FLOW_TID_VALID_HI_MASKS_SET(msdu_flow_config1, mask) \
- do { \
- (msdu_flow_config1) &= ~0xff0000; \
- (msdu_flow_config1) |= ((mask) << 16); \
- } while(0)
- #define WMI_MSDU_FLOW_TID_VALID_LOW_MASKS_GET(msdu_flow_config1) \
- ((msdu_flow_config1 & 0xff000000) >> 24)
- #define WMI_MSDU_FLOW_TID_VALID_LOW_MASKS_SET(msdu_flow_config1, mask) \
- do { \
- (msdu_flow_config1) &= ~0xff000000; \
- (msdu_flow_config1) |= ((mask) << 24); \
- } while(0)
- #define WMI_RSRC_CFG_FLAG_SET(word32, flag, value) \
- do { \
- (word32) &= ~WMI_RSRC_CFG_FLAG_ ## flag ## _M; \
- (word32) |= ((value) << WMI_RSRC_CFG_FLAG_ ## flag ## _S) & \
- WMI_RSRC_CFG_FLAG_ ## flag ## _M; \
- } while (0)
- #define WMI_RSRC_CFG_FLAG_GET(word32, flag) \
- (((word32) & WMI_RSRC_CFG_FLAG_ ## flag ## _M) >> \
- WMI_RSRC_CFG_FLAG_ ## flag ## _S)
- #define WMI_RSRC_CFG_FLAG_WOW_IGN_PCIE_RST_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), WOW_IGN_PCIE_RST, (value))
- #define WMI_RSRC_CFG_FLAG_WOW_IGN_PCIE_RST_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), WOW_IGN_PCIE_RST)
- #define WMI_RSRC_CFG_FLAG_LTEU_SUPPORT_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), LTEU_SUPPORT, (value))
- #define WMI_RSRC_CFG_FLAG_LTEU_SUPPORT_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), LTEU_SUPPORT)
- #define WMI_RSRC_CFG_FLAG_COEX_GPIO_SUPPORT_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), COEX_GPIO_SUPPORT, (value))
- #define WMI_RSRC_CFG_FLAG_COEX_GPIO_SUPPORT_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), COEX_GPIO_SUPPORT)
- #define WMI_RSRC_CFG_FLAG_AUX_RADIO_SPECTRAL_INTF_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), AUX_RADIO_SPECTRAL_INTF, (value))
- #define WMI_RSRC_CFG_FLAG_AUX_RADIO_SPECTRAL_INTF_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), AUX_RADIO_SPECTRAL_INTF)
- #define WMI_RSRC_CFG_FLAG_AUX_RADIO_CHAN_LOAD_INTF_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), AUX_RADIO_CHAN_LOAD_INTF, (value))
- #define WMI_RSRC_CFG_FLAG_AUX_RADIO_CHAN_LOAD_INTF_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), AUX_RADIO_CHAN_LOAD_INTF)
- #define WMI_RSRC_CFG_FLAG_BSS_CHANNEL_INFO_64_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), BSS_CHANNEL_INFO_64, (value))
- #define WMI_RSRC_CFG_FLAG_BSS_CHANNEL_INFO_64_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), BSS_CHANNEL_INFO_64)
- #define WMI_RSRC_CFG_FLAG_ATF_CONFIG_ENABLE_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), ATF_CONFIG_ENABLE, (value))
- #define WMI_RSRC_CFG_FLAG_ATF_CONFIG_ENABLE_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), ATF_CONFIG_ENABLE)
- #define WMI_RSRC_CFG_FLAG_IPHR_PAD_CONFIG_ENABLE_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), IPHR_PAD_CONFIG_ENABLE, (value))
- #define WMI_RSRC_CFG_FLAG_IPHR_PAD_CONFIG_ENABLE_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), IPHR_PAD_CONFIG_ENABLE)
- #define WMI_RSRC_CFG_FLAG_QWRAP_MODE_ENABLE_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), QWRAP_MODE_ENABLE, (value))
- #define WMI_RSRC_CFG_FLAG_QWRAP_MODE_ENABLE_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), QWRAP_MODE_ENABLE)
- #define WMI_RSRC_CFG_FLAG_MGMT_COMP_EVT_BUNDLE_SUPPORT_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), MGMT_COMP_EVT_BUNDLE_SUPPORT, (value))
- #define WMI_RSRC_CFG_FLAG_MGMT_COMP_EVT_BUNDLE_SUPPORT_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), MGMT_COMP_EVT_BUNDLE_SUPPORT)
- #define WMI_RSRC_CFG_FLAG_TX_MSDU_ID_NEW_PARTITION_SUPPORT_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), TX_MSDU_ID_NEW_PARTITION_SUPPORT, (value))
- #define WMI_RSRC_CFG_FLAG_TX_MSDU_ID_NEW_PARTITION_SUPPORT_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), TX_MSDU_ID_NEW_PARTITION_SUPPORT)
- #define WMI_RSRC_CFG_FLAG_TCL_CCE_DISABLE_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), TCL_CCE_DISABLE, (value))
- #define WMI_RSRC_CFG_FLAG_TCL_CCE_DISABLE_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), TCL_CCE_DISABLE)
- #define WMI_RSRC_CFG_FLAG_TIM_V2_SUPPORT_ENABLE_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), TIM_V2_SUPPORT_ENABLE, (value))
- #define WMI_RSRC_CFG_FLAG_TIM_V2_SUPPORT_ENABLE_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), TIM_V2_SUPPORT_ENABLE)
- #define WMI_RSRC_CFG_FLAG_EAPOL_REKEY_MINRATE_SUPPORT_ENABLE_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), EAPOL_REKEY_MINRATE_SUPPORT_ENABLE, (value))
- #define WMI_RSRC_CFG_FLAG_EAPOL_REKEY_MINRATE_SUPPORT_ENABLE_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), EAPOL_REKEY_MINRATE_SUPPORT_ENABLE)
- #define WMI_RSRC_CFG_FLAG_EAPOL_AC_OVERRIDE_VALID_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), EAPOL_AC_OVERRIDE_VALID, (value))
- #define WMI_RSRC_CFG_FLAG_EAPOL_AC_OVERRIDE_VALID_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), EAPOL_AC_OVERRIDE_VALID)
- #define WMI_RSRC_CFG_FLAG_EAPOL_AC_OVERRIDE_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), EAPOL_AC_OVERRIDE, (value))
- #define WMI_RSRC_CFG_FLAG_EAPOL_AC_OVERRIDE_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), EAPOL_AC_OVERRIDE)
- #define WMI_RSRC_CFG_FLAG_TX_ACK_RSSI_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), TX_ACK_RSSI, (value))
- #define WMI_RSRC_CFG_FLAG_TX_ACK_RSSI_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), TX_ACK_RSSI)
- #define WMI_RSRC_CFG_FLAG_HTT_H2T_NO_HTC_HDR_LEN_IN_MSG_LEN_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), HTT_H2T_NO_HTC_HDR_LEN_IN_MSG_LEN, (value))
- #define WMI_RSRC_CFG_FLAG_HTT_H2T_NO_HTC_HDR_LEN_IN_MSG_LEN_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), HTT_H2T_NO_HTC_HDR_LEN_IN_MSG_LEN)
- #define WMI_RSRC_CFG_FLAG_PEER_UNMAP_RESPONSE_SUPPORT_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), PEER_UNMAP_RESPONSE_SUPPORT, (value))
- #define WMI_RSRC_CFG_FLAG_PEER_UNMAP_RESPONSE_SUPPORT_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), PEER_UNMAP_RESPONSE_SUPPORT)
- #define WMI_RSRC_CFG_FLAG_HTT_PEER_STATS_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), HTT_PEER_STATS, (value))
- #define WMI_RSRC_CFG_FLAG_HTT_PEER_STATS_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), HTT_PEER_STATS)
- #define WMI_RSRC_CFG_FLAG_PEER_TID_EXT_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), PEER_TID_EXT, (value))
- #define WMI_RSRC_CFG_FLAG_PEER_TID_EXT_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), PEER_TID_EXT)
- #define WMI_RSRC_CFG_FLAG_VIDEO_OVER_WIFI_ENABLE_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), VIDEO_OVER_WIFI_ENABLE, (value))
- #define WMI_RSRC_CFG_FLAG_VIDEO_OVER_WIFI_ENABLE_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), VIDEO_OVER_WIFI_ENABLE)
- #define WMI_RSRC_CFG_FLAG_THREE_WAY_COEX_CONFIG_LEGACY_SUPPORT_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), THREE_WAY_COEX_CONFIG_LEGACY_SUPPORT, (value))
- #define WMI_RSRC_CFG_FLAG_THREE_WAY_COEX_CONFIG_LEGACY_SUPPORT_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), THREE_WAY_COEX_CONFIG_LEGACY_SUPPORT)
- #define WMI_RSRC_CFG_FLAG_THREE_WAY_COEX_CONFIG_OVERRIDE_SUPPORT_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), THREE_WAY_COEX_CONFIG_OVERRIDE_SUPPORT, (value))
- #define WMI_RSRC_CFG_FLAG_THREE_WAY_COEX_CONFIG_OVERRIDE_SUPPORT_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), THREE_WAY_COEX_CONFIG_OVERRIDE_SUPPORT)
- #define WMI_RSRC_CFG_FLAG_TX_COMPLETION_TX_TSF64_ENABLE_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), TX_COMPLETION_TX_TSF64_ENABLE, (value))
- #define WMI_RSRC_CFG_FLAG_TX_COMPLETION_TX_TSF64_ENABLE_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), TX_COMPLETION_TX_TSF64_ENABLE)
- #define WMI_RSRC_CFG_FLAG_PACKET_CAPTURE_SUPPORT_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), PACKET_CAPTURE_SUPPORT, (value))
- #define WMI_RSRC_CFG_FLAG_PACKET_CAPTURE_SUPPORT_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), PACKET_CAPTURE_SUPPORT)
- #define WMI_RSRC_CFG_FLAG_BSS_MAX_IDLE_TIME_SUPPORT_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), BSS_MAX_IDLE_TIME_SUPPORT, (value))
- #define WMI_RSRC_CFG_FLAG_BSS_MAX_IDLE_TIME_SUPPORT_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), BSS_MAX_IDLE_TIME_SUPPORT)
- #define WMI_RSRC_CFG_FLAG_AUDIO_SYNC_SUPPORT_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), AUDIO_SYNC_SUPPORT, (value))
- #define WMI_RSRC_CFG_FLAG_AUDIO_SYNC_SUPPORT_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), AUDIO_SYNC_SUPPORT)
- #define WMI_RSRC_CFG_FLAG_IPA_DISABLE_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), IPA_DISABLE, (value))
- #define WMI_RSRC_CFG_FLAG_IPA_DISABLE_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), IPA_DISABLE)
- #define WMI_RSRC_CFG_FLAG_PCIE_GEN_SWITCH_CAPABLITY_SET(word32, value) \
- WMI_RSRC_CFG_FLAG_SET((word32), PCIE_GEN_SWITCH_CAPABLITY, (value))
- #define WMI_RSRC_CFG_FLAG_PCIE_GEN_SWITCH_CAPABLITY_GET(word32) \
- WMI_RSRC_CFG_FLAG_GET((word32), PCIE_GEN_SWITCH_CAPABLITY)
- #define WMI_RSRC_CFG_FLAGS2_RE_ULRESP_PDEV_CFG_GET(flags2, pdev_id) \
- WMI_GET_BITS(flags2, pdev_id, 1)
- #define WMI_RSRC_CFG_FLAGS2_RE_ULRESP_PDEV_CFG_SET(flags2, pdev_id, value) \
- WMI_SET_BITS(flags2, pdev_id, 1, value)
- #define WMI_RSRC_CFG_FLAGS2_RX_PEER_METADATA_VERSION_GET(flags2) \
- WMI_GET_BITS(flags2, 4, 2)
- #define WMI_RSRC_CFG_FLAGS2_RX_PEER_METADATA_VERSION_SET(flags2, value) \
- WMI_SET_BITS(flags2, 4, 2, value)
- #define WMI_RSRC_CFG_FLAGS2_IS_SAP_CONNECTED_D3WOW_ENABLED_GET(flags2) \
- WMI_GET_BITS(flags2, 6, 1)
- #define WMI_RSRC_CFG_FLAGS2_IS_SAP_CONNECTED_D3WOW_ENABLED_SET(flags2, value) \
- WMI_SET_BITS(flags2, 6, 1, value)
- #define WMI_RSRC_CFG_FLAGS2_IS_GO_CONNECTED_D3WOW_ENABLED_GET(flags2) \
- WMI_GET_BITS(flags2, 7, 1)
- #define WMI_RSRC_CFG_FLAGS2_IS_GO_CONNECTED_D3WOW_ENABLED_SET(flags2, value) \
- WMI_SET_BITS(flags2, 7, 1, value)
- #define WMI_RSRC_CFG_FLAGS2_IS_DYNAMIC_PCIE_GEN_SPEED_SWITCH_ENABLED_GET(flags2) \
- WMI_GET_BITS(flags2, 8, 1)
- #define WMI_RSRC_CFG_FLAGS2_IS_DYNAMIC_PCIE_GEN_SPEED_SWITCH_ENABLED_SET(flags2, value) \
- WMI_SET_BITS(flags2, 8, 1, value)
- #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_IFACE_SUPPORT_GET(host_service_flags) \
- WMI_GET_BITS(host_service_flags, 0, 1)
- #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_IFACE_SUPPORT_SET(host_service_flags, val) \
- WMI_SET_BITS(host_service_flags, 0, 1, val)
- #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_HOST_SUPPORT_MULTI_RADIO_EVTS_PER_RADIO_GET(host_service_flags) \
- WMI_GET_BITS(host_service_flags, 1, 1)
- #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_HOST_SUPPORT_MULTI_RADIO_EVTS_PER_RADIO_SET(host_service_flags, val) \
- WMI_SET_BITS(host_service_flags, 1, 1, val)
- #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_SPLIT_AST_FEATURE_HOST_SUPPORT_GET(host_service_flags) \
- WMI_GET_BITS(host_service_flags, 2, 1)
- #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_SPLIT_AST_FEATURE_HOST_SUPPORT_SET(host_service_flags, val) \
- WMI_SET_BITS(host_service_flags, 2, 1, val)
- #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_SAE_EAPOL_OFFLOAD_SUPPORT_GET(host_service_flags) \
- WMI_GET_BITS(host_service_flags, 3, 1)
- #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_SAE_EAPOL_OFFLOAD_SUPPORT_SET(host_service_flags, val) \
- WMI_SET_BITS(host_service_flags, 3, 1, val)
- #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_REG_CC_EXT_SUPPORT_GET(host_service_flags) \
- WMI_GET_BITS(host_service_flags, 4, 1)
- #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_REG_CC_EXT_SUPPORT_SET(host_service_flags, val) \
- WMI_SET_BITS(host_service_flags, 4, 1, val)
- #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_CHANNEL_SUPPORT_GET(host_service_flags) \
- WMI_GET_BITS(host_service_flags, 5, 1)
- #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_CHANNEL_SUPPORT_SET(host_service_flags, val) \
- WMI_SET_BITS(host_service_flags, 5, 1, val)
- #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_STA_TWT_SYNC_EVT_SUPPORT_GET(host_service_flags) \
- WMI_GET_BITS(host_service_flags, 6, 1)
- #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_STA_TWT_SYNC_EVT_SUPPORT_SET(host_service_flags, val) \
- WMI_SET_BITS(host_service_flags, 6, 1, val)
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_abi_version host_abi_vers;
- A_UINT32 num_host_mem_chunks;
- } wmi_init_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tag;
-
- A_UINT32 num_chan;
-
- A_UINT32 channel_list[1];
- } wmi_chan_list;
- typedef struct {
-
- A_UINT32 tag;
-
- A_UINT32 num_bssid;
-
- wmi_mac_addr bssid_list[1];
- } wmi_bssid_list;
- typedef struct {
-
- A_UINT32 tag;
-
- A_UINT32 ie_len;
-
- A_UINT32 ie_data[1];
- } wmi_ie_data;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 buf_len;
-
- } wmi_tlv_buf_len_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 d1_len;
- A_UINT32 d2_len;
- A_UINT32 d3_len;
- A_UINT32 d4_len;
-
- } wmi_tlv_arrays_len_param;
- typedef struct {
-
- A_UINT32 ssid_len;
-
- A_UINT32 ssid[8];
- } wmi_ssid;
- typedef struct {
-
- A_UINT32 tag;
- A_UINT32 num_ssids;
- wmi_ssid ssids[1];
- } wmi_ssid_list;
- typedef struct {
-
- A_UINT32 tag;
-
- A_UINT32 num_offset;
-
- A_UINT32 start_tsf_offset[1];
- } wmi_scan_start_offset;
- #define WMI_SCAN_CHAN_SET_MODE(_c) ((_c) + 1)
- #define WMI_SCAN_CHAN_GET_MODE(_c) ((_c) - 1)
- #define WMI_SCAN_CHAN_MODE_IS_SET(_c) (_c)
- typedef struct {
-
- A_UINT32 freq_flags;
-
- A_UINT32 short_ssid;
- } wmi_hint_freq_short_ssid;
- typedef struct {
-
- A_UINT32 freq_flags;
-
- wmi_mac_addr bssid;
- } wmi_hint_freq_bssid;
- #define WMI_GET_FREQ_FROM_HINT_FREQ_SHORT_SSID(pwmi_hint_freq_short_ssid_addr) ((((pwmi_hint_freq_short_ssid_addr)->freq_flags) >> 16) & 0xffff)
- #define WMI_GET_FLAGS_FROM_HINT_FREQ_SHORT_SSID(pwmi_hint_freq_short_ssid_addr) (((pwmi_hint_freq_short_ssid_addr)->freq_flags) & 0xffff)
- #define WMI_SET_FREQ_IN_HINT_FREQ_SHORT_SSID(freq, pwmi_hint_freq_short_ssid_addr) (((pwmi_hint_freq_short_ssid_addr)->freq_flags) |= ((freq) << 16))
- #define WMI_SET_FLAGS_IN_HINT_FREQ_SHORT_SSID(flags, pwmi_hint_freq_short_ssid_addr) (((pwmi_hint_freq_short_ssid_addr)->freq_flags) |= (flags))
- #define WMI_GET_FREQ_FROM_HINT_FREQ_BSSID(pwmi_hint_freq_bssid_addr) ((((pwmi_hint_freq_bssid_addr)->freq_flags) >> 16) & 0xffff)
- #define WMI_GET_FLAGS_FROM_HINT_FREQ_BSSID(pwmi_hint_freq_bssid_addr) (((pwmi_hint_freq_bssid_addr)->freq_flags) & 0xffff)
- #define WMI_SET_FREQ_IN_HINT_FREQ_BSSID(freq, pwmi_hint_freq_bssid_addr) (((pwmi_hint_freq_bssid_addr)->freq_flags) |= ((freq) << 16))
- #define WMI_SET_FLAGS_IN_HINT_FREQ_BSSID(flags, pwmi_hint_freq_bssid_addr) (((pwmi_hint_freq_bssid_addr)->freq_flags) |= (flags))
- #define MAX_NUM_20TU_EACH_CH 6
- #define MAX_NUM_S_SSID_EACH_20TU 1
- #define MAX_NUM_BSSID_EACH_20TU 3
- #define WMI_HOST_SCAN_REQUESTOR_ID_PREFIX 0xA000
- #define WMI_HOST_SCAN_REQ_ID_PREFIX 0xA000
- #define WLAN_SCAN_PARAMS_MAX_SSID 16
- #define WLAN_SCAN_PARAMS_MAX_BSSID 4
- #define WLAN_SCAN_PARAMS_MAX_IE_LEN 512
- #define WMI_IE_BITMAP_SIZE 8
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 scan_id;
-
- A_UINT32 scan_req_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 scan_priority;
-
- A_UINT32 notify_scan_events;
-
- A_UINT32 dwell_time_active;
-
- A_UINT32 dwell_time_passive;
-
- A_UINT32 min_rest_time;
-
-
- A_UINT32 max_rest_time;
-
- A_UINT32 repeat_probe_time;
-
- A_UINT32 probe_spacing_time;
-
- A_UINT32 idle_time;
-
- A_UINT32 max_scan_time;
-
- A_UINT32 probe_delay;
-
- A_UINT32 scan_ctrl_flags;
-
- A_UINT32 burst_duration;
-
- A_UINT32 num_chan;
-
- A_UINT32 num_bssid;
-
- A_UINT32 num_ssids;
-
- A_UINT32 ie_len;
-
- A_UINT32 n_probes;
-
- wmi_mac_addr mac_addr;
-
- wmi_mac_addr mac_mask;
-
- A_UINT32 ie_bitmap[WMI_IE_BITMAP_SIZE];
-
- A_UINT32 num_vendor_oui;
-
- A_UINT32 scan_ctrl_flags_ext;
-
- A_UINT32 dwell_time_active_2g;
-
- A_UINT32 dwell_time_active_6ghz;
-
- A_UINT32 dwell_time_passive_6ghz;
-
- A_UINT32 scan_start_offset;
-
- A_UINT32 min_dwell_time_6ghz;
-
- A_UINT32 dwell_time_spectral_ch;
- } wmi_start_scan_cmd_fixed_param;
- #define WMI_SCAN_FLAG_PASSIVE 0x1
- #define WMI_SCAN_ADD_BCAST_PROBE_REQ 0x2
- #define WMI_SCAN_ADD_CCK_RATES 0x4
- #define WMI_SCAN_ADD_OFDM_RATES 0x8
- #define WMI_SCAN_CHAN_STAT_EVENT 0x10
- #define WMI_SCAN_FILTER_PROBE_REQ 0x20
- #define WMI_SCAN_BYPASS_DFS_CHN 0x40
- #define WMI_SCAN_CONTINUE_ON_ERROR 0x80
- #define WMI_SCAN_FILTER_PROMISCOUS 0x100
- #define WMI_SCAN_FLAG_FORCE_ACTIVE_ON_DFS 0x200
- #define WMI_SCAN_ADD_TPC_IE_IN_PROBE_REQ 0x400
- #define WMI_SCAN_ADD_DS_IE_IN_PROBE_REQ 0x800
- #define WMI_SCAN_ADD_SPOOFED_MAC_IN_PROBE_REQ 0x1000
- #define WMI_SCAN_OFFCHAN_MGMT_TX 0x2000
- #define WMI_SCAN_OFFCHAN_DATA_TX 0x4000
- #define WMI_SCAN_CAPTURE_PHY_ERROR 0x8000
- #define WMI_SCAN_FLAG_STRICT_PASSIVE_ON_PCHN 0x10000
- #define WMI_SCAN_FLAG_HALF_RATE_SUPPORT 0x20000
- #define WMI_SCAN_FLAG_QUARTER_RATE_SUPPORT 0x40000
- #define WMI_SCAN_RANDOM_SEQ_NO_IN_PROBE_REQ 0x80000
- #define WMI_SCAN_ENABLE_IE_WHTELIST_IN_PROBE_REQ 0x100000
- #define WMI_SCAN_DWELL_MODE_MASK 0x00E00000
- #define WMI_SCAN_DWELL_MODE_SHIFT 21
- typedef enum {
- WMI_SCAN_DWELL_MODE_DEFAULT = 0,
- WMI_SCAN_DWELL_MODE_CONSERVATIVE = 1,
- WMI_SCAN_DWELL_MODE_MODERATE = 2,
- WMI_SCAN_DWELL_MODE_AGGRESSIVE = 3,
- WMI_SCAN_DWELL_MODE_STATIC = 4,
- } WMI_SCAN_DWELL_MODE;
- #define WMI_SCAN_SET_DWELL_MODE(flag, mode) \
- do { \
- (flag) |= (((mode) << WMI_SCAN_DWELL_MODE_SHIFT) & \
- WMI_SCAN_DWELL_MODE_MASK); \
- } while (0)
- #define WMI_SCAN_GET_DWELL_MODE(flag) \
- (((flag) & WMI_SCAN_DWELL_MODE_MASK) >> WMI_SCAN_DWELL_MODE_SHIFT)
- #define WMI_SCAN_CLASS_MASK 0xFF000000
- #define WMI_SCAN_STOP_ONE 0x00000000
- #define WMI_SCN_STOP_VAP_ALL 0x01000000
- #define WMI_SCN_STOP_HOST_VAP_ALL 0x02000000
- #define WMI_SCAN_STOP_ALL 0x04000000
- #define WMI_SCAN_FLAG_EXT_DBS_SCAN_POLICY_MASK 0x00000003
- #define WMI_SCAN_DBS_POLICY_DEFAULT 0x0
- #define WMI_SCAN_DBS_POLICY_FORCE_NONDBS 0x1
- #define WMI_SCAN_DBS_POLICY_IGNORE_DUTY 0x2
- #define WMI_SCAN_DBS_POLICY_RESERVED 0x3
- #define WMI_SCAN_DBS_POLICY_MAX 0x3
- #define WMI_SCAN_FLAG_EXT_FILTER_PUBLIC_ACTION_FRAME 0x00000004
- #define WMI_SCAN_FLAG_EXT_6GHZ_SCAN_ALL_PSC_CH 0x00000008
- #define WMI_SCAN_FLAG_EXT_6GHZ_SCAN_ALL_NON_PSC_CH 0x00000010
- #define WMI_SCAN_FLAG_EXT_6GHZ_MATCH_HINT 0x00000020
- #define WMI_SCAN_FLAG_EXT_6GHZ_SKIP_NON_RNR_CH 0x00000040
- #define WMI_SCAN_FLAG_EXT_6GHZ_CLIENT_HIGH_PRIORITY 0x00000080
- #define WMI_SCAN_FLAG_EXT_6GHZ_FORCE_CHAN_ACTIVE 0x00000100
- #define WMI_SCAN_FLAG_EXT_FORCE_BRCAST_RA 0x00000200
- #define WMI_SCAN_FLAG_EXT_6GHZ_EXTEND_MEASURE_TIME 0x00000400
- #define WMI_SCAN_FLAG_EXT_PASSIVE_SCAN_START_TIME_ENHANCE 0x00000800
- #define WMI_SCAN_FLAG_EXT_FORCE_UNICAST_RA 0x00001000
- #define WMI_SCAN_HINT_FLAG_SKIP_TX_PROBE_REQ 0x00000001
- #define WMI_SCAN_HINT_FLAG_FORCE_CHAN_ACTIVE 0x00000002
- #define WMI_SCAN_HINT_FLAG_COMBINE_BSSID_LIST 0x00000004
- #define WMI_SCAN_CHANNEL_FREQ_MASK 0x000FFFFF
- #define WMI_SCAN_CHANNEL_FLAGS_MASK 0xFFF00000
- #define WMI_SCAN_CHANNEL_FLAG_SCAN_ONLY_IF_RNR_FOUND 0x001
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 requestor;
-
- A_UINT32 scan_id;
-
- A_UINT32 req_type;
-
- A_UINT32 vdev_id;
-
- A_UINT32 pdev_id;
- } wmi_stop_scan_cmd_fixed_param;
- #define MAX_NUM_CHAN_PER_WMI_CMD 58
- #define APPEND_TO_EXISTING_CHAN_LIST 1
- #define CHANNEL_MAX_BANDWIDTH_VALID 2
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_scan_chans;
- A_UINT32 flags;
- A_UINT32 pdev_id;
- } wmi_scan_chan_list_cmd_fixed_param;
- typedef enum {
- WMI_SCAN_PRIORITY_VERY_LOW = 0,
- WMI_SCAN_PRIORITY_LOW,
- WMI_SCAN_PRIORITY_MEDIUM,
- WMI_SCAN_PRIORITY_HIGH,
- WMI_SCAN_PRIORITY_VERY_HIGH,
- WMI_SCAN_PRIORITY_COUNT
- } wmi_scan_priority;
- typedef A_UINT32 WLAN_PRIORITY_MAPPING[WMI_SCAN_PRIORITY_COUNT];
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_type;
-
- A_UINT32 number_rows;
-
- A_UINT32 pdev_id;
- } wmi_scan_sch_priority_table_cmd_fixed_param;
- #define WMI_SCAN_UPDATE_SCAN_PRIORITY 0x1
- #define WMI_SCAN_UPDATE_SCAN_MIN_REST_TIME 0x2
- #define WMI_SCAN_UPDATE_SCAN_MAX_REST_TIME 0x4
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 requestor;
-
- A_UINT32 scan_id;
-
- A_UINT32 scan_update_flags;
-
- A_UINT32 scan_priority;
-
- A_UINT32 min_rest_time;
-
- A_UINT32 max_rest_time;
-
- A_UINT32 pdev_id;
- } wmi_scan_update_request_cmd_fixed_param;
- #define WMI_SCAN_PROBE_OUI_SPOOFED_MAC_IN_PROBE_REQ 0x1
- #define WMI_SCAN_PROBE_OUI_RANDOM_SEQ_NO_IN_PROBE_REQ 0x2
- #define WMI_SCAN_PROBE_OUI_ENABLE_IE_WHITELIST_IN_PROBE_REQ 0x4
- typedef struct _wmi_vendor_oui {
- A_UINT32 tlv_header;
- A_UINT32 oui_type_subtype;
- }wmi_vendor_oui;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 prob_req_oui;
- A_UINT32 vdev_id;
-
- A_UINT32 flags;
-
- A_UINT32 ie_bitmap[WMI_IE_BITMAP_SIZE];
-
- A_UINT32 num_vendor_oui;
-
- A_UINT32 pdev_id;
-
- } wmi_scan_prob_req_oui_cmd_fixed_param;
- enum wmi_scan_event_type {
- WMI_SCAN_EVENT_STARTED = 0x1,
- WMI_SCAN_EVENT_COMPLETED = 0x2,
- WMI_SCAN_EVENT_BSS_CHANNEL = 0x4,
- WMI_SCAN_EVENT_FOREIGN_CHANNEL = 0x8,
- WMI_SCAN_EVENT_DEQUEUED = 0x10,
- WMI_SCAN_EVENT_PREEMPTED = 0x20,
- WMI_SCAN_EVENT_START_FAILED = 0x40,
- WMI_SCAN_EVENT_RESTARTED = 0x80,
- WMI_SCAN_EVENT_FOREIGN_CHANNEL_EXIT = 0x100,
- WMI_SCAN_EVENT_SUSPENDED = 0x200,
- WMI_SCAN_EVENT_RESUMED = 0x400,
- WMI_SCAN_EVENT_MAX = 0x8000
- };
- enum wmi_scan_completion_reason {
-
- WMI_SCAN_REASON_NONE = 0xFF,
- WMI_SCAN_REASON_COMPLETED = 0,
- WMI_SCAN_REASON_CANCELLED = 1,
- WMI_SCAN_REASON_PREEMPTED = 2,
- WMI_SCAN_REASON_TIMEDOUT = 3,
- WMI_SCAN_REASON_INTERNAL_FAILURE = 4,
- WMI_SCAN_REASON_SUSPENDED = 5,
- WMI_SCAN_REASON_DFS_VIOLATION = 6,
- WMI_SCAN_REASON_MAX,
- };
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 event;
-
- A_UINT32 reason;
-
- A_UINT32 channel_freq;
-
- A_UINT32 requestor;
-
- A_UINT32 scan_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 tsf_timestamp;
- } wmi_scan_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 time_stamp;
- A_UINT32 count;
- A_UINT32 dropped;
-
- } wmi_diag_event_fixed_param;
- #define WMI_11K_OFFLOAD_BITMAP_NEIGHBOR_REPORT_REQ 0x1
- typedef struct {
- A_UINT32 time_offset;
- A_UINT32 low_rssi_offset;
- A_UINT32 bmiss_count_trigger;
- A_UINT32 per_threshold_offset;
- A_UINT32 neighbor_report_cache_timeout;
- A_UINT32 max_neighbor_report_req_cap;
- wmi_ssid ssid;
- } wmi_neighbor_report_offload;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 offload_11k;
- } wmi_11k_offload_report_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- wmi_neighbor_report_offload neighbor_rep_ofld_params;
- } wmi_neighbor_report_11k_offload_tlv_param;
- #define WMI_INVOKE_NEIGHBOR_REPORT_FLAGS_SEND_RESP_TO_HOST 0x1
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 flags;
- wmi_ssid ssid;
- } wmi_11k_offload_invoke_neighbor_report_fixed_param;
- #define WMI_MAX_PMKID_LEN 16
- #define WMI_MAX_PMK_LEN 64
- #define WMI_PMK_CACHE_CAT_FLAG_BSSID 0x1
- #define WMI_PMK_CACHE_CAT_FLAG_SSID_CACHE_ID 0x2
- #define WMI_PMK_CACHE_ACTION_FLAG_ADD_ENTRY 0x1
- #define WMI_PMK_CACHE_ACTION_FLAG_DEL_ENTRY 0x2
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pmk_len;
- A_UINT8 pmk[WMI_MAX_PMK_LEN];
- A_UINT32 pmkid_len;
- A_UINT8 pmkid[WMI_MAX_PMKID_LEN];
- wmi_mac_addr bssid;
- wmi_ssid ssid;
- A_UINT32 cache_id;
- A_UINT32 cat_flag;
- A_UINT32 action_flag;
- } wmi_pmk_cache;
- #define WMI_PMK_CACHE_OP_FLAG_FLUSH_ALL 0x1
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 op_flag;
- A_UINT32 vdev_id;
- A_UINT32 num_cache;
-
- } wmi_pdev_update_pmk_cache_cmd_fixed_param;
- #define WMI_FILS_MAX_USERNAME_LEN 16
- #define WMI_FILS_MAX_REALM_LEN 256
- #define WMI_FILS_MAX_RRK_LEN 64
- #define WMI_FILS_MAX_RIK_LEN 64
- typedef struct {
- A_UINT8 username[WMI_FILS_MAX_USERNAME_LEN];
- A_UINT32 username_length;
- A_UINT32 next_erp_seq_num;
- A_UINT8 rRk[WMI_FILS_MAX_RRK_LEN];
- A_UINT32 rRk_length;
- A_UINT8 rIk[WMI_FILS_MAX_RIK_LEN];
- A_UINT32 rIk_length;
- A_UINT8 realm[WMI_FILS_MAX_REALM_LEN];
- A_UINT32 realm_len;
- } wmi_erp_info;
- enum wmi_fils_hlp_pkt_type {
- WMI_FILS_HLP_PKT_TYPE_DHCP_DISCOVER = 1,
- };
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 flags;
- wmi_erp_info vdev_erp_info;
- } wmi_roam_fils_offload_tlv_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 flags;
- A_UINT32 vdev_id;
- A_UINT32 size;
- A_UINT32 pkt_type;
-
- } wmi_pdev_update_fils_hlp_pkt_cmd_fixed_param;
- #define WMI_MAX_KEK_LEN 64
- #define GTK_OFFLOAD_KEK_EXTENDED_BYTES WMI_MAX_KEK_LEN
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 update_erp_next_seq_num;
- A_UINT32 next_erp_seq_num;
- A_UINT32 kek_len;
- A_UINT8 kek[WMI_MAX_KEK_LEN];
- A_UINT32 pmk_len;
- A_UINT8 pmk[WMI_MAX_PMK_LEN];
- A_UINT8 pmkid[WMI_MAX_PMKID_LEN];
- A_UINT8 realm[WMI_FILS_MAX_REALM_LEN];
- A_UINT32 realm_len;
- } wmi_roam_fils_synch_tlv_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pmk_len;
- A_UINT8 pmk[WMI_MAX_PMK_LEN];
- A_UINT8 pmkid[WMI_MAX_PMKID_LEN];
- } wmi_roam_pmk_cache_synch_tlv_param;
- #define WMI_ROAM_LINK_FLAG_DISABLE 0x1
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 link_id;
- wmi_channel channel;
-
- A_UINT32 flags;
- } wmi_roam_ml_setup_links_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 ackRcvBad;
-
- A_UINT32 rtsBad;
-
- A_UINT32 rtsGood;
-
- A_UINT32 fcsBad;
-
- A_UINT32 noBeacons;
- } wmi_update_whal_mib_stats_event_fixed_param;
- #define WMI_MGMT_RX_HDR_HEADROOM (sizeof(wmi_comb_phyerr_rx_hdr) + WMI_TLV_HDR_SIZE + sizeof(wmi_single_phyerr_rx_hdr))
- #define ATH_MAX_ANTENNA 4
- #define WMI_MGMT_RX_HDR_EXTSCAN 0x01
- #define WMI_MGMT_RX_HDR_ENLO 0x02
- #define MAX_ANTENNA_EIGHT 8
- #define WMI_MGMT_RX_FW_CONSUMED_PARAM_PEER_ID_GET(peer_info_subtype) WMI_GET_BITS(peer_info_subtype, 0, 16)
- #define WMI_MGMT_RX_FW_CONSUMED_PARAM_PEER_ID_SET(peer_info_subtype, value) WMI_SET_BITS(peer_info_subtype, 0, 16, value)
- #define WMI_MGMT_RX_FW_CONSUMED_PARAM_IEEE_LINK_ID_GET(peer_info_subtype) WMI_GET_BITS(peer_info_subtype, 16, 3)
- #define WMI_MGMT_RX_FW_CONSUMED_PARAM_IEEE_LINK_ID_SET(peer_info_subtype, value) WMI_SET_BITS(peer_info_subtype, 16, 3, value)
- #define WMI_MGMT_RX_FW_CONSUMED_PARAM_SUBTYPE_GET(peer_info_subtype) WMI_GET_BITS(peer_info_subtype, 28, 4)
- #define WMI_MGMT_RX_FW_CONSUMED_PARAM_SUBTYPE_SET(peer_info_subtype, value) WMI_SET_BITS(peer_info_subtype, 28, 4, value)
- #define WMI_MGMT_RX_FW_CONSUMED_PARAM_MGMT_PKT_CTR_VALID_GET(mgmt_pkt_ctr_info) WMI_GET_BITS(mgmt_pkt_ctr_info, 15, 1)
- #define WMI_MGMT_RX_FW_CONSUMED_PARAM_MGMT_PKT_CTR_VALID_SET(mgmt_pkt_ctr_info, value) WMI_SET_BITS(mgmt_pkt_ctr_info, 15, 1, value)
- #define WMI_MGMT_RX_FW_CONSUMED_PARAM_MGMT_PKT_CTR_GET(mgmt_pkt_ctr_info) WMI_GET_BITS(mgmt_pkt_ctr_info, 16, 16)
- #define WMI_MGMT_RX_FW_CONSUMED_PARAM_MGMT_PKT_CTR_SET(mgmt_pkt_ctr_info, value) WMI_SET_BITS(mgmt_pkt_ctr_info, 16, 16, value)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 rx_tsf_l32;
- A_UINT32 rx_tsf_u32 ;
- A_UINT32 pdev_id;
-
- A_UINT32 peer_info_subtype;
- A_UINT32 chan_freq;
-
- A_UINT32 global_timestamp;
-
- A_UINT32 mgmt_pkt_ctr_info;
- } wmi_mgmt_rx_fw_consumed_hdr;
- #define WMI_MGMT_RX_REO_PARAM_IEEE_LINK_ID_GET(mgmt_pkt_ctr_link_info) WMI_GET_BITS(mgmt_pkt_ctr_link_info, 12, 3)
- #define WMI_MGMT_RX_REO_PARAM_IEEE_LINK_ID_SET(mgmt_pkt_ctr_link_info, value) WMI_SET_BITS(mgmt_pkt_ctr_link_info, 12, 3, value)
- #define WMI_MGMT_RX_REO_PARAM_MGMT_PKT_CTR_VALID_GET(mgmt_pkt_ctr_link_info) WMI_GET_BITS(mgmt_pkt_ctr_link_info, 15, 1)
- #define WMI_MGMT_RX_REO_PARAM_MGMT_PKT_CTR_VALID_SET(mgmt_pkt_ctr_link_info, value) WMI_SET_BITS(mgmt_pkt_ctr_link_info, 15, 1, value)
- #define WMI_MGMT_RX_REO_PARAM_MGMT_PKT_CTR_GET(mgmt_pkt_ctr_link_info) WMI_GET_BITS(mgmt_pkt_ctr_link_info, 16, 16)
- #define WMI_MGMT_RX_REO_PARAM_MGMT_PKT_CTR_SET(mgmt_pkt_ctr_link_info, value) WMI_SET_BITS(mgmt_pkt_ctr_link_info, 16, 16, value)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 global_timestamp;
-
- A_UINT32 mgmt_pkt_ctr_link_info;
- } wmi_mgmt_rx_reo_params;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 channel;
-
- A_UINT32 snr;
-
- A_UINT32 rate;
-
- A_UINT32 phy_mode;
-
- A_UINT32 buf_len;
-
- A_UINT32 status;
-
- A_UINT32 rssi_ctl[ATH_MAX_ANTENNA];
-
- A_UINT32 flags;
-
- A_INT32 rssi;
-
- A_UINT32 tsf_delta;
-
- A_UINT32 rx_tsf_l32;
-
- A_UINT32 rx_tsf_u32;
-
- A_UINT32 pdev_id;
-
- A_UINT32 chan_freq;
- } wmi_mgmt_rx_hdr;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- A_UINT32 filter_low;
- A_UINT32 filter_high;
- } wmi_mgmt_rx_reo_filter_configuration_cmd_fixed_param;
- typedef enum {
- PKT_CAPTURE_MODE_DISABLE = 0,
- PKT_CAPTURE_MODE_MGMT_ONLY,
- PKT_CAPTURE_MODE_DATA_ONLY,
- PKT_CAPTURE_MODE_DATA_MGMT,
- } WMI_PKT_CAPTURE_MODE_CONFIG;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 chan_freq;
-
- A_UINT32 snr;
-
- A_UINT32 rate_kbps;
-
- A_UINT32 phy_mode;
-
- A_UINT32 buf_len;
-
- A_UINT32 status;
-
- A_UINT32 flags;
-
- A_INT32 rssi;
-
- A_UINT32 tsf_delta;
-
- A_UINT32 tsf_l32;
-
- A_UINT32 tsf_u32;
-
- A_UINT32 pdev_id;
- A_UINT32 direction;
-
- A_UINT32 tx_status;
- A_UINT32
-
- tx_retry_cnt:6,
- reserved_1:26;
- } wmi_mgmt_hdr;
- #define WMI_MGMT_HDR_TX_RETRY_CNT_SET(tx_retry_cnt, value) \
- WMI_SET_BITS(tx_retry_cnt, 0, 6, value)
- #define WMI_MGMT_HDR_TX_RETRY_CNT_GET(tx_retry_cnt) \
- WMI_GET_BITS(tx_retry_cnt, 0, 6)
- typedef struct
- {
- A_UINT32 tlv_header;
-
- A_UINT32 rssi_ctl_ext[MAX_ANTENNA_EIGHT - ATH_MAX_ANTENNA];
- } wmi_rssi_ctl_ext;
- typedef struct {
-
- A_UINT32 tsf_timestamp;
-
- A_UINT32 freq_info_1;
-
- A_UINT32 freq_info_2;
-
- A_UINT32 rssi_chain0;
- A_UINT32 rssi_chain1;
- A_UINT32 rssi_chain2;
- A_UINT32 rssi_chain3;
-
- A_UINT32 nf_list_1;
- A_UINT32 nf_list_2;
-
- A_UINT32 buf_len;
- } wmi_single_phyerr_rx_hdr;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 rssi_chain4;
- A_UINT32 rssi_chain5;
- A_UINT32 rssi_chain6;
- A_UINT32 rssi_chain7;
-
- A_UINT32 nf_list_3;
- A_UINT32 nf_list_4;
- } wmi_single_phyerr_ext_rx_hdr;
- #define WMI_UNIFIED_FREQINFO_1_LO 0x000000ff
- #define WMI_UNIFIED_FREQINFO_1_LO_S 0
- #define WMI_UNIFIED_FREQINFO_1_HI 0x0000ff00
- #define WMI_UNIFIED_FREQINFO_1_HI_S 8
- #define WMI_UNIFIED_FREQINFO_2_LO 0x00ff0000
- #define WMI_UNIFIED_FREQINFO_2_LO_S 16
- #define WMI_UNIFIED_FREQINFO_2_HI 0xff000000
- #define WMI_UNIFIED_FREQINFO_2_HI_S 24
- #define WMI_UNIFIED_FREQ_INFO_GET(hdr, f) \
- (WMI_F_MS((hdr)->freq_info_1, \
- WMI_UNIFIED_FREQINFO_##f##_LO) \
- | (WMI_F_MS((hdr)->freq_info_1, \
- WMI_UNIFIED_FREQINFO_##f##_HI) << 8))
- #define WMI_UNIFIED_FREQ_INFO_SET(hdr, f, v) \
- do { \
- WMI_F_RMW((hdr)->freq_info_1, (v) & 0xff, \
- WMI_UNIFIED_FREQINFO_##f##_LO); \
- WMI_F_RMW((hdr)->freq_info_1, ((v) >> 8) & 0xff, \
- WMI_UNIFIED_FREQINFO_##f##_HI); \
- } while (0)
- #define WMI_UNIFIED_FREQINFO_2_RSSI_COMB 0x000000ff
- #define WMI_UNIFIED_FREQINFO_2_RSSI_COMB_S 0
- #define WMI_UNIFIED_FREQINFO_2_CHWIDTH 0x0000ff00
- #define WMI_UNIFIED_FREQINFO_2_CHWIDTH_S 8
- #define WMI_UNIFIED_FREQINFO_2_PHYERRCODE 0x00ff0000
- #define WMI_UNIFIED_FREQINFO_2_PHYERRCODE_S 16
- #define WMI_UNIFIED_RSSI_COMB_GET(hdr) \
- ((int8_t) (WMI_F_MS((hdr)->freq_info_2, \
- WMI_UNIFIED_FREQINFO_2_RSSI_COMB)))
- #define WMI_UNIFIED_RSSI_COMB_SET(hdr, v) \
- WMI_F_RMW((hdr)->freq_info_2, (v) & 0xff, \
- WMI_UNIFIED_FREQINFO_2_RSSI_COMB);
- #define WMI_UNIFIED_CHWIDTH_GET(hdr) \
- WMI_F_MS((hdr)->freq_info_2, WMI_UNIFIED_FREQINFO_2_CHWIDTH)
- #define WMI_UNIFIED_CHWIDTH_SET(hdr, v) \
- WMI_F_RMW((hdr)->freq_info_2, (v) & 0xff, \
- WMI_UNIFIED_FREQINFO_2_CHWIDTH);
- #define WMI_UNIFIED_PHYERRCODE_GET(hdr) \
- WMI_F_MS((hdr)->freq_info_2, WMI_UNIFIED_FREQINFO_2_PHYERRCODE)
- #define WMI_UNIFIED_PHYERRCODE_SET(hdr, v) \
- WMI_F_RMW((hdr)->freq_info_2, (v) & 0xff, \
- WMI_UNIFIED_FREQINFO_2_PHYERRCODE);
- #define WMI_UNIFIED_CHAIN_0 0x0000ffff
- #define WMI_UNIFIED_CHAIN_0_S 0
- #define WMI_UNIFIED_CHAIN_1 0xffff0000
- #define WMI_UNIFIED_CHAIN_1_S 16
- #define WMI_UNIFIED_CHAIN_2 0x0000ffff
- #define WMI_UNIFIED_CHAIN_2_S 0
- #define WMI_UNIFIED_CHAIN_3 0xffff0000
- #define WMI_UNIFIED_CHAIN_3_S 16
- #define WMI_UNIFIED_CHAIN_4 0x0000ffff
- #define WMI_UNIFIED_CHAIN_4_S 0
- #define WMI_UNIFIED_CHAIN_5 0xffff0000
- #define WMI_UNIFIED_CHAIN_5_S 16
- #define WMI_UNIFIED_CHAIN_6 0x0000ffff
- #define WMI_UNIFIED_CHAIN_6_S 0
- #define WMI_UNIFIED_CHAIN_7 0xffff0000
- #define WMI_UNIFIED_CHAIN_7_S 16
- #define WMI_UNIFIED_CHAIN_0_FIELD nf_list_1
- #define WMI_UNIFIED_CHAIN_1_FIELD nf_list_1
- #define WMI_UNIFIED_CHAIN_2_FIELD nf_list_2
- #define WMI_UNIFIED_CHAIN_3_FIELD nf_list_2
- #define WMI_UNIFIED_CHAIN_4_FIELD nf_list_3
- #define WMI_UNIFIED_CHAIN_5_FIELD nf_list_3
- #define WMI_UNIFIED_CHAIN_6_FIELD nf_list_4
- #define WMI_UNIFIED_CHAIN_7_FIELD nf_list_4
- #define WMI_UNIFIED_NF_CHAIN_GET(hdr, c) \
- ((int16_t) (WMI_F_MS((hdr)->WMI_UNIFIED_CHAIN_##c##_FIELD, \
- WMI_UNIFIED_CHAIN_##c)))
- #define WMI_UNIFIED_NF_CHAIN_SET(hdr, c, nf) \
- WMI_F_RMW((hdr)->WMI_UNIFIED_CHAIN_##c##_FIELD, (nf) & 0xffff, \
- WMI_UNIFIED_CHAIN_##c);
- #define WMI_UNIFIED_RSSI_CHAN_PRI20 0x000000ff
- #define WMI_UNIFIED_RSSI_CHAN_PRI20_S 0
- #define WMI_UNIFIED_RSSI_CHAN_SEC20 0x0000ff00
- #define WMI_UNIFIED_RSSI_CHAN_SEC20_S 8
- #define WMI_UNIFIED_RSSI_CHAN_SEC40 0x00ff0000
- #define WMI_UNIFIED_RSSI_CHAN_SEC40_S 16
- #define WMI_UNIFIED_RSSI_CHAN_SEC80 0xff000000
- #define WMI_UNIFIED_RSSI_CHAN_SEC80_S 24
- #define WMI_UNIFIED_RSSI_CHAN_SET(hdr, c, ch, rssi) \
- WMI_F_RMW((hdr)->rssi_chain##c, (rssi) & 0xff, \
- WMI_UNIFIED_RSSI_CHAN_##ch);
- #define WMI_UNIFIED_RSSI_CHAN_GET(hdr, c, ch) \
- ((int8_t) (WMI_F_MS((hdr)->rssi_chain##c, \
- WMI_UNIFIED_RSSI_CHAN_##ch)))
- #define WMI_UNIFIED_CHAIN_RSSI_GET(tlv, chain_idx, band) \
- ((A_INT8) WMI_F_MS((tlv)->chain_rssi[chain_idx], WMI_UNIFIED_RSSI_CHAN_ ## band))
- typedef struct {
-
- wmi_single_phyerr_rx_hdr hdr;
-
- A_UINT8 bufp[1];
- } wmi_single_phyerr_rx_event;
- #define WMI_PHY_ERROR_MASK0_RADAR (1 << 2)
- #define WMI_PHY_ERROR_MASK0_FALSE_RADAR_EXT (1 << 24)
- #define WMI_PHY_ERROR_MASK0_SPECTRAL_SCAN (1 << 26)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 num_phyerr_events;
- A_UINT32 tsf_l32;
- A_UINT32 tsf_u32;
- A_UINT32 buf_len;
- union {
- A_UINT32 pmac_id;
-
- A_UINT32 pdev_id;
- };
- A_UINT32 rsPhyErrMask0;
- A_UINT32 rsPhyErrMask1;
- A_UINT32 rsPhyErrMask2;
- } wmi_comb_phyerr_rx_hdr;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 tx_rate;
-
- A_UINT32 tx_power;
-
- A_UINT32 buf_len;
- } wmi_mgmt_tx_hdr;
- #define WMI_TX_SEND_PARAM_PWR_GET(tx_param_dword0) WMI_GET_BITS(tx_param_dword0, 0, 8)
- #define WMI_TX_SEND_PARAM_PWR_SET(tx_param_dword0, value) WMI_SET_BITS(tx_param_dword0, 0, 8, value)
- #define WMI_TX_SEND_PARAM_MCS_MASK_GET(tx_param_dword0) WMI_GET_BITS(tx_param_dword0, 8, 12)
- #define WMI_TX_SEND_PARAM_MCS_MASK_SET(tx_param_dword0, value) WMI_SET_BITS(tx_param_dword0, 8, 12, value)
- #define WMI_TX_SEND_PARAM_NSS_MASK_GET(tx_param_dword0) WMI_GET_BITS(tx_param_dword0, 20, 8)
- #define WMI_TX_SEND_PARAM_NSS_MASK_SET(tx_param_dword0, value) WMI_SET_BITS(tx_param_dword0, 20, 8, value)
- #define WMI_TX_SEND_PARAM_RETRY_LIMIT_GET(tx_param_dword0) WMI_GET_BITS(tx_param_dword0, 28, 4)
- #define WMI_TX_SEND_PARAM_RETRY_LIMIT_SET(tx_param_dword0, value) WMI_SET_BITS(tx_param_dword0, 28, 4, value)
- #define WMI_TX_SEND_PARAM_CHAIN_MASK_GET(tx_param_dword1) WMI_GET_BITS(tx_param_dword1, 0, 8)
- #define WMI_TX_SEND_PARAM_CHAIN_MASK_SET(tx_param_dword1, value) WMI_SET_BITS(tx_param_dword1, 0, 8, value)
- #define WMI_TX_SEND_PARAM_BW_MASK_GET(tx_param_dword1) WMI_GET_BITS(tx_param_dword1, 8, 7)
- #define WMI_TX_SEND_PARAM_BW_MASK_SET(tx_param_dword1, value) WMI_SET_BITS(tx_param_dword1, 8, 7, value)
- #define WMI_TX_SEND_PARAM_PREAMBLE_GET(tx_param_dword1) WMI_GET_BITS(tx_param_dword1, 15, 5)
- #define WMI_TX_SEND_PARAM_PREAMBLE_SET(tx_param_dword1, value) WMI_SET_BITS(tx_param_dword1, 15, 5, value)
- #define WMI_TX_SEND_PARAM_FRAME_TYPE_GET(tx_param_dword1) WMI_GET_BITS(tx_param_dword1, 20, 1)
- #define WMI_TX_SEND_PARAM_FRAME_TYPE_SET(tx_param_dword1, value) WMI_SET_BITS(tx_param_dword1, 20, 1, value)
- #define WMI_TX_SEND_PARAM_CFR_CAPTURE_GET(tx_param_dword1) WMI_GET_BITS(tx_param_dword1, 21, 1)
- #define WMI_TX_SEND_PARAM_CFR_CAPTURE_SET(tx_param_dword1, value) WMI_SET_BITS(tx_param_dword1, 21, 1, value)
- #define WMI_TX_SEND_PARAM_BEAMFORM_GET(tx_param_dword1) WMI_GET_BITS(tx_param_dword1, 22, 1)
- #define WMI_TX_SEND_PARAM_BEAMFORM_SET(tx_param_dword1, value) WMI_SET_BITS(tx_param_dword1, 22, 1, value)
- #define WMI_TX_SEND_FLAG_SET_WRONG_KEY 0x00000001
- #define WMI_TX_SEND_FLAG_SET_WRONG_KEY_GET(tx_flags) WMI_GET_BITS(tx_flags, 0, 1)
- #define WMI_TX_SEND_FLAG_SET_WRONG_KEY_SET(tx_flags, value) WMI_SET_BITS(tx_flags, 0, 1, value)
- typedef struct {
- A_UINT32 tlv_header;
- union {
- struct {
-
- A_UINT32
-
- pwr: 8,
-
- mcs_mask: 12,
-
- nss_mask: 8,
-
- retry_limit: 4;
- };
- A_UINT32 tx_param_dword0;
- };
- union {
- struct {
-
- A_UINT32
-
- chain_mask: 8,
-
- bw_mask: 7,
-
- preamble_type: 5,
-
- frame_type: 1,
-
- cfr_capture: 1,
-
- en_beamforming: 1,
- reserved1_31_23: 9;
- };
- A_UINT32 tx_param_dword1;
- };
- } wmi_tx_send_params;
- #define WMI_MLO_MGMT_TID 0xFFFFFFFF
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 hw_link_id;
- } wmi_mlo_tx_send_params;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 desc_id;
- A_UINT32 chanfreq;
-
- A_UINT32 paddr_lo;
- A_UINT32 paddr_hi;
- A_UINT32 frame_len;
- A_UINT32 buf_len;
-
- A_UINT32 tx_params_valid;
-
- A_UINT32 tx_flags;
-
- A_INT32 peer_rssi;
- } wmi_mgmt_tx_send_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 desc_id;
- A_UINT32 chanfreq;
- A_UINT32 paddr_lo;
- A_UINT32 paddr_hi;
- A_UINT32 frame_len;
- A_UINT32 buf_len;
-
- A_UINT32 tx_params_valid;
- } wmi_offchan_data_tx_send_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 desc_id;
- A_UINT32 paddr_lo;
- A_UINT32 paddr_hi;
- A_UINT32 frame_len;
- A_UINT32 buf_len;
- } wmi_qos_null_frame_tx_send_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 value;
- } wmi_echo_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 value;
- } wmi_echo_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 reg_domain;
- A_UINT32 reg_domain_2G;
- A_UINT32 reg_domain_5G;
- A_UINT32 conformance_test_limit_2G;
- A_UINT32 conformance_test_limit_5G;
- A_UINT32 dfs_domain;
-
- A_UINT32 conformance_test_limit_5G_subband_UNII1;
- A_UINT32 conformance_test_limit_5G_subband_UNII2a;
- A_UINT32 conformance_test_limit_5G_subband_UNII2c;
- A_UINT32 conformance_test_limit_5G_subband_UNII3;
- A_UINT32 conformance_test_limit_5G_subband_UNII4;
-
- A_UINT32 conformance_test_limit_6G_subband_UNII5;
- A_UINT32 conformance_test_limit_6G_subband_UNII6;
- A_UINT32 conformance_test_limit_6G_subband_UNII7;
- A_UINT32 conformance_test_limit_6G_subband_UNII8;
- } wmi_pdev_set_regdomain_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 scan_start;
- } wmi_pdev_scan_cmd;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 type;
- A_UINT32 mask_lower32;
- A_UINT32 mask_higher32;
- A_UINT32 mask_lower32_2;
- A_UINT32 mask_higher32_2;
- } wmi_vdev_config_ratemask_cmd_fixed_param;
- enum {
- WMI_FILTER_NRP_ACTION_ADD = 0x1,
- WMI_FILTER_NRP_ACTION_REMOVE = 0x2,
- WMI_FILTER_NRP_ACTION_GET_LIST = 0x3,
- };
- enum {
- WMI_FILTER_NRP_TYPE_AP_BSSID = 0x1,
- WMI_FILTER_NRP_TYPE_STA_MACADDR = 0x2,
- };
- enum {
- WMI_FILTER_NRP_CAPTURE_ONLY_RX_PACKETS = 0x1,
- WMI_FILTER_NRP_CAPTURE_ONLY_TX_PACKETS = 0x2,
- WMI_FILTER_NRP_CAPTURE_BOTH_TXRX_PACKETS = 0x3,
- };
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- wmi_mac_addr addr;
-
- A_UINT32 action;
-
- A_UINT32 type;
-
- A_UINT32 flag;
-
- A_UINT32 bssid_idx;
- } wmi_vdev_filter_nrp_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 period;
- A_UINT32 duration;
- A_UINT32 next_start;
- A_UINT32 enabled;
- } wmi_pdev_set_quiet_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 period;
- A_UINT32 duration;
- A_UINT32 next_start;
- A_UINT32 enabled;
- } wmi_vdev_set_quiet_cmd_fixed_param;
- #define WMI_OFFLOAD_QUIET_FLAG_START_STOP 0x00000001
- #define WMI_OFFLOAD_QUIET_FLAG_ONE_SHOT 0x00000002
- #define WMI_OFFLOAD_QUIET_FLAG_INFO_IN_SWBA_START_STOP 0x00000004
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 hw_link_id;
- A_UINT32 beacon_interval;
- A_UINT32 period;
- A_UINT32 duration;
- A_UINT32 next_start;
- A_UINT32 flags;
- } wmi_vdev_bcn_offload_ml_quiet_config_params;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 period;
- A_UINT32 duration;
- A_UINT32 next_start;
- A_UINT32 flags;
- } wmi_vdev_bcn_offload_quiet_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 tx_aggr_size;
- A_UINT32 rx_aggr_size;
-
- A_UINT32 enable_bitmap;
- } wmi_vdev_set_custom_aggr_size_cmd_fixed_param;
- typedef enum {
- WMI_VDEV_CUSTOM_AGGR_TYPE_AMPDU = 0,
- WMI_VDEV_CUSTOM_AGGR_TYPE_AMSDU = 1,
- WMI_VDEV_CUSTOM_AGGR_TYPE_MAX,
- } wmi_vdev_custom_aggr_type_t;
- #define WMI_VDEV_CUSTOM_AGGR_AC_BITPOS 0
- #define WMI_VDEV_CUSTOM_AGGR_AC_NUM_BITS 2
- #define WMI_VDEV_CUSTOM_AGGR_TYPE_BITPOS 2
- #define WMI_VDEV_CUSTOM_AGGR_TYPE_NUM_BITS 1
- #define WMI_VDEV_CUSTOM_TX_AGGR_SZ_DIS_BITPOS 3
- #define WMI_VDEV_CUSTOM_TX_AGGR_SZ_DIS_NUM_BITS 1
- #define WMI_VDEV_CUSTOM_RX_AGGR_SZ_DIS_BITPOS 4
- #define WMI_VDEV_CUSTOM_RX_AGGR_SZ_DIS_NUM_BITS 1
- #define WMI_VDEV_CUSTOM_TX_AC_EN_BITPOS 5
- #define WMI_VDEV_CUSTOM_TX_AC_EN_NUM_BITS 1
- #define WMI_VDEV_CUSTOM_AGGR_256_BA_EN_BITPOS 6
- #define WMI_VDEV_CUSTOM_AGGR_256_BA_EN_NUM_BITS 1
- #define WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_BITPOS 7
- #define WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_NUM_BITS 1
- #define WMI_VDEV_CUSTOM_AGGR_AC_SET(param, value) \
- WMI_SET_BITS(param, WMI_VDEV_CUSTOM_AGGR_AC_BITPOS, \
- WMI_VDEV_CUSTOM_AGGR_AC_NUM_BITS, value)
- #define WMI_VDEV_CUSTOM_AGGR_AC_GET(param) \
- WMI_GET_BITS(param, WMI_VDEV_CUSTOM_AGGR_AC_BITPOS, \
- WMI_VDEV_CUSTOM_AGGR_AC_NUM_BITS)
- #define WMI_VDEV_CUSTOM_AGGR_TYPE_SET(param, value) \
- WMI_SET_BITS(param, WMI_VDEV_CUSTOM_AGGR_TYPE_BITPOS, \
- WMI_VDEV_CUSTOM_AGGR_TYPE_NUM_BITS, value)
- #define WMI_VDEV_CUSTOM_AGGR_TYPE_GET(param) \
- WMI_GET_BITS(param, WMI_VDEV_CUSTOM_AGGR_TYPE_BITPOS, \
- WMI_VDEV_CUSTOM_AGGR_TYPE_NUM_BITS)
- #define WMI_VDEV_CUSTOM_TX_AGGR_SZ_DIS_SET(param, value) \
- WMI_SET_BITS(param, WMI_VDEV_CUSTOM_TX_AGGR_SZ_DIS_BITPOS, \
- WMI_VDEV_CUSTOM_TX_AGGR_SZ_DIS_NUM_BITS, value)
- #define WMI_VDEV_CUSTOM_TX_AGGR_SZ_DIS_GET(param) \
- WMI_GET_BITS(param, WMI_VDEV_CUSTOM_TX_AGGR_SZ_DIS_BITPOS, \
- WMI_VDEV_CUSTOM_TX_AGGR_SZ_DIS_NUM_BITS)
- #define WMI_VDEV_CUSTOM_RX_AGGR_SZ_DIS_SET(param, value) \
- WMI_SET_BITS(param, WMI_VDEV_CUSTOM_RX_AGGR_SZ_DIS_BITPOS, \
- WMI_VDEV_CUSTOM_RX_AGGR_SZ_DIS_NUM_BITS, value)
- #define WMI_VDEV_CUSTOM_RX_AGGR_SZ_DIS_GET(param) \
- WMI_GET_BITS(param, WMI_VDEV_CUSTOM_RX_AGGR_SZ_DIS_BITPOS, \
- WMI_VDEV_CUSTOM_RX_AGGR_SZ_DIS_NUM_BITS)
- #define WMI_VDEV_CUSTOM_TX_AC_EN_SET(param, value) \
- WMI_SET_BITS(param, WMI_VDEV_CUSTOM_TX_AC_EN_BITPOS, \
- WMI_VDEV_CUSTOM_TX_AC_EN_NUM_BITS, value)
- #define WMI_VDEV_CUSTOM_TX_AC_EN_GET(param) \
- WMI_GET_BITS(param, WMI_VDEV_CUSTOM_TX_AC_EN_BITPOS, \
- WMI_VDEV_CUSTOM_TX_AC_EN_NUM_BITS)
- #define WMI_VDEV_CUSTOM_AGGR_256_BA_EN_SET(param, value) \
- WMI_SET_BITS(param, WMI_VDEV_CUSTOM_AGGR_256_BA_EN_BITPOS, \
- WMI_VDEV_CUSTOM_AGGR_256_BA_EN_NUM_BITS, value)
- #define WMI_VDEV_CUSTOM_AGGR_256_BA_EN_GET(param) \
- WMI_GET_BITS(param, WMI_VDEV_CUSTOM_AGGR_256_BA_EN_BITPOS, \
- WMI_VDEV_CUSTOM_AGGR_256_BA_EN_NUM_BITS)
- #define WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_SET(param, value) \
- WMI_SET_BITS(param, WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_BITPOS, \
- WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_NUM_BITS, value)
- #define WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_GET(param) \
- WMI_GET_BITS(param, WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_BITPOS, \
- WMI_VDEV_CUSTOM_AGGR_1024_BA_EN_NUM_BITS)
- typedef enum {
- WMI_VDEV_CUSTOM_SW_RETRY_TYPE_NONAGGR = 0,
- WMI_VDEV_CUSTOM_SW_RETRY_TYPE_AGGR = 1,
- WMI_VDEV_CUSTOM_SW_RETRY_TYPE_MAX,
- } wmi_vdev_custom_sw_retry_type_t;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 ac_type;
- A_UINT32 sw_retry_type;
- A_UINT32 sw_retry_th;
- } wmi_vdev_set_custom_sw_retry_th_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 num_tx_chains_2g;
-
- A_UINT32 num_rx_chains_2g;
-
- A_UINT32 tx_nss_2g;
-
- A_UINT32 rx_nss_2g;
-
- A_UINT32 num_tx_chains_b;
-
- A_UINT32 num_tx_chains_g;
-
- A_UINT32 num_tx_chains_5g;
-
- A_UINT32 num_rx_chains_5g;
-
- A_UINT32 tx_nss_5g;
-
- A_UINT32 rx_nss_5g;
-
- A_UINT32 num_tx_chains_a;
-
- A_UINT32 disable_tx_mrc_2g;
-
- A_UINT32 disable_rx_mrc_2g;
-
- A_UINT32 disable_tx_mrc_5g;
-
- A_UINT32 disable_rx_mrc_5g;
- } wmi_vdev_chainmask_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- A_UINT32 enable;
- } wmi_pdev_green_ap_ps_enable_cmd_fixed_param;
- #define MAX_HT_IE_LEN 32
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 reserved0;
- A_UINT32 ie_len;
- A_UINT32 tx_streams;
- A_UINT32 rx_streams;
- } wmi_pdev_set_ht_ie_cmd_fixed_param;
- #define MAX_VHT_IE_LEN 32
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 reserved0;
- A_UINT32 ie_len;
- A_UINT32 tx_streams;
- A_UINT32 rx_streams;
- } wmi_pdev_set_vht_ie_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- wmi_mac_addr base_macaddr;
- } wmi_pdev_set_base_macaddr_cmd_fixed_param;
- enum wmi_spectral_scan_mode {
- WMI_SPECTRAL_SCAN_NORMAL_MODE,
- WMI_SPECTRAL_SCAN_AGILE_MODE,
- };
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 spectral_scan_count;
- A_UINT32 spectral_scan_period;
- A_UINT32 spectral_scan_priority;
- A_UINT32 spectral_scan_fft_size;
- A_UINT32 spectral_scan_gc_ena;
- A_UINT32 spectral_scan_restart_ena;
- A_UINT32 spectral_scan_noise_floor_ref;
- A_UINT32 spectral_scan_init_delay;
- A_UINT32 spectral_scan_nb_tone_thr;
- A_UINT32 spectral_scan_str_bin_thr;
- A_UINT32 spectral_scan_wb_rpt_mode;
- A_UINT32 spectral_scan_rssi_rpt_mode;
- A_UINT32 spectral_scan_rssi_thr;
- A_UINT32 spectral_scan_pwr_format;
- A_UINT32 spectral_scan_rpt_mode;
- A_UINT32 spectral_scan_bin_scale;
- A_UINT32 spectral_scan_dBm_adj;
- A_UINT32 spectral_scan_chn_mask;
-
- A_UINT32 spectral_scan_mode;
- union {
-
- A_UINT32 spectral_scan_center_freq;
- A_UINT32 spectral_scan_center_freq1;
- };
-
- A_UINT32 spectral_scan_chan_freq;
-
- A_UINT32 spectral_scan_chan_width;
-
- A_UINT32 spectral_scan_center_freq2;
- } wmi_vdev_spectral_configure_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 trigger_cmd;
-
- A_UINT32 enable_cmd;
-
- A_UINT32 spectral_scan_mode;
- } wmi_vdev_spectral_enable_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_vdev_get_tx_power_cmd_fixed_param;
- #define WMI_SSCAN_PRI80_START_BIN_GET(pri80_bins) WMI_GET_BITS(pri80_bins, 0, 16)
- #define WMI_SSCAN_PRI80_START_BIN_SET(pri80_bins, value) WMI_SET_BITS(pri80_bins, 0, 16, value)
- #define WMI_SSCAN_PRI80_END_BIN_GET(pri80_bins) WMI_GET_BITS(pri80_bins, 16, 16)
- #define WMI_SSCAN_PRI80_END_BIN_SET(pri80_bins, value) WMI_SET_BITS(pri80_bins, 16, 16, value)
- #define WMI_SSCAN_SEC80_START_BIN_GET(sec80_bins) WMI_GET_BITS(sec80_bins, 0, 16)
- #define WMI_SSCAN_SEC80_START_BIN_SET(sec80_bins, value) WMI_SET_BITS(sec80_bins, 0, 16, value)
- #define WMI_SSCAN_SEC80_END_BIN_GET(sec80_bins) WMI_GET_BITS(sec80_bins, 16, 16)
- #define WMI_SSCAN_SEC80_END_BIN_SET(sec80_bins, value) WMI_SET_BITS(sec80_bins, 16, 16, value)
- #define WMI_SSCAN_MID_5MHZ_START_BIN_GET(mid_5mhz_bins) WMI_GET_BITS(mid_5mhz_bins, 0, 16)
- #define WMI_SSCAN_MID_5MHZ_START_BIN_SET(mid_5mhz_bins, value) WMI_SET_BITS(mid_5mhz_bins, 0, 16, value)
- #define WMI_SSCAN_MID_5MHZ_END_BIN_GET(mid_5mhz_bins) WMI_GET_BITS(mid_5mhz_bins, 16, 16)
- #define WMI_SSCAN_MID_5MHZ_END_BIN_SET(mid_5mhz_bins, value) WMI_SET_BITS(mid_5mhz_bins, 16, 16, value)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- A_UINT32 spectral_scan_mode;
-
- } wmi_pdev_sscan_fw_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pri80_bins;
-
- A_UINT32 sec80_bins;
-
- A_UINT32 mid_5mhz_bins;
- } wmi_pdev_sscan_fft_bin_index;
- typedef enum {
-
- WMI_SSCAN_EVT_BMSK_SCAN_STOP_SCOUNT = 0X00000001,
-
- WMI_SSCAN_EVT_BMSK_MAX = 0Xffffffff,
- } wmi_sscan_evt_message_code;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- A_UINT32 sscan_evt_code;
- } wmi_sscan_evt_message_fixed_param;
- #define WMI_BEACON_CTRL_TX_DISABLE 0
- #define WMI_BEACON_CTRL_TX_ENABLE 1
- #define WMI_BEACON_CTRL_SWBA_EVENT_DISABLE 2
- #define WMI_BEACON_CTRL_SWBA_EVENT_ENABLE 3
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- A_UINT32 bcn_ctrl_op;
- } wmi_bcn_offload_ctrl_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 tx_power;
- A_UINT32 vdev_id;
- } wmi_vdev_get_tx_power_event_fixed_param;
- typedef enum {
-
- WMI_VDEV_LIMIT_OFFCHAN_ENABLE = 0x1,
-
- WMI_VDEV_LIMIT_OFFCHAN_SKIP_DFS = 0x2,
- } wmi_vdev_limit_offchan_flags;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 flags;
-
- A_UINT32 max_offchan_time;
-
- A_UINT32 rest_time;
- } wmi_vdev_limit_offchan_cmd_fixed_param;
- #define WMI_CSA_EVENT_QSBW_ISE_ID_MASK 0x000000FF
- #define WMI_CSA_EVENT_QSBW_ISE_LEN_MASK 0x0000FF00
- #define WMI_CSA_EVENT_QSBW_ISE_CAP_MASK 0x00FF0000
- #define WMI_CSA_EVENT_QSBW_ISE_NOTIF_MASK 0xFF000000
- #define WMI_CSA_EVENT_QSBW_ISE_ID 0x02
- #define WMI_CSA_EVENT_QSBW_ISE_LEN 0x02
- #define WMI_CSA_EVENT_QSBW_ISE_5M_BITMASK 0x01
- #define WMI_CSA_EVENT_QSBW_ISE_10M_BITMASK 0x02
- #define WMI_CSA_EVENT_QSBW_ISE_CAP_5M(qsbw_ise) \
- (((qsbw_ise) >> 16) & WMI_CSA_EVENT_QSBW_ISE_5M_BITMASK)
- #define WMI_CSA_EVENT_QSBW_ISE_CAP_10M(qsbw_ise) \
- (((qsbw_ise) >> 16) & WMI_CSA_EVENT_QSBW_ISE_10M_BITMASK)
- #define WMI_CSA_EVENT_QSBW_ISE_NOTIF_5M(qsbw_ise) \
- (((qsbw_ise) >> 24) & WMI_CSA_EVENT_QSBW_ISE_5M_BITMASK)
- #define WMI_CSA_EVENT_QSBW_ISE_NOTIF_10M(qsbw_ise) \
- (((qsbw_ise) >> 24) & WMI_CSA_EVENT_QSBW_ISE_10M_BITMASK)
- typedef enum {
- WMI_CSA_IE_PRESENT = 0x00000001,
- WMI_XCSA_IE_PRESENT = 0x00000002,
- WMI_WBW_IE_PRESENT = 0x00000004,
- WMI_CSWRAP_IE_PRESENT = 0x00000008,
- WMI_CSWARP_IE_PRESENT = WMI_CSWRAP_IE_PRESENT,
- WMI_QSBW_ISE_PRESENT = 0x00000010,
- WMI_CSWRAP_IE_EXTENDED_PRESENT = 0x00000020,
- } WMI_CSA_EVENT_IES_PRESENT_FLAG;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 i_fc_dur;
- wmi_mac_addr i_addr1;
- wmi_mac_addr i_addr2;
-
- A_UINT32 csa_ie[2];
- A_UINT32 xcsa_ie[2];
- A_UINT32 wb_ie[2];
- union {
- A_UINT32 cswrap_ie;
- A_UINT32 cswarp_ie;
- };
- A_UINT32 ies_present_flag;
- A_UINT32 qsbw_ise;
-
- A_UINT32 cswrap_ie_extended[5];
- } wmi_csa_event_fixed_param;
- typedef enum {
- WAL_PEER_MCAST2UCAST_DISABLED = 0,
- WAL_PEER_MCAST2UCAST_DROP_EMPTY = 1,
- WAL_PEER_MCAST2UCAST_MCAST_EMPTY = 2,
- } WMI_PEER_MCAST2UCAST_MODE;
- typedef enum {
- PKT_PWR_SAVE_NAP_ENABLE = 0x00000001,
- PKT_PWR_SAVE_LS_ENABLE = 0x00000002,
- PKT_PWR_SAVE_DS_ENABLE = 0x00000004,
- PKT_PWR_SAVE_BTCOEX_ENABLE = 0x00000008,
- PKT_PWR_SAVE_FSM_ENABLE = 0x80000000,
- } WMI_PDEV_PKT_PWR_SAVE_LEVEL;
- #define WMI_PDEV_PARAM_SECONDARY_RATE_ENABLE_BIT_S 0
- #define WMI_PDEV_PARAM_SECONDARY_RATE_ENABLE_BIT 0x00000001
- #define WMI_PDEV_PARAM_RTS_BL_WL_ENABLE_BIT_S 1
- #define WMI_PDEV_PARAM_RTS_BL_WL_ENABLE_BIT 0x00000002
- #define WMI_PDEV_PARAM_HIGHER_MCS_XRETRY_RESTRICTION_S 2
- #define WMI_PDEV_PARAM_HIGHER_MCS_XRETRY_RESTRICTION 0x00000004
- #define WMI_PDEV_PARAM_XRETRY_THRESHOLD_S 3
- #define WMI_PDEV_PARAM_XRETRY_THRESHOLD 0x00000038
- #define WMI_PDEV_PARAM_IS_SECONDARY_RATE_ENABLED(word32) WMI_F_MS(word32, WMI_PDEV_PARAM_SECONDARY_RATE_ENABLE_BIT)
- #define WMI_PDEV_PARAM_IS_RTS_BL_WL_ENABLED(word32) WMI_F_MS(word32, WMI_PDEV_PARAM_RTS_BL_WL_ENABLE_BIT)
- #define WMI_PDEV_PARAM_IS_HIGHER_MCS_XRETRY_RESTRICTION_SET(word32) WMI_F_MS(word32, WMI_PDEV_PARAM_HIGHER_MCS_XRETRY_RESTRICTION)
- #define WMI_PDEV_PARAM_GET_XRETRY_THRESHOLD(word32) WMI_F_MS(word32, WMI_PDEV_PARAM_XRETRY_THRESHOLD)
- typedef enum {
-
- WMI_PDEV_PARAM_TX_CHAIN_MASK = 0x1,
-
- WMI_PDEV_PARAM_RX_CHAIN_MASK,
-
- WMI_PDEV_PARAM_TXPOWER_LIMIT2G,
-
- WMI_PDEV_PARAM_TXPOWER_LIMIT5G,
-
- WMI_PDEV_PARAM_TXPOWER_SCALE,
-
- WMI_PDEV_PARAM_BEACON_GEN_MODE,
-
- WMI_PDEV_PARAM_BEACON_TX_MODE,
-
- WMI_PDEV_PARAM_RESMGR_OFFCHAN_MODE,
-
- WMI_PDEV_PARAM_PROTECTION_MODE,
-
- WMI_PDEV_PARAM_DYNAMIC_BW,
-
- WMI_PDEV_PARAM_NON_AGG_SW_RETRY_TH,
-
- WMI_PDEV_PARAM_AGG_SW_RETRY_TH,
-
- WMI_PDEV_PARAM_STA_KICKOUT_TH,
-
- WMI_PDEV_PARAM_AC_AGGRSIZE_SCALING,
-
- WMI_PDEV_PARAM_LTR_ENABLE,
-
- WMI_PDEV_PARAM_LTR_AC_LATENCY_BE,
-
- WMI_PDEV_PARAM_LTR_AC_LATENCY_BK,
-
- WMI_PDEV_PARAM_LTR_AC_LATENCY_VI,
-
- WMI_PDEV_PARAM_LTR_AC_LATENCY_VO,
-
- WMI_PDEV_PARAM_LTR_AC_LATENCY_TIMEOUT,
-
- WMI_PDEV_PARAM_LTR_SLEEP_OVERRIDE,
-
- WMI_PDEV_PARAM_LTR_RX_OVERRIDE,
-
- WMI_PDEV_PARAM_LTR_TX_ACTIVITY_TIMEOUT,
-
- WMI_PDEV_PARAM_L1SS_ENABLE,
-
- WMI_PDEV_PARAM_DSLEEP_ENABLE,
-
- WMI_PDEV_PARAM_PCIELP_TXBUF_FLUSH,
-
- WMI_PDEV_PARAM_PCIELP_TXBUF_WATERMARK,
-
- WMI_PDEV_PARAM_PCIELP_TXBUF_TMO_EN,
-
- WMI_PDEV_PARAM_PCIELP_TXBUF_TMO_VALUE,
-
- WMI_PDEV_PARAM_PDEV_STATS_UPDATE_PERIOD,
-
- WMI_PDEV_PARAM_VDEV_STATS_UPDATE_PERIOD,
-
- WMI_PDEV_PARAM_PEER_STATS_UPDATE_PERIOD,
-
- WMI_PDEV_PARAM_BCNFLT_STATS_UPDATE_PERIOD,
-
- WMI_PDEV_PARAM_PMF_QOS,
-
- WMI_PDEV_PARAM_ARP_AC_OVERRIDE,
-
- WMI_PDEV_PARAM_DCS,
-
- WMI_PDEV_PARAM_ANI_ENABLE,
-
- WMI_PDEV_PARAM_ANI_POLL_PERIOD,
-
- WMI_PDEV_PARAM_ANI_LISTEN_PERIOD,
-
- WMI_PDEV_PARAM_ANI_OFDM_LEVEL,
-
- WMI_PDEV_PARAM_ANI_CCK_LEVEL,
-
- WMI_PDEV_PARAM_DYNTXCHAIN,
-
- WMI_PDEV_PARAM_PROXY_STA,
-
- WMI_PDEV_PARAM_IDLE_PS_CONFIG,
-
- WMI_PDEV_PARAM_POWER_GATING_SLEEP,
-
- WMI_PDEV_PARAM_RFKILL_ENABLE,
-
- WMI_PDEV_PARAM_BURST_DUR,
-
- WMI_PDEV_PARAM_BURST_ENABLE,
-
- WMI_PDEV_PARAM_HW_RFKILL_CONFIG,
-
- WMI_PDEV_PARAM_LOW_POWER_RF_ENABLE,
-
- WMI_PDEV_PARAM_L1SS_TRACK,
-
- WMI_PDEV_PARAM_HYST_EN,
-
- WMI_PDEV_PARAM_POWER_COLLAPSE_ENABLE,
-
- WMI_PDEV_PARAM_LED_SYS_STATE,
-
- WMI_PDEV_PARAM_LED_ENABLE,
-
- WMI_PDEV_PARAM_AUDIO_OVER_WLAN_LATENCY,
-
- WMI_PDEV_PARAM_AUDIO_OVER_WLAN_ENABLE,
-
- WMI_PDEV_PARAM_WHAL_MIB_STATS_UPDATE_ENABLE,
-
- WMI_PDEV_PARAM_VDEV_RATE_STATS_UPDATE_PERIOD,
-
- WMI_PDEV_PARAM_CTS_CBW,
-
- WMI_PDEV_PARAM_WNTS_CONFIG,
-
- WMI_PDEV_PARAM_ADAPTIVE_EARLY_RX_ENABLE,
-
- WMI_PDEV_PARAM_ADAPTIVE_EARLY_RX_MIN_SLEEP_SLOP,
-
- WMI_PDEV_PARAM_ADAPTIVE_EARLY_RX_INC_DEC_STEP,
-
- WMI_PDEV_PARAM_EARLY_RX_FIX_SLEEP_SLOP,
-
- WMI_PDEV_PARAM_BMISS_BASED_ADAPTIVE_BTO_ENABLE,
-
- WMI_PDEV_PARAM_BMISS_BTO_MIN_BCN_TIMEOUT,
-
- WMI_PDEV_PARAM_BMISS_BTO_INC_DEC_STEP,
-
- WMI_PDEV_PARAM_BTO_FIX_BCN_TIMEOUT,
-
- WMI_PDEV_PARAM_CE_BASED_ADAPTIVE_BTO_ENABLE,
-
- WMI_PDEV_PARAM_CE_BTO_COMBO_CE_VALUE,
-
- WMI_PDEV_PARAM_TX_CHAIN_MASK_2G,
-
- WMI_PDEV_PARAM_RX_CHAIN_MASK_2G,
-
- WMI_PDEV_PARAM_TX_CHAIN_MASK_5G,
-
- WMI_PDEV_PARAM_RX_CHAIN_MASK_5G,
-
- WMI_PDEV_PARAM_TX_CHAIN_MASK_CCK,
-
- WMI_PDEV_PARAM_TX_CHAIN_MASK_1SS,
-
- WMI_PDEV_PARAM_CTS2SELF_FOR_P2P_GO_CONFIG,
-
- WMI_PDEV_PARAM_TXPOWER_DECR_DB,
-
- WMI_PDEV_PARAM_AGGR_BURST,
-
- WMI_PDEV_PARAM_RX_DECAP_MODE,
-
- WMI_PDEV_PARAM_FAST_CHANNEL_RESET,
-
- WMI_PDEV_PARAM_SMART_ANTENNA_DEFAULT_ANTENNA,
-
- WMI_PDEV_PARAM_ANTENNA_GAIN,
-
- WMI_PDEV_PARAM_RX_FILTER,
-
- WMI_PDEV_SET_MCAST_TO_UCAST_TID,
-
- WMI_PDEV_PARAM_PROXY_STA_MODE,
-
- WMI_PDEV_PARAM_SET_MCAST2UCAST_MODE,
-
- WMI_PDEV_PARAM_SET_MCAST2UCAST_BUFFER,
-
- WMI_PDEV_PARAM_REMOVE_MCAST2UCAST_BUFFER,
-
- WMI_PDEV_PEER_STA_PS_STATECHG_ENABLE,
-
- WMI_PDEV_PARAM_IGMPMLD_AC_OVERRIDE,
-
- WMI_PDEV_PARAM_BLOCK_INTERBSS,
-
- WMI_PDEV_PARAM_SET_DISABLE_RESET_CMDID,
-
- WMI_PDEV_PARAM_SET_MSDU_TTL_CMDID,
-
- WMI_PDEV_PARAM_SET_PPDU_DURATION_CMDID,
-
- WMI_PDEV_PARAM_TXBF_SOUND_PERIOD_CMDID,
-
- WMI_PDEV_PARAM_SET_PROMISC_MODE_CMDID,
-
- WMI_PDEV_PARAM_SET_BURST_MODE_CMDID,
-
- WMI_PDEV_PARAM_EN_STATS,
-
- WMI_PDEV_PARAM_MU_GROUP_POLICY,
-
- WMI_PDEV_PARAM_NOISE_DETECTION,
-
- WMI_PDEV_PARAM_NOISE_THRESHOLD,
-
- WMI_PDEV_PARAM_DPD_ENABLE,
-
- WMI_PDEV_PARAM_SET_MCAST_BCAST_ECHO,
-
- WMI_PDEV_PARAM_ATF_STRICT_SCH,
-
- WMI_PDEV_PARAM_ATF_SCHED_DURATION,
-
- WMI_PDEV_PARAM_ANT_PLZN,
-
- WMI_PDEV_PARAM_MGMT_RETRY_LIMIT,
-
- WMI_PDEV_PARAM_SENSITIVITY_LEVEL,
-
- WMI_PDEV_PARAM_SIGNED_TXPOWER_2G,
-
- WMI_PDEV_PARAM_SIGNED_TXPOWER_5G,
-
- WMI_PDEV_PARAM_ENABLE_PER_TID_AMSDU,
-
- WMI_PDEV_PARAM_ENABLE_PER_TID_AMPDU,
-
- WMI_PDEV_PARAM_CCA_THRESHOLD,
-
- WMI_PDEV_PARAM_RTS_FIXED_RATE,
-
- WMI_PDEV_PARAM_PDEV_RESET,
-
- WMI_PDEV_PARAM_WAPI_MBSSID_OFFSET,
-
- WMI_PDEV_PARAM_ARP_DBG_SRCADDR,
-
- WMI_PDEV_PARAM_ARP_DBG_DSTADDR,
-
- WMI_PDEV_PARAM_ATF_OBSS_NOISE_SCH,
-
- WMI_PDEV_PARAM_ATF_OBSS_NOISE_SCALING_FACTOR,
-
- WMI_PDEV_PARAM_CUST_TXPOWER_SCALE,
-
- WMI_PDEV_PARAM_ATF_DYNAMIC_ENABLE,
-
- WMI_PDEV_PARAM_CTRL_RETRY_LIMIT,
-
- WMI_PDEV_PARAM_PROPAGATION_DELAY,
-
- WMI_PDEV_PARAM_ENA_ANT_DIV,
-
- WMI_PDEV_PARAM_FORCE_CHAIN_ANT,
-
- WMI_PDEV_PARAM_ANT_DIV_SELFTEST,
-
- WMI_PDEV_PARAM_ANT_DIV_SELFTEST_INTVL,
-
- WMI_PDEV_PARAM_STATS_OBSERVATION_PERIOD,
-
- WMI_PDEV_PARAM_TX_PPDU_DELAY_BIN_SIZE_MS,
-
- WMI_PDEV_PARAM_TX_PPDU_DELAY_ARRAY_LEN,
-
- WMI_PDEV_PARAM_TX_MPDU_AGGR_ARRAY_LEN,
-
- WMI_PDEV_PARAM_RX_MPDU_AGGR_ARRAY_LEN,
-
- WMI_PDEV_PARAM_TX_SCH_DELAY,
-
- WMI_PDEV_PARAM_ENABLE_RTS_SIFS_BURSTING,
-
- WMI_PDEV_PARAM_MAX_MPDUS_IN_AMPDU,
-
- WMI_PDEV_PARAM_PEER_STATS_INFO_ENABLE,
-
- WMI_PDEV_PARAM_FAST_PWR_TRANSITION,
-
- WMI_PDEV_PARAM_RADIO_CHAN_STATS_ENABLE,
-
- WMI_PDEV_PARAM_RADIO_DIAGNOSIS_ENABLE,
-
- WMI_PDEV_PARAM_MESH_MCAST_ENABLE,
-
- WMI_PDEV_PARAM_SMART_CHAINMASK_SCHEME,
-
- WMI_PDEV_PARAM_ALTERNATIVE_CHAINMASK_SCHEME,
-
- WMI_PDEV_PARAM_ANT_DIV_USRCFG,
-
- WMI_PDEV_PARAM_PACKET_POWER_SAVE_LEVEL,
-
- WMI_PDEV_PARAM_SET_IOT_PATTERN,
-
- WMI_PDEV_PARAM_ACK_TIMEOUT,
-
- WMI_PDEV_PARAM_ABG_MODE_TX_CHAIN_NUM,
-
- WMI_PDEV_PARAM_ENABLE_CCK_TXFIR_OVERRIDE,
-
- WMI_PDEV_PARAM_DTIM_SYNTH,
-
- WMI_PDEV_AUTO_DETECT_POWER_FAILURE,
-
- WMI_PDEV_UPDATE_WDCVS_ALGO,
-
- WMI_PDEV_PARAM_DATA_STALL_DETECT_ENABLE,
-
- WMI_PDEV_PARAM_GCMP_SUPPORT_ENABLE,
-
- WMI_PDEV_PARAM_1CH_DTIM_OPTIMIZED_CHAIN_SELECTION,
-
- WMI_PDEV_PARAM_CCK_TX_ENABLE,
-
- WMI_PDEV_PARAM_ANTENNA_GAIN_HALF_DB,
-
- WMI_PDEV_PARAM_SECONDARY_RETRY_ENABLE,
-
- WMI_PDEV_PARAM_SET_UL_PPDU_DURATION,
-
- WMI_PDEV_PARAM_SET_UL_BSR_TRIG_INTERVAL,
-
- WMI_PDEV_PARAM_EQUAL_RU_ALLOCATION_ENABLE,
-
- WMI_PDEV_PARAM_MWSCOEX_4G_ALLOW_QUICK_FTDM,
-
- WMI_PDEV_PARAM_MWSCOEX_SET_5GNR_PWR_LIMIT,
-
- WMI_PDEV_PARAM_SET_CONG_CTRL_MAX_MSDUS,
-
- WMI_PDEV_PARAM_ESP_INDICATION_PERIOD,
-
- WMI_PDEV_PARAM_PER_PEER_PERIODIC_CFR_ENABLE,
-
- WMI_PDEV_PARAM_PERIODIC_CFR_BASE_TIMER,
-
- WMI_PDEV_PARAM_ENABLE_OPTIMIZED_PERIODIC_CFR_TIMER,
-
- WMI_PDEV_PARAM_ESP_BA_WINDOW,
-
- WMI_PDEV_PARAM_ESP_AIRTIME_FRACTION,
-
- WMI_PDEV_PARAM_ESP_PPDU_DURATION,
-
- WMI_PDEV_PARAM_USE_NOL,
-
- WMI_PDEV_PARAM_UL_RU26_ALLOWED,
-
- WMI_PDEV_PARAM_SUB_CHANNEL_MARKING,
-
- WMI_PDEV_PARAM_SET_MGMT_TTL,
-
- WMI_PDEV_PARAM_SET_PROBE_RESP_TTL,
-
- WMI_PDEV_PARAM_SET_TBTT_CTRL,
-
- WMI_PDEV_PARAM_NAV_OVERRIDE_CONFIG,
-
- WMI_PDEV_PARAM_SET_MU_PPDU_DURATION,
-
- WMI_PDEV_PARAM_SET_TEST_CMD_UL_TRIGGER_TYPE_ENABLE,
-
- WMI_PDEV_PARAM_SET_TEST_CMD_UL_TRIGGER_LSIG_LEN,
-
- WMI_PDEV_PARAM_SET_TEST_CMD_UL_TRIGGER_FIXED_RATE,
-
- WMI_PDEV_PARAM_SET_TEST_CMD_UL_MAC_PADDING,
-
- WMI_PDEV_PARAM_SET_TEST_CMD_UL_BSR_FC_DURATION,
-
- WMI_PDEV_PARAM_SET_TEST_CMD_TWT_SCHED_CONFIG,
-
- WMI_PDEV_PARAM_SET_CMD_OBSS_PD_THRESHOLD,
-
- WMI_PDEV_PARAM_ENABLE_NON_WLAN_COEX_FROM_BOOT,
-
- WMI_PDEV_PARAM_SET_CMD_OBSS_PD_PER_AC,
-
- WMI_PDEV_PARAM_ENABLE_FW_DYNAMIC_HE_EDCA,
-
- WMI_PDEV_PARAM_DEFAULT_6GHZ_RATE,
-
- WMI_PDEV_PARAM_MWSCOEX_PCC_CHAVD_DELAY,
-
- WMI_PDEV_PARAM_MWSCOEX_SCC_CHAVD_DELAY,
-
- WMI_PDEV_PARAM_SET_DFS_CHAN_AGEOUT_TIME,
-
- WMI_PDEV_PARAM_SET_SAP_XLNA_BYPASS,
-
- WMI_PDEV_PARAM_ENABLE_SRP,
-
- WMI_PDEV_PARAM_ENABLE_SR_PROHIBIT,
-
- WMI_PDEV_PARAM_ENABLE_MBSSID_CTRL_FRAME,
-
- WMI_PDEV_PARAM_SET_PREAM_PUNCT_BW,
-
- WMI_PDEV_PARAM_SR_TRIGGER_MARGIN,
-
- WMI_PDEV_PARAM_PCIE_HW_ILP,
-
- WMI_PDEV_PARAM_SET_TXTD_START_TIMESTAMP,
-
- WMI_PDEV_PARAM_SET_MESH_PARAMS,
-
- WMI_PDEV_PARAM_LOW_LATENCY_SCHED_MODE,
-
- WMI_PDEV_PARAM_MPD_USERPD_SSR,
-
- WMI_PDEV_PARAM_DISABLE_HW_ASSIST,
-
- WMI_PDEV_PARAM_SCAN_RADIO_TX_ON_DFS,
- } WMI_PDEV_PARAM;
- #define WMI_PDEV_ONLY_BSR_TRIG_IS_ENABLED(trig_type) WMI_GET_BITS(trig_type, 0, 1)
- #define WMI_PDEV_ONLY_BSR_TRIG_ENABLE(trig_type) WMI_SET_BITS(trig_type, 0, 1, 1)
- #define WMI_PDEV_ONLY_BSR_TRIG_DISABLE(trig_type) WMI_SET_BITS(trig_type, 0, 1, 0)
- #define WMI_PDEV_ONLY_BASIC_TRIG_IS_ENABLED(trig_type) WMI_GET_BITS(trig_type, 1, 1)
- #define WMI_PDEV_ONLY_BASIC_TRIG_ENABLE(trig_type) WMI_SET_BITS(trig_type, 1, 1, 1)
- #define WMI_PDEV_ONLY_BASIC_TRIG_DISABLE(trig_type) WMI_SET_BITS(trig_type, 1, 1, 0)
- #define WMI_PDEV_MU_RTS_IS_ENABLED(trig_type) WMI_GET_BITS(trig_type, 2, 1)
- #define WMI_PDEV_MU_RTS_ENABLE(trig_type) WMI_SET_BITS(trig_type, 2, 1, 1)
- #define WMI_PDEV_MU_RTS_DISABLE(trig_type) WMI_SET_BITS(trig_type, 2, 1, 0)
- #define WMI_PDEV_EMBEDDED_TRIGGER_IS_ENABLED(trig_type) WMI_GET_BITS(trig_type, 3, 1)
- #define WMI_PDEV_EMBEDDED_TRIGGER_ENABLE(trig_type) WMI_SET_BITS(trig_type, 3, 1, 1)
- #define WMI_PDEV_EMBEDDED_TRIGGER_DISABLE(trig_type) WMI_SET_BITS(trig_type, 3, 1, 0)
- #define WMI_PDEV_TWT_SCHED_CFG_IS_DL_MU_IS_ENABLED(twt_sched_cfg) WMI_GET_BITS(twt_sched_cfg, 0, 1)
- #define WMI_PDEV_TWT_SCHED_CFG_DL_MU_ENABLE(twt_sched_cfg) WMI_SET_BITS(twt_sched_cfg, 0, 1, 1)
- #define WMI_PDEV_TWT_SCHED_CFG_DL_MU_DISABLE(twt_sched_cfg) WMI_SET_BITS(twt_sched_cfg, 0, 1, 0)
- #define WMI_PDEV_TWT_SCHED_CFG_IS_UL_MU_IS_ENABLED(twt_sched_cfg) WMI_GET_BITS(twt_sched_cfg, 1, 1)
- #define WMI_PDEV_TWT_SCHED_CFG_UL_MU_ENABLE(twt_sched_cfg) WMI_SET_BITS(twt_sched_cfg, 1, 1, 1)
- #define WMI_PDEV_TWT_SCHED_CFG_UL_MU_DISABLE(twt_sched_cfg) WMI_SET_BITS(twt_sched_cfg, 1, 1, 0)
- #define WMI_PDEV_TWT_SCHED_CFG_IS_WMM_IS_ENABLED(twt_sched_cfg) WMI_GET_BITS(twt_sched_cfg, 2, 1)
- #define WMI_PDEV_TWT_SCHED_CFG_WMM_ENABLE(twt_sched_cfg) WMI_SET_BITS(twt_sched_cfg, 2, 1, 1)
- #define WMI_PDEV_TWT_SCHED_CFG_WMM_DISABLE(twt_sched_cfg) WMI_SET_BITS(twt_sched_cfg, 2, 1, 0)
- #define WMI_PDEV_TWT_SCHED_CFG_IS_USE_ONLY_BASIC_TRIGGER_IS_ENABLED(twt_sched_cfg) WMI_GET_BITS(twt_sched_cfg, 3, 1)
- #define WMI_PDEV_TWT_SCHED_CFG_USE_ONLY_BASIC_TRIGGER_ENABLE(twt_sched_cfg) WMI_SET_BITS(twt_sched_cfg, 3, 1, 1)
- #define WMI_PDEV_TWT_SCHED_CFG_USE_ONLY_BASIC_TRIGGER_DISABLE(twt_sched_cfg) WMI_SET_BITS(twt_sched_cfg, 3, 1, 0)
- #define WMI_PDEV_LSIG_LEN_DURATION_ENABLE(lsig_len) WMI_SET_BITS(lsig_len, 0, 31, 1)
- #define WMI_PDEV_LSIG_LEN_DURATION_DISABLE(lsig_len) WMI_SET_BITS(lsig_len, 0, 31, 0)
- #define WMI_PDEV_LSIG_LEN_DURATION_GET(lsig_len) WMI_GET_BITS(lsig_len, 0, 30)
- #define WMI_PDEV_LSIG_LEN_DURATION_SET(lsig_len, value) WMI_SET_BITS(lsig_len, 0, 30, value)
- #define WMI_PDEV_IS_NON_SRG_ENABLED(pd_threshold_cfg) WMI_GET_BITS(pd_threshold_cfg, 31, 1)
- #define WMI_PDEV_NON_SRG_ENABLE(pd_threshold_cfg) WMI_SET_BITS(pd_threshold_cfg, 31, 1, 1)
- #define WMI_PDEV_NON_SRG_DISABLE(pd_threshold_cfg) WMI_SET_BITS(pd_threshold_cfg, 31, 1, 0)
- #define WMI_PDEV_NON_SRG_PD_THRESHOLD_SET(pd_threshold_cfg, value) WMI_SET_BITS(pd_threshold_cfg, 0, 8, value)
- #define WMI_PDEV_NON_SRG_PD_THRESHOLD_GET(pd_threshold_cfg) WMI_GET_BITS(pd_threshold_cfg, 0, 8)
- #define WMI_PDEV_IS_SRG_ENABLED(pd_threshold_cfg) WMI_GET_BITS(pd_threshold_cfg, 30, 1)
- #define WMI_PDEV_SRG_ENABLE(pd_threshold_cfg) WMI_SET_BITS(pd_threshold_cfg, 30, 1, 1)
- #define WMI_PDEV_SRG_DISABLE(pd_threshold_cfg) WMI_SET_BITS(pd_threshold_cfg, 30, 1, 0)
- #define WMI_PDEV_SRG_PD_THRESHOLD_SET(pd_threshold_cfg, value) WMI_SET_BITS(pd_threshold_cfg, 8, 8, value)
- #define WMI_PDEV_SRG_PD_THRESHOLD_GET(pd_threshold_cfg) WMI_GET_BITS(pd_threshold_cfg, 8, 8)
- #define WMI_PDEV_IS_PD_THRESHOLD_IN_DBM(pd_threshold_cfg) WMI_GET_BITS(pd_threshold_cfg, 29, 1)
- #define WMI_PDEV_SET_PD_THRESHOLD_IN_DBM(pd_threshold_cfg) WMI_SET_BITS(pd_threshold_cfg, 29, 1, 1)
- #define WMI_PDEV_OBSS_PD_ENABLE_PER_AC_SET(per_ac_cfg, value) WMI_SET_BITS(per_ac_cfg, 0, 4, value)
- #define WMI_PDEV_OBSS_PD_ENABLE_PER_AC_GET(per_ac_cfg) WMI_GET_BITS(per_ac_cfg, 0, 4)
- #define WMI_PDEV_SRP_ENABLE_PER_AC_SET(per_ac_cfg, value) WMI_SET_BITS(per_ac_cfg, 16, 4, value)
- #define WMI_PDEV_SRP_ENABLE_PER_AC_GET(per_ac_cfg) WMI_GET_BITS(per_ac_cfg, 16, 4)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 param_id;
-
- A_UINT32 param_value;
- } wmi_pdev_set_param_cmd_fixed_param;
- typedef enum {
- WMI_TBTT_CTRL_HW_TRUNCATE = 0,
- WMI_TBTT_CTRL_SW_TRUNCATE,
- WMI_TBTT_CTRL_IGNORE_TBTT,
- WMI_TBTT_CTRL_MAX = 0x7,
- } WMI_TBTT_CTRL_CFG;
- #define WMI_PDEV_PARAM_TBTT_CTRL_CFG_S 0
- #define WMI_PDEV_PARAM_TBTT_CTRL_CFG 0x00000007
- #define WMI_PDEV_PARAM_GET_TBTT_CTRL_CFG(word32) \
- WMI_F_MS(word32, WMI_PDEV_PARAM_TBTT_CTRL_CFG)
- #define WMI_PDEV_PARAM_SET_TBTT_CTRL_CFG(word32, value) \
- WMI_F_RMW(word32,value,WMI_PDEV_PARAM_TBTT_CTRL_CFG)
- #define WMI_PDEV_PARAM_11B_TX_CHAIN_NUM_S 0
- #define WMI_PDEV_PARAM_11B_TX_CHAIN_NUM 0x0000FFFF
- #define WMI_PDEV_PARAM_11AG_TX_CHAIN_NUM_S 16
- #define WMI_PDEV_PARAM_11AG_TX_CHAIN_NUM 0xFFFF0000
- #define WMI_PDEV_PARAM_GET_11B_TX_CHAIN_NUM(word32) WMI_F_MS(word32, WMI_PDEV_PARAM_11B_TX_CHAIN_NUM)
- #define WMI_PDEV_PARAM_SET_11B_TX_CHAIN_NUM(word32, value) WMI_F_RMW(word32,value,WMI_PDEV_PARAM_11B_TX_CHAIN_NUM)
- #define WMI_PDEV_PARAM_GET_11AG_TX_CHAIN_NUM(word32) WMI_F_MS(word32, WMI_PDEV_PARAM_11AG_TX_CHAIN_NUM)
- #define WMI_PDEV_PARAM_SET_11AG_TX_CHAIN_NUM(word32, value) WMI_F_RMW(word32,value,WMI_PDEV_PARAM_11AG_TX_CHAIN_NUM)
- typedef enum {
- WMI_CTS_CBW_INVALID = 0,
- WMI_CTS_CBW_20,
- WMI_CTS_CBW_40,
- WMI_CTS_CBW_80,
- WMI_CTS_CBW_80_80,
- WMI_CTS_CBW_160,
- } WMI_CTS_CBW;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 param;
- } wmi_pdev_get_tpc_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 chain_rssi[WMI_MAX_CHAINS];
-
- A_UINT32 ant_id[WMI_MAX_CHAINS];
-
- wmi_mac_addr macaddr;
- } wmi_pdev_div_get_rssi_antid_fixed_param;
- typedef enum {
- WMI_TPC_STATS_EVENT_SEND_REG = 0x00000001,
- WMI_TPC_STATS_EVENT_SEND_RATE = 0x00000002,
- WMI_TPC_STATS_EVENT_SEND_CTL = 0x00000004,
- WMI_TPC_STATS_EVENT_SEND_REG_RATE_CTL = 0x00000007,
- } WMI_PDEV_TPC_STATS_PARAMS;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 param;
- } wmi_pdev_get_tpc_stats_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 end_of_event;
- A_UINT32 event_count;
-
-
-
-
- } wmi_pdev_get_tpc_stats_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 regDomain;
- A_UINT32 chanFreq;
- A_UINT32 phyMode;
- A_UINT32 maxAntennaGain;
- A_UINT32 twiceMaxRDPower;
- A_INT32 userAntennaGain;
- A_UINT32 powerLimit;
- A_UINT32 rateMax;
- A_UINT32 numTxChain;
- A_UINT32 ctl;
- A_UINT32 flags;
- } wmi_tpc_configs;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 reg_power_type;
- A_UINT32 reg_power_array_len;
- A_UINT32 d1;
- A_UINT32 d2;
- A_UINT32 d3;
- A_UINT32 d4;
-
- } wmi_max_reg_power_allowed;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 rate_array_type;
- A_UINT32 rate_array_len;
-
- } wmi_tpc_rates_array;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 ctl_array_type;
- A_UINT32 ctl_array_len;
- A_UINT32 end_of_ctl_pwr;
- A_UINT32 ctl_pwr_count;
- A_UINT32 d1;
- A_UINT32 d2;
- A_UINT32 d3;
- A_UINT32 d4;
-
- } wmi_tpc_ctl_pwr_table;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 param;
- A_UINT32 pdev_id;
- } wmi_pdev_bss_chan_info_request_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 total_len;
- A_UINT32 len;
- A_UINT32 seq;
- } wmi_pdev_update_ctltable_request_fixed_param;
- #define WMI_ESP_ESTIMATE_GET_BE(airtime) WMI_GET_BITS(airtime, 0, 8)
- #define WMI_ESP_ESTIMATE_SET_BE(airtime, value) WMI_SET_BITS(airtime, 0, 8, value)
- #define WMI_ESP_ESTIMATE_GET_BK(airtime) WMI_GET_BITS(airtime, 8, 8)
- #define WMI_ESP_ESTIMATE_SET_BK(airtime, value) WMI_SET_BITS(airtime, 8, 8, value)
- #define WMI_ESP_ESTIMATE_GET_VI(airtime) WMI_GET_BITS(airtime, 16, 8)
- #define WMI_ESP_ESTIMATE_SET_VI(airtime, value) WMI_SET_BITS(airtime, 16, 8, value)
- #define WMI_ESP_ESTIMATE_GET_VO(airtime) WMI_GET_BITS(airtime, 24, 8)
- #define WMI_ESP_ESTIMATE_SET_VO(airtime, value) WMI_SET_BITS(airtime, 24, 8, value)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 ac_airtime_percentage;
- } wmi_esp_estimate_event_fixed_param;
- #define WMI_FAST_DIVERSITY_BIT_OFFSET 0
- #define WMI_SLOW_DIVERSITY_BIT_OFFSET 1
- #define WMI_SLOW_DIVERSITY_CH0_WEIGHT_SHIFT 2
- #define WMI_SLOW_DIVERSITY_CH0_WEIGHT_MASK (0xf << WMI_SLOW_DIVERSITY_CH0_WEIGHT_SHIFT)
- #define WMI_SLOW_DIVERSITY_CH0_WEIGHT_GET_BITS(word32) \
- (((word32) & WMI_SLOW_DIVERSITY_CH0_WEIGHT_MASK) >> WMI_SLOW_DIVERSITY_CH0_WEIGHT_SHIFT)
- #define WMI_SLOW_DIVERSITY_CH0_WEIGHT_SET_BITS(word32, value) \
- do { \
- (word32) &= ~WMI_SLOW_DIVERSITY_CH0_WEIGHT_MASK; \
- (word32) |= ((value) << WMI_SLOW_DIVERSITY_CH0_WEIGHT_SHIFT) & \
- WMI_SLOW_DIVERSITY_CH0_WEIGHT_MASK; \
- } while (0)
- #define WMI_SLOW_DIVERSITY_CH1_WEIGHT_SHIFT 6
- #define WMI_SLOW_DIVERSITY_CH1_WEIGHT_MASK (0xf << WMI_SLOW_DIVERSITY_CH1_WEIGHT_SHIFT)
- #define WMI_SLOW_DIVERSITY_CH1_WEIGHT_GET_BITS(word32) \
- (((word32) & WMI_SLOW_DIVERSITY_CH1_WEIGHT_MASK) >> WMI_SLOW_DIVERSITY_CH1_WEIGHT_SHIFT)
- #define WMI_SLOW_DIVERSITY_CH1_WEIGHT_SET_BITS(word32, value) \
- do { \
- (word32) &= ~WMI_SLOW_DIVERSITY_CH1_WEIGHT_MASK; \
- (word32) |= ((value) << WMI_SLOW_DIVERSITY_CH1_WEIGHT_SHIFT) & \
- WMI_SLOW_DIVERSITY_CH1_WEIGHT_MASK; \
- } while (0)
- typedef struct {
- A_UINT32 tlv_header;
- union {
- A_UINT32 mac_id;
-
- A_UINT32 pdev_id;
- };
-
- A_UINT32 value;
- } wmi_pdev_set_antenna_diversity_cmd_fixed_param;
- #define WMI_MAX_RSSI_THRESHOLD_SUPPORTED 3
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 request_id;
- A_UINT32 enabled_bitmap;
- A_UINT32 low_rssi_breach_threshold[WMI_MAX_RSSI_THRESHOLD_SUPPORTED];
- A_UINT32 hi_rssi_breach_threshold[WMI_MAX_RSSI_THRESHOLD_SUPPORTED];
- A_UINT32 lo_rssi_reenable_hysteresis;
- A_UINT32 hi_rssi_reenable_histeresis;
- A_UINT32 min_report_interval;
- A_UINT32 max_num_report;
- } wmi_rssi_breach_monitor_config_fixed_param;
- typedef struct {
-
- A_UINT32 param;
- } wmi_pdev_dump_cmd;
- typedef enum {
- PAUSE_TYPE_CHOP = 0x1,
- PAUSE_TYPE_PS = 0x2,
- PAUSE_TYPE_UAPSD = 0x3,
- PAUSE_TYPE_P2P_CLIENT_NOA = 0x4,
- PAUSE_TYPE_P2P_GO_PS = 0x5,
- PAUSE_TYPE_STA_ADD_BA = 0x6,
- PAUSE_TYPE_AP_PS = 0x7,
- PAUSE_TYPE_IBSS_PS = 0x8,
- PAUSE_TYPE_CHOP_TDLS_OFFCHAN = 0x9,
- PAUSE_TYPE_HOST = 0x15,
- } wmi_tx_pause_type;
- typedef enum {
- ACTION_PAUSE = 0x0,
- ACTION_UNPAUSE = 0x1,
- } wmi_tx_pause_action;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pause_type;
- A_UINT32 action;
- A_UINT32 vdev_map;
- A_UINT32 peer_id;
- A_UINT32 tid_map;
- } wmi_tx_pause_event_fixed_param;
- typedef enum {
- WMI_MGMT_TX_COMP_TYPE_COMPLETE_OK = 0,
- WMI_MGMT_TX_COMP_TYPE_DISCARD,
- WMI_MGMT_TX_COMP_TYPE_INSPECT,
- WMI_MGMT_TX_COMP_TYPE_COMPLETE_NO_ACK,
- WMI_MGMT_TX_COMP_TYPE_MAX,
- } WMI_MGMT_TX_COMP_STATUS_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 desc_id;
- A_UINT32 status;
-
- A_UINT32 pdev_id;
-
- A_UINT32 ppdu_id;
-
- A_UINT32 ack_rssi;
-
- A_UINT32 tx_rate;
-
- A_UINT32 peer_phymode;
- A_UINT32 retries_count;
-
- A_UINT32 tx_tsf_l32;
- A_UINT32 tx_tsf_u32;
- } wmi_mgmt_tx_compl_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 desc_id;
- A_UINT32 status;
-
- A_UINT32 pdev_id;
-
- A_UINT32 ppdu_id;
- } wmi_offchan_data_tx_compl_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 desc_id;
- A_UINT32 status;
-
- A_UINT32 pdev_id;
-
- A_UINT32 ppdu_id;
-
- A_INT32 ack_rssi;
- } wmi_qos_null_frame_tx_compl_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_reports;
-
- } wmi_mgmt_tx_compl_bundle_event_fixed_param;
- #define WMI_TPC_RATE_MAX 160
- #define WMI_TPC_TX_NUM_CHAIN 4
- typedef enum {
-
- WMI_TPC_CONFIG_EVENT_FLAG_TABLE_CDD = 0x1,
- WMI_TPC_CONFIG_EVENT_FLAG_TABLE_STBC = 0x2,
- WMI_TPC_CONFIG_EVENT_FLAG_TABLE_TXBF = 0x4,
-
- WMI_TPC_CONFIG_EVENT_FLAG_IF_MASK = 0x0F00,
- WMI_TPC_CONFIG_EVENT_FLAG_IF_V1 = 0x0100,
- } WMI_TPC_CONFIG_EVENT_FLAG;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 regDomain;
- A_UINT32 chanFreq;
- A_UINT32 phyMode;
- A_UINT32 twiceAntennaReduction;
- A_UINT32 twiceMaxRDPower;
- A_INT32 twiceAntennaGain;
- A_UINT32 powerLimit;
- A_UINT32 rateMax;
- A_UINT32 numTxChain;
- A_UINT32 ctl;
- A_UINT32 flags;
-
- A_INT8 maxRegAllowedPower[WMI_TPC_TX_NUM_CHAIN];
- A_INT8 maxRegAllowedPowerAGCDD[WMI_TPC_TX_NUM_CHAIN][WMI_TPC_TX_NUM_CHAIN];
- A_INT8 maxRegAllowedPowerAGSTBC[WMI_TPC_TX_NUM_CHAIN][WMI_TPC_TX_NUM_CHAIN];
- A_INT8 maxRegAllowedPowerAGTXBF[WMI_TPC_TX_NUM_CHAIN][WMI_TPC_TX_NUM_CHAIN];
-
- A_UINT32 pdev_id;
- } wmi_pdev_tpc_config_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 num_chains_valid;
-
- A_UINT32 chain_rssi[WMI_MAX_CHAINS];
-
- A_UINT32 ant_id[WMI_MAX_CHAINS];
-
- wmi_mac_addr macaddr;
-
- A_INT32 chain_evm[WMI_MAX_CHAINS];
- } wmi_pdev_div_rssi_antid_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 freq;
- A_INT32 noise_floor;
-
- A_UINT32 rx_clear_count_low;
- A_UINT32 rx_clear_count_high;
-
- A_UINT32 cycle_count_low;
- A_UINT32 cycle_count_high;
-
- A_UINT32 tx_cycle_count_low;
- A_UINT32 tx_cycle_count_high;
-
- A_UINT32 rx_cycle_count_low;
- A_UINT32 rx_cycle_count_high;
- A_UINT32 rx_bss_cycle_count_low;
- A_UINT32 rx_bss_cycle_count_high;
- A_UINT32 pdev_id;
- } wmi_pdev_bss_chan_info_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 total_len;
- A_UINT32 len;
- A_UINT32 seq;
- } wmi_pdev_update_ctltable_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 periodCnt;
- A_UINT32 L1Cnt;
- A_UINT32 L11Cnt;
- A_UINT32 L12Cnt;
- A_UINT32 L1Entry;
- A_UINT32 L11Entry;
- A_UINT32 L12Entry;
-
- A_UINT32 pdev_id;
- } wmi_pdev_l1ss_track_event_fixed_param;
- typedef struct {
- A_UINT32 len;
- A_UINT32 msgref;
- A_UINT32 segmentInfo;
- } wmi_pdev_seg_hdr_info;
- typedef enum {
- WMI_TP_SCALE_MAX = 0,
- WMI_TP_SCALE_50 = 1,
- WMI_TP_SCALE_25 = 2,
- WMI_TP_SCALE_12 = 3,
- WMI_TP_SCALE_MIN = 4,
- WMI_TP_SCALE_SIZE = 5,
- } WMI_TP_SCALE;
- #define WMI_MAX_DEBUG_MESG (sizeof(A_UINT32) * 32)
- typedef struct {
-
- char bufp[WMI_MAX_DEBUG_MESG];
- } wmi_debug_mesg_event;
- enum {
-
- VDEV_SUBTYPE_P2PDEV = 0,
-
- VDEV_SUBTYPE_P2PCLI,
-
- VDEV_SUBTYPE_P2PGO,
-
- VDEV_SUBTYPE_BT,
- };
- typedef struct {
-
- wmi_channel chan;
- } wmi_pdev_set_channel_cmd;
- typedef enum {
- WMI_PKTLOG_EVENT_RX = 0x00000001,
- WMI_PKTLOG_EVENT_TX = 0x00000002,
- WMI_PKTLOG_EVENT_RCF = 0x00000004,
- WMI_PKTLOG_EVENT_RCU = 0x00000008,
-
- WMI_PKTLOG_EVENT_SMART_ANTENNA = 0x00000020,
- WMI_PKTLOG_EVENT_SW = 0x00000040,
- WMI_PKTLOG_EVENT_PHY = 0x00000080,
- WMI_PKTLOG_EVENT_CBF = 0x00000100,
- } WMI_PKTLOG_EVENT;
- typedef enum {
- WMI_PKTLOG_ENABLE_AUTO = 0,
- WMI_PKTLOG_ENABLE_FORCE = 1,
- } WMI_PKTLOG_ENABLE;
- typedef enum {
- WMI_PKTLOG_FILTER_IN = 0,
- WMI_PKTLOG_FILTER_OUT = 1,
- } WMI_PKTLOG_FILTER_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- A_UINT32 evlist;
- A_UINT32 enable;
- } wmi_pdev_pktlog_enable_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- } wmi_pdev_pktlog_disable_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_mac_address;
- } wmi_pdev_pktlog_filter_info;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 enable;
- A_UINT32 filter_type;
- A_UINT32 num_of_mac_addresses;
-
- } wmi_pdev_pktlog_filter_cmd_fixed_param;
- typedef enum {
- WMI_ROGUE_AP_ON_STA_PS = 1,
- } WMI_ROGUE_AP_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 type;
-
- A_UINT32 sta_ps_detection_enabled;
- } wmi_pdev_set_rap_config_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_mac_addr bssid;
- } wmi_pdev_set_rap_config_on_sta_ps_tlv_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- A_UINT32 enable_Mib;
- } wmi_mib_stats_enable_cmd_fixed_param;
- #define WMI_DSCP_MAP_MAX (64)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 reserved0;
-
- A_UINT32 dscp_to_tid_map[WMI_DSCP_MAP_MAX];
- } wmi_pdev_set_dscp_tid_map_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 dscp_to_tid_map[WMI_DSCP_MAP_MAX];
- A_UINT32 enable_override;
- } wmi_vdev_set_dscp_tid_map_cmd_fixed_param;
- enum WMI_WAKE_GPIO_TYPE {
- WMI_WAKE_GPIO_LOW = 1,
- WMI_WAKE_GPIO_HIGH = 2,
- WMI_WAKE_GPIO_RISING_EDGE = 3,
- WMI_WAKE_GPIO_FALLING_EDGE = 4,
- };
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 host_wakeup_gpio;
- A_UINT32 host_wakeup_type;
- A_UINT32 target_wakeup_gpio;
- A_UINT32 target_wakeup_type;
- } WMI_PDEV_SET_WAKEUP_CONFIG_CMDID_fixed_param;
- typedef enum {
- WMI_SET_MCAST_RATE,
- WMI_SET_BCAST_RATE
- } MCAST_BCAST_RATE_ID;
- typedef struct {
- MCAST_BCAST_RATE_ID rate_id;
- A_UINT32 rate;
- } mcast_bcast_rate;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 cwmin;
- A_UINT32 cwmax;
- A_UINT32 aifs;
- A_UINT32 txoplimit;
- A_UINT32 acm;
- A_UINT32 no_ack;
- } wmi_wmm_params;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 reserved0;
- A_UINT32 dg_type;
- } wmi_pdev_set_wmm_params_cmd_fixed_param;
- typedef enum {
- WMI_REQUEST_PEER_STAT = 0x00001,
- WMI_REQUEST_AP_STAT = 0x00002,
- WMI_REQUEST_PDEV_STAT = 0x00004,
- WMI_REQUEST_VDEV_STAT = 0x00008,
- WMI_REQUEST_BCNFLT_STAT = 0x00010,
- WMI_REQUEST_VDEV_RATE_STAT = 0x00020,
- WMI_REQUEST_INST_STAT = 0x00040,
- WMI_REQUEST_MIB_STAT = 0x00080,
- WMI_REQUEST_RSSI_PER_CHAIN_STAT = 0x00100,
- WMI_REQUEST_CONGESTION_STAT = 0x00200,
- WMI_REQUEST_PEER_EXTD_STAT = 0x00400,
- WMI_REQUEST_BCN_STAT = 0x00800,
- WMI_REQUEST_BCN_STAT_RESET = 0x01000,
- WMI_REQUEST_PEER_EXTD2_STAT = 0x02000,
- WMI_REQUEST_MIB_EXTD_STAT = 0x04000,
- WMI_REQUEST_PMF_BCN_PROTECT_STAT = 0x08000,
- WMI_REQUEST_VDEV_EXTD_STAT = 0x10000,
- WMI_REQUEST_PDEV_EXTD_STAT = 0x20000,
- } wmi_stats_id;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 cfg_retry_count;
- A_UINT32 retry_count;
- } wmi_inst_rssi_stats_params;
- typedef struct {
- A_UINT32 tlv_header;
- wmi_stats_id stats_id;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
- A_UINT32 pdev_id;
- } wmi_request_stats_cmd_fixed_param;
- #define WMI_LINK_STATS_RADIO 0x00000001
- #define WMI_LINK_STATS_IFACE 0x00000002
- #define WMI_LINK_STATS_ALL_PEER 0x00000004
- #define WMI_LINK_STATS_PER_PEER 0x00000008
- #define WIFI_STATS_RADIO 0x00000001
- #define WIFI_STATS_RADIO_CCA 0x00000002
- #define WIFI_STATS_RADIO_CHANNELS 0x00000004
- #define WIFI_STATS_RADIO_SCAN 0x00000008
- #define WIFI_STATS_IFACE 0x00000010
- #define WIFI_STATS_IFACE_TXRATE 0x00000020
- #define WIFI_STATS_IFACE_AC 0x00000040
- #define WIFI_STATS_IFACE_CONTENTION 0x00000080
- #define WMI_STATS_IFACE_ALL_PEER 0x00000100
- #define WMI_STATS_IFACE_PER_PEER 0x00000200
- #define WMI_STATS_VALUE_INVALID 0xffffffff
- #define WMI_DIAG_ID_GET(diag_events_logs) WMI_GET_BITS(diag_events_logs, 0, 16)
- #define WMI_DIAG_ID_SET(diag_events_logs, value) WMI_SET_BITS(diag_events_logs, 0, 16, value)
- #define WMI_DIAG_TYPE_GET(diag_events_logs) WMI_GET_BITS(diag_events_logs, 16, 1)
- #define WMI_DIAG_TYPE_SET(diag_events_logs, value) WMI_SET_BITS(diag_events_logs, 16, 1, value)
- #define WMI_DIAG_ID_ENABLED_DISABLED_GET(diag_events_logs) WMI_GET_BITS(diag_events_logs, 17, 1)
- #define WMI_DIAG_ID_ENABLED_DISABLED_SET(diag_events_logs, value) WMI_SET_BITS(diag_events_logs, 17, 1, value)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_of_diag_events_logs;
- } wmi_diag_event_log_config_fixed_param;
- #define WMI_DIAG_FREQUENCY_GET(diag_events_logs) WMI_GET_BITS(diag_events_logs, 17, 1)
- #define WMI_DIAG_FREQUENCY_SET(diag_events_logs, value) WMI_SET_BITS(diag_events_logs, 17, 1, value)
- #define WMI_DIAG_EXT_FEATURE_GET(diag_events_logs) WMI_GET_BITS(diag_events_logs, 18, 1)
- #define WMI_DIAG_EXT_FEATURE_SET(diag_events_logs, value) WMI_SET_BITS(diag_events_logs, 18, 1, value)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_of_diag_events_logs;
- } wmi_diag_event_log_supported_event_fixed_params;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 reserved0;
- } wmi_debug_mesg_flush_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id_bitmap;
- A_UINT32 data_stall_type;
-
- A_UINT32 reason_code1;
- A_UINT32 reason_code2;
- A_UINT32 recovery_type;
- } wmi_debug_mesg_fw_data_stall_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 reserved0;
- } wmi_debug_mesg_flush_complete_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 request_id;
-
- A_UINT32 event_bitmap;
-
- A_UINT32 rssi;
-
- wmi_mac_addr bssid;
- } wmi_rssi_breach_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 seg_id;
-
- A_UINT32 seg_start_addr_lo;
- A_UINT32 seg_start_addr_hi;
-
- A_UINT32 seg_length;
-
- A_UINT32 dest_addr_lo;
- A_UINT32 dest_addr_hi;
- } wmi_fw_mem_dump;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 num_fw_mem_dump_segs;
- } wmi_get_fw_mem_dump_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 fw_mem_dump_complete;
- } wmi_update_fw_mem_dump_fixed_param;
- typedef enum {
- WMI_ROAMING_IDLE = 0,
- WMI_ROAMING_ACTIVE = 1,
- } wmi_roam_state;
- typedef enum {
- WMI_AC_VO = 0,
- WMI_AC_VI = 1,
- WMI_AC_BE = 2,
- WMI_AC_BK = 3,
- WMI_AC_MAX = 4,
- } wmi_traffic_ac;
- typedef enum {
- WMI_STA_STATS = 0,
- WMI_SOFTAP_STATS = 1,
- WMI_IBSS_STATS = 2,
- WMI_P2P_CLIENT_STATS = 3,
- WMI_P2P_GO_STATS = 4,
- WMI_NAN_STATS = 5,
- WMI_MESH_STATS = 6,
- } wmi_link_iface_type;
- typedef enum {
- WMI_CHAN_WIDTH_20 = 0,
- WMI_CHAN_WIDTH_40 = 1,
- WMI_CHAN_WIDTH_80 = 2,
- WMI_CHAN_WIDTH_160 = 3,
- WMI_CHAN_WIDTH_80P80 = 4,
- WMI_CHAN_WIDTH_5 = 5,
- WMI_CHAN_WIDTH_10 = 6,
- WMI_CHAN_WIDTH_165 = 7,
- WMI_CHAN_WIDTH_160P160 = 8,
- WMI_CHAN_WIDTH_320 = 9,
- } wmi_channel_width;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 stop_stats_collection_req;
-
- A_UINT32 stats_clear_req_mask;
-
- wmi_mac_addr peer_macaddr;
- } wmi_clear_link_stats_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 mpdu_size_threshold;
-
- A_UINT32 aggressive_statistics_gathering;
- } wmi_start_link_stats_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 stats_type;
-
- A_UINT32 vdev_id;
-
- A_UINT32 request_id;
-
- wmi_mac_addr peer_macaddr;
- } wmi_request_link_stats_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 link_stats_type;
-
- A_UINT32 vdev_id;
-
- A_UINT32 request_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 get_sta_stats_id;
-
- A_UINT32 pdev_id;
- } wmi_request_unified_ll_get_sta_cmd_fixed_param;
- #define WLM_STATS_REQ_LINK 0x00000001
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 request_bitmask;
- } wmi_request_wlm_stats_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 channel_width;
-
- A_UINT32 center_freq;
-
- A_UINT32 center_freq0;
-
- A_UINT32 center_freq1;
-
- A_UINT32 radio_awake_time;
-
- A_UINT32 cca_busy_time;
-
- A_UINT32 tx_time;
-
- A_UINT32 rx_time;
-
- } wmi_channel_stats;
- #define MAX_TPC_LEVELS 64
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 radio_id;
-
- A_UINT32 on_time;
-
- A_UINT32 tx_time;
-
- A_UINT32 rx_time;
-
- A_UINT32 on_time_scan;
-
- A_UINT32 on_time_nbd;
-
- A_UINT32 on_time_gscan;
-
- A_UINT32 on_time_roam_scan;
-
- A_UINT32 on_time_pno_scan;
-
- A_UINT32 on_time_hs20;
-
- A_UINT32 num_channels;
-
- A_UINT32 tx_time_per_tpc[MAX_TPC_LEVELS];
-
- A_UINT32 on_time_host_scan;
-
- A_UINT32 on_time_lpi_scan;
- } wmi_radio_link_stats;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 total_num_tx_power_levels;
-
- A_UINT32 num_tx_power_levels;
-
- A_UINT32 power_level_offset;
-
- A_UINT32 radio_id;
- } wmi_tx_power_level_stats_evt_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 num_radio;
-
- A_UINT32 more_radio_events;
-
- A_UINT32 more_channels;
- } wmi_radio_link_stats_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 rate;
-
- A_UINT32 bitrate;
-
- A_UINT32 tx_mpdu;
-
- A_UINT32 rx_mpdu;
-
- A_UINT32 mpdu_lost;
-
- A_UINT32 retries;
-
- A_UINT32 retries_short;
-
- A_UINT32 retries_long;
- } wmi_rate_stats;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 peer_type;
-
- wmi_mac_addr peer_mac_address;
-
- A_UINT32 capabilities;
-
- A_UINT32 num_rates;
- } wmi_peer_link_stats;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 num_peers;
-
- A_UINT32 peer_event_number;
-
- A_UINT32 more_data;
- } wmi_peer_stats_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 ac_type;
-
- A_UINT32 tx_mpdu;
-
- A_UINT32 rx_mpdu;
-
-
- A_UINT32 tx_mcast;
-
- A_UINT32 rx_mcast;
-
- A_UINT32 rx_ampdu;
-
- A_UINT32 tx_ampdu;
-
- A_UINT32 mpdu_lost;
-
- A_UINT32 retries;
-
- A_UINT32 retries_short;
-
- A_UINT32 retries_long;
-
- A_UINT32 contention_time_min;
-
- A_UINT32 contention_time_max;
-
- A_UINT32 contention_time_avg;
-
- A_UINT32 contention_num_samples;
-
- A_UINT32 tx_pending_msdu;
- } wmi_wmm_ac_stats;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 beacon_rx;
-
- A_UINT32 mgmt_rx;
-
- A_UINT32 mgmt_action_rx;
-
- A_UINT32 mgmt_action_tx;
-
- A_UINT32 rssi_mgmt;
-
- A_UINT32 rssi_data;
-
- A_UINT32 rssi_ack;
-
- A_UINT32 num_peers;
-
- A_UINT32 num_peer_events;
-
- A_UINT32 num_ac;
-
- A_UINT32 roam_state;
-
-
- A_UINT32 avg_bcn_spread_offset_high;
-
- A_UINT32 avg_bcn_spread_offset_low;
-
- A_UINT32 is_leaky_ap;
-
- A_UINT32 avg_rx_frms_leaked;
-
- A_UINT32 rx_leak_window;
- A_UINT32 tx_rts_succ_cnt;
- A_UINT32 tx_rts_fail_cnt;
- A_UINT32 tx_ppdu_succ_cnt;
- A_UINT32 tx_ppdu_fail_cnt;
-
- A_UINT32 connected_duration;
-
- A_UINT32 disconnected_duration;
-
- A_UINT32 rtt_ranging_duration;
-
- A_UINT32 rtt_responder_duration;
-
- A_UINT32 num_probes_tx;
-
- A_UINT32 num_beacon_miss;
- } wmi_iface_link_stats;
- typedef enum {
- WMI_OFFLOAD_STATS_TYPE_SOC_BCAST = 0,
- WMI_OFFLOAD_STATS_TYPE_SOC_MCAST = 1,
- WMI_OFFLOAD_STATS_TYPE_SOC_UCAST = 2,
- WMI_OFFLOAD_STATS_TYPE_ARP = 3,
- WMI_OFFLOAD_STATS_TYPE_NS = 4,
- WMI_OFFLOAD_STATS_TYPE_APF_BCAST = 5,
- WMI_OFFLOAD_STATS_TYPE_APF_MCAST = 6,
- WMI_OFFLOAD_STATS_TYPE_APF_UCAST = 7,
-
- WMI_OFFLOAD_STATS_TYPE_MAX,
- } wmi_offload_stats_type;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 type;
-
- A_UINT32 rx_count;
-
- A_UINT32 drp_count;
-
- A_UINT32 fwd_count;
- } wmi_iface_offload_stats;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 num_offload_stats;
- } wmi_iface_link_stats_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_bitmask;
-
- A_UINT32 vdev_id;
-
- A_UINT32 timestamp;
-
- A_UINT32 req_interval;
- } wmi_wlm_stats_event_fixed_param;
- enum {
- WMI_PDEV_SUSPEND,
- WMI_PDEV_SUSPEND_AND_DISABLE_INTR,
- };
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- A_UINT32 suspend_opt;
- } wmi_pdev_suspend_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- } wmi_pdev_resume_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_vdev_stats;
- } wmi_vdev_rate_stats_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdevid;
- A_UINT32 tx_nss;
- A_UINT32 rx_nss;
- A_UINT32 tx_preamble;
- A_UINT32 rx_preamble;
- } wmi_vdev_rate_ht_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_failure_info;
- } wmi_rx_aggr_failure_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 start_seq;
- A_UINT32 end_seq;
- } wmi_rx_aggr_failure_info;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
- A_UINT32 key_type;
-
- A_UINT32 key_ix;
- } wmi_peer_tx_pn_request_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
- A_UINT32 key_type;
-
- A_UINT8 pn[16];
-
- A_UINT32 key_ix;
- } wmi_peer_tx_pn_response_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- wmi_stats_id stats_id;
-
- A_UINT32 num_pdev_stats;
-
- A_UINT32 num_vdev_stats;
-
- A_UINT32 num_peer_stats;
- A_UINT32 num_bcnflt_stats;
-
- A_UINT32 num_chan_stats;
-
- A_UINT32 num_mib_stats;
- A_UINT32 pdev_id;
-
- A_UINT32 num_bcn_stats;
-
- A_UINT32 num_peer_extd_stats;
-
- A_UINT32 num_peer_extd2_stats;
-
- A_UINT32 last_event;
-
- A_UINT32 num_mib_extd_stats;
- } wmi_stats_event_fixed_param;
- #define WLAN_STATS_IDLE_TIME_SHIFT 0
- #define WLAN_STATS_IDLE_TIME_TIME 0x00000001
- #define WLAN_STATS_TX_TIME_SHIFT 1
- #define WLAN_STATS_TX_TIME_MASK 0x00000002
- #define WLAN_STATS_RX_IN_BSS_TIME_SHIFT 2
- #define WLAN_STATS_RX_IN_BSS_TIME_MASK 0x00000004
- #define WLAN_STATS_RX_OUT_BSS_TIME_SHIFT 3
- #define WLAN_STATS_RX_OUT_BSS_TIME_MASK 0x00000008
- #define WLAN_STATS_RX_BUSY_TIME_SHIFT 4
- #define WLAN_STATS_RX_BUSY_TIME_MASK 0x00000010
- #define WLAN_STATS_RX_IN_BAD_COND_TIME_SHIFT 5
- #define WLAN_STATS_RX_IN_BAD_COND_TIME_MASK 0x00000020
- #define WLAN_STATS_TX_IN_BAD_COND_TIME_SHIFT 6
- #define WLAN_STATS_TX_IN_BAD_COND_TIME_MASK 0x00000040
- #define WLAN_STATS_WLAN_NOT_AVAIL_TIME_SHIFT 7
- #define WLAN_STATS_WLAN_NOT_AVAIL_TIME_MASK 0x00000080
- #define WLAN_STATS_PER_CHAIN_SNR_SHIFT 0
- #define WLAN_STATS_PER_CHAIN_SNR_MASK 0x00000001
- #define WLAN_STATS_PER_CHAIN_NF_SHIFT 1
- #define WLAN_STATS_PER_CHAIN_NF_MASK 0x00000002
- #define WLAN_STATS_TX_MSDU_CNT_SHIFT 0
- #define WLAN_STATS_TX_MSDU_CNT_MASK 0x00000001
- #define WLAN_STATS_TX_MPDU_CNT_SHIFT 1
- #define WLAN_STATS_TX_MPDU_CNT_MASK 0x00000002
- #define WLAN_STATS_TX_PPDU_CNT_SHIFT 2
- #define WLAN_STATS_TX_PPDU_CNT_MASK 0x00000004
- #define WLAN_STATS_TX_BYTES_SHIFT 3
- #define WLAN_STATS_TX_BYTES_MASK 0x00000008
- #define WLAN_STATS_TX_MSDU_DROP_CNT_SHIFT 4
- #define WLAN_STATS_TX_MSDU_DROP_CNT_MASK 0x00000010
- #define WLAN_STATS_TX_DROP_BYTES_SHIFT 5
- #define WLAN_STATS_TX_DROP_BYTES_MASK 0x00000020
- #define WLAN_STATS_TX_MPDU_RETRY_CNT_SHIFT 6
- #define WLAN_STATS_TX_MPDU_RETRY_CNT_MASK 0x00000040
- #define WLAN_STATS_TX_MPDU_FAIL_CNT_SHIFT 7
- #define WLAN_STATS_TX_MPDU_FAIL_CNT_MASK 0x00000080
- #define WLAN_STATS_TX_PPDU_FAIL_CNT_SHIFT 8
- #define WLAN_STATS_TX_PPDU_FAIL_CNT_MASK 0x00000100
- #define WLAN_STATS_TX_MPDU_AGGR_SHIFT 9
- #define WLAN_STATS_TX_MPDU_AGGR_MASK 0x00000200
- #define WLAN_STATS_TX_SUCC_MCS_SHIFT 10
- #define WLAN_STATS_TX_SUCC_MCS_MASK 0x00000400
- #define WLAN_STATS_TX_FAIL_MCS_SHIFT 11
- #define WLAN_STATS_TX_FAIL_MCS_MASK 0x00000800
- #define WLAN_STATS_TX_PPDU_DELAY_SHIFT 12
- #define WLAN_STATS_TX_PPDU_DELAY_MASK 0x00001000
- #define WLAN_STATS_MAC_RX_MPDU_CNT_SHIFT 0
- #define WLAN_STATS_MAC_RX_MPDU_CNT_MASK 0x00000001
- #define WLAN_STATS_MAC_RX_BYTES_SHIFT 1
- #define WLAN_STATS_MAC_RX_BYTES_MASK 0x00000002
- #define WLAN_STATS_PHY_RX_PPDU_CNT_SHIFT 2
- #define WLAN_STATS_PHY_RX_PPDU_CNT_MASK 0x00000004
- #define WLAN_STATS_PHY_RX_BYTES_SHIFT 3
- #define WLAN_STATS_PHY_RX_BYTES_MASK 0x00000008
- #define WLAN_STATS_RX_DISORDER_CNT_SHIFT 4
- #define WLAN_STATS_RX_DISORDER_CNT_MASK 0x00000010
- #define WLAN_STATS_RX_MPDU_RETRY_CNT_SHIFT 5
- #define WLAN_STATS_RX_MPDU_RETRY_CNT_MASK 0x00000020
- #define WLAN_STATS_RX_MPDU_DUP_CNT_SHIFT 6
- #define WLAN_STATS_RX_MPDU_DUP_CNT_MASK 0x00000040
- #define WLAN_STATS_RX_MPDU_DISCARD_CNT_SHIFT 7
- #define WLAN_STATS_RX_MPDU_DISCARD_CNT_MASK 0x00000080
- #define WLAN_STATS_RX_MPDU_AGGR_SHIFT 8
- #define WLAN_STATS_RX_MPDU_AGGR_MASK 0x00000100
- #define WLAN_STATS_RX_MCS_SHIFT 9
- #define WLAN_STATS_RX_MCS_MASK 0x00000200
- #define WLAN_STATS_STA_PS_INDS_SHIFT 10
- #define WLAN_STATS_STA_PS_INDS_MASK 0x00000400
- #define WLAN_STATS_STA_PS_DURS_SHIFT 11
- #define WLAN_STATS_STA_PS_DURS_MASK 0x00000800
- #define WLAN_STATS_RX_PROBE_REQS_SHIFT 12
- #define WLAN_STATS_RX_PROBE_REQS_MASK 0x00001000
- #define WLAN_STATS_RX_OTH_MGMTS_SHIFT 13
- #define WLAN_STATS_RX_OTH_MGMTS_MASK 0x00002000
- typedef struct
- {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 idle_time;
-
- A_UINT32 tx_time;
-
- A_UINT32 rx_in_bss_time;
-
- A_UINT32 rx_out_bss_time;
-
- A_UINT32 rx_busy_time;
-
- A_UINT32 rx_in_bad_cond_time;
-
- A_UINT32 tx_in_bad_cond_time;
-
- A_UINT32 wlan_not_avail_time;
- } wmi_chan_cca_stats;
- typedef struct
- {
- A_UINT32 tlv_header;
- A_UINT32 idle_time;
- A_UINT32 tx_time;
- A_UINT32 rx_in_bss_time;
- A_UINT32 rx_out_bss_time;
- A_UINT32 rx_busy_time;
- A_UINT32 rx_in_bad_cond_time;
- A_UINT32 tx_in_bad_cond_time;
- A_UINT32 wlan_not_avail_time;
- } wmi_chan_cca_stats_thresh;
- typedef struct
- {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 peer_id;
-
- A_INT32 per_chain_snr[WMI_MAX_CHAINS];
-
- A_INT32 per_chain_nf[WMI_MAX_CHAINS];
-
- A_UINT32 per_antenna_rx_mpdus[WMI_MAX_CHAINS];
-
- A_UINT32 per_antenna_tx_mpdus[WMI_MAX_CHAINS];
-
- A_UINT32 num_chains_valid;
- } wmi_peer_signal_stats;
- typedef struct
- {
- A_UINT32 tlv_header;
- A_UINT32 per_chain_snr;
- A_UINT32 per_chain_nf;
- } wmi_peer_signal_stats_thresh;
- typedef struct
- {
- A_UINT32 tlv_header;
-
- A_UINT32 tx_msdu_cnt;
-
- A_UINT32 tx_mpdu_cnt;
-
- A_UINT32 tx_ppdu_cnt;
-
- A_UINT32 tx_bytes;
-
- A_UINT32 tx_msdu_drop_cnt;
-
- A_UINT32 tx_drop_bytes;
-
- A_UINT32 tx_mpdu_retry_cnt;
-
- A_UINT32 tx_mpdu_fail_cnt;
-
- A_UINT32 tx_ppdu_fail_cnt;
-
- } wmi_tx_stats;
- typedef struct
- {
- A_UINT32 tlv_header;
- A_UINT32 tx_msdu_cnt;
- A_UINT32 tx_mpdu_cnt;
- A_UINT32 tx_ppdu_cnt;
- A_UINT32 tx_bytes;
- A_UINT32 tx_msdu_drop_cnt;
- A_UINT32 tx_drop_bytes;
- A_UINT32 tx_mpdu_retry_cnt;
- A_UINT32 tx_mpdu_fail_cnt;
- A_UINT32 tx_ppdu_fail_cnt;
- A_UINT32 tx_mpdu_aggr;
- A_UINT32 tx_succ_mcs;
- A_UINT32 tx_fail_mcs;
- A_UINT32 tx_ppdu_delay;
- } wmi_tx_stats_thresh;
- typedef struct
- {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 peer_id;
-
- } wmi_peer_ac_tx_stats;
- typedef struct
- {
- A_UINT32 tlv_header;
-
- A_UINT32 mac_rx_mpdu_cnt;
-
- A_UINT32 mac_rx_bytes;
-
- A_UINT32 phy_rx_ppdu_cnt;
-
- A_UINT32 phy_rx_bytes;
-
- A_UINT32 rx_disorder_cnt;
-
- A_UINT32 rx_mpdu_retry_cnt;
-
- A_UINT32 rx_mpdu_dup_cnt;
-
- A_UINT32 rx_mpdu_discard_cnt;
-
- } wmi_rx_stats;
- typedef struct
- {
- A_UINT32 tlv_header;
- A_UINT32 mac_rx_mpdu_cnt;
- A_UINT32 mac_rx_bytes;
- A_UINT32 phy_rx_ppdu_cnt;
- A_UINT32 phy_rx_bytes;
- A_UINT32 rx_disorder_cnt;
- A_UINT32 rx_mpdu_retry_cnt;
- A_UINT32 rx_mpdu_dup_cnt;
- A_UINT32 rx_mpdu_discard_cnt;
- A_UINT32 rx_mpdu_aggr;
- A_UINT32 rx_mcs;
- A_UINT32 sta_ps_inds;
- A_UINT32 sta_ps_durs;
- A_UINT32 rx_probe_reqs;
- A_UINT32 rx_oth_mgmts;
- } wmi_rx_stats_thresh;
- typedef struct
- {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 peer_id;
-
- A_UINT32 sta_ps_inds;
-
- A_UINT32 sta_ps_durs;
-
- A_UINT32 rx_probe_reqs;
-
- A_UINT32 rx_oth_mgmts;
-
- } wmi_peer_ac_rx_stats;
- typedef struct
- {
- A_UINT32 tlv_header;
-
- A_UINT32 start_low_freq_msec;
- A_UINT32 start_low_freq_count;
- A_UINT32 end_low_freq_msec;
- A_UINT32 end_low_freq_count;
- } wmi_stats_period;
- typedef enum {
-
- TRIGGER_COND_ID_TIMER_TIMED_OUT = 0x1,
-
- TRIGGER_COND_ID_THRESH_EXCEEDED = 0x2,
-
- TRIGGER_COND_ID_ONE_TIME_REQUEST = 0x3,
- } wmi_report_stats_event_trigger_cond_id;
- typedef struct
- {
- A_UINT32 tlv_header;
-
- A_UINT32 sa_ant_matrix;
-
- A_UINT32 phyerr_count;
-
- A_UINT32 timestamp;
- } wmi_stats_interference;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 trigger_cond_id;
-
- A_UINT32 cca_chgd_bitmap;
-
- A_UINT32 sig_chgd_bitmap;
-
- A_UINT32 tx_chgd_bitmap;
-
- A_UINT32 rx_chgd_bitmap;
-
- A_UINT32 num_chan_cca_stats;
-
- A_UINT32 num_peer_signal_stats;
-
- A_UINT32 num_peer_ac_tx_stats;
-
- A_UINT32 tx_mpdu_aggr_array_len;
-
- A_UINT32 tx_succ_mcs_array_len;
-
- A_UINT32 tx_fail_mcs_array_len;
-
- A_UINT32 tx_ppdu_delay_bin_size_ms;
-
- A_UINT32 tx_ppdu_delay_array_len;
-
- A_UINT32 num_peer_ac_rx_stats;
-
- A_UINT32 rx_mpdu_aggr_array_len;
-
- A_UINT32 rx_mcs_array_len;
-
- A_UINT32 stats_period_array_len;
-
- } wmi_report_stats_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_macaddr;
-
- struct {
-
- A_UINT32 low_32;
-
- A_UINT32 high_32;
- } tx_bytes;
-
- struct {
-
- A_UINT32 low_32;
-
- A_UINT32 high_32;
- } tx_packets;
-
- struct {
-
- A_UINT32 low_32;
-
- A_UINT32 high_32;
- } rx_bytes;
-
- struct {
-
- A_UINT32 low_32;
-
- A_UINT32 high_32;
- } rx_packets;
-
- A_UINT32 tx_retries;
-
- A_UINT32 tx_failed;
-
-
- A_UINT32 last_tx_rate_code;
-
- A_UINT32 last_rx_rate_code;
-
- A_UINT32 last_tx_bitrate_kbps;
-
- A_UINT32 last_rx_bitrate_kbps;
-
- A_INT32 peer_rssi;
-
- A_UINT32 tx_succeed;
-
- A_INT32 peer_rssi_per_chain[WMI_MAX_CHAINS];
- } wmi_peer_stats_info;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 num_peers;
-
- A_UINT32 more_data;
-
- } wmi_peer_stats_info_event_fixed_param;
- #define WMI_MGMT_FRAME_SUBTYPE_MAX 16
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 tx_mgmt_subtype[WMI_MGMT_FRAME_SUBTYPE_MAX];
-
- A_UINT32 rx_mgmt_subtype[WMI_MGMT_FRAME_SUBTYPE_MAX];
-
- A_UINT32 scan_fail_dfs_violation_time_ms;
-
- A_UINT32 nol_check_fail_last_chan_freq;
-
- A_UINT32 nol_check_fail_time_stamp_ms;
-
- A_UINT32 total_peer_create_cnt;
-
- A_UINT32 total_peer_delete_cnt;
-
- A_UINT32 total_peer_delete_resp_cnt;
-
- A_UINT32 vdev_pause_fail_rt_to_sched_algo_fifo_full_cnt;
-
- A_UINT32 qos_null_tx_over_wmi;
-
- A_UINT32 qos_null_tx_send_compl_over_wmi;
-
- A_UINT32 qos_null_tx_send_event_alloc_failed;
- } wmi_ctrl_path_pdev_stats_struct;
- typedef enum {
- WMI_CTRL_PATH_STATS_ARENA_HRAM,
- WMI_CTRL_PATH_STATS_ARENA_HCRAM,
- WMI_CTRL_PATH_STATS_ARENA_HREMOTE,
- WMI_CTRL_PATH_STATS_ARENA_HCREMOTE,
- WMI_CTRL_PATH_STATS_ARENA_REMOTE,
- WMI_CTRL_PATH_STATS_ARENA_SRAM,
- WMI_CTRL_PATH_STATS_ARENA_SRAM_AUX,
- WMI_CTRL_PATH_STATS_ARENA_PAGEABLE,
- WMI_CTRL_PATH_STATS_ARENA_CMEM,
- WMI_CTRL_PATH_STATS_ARENA_TRAM,
- WMI_CTRL_PATH_STATS_ARENA_HWIO,
- WMI_CTRL_PATH_STATS_ARENA_CALDB,
- WMI_CTRL_PATH_STATS_ARENA_M3,
- WMI_CTRL_PATH_STATS_ARENA_ETMREMOTE,
- WMI_CTRL_PATH_STATS_ARENA_M3_DUMP,
- WMI_CTRL_PATH_STATS_ARENA_EMUPHY,
- WMI_CTRL_PATH_STATS_ARENA_DBG_SRAM,
- WMI_CTRL_PATH_STATS_ARENA_DBG_SRAM_AUX,
- WMI_CTRL_PATH_STATS_ARENA_SRAM_AUX_OVERFLOW,
- WMI_CTRL_PATH_STATS_ARENA_AMSS,
- WMI_CTRL_PATH_STATS_ARENA_MAX,
- } wmi_ctrl_path_fw_arena_ids;
- static INLINE A_UINT8 *wmi_ctrl_path_fw_arena_id_to_name(A_UINT32 arena_id)
- {
- switch(arena_id)
- {
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_HRAM);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_HCRAM);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_HREMOTE);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_HCREMOTE);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_REMOTE);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_SRAM);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_SRAM_AUX);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_PAGEABLE);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_CMEM);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_TRAM);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_HWIO);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_CALDB);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_M3);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_ETMREMOTE);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_M3_DUMP);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_EMUPHY);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_DBG_SRAM);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_DBG_SRAM_AUX);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_SRAM_AUX_OVERFLOW);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_ARENA_AMSS);
- }
- return (A_UINT8 *) "WMI_CTRL_PATH_STATS_ARENA_UNKNOWN";
- }
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 arena_id;
- A_UINT32 total_bytes;
- A_UINT32 allocated_bytes;
- } wmi_ctrl_path_mem_stats_struct;
- typedef enum _WMI_GET_STATS_TWT_STATUS_T {
- WMI_GET_STATS_TWT_STATUS_OK,
- WMI_GET_STATS_TWT_STATUS_DIALOG_ID_NOT_EXIST,
- WMI_GET_STATS_TWT_STATUS_INVALID_PARAM,
- } WMI_GET_STATS_TWT_STATUS_T;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 dialog_id;
- A_UINT32 status;
- A_UINT32 num_sp_cycles;
- A_UINT32 avg_sp_dur_us;
- A_UINT32 min_sp_dur_us;
- A_UINT32 max_sp_dur_us;
- A_UINT32 tx_mpdu_per_sp;
- A_UINT32 rx_mpdu_per_sp;
- A_UINT32 tx_bytes_per_sp;
- A_UINT32 rx_bytes_per_sp;
- } wmi_ctrl_path_twt_stats_struct;
- typedef enum {
- WMI_CTRL_PATH_STATS_CAL_PROFILE_COLD_BOOT_CAL = 0x0,
- WMI_CTRL_PATH_STATS_CAL_PROFILE_FULL_CHAN_SWITCH = 0x1,
- WMI_CTRL_PATH_STATS_CAL_PROFILE_SCAN_CHAN_SWITCH = 0x2,
- WMI_CTRL_PATH_STATS_CAL_PROFILE_DPD_SPLIT_CAL = 0x3,
- WMI_CTRL_PATH_STATS_CAL_PROFILE_TEMP_TRIGEER_CAL = 0x4,
- WMI_CTRL_PATH_STATS_CAL_PROFILE_POWER_SAVE_WAKE_UP = 0x5,
- WMI_CTRL_PATH_STATS_CAL_PROFILE_TIMER_TRIGGER_CAL = 0x6,
- WMI_CTRL_PATH_STATS_CAL_PROFILE_FTM_TRIGGER_CAL = 0x7,
- WMI_CTRL_PATH_STATS_CAL_PROFILE_AGILE_OR_POWER_DOWN_DTIM = 0x8,
- WMI_CTRL_PATH_STATS_CAL_PROFILE_NOISY_ENV_RXDO = 0x9,
-
- WMI_CTRL_PATH_STATS_CAL_PROFILE_INVALID = 0x1F
- } wmi_ctrl_path_stats_cal_profile_ids;
- typedef enum {
- WMI_CTRL_PATH_STATS_CAL_TYPE_ADC = 0x0,
- WMI_CTRL_PATH_STATS_CAL_TYPE_DAC = 0x1,
- WMI_CTRL_PATH_STATS_CAL_TYPE_PROCESS = 0x2,
- WMI_CTRL_PATH_STATS_CAL_TYPE_NOISE_FLOOR = 0x3,
- WMI_CTRL_PATH_STATS_CAL_TYPE_RXDCO = 0x4,
- WMI_CTRL_PATH_STATS_CAL_TYPE_COMB_TXLO_TXIQ_RXIQ = 0x5,
- WMI_CTRL_PATH_STATS_CAL_TYPE_TXLO = 0x6,
- WMI_CTRL_PATH_STATS_CAL_TYPE_TXIQ = 0x7,
- WMI_CTRL_PATH_STATS_CAL_TYPE_RXIQ = 0x8,
- WMI_CTRL_PATH_STATS_CAL_TYPE_IM2 = 0x9,
- WMI_CTRL_PATH_STATS_CAL_TYPE_LNA = 0xa,
- WMI_CTRL_PATH_STATS_CAL_TYPE_DPD_LP_RXDCO = 0xb,
- WMI_CTRL_PATH_STATS_CAL_TYPE_DPD_LP_RXIQ = 0xc,
- WMI_CTRL_PATH_STATS_CAL_TYPE_DPD_MEMORYLESS = 0xd,
- WMI_CTRL_PATH_STATS_CAL_TYPE_DPD_MEMORY = 0xe,
- WMI_CTRL_PATH_STATS_CAL_TYPE_IBF = 0xf,
- WMI_CTRL_PATH_STATS_CAL_TYPE_PDET_AND_PAL = 0x10,
- WMI_CTRL_PATH_STATS_CAL_TYPE_RXDCO_IQ = 0x11,
- WMI_CTRL_PATH_STATS_CAL_TYPE_RXDCO_DTIM = 0x12,
- WMI_CTRL_PATH_STATS_CAL_TYPE_TPC_CAL = 0x13,
- WMI_CTRL_PATH_STATS_CAL_TYPE_DPD_TIMEREQ = 0x14,
- WMI_CTRL_PATH_STATS_CAL_TYPE_BWFILTER = 0x15,
- WMI_CTRL_PATH_STATS_CAL_TYPE_PEF = 0x16,
- WMI_CTRL_PATH_STATS_CAL_TYPE_PADROOP = 0x17,
- WMI_CTRL_PATH_STATS_CAL_TYPE_SELFCALTPC = 0x18,
-
- WMI_CTRL_PATH_STATS_CAL_TYPE_INVALID = 0xFF
- } wmi_ctrl_path_stats_cal_type_ids;
- typedef enum {
- WMI_CTRL_PATH_STATS_PERIODIC_CAL_TYPE_NOISE_FLOOR = 0x0,
- WMI_CTRL_PATH_STATS_PERIODIC_CAL_TYPE_DPD_MEMORYLESS = 0x1,
- WMI_CTRL_PATH_STATS_PERIODIC_CAL_TYPE_DPD_MEMORY = 0x2,
-
- WMI_CTRL_PATH_STATS_PERIODIC_CAL_TYPE_INVALID = 0xFF
- } wmi_ctrl_path_stats_periodic_cal_type_ids;
- static INLINE
- A_UINT8 *wmi_ctrl_path_cal_profile_id_to_name(A_UINT32 cal_profile_id)
- {
- switch (cal_profile_id)
- {
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_PROFILE_COLD_BOOT_CAL);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_PROFILE_FULL_CHAN_SWITCH);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_PROFILE_SCAN_CHAN_SWITCH);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_PROFILE_DPD_SPLIT_CAL);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_PROFILE_TEMP_TRIGEER_CAL);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_PROFILE_POWER_SAVE_WAKE_UP);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_PROFILE_TIMER_TRIGGER_CAL);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_PROFILE_FTM_TRIGGER_CAL);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_PROFILE_AGILE_OR_POWER_DOWN_DTIM);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_PROFILE_NOISY_ENV_RXDO);
- }
- return (A_UINT8 *) "WMI_CTRL_PATH_STATS_CAL_PROFILE_UNKNOWN";
- }
- static INLINE A_UINT8 *wmi_ctrl_path_cal_type_id_to_name(A_UINT32 cal_type_id)
- {
- switch (cal_type_id)
- {
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_ADC);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_DAC);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_PROCESS);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_NOISE_FLOOR);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_RXDCO);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_COMB_TXLO_TXIQ_RXIQ);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_TXLO);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_TXIQ);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_RXIQ);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_IM2);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_LNA);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_DPD_LP_RXDCO);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_DPD_LP_RXIQ);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_DPD_MEMORYLESS);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_DPD_MEMORY);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_IBF);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_PDET_AND_PAL);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_RXDCO_IQ);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_RXDCO_DTIM);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_TPC_CAL);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_DPD_TIMEREQ);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_BWFILTER);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_PEF);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_PADROOP);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_CAL_TYPE_SELFCALTPC);
- }
- return (A_UINT8 *) "WMI_CTRL_PATH_STATS_CAL_TYPE_UNKNOWN";
- }
- static INLINE A_UINT8 *wmi_ctrl_path_periodic_cal_type_id_to_name(A_UINT32 periodic_cal_type_id)
- {
- switch (periodic_cal_type_id)
- {
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_PERIODIC_CAL_TYPE_NOISE_FLOOR);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_PERIODIC_CAL_TYPE_DPD_MEMORYLESS);
- WMI_RETURN_STRING(WMI_CTRL_PATH_STATS_PERIODIC_CAL_TYPE_DPD_MEMORY);
- }
- return (A_UINT8 *) "WMI_CTRL_PATH_STATS_PERIODIC_CAL_TYPE_UNKNOWN";
- }
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 cal_info;
- A_UINT32 cal_triggered_cnt;
- A_UINT32 cal_fail_cnt;
- A_UINT32 cal_fcs_cnt;
- A_UINT32 cal_fcs_fail_cnt;
- } wmi_ctrl_path_calibration_stats_struct;
- #define WMI_CTRL_PATH_CALIBRATION_STATS_CAL_TYPE_GET(cal_info) WMI_GET_BITS(cal_info, 0, 8)
- #define WMI_CTRL_PATH_CALIBRATION_STATS_CAL_TYPE_SET(cal_info, cal_type) WMI_SET_BITS(cal_info, 0, 8, cal_type)
- #define WMI_CTRL_PATH_CALIBRATION_STATS_CAL_PROFILE_GET(cal_info) WMI_GET_BITS(cal_info, 8, 5)
- #define WMI_CTRL_PATH_CALIBRATION_STATS_CAL_PROFILE_SET(cal_info, cal_profile) WMI_SET_BITS(cal_info, 8, 5, cal_profile)
- #define WMI_CTRL_PATH_CALIBRATION_STATS_IS_PERIODIC_CAL_GET(cal_info) WMI_GET_BITS(cal_info, 13, 1)
- #define WMI_CTRL_PATH_CALIBRATION_STATS_IS_PERIODIC_CAL_SET(cal_info, is_periodic) WMI_SET_BITS(cal_info, 13, 1, is_periodic)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 nol;
-
- A_UINT32 channel;
-
- A_UINT32 chwidth;
-
- A_UINT32 timeleft;
- } wmi_ctrl_path_dfs_channel_stats_struct;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 more;
-
- A_UINT32 status;
-
- } wmi_ctrl_path_stats_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 chan_mhz;
-
- A_UINT32 on_chan_us;
-
- A_UINT32 tx_duration_us;
-
- A_UINT32 rx_duration_us;
-
- A_UINT32 chan_busy_ratio;
-
- A_UINT32 on_chan_ratio;
-
- A_UINT32 measurement_period_us;
-
- A_UINT32 tx_mpdus;
-
- A_UINT32 tx_msdus;
-
- A_UINT32 rx_succ_mpdus;
-
- A_UINT32 rx_fail_mpdus;
- } wmi_radio_chan_stats;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 num_chans;
-
- } wmi_radio_chan_stats_event_fixed_param;
- typedef struct {
-
- A_INT32 chan_nf;
-
- A_UINT32 tx_frame_count;
-
- A_UINT32 rx_frame_count;
-
- A_UINT32 rx_clear_count;
-
- A_UINT32 cycle_count;
-
- A_UINT32 phy_err_count;
-
- A_UINT32 chan_tx_pwr;
-
- struct wlan_dbg_stats_v1 pdev_stats;
- } wmi_pdev_stats_v1;
- typedef struct {
-
- A_INT32 chan_nf;
-
- A_UINT32 tx_frame_count;
-
- A_UINT32 rx_frame_count;
-
- A_UINT32 rx_clear_count;
-
- A_UINT32 cycle_count;
-
- A_UINT32 phy_err_count;
-
- A_UINT32 chan_tx_pwr;
-
- struct wlan_dbg_stats_v2 pdev_stats;
- } wmi_pdev_stats_v2;
- #if defined(AR900B)
- #define wmi_pdev_stats wmi_pdev_stats_v2
- #else
- #define wmi_pdev_stats wmi_pdev_stats_v1
- #endif
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 my_rx_count;
-
- A_UINT32 rx_matched_11ax_msdu_cnt;
-
- A_UINT32 rx_other_11ax_msdu_cnt;
- } wmi_pdev_extd_stats;
- typedef struct {
- A_INT32 bcn_snr;
- A_INT32 dat_snr;
- } wmi_snr_info;
- typedef struct {
-
- A_UINT32 vdev_id;
- wmi_snr_info vdev_snr;
- A_UINT32 tx_frm_cnt[WLAN_MAX_AC];
- A_UINT32 rx_frm_cnt;
- A_UINT32 multiple_retry_cnt[WLAN_MAX_AC];
- A_UINT32 fail_cnt[WLAN_MAX_AC];
- A_UINT32 rts_fail_cnt;
- A_UINT32 rts_succ_cnt;
- A_UINT32 rx_err_cnt;
- A_UINT32 rx_discard_cnt;
- A_UINT32 ack_fail_cnt;
- A_UINT32 tx_rate_history[MAX_TX_RATE_VALUES];
- A_UINT32 bcn_rssi_history[MAX_RSSI_VALUES];
- } wmi_vdev_stats;
- typedef struct {
- A_UINT32 vdev_id;
- A_UINT32 tx_bcn_succ_cnt;
- A_UINT32 tx_bcn_outage_cnt;
- } wmi_bcn_stats;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 fd_succ_cnt;
-
- A_UINT32 fd_fail_cnt;
-
- A_UINT32 unsolicited_prb_succ_cnt;
-
- A_UINT32 unsolicited_prb_fail_cnt;
- } wmi_vdev_extd_stats;
- typedef struct {
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 peer_rssi;
-
- A_UINT32 peer_tx_rate;
-
- A_UINT32 peer_rx_rate;
- } wmi_peer_stats;
- typedef struct {
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 rx_duration;
-
- A_UINT32 peer_tx_bytes;
-
- A_UINT32 peer_rx_bytes;
-
- A_UINT32 last_tx_rate_code;
-
- A_INT32 last_tx_power;
-
- A_UINT32 rx_mc_bc_cnt;
-
- A_UINT32 rx_duration_u32;
- A_UINT32 reserved[2];
- } wmi_peer_extd_stats;
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_macaddr;
-
-
- A_UINT32 rx_bytes_l32;
-
- A_UINT32 rx_bytes_u32;
-
- A_UINT32 rx_fcs_err;
-
- A_UINT32 rx_mpdus;
-
- A_UINT32 last_tx_nss;
-
- A_UINT32 last_rx_nss;
-
- A_UINT32 last_tx_chain_mask;
-
- A_UINT32 last_rx_chain_mask;
- } wmi_peer_extd2_stats;
- typedef struct {
-
- A_UINT32 chan_mhz;
-
- A_UINT32 sampling_period_us;
-
- A_UINT32 rx_clear_count;
-
- A_UINT32 tx_duration_us;
-
- A_UINT32 rx_duration_us;
- } wmi_chan_stats;
- typedef struct {
- A_UINT32 tx_mpdu_grp_frag_cnt;
- A_UINT32 tx_msdu_grp_frm_cnt;
- A_UINT32 tx_msdu_fail_cnt;
- A_UINT32 rx_mpdu_frag_cnt;
- A_UINT32 rx_msdu_grp_frm_cnt;
- A_UINT32 rx_mpdu_fcs_err;
- A_UINT32 tx_msdu_frm_cnt;
- A_UINT32 tx_msdu_retry_cnt;
- A_UINT32 rx_frm_dup_cnt;
- A_UINT32 tx_rts_success_cnt;
- A_UINT32 tx_rts_fail_cnt;
- A_UINT32 tx_Qos_mpdu_grp_frag_cnt;
- A_UINT32 tx_Qos_msdu_fail_UP;
- A_UINT32 tx_Qos_msdu_retry_UP;
- A_UINT32 rx_Qos_frm_dup_cnt_UP;
- A_UINT32 tx_Qos_rts_success_cnt_UP;
- A_UINT32 tx_Qos_rts_fail_cnt_UP;
- A_UINT32 rx_Qos_mpdu_frag_cnt_UP;
- A_UINT32 tx_Qos_msdu_frm_cnt_UP;
- A_UINT32 rx_Qos_msdu_discard_cnt_UP;
- A_UINT32 rx_Qos_mpdu_cnt;
- A_UINT32 rx_Qos_mpdu_retryBit_cnt;
- A_UINT32 rsna_Mgmt_discard_CCMP_replay_err_cnt;
- A_UINT32 rsna_TKIP_icv_err_cnt;
- A_UINT32 rsna_TKIP_replay_err_cnt;
- A_UINT32 rsna_CCMP_decrypt_err_cnt;
- A_UINT32 rsna_CCMP_replay_err_cnt;
- A_UINT32 tx_ampdu_cnt;
- A_UINT32 tx_mpdu_cnt_in_ampdu;
- union {
- A_UINT64 counter;
- struct {
- A_UINT32 low;
- A_UINT32 high;
- } upload;
- } tx_octets_in_ampdu;
- A_UINT32 rx_ampdu_cnt;
- A_UINT32 rx_mpdu_cnt_in_ampdu;
- union {
- A_UINT64 counter;
- struct {
- A_UINT32 rx_octets_in_ampdu_low;
- A_UINT32 rx_octets_in_ampdu_high;
- } upload;
- } rx_octets_in_ampdu;
- A_UINT32 reserved_1;
- A_UINT32 reserved_2;
- A_UINT32 reserved_3;
- A_UINT32 reserved_4;
- } wmi_mib_stats;
- typedef struct {
- A_UINT32 tx_msdu_multi_retry_cnt;
- A_UINT32 tx_ack_fail_cnt;
- A_UINT32 tx_qos_msdu_multi_retry_up;
- A_UINT32 tx_qos_ack_fail_cnt_up;
- A_UINT32 rsna_cmac_icv_err_cnt;
- A_UINT32 rsna_cmac_replay_err_cnt;
- A_UINT32 rx_ampdu_deli_crc_err_cnt;
- A_UINT32 reserved[8];
- } wmi_mib_extd_stats;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 igtk_mic_fail_cnt;
- A_UINT32 igtk_replay_cnt;
- A_UINT32 bcn_mic_fail_cnt;
- A_UINT32 bcn_replay_cnt;
- } wmi_pmf_bcn_protect_stats;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_INT32 rssi_avg_beacon[WMI_MAX_CHAINS];
- A_INT32 rssi_avg_data[WMI_MAX_CHAINS];
- wmi_mac_addr peer_macaddr;
- } wmi_rssi_stats;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 congestion;
- } wmi_congestion_stats;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_per_chain_rssi_stats;
- } wmi_per_chain_rssi_stats;
- #define VDEV_FLAGS_NON_MBSSID_AP 0x00000001
- #define VDEV_FLAGS_TRANSMIT_AP 0x00000002
- #define VDEV_FLAGS_NON_TRANSMIT_AP 0x00000004
- #define VDEV_FLAGS_EMA_MODE 0x00000008
- #define VDEV_FLAGS_SCAN_MODE_VAP 0x00000010
- #define WMI_SCAN_MODE_VDEV_FLAG_GET(flag) WMI_GET_BITS(flag, 4, 1)
- #define WMI_SCAN_MODE_VDEV_FLAG_SET(flag, val) WMI_SET_BITS(flag, 4, 1, val)
- #define WMI_SCAN_MODE_VDEV_FLAG_ENABLED(flag) ((flag & VDEV_FLAGS_SCAN_MODE_VAP) ? 1 : 0)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 vdev_type;
-
- A_UINT32 vdev_subtype;
-
- wmi_mac_addr vdev_macaddr;
-
- A_UINT32 num_cfg_txrx_streams;
-
- A_UINT32 pdev_id;
-
- A_UINT32 flags;
-
- A_UINT32 vdevid_trans;
- } wmi_vdev_create_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 band;
-
- A_UINT32 supported_tx_streams;
-
- A_UINT32 supported_rx_streams;
- } wmi_vdev_txrx_streams;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 type_count;
- A_UINT32 duration;
- A_UINT32 interval;
- A_UINT32 start_time;
- } wmi_p2p_noa_descriptor;
- #define WMI_MLO_FLAGS_GET_ENABLED(mlo_flags) WMI_GET_BITS(mlo_flags, 0, 1)
- #define WMI_MLO_FLAGS_SET_ENABLED(mlo_flags, value) WMI_SET_BITS(mlo_flags, 0, 1, value)
- #define WMI_MLO_FLAGS_GET_ASSOC_LINK(mlo_flags) WMI_GET_BITS(mlo_flags, 1, 1)
- #define WMI_MLO_FLAGS_SET_ASSOC_LINK(mlo_flags, value) WMI_SET_BITS(mlo_flags, 1, 1, value)
- #define WMI_MLO_FLAGS_GET_PRIMARY_UMAC(mlo_flags) WMI_GET_BITS(mlo_flags, 2, 1)
- #define WMI_MLO_FLAGS_SET_PRIMARY_UMAC(mlo_flags, value) WMI_SET_BITS(mlo_flags, 2, 1, value)
- #define WMI_MLO_FLAGS_GET_LINK_INDEX_VALID(mlo_flags) WMI_GET_BITS(mlo_flags, 3, 1)
- #define WMI_MLO_FLAGS_SET_LINK_INDEX_VALID(mlo_flags, value) WMI_SET_BITS(mlo_flags, 3, 1, value)
- #define WMI_MLO_FLAGS_GET_PEER_ID_VALID(mlo_flags) WMI_GET_BITS(mlo_flags, 4, 1)
- #define WMI_MLO_FLAGS_SET_PEER_ID_VALID(mlo_flags, value) WMI_SET_BITS(mlo_flags, 4, 1, value)
- typedef struct {
- union {
- struct {
- A_UINT32 mlo_enabled:1,
- mlo_assoc_link:1,
- mlo_primary_umac:1,
- mlo_logical_link_index_valid:1,
- mlo_peer_id_valid:1,
- unused: 27;
- };
- A_UINT32 mlo_flags;
- };
- } wmi_mlo_flags;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 hw_link_id;
- wmi_mac_addr vdev_macaddr;
- } wmi_partner_link_params;
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_mac_addr mld_macaddr;
- } wmi_vdev_create_mlo_params;
- typedef struct {
- A_UINT32 tlv_header;
- wmi_mlo_flags mlo_flags;
- } wmi_vdev_start_mlo_params;
- #define WMI_VDEV_TYPE_AP 0x1
- #define WMI_VDEV_TYPE_STA 0x2
- #define WMI_VDEV_TYPE_IBSS 0x3
- #define WMI_VDEV_TYPE_MONITOR 0x4
- #define WMI_VDEV_TYPE_NAN 0x5
- #define WMI_VDEV_TYPE_OCB 0x6
- #define WMI_VDEV_TYPE_NDI 0x7
- #define WMI_VDEV_TYPE_MESH_POINT 0x8
- #define WMI_SGI_LEGACY 0x1
- #define WMI_SGI_HE_400_NS 0x2
- #define WMI_SGI_HE_800_NS 0x4
- #define WMI_SGI_HE_1600_NS 0x8
- #define WMI_SGI_HE_3200_NS 0x10
- #define WMI_SGI_EHT_800_NS 0x20
- #define WMI_SGI_EHT_1600_NS 0x40
- #define WMI_SGI_EHT_3200_NS 0x80
- #define WMI_HE_LTF_DEFAULT 0x0
- #define WMI_HE_LTF_1X 0x1
- #define WMI_HE_LTF_2X 0x2
- #define WMI_HE_LTF_4X 0x3
- #define WMI_EHT_LTF_DEFAULT 0x4
- #define WMI_EHT_LTF_1X 0x5
- #define WMI_EHT_LTF_2X 0x6
- #define WMI_EHT_LTF_4X 0x7
- #define WMI_UNIFIED_VDEV_SUBTYPE_P2P_DEVICE 0x1
- #define WMI_UNIFIED_VDEV_SUBTYPE_P2P_CLIENT 0x2
- #define WMI_UNIFIED_VDEV_SUBTYPE_P2P_GO 0x3
- #define WMI_UNIFIED_VDEV_SUBTYPE_PROXY_STA 0x4
- #define WMI_UNIFIED_VDEV_SUBTYPE_MESH 0x5
- #define WMI_UNIFIED_VDEV_SUBTYPE_MESH_11S 0x6
- #define WMI_UNIFIED_VDEV_SUBTYPE_SMART_MON 0x7
- #define WMI_UNIFIED_VDEV_START_HIDDEN_SSID (1<<0)
- #define WMI_UNIFIED_VDEV_START_PMF_ENABLED (1<<1)
- #define WMI_UNIFIED_VDEV_START_BCN_TX_RATE_PRESENT (1<<2)
- #define WMI_UNIFIED_VDEV_START_LDPC_RX_ENABLED (1<<3)
- #define WMI_UNIFIED_VDEV_START_HW_ENCRYPTION_DISABLED (1<<4)
- #define WMI_HEOPS_COLOR_GET_D2(he_ops) WMI_GET_BITS(he_ops, 0, 6)
- #define WMI_HEOPS_COLOR_SET_D2(he_ops, value) WMI_SET_BITS(he_ops, 0, 6, value)
- #define WMI_HEOPS_DEFPE_GET_D2(he_ops) WMI_GET_BITS(he_ops, 6, 3)
- #define WMI_HEOPS_DEFPE_SET_D2(he_ops, value) WMI_SET_BITS(he_ops, 6, 3, value)
- #define WMI_HEOPS_TWT_REQUIRED_GET_D2(he_ops) WMI_GET_BITS(he_ops, 9, 1)
- #define WMI_HEOPS_TWT_REQUIRED_SET_D2(he_ops, value) WMI_SET_BITS(he_ops, 9, 1, value)
- #define WMI_HEOPS_TWT_GET_D2(he_ops) \
- WMI_HEOPS_TWT_REQUIRED_GET_D2(he_ops)
- #define WMI_HEOPS_TWT_SET_D2(he_ops, value) \
- WMI_HEOPS_TWT_REQUIRED_SET_D2(he_ops, value)
- #define WMI_HEOPS_RTSTHLD_GET_D2(he_ops) WMI_GET_BITS(he_ops, 10, 10)
- #define WMI_HEOPS_RTSTHLD_SET_D2(he_ops, value) WMI_SET_BITS(he_ops, 10, 10, value)
- #define WMI_HEOPS_PARTBSSCOLOR_GET_D2(he_ops) WMI_GET_BITS(he_ops, 20, 1)
- #define WMI_HEOPS_PARTBSSCOLOR_SET_D2(he_ops, value) WMI_SET_BITS(he_ops, 20, 1, value)
- #define WMI_HEOPS_MAXBSSID_GET_D2(he_ops) WMI_GET_BITS(he_ops, 21, 8)
- #define WMI_HEOPS_MAXBSSID_SET_D2(he_ops, value) WMI_SET_BITS(he_ops, 21, 8, value)
- #define WMI_HEOPS_TXBSSID_GET_D2(he_ops) WMI_GET_BITS(he_ops, 29, 1)
- #define WMI_HEOPS_TXBSSID_SET_D2(he_ops, value) WMI_SET_BITS(he_ops, 29, 1, value)
- #define WMI_HEOPS_BSSCOLORDISABLE_GET_D2(he_ops) WMI_GET_BITS(he_ops, 30, 1)
- #define WMI_HEOPS_BSSCOLORDISABLE_SET_D2(he_ops, value) WMI_SET_BITS(he_ops, 30, 1, value)
- #define WMI_HEOPS_DUALBEACON_GET_D2(he_ops) (0)
- #define WMI_HEOPS_DUALBEACON_SET_D2(he_ops, value) {;}
- #define WMI_MAX_HECAP_PHY_SIZE (3)
- #define WMI_HECAP_PHY_DB_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 0, 1)
- #define WMI_HECAP_PHY_DB_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 0, 1, value)
- #define WMI_HECAP_PHY_CBW_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 1, 7)
- #define WMI_HECAP_PHY_CBW_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 1, 7, value)
- #define WMI_HECAP_PHY_PREAMBLEPUNCRX_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 8, 4)
- #define WMI_HECAP_PHY_PREAMBLEPUNCRX_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 8, 4, value)
- #define WMI_HECAP_PHY_COD_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 12, 1)
- #define WMI_HECAP_PHY_COD_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 12, 1, value)
- #define WMI_HECAP_PHY_LDPC_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 13, 1)
- #define WMI_HECAP_PHY_LDPC_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 13, 1, value)
- #define WMI_HECAP_PHY_TXLDPC_GET_D2(he_cap_phy) WMI_HECAP_PHY_LDPC_GET_D2(he_cap_phy)
- #define WMI_HECAP_PHY_TXLDPC_SET_D2(he_cap_phy, value) WMI_HECAP_PHY_LDPC_SET_D2(he_cap_phy, value)
- #define WMI_HECAP_PHY_RXLDPC_GET_D2(he_cap_phy) WMI_HECAP_PHY_LDPC_GET_D2(he_cap_phy)
- #define WMI_HECAP_PHY_RXLDPC_SET_D2(he_cap_phy, value) WMI_HECAP_PHY_LDPC_SET_D2(he_cap_phy, value)
- #define WMI_HECAP_PHY_LTFGIFORHE_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 14, 1)
- #define WMI_HECAP_PHY_LTFGIFORHE_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 14, 1, value)
- #define WMI_HECAP_PHY_MIDAMBLERXMAXNSTS_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 15, 2)
- #define WMI_HECAP_PHY_MIDAMBLERXMAXNSTS_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 15, 2, value)
- #define WMI_HECAP_PHY_LTFGIFORNDP_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 17, 1)
- #define WMI_HECAP_PHY_LTFGIFORNDP_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 17, 1, value)
- #define WMI_HECAP_PHY_TXSTBC_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 18, 1)
- #define WMI_HECAP_PHY_TXSTBC_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 18, 1, value)
- #define WMI_HECAP_PHY_RXSTBC_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 19, 1)
- #define WMI_HECAP_PHY_RXSTBC_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 19, 1, value)
- #define WMI_HECAP_PHY_TXDOPPLER_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 20, 1)
- #define WMI_HECAP_PHY_TXDOPPLER_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 20, 1, value)
- #define WMI_HECAP_PHY_RXDOPPLER_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 21, 1)
- #define WMI_HECAP_PHY_RXDOPPLER_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 21, 1, value)
- #define WMI_HECAP_PHY_UL_MU_MIMO_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 22, 1)
- #define WMI_HECAP_PHY_UL_MU_MIMO_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 22, 1, value)
- #define WMI_HECAP_PHY_ULMUMIMOOFDMA_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 23, 1)
- #define WMI_HECAP_PHY_ULMUMIMOOFDMA_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 23, 1, value)
- #define WMI_HECAP_PHY_DCMTX_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 24, 3)
- #define WMI_HECAP_PHY_DCMTX_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 24, 3, value)
- #define WMI_HECAP_PHY_DCMRX_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 27, 3)
- #define WMI_HECAP_PHY_DCMRX_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 27, 3, value)
- #define WMI_HECAP_PHY_ULHEMU_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 30, 1)
- #define WMI_HECAP_PHY_ULHEMU_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 30, 1, value)
- #define WMI_HECAP_PHY_SUBFMR_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 31, 1)
- #define WMI_HECAP_PHY_SUBFMR_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 31, 1, value)
- #define WMI_HECAP_PHY_SUBFME_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 0, 1)
- #define WMI_HECAP_PHY_SUBFME_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 0, 1, value)
- #define WMI_HECAP_PHY_MUBFMR_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 1, 1)
- #define WMI_HECAP_PHY_MUBFMR_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 1, 1, value)
- #define WMI_HECAP_PHY_BFMESTSLT80MHZ_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 2, 3)
- #define WMI_HECAP_PHY_BFMESTSLT80MHZ_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 2, 3, value)
- #define WMI_HECAP_PHY_BFMESTSGT80MHZ_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 5, 3)
- #define WMI_HECAP_PHY_BFMESTSGT80MHZ_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 5, 3, value)
- #define WMI_HECAP_PHY_NUMSOUNDLT80MHZ_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 8, 3)
- #define WMI_HECAP_PHY_NUMSOUNDLT80MHZ_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 8, 3, value)
- #define WMI_HECAP_PHY_NUMSOUNDGT80MHZ_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 11, 3)
- #define WMI_HECAP_PHY_NUMSOUNDGT80MHZ_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 11, 3, value)
- #define WMI_HECAP_PHY_NG16SUFEEDBACKLT80_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 14, 1)
- #define WMI_HECAP_PHY_NG16SUFEEDBACKLT80_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 14, 1, value)
- #define WMI_HECAP_PHY_NG16MUFEEDBACKGT80_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 15, 1)
- #define WMI_HECAP_PHY_NG16MUFEEDBACKGT80_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 15, 1, value)
- #define WMI_HECAP_PHY_CODBK42SU_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 16, 1)
- #define WMI_HECAP_PHY_CODBK42SU_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 16, 1, value)
- #define WMI_HECAP_PHY_CODBK75MU_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 17, 1)
- #define WMI_HECAP_PHY_CODBK75MU_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 17, 1, value)
- #define WMI_HECAP_PHY_BFFEEDBACKTRIG_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 18, 3)
- #define WMI_HECAP_PHY_BFFEEDBACKTRIG_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 18, 3, value)
- #define WMI_HECAP_PHY_HEERSU_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 21, 1)
- #define WMI_HECAP_PHY_HEERSU_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 21, 1, value)
- #define WMI_HECAP_PHY_DLMUMIMOPARTIALBW_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 22, 1)
- #define WMI_HECAP_PHY_DLMUMIMOPARTIALBW_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 22, 1, value)
- #define WMI_HECAP_PHY_PETHRESPRESENT_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 23, 1)
- #define WMI_HECAP_PHY_PETHRESPRESENT_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 23, 1, value)
- #define WMI_HECAP_PHY_SRPSPRESENT_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 24, 1)
- #define WMI_HECAP_PHY_SRPPRESENT_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 24, 1, value)
- #define WMI_HECAP_PHY_PWRBOOSTAR_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 25, 1)
- #define WMI_HECAP_PHY_PWRBOOSTAR_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 25, 1, value)
- #define WMI_HECAP_PHY_4XLTFAND800NSECSGI_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 26, 1)
- #define WMI_HECAP_PHY_4XLTFAND800NSECSGI_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 26, 1, value)
- #define WMI_HECAP_PHY_MAXNC_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 27, 3)
- #define WMI_HECAP_PHY_MAXNC_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 27, 3, value)
- #define WMI_HECAP_PHY_STBCTXGT80_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 30, 1)
- #define WMI_HECAP_PHY_STBCTXGT80_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 30, 1, value)
- #define WMI_HECAP_PHY_STBCRXGT80_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 31, 1)
- #define WMI_HECAP_PHY_STBCRXGT80_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 31, 1, value)
- #define WMI_HECAP_PHY_ERSU4X800NSECGI_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 0, 1)
- #define WMI_HECAP_PHY_ERSU4X800NSECGI_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 0, 1, value)
- #define WMI_HECAP_PHY_HEPPDU20IN40MHZ2G_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 1, 1)
- #define WMI_HECAP_PHY_HEPPDU20IN40MHZ2G_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 1, 1, value)
- #define WMI_HECAP_PHY_HEPPDU20IN160OR80P80MHZ_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 2, 1)
- #define WMI_HECAP_PHY_HEPPDU20IN160OR80P80MHZ_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 2, 1, value)
- #define WMI_HECAP_PHY_HEPPDU80IN160OR80P80MHZ_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 3, 1)
- #define WMI_HECAP_PHY_HEPPDU80IN160OR80P80MHZ_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 3, 1, value)
- #define WMI_HECAP_PHY_ERSU1X800NSECGI_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 4, 1)
- #define WMI_HECAP_PHY_ERSU1X800NSECGI_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 4, 1, value)
- #define WMI_HECAP_PHY_MIDAMBLERX2XAND1XHELTF_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 5, 1)
- #define WMI_HECAP_PHY_MIDAMBLERX2XAND1XHELTF_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 5, 1, value)
- #define WMI_HECAP_MAC_HECTRL_GET_D2(he_cap) WMI_GET_BITS(he_cap, 0, 1)
- #define WMI_HECAP_MAC_HECTRL_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 0, 1, value)
- #define WMI_HECAP_MAC_TWTREQ_GET_D2(he_cap) WMI_GET_BITS(he_cap, 1, 1)
- #define WMI_HECAP_MAC_TWTREQ_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 1, 1, value)
- #define WMI_HECAP_MAC_TWTRSP_GET_D2(he_cap) WMI_GET_BITS(he_cap, 2, 1)
- #define WMI_HECAP_MAC_TWTRSP_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 2, 1, value)
- #define WMI_HECAP_MAC_HEFRAG_GET_D2(he_cap) WMI_GET_BITS(he_cap, 3, 2)
- #define WMI_HECAP_MAC_HEFRAG_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 3, 2, value)
- #define WMI_HECAP_MAC_MAXFRAGMSDU_GET_D2(he_cap) WMI_GET_BITS(he_cap, 5, 3)
- #define WMI_HECAP_MAC_MAXFRAGMSDU_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 5, 3, value)
- #define WMI_HECAP_MAC_MINFRAGSZ_GET_D2(he_cap) WMI_GET_BITS(he_cap, 8, 2)
- #define WMI_HECAP_MAC_MINFRAGSZ_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 8, 2, value)
- #define WMI_HECAP_MAC_TRIGPADDUR_GET_D2(he_cap) WMI_GET_BITS(he_cap, 10, 2)
- #define WMI_HECAP_MAC_TRIGPADDUR_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 10, 2, value)
- #define WMI_HECAP_MAC_MTID_GET_D2(he_cap) WMI_GET_BITS(he_cap, 12, 3)
- #define WMI_HECAP_MAC_MTID_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 12, 3, value)
- #define WMI_HECAP_MAC_AMSDUINAMPDU_GET_D2(he_cap) WMI_GET_BITS(he_cap, 15, 1)
- #define WMI_HECAP_MAC_AMSDUINAMPDU_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 15, 1, value)
- #define WMI_HECAP_MAC_HELKAD_GET_D2(he_cap) (0)
- #define WMI_HECAP_MAC_HELKAD_SET_D2(he_cap, value) {;}
- #define WMI_HECAP_MAC_AACK_GET_D2(he_cap) WMI_GET_BITS(he_cap, 17, 1)
- #define WMI_HECAP_MAC_AACK_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 17, 1, value)
- #define WMI_HECAP_MAC_ULMURSP_GET_D2(he_cap) WMI_GET_BITS(he_cap, 18, 1)
- #define WMI_HECAP_MAC_ULMURSP_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 18, 1, value)
- #define WMI_HECAP_MAC_BSR_GET_D2(he_cap) WMI_GET_BITS(he_cap, 19, 1)
- #define WMI_HECAP_MAC_BSR_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 19, 1, value)
- #define WMI_HECAP_MAC_BCSTTWT_GET_D2(he_cap) WMI_GET_BITS(he_cap, 20, 1)
- #define WMI_HECAP_MAC_BCSTTWT_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 20, 1, value)
- #define WMI_HECAP_MAC_32BITBA_GET_D2(he_cap) WMI_GET_BITS(he_cap, 21, 1)
- #define WMI_HECAP_MAC_32BITBA_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 21, 1, value)
- #define WMI_HECAP_MAC_MUCASCADE_GET_D2(he_cap) WMI_GET_BITS(he_cap, 22, 1)
- #define WMI_HECAP_MAC_MUCASCADE_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 22, 1, value)
- #define WMI_HECAP_MAC_ACKMTIDAMPDU_GET_D2(he_cap) WMI_GET_BITS(he_cap, 23, 1)
- #define WMI_HECAP_MAC_ACKMTIDAMPDU_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 23, 1, value)
- #define WMI_HECAP_MAC_GROUPMSTABA_GET_D2(he_cap) WMI_GET_BITS(he_cap, 24, 1)
- #define WMI_HECAP_MAC_GROUPMSTABA_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 24, 1, value)
- #define WMI_HECAP_MAC_OMI_GET_D2(he_cap) WMI_GET_BITS(he_cap, 25, 1)
- #define WMI_HECAP_MAC_OMI_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 25, 1, value)
- #define WMI_HECAP_MAC_OFDMARA_GET_D2(he_cap) WMI_GET_BITS(he_cap, 26, 1)
- #define WMI_HECAP_MAC_OFDMARA_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 26, 1, value)
- #define WMI_HECAP_MAC_MAXAMPDULEN_EXP_GET_D2(he_cap) WMI_GET_BITS(he_cap, 27, 2)
- #define WMI_HECAP_MAC_MAXAMPDULEN_EXP_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 27, 2, value)
- #define WMI_HECAP_MAC_AMSDUFRAG_GET_D2(he_cap) WMI_GET_BITS(he_cap, 29, 1)
- #define WMI_HECAP_MAC_AMSDUFRAG_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 29, 1, value)
- #define WMI_HECAP_MAC_FLEXTWT_GET_D2(he_cap) WMI_GET_BITS(he_cap, 30, 1)
- #define WMI_HECAP_MAC_FLEXTWT_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 30, 1, value)
- #define WMI_HECAP_MAC_MBSS_GET_D2(he_cap) WMI_GET_BITS(he_cap, 31, 1)
- #define WMI_HECAP_MAC_MBSS_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 31, 1, value)
- #define WMI_HECAP_MAC_BSRPAMPDU_GET_D2(he_cap) (0)
- #define WMI_HECAP_MAC_BSRPAMPDU_SET_D2(he_cap, value) {;}
- #define WMI_HECAP_MAC_QTP_GET_D2(he_cap) (0)
- #define WMI_HECAP_MAC_QTP_SET_D2(he_cap, value) {;}
- #define WMI_HECAP_MAC_ABQR_GET_D2(he_cap) (0)
- #define WMI_HECAP_MAC_ABQR_SET_D2(he_cap, value) {;}
- #define WMI_HECAP_MAC_SRRESP_GET_D2(he_cap) (0)
- #define WMI_HECAP_MAC_SRRESP_SET_D2(he_cap, value) {;}
- #define WMI_HECAP_MAC_OPS_GET_D2(he_cap) (0)
- #define WMI_HECAP_MAC_OPS_SET_D2(he_cap, value) {;}
- #define WMI_HECAP_MAC_NDPFDBKRPT_GET_D2(he_cap) (0)
- #define WMI_HECAP_MAC_NDPFDBKRPT_SET_D2(he_cap, value) {;}
- #define WMI_HECAP_MAC_MBAHECTRL_GET_D2(he_cap) (0)
- #define WMI_HECAP_MAC_MBAHECTRL_SET_D2(he_cap, value) {;}
- #define WMI_HECAP_MAC_MURTS_GET_D2(he_cap) (0)
- #define WMI_HECAP_MAC_MURTS_SET_D2(he_cap, value) {;}
- #define WMI_HECAP_PHY_CBMODE_GET_D2(he_cap_phy) WMI_HECAP_PHY_CBMODE_GET_D2(he_cap_phy)
- #define WMI_HECAP_PHY_CBMODE_SET_D2(he_cap_phy, value) WMI_HECAP_PHY_CBMODE_SET_D2(he_cap_phy, value)
- #define WMI_HECAP_PHY_OLTF_GET_D2(he_cap_phy) WMI_HECAP_PHY_LTFGIFORHE_GET_D2(he_cap_phy)
- #define WMI_HECAP_PHY_OLTF_SET_D2(he_cap_phy, value) WMI_HECAP_PHY_LTFGIFORHE_SET_D2(he_cap_phy, value)
- #define WMI_HECAP_PHY_SUBFMESTS_GET_D2(he_cap_phy) WMI_HECAP_PHY_BFMESTSLT80MHZ_GET_D2(he_cap_phy)
- #define WMI_HECAP_PHY_SUBFMESTS_SET_D2(he_cap_phy, value) WMI_HECAP_PHY_BFMESTSLT80MHZ_SET_D2(he_cap_phy, value)
- #define WMI_HECAP_PHY_PADDING_GET_D2(he_cap_phy) WMI_HECAP_PHY_PETHRESPRESENT_GET_D2(he_cap_phy)
- #define WMI_HECAP_PHY_PADDING_SET_D2(he_cap_phy, value) WMI_HECAP_PHY_PETHRESPRESENT_SET_D2(he_cap_phy, value)
- #define WMI_HECAP_PHY_DLOFMAMUMIMO_GET_D2(he_cap_phy) (0)
- #define WMI_HECAP_PHY_DLOFDMAMUMIO_SET_D2(he_cap_phy, value) {;}
- #define WMI_HECAP_PHY_32GI_GET_D2(he_cap_phy) (0)
- #define WMI_HECAP_PHY_32GI_SET_D2(he_cap_phy, value) {;}
- #define WMI_HECAP_PHY_NOSUNDIMENS_GET_D2(he_cap_phy) (0)
- #define WMI_HECAP_PHY_NOSUNDIMENS_SET_D2(he_cap_phy, value) {;}
- #define WMI_HECAP_PHY_40MHZNSS_GET_D2(he_cap_phy)(0)
- #define WMI_HECAP_PHY_40MHZNSS_SET_D2(he_cap_phy, value) {;}
- #define WMI_HECAP_PHY_ULOFDMA_GET_D2 WMI_HECAP_PHY_ULMUMIMOOFDMA_GET_D2
- #define WMI_HECAP_PHY_ULOFDMA_SET_D2 WMI_HECAP_PHY_ULMUMIMOOFDMA_SET_D2
- #define WMI_HECAP_PHY_DCM_GET_D2(he_cap_phy) WMI_HECAP_PHY_DCMRX_GET_D2(he_cap_phy)
- #define WMI_HECAP_PHY_DCM_SET_D2(he_cap_phy, value) WMI_HECAP_PHY_DCMRX_SET_D2(he_cap_phy, value)
- #define WMI_HECAP_PHY_NSTSLT80MHZ_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 5, 3)
- #define WMI_HECAP_PHY_NSTSLT80MHZ_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 5, 3, value)
- #define WMI_HECAP_PHY_NSTSGT80MHZ_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 8, 3)
- #define WMI_HECAP_PHY_NSTSGT80MHZ_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 8, 3, value)
- #define WMI_HECAP_MAC_DYNSMPWRSAVE_GET_D2(he_cap2) (0)
- #define WMI_HECAP_MAC_DYNSMPWRSAVE_SET_D2(he_cap2, value) {;}
- #define WMI_HECAP_MAC_PUNCSOUNDING_GET_D2(he_cap2) (0)
- #define WMI_HECAP_MAC_PUNCSOUNDING_SET_D2(he_cap2, value) {;}
- #define WMI_HECAP_MAC_HTVHTTRIGRX_GET_D2(he_cap2) (0)
- #define WMI_HECAP_MAC_HTVHTTRIGRX_SET_D2(he_cap2, value) {;}
- #define WMI_GET_HW_RATECODE_PREAM_V1(_rcode) (((_rcode) >> 8) & 0x7)
- #define WMI_GET_HW_RATECODE_NSS_V1(_rcode) (((_rcode) >> 5) & 0x7)
- #define WMI_GET_HW_RATECODE_RATE_V1(_rcode) (((_rcode) >> 0) & 0x1F)
- #define WMI_ASSEMBLE_RATECODE_V1(_rate, _nss, _pream) \
- (((1) << 28) | ((_pream) << 8) | ((_nss) << 5) | (_rate))
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 beacon_interval;
-
- A_UINT32 dtim_period;
-
- A_UINT32 flags;
-
- wmi_ssid ssid;
-
-
-
-
-
- A_UINT32 bcn_tx_rate;
-
- A_UINT32 bcn_txPower;
-
- A_UINT32 num_noa_descriptors;
-
- A_UINT32 disable_hw_ack;
-
-
- A_UINT32 preferred_tx_streams;
-
-
- A_UINT32 preferred_rx_streams;
- A_UINT32 he_ops;
- A_UINT32 cac_duration_ms;
- A_UINT32 regdomain;
-
- A_UINT32 min_data_rate;
-
- A_UINT32 mbss_capability_flags;
-
- A_UINT32 vdevid_trans;
- A_UINT32 eht_ops;
- A_UINT32 puncture_20mhz_bitmap;
- A_UINT32 mbssid_multi_group_flag;
- A_UINT32 mbssid_multi_group_id;
- } wmi_vdev_start_request_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- } wmi_vdev_delete_cmd_fixed_param;
- enum WMI_VDEV_UP_FLAGS {
-
- WMI_VDEV_UP_FLAG_EMA_MBSSID_AP = 0x00000001,
- };
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 vdev_assoc_id;
-
- wmi_mac_addr vdev_bssid;
-
- wmi_mac_addr trans_bssid;
-
- A_UINT32 profile_idx;
-
- A_UINT32 profile_num;
-
- A_UINT32 flags;
- } wmi_vdev_up_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- } wmi_vdev_stop_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- } wmi_vdev_down_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 vdev_id;
- } wmi_vdev_standby_response_cmd;
- typedef struct {
-
- A_UINT32 vdev_id;
- } wmi_vdev_resume_response_cmd;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 param_id;
-
- A_UINT32 param_value;
- } wmi_vdev_set_param_cmd_fixed_param;
- typedef struct {
- A_UINT32 key_seq_counter_l;
- A_UINT32 key_seq_counter_h;
- } wmi_key_seq_counter;
- #define WMI_CIPHER_NONE 0x0
- #define WMI_CIPHER_WEP 0x1
- #define WMI_CIPHER_TKIP 0x2
- #define WMI_CIPHER_AES_OCB 0x3
- #define WMI_CIPHER_AES_CCM 0x4
- #define WMI_CIPHER_WAPI 0x5
- #define WMI_CIPHER_CKIP 0x6
- #define WMI_CIPHER_AES_CMAC 0x7
- #define WMI_CIPHER_ANY 0x8
- #define WMI_CIPHER_AES_GCM 0x9
- #define WMI_CIPHER_AES_GMAC 0xa
- #define WMI_CIPHER_WAPI_GCM_SM4 0xb
- #define WMI_CIPHER_BIP_CMAC_128 0xc
- #define WMI_CIPHER_BIP_CMAC_256 0xd
- #define WMI_CIPHER_BIP_GMAC_128 0xe
- #define WMI_CIPHER_BIP_GMAC_256 0xf
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 key_ix;
-
- A_UINT32 key_flags;
-
- A_UINT32 key_cipher;
-
- wmi_key_seq_counter key_rsc_counter;
-
- wmi_key_seq_counter key_global_rsc_counter;
-
- wmi_key_seq_counter key_tsc_counter;
-
- A_UINT8 wpi_key_rsc_counter[16];
-
- A_UINT8 wpi_key_tsc_counter[16];
-
- A_UINT32 key_len;
-
- A_UINT32 key_txmic_len;
-
- A_UINT32 key_rxmic_len;
-
- A_UINT32 is_group_key_ix_valid;
-
- A_UINT32 group_key_ix;
- } wmi_vdev_install_key_cmd_fixed_param;
- typedef enum {
- WMI_RATE_PREAMBLE_OFDM,
- WMI_RATE_PREAMBLE_CCK,
- WMI_RATE_PREAMBLE_HT,
- WMI_RATE_PREAMBLE_VHT,
- WMI_RATE_PREAMBLE_HE,
- WMI_RATE_PREAMBLE_EHT,
- } WMI_RATE_PREAMBLE;
- #define WMI_FIXED_RATE_NONE (0xff)
- #define WMI_GI_400_NS 1
- #define WMI_GI_800_NS 0
- #define WMI_GI_1600_NS 2
- #define WMI_GI_3200_NS 3
- #define WMI_VDEV_OCE_PROBE_REQUEST_RATE_FEATURE_BITMAP 0x1
- #define WMI_VDEV_OCE_PROBE_RESPONSE_RATE_FEATURE_BITMAP 0x2
- #define WMI_VDEV_OCE_BEACON_RATE_FEATURE_BITMAP 0x4
- #define WMI_VDEV_OCE_PROBE_REQUEST_DEFERRAL_FEATURE_BITMAP 0x8
- #define WMI_VDEV_OCE_FILS_DISCOVERY_FRAME_FEATURE_BITMAP 0x10
- #define WMI_VDEV_OCE_ESP_FEATURE_BITMAP 0x20
- #define WMI_VDEV_OCE_REASSOC_REJECT_FEATURE_BITMAP 0x40
- #define WMI_VDEV_6GHZ_BITMAP_NON_HT_DUPLICATE_BEACON 0x1
- #define WMI_VDEV_6GHZ_BITMAP_NON_HT_DUPLICATE_BCAST_PROBE_RSP 0x2
- #define WMI_VDEV_6GHZ_BITMAP_NON_HT_DUPLICATE_FD_FRAME 0x4
- #define WMI_VDEV_6GHZ_BITMAP_FD_FRAME 0x8
- #define WMI_VDEV_6GHZ_BITMAP_BCAST_PROBE_RSP 0x10
- #define WMI_VDEV_ROAM_11KV_CTRL_DISABLE_FW_TRIGGER_ROAMING 0x1
- #define WMI_VDEV_ROAM_11KV_CTRL_KEEP_CONN_RECV_BTM_REQ 0x2
- #define WMI_VDEV_ROAM_11KV_CTRL_DONOT_SEND_DISASSOC_ON_BTM_DI_SET 0x4
- #define WMI_VDEV_NAN_ALLOW_DW_CONFIG_CHANGE_IN_SYNC_ROLE 0x1
- typedef enum {
-
- WMI_VDEV_PARAM_RTS_THRESHOLD = 0x1,
-
- WMI_VDEV_PARAM_FRAGMENTATION_THRESHOLD,
-
- WMI_VDEV_PARAM_BEACON_INTERVAL,
-
- WMI_VDEV_PARAM_LISTEN_INTERVAL,
-
- WMI_VDEV_PARAM_MULTICAST_RATE,
-
- WMI_VDEV_PARAM_MGMT_TX_RATE,
-
- WMI_VDEV_PARAM_SLOT_TIME,
-
- WMI_VDEV_PARAM_PREAMBLE,
-
- WMI_VDEV_PARAM_SWBA_TIME,
-
- WMI_VDEV_STATS_UPDATE_PERIOD,
-
- WMI_VDEV_PWRSAVE_AGEOUT_TIME,
-
- WMI_VDEV_HOST_SWBA_INTERVAL,
-
- WMI_VDEV_PARAM_DTIM_PERIOD,
-
- WMI_VDEV_OC_SCHEDULER_AIR_TIME_LIMIT,
-
- WMI_VDEV_PARAM_WDS,
-
- WMI_VDEV_PARAM_ATIM_WINDOW,
-
- WMI_VDEV_PARAM_BMISS_COUNT_MAX,
-
- WMI_VDEV_PARAM_BMISS_FIRST_BCNT,
-
- WMI_VDEV_PARAM_BMISS_FINAL_BCNT,
-
- WMI_VDEV_PARAM_FEATURE_WMM,
-
- WMI_VDEV_PARAM_CHWIDTH,
-
- WMI_VDEV_PARAM_CHEXTOFFSET,
-
- WMI_VDEV_PARAM_DISABLE_HTPROTECTION,
-
- WMI_VDEV_PARAM_STA_QUICKKICKOUT,
-
- WMI_VDEV_PARAM_MGMT_RATE,
-
- WMI_VDEV_PARAM_PROTECTION_MODE,
-
- WMI_VDEV_PARAM_FIXED_RATE,
-
- WMI_VDEV_PARAM_SGI,
-
- WMI_VDEV_PARAM_LDPC,
-
- WMI_VDEV_PARAM_TX_STBC,
-
- WMI_VDEV_PARAM_RX_STBC,
-
- WMI_VDEV_PARAM_INTRA_BSS_FWD,
-
- WMI_VDEV_PARAM_DEF_KEYID,
-
- WMI_VDEV_PARAM_NSS,
-
- WMI_VDEV_PARAM_BCAST_DATA_RATE,
-
- WMI_VDEV_PARAM_MCAST_DATA_RATE,
-
- WMI_VDEV_PARAM_MCAST_INDICATE,
-
- WMI_VDEV_PARAM_DHCP_INDICATE,
-
- WMI_VDEV_PARAM_UNKNOWN_DEST_INDICATE,
-
- WMI_VDEV_PARAM_AP_KEEPALIVE_MIN_IDLE_INACTIVE_TIME_SECS,
-
- WMI_VDEV_PARAM_AP_KEEPALIVE_MAX_IDLE_INACTIVE_TIME_SECS,
-
- WMI_VDEV_PARAM_AP_KEEPALIVE_MAX_UNRESPONSIVE_TIME_SECS,
-
- WMI_VDEV_PARAM_AP_ENABLE_NAWDS,
-
- WMI_VDEV_PARAM_ENABLE_RTSCTS,
-
- WMI_VDEV_PARAM_TXBF,
-
- WMI_VDEV_PARAM_PACKET_POWERSAVE,
-
- WMI_VDEV_PARAM_DROP_UNENCRY,
-
- WMI_VDEV_PARAM_TX_ENCAP_TYPE,
-
- WMI_VDEV_PARAM_AP_DETECT_OUT_OF_SYNC_SLEEPING_STA_TIME_SECS,
-
- WMI_VDEV_PARAM_EARLY_RX_ADJUST_ENABLE,
-
- WMI_VDEV_PARAM_EARLY_RX_TGT_BMISS_NUM,
-
- WMI_VDEV_PARAM_EARLY_RX_BMISS_SAMPLE_CYCLE,
-
- WMI_VDEV_PARAM_EARLY_RX_SLOP_STEP,
-
- WMI_VDEV_PARAM_EARLY_RX_INIT_SLOP,
-
- WMI_VDEV_PARAM_EARLY_RX_ADJUST_PAUSE,
-
- WMI_VDEV_PARAM_TX_PWRLIMIT,
-
- WMI_VDEV_PARAM_SNR_NUM_FOR_CAL,
-
- WMI_VDEV_PARAM_ROAM_FW_OFFLOAD,
-
- WMI_VDEV_PARAM_ENABLE_RMC,
-
- WMI_VDEV_PARAM_IBSS_MAX_BCN_LOST_MS,
-
- WMI_VDEV_PARAM_MAX_RATE,
-
- WMI_VDEV_PARAM_EARLY_RX_DRIFT_SAMPLE,
-
- WMI_VDEV_PARAM_SET_IBSS_TX_FAIL_CNT_THR,
-
- WMI_VDEV_PARAM_EBT_RESYNC_TIMEOUT,
-
- WMI_VDEV_PARAM_AGGR_TRIG_EVENT_ENABLE,
-
- WMI_VDEV_PARAM_IS_IBSS_POWER_SAVE_ALLOWED,
-
- WMI_VDEV_PARAM_IS_POWER_COLLAPSE_ALLOWED,
-
- WMI_VDEV_PARAM_IS_AWAKE_ON_TXRX_ENABLED,
-
- WMI_VDEV_PARAM_INACTIVITY_CNT,
-
- WMI_VDEV_PARAM_TXSP_END_INACTIVITY_TIME_MS,
-
- WMI_VDEV_PARAM_DTIM_POLICY,
-
- WMI_VDEV_PARAM_IBSS_PS_WARMUP_TIME_SECS,
-
- WMI_VDEV_PARAM_IBSS_PS_1RX_CHAIN_IN_ATIM_WINDOW_ENABLE,
-
- WMI_VDEV_PARAM_RX_LEAK_WINDOW,
-
- WMI_VDEV_PARAM_STATS_AVG_FACTOR,
-
- WMI_VDEV_PARAM_DISCONNECT_TH,
-
- WMI_VDEV_PARAM_RTSCTS_RATE,
-
- WMI_VDEV_PARAM_MCC_RTSCTS_PROTECTION_ENABLE,
-
- WMI_VDEV_PARAM_MCC_BROADCAST_PROBE_ENABLE,
-
- WMI_VDEV_PARAM_TXPOWER_SCALE,
-
- WMI_VDEV_PARAM_TXPOWER_SCALE_DECR_DB,
-
- WMI_VDEV_PARAM_MCAST2UCAST_SET,
-
- WMI_VDEV_PARAM_RC_NUM_RETRIES,
-
- WMI_VDEV_PARAM_CABQ_MAXDUR,
-
- WMI_VDEV_PARAM_MFPTEST_SET,
-
- WMI_VDEV_PARAM_RTS_FIXED_RATE,
-
- WMI_VDEV_PARAM_VHT_SGIMASK,
-
- WMI_VDEV_PARAM_VHT80_RATEMASK,
-
- WMI_VDEV_PARAM_PROXY_STA,
-
- WMI_VDEV_PARAM_VIRTUAL_CELL_MODE,
-
- WMI_VDEV_PARAM_RX_DECAP_TYPE,
-
- WMI_VDEV_PARAM_BW_NSS_RATEMASK,
-
- WMI_VDEV_PARAM_SENSOR_AP,
-
- WMI_VDEV_PARAM_BEACON_RATE,
-
- WMI_VDEV_PARAM_DTIM_ENABLE_CTS,
-
- WMI_VDEV_PARAM_STA_KICKOUT,
-
- WMI_VDEV_PARAM_CAPABILITIES,
-
- WMI_VDEV_PARAM_TSF_INCREMENT,
-
- WMI_VDEV_PARAM_AMPDU_PER_AC,
-
- WMI_VDEV_PARAM_RX_FILTER,
-
- WMI_VDEV_PARAM_MGMT_TX_POWER,
-
- WMI_VDEV_PARAM_NON_AGG_SW_RETRY_TH,
-
- WMI_VDEV_PARAM_AGG_SW_RETRY_TH,
-
- WMI_VDEV_PARAM_DISABLE_DYN_BW_RTS,
-
- WMI_VDEV_PARAM_ATF_SSID_SCHED_POLICY,
-
- WMI_VDEV_PARAM_HE_DCM,
-
- WMI_VDEV_PARAM_HE_RANGE_EXT,
-
- WMI_VDEV_PARAM_ENABLE_BCAST_PROBE_RESPONSE,
-
- WMI_VDEV_PARAM_FILS_MAX_CHANNEL_GUARD_TIME,
-
- WMI_VDEV_PARAM_DISABLE_NOA_P2P_GO,
-
- WMI_VDEV_PARAM_PER_BAND_MGMT_TX_RATE,
-
- WMI_VDEV_PARAM_11AX_TXBF,
-
- WMI_VDEV_PARAM_SMPS_INTOLERANT,
-
- WMI_VDEV_PARAM_PROBE_DELAY,
-
- WMI_VDEV_PARAM_REPEAT_PROBE_TIME,
-
- WMI_VDEV_PARAM_HE_LTF,
-
- WMI_VDEV_PARAM_ABG_MODE_TX_CHAIN_NUM,
-
- WMI_VDEV_PARAM_ENABLE_MULTI_GROUP_KEY,
-
- WMI_VDEV_PARAM_NUM_GROUP_KEYS,
-
- WMI_VDEV_PARAM_ENABLE_DISABLE_OCE_FEATURES,
-
- WMI_VDEV_PARAM_RATE_DROPDOWN_BMAP,
-
- WMI_VDEV_PARAM_MODDTIM_CNT,
-
- WMI_VDEV_PARAM_MAX_LI_OF_MODDTIM,
-
- WMI_VDEV_PARAM_DYNDTIM_CNT,
-
- WMI_VDEV_PARAM_ENABLE_DISABLE_RTT_RESPONDER_ROLE,
-
- WMI_VDEV_PARAM_BA_MODE,
-
- WMI_VDEV_PARAM_FORCED_MODDTIM_ENABLE,
-
- WMI_VDEV_PARAM_AUTORATE_MISC_CFG,
-
- WMI_VDEV_PARAM_ENABLE_DISABLE_RTT_INITIATOR_RANDOM_MAC,
-
- WMI_VDEV_PARAM_TX_RETRIES_BEFORE_RTS_PER_AC,
-
- WMI_VDEV_PARAM_AMSDU_AGGREGATION_SIZE_OPTIMIZATION,
-
- WMI_VDEV_PARAM_RAW_IS_ENCRYPTED,
-
- WMI_VDEV_PARAM_GTX_ENABLE,
-
- WMI_VDEV_PARAM_DISABLE_CABQ,
-
- WMI_VDEV_PARAM_SET_HE_SOUNDING_MODE,
-
- WMI_VDEV_PARAM_UL_FIXED_RATE,
-
- WMI_VDEV_PARAM_UL_GI,
-
- WMI_VDEV_PARAM_UL_LDPC,
-
- WMI_VDEV_PARAM_UL_NSS,
-
- WMI_VDEV_PARAM_UL_STBC,
-
- WMI_VDEV_PARAM_UL_HE_LTF,
-
- WMI_VDEV_PARAM_UL_PPDU_BW,
-
- WMI_VDEV_PARAM_MU_EDCA_FW_UPDATE_EN,
-
- WMI_VDEV_PARAM_UPDATE_OBSS_RU_TOLERANCE_TIME,
-
- WMI_VDEV_PARAM_MAX_MTU_SIZE,
-
- WMI_VDEV_PARAM_NTH_BEACON_TO_HOST,
-
- WMI_VDEV_PARAM_PACKET_CAPTURE_MODE,
-
- WMI_VDEV_PARAM_MCAST_RC_STALE_PERIOD,
-
- WMI_VDEV_PARAM_MSDU_FLOW_OVERRIDE_CONFIG,
-
- WMI_VDEV_PARAM_ENABLE_NULL_FOR_LEAKY_AP,
-
- WMI_VDEV_PARAM_NDP_INACTIVITY_TIMEOUT,
-
- WMI_VDEV_PARAM_ENABLE_MCAST_RC,
-
- WMI_VDEV_PARAM_6GHZ_PARAMS,
-
- WMI_VDEV_PARAM_ENABLE_DISABLE_RTT_INITIATOR_ROLE,
-
- WMI_VDEV_PARAM_NDP_KEEPALIVE_TIMEOUT,
-
- WMI_VDEV_PARAM_ALLOW_NAN_INITIAL_DISCOVERY_OF_MP0_CLUSTER,
-
- WMI_VDEV_PARAM_ENABLE_DISABLE_ROAM_REASON_VSIE,
-
- WMI_VDEV_PARAM_SET_CMD_OBSS_PD_THRESHOLD,
-
- WMI_VDEV_PARAM_SET_CMD_OBSS_PD_PER_AC,
-
- WMI_VDEV_PARAM_RSN_CAPABILITY,
-
- WMI_VDEV_PARAM_ENABLE_SRP,
-
- WMI_VDEV_PARAM_ROAM_11KV_CTRL,
-
- WMI_VDEV_PARAM_ENABLE_DISABLE_NAN_CONFIG_FEATURES,
-
- WMI_VDEV_PARAM_SHO_CONFIG,
-
- WMI_VDEV_PARAM_NON_DATA_HE_RANGE_EXT,
-
- WMI_VDEV_PARAM_PROHIBIT_DATA_MGMT,
-
- WMI_VDEV_PARAM_WMM_TXOP_ENABLE,
-
- WMI_VDEV_PARAM_FORCE_DTIM_CNT,
-
- WMI_VDEV_PARAM_SMART_MONITOR_CONFIG,
-
- WMI_VDEV_PARAM_PROTOTYPE = 0x8000,
-
-
- WMI_VDEV_PARAM_BSS_COLOR,
-
- WMI_VDEV_PARAM_SET_HEMU_MODE,
- WMI_VDEV_PARAM_HEOPS_0_31,
- WMI_VDEV_PARAM_OBSSPD,
-
- WMI_VDEV_PARAM_SET_EHT_MU_MODE,
-
- WMI_VDEV_PARAM_EHT_LTF,
-
- WMI_VDEV_PARAM_UL_EHT_LTF,
-
- WMI_VDEV_PARAM_EHT_DCM,
-
- WMI_VDEV_PARAM_EHT_RANGE_EXT,
-
- WMI_VDEV_PARAM_NON_DATA_EHT_RANGE_EXT,
-
- WMI_VDEV_PARAM_FIXED_PUNCTURE_PATTERN,
- WMI_VDEV_PARAM_EHTOPS_0_31,
-
- WMI_VDEV_PARAM_SET_EHT_PUNCTURING_MODE,
-
- WMI_VDEV_PARAM_MCAST_STEERING,
-
- } WMI_VDEV_PARAM;
- #define WMI_VDEV_EHT_SUBFEE_IS_ENABLED(eht_mu_mode) WMI_GET_BITS((eht_mu_mode), 0, 1)
- #define WMI_VDEV_EHT_SUBFEE_ENABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 0, 1, 1)
- #define WMI_VDEV_EHT_SUBFEE_DISABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 0, 1, 0)
- #define WMI_VDEV_EHT_SUBFER_IS_ENABLED(eht_mu_mode) WMI_GET_BITS((eht_mu_mode), 1, 1)
- #define WMI_VDEV_EHT_SUBFER_ENABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 1, 1, 1)
- #define WMI_VDEV_EHT_SUBFER_DISABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 1, 1, 0)
- #define WMI_VDEV_EHT_MUBFEE_IS_ENABLED(eht_mu_mode) WMI_GET_BITS((eht_mu_mode), 2, 1)
- #define WMI_VDEV_EHT_MUBFEE_ENABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 2, 1, 1)
- #define WMI_VDEV_EHT_MUBFEE_DISABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 2, 1, 0)
- #define WMI_VDEV_EHT_MUBFER_IS_ENABLED(eht_mu_mode) WMI_GET_BITS((eht_mu_mode), 3, 1)
- #define WMI_VDEV_EHT_MUBFER_ENABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 3, 1, 1)
- #define WMI_VDEV_EHT_MUBFER_DISABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 3, 1, 0)
- #define WMI_VDEV_EHT_DLOFDMA_IS_ENABLED(eht_mu_mode) WMI_GET_BITS((eht_mu_mode), 4, 1)
- #define WMI_VDEV_EHT_DLOFDMA_ENABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 4, 1, 1)
- #define WMI_VDEV_EHT_DLOFDMA_DISABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 4, 1, 0)
- #define WMI_VDEV_EHT_ULOFDMA_IS_ENABLED(eht_mu_mode) WMI_GET_BITS((eht_mu_mode), 5, 1)
- #define WMI_VDEV_EHT_ULOFDMA_ENABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 5, 1, 1)
- #define WMI_VDEV_EHT_ULOFDMA_DISABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 5, 1, 0)
- #define WMI_VDEV_EHT_ULMUMIMO_IS_ENABLED(eht_mu_mode) WMI_GET_BITS((eht_mu_mode), 6, 1)
- #define WMI_VDEV_EHT_ULMUMIMO_ENABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 6, 1, 1)
- #define WMI_VDEV_EHT_ULMUMIMO_DISABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 6, 1, 0)
- #define WMI_VDEV_EHT_TXBF_OFDMA_IS_ENABLED(eht_mu_mode) WMI_GET_BITS((eht_mu_mode), 7, 1)
- #define WMI_VDEV_EHT_TXBF_OFDMA_ENABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 7, 1, 1)
- #define WMI_VDEV_EHT_TXBF_OFDMA_DISABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 7, 1, 0)
- #define WMI_VDEV_EHT_DLOFDMA_W_MUMIMO_IS_ENABLED(eht_mu_mode) WMI_GET_BITS((eht_mu_mode), 8, 1)
- #define WMI_VDEV_EHT_DLOFDMA_W_MUMIMO_ENABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 8, 1, 1)
- #define WMI_VDEV_EHT_DLOFDMA_W_MUMIMO_DISABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 8, 1, 0)
- #define WMI_VDEV_EHT_ULOFDMA_W_MUMIMO_IS_ENABLED(eht_mu_mode) WMI_GET_BITS((eht_mu_mode), 9, 1)
- #define WMI_VDEV_EHT_ULOFDMA_W_MUMIMO_ENABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 9, 1, 1)
- #define WMI_VDEV_EHT_ULOFDMA_W_MUMIMO_DISABLE(eht_mu_mode) WMI_SET_BITS((eht_mu_mode), 9, 1, 0)
- #define WMI_VDEV_HE_SUBFEE_IS_ENABLED(hemu_mode) WMI_GET_BITS(hemu_mode, 0, 1)
- #define WMI_VDEV_HE_SUBFEE_ENABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 0, 1, 1)
- #define WMI_VDEV_HE_SUBFEE_DISABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 0, 1, 0)
- #define WMI_VDEV_HE_SUBFER_IS_ENABLED(hemu_mode) WMI_GET_BITS(hemu_mode, 1, 1)
- #define WMI_VDEV_HE_SUBFER_ENABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 1, 1, 1)
- #define WMI_VDEV_HE_SUBFER_DISABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 1, 1, 0)
- #define WMI_VDEV_HE_MUBFEE_IS_ENABLED(hemu_mode) WMI_GET_BITS(hemu_mode, 2, 1)
- #define WMI_VDEV_HE_MUBFEE_ENABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 2, 1, 1)
- #define WMI_VDEV_HE_MUBFEE_DISABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 2, 1, 0)
- #define WMI_VDEV_HE_MUBFER_IS_ENABLED(hemu_mode) WMI_GET_BITS(hemu_mode, 3, 1)
- #define WMI_VDEV_HE_MUBFER_ENABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 3, 1, 1)
- #define WMI_VDEV_HE_MUBFER_DISABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 3, 1, 0)
- #define WMI_VDEV_HE_DLOFDMA_IS_ENABLED(hemu_mode) WMI_GET_BITS(hemu_mode, 4, 1)
- #define WMI_VDEV_HE_DLOFDMA_ENABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 4, 1, 1)
- #define WMI_VDEV_HE_DLOFDMA_DISABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 4, 1, 0)
- #define WMI_VDEV_HE_ULOFDMA_IS_ENABLED(hemu_mode) WMI_GET_BITS(hemu_mode, 5, 1)
- #define WMI_VDEV_HE_ULOFDMA_ENABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 5, 1, 1)
- #define WMI_VDEV_HE_ULOFDMA_DISABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 5, 1, 0)
- #define WMI_VDEV_HE_ULMUMIMO_IS_ENABLED(hemu_mode) WMI_GET_BITS(hemu_mode, 6, 1)
- #define WMI_VDEV_HE_ULMUMIMO_ENABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 6, 1, 1)
- #define WMI_VDEV_HE_ULMUMIMO_DISABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 6, 1, 0)
- #define WMI_VDEV_HE_TXBF_OFDMA_IS_ENABLED(hemu_mode) WMI_GET_BITS(hemu_mode, 7, 1)
- #define WMI_VDEV_HE_TXBF_OFDMA_ENABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 7, 1, 1)
- #define WMI_VDEV_HE_TXBF_OFDMA_DISABLE(hemu_mode) WMI_SET_BITS(hemu_mode, 7, 1, 0)
- #define WMI_VDEV_HE_AX_SOUNDING_IS_ENABLED(mode) WMI_GET_BITS(mode, 0, 1)
- #define WMI_VDEV_HE_MU_SOUNDING_IS_ENABLED(mode) WMI_GET_BITS(mode, 2, 1)
- #define WMI_VDEV_HE_AX_TRIG_SOUNDING_IS_ENABLED(mode) WMI_GET_BITS(mode, 3, 1)
- #define WMI_VDEV_BEACON_SUPPORT 0x1
- #define WMI_VDEV_WDS_LRN_ENABLED 0x2
- #define WMI_VDEV_VOW_ENABLED 0x4
- #define WMI_VDEV_IS_BEACON_SUPPORTED(param) ((param) & WMI_VDEV_BEACON_SUPPORT)
- #define WMI_VDEV_IS_WDS_LRN_ENABLED(param) ((param) & WMI_VDEV_WDS_LRN_ENABLED)
- #define WMI_VDEV_IS_VOW_ENABLED(param) ((param) & WMI_VDEV_VOW_ENABLED)
- #define WMI_VDEV_MGMT_RATE_DROPDOWN_M 0x01
- #define WMI_VDEV_MGMT_RATE_DROPDOWN_S 0
- #define WMI_VDEV_MGMT_RATE_DROPDOWN (WMI_VDEV_MGMT_RATE_DROPDOWN_M << WMI_VDEV_MGMT_RATE_DROPDOWN_S)
- #define WMI_VDEV_MGMT_RATE_DROPDOWN_GET(x) WMI_F_MS(x, WMI_VDEV_MGMT_RATE_DROPDOWN)
- #define WMI_VDEV_MGMT_RATE_DROPDOWN_SET(x,z) WMI_F_RMW(x, z, WMI_VDEV_MGMT_RATE_DROPDOWN)
- #define WMI_VDEV_SU_DATA_RATE_DROPDOWN_M 0x01
- #define WMI_VDEV_SU_DATA_RATE_DROPDOWN_S 1
- #define WMI_VDEV_SU_DATA_RATE_DROPDOWN (WMI_VDEV_SU_DATA_RATE_DROPDOWN_M << WMI_VDEV_SU_DATA_RATE_DROPDOWN_S)
- #define WMI_VDEV_SU_DATA_RATE_DROPDOWN_GET(x) WMI_F_MS(x, WMI_VDEV_SU_DATA_RATE_DROPDOWN)
- #define WMI_VDEV_SU_DATA_RATE_DROPDOWN_SET(x,z) WMI_F_RMW(x, z, WMI_VDEV_SU_DATA_RATE_DROPDOWN)
- #define WMI_VDEV_MU_DATA_RATE_DROPDOWN_M 0x01
- #define WMI_VDEV_MU_DATA_RATE_DROPDOWN_S 2
- #define WMI_VDEV_MU_DATA_RATE_DROPDOWN (WMI_VDEV_MU_DATA_RATE_DROPDOWN_M << WMI_VDEV_MU_DATA_RATE_DROPDOWN_S)
- #define WMI_VDEV_MU_DATA_RATE_DROPDOWN_GET(x) WMI_F_MS(x, WMI_VDEV_MU_DATA_RATE_DROPDOWN)
- #define WMI_VDEV_MU_DATA_RATE_DROPDOWN_SET(x,z) WMI_F_RMW(x, z, WMI_VDEV_MU_DATA_RATE_DROPDOWN)
- #define WMI_TXBF_CONF_SU_TX_BFEE_S 0
- #define WMI_TXBF_CONF_SU_TX_BFEE_M 0x1
- #define WMI_TXBF_CONF_SU_TX_BFEE (WMI_TXBF_CONF_SU_TX_BFEE_M << WMI_TXBF_CONF_SU_TX_BFEE_S)
- #define WMI_TXBF_CONF_SU_TX_BFEE_GET(x) WMI_F_MS(x,WMI_TXBF_CONF_SU_TX_BFEE)
- #define WMI_TXBF_CONF_SU_TX_BFEE_SET(x,z) WMI_F_RMW(x,z,WMI_TXBF_CONF_SU_TX_BFEE)
- #define WMI_TXBF_CONF_MU_TX_BFEE_S 1
- #define WMI_TXBF_CONF_MU_TX_BFEE_M 0x1
- #define WMI_TXBF_CONF_MU_TX_BFEE (WMI_TXBF_CONF_MU_TX_BFEE_M << WMI_TXBF_CONF_MU_TX_BFEE_S)
- #define WMI_TXBF_CONF_MU_TX_BFEE_GET(x) WMI_F_MS(x,WMI_TXBF_CONF_MU_TX_BFEE)
- #define WMI_TXBF_CONF_MU_TX_BFEE_SET(x,z) WMI_F_RMW(x,z,WMI_TXBF_CONF_MU_TX_BFEE)
- #define WMI_TXBF_CONF_SU_TX_BFER_S 2
- #define WMI_TXBF_CONF_SU_TX_BFER_M 0x1
- #define WMI_TXBF_CONF_SU_TX_BFER (WMI_TXBF_CONF_SU_TX_BFER_M << WMI_TXBF_CONF_SU_TX_BFER_S)
- #define WMI_TXBF_CONF_SU_TX_BFER_GET(x) WMI_F_MS(x,WMI_TXBF_CONF_SU_TX_BFER)
- #define WMI_TXBF_CONF_SU_TX_BFER_SET(x,z) WMI_F_RMW(x,z,WMI_TXBF_CONF_SU_TX_BFER)
- #define WMI_TXBF_CONF_MU_TX_BFER_S 3
- #define WMI_TXBF_CONF_MU_TX_BFER_M 0x1
- #define WMI_TXBF_CONF_MU_TX_BFER (WMI_TXBF_CONF_MU_TX_BFER_M << WMI_TXBF_CONF_MU_TX_BFER_S)
- #define WMI_TXBF_CONF_MU_TX_BFER_GET(x) WMI_F_MS(x,WMI_TXBF_CONF_MU_TX_BFER)
- #define WMI_TXBF_CONF_MU_TX_BFER_SET(x,z) WMI_F_RMW(x,z,WMI_TXBF_CONF_MU_TX_BFER)
- #define WMI_TXBF_CONF_STS_CAP_S 4
- #define WMI_TXBF_CONF_STS_CAP_M 0x7
- #define WMI_TXBF_CONF_STS_CAP (WMI_TXBF_CONF_STS_CAP_M << WMI_TXBF_CONF_STS_CAP_S)
- #define WMI_TXBF_CONF_STS_CAP_GET(x) WMI_F_MS(x,WMI_TXBF_CONF_STS_CAP);
- #define WMI_TXBF_CONF_STS_CAP_SET(x,z) WMI_F_RMW(x,z,WMI_TXBF_CONF_STS_CAP)
- #define WMI_TXBF_CONF_IMPLICIT_BF_S 7
- #define WMI_TXBF_CONF_IMPLICIT_BF_M 0x1
- #define WMI_TXBF_CONF_IMPLICIT_BF (WMI_TXBF_CONF_IMPLICIT_BF_M << WMI_TXBF_CONF_IMPLICIT_BF_S)
- #define WMI_TXBF_CONF_IMPLICIT_BF_GET(x) WMI_F_MS(x,WMI_TXBF_CONF_IMPLICIT_BF)
- #define WMI_TXBF_CONF_IMPLICIT_BF_SET(x,z) WMI_F_RMW(x,z,WMI_TXBF_CONF_IMPLICIT_BF)
- #define WMI_TXBF_CONF_BF_SND_DIM_S 8
- #define WMI_TXBF_CONF_BF_SND_DIM_M 0x7
- #define WMI_TXBF_CONF_BF_SND_DIM (WMI_TXBF_CONF_BF_SND_DIM_M << WMI_TXBF_CONF_BF_SND_DIM_S)
- #define WMI_TXBF_CONF_BF_SND_DIM_GET(x) WMI_F_MS(x,WMI_TXBF_CONF_BF_SND_DIM)
- #define WMI_TXBF_CONF_BF_SND_DIM_SET(x,z) WMI_F_RMW(x,z,WMI_TXBF_CONF_BF_SND_DIM)
- #define WMI_TXBF_CONF_11AX_SU_TX_BFER_GET(x) WMI_GET_BITS((x,0,1)
- #define WMI_TXBF_CONF_11AX_SU_TX_BFER_SET(x,z) WMI_SET_BITS(x,0,1,z)
- #define WMI_TXBF_CONF_11AX_SU_TX_BFEE_GET(x) WMI_GET_BITS((x,1,1)
- #define WMI_TXBF_CONF_11AX_SU_TX_BFEE_SET(x,z) WMI_SET_BITS(x,1,1,z)
- #define WMI_TXBF_CONF_11AX_MU_TX_BFER_GET(x) WMI_GET_BITS((x,2,1)
- #define WMI_TXBF_CONF_11AX_MU_TX_BFER_SET(x,z) WMI_SET_BITS(x,2,1,z)
- #define WMI_TXBF_CONF_11AX_BFEE_NDP_STS_LT_EQ_80_GET(x) WMI_GET_BITS((x,3,3)
- #define WMI_TXBF_CONF_11AX_BFEE_NDP_STS_LT_EQ_80_SET(x,z) WMI_SET_BITS(x,3,3,z)
- #define WMI_TXBF_CONF_11AX_NSTS_LT_EQ_80_GET(x) WMI_GET_BITS((x,6,3)
- #define WMI_TXBF_CONF_11AX_NSTS_LT_EQ_80_SET(x,z) WMI_SET_BITS(x,6,3,z)
- #define WMI_TXBF_CONF_11AX_TX_BFEE_NDP_STS_GT_80_GET(x) WMI_GET_BITS((x,9,3)
- #define WMI_TXBF_CONF_11AX_TX_BFEE_NDP_STS_GT_80_SET(x,z) WMI_SET_BITS(x,9,3,z)
- #define WMI_TXBF_CONF_11AX_NSTS_GT_80_GET(x) WMI_GET_BITS((x,12,3)
- #define WMI_TXBF_CONF_11AX_NSTS_GT_80_SET(x,z) WMI_SET_BITS(x,12,3,z)
- #define WMI_TXBF_CONF_AX_BFER_SND_DIM_LT_EQ_80_SND_DIM_GET(x) WMI_GET_BITS((x,15,3)
- #define WMI_TXBF_CONF_AX_BFER_SND_DIM_LT_EQ_80_SND_DIM_SET(x,z) WMI_SET_BITS(x,15,3,z)
- #define WMI_TXBF_CONF_AX_BFER_SND_DIM_GT_80_SND_DIM_GET(x) WMI_GET_BITS((x,18,3)
- #define WMI_TXBF_CONF_AX_BFER_SND_DIM_GT_80_SND_DIM_SET(x,z) WMI_SET_BITS(x,18,3,z)
- #define WMI_TXBF_CONF_AX_SU_BFEE_NG16_FDBK_GET(x) WMI_GET_BITS((x,21,1)
- #define WMI_TXBF_CONF_AX_SU_BFEE_NG16_FDBK_SET(x,z) WMI_SET_BITS(x,21,1,z)
- #define WMI_TXBF_CONF_AX_MU_BFEE_NG16_FDBK_GET(x) WMI_GET_BITS((x,22,1)
- #define WMI_TXBF_CONF_AX_MU_BFEE_NG16_FDBK_SET(x,z) WMI_SET_BITS(x,22,1,z)
- #define WMI_TXBF_CONF_AX_SU_BFEE_CDBK_4_2_GET(x) WMI_GET_BITS((x,23,1)
- #define WMI_TXBF_CONF_AX_SU_BFEE_CDBK_4_2_SET(x,z) WMI_SET_BITS(x,23,1,z)
- #define WMI_TXBF_CONF_AX_MU_BFEE_CDBK_7_5_GET(x) WMI_GET_BITS((x,24,1)
- #define WMI_TXBF_CONF_AX_MU_BFEE_CDBK_7_5_SET(x,z) WMI_SET_BITS(x,24,1,z)
- #define WMI_TXBF_CONF_AX_FDBK_TRIG_GET(x) WMI_GET_BITS((x,25,1)
- #define WMI_TXBF_CONF_AX_FDBK_TRIG_SET(x,z) WMI_SET_BITS(x,25,1,z)
- typedef struct {
- A_UINT32 txbf_cap;
- } wmi_vdev_txbf_cap;
- typedef enum {
- WMI_VDEV_RX_ALLOW_ALL_FRAMES = 0x0,
- WMI_VDEV_RX_FILTER_OUT_FROMDS = 0x1,
- WMI_VDEV_RX_FILTER_OUT_TODS = 0x2,
- WMI_VDEV_RX_FILTER_OUT_NODS = 0x4,
- WMI_VDEV_RX_FILTER_OUT_RA = 0x8,
- WMI_VDEV_RX_FILTER_OUT_TA = 0x10,
- } wmi_vdev_param_filter;
- #define WMI_VDEV_PARAM_ATIM_WINDOW_LENGTH WMI_VDEV_PARAM_ATIM_WINDOW
- enum wmi_pkt_type {
- WMI_PKT_TYPE_RAW = 0,
- WMI_PKT_TYPE_NATIVE_WIFI = 1,
- WMI_PKT_TYPE_ETHERNET = 2,
- };
- typedef struct {
- A_UINT8 sutxbfee : 1,
- mutxbfee : 1,
- sutxbfer : 1,
- mutxbfer : 1,
- txb_sts_cap : 3,
- implicit_bf : 1;
- } wmi_vdev_txbf_en;
- #define WMI_ROAM_FW_OFFLOAD_ENABLE_FLAG 0x1
- #define WMI_ROAM_BMISS_FINAL_SCAN_ENABLE_FLAG 0x2
- #define WMI_VDEV_PARAM_SKIP_ROAM_EAPOL_4WAY_HANDSHAKE 0x4
- #define WMI_ROAM_BMISS_FINAL_SCAN_TYPE_FLAG 0x8
- #define WMI_VDEV_PARAM_SKIP_SAE_ROAM_4WAY_HANDSHAKE 0x10
- #define WMI_VDEV_SLOT_TIME_LONG 0x1
- #define WMI_VDEV_SLOT_TIME_SHORT 0x2
- #define WMI_VDEV_PREAMBLE_LONG 0x1
- #define WMI_VDEV_PREAMBLE_SHORT 0x2
- typedef enum {
-
- WMI_VDEV_START_RESP_EVENT = 0,
-
- WMI_VDEV_RESTART_RESP_EVENT,
- } WMI_START_EVENT_PARAM;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 requestor_id;
-
- WMI_START_EVENT_PARAM resp_type;
-
- A_UINT32 status;
-
- A_UINT32 chain_mask;
-
- A_UINT32 smps_mode;
- union {
- A_UINT32 mac_id;
-
- A_UINT32 pdev_id;
- };
-
- A_UINT32 cfgd_tx_streams;
-
- A_UINT32 cfgd_rx_streams;
-
- A_INT32 max_allowed_tx_power;
- } wmi_vdev_start_response_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- } wmi_vdev_stopped_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- } wmi_vdev_delete_resp_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- } wmi_vdev_simple_event_fixed_param;
- #define WMI_BSS_MAX_IDLE_TIME_PROTECTED_GET(idle_options) \
- WMI_GET_BITS(idle_options, 0, 1)
- #define WMI_BSS_MAX_IDLE_TIME_PROTECTED_SET(idle_options, val) \
- WMI_SET_BITS(idle_options, 0, 1, val)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 max_idle_period;
-
- A_UINT32 idle_options;
- } wmi_vdev_bss_max_idle_time_cmd_fixed_param;
- #define WMI_VDEV_START_RESPONSE_STATUS_SUCCESS 0x0
- #define WMI_VDEV_START_RESPONSE_INVALID_VDEVID 0x1
- #define WMI_VDEV_START_RESPONSE_NOT_SUPPORTED 0x2
- #define WMI_VDEV_START_RESPONSE_DFS_VIOLATION 0x3
- #define WMI_VDEV_START_RESPONSE_INVALID_REGDOMAIN 0x4
- #define WMI_VDEV_START_RESPONSE_INVALID_BAND 0x5
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 tx_rate;
-
- A_UINT32 txPower;
-
- A_UINT32 buf_len;
- } wmi_bcn_tx_hdr;
- #define WMI_BCN_FILTER_ALL 0
- #define WMI_BCN_FILTER_NONE 1
- #define WMI_BCN_FILTER_RSSI 2
- #define WMI_BCN_FILTER_BSSID 3
- #define WMI_BCN_FILTER_SSID 4
- typedef struct {
-
- A_UINT32 bcn_filter_id;
-
- A_UINT32 bcn_filter;
-
- A_UINT32 bcn_filter_len;
-
- A_UINT8 *bcn_filter_buf;
- } wmi_bcn_filter_rx_cmd;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 caps;
-
- A_UINT32 erp;
- } wmi_bcn_prb_info;
- enum wmi_frame_inject_type {
-
- WMI_FRAME_INJECT_TYPE_QOS_NULL,
-
- WMI_FRAME_INJECT_TYPE_CTS_TO_SELF,
-
- WMI_FRAME_INJECT_TYPE_HOST_BUFFER,
-
- WMI_FRAME_INJECT_TYPE_MAX,
- };
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 enable;
-
- A_UINT32 frame_type;
-
- A_UINT32 frame_inject_period;
-
- wmi_mac_addr frame_addr1;
-
- A_UINT32 fc_duration;
-
- A_UINT32 buf_len;
-
- } wmi_frame_inject_cmd_fixed_param;
- #define WMI_BEACON_TMPLT_PROFILE_PERIOD_BITPOS (0)
- #define WMI_BEACON_TMPLT_PROFILE_PERIOD_MASK (0xff << WMI_BEACON_TMPLT_PROFILE_PERIOD_BITPOS)
- #define WMI_BEACON_TMPLT_SET_PROFILE_PERIOD(_ema_param, _val) \
- WMI_SET_BITS(_ema_param, WMI_BEACON_TMPLT_PROFILE_PERIOD_BITPOS, 8, _val)
- #define WMI_BEACON_TMPLT_GET_PROFILE_PERIOD(_ema_param) \
- WMI_GET_BITS(_ema_param, WMI_BEACON_TMPLT_PROFILE_PERIOD_BITPOS, 8)
- #define WMI_BEACON_TMPLT_TEMPLATE_INDEX_BITPOS (8)
- #define WMI_BEACON_TMPLT_TEMPLATE_INDEX_MASK (0xff << WMI_BEACON_TMPLT_TEMPLATE_INDEX_BITPOS)
- #define WMI_BEACON_TMPLT_SET_TEMPLATE_INDEX(_ema_param, _val) \
- WMI_SET_BITS(_ema_param, WMI_BEACON_TMPLT_TEMPLATE_INDEX_BITPOS, 8, _val)
- #define WMI_BEACON_TMPLT_GET_TEMPLATE_INDEX(_ema_param) \
- WMI_GET_BITS(_ema_param, WMI_BEACON_TMPLT_TEMPLATE_INDEX_BITPOS, 8)
- #define WMI_BEACON_TMPLT_FIRST_TEMPLATE_BITPOS (16)
- #define WMI_BEACON_TMPLT_FIRST_TEMPLATE_MASK (0xff << WMI_BEACON_TMPLT_FIRST_TEMPLATE_BITPOS)
- #define WMI_BEACON_TMPLT_SET_FIRST_TEMPLATE(_ema_param, _val) \
- WMI_SET_BITS(_ema_param, WMI_BEACON_TMPLT_FIRST_TEMPLATE_BITPOS, 8, _val)
- #define WMI_BEACON_TMPLT_GET_FIRST_TEMPLATE(_ema_param) \
- WMI_GET_BITS(_ema_param, WMI_BEACON_TMPLT_FIRST_TEMPLATE_BITPOS, 8)
- #define WMI_BEACON_TMPLT_LAST_TEMPLATE_BITPOS (24)
- #define WMI_BEACON_TMPLT_LAST_TEMPLATE_MASK (0xff << WMI_BEACON_TMPLT_LAST_TEMPLATE_BITPOS)
- #define WMI_BEACON_TMPLT_SET_LAST_TEMPLATE(_ema_param, _val) \
- WMI_SET_BITS(_ema_param, WMI_BEACON_TMPLT_LAST_TEMPLATE_BITPOS, 8, _val)
- #define WMI_BEACON_TMPLT_GET_LAST_TEMPLATE(_ema_param) \
- WMI_GET_BITS(_ema_param, WMI_BEACON_TMPLT_LAST_TEMPLATE_BITPOS, 8)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 hw_link_id;
- A_UINT32 beacon_interval;
-
- A_UINT32 csa_switch_count_offset;
-
- A_UINT32 ext_csa_switch_count_offset;
-
- A_UINT32 per_sta_profile_offset;
-
- A_UINT32 quiet_ie_offset;
- } wmi_bcn_tmpl_ml_params;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 tim_ie_offset;
-
- A_UINT32 buf_len;
-
- A_UINT32 csa_switch_count_offset;
-
- A_UINT32 ext_csa_switch_count_offset;
-
- A_UINT32 csa_event_bitmap;
-
- A_UINT32 mbssid_ie_offset;
-
- A_UINT32 esp_ie_offset;
-
- A_UINT32 csc_switch_count_offset;
-
- A_UINT32 csc_event_bitmap;
-
- A_UINT32 mu_edca_ie_offset;
-
- A_UINT32 feature_enable_bitmap;
-
- A_UINT32 ema_params;
- } wmi_bcn_tmpl_cmd_fixed_param;
- #define WMI_CSA_EVENT_BMAP_VALID_MASK 0X80000000
- #define WMI_CSA_EVENT_BMAP_SWITCH_COUNT_ZERO 0
- #define WMI_CSA_EVENT_BMAP_ALL 0XFFFFFFFF
- #define WMI_CSC_EVENT_BMAP_VALID_MASK 0X80000000
- #define WMI_CSC_EVENT_BMAP_SWITCH_COUNT_ZERO 0
- #define WMI_CSC_EVENT_BMAP_ALL 0XFFFFFFFF
- #define WMI_BEACON_PROTECTION_BIT_POS 0
- #define WMI_BEACON_PROTECTION_EN_SET(param, value) \
- WMI_SET_BITS(param, WMI_BEACON_PROTECTION_BIT_POS, 1, value)
- #define WMI_BEACON_PROTECTION_EN_GET(param) \
- WMI_GET_BITS(param, WMI_BEACON_PROTECTION_BIT_POS, 1)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 buf_len;
- } wmi_prb_tmpl_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 buf_len;
- } wmi_fd_tmpl_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 tx_status;
- } wmi_offload_bcn_tx_status_event_fixed_param;
- enum wmi_sta_ps_mode {
-
- WMI_STA_PS_MODE_DISABLED = 0,
-
- WMI_STA_PS_MODE_ENABLED = 1,
- };
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 sta_ps_mode;
- } wmi_sta_powersave_mode_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 tx_cycle_percentage;
-
- A_UINT32 enabled;
- } wmi_sta_tdcc_config_cmd_fixed_param;
- enum wmi_csa_offload_en {
- WMI_CSA_OFFLOAD_DISABLE = 0,
- WMI_CSA_OFFLOAD_ENABLE = 1,
- };
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 csa_offload_enable;
- } wmi_csa_offload_enable_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_csa_offload_chanswitch_cmd_fixed_param;
- enum wmi_sta_ps_param_rx_wake_policy {
-
- WMI_STA_PS_RX_WAKE_POLICY_WAKE = 0,
-
- WMI_STA_PS_RX_WAKE_POLICY_POLL_UAPSD = 1,
- };
- enum wmi_sta_ps_param_tx_wake_threshold {
- WMI_STA_PS_TX_WAKE_THRESHOLD_NEVER = 0,
- WMI_STA_PS_TX_WAKE_THRESHOLD_ALWAYS = 1,
- };
- enum wmi_sta_ps_param_pspoll_count {
- WMI_STA_PS_PSPOLL_COUNT_NO_MAX = 0,
- };
- #define WMI_UAPSD_AC_TYPE_DELI 0
- #define WMI_UAPSD_AC_TYPE_TRIG 1
- #define WMI_UAPSD_AC_BIT_MASK(ac,type) \
- ((type == WMI_UAPSD_AC_TYPE_DELI) ? \
- (1 << (ac<<1)) : \
- (1 << ((ac<<1)+1)))
- enum wmi_sta_ps_param_uapsd {
- WMI_STA_PS_UAPSD_AC0_DELIVERY_EN = (1 << 0),
- WMI_STA_PS_UAPSD_AC0_TRIGGER_EN = (1 << 1),
- WMI_STA_PS_UAPSD_AC1_DELIVERY_EN = (1 << 2),
- WMI_STA_PS_UAPSD_AC1_TRIGGER_EN = (1 << 3),
- WMI_STA_PS_UAPSD_AC2_DELIVERY_EN = (1 << 4),
- WMI_STA_PS_UAPSD_AC2_TRIGGER_EN = (1 << 5),
- WMI_STA_PS_UAPSD_AC3_DELIVERY_EN = (1 << 6),
- WMI_STA_PS_UAPSD_AC3_TRIGGER_EN = (1 << 7),
- };
- enum wmi_sta_powersave_param {
- WMI_STA_PS_PARAM_RX_WAKE_POLICY = 0,
- WMI_STA_PS_PARAM_TX_WAKE_THRESHOLD = 1,
- WMI_STA_PS_PARAM_PSPOLL_COUNT = 2,
- WMI_STA_PS_PARAM_INACTIVITY_TIME = 3,
- WMI_STA_PS_PARAM_UAPSD = 4,
- WMI_STA_PS_PARAM_QPOWER_PSPOLL_COUNT = 5,
- WMI_STA_PS_ENABLE_QPOWER = 6,
- WMI_STA_PS_PARAM_QPOWER_MAX_TX_BEFORE_WAKE = 7,
- WMI_STA_PS_PARAM_QPOWER_SPEC_PSPOLL_WAKE_INTERVAL = 8,
- WMI_STA_PS_PARAM_QPOWER_SPEC_MAX_SPEC_NODATA_PSPOLL = 9,
- WMI_STA_PS_PARAM_MAX_RESET_ITO_COUNT_ON_TIM_NO_TXRX = 10,
- WMI_STA_PS_PARAM_ENABLE_PS_OPT_IN_WOW = 11,
- };
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 param;
- A_UINT32 value;
- } wmi_sta_powersave_param_cmd_fixed_param;
- #define WMI_STA_MIMO_PS_MODE_DISABLE
- #define WMI_STA_MIMO_PS_MODE_STATIC
- #define WMI_STA_MIMO_PS_MODE_DYNAMI
- typedef struct {
-
- A_UINT32 vdev_id;
-
- A_UINT32 mimo_pwrsave_mode;
- } wmi_sta_mimo_ps_mode_cmd;
- enum wmi_ap_ps_param_uapsd {
- WMI_AP_PS_UAPSD_AC0_DELIVERY_EN = (1 << 0),
- WMI_AP_PS_UAPSD_AC0_TRIGGER_EN = (1 << 1),
- WMI_AP_PS_UAPSD_AC1_DELIVERY_EN = (1 << 2),
- WMI_AP_PS_UAPSD_AC1_TRIGGER_EN = (1 << 3),
- WMI_AP_PS_UAPSD_AC2_DELIVERY_EN = (1 << 4),
- WMI_AP_PS_UAPSD_AC2_TRIGGER_EN = (1 << 5),
- WMI_AP_PS_UAPSD_AC3_DELIVERY_EN = (1 << 6),
- WMI_AP_PS_UAPSD_AC3_TRIGGER_EN = (1 << 7),
- };
- enum wmi_ap_ps_peer_param_max_sp {
- WMI_AP_PS_PEER_PARAM_MAX_SP_UNLIMITED = 0,
- WMI_AP_PS_PEER_PARAM_MAX_SP_2 = 1,
- WMI_AP_PS_PEER_PARAM_MAX_SP_4 = 2,
- WMI_AP_PS_PEER_PARAM_MAX_SP_6 = 3,
-
- MAX_WMI_AP_PS_PEER_PARAM_MAX_SP,
- };
- enum wmi_ap_ps_param_sifs_resp_frmtype {
- WMI_SIFS_RESP_PSPOLL = (1 << 0),
- WMI_SIFS_RESP_UAPSD = (1 << 1),
- WMI_SIFS_RESP_QBST_EXP = (1 << 2),
- WMI_SIFS_RESP_QBST_DATA = (1 << 3),
- WMI_SIFS_RESP_QBST_BAR = (1 << 4),
- };
- enum wmi_ap_ps_peer_param {
-
- WMI_AP_PS_PEER_PARAM_UAPSD = 0,
-
- WMI_AP_PS_PEER_PARAM_MAX_SP = 1,
-
- WMI_AP_PS_PEER_PARAM_AGEOUT_TIME = 2,
-
- WMI_AP_PS_PEER_PARAM_SIFS_RESP_FRMTYPE = 3,
-
- WMI_AP_PS_PEER_PARAM_SIFS_RESP_UAPSD = 4,
-
- WMI_AP_PS_PEER_PARAM_WNM_SLEEP = 5,
- };
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 param;
-
- A_UINT32 value;
- } wmi_ap_ps_peer_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 enabled;
-
- A_UINT32 duration_interval;
-
- A_UINT32 tsf_offset_high;
-
- A_UINT32 tsf_offset_low;
- } wmi_ap_powersave_peer_uapsd_coex_cmd;
- typedef enum {
- WMI_AP_PS_EGAP_F_ENABLE_PHYERR_DETECTION = 0x0001,
- WMI_AP_PS_EGAP_F_ENABLE_PWRSAVE_BY_PS_STATE = 0x0002,
- WMI_AP_PS_EGAP_F_ENABLE_PWRSAVE_BY_INACTIVITY = 0x0004,
- WMI_AP_PS_EGAP_FLAG_MAX = 0x8000
- } wmi_ap_ps_egap_flag_type;
- #define WMI_EGAP_GET_REDUCED_2G_TX_CHM(txrx_chm) WMI_GET_BITS(txrx_chm, 0, 8)
- #define WMI_EGAP_GET_REDUCED_2G_RX_CHM(txrx_chm) WMI_GET_BITS(txrx_chm, 8, 8)
- #define WMI_EGAP_GET_REDUCED_5G_TX_CHM(txrx_chm) WMI_GET_BITS(txrx_chm, 16, 8)
- #define WMI_EGAP_GET_REDUCED_5G_RX_CHM(txrx_chm) WMI_GET_BITS(txrx_chm, 24, 8)
- #define WMI_EGAP_SET_REDUCED_2G_TX_CHM(txrx_chm, val) WMI_SET_BITS(txrx_chm, 0, 8, val)
- #define WMI_EGAP_SET_REDUCED_2G_RX_CHM(txrx_chm, val) WMI_SET_BITS(txrx_chm, 8, 8, val)
- #define WMI_EGAP_SET_REDUCED_5G_TX_CHM(txrx_chm, val) WMI_SET_BITS(txrx_chm, 16, 8, val)
- #define WMI_EGAP_SET_REDUCED_5G_RX_CHM(txrx_chm, val) WMI_SET_BITS(txrx_chm, 24, 8, val)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 enable;
-
- A_UINT32 inactivity_time;
-
- A_UINT32 wait_time;
-
- A_UINT32 flags;
-
- A_UINT32 reduced_txrx_chainmask;
- } wmi_ap_ps_egap_param_cmd_fixed_param;
- typedef enum {
- WMI_AP_PS_EGAP_STATUS_IDLE = 1,
- WMI_AP_PS_EGAP_STATUS_PWRSAVE_OFF = 2,
- WMI_AP_PS_EGAP_STATUS_PWRSAVE_ON = 3,
- WMI_AP_PS_EGAP_STATUS_MAX = 15
- } wmi_ap_ps_egap_status_type;
- typedef struct
- {
-
- A_UINT32 tlv_header;
- union {
- A_UINT32 mac_id;
-
- A_UINT32 pdev_id;
- };
-
- A_UINT32 tx_chainmask;
-
- A_UINT32 rx_chainmask;
- } wmi_ap_ps_egap_info_chainmask_list;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 status;
- } wmi_ap_ps_egap_info_event_fixed_param;
- #define WMI_TIM_BITMAP_ARRAY_SIZE 4
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 tim_len;
-
- A_UINT32 tim_mcast;
- A_UINT32 tim_bitmap[WMI_TIM_BITMAP_ARRAY_SIZE];
- A_UINT32 tim_changed;
- A_UINT32 tim_num_ps_pending;
-
- A_UINT32 vdev_id_valid;
-
- A_UINT32 vdev_id;
- } wmi_tim_info;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 tim_mcast;
- A_UINT32 tim_changed;
- A_UINT32 tim_num_ps_pending;
-
- A_UINT32 vdev_id_valid;
-
- A_UINT32 vdev_id;
-
- A_UINT32 tim_len;
-
- } wmi_tim_info_v2;
- typedef struct {
-
- A_UINT32 is_enabled;
-
- A_UINT32 tbttcount;
-
- A_UINT32 period;
-
- A_UINT32 duration;
-
- A_UINT32 offset;
- } wmi_quiet_info;
- #define WMI_P2P_MAX_NOA_DESCRIPTORS 4
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 noa_attributes;
- wmi_p2p_noa_descriptor noa_descriptors[WMI_P2P_MAX_NOA_DESCRIPTORS];
-
- A_UINT32 vdev_id_valid;
-
- A_UINT32 vdev_id;
- } wmi_p2p_noa_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT8 tbttcount;
- A_UINT8 period;
- A_UINT16 duration;
- A_UINT16 offset;
- } wmi_quiet_offload_info;
- #define WMI_UNIFIED_NOA_ATTR_MODIFIED 0x1
- #define WMI_UNIFIED_NOA_ATTR_MODIFIED_S 0
- #define WMI_UNIFIED_NOA_ATTR_IS_MODIFIED(hdr) \
- WMI_F_MS((hdr)->noa_attributes, WMI_UNIFIED_NOA_ATTR_MODIFIED)
- #define WMI_UNIFIED_NOA_ATTR_MODIFIED_SET(hdr) \
- WMI_F_RMW((hdr)->noa_attributes, 0x1, \
- WMI_UNIFIED_NOA_ATTR_MODIFIED);
- #define WMI_UNIFIED_NOA_ATTR_INDEX 0xff00
- #define WMI_UNIFIED_NOA_ATTR_INDEX_S 8
- #define WMI_UNIFIED_NOA_ATTR_INDEX_GET(hdr) \
- WMI_F_MS((hdr)->noa_attributes, WMI_UNIFIED_NOA_ATTR_INDEX)
- #define WMI_UNIFIED_NOA_ATTR_INDEX_SET(hdr, v) \
- WMI_F_RMW((hdr)->noa_attributes, (v) & 0xff, \
- WMI_UNIFIED_NOA_ATTR_INDEX);
- #define WMI_UNIFIED_NOA_ATTR_OPP_PS 0x10000
- #define WMI_UNIFIED_NOA_ATTR_OPP_PS_S 16
- #define WMI_UNIFIED_NOA_ATTR_OPP_PS_GET(hdr) \
- WMI_F_MS((hdr)->noa_attributes, WMI_UNIFIED_NOA_ATTR_OPP_PS)
- #define WMI_UNIFIED_NOA_ATTR_OPP_PS_SET(hdr) \
- WMI_F_RMW((hdr)->noa_attributes, 0x1, \
- WMI_UNIFIED_NOA_ATTR_OPP_PS);
- #define WMI_UNIFIED_NOA_ATTR_CTWIN 0xfe0000
- #define WMI_UNIFIED_NOA_ATTR_CTWIN_S 17
- #define WMI_UNIFIED_NOA_ATTR_CTWIN_GET(hdr) \
- WMI_F_MS((hdr)->noa_attributes, WMI_UNIFIED_NOA_ATTR_CTWIN)
- #define WMI_UNIFIED_NOA_ATTR_CTWIN_SET(hdr, v) \
- WMI_F_RMW((hdr)->noa_attributes, (v) & 0x7f, \
- WMI_UNIFIED_NOA_ATTR_CTWIN);
- #define WMI_UNIFIED_NOA_ATTR_NUM_DESC 0xff000000
- #define WMI_UNIFIED_NOA_ATTR_NUM_DESC_S 24
- #define WMI_UNIFIED_NOA_ATTR_NUM_DESC_GET(hdr) \
- WMI_F_MS((hdr)->noa_attributes, WMI_UNIFIED_NOA_ATTR_NUM_DESC)
- #define WMI_UNIFIED_NOA_ATTR_NUM_DESC_SET(hdr, v) \
- WMI_F_RMW((hdr)->noa_attributes, (v) & 0xff, \
- WMI_UNIFIED_NOA_ATTR_NUM_DESC);
- typedef struct {
-
- wmi_tim_info tim_info;
-
- wmi_p2p_noa_info p2p_noa_info;
- } wmi_bcn_info;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_map;
-
- A_UINT32 num_vdevs;
- } wmi_host_swba_event_fixed_param;
- #define WMI_MAX_AP_VDEV 16
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 fils_tt;
-
- A_UINT32 tbtt;
- } wmi_host_swfda_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_map;
- } wmi_tbtt_offset_event_fixed_param;
- #define WMI_TBTT_OFFSET_INVALID 0xffffffff
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 tbttoffset;
-
- A_UINT32 tbtt_qtime_low_us;
- A_UINT32 tbtt_qtime_high_us;
- } wmi_tbtt_offset_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_vdevs;
- } wmi_tbtt_offset_ext_event_fixed_param;
- typedef struct {
- A_UINT32 percentage;
- A_UINT32 min_delta;
- } rate_delta_t;
- #define PEER_RATE_REPORT_COND_FLAG_DELTA 0x01
- #define PEER_RATE_REPORT_COND_FLAG_THRESHOLD 0x02
- #define MAX_NUM_OF_RATE_THRESH 4
- typedef struct {
- A_UINT32 val_cond_flags;
- rate_delta_t rate_delta;
- A_UINT32 rate_threshold[MAX_NUM_OF_RATE_THRESH];
- } report_cond_per_phy_t;
- enum peer_rate_report_cond_phy_type {
- PEER_RATE_REPORT_COND_11B = 0,
- PEER_RATE_REPORT_COND_11A_G,
- PEER_RATE_REPORT_COND_11N,
- PEER_RATE_REPORT_COND_11AC,
- PEER_RATE_REPORT_COND_MAX_NUM
- };
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 enable_rate_report;
- A_UINT32 report_backoff_time;
- A_UINT32 report_timer_period;
-
- report_cond_per_phy_t cond_per_phy[PEER_RATE_REPORT_COND_MAX_NUM];
- } wmi_peer_set_rate_report_condition_fixed_param;
- enum wmi_peer_type {
- WMI_PEER_TYPE_DEFAULT = 0,
- WMI_PEER_TYPE_BSS = 1,
- WMI_PEER_TYPE_TDLS = 2,
- WMI_PEER_TYPE_OCB = 3,
- WMI_PEER_TYPE_NAN_DATA = 4,
- WMI_PEER_TYPE_TRANS_BSS = 5,
- WMI_PEER_TYPE_HOST_MAX = 127,
-
- WMI_PEER_TYPE_ROAMOFFLOAD_TEMP = 128,
- };
- typedef struct {
- A_UINT32 tlv_header;
- wmi_mlo_flags mlo_flags;
- } wmi_peer_create_mlo_params;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 peer_type;
- } wmi_peer_create_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
- } wmi_peer_delete_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- } wmi_vdev_delete_all_peer_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- } wmi_peer_unmap_response_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 rx_block_ack_win_limit;
- } wmi_peer_set_rx_blocksize_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 peer_tid_bitmap;
- } wmi_peer_flush_tids_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 rate_mode;
-
- A_UINT32 rate_series;
-
- A_UINT32 rate_retries;
- } wmi_fixed_rate;
- typedef struct {
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- wmi_fixed_rate peer_fixed_rate;
- } wmi_peer_fixed_rate_cmd;
- #define WMI_MGMT_TID 17
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
- } wmi_addba_clear_resp_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 tid;
-
- A_UINT32 buffersize;
- } wmi_addba_send_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 tid;
-
- A_UINT32 initiator;
-
- A_UINT32 reasoncode;
- } wmi_delba_send_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 tid;
-
- A_UINT32 statuscode;
- } wmi_addba_setresponse_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 tid;
- } wmi_send_singleamsdu_cmd_fixed_param;
- enum {
-
- WMI_STA_DTIM_PS_NORMAL_DTIM = 0x01,
-
- WMI_STA_DTIM_PS_MODULATED_DTIM = 0x02,
- };
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 dtim_pwrsave_method;
-
- A_UINT32 value;
-
- A_UINT32 MaxLIModulatedDTIM;
- } wmi_sta_dtim_ps_method_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 wmm_ac;
-
- A_UINT32 user_priority;
-
- A_UINT32 service_interval;
-
- A_UINT32 suspend_interval;
-
- A_UINT32 delay_interval;
- } wmi_sta_uapsd_auto_trig_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 num_ac;
- } wmi_sta_uapsd_auto_trig_cmd_fixed_param;
- #define WMI_PEER_MIMO_PS_STATE 0x1
- #define WMI_PEER_AMPDU 0x2
- #define WMI_PEER_AUTHORIZE 0x3
- #define WMI_PEER_CHWIDTH 0x4
- #define WMI_PEER_NSS 0x5
- #define WMI_PEER_USE_4ADDR 0x6
- #define WMI_PEER_MEMBERSHIP 0x7
- #define WMI_PEER_USERPOS 0x8
- #define WMI_PEER_CRIT_PROTO_HINT_ENABLED 0x9
- #define WMI_PEER_TX_FAIL_CNT_THR 0xA
- #define WMI_PEER_SET_HW_RETRY_CTS2S 0xB
- #define WMI_PEER_IBSS_ATIM_WINDOW_LENGTH 0xC
- #define WMI_PEER_PHYMODE 0xD
- #define WMI_PEER_USE_FIXED_PWR 0xE
- #define WMI_PEER_PARAM_FIXED_RATE 0xF
- #define WMI_PEER_SET_MU_WHITELIST 0x10
- #define WMI_PEER_SET_MAX_TX_RATE 0x11
- #define WMI_PEER_SET_MIN_TX_RATE 0x12
- #define WMI_PEER_SET_DEFAULT_ROUTING 0x13
- #define WMI_PEER_NSS_VHT160 0x14
- #define WMI_PEER_NSS_VHT80_80 0x15
- #define WMI_PEER_PARAM_SU_TXBF_SOUNDING_INTERVAL 0x16
- #define WMI_PEER_PARAM_MU_TXBF_SOUNDING_INTERVAL 0x17
- #define WMI_PEER_PARAM_TXBF_SOUNDING_ENABLE 0x18
- #define WMI_PEER_PARAM_OFDMA_ENABLE 0x19
- #define WMI_PEER_PARAM_MU_ENABLE 0x1a
- #define WMI_PEER_PARAM_UL_FIXED_RATE 0x1b
- #define WMI_PEER_PARAM_XMIT_OMI 0x1c
- #define WMI_PEER_RARAM_XMIT_OMI WMI_PEER_PARAM_XMIT_OMI
- #define WMI_PEER_PARAM_DISABLE_AGGRESSIVE_TX 0x1d
- #define WMI_PEER_PARAM_ENABLE_FT 0x1e
- #define WMI_PEER_PARAM_NEED_PTK_4_WAY 0x1f
- #define WMI_PEER_PARAM_NEED_GTK_2_WAY 0x20
- #define WMI_PEER_PARAM_M4_SENT 0x21
- #define WMI_PEER_PARAM_MISC_STATS_ENABLE 0x22
- #define WMI_PEER_PARAM_FW_CONGESTION_DISABLE 0x23
- #define WMI_PEER_PARAM_DYN_NSS_EN_MASK 0x24
- #define WMI_PEER_MIMO_PS_NONE 0x0
- #define WMI_PEER_MIMO_PS_STATIC 0x1
- #define WMI_PEER_MIMO_PS_DYNAMIC 0x2
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 param_id;
-
- A_UINT32 param_value;
- } wmi_peer_set_param_cmd_fixed_param;
- typedef union {
-
- struct {
- A_UINT16 mode;
- A_UINT16 tx_rate;
- };
- A_UINT32 value;
- } wmi_peer_max_min_tx_rate;
- #define WMI_PEER_MAX_MIN_TX_MODE_GET(value32) WMI_GET_BITS(value32, 0, 16)
- #define WMI_PEER_MAX_MIN_TX_MODE_SET(value32, tx_mode) WMI_SET_BITS(value32, 0, 16, tx_mode)
- #define WMI_PEER_MAX_MIN_TX_RATE_GET(value32) WMI_GET_BITS(value32, 16, 16)
- #define WMI_PEER_MAX_MIN_TX_RATE_SET(value32, tx_mode) WMI_SET_BITS(value32, 16, 16, tx_mode)
- enum {
- WMI_MAX_CCK_TX_RATE_1M,
- WMI_MAX_CCK_TX_RATE_2M,
- WMI_MAX_CCK_TX_RATE_5_5M,
- WMI_MAX_CCK_TX_RATE_11M,
- WMI_MAX_CCK_TX_RATE = WMI_MAX_CCK_TX_RATE_11M,
- };
- enum {
- WMI_MAX_OFDM_TX_RATE_6M,
- WMI_MAX_OFDM_TX_RATE_9M,
- WMI_MAX_OFDM_TX_RATE_12M,
- WMI_MAX_OFDM_TX_RATE_18M,
- WMI_MAX_OFDM_TX_RATE_24M,
- WMI_MAX_OFDM_TX_RATE_36M,
- WMI_MAX_OFDM_TX_RATE_48M,
- WMI_MAX_OFDM_TX_RATE_54M,
- WMI_MAX_OFDM_TX_RATE = WMI_MAX_OFDM_TX_RATE_54M,
- };
- #define WMI_MAX_HT_TX_MCS 0x07
- #define WMI_MAX_VHT_TX_MCS 0x09
- #define MAX_SUPPORTED_RATES 128
- typedef struct {
-
- A_UINT32 num_rates;
-
- A_UINT32 rates[(MAX_SUPPORTED_RATES / 4) + 1];
- } wmi_rate_set;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 rx_max_rate;
- A_UINT32 rx_mcs_set;
- A_UINT32 tx_max_rate;
-
- A_UINT32 tx_mcs_set;
- A_UINT32 tx_max_mcs_nss;
- } wmi_vht_rate_set;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 rx_mcs_set;
-
- A_UINT32 tx_mcs_set;
- } wmi_he_rate_set;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 rx_mcs_set;
- A_UINT32 tx_mcs_set;
- } wmi_eht_rate_set;
- #define WMI_PEER_AUTH 0x00000001
- #define WMI_PEER_QOS 0x00000002
- #define WMI_PEER_NEED_PTK_4_WAY 0x00000004
- #define WMI_PEER_NEED_GTK_2_WAY 0x00000010
- #define WMI_PEER_HE 0x00000400
- #define WMI_PEER_APSD 0x00000800
- #define WMI_PEER_HT 0x00001000
- #define WMI_PEER_40MHZ 0x00002000
- #define WMI_PEER_INTER_BSS_PEER 0x00004000
- #define WMI_PEER_STBC 0x00008000
- #define WMI_PEER_LDPC 0x00010000
- #define WMI_PEER_DYN_MIMOPS 0x00020000
- #define WMI_PEER_STATIC_MIMOPS 0x00040000
- #define WMI_PEER_SPATIAL_MUX 0x00200000
- #define WMI_PEER_TWT_REQ 0x00400000
- #define WMI_PEER_TWT_RESP 0x00800000
- #define WMI_PEER_MULTI_BSSID 0x01000000
- #define WMI_PEER_VHT 0x02000000
- #define WMI_PEER_80MHZ 0x04000000
- #define WMI_PEER_PMF 0x08000000
- #define WMI_PEER_IS_P2P_CAPABLE 0x20000000
- #define WMI_PEER_160MHZ 0x40000000
- #define WMI_PEER_SAFEMODE_EN 0x80000000
- #define WMI_PEER_EXT_EHT 0x00000001
- #define WMI_PEER_EXT_320MHZ 0x00000002
- #define WMI_RC_DS_FLAG 0x01
- #define WMI_RC_CW40_FLAG 0x02
- #define WMI_RC_SGI_FLAG 0x04
- #define WMI_RC_HT_FLAG 0x08
- #define WMI_RC_RTSCTS_FLAG 0x10
- #define WMI_RC_TX_STBC_FLAG 0x20
- #define WMI_RC_TX_STBC_FLAG_S 5
- #define WMI_RC_RX_STBC_FLAG 0xC0
- #define WMI_RC_RX_STBC_FLAG_S 6
- #define WMI_RC_WEP_TKIP_FLAG 0x100
- #define WMI_RC_TS_FLAG 0x200
- #define WMI_RC_UAPSD_FLAG 0x400
- enum WMI_PEER_STA_TYPE {
- WMI_PEER_STA_TYPE_INVALID = 0,
- WMI_PEER_STA_TYPE_ONLY_STAVDEV = 1,
- WMI_PEER_STA_TYPE_APVDEV_ON_OTHER_RADIO = 2,
- WMI_PEER_STA_TYPE_FH_APVDEV_ON_SAME_RADIO = 3,
- WMI_PEER_STA_TYPE_BH_APVDEV_ON_SAME_RADIO = 4,
- };
- #define WMI_PEER_STA_TYPE_GET(dword) WMI_GET_BITS(dword, 0, 8)
- #define WMI_PEER_STA_TYPE_SET(dword, value) WMI_SET_BITS(dword, 0, 8, value)
- #define WMI_PEER_ASSOC_BSS_MAX_IDLE_OPTION_BITPOS (0)
- #define WMI_PEER_ASSOC_BSS_MAX_IDLE_OPTION_MASK (0x1 << WMI_PEER_ASSOC_BSS_MAX_IDLE_OPTION_BITPOS)
- #define WMI_PEER_ASSOC_SET_BSS_MAX_IDLE_OPTION(_dword, _val) \
- WMI_SET_BITS(_dword, WMI_PEER_ASSOC_BSS_MAX_IDLE_OPTION_BITPOS, 1, _val)
- #define WMI_PEER_ASSOC_GET_BSS_MAX_IDLE_OPTION(_dword) \
- WMI_GET_BITS(_dword, WMI_PEER_ASSOC_BSS_MAX_IDLE_OPTION_BITPOS, 1)
- #define WMI_PEER_ASSOC_BSS_MAX_IDLE_PERIOD_BITPOS (16)
- #define WMI_PEER_ASSOC_BSS_MAX_IDLE_PERIOD_MASK (0xFFFF << WMI_PEER_ASSOC_BSS_MAX_IDLE_PERIOD_BITPOS)
- #define WMI_PEER_ASSOC_SET_BSS_MAX_IDLE_PERIOD(_dword, _val) \
- WMI_SET_BITS(_dword, WMI_PEER_ASSOC_BSS_MAX_IDLE_PERIOD_BITPOS, 16, _val)
- #define WMI_PEER_ASSOC_GET_BSS_MAX_IDLE_PERIOD(_dword) \
- WMI_GET_BITS(_dword, WMI_PEER_ASSOC_BSS_MAX_IDLE_PERIOD_BITPOS, 16)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 hw_mld_link_id;
- } wmi_peer_assoc_mlo_partner_link_params;
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_mlo_flags mlo_flags;
-
- wmi_mac_addr mld_macaddr;
-
- A_UINT32 logical_link_index;
-
- A_UINT32 mld_peer_id;
- } wmi_peer_assoc_mlo_params;
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 vdev_id;
-
- A_UINT32 peer_new_assoc;
-
- A_UINT32 peer_associd;
-
- A_UINT32 peer_flags;
-
- A_UINT32 peer_caps;
-
- A_UINT32 peer_listen_intval;
-
- A_UINT32 peer_ht_caps;
-
- A_UINT32 peer_max_mpdu;
-
- A_UINT32 peer_mpdu_density;
-
- A_UINT32 peer_rate_caps;
-
- A_UINT32 peer_nss;
-
- A_UINT32 peer_vht_caps;
-
- A_UINT32 peer_phymode;
-
- A_UINT32 peer_ht_info[2];
-
- A_UINT32 num_peer_legacy_rates;
-
- A_UINT32 num_peer_ht_rates;
-
- A_UINT32 peer_bw_rxnss_override;
-
- wmi_ppe_threshold peer_ppet;
- A_UINT32 peer_he_cap_info;
- A_UINT32 peer_he_ops;
- A_UINT32 peer_he_cap_phy[WMI_MAX_HECAP_PHY_SIZE];
- A_UINT32 peer_he_mcs;
-
- A_UINT32 peer_he_cap_info_ext;
-
- A_UINT32 peer_he_cap_info_internal;
-
- A_UINT32 min_data_rate;
-
- A_UINT32 peer_he_caps_6ghz;
-
- A_UINT32 sta_type;
-
- A_UINT32 bss_max_idle_option;
-
- A_UINT32 auth_mode;
-
- A_UINT32 peer_flags_ext;
-
- A_UINT32 puncture_20mhz_bitmap;
-
- A_UINT32 peer_eht_cap_mac[WMI_MAX_EHTCAP_MAC_SIZE];
-
- A_UINT32 peer_eht_cap_phy[WMI_MAX_EHTCAP_PHY_SIZE];
- A_UINT32 peer_eht_ops;
- wmi_ppe_threshold peer_eht_ppet;
- } wmi_peer_assoc_complete_cmd_fixed_param;
- #define WMI_WDS_FLAG_STATIC 0x1
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_macaddr;
-
- wmi_mac_addr wds_macaddr;
-
- A_UINT32 flags;
- A_UINT32 vdev_id;
- } wmi_peer_add_wds_entry_cmd_fixed_param;
- #define WMI_CHAN_INFO_START_RESP 0
- #define WMI_CHAN_INFO_END_RESP 1
- #define WMI_CHAN_InFO_START_RESP WMI_CHAN_INFO_START_RESP
- #define WMI_CHAN_InFO_END_RESP WMI_CHAN_INFO_END_RESP
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_mac_addr wds_macaddr;
- A_UINT32 vdev_id;
- } wmi_peer_remove_wds_entry_cmd_fixed_param;
- typedef struct {
-
- wmi_mac_addr peer_macaddr;
- } wmi_peer_q_empty_callback_event;
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_macaddr;
-
- wmi_mac_addr wds_macaddr;
-
- A_UINT32 flags;
- A_UINT32 vdev_id;
- } wmi_peer_update_wds_entry_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 err_code;
-
- A_UINT32 freq;
-
- A_UINT32 cmd_flags;
-
- A_UINT32 noise_floor;
-
- A_UINT32 rx_clear_count;
-
- A_UINT32 cycle_count;
-
- A_UINT32 chan_tx_pwr_range;
-
- A_UINT32 chan_tx_pwr_tp;
-
- A_UINT32 rx_frame_count;
-
- A_UINT32 my_bss_rx_cycle_count;
-
- A_UINT32 rx_11b_mode_data_duration;
-
- A_UINT32 tx_frame_cnt;
-
- A_UINT32 mac_clk_mhz;
-
- A_UINT32 vdev_id;
-
- A_UINT32 per_chain_noise_floor[WMI_MAX_CHAINS];
- } wmi_chan_info_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 channel;
- } wlan_dcs_cw_int;
- #define ath_dcs_cw_int wlan_dcs_cw_int
- typedef struct _wlan_dcs_im_tgt_stats {
- A_UINT32 tlv_header;
-
- A_UINT32 reg_tsf32;
-
- A_UINT32 last_ack_rssi;
-
- A_UINT32 tx_waste_time;
-
- A_UINT32 rx_time;
- A_UINT32 phyerr_cnt;
-
-
- A_INT32 listen_time;
-
- A_UINT32 reg_tx_frame_cnt;
-
- A_UINT32 reg_rx_frame_cnt;
-
- A_UINT32 reg_rxclr_cnt;
-
- A_UINT32 reg_cycle_cnt;
-
- A_UINT32 reg_rxclr_ext_cnt;
-
- A_UINT32 reg_ofdm_phyerr_cnt;
-
- A_UINT32 reg_cck_phyerr_cnt;
-
- A_INT32 chan_nf;
-
- A_UINT32 my_bss_rx_cycle_count;
- } wlan_dcs_im_tgt_stats_t;
- typedef struct wlan_dcs_awgn_info {
-
- A_UINT32 tlv_header;
-
- A_UINT32 channel_width;
-
- A_UINT32 chan_freq;
-
- A_UINT32 center_freq0;
-
- A_UINT32 center_freq1;
-
- A_UINT32 chan_bw_interference_bitmap;
- } wmi_dcs_awgn_int_t;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 interference_type;
-
- A_UINT32 pdev_id;
- } wmi_dcs_interference_event_fixed_param;
- enum wmi_peer_mcast_group_action {
- wmi_peer_mcast_group_action_add = 0,
- wmi_peer_mcast_group_action_del = 1
- };
- #define WMI_PEER_MCAST_GROUP_FLAG_ACTION_M 0x1
- #define WMI_PEER_MCAST_GROUP_FLAG_ACTION_S 0
- #define WMI_PEER_MCAST_GROUP_FLAG_WILDCARD_M 0x2
- #define WMI_PEER_MCAST_GROUP_FLAG_WILDCARD_S 1
- #define WMI_PEER_MCAST_GROUP_FLAG_SRC_FILTER_EXCLUDE_M 0x4
- #define WMI_PEER_MCAST_GROUP_FLAG_SRC_FILTER_EXCLUDE_S 2
- #define WMI_PEER_MCAST_GROUP_FLAG_IPV6_M 0x8
- #define WMI_PEER_MCAST_GROUP_FLAG_IPV6_S 3
- #define WMI_PEER_MCAST_GROUP_FLAG_DELETEALL_M 0x10
- #define WMI_PEER_MCAST_GROUP_FLAG_DELETEALL_S 4
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 flags;
- wmi_mac_addr ucast_mac_addr;
-
-
- A_UINT8 mcast_ip_addr[16];
-
- A_UINT8 mcast_ip_mask[16];
-
- A_UINT32 num_filter_addr;
-
- A_UINT8 filter_addr[64];
- A_UINT8 vdev_id;
- } wmi_peer_mcast_group_cmd_fixed_param;
- #define WMI_ROAM_SCAN_MODE_FLAG_REPORT_STATUS 0x1
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 roam_scan_mode;
- A_UINT32 vdev_id;
- A_UINT32 flags;
-
- A_UINT32 min_delay_btw_scans;
-
- A_UINT32 min_delay_roam_trigger_reason_bitmask;
- } wmi_roam_scan_mode_fixed_param;
- #define WMI_ROAM_SCAN_MODE_NONE 0x0
- #define WMI_ROAM_SCAN_MODE_PERIODIC 0x1
- #define WMI_ROAM_SCAN_MODE_RSSI_CHANGE 0x2
- #define WMI_ROAM_SCAN_MODE_BOTH 0x3
- #define WMI_ROAM_SCAN_MODE_ROAMOFFLOAD 0x4
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 command_arg;
- } wmi_roam_scan_cmd_fixed_param;
- #define WMI_ROAM_SCAN_STOP_CMD 0x1
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 roam_scan_rssi_thresh;
-
- A_UINT32 roam_rssi_thresh_diff;
-
- A_UINT32 hirssi_scan_max_count;
-
- A_UINT32 hirssi_scan_delta;
-
- A_UINT32 hirssi_upper_bound;
-
- A_INT32 rssi_thresh_offset_5g;
-
- } wmi_roam_scan_rssi_threshold_fixed_param;
- #define WMI_ROAM_BTM_SET_ENABLE(flags, val) WMI_SET_BITS(flags, 0, 1, val)
- #define WMI_ROAM_BTM_GET_ENABLE(flags) WMI_GET_BITS(flags, 0, 1)
- #define WMI_ROAM_BTM_SET_NON_MATCHING_CND_ACTION(flags, val) WMI_SET_BITS(flags, 1, 2, val)
- #define WMI_ROAM_BTM_GET_NON_MATCHING_CND_ACTION(flags) WMI_GET_BITS(flags, 1, 2)
- #define WMI_ROAM_BTM_SET_CNDS_MATCH_CONDITION(flags, val) WMI_SET_BITS(flags, 3, 3, val)
- #define WMI_ROAM_BTM_GET_CNDS_MATCH_CONDITION(flags) WMI_GET_BITS(flags, 3, 3)
- #define WMI_ROAM_BTM_SET_SOLICITED_BTM_ENABLE(flags, val) WMI_SET_BITS(flags, 6, 1, val)
- #define WMI_ROAM_BTM_GET_SOLICITED_BTM_ENABLE(flags) WMI_GET_BITS(flags, 6, 1)
- #define WMI_ROAM_BTM_SET_CNDS_SELECT_BASED_ON_SCORE(flags, val) WMI_SET_BITS(flags, 7, 1, val)
- #define WMI_ROAM_BTM_GET_CNDS_SELECT_BASED_ON_SCORE(flags) WMI_GET_BITS(flags, 7, 1)
- #define WMI_ROAM_BTM_SET_BTM_QUERY_PREFERENCE_OVER_11K(flags, val) WMI_SET_BITS(flags, 8, 1, val)
- #define WMI_ROAM_BTM_GET_BTM_QUERY_PREFERENCE_OVER_11K(flags) WMI_GET_BITS(flags, 8, 1)
- #define WMI_ROAM_BTM_SET_BTM_QUERY_WITH_CANDIDATE_LIST(flags, val) WMI_SET_BITS(flags, 9, 1, val)
- #define WMI_ROAM_BTM_GET_BTM_QUERY_WITH_CANDIDATE_LIST(flags) WMI_GET_BITS(flags, 9, 1)
- #define WMI_ROAM_BTM_SET_FORWARD_MBO_ASSOC_RETRY_BTM_REQUEST_TO_HOST(flags, val) WMI_SET_BITS(flags, 10, 1, val)
- #define WMI_ROAM_BTM_GET_FORWARD_MBO_ASSOC_RETRY_BTM_REQUEST_TO_HOST(flags) WMI_GET_BITS(flags, 10, 1)
- #define WMI_ROAM_BTM_NON_MATCHING_CNDS_SCAN_CONSUME 0
- #define WMI_ROAM_BTM_NON_MATCHING_CNDS_NO_SCAN_FORWARD 1
- #define WMI_ROAM_BTM_CNDS_MATCH_EXACT 0
- #define WMI_ROAM_BTM_CNDS_MATCH_AT_LEAST_TOP 1
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 flags;
-
- A_UINT32 solicited_timeout_ms;
-
- A_UINT32 max_attempt_cnt;
-
- A_UINT32 stick_time_seconds;
-
- A_UINT32 disassoc_timer_threshold;
-
- A_UINT32 btm_bitmap;
-
- A_UINT32 btm_candidate_min_score;
- } wmi_btm_config_fixed_param;
- #define WMI_ROAM_5G_BOOST_PENALIZE_ALGO_FIXED 0x0
- #define WMI_ROAM_5G_BOOST_PENALIZE_ALGO_LINEAR 0x1
- #define WMI_ROAM_5G_BOOST_PENALIZE_ALGO_LOG 0x2
- #define WMI_ROAM_5G_BOOST_PENALIZE_ALGO_EXP 0x3
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 boost_threshold_5g;
- A_UINT32 penalty_threshold_5g;
- A_UINT32 boost_algorithm_5g;
- A_UINT32 boost_factor_5g;
- A_UINT32 penalty_algorithm_5g;
- A_UINT32 penalty_factor_5g;
- A_UINT32 max_boost_5g;
- A_UINT32 max_penalty_5g;
- A_UINT32 good_rssi_threshold;
- } wmi_roam_scan_extended_threshold_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 roam_scan_period;
-
- A_UINT32 roam_scan_age;
-
- A_UINT32 inactivity_time_period;
-
- A_UINT32 roam_inactive_count;
-
- A_UINT32 roam_scan_period_after_inactivity;
-
- A_UINT32 roam_full_scan_period;
- } wmi_roam_scan_period_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 roam_scan_rssi_change_thresh;
-
- A_UINT32 bcn_rssi_weight;
-
- A_UINT32 hirssi_delay_btw_scans;
- } wmi_roam_scan_rssi_change_threshold_fixed_param;
- #define WMI_ROAM_SCAN_CHAN_LIST_TYPE_NONE 0x1
- #define WMI_ROAM_SCAN_CHAN_LIST_TYPE_STATIC 0x2
- #define WMI_ROAM_SCAN_CHAN_LIST_TYPE_DYNAMIC 0x3
- #define WMI_ROAM_SCAN_LIST_FLAG_FLUSH_STATIC 0x1
- #define WMI_ROAM_SCAN_LIST_FLAG_FLUSH_DYNAMIC 0x2
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 chan_list_type;
-
- A_UINT32 num_chan;
- A_UINT32 flags;
- } wmi_roam_chan_list_fixed_param;
- enum {
- WMI_AUTH_NONE,
- WMI_AUTH_OPEN,
- WMI_AUTH_SHARED,
- WMI_AUTH_8021X,
- WMI_AUTH_AUTO,
- WMI_AUTH_WPA,
- WMI_AUTH_RSNA,
- WMI_AUTH_CCKM,
- WMI_AUTH_WAPI,
- WMI_AUTH_AUTO_PSK,
- WMI_AUTH_WPA_PSK,
- WMI_AUTH_RSNA_PSK,
- WMI_AUTH_WAPI_PSK,
- WMI_AUTH_FT_RSNA,
- WMI_AUTH_FT_RSNA_PSK,
- WMI_AUTH_RSNA_PSK_SHA256,
- WMI_AUTH_RSNA_8021X_SHA256,
- WMI_AUTH_CCKM_WPA,
- WMI_AUTH_CCKM_RSNA,
- WMI_AUTH_RSNA_FILS_SHA256,
- WMI_AUTH_RSNA_FILS_SHA384,
- WMI_AUTH_RSNA_SUITE_B_8021X_SHA256,
- WMI_AUTH_RSNA_SUITE_B_8021X_SHA384,
- WMI_AUTH_FT_RSNA_SAE,
- WMI_AUTH_FT_RSNA_SUITE_B_8021X_SHA384,
- WMI_AUTH_FT_RSNA_FILS_SHA256,
- WMI_AUTH_FT_RSNA_FILS_SHA384,
- WMI_AUTH_WPA3_SAE,
- WMI_AUTH_WPA3_OWE,
- };
- typedef enum {
- WMI_SCAN_CLIENT_NLO = 0x1,
- WMI_SCAN_CLIENT_EXTSCAN,
- WMI_SCAN_CLIENT_ROAM,
- WMI_SCAN_CLIENT_P2P,
- WMI_SCAN_CLIENT_LPI,
- WMI_SCAN_CLIENT_NAN,
- WMI_SCAN_CLIENT_ANQP,
- WMI_SCAN_CLIENT_OBSS,
- WMI_SCAN_CLIENT_PLM,
- WMI_SCAN_CLIENT_HOST,
- } WMI_SCAN_CLIENT_ID;
- typedef struct {
-
- A_UINT32 rsn_authmode;
-
- A_UINT32 rsn_ucastcipherset;
-
- A_UINT32 rsn_mcastcipherset;
-
- A_UINT32 rsn_mcastmgmtcipherset;
- } wmi_rsn_params;
- #define WMI_AP_PROFILE_FLAG_WPS 0x1
- #define WMI_AP_PROFILE_FLAG_CRYPTO 0x2
- #define WMI_AP_PROFILE_FLAG_PMF 0x4
- #define WMI_AP_PROFILE_FLAG_SAE_H2E 0x8
- #define WLAN_ROAM_SCORING_RSSI_DISABLE 0x00000001
- #define WLAN_ROAM_SCORING_HT_DISABLE 0x00000002
- #define WLAN_ROAM_SCORING_VHT_DISABLE 0x00000004
- #define WLAN_ROAM_SCORING_BW_DISABLE 0x00000008
- #define WLAN_ROAM_SCORING_BAND_DISABLE 0x00000010
- #define WLAN_ROAM_SCORING_NSS_DISABLE 0x00000020
- #define WLAN_ROAM_SCORING_CHAN_CONGESTION_DISABLE 0x00000040
- #define WLAN_ROAM_SCORING_BEAMFORMING_DISABLE 0x00000080
- #define WLAN_ROAM_SCORING_PCL_DISABLE 0x00000100
- #define WLAN_ROAM_SCORING_HE_DISABLE 0x00000200
- #define WLAN_ROAM_SCORING_OCE_WAN_DISABLE 0x00000400
- #define WLAN_ROAM_SCORING_ETH_DISABLE 0x00000800
- #define WLAN_ROAM_SCORING_MLO_DISABLE 0x00001000
- #define WLAN_ROAM_SCORING_DISABLE_ALL 0xFFFFFFFF
- #define WLAN_ROAM_SCORING_DEFAULT_PARAM_ALLOW 0x0
- #define WLAN_ROAM_MAX_SELECTION_SCORE 10000
- #define WLAN_ROAM_SCORE_20MHZ_BW_INDEX 0
- #define WLAN_ROAM_SCORE_40MHZ_BW_INDEX 1
- #define WLAN_ROAM_SCORE_80MHZ_BW_INDEX 2
- #define WLAN_ROAM_SCORE_160MHZ_BW_INDEX 3
- #define WLAN_ROAM_SCORE_MAX_BW_INDEX 4
- #define WMI_ROAM_GET_BW_SCORE_PERCENTAGE(value32, bw_index) WMI_GET_BITS(value32, (8 * (bw_index)), 8)
- #define WMI_ROAM_SET_BW_SCORE_PERCENTAGE(value32, score_pcnt, bw_index) WMI_SET_BITS(value32, (8 * (bw_index)), 8, score_pcnt)
- #define WLAN_ROAM_SCORE_NSS_1x1_INDEX 0
- #define WLAN_ROAM_SCORE_NSS_2x2_INDEX 1
- #define WLAN_ROAM_SCORE_NSS_3x3_INDEX 2
- #define WLAN_ROAM_SCORE_NSS_4x4_INDEX 3
- #define WLAN_ROAM_SCORE_MAX_NSS_INDEX 4
- #define WMI_ROAM_GET_NSS_SCORE_PERCENTAGE(value32, nss_index) WMI_GET_BITS(value32, (8 * (nss_index)), 8)
- #define WMI_ROAM_SET_NSS_SCORE_PERCENTAGE(value32, score_pcnt, nss_index) WMI_SET_BITS(value32, (8 * (nss_index)), 8, score_pcnt)
- #define WLAN_ROAM_SCORE_BAND_2G_INDEX 0
- #define WLAN_ROAM_SCORE_BAND_5G_INDEX 1
- #define WLAN_ROAM_SCORE_BAND_6G_INDEX 2
- #define WLAN_ROAM_SCORE_MAX_BAND_INDEX 4
- #define WMI_ROAM_GET_BAND_SCORE_PERCENTAGE(value32, band_index) WMI_GET_BITS(value32, (8 * (band_index)), 8)
- #define WMI_ROAM_SET_BAND_SCORE_PERCENTAGE(value32, score_pcnt, band_index) WMI_SET_BITS(value32, (8 * (band_index)), 8, score_pcnt)
- #define WLAN_ROAM_SCORE_MAX_CHAN_CONGESTION_SLOT 16
- #define WLAN_ROAM_SCORE_DEFAULT_CONGESTION_SLOT 0
- #define WLAN_ROAM_SCORE_MAX_OCE_WAN_SLOT 16
- #define WLAN_ROAM_SCORE_DEFAULT_OCE_WAN_SLOT 0
- #define WLAN_ROAM_SCORE_320MHZ_BW_EXT_INDEX 0
- #define WLAN_ROAM_SCORE_MAX_BW_EXT_INDEX 4
- #define WLAN_ROAM_SCORE_MLSR_INDEX 0
- #define WLAN_ROAM_SCORE_MLMR_INDEX 1
- #define WLAN_ROAM_SCORE_EMLSR_INDEX 2
- #define WLAN_ROAM_SCORE_EMLMR_INDEX 3
- #define WLAN_ROAM_SCORE_MLO_INDEX 4
- #define WMI_ROAM_GET_MLO_SCORE_PERCENTAGE(value32, mlo_index) WMI_GET_BITS(value32, (8 * (mlo_index)), 8)
- #define WMI_ROAM_SET_MLO_SCORE_PERCENTAGE(value32, score_pcnt, mlo_index) WMI_SET_BITS(value32, (8 * (mlo_index)), 8, score_pcnt)
- typedef struct {
- A_INT32 best_rssi_threshold;
- A_INT32 good_rssi_threshold;
- A_INT32 bad_rssi_threshold;
- A_UINT32 good_rssi_pcnt;
- A_UINT32 bad_rssi_pcnt;
- A_UINT32 good_bucket_size;
- A_UINT32 bad_bucket_size;
- A_INT32 rssi_pref_5g_rssi_thresh;
- } wmi_roam_cnd_rssi_scoring;
- typedef struct {
- A_UINT32 score_pcnt;
- } wmi_roam_cnd_bw_scoring;
- typedef struct {
- A_UINT32 score_pcnt;
- } wmi_roam_cnd_band_scoring;
- typedef struct {
- A_UINT32 score_pcnt;
- } wmi_roam_cnd_nss_scoring;
- typedef struct {
- A_UINT32 num_slot;
- A_UINT32 score_pcnt3_to_0;
- A_UINT32 score_pcnt7_to_4;
- A_UINT32 score_pcnt11_to_8;
- A_UINT32 score_pcnt15_to_12;
- } wmi_roam_cnd_esp_qbss_scoring;
- typedef struct {
- A_UINT32 num_slot;
- A_UINT32 score_pcnt3_to_0;
- A_UINT32 score_pcnt7_to_4;
- A_UINT32 score_pcnt11_to_8;
- A_UINT32 score_pcnt15_to_12;
- } wmi_roam_cnd_oce_wan_scoring;
- typedef enum {
- WMI_VENDOR_ROAM_SCORE_ALGORITHM_ID_NONE = 0,
- WMI_VENDOR_ROAM_SCORE_ALGORITHM_ID_RSSI_CU_BASED = 1,
- } WMI_VENDOR_ROAM_SCORE_ALGORITHM_ID;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 disable_bitmap;
- A_INT32 rssi_weightage_pcnt;
- A_INT32 ht_weightage_pcnt;
- A_INT32 vht_weightage_pcnt;
- A_INT32 he_weightage_pcnt;
- A_INT32 bw_weightage_pcnt;
- A_INT32 band_weightage_pcnt;
- A_INT32 nss_weightage_pcnt;
- A_INT32 esp_qbss_weightage_pcnt;
- A_INT32 beamforming_weightage_pcnt;
- A_INT32 pcl_weightage_pcnt;
- A_INT32 oce_wan_weightage_pcnt;
- wmi_roam_cnd_rssi_scoring rssi_scoring;
- wmi_roam_cnd_bw_scoring bw_scoring;
- wmi_roam_cnd_band_scoring band_scoring;
- wmi_roam_cnd_nss_scoring nss_scoring;
- wmi_roam_cnd_esp_qbss_scoring esp_qbss_scoring;
- wmi_roam_cnd_oce_wan_scoring oce_wan_scoring;
- A_UINT32 roam_score_delta_pcnt;
- A_UINT32 roam_score_delta_mask;
-
- A_UINT32 vendor_roam_score_algorithm_id;
-
- A_UINT32 candidate_min_roam_score_delta;
-
- A_UINT32 oce_ap_tx_pwr_weightage_pcnt;
-
- A_UINT32 oce_ap_subnet_id_weightage_pcnt;
-
- A_UINT32 sae_pk_ap_weightage_pcnt;
-
- wmi_roam_cnd_bw_scoring ext_bw_scoring;
-
- A_UINT32 eht_weightage_pcnt;
-
- A_UINT32 mlo_weightage_pcnt;
-
- A_UINT32 btc_score_factor;
-
- A_UINT32 btc_etp_factor;
- } wmi_roam_cnd_scoring_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 roam_trigger_reason;
-
- A_UINT32 roam_score_delta;
- } wmi_roam_score_delta_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 roam_trigger_reason;
-
- A_UINT32 candidate_min_rssi;
- } wmi_roam_cnd_min_rssi_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 flags;
-
- A_UINT32 rssi_threshold;
-
- wmi_ssid ssid;
-
-
- A_UINT32 rsn_authmode;
-
- A_UINT32 rsn_ucastcipherset;
-
- A_UINT32 rsn_mcastcipherset;
-
- A_UINT32 rsn_mcastmgmtcipherset;
-
- A_UINT32 rssi_abs_thresh;
-
- A_UINT32 bg_rssi_threshold;
- } wmi_ap_profile;
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_ssid open_ssid_for_owe_transition;
- } wmi_owe_ap_profile;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 band_idx;
-
- A_UINT32 rssi_factor_value1;
- A_UINT32 rssi_factor_value2;
- A_UINT32 rssi_factor_value3;
- A_UINT32 rssi_factor_value4;
- A_UINT32 rssi_factor_value5;
- A_UINT32 rssi_factor_score1;
- A_UINT32 rssi_factor_score2;
- A_UINT32 rssi_factor_score3;
- A_UINT32 rssi_factor_score4;
- A_UINT32 rssi_factor_score5;
- A_UINT32 cu_factor_value1;
- A_UINT32 cu_factor_value2;
- A_UINT32 cu_factor_score1;
- A_UINT32 cu_factor_score2;
- } wmi_roam_cnd_vendor_scoring_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 roam_earlystop_thres_min;
-
- A_UINT32 roam_earlystop_thres_max;
- } wmi_roam_earlystop_rssi_thres_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 roam_dense_rssi_thres_offset;
-
- A_UINT32 roam_dense_min_aps;
-
- A_UINT32 roam_dense_status;
-
- A_UINT32 roam_dense_traffic_thres;
- } wmi_roam_dense_thres_param;
- #define WMI_ROAM_BG_SCAN_FLAGS_2G_TO_5G_ONLY 1
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 roam_bg_scan_bad_rssi_thresh;
-
- A_UINT32 roam_bg_scan_client_bitmap;
-
- A_INT32 bad_rssi_thresh_offset_2g;
-
- A_UINT32 flags;
- } wmi_roam_bg_scan_roaming_param;
- #define WMI_ROAM_DATA_RSSI_FLAG_LOW_RSSI 0x00000001
- #define WMI_ROAM_DATA_RSSI_FLAG_BACKGROUND 0x00000002
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 flags;
-
- A_INT32 roam_data_rssi_thres;
-
- A_UINT32 rx_inactivity_ms;
- } wmi_roam_data_rssi_roaming_param;
- #define BCN_FLT_MAX_SUPPORTED_IES 256
- #define BCN_FLT_MAX_ELEMS_IE_LIST (BCN_FLT_MAX_SUPPORTED_IES/32)
- typedef struct bss_bcn_stats {
- A_UINT32 vdev_id;
- A_UINT32 bss_bcnsdropped;
- A_UINT32 bss_bcnsdelivered;
- } wmi_bss_bcn_stats_t;
- typedef struct bcn_filter_stats {
- A_UINT32 bcns_dropped;
- A_UINT32 bcns_delivered;
- A_UINT32 activefilters;
- wmi_bss_bcn_stats_t bss_stats;
- } wmi_bcnfilter_stats_t;
- typedef struct wmi_add_bcn_filter_cmd {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_add_bcn_filter_cmd_fixed_param;
- typedef struct wmi_rmv_bcn_filter_cmd {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_rmv_bcn_filter_cmd_fixed_param;
- #define WMI_BCN_SEND_DTIM_ZERO 1
- #define WMI_BCN_SEND_DTIM_BITCTL_SET 2
- typedef struct wmi_bcn_send_from_host {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 data_len;
- union {
- A_UINT32 frag_ptr;
- A_UINT32 frag_ptr_lo;
- };
- A_UINT32 frame_ctrl;
- A_UINT32 dtim_flag;
- A_UINT32 bcn_antenna;
- A_UINT32 frag_ptr_hi;
- } wmi_bcn_send_from_host_cmd_fixed_param;
- typedef struct wmi_pdev_send_bcn {
- A_UINT32 num_vdevs;
- wmi_bcn_send_from_host_cmd_fixed_param bcn_cmd[1];
- } wmi_pdev_send_bcn_cmd_t;
- typedef struct wmi_fd_send_from_host {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 data_len;
- union {
- A_UINT32 frag_ptr;
- A_UINT32 frag_ptr_lo;
- };
- A_UINT32 frag_ptr_hi;
- A_UINT32 frame_ctrl;
- } wmi_fd_send_from_host_cmd_fixed_param;
- #define WMI_FILS_FLAGS_BITMAP_BCAST_PROBE_RSP 0x1
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- A_UINT32 fd_period;
- A_UINT32 flags;
- } wmi_enable_fils_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 id;
-
- A_UINT32 vdev_id;
- } wmi_roam_ap_profile_fixed_param;
- typedef struct {
-
- A_UINT32 id;
-
- A_UINT32 vdev_id;
-
- wmi_ap_profile ap_profile;
- } wmi_ofl_scan_add_ap_profile;
- typedef struct {
-
- A_UINT32 id;
-
- A_UINT32 vdev_id;
- } wmi_ofl_scan_remove_ap_profile;
- typedef struct {
-
- A_UINT32 ofl_scan_period;
- } wmi_ofl_scan_period;
- #define ROAM_OFFLOAD_PMK_BYTES (32)
- #define ROAM_OFFLOAD_PSK_MSK_BYTES (32)
- #define ROAM_OFFLOAD_KRK_BYTES (16)
- #define ROAM_OFFLOAD_BTK_BYTES (32)
- #define ROAM_OFFLOAD_R0KH_ID_MAX_LEN (48)
- #define ROAM_OFFLOAD_NUM_MCS_SET (16)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 rssi_cat_gap;
- A_UINT32 prefer_5g;
- A_UINT32 select_5g_margin;
- A_UINT32 reassoc_failure_timeout;
- A_UINT32 capability;
- A_UINT32 ht_caps_info;
- A_UINT32 ampdu_param;
- A_UINT32 ht_ext_cap;
- A_UINT32 ht_txbf;
- A_UINT32 asel_cap;
- A_UINT32 qos_enabled;
- A_UINT32 qos_caps;
- A_UINT32 wmm_caps;
- A_UINT32 mcsset[ROAM_OFFLOAD_NUM_MCS_SET>>2];
- A_UINT32 handoff_delay_for_rx;
- A_UINT32 max_mlme_sw_retries;
- A_UINT32 no_ack_timeout;
- A_UINT32 roam_candidate_validity_time;
- A_UINT32 roam_to_current_bss_disable;
- } wmi_roam_offload_tlv_param;
- #define WMI_ROAM_OFFLOAD_FLAG_OKC_ENABLED 0
- #define WMI_ROAM_OFFLOAD_FLAG_PMK_CACHE_DISABLED 1
- #define WMI_ROAM_OFFLOAD_FLAG_SAE_SAME_PMKID 2
- #define WMI_SET_ROAM_OFFLOAD_OKC_ENABLED(flag) do { \
- (flag) |= (1 << WMI_ROAM_OFFLOAD_FLAG_OKC_ENABLED); \
- } while (0)
- #define WMI_SET_ROAM_OFFLOAD_OKC_DISABLED(flag) do { \
- (flag) &= ~(1 << WMI_ROAM_OFFLOAD_FLAG_OKC_ENABLED); \
- } while (0)
- #define WMI_GET_ROAM_OFFLOAD_OKC_ENABLED(flag) \
- ((flag) & (1 << WMI_ROAM_OFFLOAD_FLAG_OKC_ENABLED))
- #define WMI_SET_ROAM_OFFLOAD_PMK_CACHE_ENABLED(flag) \
- do { \
- (flag) &= ~(1 << WMI_ROAM_OFFLOAD_FLAG_PMK_CACHE_DISABLED); \
- } while (0)
- #define WMI_SET_ROAM_OFFLOAD_PMK_CACHE_DISABLED(flag) \
- do { \
- (flag) |= (1 << WMI_ROAM_OFFLOAD_FLAG_PMK_CACHE_DISABLED); \
- } while (0)
- #define WMI_GET_ROAM_OFFLOAD_PMK_CACHE_DISABLED(flag) \
- ((flag) & (1 << WMI_ROAM_OFFLOAD_FLAG_PMK_CACHE_DISABLED))
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 flags;
- A_UINT32 pmk[ROAM_OFFLOAD_PMK_BYTES>>2];
- A_UINT32 pmk_len;
- A_UINT32 pmk_ext_len;
- A_UINT32 pmk_ext[ROAM_OFFLOAD_PMK_BYTES>>2];
- } wmi_roam_11i_offload_tlv_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 mdie_present;
- A_UINT32 mdid;
- A_UINT32 r0kh_id[ROAM_OFFLOAD_R0KH_ID_MAX_LEN>>2];
- A_UINT32 r0kh_id_len;
- A_UINT32 psk_msk[ROAM_OFFLOAD_PSK_MSK_BYTES>>2];
- A_UINT32 psk_msk_len;
- A_UINT32 psk_msk_ext_len;
- A_UINT32 psk_msk_ext[ROAM_OFFLOAD_PSK_MSK_BYTES>>2];
- A_UINT32 adaptive_11r;
-
- A_UINT32 ft_im_for_deauth;
-
- A_UINT32 ft_over_ds_enable;
- } wmi_roam_11r_offload_tlv_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 krk[ROAM_OFFLOAD_KRK_BYTES>>2];
- A_UINT32 btk[ROAM_OFFLOAD_BTK_BYTES>>2];
- } wmi_roam_ese_offload_tlv_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 spmk_timeout;
- } wmi_roam_sae_offload_tlv_param;
- typedef enum {
- WMI_BL_REASON_NUD_FAILURE = 1,
- WMI_BL_REASON_STA_KICKOUT,
- WMI_BL_REASON_ROAM_HO_FAILURE,
-
- WMI_BL_REASON_ASSOC_REJECT_POOR_RSSI,
-
- WMI_BL_REASON_ASSOC_REJECT_OCE,
- WMI_BL_REASON_USERSPACE_BL,
- WMI_BL_REASON_USERSPACE_AVOID_LIST,
- WMI_BL_REASON_BTM_DIASSOC_IMMINENT,
- WMI_BL_REASON_BTM_BSS_TERMINATION,
- WMI_BL_REASON_BTM_MBO_RETRY,
-
- WMI_BL_REASON_REASSOC_RSSI_REJECT,
-
- WMI_BL_REASON_REASSOC_NO_MORE_STAS,
- } WMI_BLACKLIST_REASON_ID;
- typedef enum {
- WMI_BL_SOURCE_HOST = 1,
- WMI_BL_SOURCE_FW,
- } WMI_BLACKLIST_SOURCE_ID;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr bssid;
-
- A_UINT32 timeout;
-
- A_INT32 rssi;
-
- A_UINT32 reason;
-
- A_UINT32 source;
-
- A_UINT32 timestamp;
-
- A_UINT32 original_timeout;
- } wmi_roam_blacklist_with_timeout_tlv_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- } wmi_roam_blacklist_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_mac_addr bssid;
- } wmi_roam_pmkid_request_tlv_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- } wmi_roam_pmkid_request_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 reason;
-
- A_UINT32 rssi;
-
- A_UINT32 notif;
-
- A_UINT32 notif_params;
-
- A_UINT32 notif_params1;
- } wmi_roam_event_fixed_param;
- #define WMI_ROAM_REASON_INVALID 0x0
- #define WMI_ROAM_REASON_BETTER_AP 0x1
- #define WMI_ROAM_REASON_BMISS 0x2
- #define WMI_ROAM_REASON_LOW_RSSI 0x3
- #define WMI_ROAM_REASON_SUITABLE_AP 0x4
- #define WMI_ROAM_REASON_HO_FAILED 0x5
- #define WMI_ROAM_REASON_INVOKE_ROAM_FAIL 0x6
- #define WMI_ROAM_REASON_RSO_STATUS 0x7
- #define WMI_ROAM_REASON_BTM 0x8
- #define WMI_ROAM_REASON_DEAUTH 0x9
- typedef enum
- {
- WMI_ROAM_SUBNET_CHANGE_STATUS_UNKNOWN = 0,
- WMI_ROAM_SUBNET_CHANGE_STATUS_UNCHANGED,
- WMI_ROAM_SUBNET_CHANGE_STATUS_CHANGED,
- } wmi_roam_subnet_change_status;
- #define WMI_ROAM_SUBNET_CHANGE_STATUS_MASK 0x30
- #define WMI_ROAM_SUBNET_CHANGE_STATUS_SHIFT 4
- #define WMI_SET_ROAM_SUBNET_CHANGE_STATUS(roam_reason, status) \
- do { \
- (roam_reason) |= \
- (((status) << WMI_ROAM_SUBNET_CHANGE_STATUS_SHIFT) & \
- WMI_ROAM_SUBNET_CHANGE_STATUS_MASK); \
- } while (0)
- #define WMI_GET_ROAM_SUBNET_CHANGE_STATUS(roam_reason) \
- (((roam_reason) & WMI_ROAM_SUBNET_CHANGE_STATUS_MASK) >> \
- WMI_ROAM_SUBNET_CHANGE_STATUS_SHIFT)
- #define WMI_ROAM_REQUEST_HOST_HW_MODE_CHANGE_MASK 0x40
- #define WMI_ROAM_REQUEST_HOST_HW_MODE_CHANGE_SHIFT 6
- #define WMI_SET_ROAM_REQUEST_HOST_HW_MODE_CHANGE(roam_reason, status) \
- do { \
- (roam_reason) |= \
- (((status) << WMI_ROAM_REQUEST_HOST_HW_MODE_CHANGE_SHIFT) & \
- WMI_ROAM_REQUEST_HOST_HW_MODE_CHANGE_MASK); \
- } while (0)
- #define WMI_GET_ROAM_REQUEST_HOST_HW_MODE_CHANGE(roam_reason) \
- (((roam_reason) & WMI_ROAM_REQUEST_HOST_HW_MODE_CHANGE_MASK) >> \
- WMI_ROAM_REQUEST_HOST_HW_MODE_CHANGE_SHIFT)
- #define WMI_SET_ROAM_EXT_TRIGGER_REASON(roam_reason, trigger_reason) \
- do { \
- (roam_reason) |= (trigger_reason & 0xf); \
- (roam_reason) |= 0x80; \
- (roam_reason) |= ((trigger_reason & 0xff) << 8); \
- } while (0)
- #define WMI_ROAM_NOTIF_INVALID 0x0
- #define WMI_ROAM_NOTIF_ROAM_START 0x1
- #define WMI_ROAM_NOTIF_ROAM_ABORT 0x2
- #define WMI_ROAM_NOTIF_ROAM_REASSOC 0x3
- #define WMI_ROAM_NOTIF_SCAN_MODE_SUCCESS 0x4
- #define WMI_ROAM_NOTIF_SCAN_MODE_FAIL 0x5
- #define WMI_ROAM_NOTIF_DISCONNECT 0x6
- #define WMI_ROAM_NOTIF_SUBNET_CHANGED 0x7
- #define WMI_ROAM_NOTIF_SCAN_START 0x8
- #define WMI_ROAM_NOTIF_DEAUTH_RECV 0x9
- #define WMI_ROAM_NOTIF_DISASSOC_RECV 0xa
- #define WMI_ROAM_NOTIF_SCAN_MODE_SUCCESS_WITH_HO_FAIL 0xb
- typedef struct
- {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 num_ric_request;
- A_UINT32 is_add_ric;
- } wmi_ric_request_fixed_param;
- typedef struct{
- A_UINT32 tlv_header;
- A_UINT32 ts_info;
- A_UINT32 nominal_msdu_size;
- A_UINT32 maximum_msdu_size;
- A_UINT32 min_service_interval;
- A_UINT32 max_service_interval;
- A_UINT32 inactivity_interval;
- A_UINT32 suspension_interval;
- A_UINT32 svc_start_time;
- A_UINT32 min_data_rate;
- A_UINT32 mean_data_rate;
- A_UINT32 peak_data_rate;
- A_UINT32 max_burst_size;
- A_UINT32 delay_bound;
- A_UINT32 min_phy_rate;
- A_UINT32 surplus_bw_allowance;
- A_UINT32 medium_time;
- } wmi_ric_tspec;
- #define WMI_ROAM_INVOKE_FLAG_ADD_CH_TO_CACHE 0
- #define WMI_ROAM_INVOKE_FLAG_REPORT_FAILURE 1
- #define WMI_ROAM_INVOKE_FLAG_NO_NULL_FRAME_TO_AP 2
- #define WMI_ROAM_INVOKE_FLAG_FULL_SCAN_IF_NO_CANDIDATE 3
- #define WMI_SET_ROAM_INVOKE_ADD_CH_TO_CACHE(flag) do { \
- (flag) |= (1 << WMI_SET_ROAM_INVOKE_ADD_CH_TO_CACHE); \
- } while (0)
- #define WMI_CLEAR_ROAM_INVOKE_ADD_CH_TO_CACHE(flag) do { \
- (flag) &= ~(1 << WMI_SET_ROAM_INVOKE_ADD_CH_TO_CACHE); \
- } while (0)
- #define WMI_GET_ROAM_INVOKE_ADD_CH_TO_CACHE(flag) \
- ((flag) & (1 << WMI_SET_ROAM_INVOKE_ADD_CH_TO_CACHE))
- #define WMI_ROAM_INVOKE_SCAN_MODE_FIXED_CH 0
- #define WMI_ROAM_INVOKE_SCAN_MODE_CACHE_LIST 1
- #define WMI_ROAM_INVOKE_SCAN_MODE_FULL_CH 2
- #define WMI_ROAM_INVOKE_SCAN_MODE_SKIP 3
- #define WMI_ROAM_INVOKE_SCAN_MODE_CACHE_MAP 4
- #define WMI_ROAM_INVOKE_AP_SEL_FIXED_BSSID 0
- #define WMI_ROAM_INVOKE_AP_SEL_ANY_BSSID 1
- enum wlan_roam_invoke_reason {
- ROAM_INVOKE_REASON_UNDEFINED = 0,
-
- ROAM_INVOKE_REASON_NUD_FAILURE,
- ROAM_INVOKE_REASON_USER_SPACE,
- };
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 flags;
- A_UINT32 roam_scan_mode;
- A_UINT32 roam_ap_sel_mode;
- A_UINT32 roam_delay;
- A_UINT32 num_chan;
- A_UINT32 num_bssid;
- A_UINT32 num_buf;
- A_UINT32 reason;
-
- } wmi_roam_invoke_cmd_fixed_param;
- enum {
- ROAM_FILTER_OP_BITMAP_BLACK_LIST = 0x1,
- ROAM_FILTER_OP_BITMAP_WHITE_LIST = 0x2,
- ROAM_FILTER_OP_BITMAP_PREFER_BSSID = 0x4,
- ROAM_FILTER_OP_BITMAP_LCA_DISALLOW = 0x8,
- ROAM_FILTER_OP_BITMAP_RSSI_REJECTION_OCE = 0x10,
- };
- #define WMI_ROAM_LCA_DISALLOW_SOURCE_PER 0x1
- #define WMI_ROAM_LCA_DISALLOW_SOURCE_BMISS 0x2
- #define WMI_ROAM_LCA_DISALLOW_SOURCE_LOW_RSSI 0x4
- #define WMI_ROAM_LCA_DISALLOW_SOURCE_HIGH_RSSI 0x8
- #define WMI_ROAM_LCA_DISALLOW_SOURCE_PERIODIC 0x10
- #define WMI_ROAM_LCA_DISALLOW_SOURCE_MAWC 0x20
- #define WMI_ROAM_LCA_DISALLOW_SOURCE_DENSE 0x40
- #define WMI_ROAM_LCA_DISALLOW_SOURCE_BACKGROUND 0x80
- #define WMI_ROAM_LCA_DISALLOW_SOURCE_FORCED 0x100
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr bssid;
-
- A_UINT32 remaining_disallow_duration;
-
- A_INT32 requested_rssi;
- } wmi_roam_rejection_list_config_param;
- typedef wmi_roam_rejection_list_config_param wmi_roam_rssi_rejection_oce_config_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 flags;
- A_UINT32 op_bitmap;
- A_UINT32 num_bssid_black_list;
- A_UINT32 num_ssid_white_list;
- A_UINT32 num_bssid_preferred_list;
- A_UINT32 num_rssi_rejection_ap;
- A_UINT32 delta_rssi;
-
- } wmi_roam_filter_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 disallow_duration;
- A_UINT32 rssi_channel_penalization;
- A_UINT32 num_disallowed_aps;
- A_UINT32 disallow_lca_enable_source_bitmap;
- } wmi_roam_lca_disallow_config_tlv_param;
- typedef struct {
- A_UINT8 address[4];
- } WMI_IPV4_ADDR;
- typedef struct _WMI_IPV6_ADDR {
- A_UINT8 address[16];
- } WMI_IPV6_ADDR;
- #define WMI_ROAM_SUBNET_CHANGE_FLAG_IP4_ENABLED 0
- #define WMI_ROAM_SUBNET_CHANGE_FLAG_IP6_ENABLED 1
- #define WMI_SET_ROAM_SUBNET_CHANGE_FLAG_IP4_ENABLED(flag) do { \
- (flag) |= (1 << WMI_ROAM_SUBNET_CHANGE_FLAG_IP4_ENABLED); \
- } while (0)
- #define WMI_SET_ROAM_SUBNET_CHANGE_FLAG_IP4_DISABLED(flag) do { \
- (flag) &= ~(1 << WMI_ROAM_SUBNET_CHANGE_FLAG_IP4_ENABLED); \
- } while (0)
- #define WMI_GET_ROAM_SUBNET_CHANGE_FLAG_IP4_ENABLED(flag) \
- ((flag) & (1 << WMI_ROAM_SUBNET_CHANGE_FLAG_IP4_ENABLED))
- #define WMI_SET_ROAM_SUBNET_CHANGE_FLAG_IP6_ENABLED(flag) do { \
- (flag) |= (1 << WMI_ROAM_SUBNET_CHANGE_FLAG_IP6_ENABLED); \
- } while (0)
- #define WMI_SET_ROAM_SUBNET_CHANGE_FLAG_IP6_DISABLED(flag) do { \
- (flag) &= ~(1 << WMI_ROAM_SUBNET_CHANGE_FLAG_IP6_ENABLED); \
- } while (0)
- #define WMI_GET_ROAM_SUBNET_CHANGE_FLAG_IP6_ENABLED(flag) \
- ((flag) & (1 << WMI_ROAM_SUBNET_CHANGE_FLAG_IP6_ENABLED))
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
-
- A_UINT32 flag;
-
- wmi_mac_addr inet_gw_mac_addr;
-
- WMI_IPV4_ADDR inet_gw_ip_v4_addr;
- WMI_IPV6_ADDR inet_gw_ip_v6_addr;
-
- A_UINT32 max_retries;
-
- A_UINT32 timeout;
-
- A_UINT32 num_skip_subnet_change_detection_bssid_list;
- } wmi_roam_subnet_change_config_fixed_param;
- typedef enum {
-
- ROAM_TRIGGER_SCAN_MODE_NONE = 0,
-
- ROAM_TRIGGER_SCAN_MODE_PARTIAL,
-
- ROAM_TRIGGER_SCAN_MODE_FULL,
-
- ROAM_TRIGGER_SCAN_MODE_NO_SCAN_DISCONNECTION,
- } WMI_ROAM_TRIGGER_SCAN_MODE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 trigger_reason;
- A_UINT32 enable;
- A_UINT32 scan_mode;
-
- A_INT32 trigger_rssi_threshold;
-
- A_INT32 cand_ap_min_rssi_threshold;
-
- A_UINT32 roam_score_delta_percentage;
-
- A_UINT32 reason_code;
-
- A_INT32 cand_ap_min_rssi_threshold_5g;
-
- A_INT32 cand_ap_min_rssi_threshold_6g;
- } wmi_configure_roam_trigger_parameters;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 trigger_reason_bitmask;
- } wmi_roam_enable_disable_trigger_reason_fixed_param;
- typedef struct {
-
- A_UINT32 num_secondary_dev_types;
- } wmi_p2p_dev_set_device_info;
- typedef struct {
-
- A_UINT32 enable_discoverability;
- } wmi_p2p_set_discoverability;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 ie_buf_len;
- } wmi_p2p_go_set_beacon_ie_fixed_param;
- typedef struct {
-
- A_UINT32 vdev_id;
-
- A_UINT32 ie_buf_len;
- } wmi_p2p_go_set_probe_resp_ie;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 p2p_ie_oui_type;
-
- A_UINT32 p2p_noa_attribute;
- } wmi_p2p_set_vendor_ie_data_cmd_fixed_param;
- typedef struct {
- A_UINT32 pattern_type;
- } wmi_p2p_disc_offload_pattern_cmd;
- typedef struct {
-
- A_UINT32 vdev_id;
-
- A_UINT32 mgmt_type;
-
- A_UINT32 ie_buf_len;
- } wmi_p2p_disc_offload_appie_cmd;
- typedef struct {
-
- A_UINT32 enable;
-
- A_UINT32 vdev_id;
-
- A_UINT32 disc_type;
-
- A_UINT32 perodic;
-
- A_UINT32 listen_channel;
-
- A_UINT32 num_scan_chans;
- } wmi_p2p_disc_offload_config_cmd;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
-
- A_UINT32 oppps_attr;
- } wmi_p2p_set_oppps_cmd_fixed_param;
- #define WMI_UNIFIED_OPPPS_ATTR_ENALBED 0x1
- #define WMI_UNIFIED_OPPPS_ATTR_ENALBED_S 0
- #define WMI_UNIFIED_OPPPS_ATTR_IS_ENABLED(hdr) \
- WMI_F_MS((hdr)->oppps_attr, WMI_UNIFIED_OPPPS_ATTR_ENALBED)
- #define WMI_UNIFIED_OPPPS_ATTR_ENABLED_SET(hdr) \
- WMI_F_RMW((hdr)->oppps_attr, 0x1, \
- WMI_UNIFIED_OPPPS_ATTR_ENALBED);
- #define WMI_UNIFIED_OPPPS_ATTR_CTWIN 0xfe
- #define WMI_UNIFIED_OPPPS_ATTR_CTWIN_S 1
- #define WMI_UNIFIED_OPPPS_ATTR_CTWIN_GET(hdr) \
- WMI_F_MS((hdr)->oppps_attr, WMI_UNIFIED_OPPPS_ATTR_CTWIN)
- #define WMI_UNIFIED_OPPPS_ATTR_CTWIN_SET(hdr, v) \
- WMI_F_RMW((hdr)->oppps_attr, (v) & 0x7f, \
- WMI_UNIFIED_OPPPS_ATTR_CTWIN);
- typedef enum p2p_lo_start_ctrl_flags_e {
- P2P_LO_START_CTRL_FLAG_FLUSH_LISTEN_RESULT = 1 << 0,
- } p2p_lo_start_ctrl_flags;
- #define P2P_LO_PER_DEV_TYPE_LEN 8
- #define P2P_LO_DEV_TYPES_COUNT_MAX 10
- #define P2P_LO_DEV_TYPES_LEN_MAX (P2P_LO_PER_DEV_TYPE_LEN * P2P_LO_DEV_TYPES_COUNT_MAX)
- #define P2P_LO_PROB_RESP_MAX_LEN 512
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 ctl_flags;
- A_UINT32 channel;
- A_UINT32 period;
- A_UINT32 interval;
- A_UINT32 count;
-
- A_UINT32 device_types_len;
-
- A_UINT32 prob_resp_len;
-
- } wmi_p2p_lo_start_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_p2p_lo_stop_cmd_fixed_param;
- typedef enum p2p_lo_stopped_reason_e {
- P2P_LO_STOPPED_REASON_COMPLETE = 0,
- P2P_LO_STOPPED_REASON_RECV_STOP_CMD,
- P2P_LO_STOPPED_REASON_INVALID_LO_PAR,
- P2P_LO_STOPPED_REASON_FW_NOT_SUPPORT,
- } p2p_lo_stopped_reason;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 reason;
- } wmi_p2p_lo_stopped_event_fixed_param;
- typedef enum {
- WMI_MNT_FILTER_CONFIG_MANAGER,
- WMI_MNT_FILTER_CONFIG_CONTROL,
- WMI_MNT_FILTER_CONFIG_DATA,
- WMI_MNT_FILTER_CONFIG_ALL,
- WMI_MNT_FILTER_CONFIG_UNKNOWN,
- } WMI_MNT_FILTER_CONFIG_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 clear_or_set;
- A_UINT32 configure_type;
- } wmi_mnt_filter_cmd_fixed_param;
- typedef struct {
- A_UINT32 time32;
- A_UINT32 time0;
- } A_TIME64;
- typedef enum wmi_peer_sta_kickout_reason {
- WMI_PEER_STA_KICKOUT_REASON_UNSPECIFIED = 0,
- WMI_PEER_STA_KICKOUT_REASON_XRETRY = 1,
- WMI_PEER_STA_KICKOUT_REASON_INACTIVITY = 2,
- WMI_PEER_STA_KICKOUT_REASON_IBSS_DISCONNECT = 3,
- WMI_PEER_STA_KICKOUT_REASON_TDLS_DISCONNECT = 4,
- WMI_PEER_STA_KICKOUT_REASON_SA_QUERY_TIMEOUT = 5,
- } PEER_KICKOUT_REASON;
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 reason;
-
- A_UINT32 rssi;
- } wmi_peer_sta_kickout_event_fixed_param;
- #define WMI_WLAN_PROFILE_MAX_HIST 3
- #define WMI_WLAN_PROFILE_MAX_BIN_CNT 32
- typedef struct _wmi_wlan_profile_t {
- A_UINT32 tlv_header;
- A_UINT32 id;
- A_UINT32 cnt;
- A_UINT32 tot;
- A_UINT32 min;
- A_UINT32 max;
- A_UINT32 hist_intvl;
- A_UINT32 hist[WMI_WLAN_PROFILE_MAX_HIST];
- } wmi_wlan_profile_t;
- typedef struct _wmi_wlan_profile_ctx_t {
- A_UINT32 tlv_header;
- A_UINT32 tot;
- A_UINT32 tx_msdu_cnt;
- A_UINT32 tx_mpdu_cnt;
- A_UINT32 tx_ppdu_cnt;
- A_UINT32 rx_msdu_cnt;
- A_UINT32 rx_mpdu_cnt;
- A_UINT32 bin_count;
- } wmi_wlan_profile_ctx_t;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 enable;
- } wmi_wlan_profile_trigger_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 value;
- } wmi_wlan_profile_get_prof_data_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 profile_id;
- A_UINT32 value;
- } wmi_wlan_profile_set_hist_intvl_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 profile_id;
- A_UINT32 enable;
- } wmi_wlan_profile_enable_profile_id_cmd_fixed_param;
- #define WOW_DEFAULT_BITMAP_PATTERN_SIZE 146
- #define WOW_DEFAULT_BITMAP_PATTERN_SIZE_DWORD 37
- #define WOW_DEFAULT_BITMASK_SIZE 146
- #define WOW_DEFAULT_BITMASK_SIZE_DWORD 37
- #define WOW_MAX_BITMAP_FILTERS 32
- #define WOW_DEFAULT_MAGIG_PATTERN_MATCH_CNT 16
- #define WOW_EXTEND_PATTERN_MATCH_CNT 16
- #define WOW_SHORT_PATTERN_MATCH_CNT 8
- #define WOW_DEFAULT_EVT_BUF_SIZE 148
- #define WOW_DEFAULT_IOAC_PATTERN_SIZE 6
- #define WOW_DEFAULT_IOAC_PATTERN_SIZE_DWORD 2
- #define WOW_DEFAULT_IOAC_RANDOM_SIZE 6
- #define WOW_DEFAULT_IOAC_RANDOM_SIZE_DWORD 2
- #define WOW_DEFAULT_IOAC_KEEP_ALIVE_PKT_SIZE 120
- #define WOW_DEFAULT_IOAC_KEEP_ALIVE_PKT_SIZE_DWORD 30
- #define WOW_DEFAULT_IOAC_SOCKET_PATTERN_SIZE 32
- #define WOW_DEFAULT_IOAC_SOCKET_PATTERN_SIZE_DWORD 8
- #define WOW_DEFAULT_IOAC_KEEP_ALIVE_PKT_REV_SIZE 32
- #define WOW_DEFAULT_IOAC_KEEP_ALIVE_PKT_REV_SIZE_DWORD 8
- #define WOW_DEFAULT_IOAC_SOCKET_PATTERN_ACKNAK_SIZE 128
- #define WOW_DEFAULT_IOAC_SOCKET_PATTERN_ACKNAK_SIZE_DWORD 32
- typedef enum pattern_type_e {
- WOW_PATTERN_MIN = 0,
- WOW_BITMAP_PATTERN = WOW_PATTERN_MIN,
- WOW_IPV4_SYNC_PATTERN,
- WOW_IPV6_SYNC_PATTERN,
- WOW_WILD_CARD_PATTERN,
- WOW_TIMER_PATTERN,
- WOW_MAGIC_PATTERN,
- WOW_IPV6_RA_PATTERN,
- WOW_IOAC_PKT_PATTERN,
- WOW_IOAC_TMR_PATTERN,
- WOW_IOAC_SOCK_PATTERN,
- WOW_PATTERN_MAX
- } WOW_PATTERN_TYPE;
- typedef enum event_type_e {
- WOW_BMISS_EVENT = 0,
- WOW_BETTER_AP_EVENT,
- WOW_DEAUTH_RECVD_EVENT,
- WOW_MAGIC_PKT_RECVD_EVENT,
- WOW_GTK_ERR_EVENT,
- WOW_FOURWAY_HSHAKE_EVENT,
- WOW_EAPOL_RECVD_EVENT,
- WOW_NLO_DETECTED_EVENT,
- WOW_DISASSOC_RECVD_EVENT,
- WOW_PATTERN_MATCH_EVENT,
- WOW_CSA_IE_EVENT,
- WOW_PROBE_REQ_WPS_IE_EVENT,
- WOW_AUTH_REQ_EVENT,
- WOW_ASSOC_REQ_EVENT,
- WOW_HTT_EVENT,
- WOW_RA_MATCH_EVENT,
- WOW_HOST_AUTO_SHUTDOWN_EVENT,
- WOW_IOAC_MAGIC_EVENT,
- WOW_IOAC_SHORT_EVENT,
- WOW_IOAC_EXTEND_EVENT,
- WOW_IOAC_TIMER_EVENT,
- WOW_DFS_PHYERR_RADAR_EVENT,
- WOW_BEACON_EVENT,
- WOW_CLIENT_KICKOUT_EVENT,
- WOW_NAN_EVENT,
- WOW_EXTSCAN_EVENT,
- WOW_IOAC_REV_KA_FAIL_EVENT,
- WOW_IOAC_SOCK_EVENT,
- WOW_NLO_SCAN_COMPLETE_EVENT,
- WOW_NAN_DATA_EVENT,
- WOW_NAN_RTT_EVENT,
- WOW_OEM_RESPONSE_EVENT = WOW_NAN_RTT_EVENT,
- WOW_TDLS_CONN_TRACKER_EVENT,
- WOW_CRITICAL_LOG_EVENT,
- WOW_CHIP_POWER_FAILURE_DETECT_EVENT,
- WOW_11D_SCAN_EVENT,
- WOW_SAP_OBSS_DETECTION_EVENT,
- WOW_BSS_COLOR_COLLISION_DETECT_EVENT,
- WOW_TKIP_MIC_ERR_FRAME_RECVD_EVENT,
- WOW_ROAM_PREAUTH_START_EVENT,
- WOW_ROAM_PMKID_REQUEST_EVENT,
- WOW_DFS_CAC_COMPLETE_EVENT,
- WOW_VDEV_DISCONNECT_EVENT,
- WOW_TWT_EVENT,
- WOW_DCS_INTERFERENCE_DET,
- } WOW_WAKE_EVENT_TYPE;
- typedef enum wake_reason_e {
- WOW_REASON_UNSPECIFIED = -1,
- WOW_REASON_NLOD = 0,
- WOW_REASON_AP_ASSOC_LOST,
- WOW_REASON_LOW_RSSI,
- WOW_REASON_DEAUTH_RECVD,
- WOW_REASON_DISASSOC_RECVD,
- WOW_REASON_GTK_HS_ERR,
- WOW_REASON_EAP_REQ,
- WOW_REASON_FOURWAY_HS_RECV,
- WOW_REASON_TIMER_INTR_RECV,
- WOW_REASON_PATTERN_MATCH_FOUND,
- WOW_REASON_RECV_MAGIC_PATTERN,
- WOW_REASON_P2P_DISC,
- WOW_REASON_WLAN_HB,
- WOW_REASON_CSA_EVENT,
- WOW_REASON_PROBE_REQ_WPS_IE_RECV,
- WOW_REASON_AUTH_REQ_RECV,
- WOW_REASON_ASSOC_REQ_RECV,
- WOW_REASON_HTT_EVENT,
- WOW_REASON_RA_MATCH,
- WOW_REASON_HOST_AUTO_SHUTDOWN,
- WOW_REASON_IOAC_MAGIC_EVENT,
- WOW_REASON_IOAC_SHORT_EVENT,
- WOW_REASON_IOAC_EXTEND_EVENT,
- WOW_REASON_IOAC_TIMER_EVENT,
- WOW_REASON_ROAM_HO,
- WOW_REASON_DFS_PHYERR_RADADR_EVENT,
- WOW_REASON_BEACON_RECV,
- WOW_REASON_CLIENT_KICKOUT_EVENT,
- WOW_REASON_NAN_EVENT,
- WOW_REASON_EXTSCAN,
- WOW_REASON_RSSI_BREACH_EVENT,
- WOW_REASON_IOAC_REV_KA_FAIL_EVENT,
- WOW_REASON_IOAC_SOCK_EVENT,
- WOW_REASON_NLO_SCAN_COMPLETE,
- WOW_REASON_PACKET_FILTER_MATCH,
- WOW_REASON_ASSOC_RES_RECV,
- WOW_REASON_REASSOC_REQ_RECV,
- WOW_REASON_REASSOC_RES_RECV,
- WOW_REASON_ACTION_FRAME_RECV,
- WOW_REASON_BPF_ALLOW,
- WOW_REASON_NAN_DATA,
- WOW_REASON_NAN_RTT,
- WOW_REASON_OEM_RESPONSE_EVENT = WOW_REASON_NAN_RTT,
- WOW_REASON_TDLS_CONN_TRACKER_EVENT,
- WOW_REASON_CRITICAL_LOG,
- WOW_REASON_P2P_LISTEN_OFFLOAD,
- WOW_REASON_NAN_EVENT_WAKE_HOST,
- WOW_REASON_CHIP_POWER_FAILURE_DETECT,
- WOW_REASON_11D_SCAN,
- WOW_REASON_THERMAL_CHANGE,
- WOW_REASON_OIC_PING_OFFLOAD,
- WOW_REASON_WLAN_DHCP_RENEW,
- WOW_REASON_SAP_OBSS_DETECTION,
- WOW_REASON_BSS_COLOR_COLLISION_DETECT,
- WOW_REASON_TKIP_MIC_ERR_FRAME_RECVD_DETECT,
- WOW_REASON_WLAN_MD,
- WOW_REASON_WLAN_BL,
- WOW_REASON_NTH_BCN_OFLD,
- WOW_REASON_PKT_CAPTURE_MODE_WAKE,
- WOW_REASON_PAGE_FAULT,
- WOW_REASON_ROAM_PREAUTH_START,
- WOW_REASON_ROAM_PMKID_REQUEST,
- WOW_REASON_RFKILL,
- WOW_REASON_DFS_CAC,
- WOW_REASON_VDEV_DISCONNECT,
- WOW_REASON_LOCAL_DATA_UC_DROP,
- WOW_REASON_GENERIC_WAKE,
- WOW_REASON_ERR_PKT_TRIGGERED_WAKEUP,
- WOW_REASON_TWT,
- WOW_REASON_FATAL_EVENT_WAKE,
- WOW_REASON_DCS_INT_DET,
-
- WOW_REASON_MAX,
- WOW_REASON_DEBUG_TEST = 0xFF,
- } WOW_WAKE_REASON_TYPE;
- typedef enum {
- WOW_IFACE_PAUSE_ENABLED,
- WOW_IFACE_PAUSE_DISABLED
- } WOW_IFACE_STATUS;
- enum {
- WMI_WOW_FLAG_IGNORE_PCIE_RESET = 0x00000001,
-
- WMI_WOW_FLAG_SEND_PM_PME = 0x00000002,
-
- WMI_WOW_FLAG_UNIT_TEST_ENABLE = 0x00000004,
-
- WMI_WOW_FLAG_DO_HTC_WAKEUP = 0x00000008,
-
- WMI_WOW_FLAG_ENABLE_DRV_PCIE_L1SS_SLEEP = 0x00000010,
-
- WMI_WOW_FLAG_SYSTEM_SUSPEND_WOW = 0x00000020,
-
- WMI_WOW_FLAG_MOD_DTIM_ON_SYS_SUSPEND = 0x00000040,
-
- WMI_WOW_FLAG_FORCED_DTIM_ON_SYS_SUSPEND = 0x00000080,
- };
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 enable;
- A_UINT32 pause_iface_config;
- A_UINT32 flags;
- } wmi_wow_enable_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 reserved0;
- } wmi_wow_hostwakeup_from_sleep_cmd_fixed_param;
- #define WOW_ICMPV6_NA_FILTER_DISABLE 0
- #define WOW_ICMPV6_NA_FILTER_ENABLE 1
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 enable;
- } wmi_wow_enable_icmpv6_na_flt_cmd_fixed_param;
- typedef struct bitmap_pattern_s {
- A_UINT32 tlv_header;
- A_UINT32 patternbuf[WOW_DEFAULT_BITMAP_PATTERN_SIZE_DWORD];
- A_UINT32 bitmaskbuf[WOW_DEFAULT_BITMASK_SIZE_DWORD];
- A_UINT32 pattern_offset;
- A_UINT32 pattern_len;
- A_UINT32 bitmask_len;
- A_UINT32 pattern_id;
- } WOW_BITMAP_PATTERN_T;
- typedef struct ipv4_sync_s {
- A_UINT32 tlv_header;
- A_UINT32 ipv4_src_addr;
- A_UINT32 ipv4_dst_addr;
- A_UINT32 tcp_src_prt;
- A_UINT32 tcp_dst_prt;
- } WOW_IPV4_SYNC_PATTERN_T;
- typedef struct ipv6_sync_s {
- A_UINT32 tlv_header;
- A_UINT32 ipv6_src_addr[4];
- A_UINT32 ipv6_dst_addr[4];
- A_UINT32 tcp_src_prt;
- A_UINT32 tcp_dst_prt;
- } WOW_IPV6_SYNC_PATTERN_T;
- typedef struct WOW_MAGIC_PATTERN_CMD
- {
- A_UINT32 tlv_header;
- wmi_mac_addr macaddr;
- } WOW_MAGIC_PATTERN_CMD;
- typedef enum wow_ioac_pattern_type {
- WOW_IOAC_MAGIC_PATTERN = 1,
- WOW_IOAC_SHORT_PATTERN,
- WOW_IOAC_EXTEND_PATTERN,
- } WOW_IOAC_PATTERN_TYPE;
- typedef struct ioac_sock_pattern_s {
- A_UINT32 tlv_header;
- A_UINT32 id;
- A_UINT32 local_ipv4;
- A_UINT32 remote_ipv4;
- A_UINT32 local_port;
- A_UINT32 remote_port;
- A_UINT32 pattern_len;
- A_UINT32 pattern[WOW_DEFAULT_IOAC_SOCKET_PATTERN_SIZE_DWORD];
- WMI_IPV6_ADDR local_ipv6;
- WMI_IPV6_ADDR remote_ipv6;
- A_UINT32 ack_nak_len;
- A_UINT32 ackpkt[WOW_DEFAULT_IOAC_SOCKET_PATTERN_ACKNAK_SIZE_DWORD];
- A_UINT32 nakpkt[WOW_DEFAULT_IOAC_SOCKET_PATTERN_ACKNAK_SIZE_DWORD];
- } WOW_IOAC_SOCK_PATTERN_T;
- typedef struct ioac_pkt_pattern_s {
- A_UINT32 tlv_header;
- A_UINT32 pattern_type;
- A_UINT32 pattern[WOW_DEFAULT_IOAC_PATTERN_SIZE_DWORD];
- A_UINT32 random[WOW_DEFAULT_IOAC_RANDOM_SIZE_DWORD];
- A_UINT32 pattern_len;
- A_UINT32 random_len;
- } WOW_IOAC_PKT_PATTERN_T;
- typedef struct ioac_tmr_pattern_s {
- A_UINT32 tlv_header;
- A_UINT32 wake_in_s;
- A_UINT32 vdev_id;
- } WOW_IOAC_TMR_PATTERN_T;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 nID;
- } WMI_WOW_IOAC_ADD_KEEPALIVE_CMD_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 nID;
- } WMI_WOW_IOAC_DEL_KEEPALIVE_CMD_fixed_param;
- typedef struct ioac_keepalive_s {
- A_UINT32 tlv_header;
- A_UINT32 keepalive_pkt_buf[WOW_DEFAULT_IOAC_KEEP_ALIVE_PKT_SIZE_DWORD];
- A_UINT32 keepalive_pkt_len;
- A_UINT32 period_in_ms;
- A_UINT32 vdev_id;
- A_UINT32 max_loss_cnt;
- A_UINT32 local_ipv4;
- A_UINT32 remote_ipv4;
- A_UINT32 local_port;
- A_UINT32 remote_port;
- A_UINT32 recv_period_in_ms;
- A_UINT32 rev_ka_size;
- A_UINT32 rev_ka_data[WOW_DEFAULT_IOAC_KEEP_ALIVE_PKT_REV_SIZE_DWORD];
- WMI_IPV6_ADDR local_ipv6;
- WMI_IPV6_ADDR remote_ipv6;
- } WMI_WOW_IOAC_KEEPALIVE_T;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 pattern_type;
- } WMI_WOW_IOAC_ADD_PATTERN_CMD_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 pattern_type;
- A_UINT32 pattern_id;
- } WMI_WOW_IOAC_DEL_PATTERN_CMD_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 pattern_id;
- A_UINT32 pattern_type;
- } WMI_WOW_ADD_PATTERN_CMD_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 pattern_id;
- A_UINT32 pattern_type;
- } WMI_WOW_DEL_PATTERN_CMD_fixed_param;
- #define WMI_WOW_MAX_EVENT_BM_LEN 4
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 is_add;
- union {
- A_UINT32 event_bitmap;
- A_UINT32 event_bitmaps[WMI_WOW_MAX_EVENT_BM_LEN];
- };
- } WMI_WOW_ADD_DEL_EVT_CMD_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 enable;
-
- A_UINT32 dest_port;
- A_UINT32 pattern_len;
- A_UINT32 response_len;
- } WMI_WOW_UDP_SVC_OFLD_CMD_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 enable;
- A_UINT32 pin;
- A_UINT32 interval_low;
- A_UINT32 interval_high;
- A_UINT32 repeat_cnt;
- A_UINT32 init_state;
- } WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMD_fixed_param;
- #define MAX_SUPPORTED_ACTION_CATEGORY 256
- #define MAX_SUPPORTED_ACTION_SUBCATEGORY 32
- #define MAX_SUPPORTED_ACTION_CATEGORY_ELE_LIST (MAX_SUPPORTED_ACTION_CATEGORY/32)
- typedef enum {
- WOW_ACTION_WAKEUP_OPERATION_RESET = 0,
- WOW_ACTION_WAKEUP_OPERATION_SET,
- WOW_ACTION_WAKEUP_OPERATION_ADD_SET,
- WOW_ACTION_WAKEUP_OPERATION_DELETE_SET,
- } WOW_ACTION_WAKEUP_OPERATION;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 operation;
- A_UINT32 action_category_map[MAX_SUPPORTED_ACTION_CATEGORY_ELE_LIST];
-
- } WMI_WOW_SET_ACTION_WAKE_UP_CMD_fixed_param;
- typedef struct wow_event_info_s {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 flag;
- A_INT32 wake_reason;
- A_UINT32 data_len;
- } WOW_EVENT_INFO_fixed_param;
- typedef struct wow_initial_wakeup_event_s {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } WOW_INITIAL_WAKEUP_EVENT_fixed_param;
- typedef enum {
- WOW_EVENT_INFO_TYPE_PACKET = 0x0001,
- WOW_EVENT_INFO_TYPE_BITMAP,
- WOW_EVENT_INFO_TYPE_GTKIGTK,
- } WOW_EVENT_INFO_TYPE;
- typedef struct wow_event_info_section_s {
- A_UINT32 data_type;
- A_UINT32 data_len;
- } WOW_EVENT_INFO_SECTION;
- typedef struct wow_event_info_section_packet_s {
- A_UINT8 packet[WOW_DEFAULT_EVT_BUF_SIZE];
- } WOW_EVENT_INFO_SECTION_PACKET;
- typedef struct wow_event_info_section_bitmap_s {
- A_UINT32 tlv_header;
- A_UINT32 flag;
- A_UINT32 value;
- A_UINT32 org_len;
- } WOW_EVENT_INFO_SECTION_BITMAP;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 enable;
- } wmi_d0_wow_enable_disable_cmd_fixed_param;
- typedef enum extend_wow_type_e {
- EXTWOW_TYPE_APP_TYPE1,
- EXTWOW_TYPE_APP_TYPE2,
- EXTWOW_TYPE_APP_TYPE1_2,
- EXTWOW_TYPE_APP_PULSETEST,
- EXTWOW_DISABLED = 255,
- } EXTWOW_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 type;
- A_UINT32 wakeup_pin_num;
- A_UINT32 swol_pulsetest_type;
- A_UINT32 swol_pulsetest_application;
- } wmi_extwow_enable_cmd_fixed_param;
- #define SWOL_INDOOR_MAC_ADDRESS_INDEX_MAX 8
- #define SWOL_INDOOR_KEY_LEN 16
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr wakee_mac;
- A_UINT8 ident[8];
- A_UINT8 passwd[16];
- A_UINT32 ident_len;
- A_UINT32 passwd_len;
-
-
- A_UINT8 swol_indoor_key[SWOL_INDOOR_MAC_ADDRESS_INDEX_MAX][SWOL_INDOOR_KEY_LEN];
-
- A_UINT8 swol_indoor_key_len[SWOL_INDOOR_MAC_ADDRESS_INDEX_MAX];
-
- wmi_mac_addr swol_indoor_key_mac[SWOL_INDOOR_MAC_ADDRESS_INDEX_MAX];
-
- A_UINT32 swol_indoor_app_mask[SWOL_INDOOR_MAC_ADDRESS_INDEX_MAX];
- A_UINT32 swol_indoor_waker_check;
- A_UINT32 swol_indoor_pw_check;
- A_UINT32 swol_indoor_pattern;
- A_UINT32 swol_indoor_exception;
- A_UINT32 swol_indoor_exception_app;
- A_UINT32 swol_assist_enable;
- } wmi_extwow_set_app_type1_params_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT8 rc4_key[16];
- A_UINT32 rc4_key_len;
-
- A_UINT32 ip_id;
- A_UINT32 ip_device_ip;
- A_UINT32 ip_server_ip;
-
- A_UINT16 tcp_src_port;
- A_UINT16 tcp_dst_port;
- A_UINT32 tcp_seq;
- A_UINT32 tcp_ack_seq;
- A_UINT32 keepalive_init;
- A_UINT32 keepalive_min;
- A_UINT32 keepalive_max;
- A_UINT32 keepalive_inc;
- wmi_mac_addr gateway_mac;
- A_UINT32 tcp_tx_timeout_val;
- A_UINT32 tcp_rx_timeout_val;
-
-
-
- A_UINT8 rc4_write_sandbox[256];
- A_UINT32 rc4_write_x;
- A_UINT32 rc4_write_y;
-
- A_UINT8 rc4_read_sandbox[256];
- A_UINT32 rc4_read_x;
- A_UINT32 rc4_read_y;
-
- A_UINT8 ssl_write_seq[8];
- A_UINT8 ssl_sha1_write_key[64];
- A_UINT32 ssl_sha1_write_key_len;
-
- A_UINT8 ssl_read_seq[8];
- A_UINT8 ssl_sha1_read_key[64];
- A_UINT32 ssl_sha1_read_key_len;
-
- A_UINT32 tcp_options_len;
- A_UINT8 tcp_options[40];
- A_UINT32 async_id;
- } wmi_extwow_set_app_type2_params_cmd_fixed_param;
- #define WMI_RXERR_CRC 0x01
- #define WMI_RXERR_DECRYPT 0x08
- #define WMI_RXERR_MIC 0x10
- #define WMI_RXERR_KEY_CACHE_MISS 0x20
- #define WMI_RX_OFFLOAD_MON_MODE 0x40
- typedef enum {
- PKT_PWR_SAVE_PAID_MATCH = 0x00000001,
- PKT_PWR_SAVE_GID_MATCH = 0x00000002,
- PKT_PWR_SAVE_EARLY_TIM_CLEAR = 0x00000004,
- PKT_PWR_SAVE_EARLY_DTIM_CLEAR = 0x00000008,
- PKT_PWR_SAVE_EOF_PAD_DELIM = 0x00000010,
- PKT_PWR_SAVE_MACADDR_MISMATCH = 0x00000020,
- PKT_PWR_SAVE_DELIM_CRC_FAIL = 0x00000040,
- PKT_PWR_SAVE_GID_NSTS_ZERO = 0x00000080,
- PKT_PWR_SAVE_RSSI_CHECK = 0x00000100,
- PKT_PWR_SAVE_5G_EBT = 0x00000200,
- PKT_PWR_SAVE_2G_EBT = 0x00000400,
- PKT_PWR_SAVE_BSS_COLOR_MISMATCH = 0x00000800,
- PKT_PWR_SAVE_UL_FLAG = 0x00001000,
- PKT_PWR_SAVE_STA_ID_MISMATCH = 0x00002000,
- PKT_PWR_SAVE_MACADDR_MISMATCH_FCS = 0x00004000,
- PKT_PWR_SAVE_ENABLE = 0x80000000,
- } WMI_PKT_PWR_SAVE_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_data;
-
- A_UINT32 pdev_id;
- } wmi_ftm_intg_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_data;
- } wmi_ftm_intg_event_fixed_param;
- #define WMI_MAX_NS_OFFLOADS 2
- #define WMI_MAX_ARP_OFFLOADS 2
- #define WMI_ARPOFF_FLAGS_VALID (1 << 0)
- #define WMI_ARPOFF_FLAGS_MAC_VALID (1 << 1)
- #define WMI_ARPOFF_FLAGS_REMOTE_IP_VALID (1 << 2)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 flags;
- A_UINT8 target_ipaddr[4];
- A_UINT8 remote_ipaddr[4];
- wmi_mac_addr target_mac;
- } WMI_ARP_OFFLOAD_TUPLE;
- #define WMI_NSOFF_FLAGS_VALID (1 << 0)
- #define WMI_NSOFF_FLAGS_MAC_VALID (1 << 1)
- #define WMI_NSOFF_FLAGS_REMOTE_IP_VALID (1 << 2)
- #define WMI_NSOFF_FLAGS_IS_IPV6_ANYCAST (1 << 3)
- #define WMI_NSOFF_MAX_TARGET_IPS 2
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 flags;
-
- WMI_IPV6_ADDR target_ipaddr[WMI_NSOFF_MAX_TARGET_IPS];
- WMI_IPV6_ADDR solicitation_ipaddr;
- WMI_IPV6_ADDR remote_ipaddr;
- wmi_mac_addr target_mac;
- } WMI_NS_OFFLOAD_TUPLE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 flags;
- A_UINT32 vdev_id;
- A_UINT32 num_ns_ext_tuples;
- } WMI_SET_ARP_NS_OFFLOAD_CMD_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 pattern_id;
- A_UINT32 timeout;
- A_UINT32 length;
-
- } WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMD_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 pattern_id;
- } WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMD_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 tid;
-
- A_UINT32 initiator;
-
- A_UINT32 window_size;
-
- A_UINT32 ssn;
-
- A_UINT32 timeout;
-
- A_UINT32 policy;
- } wmi_peer_tid_addba_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 tid;
-
- A_UINT32 initiator;
- } wmi_peer_tid_delba_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 tid;
-
- A_UINT32 status;
- } wmi_tx_addba_complete_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 tid;
-
- A_UINT32 status;
- } wmi_tx_delba_complete_event_fixed_param;
- typedef struct
- {
- A_UINT32 tlv_header;
- wmi_mac_addr peer_macaddr;
- A_UINT32 tidBitmap;
- } wmi_ba_req_ssn;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 num_ba_req_ssn;
- } wmi_ba_req_ssn_cmd_fixed_param;
- #define WMI_MAX_TC 8
- typedef struct
- {
- A_UINT32 tlv_header;
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 ssn_present_for_tid[WMI_MAX_TC];
-
- A_UINT32 ssn_for_tid[WMI_MAX_TC];
- } wmi_ba_event_ssn;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 status;
-
- A_UINT32 num_ba_event_ssn;
- } wmi_ba_rsp_ssn_event_fixed_param;
- enum wmi_aggr_state_req_type {
- WMI_DISABLE_AGGREGATION,
- WMI_ENABLE_AGGREGATION
- };
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 req_type;
- } wmi_aggr_state_trig_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 key_ix;
-
- A_UINT32 key_flags;
-
- A_UINT32 status;
- } wmi_vdev_install_key_complete_event_fixed_param;
- typedef enum {
-
- WLAN_DISCONNECT_REASON_CSA_SA_QUERY_TIMEOUT = 1,
-
- WLAN_DISCONNECT_REASON_MOVE_TO_CELLULAR,
- } WMI_VDEV_DISCONNECT_REASON_ID;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 reason;
- } wmi_vdev_disconnect_event_fixed_param;
- typedef enum _WMI_NLO_AUTH_ALGORITHM {
- WMI_NLO_AUTH_ALGO_80211_OPEN = 1,
- WMI_NLO_AUTH_ALGO_80211_SHARED_KEY = 2,
- WMI_NLO_AUTH_ALGO_WPA = 3,
- WMI_NLO_AUTH_ALGO_WPA_PSK = 4,
- WMI_NLO_AUTH_ALGO_WPA_NONE = 5,
- WMI_NLO_AUTH_ALGO_RSNA = 6,
- WMI_NLO_AUTH_ALGO_RSNA_PSK = 7,
- } WMI_NLO_AUTH_ALGORITHM;
- typedef enum _WMI_NLO_CIPHER_ALGORITHM {
- WMI_NLO_CIPHER_ALGO_NONE = 0x00,
- WMI_NLO_CIPHER_ALGO_WEP40 = 0x01,
- WMI_NLO_CIPHER_ALGO_TKIP = 0x02,
- WMI_NLO_CIPHER_ALGO_CCMP = 0x04,
- WMI_NLO_CIPHER_ALGO_WEP104 = 0x05,
- WMI_NLO_CIPHER_ALGO_BIP = 0x06,
- WMI_NLO_CIPHER_ALGO_WPA_USE_GROUP = 0x100,
- WMI_NLO_CIPHER_ALGO_RSN_USE_GROUP = 0x100,
- WMI_NLO_CIPHER_ALGO_WEP = 0x101,
- } WMI_NLO_CIPHER_ALGORITHM;
- typedef enum _WMI_NLO_SSID_BcastNwType
- {
- WMI_NLO_BCAST_UNKNOWN = 0,
- WMI_NLO_BCAST_NORMAL = 1,
- WMI_NLO_BCAST_HIDDEN = 2,
- } WMI_NLO_SSID_BcastNwType;
- #define WMI_NLO_MAX_SSIDS 16
- #define WMI_NLO_MAX_CHAN 48
- #define WMI_NLO_CONFIG_STOP (0x1 << 0)
- #define WMI_NLO_CONFIG_START (0x1 << 1)
- #define WMI_NLO_CONFIG_RESET (0x1 << 2)
- #define WMI_NLO_CONFIG_SLOW_SCAN (0x1 << 4)
- #define WMI_NLO_CONFIG_FAST_SCAN (0x1 << 5)
- #define WMI_NLO_CONFIG_SSID_HIDE_EN (0x1 << 6)
- #define WMI_NLO_CONFIG_ENLO (0x1 << 7)
- #define WMI_NLO_CONFIG_SCAN_PASSIVE (0x1 << 8)
- #define WMI_NLO_CONFIG_ENLO_RESET (0x1 << 9)
- #define WMI_NLO_CONFIG_SPOOFED_MAC_IN_PROBE_REQ (0x1 << 10)
- #define WMI_NLO_CONFIG_RANDOM_SEQ_NO_IN_PROBE_REQ (0x1 << 11)
- #define WMI_NLO_CONFIG_ENABLE_IE_WHITELIST_IN_PROBE_REQ (0x1 << 12)
- #define WMI_NLO_CONFIG_ENABLE_CNLO_RSSI_CONFIG (0x1 << 13)
- #define WMI_ENLO_FLAG_DIRECTED_SCAN 1
- #define WMI_ENLO_FLAG_A_BAND 2
- #define WMI_ENLO_FLAG_G_BAND 4
- #define WMI_ENLO_FLAG_STRICT_MATCH 8
- #define WMI_ENLO_AUTH_CODE_OPEN 1
- #define WMI_ENLO_AUTH_CODE_PSK 2
- #define WMI_ENLO_AUTH_CODE_EAPOL 4
- typedef struct wmi_nlo_ssid_param
- {
- A_UINT32 valid;
- wmi_ssid ssid;
- } wmi_nlo_ssid_param;
- typedef struct wmi_nlo_enc_param
- {
- A_UINT32 valid;
- A_UINT32 enc_type;
- } wmi_nlo_enc_param;
- typedef struct wmi_nlo_auth_param
- {
- A_UINT32 valid;
- A_UINT32 auth_type;
- } wmi_nlo_auth_param;
- typedef struct wmi_nlo_bcast_nw_param
- {
- A_UINT32 valid;
- A_UINT32 bcast_nw_type;
- } wmi_nlo_bcast_nw_param;
- typedef struct wmi_nlo_rssi_param
- {
- A_UINT32 valid;
- A_INT32 rssi;
- } wmi_nlo_rssi_param;
- typedef struct nlo_configured_parameters {
- A_UINT32 tlv_header;
- wmi_nlo_ssid_param ssid;
- wmi_nlo_enc_param enc_type;
- wmi_nlo_auth_param auth_type;
- wmi_nlo_rssi_param rssi_cond;
- wmi_nlo_bcast_nw_param bcast_nw_type;
- } nlo_configured_parameters;
- typedef struct nlo_channel_prediction_cfg {
- A_UINT32 tlv_header;
-
- A_UINT32 enable;
-
- A_UINT32 top_k_num;
-
- A_UINT32 stationary_threshold;
-
- A_UINT32 full_scan_period_ms;
- } nlo_channel_prediction_cfg;
- typedef struct enlo_candidate_score_params_t {
- A_UINT32 tlv_header;
- A_INT32 min5GHz_rssi;
- A_INT32 min24GHz_rssi;
- A_UINT32 initial_score_max;
-
- A_UINT32 current_connection_bonus;
- A_UINT32 same_network_bonus;
- A_UINT32 secure_bonus;
- A_UINT32 band5GHz_bonus;
- } enlo_candidate_score_params;
- typedef struct connected_nlo_bss_band_rssi_pref_t {
- A_UINT32 tlv_header;
-
- A_UINT32 band;
-
- A_INT32 rssi_pref;
- } connected_nlo_bss_band_rssi_pref;
- typedef struct connected_nlo_rssi_params_t {
- A_UINT32 tlv_header;
-
- A_INT32 relative_rssi;
-
- A_INT32 relative_rssi_5g_pref;
- } connected_nlo_rssi_params;
- typedef struct wmi_nlo_config {
- A_UINT32 tlv_header;
- A_UINT32 flags;
- A_UINT32 vdev_id;
- A_UINT32 fast_scan_max_cycles;
- A_UINT32 active_dwell_time;
- A_UINT32 passive_dwell_time;
- A_UINT32 probe_bundle_size;
- A_UINT32 rest_time;
- A_UINT32 max_rest_time;
- A_UINT32 scan_backoff_multiplier;
- A_UINT32 fast_scan_period;
- A_UINT32 slow_scan_period;
- A_UINT32 no_of_ssids;
- A_UINT32 num_of_channels;
- A_UINT32 delay_start_time;
-
- wmi_mac_addr mac_addr;
-
- wmi_mac_addr mac_mask;
-
- A_UINT32 ie_bitmap[WMI_IE_BITMAP_SIZE];
-
- A_UINT32 num_vendor_oui;
-
- A_UINT32 num_cnlo_band_pref;
-
- A_UINT32 active_dwell_time_2ghz;
-
- A_UINT32 active_dwell_time_6ghz;
-
- A_UINT32 passive_dwell_time_6ghz;
- } wmi_nlo_config_cmd_fixed_param;
- typedef struct wmi_nlo_event
- {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_nlo_event;
- #define WMI_PASSPOINT_CONFIG_SET (0x1 << 0)
- #define WMI_PASSPOINT_CONFIG_RESET (0x1 << 1)
- #define PASSPOINT_REALM_LEN 256
- #define PASSPOINT_ROAMING_CONSORTIUM_ID_LEN 5
- #define PASSPOINT_ROAMING_CONSORTIUM_ID_NUM 16
- #define PASSPOINT_PLMN_ID_LEN 3
- #define PASSPOINT_PLMN_ID_ALLOC_LEN \
- (((PASSPOINT_PLMN_ID_LEN + 3) >> 2) << 2)
- A_COMPILE_TIME_ASSERT(
- check_passpoint_realm_size,
- (PASSPOINT_REALM_LEN % sizeof(A_UINT32)) == 0);
- A_COMPILE_TIME_ASSERT(
- check_passpoint_roaming_consortium_ids_size,
- ((PASSPOINT_ROAMING_CONSORTIUM_ID_NUM*PASSPOINT_ROAMING_CONSORTIUM_ID_LEN) % sizeof(A_UINT32)) == 0);
- #define WMI_PASSPOINT_NETWORK_ID_WILDCARD 0xFFFFFFFF
- typedef struct wmi_passpoint_config {
- A_UINT32 tlv_header;
-
- A_UINT32 id;
- A_UINT32 req_id;
- A_UINT8 realm[PASSPOINT_REALM_LEN];
- A_UINT8 roaming_consortium_ids[PASSPOINT_ROAMING_CONSORTIUM_ID_NUM][PASSPOINT_ROAMING_CONSORTIUM_ID_LEN];
-
- A_UINT8 plmn[PASSPOINT_PLMN_ID_ALLOC_LEN];
- } wmi_passpoint_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 id;
- A_UINT32 vdev_id;
- A_UINT32 timestamp;
- wmi_ssid ssid;
- wmi_mac_addr bssid;
- A_UINT32 channel_mhz;
- A_UINT32 rssi;
- A_UINT32 rtt;
- A_UINT32 rtt_sd;
- A_UINT32 beacon_period;
- A_UINT32 capability;
- A_UINT32 ie_length;
- A_UINT32 anqp_length;
- } wmi_passpoint_event_hdr;
- #define GTK_OFFLOAD_OPCODE_MASK 0xFF000000
- #define GTK_OFFLOAD_ENABLE_OPCODE 0x01000000
- #define GTK_OFFLOAD_DISABLE_OPCODE 0x02000000
- #define GTK_OFFLOAD_REQUEST_STATUS_OPCODE 0x04000000
- enum wmi_chatter_mode {
-
- WMI_CHATTER_MODE_AUTO,
-
- WMI_CHATTER_MODE_MANUAL_ENTER,
-
- WMI_CHATTER_MODE_MANUAL_EXIT,
-
- WMI_CHATTER_MODE_MAX
- };
- enum wmi_chatter_query_type {
-
- WMI_CHATTER_QUERY_FILTER_MATCH_CNT,
- WMI_CHATTER_QUERY_MAX
- };
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 chatter_mode;
- } wmi_chatter_set_mode_cmd_fixed_param;
- #define CHATTER_MAX_COALESCING_RULES 11
- #define CHATTER_MAX_FIELD_TEST 5
- #define CHATTER_MAX_TEST_FIELD_LEN32 2
- #define CHATTER_COALESCING_TEST_EQUAL 1
- #define CHATTER_COALESCING_TEST_MASKED_EQUAL 2
- #define CHATTER_COALESCING_TEST_NOT_EQUAL 3
- #define CHATTER_COALESCING_PKT_TYPE_UNICAST (1 << 0)
- #define CHATTER_COALESCING_PKT_TYPE_MULTICAST (1 << 1)
- #define CHATTER_COALESCING_PKT_TYPE_BROADCAST (1 << 2)
- typedef struct _chatter_pkt_coalescing_hdr_test {
-
- A_UINT32 offset;
- A_UINT32 length;
- A_UINT32 test;
- A_UINT32 mask[CHATTER_MAX_TEST_FIELD_LEN32];
- A_UINT32 value[CHATTER_MAX_TEST_FIELD_LEN32];
- } chatter_pkt_coalescing_hdr_test;
- typedef struct _chatter_pkt_coalescing_filter {
- A_UINT32 tlv_header;
- A_UINT32 filter_id;
- A_UINT32 max_coalescing_delay;
- A_UINT32 pkt_type;
- A_UINT32 num_of_test_field;
- chatter_pkt_coalescing_hdr_test test_fields[CHATTER_MAX_FIELD_TEST];
- } chatter_pkt_coalescing_filter;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_of_filters;
- } wmi_chatter_coalescing_add_filter_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 filter_id;
- } wmi_chatter_coalescing_delete_filter_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 type;
- } wmi_chatter_coalescing_query_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 type;
- A_UINT32 filter_match_cnt;
- } wmi_chatter_query_reply_event_fixed_param;
- #define GTK_OFFLOAD_KEK_BYTES 16
- #define GTK_OFFLOAD_KCK_BYTES 16
- #define GTK_REPLAY_COUNTER_BYTES 8
- #define WMI_MAX_KEY_LEN 32
- #define IGTK_PN_SIZE 6
- #define WMI_MAX_PN_LEN 8
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 link_id;
-
- A_UINT32 key_ix;
-
- A_UINT32 key_cipher;
- A_UINT8 pn[WMI_MAX_PN_LEN];
- A_UINT8 key_buff[WMI_MAX_KEY_LEN];
- } wmi_roam_ml_key_material_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 flags;
- A_UINT32 refresh_cnt;
-
- A_UINT8 replay_counter[GTK_REPLAY_COUNTER_BYTES];
- A_UINT8 igtk_keyIndex;
- A_UINT8 igtk_keyLength;
- A_UINT8 igtk_keyRSC[IGTK_PN_SIZE];
- A_UINT8 igtk_key[WMI_MAX_KEY_LEN];
- A_UINT8 gtk_keyIndex;
- A_UINT8 gtk_keyLength;
- A_UINT8 gtk_keyRSC[GTK_REPLAY_COUNTER_BYTES];
- A_UINT8 gtk_key[WMI_MAX_KEY_LEN];
- A_UINT8 bigtk_keyIndex;
- A_UINT8 bigtk_keyLength;
- A_UINT8 bigtk_keyRSC[IGTK_PN_SIZE];
- A_UINT8 bigtk_key[WMI_MAX_KEY_LEN];
- } WMI_GTK_OFFLOAD_STATUS_EVENT_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 flags;
-
- A_UINT8 KEK[GTK_OFFLOAD_KEK_BYTES];
- A_UINT8 KCK[GTK_OFFLOAD_KCK_BYTES];
- A_UINT8 replay_counter[GTK_REPLAY_COUNTER_BYTES];
- } WMI_GTK_OFFLOAD_CMD_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 flags;
- A_UINT32 kek_len;
- A_UINT8 KEK[GTK_OFFLOAD_KEK_EXTENDED_BYTES];
- A_UINT8 KCK[GTK_OFFLOAD_KCK_BYTES];
- A_UINT8 replay_counter[GTK_REPLAY_COUNTER_BYTES];
- } wmi_gtk_offload_fils_tlv_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 sa_query_retry_interval;
- A_UINT32 sa_query_max_retry_count;
- } WMI_PMF_OFFLOAD_SET_SA_QUERY_CMD_fixed_param;
- typedef enum {
- WMI_STA_KEEPALIVE_METHOD_NULL_FRAME = 1,
- WMI_STA_KEEPALIVE_METHOD_UNSOLICITED_ARP_RESPONSE = 2,
- WMI_STA_KEEPALIVE_METHOD_ETHERNET_LOOPBACK = 3,
- WMI_STA_KEEPALIVE_METHOD_GRATUITOUS_ARP_REQUEST = 4,
- WMI_STA_KEEPALIVE_METHOD_MGMT_VENDOR_ACTION = 5,
- } WMI_STA_KEEPALIVE_METHOD;
- typedef struct {
- A_UINT32 tlv_header;
- WMI_IPV4_ADDR sender_prot_addr;
- WMI_IPV4_ADDR target_prot_addr;
- wmi_mac_addr dest_mac_addr;
- } WMI_STA_KEEPALVE_ARP_RESPONSE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 enable;
- A_UINT32 method;
- A_UINT32 interval;
- } WMI_STA_KEEPALIVE_CMD_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 action;
- } WMI_VDEV_WNM_SLEEPMODE_CMD_fixed_param;
- typedef WMI_VDEV_WNM_SLEEPMODE_CMD_fixed_param WMI_STA_WNMSLEEP_CMD;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 keepaliveInterval;
- A_UINT32 keepaliveMethod;
- } wmi_vdev_set_keepalive_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_vdev_get_keepalive_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 keepaliveInterval;
- A_UINT32 keepaliveMethod;
- } wmi_vdev_get_keepalive_event_fixed_param;
- typedef enum {
- WMI_CLEAR_ARP_STATS_COLLECTED = 0x0,
- WMI_START_ARP_STATS_COLLECTION,
- } WMI_ARP_STATS_ACTION;
- typedef enum {
- WMI_ARP_STATS_RX_PKT_TYPE_ARP = 0x1,
- } WMI_ARP_STATS_RX_PKT_TYPE;
- typedef enum {
- WMI_BA_SESSION_ESTABLISHMENT_STATUS_SUCCESS = 0x0,
- WMI_BA_SESSION_ESTABLISHMENT_STATUS_FAILURE,
- } WMI_ARP_STATS_BA_SESSION_ESTABLISH_STATUS;
- typedef enum {
- WMI_CONNECTION_STATUS_FAILURE = 0x0,
- WMI_CONNECTION_STATUS_SUCCESS,
- } WMI_ARP_STATS_CONNECTION_STATUS;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 set_clr;
- A_UINT32 pkt_type;
- A_UINT32 ipv4;
- } wmi_vdev_set_arp_stats_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_vdev_get_arp_stats_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 arp_req_enqueue;
- A_UINT32 arp_req_tx_success;
- A_UINT32 arp_req_tx_failure;
- A_UINT32 arp_rsp_recvd;
- A_UINT32 out_of_order_arp_rsp_drop_cnt;
- A_UINT32 dad_detected;
- A_UINT32 connect_status;
- A_UINT32 ba_session_establishment_status;
- } wmi_vdev_get_arp_stats_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pkt_type_bitmap;
- A_UINT32 tcp_src_port;
- A_UINT32 tcp_dst_port;
- A_UINT32 icmp_ipv4;
- } wmi_vdev_set_connectivity_check_stats;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 tcp_ack_recvd;
- A_UINT32 icmpv4_rsp_recvd;
- } wmi_vdev_get_connectivity_check_stats;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- #define IPSEC_NATKEEPALIVE_FILTER_DISABLE 0
- #define IPSEC_NATKEEPALIVE_FILTER_ENABLE 1
- A_UINT32 action;
- } WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMD_fixed_param;
- typedef WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMD_fixed_param WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMD;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 mcc_tbttmode;
- wmi_mac_addr mcc_bssid;
- } wmi_vdev_mcc_set_tbtt_mode_cmd_fixed_param;
- #define WMI_MAX_VENDOR_OUI_ACTION_SUPPORTED_PER_ACTION 10
- #define WMI_MAX_VENDOR_OUI_DATA_LENGTH 20
- typedef enum
- {
- WMI_VENDOR_OUI_ACTION_CONNECTION_1X1 = 0,
- WMI_VENDOR_OUI_ACTION_ITO_EXTENSION = 1,
- WMI_VENDOR_OUI_ACTION_CCKM_1X1 = 2,
- WMI_VENDOR_OUI_ACTION_ALT_ITO = 3,
- WMI_VENDOR_OUI_ACTION_SWITCH_TO_11N_MODE = 4,
-
- WMI_VENDOR_OUI_ACTION_CONNECTION_1X1_NUM_TX_RX_CHAINS_1 = 5,
-
- WMI_VENDOR_OUI_ACTION_DISABLE_AGGRESSIVE_TX = 6,
-
- WMI_VENDOR_OUI_ACTION_DISABLE_FW_TRIGGERED_TWT = 7,
-
- WMI_VENDOR_OUI_ACTION_MAX_ACTION_ID
- } wmi_vendor_oui_action_id;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 action_id;
- A_UINT32 total_num_vendor_oui;
- A_UINT32 num_vendor_oui_ext;
-
-
- } wmi_pdev_config_vendor_oui_action_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 ac;
-
- A_UINT32 ac_tx_queue_optimize_enable;
- } wmi_pdev_set_ac_tx_queue_optimized_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 rx_filter_promiscuous_enable;
- } wmi_pdev_set_rx_filter_promiscuous_cmd_fixed_param;
- typedef enum {
- WMI_BEACON_INFO_PRESENCE_OUI_EXT = 1 << 0,
- WMI_BEACON_INFO_PRESENCE_MAC_ADDRESS = 1 << 1,
- WMI_BEACON_INFO_PRESENCE_AP_CAPABILITY_NSS = 1 << 2,
- WMI_BEACON_INFO_PRESENCE_AP_CAPABILITY_HT = 1 << 3,
- WMI_BEACON_INFO_PRESENCE_AP_CAPABILITY_VHT = 1 << 4,
- WMI_BEACON_INFO_PRESENCE_AP_CAPABILITY_BAND = 1 << 5,
- } wmi_beacon_info_presence_items;
- typedef struct _wmi_vendor_oui_ext {
- A_UINT32 tlv_header;
- A_UINT32 buf_data_length;
- A_UINT32 info_presence_bit_mask;
- A_UINT32 oui_header_length;
- A_UINT32 oui_data_length;
- A_UINT32 mac_address_length;
- A_UINT32 capability_data_length;
- } wmi_vendor_oui_ext;
- #define WMI_INFO_CAPABILITY_NSS_MASK 0x0f
- #define WMI_INFO_CAPABILITY_NSS_OFFSET 0
- #define WMI_INFO_CAPABILITY_HT_ENABLE_MASK 0x10
- #define WMI_INFO_CAPABILITY_HT_ENABLE_OFFSET 4
- #define WMI_INFO_CAPABILITY_VHT_ENABLE_MASK 0x20
- #define WMI_INFO_CAPABILITY_VHT_ENABLE_OFFSET 5
- #define WMI_INFO_CAPABILITY_BAND_MASK 0xc0
- #define WMI_INFO_CAPABILITY_BAND_OFFSET 6
- #define WMI_INFO_CAPABILITY_NSS_1X1 1
- #define WMI_INFO_CAPABILITY_NSS_2X2 2
- #define WMI_INFO_CAPABILITY_NSS_3X3 3
- #define WMI_INFO_CAPABILITY_NSS_4X4 4
- #define WMI_INFO_CAPABILITY_2G_BAND_MASK (1 << 0)
- #define WMI_INFO_CAPABILITY_5G_BAND_MASK (1 << 1)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 meas_token;
- A_UINT32 dialog_token;
- A_UINT32 number_bursts;
- A_UINT32 burst_interval;
- A_UINT32 burst_cycle;
- A_UINT32 tx_power;
- A_UINT32 off_duration;
- wmi_mac_addr dest_mac;
- A_UINT32 num_chans;
- } wmi_vdev_plmreq_start_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 meas_token;
- } wmi_vdev_plmreq_stop_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 enable;
-
- A_UINT32 num_noa;
-
- } wmi_p2p_set_noa_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 module_id;
-
- A_UINT32 num_args;
-
- A_UINT32 diag_token;
- } wmi_unit_test_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- } wmi_roam_synch_complete_fixed_param;
- typedef enum {
- RECOVERY_SIM_ASSERT = 0x01,
- RECOVERY_SIM_NO_DETECT = 0x02,
- RECOVERY_SIM_CTR_EP_FULL = 0x03,
- RECOVERY_SIM_EMPTY_POINT = 0x04,
- RECOVERY_SIM_STACK_OV = 0x05,
- RECOVERY_SIM_INFINITE_LOOP = 0x06,
- RECOVERY_SIM_PCIE_LINKDOWN = 0x07,
- RECOVERY_SIM_SELF_RECOVERY = 0x08,
- RECOVERY_SIM_BT_RECOVERY = 0x09,
- } RECOVERY_SIM_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 type;
- A_UINT32 delay_time_ms;
- } WMI_FORCE_FW_HANG_CMD_fixed_param;
- typedef enum {
- WMI_MCAST_FILTER_SET = 1,
- WMI_MCAST_FILTER_DELETE
- } WMI_SET_SINGLE_MCAST_FILTER_OP;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 index;
- A_UINT32 action;
- wmi_mac_addr mcastbdcastaddr;
- } WMI_SET_MCASTBCAST_FILTER_CMD_fixed_param;
- typedef enum {
- WMI_MULTIPLE_MCAST_FILTER_CLEAR = 1,
- WMI_MULTIPLE_MCAST_FILTER_SET,
- WMI_MULTIPLE_MCAST_FILTER_DELETE,
- WMI_MULTIPLE_MCAST_FILTER_ADD
- } WMI_MULTIPLE_MCAST_FILTER_OP;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 operation;
- A_UINT32 num_mcastaddrs;
- } WMI_SET_MULTIPLE_MCAST_FILTER_CMD_fixed_param;
- typedef enum {
- WMI_TIME_STAMP_SYNC_MODE_MS,
- WMI_TIME_STAMP_SYNC_MODE_US,
- } WMI_TIME_STAMP_SYNC_MODE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 mode;
- A_UINT32 time_stamp_low;
- A_UINT32 time_stamp_high;
- } WMI_DBGLOG_TIME_STAMP_SYNC_CMD_fixed_param;
- enum {
- WMI_GPIO_PULL_NONE,
- WMI_GPIO_PULL_UP,
- WMI_GPIO_PULL_DOWN,
- WMI_GPIO_PULL_KEEPER,
- };
- enum wmi_gpio_drive_strength {
- WMI_GPIO_2MA,
- WMI_GPIO_4MA,
- WMI_GPIO_6MA,
- WMI_GPIO_8MA,
- WMI_GPIO_10MA,
- WMI_GPIO_12MA,
- WMI_GPIO_14MA,
- WMI_GPIO_16MA,
- };
- enum wmi_tlmm_gpio_config {
- WMI_TLMM_GPIO_DISABLE,
- WMI_TLMM_GPIO_ENABLE,
- };
- enum {
- WMI_GPIO_INTTYPE_DISABLE,
- WMI_GPIO_INTTYPE_RISING_EDGE,
- WMI_GPIO_INTTYPE_FALLING_EDGE,
- WMI_GPIO_INTTYPE_BOTH_EDGE,
- WMI_GPIO_INTTYPE_LEVEL_LOW,
- WMI_GPIO_INTTYPE_LEVEL_HIGH
- };
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 gpio_num;
- A_UINT32 input;
- A_UINT32 pull_type;
- A_UINT32 intr_mode;
-
- A_UINT32 mux_config_val;
-
- A_UINT32 drive;
-
- A_UINT32 init_enable;
- } wmi_gpio_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 gpio_num;
- A_UINT32 set;
- } wmi_gpio_output_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 gpio_num;
- } wmi_gpio_input_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 ant_controller_enable;
- } wmi_ant_controller_cmd_fixed_param;
- enum {
- P2P_DISC_SEARCH_PROB_REQ_HIT = 0,
- P2P_DISC_SEARCH_PROB_RESP_HIT,
- };
- enum {
- P2P_DISC_MODE_SEARCH = 0,
- P2P_DISC_MODE_LISTEN,
- P2P_DISC_MODE_AUTO,
- };
- enum {
- P2P_DISC_PATTERN_TYPE_BSSID = 0,
- P2P_DISC_PATTERN_TYPE_DEV_NAME,
- };
- typedef struct {
- A_UINT32 vdev_id;
- A_UINT32 reason;
- } wmi_p2p_disc_event;
- typedef WMI_GTK_OFFLOAD_STATUS_EVENT_fixed_param WOW_EVENT_INFO_SECTION_GTKIGTK;
- typedef enum {
- WMI_FAKE_TXBFER_SEND_NDPA,
- WMI_FAKE_TXBFER_SEND_MU,
- WMI_FAKE_TXBFER_NDPA_FBTYPE,
- WMI_FAKE_TXBFER_NDPA_NCIDX,
- WMI_FAKE_TXBFER_NDPA_POLL,
- WMI_FAKE_TXBFER_NDPA_BW,
- WMI_FAKE_TXBFER_NDPA_PREAMBLE,
- WMI_FAKE_TXBFER_NDPA_RATE,
- WMI_FAKE_TXBFER_NDP_BW,
- WMI_FAKE_TXBFER_NDP_NSS,
- WMI_TXBFEE_ENABLE_UPLOAD_H,
- WMI_TXBFEE_ENABLE_CAPTURE_H,
- WMI_TXBFEE_SET_CBF_TBL,
- WMI_TXBFEE_CBF_TBL_LSIG,
- WMI_TXBFEE_CBF_TBL_SIGA1,
- WMI_TXBFEE_CBF_TBL_SIGA2,
- WMI_TXBFEE_CBF_TBL_SIGB,
- WMI_TXBFEE_CBF_TBL_PAD,
- WMI_TXBFEE_CBF_TBL_DUR,
- WMI_TXBFEE_SU_NCIDX,
- WMI_TXBFEE_CBIDX,
- WMI_TXBFEE_NGIDX,
- } WMI_TXBF_PARAM_ID;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 param_id;
-
- A_UINT32 param_value;
- } wmi_txbf_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 h_length;
- A_UINT32 cv_length;
- } wmi_upload_h_hdr;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 svd_num;
- A_UINT32 tone_num;
- A_UINT32 reserved;
- } wmi_capture_h_event_hdr;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 start_freq;
- A_UINT32 end_freq;
- } wmi_avoid_freq_range_desc;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 num_freq_ranges;
- } wmi_avoid_freq_ranges_event_fixed_param;
- enum {
- WMI_SAR2_SUCCESS = 0,
- WMI_SAR2_INVALID_ANTENNA_INDEX = 1,
- WMI_SAR2_INVALID_TABLE_INDEX = 2,
- WMI_SAR2_STATE_ERROR = 4,
- WMI_SAR2_BDF_NO_TABLE = 8,
- };
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 result;
- } wmi_sar2_result_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 reserved0;
- A_UINT32 vdev_id;
- } wmi_gtk_rekey_fail_event_fixed_param;
- typedef enum WLAN_COEX_EVENT {
- WLAN_COEX_EVENT_BT_NONE = 0,
- WLAN_COEX_EVENT_BT_A2DP_PROFILE_ADD = 1,
- WLAN_COEX_EVENT_BT_A2DP_PROFILE_REMOVE = 2,
- WLAN_COEX_EVENT_BT_VOICE_PROFILE_ADD = 3,
- WLAN_COEX_EVENT_BT_VOICE_PROFILE_REMOVE = 4,
- WLAN_COEX_EVENT_BT_SCAN_START = 5,
- WLAN_COEX_EVENT_BT_SCAN_STOP = 6,
- WLAN_COEX_EVENT_BT_PROFILE_CONNECTED = 7,
- WLAN_COEX_EVENT_BT_PROFILE_DISCONNECTED = 8,
- } WLAN_COEX_EVENT;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 coex_profile_evt;
- } wmi_coex_bt_activity_event_fixed_param;
- enum wmm_ac_downgrade_policy {
- WMM_AC_DOWNGRADE_DEPRIO,
- WMM_AC_DOWNGRADE_DROP,
- WMM_AC_DOWNGRADE_INVALID,
- };
- #define WMM_PARAM_TYPE_LEGACY 0
- #define WMM_PARAM_TYPE_11AX_EDCA 1
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 cwmin;
- A_UINT32 cwmax;
- A_UINT32 aifs;
- union {
- A_UINT32 txoplimit;
- A_UINT32 mu_edca_timer;
- };
- A_UINT32 acm;
- A_UINT32 no_ack;
- } wmi_wmm_vparams;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_wmm_vparams wmm_params[4];
- A_UINT32 wmm_param_type;
- } wmi_vdev_set_wmm_params_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 gtxRTMask[2];
- A_UINT32 userGtxMask;
- A_UINT32 gtxPERThreshold;
- A_UINT32 gtxPERMargin;
- A_UINT32 gtxTPCstep;
- A_UINT32 gtxTPCMin;
- A_UINT32 gtxBWMask;
- } wmi_vdev_set_gtx_params_cmd_fixed_param;
- typedef struct
- {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 ac;
- A_UINT32 medium_time_us;
- A_UINT32 downgrade_type;
- } wmi_vdev_wmm_addts_cmd_fixed_param;
- typedef struct
- {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 ac;
- } wmi_vdev_wmm_delts_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 reserved0;
- } wmi_pdev_dfs_enable_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- } wmi_pdev_dfs_disable_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- } wmi_dfs_phyerr_filter_ena_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- } wmi_dfs_phyerr_filter_dis_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- } wmi_pdev_dfs_phyerr_offload_enable_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- } wmi_pdev_dfs_phyerr_offload_disable_cmd_fixed_param;
- typedef enum {
- QUICK_OCAC = 0,
- EXTENSIVE_OCAC,
- QUICK_RCAC,
- } WMI_ADFS_OCAC_MODE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 ocac_mode;
- A_UINT32 min_duration_ms;
- A_UINT32 max_duration_ms;
- A_UINT32 chan_freq;
- A_UINT32 chan_width;
-
- union {
- A_UINT32 center_freq;
- A_UINT32 center_freq1;
- };
- A_UINT32 center_freq2;
- } wmi_vdev_adfs_ch_cfg_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_vdev_adfs_ocac_abort_cmd_fixed_param;
- typedef enum {
- IN_SERVICE_MODE = 0,
- OCAC_MODE,
- } WMI_DFS_RADAR_DETECTION_MODE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- A_UINT32 detection_mode;
- A_UINT32 chan_freq;
- A_UINT32 chan_width;
- A_UINT32 detector_id;
- A_UINT32 segment_id;
- A_UINT32 timestamp;
- A_UINT32 is_chirp;
- A_INT32 freq_offset;
- A_INT32 sidx;
- } wmi_pdev_dfs_radar_detection_event_fixed_param;
- typedef enum {
- OCAC_COMPLETE = 0,
- OCAC_ABORT,
- } WMI_VDEV_OCAC_COMPLETE_STATUS;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 chan_freq;
- A_UINT32 chan_width;
-
- union {
- A_UINT32 center_freq;
- A_UINT32 center_freq1;
- };
- A_UINT32 status;
- A_UINT32 center_freq2;
- } wmi_vdev_adfs_ocac_complete_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_vdev_dfs_cac_complete_event_fixed_param;
- enum wmi_tdls_state {
-
- WMI_TDLS_DISABLE,
-
- WMI_TDLS_ENABLE_PASSIVE,
-
- WMI_TDLS_ENABLE_ACTIVE,
-
- WMI_TDLS_ENABLE_ACTIVE_EXTERNAL_CONTROL,
-
- WMI_TDLS_ENABLE_CONNECTION_TRACKER_IN_HOST,
- };
- #define WMI_TDLS_OFFCHAN_EN (1 << 0)
- #define WMI_TDLS_BUFFER_STA_EN (1 << 1)
- #define WMI_TDLS_SLEEP_STA_EN (1 << 2)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 state;
-
- A_UINT32 notification_interval_ms;
-
- A_UINT32 tx_discovery_threshold;
-
- A_UINT32 tx_teardown_threshold;
-
- A_INT32 rssi_teardown_threshold;
-
- A_INT32 rssi_delta;
-
- A_UINT32 tdls_options;
-
- A_UINT32 tdls_peer_traffic_ind_window;
-
- A_UINT32 tdls_peer_traffic_response_timeout_ms;
-
- A_UINT32 tdls_puapsd_mask;
-
- A_UINT32 tdls_puapsd_inactivity_time_ms;
-
- A_UINT32 tdls_puapsd_rx_frame_threshold;
-
- A_UINT32 teardown_notification_ms;
-
- A_UINT32 tdls_peer_kickout_threshold;
-
- A_UINT32 tdls_discovery_wake_timeout;
- } wmi_tdls_set_state_cmd_fixed_param;
- enum wmi_tdls_peer_state {
-
- WMI_TDLS_PEER_STATE_PEERING,
-
- WMI_TDLS_PEER_STATE_CONNECTED,
-
- WMI_TDLS_PEER_STATE_TEARDOWN,
-
- WMI_TDLS_PEER_ADD_MAC_ADDR,
-
- WMI_TDLS_PEER_REMOVE_MAC_ADDR,
- };
- #define WMI_TDLS_MAX_SUPP_CHANNELS 128
- #define WMI_TDLS_MAX_SUPP_OPER_CLASSES 32
- typedef struct {
-
- A_UINT32 tlv_header;
-
-
-
- A_UINT32 peer_qos;
-
- A_UINT32 buff_sta_support;
-
- A_UINT32 off_chan_support;
- A_UINT32 peer_curr_operclass;
- A_UINT32 self_curr_operclass;
-
- A_UINT32 peer_chan_len;
- A_UINT32 peer_operclass_len;
- A_UINT8 peer_operclass[WMI_TDLS_MAX_SUPP_OPER_CLASSES];
-
- A_UINT32 is_peer_responder;
-
- A_UINT32 pref_offchan_num;
-
- A_UINT32 pref_offchan_bw;
-
- A_UINT32 pref_offchan_freq;
-
- } wmi_tdls_peer_capabilities;
- #define WMI_TDLS_QOS_VO_FLAG 0
- #define WMI_TDLS_QOS_VI_FLAG 1
- #define WMI_TDLS_QOS_BK_FLAG 2
- #define WMI_TDLS_QOS_BE_FLAG 3
- #define WMI_TDLS_QOS_ACK_FLAG 4
- #define WMI_TDLS_QOS_SP_FLAG 5
- #define WMI_TDLS_QOS_MOREDATA_FLAG 7
- #define WMI_TDLS_PEER_SET_QOS_FLAG(ppeer_caps,flag) do { \
- (ppeer_caps)->peer_qos |= (1 << flag); \
- } while (0)
- #define WMI_TDLS_PEER_GET_QOS_FLAG(ppeer_caps,flag) \
- (((ppeer_caps)->peer_qos & (1 << flag)) >> flag)
- #define WMI_SET_TDLS_PEER_VO_UAPSD(ppeer_caps) \
- WMI_TDLS_PEER_SET_QOS_FLAG(ppeer_caps, WMI_TDLS_QOS_VO_FLAG)
- #define WMI_GET_TDLS_PEER_VO_UAPSD(ppeer_caps) \
- WMI_TDLS_PEER_GET_QOS_FLAG(ppeer_caps, WMI_TDLS_QOS_VO_FLAG)
- #define WMI_SET_TDLS_PEER_VI_UAPSD(ppeer_caps) \
- WMI_TDLS_PEER_SET_QOS_FLAG(ppeer_caps, WMI_TDLS_QOS_VI_FLAG)
- #define WMI_GET_TDLS_PEER_VI_UAPSD(ppeer_caps) \
- WMI_TDLS_PEER_GET_QOS_FLAG(ppeer_caps, WMI_TDLS_QOS_VI_FLAG)
- #define WMI_SET_TDLS_PEER_BK_UAPSD(ppeer_caps) \
- WMI_TDLS_PEER_SET_QOS_FLAG(ppeer_caps, WMI_TDLS_QOS_BK_FLAG)
- #define WMI_GET_TDLS_PEER_BK_UAPSD(ppeer_caps) \
- WMI_TDLS_PEER_GET_QOS_FLAG(ppeer_caps, WMI_TDLS_QOS_BK_FLAG)
- #define WMI_SET_TDLS_PEER_BE_UAPSD(ppeer_caps) \
- WMI_TDLS_PEER_SET_QOS_FLAG(ppeer_caps, WMI_TDLS_QOS_BE_FLAG)
- #define WMI_GET_TDLS_PEER_BE_UAPSD(ppeer_caps) \
- WMI_TDLS_PEER_GET_QOS_FLAG(ppeer_caps, WMI_TDLS_QOS_BE_FLAG)
- #define WMI_SET_TDLS_PEER_ACK_UAPSD(ppeer_caps) \
- WMI_TDLS_PEER_SET_QOS_FLAG(ppeer_caps, WMI_TDLS_QOS_ACK_FLAG)
- #define WMI_GET_TDLS_PEER_ACK_UAPSD(ppeer_caps) \
- WMI_TDLS_PEER_GET_QOS_FLAG(ppeer_caps, WMI_TDLS_QOS_ACK_FLAG)
- #define WMI_SET_TDLS_PEER_SP_UAPSD(ppeer_caps,val) do { \
- (ppeer_caps)->peer_qos |= (((val) & 0x3) << WMI_TDLS_QOS_SP_FLAG); \
- } while (0)
- #define WMI_GET_TDLS_PEER_SP_UAPSD(ppeer_caps) \
- (((ppeer_caps)->peer_qos & (0x3 << WMI_TDLS_QOS_SP_FLAG)) >> WMI_TDLS_QOS_SP_FLAG)
- #define WMI_SET_TDLS_PEER_MORE_DATA_ACK_UAPSD(ppeer_caps) \
- WMI_TDLS_PEER_SET_QOS_FLAG(ppeer_caps, WMI_TDLS_QOS_MOREDATA_FLAG)
- #define WMI_GET_TDLS_PEER_MORE_DATA_ACK_UAPSD(ppeer_caps) \
- WMI_TDLS_PEER_GET_QOS_FLAG(ppeer_caps, WMI_TDLS_QOS_MOREDATA_FLAG)
- #define WMI_TDLS_SELF_SET_QOS_FLAG(pset_cmd,flag) do { \
- (pset_cmd)->tdls_puapsd_mask |= (1 << flag); \
- } while (0)
- #define WMI_TDLS_SELF_GET_QOS_FLAG(pset_cmd,flag) \
- (((pset_cmd)->tdls_puapsd_mask & (1 << flag)) >> flag)
- #define WMI_SET_TDLS_SELF_VO_UAPSD(pset_cmd) \
- WMI_TDLS_SELF_SET_QOS_FLAG(pset_cmd, WMI_TDLS_QOS_VO_FLAG)
- #define WMI_GET_TDLS_SELF_VO_UAPSD(pset_cmd) \
- WMI_TDLS_SELF_GET_QOS_FLAG(pset_cmd, WMI_TDLS_QOS_VO_FLAG)
- #define WMI_SET_TDLS_SELF_VI_UAPSD(pset_cmd) \
- WMI_TDLS_SELF_SET_QOS_FLAG(pset_cmd, WMI_TDLS_QOS_VI_FLAG)
- #define WMI_GET_TDLS_SELF_VI_UAPSD(pset_cmd) \
- WMI_TDLS_SELF_GET_QOS_FLAG(pset_cmd, WMI_TDLS_QOS_VI_FLAG)
- #define WMI_SET_TDLS_SELF_BK_UAPSD(pset_cmd) \
- WMI_TDLS_SELF_SET_QOS_FLAG(pset_cmd, WMI_TDLS_QOS_BK_FLAG)
- #define WMI_GET_TDLS_SELF__BK_UAPSD(pset_cmd) \
- WMI_TDLS_SELF_GET_QOS_FLAG(pset_cmd, WMI_TDLS_QOS_BK_FLAG)
- #define WMI_SET_TDLS_SELF_BE_UAPSD(pset_cmd) \
- WMI_TDLS_SELF_SET_QOS_FLAG(pset_cmd, WMI_TDLS_QOS_BE_FLAG)
- #define WMI_GET_TDLS_SELF_BE_UAPSD(pset_cmd) \
- WMI_TDLS_SELF_GET_QOS_FLAG(pset_cmd, WMI_TDLS_QOS_BE_FLAG)
- #define WMI_SET_TDLS_SELF_ACK_UAPSD(pset_cmd) \
- WMI_TDLS_SELF_SET_QOS_FLAG(pset_cmd, WMI_TDLS_QOS_ACK_FLAG)
- #define WMI_GET_TDLS_SELF_ACK_UAPSD(pset_cmd) \
- WMI_TDLS_SELF_GET_QOS_FLAG(pset_cmd, WMI_TDLS_QOS_ACK_FLAG)
- #define WMI_SET_TDLS_SELF_SP_UAPSD(pset_cmd,val) do { \
- (pset_cmd)->tdls_puapsd_mask |= (((val) & 0x3) << WMI_TDLS_QOS_SP_FLAG); \
- } while (0)
- #define WMI_GET_TDLS_SELF_SP_UAPSD(pset_cmd) \
- (((pset_cmd)->tdls_puapsd_mask & (0x3 << WMI_TDLS_QOS_SP_FLAG)) >> WMI_TDLS_QOS_SP_FLAG)
- #define WMI_SET_TDLS_SELF_MORE_DATA_ACK_UAPSD(pset_cmd) \
- WMI_TDLS_SELF_SET_QOS_FLAG(pset_cmd, WMI_TDLS_QOS_MOREDATA_FLAG)
- #define WMI_GET_TDLS_SELF_MORE_DATA_ACK_UAPSD(pset_cmd) \
- WMI_TDLS_SELF_GET_QOS_FLAG(pset_cmd, WMI_TDLS_QOS_MOREDATA_FLAG)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 peer_state;
-
-
- } wmi_tdls_peer_update_cmd_fixed_param;
- #define WMI_TDLS_OFFCHAN_20MHZ 0x1
- #define WMI_TDLS_OFFCHAN_40MHZ 0x2
- #define WMI_TDLS_OFFCHAN_80MHZ 0x4
- #define WMI_TDLS_OFFCHAN_160MHZ 0x8
- enum wmi_tdls_offchan_mode {
- WMI_TDLS_ENABLE_OFFCHANNEL,
- WMI_TDLS_DISABLE_OFFCHANNEL
- };
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 offchan_mode;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 is_peer_responder;
-
- A_UINT32 offchan_num;
-
- A_UINT32 offchan_bw_bitmap;
-
- A_UINT32 offchan_oper_class;
-
- A_UINT32 offchan_freq;
- } wmi_tdls_set_offchan_mode_cmd_fixed_param;
- enum wmi_tdls_peer_notification {
-
- WMI_TDLS_SHOULD_DISCOVER,
-
- WMI_TDLS_SHOULD_TEARDOWN,
-
- WMI_TDLS_PEER_DISCONNECTED,
-
- WMI_TDLS_CONNECTION_TRACKER_NOTIFICATION,
- };
- enum wmi_tdls_peer_reason {
-
- WMI_TDLS_TEARDOWN_REASON_TX,
-
- WMI_TDLS_TEARDOWN_REASON_RSSI,
-
- WMI_TDLS_TEARDOWN_REASON_SCAN,
-
- WMI_TDLS_DISCONNECTED_REASON_PEER_DELETE,
-
- WMI_TDLS_TEARDOWN_REASON_PTR_TIMEOUT,
-
- WMI_TDLS_TEARDOWN_REASON_BAD_PTR,
-
- WMI_TDLS_TEARDOWN_REASON_NO_RESPONSE,
-
- WMI_TDLS_ENTER_BUF_STA,
-
- WMI_TDLS_EXIT_BUF_STA,
-
- WMI_TDLS_ENTER_BT_BUSY_MODE,
-
- WMI_TDLS_EXIT_BT_BUSY_MODE,
-
- WMI_TDLS_SCAN_STARTED_EVENT,
-
- WMI_TDLS_SCAN_COMPLETED_EVENT,
- };
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 peer_status;
-
- A_UINT32 peer_reason;
-
- A_UINT32 vdev_id;
- } wmi_tdls_peer_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 new_bcn_intvl;
- } wmi_vdev_mcc_bcn_intvl_change_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 enable;
-
- union {
- A_UINT32 mac_id;
-
- A_UINT32 pdev_id;
- };
- } wmi_resmgr_adaptive_ocs_enable_disable_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 chan_mhz;
-
- A_UINT32 channel_time_quota;
- } wmi_resmgr_chan_time_quota;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 num_chans;
- } wmi_resmgr_set_chan_time_quota_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 chan_mhz;
-
- A_UINT32 latency;
- } wmi_resmgr_chan_latency;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 num_chans;
- } wmi_resmgr_set_chan_latency_cmd_fixed_param;
- typedef enum {
- WMI_SMPS_FORCED_MODE_NONE = 0,
- WMI_SMPS_FORCED_MODE_DISABLED,
- WMI_SMPS_FORCED_MODE_STATIC,
- WMI_SMPS_FORCED_MODE_DYNAMIC
- } wmi_sta_smps_forced_mode;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 forced_mode;
- } wmi_sta_smps_force_mode_cmd_fixed_param;
- #define WMI_WLAN_HB_ITEM_UDP 0x1
- #define WMI_WLAN_HB_ITEM_TCP 0x2
- #define WMI_WLAN_HB_MAX_FILTER_SIZE 32
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 enable;
- A_UINT32 item;
- A_UINT32 session;
- } wmi_hb_set_enable_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 srv_ip;
- A_UINT32 dev_ip;
- A_UINT32 seq;
- A_UINT32 src_port;
- A_UINT32 dst_port;
- A_UINT32 interval;
- A_UINT32 timeout;
- A_UINT32 session;
- wmi_mac_addr gateway_mac;
- } wmi_hb_set_tcp_params_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 length;
- A_UINT32 offset;
- A_UINT32 session;
- A_UINT8 filter[WMI_WLAN_HB_MAX_FILTER_SIZE];
- } wmi_hb_set_tcp_pkt_filter_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 srv_ip;
- A_UINT32 dev_ip;
- A_UINT32 src_port;
- A_UINT32 dst_port;
- A_UINT32 interval;
- A_UINT32 timeout;
- A_UINT32 session;
- wmi_mac_addr gateway_mac;
- } wmi_hb_set_udp_params_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 length;
- A_UINT32 offset;
- A_UINT32 session;
- A_UINT8 filter[WMI_WLAN_HB_MAX_FILTER_SIZE];
- } wmi_hb_set_udp_pkt_filter_cmd_fixed_param;
- typedef enum {
- WMI_WLAN_HB_REASON_UNKNOWN = 0,
- WMI_WLAN_HB_REASON_TCP_TIMEOUT = 1,
- WMI_WLAN_HB_REASON_UDP_TIMEOUT = 2,
- } WMI_HB_WAKEUP_REASON;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 session;
- A_UINT32 reason;
- } wmi_hb_ind_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 session;
- A_UINT32 srv_ip;
- A_UINT32 dev_ip;
- A_UINT32 tcp_tx_seq;
- A_UINT32 src_port;
- A_UINT32 dst_port;
- A_UINT32 protocol;
- A_UINT32 wlan_hb_session;
- A_UINT32 timeout_retries;
- wmi_mac_addr peer_macaddr;
- A_UINT32 oic_ping_pkt0;
- A_UINT32 oic_ping_pkt1;
- A_UINT32 oic_ping_pkt2;
- A_UINT32 oic_ping_pkt3;
- A_UINT32 tls_cipher_suite_version;
- A_UINT32 tls_tx_seq0;
- A_UINT32 tls_tx_seq1;
- A_UINT32 tls_rx_seq0;
- A_UINT32 tls_rx_seq1;
- A_UINT32 tls_tx_key0;
- A_UINT32 tls_tx_key1;
- A_UINT32 tls_tx_key2;
- A_UINT32 tls_tx_key3;
- A_UINT32 tls_rx_key0;
- A_UINT32 tls_rx_key1;
- A_UINT32 tls_rx_key2;
- A_UINT32 tls_rx_key3;
- A_UINT32 tls_MAC_write_key0;
- A_UINT32 tls_MAC_write_key1;
- A_UINT32 tls_MAC_write_key2;
- A_UINT32 tls_MAC_write_key3;
- A_UINT32 tls_MAC_write_key4;
- A_UINT32 tls_MAC_write_key5;
- A_UINT32 tls_MAC_write_key6;
- A_UINT32 tls_MAC_write_key7;
- A_UINT32 tls_MAC_read_key0;
- A_UINT32 tls_MAC_read_key1;
- A_UINT32 tls_MAC_read_key2;
- A_UINT32 tls_MAC_read_key3;
- A_UINT32 tls_MAC_read_key4;
- A_UINT32 tls_MAC_read_key5;
- A_UINT32 tls_MAC_read_key6;
- A_UINT32 tls_MAC_read_key7;
- A_UINT32 tls_client_IV0;
- A_UINT32 tls_client_IV1;
- A_UINT32 tls_client_IV2;
- A_UINT32 tls_client_IV3;
- A_UINT32 tls_server_IV0;
- A_UINT32 tls_server_IV1;
- A_UINT32 tls_server_IV2;
- A_UINT32 tls_server_IV3;
- } wmi_oic_ping_offload_params_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 session;
- A_UINT32 enable;
- } wmi_oic_ping_offload_set_enable_cmd_fixed_param;
- typedef enum {
- WMI_WLAN_OIC_REASON_UNKNOWN = 0,
- WMI_WLAN_OIC_REASON_HOST_WAKE = 1,
- WMI_WLAN_OIC_REASON_TCP_TIMEOUT = 2,
- WMI_WLAN_OIC_REASON_PING_TIMEOUT = 3,
- WMI_WLAN_OIC_REASON_TLS_ERROR = 4,
- } WMI_OIC_WAKEUP_REASON;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 session;
- A_UINT32 reason;
- A_UINT32 tcp_tx_seq;
- A_UINT32 tcp_ack_num;
- A_UINT32 tls_tx_seq0;
- A_UINT32 tls_tx_seq1;
- A_UINT32 tls_rx_seq0;
- A_UINT32 tls_rx_seq1;
- A_UINT32 tls_client_IV0;
- A_UINT32 tls_client_IV1;
- A_UINT32 tls_client_IV2;
- A_UINT32 tls_client_IV3;
- A_UINT32 tls_server_IV0;
- A_UINT32 tls_server_IV1;
- A_UINT32 tls_server_IV2;
- A_UINT32 tls_server_IV3;
- } wmi_oic_ping_handoff_event;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 enable;
- A_UINT32 srv_ip;
- A_UINT32 client_ip;
- wmi_mac_addr srv_mac;
- A_UINT32 parameter_list;
- } wmi_dhcp_lease_renew_offload_cmd_fixed_param;
- typedef enum {
- WMI_WLAN_DHCP_RENEW_REASON_UNKNOWN = 0,
- WMI_WLAN_DHCP_RENEW_REASON_ACK_TIMEOUT = 1,
- WMI_WLAN_DHCP_RENEW_REASON_NACK = 2,
- } WMI_DHCP_RENEW_WAKEUP_REASON;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 reason;
- } wmi_dhcp_lease_renew_event;
- typedef enum {
-
- WMI_STA_SMPS_PARAM_UPPER_RSSI_THRESH = 0,
-
- WMI_STA_SMPS_PARAM_STALL_RSSI_THRESH = 1,
-
- WMI_STA_SMPS_PARAM_LOWER_RSSI_THRESH = 2,
-
- WMI_STA_SMPS_PARAM_UPPER_BRSSI_THRESH = 3,
-
- WMI_STA_SMPS_PARAM_LOWER_BRSSI_THRESH = 4,
-
- WMI_STA_SMPS_PARAM_DTIM_1CHRX_ENABLE = 5
- } wmi_sta_smps_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 param;
-
- A_UINT32 value;
- } wmi_sta_smps_param_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 txBytesPushed;
- A_UINT32 txPacketsPushed;
-
- A_UINT32 rxBytesRcvd;
- A_UINT32 rxPacketsRcvd;
- A_UINT32 rxTimeTotal;
-
- wmi_mac_addr peer_macaddr;
- } wmi_mcc_sched_sta_traffic_stats;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 duration;
-
- A_UINT32 num_sta;
-
- } wmi_mcc_sched_traffic_stats_cmd_fixed_param;
- typedef struct
- {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 scanInterval;
- A_UINT32 numScan2Batch;
- A_UINT32 bestNetworks;
- A_UINT32 rfBand;
- A_UINT32 rtt;
- } wmi_batch_scan_enable_cmd_fixed_param;
- typedef struct
- {
- A_UINT32 tlv_header;
- A_UINT32 supportedMscan;
- } wmi_batch_scan_enabled_event_fixed_param;
- typedef struct
- {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- A_UINT32 param;
- } wmi_batch_scan_disable_cmd_fixed_param;
- typedef struct
- {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- A_UINT32 param;
- } wmi_batch_scan_trigger_result_cmd_fixed_param;
- typedef struct
- {
- A_UINT32 tlv_header;
- wmi_mac_addr bssid;
- wmi_ssid ssid;
- A_UINT32 ch;
- A_UINT32 rssi;
-
- A_UINT32 timestamp;
- A_UINT32 ch_freq;
- } wmi_batch_scan_result_network_info;
- typedef struct
- {
- A_UINT32 tlv_header;
- A_UINT32 scanId;
-
- A_UINT32 numNetworksInScanList;
- A_UINT32 netWorkStartIndex;
- } wmi_batch_scan_result_scan_list;
- #define LPI_IE_BITMAP_BSSID 0x00000001
- #define LPI_IE_BITMAP_IS_PROBE 0x00000002
- #define LPI_IE_BITMAP_SSID 0x00000004
- #define LPI_IE_BITMAP_RSSI 0x00000008
- #define LPI_IE_BITMAP_CHAN 0x00000010
- #define LPI_IE_BITMAP_AP_TX_PWR 0x00000020
- #define LPI_IE_BITMAP_TX_RATE 0x00000040
- #define LPI_IE_BITMAP_80211_MC_SUPPORT 0x00000080
- #define LPI_IE_BITMAP_TSF_TIMER_VALUE 0x00000100
- #define LPI_IE_BITMAP_AGE_OF_MEASUREMENT 0x00000200
- #define LPI_IE_BITMAP_AGE_OF_MESAUREMENT LPI_IE_BITMAP_AGE_OF_MEASUREMENT
- #define LPI_IE_BITMAP_CONN_STATUS 0x00000400
- #define LPI_IE_BITMAP_MSAP_IE 0x00000800
- #define LPI_IE_BITMAP_SEC_STATUS 0x00001000
- #define LPI_IE_BITMAP_DEVICE_TYPE 0x00002000
- #define LPI_IE_BITMAP_CHAN_IS_PASSIVE 0x00004000
- #define LPI_IE_BITMAP_DWELL_TIME 0x00008000
- #define LPI_IE_BITMAP_BAND_CENTER_FREQ1 0x00010000
- #define LPI_IE_BITMAP_BAND_CENTER_FREQ2 0x00020000
- #define LPI_IE_BITMAP_PHY_MODE 0x00040000
- #define LPI_IE_BITMAP_SCAN_MODULE_ID 0x00080000
- #define LPI_IE_BITMAP_SCAN_ID 0x00100000
- #define LPI_IE_BITMAP_FLAGS 0x00200000
- #define LPI_IE_BITMAP_CACHING_REQD 0x00400000
- #define LPI_IE_BITMAP_REPORT_CONTEXT_HUB 0x00800000
- #define LPI_IE_BITMAP_CHRE_RADIO_CHAIN 0x01000000
- #define LPI_IE_BITMAP_CHRE_ESS 0x10000000
- #define LPI_IE_BITMAP_CHRE_SEC_MODE 0x20000000
- #define LPI_IE_BITMAP_CHRE_SUPPORTED_RATE 0x40000000
- #define LPI_IE_BITMAP_ALL 0xFFFFFFFF
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 enable;
-
- A_UINT32 snooping_mode;
-
- A_UINT32 ie_bitmap;
- } wmi_lpi_mgmt_snooping_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 scan_id;
-
- A_UINT32 scan_req_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 ie_bitmap;
-
- A_UINT32 scan_priority;
-
- A_UINT32 dwell_time_active;
-
- A_UINT32 dwell_time_passive;
-
- A_UINT32 min_rest_time;
-
-
- A_UINT32 max_rest_time;
-
- A_UINT32 repeat_probe_time;
-
- A_UINT32 probe_spacing_time;
-
- A_UINT32 idle_time;
-
- A_UINT32 max_scan_time;
-
- A_UINT32 probe_delay;
-
- A_UINT32 scan_ctrl_flags;
-
- A_UINT32 burst_duration;
-
- A_UINT32 num_chan;
-
- A_UINT32 num_bssid;
-
- A_UINT32 num_ssids;
-
- A_UINT32 ie_len;
-
- A_UINT32 scan_ctrl_flags_ext;
- } wmi_lpi_start_scan_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 scan_req_id;
-
- A_UINT32 scan_id;
-
- A_UINT32 req_type;
-
- A_UINT32 vdev_id;
- } wmi_lpi_stop_scan_cmd_fixed_param;
- typedef enum {
- WMI_LPI_DEVICE_TYPE_AP = 1,
- WMI_LPI_DEVICE_TYPE_P2P = 2,
- WMI_LPI_DEVICE_TYPE_NAN = 3,
- } wmi_lpi_device_type;
- typedef struct
- {
- A_UINT32 tlv_header;
-
- A_UINT32 scan_req_id;
- A_UINT32 ie_bitmap;
- A_UINT32 data_len;
- } wmi_lpi_result_event_fixed_param;
- typedef enum {
-
- WMI_LPI_STATUS_SCAN_REQ_COMPLED = 0,
-
- WMI_LPI_STATUS_DROPPED_REQ = 1,
-
- WMI_LPI_STATUS_ILLEGAL_CHAN_REQ = 2,
-
- WMI_LPI_STATUS_ILLEGAL_OPER_REQ = 3,
-
- WMI_LPI_STATUS_REQ_ABORTED = 4,
-
- WMI_LPI_STATUS_REQ_TIME_OUT = 5,
-
- WMI_LPI_STATUS_MEDIUM_BUSY = 6,
-
- WMI_LPI_STATUS_EXTSCAN_CYCLE_AND_SCAN_REQ_COMPLETED = 7,
- } wmi_lpi_staus;
- typedef struct
- {
- A_UINT32 tlv_header;
- wmi_lpi_staus status;
-
- A_UINT32 scan_req_id;
- } wmi_lpi_status_event_fixed_param;
- typedef struct
- {
- A_UINT32 tlv_header;
- wmi_mac_addr bssid;
- wmi_ssid ssid;
- A_UINT32 freq;
- A_UINT32 rssi;
- A_UINT32 vdev_id;
- } wmi_lpi_handoff_event_fixed_param;
- typedef struct
- {
- A_UINT32 tlv_header;
- A_UINT32 timestamp;
- A_UINT32 numScanLists;
- A_UINT32 isLastResult;
- } wmi_batch_scan_result_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_p2p_noa_event_fixed_param;
- #define WMI_RFKILL_CFG_RADIO_LEVEL_OFFSET 6
- #define WMI_RFKILL_CFG_RADIO_LEVEL_MASK 0x1
- #define WMI_RFKILL_CFG_GPIO_PIN_NUM_OFFSET 0
- #define WMI_RFKILL_CFG_GPIO_PIN_NUM_MASK 0x3f
- #define WMI_RFKILL_CFG_PIN_AS_GPIO_OFFSET 7
- #define WMI_RFKILL_CFG_PIN_AS_GPIO_MASK 0xf
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 gpio_pin_num;
-
- A_UINT32 int_type;
-
- A_UINT32 radio_state;
- } wmi_rfkill_mode_param;
- typedef enum {
- WMI_SET_LED_SYS_POWEROFF,
- WMI_SET_LED_SYS_S3_SUSPEND,
- WMI_SET_LED_SYS_S4_S5,
- WMI_SET_LED_SYS_DRIVER_DISABLE,
- WMI_SET_LED_SYS_WAKEUP,
- WMI_SET_LED_SYS_ALWAYS_ON,
- WMI_SET_LED_SYS_POWERON,
- } wmi_led_sys_state_param;
- typedef enum {
- WMI_CONFIG_LED_TO_VDD = 0,
- WMI_CONFIG_LED_TO_GND = 1,
- } wmi_config_led_connect_type;
- typedef enum {
- WMI_CONFIG_LED_NOT_WITH_BT = 0,
- WMI_CONFIG_LED_WITH_BT = 1,
- } wmi_config_led_with_bt_flag;
- typedef enum {
- WMI_CONFIG_LED_DISABLE = 0,
- WMI_CONFIG_LED_ENABLE = 1,
- } wmi_config_led_enable_flag;
- typedef enum {
- WMI_CONFIG_LED_HIGH_UNSPECIFIED = 0,
- WMI_CONFIG_LED_HIGH_OFF = 1,
- WMI_CONFIG_LED_HIGH_ON = 2,
- } wmi_config_led_on_flag;
- typedef enum {
- WMI_CONFIG_LED_UNSPECIFIED = 0,
- WMI_CONFIG_LED_ON = 1,
- WMI_CONFIG_LED_OFF = 2,
- WMI_CONFIG_LED_DIM = 3,
- WMI_CONFIG_LED_BLINK = 4,
- WMI_CONFIG_LED_TXRX = 5,
- } wmi_config_led_operation_type;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 led_gpio_pin;
-
- A_UINT32 connect_type;
-
- A_UINT32 with_bt;
-
- A_UINT32 led_enable;
-
- A_UINT32 pdev_id;
-
- A_UINT32 led_operation_type;
-
- A_UINT32 led_on_flag;
- A_UINT32 led_on_interval;
- A_UINT32 led_off_interval;
- A_UINT32 led_repeat_cnt;
- } wmi_pdev_set_led_config_cmd_fixed_param;
- #define WMI_WNTS_CFG_GPIO_PIN_NUM_OFFSET 0
- #define WMI_WNTS_CFG_GPIO_PIN_NUM_MASK 0xff
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 smart_ant_AC_alive;
- } wmi_smartant_state_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_mac_address;
-
- A_UINT32 vdev_id;
- } wmi_peer_info_req_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_mac_address;
-
- A_UINT32 data_rate;
-
- A_UINT32 rssi;
-
- A_UINT32 tx_fail_cnt;
- } wmi_peer_info;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 num_peers;
-
- A_UINT32 valid_vdev_id;
-
- A_UINT32 vdev_id;
-
- } wmi_peer_info_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_mac_address;
-
- A_UINT32 vdev_id;
- } wmi_peer_antdiv_info_req_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 num_peers;
-
- A_UINT32 vdev_id;
-
- } wmi_peer_antdiv_info_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_mac_address;
-
- A_INT32 chain_rssi[8];
- } wmi_peer_antdiv_info;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 tid_num;
-
- A_UINT32 msduq_update_mask;
-
- A_UINT32 qdepth_thresh_value;
- } wmi_msduq_qdepth_thresh_update;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_mac_address;
-
- A_UINT32 num_of_msduq_updates;
-
- } wmi_peer_tid_msduq_qdepth_thresh_update_cmd_fixed_param;
- typedef enum {
-
- WMI_PEER_TID_CONFIG_ACK_POLICY_IGNORE,
-
- WMI_PEER_TID_CONFIG_ACK,
-
- WMI_PEER_TID_CONFIG_NOACK,
- } WMI_PEER_TID_CONFIG_ACK_POLICY;
- typedef enum {
-
- WMI_PEER_TID_CONFIG_AGGR_CONTROL_IGNORE,
-
- WMI_PEER_TID_CONFIG_AGGR_CONTROL_ENABLE,
-
- WMI_PEER_TID_CONFIG_AGGR_CONTROL_DISABLE,
- } WMI_PEER_TID_CONFIG_AGGR_CONTROL;
- typedef enum {
-
- WMI_PEER_TID_CONFIG_RATE_CONTROL_IGNORE,
-
- WMI_PEER_TID_CONFIG_RATE_CONTROL_AUTO,
-
- WMI_PEER_TID_CONFIG_RATE_CONTROL_FIXED_RATE,
-
- WMI_PEER_TID_CONFIG_RATE_CONTROL_DEFAULT_LOWEST_RATE,
-
- WMI_PEER_TID_CONFIG_RATE_UPPER_CAP,
- } WMI_PEER_TID_CONFIG_RATE_CONTROL;
- typedef enum {
-
- WMI_PEER_TID_SW_RETRY_IGNORE = 0,
- WMI_PEER_TID_SW_RETRY_MIN = 1,
- WMI_PEER_TID_SW_RETRY_MAX = 30,
-
- WMI_PEER_TID_SW_RETRY_NO_RETRY = 0xFFFFFFFF,
- } WMI_PEER_TID_CONFIG_SW_RETRY_THRESHOLD;
- typedef enum {
-
- WMI_PEER_TID_DISABLE_RTS_CTS_VALID = 0x00000001,
- WMI_PEER_TID_MAX_NUM_MPDU_IN_PPDU_VALID = 0x00000002,
- WMI_PEER_TID_MAX_NUM_MSDU_IN_MPDU_VALID = 0x00000004,
- } WMI_PEER_TID_EXT_CONFIG_VALID_BITMAP;
- typedef enum {
-
- WMI_PEER_TID_MAX_NUM_MPDU_IN_PPDU_DEFAULT,
- WMI_PEER_TID_MAX_NUM_MPDU_IN_PPDU_MIN = 1,
- WMI_PEER_TID_MAX_NUM_MPDU_IN_PPDU_MAX = 1024,
- } WMI_PEER_TID_CONFIG_MAX_NUM_MPDU_IN_PPDU;
- typedef enum {
-
- WMI_PEER_TID_MAX_NUM_MSDU_IN_MPDU_DEFAULT,
- WMI_PEER_TID_MAX_NUM_MSDU_IN_MPDU_MIN = 1,
- WMI_PEER_TID_MAX_NUM_MSDU_IN_MPDU_MAX = 7,
- } WMI_PEER_TID_CONFIG_MAX_NUM_MSDU_IN_MPDU;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_mac_address;
-
- A_UINT32 tid_num;
-
- A_UINT32 ack_policy;
-
- A_UINT32 aggr_control;
-
- A_UINT32 rate_control;
-
- A_UINT32 rcode_rcflags;
-
- A_UINT32 sw_retry_threshold;
-
-
- A_UINT32 tid_config_supported_bitmap;
-
- A_UINT32 disable_rts_cts;
-
- A_UINT32 max_num_mpdu_in_ppdu;
-
- A_UINT32 max_num_msdu_in_mpdu;
- } wmi_peer_tid_configurations_cmd_fixed_param;
- #define WMI_PEER_CFR_CAPTURE_ENABLE 1
- #define WMI_PEER_CFR_CAPTURE_DISABLE 0
- #define WMI_PEER_CFR_ONE_SHOT_REQUEST 0
- #define WMI_PEER_CFR_PERIODICITY_MIN 10
- #define WMI_PEER_CFR_PERIODICITY_MAX 10*60*1000
- typedef enum {
- WMI_PEER_CFR_CAPTURE_BW_20MHZ = 0,
- WMI_PEER_CFR_CAPTURE_BW_40MHZ = 1,
- WMI_PEER_CFR_CAPTURE_BW_80MHZ = 2,
- WMI_PEER_CFR_CAPTURE_BW_160MHZ = 3,
- WMI_PEER_CFR_CAPTURE_BW_80_80MHZ = 4,
- WMI_PEER_CFR_CAPTURE_BW_MAX,
- } WMI_PEER_CFR_CAPTURE_BW;
- typedef enum {
-
- WMI_PEER_CFR_CAPTURE_METHOD_NULL_FRAME = 0,
- WMI_PEER_CFR_CAPTURE_METHOD_NULL_FRAME_WITH_PHASE = 1,
- WMI_PEER_CFR_CAPTURE_METHOD_PROBE_RESP = 2,
-
- WMI_PEER_CFR_CAPTURE_METHOD_MAX,
- } WMI_PEER_CFR_CAPTURE_METHOD;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 request;
-
- wmi_mac_addr mac_addr;
-
- A_UINT32 vdev_id;
-
- A_UINT32 periodicity;
-
- A_UINT32 bandwidth;
-
- A_UINT32 capture_method;
- } wmi_peer_cfr_capture_cmd_fixed_param;
- typedef enum {
- WMI_PEER_IND_SMPS = 0x0,
- WMI_PEER_IND_OMN,
- WMI_PEER_IND_OMI,
- } WMI_PEER_OPER_MODE_IND;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_mac_address;
-
- A_UINT32 ind_type;
-
- A_UINT32 new_rxnss;
-
- A_UINT32 new_bw;
-
- A_UINT32 new_txnss;
-
- A_UINT32 new_disablemu;
- } wmi_peer_oper_mode_change_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_mac_address;
-
- A_UINT32 tx_fail_cnt;
-
- A_UINT32 seq_no;
- } wmi_peer_tx_fail_cnt_thr_event_fixed_param;
- enum wmi_rmc_mode {
-
- WMI_RMC_MODE_DISABLED = 0,
-
- WMI_RMC_MODE_ENABLED = 1,
- };
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 enable_rmc;
- } wmi_rmc_set_mode_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 periodicity_msec;
- } wmi_rmc_set_action_period_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 flags;
-
- A_UINT32 peridocity_leader_switch;
-
- A_UINT32 data_activity_timeout;
-
- wmi_mac_addr forced_leader_mac_addr;
- } wmi_rmc_config_cmd_fixed_param;
- enum wmi_mhf_ofl_mode {
-
- WMI_MHF_OFL_MODE_DISABLED = 0,
-
- WMI_MHF_OFL_MODE_ENABLED = 1,
- };
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 enable_mhf_ofl;
- } wmi_mhf_offload_set_mode_cmd_fixed_param;
- enum wmi_mhf_ofl_table_action {
-
- WMI_MHF_OFL_TBL_CREATE = 0,
-
- WMI_MHF_OFL_TBL_APPEND = 1,
-
- WMI_MHF_OFL_TBL_FLUSH = 2,
- };
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 action;
-
- A_UINT32 num_entries;
- } wmi_mhf_offload_plumb_routing_table_cmd;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- WMI_IPV4_ADDR dest_ipv4_addr;
-
- wmi_mac_addr next_hop_mac_addr;
- } wmi_mhf_offload_routing_table_entry;
- enum {
- WMI_DFS_RADAR_PULSE_FLAG_MASK_PSIDX_DIFF_VALID = 0x00000001,
- };
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 upload_fullts_low;
- A_UINT32 upload_fullts_high;
-
- A_UINT32 pulse_detect_ts;
-
- A_UINT32 pulse_duration;
-
- A_UINT32 pulse_center_freq;
-
- A_UINT32 ch_bandwidth;
-
- A_UINT16 ch_center_freq1;
-
- A_UINT16 ch_center_freq2;
-
- A_UINT8 pulse_is_chirp;
-
- A_UINT8 rssi;
-
- A_UINT8 rssi_ext;
- union {
- A_UINT8 pmac_id;
-
- A_UINT8 pdev_id;
- };
-
- A_INT32 peak_sidx;
-
- A_INT32 pulse_delta_peak;
-
- A_INT32 pulse_delta_diff;
-
- A_INT32 psidx_diff;
-
- A_UINT32 pulse_flags;
- } wmi_dfs_radar_event_fixed_param;
- enum {
-
- WMI_THERMAL_MGMT_ACTION_DEFAULT = 0,
-
- WMI_THERMAL_MGMT_ACTION_HALT_TRAFFIC = 1,
-
- WMI_THERMAL_MGMT_ACTION_NOTIFY_HOST = 2,
-
- WMI_THERMAL_MGMT_ACTION_CHAINSCALING = 3,
- };
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 lower_thresh_degreeC;
- A_UINT32 upper_thresh_degreeC;
-
- A_UINT32 enable;
-
- A_UINT32 action;
- A_UINT32 threshold_warning_degreeC;
- A_UINT32 sample_rate_ms;
- } wmi_thermal_mgmt_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 temperature_degreeC;
- } wmi_thermal_mgmt_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 timer_value;
- } wmi_host_auto_shutdown_cfg_cmd_fixed_param;
- enum wmi_host_auto_shutdown_reason {
- WMI_HOST_AUTO_SHUTDOWN_REASON_UNKNOWN = 0,
- WMI_HOST_AUTO_SHUTDOWN_REASON_TIMER_EXPIRY = 1,
- WMI_HOST_AUTO_SHUTDOWN_REASON_MAX,
- };
- typedef struct{
- A_UINT32 tlv_header;
- A_UINT32 shutdown_reason;
- } wmi_host_auto_shutdown_event_fixed_param;
- #define WMI_TPC_CHAINMASK_CONFIG_BT_ON_OFF 0
- #define WMI_TPC_CHAINMASK_CONFIG_BT_ON 1
- #define WMI_TPC_CHAINMASK_CONFIG_BT_OFF 2
- #define WMI_TPC_CHAINMASK_CONFIG_BT_RESV1 3
- #define WMI_TPC_CHAINMASK_CONFIG_CHAINMASK_DONT_CARE 0
- #define WMI_TPC_CHAINMASK_CONFIG_CHAINMASK_CHAIN0 1
- #define WMI_TPC_CHAINMASK_CONFIG_CHAINMASK_CHAIN1 2
- #define WMI_TPC_CHAINMASK_CONFIG_CHAINMASK_CHAIN0_CHAIN1 3
- #define WMI_TPC_CHAINMASK_CONFIG_STBC_ON_OFF 0
- #define WMI_TPC_CHAINMASK_CONFIG_STBC_ON 1
- #define WMI_TPC_CHAINMASK_CONFIG_STBC_OFF 2
- #define WMI_TPC_CHAINMASK_CONFIG_STBC_RESV1 3
- #define WMI_TPC_CHAINMASK_CONFIG_BAND_2G 0
- #define WMI_TPC_CHAINMASK_CONFIG_BAND_5G 1
- #define WMI_TPC_CHAINMASK_CONFIG_PHY_MODE_11B_2G 0
- #define WMI_TPC_CHAINMASK_CONFIG_PHY_MODE_11G_2G 1
- #define WMI_TPC_CHAINMASK_CONFIG_PHY_MODE_11N_2G 2
- #define WMI_TPC_CHAINMASK_CONFIG_PHY_MODE_11N_11AC_2G 3
- #define WMI_TPC_CHAINMASK_CONFIG_PHY_MODE_11A_5G 4
- #define WMI_TPC_CHAINMASK_CONFIG_PHY_MODE_11N_5G 5
- #define WMI_TPC_CHAINMASK_CONFIG_PHY_MODE_11AC_5G 6
- #define WMI_TPC_CHAINMASK_CONFIG_PHY_MODE_11N_11AC_5G 7
- #define WMI_TPC_CHAINMASK_CONFIG_STREAM_1 0
- #define WMI_TPC_CHAINMASK_CONFIG_STREAM_2 1
- #define WMI_TPC_CHAINMASK_CONFIG_CHANNEL_OFF 0
- #define WMI_TPC_CHAINMASK_CONFIG_CHANNEL_ON 1
- #define WMI_TPC_CHAINMASK_CONFIG_RATE_OFF 0
- #define WMI_TPC_CHAINMASK_CONFIG_RATE_ON 1
- #define WMI_TPC_CHAINMASK_CONFIG_TPC_OFFSET_S 0
- #define WMI_TPC_CHAINMASK_CONFIG_TPC_OFFSET (0x1f << WMI_TPC_CHAINMASK_CONFIG_TPC_OFFSET_S)
- #define WMI_TPC_CHAINMASK_CONFIG_TPC_OFFSET_GET(x) WMI_F_MS(x,WMI_TPC_CHAINMASK_CONFIG_TPC_OFFSET)
- #define WMI_TPC_CHAINMASK_CONFIG_TPC_OFFSET_SET(x,z) WMI_F_RMW(x,(z) & 0x1f,WMI_TPC_CHAINMASK_CONFIG_TPC_OFFSET)
- #define WMI_TPC_CHAINMASK_CONFIG_ACK_OFFSET_S 5
- #define WMI_TPC_CHAINMASK_CONFIG_ACK_OFFSET (0x1f << WMI_TPC_CHAINMASK_CONFIG_ACK_OFFSET_S)
- #define WMI_TPC_CHAINMASK_CONFIG_ACK_OFFSET_GET(x) WMI_F_MS(x,WMI_TPC_CHAINMASK_CONFIG_ACK_OFFSET)
- #define WMI_TPC_CHAINMASK_CONFIG_ACK_OFFSET_SET(x,z) WMI_F_RMW(x, (z) & 0x1f, WMI_TPC_CHAINMASK_CONFIG_ACK_OFFSET)
- #define WMI_TPC_CHAINMASK_CONFIG_CHAINMASK_S 10
- #define WMI_TPC_CHAINMASK_CONFIG_CHAINMASK (0x3 << WMI_TPC_CHAINMASK_CONFIG_CHAINMASK_S)
- #define WMI_TPC_CHAINMASK_CONFIG_CHAINMASK_GET(x) WMI_F_MS(x,WMI_TPC_CHAINMASK_CONFIG_CHAINMASK)
- #define WMI_TPC_CHAINMASK_CONFIG_CHAINMASK_SET(x,z) WMI_F_RMW(x, (z) & 0x3, WMI_TPC_CHAINMASK_CONFIG_CHAINMASK)
- #define WMI_TPC_CHAINMASK_CONFIG_BT_S 12
- #define WMI_TPC_CHAINMASK_CONFIG_BT (0x3 << WMI_TPC_CHAINMASK_CONFIG_BT_S)
- #define WMI_TPC_CHAINMASK_CONFIG_BT_GET(x) WMI_F_MS(x,WMI_TPC_CHAINMASK_CONFIG_BT)
- #define WMI_TPC_CHAINMASK_CONFIG_BT_SET(x,z) WMI_F_RMW(x, (z) & 0x3, WMI_TPC_CHAINMASK_CONFIG_BT)
- #define WMI_TPC_CHAINMASK_CONFIG_STBC_S 14
- #define WMI_TPC_CHAINMASK_CONFIG_STBC (0x3 << WMI_TPC_CHAINMASK_CONFIG_STBC_S)
- #define WMI_TPC_CHAINMASK_CONFIG_STBC_GET(x) WMI_F_MS(x,WMI_TPC_CHAINMASK_CONFIG_STBC)
- #define WMI_TPC_CHAINMASK_CONFIG_STBC_SET(x,z) WMI_F_RMW(x, (z) & 0x3, WMI_TPC_CHAINMASK_CONFIG_STBC)
- #define WMI_TPC_CHAINMASK_CONFIG_BAND_S 16
- #define WMI_TPC_CHAINMASK_CONFIG_BAND (0x1 << WMI_TPC_CHAINMASK_CONFIG_BAND_S)
- #define WMI_TPC_CHAINMASK_CONFIG_BAND_GET(x) WMI_F_MS(x,WMI_TPC_CHAINMASK_CONFIG_BAND)
- #define WMI_TPC_CHAINMASK_CONFIG_BAND_SET(x,z) WMI_F_RMW(x, (z) & 0x1, WMI_TPC_CHAINMASK_CONFIG_BAND)
- #define WMI_TPC_CHAINMASK_CONFIG_STREAM_S 17
- #define WMI_TPC_CHAINMASK_CONFIG_STREAM (0x1 << WMI_TPC_CHAINMASK_CONFIG_STREAM_S)
- #define WMI_TPC_CHAINMASK_CONFIG_STREAM_GET(x) WMI_F_MS(x,WMI_TPC_CHAINMASK_CONFIG_STREAM)
- #define WMI_TPC_CHAINMASK_CONFIG_STREAM_SET(x,z) WMI_F_RMW(x, (z) & 0x1, WMI_TPC_CHAINMASK_CONFIG_STREAM)
- #define WMI_TPC_CHAINMASK_CONFIG_PHY_MODE_S 18
- #define WMI_TPC_CHAINMASK_CONFIG_PHY_MODE (0x7 << WMI_TPC_CHAINMASK_CONFIG_PHY_MODE_S)
- #define WMI_TPC_CHAINMASK_CONFIG_PHY_MODE_GET(x) WMI_F_MS(x,WMI_TPC_CHAINMASK_CONFIG_PHY_MODE)
- #define WMI_TPC_CHAINAMSK_CONFIG_PHY_MODE_SET(x,z) WMI_F_RMW(x, (z) & 0x7, WMI_TPC_CHAINMASK_CONFIG_PHY_MODE)
- #define WMI_TPC_CHAINMASK_CONFIG_CHANNEL_S 21
- #define WMI_TPC_CHAINMASK_CONFIG_CHANNEL_EXIST WMI_TPC_CHAINMASK_CONFIG_CHANNEL
- #define WMI_TPC_CHAINMASK_CONFIG_CHANNEL (0x1 << WMI_TPC_CHAINMASK_CONFIG_CHANNEL_S)
- #define WMI_TPC_CHAINMASK_CONFIG_CHANNEL_GET(x) WMI_F_MS(x,WMI_TPC_CHAINMASK_CONFIG_CHANNEL)
- #define WMI_TPC_CHAINMASK_CONFIG_CHANNEL_SET(x,z) WMI_F_RMW(x, (z) & 0x1, WMI_TPC_CHAINMASK_CONFIG_CHANNEL)
- #define WMI_TPC_CHAINMASK_CONFIG_RATE_S 22
- #define WMI_TPC_CHAINMASK_CONFIG_RATE_EXIST WMI_TPC_CHAINMASK_CONFIG_RATE
- #define WMI_TPC_CHAINMASK_CONFIG_RATE (0x1 << WMI_TPC_CHAINMASK_CONFIG_RATE_S)
- #define WMI_TPC_CHAINMASK_CONFIG_RATE_GET(x) WMI_F_MS(x, WMI_TPC_CHAINMASK_CONFIG_RATE)
- #define WMI_TPC_CHAINMASK_CONFIG_RATE_SET(x,z) WMI_F_RMW(x, (z) & 0x1, WMI_TPC_CHAINMASK_CONFIG_RATE)
- typedef struct{
- A_UINT32 tlv_header;
-
- A_UINT32 basic_config_info;
-
- A_UINT32 channel;
-
- A_UINT32 rate0;
-
-
- A_UINT32 rate1;
- } wmi_tpc_chainmask_config;
- #define WMI_TPC_CHAINMASK_CONFIG_DISABLE 0
- #define WMI_TPC_CHAINMASK_CONFIG_ENABLE 1
- typedef struct{
- A_UINT32 tlv_header;
- A_UINT32 enable;
- A_UINT32 num_tpc_chainmask_configs;
-
- } wmi_tpc_chainmask_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- A_UINT32 base_addr_lo;
-
- A_UINT32 base_addr_hi;
-
- A_UINT32 head_idx_addr_lo;
-
- A_UINT32 head_idx_addr_hi;
-
- A_UINT32 tail_idx_addr_lo;
-
- A_UINT32 tail_idx_addr_hi;
- A_UINT32 num_ptr;
- } wmi_oem_dma_ring_cfg_req_fixed_param;
- #define WMI_OEM_DMA_RING_ADDR_LO_S 0
- #define WMI_OEM_DMA_RING_ADDR_LO 0xffffffff
- #define WMI_OEM_DMA_RING_ADDR_LO_GET(dword) WMI_F_MS(dword, WMI_OEM_DMA_RING_ADDR_LO)
- #define WMI_OEM_DMA_RING_ADDR_LO_SET(dword, val) WMI_F_RMW(dword, val, WMI_OEM_DMA_RING_ADDR_LO)
- #define WMI_OEM_DMA_RING_ADDR_HI_S 0
- #define WMI_OEM_DMA_RING_ADDR_HI 0xf
- #define WMI_OEM_DMA_RING_ADDR_HI_GET(dword) WMI_F_MS(dword, WMI_OEM_DMA_RING_ADDR_HI)
- #define WMI_OEM_DMA_RING_ADDR_HI_SET(dword, val) WMI_F_RMW(dword, val, WMI_OEM_DMA_RING_ADDR_HI)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 cfg_status;
- } wmi_oem_dma_ring_cfg_rsp_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- A_UINT32 addr_lo;
-
- A_UINT32 addr_hi;
- A_UINT32 len;
- } wmi_oem_indirect_data;
- #define WMI_OEM_DMA_DATA_ADDR_LO_S 0
- #define WMI_OEM_DMA_DATA_ADDR_LO 0xffffffff
- #define WMI_OEM_DMA_DATA_ADDR_LO_GET(dword) WMI_F_MS(dword, WMI_OEM_DMA_DATA_ADDR_LO)
- #define WMI_OEM_DMA_DATA_ADDR_LO_SET(dword, val) WMI_F_RMW(dword, val, WMI_OEM_DMA_DATA_ADDR_LO)
- #define WMI_OEM_DMA_DATA_ADDR_HI_S 0
- #define WMI_OEM_DMA_DATA_ADDR_HI 0xf
- #define WMI_OEM_DMA_DATA_ADDR_HI_GET(dword) WMI_F_MS(dword, WMI_OEM_DMA_DATA_ADDR_HI)
- #define WMI_OEM_DMA_DATA_ADDR_HI_SET(dword, val) WMI_F_RMW(dword, val, WMI_OEM_DMA_DATA_ADDR_HI)
- #define WMI_OEM_DMA_DATA_ADDR_HI_HOST_DATA_S 12
- #define WMI_OEM_DMA_DATA_ADDR_HI_HOST_DATA 0xfffff
- #define WMI_OEM_DMA_DATA_ADDR_HI_HOST_DATA_GET(dword) WMI_F_MS(dword, WMI_OEM_DMA_DATA_ADDR_HI_HOST_DATA)
- #define WMI_OEM_DMA_DATA_ADDR_HI_HOST_DATA_SET(dword, val) WMI_F_RMW(dword, val, WMI_OEM_DMA_DATA_ADDR_HI_HOST_DATA)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- } wmi_oem_dma_buf_release_fixed_param;
- typedef struct {
-
- A_UINT32 addr_lo;
-
- A_UINT32 addr_hi;
- } wmi_oem_dma_buf_release_entry;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 data_len;
-
- A_UINT32 pdev_vdev_flag;
-
- A_UINT32 pdev_id;
- } wmi_oem_data_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 data_len;
- } wmi_nan_cmd_param;
- #define WMI_NAN_GET_RANGING_INITIATOR_ROLE(flag) WMI_GET_BITS(flag, 0, 1)
- #define WMI_NAN_SET_RANGING_INITIATOR_ROLE(flag, val) WMI_SET_BITS(flag, 0, 1, val)
- #define WMI_NAN_GET_RANGING_RESPONDER_ROLE(flag) WMI_GET_BITS(flag, 1, 1)
- #define WMI_NAN_SET_RANGING_RESPONDER_ROLE(flag, val) WMI_SET_BITS(flag, 1, 1, val)
- #define WMI_NAN_GET_NAN_6G_DISABLE(flag) WMI_GET_BITS(flag, 2, 1)
- #define WMI_NAN_SET_NAN_6G_DISABLE(flag, val) WMI_SET_BITS(flag, 2, 1, val)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 nan_2g_disc_disable:1;
- A_UINT32 nan_5g_disc_disable:1;
- A_UINT32 reserved:30;
-
- A_UINT32 flags;
- } wmi_nan_host_config_param_PROTOTYPE;
- #define wmi_nan_host_config_param wmi_nan_host_config_param_PROTOTYPE
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 data_len;
- } wmi_nan_event_hdr;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 mac_id;
- A_UINT32 status:1;
- A_UINT32 reserved:31;
- A_UINT32 vdev_id;
- } wmi_nan_event_info_PROTOTYPE;
- #define wmi_nan_event_info wmi_nan_event_info_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr nan_interface_macaddr;
- } wmi_nan_disc_iface_created_event_fixed_param_PROTOTYPE;
- #define wmi_nan_disc_iface_created_event_fixed_param wmi_nan_disc_iface_created_event_fixed_param_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- } wmi_nan_disc_iface_deleted_event_fixed_param_PROTOTYPE;
- #define wmi_nan_disc_iface_deleted_event_fixed_param wmi_nan_disc_iface_deleted_event_fixed_param_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 nan_cluster_id;
- } wmi_nan_started_cluster_event_fixed_param_PROTOTYPE;
- #define wmi_nan_started_cluster_event_fixed_param wmi_nan_started_cluster_event_fixed_param_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 nan_cluster_id;
- } wmi_nan_joined_cluster_event_fixed_param_PROTOTYPE;
- #define wmi_nan_joined_cluster_event_fixed_param wmi_nan_joined_cluster_event_fixed_param_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 msg_len;
-
- } wmi_nan_dmesg_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 max_ndp_sessions;
- } wmi_nan_capabilities;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 transaction_id;
- } wmi_ndi_get_cap_req_fixed_param_PROTOTYPE;
- #define wmi_ndi_get_cap_req_fixed_param wmi_ndi_get_cap_req_fixed_param_PROTOTYPE
- typedef enum {
- NDP_RSP_CODE_REQUEST_ACCEPT = 0x00,
- NDP_RSP_CODE_REQUEST_REJECT = 0x01,
- NDP_RSP_CODE_REQUEST_DEFER = 0x02,
- } wmi_ndp_rsp_code_PROTOTYPE;
- #define wmi_ndp_rsp_code wmi_ndp_rsp_code_PROTOTYPE
- typedef enum {
- WMI_NDP_CHANNEL_NOT_REQUESTED = 0,
- WMI_NDP_REQUEST_CHANNEL_SETUP = 1,
- WMI_NDP_FORCE_CHANNEL_SETUP = 2
- } wmi_ndp_channel_cfg_PROTOTYPE;
- #define WMI_NDP_IPV6_INTF_ADDR_LEN 16
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 ipv6_addr_present;
-
- A_UINT32 trans_port_present;
-
- A_UINT32 trans_proto_present;
-
- A_UINT8 ipv6_intf_addr[WMI_NDP_IPV6_INTF_ADDR_LEN];
-
- A_UINT32 transport_port;
-
- A_UINT32 transport_protocol;
- } wmi_ndp_transport_ip_param;
- #define wmi_ndp_channel_cfg wmi_ndp_channel_cfg_PROTOTYPE
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 mac_id;
- } wmi_ndp_channel_info_PROTOTYPE;
- #define wmi_ndp_channel_info wmi_ndp_channel_info_PROTOTYPE
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 ndp_termination_in_progress:1;
- A_UINT32 reserved:31;
- } wmi_ndp_event_param_PROTOTYPE;
- #define wmi_ndp_event_param wmi_ndp_event_param_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 transaction_id;
-
- A_UINT32 service_instance_id;
-
- wmi_mac_addr peer_discovery_mac_addr;
-
- A_UINT32 ndp_cfg_len;
-
- A_UINT32 ndp_app_info_len;
-
- A_UINT32 ndp_channel_cfg;
-
- A_UINT32 nan_csid;
-
- A_UINT32 nan_pmk_len;
-
- A_UINT32 nan_passphrase_len;
-
- A_UINT32 nan_servicename_len;
-
- } wmi_ndp_initiator_req_fixed_param_PROTOTYPE;
- #define wmi_ndp_initiator_req_fixed_param wmi_ndp_initiator_req_fixed_param_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 transaction_id;
-
- A_UINT32 ndp_instance_id;
-
- A_UINT32 rsp_code;
-
- A_UINT32 ndp_cfg_len;
-
- A_UINT32 ndp_app_info_len;
-
- A_UINT32 nan_csid;
-
- A_UINT32 nan_pmk_len;
-
- A_UINT32 nan_passphrase_len;
-
- A_UINT32 nan_servicename_len;
-
- } wmi_ndp_responder_req_fixed_param_PROTOTYPE;
- #define wmi_ndp_responder_req_fixed_param wmi_ndp_responder_req_fixed_param_PROTOTYPE
- typedef enum {
- WMI_NDP_END_TYPE_UNSPECIFIED = 0x00,
- WMI_NDP_END_TYPE_PEER_UNAVAILABLE = 0x01,
- WMI_NDP_END_TYPE_OTA_FRAME = 0x02,
- WMI_NDP_END_TYPE_DATA_INACTIVITY = 0x03,
- } wmi_ndp_end_type_PROTOTYPE;
- #define wmi_ndp_end_type wmi_ndp_end_type_PROTOTYPE
- typedef enum {
- WMI_NDP_END_REASON_UNSPECIFIED = 0x00,
- WMI_NDP_END_REASON_INACTIVITY = 0x01,
- WMI_NDP_END_REASON_PEER_DATA_END = 0x02,
- WMI_NDP_END_REASON_DATA_INACTIVITY = 0x03,
- } wmi_ndp_end_reason_code_PROTOTYPE;
- #define wmi_ndp_end_reason_code wmi_ndp_end_reason_code_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 ndp_instance_id;
- } wmi_ndp_end_req_PROTOTYPE;
- #define wmi_ndp_end_req wmi_ndp_end_req_PROTOTYPE
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 ndp_disable:1;
- A_UINT32 reserved:31;
- } wmi_ndp_cmd_param_PROTOTYPE;
- #define wmi_ndp_cmd_param wmi_ndp_cmd_param_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 transaction_id;
-
- } wmi_ndp_end_req_fixed_param_PROTOTYPE;
- #define wmi_ndp_end_req_fixed_param wmi_ndp_end_req_fixed_param_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 transaction_id;
-
- A_UINT32 max_ndi_interfaces;
-
- A_UINT32 max_ndp_sessions;
-
- A_UINT32 max_peers_per_ndi;
-
- A_UINT32 nan_data_supported_bands;
- } wmi_ndi_cap_rsp_event_fixed_param_PROTOTYPE;
- #define wmi_ndi_cap_rsp_event_fixed_param wmi_ndi_cap_rsp_event_fixed_param_PROTOTYPE
- typedef enum {
- NDP_CMD_RSP_STATUS_SUCCESS = 0x00,
- NDP_CMD_RSP_STATUS_ERROR = 0x01,
- } wmi_ndp_cmd_rsp_status_PROTOTYPE;
- #define wmi_ndp_cmd_rsp_status wmi_ndp_cmd_rsp_status_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 transaction_id;
-
- A_UINT32 rsp_status;
- A_UINT32 reason_code;
-
- A_UINT32 ndp_instance_id;
- } wmi_ndp_initiator_rsp_event_fixed_param_PROTOTYPE;
- #define wmi_ndp_initiator_rsp_event_fixed_param wmi_ndp_initiator_rsp_event_fixed_param_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 transaction_id;
-
- A_UINT32 rsp_status;
- A_UINT32 reason_code;
-
- A_UINT32 ndp_instance_id;
-
- wmi_mac_addr peer_ndi_mac_addr;
-
- A_UINT32 create_peer;
- } wmi_ndp_responder_rsp_event_fixed_param_PROTOTYPE;
- #define wmi_ndp_responder_rsp_event_fixed_param wmi_ndp_responder_rsp_event_fixed_param_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 ndp_instance_id;
- } wmi_active_ndp_instance_id_PROTOTYPE;
- #define wmi_active_ndp_instance_id wmi_active_ndp_instance_id_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_mac_addr;
-
- A_UINT32 num_active_ndps_on_ndi;
- } wmi_ndp_end_rsp_per_ndi_PROTOTYPE;
- #define wmi_ndp_end_rsp_per_ndi wmi_ndp_end_rsp_per_ndi_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 transaction_id;
-
- A_UINT32 rsp_status;
- A_UINT32 reason_code;
-
- } wmi_ndp_end_rsp_event_fixed_param_PROTOTYPE;
- #define wmi_ndp_end_rsp_event_fixed_param wmi_ndp_end_rsp_event_fixed_param_PROTOTYPE
- typedef enum {
- WMI_NDP_INITIATOR_ROLE,
- WMI_NDP_RESPONDER_ROLE,
- } wmi_ndp_self_role_PROTOTYPE;
- #define wmi_ndp_self_role wmi_ndp_self_role_PROTOTYPE
- typedef enum {
- WMI_NDP_ACCEPT_POLICY_NONE,
- WMI_NDP_ACCEPT_POLICY_ALL,
- } wmi_ndp_accept_policy_PROTOTYPE;
- #define wmi_ndp_accept_policy wmi_ndp_accept_policy_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 self_ndp_role;
-
- A_UINT32 accept_policy;
-
- A_UINT32 service_instance_id;
-
- wmi_mac_addr peer_discovery_mac_addr;
-
- wmi_mac_addr peer_ndi_mac_addr;
-
- A_UINT32 ndp_instance_id;
-
- A_UINT32 ndp_cfg_len;
-
- A_UINT32 ndp_app_info_len;
-
- A_UINT32 nan_csid;
-
- A_UINT32 nan_scid_len;
-
- wmi_mac_addr self_ndi_mac_addr;
-
- } wmi_ndp_indication_event_fixed_param_PROTOTYPE;
- #define wmi_ndp_indication_event_fixed_param wmi_ndp_indication_event_fixed_param_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 ndp_instance_id;
-
- wmi_mac_addr peer_ndi_mac_addr;
-
- A_UINT32 rsp_code;
-
- A_UINT32 ndp_cfg_len;
-
- A_UINT32 ndp_app_info_len;
-
- A_UINT32 reason_code;
-
- A_UINT32 num_active_ndps_on_peer;
-
- A_UINT32 num_ndp_channels;
-
- } wmi_ndp_confirm_event_fixed_param_PROTOTYPE;
- #define wmi_ndp_confirm_event_fixed_param wmi_ndp_confirm_event_fixed_param_PROTOTYPE
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 type;
-
- A_UINT32 vdev_id;
-
- A_UINT32 reason_code;
-
- A_UINT32 ndp_instance_id;
-
- wmi_mac_addr peer_ndi_mac_addr;
-
- A_UINT32 num_active_ndps_on_peer;
- } wmi_ndp_end_indication_PROTOTYPE;
- #define wmi_ndp_end_indication wmi_ndp_end_indication_PROTOTYPE
- typedef struct
- {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 flags;
-
- A_UINT32 num_channels;
-
- A_UINT32 num_ndp_instances;
-
- } wmi_ndl_schedule_update_fixed_param_PROTOTYPE;
- #define wmi_ndl_schedule_update_fixed_param wmi_ndl_schedule_update_fixed_param_PROTOTYPE
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_data;
-
- } wmi_diag_data_container_event_fixed_param;
- enum {
- WMI_PDEV_PARAM_TXPOWER_REASON_NONE = 0,
- WMI_PDEV_PARAM_TXPOWER_REASON_SAR,
- WMI_PDEV_PARAM_TXPOWER_REASON_MAX
- };
- #define PDEV_PARAM_TXPOWER_VALUE_MASK 0x000000FF
- #define PDEV_PARAM_TXPOWER_VALUE_SHIFT 0
- #define PDEV_PARAM_TXPOWER_REASON_MASK 0x0000FF00
- #define PDEV_PARAM_TXPOWER_REASON_SHIFT 8
- #define SET_PDEV_PARAM_TXPOWER_VALUE(txpower_param, value) \
- ((txpower_param) &= ~PDEV_PARAM_TXPOWER_VALUE_MASK, (txpower_param) |= ((value) << PDEV_PARAM_TXPOWER_VALUE_SHIFT))
- #define SET_PDEV_PARAM_TXPOWER_REASON(txpower_param, value) \
- ((txpower_param) &= ~PDEV_PARAM_TXPOWER_REASON_MASK, (txpower_param) |= ((value) << PDEV_PARAM_TXPOWER_REASON_SHIFT))
- #define GET_PDEV_PARAM_TXPOWER_VALUE(txpower_param) \
- (((txpower_param) & PDEV_PARAM_TXPOWER_VALUE_MASK) >> PDEV_PARAM_TXPOWER_VALUE_SHIFT)
- #define GET_PDEV_PARAM_TXPOWER_REASON(txpower_param) \
- (((txpower_param) & PDEV_PARAM_TXPOWER_REASON_MASK) >> PDEV_PARAM_TXPOWER_REASON_SHIFT)
- #define PDEV_PARAM_SMART_CHAINMASK_SCHEME_DECISION_MASK 0x00000001
- #define PDEV_PARAM_SMART_CHAINMASK_SCHEME_DECISION_SHIFT 0
- #define SET_PDEV_SMART_CHAINMASK_SCHEME_DECISION(param, value) \
- do { \
- (param) &= ~PDEV_PARAM_SMART_CHAINMASK_SCHEME_DECISION_MASK; \
- (param) |= (value) << PDEV_PARAM_SMART_CHAINMASK_SCHEME_DECISION_SHIFT; \
- } while (0)
- #define GET_PDEV_SMART_CHAINMASK_SCHEME_DECISION(param) \
- (((param) & PDEV_PARAM_SMART_CHAINMASK_SCHEME_DECISION_MASK) >> PDEV_PARAM_SMART_CHAINMASK_SCHEME_DECISION_SHIFT)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 modem_power_state;
- } wmi_modem_power_state_cmd_param;
- enum {
- WMI_MODEM_STATE_OFF = 0,
- WMI_MODEM_STATE_ON
- };
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 sar_enable;
-
- A_UINT32 num_limit_rows;
-
- A_UINT32 commit_limits;
-
- } wmi_sar_limits_cmd_fixed_param;
- enum wmi_sar_feature_state_flags {
- WMI_SAR_FEATURE_OFF = 0,
- WMI_SAR_FEATURE_ON_SET_0,
- WMI_SAR_FEATURE_ON_SET_1,
- WMI_SAR_FEATURE_ON_SET_2,
- WMI_SAR_FEATURE_ON_SET_3,
- WMI_SAR_FEATURE_ON_SET_4,
- WMI_SAR_FEATURE_NO_CHANGE,
- WMI_SAR_FEATURE_ON_USER_DEFINED,
- WMI_SAR_FEATURE_ON_SAR_V2_0,
- WMI_SAR_FEATURE_ON_SAR_V3,
- };
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 band_id;
- A_UINT32 chain_id;
-
- A_UINT32 mod_id;
-
- union {
-
- A_UINT32 limit_value;
- A_UINT32 limit_index;
- };
-
- A_UINT32 validity_bitmap;
- } wmi_sar_limit_cmd_row;
- enum wmi_sar_band_id_flags {
- WMI_SAR_2G_ID = 0,
- WMI_SAR_5G_ID
- };
- enum wmi_sar_mod_id_flags {
- WMI_SAR_MOD_CCK = 0,
- WMI_SAR_MOD_OFDM
- };
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 sar_enable;
-
- A_UINT32 num_limit_rows;
-
- } wmi_sar_get_limits_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 band_id;
- A_UINT32 chain_id;
-
- A_UINT32 mod_id;
-
- A_UINT32 limit_value;
- } wmi_sar_get_limit_event_row;
- #define WMI_SAR_BAND_ID_VALID_MASK (0x1)
- #define WMI_SAR_CHAIN_ID_VALID_MASK (0x2)
- #define WMI_SAR_MOD_ID_VALID_MASK (0x4)
- #define WMI_SET_SAR_BAND_ID_VALID(bitmap) ((bitmap) |= WMI_SAR_BAND_ID_VALID_MASK)
- #define WMI_SET_SAR_CHAIN_ID_VALID(bitmap) ((bitmap) |= WMI_SAR_CHAIN_ID_VALID_MASK)
- #define WMI_SET_SAR_MOD_ID_VALID(bitmap) ((bitmap) |= WMI_SAR_MOD_ID_VALID_MASK)
- #define WMI_IS_SAR_BAND_ID_VALID(bitmap) ((bitmap) & WMI_SAR_BAND_ID_VALID_MASK)
- #define WMI_IS_SAR_CHAIN_ID_VALID(bitmap) ((bitmap) & WMI_SAR_CHAIN_ID_VALID_MASK)
- #define WMI_IS_SAR_MOD_ID_VALID(bitmap) ((bitmap) & WMI_SAR_MOD_ID_VALID_MASK)
- typedef struct {
-
- A_UINT32 tlv_header;
-
-
- A_UINT32 reserved;
- } wmi_sar_get_limits_cmd_fixed_param;
- #define WMI_ROAM_AUTH_STATUS_CONNECTED 0x1
- #define WMI_ROAM_AUTH_STATUS_AUTHENTICATED 0x2
- #define GTK_OFFLOAD_KCK_EXTENDED_BYTES 32
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT8 kck[GTK_OFFLOAD_KCK_BYTES];
- A_UINT8 kek[GTK_OFFLOAD_KEK_BYTES];
- A_UINT8 replay_counter[GTK_REPLAY_COUNTER_BYTES];
- } wmi_key_material;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT8 key_buffer[GTK_OFFLOAD_KEK_EXTENDED_BYTES+GTK_OFFLOAD_KCK_EXTENDED_BYTES+GTK_REPLAY_COUNTER_BYTES];
- } wmi_key_material_ext;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 auth_status;
-
- A_UINT32 roam_reason;
-
- A_UINT32 rssi;
-
- wmi_mac_addr bssid;
-
- A_UINT32 is_beacon;
-
- A_UINT32 bcn_probe_rsp_len;
-
- A_UINT32 reassoc_rsp_len;
-
- A_UINT32 reassoc_req_len;
-
- A_INT32 max_allowed_tx_power;
-
- } wmi_roam_synch_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 more_frag;
-
- A_UINT32 is_beacon;
-
- A_UINT32 bcn_probe_rsp_len;
-
- A_UINT32 reassoc_rsp_len;
-
- A_UINT32 reassoc_req_len;
-
- } wmi_roam_synch_frame_event_fixed_param;
- #define WMI_PEER_ESTIMATED_LINKSPEED_INVALID 0xFFFFFFFF
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 valid_vdev_id;
-
- A_UINT32 vdev_id;
- } wmi_peer_get_estimated_linkspeed_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 est_linkspeed_kbps;
-
- A_UINT32 valid_vdev_id;
-
- A_UINT32 vdev_id;
- } wmi_peer_estimated_linkspeed_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- A_UINT32 data_len;
- } wmi_req_stats_ext_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 data_len;
-
- } wmi_stats_ext_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
- } wmi_peer_delete_resp_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
-
- A_UINT32 status;
- } wmi_vdev_delete_all_peer_resp_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
- A_UINT32 state;
- } wmi_peer_state_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 status;
- } wmi_peer_assoc_conf_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 status;
- } wmi_peer_create_conf_event_fixed_param;
- enum {
- WMI_2G4_HT40_OBSS_SCAN_PASSIVE = 0,
- WMI_2G4_HT40_OBSS_SCAN_ACTIVE,
- };
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 scan_type;
-
- A_UINT32 obss_scan_passive_dwell;
- A_UINT32 obss_scan_active_dwell;
-
- A_UINT32 bss_channel_width_trigger_scan_interval;
-
- A_UINT32 obss_scan_passive_total_per_channel;
- A_UINT32 obss_scan_active_total_per_channel;
- A_UINT32 bss_width_channel_transition_delay_factor;
- A_UINT32 obss_scan_activity_threshold;
-
- A_UINT32 forty_mhz_intolerant;
- A_UINT32 current_operating_class;
-
- A_UINT32 channel_len;
-
- A_UINT32 ie_len;
- } wmi_obss_scan_enable_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_obss_scan_disable_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 tx_status;
- } wmi_offload_prb_rsp_tx_status_event_fixed_param;
- typedef enum {
- WMI_FRAME_TX_OK,
- WMI_FRAME_TX_XRETRY,
- WMI_FRAME_TX_DROP,
- WMI_FRAME_TX_FILTERED,
- } WMI_FRAME_TX_STATUS;
- typedef struct {
-
- A_UINT32 tlv_header;
- } wmi_chan_avoid_update_cmd_param;
- typedef enum {
- WMI_EXTSCAN_MODE_NONE = 0x0000,
- WMI_EXTSCAN_MODE_START = 0x0001,
- WMI_EXTSCAN_MODE_STOP = 0x0002,
- WMI_EXTSCAN_MODE_IGNORED = 0x0003,
- } wmi_extscan_operation_mode;
- typedef enum {
- WMI_CHANNEL_BAND_UNSPECIFIED = 0x0000,
- WMI_CHANNEL_BAND_24 = 0x0001,
- WMI_CHANNEL_BAND_5_NON_DFS = 0x0002,
- WMI_CHANNEL_BAND_DFS = 0x0004,
- } wmi_channel_band_mask;
- typedef enum {
- WMI_EXTSCAN_CYCLE_STARTED_EVENT = 0x0001,
- WMI_EXTSCAN_CYCLE_COMPLETED_EVENT = 0x0002,
- WMI_EXTSCAN_BUCKET_STARTED_EVENT = 0x0004,
- WMI_EXTSCAN_BUCKET_COMPLETED_EVENT = 0x0008,
- WMI_EXTSCAN_BUCKET_FAILED_EVENT = 0x0010,
- WMI_EXTSCAN_BUCKET_OVERRUN_EVENT = 0x0020,
- WMI_EXTSCAN_THRESHOLD_NUM_SCANS = 0x0040,
- WMI_EXTSCAN_THRESHOLD_PERCENT = 0x0080,
- WMI_EXTSCAN_EVENT_MAX = 0x8000
- } wmi_extscan_event_type;
- #define WMI_EXTSCAN_CYCLE_EVENTS_MASK (WMI_EXTSCAN_CYCLE_STARTED_EVENT | \
- WMI_EXTSCAN_CYCLE_COMPLETED_EVENT)
- #define WMI_EXTSCAN_BUCKET_EVENTS_MASK (WMI_EXTSCAN_BUCKET_STARTED_EVENT | \
- WMI_EXTSCAN_BUCKET_COMPLETED_EVENT | \
- WMI_EXTSCAN_BUCKET_FAILED_EVENT | \
- WMI_EXTSCAN_BUCKET_OVERRUN_EVENT)
- typedef enum {
- WMI_EXTSCAN_NO_FORWARDING = 0x0000,
- WMI_EXTSCAN_FORWARD_FRAME_TO_HOST = 0x0001
- } wmi_extscan_forwarding_flags;
- typedef enum {
- WMI_EXTSCAN_USE_MSD = 0x0001,
- WMI_EXTSCAN_EXTENDED_BATCHING_EN = 0x0002,
- } wmi_extscan_configuration_flags;
- typedef enum {
- WMI_EXTSCAN_BUCKET_CACHE_RESULTS = 0x0001,
- WMI_EXTSCAN_REPORT_EVENT_CONTEXT_HUB = 0x0002,
- } wmi_extscan_bucket_configuration_flags;
- typedef enum {
- WMI_EXTSCAN_STATUS_OK = 0,
- WMI_EXTSCAN_STATUS_ERROR = 0x80000000,
- WMI_EXTSCAN_STATUS_INVALID_PARAMETERS,
- WMI_EXTSCAN_STATUS_INTERNAL_ERROR
- } wmi_extscan_start_stop_status;
- typedef struct {
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 vdev_id;
- } wmi_extscan_command_id;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 channel;
-
- A_UINT32 min_dwell_time;
- A_UINT32 max_dwell_time;
-
- A_UINT32 control_flags;
- } wmi_extscan_bucket_channel;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 bucket_id;
-
- A_UINT32 notify_extscan_events;
-
- A_UINT32 forwarding_flags;
-
- A_UINT32 configuration_flags;
-
- A_UINT32 base_period_multiplier;
-
- A_UINT32 min_dwell_time_active;
- A_UINT32 max_dwell_time_active;
-
- A_UINT32 min_dwell_time_passive;
- A_UINT32 max_dwell_time_passive;
-
- A_UINT32 channel_band;
-
- A_UINT32 num_channels;
-
- A_UINT32 min_period;
-
- A_UINT32 max_period;
-
- A_UINT32 exp_backoff;
-
- A_UINT32 exp_max_step_count;
- } wmi_extscan_bucket;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 table_id;
-
- A_UINT32 base_period;
-
- A_UINT32 max_iterations;
-
- A_UINT32 forwarding_flags;
-
- A_UINT32 configuration_flags;
-
- A_UINT32 notify_extscan_events;
-
- A_UINT32 scan_priority;
-
- A_UINT32 max_bssids_per_scan_cycle;
-
- A_UINT32 min_rssi;
-
- A_UINT32 max_table_usage;
-
- A_UINT32 min_dwell_time_active;
- A_UINT32 max_dwell_time_active;
-
- A_UINT32 min_dwell_time_passive;
- A_UINT32 max_dwell_time_passive;
-
- A_UINT32 min_rest_time;
-
-
- A_UINT32 max_rest_time;
-
-
- A_UINT32 n_probes;
-
- A_UINT32 repeat_probe_time;
-
- A_UINT32 probe_spacing_time;
-
- A_UINT32 idle_time;
-
- A_UINT32 max_scan_time;
-
- A_UINT32 probe_delay;
-
- A_UINT32 scan_ctrl_flags;
-
- A_UINT32 burst_duration;
-
- A_UINT32 num_bssid;
-
- A_UINT32 num_ssids;
-
- A_UINT32 ie_len;
-
- A_UINT32 num_buckets;
-
- A_UINT32 report_threshold_num_scans;
-
- } wmi_extscan_start_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 table_id;
- } wmi_extscan_stop_cmd_fixed_param;
- enum wmi_extscan_get_cached_results_flags {
- WMI_EXTSCAN_GET_CACHED_RESULTS_FLAG_NONE = 0x0000,
- WMI_EXTSCAN_GET_CACHED_RESULTS_FLAG_FLUSH_TABLE = 0x0001
- };
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 table_id;
-
- A_UINT32 max_results;
-
- A_UINT32 control_flags;
- } wmi_extscan_get_cached_results_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 table_id;
- } wmi_extscan_get_wlan_change_results_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_mac_addr bssid;
-
- A_UINT32 channel;
-
- A_UINT32 upper_rssi_limit;
-
- A_UINT32 lower_rssi_limit;
- } wmi_extscan_wlan_change_bssid_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 table_id;
-
- A_UINT32 mode;
-
- A_UINT32 max_rssi_samples;
-
- A_UINT32 rssi_averaging_samples;
-
- A_UINT32 lost_ap_scan_count;
-
- A_UINT32 max_out_of_range_count;
-
- A_UINT32 total_entries;
-
- A_UINT32 first_entry_index;
-
- A_UINT32 num_entries_in_page;
- } wmi_extscan_configure_wlan_change_monitor_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_mac_addr bssid;
-
- A_UINT32 min_rssi;
-
- A_UINT32 channel;
-
- A_UINT32 max_rssi;
- } wmi_extscan_hotlist_entry;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 table_id;
-
- A_UINT32 mode;
-
- A_UINT32 total_entries;
-
- A_UINT32 first_entry_index;
-
- A_UINT32 num_entries_in_page;
-
- A_UINT32 lost_ap_scan_count;
- } wmi_extscan_configure_hotlist_monitor_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_ssid ssid;
-
- A_UINT32 band;
-
- A_UINT32 min_rssi;
- A_UINT32 max_rssi;
- } wmi_extscan_hotlist_ssid_entry;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 table_id;
-
- A_UINT32 mode;
-
- A_UINT32 total_entries;
-
- A_UINT32 first_entry_index;
-
- A_UINT32 num_entries_in_page;
-
- A_UINT32 lost_ap_scan_count;
-
- } wmi_extscan_configure_hotlist_ssid_monitor_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 table_id;
-
- A_UINT32 scan_cache_entry_size;
-
- A_UINT32 max_scan_cache_entries;
-
- A_UINT32 max_buckets;
-
- A_UINT32 max_bssid_per_scan;
-
- A_UINT32 max_table_usage_threshold;
- } wmi_extscan_cache_capabilities;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 table_id;
-
- A_UINT32 wlan_change_entry_size;
-
- A_UINT32 max_wlan_change_entries;
-
- A_UINT32 max_rssi_averaging_samples;
-
- A_UINT32 max_rssi_history_entries;
- } wmi_extscan_wlan_change_monitor_capabilities;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 table_id;
-
- A_UINT32 wlan_hotlist_entry_size;
-
- A_UINT32 max_hotlist_entries;
- } wmi_extscan_hotlist_monitor_capabilities;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 num_extscan_cache_tables;
-
- A_UINT32 num_wlan_change_monitor_tables;
-
- A_UINT32 num_hotlist_monitor_tables;
-
- A_UINT32 rtt_one_sided_supported;
-
- A_UINT32 rtt_11v_supported;
-
- A_UINT32 rtt_ftm_supported;
-
- A_UINT32 num_extscan_cache_capabilities;
-
- A_UINT32 num_extscan_wlan_change_capabilities;
-
- A_UINT32 num_extscan_hotlist_capabilities;
- } wmi_extscan_set_capabilities_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
- } wmi_extscan_get_capabilities_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 command;
-
- A_UINT32 mode;
-
- A_UINT32 status;
-
- A_UINT32 table_id;
- } wmi_extscan_start_stop_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 event;
-
- A_UINT32 table_id;
-
- A_UINT32 num_buckets;
-
- } wmi_extscan_operation_event_fixed_param;
- typedef enum {
- EXTSCAN_TABLE_NONE = 0,
- EXTSCAN_TABLE_BSSID = 1,
- EXTSCAN_TABLE_RSSI = 2,
- } wmi_extscan_table_type;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 table_id;
-
- A_UINT32 table_type;
-
- A_UINT32 entries_in_use;
-
- A_UINT32 maximum_entries;
- } wmi_extscan_table_usage_event_fixed_param;
- typedef enum {
- WMI_SCAN_STATUS_INTERRUPTED = 1
- } wmi_scan_status_flags;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 rssi;
-
- A_UINT32 tstamp;
-
- A_UINT32 scan_cycle_id;
-
- A_UINT32 flags;
-
- A_UINT32 buckets_scanned;
- } wmi_extscan_rssi_info;
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_mac_addr bssid;
-
- wmi_ssid ssid;
-
- A_UINT32 channel;
-
- A_UINT32 capabilities;
-
- A_UINT32 beacon_interval;
-
- A_UINT32 tstamp;
-
- A_UINT32 flags;
-
- A_UINT32 rtt;
-
- A_UINT32 rtt_sd;
-
- A_UINT32 number_rssi_samples;
-
- A_UINT32 ie_length;
- } wmi_extscan_wlan_descriptor;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 extscan_request_id;
-
- A_UINT32 extscan_requestor_id;
-
- A_UINT32 extscan_vdev_id;
-
- A_UINT32 table_id;
-
- A_UINT32 current_tstamp;
-
- A_UINT32 total_entries;
-
- A_UINT32 first_entry_index;
-
- A_UINT32 num_entries_in_page;
-
- A_UINT32 buckets_scanned;
-
- } wmi_extscan_cached_results_event_fixed_param;
- typedef enum {
- EXTSCAN_WLAN_CHANGE_FLAG_NONE = 0x00,
- EXTSCAN_WLAN_CHANGE_FLAG_OUT_OF_RANGE = 0x01,
- EXTSCAN_WLAN_CHANGE_FLAG_AP_LOST = 0x02,
- } wmi_extscan_wlan_change_flags;
- typedef struct {
- A_UINT32 tlv_header;
-
- wmi_mac_addr bssid;
-
- A_UINT32 tstamp;
-
- A_UINT32 upper_rssi_limit;
-
- A_UINT32 lower_rssi_limit;
-
- A_UINT32 channel;
-
- A_UINT32 rssi_average;
-
- A_UINT32 flags;
-
- A_UINT32 num_rssi_samples;
- } wmi_extscan_wlan_change_result_bssid;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 config_request_id;
-
- A_UINT32 config_requestor_id;
-
- A_UINT32 config_vdev_id;
-
- A_UINT32 table_id;
-
- A_UINT32 change_count;
-
- A_UINT32 total_entries;
-
- A_UINT32 first_entry_index;
-
- A_UINT32 num_entries_in_page;
- } wmi_extscan_wlan_change_results_event_fixed_param;
- enum _tExtScanEntryFlags
- {
- WMI_HOTLIST_FLAG_NONE = 0x00,
- WMI_HOTLIST_FLAG_PRESENCE = 0x01,
- WMI_HOTLIST_FLAG_DUPLICATE_SSID = 0x80,
- };
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 config_request_id;
-
- A_UINT32 config_requestor_id;
-
- A_UINT32 config_vdev_id;
-
- A_UINT32 table_id;
-
- A_UINT32 total_entries;
-
- A_UINT32 first_entry_index;
-
- A_UINT32 num_entries_in_page;
- } wmi_extscan_hotlist_match_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 config_request_id;
-
- A_UINT32 config_requestor_id;
-
- A_UINT32 config_vdev_id;
-
- A_UINT32 table_id;
-
- A_UINT32 total_entries;
-
- A_UINT32 first_entry_index;
-
- A_UINT32 num_entries_in_page;
- } wmi_extscan_hotlist_ssid_match_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 num_extscan_cache_tables;
-
- A_UINT32 num_wlan_change_monitor_tables;
-
- A_UINT32 num_hotlist_monitor_tables;
-
- A_UINT32 rtt_one_sided_supported;
-
- A_UINT32 rtt_11v_supported;
-
- A_UINT32 rtt_ftm_supported;
-
- A_UINT32 num_extscan_cache_capabilities;
-
- A_UINT32 num_extscan_wlan_change_capabilities;
-
- A_UINT32 num_extscan_hotlist_capabilities;
-
- A_UINT32 num_roam_ssid_whitelist;
-
- A_UINT32 num_roam_bssid_blacklist;
-
- A_UINT32 num_roam_bssid_preferred_list;
-
- A_UINT32 num_extscan_hotlist_ssid;
-
- A_UINT32 num_epno_networks;
- } wmi_extscan_capabilities_event_fixed_param;
- typedef struct{
- A_UINT32 tlv_header;
- A_UINT32 reserved0;
- } wmi_d0_wow_disable_ack_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- } wmi_pdev_resume_event_fixed_param;
- #define WMI_DEBUG_LOG_MODULE_ALL 0xffff
- #define WMI_DEBUG_LOG_PARAM_LOG_LEVEL 0x1
- #define WMI_DBGLOG_SET_LOG_LEVEL(val,lvl) do { \
- (val) |= (lvl & 0xff); \
- } while (0)
- #define WMI_DBGLOG_GET_LOG_LEVEL(val) ((val) & 0xff)
- #define WMI_DBGLOG_SET_MODULE_ID(val,mid) do { \
- (val) |= ((mid & 0xffff) << 16); \
- } while (0)
- #define WMI_DBGLOG_GET_MODULE_ID(val) (((val) >> 16) & 0xffff)
- #define WMI_DEBUG_LOG_PARAM_VDEV_ENABLE 0x2
- #define WMI_DEBUG_LOG_PARAM_VDEV_DISABLE 0x3
- #define WMI_DEBUG_LOG_PARAM_VDEV_ENABLE_BITMAP 0x4
- #define WMI_DEBUG_LOG_PARAM_MOD_ENABLE_BITMAP 0x5
- #define WMI_DEBUG_LOG_PARAM_WOW_MOD_ENABLE_BITMAP 0x6
- #define NUM_MODULES_PER_ENTRY ((sizeof(A_UINT32)) << 3)
- #define WMI_MODULE_ENABLE(pmid_bitmap,mod_id) \
- ((pmid_bitmap)[(mod_id)/NUM_MODULES_PER_ENTRY] |= \
- (1 << ((mod_id)%NUM_MODULES_PER_ENTRY)))
- #define WMI_MODULE_DISABLE(pmid_bitmap,mod_id) \
- ((pmid_bitmap)[(mod_id)/NUM_MODULES_PER_ENTRY] &= \
- (~(1 << ((mod_id)%NUM_MODULES_PER_ENTRY))))
- #define WMI_MODULE_IS_ENABLED(pmid_bitmap,mod_id) \
- (((pmid_bitmap)[(mod_id)/NUM_MODULES_PER_ENTRY] & \
- (1 << ((mod_id)%NUM_MODULES_PER_ENTRY))) != 0)
- #define MAX_MODULE_ID_BITMAP_WORDS 16
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 dbg_log_param;
- A_UINT32 value;
-
- } wmi_debug_log_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 param;
-
- A_UINT32 pdev_id;
- } wmi_pdev_get_temperature_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_INT32 value;
-
- A_UINT32 pdev_id;
- } wmi_pdev_temperature_event_fixed_param;
- typedef enum {
- ANTDIV_HW_CFG_STATUS,
- ANTDIV_SW_CFG_STATUS,
- ANTDIV_MAX_STATUS_TYPE_NUM
- } ANTDIV_STATUS_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 status_event_id;
-
- A_UINT32 pdev_id;
- } wmi_pdev_get_antdiv_status_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 support;
- A_UINT32 chain_num;
- A_UINT32 ant_num;
-
- A_UINT32 selectable_ant_mask[8];
-
- A_UINT32 pdev_id;
- } wmi_pdev_antdiv_status_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 enable;
- A_UINT32 srv_ipv4;
- A_UINT32 start_lsb;
- A_UINT32 num_client;
- } wmi_set_dhcp_server_offload_cmd_fixed_param;
- typedef enum {
- AP_RX_DATA_OFFLOAD = 0x00,
- STA_RX_DATA_OFFLOAD = 0x01,
- } wmi_ipa_offload_types;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 offload_type;
- A_UINT32 vdev_id;
- A_UINT32 enable;
- } wmi_ipa_offload_enable_disable_cmd_fixed_param;
- typedef enum {
- WMI_LED_FLASHING_PATTERN_NOT_CONNECTED = 0,
- WMI_LED_FLASHING_PATTERN_CONNECTED = 1,
- WMI_LED_FLASHING_PATTERN_RESERVED = 2,
- } wmi_set_led_flashing_type;
- typedef struct{
- A_UINT32 tlv_header;
- A_UINT32 pattern_id;
- A_UINT32 led_x0;
- A_UINT32 led_x1;
- A_UINT32 gpio_num;
- } wmi_set_led_flashing_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 enable;
- } wmi_mdns_offload_cmd_fixed_param;
- #define WMI_MAX_MDNS_FQDN_LEN 64
- #define WMI_MAX_MDNS_RESP_LEN 512
- #define WMI_MDNS_FQDN_TYPE_GENERAL 0
- #define WMI_MDNS_FQDN_TYPE_UNIQUE 1
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 type;
-
- A_UINT32 fqdn_len;
-
- } wmi_mdns_set_fqdn_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 AR_count;
-
- A_UINT32 resp_len;
-
- } wmi_mdns_set_resp_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 staIP;
- } wmi_mdns_set_staIP_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_mdns_get_stats_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 curTimestamp;
-
- A_UINT32 lastQueryTimestamp;
-
- A_UINT32 lastResponseTimestamp;
-
- A_UINT32 totalQueries;
-
- A_UINT32 totalMatches;
-
- A_UINT32 totalResponses;
-
- A_UINT32 status;
- } wmi_mdns_stats_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 enable;
-
- wmi_ssid ap_ssid;
-
- A_UINT32 rsn_authmode;
-
- A_UINT32 rsn_ucastcipherset;
-
- A_UINT32 rsn_mcastcipherset;
-
- A_UINT32 rsn_mcastmgmtcipherset;
-
- A_UINT32 channel;
-
- A_UINT32 psk_len;
-
- } wmi_sap_ofl_enable_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 assoc_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 data_len;
-
- } wmi_sap_ofl_add_sta_event_fixed_param;
- typedef enum {
- SAP_OFL_DEL_STA_FLAG_NONE = 0x00,
- SAP_OFL_DEL_STA_FLAG_RECONNECT = 0x01,
- } wmi_sap_ofl_del_sta_flags;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 assoc_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 reason;
-
- A_UINT32 flags;
- } wmi_sap_ofl_del_sta_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 num_retry;
-
- A_UINT32 retry_allow_time_ms;
-
- A_UINT32 blackout_time_ms;
- } wmi_sap_set_blacklist_param_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 data_len;
-
- } wmi_apfind_cmd_param;
- typedef enum apfind_event_type_e {
- APFIND_MATCH_EVENT = 0,
- APFIND_WAKEUP_EVENT,
- } APFIND_EVENT_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 event_type;
- A_UINT32 data_len;
-
- } wmi_apfind_event_hdr;
- typedef enum {
- WMI_SAP_OBSS_DETECTION_MODE_DISABLED = 0,
- WMI_SAP_OBSS_DETECTION_MODE_PRESENT_NOTIFY = 1,
- WMI_SAP_OBSS_DETECTION_MODE_ABSENT_TIMEOUT_NOTIFY = 2,
- } WMI_SAP_OBSS_DETECTION_MODE;
- typedef struct wmi_sap_obss_detection_cfg_cmd_s {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 detect_period_ms;
-
- A_UINT32 b_ap_detect_mode;
-
- A_UINT32 b_sta_detect_mode;
-
- A_UINT32 g_ap_detect_mode;
-
- A_UINT32 a_detect_mode;
-
- A_UINT32 ht_legacy_detect_mode;
-
- A_UINT32 ht_mixed_detect_mode;
-
- A_UINT32 ht_20mhz_detect_mode;
- } wmi_sap_obss_detection_cfg_cmd_fixed_param;
- typedef enum {
- WMI_SAP_OBSS_DETECTION_EVENT_REASON_NOT_SUPPORT = 0,
- WMI_SAP_OBSS_DETECTION_EVENT_REASON_PRESENT_NOTIFY,
- WMI_SAP_OBSS_DETECTION_EVENT_REASON_ABSENT_TIMEOUT,
- } WMI_SAP_OBSS_DETECTION_EVENT_REASON;
- #define WMI_SAP_OBSS_DETECTION_MATCH_BIT_11B_AP_S 0
- #define WMI_SAP_OBSS_DETECTION_MATCH_BIT_11B_STA_S 1
- #define WMI_SAP_OBSS_DETECTION_MATCH_BIT_11G_AP_S 2
- #define WMI_SAP_OBSS_DETECTION_MATCH_BIT_11A_S 3
- #define WMI_SAP_OBSS_DETECTION_MATCH_BIT_HT_LEGACY_S 4
- #define WMI_SAP_OBSS_DETECTION_MATCH_BIT_HT_MIXED_S 5
- #define WMI_SAP_OBSS_DETECTION_MATCH_BIT_HT_20MHZ_S 6
- typedef struct wmi_sap_obss_detection_info_evt_s {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 reason;
- A_UINT32 matched_detection_masks;
- wmi_mac_addr matched_bssid_addr;
- } wmi_sap_obss_detection_info_evt_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 enable;
- } wmi_bss_color_change_enable_fixed_param;
- typedef enum {
- WMI_BSS_COLOR_COLLISION_DISABLE = 0,
- WMI_BSS_COLOR_COLLISION_DETECTION,
- WMI_BSS_COLOR_FREE_SLOT_TIMER_EXPIRY,
- WMI_BSS_COLOR_FREE_SLOT_AVAILABLE,
- } WMI_BSS_COLOR_COLLISION_EVT_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 flags;
- A_UINT32 evt_type;
- A_UINT32 current_bss_color;
- A_UINT32 detection_period_ms;
- A_UINT32 scan_period_ms;
- A_UINT32 free_slot_expiry_time_ms;
- } wmi_obss_color_collision_det_config_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 evt_type;
- A_UINT32 bss_color_bitmap_bit0to31;
- A_UINT32 bss_color_bitmap_bit32to63;
- } wmi_obss_color_collision_evt_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 latency_enable;
- A_UINT32 latency_level;
- A_UINT32 latency_flags;
- } wmi_vdev_bcn_latency_fixed_param;
- #define SIZE_NDLTYPE_ACPRIO (1 + 3)
- #define SIZE_NDLTYPE_CONTROLLOOP (1 + 3)
- #define SIZE_NDLTYPE_ARRIVALRATE (1 + 13)
- #define SIZE_NDLTYPE_CHANNELLOAD (1 + 10)
- #define SIZE_NDLTYPE_CHANNELUSE (1 + 13)
- #define SIZE_NDLTYPE_DATARATE (1 + 3)
- #define SIZE_NDLTYPE_DISTANCE (1 + 12)
- #define SIZE_NDLTYPE_NUMBERELEMENTS (1 + 6)
- #define SIZE_NDLTYPE_PACKETDURATION (1 + 11)
- #define SIZE_NDLTYPE_PACKETINTERVAL (1 + 10)
- #define SIZE_NDLTYPE_PATHLOSS (1 + 5)
- #define SIZE_NDLTYPE_RXPOWER (1 + 7)
- #define SIZE_NDLTYPE_SNR (1 + 7)
- #define SIZE_NDLTYPE_TIMING (1 + 12)
- #define SIZE_NDLTYPE_TXPOWER (1 + 7)
- #define SIZE_NDLTYPE_RATIO (1 + 7)
- #define SIZE_NDLTYPE_EXPONENT (1 + 7)
- #define SIZE_NDLTYPE_QUEUESTATUS (1 + 1)
- #define SIZE_NDLTYPE_DCCMECHANISM (1 + 6)
- #define SIZE_BYTE (8)
- #define INVALID_ACPRIO ((1 << SIZE_NDLTYPE_ACPRIO) - 1)
- #define INVALID_CONTROLLOOP ((1 << SIZE_NDLTYPE_CONTROLLOOP) - 1)
- #define INVALID_ARRIVALRATE ((1 << SIZE_NDLTYPE_ARRIVALRATE) - 1)
- #define INVALID_CHANNELLOAD ((1 << SIZE_NDLTYPE_CHANNELLOAD) - 1)
- #define INVALID_CHANNELUSE ((1 << SIZE_NDLTYPE_CHANNELUSE) - 1)
- #define INVALID_DATARATE ((1 << SIZE_NDLTYPE_DATARATE) - 1)
- #define INVALID_DISTANCE ((1 << SIZE_NDLTYPE_DISTANCE) - 1)
- #define INVALID_NUMBERELEMENTS ((1 << SIZE_NDLTYPE_NUMBERELEMENTS) - 1)
- #define INVALID_PACKETDURATION ((1 << SIZE_NDLTYPE_PACKETDURATION) - 1)
- #define INVALID_PACKETINTERVAL ((1 << SIZE_NDLTYPE_PACKETINTERVAL) - 1)
- #define INVALID_PATHLOSS ((1 << SIZE_NDLTYPE_PATHLOSS) - 1)
- #define INVALID_RXPOWER ((1 << SIZE_NDLTYPE_RXPOWER) - 1)
- #define INVALID_SNR ((1 << SIZE_NDLTYPE_SNR) - 1)
- #define INVALID_TIMING ((1 << SIZE_NDLTYPE_TIMING) - 1)
- #define INVALID_TXPOWER ((1 << SIZE_NDLTYPE_TXPOWER) - 1)
- #define INVALID_RATIO ((1 << SIZE_NDLTYPE_RATIO) - 1)
- #define INVALID_EXPONENT ((1 << SIZE_NDLTYPE_EXPONENT) - 1)
- #define INVALID_QUEUESTATS ((1 << SIZE_NDLTYPE_QUEUESTATUS) - 1)
- #define INVALID_DCCMECHANISM ((1 << SIZE_NDLTYPE_DCCMECHANISM) - 1)
- #define MCS_COUNT (8)
- typedef enum {
- DCC_MECHANISM_TPC = 1,
- DCC_MECHANISM_TRC = 2,
- DCC_MECHANISM_TDC = 4,
- DCC_MECHANISM_DSC = 8,
- DCC_MECHANISM_TAC = 16,
- DCC_MECHANISM_RESERVED = 32,
- DCC_MECHANISM_ALL = 0x3f,
- } wmi_dcc_ndl_type_dcc_mechanism;
- typedef enum {
- DCC_QUEUE_CLOSED = 0,
- DCC_QUEUE_OPEN = 1,
- } wmi_dcc_ndl_type_queue_status;
- typedef enum {
- DCC_DATARATE_3_MBPS = 0,
- DCC_DATARATE_4_5_MBPS = 1,
- DCC_DATARATE_6_MBPS = 2,
- DCC_DATARATE_9_MBPS = 3,
- DCC_DATARATE_12_MBPS = 4,
- DCC_DATARATE_18_MBPS = 5,
- DCC_DATARATE_24_MBPS = 6,
- DCC_DATARATE_27_MBPS = 7,
- } wmi_dcc_ndl_type_datarate;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 state_info;
-
- A_UINT32 as_dcc[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC, SIZE_NDLTYPE_DCCMECHANISM)];
-
- A_UINT32 as_tx_power_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC, SIZE_NDLTYPE_TXPOWER)];
-
- A_UINT32 as_packet_interval_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC, SIZE_NDLTYPE_PACKETINTERVAL)];
-
- A_UINT32 as_datarate_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC, SIZE_NDLTYPE_DATARATE)];
-
- A_UINT32 as_carrier_sense_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC, SIZE_NDLTYPE_RXPOWER)];
- } wmi_dcc_ndl_active_state_config;
- #define WMI_NDL_AS_STATE_ID_GET(ptr) WMI_GET_BITS((ptr)->state_info, 0, 7)
- #define WMI_NDL_AS_STATE_ID_SET(ptr,val) WMI_SET_BITS((ptr)->state_info, 0, 7, val)
- #define WMI_NDL_AS_CHAN_LOAD_GET(ptr) WMI_GET_BITS((ptr)->state_info, 7, 11)
- #define WMI_NDL_AS_CHAN_LOAD_SET(ptr,val) WMI_SET_BITS((ptr)->state_info, 7, 11, val)
- #define WMI_NDL_AS_DCC_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->as_dcc, acprio, SIZE_NDLTYPE_DCCMECHANISM)
- #define WMI_NDL_AS_DCC_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->as_dcc, acprio, SIZE_NDLTYPE_DCCMECHANISM, val)
- #define WMI_NDL_AS_TX_POWER_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->as_tx_power_ac, acprio, SIZE_NDLTYPE_TXPOWER)
- #define WMI_NDL_AS_TX_POWER_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->as_tx_power_ac, acprio, SIZE_NDLTYPE_TXPOWER, val)
- #define WMI_NDL_AS_PACKET_INTERVAL_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->as_packet_interval_ac, acprio, SIZE_NDLTYPE_PACKETINTERVAL)
- #define WMI_NDL_AS_PACKET_INTERVAL_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->as_packet_interval_ac, acprio, SIZE_NDLTYPE_PACKETINTERVAL, val)
- #define WMI_NDL_AS_DATARATE_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->as_datarate_ac, acprio, SIZE_NDLTYPE_DATARATE)
- #define WMI_NDL_AS_DATARATE_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->as_datarate_ac, acprio, SIZE_NDLTYPE_DATARATE, val)
- #define WMI_NDL_AS_CARRIER_SENSE_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->as_carrier_sense_ac, acprio, SIZE_NDLTYPE_RXPOWER)
- #define WMI_NDL_AS_CARRIER_SENSE_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->as_carrier_sense_ac, acprio, SIZE_NDLTYPE_RXPOWER, val)
- typedef struct
- {
-
- A_UINT32 tlv_header;
-
- A_UINT32 aifsn;
-
- A_UINT32 cwmin;
-
- A_UINT32 cwmax;
- } wmi_qos_parameter;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 bandwidth;
- wmi_mac_addr mac_address;
- } wmi_ocb_channel;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 channel_freq;
- A_UINT32 total_duration;
- A_UINT32 guard_interval;
- } wmi_ocb_schedule_element;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- A_UINT32 channel_count;
- A_UINT32 schedule_size;
- A_UINT32 flags;
- A_UINT32 ta_max_duration;
-
-
-
-
-
-
- } wmi_ocb_set_config_cmd_fixed_param;
- #define EXPIRY_TIME_IN_TSF_TIMESTAMP_OFFSET 0
- #define EXPIRY_TIME_IN_TSF_TIMESTAMP_MASK 1
- #define WMI_OCB_EXPIRY_TIME_IN_TSF(ptr) (((ptr)->flags & EXPIRY_TIME_IN_TSF_TIMESTAMP_MASK) >> EXPIRY_TIME_IN_TSF_TIMESTAMP_OFFSET)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- A_UINT32 status;
- } wmi_ocb_set_config_resp_event_fixed_param;
- #define SIZE_UTC_TIME (10)
- #define SIZE_UTC_TIME_ERROR (5)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 utc_time[WMI_PACKED_ARR_SIZE(SIZE_UTC_TIME,SIZE_BYTE)];
-
- A_UINT32 time_error[WMI_PACKED_ARR_SIZE(SIZE_UTC_TIME_ERROR,SIZE_BYTE)];
- } wmi_ocb_set_utc_time_cmd_fixed_param;
- #define WMI_UTC_TIME_GET(ptr,byte_index) wmi_packed_arr_get_bits((ptr)->utc_time, byte_index, SIZE_BYTE)
- #define WMI_UTC_TIME_SET(ptr,byte_index,val) wmi_packed_arr_set_bits((ptr)->utc_time, byte_index, SIZE_BYTE, val)
- #define WMI_TIME_ERROR_GET(ptr,byte_index) wmi_packed_arr_get_bits((ptr)->time_error, byte_index, SIZE_BYTE)
- #define WMI_TIME_ERROR_SET(ptr,byte_index,val) wmi_packed_arr_set_bits((ptr)->time_error, byte_index, SIZE_BYTE, val)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 repeat_rate;
-
- A_UINT32 channel_freq;
-
- A_UINT32 timestamp_offset;
-
- A_UINT32 time_value_offset;
-
- A_UINT32 timing_advert_template_length;
-
- } wmi_ocb_start_timing_advert_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- A_UINT32 channel_freq;
- } wmi_ocb_stop_timing_advert_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- A_UINT32 reserved;
- } wmi_ocb_get_tsf_timer_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- A_UINT32 tsf_timer_high;
- A_UINT32 tsf_timer_low;
- } wmi_ocb_get_tsf_timer_resp_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
-
- A_UINT32 chan_info;
-
-
- A_UINT32 snr_backoff_mcs[WMI_PACKED_ARR_SIZE(MCS_COUNT,SIZE_NDLTYPE_SNR)];
-
-
- A_UINT32 tx_power_datarate;
-
- A_UINT32 carrier_sense_est_comm_range;
-
-
- A_UINT32 dcc_stats;
-
- A_UINT32 packet_stats;
-
- A_UINT32 channel_busy_time;
-
-
- A_UINT32 tx_packet_arrival_rate_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC,SIZE_NDLTYPE_ARRIVALRATE)];
-
- A_UINT32 tx_packet_avg_duration_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC,SIZE_NDLTYPE_PACKETDURATION)];
-
- A_UINT32 tx_channel_use_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC,SIZE_NDLTYPE_CHANNELUSE)];
-
- A_UINT32 tx_signal_avg_power_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC,SIZE_NDLTYPE_TXPOWER)];
- } wmi_dcc_ndl_stats_per_channel;
- #define WMI_NDL_STATS_SNR_BACKOFF_GET(ptr,mcs) wmi_packed_arr_get_bits((ptr)->snr_backoff_mcs, mcs, SIZE_NDLTYPE_SNR)
- #define WMI_NDL_STATS_SNR_BACKOFF_SET(ptr,mcs,val) wmi_packed_arr_set_bits((ptr)->snr_backoff_mcs, mcs, SIZE_NDLTYPE_SNR, val)
- #define WMI_NDL_STATS_CHAN_FREQ_GET(ptr) WMI_GET_BITS((ptr)->chan_info, 0, 16)
- #define WMI_NDL_STATS_CHAN_FREQ_SET(ptr,val) WMI_SET_BITS((ptr)->chan_info, 0, 16, val)
- #define WMI_NDL_STATS_DCC_STATS_BITMAP_GET(ptr) WMI_GET_BITS((ptr)->chan_info, 16, 8)
- #define WMI_NDL_STATS_DCC_STATS_BITMAP_SET(ptr,val) WMI_SET_BITS((ptr)->chan_info, 16, 8, val)
- #define WMI_NDL_STATS_SNR_BACKOFF_GET(ptr,mcs) wmi_packed_arr_get_bits((ptr)->snr_backoff_mcs, mcs, SIZE_NDLTYPE_SNR)
- #define WMI_NDL_STATS_SNR_BACKOFF_SET(ptr,mcs,val) wmi_packed_arr_set_bits((ptr)->snr_backoff_mcs, mcs, SIZE_NDLTYPE_SNR, val)
- #define WMI_TX_POWER_GET(ptr) WMI_GET_BITS((ptr)->tx_power_datarate, 0, 8)
- #define WMI_TX_POWER_SET(ptr,val) WMI_SET_BITS((ptr)->tx_power_datarate, 0, 8, val)
- #define WMI_TX_DATARATE_GET(ptr) WMI_GET_BITS((ptr)->tx_power_datarate, 0, 4)
- #define WMI_TX_DATARATE_SET(ptr,val) WMI_SET_BITS((ptr)->tx_power_datarate, 0, 4, val)
- #define WMI_NDL_CARRIER_SENSE_RANGE_GET(ptr) WMI_GET_BITS((ptr)->carrier_sense_est_comm_range, 0, 13)
- #define WMI_NDL_CARRIER_SENSE_RANGE_SET(ptr,val) WMI_SET_BITS((ptr)->carrier_sense_est_comm_range, 0, 13, val)
- #define WMI_NDL_EST_COMM_RANGE_GET(ptr) WMI_GET_BITS((ptr)->carrier_sense_est_comm_range, 13, 13)
- #define WMI_NDL_EST_COMM_RANGE_SET(ptr,val) WMI_SET_BITS((ptr)->carrier_sense_est_comm_range, 13, 13, val)
- #define WMI_DCC_SENSITIVITY_GET(ptr) WMI_GET_BITS((ptr)->dcc_stats, 0, 8)
- #define WMI_DCC_SENSITIVITY_SET(ptr,val) WMI_SET_BITS((ptr)->dcc_stats, 0, 8, val)
- #define WMI_CARRIER_SENSE_GET(ptr) WMI_GET_BITS((ptr)->dcc_stats, 8, 8)
- #define WMI_CARRIER_SENSE_SET(ptr,val) WMI_SET_BITS((ptr)->dcc_stats, 8, 8, val)
- #define WMI_NDL_CHANNEL_LOAD_GET(ptr) WMI_GET_BITS((ptr)->dcc_stats, 16, 11)
- #define WMI_NDL_CHANNEL_LOAD_SET(ptr,val) WMI_SET_BITS((ptr)->dcc_stats, 16, 11, val)
- #define WMI_NDL_PACKET_ARRIVAL_RATE_GET(ptr) WMI_GET_BITS((ptr)->packet_stats, 0, 14)
- #define WMI_NDL_PACKET_ARRIVAL_RATE_SET(ptr,val) WMI_SET_BITS((ptr)->packet_stats, 0, 14, val)
- #define WMI_NDL_PACKET_AVG_DURATION_GET(ptr) WMI_GET_BITS((ptr)->packet_stats, 14, 12)
- #define WMI_NDL_PACKET_AVG_DURATION_SET(ptr,val) WMI_SET_BITS((ptr)->packet_stats, 14, 12, val)
- #define WMI_NDL_CHANNEL_BUSY_TIME_GET(ptr) WMI_GET_BITS((ptr)->channel_busy_time, 0, 11)
- #define WMI_NDL_CHANNEL_BUSY_TIME_SET(ptr,val) WMI_SET_BITS((ptr)->channel_busy_time, 0, 11, val)
- #define WMI_NDL_TX_PACKET_ARRIVAL_RATE_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->tx_packet_arrival_rate_ac, acprio, SIZE_NDLTYPE_ARRIVALRATE)
- #define WMI_NDL_TX_PACKET_ARRIVAL_RATE_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->tx_packet_arrival_rate_ac, acprio, SIZE_NDLTYPE_ARRIVALRATE, val)
- #define WMI_NDL_TX_PACKET_AVG_DURATION_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->tx_packet_avg_duration_ac, acprio, SIZE_NDLTYPE_PACKETDURATION)
- #define WMI_NDL_TX_PACKET_AVG_DURATION_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->tx_packet_avg_duration_ac, acprio, SIZE_NDLTYPE_PACKETDURATION, val)
- #define WMI_NDL_TX_CHANNEL_USE_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->tx_channel_use_ac, acprio, SIZE_NDLTYPE_CHANNELUSE)
- #define WMI_NDL_TX_CHANNEL_USE_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->tx_channel_use_ac, acprio, SIZE_NDLTYPE_CHANNELUSE, val)
- #define WMI_NDL_TX_SIGNAL_AVG_POWER_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->tx_signal_avg_power_ac, acprio, SIZE_NDLTYPE_TXPOWER)
- #define WMI_NDL_TX_SIGNAL_AVG_POWER_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->tx_signal_avg_power_ac, acprio, SIZE_NDLTYPE_TXPOWER, val)
- typedef enum {
- DCC_STATS_DEMODULATION_MODEL = 1,
- DCC_STATS_COMMUNICATION_RANGES = 2,
- DCC_STATS_CHANNEL_LOAD_MEASURES = 4,
- DCC_STATS_TRANSMIT_PACKET_STATS = 8,
- DCC_STATS_TRANSMIT_MODEL_PARAMETER = 16,
- DCC_STATS_ALL = 0xff,
- } wmi_dcc_stats_bitmap;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 num_channels;
-
- } wmi_dcc_get_stats_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 chan_freq;
-
- A_UINT32 dcc_stats_bitmap;
- } wmi_dcc_channel_stats_request;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 num_channels;
-
- } wmi_dcc_get_stats_resp_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- A_UINT32 dcc_stats_bitmap;
- } wmi_dcc_clear_stats_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 num_channels;
-
- } wmi_dcc_stats_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 chan_info;
-
- A_UINT32 ndl_min_dcc_sampling;
-
- A_UINT32 dcc_flags;
-
-
- A_UINT32 general_config;
-
-
- A_UINT32 min_max_tx_power;
-
-
- A_UINT32 def_tx_power_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC,SIZE_NDLTYPE_TXPOWER)];
-
-
- A_UINT32 max_packet_duration_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC,SIZE_NDLTYPE_PACKETDURATION)];
-
- A_UINT32 min_max_packet_interval;
-
- A_UINT32 def_packet_interval_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC,SIZE_NDLTYPE_PACKETINTERVAL)];
-
-
- A_UINT32 min_max_datarate;
-
- A_UINT32 def_datarate_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC,SIZE_NDLTYPE_DATARATE)];
-
-
- A_UINT32 min_max_def_carrier_sense;
-
-
- A_UINT32 receive_model_parameter;
-
- A_UINT32 receive_model_parameter_2;
-
-
- A_UINT32 snr_backoff_mcs[WMI_PACKED_ARR_SIZE(MCS_COUNT,SIZE_NDLTYPE_SNR)];
-
-
- A_UINT32 tm_packet_arrival_rate_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC, SIZE_NDLTYPE_ARRIVALRATE)];
-
- A_UINT32 tm_packet_avg_duration_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC, SIZE_NDLTYPE_PACKETDURATION)];
-
- A_UINT32 tm_signal_avg_power_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC, SIZE_NDLTYPE_TXPOWER)];
-
- A_UINT32 tm_max_channel_use;
-
- A_UINT32 tm_channel_use_ac[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC, SIZE_NDLTYPE_CHANNELUSE)];
-
-
- A_UINT32 min_max_channel_load;
-
-
- A_UINT32 transmit_queue_parameters;
-
- A_UINT32 numberElements[WMI_PACKED_ARR_SIZE(WLAN_MAX_AC, SIZE_NDLTYPE_NUMBERELEMENTS)];
- } wmi_dcc_ndl_chan;
- #define WMI_CHAN_FREQ_GET(ptr) WMI_GET_BITS((ptr)->chan_info, 0, 16)
- #define WMI_CHAN_FREQ_SET(ptr,val) WMI_SET_BITS((ptr)->chan_info, 0, 16, val)
- #define WMI_NDL_NUM_ACTIVE_STATE_GET(ptr) WMI_GET_BITS((ptr)->chan_info, 16, 7)
- #define WMI_NDL_NUM_ACTIVE_STATE_SET(ptr,val) WMI_SET_BITS((ptr)->chan_info, 16, 7, val)
- #define WMI_NDL_MIN_DCC_SAMPLING_GET(ptr) WMI_GET_BITS((ptr)->ndl_min_dcc_sampling, 0, 10)
- #define WMI_NDL_MIN_DCC_SAMPLING_SET(ptr,val) WMI_SET_BITS((ptr)->ndl_min_dcc_sampling, 0, 10, val)
- #define WMI_NDL_MEASURE_INTERVAL_GET(ptr) WMI_GET_BITS((ptr)->ndl_min_dcc_sampling, 10, 16)
- #define WMI_NDL_MEASURE_INTERVAL_SET(ptr,val) WMI_SET_BITS((ptr)->ndl_min_dcc_sampling, 10, 16, val)
- #define WMI_NDL_DCC_ENABLE_GET(ptr) WMI_GET_BITS((ptr)->dcc_flags, 0, 1)
- #define WMI_NDL_DCC_ENABLE_SET(ptr,val) WMI_SET_BITS((ptr)->dcc_flags, 0, 1, val)
- #define WMI_NDL_DCC_STATS_ENABLE_GET(ptr) WMI_GET_BITS((ptr)->dcc_flags, 1, 1)
- #define WMI_NDL_DCC_STATS_ENABLE_SET(ptr,val) WMI_SET_BITS((ptr)->dcc_flags, 1, 1, val)
- #define WMI_NDL_DCC_STATS_INTERVAL_GET(ptr) WMI_GET_BITS((ptr)->dcc_flags, 2, 16)
- #define WMI_NDL_DCC_STATS_INTERVAL_SET(ptr,val) WMI_SET_BITS((ptr)->dcc_flags, 2, 16, val)
- #define WMI_NDL_TIME_UP_GET(ptr) WMI_GET_BITS((ptr)->general_config, 0, 13)
- #define WMI_NDL_TIME_UP_SET(ptr,val) WMI_SET_BITS((ptr)->general_config, 0, 13, val)
- #define WMI_NDL_TIME_DOWN_GET(ptr) WMI_GET_BITS((ptr)->general_config, 13, 13)
- #define WMI_NDL_TIME_DOWN_SET(ptr,val) WMI_SET_BITS((ptr)->general_config, 13, 13, val)
- #define WMI_NDL_MIN_TX_POWER_GET(ptr) WMI_GET_BITS((ptr)->min_max_tx_power, 0, 8)
- #define WMI_NDL_MIN_TX_POWER_SET(ptr,val) WMI_SET_BITS((ptr)->min_max_tx_power, 0, 8, val)
- #define WMI_NDL_MAX_TX_POWER_GET(ptr) WMI_GET_BITS((ptr)->min_max_tx_power, 8, 8)
- #define WMI_NDL_MAX_TX_POWER_SET(ptr,val) WMI_SET_BITS((ptr)->min_max_tx_power, 8, 8, val)
- #define WMI_NDL_DEF_TX_POWER_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->def_tx_power_ac, acprio, SIZE_NDLTYPE_TXPOWER)
- #define WMI_NDL_DEF_TX_POWER_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->def_tx_power_ac, acprio, SIZE_NDLTYPE_TXPOWER, val)
- #define WMI_NDL_MAX_PACKET_DURATION_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->max_packet_duration_ac, acprio, SIZE_NDLTYPE_PACKETDURATION)
- #define WMI_NDL_MAX_PACKET_DURATION_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->max_packet_duration_ac, acprio, SIZE_NDLTYPE_PACKETDURATION, val)
- #define WMI_NDL_MIN_PACKET_INTERVAL_GET(ptr) WMI_GET_BITS((ptr)->min_max_packet_interval, 0, 11)
- #define WMI_NDL_MIN_PACKET_INTERVAL_SET(ptr,val) WMI_SET_BITS((ptr)->min_max_packet_interval, 0, 11, val)
- #define WMI_NDL_MAX_PACKET_INTERVAL_GET(ptr) WMI_GET_BITS((ptr)->min_max_packet_interval, 11, 11)
- #define WMI_NDL_MAX_PACKET_INTERVAL_SET(ptr,val) WMI_SET_BITS((ptr)->min_max_packet_interval, 11, 11, val)
- #define WMI_NDL_DEF_PACKET_INTERVAL_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->def_packet_interval_ac, acprio, SIZE_NDLTYPE_PACKETINTERVAL)
- #define WMI_NDL_DEF_PACKET_INTERVAL_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->def_packet_interval_ac, acprio, SIZE_NDLTYPE_PACKETINTERVAL, val)
- #define WMI_NDL_MIN_DATARATE_GET(ptr) WMI_GET_BITS((ptr)->min_max_datarate, 0, 4)
- #define WMI_NDL_MIN_DATARATE_SET(ptr,val) WMI_SET_BITS((ptr)->min_max_datarate, 0, 4, val)
- #define WMI_NDL_MAX_DATARATE_GET(ptr) WMI_GET_BITS((ptr)->min_max_datarate, 4, 4)
- #define WMI_NDL_MAX_DATARATE_SET(ptr,val) WMI_SET_BITS((ptr)->min_max_datarate, 4, 4, val)
- #define WMI_NDL_DEF_DATARATE_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->def_datarate_ac, acprio, SIZE_NDLTYPE_DATARATE)
- #define WMI_NDL_DEF_DATARATE_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->def_datarate_ac, acprio, SIZE_NDLTYPE_DATARATE, val)
- #define WMI_NDL_MIN_CARRIER_SENSE_GET(ptr) WMI_GET_BITS((ptr)->min_max_def_carrier_sense, 0, 8)
- #define WMI_NDL_MIN_CARRIER_SENSE_SET(ptr,val) WMI_SET_BITS((ptr)->min_max_def_carrier_sense, 0, 8, val)
- #define WMI_NDL_MAX_CARRIER_SENSE_GET(ptr) WMI_GET_BITS((ptr)->min_max_def_carrier_sense, 8, 8)
- #define WMI_NDL_MAX_CARRIER_SENSE_SET(ptr,val) WMI_SET_BITS((ptr)->min_max_def_carrier_sense, 8, 8, val)
- #define WMI_NDL_DEF_CARRIER_SENSE_GET(ptr) WMI_GET_BITS((ptr)->min_max_def_carrier_sense, 16, 8)
- #define WMI_NDL_DEF_CARRIER_SENSE_SET(ptr,val) WMI_SET_BITS((ptr)->min_max_def_carrier_sense, 16, 8, val)
- #define WMI_NDL_DEF_DCC_SENSITIVITY_GET(ptr) WMI_GET_BITS((ptr)->receive_model_parameter, 0, 8)
- #define WMI_NDL_DEF_DCC_SENSITIVITY_SET(ptr,val) WMI_SET_BITS((ptr)->receive_model_parameter, 0, 8, val)
- #define WMI_NDL_MAX_CS_RANGE_GET(ptr) WMI_GET_BITS((ptr)->receive_model_parameter, 8, 13)
- #define WMI_NDL_MAX_CS_RANGE_SET(ptr,val) WMI_SET_BITS((ptr)->receive_model_parameter, 8, 13, val)
- #define WMI_NDL_REF_PATH_LOSS_GET(ptr) WMI_GET_BITS((ptr)->receive_model_parameter, 21, 6)
- #define WMI_NDL_REF_PATH_LOSS_SET(ptr,val) WMI_SET_BITS((ptr)->receive_model_parameter, 21, 6, val)
- #define WMI_NDL_MIN_SNR_GET(ptr) WMI_GET_BITS((ptr)->receive_model_parameter_2, 0, 8)
- #define WMI_NDL_MIN_SNR_SET(ptr,val) WMI_SET_BITS((ptr)->receive_model_parameter_2, 0, 8, val)
- #define WMI_NDL_SNR_BACKOFF_GET(ptr,mcs) wmi_packed_arr_get_bits((ptr)->snr_backoff_mcs, mcs, SIZE_NDLTYPE_SNR)
- #define WMI_NDL_SNR_BACKOFF_SET(ptr,mcs,val) wmi_packed_arr_set_bits((ptr)->snr_backoff_mcs, mcs, SIZE_NDLTYPE_SNR, val)
- #define WMI_NDL_TM_PACKET_ARRIVAL_RATE_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->tm_packet_arrival_rate_ac, acprio, SIZE_NDLTYPE_ARRIVALRATE)
- #define WMI_NDL_TM_PACKET_ARRIVAL_RATE_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->tm_packet_arrival_rate_ac, acprio, SIZE_NDLTYPE_ARRIVALRATE, val)
- #define WMI_NDL_TM_PACKET_AVG_DURATION_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->tm_packet_avg_duration_ac, acprio, SIZE_NDLTYPE_PACKETDURATION)
- #define WMI_NDL_TM_PACKET_AVG_DURATION_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->tm_packet_avg_duration_ac, acprio, SIZE_NDLTYPE_PACKETDURATION, val)
- #define WMI_NDL_TM_SIGNAL_AVG_POWER_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->tm_signal_avg_power_ac, acprio, SIZE_NDLTYPE_TXPOWER)
- #define WMI_NDL_TM_SIGNAL_AVG_POWER_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->tm_signal_avg_power_ac, acprio, SIZE_NDLTYPE_TXPOWER, val)
- #define WMI_NDL_TM_MAX_CHANNEL_USE_GET(ptr) WMI_GET_BITS((ptr)->tm_max_channel_use, 0, 14)
- #define WMI_NDL_TM_MAX_CHANNEL_USE_SET(ptr,val) WMI_SET_BITS((ptr)->tm_max_channel_use, 0, 14, val)
- #define WMI_NDL_TM_CHANNEL_USE_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->tm_channel_use_ac, acprio, SIZE_NDLTYPE_CHANNELUSE)
- #define WMI_NDL_TM_CHANNEL_USE_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->tm_channel_use_ac, acprio, SIZE_NDLTYPE_CHANNELUSE, val)
- #define WMI_NDL_MIN_CHANNEL_LOAD_GET(ptr) WMI_GET_BITS((ptr)->min_max_channel_load, 0, 11)
- #define WMI_NDL_MIN_CHANNEL_LOAD_SET(ptr,val) WMI_SET_BITS((ptr)->min_max_channel_load, 0, 11, val)
- #define WMI_NDL_MAX_CHANNEL_LOAD_GET(ptr) WMI_GET_BITS((ptr)->min_max_channel_load, 11, 11)
- #define WMI_NDL_MAX_CHANNEL_LOAD_SET(ptr,val) WMI_SET_BITS((ptr)->min_max_channel_load, 11, 11, val)
- #define WMI_NDL_NUM_QUEUE_GET(ptr) WMI_GET_BITS((ptr)->transmit_queue_parameters, 0, 4)
- #define WMI_NDL_NUM_QUEUE_SET(ptr,val) WMI_SET_BITS((ptr)->transmit_queue_parameters, 0, 4, val)
- #define WMI_NDL_REF_QUEUE_STATUS_GET(ptr,acprio) WMI_GET_BITS((ptr)->transmit_queue_parameters, (4 + (acprio * 2)), 2)
- #define WMI_NDL_REF_QUEUE_STATUS_SET(ptr,acprio,val) WMI_SET_BITS((ptr)->transmit_queue_parameters, (4 + (acprio * 2)), 2, val)
- #define WMI_NDL_REF_QUEUE_LEN_GET(ptr,acprio) wmi_packed_arr_get_bits((ptr)->numberElements, acprio, SIZE_NDLTYPE_NUMBERELEMENTS)
- #define WMI_NDL_REF_QUEUE_LEN_SET(ptr,acprio,val) wmi_packed_arr_set_bits((ptr)->numberElements, acprio, SIZE_NDLTYPE_NUMBERELEMENTS, val)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 num_channel;
-
-
- } wmi_dcc_update_ndl_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- A_UINT32 status;
- } wmi_dcc_update_ndl_resp_event_fixed_param;
- typedef enum {
- TSF_TSTAMP_CAPTURE_REQ = 1,
- TSF_TSTAMP_CAPTURE_RESET = 2,
- TSF_TSTAMP_READ_VALUE = 3,
- TSF_TSTAMP_QTIMER_CAPTURE_REQ = 4,
- TSF_TSTAMP_AUTO_REPORT_ENABLE = 5,
- TSF_TSTAMP_AUTO_REPORT_DISABLE = 6,
- } wmi_tsf_tstamp_action;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 tsf_action;
- } wmi_vdev_tsf_tstamp_action_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 tsf_low;
-
- A_UINT32 tsf_high;
-
- A_UINT32 qtimer_low;
-
- A_UINT32 qtimer_high;
-
- A_UINT32 tsf_id;
- A_UINT32 tsf_id_valid;
-
- A_UINT32 mac_id;
- A_UINT32 mac_id_valid;
-
- A_UINT32 wlan_global_tsf_low;
-
- A_UINT32 wlan_global_tsf_high;
- } wmi_vdev_tsf_report_event_fixed_param;
- #define WMI_SET_VDEV_IE_ID_SCAN_SET_DEFAULT_IE 256
- #define WMI_SET_VDEV_IE_SOURCE_HOST 0x0
- typedef enum {
- WMI_SET_VDEV_IE_BAND_ALL = 0,
- WMI_SET_VDEV_IE_BAND_2_4GHZ,
- WMI_SET_VDEV_IE_BAND_5GHZ,
- } wmi_set_vdev_ie_band;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 ie_id;
-
- A_UINT32 ie_len;
-
- A_UINT32 ie_source;
-
- A_UINT32 band;
-
- } wmi_vdev_set_ie_cmd_fixed_param;
- #define MAX_MAC_HEADER_LEN 32
- typedef enum {
- WMI_ENCRYPT_DECRYPT_FLAG_INVALID,
- WMI_ENCRYPT = 1,
- WMI_DECRYPT = 2,
- } WMI_ENCRYPT_DECRYPT_FLAG;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- A_UINT32 key_flag;
- A_UINT32 key_idx;
- A_UINT32 key_cipher;
- A_UINT32 key_len;
- A_UINT32 key_txmic_len;
- A_UINT32 key_rxmic_len;
-
- A_UINT8 key_data[WMI_MAX_KEY_LEN];
-
- A_UINT8 pn[8];
-
- A_UINT8 mac_hdr[MAX_MAC_HEADER_LEN];
- A_UINT32 data_len;
-
- } wmi_vdev_encrypt_decrypt_data_req_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- A_INT32 status;
-
- A_UINT32 data_length;
-
- } wmi_vdev_encrypt_decrypt_data_resp_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
-
- A_UINT32 num_chan;
- } wmi_soc_set_pcl_cmd_fixed_param;
- typedef enum {
- WMI_PCL_WEIGHT_DISALLOW = 0,
- WMI_PCL_WEIGHT_LOW = 1,
- WMI_PCL_WEIGHT_MEDIUM = 2,
- WMI_PCL_WEIGHT_HIGH = 3,
- WMI_PCL_WEIGHT_VERY_HIGH = 4,
- } wmi_pcl_chan_weight;
- typedef struct {
- A_UINT32 tlv_header;
-
-
- A_UINT32 pdev_id;
-
- A_UINT32 num_chan;
- } wmi_pdev_set_pcl_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
-
- A_UINT32 hw_mode_index;
- } wmi_soc_set_hw_mode_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 start_freq;
-
- A_UINT32 end_freq;
- } wmi_pdev_band_to_mac;
- typedef struct {
- A_UINT32 tlv_header;
-
-
- A_UINT32 pdev_id;
-
- A_UINT32 hw_mode_index;
-
- A_UINT32 num_band_to_mac;
-
- } wmi_pdev_set_hw_mode_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
-
- A_UINT32 concurrent_scan_config_bits;
-
- A_UINT32 fw_mode_config_bits;
- } wmi_soc_set_dual_mac_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
-
- A_UINT32 pdev_id;
-
- A_UINT32 concurrent_scan_config_bits;
-
- A_UINT32 fw_mode_config_bits;
- } wmi_pdev_set_mac_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 num_tx_chains;
- A_UINT32 num_rx_chains;
- A_UINT32 reserved[2];
- } soc_num_tx_rx_chains;
- typedef struct {
- A_UINT32 num_tx_chains_2g;
- A_UINT32 num_rx_chains_2g;
- A_UINT32 num_tx_chains_5g;
- A_UINT32 num_rx_chains_5g;
- } band_num_tx_rx_chains;
- typedef union {
- soc_num_tx_rx_chains soc_txrx_chain_setting;
- band_num_tx_rx_chains band_txrx_chain_setting;
- } antenna_num_tx_rx_chains;
- typedef enum {
- ANTENNA_MODE_DISABLED = 0x0,
- ANTENNA_MODE_LOW_POWER_LOCATION_SCAN = 0x01,
-
- } antenna_mode_reason;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 reason;
-
- antenna_num_tx_rx_chains num_txrx_chains_setting;
- } wmi_soc_set_antenna_mode_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 num_txrx_chains;
- } wmi_pdev_set_antenna_mode_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 mac_id;
- } wmi_soc_set_hw_mode_response_vdev_mac_entry;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- A_UINT32 vdev_id;
- } wmi_pdev_set_hw_mode_response_vdev_mac_entry;
- typedef struct {
- A_UINT32 tlv_header;
-
-
-
- A_UINT32 status;
-
- A_UINT32 cfgd_hw_mode_index;
-
- A_UINT32 num_vdev_mac_entries;
- } wmi_soc_set_hw_mode_response_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
-
- A_UINT32 pdev_id;
-
-
- A_UINT32 status;
-
- A_UINT32 cfgd_hw_mode_index;
-
- A_UINT32 num_vdev_mac_entries;
- } wmi_pdev_set_hw_mode_response_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
-
- A_UINT32 old_hw_mode_index;
-
- A_UINT32 new_hw_mode_index;
-
- A_UINT32 num_vdev_mac_entries;
- } wmi_soc_hw_mode_transition_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
-
- A_UINT32 pdev_id;
-
- A_UINT32 old_hw_mode_index;
-
- A_UINT32 new_hw_mode_index;
-
- A_UINT32 num_vdev_mac_entries;
- } wmi_pdev_hw_mode_transition_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 tid;
- A_UINT32 queue_ptr_lo;
- A_UINT32 queue_ptr_hi;
- A_UINT32 queue_no;
- A_UINT32 ba_window_size_valid;
- A_UINT32 ba_window_size;
- } wmi_peer_reorder_queue_setup_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 tid_mask;
- } wmi_peer_reorder_queue_remove_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
-
-
- A_UINT32 status;
- } wmi_soc_set_dual_mac_config_response_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
-
- A_UINT32 pdev_id;
-
-
- A_UINT32 status;
- } wmi_pdev_set_mac_config_response_event_fixed_param;
- typedef enum {
- MAWC_MOTION_STATE_UNKNOWN,
- MAWC_MOTION_STATE_STATIONARY,
- MAWC_MOTION_STATE_WALK,
- MAWC_MOTION_STATE_TRANSIT,
- } MAWC_MOTION_STATE;
- typedef enum {
- MAWC_SENSOR_STATUS_OK,
- MAWC_SENSOR_STATUS_FAILED_TO_ENABLE,
- MAWC_SENSOR_STATUS_SHUTDOWN,
- } MAWC_SENSOR_STATUS;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 motion_state;
-
- A_UINT32 sensor_status;
- } wmi_mawc_sensor_report_ind_cmd_fixed_param;
- #define WMI_ROAM_MBO_FLAG_MBO_ONLY_MODE (1<<0)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 enable;
-
- A_UINT32 flags;
- } wmi_roam_set_mbo_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 cur_op_class;
-
- A_UINT8 country_str[4];
-
- A_UINT32 supp_op_class_num;
-
-
- } wmi_supported_operating_class_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 non_prefer_ch_attr_len;
-
-
- } wmi_mbo_non_preferred_channel_report_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 enable;
- } wmi_mawc_enable_sensor_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 enable;
-
- A_UINT32 suppress_ratio;
- } wmi_extscan_configure_mawc_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 enable;
-
- A_UINT32 high_rate_thresh;
- A_UINT32 low_rate_thresh;
- A_UINT32 pkt_err_rate_thresh_pct;
-
- A_UINT32 per_rest_time;
-
- A_UINT32 pkt_err_rate_mon_time;
-
- A_INT32 min_candidate_rssi;
- } wmi_roam_per_config_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 enable;
-
- A_UINT32 exp_backoff_ratio;
-
- A_UINT32 init_scan_interval;
-
- A_UINT32 max_scan_interval;
- } wmi_nlo_configure_mawc_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 enable;
-
- A_UINT32 traffic_load_threshold;
-
- A_UINT32 best_ap_rssi_threshold;
-
- A_UINT32 rssi_stationary_high_adjust;
-
- A_UINT32 rssi_stationary_low_adjust;
- } wmi_roam_configure_mawc_cmd_fixed_param;
- #define WMI_PACKET_FILTER_COMPARE_DATA_LEN_DWORD 2
- #define WMI_PACKET_FILTER_MAX_CMP_PER_PACKET_FILTER 5
- typedef enum {
- PACKET_FILTER_TYPE_INVALID = 0,
- PACKET_FILTER_TYPE_FILTER_PKT,
- PACKET_FILTER_TYPE_RESERVE_PKT,
- PACKET_FILTER_TYPE_MAX_ENUM_SIZE
- } WMI_PACKET_FILTER_FILTER_TYPE;
- typedef enum {
- PACKET_FILTER_PROTO_TYPE_INVALID = 0,
-
- PACKET_FILTER_PROTO_TYPE_MAC,
- PACKET_FILTER_PROTO_TYPE_SNAP,
-
- PACKET_FILTER_PROTO_TYPE_IPV4,
- PACKET_FILTER_PROTO_TYPE_IPV6,
-
- PACKET_FILTER_PROTO_TYPE_UDP,
- PACKET_FILTER_PROTO_TYPE_TCP,
- PACKET_FILTER_PROTO_TYPE_ICMPV6,
- PACKET_FILTER_PROTO_TYPE_MAX
- } WMI_PACKET_FILTER_PROTO_TYPE;
- typedef enum {
- PACKET_FILTER_CMP_TYPE_INVALID = 0,
- PACKET_FILTER_CMP_TYPE_EQUAL,
- PACKET_FILTER_CMP_TYPE_MASK_EQUAL,
- PACKET_FILTER_CMP_TYPE_NOT_EQUAL,
- PACKET_FILTER_CMP_TYPE_MASK_NOT_EQUAL,
- PACKET_FILTER_CMP_TYPE_ADDRTYPE,
- PACKET_FILTER_CMP_TYPE_MAX
- } WMI_PACKET_FILTER_CMP_TYPE;
- typedef enum {
- PACKET_FILTER_SET_INACTIVE = 0,
- PACKET_FILTER_SET_ACTIVE
- } WMI_PACKET_FILTER_ACTION;
- typedef enum {
- PACKET_FILTER_SET_DISABLE = 0,
- PACKET_FILTER_SET_ENABLE
- } WMI_PACKET_FILTER_RUNTIME_ENABLE;
- typedef struct {
- A_UINT32 proto_type;
- A_UINT32 cmp_type;
- A_UINT32 data_length;
- A_UINT32 data_offset;
- A_UINT32 compareData[WMI_PACKET_FILTER_COMPARE_DATA_LEN_DWORD];
- A_UINT32 dataMask[WMI_PACKET_FILTER_COMPARE_DATA_LEN_DWORD];
- } WMI_PACKET_FILTER_PARAMS_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 filter_id;
- A_UINT32 filter_action;
- A_UINT32 filter_type;
- A_UINT32 num_params;
- A_UINT32 coalesce_time;
- WMI_PACKET_FILTER_PARAMS_TYPE paramsData[WMI_PACKET_FILTER_MAX_CMP_PER_PACKET_FILTER];
-
- WMI_PACKET_FILTER_PARAMS_TYPE deprecated0[5];
- } WMI_PACKET_FILTER_CONFIG_CMD_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 enable;
- } WMI_PACKET_FILTER_ENABLE_CMD_fixed_param;
- #define WMI_LRO_INFO_TCP_FLAG_VALS_BITPOS 0
- #define WMI_LRO_INFO_TCP_FLAG_VALS_NUMBITS 9
- #define WMI_LRO_INFO_TCP_FLAG_VALS_SET(tcp_flag_u32, tcp_flag_values) \
- WMI_SET_BITS(tcp_flag_u32, \
- WMI_LRO_INFO_TCP_FLAG_VALS_BITPOS, \
- WMI_LRO_INFO_TCP_FLAG_VALS_NUMBITS, \
- tcp_flag_values)
- #define WMI_LRO_INFO_TCP_FLAG_VALS_GET(tcp_flag_u32) \
- WMI_GET_BITS(tcp_flag_u32, \
- WMI_LRO_INFO_TCP_FLAG_VALS_BITPOS, \
- WMI_LRO_INFO_TCP_FLAG_VALS_NUMBITS)
- #define WMI_LRO_INFO_TCP_FLAGS_MASK_BITPOS 9
- #define WMI_LRO_INFO_TCP_FLAGS_MASK_NUMBITS 9
- #define WMI_LRO_INFO_TCP_FLAGS_MASK_SET(tcp_flag_u32, tcp_flags_mask) \
- WMI_SET_BITS(tcp_flag_u32, \
- WMI_LRO_INFO_TCP_FLAGS_MASK_BITPOS, \
- WMI_LRO_INFO_TCP_FLAGS_MASK_NUMBITS, \
- tcp_flags_mask)
- #define WMI_LRO_INFO_TCP_FLAGS_MASK_GET(tcp_flag_u32) \
- WMI_GET_BITS(tcp_flag_u32, \
- WMI_LRO_INFO_TCP_FLAGS_MASK_BITPOS, \
- WMI_LRO_INFO_TCP_FLAGS_MASK_NUMBITS)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 lro_enable;
-
- A_UINT32 tcp_flag_u32;
-
- A_UINT32 toeplitz_hash_ipv4_0_3;
-
- A_UINT32 toeplitz_hash_ipv4_4_7;
-
- A_UINT32 toeplitz_hash_ipv4_8_11;
-
- A_UINT32 toeplitz_hash_ipv4_12_15;
-
- A_UINT32 toeplitz_hash_ipv4_16;
-
- A_UINT32 toeplitz_hash_ipv6_0_3;
-
- A_UINT32 toeplitz_hash_ipv6_4_7;
-
- A_UINT32 toeplitz_hash_ipv6_8_11;
-
- A_UINT32 toeplitz_hash_ipv6_12_15;
-
- A_UINT32 toeplitz_hash_ipv6_16_19;
-
- A_UINT32 toeplitz_hash_ipv6_20_23;
-
- A_UINT32 toeplitz_hash_ipv6_24_27;
-
- A_UINT32 toeplitz_hash_ipv6_28_31;
-
- A_UINT32 toeplitz_hash_ipv6_32_35;
-
- A_UINT32 toeplitz_hash_ipv6_36_39;
-
- A_UINT32 toeplitz_hash_ipv6_40;
-
- A_UINT32 pdev_id;
- } wmi_lro_info_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 offset;
- A_UINT32 length;
- } wmi_transfer_data_to_flash_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 status;
- } wmi_transfer_data_to_flash_complete_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 offset;
- A_UINT32 length;
- } wmi_read_data_from_flash_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 status;
- A_UINT32 offset;
- A_UINT32 length;
- } wmi_read_data_from_flash_event_fixed_param;
- typedef enum {
- ENHANCED_MCAST_FILTER_DISABLED,
- ENHANCED_MCAST_FILTER_ENABLED
- } ENHANCED_MCAST_FILTER_CONFIG;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 enable;
- } wmi_config_enhanced_mcast_filter_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 wisa_mode;
- } wmi_vdev_wisa_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 status;
- } wmi_sta_smps_force_mode_complete_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 num_patch;
- } wmi_scpc_event_fixed_param;
- typedef enum {
- FW_ACTIVE_BPF_MODE_DISABLE = (1 << 1),
- FW_ACTIVE_BPF_MODE_FORCE_ENABLE = (1 << 2),
- FW_ACTIVE_BPF_MODE_ADAPTIVE_ENABLE = (1 << 3),
- } FW_ACTIVE_BPF_MODE;
- typedef struct wmi_bpf_get_capability_cmd_s {
- A_UINT32 tlv_header;
- A_UINT32 reserved;
- } wmi_bpf_get_capability_cmd_fixed_param;
- typedef struct wmi_bpf_capability_info_evt_s {
- A_UINT32 tlv_header;
- A_UINT32 bpf_version;
- A_UINT32 max_bpf_filters;
- A_UINT32 max_bytes_for_bpf_inst;
- A_UINT32 fw_active_bpf_support_mcbc_modes;
- A_UINT32 fw_active_bpf_support_uc_modes;
- } wmi_bpf_capability_info_evt_fixed_param;
- #define WMI_BPF_GET_VDEV_STATS_FLAG_CTR_S 0
- #define WMI_BPF_GET_VDEV_STATS_FLAG_CTR_M 0x1
- typedef struct wmi_bpf_get_vdev_stats_cmd_s {
- A_UINT32 tlv_header;
- A_UINT32 flags;
- A_UINT32 vdev_id;
- } wmi_bpf_get_vdev_stats_cmd_fixed_param;
- typedef struct wmi_bpf_vdev_stats_info_evt_s {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 num_filters;
- A_UINT32 num_checked_pkts;
- A_UINT32 num_dropped_pkts;
- } wmi_bpf_vdev_stats_info_evt_fixed_param;
- typedef struct wmi_bpf_set_vdev_instructions_cmd_s {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 filter_id;
- A_UINT32 bpf_version;
- A_UINT32 total_length;
- A_UINT32 current_offset;
- A_UINT32 current_length;
- } wmi_bpf_set_vdev_instructions_cmd_fixed_param;
- #define BPF_FILTER_ID_ALL 0xFFFFFFFF
- typedef struct wmi_bpf_del_vdev_instructions_cmd_s {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 filter_id;
- } wmi_bpf_del_vdev_instructions_cmd_fixed_param;
- typedef struct wmi_bpf_set_vdev_active_mode_cmd_s {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 mcbc_mode;
- A_UINT32 uc_mode;
- } wmi_bpf_set_vdev_active_mode_cmd_fixed_param;
- typedef struct wmi_bpf_set_vdev_enable_cmd_s {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 is_enabled;
- } wmi_bpf_set_vdev_enable_cmd_fixed_param;
- typedef struct wmi_bpf_set_vdev_work_memory_cmd_s {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 bpf_version;
- A_UINT32 program_len;
- A_UINT32 addr_offset;
- A_UINT32 length;
- } wmi_bpf_set_vdev_work_memory_cmd_fixed_param;
- typedef struct wmi_bpf_get_vdev_work_memory_cmd_s {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 addr_offset;
- A_UINT32 length;
- } wmi_bpf_get_vdev_work_memory_cmd_fixed_param;
- typedef struct wmi_bpf_get_vdev_work_memory_resp_evt_s {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 offset;
- A_UINT32 length;
- A_UINT32 fragment;
- } wmi_bpf_get_vdev_work_memory_resp_evt_fixed_param;
- #define AES_BLOCK_LEN 16
- #define FIPS_KEY_LENGTH_128 16
- #define FIPS_KEY_LENGTH_256 32
- #define FIPS_ENCRYPT_CMD 0
- #define FIPS_DECRYPT_CMD 1
- #define FIPS_ENGINE_AES_CTR 0
- #define FIPS_ENGINE_AES_MIC 1
- #define FIPS_ERROR_OPER_TIMEOUT 1
- typedef struct {
- A_UINT32 tlv_header;
- union {
- A_UINT32 mac_id;
-
- A_UINT32 pdev_id;
- };
- A_UINT32 fips_cmd;
- A_UINT32 mode;
- A_UINT32 key_len;
- A_UINT8 key[WMI_MAX_KEY_LEN];
- A_UINT32 data_len;
- } wmi_pdev_fips_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- union {
- A_UINT32 mac_id;
-
- A_UINT32 pdev_id;
- };
- A_UINT32 enable;
- A_UINT32 mode;
- A_UINT32 rx_antenna;
- A_UINT32 tx_default_antenna;
-
- } wmi_pdev_smart_ant_enable_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 gpio_pin;
- A_UINT32 gpio_func;
-
- A_UINT32 pdev_id;
- } wmi_pdev_smart_ant_gpio_handle;
- typedef struct {
- A_UINT32 tlv_header;
- union {
- A_UINT32 mac_id;
-
- A_UINT32 pdev_id;
- };
- A_UINT32 rx_antenna;
- } wmi_pdev_smart_ant_set_rx_antenna_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- } wmi_peer_smart_ant_set_tx_antenna_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 antenna_series;
- } wmi_peer_smart_ant_set_tx_antenna_series;
- typedef struct {
- A_UINT32 tlv_header;
-
- union {
-
- A_UINT32 train_rate_series;
-
- A_UINT32 train_rate_series_lo;
- };
-
- A_UINT32 train_antenna_series;
-
-
- A_UINT32 rc_flags;
-
- A_UINT32 train_rate_series_hi;
- } wmi_peer_smart_ant_set_train_antenna_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 num_pkts;
-
- } wmi_peer_smart_ant_set_train_antenna_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 cmd_id;
-
- A_UINT32 args_count;
- } wmi_peer_smart_ant_set_node_config_ops_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 antCtrlChain;
-
- A_UINT32 pdev_id;
- } wmi_pdev_set_ant_ctrl_chain;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 mac_id;
- A_UINT32 antCtrlCommon1;
- A_UINT32 antCtrlCommon2;
-
- } wmi_pdev_set_ant_switch_tbl_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- union {
- A_UINT32 mac_id;
-
- A_UINT32 pdev_id;
- };
-
- A_UINT32 ctl_len;
-
- } wmi_pdev_set_ctl_table_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 sar_len;
-
- A_UINT32 dbs_backoff_len;
-
- } wmi_pdev_set_bios_sar_table_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 geo_len;
-
- } wmi_pdev_set_bios_geo_table_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- union {
- A_UINT32 mac_id;
-
- A_UINT32 pdev_id;
- };
- A_UINT32 mimogain_info;
-
-
- } wmi_pdev_set_mimogain_table_cmd_fixed_param;
- #define WMI_MIMOGAIN_ARRAY_GAIN_LEN_S 0
- #define WMI_MIMOGAIN_ARRAY_GAIN_LEN (0xff << WMI_MIMOGAIN_ARRAY_GAIN_LEN_S)
- #define WMI_MIMOGAIN_ARRAY_GAIN_LEN_GET(x) WMI_F_MS(x,WMI_MIMOGAIN_ARRAY_GAIN_LEN)
- #define WMI_MIMOGAIN_ARRAY_GAIN_LEN_SET(x,z) WMI_F_RMW(x,z,WMI_MIMOGAIN_ARRAY_GAIN_LEN)
- #define WMI_MIMOGAIN_MULTI_CHAIN_BYPASS_S 8
- #define WMI_MIMOGAIN_MULTI_CHAIN_BYPASS (0x1 << WMI_MIMOGAIN_MULTI_CHAIN_BYPASS_S)
- #define WMI_MIMOGAIN_MULTI_CHAIN_BYPASS_GET(x) WMI_F_MS(x,WMI_MIMOGAIN_MULTI_CHAIN_BYPASS)
- #define WMI_MIMOGAIN_MULTI_CHAIN_BYPASS_SET(x,z) WMI_F_RMW(x,z,WMI_MIMOGAIN_MULTI_CHAIN_BYPASS)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 param_id;
-
- A_UINT32 param_value;
- } wmi_fwtest_set_param_cmd_fixed_param;
- #define WMI_ATF_DENOMINATION 1000
- #define WMI_ATF_SSID_FAIR_SCHED 0
- #define WMI_ATF_SSID_STRICT_SCHED 1
- #define WMI_ATF_SSID_FAIR_SCHED_WITH_UB 2
- typedef struct {
-
- A_UINT32 tlv_header;
- wmi_mac_addr peer_macaddr;
- A_UINT32 atf_units;
- A_UINT32 atf_groupid;
- A_UINT32 atf_units_reserved;
- A_UINT32 vdev_id;
- A_UINT32 pdev_id;
- } wmi_atf_peer_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_peers;
-
- } wmi_peer_atf_request_fixed_param;
- #define WMI_ATF_GROUP_SCHED_POLICY_BIT_POS 0
- #define WMI_ATF_GROUP_SCHED_POLICY_NUM_BITS 4
- #define WMI_ATF_GROUP_GET_GROUP_SCHED_POLICY(atf_group_flags) \
- WMI_GET_BITS(atf_group_flags,WMI_ATF_GROUP_SCHED_POLICY_BIT_POS,WMI_ATF_GROUP_SCHED_POLICY_NUM_BITS)
- #define WMI_ATF_GROUP_SET_GROUP_SCHED_POLICY(atf_group_flags,val) \
- WMI_SET_BITS(atf_group_flags,WMI_ATF_GROUP_SCHED_POLICY_BIT_POS,WMI_ATF_GROUP_SCHED_POLICY_NUM_BITS,val)
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 atf_group_id;
-
- A_UINT32 atf_group_units;
-
- A_UINT32 atf_group_flags;
- } wmi_atf_group_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- } wmi_atf_ssid_grp_request_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 atf_group_id;
- A_UINT32 atf_units_be;
- A_UINT32 atf_units_bk;
- A_UINT32 atf_units_vi;
- A_UINT32 atf_units_vo;
- } wmi_atf_group_wmm_ac_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- } wmi_atf_grp_wmm_ac_cfg_request_fixed_param;
- #define WMI_VDEV_LATENCY_TIDNUM_BIT_POS 0
- #define WMI_VDEV_LATENCY_TIDNUM_NUM_BITS 8
- #define WMI_VDEV_LATENCY_GET_TIDNUM(vdev_latency_info) \
- WMI_GET_BITS(vdev_latency_info, WMI_VDEV_LATENCY_TIDNUM_BIT_POS, WMI_VDEV_LATENCY_TIDNUM_NUM_BITS)
- #define WMI_VDEV_LATENCY_SET_TIDNUM(vdev_latency_info,val) \
- WMI_SET_BITS(vdev_latency_info, WMI_VDEV_LATENCY_TIDNUM_BIT_POS, WMI_VDEV_LATENCY_TIDNUM_NUM_BITS, val)
- #define WMI_VDEV_LATENCY_AC_BIT_POS 8
- #define WMI_VDEV_LATENCY_AC_NUM_BITS 2
- #define WMI_VDEV_LATENCY_GET_AC(vdev_latency_info) \
- WMI_GET_BITS(vdev_latency_info, WMI_VDEV_LATENCY_AC_BIT_POS, WMI_VDEV_LATENCY_AC_NUM_BITS)
- #define WMI_VDEV_LATENCY_SET_AC(vdev_latency_info,val) \
- WMI_SET_BITS(vdev_latency_info, WMI_VDEV_LATENCY_AC_BIT_POS, WMI_VDEV_LATENCY_AC_NUM_BITS, val)
- #define WMI_VDEV_LATENCY_DL_VALID_BIT_POS 10
- #define WMI_VDEV_LATENCY_DL_VALID_NUM_BITS 1
- #define WMI_VDEV_LATENCY_GET_DL_VALID(vdev_latency_info) \
- WMI_GET_BITS(vdev_latency_info, WMI_VDEV_LATENCY_DL_VALID_BIT_POS, WMI_VDEV_LATENCY_DL_VALID_NUM_BITS)
- #define WMI_VDEV_LATENCY_SET_DL_VALID(vdev_latency_info,val) \
- WMI_SET_BITS(vdev_latency_info, WMI_VDEV_LATENCY_DL_VALID_BIT_POS, WMI_VDEV_LATENCY_DL_VALID_NUM_BITS, val)
- #define WMI_VDEV_LATENCY_UL_VALID_BIT_POS 11
- #define WMI_VDEV_LATENCY_UL_VALID_NUM_BITS 1
- #define WMI_VDEV_LATENCY_GET_UL_VALID(vdev_latency_info) \
- WMI_GET_BITS(vdev_latency_info,WMI_VDEV_LATENCY_UL_VALID_BIT_POS, WMI_VDEV_LATENCY_UL_VALID_NUM_BITS)
- #define WMI_VDEV_LATENCY_SET_UL_VALID(vdev_latency_info,val) \
- WMI_SET_BITS(vdev_latency_info, WMI_VDEV_LATENCY_UL_VALID_BIT_POS, WMI_VDEV_LATENCY_UL_VALID_NUM_BITS, val)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 service_interval;
-
- A_UINT32 burst_size;
-
- A_UINT32 max_latency;
-
- A_UINT32 max_per;
-
- A_UINT32 min_tput;
-
- A_UINT32 vdev_latency_info;
- } wmi_vdev_latency_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 vdev_id;
-
- } wmi_vdev_tid_latency_config_fixed_param;
- #define WMI_TID_LATENCY_TIDNUM_BIT_POS 0
- #define WMI_TID_LATENCY_TIDNUM_NUM_BITS 8
- #define WMI_TID_LATENCY_GET_TIDNUM(latency_tid_info) \
- WMI_GET_BITS(latency_tid_info, WMI_TID_LATENCY_TIDNUM_BIT_POS, WMI_TID_LATENCY_TIDNUM_NUM_BITS)
- #define WMI_TID_LATENCY_SET_TIDNUM(latency_tid_info,val) \
- WMI_SET_BITS(latency_tid_info, WMI_TID_LATENCY_TIDNUM_BIT_POS, WMI_TID_LATENCY_TIDNUM_NUM_BITS, val)
- #define WMI_TID_LATENCY_AC_BIT_POS 8
- #define WMI_TID_LATENCY_AC_NUM_BITS 2
- #define WMI_TID_LATENCY_GET_AC(latency_tid_info) \
- WMI_GET_BITS(latency_tid_info, WMI_TID_LATENCY_AC_BIT_POS , WMI_TID_LATENCY_AC_NUM_BITS)
- #define WMI_TID_LATENCY_SET_AC(latency_tid_info,val) \
- WMI_SET_BITS(latency_tid_info, WMI_TID_LATENCY_AC_BIT_POS , WMI_TID_LATENCY_AC_NUM_BITS, val)
- #define WMI_TID_LATENCY_DL_ENABLE_BIT_POS 10
- #define WMI_TID_LATENCY_DL_ENABLE_NUM_BITS 1
- #define WMI_TID_LATENCY_GET_DL_ENABLE(latency_tid_info) \
- WMI_GET_BITS(latency_tid_info,WMI_TID_LATENCY_DL_ENABLE_BIT_POS, WMI_TID_LATENCY_DL_ENABLE_NUM_BITS)
- #define WMI_TID_LATENCY_SET_DL_ENABLE(latency_tid_info,val) \
- WMI_SET_BITS(latency_tid_info,WMI_TID_LATENCY_DL_ENABLE_BIT_POS, WMI_TID_LATENCY_DL_ENABLE_NUM_BITS, val)
- #define WMI_TID_LATENCY_UL_ENABLE_BIT_POS 11
- #define WMI_TID_LATENCY_UL_ENABLE_NUM_BITS 1
- #define WMI_TID_LATENCY_GET_UL_ENABLE(latency_tid_info) \
- WMI_GET_BITS(latency_tid_info,WMI_TID_LATENCY_UL_ENABLE_BIT_POS, WMI_TID_LATENCY_UL_ENABLE_NUM_BITS)
- #define WMI_TID_LATENCY_SET_UL_ENABLE(latency_tid_info,val) \
- WMI_SET_BITS(latency_tid_info,WMI_TID_LATENCY_UL_ENABLE_BIT_POS, WMI_TID_LATENCY_UL_ENABLE_NUM_BITS, val)
- #define WMI_LATENCY_BURST_SIZE_SUM_BIT_POS 12
- #define WMI_LATENCY_BURST_SIZE_SUM_NUM_BITS 2
- #define WMI_LATENCY_GET_BURST_SIZE_SUM(latency_tid_info) \
- WMI_GET_BITS(latency_tid_info, WMI_LATENCY_BURST_SIZE_SUM_BIT_POS, WMI_LATENCY_BURST_SIZE_SUM_NUM_BITS)
- #define WMI_LATENCY_SET_BURST_SIZE_SUM(latency_tid_info,val) \
- WMI_SET_BITS(latency_tid_info, WMI_LATENCY_BURST_SIZE_SUM_BIT_POS, WMI_LATENCY_BURST_SIZE_SUM_NUM_BITS, val)
- #define WMI_LATENCY_MSDUQ_ID_BIT_POS 14
- #define WMI_LATENCY_MSDUQ_ID_NUM_BITS 4
- #define WMI_LATENCY_GET_MSDUQ_ID(latency_tid_info) \
- WMI_GET_BITS(latency_tid_info, WMI_LATENCY_MSDUQ_ID_BIT_POS, WMI_LATENCY_MSDUQ_ID_NUM_BITS)
- #define WMI_LATENCY_SET_MSDUQ_ID(latency_tid_info,val) \
- WMI_SET_BITS(latency_tid_info, WMI_LATENCY_MSDUQ_ID_BIT_POS, WMI_LATENCY_MSDUQ_ID_NUM_BITS, val)
- typedef struct {
-
- A_UINT32 tlv_header;
- wmi_mac_addr dest_macaddr;
-
- A_UINT32 service_interval;
-
- A_UINT32 burst_size_diff;
-
- A_UINT32 max_latency;
-
- A_UINT32 max_per;
-
- A_UINT32 min_tput;
-
- A_UINT32 latency_tid_info;
- } wmi_tid_latency_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- } wmi_peer_tid_latency_config_fixed_param;
- #define WMI_ATF_GROUP_CFG_PEER_BIT_POS 0
- #define WMI_ATF_GROUP_CFG_PEER_NUM_BITS 1
- #define WMI_ATF_GROUP_GET_CFG_PEER_BIT(atf_peer_flags) \
- WMI_GET_BITS(atf_peer_flags,WMI_ATF_GROUP_CFG_PEER_BIT_POS,WMI_ATF_GROUP_CFG_PEER_NUM_BITS)
- #define WMI_ATF_GROUP_SET_CFG_PEER_BIT(atf_peer_flags,val) \
- WMI_SET_BITS(atf_peer_flags,WMI_ATF_GROUP_CFG_PEER_BIT_POS,WMI_ATF_GROUP_CFG_PEER_NUM_BITS,val)
- typedef struct {
-
- A_UINT32 tlv_header;
- wmi_mac_addr peer_macaddr;
- A_UINT32 atf_group_id;
-
- A_UINT32 atf_peer_flags;
- } wmi_peer_atf_ext_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- } wmi_peer_atf_ext_request_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- wmi_mac_addr peer_macaddr;
- A_UINT32 bwf_guaranteed_bandwidth;
- A_UINT32 bwf_max_airtime;
- A_UINT32 bwf_peer_priority;
- A_UINT32 vdev_id;
- A_UINT32 pdev_id;
- } wmi_bwf_peer_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_peers;
-
- } wmi_peer_bwf_request_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 peer_atf_units;
- A_UINT32 pdev_id;
- } wmi_vdev_atf_request_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 param;
- } wmi_pdev_get_ani_cck_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 param;
- } wmi_pdev_get_ani_ofdm_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 qb_enable;
- wmi_mac_addr peer_macaddr;
- } WMI_QBOOST_CFG_CMD_fixed_param;
- #define WMI_INST_STATS_INVALID_RSSI 0
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 iRSSI;
-
- wmi_mac_addr peer_macaddr;
- A_UINT32 vdev_id;
- } wmi_inst_rssi_stats_resp_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 ratecode_legacy;
- } wmi_peer_cck_ofdm_rate_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 ratecode_20;
- A_UINT32 ratecode_40;
- A_UINT32 ratecode_80;
- } wmi_peer_mcs_rate_info;
- typedef struct {
- A_UINT32 tlv_header;
- wmi_mac_addr peer_macaddr;
- A_UINT32 ratecount;
- A_UINT32 vdev_id;
- A_UINT32 pdev_id;
-
- } wmi_peer_ratecode_list_event_fixed_param;
- typedef struct wmi_wds_addr_event {
- A_UINT32 tlv_header;
- A_UINT32 event_type[4];
- wmi_mac_addr peer_mac;
- wmi_mac_addr dest_mac;
- A_UINT32 vdev_id;
- } wmi_wds_addr_event_fixed_param;
- typedef enum {
-
- WMI_PEER_PS_VALID_SUPPORTED = 0x00000001,
-
- WMI_PEER_PS_TIMESTAMP_SUPPORTED = 0x00000002,
- } WMI_PEER_PS_SUPPORTED_BITMAP;
- typedef struct {
- A_UINT32 tlv_header;
- wmi_mac_addr peer_macaddr;
- A_UINT32 peer_ps_state;
-
-
- A_UINT32 peer_ps_supported_bitmap;
-
- A_UINT32 peer_ps_valid;
-
- A_UINT32 peer_ps_timestamp;
- } wmi_peer_sta_ps_statechange_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- union {
- A_UINT32 mac_id;
-
- A_UINT32 pdev_id;
- };
- A_UINT32 error_status;
- A_UINT32 data_len;
- } wmi_pdev_fips_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- union {
- A_UINT32 mac_id;
-
- A_UINT32 pdev_id;
- };
-
- A_UINT32 noise_floor_report_iter;
-
- A_UINT32 noise_floor_total_iter;
- } wmi_pdev_channel_hopping_event_fixed_param;
- enum {
- WMI_PDEV_RESERVE_AST_ENTRY_OK,
- WMI_PDEV_RESERVE_AST_ENTRY_HASH_COLLISION,
- WMI_PDEV_RESERVE_AST_ENTRY_CROSSING_AXI_BOUNDARY,
- };
- typedef struct {
- A_UINT32 tlv_header;
- union {
- A_UINT32 mac_id;
-
- A_UINT32 pdev_id;
- };
- A_UINT32 rate_flags;
-
- A_UINT32 nss;
-
- A_UINT32 preamble;
-
- A_UINT32 hw_rate;
-
- } wmi_pdev_get_tpc_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- } wmi_pdev_get_chip_power_stats_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- } wmi_vdev_get_bcn_recv_stats_cmd_fixed_param;
- typedef enum {
- WMI_MWS_COEX_STATE = 0x01,
- WMI_MWS_COEX_DPWB_STATE,
- WMI_MWS_COEX_TDM_STATE,
- WMI_MWS_COEX_IDRX_STATE,
- WMI_MWS_COEX_ANTENNA_SHARING_STATE,
- } wmi_mws_coex_cmd_id;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 cmd_id;
- } wmi_vdev_get_mws_coex_info_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- } wmi_pdev_tpc_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- union {
- A_UINT32 mac_id;
-
- A_UINT32 pdev_id;
- };
- A_UINT32 nfdBr_len;
- A_UINT32 nfdBm_len;
- A_UINT32 freqNum_len;
-
- } wmi_pdev_nfcal_power_all_channels_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 nfdBr;
- } wmi_pdev_nfcal_power_all_channels_nfdBr;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 nfdBm;
- } wmi_pdev_nfcal_power_all_channels_nfdBm;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 freqNum;
- } wmi_pdev_nfcal_power_all_channels_freqNum;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 cck_level;
- } wmi_ani_cck_event_fixed_param;
- typedef enum wmi_power_debug_reg_fmt_type {
-
- WMI_POWER_DEBUG_REG_FMT_TYPE_ROME,
- WMI_POWER_DEBUG_REG_FMT_TYPE_MAX = 0xf,
- } WMI_POWER_DEBUG_REG_FMT_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 cumulative_sleep_time_ms;
- A_UINT32 cumulative_total_on_time_ms;
- A_UINT32 deep_sleep_enter_counter;
- A_UINT32 last_deep_sleep_enter_tstamp_ms;
- A_UINT32 debug_register_fmt;
- A_UINT32 num_debug_register;
-
- } wmi_pdev_chip_power_stats_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 total_bcn_cnt;
-
- A_UINT32 total_bmiss_cnt;
-
- A_UINT32 bmiss_bitmap[8];
- } wmi_vdev_bcn_recv_stats_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 coex_scheme_bitmap;
-
- A_UINT32 active_conflict_count;
-
- A_UINT32 potential_conflict_count;
-
- A_UINT32 chavd_group0_bitmap;
-
- A_UINT32 chavd_group1_bitmap;
-
- A_UINT32 chavd_group2_bitmap;
-
- A_UINT32 chavd_group3_bitmap;
- } wmi_vdev_get_mws_coex_state_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 current_dpwb_state;
-
- A_INT32 pnp1_value;
-
- A_UINT32 lte_dutycycle;
-
- A_INT32 sinr_wlan_on;
-
- A_INT32 sinr_wlan_off;
-
- A_UINT32 bler_count;
-
- A_UINT32 block_count;
-
- A_UINT32 wlan_rssi_level;
-
- A_INT32 wlan_rssi;
-
- A_UINT32 is_tdm_running;
- } wmi_vdev_get_mws_coex_dpwb_state_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 tdm_policy_bitmap;
-
- A_UINT32 tdm_sf_bitmap;
- } wmi_vdev_get_mws_coex_tdm_state_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 sub0_techid;
-
- A_UINT32 sub0_policy;
-
- A_UINT32 sub0_is_link_critical;
-
- A_INT32 sub0_static_power;
-
- A_INT32 sub0_rssi;
-
- A_UINT32 sub1_techid;
-
- A_UINT32 sub1_policy;
-
- A_UINT32 sub1_is_link_critical;
-
- A_INT32 sub1_static_power;
-
- A_INT32 sub1_rssi;
- } wmi_vdev_get_mws_coex_idrx_state_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 coex_flags;
-
- A_UINT32 coex_config;
-
- A_UINT32 tx_chain_mask;
-
- A_UINT32 rx_chain_mask;
-
- A_UINT32 rx_nss;
-
- A_UINT32 force_mrc;
-
- A_UINT32 rssi_type;
-
- A_INT32 chain0_rssi;
-
- A_INT32 chain1_rssi;
-
- A_INT32 combined_rssi;
-
- A_UINT32 imbalance;
-
- A_INT32 mrc_threshold;
-
- A_UINT32 grant_duration;
- } wmi_vdev_get_mws_coex_antenna_sharing_state_fixed_param;
- typedef enum wmi_chip_power_save_failure_reason_code_type {
- WMI_PROTOCOL_POWER_SAVE_FAILURE_REASON,
- WMI_HW_POWER_SAVE_FAILURE_REASON,
- WMI_CSS_LOCKED_POWER_FAILURE_REASON,
- WMI_MAC0_LOCKED_POWER_FAILURE_REASON,
- WMI_MAC1_LOCKED_POWER_FAILURE_REASON,
- WMI_POWER_SAVE_FAILURE_REASON_MAX = 0xf,
- } WMI_POWER_SAVE_FAILURE_REASON_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 power_save_failure_reason_code;
- A_UINT32 protocol_wake_lock_bitmap[4];
- } wmi_chip_power_save_failure_detected_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 ofdm_level;
- } wmi_ani_ofdm_event_fixed_param;
- #define WMI_PDEV_BE_PRIORITY_BIT (1<<0)
- #define WMI_PDEV_BK_PRIORITY_BIT (1<<1)
- #define WMI_PDEV_VI_PRIORITY_BIT (1<<2)
- #define WMI_PDEV_VO_PRIORITY_BIT (1<<3)
- #define WMI_PDEV_BEACON_PRIORITY_BIT (1<<4)
- #define WMI_PDEV_MGMT_PRIORITY_BIT (1<<5)
- #define WMI_PDEV_IS_BE_PRIORITY_SET(val) ((val) & WMI_PDEV_BE_PRIORITY_BIT)
- #define WMI_PDEV_IS_BK_PRIORITY_SET(val) ((val) & WMI_PDEV_BK_PRIORITY_BIT)
- #define WMI_PDEV_IS_VI_PRIORITY_SET(val) ((val) & WMI_PDEV_VI_PRIORITY_BIT)
- #define WMI_PDEV_IS_VO_PRIORITY_SET(val) ((val) & WMI_PDEV_VO_PRIORITY_BIT)
- #define WMI_PDEV_IS_BEACON_PRIORITY_SET(val) ((val) & WMI_PDEV_BEACON_PRIORITY_BIT)
- #define WMI_PDEV_IS_MGMT_PRIORITY_SET(val) ((val) & WMI_PDEV_MGMT_PRIORITY_BIT)
- typedef enum wmi_coex_algo_type {
- WMI_COEX_ALGO_UNCONS_FREERUN = 0,
- WMI_COEX_ALGO_FREERUN = 1,
- WMI_COEX_ALGO_OCS = 2,
- } WMI_COEX_ALGO_TYPE;
- typedef enum wmi_coex_config_type {
- WMI_COEX_CONFIG_PAGE_P2P_TDM = 1,
- WMI_COEX_CONFIG_PAGE_STA_TDM = 2,
- WMI_COEX_CONFIG_PAGE_SAP_TDM = 3,
- WMI_COEX_CONFIG_DURING_WLAN_CONN = 4,
- WMI_COEX_CONFIG_BTC_ENABLE = 5,
- WMI_COEX_CONFIG_COEX_DBG = 6,
- WMI_COEX_CONFIG_PAGE_P2P_STA_TDM = 7,
- WMI_COEX_CONFIG_INQUIRY_P2P_TDM = 8,
- WMI_COEX_CONFIG_INQUIRY_STA_TDM = 9,
- WMI_COEX_CONFIG_INQUIRY_SAP_TDM = 10,
- WMI_COEX_CONFIG_INQUIRY_P2P_STA_TDM = 11,
- WMI_COEX_CONFIG_TX_POWER = 12,
- WMI_COEX_CONFIG_PTA_CONFIG = 13,
- WMI_COEX_CONFIG_AP_TDM = 14,
- WMI_COEX_CONFIG_WLAN_SCAN_PRIORITY = 15,
- WMI_COEX_CONFIG_WLAN_PKT_PRIORITY = 16,
- WMI_COEX_CONFIG_PTA_INTERFACE = 17,
- WMI_COEX_CONFIG_BTC_DUTYCYCLE = 18,
- WMI_COEX_CONFIG_HANDOVER_RSSI = 19,
- WMI_COEX_CONFIG_PTA_BT_INFO = 20,
- WMI_COEX_CONFIG_SINK_WLAN_TDM = 21,
- WMI_COEX_CONFIG_COEX_ENABLE_MCC_TDM = 22,
- WMI_COEX_CONFIG_LOWRSSI_A2DPOPP_TDM = 23,
- WMI_COEX_CONFIG_BTC_MODE = 24,
- WMI_COEX_CONFIG_ANTENNA_ISOLATION = 25,
- WMI_COEX_CONFIG_BT_LOW_RSSI_THRESHOLD = 26,
- WMI_COEX_CONFIG_BT_INTERFERENCE_LEVEL = 27,
- WMI_COEX_CONFIG_WLAN_OVER_ZBLOW = 28,
- WMI_COEX_CONFIG_WLAN_MGMT_OVER_BT_A2DP = 29,
- WMI_COEX_CONFIG_WLAN_CONN_OVER_LE = 30,
- WMI_COEX_CONFIG_LE_OVER_WLAN_TRAFFIC = 31,
- WMI_COEX_CONFIG_THREE_WAY_COEX_RESET = 32,
-
- WMI_COEX_CONFIG_THREE_WAY_DELAY_PARA = 33,
-
- WMI_COEX_CONFIG_THREE_WAY_COEX_START = 34,
-
- WMI_COEX_CONFIG_MPTA_HELPER_ENABLE = 35,
-
- WMI_COEX_CONFIG_MPTA_HELPER_ZIGBEE_STATE = 36,
-
- WMI_COEX_CONFIG_MPTA_HELPER_INT_OCS_PARAMS = 37,
-
- WMI_COEX_CONFIG_MPTA_HELPER_MON_OCS_PARAMS = 38,
-
- WMI_COEX_CONFIG_MPTA_HELPER_INT_MON_DURATION = 39,
-
- WMI_COEX_CONFIG_MPTA_HELPER_ZIGBEE_CHANNEL = 40,
-
- WMI_COEX_CONFIG_MPTA_HELPER_WLAN_MUTE_DURATION = 41,
-
- WMI_COEX_CONFIG_BT_SCO_ALLOW_WLAN_2G_SCAN = 42,
-
- WMI_COEX_CONFIG_ENABLE_2ND_HARMONIC_WAR = 43,
-
- WMI_COEX_CONFIG_BTCOEX_SEPARATE_CHAIN_MODE = 44,
-
- WMI_COEX_CONFIG_ENABLE_TPUT_SHAPING = 45,
-
- WMI_COEX_CONFIG_ENABLE_TXBF = 46,
-
- WMI_COEX_CONFIG_FORCED_ALGO = 47,
-
- WMI_COEX_CONFIG_LE_SCAN_POLICY = 48,
- } WMI_COEX_CONFIG_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 config_type;
- A_UINT32 config_arg1;
- A_UINT32 config_arg2;
- A_UINT32 config_arg3;
- A_UINT32 config_arg4;
- A_UINT32 config_arg5;
- A_UINT32 config_arg6;
- } WMI_COEX_CONFIG_CMD_fixed_param;
- enum {
- WMI_MWSCOEX_CHAN_AVD_RPT_DISALLOW = 0,
- WMI_MWSCOEX_CHAN_AVD_RPT_ALLOW = 1
- };
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 rpt_allow;
- } WMI_CHAN_AVOID_RPT_ALLOW_CMD_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 enable;
-
- A_UINT32 stats_period;
-
- A_UINT32 pdev_id;
- } wmi_set_periodic_channel_stats_config_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 module_id;
-
- A_UINT32 num_args;
- } wmi_pdev_wal_power_debug_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 rx_timeout_pri[WMI_AC_MAX];
- } wmi_pdev_set_reorder_timeout_val_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 enable_thresh;
-
- A_UINT32 use_thresh_bitmap;
-
- A_UINT32 gbl_thresh;
-
- A_UINT32 cca_thresh_enable_bitmap;
-
- A_UINT32 signal_thresh_enable_bitmap;
-
- A_UINT32 tx_thresh_enable_bitmap;
-
- A_UINT32 rx_thresh_enable_bitmap;
-
- } wmi_pdev_set_stats_threshold_cmd_fixed_param;
- typedef enum {
- WMI_REQUEST_WLAN_TX_STAT = 0x01,
- WMI_REQUEST_WLAN_RX_STAT = 0x02,
- WMI_REQUEST_WLAN_CCA_STAT = 0x04,
- WMI_REQUEST_WLAN_SIGNAL_STAT = 0x08,
- } wmi_wlan_stats_id;
- typedef struct {
- A_UINT32 tlv_header;
- wmi_wlan_stats_id stats_id;
- } wmi_request_wlan_stats_cmd_fixed_param;
- typedef enum {
- WMI_REQUEST_ONE_PEER_STATS_INFO = 0x01,
- WMI_REQUEST_VDEV_ALL_PEER_STATS_INFO = 0x02,
- } wmi_peer_stats_info_request_type;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 request_type;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 reset_after_request;
- } wmi_request_peer_stats_info_cmd_fixed_param;
- typedef enum {
-
-
- WMI_REQUEST_CTRL_PATH_PDEV_TX_STAT = 1,
- WMI_REQUEST_CTRL_PATH_VDEV_EXTD_STAT = 2,
- WMI_REQUEST_CTRL_PATH_MEM_STAT = 3,
- WMI_REQUEST_CTRL_PATH_TWT_STAT = 4,
- WMI_REQUEST_CTRL_PATH_CALIBRATION_STAT = 5,
- WMI_REQUEST_CTRL_PATH_DFS_CHANNEL_STAT = 6,
- } wmi_ctrl_path_stats_id;
- typedef enum {
-
- WMI_REQUEST_CTRL_PATH_STAT_GET = 1,
- WMI_REQUEST_CTRL_PATH_STAT_RESET = 2,
- WMI_REQUEST_CTRL_PATH_STAT_START = 3,
- WMI_REQUEST_CTRL_PATH_STAT_STOP = 4,
- } wmi_ctrl_path_stats_action;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 stats_id_mask;
-
- A_UINT32 request_id;
-
- A_UINT32 action;
-
- } wmi_request_ctrl_path_stats_cmd_fixed_param;
- typedef enum {
- WMI_REQUEST_ONE_RADIO_CHAN_STATS = 0x01,
- WMI_REQUEST_ALL_RADIO_CHAN_STATS = 0x02,
- } wmi_radio_chan_stats_request_type;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 request_type;
-
- A_UINT32 chan_mhz;
-
- A_UINT32 reset_after_request;
- } wmi_request_radio_chan_stats_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr leader_mac_addr;
- } wmi_rmc_set_leader_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_INT32 status;
-
- wmi_mac_addr leader_mac_addr;
- } wmi_rmc_manual_leader_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 periodicity;
-
- A_UINT32 reads_needed;
-
- A_UINT32 mac_timer_l32;
-
- A_UINT32 mac_timer_u32;
-
- A_UINT32 qtimer_l32;
-
- A_UINT32 qtimer_u32;
- } wmi_audio_sync_start_stop_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 offset_l32;
-
- A_UINT32 offset_u32;
- } wmi_audio_sync_q_master_slave_offset_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 qmaster_l32;
-
- A_UINT32 qmaster_u32;
-
- A_UINT32 qslave_l32;
-
- A_UINT32 qslave_u32;
- } wmi_audio_sync_q_master_slave_times;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- } wmi_vdev_set_pcl_cmd_fixed_param;
- enum pdev_tbtt_offset_cmd_type
- {
- WMI_PDEV_GET_TBTT_OFFSET,
- WMI_PDEV_SET_TBTT_OFFSET,
- };
- typedef struct
- {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr bss_mac;
-
- A_UINT32 beacon_intval;
-
- A_UINT32 opclass;
-
- A_UINT32 chan_idx;
-
- A_UINT32 next_qtime_tbtt_high;
-
- A_UINT32 next_qtime_tbtt_low;
- } wmi_pdev_rnr_bss_tbtt_info;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 cmd_type;
-
- } wmi_pdev_tbtt_offset_sync_cmd_fixed_param;
- typedef enum {
- WLAN_2G_CAPABILITY = 0x1,
- WLAN_5G_CAPABILITY = 0x2,
- } WLAN_BAND_CAPABILITY;
- typedef enum wmi_hw_mode_config_type {
- WMI_HW_MODE_SINGLE = 0,
- WMI_HW_MODE_DBS = 1,
- WMI_HW_MODE_SBS_PASSIVE = 2,
- WMI_HW_MODE_SBS = 3,
- WMI_HW_MODE_DBS_SBS = 4,
- WMI_HW_MODE_DBS_OR_SBS = 5,
- WMI_HW_MODE_DBS_2G_5G = 6,
- WMI_HW_MODE_2G_PHYB = 7,
- } WMI_HW_MODE_CONFIG_TYPE;
- #define WMI_MLO_CAP_FLAG_NONE 0x00
- #define WMI_MLO_CAP_FLAG_NON_STR_IN_DBS 0x01
- #define WMI_MLO_CAP_FLAG_STR_IN_DBS 0x02
- #define WMI_MLO_CAP_FLAG_NON_STR_IN_SBS 0x04
- #define WMI_MLO_CAP_FLAG_STR_IN_SBS 0x08
- #define WMI_MLO_CAP_FLAG_STR 0x10
- #define WMI_BECAP_PHY_GET_HW_MODE_CFG(hw_mode_config_type) WMI_GET_BITS(hw_mode_config_type, 0, 27)
- #define WMI_BECAP_PHY_SET_HW_MODE_CFG(hw_mode_config_type, value) WMI_SET_BITS(hw_mode_config_type, 0, 27, value)
- #define WMI_BECAP_PHY_GET_MLO_CAP(hw_mode_config_type) WMI_GET_BITS(hw_mode_config_type, 27, 5)
- #define WMI_BECAP_PHY_SET_MLO_CAP(hw_mode_config_type, value) WMI_SET_BITS(hw_mode_config_type, 27, 5, value)
- #define WMI_PHY_GET_PDEV_ID(pdev_id) WMI_GET_BITS(pdev_id, 0, 16)
- #define WMI_PHY_SET_PDEV_ID(pdev_id, value) WMI_SET_BITS(pdev_id, 0, 16, value)
- #define WMI_PHY_GET_HW_LINK_ID(pdev_id) WMI_GET_BITS(pdev_id, 16, 16)
- #define WMI_PHY_SET_HW_LINK_ID(pdev_id, value) WMI_SET_BITS(pdev_id, 16, 16, value)
- #define WMI_SUPPORT_11B_GET(flags) WMI_GET_BITS(flags, 0, 1)
- #define WMI_SUPPORT_11B_SET(flags, value) WMI_SET_BITS(flags, 0, 1, value)
- #define WMI_SUPPORT_11G_GET(flags) WMI_GET_BITS(flags, 1, 1)
- #define WMI_SUPPORT_11G_SET(flags, value) WMI_SET_BITS(flags, 1, 1, value)
- #define WMI_SUPPORT_11A_GET(flags) WMI_GET_BITS(flags, 2, 1)
- #define WMI_SUPPORT_11A_SET(flags, value) WMI_SET_BITS(flags, 2, 1, value)
- #define WMI_SUPPORT_11N_GET(flags) WMI_GET_BITS(flags, 3, 1)
- #define WMI_SUPPORT_11N_SET(flags, value) WMI_SET_BITS(flags, 3, 1, value)
- #define WMI_SUPPORT_11AC_GET(flags) WMI_GET_BITS(flags, 4, 1)
- #define WMI_SUPPORT_11AC_SET(flags, value) WMI_SET_BITS(flags, 4, 1, value)
- #define WMI_SUPPORT_11AX_GET(flags) WMI_GET_BITS(flags, 5, 1)
- #define WMI_SUPPORT_11AX_SET(flags, value) WMI_SET_BITS(flags, 5, 1, value)
- #define WMI_SUPPORT_11BE_GET(flags) WMI_GET_BITS(flags, 6, 1)
- #define WMI_SUPPORT_11BE_SET(flags, value) WMI_SET_BITS(flags, 6, 1, value)
- #define WMI_MAX_MUBFEE_GET(flags) WMI_GET_BITS(flags, 28, 4)
- #define WMI_MAX_MUBFEE_SET(flags, value) WMI_SET_BITS(flags, 28, 4, value)
- #define WMI_NSS_RATIO_ENABLE_DISABLE_BITPOS 0x0
- #define WMI_NSS_RATIO_INFO_BITPOS 0x1
- #define WMI_NSS_RATIO_DISABLE 0x0
- #define WMI_NSS_RATIO_ENABLE 0x1
- #define WMI_NSS_RATIO_1BY2_NSS 0x0
- #define WMI_NSS_RATIO_3BY4_NSS 0x1
- #define WMI_NSS_RATIO_1_NSS 0x2
- #define WMI_NSS_RATIO_2_NSS 0x3
- #define WMI_NSS_RATIO_ENABLE_DISABLE_SET(param, value) \
- WMI_SET_BITS(param, WMI_NSS_RATIO_ENABLE_DISABLE_BITPOS, 1, value)
- #define WMI_NSS_RATIO_ENABLE_DISABLE_GET(dword) \
- WMI_GET_BITS(dword, WMI_NSS_RATIO_ENABLE_DISABLE_BITPOS, 1)
- #define WMI_NSS_RATIO_INFO_SET(param, value) \
- WMI_SET_BITS(param, WMI_NSS_RATIO_INFO_BITPOS, 4, value)
- #define WMI_NSS_RATIO_INFO_GET(dword) \
- WMI_GET_BITS(dword, WMI_NSS_RATIO_INFO_BITPOS, 4)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 hw_mode_id;
-
- union {
- struct {
- A_UINT32 pdev_id:16,
- hw_link_id:16;
- } wmi_pdev_to_link_map;
- A_UINT32 pdev_id;
- };
-
- A_UINT32 phy_id;
-
- union {
- struct {
- A_UINT32 supports_11b:1,
- supports_11g:1,
- supports_11a:1,
- supports_11n:1,
- supports_11ac:1,
- supports_11ax:1,
- supports_11be:1,
- unused: 21,
- max_mubfee: 4;
- };
- A_UINT32 supported_flags;
- };
-
- A_UINT32 supported_bands;
-
- A_UINT32 ampdu_density;
-
- A_UINT32 max_bw_supported_2G;
-
- A_UINT32 ht_cap_info_2G;
-
- A_UINT32 vht_cap_info_2G;
-
- A_UINT32 vht_supp_mcs_2G;
-
- A_UINT32 he_cap_info_2G;
-
- A_UINT32 he_supp_mcs_2G;
-
- A_UINT32 tx_chain_mask_2G;
-
- A_UINT32 rx_chain_mask_2G;
-
- A_UINT32 max_bw_supported_5G;
-
- A_UINT32 ht_cap_info_5G;
-
- A_UINT32 vht_cap_info_5G;
-
- A_UINT32 vht_supp_mcs_5G;
-
- A_UINT32 he_cap_info_5G;
-
- A_UINT32 he_supp_mcs_5G;
-
- A_UINT32 tx_chain_mask_5G;
-
- A_UINT32 rx_chain_mask_5G;
-
- A_UINT32 he_cap_phy_info_2G[WMI_MAX_HECAP_PHY_SIZE];
- A_UINT32 he_cap_phy_info_5G[WMI_MAX_HECAP_PHY_SIZE];
- wmi_ppe_threshold he_ppet2G;
- wmi_ppe_threshold he_ppet5G;
-
- A_UINT32 chainmask_table_id;
-
- A_UINT32 lmac_id;
-
- A_UINT32 he_cap_info_2G_ext;
- A_UINT32 he_cap_info_5G_ext;
-
- A_UINT32 he_cap_info_internal;
- A_UINT32 wireless_modes;
- A_UINT32 low_2ghz_chan_freq;
- A_UINT32 high_2ghz_chan_freq;
- A_UINT32 low_5ghz_chan_freq;
- A_UINT32 high_5ghz_chan_freq;
-
- A_UINT32 nss_ratio;
-
- } WMI_MAC_PHY_CAPABILITIES;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 hw_mode_id;
-
- union {
- struct {
- A_UINT32 pdev_id:16,
- hw_link_id:16;
- } wmi_pdev_to_link_map;
- A_UINT32 pdev_id;
- };
-
- A_UINT32 phy_id;
- A_UINT32 wireless_modes_ext;
-
-
- A_UINT32 eht_cap_mac_info_2G[WMI_MAX_EHTCAP_MAC_SIZE];
- A_UINT32 eht_cap_mac_info_5G[WMI_MAX_EHTCAP_MAC_SIZE];
- A_UINT32 eht_supp_mcs_2G;
- A_UINT32 eht_supp_mcs_5G;
-
- A_UINT32 eht_cap_phy_info_2G[WMI_MAX_EHTCAP_PHY_SIZE];
- A_UINT32 eht_cap_phy_info_5G[WMI_MAX_EHTCAP_PHY_SIZE];
- wmi_ppe_threshold eht_ppet2G;
- wmi_ppe_threshold eht_ppet5G;
- A_UINT32 eht_cap_info_internal;
-
- } WMI_MAC_PHY_CAPABILITIES_EXT;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 hw_mode_id;
-
- A_UINT32 phy_id_map;
-
- union {
- struct {
- A_UINT32 hw_mode_config :27,
- mlo_cap_flag :5;
- };
- A_UINT32 hw_mode_config_type;
- };
-
- } WMI_HW_MODE_CAPABILITIES;
- #define WMI_SUPPORT_CHAN_WIDTH_20_GET(flags) WMI_GET_BITS(flags, 0, 1)
- #define WMI_SUPPORT_CHAN_WIDTH_20_SET(flags, value) WMI_SET_BITS(flags, 0, 1, value)
- #define WMI_SUPPORT_CHAN_WIDTH_40_GET(flags) WMI_GET_BITS(flags, 1, 1)
- #define WMI_SUPPORT_CHAN_WIDTH_40_SET(flags, value) WMI_SET_BITS(flags, 1, 1, value)
- #define WMI_SUPPORT_CHAN_WIDTH_80_GET(flags) WMI_GET_BITS(flags, 2, 1)
- #define WMI_SUPPORT_CHAN_WIDTH_80_SET(flags, value) WMI_SET_BITS(flags, 2, 1, value)
- #define WMI_SUPPORT_CHAN_WIDTH_160_GET(flags) WMI_GET_BITS(flags, 3, 1)
- #define WMI_SUPPORT_CHAN_WIDTH_160_SET(flags, value) WMI_SET_BITS(flags, 3, 1, value)
- #define WMI_SUPPORT_CHAN_WIDTH_80P80_GET(flags) WMI_GET_BITS(flags, 4, 1)
- #define WMI_SUPPORT_CHAN_WIDTH_80P80_SET(flags, value) WMI_SET_BITS(flags, 4, 1, value)
- #define WMI_SUPPORT_AGILE_SPECTRAL_GET(flags) WMI_GET_BITS(flags, 5, 1)
- #define WMI_SUPPORT_AGILE_SPECTRAL_SET(flags, value) WMI_SET_BITS(flags, 5, 1, value)
- #define WMI_SUPPORT_AGILE_SPECTRAL_160_GET(flags) WMI_GET_BITS(flags, 6, 1)
- #define WMI_SUPPORT_AGILE_SPECTRAL_160_SET(flags, value) WMI_SET_BITS(flags, 6, 1, value)
- #define WMI_SUPPORT_ADFS_160_GET(flags) WMI_GET_BITS(flags, 7, 1)
- #define WMI_SUPPORT_ADFS_160_SET(flags, value) WMI_SET_BITS(flags, 7, 1, value)
- #define WMI_SUPPORT_CHAN_WIDTH_320_GET(flags) WMI_GET_BITS(flags, 8, 1)
- #define WMI_SUPPORT_CHAN_WIDTH_320_SET(flags, value) WMI_SET_BITS(flags, 8, 1, value)
- #define WMI_SUPPORT_ADFS_320_GET(flags) WMI_GET_BITS(flags, 9, 1)
- #define WMI_SUPPORT_ADFS_320_SET(flags, value) WMI_SET_BITS(flags, 9, 1, value)
- #define WMI_SUPPORT_CHAIN_MASK_2G_GET(flags) WMI_GET_BITS(flags, 27, 1)
- #define WMI_SUPPORT_CHAIN_MASK_2G_SET(flags, value) WMI_SET_BITS(flags, 27, 1, value)
- #define WMI_SUPPORT_CHAIN_MASK_5G_GET(flags) WMI_GET_BITS(flags, 28, 1)
- #define WMI_SUPPORT_CHAIN_MASK_5G_SET(flags, value) WMI_SET_BITS(flags, 28, 1, value)
- #define WMI_SUPPORT_CHAIN_MASK_TX_GET(flags) WMI_GET_BITS(flags, 29, 1)
- #define WMI_SUPPORT_CHAIN_MASK_TX_SET(flags, value) WMI_SET_BITS(flags, 29, 1, value)
- #define WMI_SUPPORT_CHAIN_MASK_RX_GET(flags) WMI_GET_BITS(flags, 30, 1)
- #define WMI_SUPPORT_CHAIN_MASK_RX_SET(flags, value) WMI_SET_BITS(flags, 30, 1, value)
- #define WMI_SUPPORT_CHAIN_MASK_ADFS_GET(flags) WMI_GET_BITS(flags, 31, 1)
- #define WMI_SUPPORT_CHAIN_MASK_ADFS_SET(flags, value) WMI_SET_BITS(flags, 31, 1, value)
- typedef struct {
- A_UINT32 tlv_header;
-
- union {
- struct {
- A_UINT32 supports_chan_width_20:1,
- supports_chan_width_40:1,
- supports_chan_width_80:1,
- supports_chan_width_160:1,
- supports_chan_width_80P80:1,
- supports_agile_spectral:1,
- supports_agile_spectral_160:1,
- supports_aDFS_160:1,
- supports_chan_width_320:1,
- supports_aDFS_320:1,
- reserved:17,
- chain_mask_2G:1,
- chain_mask_5G:1,
- chain_mask_tx:1,
- chain_mask_rx:1,
- supports_aDFS:1;
- };
- A_UINT32 supported_flags;
- };
- A_UINT32 chainmask;
-
- } WMI_MAC_PHY_CHAINMASK_CAPABILITY;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 chainmask_table_id;
-
- A_UINT32 num_valid_chainmask;
-
- } WMI_MAC_PHY_CHAINMASK_COMBO;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 num_hw_modes;
-
- A_UINT32 num_chainmask_tables;
-
- } WMI_SOC_MAC_PHY_HW_MODE_CAPS;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 phy_id;
-
- A_UINT32 eeprom_reg_domain;
-
- A_UINT32 eeprom_reg_domain_ext;
-
- A_UINT32 regcap1;
-
- A_UINT32 regcap2;
-
- A_UINT32 wireless_modes;
- A_UINT32 low_2ghz_chan;
- A_UINT32 high_2ghz_chan;
- A_UINT32 low_5ghz_chan;
- A_UINT32 high_5ghz_chan;
-
- } WMI_HAL_REG_CAPABILITIES_EXT;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 phy_id;
-
- A_UINT32 wireless_modes_ext;
- } WMI_HAL_REG_CAPABILITIES_EXT2;
- typedef enum {
- WMI_TWT_STA_SYNC_EVENT_CAP = 1,
-
- WMI_TWT_MAX_CAP = 32,
- } WMI_TWT_CAPS_BITMAP;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 twt_capability_bitmap;
- } wmi_twt_caps_params;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 phy_id;
-
- A_UINT32 flags;
- } WMI_SCAN_RADIO_CAPABILITIES_EXT2;
- #define WMI_SCAN_RADIO_CAP_SCAN_RADIO_FLAG_GET(flag) WMI_GET_BITS(flag, 0, 1)
- #define WMI_SCAN_RADIO_CAP_SCAN_RADIO_FLAG_SET(flag, val) WMI_SET_BITS(flag, 0, 1, val)
- #define WMI_SCAN_RADIO_CAP_DFS_FLAG_GET(flag) WMI_GET_BITS(flag, 1, 1)
- #define WMI_SCAN_RADIO_CAP_DFS_FLAG_SET(flag, val) WMI_SET_BITS(flag, 1, 1, val)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_phy;
-
-
- } WMI_SOC_HAL_REG_CAPABILITIES;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 min_num_ptr;
-
- A_UINT32 min_buf_size;
-
- A_UINT32 min_buf_align;
-
-
- } WMI_OEM_DMA_RING_CAPABILITIES;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 active_version;
-
- } WMI_SAR_CAPABILITIES;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 default_adaptive_dwell_mode;
-
- A_UINT32 adapative_lpf_weight;
-
- A_UINT32 passive_monitor_interval_ms;
-
- A_UINT32 wifi_activity_threshold_pct;
- } wmi_scan_adaptive_dwell_parameters_tlv;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 enable;
-
- A_UINT32 pdev_id;
- } wmi_scan_adaptive_dwell_config_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 module_id;
-
- A_UINT32 num_dbs_scans;
-
- A_UINT32 num_non_dbs_scans;
- } wmi_scan_dbs_duty_cycle_tlv_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 num_clients;
-
- A_UINT32 pdev_id;
- } wmi_scan_dbs_duty_cycle_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 temp_lwm;
-
- A_UINT32 temp_hwm;
- A_UINT32 dc_off_percent;
-
- A_UINT32 prio;
- } wmi_therm_throt_level_config_info;
- typedef enum {
- WMI_THERMAL_CLIENT_UNSPECIFIED = 0,
- WMI_THERMAL_CLIENT_APPS = 1,
- WMI_THERMAL_CLIENT_WPSS = 2,
- WMI_THERMAL_CLIENT_FW = 3,
- WMI_THERMAL_CLIENT_MAX
- } WMI_THERMAL_MITIGATION_CLIENTS;
- #define WMI_THERMAL_CLIENT_MAX_PRIORITY 10
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 enable;
- A_UINT32 dc;
- A_UINT32 dc_per_event;
- A_UINT32 therm_throt_levels;
- A_UINT32 client_id;
- A_UINT32 priority;
-
- } wmi_therm_throt_config_request_fixed_param;
- typedef enum {
-
- WMI_THERMAL_FULLPERF = 0,
-
- WMI_THERMAL_MITIGATION = 1,
-
- WMI_THERMAL_SHUTOFF = 2,
-
- WMI_THERMAL_SHUTDOWN_TGT = 3,
- } WMI_THERMAL_THROT_LEVEL;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 temp;
- A_UINT32 level;
- A_UINT32 therm_throt_levels;
-
- } wmi_therm_throt_stats_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 level_count;
- A_UINT32 dc_count;
-
- } wmi_therm_throt_level_stats_info;
- typedef enum {
- WMI_REG_EXT_FCC_MIDBAND = 0,
- WMI_REG_EXT_JAPAN_MIDBAND = 1,
- WMI_REG_EXT_FCC_DFS_HT40 = 2,
- WMI_REG_EXT_JAPAN_NONDFS_HT40 = 3,
- WMI_REG_EXT_JAPAN_DFS_HT40 = 4,
- WMI_REG_EXT_FCC_CH_144 = 5,
- } WMI_REG_EXT_BITMAP;
- #ifdef WMI_CMD_STRINGS
- static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
- {
- switch (wmi_command) {
-
- WMI_RETURN_STRING(WMI_INIT_CMDID);
-
-
- WMI_RETURN_STRING(WMI_START_SCAN_CMDID);
-
- WMI_RETURN_STRING(WMI_STOP_SCAN_CMDID);
-
- WMI_RETURN_STRING(WMI_SCAN_CHAN_LIST_CMDID);
-
- WMI_RETURN_STRING(WMI_SCAN_SCH_PRIO_TBL_CMDID);
-
- WMI_RETURN_STRING(WMI_SCAN_UPDATE_REQUEST_CMDID);
-
-
- WMI_RETURN_STRING(WMI_PDEV_SET_REGDOMAIN_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_SET_CHANNEL_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_SET_PARAM_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_PKTLOG_ENABLE_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_PKTLOG_DISABLE_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_SET_WMM_PARAMS_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_SET_HT_CAP_IE_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_SET_VHT_CAP_IE_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_SET_DSCP_TID_MAP_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_SET_QUIET_MODE_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_GREEN_AP_PS_ENABLE_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_GET_TPC_CONFIG_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_SET_BASE_MACADDR_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_DUMP_CMDID);
-
-
- WMI_RETURN_STRING(WMI_VDEV_CREATE_CMDID);
-
- WMI_RETURN_STRING(WMI_VDEV_DELETE_CMDID);
-
- WMI_RETURN_STRING(WMI_VDEV_START_REQUEST_CMDID);
-
- WMI_RETURN_STRING(WMI_VDEV_RESTART_REQUEST_CMDID);
-
- WMI_RETURN_STRING(WMI_VDEV_UP_CMDID);
-
- WMI_RETURN_STRING(WMI_VDEV_STOP_CMDID);
-
- WMI_RETURN_STRING(WMI_VDEV_DOWN_CMDID);
-
- WMI_RETURN_STRING(WMI_VDEV_SET_PARAM_CMDID);
-
- WMI_RETURN_STRING(WMI_VDEV_INSTALL_KEY_CMDID);
-
- WMI_RETURN_STRING(WMI_VDEV_BSS_MAX_IDLE_TIME_CMDID);
-
- WMI_RETURN_STRING(WMI_VDEV_WNM_SLEEPMODE_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_WMM_ADDTS_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_WMM_DELTS_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_SET_WMM_PARAMS_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_SET_GTX_PARAMS_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_PLMREQ_START_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_PLMREQ_STOP_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_TSF_TSTAMP_ACTION_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_SET_IE_CMDID);
-
-
- WMI_RETURN_STRING(WMI_PEER_CREATE_CMDID);
-
- WMI_RETURN_STRING(WMI_PEER_DELETE_CMDID);
-
- WMI_RETURN_STRING(WMI_VDEV_DELETE_ALL_PEER_CMDID);
-
- WMI_RETURN_STRING(WMI_PEER_FLUSH_TIDS_CMDID);
-
- WMI_RETURN_STRING(WMI_PEER_SET_PARAM_CMDID);
-
- WMI_RETURN_STRING(WMI_PEER_ASSOC_CMDID);
-
- WMI_RETURN_STRING(WMI_PEER_ADD_WDS_ENTRY_CMDID);
-
- WMI_RETURN_STRING(WMI_PEER_REMOVE_WDS_ENTRY_CMDID);
-
- WMI_RETURN_STRING(WMI_PEER_MCAST_GROUP_CMDID);
-
- WMI_RETURN_STRING(WMI_PEER_INFO_REQ_CMDID);
-
- WMI_RETURN_STRING(WMI_PEER_UNMAP_RESPONSE_CMDID);
-
-
- WMI_RETURN_STRING(WMI_BCN_TX_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_SEND_BCN_CMDID);
-
- WMI_RETURN_STRING(WMI_BCN_TMPL_CMDID);
-
- WMI_RETURN_STRING(WMI_BCN_FILTER_RX_CMDID);
-
- WMI_RETURN_STRING(WMI_PRB_REQ_FILTER_RX_CMDID);
-
- WMI_RETURN_STRING(WMI_MGMT_TX_CMDID);
-
- WMI_RETURN_STRING(WMI_PRB_TMPL_CMDID);
-
- WMI_RETURN_STRING(WMI_FD_TMPL_CMDID);
-
-
- WMI_RETURN_STRING(WMI_ADDBA_CLEAR_RESP_CMDID);
-
- WMI_RETURN_STRING(WMI_ADDBA_SEND_CMDID);
- WMI_RETURN_STRING(WMI_ADDBA_STATUS_CMDID);
-
- WMI_RETURN_STRING(WMI_DELBA_SEND_CMDID);
-
- WMI_RETURN_STRING(WMI_ADDBA_SET_RESP_CMDID);
-
- WMI_RETURN_STRING(WMI_SEND_SINGLEAMSDU_CMDID);
-
-
- WMI_RETURN_STRING(WMI_STA_POWERSAVE_MODE_CMDID);
-
- WMI_RETURN_STRING(WMI_STA_POWERSAVE_PARAM_CMDID);
-
- WMI_RETURN_STRING(WMI_STA_MIMO_PS_MODE_CMDID);
-
-
- WMI_RETURN_STRING(WMI_PDEV_DFS_ENABLE_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_DFS_DISABLE_CMDID);
-
- WMI_RETURN_STRING(WMI_DFS_PHYERR_FILTER_ENA_CMDID);
-
- WMI_RETURN_STRING(WMI_DFS_PHYERR_FILTER_DIS_CMDID);
-
-
- WMI_RETURN_STRING(WMI_ROAM_SCAN_MODE);
-
- WMI_RETURN_STRING(WMI_ROAM_SCAN_RSSI_THRESHOLD);
-
- WMI_RETURN_STRING(WMI_ROAM_SCAN_PERIOD);
-
- WMI_RETURN_STRING(WMI_ROAM_SCAN_RSSI_CHANGE_THRESHOLD);
-
- WMI_RETURN_STRING(WMI_ROAM_AP_PROFILE);
-
- WMI_RETURN_STRING(WMI_ROAM_CHAN_LIST);
-
-
- WMI_RETURN_STRING(WMI_OFL_SCAN_ADD_AP_PROFILE);
-
- WMI_RETURN_STRING(WMI_OFL_SCAN_REMOVE_AP_PROFILE);
-
- WMI_RETURN_STRING(WMI_OFL_SCAN_PERIOD);
-
-
- WMI_RETURN_STRING(WMI_P2P_DEV_SET_DEVICE_INFO);
-
- WMI_RETURN_STRING(WMI_P2P_DEV_SET_DISCOVERABILITY);
-
- WMI_RETURN_STRING(WMI_P2P_GO_SET_BEACON_IE);
-
- WMI_RETURN_STRING(WMI_P2P_GO_SET_PROBE_RESP_IE);
-
- WMI_RETURN_STRING(WMI_P2P_SET_VENDOR_IE_DATA_CMDID);
-
- WMI_RETURN_STRING(WMI_P2P_DISC_OFFLOAD_CONFIG_CMDID);
-
- WMI_RETURN_STRING(WMI_P2P_DISC_OFFLOAD_APPIE_CMDID);
-
- WMI_RETURN_STRING(WMI_P2P_DISC_OFFLOAD_PATTERN_CMDID);
-
- WMI_RETURN_STRING(WMI_P2P_SET_OPPPS_PARAM_CMDID);
-
- WMI_RETURN_STRING(WMI_AP_PS_PEER_PARAM_CMDID);
-
- WMI_RETURN_STRING(WMI_AP_PS_PEER_UAPSD_COEX_CMDID);
-
- WMI_RETURN_STRING(WMI_PEER_RATE_RETRY_SCHED_CMDID);
-
- WMI_RETURN_STRING(WMI_WLAN_PROFILE_TRIGGER_CMDID);
- WMI_RETURN_STRING(WMI_WLAN_PROFILE_SET_HIST_INTVL_CMDID);
- WMI_RETURN_STRING(WMI_WLAN_PROFILE_GET_PROFILE_DATA_CMDID);
- WMI_RETURN_STRING(WMI_WLAN_PROFILE_ENABLE_PROFILE_ID_CMDID);
- WMI_RETURN_STRING(WMI_WLAN_PROFILE_LIST_PROFILE_ID_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_SUSPEND_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_RESUME_CMDID);
-
-
- WMI_RETURN_STRING(WMI_ADD_BCN_FILTER_CMDID);
-
- WMI_RETURN_STRING(WMI_RMV_BCN_FILTER_CMDID);
-
-
- WMI_RETURN_STRING(WMI_WOW_ADD_WAKE_PATTERN_CMDID);
-
- WMI_RETURN_STRING(WMI_WOW_DEL_WAKE_PATTERN_CMDID);
-
- WMI_RETURN_STRING(WMI_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID);
-
- WMI_RETURN_STRING(WMI_WOW_ENABLE_CMDID);
-
- WMI_RETURN_STRING(WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID);
-
-
- WMI_RETURN_STRING(WMI_RTT_MEASREQ_CMDID);
-
- WMI_RETURN_STRING(WMI_RTT_TSF_CMDID);
-
-
- WMI_RETURN_STRING(WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID);
-
- WMI_RETURN_STRING(WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID);
-
-
- WMI_RETURN_STRING(WMI_REQUEST_STATS_CMDID);
-
- WMI_RETURN_STRING(WMI_MCC_SCHED_TRAFFIC_STATS_CMDID);
-
- WMI_RETURN_STRING(WMI_SET_ARP_NS_OFFLOAD_CMDID);
-
- WMI_RETURN_STRING(WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMDID);
-
- WMI_RETURN_STRING(WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMDID);
-
- WMI_RETURN_STRING(WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID);
-
- WMI_RETURN_STRING(WMI_GTK_OFFLOAD_CMDID);
-
-
- WMI_RETURN_STRING(WMI_CSA_OFFLOAD_ENABLE_CMDID);
-
- WMI_RETURN_STRING(WMI_CSA_OFFLOAD_CHANSWITCH_CMDID);
-
-
- WMI_RETURN_STRING(WMI_CHATTER_SET_MODE_CMDID);
-
- WMI_RETURN_STRING(WMI_CHATTER_ADD_COALESCING_FILTER_CMDID);
-
- WMI_RETURN_STRING(WMI_CHATTER_DELETE_COALESCING_FILTER_CMDID);
-
- WMI_RETURN_STRING(WMI_CHATTER_COALESCING_QUERY_CMDID);
-
-
- WMI_RETURN_STRING(WMI_PEER_TID_ADDBA_CMDID);
-
- WMI_RETURN_STRING(WMI_PEER_TID_DELBA_CMDID);
-
- WMI_RETURN_STRING(WMI_STA_DTIM_PS_METHOD_CMDID);
-
- WMI_RETURN_STRING(WMI_STA_UAPSD_AUTO_TRIG_CMDID);
-
- WMI_RETURN_STRING(WMI_STA_KEEPALIVE_CMDID);
-
- WMI_RETURN_STRING(WMI_BA_REQ_SSN_CMDID);
-
-
- WMI_RETURN_STRING(WMI_ECHO_CMDID);
-
-
- WMI_RETURN_STRING(WMI_PDEV_UTF_CMDID);
-
- WMI_RETURN_STRING(WMI_DBGLOG_CFG_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_QVIT_CMDID);
-
- WMI_RETURN_STRING(WMI_PDEV_FTM_INTG_CMDID);
-
- WMI_RETURN_STRING(WMI_VDEV_SET_KEEPALIVE_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_GET_KEEPALIVE_CMDID);
-
- WMI_RETURN_STRING(WMI_FORCE_FW_HANG_CMDID);
-
- WMI_RETURN_STRING(WMI_SET_MCASTBCAST_FILTER_CMDID);
-
- WMI_RETURN_STRING(WMI_THERMAL_MGMT_CMDID);
- WMI_RETURN_STRING(WMI_RSSI_BREACH_MONITOR_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_LRO_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_TRANSFER_DATA_TO_FLASH_CMDID);
- WMI_RETURN_STRING(WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_WISA_CMDID);
- WMI_RETURN_STRING(WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_WOW_SET_ACTION_WAKE_UP_CMDID);
- WMI_RETURN_STRING(WMI_MAWC_SENSOR_REPORT_IND_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_CONFIGURE_MAWC_CMDID);
- WMI_RETURN_STRING(WMI_NLO_CONFIGURE_MAWC_CMDID);
- WMI_RETURN_STRING(WMI_EXTSCAN_CONFIGURE_MAWC_CMDID);
-
- WMI_RETURN_STRING(WMI_GPIO_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_GPIO_OUTPUT_CMDID);
-
- WMI_RETURN_STRING(WMI_TXBF_CMDID);
-
- WMI_RETURN_STRING(WMI_FWTEST_VDEV_MCC_SET_TBTT_MODE_CMDID);
-
- WMI_RETURN_STRING(WMI_FWTEST_P2P_SET_NOA_PARAM_CMDID);
-
-
- WMI_RETURN_STRING(WMI_TDLS_SET_STATE_CMDID);
-
- WMI_RETURN_STRING(WMI_TDLS_PEER_UPDATE_CMDID);
-
-
- WMI_RETURN_STRING
- (WMI_RESMGR_ADAPTIVE_OCS_ENABLE_DISABLE_CMDID);
-
- WMI_RETURN_STRING(WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID);
-
- WMI_RETURN_STRING(WMI_RESMGR_SET_CHAN_LATENCY_CMDID);
-
-
- WMI_RETURN_STRING(WMI_STA_SMPS_FORCE_MODE_CMDID);
-
- WMI_RETURN_STRING(WMI_STA_SMPS_PARAM_CMDID);
-
-
- WMI_RETURN_STRING(WMI_HB_SET_ENABLE_CMDID);
-
- WMI_RETURN_STRING(WMI_HB_SET_TCP_PARAMS_CMDID);
-
- WMI_RETURN_STRING(WMI_HB_SET_TCP_PKT_FILTER_CMDID);
-
- WMI_RETURN_STRING(WMI_HB_SET_UDP_PARAMS_CMDID);
-
- WMI_RETURN_STRING(WMI_HB_SET_UDP_PKT_FILTER_CMDID);
-
-
- WMI_RETURN_STRING(WMI_RMC_SET_MODE_CMDID);
-
- WMI_RETURN_STRING(WMI_RMC_SET_ACTION_PERIOD_CMDID);
-
- WMI_RETURN_STRING(WMI_RMC_CONFIG_CMDID);
-
-
- WMI_RETURN_STRING(WMI_MHF_OFFLOAD_SET_MODE_CMDID);
-
- WMI_RETURN_STRING(WMI_MHF_OFFLOAD_PLUMB_ROUTING_TBL_CMDID);
-
-
- WMI_RETURN_STRING(WMI_BATCH_SCAN_ENABLE_CMDID);
-
- WMI_RETURN_STRING(WMI_BATCH_SCAN_DISABLE_CMDID);
-
- WMI_RETURN_STRING(WMI_BATCH_SCAN_TRIGGER_RESULT_CMDID);
-
- WMI_RETURN_STRING(WMI_OEM_REQ_CMDID);
- WMI_RETURN_STRING(WMI_OEM_REQUEST_CMDID);
-
- WMI_RETURN_STRING(WMI_NAN_CMDID);
-
- WMI_RETURN_STRING(WMI_MODEM_POWER_STATE_CMDID);
- WMI_RETURN_STRING(WMI_REQUEST_STATS_EXT_CMDID);
- WMI_RETURN_STRING(WMI_OBSS_SCAN_ENABLE_CMDID);
- WMI_RETURN_STRING(WMI_OBSS_SCAN_DISABLE_CMDID);
- WMI_RETURN_STRING(WMI_PEER_GET_ESTIMATED_LINKSPEED_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_SCAN_CMD);
- WMI_RETURN_STRING(WMI_PDEV_SET_LED_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_HOST_AUTO_SHUTDOWN_CFG_CMDID);
- WMI_RETURN_STRING(WMI_CHAN_AVOID_UPDATE_CMDID);
- WMI_RETURN_STRING(WMI_COEX_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_WOW_IOAC_ADD_KEEPALIVE_CMDID);
- WMI_RETURN_STRING(WMI_WOW_IOAC_DEL_KEEPALIVE_CMDID);
- WMI_RETURN_STRING(WMI_WOW_IOAC_ADD_WAKE_PATTERN_CMDID);
- WMI_RETURN_STRING(WMI_WOW_IOAC_DEL_WAKE_PATTERN_CMDID);
- WMI_RETURN_STRING(WMI_REQUEST_LINK_STATS_CMDID);
- WMI_RETURN_STRING(WMI_START_LINK_STATS_CMDID);
- WMI_RETURN_STRING(WMI_CLEAR_LINK_STATS_CMDID);
- WMI_RETURN_STRING(WMI_GET_FW_MEM_DUMP_CMDID);
- WMI_RETURN_STRING(WMI_LPI_MGMT_SNOOPING_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_LPI_START_SCAN_CMDID);
- WMI_RETURN_STRING(WMI_LPI_STOP_SCAN_CMDID);
- WMI_RETURN_STRING(WMI_EXTSCAN_START_CMDID);
- WMI_RETURN_STRING(WMI_EXTSCAN_STOP_CMDID);
- WMI_RETURN_STRING(WMI_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMDID);
- WMI_RETURN_STRING(WMI_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMDID);
- WMI_RETURN_STRING(WMI_EXTSCAN_GET_CACHED_RESULTS_CMDID);
- WMI_RETURN_STRING(WMI_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMDID);
- WMI_RETURN_STRING(WMI_EXTSCAN_SET_CAPABILITIES_CMDID);
- WMI_RETURN_STRING(WMI_EXTSCAN_GET_CAPABILITIES_CMDID);
- WMI_RETURN_STRING(WMI_EXTSCAN_CONFIGURE_HOTLIST_SSID_MONITOR_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_SYNCH_COMPLETE);
- WMI_RETURN_STRING(WMI_D0_WOW_ENABLE_DISABLE_CMDID);
- WMI_RETURN_STRING(WMI_EXTWOW_ENABLE_CMDID);
- WMI_RETURN_STRING(WMI_EXTWOW_SET_APP_TYPE1_PARAMS_CMDID);
- WMI_RETURN_STRING(WMI_EXTWOW_SET_APP_TYPE2_PARAMS_CMDID);
- WMI_RETURN_STRING(WMI_UNIT_TEST_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_SET_RIC_REQUEST_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_GET_TEMPERATURE_CMDID);
- WMI_RETURN_STRING(WMI_SET_DHCP_SERVER_OFFLOAD_CMDID);
- WMI_RETURN_STRING(WMI_TPC_CHAINMASK_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_IPA_OFFLOAD_ENABLE_DISABLE_CMDID);
- WMI_RETURN_STRING(WMI_SCAN_PROB_REQ_OUI_CMDID);
- WMI_RETURN_STRING(WMI_TDLS_SET_OFFCHAN_MODE_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_LED_FLASHING_CMDID);
- WMI_RETURN_STRING(WMI_MDNS_OFFLOAD_ENABLE_CMDID);
- WMI_RETURN_STRING(WMI_MDNS_SET_FQDN_CMDID);
- WMI_RETURN_STRING(WMI_MDNS_SET_RESPONSE_CMDID);
- WMI_RETURN_STRING(WMI_MDNS_GET_STATS_CMDID);
- WMI_RETURN_STRING(WMI_MDNS_SET_STAIP_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_INVOKE_CMDID);
- WMI_RETURN_STRING(WMI_SET_ANTENNA_DIVERSITY_CMDID);
- WMI_RETURN_STRING(WMI_SAP_OFL_ENABLE_CMDID);
- WMI_RETURN_STRING(WMI_APFIND_CMDID);
- WMI_RETURN_STRING(WMI_PASSPOINT_LIST_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_OCB_SET_SCHED_CMDID);
- WMI_RETURN_STRING(WMI_OCB_SET_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_OCB_SET_UTC_TIME_CMDID);
- WMI_RETURN_STRING(WMI_OCB_START_TIMING_ADVERT_CMDID);
- WMI_RETURN_STRING(WMI_OCB_STOP_TIMING_ADVERT_CMDID);
- WMI_RETURN_STRING(WMI_OCB_GET_TSF_TIMER_CMDID);
- WMI_RETURN_STRING(WMI_DCC_GET_STATS_CMDID);
- WMI_RETURN_STRING(WMI_DCC_CLEAR_STATS_CMDID);
- WMI_RETURN_STRING(WMI_DCC_UPDATE_NDL_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_FILTER_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_SUBNET_CHANGE_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_DEBUG_MESG_FLUSH_CMDID);
- WMI_RETURN_STRING(WMI_PEER_SET_RATE_REPORT_CONDITION_CMDID);
- WMI_RETURN_STRING(WMI_SOC_SET_PCL_CMDID);
- WMI_RETURN_STRING(WMI_SOC_SET_HW_MODE_CMDID);
- WMI_RETURN_STRING(WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_WOW_ENABLE_ICMPV6_NA_FLT_CMDID);
- WMI_RETURN_STRING(WMI_DIAG_EVENT_LOG_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_PACKET_FILTER_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_PACKET_FILTER_ENABLE_CMDID);
- WMI_RETURN_STRING(WMI_SAP_SET_BLACKLIST_PARAM_CMDID);
- WMI_RETURN_STRING(WMI_WOW_UDP_SVC_OFLD_CMDID);
- WMI_RETURN_STRING(WMI_MGMT_TX_SEND_CMDID);
- WMI_RETURN_STRING(WMI_SOC_SET_ANTENNA_MODE_CMDID);
- WMI_RETURN_STRING(WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_AP_PS_EGAP_PARAM_CMDID);
- WMI_RETURN_STRING(WMI_PMF_OFFLOAD_SET_SA_QUERY_CMDID);
- WMI_RETURN_STRING(WMI_BPF_GET_CAPABILITY_CMDID);
- WMI_RETURN_STRING(WMI_BPF_GET_VDEV_STATS_CMDID);
- WMI_RETURN_STRING(WMI_BPF_SET_VDEV_INSTRUCTIONS_CMDID);
- WMI_RETURN_STRING(WMI_BPF_DEL_VDEV_INSTRUCTIONS_CMDID);
- WMI_RETURN_STRING(WMI_NDI_GET_CAP_REQ_CMDID);
- WMI_RETURN_STRING(WMI_NDP_INITIATOR_REQ_CMDID);
- WMI_RETURN_STRING(WMI_NDP_RESPONDER_REQ_CMDID);
- WMI_RETURN_STRING(WMI_NDP_END_REQ_CMDID);
- WMI_RETURN_STRING(WMI_PEER_UPDATE_WDS_ENTRY_CMDID);
- WMI_RETURN_STRING(WMI_PEER_ADD_PROXY_STA_ENTRY_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_FIPS_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SMART_ANT_ENABLE_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SMART_ANT_SET_RX_ANTENNA_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_ANTENNA_SWITCH_TABLE_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_CTL_TABLE_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_GET_TPC_CMDID);
- WMI_RETURN_STRING(WMI_MIB_STATS_ENABLE_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_GET_ANI_CCK_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_GET_ANI_OFDM_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_RATEMASK_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_ATF_REQUEST_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_SET_DSCP_TID_MAP_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_SET_QUIET_MODE_CMDID);
- WMI_RETURN_STRING(WMI_PEER_SMART_ANT_SET_TX_ANTENNA_CMDID);
- WMI_RETURN_STRING(WMI_PEER_SMART_ANT_SET_TRAIN_INFO_CMDID);
- WMI_RETURN_STRING(WMI_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMDID);
- WMI_RETURN_STRING(WMI_PEER_ATF_REQUEST_CMDID);
- WMI_RETURN_STRING(WMI_FWTEST_CMDID);
- WMI_RETURN_STRING(WMI_QBOOST_CFG_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_GET_NFCAL_POWER_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_PCL_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_HW_MODE_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_MAC_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_ANTENNA_MODE_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_SET_MBO_PARAM_CMDID);
- WMI_RETURN_STRING(WMI_CHAN_AVOID_RPT_ALLOW_CMDID);
- WMI_RETURN_STRING(WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_WAL_POWER_DEBUG_CMDID);
- WMI_RETURN_STRING(WMI_PEER_BWF_REQUEST_CMDID);
- WMI_RETURN_STRING(WMI_DBGLOG_TIME_STAMP_SYNC_CMDID);
- WMI_RETURN_STRING(WMI_P2P_LISTEN_OFFLOAD_START_CMDID);
- WMI_RETURN_STRING(WMI_P2P_LISTEN_OFFLOAD_STOP_CMDID);
- WMI_RETURN_STRING(WMI_PEER_REORDER_QUEUE_SETUP_CMDID);
- WMI_RETURN_STRING(WMI_PEER_REORDER_QUEUE_REMOVE_CMDID);
- WMI_RETURN_STRING(WMI_SET_MULTIPLE_MCAST_FILTER_CMDID);
- WMI_RETURN_STRING(WMI_READ_DATA_FROM_FLASH_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID);
- WMI_RETURN_STRING(WMI_PEER_SET_RX_BLOCKSIZE_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_WAKEUP_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_GET_ANTDIV_STATUS_CMDID);
- WMI_RETURN_STRING(WMI_PEER_ANTDIV_INFO_REQ_CMDID);
- WMI_RETURN_STRING(WMI_MNT_FILTER_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_GET_CHIP_POWER_STATS_CMDID);
- WMI_RETURN_STRING(WMI_COEX_GET_ANTENNA_ISOLATION_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_STATS_THRESHOLD_CMDID);
- WMI_RETURN_STRING(WMI_REQUEST_WLAN_STATS_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_ENCRYPT_DECRYPT_DATA_REQ_CMDID);
- WMI_RETURN_STRING(WMI_REQUEST_PEER_STATS_INFO_CMDID);
- WMI_RETURN_STRING(WMI_REQUEST_RADIO_CHAN_STATS_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_PER_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID);
- WMI_RETURN_STRING(WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID);
- WMI_RETURN_STRING(WMI_HW_DATA_FILTER_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID);
- WMI_RETURN_STRING(WMI_LPI_OEM_REQ_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_UPDATE_PKT_ROUTING_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_CHECK_CAL_VERSION_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_DIVERSITY_GAIN_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_SET_ARP_STAT_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_GET_ARP_STAT_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_GET_TX_POWER_CMDID);
- WMI_RETURN_STRING(WMI_OFFCHAN_DATA_TX_SEND_CMDID);
- WMI_RETURN_STRING(WMI_SET_INIT_COUNTRY_CMDID);
- WMI_RETURN_STRING(WMI_SET_SCAN_DBS_DUTY_CYCLE_CMDID);
- WMI_RETURN_STRING(WMI_THERM_THROT_SET_CONF_CMDID);
- WMI_RETURN_STRING(WMI_OEM_DMA_RING_CFG_REQ_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_LIMIT_OFFCHAN_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_BTM_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_WLM_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_UPDATE_CTLTABLE_REQUEST_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_CONFIG_VENDOR_OUI_ACTION_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SEND_FD_CMDID);
- WMI_RETURN_STRING(WMI_ENABLE_FILS_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_AC_TX_QUEUE_OPTIMIZED_CMDID);
- WMI_RETURN_STRING(WMI_PEER_TID_MSDUQ_QDEPTH_THRESH_UPDATE_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_RX_FILTER_PROMISCUOUS_CMDID);
- WMI_RETURN_STRING(WMI_SAP_OBSS_DETECTION_CFG_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_DMA_RING_CFG_REQ_CMDID);
- WMI_RETURN_STRING(WMI_11K_OFFLOAD_REPORT_CMDID);
- WMI_RETURN_STRING(WMI_11K_INVOKE_NEIGHBOR_REPORT_CMDID);
- WMI_RETURN_STRING(WMI_BPF_SET_VDEV_ENABLE_CMDID);
- WMI_RETURN_STRING(WMI_BPF_SET_VDEV_WORK_MEMORY_CMDID);
- WMI_RETURN_STRING(WMI_BPF_GET_VDEV_WORK_MEMORY_CMDID);
- WMI_RETURN_STRING(WMI_BSS_COLOR_CHANGE_ENABLE_CMDID);
- WMI_RETURN_STRING(WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_RUNTIME_DPD_RECAL_CMDID);
- WMI_RETURN_STRING(WMI_TWT_ENABLE_CMDID);
- WMI_RETURN_STRING(WMI_TWT_DISABLE_CMDID);
- WMI_RETURN_STRING(WMI_TWT_ADD_DIALOG_CMDID);
- WMI_RETURN_STRING(WMI_TWT_DEL_DIALOG_CMDID);
- WMI_RETURN_STRING(WMI_TWT_PAUSE_DIALOG_CMDID);
- WMI_RETURN_STRING(WMI_TWT_RESUME_DIALOG_CMDID);
- WMI_RETURN_STRING(WMI_REQUEST_ROAM_SCAN_STATS_CMDID);
- WMI_RETURN_STRING(WMI_PEER_TID_CONFIGURATIONS_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID);
- WMI_RETURN_STRING(WMI_GET_TPC_POWER_CMDID);
- WMI_RETURN_STRING(WMI_MOTION_DET_CONFIG_PARAM_CMDID);
- WMI_RETURN_STRING(WMI_MOTION_DET_BASE_LINE_CONFIG_PARAM_CMDID);
- WMI_RETURN_STRING(WMI_MOTION_DET_START_STOP_CMDID);
- WMI_RETURN_STRING(WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID);
- WMI_RETURN_STRING(WMI_SAR_LIMITS_CMDID);
- WMI_RETURN_STRING(WMI_SAR_GET_LIMITS_CMDID);
- WMI_RETURN_STRING(WMI_PEER_CHAN_WIDTH_SWITCH_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_HE_TB_ACTION_FRM_CMDID);
- WMI_RETURN_STRING(WMI_HPCS_PULSE_START_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_CHAINMASK_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_BCN_OFFLOAD_QUIET_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_NDP_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_PKTLOG_FILTER_CMDID);
- WMI_RETURN_STRING(WMI_SET_CURRENT_COUNTRY_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_GET_BCN_RECEPTION_STATS_CMDID);
- WMI_RETURN_STRING(WMI_PEER_TX_PN_REQUEST_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_BSS_LOAD_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_GET_MWS_COEX_INFO_CMDID);
- WMI_RETURN_STRING(WMI_REQUEST_WLM_STATS_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_RAP_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_STA_TDCC_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_DEAUTH_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_IDLE_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_IDLE_TRIGGER_MONITOR_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_DSM_FILTER_CMDID);
- WMI_RETURN_STRING(WMI_TWT_BTWT_INVITE_STA_CMDID);
- WMI_RETURN_STRING(WMI_TWT_BTWT_REMOVE_STA_CMDID);
- WMI_RETURN_STRING(WMI_OEM_DATA_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_PREAUTH_STATUS_CMDID);
- WMI_RETURN_STRING(WMI_SET_ELNA_BYPASS_CMDID);
- WMI_RETURN_STRING(WMI_GET_ELNA_BYPASS_CMDID);
- WMI_RETURN_STRING(WMI_AUDIO_AGGR_ENABLE_CMDID);
- WMI_RETURN_STRING(WMI_AUDIO_AGGR_ADD_GROUP_CMDID);
- WMI_RETURN_STRING(WMI_AUDIO_AGGR_DEL_GROUP_CMDID);
- WMI_RETURN_STRING(WMI_AUDIO_AGGR_SET_GROUP_RATE_CMDID);
- WMI_RETURN_STRING(WMI_AUDIO_AGGR_SET_GROUP_RETRY_CMDID);
- WMI_RETURN_STRING(WMI_AUDIO_AGGR_UPDATE_STA_GROUP_INFO_CMDID);
- WMI_RETURN_STRING(WMI_CFR_CAPTURE_FILTER_CMDID);
- WMI_RETURN_STRING(WMI_ATF_SSID_GROUPING_REQUEST_CMDID);
- WMI_RETURN_STRING(WMI_ATF_GROUP_WMM_AC_CONFIG_REQUEST_CMDID);
- WMI_RETURN_STRING(WMI_PEER_ATF_EXT_REQUEST_CMDID);
- WMI_RETURN_STRING(WMI_GET_CHANNEL_ANI_CMDID);
- WMI_RETURN_STRING(WMI_SET_OCL_CMDID);
- WMI_RETURN_STRING(WMI_AUDIO_AGGR_SET_GROUP_AUTO_RATE_CMDID);
- WMI_RETURN_STRING(WMI_AUDIO_AGGR_SET_GROUP_PROBE_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_AUDIO_SYNC_TRIGGER_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_AUDIO_SYNC_QTIMER_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_GET_SCAN_CHANNEL_LIST_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_GET_BIG_DATA_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_FRAME_INJECT_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_TBTT_OFFSET_SYNC_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_GET_BIG_DATA_P2_CMDID);
- WMI_RETURN_STRING(WMI_AUDIO_AGGR_GET_STATISTICS_CMDID);
- WMI_RETURN_STRING(WMI_AUDIO_AGGR_RESET_STATISTICS_CMDID);
- WMI_RETURN_STRING(WMI_ANT_CONTROLLER_CMDID);
- WMI_RETURN_STRING(WMI_SIMULATION_TEST_CMDID);
- WMI_RETURN_STRING(WMI_AUDIO_AGGR_SET_RTSCTS_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_REQUEST_CTRL_PATH_STATS_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_GET_TPC_STATS_CMDID);
- WMI_RETURN_STRING(WMI_AUDIO_AGGR_SET_SCHED_METHOD_CMDID);
- WMI_RETURN_STRING(WMI_AUDIO_AGGR_GET_SCHED_METHOD_CMDID);
- WMI_RETURN_STRING(WMI_REQUEST_UNIFIED_LL_GET_STA_CMDID);
- WMI_RETURN_STRING(WMI_QOS_NULL_FRAME_TX_SEND_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_ENABLE_DURATION_BASED_TX_MODE_SELECTION_CMDID);
- WMI_RETURN_STRING(WMI_TWT_NUDGE_DIALOG_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_SET_TPC_POWER_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_TID_LATENCY_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_PEER_TID_LATENCY_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_MLO_LINK_SET_ACTIVE_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_GET_DPD_STATUS_CMDID);
- WMI_RETURN_STRING(WMI_MLO_SETUP_CMDID);
- WMI_RETURN_STRING(WMI_MLO_READY_CMDID);
- WMI_RETURN_STRING(WMI_MLO_TEARDOWN_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_IGMP_OFFLOAD_CMDID);
- WMI_RETURN_STRING(WMI_MGMT_RX_REO_FILTER_CONFIGURATION_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_BIOS_SAR_TABLE_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_BIOS_GEO_TABLE_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_GET_HALPHY_CAL_STATUS_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_SET_HALPHY_CAL_BMAP_CMDID);
- WMI_RETURN_STRING(WMI_AFC_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_MULTIPLE_VDEV_SET_PARAM_CMDID);
- WMI_RETURN_STRING(WMI_PDEV_MEC_AGING_TIMER_CONFIG_CMDID);
- WMI_RETURN_STRING(WMI_PEER_CONFIG_PPE_DS_CMDID);
- WMI_RETURN_STRING(WMI_VDEV_ENABLE_DISABLE_INTRA_BSS_CMDID);
- WMI_RETURN_STRING(WMI_PEER_ENABLE_DISABLE_INTRA_BSS_CMDID);
- WMI_RETURN_STRING(WMI_ROAM_MLO_CONFIG_CMDID);
- }
- return "Invalid WMI cmd";
- }
- #endif
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 new_alpha2;
- } wmi_set_current_country_cmd_fixed_param;
- typedef enum {
- WMI_COUNTRYCODE_ALPHA2,
- WMI_COUNTRYCODE_COUNTRY_ID,
- WMI_COUNTRYCODE_DOMAIN_CODE,
- } WMI_COUNTRYCODE_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 countrycode_type;
- union {
- struct {
-
- A_UINT32 alpha2:24,
- unused:8;
- };
- A_UINT32 country_id;
- A_UINT32 domain_code;
- } country_code;
- } wmi_set_init_country_cmd_fixed_param;
- typedef enum {
-
- AFC_SERV_RESP_FORMAT_JSON = 0,
- AFC_SERV_RESP_FORMAT_BINARY = 1,
- } WMI_AFC_SERV_RESP_FORMAT_TYPE;
- typedef enum {
-
- WMI_AFC_CMD_SERV_RESP_READY = 1,
- } WMI_AFC_CMD_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 cmd_type;
- A_UINT32 serv_resp_format;
- } wmi_afc_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 status;
- A_UINT32 time_to_live;
- A_UINT32 length;
- A_UINT32 payload_format;
-
- } wmi_afc_serv_resp_struct;
- typedef struct {
- A_UINT32 freq_info;
- A_INT32 max_psd;
- } afc_freq_info;
- typedef struct {
- A_UINT32 channel_cfi;
- A_UINT32 max_eirp_pwr;
- } afc_eirp_info;
- typedef struct {
- A_UINT32 global_operating_class;
- A_UINT32 num_channels;
-
- } afc_channel_info;
- typedef struct {
- A_UINT32 local_error_code;
- A_UINT32 version;
- A_UINT32 afc_wfa_version;
- A_UINT32 request_id;
- A_UINT32 avail_exp_time_d;
- A_UINT32 avail_exp_time_t;
- A_INT32 afc_serv_resp_code;
- A_UINT32 num_frequency_obj;
- A_UINT32 num_channel_obj;
- char shortdesc[64];
- A_UINT32 reserved[2];
-
- } afc_spectrum_inquiry_resp_bin_type;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 enable;
- } wmi_vdev_enable_disable_intra_bss_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr mac_addr;
-
- A_UINT32 vdev_id;
-
- A_UINT32 enable;
- } wmi_peer_enable_disable_intra_bss_cmd_fixed_param;
- #define WMI_REG_RULE_START_FREQ_GET(freq_info) WMI_GET_BITS(freq_info, 0, 16)
- #define WMI_REG_RULE_START_FREQ_SET(freq_info, value) WMI_SET_BITS(freq_info, 0, 16, value)
- #define WMI_REG_RULE_END_FREQ_GET(freq_info) WMI_GET_BITS(freq_info, 16, 16)
- #define WMI_REG_RULE_END_FREQ_SET(freq_info, value) WMI_SET_BITS(freq_info, 16, 16, value)
- #define WMI_REG_RULE_MAX_BW_GET(bw_pwr_info) WMI_GET_BITS(bw_pwr_info, 0, 16)
- #define WMI_REG_RULE_MAX_BW_SET(bw_pwr_info, value) WMI_SET_BITS(bw_pwr_info, 0, 16, value)
- #define WMI_REG_RULE_REG_POWER_GET(bw_pwr_info) WMI_GET_BITS(bw_pwr_info, 16, 8)
- #define WMI_REG_RULE_REG_POWER_SET(bw_pwr_info, value) WMI_SET_BITS(bw_pwr_info, 16, 8, value)
- #define WMI_REG_RULE_ANTENNA_GAIN_GET(bw_pwr_info) WMI_GET_BITS(bw_pwr_info, 24, 8)
- #define WMI_REG_RULE_ANTENNA_GAIN_SET(bw_pwr_info, value) WMI_SET_BITS(bw_pwr_info, 24, 8, value)
- typedef enum {
- WMI_REG_FLAG_CHAN_NO_IR = 0x0001,
- WMI_REG_FLAG_CHAN_RADAR = 0x0002,
- WMI_REG_FLAG_CHAN_NO_OFDM = 0x0004,
- WMI_REG_FLAG_CHAN_INDOOR_ONLY = 0x0008,
- } WMI_REGULATORY_FLAGS;
- #define WMI_REG_RULE_FLAGS_GET(flag_info) WMI_GET_BITS(flag_info, 0, 16)
- #define WMI_REG_RULE_FLAGS_SET(flag_info, value) WMI_SET_BITS(flag_info, 0, 16, value)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 freq_info;
- A_UINT32 bw_pwr_info;
- A_UINT32 flag_info;
- } wmi_regulatory_rule_struct;
- #define WMI_REG_RULE_PSD_FLAG_GET(psd_power_info) \
- WMI_GET_BITS(psd_power_info, 0, 1)
- #define WMI_REG_RULE_PSD_FLAG_SET(psd_power_info, value) \
- WMI_SET_BITS(psd_power_info, 0, 1, value)
- #define WMI_REG_RULE_PSD_EIRP_GET(psd_power_info) \
- WMI_GET_BITS(psd_power_info, 16, 16)
- #define WMI_REG_RULE_PSD_EIRP_SET(psd_power_info, value) \
- WMI_SET_BITS(psd_power_info, 16, 16, value)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 freq_info;
- A_UINT32 bw_pwr_info;
- A_UINT32 flag_info;
- A_UINT32 psd_power_info;
- } wmi_regulatory_rule_ext_struct;
- typedef enum {
- WMI_REG_DFS_UNINIT_REGION = 0,
- WMI_REG_DFS_FCC_REGION = 1,
- WMI_REG_DFS_ETSI_REGION = 2,
- WMI_REG_DFS_MKK_REGION = 3,
- WMI_REG_DFS_CN_REGION = 4,
- WMI_REG_DFS_KR_REGION = 5,
-
- WMI_REG_DFS_UNDEF_REGION = 0xFFFF,
- } WMI_REG_DFS_REGION;
- typedef enum {
- WMI_REGULATORY_PHYMODE_NO11A = 0x0001,
- WMI_REGULATORY_PHYMODE_NO11B = 0x0002,
- WMI_REGULATORY_PHYMODE_NO11G = 0x0004,
- WMI_REGULATORY_PHYMODE_NO11N = 0x0008,
- WMI_REGULATORY_PHYMODE_NO11AC = 0x0010,
- WMI_REGULATORY_PHYMODE_NO11AX = 0x0020,
- WMI_REGULATORY_PHYMODE_NO11BE = 0x0040,
- } WMI_REGULATORY_PHYBITMAP;
- typedef enum {
- WMI_REG_SET_CC_STATUS_PASS = 0,
- WMI_REG_CURRENT_ALPHA2_NOT_FOUND = 1,
- WMI_REG_INIT_ALPHA2_NOT_FOUND = 2,
- WMI_REG_SET_CC_CHANGE_NOT_ALLOWED = 3,
- WMI_REG_SET_CC_STATUS_NO_MEMORY = 4,
- WMI_REG_SET_CC_STATUS_FAIL = 5,
- } WMI_REG_SET_CC_STATUS_CODE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 status_code;
- A_UINT32 phy_id;
- A_UINT32 alpha2;
- A_UINT32 num_phy;
- A_UINT32 country_id;
- A_UINT32 domain_code;
- A_UINT32 dfs_region;
- A_UINT32 phybitmap;
- A_UINT32 min_bw_2g;
- A_UINT32 max_bw_2g;
- A_UINT32 min_bw_5g;
- A_UINT32 max_bw_5g;
- A_UINT32 num_2g_reg_rules;
- A_UINT32 num_5g_reg_rules;
- } wmi_reg_chan_list_cc_event_fixed_param;
- typedef enum {
- WMI_REG_CLIENT_REGULAR = 0,
- WMI_REG_CLIENT_SUBORDINATE = 1,
-
- WMI_REG_CLIENT_MAX = 4,
- } wmi_reg_client_type;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 status_code;
- A_UINT32 phy_id;
- A_UINT32 alpha2;
- A_UINT32 num_phy;
- A_UINT32 country_id;
- A_UINT32 domain_code;
- A_UINT32 dfs_region;
- A_UINT32 phybitmap;
- A_UINT32 min_bw_2g;
- A_UINT32 max_bw_2g;
- A_UINT32 min_bw_5g;
- A_UINT32 max_bw_5g;
- A_UINT32 num_2g_reg_rules;
- A_UINT32 num_5g_reg_rules;
- A_UINT32 client_type;
- A_UINT32 rnr_tpe_usable;
- A_UINT32 unspecified_ap_usable;
- A_UINT32 domain_code_6g_ap_lpi;
- A_UINT32 domain_code_6g_ap_sp;
- A_UINT32 domain_code_6g_ap_vlp;
- A_UINT32 domain_code_6g_client_lpi[WMI_REG_CLIENT_MAX];
- A_UINT32 domain_code_6g_client_sp[WMI_REG_CLIENT_MAX];
- A_UINT32 domain_code_6g_client_vlp[WMI_REG_CLIENT_MAX];
- A_UINT32 domain_code_6g_super_id;
- A_UINT32 min_bw_6g_ap_sp;
- A_UINT32 max_bw_6g_ap_sp;
- A_UINT32 min_bw_6g_ap_lpi;
- A_UINT32 max_bw_6g_ap_lpi;
- A_UINT32 min_bw_6g_ap_vlp;
- A_UINT32 max_bw_6g_ap_vlp;
- A_UINT32 min_bw_6g_client_sp[WMI_REG_CLIENT_MAX];
- A_UINT32 max_bw_6g_client_sp[WMI_REG_CLIENT_MAX];
- A_UINT32 min_bw_6g_client_lpi[WMI_REG_CLIENT_MAX];
- A_UINT32 max_bw_6g_client_lpi[WMI_REG_CLIENT_MAX];
- A_UINT32 min_bw_6g_client_vlp[WMI_REG_CLIENT_MAX];
- A_UINT32 max_bw_6g_client_vlp[WMI_REG_CLIENT_MAX];
- A_UINT32 num_6g_reg_rules_ap_sp;
- A_UINT32 num_6g_reg_rules_ap_lpi;
- A_UINT32 num_6g_reg_rules_ap_vlp;
- A_UINT32 num_6g_reg_rules_client_sp[WMI_REG_CLIENT_MAX];
- A_UINT32 num_6g_reg_rules_client_lpi[WMI_REG_CLIENT_MAX];
- A_UINT32 num_6g_reg_rules_client_vlp[WMI_REG_CLIENT_MAX];
- } wmi_reg_chan_list_cc_event_ext_fixed_param;
- #define WMI_AFC_WFA_MINOR_VERSION_GET(afc_wfa_version) WMI_GET_BITS(afc_wfa_version, 0, 16)
- #define WMI_AFC_WFA_MINOR_VERSION_SET(afc_wfa_version, value) WMI_SET_BITS(afc_wfa_version, 0, 16, value)
- #define WMI_AFC_WFA_MAJOR_VERSION_GET(afc_wfa_version) WMI_GET_BITS(afc_wfa_version, 16, 16)
- #define WMI_AFC_WFA_MAJOR_VERSION_SET(afc_wfa_version, value) WMI_SET_BITS(afc_wfa_version, 16, 16, value)
- #define WMI_AVAIL_EXPIRY_TIME_DAY_GET(avail_exp_time_d) WMI_GET_BITS(avail_exp_time_d, 0, 8)
- #define WMI_AVAIL_EXPIRY_TIME_DAY_SET(avail_exp_time_d, value) WMI_SET_BITS(avail_exp_time_d, 0, 8, value)
- #define WMI_AVAIL_EXPIRY_TIME_MONTH_GET(avail_exp_time_d) WMI_GET_BITS(avail_exp_time_d, 8, 8)
- #define WMI_AVAIL_EXPIRY_TIME_MONTH_SET(avail_exp_time_d, value) WMI_SET_BITS(avail_exp_time_d, 8, 8, value)
- #define WMI_AVAIL_EXPIRY_TIME_YEAR_GET(avail_exp_time_d) WMI_GET_BITS(avail_exp_time_d, 16, 16)
- #define WMI_AVAIL_EXPIRY_TIME_YEAR_SET(avail_exp_time_d, value) WMI_SET_BITS(avail_exp_time_d, 16, 16, value)
- #define WMI_AVAIL_EXPIRY_TIME_SEC_GET(avail_exp_time_t) WMI_GET_BITS(avail_exp_time_t, 0, 8)
- #define WMI_AVAIL_EXPIRY_TIME_SEC_SET(avail_exp_time_t, value) WMI_SET_BITS(avail_exp_time_t, 0, 8, value)
- #define WMI_AVAIL_EXPIRY_TIME_MINUTE_GET(avail_exp_time_t) WMI_GET_BITS(avail_exp_time_t, 8, 8)
- #define WMI_AVAIL_EXPIRY_TIME_MINUTE_SET(avail_exp_time_t, value) WMI_SET_BITS(avail_exp_time_t, 8, 8, value)
- #define WMI_AVAIL_EXPIRY_TIME_HOUR_GET(avail_exp_time_t) WMI_GET_BITS(avail_exp_time_t, 16, 8)
- #define WMI_AVAIL_EXPIRY_TIME_HOUR_SET(avail_exp_time_t, value) WMI_SET_BITS(avail_exp_time_t, 16, 8, value)
- typedef enum {
-
- WMI_AFC_EVENT_POWER_INFO = 1,
- WMI_AFC_EVENT_TIMER_EXPIRY = 2,
- } WMI_AFC_EVENT_TYPE;
- typedef enum {
-
- WMI_AFC_EXPIRY_EVENT_START = 1,
- WMI_AFC_EXPIRY_EVENT_RENEW = 2,
- WMI_AFC_EXPIRY_EVENT_SWITCH_TO_LPI = 3,
- } WMI_AFC_EXPIRY_EVENT_SUBTYPE;
- typedef enum {
-
- WMI_FW_AFC_POWER_EVENT_SUCCESS = 0,
- WMI_FW_AFC_POWER_EVENT_RESP_NOT_RECEIVED = 1,
- WMI_FW_AFC_POWER_EVENT_RESP_PARSING_FAILURE = 2,
- WMI_FW_AFC_POWER_EVENT_FAILURE = 3,
- } WMI_FW_AFC_POWER_EVENT_STATUS_CODE;
- typedef enum {
-
- WMI_AFC_SERV_RESP_GENERAL_FAILURE = -1,
- WMI_AFC_SERV_RESP_SUCCESS = 0,
- WMI_AFC_SERV_RESP_VERSION_NOT_SUPPORTED = 100,
- WMI_AFC_SERV_RESP_DEVICE_UNALLOWED = 101,
- WMI_AFC_SERV_RESP_MISSING_PARAM = 102,
- WMI_AFC_SERV_RESP_INVALID_VALUE = 103,
- WMI_AFC_SERV_RESP_UNEXPECTED_PARAM = 106,
- WMI_AFC_SERV_RESP_UNSUPPORTED_SPECTRUM = 300,
- } WMI_AFC_SERV_RESP_CODE;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 phy_id;
- A_UINT32 event_type;
-
- } wmi_afc_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 request_id;
- A_UINT32 event_subtype;
- A_UINT32 afc_wfa_version;
- } wmi_afc_expiry_event_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 fw_status_code;
- A_UINT32 resp_id;
- A_INT32 afc_serv_resp_code;
- A_UINT32 afc_wfa_version;
- A_UINT32 avail_exp_time_d;
- A_UINT32 avail_exp_time_t;
- } wmi_afc_power_event_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 freq_info;
- A_INT32 psd_power_info;
- } wmi_6g_afc_frequency_info;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 global_operating_class;
- A_UINT32 num_channels;
-
- } wmi_6g_afc_channel_info;
- typedef struct {
-
- A_UINT32 tlv_header ;
- A_UINT32 channel_cfi;
- A_UINT32 eirp_pwr;
- } wmi_afc_chan_eirp_power_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 scan_period_msec;
- A_UINT32 start_interval_msec;
- } wmi_11d_scan_start_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_11d_scan_stop_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 new_alpha2;
- } wmi_11d_new_country_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- } wmi_coex_get_antenna_isolation_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- } wmi_pdev_get_nfcal_power_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 isolation_chain0:8,
- isolation_chain1:8,
- isolation_chain2:8,
- isolation_chain3:8;
- } wmi_coex_report_isolation_event_fixed_param;
- typedef enum {
- WMI_RCPI_MEASUREMENT_TYPE_AVG_MGMT = 1,
- WMI_RCPI_MEASUREMENT_TYPE_AVG_DATA = 2,
- WMI_RCPI_MEASUREMENT_TYPE_LAST_MGMT = 3,
- WMI_RCPI_MEASUREMENT_TYPE_LAST_DATA = 4,
- } wmi_rcpi_measurement_type;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 measurement_type;
- } wmi_request_rcpi_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 measurement_type;
-
- A_INT32 rcpi;
-
- A_UINT32 status;
- } wmi_update_rcpi_event_fixed_param;
- #define WMI_PKGID_MASK_AUTO 0x00000080
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 value;
- } wmi_pkgid_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 enable;
-
- wmi_mac_addr mac_addr;
-
- A_UINT32 freq;
- } wmi_vdev_add_mac_addr_to_rx_filter_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 status;
- } wmi_vdev_add_mac_addr_to_rx_filter_status_event_fixed_param;
- typedef enum {
- WMI_HW_DATA_FILTER_DROP_NON_ARP_BC = 0x01,
- WMI_HW_DATA_FILTER_DROP_NON_ICMPV6_MC = 0x02,
- } WMI_HW_DATA_FILTER_BITMAP_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 enable;
- A_UINT32 hw_filter_bitmap;
- } wmi_hw_data_filter_cmd_fixed_param;
- #define WMI_MULTIPLE_VDEV_RESTART_FLAG_IS_MVRR_EVENT_SUPPORT(flag) WMI_GET_BITS(flag, 0, 1)
- #define WMI_MULTIPLE_VDEV_RESTART_FLAG_SET_MVRR_EVENT_SUPPORT(flag,val) WMI_SET_BITS(flag, 0, 1, val)
- #define WMI_MULTIPLE_VDEV_RESTART_FLAG_IS_PHYMODE_PRESENT(flag) WMI_GET_BITS(flag, 1, 1)
- #define WMI_MULTIPLE_VDEV_RESTART_FLAG_SET_PHYMODE_PRESENT(flag,val) WMI_SET_BITS(flag, 1, 1, val)
- #define WMI_MULTIPLE_VDEV_RESTART_FLAG_GET_PHYMODE(phymode) WMI_GET_BITS(phymode, 0, 6)
- #define WMI_MULTIPLE_VDEV_RESTART_FLAG_SET_PHYMODE(phymode, val) WMI_SET_BITS(phymode, 0, 6, val)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 requestor_id;
-
- A_UINT32 disable_hw_ack;
-
- A_UINT32 cac_duration_ms;
- A_UINT32 num_vdevs;
-
- A_UINT32 flags;
- A_UINT32 puncture_20mhz_bitmap;
-
- } wmi_pdev_multiple_vdev_restart_request_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 current_switch_count;
- A_UINT32 num_vdevs;
-
- } wmi_pdev_csa_switch_count_status_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 current_switch_count;
- } wmi_csc_vdev_list;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 current_switch_count;
-
- } wmi_pdev_csc_switch_count_status_event_fixed_param;
- typedef enum {
- WMI_PDEV_ADD_PKT_ROUTING,
- WMI_PDEV_DEL_PKT_ROUTING,
- } wmi_pdev_pkt_routing_op_code;
- typedef enum {
- WMI_PDEV_ROUTING_TYPE_ARP_IPV4,
- WMI_PDEV_ROUTING_TYPE_NS_IPV6,
- WMI_PDEV_ROUTING_TYPE_IGMP_IPV4,
- WMI_PDEV_ROUTING_TYPE_MLD_IPV6,
- WMI_PDEV_ROUTING_TYPE_DHCP_IPV4,
- WMI_PDEV_ROUTING_TYPE_DHCP_IPV6,
- WMI_PDEV_ROUTING_TYPE_DNS_TCP_IPV4,
- WMI_PDEV_ROUTING_TYPE_DNS_TCP_IPV6,
- WMI_PDEV_ROUTING_TYPE_DNS_UDP_IPV4,
- WMI_PDEV_ROUTING_TYPE_DNS_UDP_IPV6,
- WMI_PDEV_ROUTING_TYPE_ICMP_IPV4,
- WMI_PDEV_ROUTING_TYPE_ICMP_IPV6,
- WMI_PDEV_ROUTING_TYPE_TCP_IPV4,
- WMI_PDEV_ROUTING_TYPE_TCP_IPV6,
- WMI_PDEV_ROUTING_TYPE_UDP_IPV4,
- WMI_PDEV_ROUTING_TYPE_UDP_IPV6,
- WMI_PDEV_ROUTING_TYPE_IPV4,
- WMI_PDEV_ROUTING_TYPE_IPV6,
- WMI_PDEV_ROUTING_TYPE_EAP,
- } wmi_pdev_pkt_routing_type;
- typedef enum {
- WMI_PDEV_WIFIRXCCE_USE_CCE_E = 0,
- WMI_PDEV_WIFIRXCCE_USE_ASPT_E = 1,
- WMI_PDEV_WIFIRXCCE_USE_FT_E = 2,
- WMI_PDEV_WIFIRXCCE_USE_CCE2_E = 3,
- } wmi_pdev_dest_ring_handler_type;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 op_code;
-
- A_UINT32 routing_type_bitmap;
-
- A_UINT32 dest_ring;
-
- A_UINT32 meta_data;
-
- A_UINT32 dest_ring_handler;
- } wmi_pdev_update_pkt_routing_cmd_fixed_param;
- typedef enum {
- WMI_CALIBRATION_NO_FEATURE = 0,
- WMI_CALIBRATION_OK,
- WMI_CALIBRATION_NOT_OK,
- } WMI_CALIBRATION_STATUS;
- #define WMI_BOARD_MCN_STRING_MAX_SIZE 19
- #define WMI_BOARD_MCN_STRING_BUF_SIZE (WMI_BOARD_MCN_STRING_MAX_SIZE+1)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 software_cal_version;
- A_UINT32 board_cal_version;
- A_UINT32 cal_status;
-
- A_UINT8 board_mcn_detail[WMI_BOARD_MCN_STRING_BUF_SIZE];
-
- A_UINT32 pdev_id;
- } wmi_pdev_check_cal_version_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- } wmi_pdev_check_cal_version_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 nss;
-
- A_UINT32 num_gains;
-
- } wmi_pdev_set_diversity_gain_cmd_fixed_param;
- #define WMI_UNIT_TEST_EVENT_FLAG_STATUS 0
- #define WMI_UNIT_TEST_EVENT_FLAG_DONE 1
- #define WMI_SET_UNIT_TEST_EVENT_FLAG_STATUS_SUCCESS(flag) do { \
- (flag) |= (1 << WMI_UNIT_TEST_EVENT_FLAG_STATUS); \
- } while (0)
- #define WMI_SET_UNIT_TEST_EVENT_FLAG_STATUS_FAIL(flag) do { \
- (flag) &= ~(1 << WMI_UNIT_TEST_EVENT_FLAG_STATUS); \
- } while (0)
- #define WMI_GET_UNIT_TEST_EVENT_FLAG_STSTUS(flag) \
- ((flag) & (1 << WMI_UNIT_TEST_EVENT_FLAG_STATUS))
- #define WMI_SET_UNIT_TEST_EVENT_FLAG_DONE(flag) do { \
- (flag) |= (1 << WMI_UNIT_TEST_EVENT_FLAG_DONE); \
- } while (0)
- #define WMI_CLR_UNIT_TEST_EVENT_FLAG_DONE(flag) do { \
- (flag) &= ~(1 << WMI_UNIT_TEST_EVENT_FLAG_DONE); \
- } while (0)
- #define WMI_GET_UNIT_TEST_EVENT_FLAG_DONE(flag) \
- ((flag) & (1 << WMI_UNIT_TEST_EVENT_FLAG_DONE))
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 module_id;
-
- A_UINT32 diag_token;
-
- A_UINT32 flag;
-
- A_UINT32 payload_len;
-
- } wmi_unit_test_event_fixed_param;
- typedef enum {
- WMI_WLM_LL_NORMAL = 0x0,
- WMI_WLM_LL_MODERATE = 0x1,
- WMI_WLM_LL_LOW = 0x2,
- WMI_WLM_LL_ULTRA_LOW = 0x3,
- } WMI_WLM_LATENCY_LEVEL;
- #define WLM_FLAGS_SCAN_SUPPRESS 1
- #define WLM_FLAGS_SCAN_SKIP_DFS 1
- #define WLM_FLAGS_DEFAULT_SCAN_DWELL_TIME 0
- #define WLM_FLAGS_STICK_SCAN_DWELL_TIME 1
- #define WLM_FLAGS_SHRINK_SCAN_DWELL_TIME 2
- #define WLM_FLAGS_ROAM_ALLOW 0
- #define WLM_FLAGS_ROAM_SUPPRESS 1
- #define WLM_FLAGS_ALLOW_FINAL_BMISS_ROAM 2
- #define WLM_FLAGS_PS_DISABLE_BMPS 1
- #define WLM_FLAGS_PS_DISABLE_CSS_COLLAPSE 1
- #define WLM_FLAGS_PS_DISABLE_SYS_SLEEP 1
- #define WLM_FLAGS_SCAN_IS_SUPPRESS(flag) WMI_GET_BITS(flag, 0, 1)
- #define WLM_FLAGS_SCAN_SET_SUPPRESS(flag, val) WMI_SET_BITS(flag, 0, 1, val)
- #define WLM_FLAGS_SCAN_IS_SKIP_DFS(flag) WMI_GET_BITS(flag, 1, 1)
- #define WLM_FLAGS_SCAN_SET_SKIP_DFS(flag, val) WMI_SET_BITS(flag, 1, 1, val)
- #define WLM_FLAGS_SCAN_GET_DWELL_TIME_POLICY(flag) WMI_GET_BITS(flag, 2, 2)
- #define WLM_FLAGS_SCAN_SET_DWELL_TIME_POLICY(flag, val) WMI_SET_BITS(flag, 2, 2, val)
- #define WLM_FLAGS_TSF_LATENCY_COMPENSATE_ENABLED_GET(flag) WMI_GET_BITS(flag, 4, 1)
- #define WLM_FLAGS_TSF_LATENCY_COMPENSATE_ENABLED_SET(flag) WMI_SET_BITS(flag, 4, 1, val)
- #define WLM_FLAGS_ROAM_GET_POLICY(flag) WMI_GET_BITS(flag, 6, 2)
- #define WLM_FLAGS_ROAM_SET_POLICY(flag, val) WMI_SET_BITS(flag, 6, 2, val)
- #define WLM_FLAGS_PS_IS_BMPS_DISABLED(flag) WMI_GET_BITS(flag, 9, 1)
- #define WLM_FLAGS_PS_IS_CSS_CLPS_DISABLED(flag) WMI_GET_BITS(flag, 10, 1)
- #define WLM_FLAGS_PS_SET_CSS_CLPS_DISABLE(flag, val) WMI_SET_BITS(flag, 10, 1, val)
- #define WLM_FLAGS_PS_IS_SYS_SLP_DISABLED(flag) WMI_GET_BITS(flag, 11, 1)
- #define WLM_FLAGS_PS_SET_SYS_SLP_DISABLE(flag, val) WMI_SET_BITS(flag, 11, 1, val)
- #define WLM_FLAGS_WAL_LIMIT_TRY_ENABLED(flag) WMI_GET_BITS(flag, 12, 1)
- #define WLM_FLAGS_WAL_LIMIT_TRY_SET(flag, val) WMI_SET_BITS(flag, 12, 1, val)
- #define WLM_FLAGS_WAL_ADJUST_EDCA_ENABLED(flag) WMI_GET_BITS(flag, 13, 1)
- #define WLM_FLAGS_WAL_ADJUST_EDCA_SET(flag, val) WMI_SET_BITS(flag, 13, 1, val)
- #define WLM_FLAGS_WAL_1NSS_ENABLED(flag) (WMI_GET_BITS(flag, 14, 3) & 0x1)
- #define WLM_FLAGS_WAL_NSS_SET(flag, val) WMI_SET_BITS(flag, 14, 3, val)
- #define WLM_FLAGS_WAL_ALWAYS_RTS_PROTECTION(flag) WMI_GET_BITS(flag, 17, 1)
- #define WLM_FLAGS_WAL_RTS_PROTECTION_SET(flag, val) WMI_SET_BITS(flag, 17, 1, val)
- #define WLM_FLAGS_WAL_DISABLE_SECONDARY_RATE(flag) WMI_GET_BITS(flag, 18, 1)
- #define WLM_FLAGS_WAL_SECONDARY_RATE_SET(flag, val) WMI_SET_BITS(flag, 18, 1, val)
- #define WLM_FLAGS_PS_IS_PCIE_L11_ENABLED(flag) WMI_GET_BITS(flag, 19, 1)
- #define WLM_FLAGS_PS_SET_PCIE_L11_ENABLE(flag, val) WMI_SET_BITS(flag, 19, 1, val)
- #define WLM_FLAGS_PS_IS_PHYRF_PS_ENABLED(flag) WMI_GET_BITS(flag, 20, 1)
- #define WLM_FLAGS_PS_SET_PHYRF_PS_ENABLE(flag, val) WMI_SET_BITS(flag, 20, 1, val)
- #define WLM_FLAGS_SCAN_IS_SPLIT_PAS_CH_ENABLED(flag) WMI_GET_BITS(flag, 21, 1)
- #define WLM_FLAGS_SCAN_SET_SPLIT_PAS_CH_ENABLE(flag, val) WMI_SET_BITS(flag, 21, 1, val)
- #define WLM_FLAGS_SCAN_IS_ADAPT_SCAN_ENABLED(flag) WMI_GET_BITS(flag, 22, 1)
- #define WLM_FLAGS_SCAN_SET_ADAPT_SCAN_ENABLE(flag, val) WMI_SET_BITS(flag, 22, 1, val)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 latency_level;
-
- A_UINT32 ul_latency;
-
- A_UINT32 dl_latency;
-
- A_UINT32 flags;
- } wmi_wlm_config_cmd_fixed_param;
- #define TWT_EN_DIS_FLAGS_GET_BTWT(flag) WMI_GET_BITS(flag, 0, 1)
- #define TWT_EN_DIS_FLAGS_SET_BTWT(flag, val) WMI_SET_BITS(flag, 0, 1, val)
- #define TWT_EN_DIS_FLAGS_GET_L_MBSSID(flag) WMI_GET_BITS(flag, 1, 1)
- #define TWT_EN_DIS_FLAGS_SET_L_MBSSID(flag, val) WMI_SET_BITS(flag, 1, 1, val)
- #define TWT_EN_DIS_FLAGS_GET_AX_MBSSID(flag) WMI_GET_BITS(flag, 2, 1)
- #define TWT_EN_DIS_FLAGS_SET_AX_MBSSID(flag, val) WMI_SET_BITS(flag, 2, 1, val)
- #define TWT_EN_DIS_FLAGS_GET_SPLIT_CONFIG(flag) WMI_GET_BITS(flag, 3, 1)
- #define TWT_EN_DIS_FLAGS_SET_SPLIT_CONFIG(flag, val) WMI_SET_BITS(flag, 3, 1, val)
- #define TWT_EN_DIS_FLAGS_GET_REQ_RESP(flag) WMI_GET_BITS(flag, 4, 1)
- #define TWT_EN_DIS_FLAGS_SET_REQ_RESP(flag, val) WMI_SET_BITS(flag, 4, 1, val)
- #define TWT_EN_DIS_FLAGS_GET_I_B_TWT(flag) WMI_GET_BITS(flag, 5, 1)
- #define TWT_EN_DIS_FLAGS_SET_I_B_TWT(flag, val) WMI_SET_BITS(flag, 5, 1, val)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- A_UINT32 sta_cong_timer_ms;
- A_UINT32 mbss_support;
- A_UINT32 default_slot_size;
- A_UINT32 congestion_thresh_setup;
-
- A_UINT32 congestion_thresh_teardown;
- A_UINT32 congestion_thresh_critical;
-
- A_UINT32 interference_thresh_teardown;
- A_UINT32 interference_thresh_setup;
- A_UINT32 min_no_sta_setup;
- A_UINT32 min_no_sta_teardown;
- A_UINT32 no_of_bcast_mcast_slots;
- A_UINT32 min_no_twt_slots;
- A_UINT32 max_no_sta_twt;
-
- A_UINT32 mode_check_interval;
- A_UINT32 add_sta_slot_interval;
- A_UINT32 remove_sta_slot_interval;
- A_UINT32 flags;
- } wmi_twt_enable_cmd_fixed_param;
- typedef enum _WMI_ENABLE_TWT_STATUS_T {
- WMI_ENABLE_TWT_STATUS_OK,
- WMI_ENABLE_TWT_STATUS_ALREADY_ENABLED,
- WMI_ENABLE_TWT_STATUS_NOT_READY,
- WMI_ENABLE_TWT_INVALID_PARAM,
- WMI_ENABLE_TWT_STATUS_UNKNOWN_ERROR,
- } WMI_ENABLE_TWT_STATUS_T;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- A_UINT32 status;
- } wmi_twt_enable_complete_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- A_UINT32 flags;
- } wmi_twt_disable_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 status;
- } wmi_twt_disable_complete_event_fixed_param;
- typedef enum _WMI_DISABLE_TWT_STATUS_T {
- WMI_DISABLE_TWT_STATUS_OK,
- WMI_DISABLE_TWT_STATUS_ROAM_IN_PROGRESS,
- WMI_DISABLE_TWT_STATUS_CHAN_SW_IN_PROGRESS,
- WMI_DISABLE_TWT_STATUS_SCAN_IN_PROGRESS,
- } WMI_DISABLE_TWT_STATUS_T;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_twt_notify_event_fixed_param;
- typedef enum _WMI_TWT_COMMAND_T {
- WMI_TWT_COMMAND_REQUEST_TWT = 0,
- WMI_TWT_COMMAND_SUGGEST_TWT = 1,
- WMI_TWT_COMMAND_DEMAND_TWT = 2,
- WMI_TWT_COMMAND_TWT_GROUPING = 3,
- WMI_TWT_COMMAND_ACCEPT_TWT = 4,
- WMI_TWT_COMMAND_ALTERNATE_TWT = 5,
- WMI_TWT_COMMAND_DICTATE_TWT = 6,
- WMI_TWT_COMMAND_REJECT_TWT = 7,
- } WMI_TWT_COMMAND_T;
- #define TWT_FLAGS_GET_CMD(flag) WMI_GET_BITS(flag, 0, 8)
- #define TWT_FLAGS_SET_CMD(flag, val) WMI_SET_BITS(flag, 0, 8, val)
- #define TWT_FLAGS_GET_BROADCAST(flag) WMI_GET_BITS(flag, 8, 1)
- #define TWT_FLAGS_SET_BROADCAST(flag, val) WMI_SET_BITS(flag, 8, 1, val)
- #define TWT_FLAGS_GET_TRIGGER(flag) WMI_GET_BITS(flag, 9, 1)
- #define TWT_FLAGS_SET_TRIGGER(flag, val) WMI_SET_BITS(flag, 9, 1, val)
- #define TWT_FLAGS_GET_FLOW_TYPE(flag) WMI_GET_BITS(flag, 10, 1)
- #define TWT_FLAGS_SET_FLOW_TYPE(flag, val) WMI_SET_BITS(flag, 10, 1, val)
- #define TWT_FLAGS_GET_PROTECTION(flag) WMI_GET_BITS(flag, 11, 1)
- #define TWT_FLAGS_SET_PROTECTION(flag, val) WMI_SET_BITS(flag, 11, 1, val)
- #define TWT_FLAGS_GET_BTWT_ID0(flag) WMI_GET_BITS(flag, 12, 1)
- #define TWT_FLAGS_SET_BTWT_ID0(flag, val) WMI_SET_BITS(flag, 12, 1, val)
- #define TWT_FLAGS_GET_TWT_INFO_FRAME_DISABLED(flag) WMI_GET_BITS(flag, 13, 1)
- #define TWT_FLAGS_SET_TWT_INFO_FRAME_DISABLED(flag, val) WMI_SET_BITS(flag, 13, 1, val)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
- A_UINT32 twt_cmd;
- A_UINT32 status;
- } wmi_twt_ack_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
-
- A_UINT32 wake_intvl_us;
- A_UINT32 wake_intvl_mantis;
-
- A_UINT32 wake_dura_us;
- A_UINT32 sp_offset_us;
- A_UINT32 flags;
-
- A_UINT32 b_twt_persistence;
-
- A_UINT32 b_twt_recommendation;
-
- A_UINT32 min_wake_intvl_us;
-
- A_UINT32 max_wake_intvl_us;
-
- A_UINT32 min_wake_dura_us;
-
- A_UINT32 max_wake_dura_us;
-
- A_UINT32 sp_start_tsf_lo;
- A_UINT32 sp_start_tsf_hi;
- } wmi_twt_add_dialog_cmd_fixed_param;
- typedef enum _WMI_ADD_TWT_STATUS_T {
- WMI_ADD_TWT_STATUS_OK,
- WMI_ADD_TWT_STATUS_TWT_NOT_ENABLED,
- WMI_ADD_TWT_STATUS_USED_DIALOG_ID,
- WMI_ADD_TWT_STATUS_INVALID_PARAM,
- WMI_ADD_TWT_STATUS_NOT_READY,
- WMI_ADD_TWT_STATUS_NO_RESOURCE,
- WMI_ADD_TWT_STATUS_NO_ACK,
- WMI_ADD_TWT_STATUS_NO_RESPONSE,
- WMI_ADD_TWT_STATUS_DENIED,
- WMI_ADD_TWT_STATUS_UNKNOWN_ERROR,
- WMI_ADD_TWT_STATUS_AP_PARAMS_NOT_IN_RANGE,
- WMI_ADD_TWT_STATUS_AP_IE_VALIDATION_FAILED,
- WMI_ADD_TWT_STATUS_ROAM_IN_PROGRESS,
- WMI_ADD_TWT_STATUS_CHAN_SW_IN_PROGRESS,
- WMI_ADD_TWT_STATUS_SCAN_IN_PROGRESS,
- WMI_ADD_TWT_STATUS_DIALOG_ID_BUSY,
- } WMI_ADD_TWT_STATUS_T;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 flags;
- A_UINT32 wake_dur_us;
- A_UINT32 wake_intvl_us;
- A_UINT32 sp_offset_us;
- A_UINT32 sp_tsf_us_lo;
- A_UINT32 sp_tsf_us_hi;
- } wmi_twt_add_dialog_additional_params;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
- A_UINT32 status;
- } wmi_twt_add_dialog_complete_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
-
- A_UINT32 b_twt_persistence;
- A_UINT32 is_bcast_twt;
- } wmi_twt_del_dialog_cmd_fixed_param;
- typedef enum _WMI_DEL_TWT_STATUS_T {
- WMI_DEL_TWT_STATUS_OK,
- WMI_DEL_TWT_STATUS_DIALOG_ID_NOT_EXIST,
- WMI_DEL_TWT_STATUS_INVALID_PARAM,
- WMI_DEL_TWT_STATUS_DIALOG_ID_BUSY,
- WMI_DEL_TWT_STATUS_NO_RESOURCE,
- WMI_DEL_TWT_STATUS_NO_ACK,
- WMI_DEL_TWT_STATUS_UNKNOWN_ERROR,
- WMI_DEL_TWT_STATUS_PEER_INIT_TEARDOWN,
- WMI_DEL_TWT_STATUS_ROAMING,
- WMI_DEL_TWT_STATUS_CONCURRENCY,
- WMI_DEL_TWT_STATUS_CHAN_SW_IN_PROGRESS,
- WMI_DEL_TWT_STATUS_SCAN_IN_PROGRESS,
- } WMI_DEL_TWT_STATUS_T;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
- A_UINT32 status;
- } wmi_twt_del_dialog_complete_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
- } wmi_twt_pause_dialog_cmd_fixed_param;
- typedef enum _WMI_PAUSE_TWT_STATUS_T {
- WMI_PAUSE_TWT_STATUS_OK,
- WMI_PAUSE_TWT_STATUS_DIALOG_ID_NOT_EXIST,
- WMI_PAUSE_TWT_STATUS_INVALID_PARAM,
- WMI_PAUSE_TWT_STATUS_DIALOG_ID_BUSY,
- WMI_PAUSE_TWT_STATUS_NO_RESOURCE,
- WMI_PAUSE_TWT_STATUS_NO_ACK,
- WMI_PAUSE_TWT_STATUS_UNKNOWN_ERROR,
- WMI_PAUSE_TWT_STATUS_ALREADY_PAUSED,
- WMI_PAUSE_TWT_STATUS_TWT_INFO_FRM_NOT_SUPPORTED,
- WMI_PAUSE_TWT_STATUS_CHAN_SW_IN_PROGRESS,
- WMI_PAUSE_TWT_STATUS_ROAM_IN_PROGRESS,
- WMI_PAUSE_TWT_STATUS_SCAN_IN_PROGRESS,
- } WMI_PAUSE_TWT_STATUS_T;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
- A_UINT32 status;
- } wmi_twt_pause_dialog_complete_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
- A_UINT32 sp_offset_us;
- A_UINT32 next_twt_size;
- } wmi_twt_resume_dialog_cmd_fixed_param;
- typedef enum _WMI_RESUME_TWT_STATUS_T {
- WMI_RESUME_TWT_STATUS_OK,
- WMI_RESUME_TWT_STATUS_DIALOG_ID_NOT_EXIST,
- WMI_RESUME_TWT_STATUS_INVALID_PARAM,
- WMI_RESUME_TWT_STATUS_DIALOG_ID_BUSY,
- WMI_RESUME_TWT_STATUS_NOT_PAUSED,
- WMI_RESUME_TWT_STATUS_NO_RESOURCE,
- WMI_RESUME_TWT_STATUS_NO_ACK,
- WMI_RESUME_TWT_STATUS_UNKNOWN_ERROR,
- WMI_RESUME_TWT_STATUS_TWT_INFO_FRM_NOT_SUPPORTED,
- WMI_RESUME_TWT_STATUS_CHAN_SW_IN_PROGRESS,
- WMI_RESUME_TWT_STATUS_ROAM_IN_PROGRESS,
- WMI_RESUME_TWT_STATUS_SCAN_IN_PROGRESS,
- } WMI_RESUME_TWT_STATUS_T;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
- A_UINT32 status;
- } wmi_twt_resume_dialog_complete_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
- A_UINT32 suspend_duration_ms;
- A_UINT32 next_twt_size;
- } wmi_twt_nudge_dialog_cmd_fixed_param;
- typedef enum _WMI_TWT_NUDGE_STATUS_T {
- WMI_NUDGE_TWT_STATUS_OK,
- WMI_NUDGE_TWT_STATUS_DIALOG_ID_NOT_EXIST,
- WMI_NUDGE_TWT_STATUS_INVALID_PARAM,
- WMI_NUDGE_TWT_STATUS_DIALOG_ID_BUSY,
- WMI_NUDGE_TWT_STATUS_NO_RESOURCE,
- WMI_NUDGE_TWT_STATUS_NO_ACK,
- WMI_NUDGE_TWT_STATUS_UNKNOWN_ERROR,
- WMI_NUDGE_TWT_STATUS_ALREADY_PAUSED,
- WMI_NUDGE_TWT_STATUS_TWT_INFO_FRM_NOT_SUPPORTED,
- WMI_NUDGE_TWT_STATUS_CHAN_SW_IN_PROGRESS,
- WMI_NUDGE_TWT_STATUS_ROAM_IN_PROGRESS,
- WMI_NUDGE_TWT_STATUS_SCAN_IN_PROGRESS,
- } WMI_TWT_NUDGE_STATUS_T;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
- A_UINT32 status;
- A_UINT32 sp_tsf_us_lo;
- A_UINT32 sp_tsf_us_hi;
- } wmi_twt_nudge_dialog_complete_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
- } wmi_twt_btwt_invite_sta_cmd_fixed_param;
- typedef enum _WMI_TWT_BTWT_INVITE_STA_STATUS_T {
- WMI_TWT_BTWT_INVITE_STA_STATUS_OK,
- WMI_TWT_BTWT_INVITE_STA_STATUS_DIALOG_ID_NOT_EXIST,
- WMI_TWT_BTWT_INVITE_STA_STATUS_INVALID_PARAM,
- WMI_TWT_BTWT_INVITE_STA_STATUS_DIALOG_ID_BUSY,
- WMI_TWT_BTWT_INVITE_STA_STATUS_ALREADY_JOINED,
- WMI_TWT_BTWT_INVITE_STA_STATUS_NO_RESOURCE,
- WMI_TWT_BTWT_INVITE_STA_STATUS_NO_ACK,
- WMI_TWT_BTWT_INVITE_STA_STATUS_UNKNOWN_ERROR,
- } WMI_TWT_BTWT_INVITE_STA_STATUS_T;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
- A_UINT32 status;
- } wmi_twt_btwt_invite_sta_complete_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
- } wmi_twt_btwt_remove_sta_cmd_fixed_param;
- typedef enum _WMI_TWT_BTWT_REMOVE_STA_STATUS_T {
- WMI_TWT_BTWT_REMOVE_STA_STATUS_OK,
- WMI_TWT_BTWT_REMOVE_STA_STATUS_DIALOG_ID_NOT_EXIST,
- WMI_TWT_BTWT_REMOVE_STA_STATUS_INVALID_PARAM,
- WMI_TWT_BTWT_REMOVE_STA_STATUS_DIALOG_ID_BUSY,
- WMI_TWT_BTWT_REMOVE_STA_STATUS_NOT_JOINED,
- WMI_TWT_BTWT_REMOVE_STA_STATUS_NO_RESOURCE,
- WMI_TWT_BTWT_REMOVE_STA_STATUS_NO_ACK,
- WMI_TWT_BTWT_REMOVE_STA_STATUS_UNKNOWN_ERROR,
- } WMI_TWT_BTWT_REMOVE_STA_STATUS_T;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_macaddr;
- A_UINT32 dialog_id;
- A_UINT32 status;
- } wmi_twt_btwt_remove_sta_complete_event_fixed_param;
- typedef enum {
- WMI_DMA_RING_CONFIG_MODULE_SPECTRAL,
- WMI_DMA_RING_CONFIG_MODULE_RTT,
- } WMI_DMA_RING_SUPPORTED_MODULE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 mod_id;
- A_UINT32 ring_elems_min;
- A_UINT32 min_buf_size;
- A_UINT32 min_buf_align;
-
- } WMI_DMA_RING_CAPABILITIES;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 freq_info;
-
- } WMI_CHAN_RF_CHARACTERIZATION_INFO;
- #define WMI_CHAN_RF_CHARACTERIZATION_FREQ_INFO_CHAN_METRIC 0x000000ff
- #define WMI_CHAN_RF_CHARACTERIZATION_FREQ_INFO_CHAN_METRIC_S 0
- #define WMI_CHAN_RF_CHARACTERIZATION_FREQ_INFO_BW 0x00000f00
- #define WMI_CHAN_RF_CHARACTERIZATION_FREQ_INFO_BW_S 8
- #define WMI_CHAN_RF_CHARACTERIZATION_FREQ_INFO_FREQ 0xffff0000
- #define WMI_CHAN_RF_CHARACTERIZATION_FREQ_INFO_FREQ_S 16
- #define WMI_CHAN_RF_CHARACTERIZATION_CHAN_METRIC_SET(dword,val) \
- WMI_F_RMW((dword)->freq_info,(val), \
- WMI_CHAN_RF_CHARACTERIZATION_FREQ_INFO_CHAN_METRIC)
- #define WMI_CHAN_RF_CHARACTERIZATION_CHAN_METRIC_GET(dword) \
- WMI_F_MS((dword)->freq_info,WMI_CHAN_RF_CHARACTERIZATION_FREQ_INFO_CHAN_METRIC)
- #define WMI_CHAN_RF_CHARACTERIZATION_BW_SET(dword, val) \
- WMI_F_RMW((dword)->freq_info,(val), \
- WMI_CHAN_RF_CHARACTERIZATION_FREQ_INFO_BW)
- #define WMI_CHAN_RF_CHARACTERIZATION_BW_GET(dword) \
- WMI_F_MS((dword)->freq_info,WMI_CHAN_RF_CHARACTERIZATION_FREQ_INFO_BW)
- #define WMI_CHAN_RF_CHARACTERIZATION_FREQ_SET(dword, val) \
- WMI_F_RMW((dword)->freq_info,(val), \
- WMI_CHAN_RF_CHARACTERIZATION_FREQ_INFO_FREQ)
- #define WMI_CHAN_RF_CHARACTERIZATION_FREQ_GET(dword) \
- WMI_F_MS((dword)->freq_info,WMI_CHAN_RF_CHARACTERIZATION_FREQ_INFO_FREQ)
- #define WMI_DMA_RING_PADDR_LO_S 0
- #define WMI_DMA_RING_PADDR_LO 0xffffffff
- #define WMI_DMA_RING_BASE_PADDR_LO_GET(dword) WMI_F_MS(dword, WMI_DMA_RING_PADDR_LO)
- #define WMI_DMA_RING_BASE_PADDR_LO_SET(dword, val) WMI_F_RMW(dword, val, WMI_DMA_RING_PADDR_LO)
- #define WMI_DMA_RING_HEAD_IDX_PADDR_LO_GET(dword) WMI_F_MS(dword, WMI_DMA_RING_PADDR_LO)
- #define WMI_DMA_RING_HEAD_IDX_PADDR_LO_SET(dword, val) WMI_F_RMW(dword, val, WMI_DMA_RING_PADDR_LO)
- #define WMI_DMA_RING_TAIL_IDX_PADDR_LO_GET(dword) WMI_F_MS(dword, WMI_DMA_RING_PADDR_LO)
- #define WMI_DMA_RING_TAIL_IDX_PADDR_LO_SET(dword, val) WMI_F_RMW(dword, val, WMI_DMA_RING_PADDR_LO)
- #define WMI_DMA_RING_PADDR_HI_S 0
- #define WMI_DMA_RING_PADDR_HI 0xffff
- #define WMI_DMA_RING_BASE_PADDR_HI_GET(dword) WMI_F_MS(dword, WMI_DMA_RING_PADDR_HI)
- #define WMI_DMA_RING_BASE_PADDR_HI_SET(dword, val) WMI_F_RMW(dword, val, WMI_DMA_RING_PADDR_HI)
- #define WMI_DMA_RING_HEAD_IDX_PADDR_HI_GET(dword) WMI_F_MS(dword, WMI_DMA_RING_PADDR_HI)
- #define WMI_DMA_RING_HEAD_IDX_PADDR_HI_SET(dword, val) WMI_F_RMW(dword, val, WMI_DMA_RING_PADDR_HI)
- #define WMI_DMA_RING_TAIL_IDX_PADDR_HI_GET(dword) WMI_F_MS(dword, WMI_DMA_RING_PADDR_HI)
- #define WMI_DMA_RING_TAIL_IDX_PADDR_HI_SET(dword, val) WMI_F_RMW(dword, val, WMI_DMA_RING_PADDR_HI)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 mod_id;
-
- A_UINT32 base_paddr_lo;
-
- A_UINT32 base_paddr_hi;
-
- A_UINT32 head_idx_paddr_lo;
-
- A_UINT32 head_idx_paddr_hi;
-
- A_UINT32 tail_idx_paddr_lo;
-
- A_UINT32 tail_idx_paddr_hi;
- A_UINT32 num_elems;
- A_UINT32 buf_size;
- A_UINT32 num_resp_per_event;
-
- A_UINT32 event_timeout_ms;
- } wmi_dma_ring_cfg_req_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 mod_id;
- A_UINT32 cfg_status;
- } wmi_dma_ring_cfg_rsp_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 mod_id;
- A_UINT32 num_buf_release_entry;
- A_UINT32 num_meta_data_entry;
-
- } wmi_dma_buf_release_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 paddr_lo;
-
- A_UINT32 paddr_hi;
- } wmi_dma_buf_release_entry;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_INT32 noise_floor[WMI_MAX_CHAINS];
-
- A_UINT32 reset_delay;
-
- A_UINT32 freq1;
-
- A_UINT32 freq2;
-
- A_UINT32 ch_width;
- } wmi_dma_buf_release_spectral_meta_data;
- typedef enum {
- NO_SCALING = 0,
-
- AGC_GAIN_RSSI_CORR_BASED = 1,
- } WMI_SPECTRAL_SCALING_FORMULA_ID;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- WMI_SPECTRAL_SCALING_FORMULA_ID formula_id;
- A_UINT32 low_level_offset;
- A_UINT32 high_level_offset;
- A_UINT32 rssi_thr;
- A_UINT32 default_agc_max_gain;
-
- } wmi_spectral_bin_scaling_params;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 ctl_FailsafeStatus;
- } wmi_pdev_ctl_failsafe_check_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 enable;
-
- A_UINT32 dlt_tmpt_c_h;
- A_UINT32 dlt_tmpt_c_l;
-
- A_UINT32 cooling_time_ms;
-
- A_UINT32 dpd_dur_max_ms;
- } wmi_runtime_dpd_recal_cmd_fixed_param;
- typedef enum {
- WMI_ROAM_TRIGGER_REASON_NONE = 0,
- WMI_ROAM_TRIGGER_REASON_PER,
- WMI_ROAM_TRIGGER_REASON_BMISS,
- WMI_ROAM_TRIGGER_REASON_LOW_RSSI,
- WMI_ROAM_TRIGGER_REASON_HIGH_RSSI,
- WMI_ROAM_TRIGGER_REASON_PERIODIC,
- WMI_ROAM_TRIGGER_REASON_MAWC,
- WMI_ROAM_TRIGGER_REASON_DENSE,
- WMI_ROAM_TRIGGER_REASON_BACKGROUND,
- WMI_ROAM_TRIGGER_REASON_FORCED,
- WMI_ROAM_TRIGGER_REASON_BTM,
- WMI_ROAM_TRIGGER_REASON_UNIT_TEST,
- WMI_ROAM_TRIGGER_REASON_BSS_LOAD,
- WMI_ROAM_TRIGGER_REASON_DEAUTH,
- WMI_ROAM_TRIGGER_REASON_IDLE,
-
- WMI_ROAM_TRIGGER_REASON_MAX,
- } WMI_ROAM_TRIGGER_REASON_ID;
- typedef enum {
- WMI_ROAM_TRIGGER_REASON_STA_KICKOUT = WMI_ROAM_TRIGGER_REASON_MAX,
- WMI_ROAM_TRIGGER_REASON_ESS_RSSI,
- WMI_ROAM_TRIGGER_REASON_WTC_BTM,
- WMI_ROAM_TRIGGER_REASON_PMK_TIMEOUT,
- WMI_ROAM_TRIGGER_REASON_BTC,
- WMI_ROAM_TRIGGER_EXT_REASON_MAX
- } WMI_ROAM_TRIGGER_EXT_REASON_ID;
- #define WMI_RX_TRAFFIC_ABOVE_THRESHOLD 0x1
- #define WMI_TX_TRAFFIC_ABOVE_THRESHOLD 0x2
- typedef struct {
- A_UINT32 trigger_id;
-
- A_UINT32 trigger_value;
- } wmi_roam_scan_trigger_reason;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_request_roam_scan_stats_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 beacons_min_count;
-
- A_UINT32 monitor_time_window;
-
- A_UINT32 bss_load_threshold;
-
- A_INT32 rssi_2g_threshold;
-
- A_INT32 rssi_5g_threshold;
-
- A_INT32 rssi_6g_threshold;
- } wmi_roam_bss_load_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 enable;
- } wmi_roam_deauth_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 enable;
-
- A_UINT32 band;
-
- A_UINT32 rssi_delta;
-
- A_INT32 min_rssi;
-
- A_UINT32 idle_time;
-
- A_UINT32 data_packet_count;
- } wmi_roam_idle_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 idle_trigger_monitor;
- } wmi_idle_trigger_monitor_cmd_fixed_param;
- typedef enum {
- WMI_IDLE_TRIGGER_MONITOR_NONE = 0,
-
- WMI_IDLE_TRIGGER_MONITOR_ON,
-
- WMI_IDLE_TRIGGER_MONITOR_OFF,
- } WMI_SCREEN_STATUS_NOTIFY_ID;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- } wmi_pdev_dsm_filter_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 bssid_type;
-
- wmi_mac_addr bssid;
-
- A_UINT32 remaining_disallow_duration;
-
- A_INT32 expected_rssi;
-
- A_UINT32 reason;
-
- A_UINT32 source;
-
- A_UINT32 timestamp;
-
- A_UINT32 original_timeout;
- } wmi_pdev_bssid_disallow_list_config_param;
- typedef enum {
-
- WMI_BSSID_DISALLOW_USER_SPACE_BLACK_LIST = 1,
-
- WMI_BSSID_DISALLOW_DRIVER_BLACK_LIST,
-
- WMI_BSSID_DISALLOW_USER_SPACE_AVOID_LIST,
-
- WMI_BSSID_DISALLOW_DRIVER_AVOID_LIST,
-
- WMI_BSSID_DISALLOW_RSSI_REJECT_LIST,
- } WMI_BSSID_DISALLOW_LIST_TYPE;
- #define WLAN_PDEV_MAX_NUM_BSSID_DISALLOW_LIST 28
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 preauth_status;
-
- wmi_mac_addr candidate_ap_bssid;
-
- } wmi_roam_preauth_status_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- wmi_mac_addr candidate_ap_bssid;
- } wmi_roam_preauth_start_event_fixed_param;
- typedef struct {
-
- A_UINT32 lower32bit;
- A_UINT32 upper32bit;
- } wmi_roaming_timestamp;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 num_roam_scans;
-
- } wmi_roam_scan_stats_event_fixed_param;
- typedef enum {
- WMI_ROAM_TRIGGER_SUB_REASON_PERIODIC_TIMER = 1,
- WMI_ROAM_TRIGGER_SUB_REASON_INACTIVITY_TIMER,
-
- WMI_ROAM_TRIGGER_SUB_REASON_INACTIVITY_TIMER_LOW_RSSI =
- WMI_ROAM_TRIGGER_SUB_REASON_INACTIVITY_TIMER,
- WMI_ROAM_TRIGGER_SUB_REASON_BTM_DI_TIMER,
- WMI_ROAM_TRIGGER_SUB_REASON_FULL_SCAN,
- WMI_ROAM_TRIGGER_SUB_REASON_LOW_RSSI_PERIODIC,
- WMI_ROAM_TRIGGER_SUB_REASON_CU_PERIODIC,
-
- WMI_ROAM_TRIGGER_SUB_REASCON_PERIODIC_TIMER_AFTER_INACTIVITY,
- WMI_ROAM_TRIGGER_SUB_REASON_PERIODIC_TIMER_AFTER_INACTIVITY =
- WMI_ROAM_TRIGGER_SUB_REASCON_PERIODIC_TIMER_AFTER_INACTIVITY,
-
- WMI_ROAM_TRIGGER_SUB_REASON_PERIODIC_TIMER_AFTER_INACTIVITY_LOW_RSSI =
- WMI_ROAM_TRIGGER_SUB_REASON_PERIODIC_TIMER_AFTER_INACTIVITY,
- WMI_ROAM_TRIGGER_SUB_REASON_PERIODIC_TIMER_AFTER_INACTIVITY_CU,
- WMI_ROAM_TRIGGER_SUB_REASON_INACTIVITY_TIMER_CU,
- } WMI_ROAM_TRIGGER_SUB_REASON_ID;
- typedef enum wmi_roam_invoke_status_error {
- WMI_ROAM_INVOKE_STATUS_SUCCESS = 0,
- WMI_ROAM_INVOKE_STATUS_VDEV_INVALID = 0x11,
- WMI_ROAM_INVOKE_STATUS_BSS_INVALID,
- WMI_ROAM_INVOKE_STATUS_VDEV_DOWN,
- WMI_ROAM_INVOKE_STATUS_ROAM_HANDLE_INVALID,
- WMI_ROAM_INVOKE_STATUS_OFFLOAD_DISABLE,
- WMI_ROAM_INVOKE_STATUS_AP_SSID_LENGTH_INVALID,
- WMI_ROAM_INVOKE_STATUS_HO_DISALLOW,
- WMI_ROAM_INVOKE_STATUS_ALREADY_RUNNING,
- WMI_ROAM_INVOKE_STATUS_NON_ROAMABLE_AP,
- WMI_ROAM_INVOKE_STATUS_HO_INTERNAL_FAIL,
- WMI_ROAM_INVOKE_STATUS_DISALLOW,
- WMI_ROAM_INVOKE_STATUS_SCAN_FAIL,
- WMI_ROAM_INVOKE_STATUS_START_HO_FAIL,
- WMI_ROAM_INVOKE_STATUS_INVALID_PARAMS,
- WMI_ROAM_INVOKE_STATUS_INVALID_SCAN_MODE,
- WMI_ROAM_INVOKE_STATUS_NO_CAND_AP,
- WMI_ROAM_INVOKE_STATUS_HO_FAIL,
- } wmi_roam_invoke_status_error_t;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 timestamp;
-
- A_UINT32 trigger_reason;
-
- A_UINT32 trigger_sub_reason;
- A_UINT32 current_rssi;
-
- A_UINT32 roam_rssi_threshold;
- A_UINT32 cu_load;
-
- A_UINT32 deauth_type;
-
- A_UINT32 deauth_reason;
-
- A_UINT32 btm_request_mode;
- A_UINT32 disassoc_imminent_timer;
-
- A_UINT32 validity_internal;
-
- A_UINT32 candidate_list_count;
-
- A_UINT32 btm_response_status_code;
- union {
-
- #ifdef WMI_ROAM_TRIGGER_REASON_VENDOR_SPECIFIC1
- WMI_ROAM_TRIGGER_REASON_VENDOR_SPECIFIC1;
- #endif
- struct {
-
- A_UINT32 vendor_specific1[7];
- };
- };
-
- A_UINT32 btm_bss_termination_timeout;
-
- A_UINT32 btm_mbo_assoc_retry_timeout;
- union {
-
- #ifdef WMI_ROAM_TRIGGER_REASON_VENDOR_SPECIFIC2
- WMI_ROAM_TRIGGER_REASON_VENDOR_SPECIFIC2;
- #endif
- struct {
-
- A_UINT32 vendor_specific2[4];
- };
- };
-
- A_UINT32 btm_req_dialog_token;
- } wmi_roam_trigger_reason;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 roam_scan_type;
-
- A_UINT32 next_rssi_trigger_threshold;
- A_UINT32 roam_scan_channel_count;
- A_UINT32 roam_ap_count;
- A_UINT32 frame_info_count;
-
- A_UINT32 scan_complete_timestamp;
- } wmi_roam_scan_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 channel;
- } wmi_roam_scan_channel_info;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 timestamp;
- A_UINT32 candidate_type;
- wmi_mac_addr bssid;
- A_UINT32 channel;
- A_UINT32 rssi;
- A_UINT32 cu_load;
-
- A_UINT32 rssi_score;
- A_UINT32 cu_score;
- A_UINT32 total_score;
- A_UINT32 etp;
-
- A_UINT32 bl_reason;
-
- A_UINT32 bl_source;
-
- A_UINT32 bl_timestamp;
-
- A_UINT32 bl_original_timeout;
- } wmi_roam_ap_info;
- typedef enum {
-
- WMI_ROAM_FAIL_REASON_NO_SCAN_START = 1,
- WMI_ROAM_FAIL_REASON_SCAN_NOT_ALLOWED = WMI_ROAM_FAIL_REASON_NO_SCAN_START,
- WMI_ROAM_FAIL_REASON_NO_AP_FOUND,
- WMI_ROAM_FAIL_REASON_NO_CAND_AP_FOUND,
-
- WMI_ROAM_FAIL_REASON_HOST,
- WMI_ROAM_FAIL_REASON_AUTH_SEND,
- WMI_ROAM_FAIL_REASON_AUTH_RECV,
- WMI_ROAM_FAIL_REASON_NO_AUTH_RESP,
- WMI_ROAM_FAIL_REASON_REASSOC_SEND,
- WMI_ROAM_FAIL_REASON_REASSOC_RECV,
- WMI_ROAM_FAIL_REASON_NO_REASSOC_RESP,
- WMI_ROAM_FAIL_REASON_EAPOL_TIMEOUT,
- WMI_ROAM_FAIL_REASON_EAPOL_M1_TIMEOUT = WMI_ROAM_FAIL_REASON_EAPOL_TIMEOUT,
- WMI_ROAM_FAIL_REASON_MLME,
- WMI_ROAM_FAIL_REASON_INTERNAL_ABORT,
- WMI_ROAM_FAIL_REASON_SCAN_START,
- WMI_ROAM_FAIL_REASON_AUTH_NO_ACK,
- WMI_ROAM_FAIL_REASON_AUTH_INTERNAL_DROP,
- WMI_ROAM_FAIL_REASON_REASSOC_NO_ACK,
- WMI_ROAM_FAIL_REASON_REASSOC_INTERNAL_DROP,
- WMI_ROAM_FAIL_REASON_EAPOL_M2_SEND,
- WMI_ROAM_FAIL_REASON_EAPOL_M2_INTERNAL_DROP,
- WMI_ROAM_FAIL_REASON_EAPOL_M2_NO_ACK,
- WMI_ROAM_FAIL_REASON_EAPOL_M3_TIMEOUT,
- WMI_ROAM_FAIL_REASON_EAPOL_M4_SEND,
- WMI_ROAM_FAIL_REASON_EAPOL_M4_INTERNAL_DROP,
- WMI_ROAM_FAIL_REASON_EAPOL_M4_NO_ACK,
- WMI_ROAM_FAIL_REASON_NO_SCAN_FOR_FINAL_BMISS,
- WMI_ROAM_FAIL_REASON_DISCONNECT,
- WMI_ROAM_FAIL_REASON_SYNC,
- WMI_ROAM_FAIL_REASON_SAE_INVALID_PMKID,
- WMI_ROAM_FAIL_REASON_SAE_PREAUTH_TIMEOUT,
- WMI_ROAM_FAIL_REASON_SAE_PREAUTH_FAIL,
- WMI_ROAM_FAIL_REASON_UNABLE_TO_START_ROAM_HO,
- WMI_ROAM_FAIL_REASON_UNKNOWN = 255,
- } WMI_ROAM_FAIL_REASON_ID;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 timestamp;
- A_UINT32 roam_status;
- A_UINT32 roam_fail_reason;
- } wmi_roam_result;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 request_type;
-
- A_UINT32 neighbor_report_request_timestamp;
-
- A_UINT32 neighbor_report_response_timestamp;
- A_UINT32 neighbor_report_channel_count;
- A_UINT32 btm_query_token;
-
- A_UINT32 btm_query_reason_code;
- } wmi_roam_neighbor_report_info;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 btm_status;
-
- wmi_mac_addr target_bssid;
-
- A_UINT32 vsie_reason;
-
- A_UINT32 timestamp;
- A_UINT32 btm_resp_dialog_token;
-
- A_UINT32 btm_resp_bss_termination_delay;
- } wmi_roam_btm_response_info;
- typedef struct {
- A_UINT32 tlv_header;
- wmi_mac_addr btm_candidate_bssid;
- A_UINT32 preference;
- } wmi_roam_btm_request_candidate_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 channel;
- } wmi_roam_neighbor_report_channel_info;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 timestamp;
-
- A_UINT32 frame_info;
-
- A_UINT32 status_code;
-
- A_UINT32 rssi_dbm_abs;
-
- A_UINT32 retry_count;
- } wmi_roam_frame_info;
- typedef enum {
- WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT = 3,
- } WMI_ROAM_FRAME_INFO_FRAME_TYPE;
- typedef enum {
- WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT_SUBTYPE_M1 = 1,
- WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT_SUBTYPE_M2,
- WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT_SUBTYPE_M3,
- WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT_SUBTYPE_M4,
- WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT_SUBTYPE_GTK_M1,
- WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT_SUBTYPE_GTK_M2,
- } WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT_SUBTYPE;
- typedef enum {
- WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT_STATUS_ACK = 0,
- WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT_STATUS_NO_ACK,
- WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT_STATUS_TX_FAIL,
- } WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT_STATUS;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 roam_full_scan_count;
- A_INT32 rssi_th;
- A_UINT32 cu_th;
-
- A_UINT32 timer_canceled;
- } wmi_roam_initial_info;
- typedef enum {
- WMI_ROAM_MSG_RSSI_RECOVERED = 1,
- } WMI_ROAM_MSG_ID;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 timestamp;
- A_UINT32 msg_id;
-
- A_UINT32 msg_param1;
- A_UINT32 msg_param2;
- } wmi_roam_msg_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 roam_scan_trigger_count;
- } wmi_roam_stats_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_roam_get_scan_channel_list_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- wmi_ssid ssid;
-
- A_UINT32 command_response;
- } wmi_roam_scan_channel_list_event_fixed_param;
- typedef enum {
- WMI_ROAM_CND_RSSI_SCORING = 0x00000001,
- WMI_ROAM_CND_HT_SCORING = 0x00000002,
- WMI_ROAM_CND_VHT_SCORING = 0x00000004,
- WMI_ROAM_CND_HE_SCORING = 0x00000008,
- WMI_ROAM_CND_BW_SCORING = 0x00000010,
- WMI_ROAM_CND_BAND_SCORING = 0x00000020,
- WMI_ROAM_CND_NSS_SCORING = 0x00000040,
- WMI_ROAM_CND_CHAN_CONGESTION_SCORING = 0x00000080,
- WMI_ROAM_CND_BEAMFORMING_SCORING = 0x00000100,
- WMI_ROAM_CND_PCL_SCORING = 0x00000200,
- WMI_ROAM_CND_OCE_WAN_SCORING = 0x00000400,
- WMI_ROAM_CND_OCE_AP_TX_PWR_SCORING = 0x00000800,
- WMI_ROAM_CND_OCE_AP_SUBNET_ID_SCORING = 0x00001000,
- WMI_ROAM_CND_SAE_PK_AP_SCORING = 0x00002000,
- } WMI_ROAM_CND_SCORING_PARAMS;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 scoring_capability_bitmap;
- } wmi_roam_capability_report_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- wmi_mac_addr partner_link_addr;
- } wmi_roam_mlo_config_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_vdev_get_big_data_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
-
- A_UINT32 target_power_2g_dsss;
- A_UINT32 target_power_2g_ofdm;
- A_UINT32 target_power_2g_mcs0;
- A_UINT32 target_power_5g_ofdm;
- A_UINT32 target_power_5g_mcs0;
-
- A_UINT32 ani_level;
-
- A_UINT32 tx_probe_req;
-
- A_UINT32 rx_probe_response;
-
- A_UINT32 num_data_retries;
-
- A_UINT32 num_tx_data_fail;
-
- A_UINT32 data_tx_ppdu_count;
-
- A_UINT32 data_tx_mpdu_count;
-
- A_UINT32 rx_frame_good_pclp_count;
-
- A_UINT32 invalid_delimiter_count;
-
- A_UINT32 rx_crc_check_fail_count;
-
- A_UINT32 txpcu_fifo_overflows_count;
-
- A_UINT32 successful_acks_count;
-
- A_UINT32 rx_block_ack_count;
-
- A_UINT32 member_bss_beacon_count;
-
- A_UINT32 non_bss_beacon_count;
-
- A_UINT32 rx_data_mc_frame_filtered_count;
- } wmi_vdev_send_big_data_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- } wmi_vdev_get_big_data_p2_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
-
- A_UINT32 tsf_out_of_sync;
-
- A_INT32 ani_level;
-
- } wmi_vdev_send_big_data_p2_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 last_data_tx_pwr;
- A_UINT32 target_power_dsss;
- A_UINT32 target_power_ofdm;
-
- A_UINT32 last_tx_data_rix;
-
- A_UINT32 last_tx_data_rate_kbps;
- } wmi_big_data_dp_stats_tlv_param;
- typedef enum {
- WMI_6GHZ_REG_LPI = 0,
- WMI_6GHZ_REG_VLP = 1,
- WMI_6GHZ_REG_SP = 2,
- WMI_6GHZ_REG_MAX = 5,
- } WMI_6GHZ_REG_TYPE;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 psd_power;
- A_UINT32 eirp_power;
- A_UINT32 power_type_6ghz;
-
- } wmi_vdev_set_tpc_power_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 chan_cfreq;
- A_UINT32 tx_power;
- } wmi_vdev_ch_power_info;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 request_id;
-
- A_UINT32 mode;
- A_UINT32 rate;
- A_UINT32 nss;
- A_UINT32 beamforming;
- A_UINT32 chain_mask;
- A_UINT32 chain_index;
- } wmi_get_tpc_power_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 request_id;
- A_INT32 tx_power;
- } wmi_get_tpc_power_evt_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- } wmi_pdev_get_dpd_status_cmd_fixed_param;
- typedef enum {
- WMI_DPD_STATUS_DISABLE = 0,
- WMI_DPD_STATUS_ENABLE = 1,
- WMI_DPD_STATUS_INVALID = 2,
- } WMI_DPD_STATUS;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 dpd_status;
- } wmi_pdev_get_dpd_status_evt_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- } wmi_pdev_get_halphy_cal_status_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 freq;
-
- A_UINT32 chainInfo;
-
- A_UINT32 phasedelta[WMI_MAX_CHAINS_FOR_AOA_RCC][MAX_AOA_PHASEDELTA];
-
- A_UINT32 perChainIbfCalVal[WMI_MAX_CHAINS_FOR_AOA_RCC];
- } wmi_pdev_aoa_phasedelta_evt_fixed_param;
- typedef enum {
- WMI_HALPHY_CAL_ADC = 0,
- WMI_HALPHY_CAL_BWFILTER,
- WMI_HALPHY_CAL_PDET_AND_PAL,
- WMI_HALPHY_CAL_RXDCO,
- WMI_HALPHY_CAL_COMB_TXLO_TXIQ_RXIQ,
- WMI_HALPHY_CAL_IBF,
- WMI_HALPHY_CAL_PA_DROOP,
- WMI_HALPHY_CAL_DAC,
- WMI_HALPHY_CAL_ANI,
- WMI_HALPHY_CAL_NOISE_FLOOR,
- WMI_HALPHY_CAL_MAX_CAL_LIST
- } WMI_HALPHY_CAL_LIST;
- typedef enum {
- WMI_HALPHY_CAL_ADC_BMAP = (1 << WMI_HALPHY_CAL_ADC),
- WMI_HALPHY_CAL_BWFILTER_BMAP = (1 << WMI_HALPHY_CAL_BWFILTER),
- WMI_HALPHY_CAL_PDET_AND_PAL_BMAP = (1 << WMI_HALPHY_CAL_PDET_AND_PAL),
- WMI_HALPHY_CAL_RXDCO_BMAP = (1 << WMI_HALPHY_CAL_RXDCO),
- WMI_HALPHY_CAL_COMB_TXLO_TXIQ_RXIQ_BMAP = (1 << WMI_HALPHY_CAL_COMB_TXLO_TXIQ_RXIQ),
- WMI_HALPHY_CAL_IBF_BMAP = (1 << WMI_HALPHY_CAL_IBF),
- WMI_HALPHY_CAL_PA_DROOP_BMAP = (1 << WMI_HALPHY_CAL_PA_DROOP),
- WMI_HALPHY_CAL_DAC_BMAP = (1 << WMI_HALPHY_CAL_DAC),
- WMI_HALPHY_CAL_ANI_BMAP = (1 << WMI_HALPHY_CAL_ANI),
- WMI_HALPHY_CAL_NOISE_FLOOR_BMAP = (1 << WMI_HALPHY_CAL_NOISE_FLOOR),
- } WMI_HALPHY_CAL_VALID_BITMAP_STATUS;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- A_UINT32 halphy_cal_valid_bmap;
-
- A_UINT32 halphy_cal_status;
- } wmi_pdev_get_halphy_cal_status_evt_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- A_UINT32 online_halphy_cals_bmap;
-
- A_UINT32 home_scan_channel;
- } wmi_pdev_set_halphy_cal_bmap_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- A_UINT32 status;
- } wmi_pdev_set_halphy_cal_bmap_evt_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 time_t1;
- A_UINT32 time_t2;
- A_UINT32 n1;
- A_UINT32 n2;
- A_UINT32 time_t1_gap;
- A_UINT32 time_t2_gap;
- A_UINT32 coarse_K;
- A_UINT32 fine_K;
- A_UINT32 coarse_Q;
- A_UINT32 fine_Q;
- A_UINT32 md_coarse_thr_high;
- A_UINT32 md_fine_thr_high;
- A_UINT32 md_coarse_thr_low;
- A_UINT32 md_fine_thr_low;
- } wmi_motion_det_config_params_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 bl_time_t;
- A_UINT32 bl_packet_gap;
- A_UINT32 bl_n;
- A_UINT32 bl_num_meas;
- } wmi_motion_det_base_line_config_params_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 enable;
- } wmi_motion_det_start_stop_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 enable;
- } wmi_motion_det_base_line_start_stop_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 status;
- } wmi_motion_det_event;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 bl_baseline_value;
- A_UINT32 bl_max_corr_reserved;
- A_UINT32 bl_min_corr_reserved;
- } wmi_motion_det_base_line_event;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 enable;
-
-
- A_INT32 obss_min;
-
- A_INT32 obss_max;
-
- A_UINT32 vdev_id;
- } wmi_obss_spatial_reuse_set_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
-
- A_INT32 obss_min;
-
- A_INT32 obss_max;
-
- A_UINT32 vdev_type;
- } wmi_obss_spatial_reuse_set_def_obss_thresh_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- wmi_mac_addr peer_macaddr;
- A_UINT32 chan_width;
- } wmi_chan_width_peer_list;
- #define WMI_PEER_CHAN_WIDTH_SWITCH_SET_VALID_VDEV_ID(comp) WMI_SET_BITS(comp, 31,1, 1)
- #define WMI_PEER_CHAN_WIDTH_SWITCH_GET_VALID_VDEV_ID(comp) WMI_GET_BITS(comp, 31, 1)
- #define WMI_PEER_CHAN_WIDTH_SWITCH_SET_VDEV_ID(comp, value) WMI_SET_BITS(comp, 0, 8, value)
- #define WMI_PEER_CHAN_WIDTH_SWITCH_GET_VDEV_ID(comp) WMI_GET_BITS(comp, 0, 8)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 num_peers;
-
- A_UINT32 vdev_var;
-
- } wmi_peer_chan_width_switch_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 enable;
-
- A_UINT32 data_len;
- } wmi_pdev_he_tb_action_frm_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 start;
- A_UINT32 sync_time;
- A_UINT32 pulse_interval;
- A_UINT32 active_sync_period;
- A_UINT32 gpio_pin;
- A_UINT32 pulse_width;
- } wmi_hpcs_pulse_start_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
-
- A_UINT32 aifsn[WMI_AC_MAX];
-
- A_UINT32 ecwmin[WMI_AC_MAX];
-
- A_UINT32 ecwmax[WMI_AC_MAX];
-
- A_UINT32 muedca_expiration_time[WMI_AC_MAX];
- } wmi_muedca_params_config_event_fixed_param;
- #define WMI_HEOPS_DEFPE_GET_D3(he_ops) WMI_GET_BITS(he_ops, 0, 3)
- #define WMI_HEOPS_DEFPE_SET_D3(he_ops, value) WMI_SET_BITS(he_ops, 0, 3, value)
- #define WMI_HEOPS_TWT_REQUIRED_GET_D3(he_ops) WMI_GET_BITS(he_ops, 3, 1)
- #define WMI_HEOPS_TWT_REQUIRED_SET_D3(he_ops, value) WMI_SET_BITS(he_ops, 3, 1, value)
- #define WMI_HEOPS_RTSTHLD_GET_D3(he_ops) WMI_GET_BITS(he_ops, 4, 10)
- #define WMI_HEOPS_RTSTHLD_SET_D3(he_ops, value) WMI_SET_BITS(he_ops, 4, 10, value)
- #define WMI_HEOPS_VHTOPSPRSNT_GET_D3(he_ops) WMI_GET_BITS(he_ops, 14, 1)
- #define WMI_HEOPS_VHTOPSPRSNT_SET_D3(he_ops, value) WMI_SET_BITS(he_ops, 14, 1, value)
- #define WMI_HEOPS_COLOCBSS_GET_D3(he_ops) WMI_GET_BITS(he_ops, 15, 1)
- #define WMI_HEOPS_COLOCBSS_SET_D3(he_ops, value) WMI_SET_BITS(he_ops, 15, 1, value)
- #define WMI_HEOPS_ERSUDIS_GET_D3(he_ops) WMI_GET_BITS(he_ops, 16, 1)
- #define WMI_HEOPS_ERSUDIS_SET_D3(he_ops, value) WMI_SET_BITS(he_ops, 16, 1, value)
- #define WMI_HEOPS_COLOR_GET_D3(he_ops) WMI_GET_BITS(he_ops, 24, 6)
- #define WMI_HEOPS_COLOR_SET_D3(he_ops, value) WMI_SET_BITS(he_ops, 24, 6, value)
- #define WMI_HEOPS_PARTBSSCOLOR_GET_D3(he_ops) WMI_GET_BITS(he_ops, 30, 1)
- #define WMI_HEOPS_PARTBSSCOLOR_SET_D3(he_ops, value) WMI_SET_BITS(he_ops, 30, 1, value)
- #define WMI_HEOPS_BSSCOLORDISABLE_GET_D3(he_ops) WMI_GET_BITS(he_ops, 31, 1)
- #define WMI_HEOPS_BSSCOLORDISABLE_SET_D3(he_ops, value) WMI_SET_BITS(he_ops, 31, 1, value)
- #define WMI_HECAP_PHY_CBW_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 1, 7)
- #define WMI_HECAP_PHY_CBW_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 1, 7, value)
- #define WMI_HECAP_PHY_PREAMBLEPUNCRX_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 8, 4)
- #define WMI_HECAP_PHY_PREAMBLEPUNCRX_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 8, 4, value)
- #define WMI_HECAP_PHY_COD_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 12, 1)
- #define WMI_HECAP_PHY_COD_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 12, 1, value)
- #define WMI_HECAP_PHY_LDPC_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 13, 1)
- #define WMI_HECAP_PHY_LDPC_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 13, 1, value)
- #define WMI_HECAP_PHY_LTFGIFORHE_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 14, 1)
- #define WMI_HECAP_PHY_LTFGIFORHE_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 14, 1, value)
- #define WMI_HECAP_PHY_MIDAMBLETXRXMAXNSTS_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 15, 2)
- #define WMI_HECAP_PHY_MIDAMBLETXRXMAXNSTS_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 15, 2, value)
- #define WMI_HECAP_PHY_LTFGIFORNDP_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 17, 1)
- #define WMI_HECAP_PHY_LTFGIFORNDP_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 17, 1, value)
- #define WMI_HECAP_PHY_TXSTBC_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 18, 1)
- #define WMI_HECAP_PHY_TXSTBC_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 18, 1, value)
- #define WMI_HECAP_PHY_RXSTBC_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 19, 1)
- #define WMI_HECAP_PHY_RXSTBC_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 19, 1, value)
- #define WMI_HECAP_PHY_TXDOPPLER_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 20, 1)
- #define WMI_HECAP_PHY_TXDOPPLER_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 20, 1, value)
- #define WMI_HECAP_PHY_RXDOPPLER_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 21, 1)
- #define WMI_HECAP_PHY_RXDOPPLER_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 21, 1, value)
- #define WMI_HECAP_PHY_UL_MU_MIMO_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 22, 1)
- #define WMI_HECAP_PHY_UL_MU_MIMO_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 22, 1, value)
- #define WMI_HECAP_PHY_ULMUMIMOOFDMA_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 23, 1)
- #define WMI_HECAP_PHY_ULMUMIMOOFDMA_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 23, 1, value)
- #define WMI_HECAP_PHY_DCMTX_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 24, 3)
- #define WMI_HECAP_PHY_DCMTX_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 24, 3, value)
- #define WMI_HECAP_PHY_DCMRX_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 27, 3)
- #define WMI_HECAP_PHY_DCMRX_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 27, 3, value)
- #define WMI_HECAP_PHY_ULHEMU_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 30, 1)
- #define WMI_HECAP_PHY_ULHEMU_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 30, 1, value)
- #define WMI_HECAP_PHY_SUBFMR_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 31, 1)
- #define WMI_HECAP_PHY_SUBFMR_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 31, 1, value)
- #define WMI_HECAP_PHY_SUBFME_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 0, 1)
- #define WMI_HECAP_PHY_SUBFME_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 0, 1, value)
- #define WMI_HECAP_PHY_MUBFMR_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 1, 1)
- #define WMI_HECAP_PHY_MUBFMR_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 1, 1, value)
- #define WMI_HECAP_PHY_BFMESTSLT80MHZ_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 2, 3)
- #define WMI_HECAP_PHY_BFMESTSLT80MHZ_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 2, 3, value)
- #define WMI_HECAP_PHY_BFMESTSGT80MHZ_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 5, 3)
- #define WMI_HECAP_PHY_BFMESTSGT80MHZ_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 5, 3, value)
- #define WMI_HECAP_PHY_NUMSOUNDLT80MHZ_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 8, 3)
- #define WMI_HECAP_PHY_NUMSOUNDLT80MHZ_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 8, 3, value)
- #define WMI_HECAP_PHY_NUMSOUNDGT80MHZ_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 11, 3)
- #define WMI_HECAP_PHY_NUMSOUNDGT80MHZ_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 11, 3, value)
- #define WMI_HECAP_PHY_NG16SUFEEDBACKLT80_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 14, 1)
- #define WMI_HECAP_PHY_NG16SUFEEDBACKLT80_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 14, 1, value)
- #define WMI_HECAP_PHY_NG16MUFEEDBACKGT80_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 15, 1)
- #define WMI_HECAP_PHY_NG16MUFEEDBACKGT80_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 15, 1, value)
- #define WMI_HECAP_PHY_CODBK42SU_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 16, 1)
- #define WMI_HECAP_PHY_CODBK42SU_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 16, 1, value)
- #define WMI_HECAP_PHY_CODBK75MU_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 17, 1)
- #define WMI_HECAP_PHY_CODBK75MU_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 17, 1, value)
- #define WMI_HECAP_PHY_BFFEEDBACKTRIG_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 18, 3)
- #define WMI_HECAP_PHY_BFFEEDBACKTRIG_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 18, 3, value)
- #define WMI_HECAP_PHY_HEERSU_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 21, 1)
- #define WMI_HECAP_PHY_HEERSU_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 21, 1, value)
- #define WMI_HECAP_PHY_DLMUMIMOPARTIALBW_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 22, 1)
- #define WMI_HECAP_PHY_DLMUMIMOPARTIALBW_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 22, 1, value)
- #define WMI_HECAP_PHY_PETHRESPRESENT_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 23, 1)
- #define WMI_HECAP_PHY_PETHRESPRESENT_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 23, 1, value)
- #define WMI_HECAP_PHY_SRPSPRESENT_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 24, 1)
- #define WMI_HECAP_PHY_SRPPRESENT_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 24, 1, value)
- #define WMI_HECAP_PHY_PWRBOOSTAR_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 25, 1)
- #define WMI_HECAP_PHY_PWRBOOSTAR_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 25, 1, value)
- #define WMI_HECAP_PHY_4XLTFAND800NSECSGI_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 26, 1)
- #define WMI_HECAP_PHY_4XLTFAND800NSECSGI_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 26, 1, value)
- #define WMI_HECAP_PHY_MAXNC_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 27, 3)
- #define WMI_HECAP_PHY_MAXNC_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 27, 3, value)
- #define WMI_HECAP_PHY_STBCTXGT80_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 30, 1)
- #define WMI_HECAP_PHY_STBCTXGT80_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 30, 1, value)
- #define WMI_HECAP_PHY_STBCRXGT80_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[1], 31, 1)
- #define WMI_HECAP_PHY_STBCRXGT80_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[1], 31, 1, value)
- #define WMI_HECAP_PHY_ERSU4X800NSECGI_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 0, 1)
- #define WMI_HECAP_PHY_ERSU4X800NSECGI_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 0, 1, value)
- #define WMI_HECAP_PHY_HEPPDU20IN40MHZ2G_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 1, 1)
- #define WMI_HECAP_PHY_HEPPDU20IN40MHZ2G_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 1, 1, value)
- #define WMI_HECAP_PHY_HEPPDU20IN160OR80P80MHZ_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 2, 1)
- #define WMI_HECAP_PHY_HEPPDU20IN160OR80P80MHZ_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 2, 1, value)
- #define WMI_HECAP_PHY_HEPPDU80IN160OR80P80MHZ_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 3, 1)
- #define WMI_HECAP_PHY_HEPPDU80IN160OR80P80MHZ_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 3, 1, value)
- #define WMI_HECAP_PHY_ERSU1X800NSECGI_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 4, 1)
- #define WMI_HECAP_PHY_ERSU1X800NSECGI_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 4, 1, value)
- #define WMI_HECAP_PHY_MIDAMBLETXRX2XAND1XHELTF_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 5, 1)
- #define WMI_HECAP_PHY_MIDAMBLETXRX2XAND1XHELTF_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 5, 1, value)
- #define WMI_HECAP_PHY_DCMMAXBW_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 6, 2)
- #define WMI_HECAP_PHY_DCMMAXBW_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 6, 2, value)
- #define WMI_HECAP_PHY_LNG16SIGBSYMBSUPRT_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 8, 1)
- #define WMI_HECAP_PHY_LNG16SIGBSYMBSUPRT_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 8, 1, value)
- #define WMI_HECAP_PHY_NONTRIGCQIFEEDBK_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 9, 1)
- #define WMI_HECAP_PHY_NONTRIGCQIFEEDBK_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 9, 1, value)
- #define WMI_HECAP_PHY_TX1024QAM242RUSUPRT_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 10, 1)
- #define WMI_HECAP_PHY_TX1024QAM242RUSUPRT_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 10, 1, value)
- #define WMI_HECAP_PHY_RX1024QAM242RUSUPRT_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 11, 1)
- #define WMI_HECAP_PHY_RX1024QAM242RUSUPRT_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 11, 1, value)
- #define WMI_HECAP_PHY_RXFULBWSUWCMPRSSIGB_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 12, 1)
- #define WMI_HECAP_PHY_RXFULBWSUWCMPRSSIGB_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 12, 1, value)
- #define WMI_HECAP_PHY_RXFULBWSUWNONCMPRSSIGB_GET_D3(he_cap_phy) WMI_GET_BITS(he_cap_phy[2], 13, 1)
- #define WMI_HECAP_PHY_RXFULBWSUWNONCMPRSSIGB_SET_D3(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[2], 13, 1, value)
- #define WMI_HECAP_MAC_HECTRL_GET_D3(he_cap) WMI_GET_BITS(he_cap, 0, 1)
- #define WMI_HECAP_MAC_HECTRL_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 0, 1, value)
- #define WMI_HECAP_MAC_TWTREQ_GET_D3(he_cap) WMI_GET_BITS(he_cap, 1, 1)
- #define WMI_HECAP_MAC_TWTREQ_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 1, 1, value)
- #define WMI_HECAP_MAC_TWTRSP_GET_D3(he_cap) WMI_GET_BITS(he_cap, 2, 1)
- #define WMI_HECAP_MAC_TWTRSP_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 2, 1, value)
- #define WMI_HECAP_MAC_HEFRAG_GET_D3(he_cap) WMI_GET_BITS(he_cap, 3, 2)
- #define WMI_HECAP_MAC_HEFRAG_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 3, 2, value)
- #define WMI_HECAP_MAC_MAXFRAGMSDU_GET_D3(he_cap) WMI_GET_BITS(he_cap, 5, 3)
- #define WMI_HECAP_MAC_MAXFRAGMSDU_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 5, 3, value)
- #define WMI_HECAP_MAC_MINFRAGSZ_GET_D3(he_cap) WMI_GET_BITS(he_cap, 8, 2)
- #define WMI_HECAP_MAC_MINFRAGSZ_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 8, 2, value)
- #define WMI_HECAP_MAC_TRIGPADDUR_GET_D3(he_cap) WMI_GET_BITS(he_cap, 10, 2)
- #define WMI_HECAP_MAC_TRIGPADDUR_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 10, 2, value)
- #define WMI_HECAP_MAC_MTID_RX_GET_D3(he_cap) WMI_GET_BITS(he_cap, 12, 3)
- #define WMI_HECAP_MAC_MTID_RX_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 12, 3, value)
- #define WMI_HECAP_MAC_HELINK_ADPT_GET_D3(he_cap) WMI_GET_BITS(he_cap, 15, 2)
- #define WMI_HECAP_MAC_HELINK_ADPT_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 15, 2, value)
- #define WMI_HECAP_MAC_AACK_GET_D3(he_cap) WMI_GET_BITS(he_cap, 17, 1)
- #define WMI_HECAP_MAC_AACK_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 17, 1, value)
- #define WMI_HECAP_MAC_TRS_GET_D3(he_cap) WMI_GET_BITS(he_cap, 18, 1)
- #define WMI_HECAP_MAC_TRS_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 18, 1, value)
- #define WMI_HECAP_MAC_BSR_GET_D3(he_cap) WMI_GET_BITS(he_cap, 19, 1)
- #define WMI_HECAP_MAC_BSR_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 19, 1, value)
- #define WMI_HECAP_MAC_BCSTTWT_GET_D3(he_cap) WMI_GET_BITS(he_cap, 20, 1)
- #define WMI_HECAP_MAC_BCSTTWT_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 20, 1, value)
- #define WMI_HECAP_MAC_32BITBA_GET_D3(he_cap) WMI_GET_BITS(he_cap, 21, 1)
- #define WMI_HECAP_MAC_32BITBA_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 21, 1, value)
- #define WMI_HECAP_MAC_MUCASCADE_GET_D3(he_cap) WMI_GET_BITS(he_cap, 22, 1)
- #define WMI_HECAP_MAC_MUCASCADE_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 22, 1, value)
- #define WMI_HECAP_MAC_ACKMTIDAMPDU_GET_D3(he_cap) WMI_GET_BITS(he_cap, 23, 1)
- #define WMI_HECAP_MAC_ACKMTIDAMPDU_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 23, 1, value)
- #define WMI_HECAP_MAC_OMI_GET_D3(he_cap) WMI_GET_BITS(he_cap, 25, 1)
- #define WMI_HECAP_MAC_OMI_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 25, 1, value)
- #define WMI_HECAP_MAC_OFDMARA_GET_D3(he_cap) WMI_GET_BITS(he_cap, 26, 1)
- #define WMI_HECAP_MAC_OFDMARA_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 26, 1, value)
- #define WMI_HECAP_MAC_MAXAMPDULEN_EXP_GET_D3(he_cap) WMI_GET_BITS(he_cap, 27, 2)
- #define WMI_HECAP_MAC_MAXAMPDULEN_EXP_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 27, 2, value)
- #define WMI_HECAP_MAC_AMSDUFRAG_GET_D3(he_cap) WMI_GET_BITS(he_cap, 29, 1)
- #define WMI_HECAP_MAC_AMSDUFRAG_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 29, 1, value)
- #define WMI_HECAP_MAC_FLEXTWT_GET_D3(he_cap) WMI_GET_BITS(he_cap, 30, 1)
- #define WMI_HECAP_MAC_FLEXTWT_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 30, 1, value)
- #define WMI_HECAP_MAC_MBSS_GET_D3(he_cap) WMI_GET_BITS(he_cap, 31, 1)
- #define WMI_HECAP_MAC_MBSS_SET_D3(he_cap, value) WMI_SET_BITS(he_cap, 31, 1, value)
- #define WMI_HECAP_MAC_BSRPAMPDU_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 0, 1)
- #define WMI_HECAP_MAC_BSRPAMPDU_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 0, 1, value)
- #define WMI_HECAP_MAC_QTP_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 1, 1)
- #define WMI_HECAP_MAC_QTP_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 1, 1, value)
- #define WMI_HECAP_MAC_ABQR_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 2, 1)
- #define WMI_HECAP_MAC_ABQR_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 2, 1, value)
- #define WMI_HECAP_MAC_SRPRESP_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 3, 1)
- #define WMI_HECAP_MAC_SRPRESP_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 3, 1, value)
- #define WMI_HECAP_MAC_NDPFDBKRPT_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 4, 1)
- #define WMI_HECAP_MAC_NDPFDBKRPT_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 4, 1, value)
- #define WMI_HECAP_MAC_OPS_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 5, 1)
- #define WMI_HECAP_MAC_OPS_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 5, 1, value)
- #define WMI_HECAP_MAC_AMSDUINAMPDU_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 6, 1)
- #define WMI_HECAP_MAC_AMSDUINAMPDU_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 6, 1, value)
- #define WMI_HECAP_MAC_MTID_TX_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 7, 3)
- #define WMI_HECAP_MAC_MTID_TX_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 7, 3, value)
- #define WMI_HECAP_MAC_SUBCHANSELTX_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 10, 1)
- #define WMI_HECAP_MAC_SUBCHANSELTX_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 10, 1, value)
- #define WMI_HECAP_MAC_UL2X996RU_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 11, 1)
- #define WMI_HECAP_MAC_UL2X996RU_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 11, 1, value)
- #define WMI_HECAP_MAC_OMCULMUDDIS_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 12, 1)
- #define WMI_HECAP_MAC_OMCULMUDDIS_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 12, 1, value)
- #define WMI_HECAP_MAC_DYNSMPWRSAVE_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 13, 1)
- #define WMI_HECAP_MAC_DYNSMPWRSAVE_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 13, 1, value)
- #define WMI_HECAP_MAC_PUNCSOUNDING_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 14, 1)
- #define WMI_HECAP_MAC_PUNCSOUNDING_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 14, 1, value)
- #define WMI_HECAP_MAC_HTVHTTRIGRX_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 15, 1)
- #define WMI_HECAP_MAC_HTVHTTRIGRX_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 15, 1, value)
- #ifdef SUPPORT_11AX_D3
- #define WMI_HEOPS_COLOR_GET WMI_HEOPS_COLOR_GET_D3
- #define WMI_HEOPS_COLOR_SET WMI_HEOPS_COLOR_SET_D3
- #define WMI_HEOPS_DEFPE_GET WMI_HEOPS_DEFPE_GET_D3
- #define WMI_HEOPS_DEFPE_SET WMI_HEOPS_DEFPE_SET_D3
- #define WMI_HEOPS_TWT_REQUIRED_GET WMI_HEOPS_TWT_REQUIRED_GET_D3
- #define WMI_HEOPS_TWT_REQUIRED_SET WMI_HEOPS_TWT_REQUIRED_SET_D3
- #define WMI_HEOPS_TWT_GET WMI_HEOPS_TWT_REQUIRED_GET_D3
- #define WMI_HEOPS_TWT_SET WMI_HEOPS_TWT_REQUIRED_SET_D3
- #define WMI_HEOPS_RTSTHLD_GET WMI_HEOPS_RTSTHLD_GET_D3
- #define WMI_HEOPS_RTSTHLD_SET WMI_HEOPS_RTSTHLD_SET_D3
- #define WMI_HEOPS_PARTBSSCOLOR_GET WMI_HEOPS_PARTBSSCOLOR_GET_D3
- #define WMI_HEOPS_PARTBSSCOLOR_SET WMI_HEOPS_PARTBSSCOLOR_SET_D3
- #define WMI_HEOPS_COLOCBSS_GET WMI_HEOPS_COLOCBSS_GET_D3
- #define WMI_HEOPS_COLOCBSS_SET WMI_HEOPS_COLOCBSS_SET_D3
- #define WMI_HEOPS_VHTOPSPRSNT_GET WMI_HEOPS_VHTOPSPRSNT_GET_D3
- #define WMI_HEOPS_VHTOPSPRSNT_SET WMI_HEOPS_VHTOPSPRSNT_SET_D3
- #define WMI_HEOPS_ERSUDIS_GET WMI_HEOPS_ERSUDIS_GET_D3
- #define WMI_HEOPS_ERSUDIS_SET WMI_HEOPS_ERSUDIS_SET_D3
- #define WMI_HEOPS_BSSCOLORDISABLE_GET WMI_HEOPS_BSSCOLORDISABLE_GET_D3
- #define WMI_HEOPS_BSSCOLORDISABLE_SET WMI_HEOPS_BSSCOLORDISABLE_SET_D3
- #define WMI_HEOPS_TXBSSID_GET(he_ops) (0)
- #define WMI_HEOPS_TXBSSID_SET(he_ops, value)
- #define WMI_HECAP_PHY_CBW_GET WMI_HECAP_PHY_CBW_GET_D3
- #define WMI_HECAP_PHY_CBW_SET WMI_HECAP_PHY_CBW_SET_D3
- #define WMI_HECAP_PHY_PREAMBLEPUNCRX_GET WMI_HECAP_PHY_PREAMBLEPUNCRX_GET_D3
- #define WMI_HECAP_PHY_PREAMBLEPUNCRX_SET WMI_HECAP_PHY_PREAMBLEPUNCRX_SET_D3
- #define WMI_HECAP_PHY_COD_GET WMI_HECAP_PHY_COD_GET_D3
- #define WMI_HECAP_PHY_COD_SET WMI_HECAP_PHY_COD_SET_D3
- #define WMI_HECAP_PHY_LDPC_GET WMI_HECAP_PHY_LDPC_GET_D3
- #define WMI_HECAP_PHY_LDPC_SET WMI_HECAP_PHY_LDPC_SET_D3
- #define WMI_HECAP_PHY_TXLDPC_GET WMI_HECAP_PHY_LDPC_GET
- #define WMI_HECAP_PHY_TXLDPC_SET WMI_HECAP_PHY_LDPC_SET
- #define WMI_HECAP_PHY_RXLDPC_GET WMI_HECAP_PHY_LDPC_GET
- #define WMI_HECAP_PHY_RXLDPC_SET WMI_HECAP_PHY_LDPC_SET
- #define WMI_HECAP_PHY_LTFGIFORHE_GET WMI_HECAP_PHY_LTFGIFORHE_GET_D3
- #define WMI_HECAP_PHY_LTFGIFORHE_SET WMI_HECAP_PHY_LTFGIFORHE_SET_D3
- #define WMI_HECAP_PHY_MIDAMBLETXRXMAXNSTS_GET WMI_HECAP_PHY_MIDAMBLETXRXMAXNSTS_GET_D3
- #define WMI_HECAP_PHY_MIDAMBLETXRXMAXNSTS_SET WMI_HECAP_PHY_MIDAMBLETXRXMAXNSTS_SET_D3
- #define WMI_HECAP_PHY_LTFGIFORNDP_GET WMI_HECAP_PHY_LTFGIFORNDP_GET_D3
- #define WMI_HECAP_PHY_LTFGIFORNDP_SET WMI_HECAP_PHY_LTFGIFORNDP_SET_D3
- #define WMI_HECAP_PHY_TXSTBC_GET WMI_HECAP_PHY_TXSTBC_GET_D3
- #define WMI_HECAP_PHY_TXSTBC_SET WMI_HECAP_PHY_TXSTBC_SET_D3
- #define WMI_HECAP_PHY_RXSTBC_GET WMI_HECAP_PHY_RXSTBC_GET_D3
- #define WMI_HECAP_PHY_RXSTBC_SET WMI_HECAP_PHY_RXSTBC_SET_D3
- #define WMI_HECAP_PHY_TXDOPPLER WMI_HECAP_PHY_TXDOPPLER_GET_D3
- #define WMI_HECAP_PHY_TXDOPPLER_SET WMI_HECAP_PHY_TXDOPPLER_SET_D3
- #define WMI_HECAP_PHY_RXDOPPLER_GET WMI_HECAP_PHY_RXDOPPLER_GET_D3
- #define WMI_HECAP_PHY_RXDOPPLER_SET WMI_HECAP_PHY_RXDOPPLER_SET_D3
- #define WMI_HECAP_PHY_UL_MU_MIMO_GET WMI_HECAP_PHY_UL_MU_MIMO_GET_D3
- #define WMI_HECAP_PHY_UL_MU_MIMO_SET WMI_HECAP_PHY_UL_MU_MIMO_SET_D3
- #define WMI_HECAP_PHY_ULMUMIMOOFDMA_GET WMI_HECAP_PHY_ULMUMIMOOFDMA_GET_D3
- #define WMI_HECAP_PHY_ULMUMIMOOFDMA_SET WMI_HECAP_PHY_ULMUMIMOOFDMA_SET_D3
- #define WMI_HECAP_PHY_DCMTX_GET WMI_HECAP_PHY_DCMTX_GET_D3
- #define WMI_HECAP_PHY_DCMTX_SET WMI_HECAP_PHY_DCMTX_SET_D3
- #define WMI_HECAP_PHY_DCMRX_GET WMI_HECAP_PHY_DCMRX_GET_D3
- #define WMI_HECAP_PHY_DCMRX_SET WMI_HECAP_PHY_DCMRX_SET_D3
-
- #define WMI_HECAP_PHY_DCM_GET WMI_HECAP_PHY_DCMRX_GET_D3
- #define WMI_HECAP_PHY_DCM_SET WMI_HECAP_PHY_DCMRX_SET_D3
- #define WMI_HECAP_PHY_ULHEMU_GET WMI_HECAP_PHY_ULHEMU_GET_D3
- #define WMI_HECAP_PHY_ULHEMU_SET WMI_HECAP_PHY_ULHEMU_SET_D3
- #define WMI_HECAP_PHY_SUBFMR_GET WMI_HECAP_PHY_SUBFMR_GET_D3
- #define WMI_HECAP_PHY_SUBFMR_SET WMI_HECAP_PHY_SUBFMR_SET_D3
- #define WMI_HECAP_PHY_SUBFME_GET WMI_HECAP_PHY_SUBFME_GET_D3
- #define WMI_HECAP_PHY_SUBFME_SET WMI_HECAP_PHY_SUBFME_SET_D3
- #define WMI_HECAP_PHY_MUBFMR_GET WMI_HECAP_PHY_MUBFMR_GET_D3
- #define WMI_HECAP_PHY_MUBFMR_SET WMI_HECAP_PHY_MUBFMR_SET_D3
- #define WMI_HECAP_PHY_BFMESTSLT80MHZ_GET WMI_HECAP_PHY_BFMESTSLT80MHZ_GET_D3
- #define WMI_HECAP_PHY_BFMESTSLT80MHZ_SET WMI_HECAP_PHY_BFMESTSLT80MHZ_SET_D3
- #define WMI_HECAP_PHY_BFMESTSGT80MHZ_GET WMI_HECAP_PHY_BFMESTSGT80MHZ_GET_D3
- #define WMI_HECAP_PHY_BFMESTSGT80MHZ_SET WMI_HECAP_PHY_BFMESTSGT80MHZ_SET_D3
- #define WMI_HECAP_PHY_NSTSLT80MHZ_GET WMI_HECAP_PHY_BFMESTSLT80MHZ_GET_D3
- #define WMI_HECAP_PHY_NSTSLT80MHZ_SET WMI_HECAP_PHY_BFMESTSLT80MHZ_SET_D3
- #define WMI_HECAP_PHY_NSTSGT80MHZ_GET WMI_HECAP_PHY_BFMESTSGT80MHZ_GET_D3
- #define WMI_HECAP_PHY_NSTSGT80MHZ_SET WMI_HECAP_PHY_BFMESTSGT80MHZ_SET_D3
- #define WMI_HECAP_PHY_NUMSOUNDLT80MHZ_GET WMI_HECAP_PHY_NUMSOUNDLT80MHZ_GET_D3
- #define WMI_HECAP_PHY_NUMSOUNDLT80MHZ_SET WMI_HECAP_PHY_NUMSOUNDLT80MHZ_SET_D3
- #define WMI_HECAP_PHY_NUMSOUNDGT80MHZ_GET WMI_HECAP_PHY_NUMSOUNDGT80MHZ_GET_D3
- #define WMI_HECAP_PHY_NUMSOUNDGT80MHZ_SET WMI_HECAP_PHY_NUMSOUNDGT80MHZ_SET_D3
- #define WMI_HECAP_PHY_NG16SUFEEDBACKLT80_GET WMI_HECAP_PHY_NG16SUFEEDBACKLT80_GET_D3
- #define WMI_HECAP_PHY_NG16SUFEEDBACKLT80_SET WMI_HECAP_PHY_NG16SUFEEDBACKLT80_SET_D3
- #define WMI_HECAP_PHY_NG16MUFEEDBACKGT80_GET WMI_HECAP_PHY_NG16MUFEEDBACKGT80_GET_D3
- #define WMI_HECAP_PHY_NG16MUFEEDBACKGT80_SET WMI_HECAP_PHY_NG16MUFEEDBACKGT80_SET_D3
- #define WMI_HECAP_PHY_CODBK42SU_GET WMI_HECAP_PHY_CODBK42SU_GET_D3
- #define WMI_HECAP_PHY_CODBK42SU_SET WMI_HECAP_PHY_CODBK42SU_SET_D3
- #define WMI_HECAP_PHY_CODBK75MU_GET WMI_HECAP_PHY_CODBK75MU_GET_D3
- #define WMI_HECAP_PHY_CODBK75MU_SET WMI_HECAP_PHY_CODBK75MU_SET_D3
- #define WMI_HECAP_PHY_BFFEEDBACKTRIG_GET WMI_HECAP_PHY_BFFEEDBACKTRIG_GET_D3
- #define WMI_HECAP_PHY_BFFEEDBACKTRIG_SET WMI_HECAP_PHY_BFFEEDBACKTRIG_SET_D3
- #define WMI_HECAP_PHY_HEERSU_GET WMI_HECAP_PHY_HEERSU_GET_D3
- #define WMI_HECAP_PHY_HEERSU_SET WMI_HECAP_PHY_HEERSU_SET_D3
- #define WMI_HECAP_PHY_DLMUMIMOPARTIALBW_GET WMI_HECAP_PHY_DLMUMIMOPARTIALBW_GET_D3
- #define WMI_HECAP_PHY_DLMUMIMOPARTIALBW_SET WMI_HECAP_PHY_DLMUMIMOPARTIALBW_SET_D3
- #define WMI_HECAP_PHY_PETHRESPRESENT_GET WMI_HECAP_PHY_PETHRESPRESENT_GET_D3
- #define WMI_HECAP_PHY_PETHRESPRESENT_SET WMI_HECAP_PHY_PETHRESPRESENT_SET_D3
- #define WMI_HECAP_PHY_SRPSPRESENT_GET WMI_HECAP_PHY_SRPSPRESENT_GET_D3
- #define WMI_HECAP_PHY_SRPPRESENT_SET WMI_HECAP_PHY_SRPPRESENT_SET_D3
- #define WMI_HECAP_PHY_PWRBOOSTAR_GET WMI_HECAP_PHY_PWRBOOSTAR_GET_D3
- #define WMI_HECAP_PHY_PWRBOOSTAR_SET WMI_HECAP_PHY_PWRBOOSTAR_SET_D3
- #define WMI_HECAP_PHY_4XLTFAND800NSECSGI_GET WMI_HECAP_PHY_4XLTFAND800NSECSGI_GET_D3
- #define WMI_HECAP_PHY_4XLTFAND800NSECSGI_SET WMI_HECAP_PHY_4XLTFAND800NSECSGI_SET_D3
- #define WMI_HECAP_PHY_MAXNC_GET WMI_HECAP_PHY_MAXNC_GET_D3
- #define WMI_HECAP_PHY_MAXNC_SET WMI_HECAP_PHY_MAXNC_SET_D3
- #define WMI_HECAP_PHY_STBCTXGT80_GET WMI_HECAP_PHY_STBCTXGT80_GET_D3
- #define WMI_HECAP_PHY_STBCTXGT80_SET WMI_HECAP_PHY_STBCTXGT80_SET_D3
- #define WMI_HECAP_PHY_STBCRXGT80_GET WMI_HECAP_PHY_STBCRXGT80_GET_D3
- #define WMI_HECAP_PHY_STBCRXGT80_SET WMI_HECAP_PHY_STBCRXGT80_SET_D3
- #define WMI_HECAP_PHY_ERSU4X800NSECGI_GET WMI_HECAP_PHY_ERSU4X800NSECGI_GET_D3
- #define WMI_HECAP_PHY_ERSU4X800NSECGI_SET WMI_HECAP_PHY_ERSU4X800NSECGI_SET_D3
- #define WMI_HECAP_PHY_HEPPDU20IN40MHZ2G_GET WMI_HECAP_PHY_HEPPDU20IN40MHZ2G_GET_D3
- #define WMI_HECAP_PHY_HEPPDU20IN40MHZ2G_SET WMI_HECAP_PHY_HEPPDU20IN40MHZ2G_SET_D3
- #define WMI_HECAP_PHY_HEPPDU20IN160OR80P80MHZ_GET WMI_HECAP_PHY_HEPPDU20IN160OR80P80MHZ_GET_D3
- #define WMI_HECAP_PHY_HEPPDU20IN160OR80P80MHZ_SET WMI_HECAP_PHY_HEPPDU20IN160OR80P80MHZ_SET_D3
- #define WMI_HECAP_PHY_HEPPDU80IN160OR80P80MHZ_GET WMI_HECAP_PHY_HEPPDU80IN160OR80P80MHZ_GET_D3
- #define WMI_HECAP_PHY_HEPPDU80IN160OR80P80MHZ_SET WMI_HECAP_PHY_HEPPDU80IN160OR80P80MHZ_SET_D3
- #define WMI_HECAP_PHY_ERSU1X800NSECGI_GET WMI_HECAP_PHY_ERSU1X800NSECGI_GET_D3
- #define WMI_HECAP_PHY_ERSU1X800NSECGI_SET WMI_HECAP_PHY_ERSU1X800NSECGI_SET_D3
- #define WMI_HECAP_PHY_MIDAMBLETXRX2XAND1XHELTF_GET WMI_HECAP_PHY_MIDAMBLETXRX2XAND1XHELTF_GET_D3
- #define WMI_HECAP_PHY_MIDAMBLETXRX2XAND1XHELTF_SET WMI_HECAP_PHY_MIDAMBLETXRX2XAND1XHELTF_SET_D3
- #define WMI_HECAP_PHY_MIDAMBLERX2XAND1XHELTF_GET WMI_HECAP_PHY_MIDAMBLETXRX2XAND1XHELTF_GET
- #define WMI_HECAP_PHY_MIDAMBLERX2XAND1XHELTF_SET WMI_HECAP_PHY_MIDAMBLETXRX2XAND1XHELTF_SET
- #define WMI_HECAP_PHY_DCMMAXBW_GET WMI_HECAP_PHY_DCMMAXBW_GET_D3
- #define WMI_HECAP_PHY_DCMMAXBW_SET WMI_HECAP_PHY_DCMMAXBW_SET_D3
- #define WMI_HECAP_PHY_LNG16SIGBSYMBSUPRT_GET WMI_HECAP_PHY_LNG16SIGBSYMBSUPRT_GET_D3
- #define WMI_HECAP_PHY_LNG16SIGBSYMBSUPRT_SET WMI_HECAP_PHY_LNG16SIGBSYMBSUPRT_SET_D3
- #define WMI_HECAP_PHY_NONTRIGCQIFEEDBK_GET WMI_HECAP_PHY_NONTRIGCQIFEEDBK_GET_D3
- #define WMI_HECAP_PHY_NONTRIGCQIFEEDBK_SET WMI_HECAP_PHY_NONTRIGCQIFEEDBK_SET_D3
- #define WMI_HECAP_PHY_TX1024QAM242RUSUPRT_GET WMI_HECAP_PHY_TX1024QAM242RUSUPRT_GET_D3
- #define WMI_HECAP_PHY_TX1024QAM242RUSUPRT_SET WMI_HECAP_PHY_TX1024QAM242RUSUPRT_SET_D3
- #define WMI_HECAP_PHY_RX1024QAM242RUSUPRT_GET WMI_HECAP_PHY_RX1024QAM242RUSUPRT_GET_D3
- #define WMI_HECAP_PHY_RX1024QAM242RUSUPRT_SET WMI_HECAP_PHY_RX1024QAM242RUSUPRT_SET_D3
- #define WMI_HECAP_PHY_RXFULBWSUWCMPRSSIGB_GET WMI_HECAP_PHY_RXFULBWSUWCMPRSSIGB_GET_D3
- #define WMI_HECAP_PHY_RXFULBWSUWCMPRSSIGB_SET WMI_HECAP_PHY_RXFULBWSUWCMPRSSIGB_SET_D3
- #define WMI_HECAP_PHY_RXFULBWSUWNONCMPRSSIGB_GET WMI_HECAP_PHY_RXFULBWSUWNONCMPRSSIGB_GET_D3
- #define WMI_HECAP_PHY_RXFULBWSUWNONCMPRSSIGB_SET WMI_HECAP_PHY_RXFULBWSUWNONCMPRSSIGB_SET_D3
- #define WMI_HECAP_PHY_DB_GET(he_phy_cap) (0)
- #define WMI_HECAP_PHY_DB_SET(he_phy_cap, value)
- #define WMI_HECAP_MAC_HECTRL_GET WMI_HECAP_MAC_HECTRL_GET_D3
- #define WMI_HECAP_MAC_HECTRL_SET WMI_HECAP_MAC_HECTRL_SET_D3
- #define WMI_HECAP_MAC_TWTREQ_GET WMI_HECAP_MAC_TWTREQ_GET_D3
- #define WMI_HECAP_MAC_TWTREQ_SET WMI_HECAP_MAC_TWTREQ_SET_D3
- #define WMI_HECAP_MAC_TWTRSP_GET WMI_HECAP_MAC_TWTRSP_GET_D3
- #define WMI_HECAP_MAC_TWTRSP_SET WMI_HECAP_MAC_TWTRSP_SET_D3
- #define WMI_HECAP_MAC_HEFRAG_GET WMI_HECAP_MAC_HEFRAG_GET_D3
- #define WMI_HECAP_MAC_HEFRAG_SET WMI_HECAP_MAC_HEFRAG_SET_D3
- #define WMI_HECAP_MAC_MAXFRAGMSDU_GET WMI_HECAP_MAC_MAXFRAGMSDU_GET_D3
- #define WMI_HECAP_MAC_MAXFRAGMSDU_SET WMI_HECAP_MAC_MAXFRAGMSDU_SET_D3
- #define WMI_HECAP_MAC_MINFRAGSZ_GET WMI_HECAP_MAC_MINFRAGSZ_GET_D3
- #define WMI_HECAP_MAC_MINFRAGSZ_SET WMI_HECAP_MAC_MINFRAGSZ_SET_D3
- #define WMI_HECAP_MAC_TRIGPADDUR_GET WMI_HECAP_MAC_TRIGPADDUR_GET_D3
- #define WMI_HECAP_MAC_TRIGPADDUR_SET WMI_HECAP_MAC_TRIGPADDUR_SET_D3
- #define WMI_HECAP_MAC_MTID_RX_GET WMI_HECAP_MAC_MTID_RX_GET_D3
- #define WMI_HECAP_MAC_MTID_RX_SET WMI_HECAP_MAC_MTID_RX_SET_D3
- #define WMI_HECAP_MAC_HELINK_ADPT_GET WMI_HECAP_MAC_HELINK_ADPT_GET_D3
- #define WMI_HECAP_MAC_HELINK_ADPT_SET WMI_HECAP_MAC_HELINK_ADPT_SET_D3
- #define WMI_HECAP_MAC_AACK_GET WMI_HECAP_MAC_AACK_GET_D3
- #define WMI_HECAP_MAC_AACK_SET WMI_HECAP_MAC_AACK_SET_D3
- #define WMI_HECAP_MAC_TRS_GET WMI_HECAP_MAC_TRS_GET_D3
- #define WMI_HECAP_MAC_TRS_SET WMI_HECAP_MAC_TRS_SET_D3
- #define WMI_HECAP_MAC_ULMURSP_GET(he_cap) (0)
- #define WMI_HECAP_MAC_ULMURSP_SET(he_cap, value)
- #define WMI_HECAP_MAC_BSR_GET WMI_HECAP_MAC_BSR_GET_D3
- #define WMI_HECAP_MAC_BSR_SET WMI_HECAP_MAC_BSR_SET_D3
- #define WMI_HECAP_MAC_BCSTTWT_GET WMI_HECAP_MAC_BCSTTWT_GET_D3
- #define WMI_HECAP_MAC_BCSTTWT_SET WMI_HECAP_MAC_BCSTTWT_SET_D3
- #define WMI_HECAP_MAC_32BITBA_GET WMI_HECAP_MAC_32BITBA_GET_D3
- #define WMI_HECAP_MAC_32BITBA_SET WMI_HECAP_MAC_32BITBA_SET_D3
- #define WMI_HECAP_MAC_MUCASCADE_GET WMI_HECAP_MAC_MUCASCADE_GET_D3
- #define WMI_HECAP_MAC_MUCASCADE_SET WMI_HECAP_MAC_MUCASCADE_SET_D3
- #define WMI_HECAP_MAC_ACKMTIDAMPDU_GET WMI_HECAP_MAC_ACKMTIDAMPDU_GET_D3
- #define WMI_HECAP_MAC_ACKMTIDAMPDU_SET WMI_HECAP_MAC_ACKMTIDAMPDU_SET_D3
- #define WMI_HECAP_MAC_GROUPMSTABA_GET(he_cap) (0)
- #define WMI_HECAP_MAC_GROUPMSTABA_SET(he_cap, value)
- #define WMI_HECAP_MAC_OMI_GET WMI_HECAP_MAC_OMI_GET_D3
- #define WMI_HECAP_MAC_OMI_SET WMI_HECAP_MAC_OMI_SET_D3
- #define WMI_HECAP_MAC_OFDMARA_GET WMI_HECAP_MAC_OFDMARA_GET_D3
- #define WMI_HECAP_MAC_OFDMARA_SET WMI_HECAP_MAC_OFDMARA_SET_D3
- #define WMI_HECAP_MAC_MAXAMPDULEN_EXP_GET WMI_HECAP_MAC_MAXAMPDULEN_EXP_GET_D3
- #define WMI_HECAP_MAC_MAXAMPDULEN_EXP_SET WMI_HECAP_MAC_MAXAMPDULEN_EXP_SET_D3
- #define WMI_HECAP_MAC_AMSDUFRAG_GET WMI_HECAP_MAC_AMSDUFRAG_GET_D3
- #define WMI_HECAP_MAC_AMSDUFRAG_SET WMI_HECAP_MAC_AMSDUFRAG_SET_D3
- #define WMI_HECAP_MAC_FLEXTWT_GET WMI_HECAP_MAC_FLEXTWT_GET_D3
- #define WMI_HECAP_MAC_FLEXTWT_SET WMI_HECAP_MAC_FLEXTWT_SET_D3
- #define WMI_HECAP_MAC_MBSS_GET WMI_HECAP_MAC_MBSS_GET_D3
- #define WMI_HECAP_MAC_MBSS_SET WMI_HECAP_MAC_MBSS_SET_D3
- #define WMI_HECAP_MAC_BSRPAMPDU_GET WMI_HECAP_MAC_BSRPAMPDU_GET_D3
- #define WMI_HECAP_MAC_BSRPAMPDU_SET WMI_HECAP_MAC_BSRPAMPDU_SET_D3
- #define WMI_HECAP_MAC_QTP_GET WMI_HECAP_MAC_QTP_GET_D3
- #define WMI_HECAP_MAC_QTP_SET WMI_HECAP_MAC_QTP_SET_D3
- #define WMI_HECAP_MAC_ABQR_GET WMI_HECAP_MAC_ABQR_GET_D3
- #define WMI_HECAP_MAC_ABQR_SET WMI_HECAP_MAC_ABQR_SET_D3
- #define WMI_HECAP_MAC_SRPRESP_GET WMI_HECAP_MAC_SRPRESP_GET_D3
- #define WMI_HECAP_MAC_SRPRESP_SET WMI_HECAP_MAC_SRPRESP_SET_D3
- #define WMI_HECAP_MAC_SRRESP_GET(he_cap2) (0)
- #define WMI_HECAP_MAC_SRRESP_SET(he_cap2, value)
- #define WMI_HECAP_MAC_NDPFDBKRPT_GET WMI_HECAP_MAC_NDPFDBKRPT_GET_D3
- #define WMI_HECAP_MAC_NDPFDBKRPT_SET WMI_HECAP_MAC_NDPFDBKRPT_SET_D3
- #define WMI_HECAP_MAC_OPS_GET WMI_HECAP_MAC_OPS_GET_D3
- #define WMI_HECAP_MAC_OPS_SET WMI_HECAP_MAC_OPS_SET_D3
- #define WMI_HECAP_MAC_AMSDUINAMPDU_GET WMI_HECAP_MAC_AMSDUINAMPDU_GET_D3
- #define WMI_HECAP_MAC_AMSDUINAMPDU_SET WMI_HECAP_MAC_AMSDUINAMPDU_SET_D3
- #define WMI_HECAP_MAC_MTID_TX_GET WMI_HECAP_MAC_MTID_TX_GET_D3
- #define WMI_HECAP_MAC_MTID_TX_SET WMI_HECAP_MAC_MTID_TX_SET_D3
- #define WMI_HECAP_MAC_SUBCHANSELTX_GET WMI_HECAP_MAC_SUBCHANSELTX_GET_D3
- #define WMI_HECAP_MAC_SUBCHANSELTX_SET WMI_HECAP_MAC_SUBCHANSELTX_SET_D3
- #define WMI_HECAP_MAC_UL2X996RU_GET WMI_HECAP_MAC_UL2X996RU_GET_D3
- #define WMI_HECAP_MAC_UL2X996RU_SET WMI_HECAP_MAC_UL2X996RU_SET_D3
- #define WMI_HECAP_MAC_OMCULMUDDIS_GET WMI_HECAP_MAC_OMCULMUDDIS_GET_D3
- #define WMI_HECAP_MAC_OMCULMUDDIS_SET WMI_HECAP_MAC_OMCULMUDDIS_SET_D3
- #define WMI_HECAP_MAC_HELKAD_GET(he_cap) (0)
- #define WMI_HECAP_MAC_HELKAD_SET(he_cap, value)
- #define WMI_HECAP_PHY_MIDAMBLERXMAXNSTS_GET WMI_HECAP_PHY_MIDAMBLETXRXMAXNSTS_GET_D3
- #define WMI_HECAP_PHY_MIDAMBLERXMAXNSTS_SET WMI_HECAP_PHY_MIDAMBLETXRXMAXNSTS_SET_D3
- #define WMI_HECAP_MAC_DYNSMPWRSAVE_GET WMI_HECAP_MAC_DYNSMPWRSAVE_GET_D3
- #define WMI_HECAP_MAC_DYNSMPWRSAVE_SET WMI_HECAP_MAC_DYNSMPWRSAVE_SET_D3
- #define WMI_HECAP_MAC_PUNCSOUNDING_GET WMI_HECAP_MAC_PUNCSOUNDING_GET_D3
- #define WMI_HECAP_MAC_PUNCSOUNDING_SET WMI_HECAP_MAC_PUNCSOUNDING_SET_D3
- #define WMI_HECAP_MAC_HTVHTTRIGRX_GET WMI_HECAP_MAC_HTVHTTRIGRX_GET_D3
- #define WMI_HECAP_MAC_HTVHTTRIGRX_SET WMI_HECAP_MAC_HTVHTTRIGRX_SET_D3
- #else
-
- #define WMI_HEOPS_COLOR_GET WMI_HEOPS_COLOR_GET_D2
- #define WMI_HEOPS_COLOR_SET WMI_HEOPS_COLOR_SET_D2
- #define WMI_HEOPS_DEFPE_GET WMI_HEOPS_DEFPE_GET_D2
- #define WMI_HEOPS_DEFPE_SET WMI_HEOPS_DEFPE_SET_D2
- #define WMI_HEOPS_TWT_REQUIRED_GET WMI_HEOPS_TWT_REQUIRED_GET_D2
- #define WMI_HEOPS_TWT_REQUIRED_SET WMI_HEOPS_TWT_REQUIRED_SET_D2
- #define WMI_HEOPS_TWT_GET WMI_HEOPS_TWT_GET_D2
- #define WMI_HEOPS_TWT_SET WMI_HEOPS_TWT_SET_D2
- #define WMI_HEOPS_RTSTHLD_GET WMI_HEOPS_RTSTHLD_GET_D2
- #define WMI_HEOPS_RTSTHLD_SET WMI_HEOPS_RTSTHLD_SET_D2
- #define WMI_HEOPS_PARTBSSCOLOR_GET WMI_HEOPS_PARTBSSCOLOR_GET_D2
- #define WMI_HEOPS_PARTBSSCOLOR_SET WMI_HEOPS_PARTBSSCOLOR_SET_D2
- #define WMI_HEOPS_MAXBSSID_GET WMI_HEOPS_MAXBSSID_GET_D2
- #define WMI_HEOPS_MAXBSSID_SET WMI_HEOPS_MAXBSSID_SET_D2
- #define WMI_HEOPS_TXBSSID_GET WMI_HEOPS_TXBSSID_GET_D2
- #define WMI_HEOPS_TXBSSID_SET WMI_HEOPS_TXBSSID_SET_D2
- #define WMI_HEOPS_BSSCOLORDISABLE_GET WMI_HEOPS_BSSCOLORDISABLE_GET_D2
- #define WMI_HEOPS_BSSCOLORDISABLE_SET WMI_HEOPS_BSSCOLORDISABLE_SET_D2
- #define WMI_HEOPS_DUALBEACON_GET WMI_HEOPS_DUALBEACON_GET_D2
- #define WMI_HEOPS_DUALBEACON_SET WMI_HEOPS_DUALBEACON_SET_D2
- #define WMI_HECAP_PHY_DB_GET WMI_HECAP_PHY_DB_GET_D2
- #define WMI_HECAP_PHY_DB_SET WMI_HECAP_PHY_DB_SET_D2
- #define WMI_HECAP_PHY_CBW_GET WMI_HECAP_PHY_CBW_GET_D2
- #define WMI_HECAP_PHY_CBW_SET WMI_HECAP_PHY_CBW_SET_D2
- #define WMI_HECAP_PHY_PREAMBLEPUNCRX_GET WMI_HECAP_PHY_PREAMBLEPUNCRX_GET_D2
- #define WMI_HECAP_PHY_PREAMBLEPUNCRX_SET WMI_HECAP_PHY_PREAMBLEPUNCRX_SET_D2
- #define WMI_HECAP_PHY_COD_GET WMI_HECAP_PHY_COD_GET_D2
- #define WMI_HECAP_PHY_COD_SET WMI_HECAP_PHY_COD_SET_D2
- #define WMI_HECAP_PHY_LDPC_GET WMI_HECAP_PHY_LDPC_GET_D2
- #define WMI_HECAP_PHY_LDPC_SET WMI_HECAP_PHY_LDPC_SET_D2
- #define WMI_HECAP_PHY_TXLDPC_GET WMI_HECAP_PHY_TXLDPC_GET_D2
- #define WMI_HECAP_PHY_TXLDPC_SET WMI_HECAP_PHY_TXLDPC_SET_D2
- #define WMI_HECAP_PHY_RXLDPC_GET WMI_HECAP_PHY_RXLDPC_GET_D2
- #define WMI_HECAP_PHY_RXLDPC_SET WMI_HECAP_PHY_RXLDPC_SET_D2
- #define WMI_HECAP_PHY_LTFGIFORHE_GET WMI_HECAP_PHY_LTFGIFORHE_GET_D2
- #define WMI_HECAP_PHY_LTFGIFORHE_SET WMI_HECAP_PHY_LTFGIFORHE_SET_D2
- #define WMI_HECAP_PHY_MIDAMBLERXMAXNSTS_GET WMI_HECAP_PHY_MIDAMBLERXMAXNSTS_GET_D2
- #define WMI_HECAP_PHY_MIDAMBLERXMAXNSTS_SET WMI_HECAP_PHY_MIDAMBLERXMAXNSTS_SET_D2
- #define WMI_HECAP_PHY_LTFGIFORNDP_GET WMI_HECAP_PHY_LTFGIFORNDP_GET_D2
- #define WMI_HECAP_PHY_LTFGIFORNDP_SET WMI_HECAP_PHY_LTFGIFORNDP_SET_D2
- #define WMI_HECAP_PHY_TXSTBC_GET WMI_HECAP_PHY_TXSTBC_GET_D2
- #define WMI_HECAP_PHY_TXSTBC_SET WMI_HECAP_PHY_TXSTBC_SET_D2
- #define WMI_HECAP_PHY_RXSTBC_GET WMI_HECAP_PHY_RXSTBC_GET_D2
- #define WMI_HECAP_PHY_RXSTBC_SET WMI_HECAP_PHY_RXSTBC_SET_D2
- #define WMI_HECAP_PHY_TXDOPPLER_GET WMI_HECAP_PHY_TXDOPPLER_GET_D2
- #define WMI_HECAP_PHY_TXDOPPLER_SET WMI_HECAP_PHY_TXDOPPLER_SET_D2
- #define WMI_HECAP_PHY_RXDOPPLER_GET WMI_HECAP_PHY_RXDOPPLER_GET_D2
- #define WMI_HECAP_PHY_RXDOPPLER_SET WMI_HECAP_PHY_RXDOPPLER_SET_D2
- #define WMI_HECAP_PHY_UL_MU_MIMO_GET WMI_HECAP_PHY_UL_MU_MIMO_GET_D2
- #define WMI_HECAP_PHY_UL_MU_MIMO_SET WMI_HECAP_PHY_UL_MU_MIMO_SET_D2
- #define WMI_HECAP_PHY_ULMUMIMOOFDMA_GET WMI_HECAP_PHY_ULMUMIMOOFDMA_GET_D2
- #define WMI_HECAP_PHY_ULMUMIMOOFDMA_SET WMI_HECAP_PHY_ULMUMIMOOFDMA_SET_D2
- #define WMI_HECAP_PHY_DCMTX_GET WMI_HECAP_PHY_DCMTX_GET_D2
- #define WMI_HECAP_PHY_DCMTX_SET WMI_HECAP_PHY_DCMTX_SET_D2
- #define WMI_HECAP_PHY_DCMRX_GET WMI_HECAP_PHY_DCMRX_GET_D2
- #define WMI_HECAP_PHY_DCMRX_SET WMI_HECAP_PHY_DCMRX_SET_D2
- #define WMI_HECAP_PHY_ULHEMU_GET WMI_HECAP_PHY_ULHEMU_GET_D2
- #define WMI_HECAP_PHY_ULHEMU_SET WMI_HECAP_PHY_ULHEMU_SET_D2
- #define WMI_HECAP_PHY_SUBFMR_GET WMI_HECAP_PHY_SUBFMR_GET_D2
- #define WMI_HECAP_PHY_SUBFMR_SET WMI_HECAP_PHY_SUBFMR_SET_D2
- #define WMI_HECAP_PHY_SUBFME_GET WMI_HECAP_PHY_SUBFME_GET_D2
- #define WMI_HECAP_PHY_SUBFME_SET WMI_HECAP_PHY_SUBFME_SET_D2
- #define WMI_HECAP_PHY_MUBFMR_GET WMI_HECAP_PHY_MUBFMR_GET_D2
- #define WMI_HECAP_PHY_MUBFMR_SET WMI_HECAP_PHY_MUBFMR_SET_D2
- #define WMI_HECAP_PHY_BFMESTSLT80MHZ_GET WMI_HECAP_PHY_BFMESTSLT80MHZ_GET_D2
- #define WMI_HECAP_PHY_BFMESTSLT80MHZ_SET WMI_HECAP_PHY_BFMESTSLT80MHZ_SET_D2
- #define WMI_HECAP_PHY_BFMESTSGT80MHZ_GET WMI_HECAP_PHY_BFMESTSGT80MHZ_GET_D2
- #define WMI_HECAP_PHY_BFMESTSGT80MHZ_SET WMI_HECAP_PHY_BFMESTSGT80MHZ_SET_D2
- #define WMI_HECAP_PHY_NUMSOUNDLT80MHZ_GET WMI_HECAP_PHY_NUMSOUNDLT80MHZ_GET_D2
- #define WMI_HECAP_PHY_NUMSOUNDLT80MHZ_SET WMI_HECAP_PHY_NUMSOUNDLT80MHZ_SET_D2
- #define WMI_HECAP_PHY_NUMSOUNDGT80MHZ_GET WMI_HECAP_PHY_NUMSOUNDGT80MHZ_GET_D2
- #define WMI_HECAP_PHY_NUMSOUNDGT80MHZ_SET WMI_HECAP_PHY_NUMSOUNDGT80MHZ_SET_D2
- #define WMI_HECAP_PHY_NG16SUFEEDBACKLT80_GET WMI_HECAP_PHY_NG16SUFEEDBACKLT80_GET_D2
- #define WMI_HECAP_PHY_NG16SUFEEDBACKLT80_SET WMI_HECAP_PHY_NG16SUFEEDBACKLT80_SET_D2
- #define WMI_HECAP_PHY_NG16MUFEEDBACKGT80_GET WMI_HECAP_PHY_NG16MUFEEDBACKGT80_GET_D2
- #define WMI_HECAP_PHY_NG16MUFEEDBACKGT80_SET WMI_HECAP_PHY_NG16MUFEEDBACKGT80_SET_D2
- #define WMI_HECAP_PHY_CODBK42SU_GET WMI_HECAP_PHY_CODBK42SU_GET_D2
- #define WMI_HECAP_PHY_CODBK42SU_SET WMI_HECAP_PHY_CODBK42SU_SET_D2
- #define WMI_HECAP_PHY_CODBK75MU_GET WMI_HECAP_PHY_CODBK75MU_GET_D2
- #define WMI_HECAP_PHY_CODBK75MU_SET WMI_HECAP_PHY_CODBK75MU_SET_D2
- #define WMI_HECAP_PHY_BFFEEDBACKTRIG_GET WMI_HECAP_PHY_BFFEEDBACKTRIG_GET_D2
- #define WMI_HECAP_PHY_BFFEEDBACKTRIG_SET WMI_HECAP_PHY_BFFEEDBACKTRIG_SET_D2
- #define WMI_HECAP_PHY_HEERSU_GET WMI_HECAP_PHY_HEERSU_GET_D2
- #define WMI_HECAP_PHY_HEERSU_SET WMI_HECAP_PHY_HEERSU_SET_D2
- #define WMI_HECAP_PHY_DLMUMIMOPARTIALBW_GET WMI_HECAP_PHY_DLMUMIMOPARTIALBW_GET_D2
- #define WMI_HECAP_PHY_DLMUMIMOPARTIALBW_SET WMI_HECAP_PHY_DLMUMIMOPARTIALBW_SET_D2
- #define WMI_HECAP_PHY_PETHRESPRESENT_GET WMI_HECAP_PHY_PETHRESPRESENT_GET_D2
- #define WMI_HECAP_PHY_PETHRESPRESENT_SET WMI_HECAP_PHY_PETHRESPRESENT_SET_D2
- #define WMI_HECAP_PHY_SRPSPRESENT_GET WMI_HECAP_PHY_SRPSPRESENT_GET_D2
- #define WMI_HECAP_PHY_SRPPRESENT_SET WMI_HECAP_PHY_SRPPRESENT_SET_D2
- #define WMI_HECAP_PHY_PWRBOOSTAR_GET WMI_HECAP_PHY_PWRBOOSTAR_GET_D2
- #define WMI_HECAP_PHY_PWRBOOSTAR_SET WMI_HECAP_PHY_PWRBOOSTAR_SET_D2
- #define WMI_HECAP_PHY_4XLTFAND800NSECSGI_GET WMI_HECAP_PHY_4XLTFAND800NSECSGI_GET_D2
- #define WMI_HECAP_PHY_4XLTFAND800NSECSGI_SET WMI_HECAP_PHY_4XLTFAND800NSECSGI_SET_D2
- #define WMI_HECAP_PHY_MAXNC_GET WMI_HECAP_PHY_MAXNC_GET_D2
- #define WMI_HECAP_PHY_MAXNC_SET WMI_HECAP_PHY_MAXNC_SET_D2
- #define WMI_HECAP_PHY_STBCTXGT80_GET WMI_HECAP_PHY_STBCTXGT80_GET_D2
- #define WMI_HECAP_PHY_STBCTXGT80_SET WMI_HECAP_PHY_STBCTXGT80_SET_D2
- #define WMI_HECAP_PHY_STBCRXGT80_GET WMI_HECAP_PHY_STBCRXGT80_GET_D2
- #define WMI_HECAP_PHY_STBCRXGT80_SET WMI_HECAP_PHY_STBCRXGT80_SET_D2
- #define WMI_HECAP_PHY_ERSU4X800NSECGI_GET WMI_HECAP_PHY_ERSU4X800NSECGI_GET_D2
- #define WMI_HECAP_PHY_ERSU4X800NSECGI_SET WMI_HECAP_PHY_ERSU4X800NSECGI_SET_D2
- #define WMI_HECAP_PHY_HEPPDU20IN40MHZ2G_GET WMI_HECAP_PHY_HEPPDU20IN40MHZ2G_GET_D2
- #define WMI_HECAP_PHY_HEPPDU20IN40MHZ2G_SET WMI_HECAP_PHY_HEPPDU20IN40MHZ2G_SET_D2
- #define WMI_HECAP_PHY_HEPPDU20IN160OR80P80MHZ_GET WMI_HECAP_PHY_HEPPDU20IN160OR80P80MHZ_GET_D2
- #define WMI_HECAP_PHY_HEPPDU20IN160OR80P80MHZ_SET WMI_HECAP_PHY_HEPPDU20IN160OR80P80MHZ_SET_D2
- #define WMI_HECAP_PHY_HEPPDU80IN160OR80P80MHZ_GET WMI_HECAP_PHY_HEPPDU80IN160OR80P80MHZ_GET_D2
- #define WMI_HECAP_PHY_HEPPDU80IN160OR80P80MHZ_SET WMI_HECAP_PHY_HEPPDU80IN160OR80P80MHZ_SET_D2
- #define WMI_HECAP_PHY_ERSU1X800NSECGI_GET WMI_HECAP_PHY_ERSU1X800NSECGI_GET_D2
- #define WMI_HECAP_PHY_ERSU1X800NSECGI_SET WMI_HECAP_PHY_ERSU1X800NSECGI_SET_D2
- #define WMI_HECAP_PHY_MIDAMBLERX2XAND1XHELTF_GET WMI_HECAP_PHY_MIDAMBLERX2XAND1XHELTF_GET_D2
- #define WMI_HECAP_PHY_MIDAMBLERX2XAND1XHELTF_SET WMI_HECAP_PHY_MIDAMBLERX2XAND1XHELTF_SET_D2
- #define WMI_HECAP_MAC_HECTRL_GET WMI_HECAP_MAC_HECTRL_GET_D2
- #define WMI_HECAP_MAC_HECTRL_SET WMI_HECAP_MAC_HECTRL_SET_D2
- #define WMI_HECAP_MAC_TWTREQ_GET WMI_HECAP_MAC_TWTREQ_GET_D2
- #define WMI_HECAP_MAC_TWTREQ_SET WMI_HECAP_MAC_TWTREQ_SET_D2
- #define WMI_HECAP_MAC_TWTRSP_GET WMI_HECAP_MAC_TWTRSP_GET_D2
- #define WMI_HECAP_MAC_TWTRSP_SET WMI_HECAP_MAC_TWTRSP_SET_D2
- #define WMI_HECAP_MAC_HEFRAG_GET WMI_HECAP_MAC_HEFRAG_GET_D2
- #define WMI_HECAP_MAC_HEFRAG_SET WMI_HECAP_MAC_HEFRAG_SET_D2
- #define WMI_HECAP_MAC_MAXFRAGMSDU_GET WMI_HECAP_MAC_MAXFRAGMSDU_GET_D2
- #define WMI_HECAP_MAC_MAXFRAGMSDU_SET WMI_HECAP_MAC_MAXFRAGMSDU_SET_D2
- #define WMI_HECAP_MAC_MINFRAGSZ_GET WMI_HECAP_MAC_MINFRAGSZ_GET_D2
- #define WMI_HECAP_MAC_MINFRAGSZ_SET WMI_HECAP_MAC_MINFRAGSZ_SET_D2
- #define WMI_HECAP_MAC_TRIGPADDUR_GET WMI_HECAP_MAC_TRIGPADDUR_GET_D2
- #define WMI_HECAP_MAC_TRIGPADDUR_SET WMI_HECAP_MAC_TRIGPADDUR_SET_D2
- #define WMI_HECAP_MAC_MTID_GET WMI_HECAP_MAC_MTID_GET_D2
- #define WMI_HECAP_MAC_MTID_SET WMI_HECAP_MAC_MTID_SET_D2
- #define WMI_HECAP_MAC_AMSDUINAMPDU_GET WMI_HECAP_MAC_AMSDUINAMPDU_GET_D2
- #define WMI_HECAP_MAC_AMSDUINAMPDU_SET WMI_HECAP_MAC_AMSDUINAMPDU_SET_D2
- #define WMI_HECAP_MAC_HELKAD_GET WMI_HECAP_MAC_HELKAD_GET_D2
- #define WMI_HECAP_MAC_HELKAD_SET WMI_HECAP_MAC_HELKAD_SET_D2
- #define WMI_HECAP_MAC_AACK_GET WMI_HECAP_MAC_AACK_GET_D2
- #define WMI_HECAP_MAC_AACK_SET WMI_HECAP_MAC_AACK_SET_D2
- #define WMI_HECAP_MAC_ULMURSP_GET WMI_HECAP_MAC_ULMURSP_GET_D2
- #define WMI_HECAP_MAC_ULMURSP_SET WMI_HECAP_MAC_ULMURSP_SET_D2
- #define WMI_HECAP_MAC_BSR_GET WMI_HECAP_MAC_BSR_GET_D2
- #define WMI_HECAP_MAC_BSR_SET WMI_HECAP_MAC_BSR_SET_D2
- #define WMI_HECAP_MAC_BCSTTWT_GET WMI_HECAP_MAC_BCSTTWT_GET_D2
- #define WMI_HECAP_MAC_BCSTTWT_SET WMI_HECAP_MAC_BCSTTWT_SET_D2
- #define WMI_HECAP_MAC_32BITBA_GET WMI_HECAP_MAC_32BITBA_GET_D2
- #define WMI_HECAP_MAC_32BITBA_SET WMI_HECAP_MAC_32BITBA_SET_D2
- #define WMI_HECAP_MAC_MUCASCADE_GET WMI_HECAP_MAC_MUCASCADE_GET_D2
- #define WMI_HECAP_MAC_MUCASCADE_SET WMI_HECAP_MAC_MUCASCADE_SET_D2
- #define WMI_HECAP_MAC_ACKMTIDAMPDU_GET WMI_HECAP_MAC_ACKMTIDAMPDU_GET_D2
- #define WMI_HECAP_MAC_ACKMTIDAMPDU_SET WMI_HECAP_MAC_ACKMTIDAMPDU_SET_D2
- #define WMI_HECAP_MAC_GROUPMSTABA_GET WMI_HECAP_MAC_GROUPMSTABA_GET_D2
- #define WMI_HECAP_MAC_GROUPMSTABA_SET WMI_HECAP_MAC_GROUPMSTABA_SET_D2
- #define WMI_HECAP_MAC_OMI_GET WMI_HECAP_MAC_OMI_GET_D2
- #define WMI_HECAP_MAC_OMI_SET WMI_HECAP_MAC_OMI_SET_D2
- #define WMI_HECAP_MAC_OFDMARA_GET WMI_HECAP_MAC_OFDMARA_GET_D2
- #define WMI_HECAP_MAC_OFDMARA_SET WMI_HECAP_MAC_OFDMARA_SET_D2
- #define WMI_HECAP_MAC_MAXAMPDULEN_EXP_GET WMI_HECAP_MAC_MAXAMPDULEN_EXP_GET_D2
- #define WMI_HECAP_MAC_MAXAMPDULEN_EXP_SET WMI_HECAP_MAC_MAXAMPDULEN_EXP_SET_D2
- #define WMI_HECAP_MAC_AMSDUFRAG_GET WMI_HECAP_MAC_AMSDUFRAG_GET_D2
- #define WMI_HECAP_MAC_AMSDUFRAG_SET WMI_HECAP_MAC_AMSDUFRAG_SET_D2
- #define WMI_HECAP_MAC_FLEXTWT_GET WMI_HECAP_MAC_FLEXTWT_GET_D2
- #define WMI_HECAP_MAC_FLEXTWT_SET WMI_HECAP_MAC_FLEXTWT_SET_D2
- #define WMI_HECAP_MAC_MBSS_GET WMI_HECAP_MAC_MBSS_GET_D2
- #define WMI_HECAP_MAC_MBSS_SET WMI_HECAP_MAC_MBSS_SET_D2
- #define WMI_HECAP_MAC_BSRPAMPDU_GET WMI_HECAP_MAC_BSRPAMPDU_GET_D2
- #define WMI_HECAP_MAC_BSRPAMPDU_SET WMI_HECAP_MAC_BSRPAMPDU_SET_D2
- #define WMI_HECAP_MAC_QTP_GET WMI_HECAP_MAC_QTP_GET_D2
- #define WMI_HECAP_MAC_QTP_SET WMI_HECAP_MAC_QTP_SET_D2
- #define WMI_HECAP_MAC_ABQR_GET WMI_HECAP_MAC_ABQR_GET_D2
- #define WMI_HECAP_MAC_ABQR_SET WMI_HECAP_MAC_ABQR_SET_D2
- #define WMI_HECAP_MAC_SRRESP_GET WMI_HECAP_MAC_SRRESP_GET_D2
- #define WMI_HECAP_MAC_SRRESP_SET WMI_HECAP_MAC_SRRESP_SET_D2
- #define WMI_HECAP_MAC_OPS_GET WMI_HECAP_MAC_OPS_GET_D2
- #define WMI_HECAP_MAC_OPS_SET WMI_HECAP_MAC_OPS_SET_D2
- #define WMI_HECAP_MAC_NDPFDBKRPT_GET WMI_HECAP_MAC_NDPFDBKRPT_GET_D2
- #define WMI_HECAP_MAC_NDPFDBKRPT_SET WMI_HECAP_MAC_NDPFDBKRPT_SET_D2
- #define WMI_HECAP_MAC_MBAHECTRL_GET WMI_HECAP_MAC_MBAHECTRL_GET_D2
- #define WMI_HECAP_MAC_MBAHECTRL_SET WMI_HECAP_MAC_MBAHECTRL_SET_D2
- #define WMI_HECAP_MAC_MURTS_GET WMI_HECAP_MAC_MURTS_GET_D2
- #define WMI_HECAP_MAC_MURTS_SET WMI_HECAP_MAC_MURTS_SET_D2
- #define WMI_HECAP_PHY_CBMODE_GET WMI_HECAP_PHY_CBMODE_GET_D2
- #define WMI_HECAP_PHY_CBMODE_SET WMI_HECAP_PHY_CBMODE_SET_D2
- #define WMI_HECAP_PHY_OLTF_GET WMI_HECAP_PHY_OLTF_GET_D2
- #define WMI_HECAP_PHY_OLTF_SET WMI_HECAP_PHY_OLTF_SET_D2
- #define WMI_HECAP_PHY_SUBFMESTS_GET WMI_HECAP_PHY_SUBFMESTS_GET_D2
- #define WMI_HECAP_PHY_SUBFMESTS_SET WMI_HECAP_PHY_SUBFMESTS_SET_D2
- #define WMI_HECAP_PHY_PADDING_GET WMI_HECAP_PHY_PADDING_GET_D2
- #define WMI_HECAP_PHY_PADDING_SET WMI_HECAP_PHY_PADDING_SET_D2
- #define WMI_HECAP_PHY_DLOFMAMUMIMO_GET WMI_HECAP_PHY_DLOFMAMUMIMO_GET_D2
- #define WMI_HECAP_PHY_DLOFDMAMUMIO_SET WMI_HECAP_PHY_DLOFDMAMUMIO_SET_D2
- #define WMI_HECAP_PHY_32GI_GET WMI_HECAP_PHY_32GI_GET_D2
- #define WMI_HECAP_PHY_32GI_SET WMI_HECAP_PHY_32GI_SET_D2
- #define WMI_HECAP_PHY_NOSUNDIMENS_GET WMI_HECAP_PHY_NOSUNDIMENS_GET_D2
- #define WMI_HECAP_PHY_NOSUNDIMENS_SET WMI_HECAP_PHY_NOSUNDIMENS_SET_D2
- #define WMI_HECAP_PHY_40MHZNSS_GET WMI_HECAP_PHY_40MHZNSS_GET_D2
- #define WMI_HECAP_PHY_40MHZNSS_SET WMI_HECAP_PHY_40MHZNSS_SET_D2
- #define WMI_HECAP_PHY_ULOFDMA_GET WMI_HECAP_PHY_ULOFDMA_GET_D2
- #define WMI_HECAP_PHY_ULOFDMA_SET WMI_HECAP_PHY_ULOFDMA_SET_D2
- #define WMI_HECAP_PHY_DCM_GET WMI_HECAP_PHY_DCM_GET_D2
- #define WMI_HECAP_PHY_DCM_SET WMI_HECAP_PHY_DCM_SET_D2
- #define WMI_HECAP_PHY_NSTSLT80MHZ_GET WMI_HECAP_PHY_NSTSLT80MHZ_GET_D2
- #define WMI_HECAP_PHY_NSTSLT80MHZ_SET WMI_HECAP_PHY_NSTSLT80MHZ_SET_D2
- #define WMI_HECAP_PHY_NSTSGT80MHZ_GET WMI_HECAP_PHY_NSTSGT80MHZ_GET_D2
- #define WMI_HECAP_PHY_NSTSGT80MHZ_SET WMI_HECAP_PHY_NSTSGT80MHZ_SET_D2
- #define WMI_HECAP_MAC_DYNSMPWRSAVE_GET WMI_HECAP_MAC_DYNSMPWRSAVE_GET_D2
- #define WMI_HECAP_MAC_DYNSMPWRSAVE_SET WMI_HECAP_MAC_DYNSMPWRSAVE_SET_D2
- #define WMI_HECAP_MAC_PUNCSOUNDING_GET WMI_HECAP_MAC_PUNCSOUNDING_GET_D2
- #define WMI_HECAP_MAC_PUNCSOUNDING_SET WMI_HECAP_MAC_PUNCSOUNDING_SET_D2
- #define WMI_HECAP_MAC_HTVHTTRIGRX_GET WMI_HECAP_MAC_HTVHTTRIGRX_GET_D2
- #define WMI_HECAP_MAC_HTVHTTRIGRX_SET WMI_HECAP_MAC_HTVHTTRIGRX_SET_D2
- #endif
- #define WMI_EHTCAP_PHY_320MHZIN6GHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 1, 1)
- #define WMI_EHTCAP_PHY_320MHZIN6GHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 1, 1, value)
- #define WMI_EHTCAP_PHY_242TONERUBWLT20MHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 2, 1)
- #define WMI_EHTCAP_PHY_242TONERUBWLT20MHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 2, 1, value)
- #define WMI_EHTCAP_PHY_NDP4XEHTLTFAND320NSGI_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 3, 1)
- #define WMI_EHTCAP_PHY_NDP4XEHTLTFAND320NSGI_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 3, 1, value)
- #define WMI_EHTCAP_PHY_PARTIALBWULMU_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 4, 1)
- #define WMI_EHTCAP_PHY_PARTIALBWULMU_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 4, 1, value)
- #define WMI_EHTCAP_PHY_SUBFMR_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 5, 1)
- #define WMI_EHTCAP_PHY_SUBFMR_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 5, 1, value)
- #define WMI_EHTCAP_PHY_SUBFME_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 6, 1)
- #define WMI_EHTCAP_PHY_SUBFME_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 6, 1, value)
- #define WMI_EHTCAP_PHY_BFMESSLT80MHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 7, 3)
- #define WMI_EHTCAP_PHY_BFMESSLT80MHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 7, 3, value)
- #define WMI_EHTCAP_PHY_BFMESS160MHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 10, 3)
- #define WMI_EHTCAP_PHY_BFMESS160MHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 10, 3, value)
- #define WMI_EHTCAP_PHY_BFMESS320MHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 13, 3)
- #define WMI_EHTCAP_PHY_BFMESS320MHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 13, 3, value)
- #define WMI_EHTCAP_PHY_NUMSOUNDLT80MHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 16, 3)
- #define WMI_EHTCAP_PHY_NUMSOUNDLT80MHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 16, 3, value)
- #define WMI_EHTCAP_PHY_NUMSOUND160MHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 19, 3)
- #define WMI_EHTCAP_PHY_NUMSOUND160MHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 19, 3, value)
- #define WMI_EHTCAP_PHY_NUMSOUND320MHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 22, 3)
- #define WMI_EHTCAP_PHY_NUMSOUND320MHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 22, 3, value)
- #define WMI_EHTCAP_PHY_NG16SUFB_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 25, 1)
- #define WMI_EHTCAP_PHY_NG16SUFB_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 25, 1, value)
- #define WMI_EHTCAP_PHY_NG16MUFB_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 26, 1)
- #define WMI_EHTCAP_PHY_NG16MUFB_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 26, 1, value)
- #define WMI_EHTCAP_PHY_CODBK42SUFB_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 27, 1)
- #define WMI_EHTCAP_PHY_CODBK42SUFB_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 27, 1, value)
- #define WMI_EHTCAP_PHY_CODBK75MUFB_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 28, 1)
- #define WMI_EHTCAP_PHY_CODBK75MUFB_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 28, 1, value)
- #define WMI_EHTCAP_PHY_TRIGSUBFFB_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 29, 1)
- #define WMI_EHTCAP_PHY_TRIGSUBFFB_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 29, 1, value)
- #define WMI_EHTCAP_PHY_TRIGMUBFPARTBWFB_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 30, 1)
- #define WMI_EHTCAP_PHY_TRIGMUBFPARTBWFB_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 30, 1, value)
- #define WMI_EHTCAP_PHY_TRIGCQIFB_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[0], 31, 1)
- #define WMI_EHTCAP_PHY_TRIGCQIFB_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[0], 31, 1, value)
- #define WMI_EHTCAP_PHY_PARTBWDLMUMIMO_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 0, 1)
- #define WMI_EHTCAP_PHY_PARTBWDLMUMIMO_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 0, 1, value)
- #define WMI_EHTCAP_PHY_PSRSR_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 1, 1)
- #define WMI_EHTCAP_PHY_PSRSR_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 1, 1, value)
- #define WMI_EHTCAP_PHY_PWRBSTFACTOR_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 2, 1)
- #define WMI_EHTCAP_PHY_PWRBSTFACTOR_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 2, 1, value)
- #define WMI_EHTCAP_PHY_4XEHTLTFAND800NSGI_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 3, 1)
- #define WMI_EHTCAP_PHY_4XEHTLTFAND800NSGI_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 3, 1, value)
- #define WMI_EHTCAP_PHY_MAXNC_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 4, 4)
- #define WMI_EHTCAP_PHY_MAXNC_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 4, 4, value)
- #define WMI_EHTCAP_PHY_NONTRIGCQIFB_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 8, 1)
- #define WMI_EHTCAP_PHY_NONTRIGCQIFB_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 8, 1, value)
- #define WMI_EHTCAP_PHY_TX1024AND4096QAMLS242TONERU_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 9, 1)
- #define WMI_EHTCAP_PHY_TX1024AND4096QAMLS242TONERU_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 9, 1, value)
- #define WMI_EHTCAP_PHY_RX1024AND4096QAMLS242TONERU_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 10, 1)
- #define WMI_EHTCAP_PHY_RX1024AND4096QAMLS242TONERU_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 10, 1, value)
- #define WMI_EHTCAP_PHY_PPETHRESPRESENT_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 11, 1)
- #define WMI_EHTCAP_PHY_PPETHRESPRESENT_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 11, 1, value)
- #define WMI_EHTCAP_PHY_CMNNOMPKTPAD_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 12, 2)
- #define WMI_EHTCAP_PHY_CMNNOMPKTPAD_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 12, 2, value)
- #define WMI_EHTCAP_PHY_MAXNUMEHTLTF_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 14, 5)
- #define WMI_EHTCAP_PHY_MAXNUMEHTLTF_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 14, 5, value)
- #define WMI_EHTCAP_PHY_SUPMCS15_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 19, 4)
- #define WMI_EHTCAP_PHY_SUPMCS15_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 19, 4, value)
- #define WMI_EHTCAP_PHY_EHTDUPIN6GHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 23, 1)
- #define WMI_EHTCAP_PHY_EHTDUPIN6GHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 23, 1, value)
- #define WMI_EHTCAP_PHY_20MHZOPSTARXNDPWIDERBW_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 24, 1)
- #define WMI_EHTCAP_PHY_20MHZOPSTARXNDPWIDERBW_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 24, 1, value)
- #define WMI_EHTCAP_PHY_NONOFDMAULMUMIMOLT80MHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 25, 1)
- #define WMI_EHTCAP_PHY_NONOFDMAULMUMIMOLT80MHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 25, 1, value)
- #define WMI_EHTCAP_PHY_NONOFDMAULMUMIMO160MHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 26, 1)
- #define WMI_EHTCAP_PHY_NONOFDMAULMUMIMO160MHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 26, 1, value)
- #define WMI_EHTCAP_PHY_NONOFDMAULMUMIMO320MHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 27, 1)
- #define WMI_EHTCAP_PHY_NONOFDMAULMUMIMO320MHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 27, 1, value)
- #define WMI_EHTCAP_PHY_MUBFMRLT80MHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 28, 1)
- #define WMI_EHTCAP_PHY_MUBFMRLT80MHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 28, 1, value)
- #define WMI_EHTCAP_PHY_MUBFMR160MHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 29, 1)
- #define WMI_EHTCAP_PHY_MUBFMR160MHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 29, 1, value)
- #define WMI_EHTCAP_PHY_MUBFMR320MHZ_GET(eht_cap_phy) WMI_GET_BITS(eht_cap_phy[1], 30, 1)
- #define WMI_EHTCAP_PHY_MUBFMR320MHZ_SET(eht_cap_phy, value) WMI_SET_BITS(eht_cap_phy[1], 30, 1, value)
- #define WMI_EHTCAP_MAC_NSEPPRIACCESS_GET(eht_cap_mac) WMI_GET_BITS(eht_cap_mac[0], 0, 1)
- #define WMI_EHTCAP_MAC_NSEPPRIACCESS_SET(eht_cap_mac, value) WMI_SET_BITS(eht_cap_mac[0], 0, 1, value)
- #define WMI_EHTCAP_MAC_EHTOMCTRL_GET(eht_cap_mac) WMI_GET_BITS(eht_cap_mac[0], 1, 1)
- #define WMI_EHTCAP_MAC_EHTOMCTRL_SET(eht_cap_mac, value) WMI_SET_BITS(eht_cap_mac[0], 1, 1, value)
- #define WMI_EHTCAP_MAC_TRIGTXOP_GET(eht_cap_mac) WMI_GET_BITS(eht_cap_mac[0], 2, 1)
- #define WMI_EHTCAP_MAC_TRIGTXOP_SET(eht_cap_mac, value) WMI_SET_BITS(eht_cap_mac[0], 2, 1, value)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 capture_method;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr mac_addr;
-
- A_UINT32 chan_mhz;
-
- A_UINT32 bandwidth;
-
- A_UINT32 phy_mode;
-
- A_UINT32 band_center_freq1;
-
- A_UINT32 band_center_freq2;
-
- A_UINT32 sts_count;
-
- A_UINT32 correlation_info_1;
-
- A_UINT32 correlation_info_2;
-
- A_UINT32 status;
-
- A_UINT32 timestamp_us;
-
- A_UINT32 counter;
-
- A_UINT32 chain_rssi[WMI_MAX_CHAINS];
-
- A_UINT32 cfo_measurement_valid :1,
- cfo_measurement :14,
- reserved :17;
-
- A_UINT32 rx_start_ts;
-
- A_UINT32 rx_ts_reset;
-
- A_UINT32 mcs_gi_info;
- } wmi_peer_cfr_capture_event_fixed_param;
- #define WMI_CFR_MCS_GET(mcs_gi_info) \
- WMI_GET_BITS(mcs_gi_info, 0, 8)
- #define WMI_CFR_MCS_SET(mcs_gi_info, value) \
- WMI_SET_BITS(mcs_gi_info, 0, 8, value)
- #define WMI_CFR_GI_TYPE_GET(mcs_gi_info) \
- WMI_GET_BITS(mcs_gi_info, 8, 8)
- #define WMI_CFR_GI_TYPE_SET(mcs_gi_info, value) \
- WMI_SET_BITS(mcs_gi_info, 8, 8, value)
- #define WMI_UNIFIED_CHAIN_PHASE_MASK 0x0000ffff
- #define WMI_UNIFIED_CHAIN_PHASE_GET(tlv, chain_idx) \
- ((A_UINT16) ((tlv)->chain_phase[chain_idx] & WMI_UNIFIED_CHAIN_PHASE_MASK))
- #define WMI_UNIFIED_CHAIN_PHASE_SET(tlv, chain_idx, value) \
- (tlv)->chain_phase[chain_idx] = (WMI_UNIFIED_CHAIN_PHASE_MASK & (value))
- #define WMI_CFR_AGC_GAIN_CHAINS_PER_U32 4
- #define WMI_UNIFIED_AGC_GAIN_MASK 0x000000ff
- #define WMI_UNIFIED_AGC_GAIN_GET(tlv, chain_idx) \
- ((A_UINT8) ((tlv)->agc_gain_index[(chain_idx)/WMI_CFR_AGC_GAIN_CHAINS_PER_U32] >> \
- ((chain_idx)%WMI_CFR_AGC_GAIN_CHAINS_PER_U32)*8) & WMI_UNIFIED_AGC_GAIN_MASK)
- #define WMI_UNIFIED_AGC_GAIN_SET(tlv, chain_idx, value) \
- (tlv)->agc_gain_index[chain_idx/WMI_CFR_AGC_GAIN_CHAINS_PER_U32] = \
- (tlv)->agc_gain_index[chain_idx/WMI_CFR_AGC_GAIN_CHAINS_PER_U32] & \
- ~(0xff << (((chain_idx)%WMI_CFR_AGC_GAIN_CHAINS_PER_U32)*8)) | \
- (((value)<<((chain_idx)%WMI_CFR_AGC_GAIN_CHAINS_PER_U32)*8))
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 chain_phase[WMI_MAX_CHAINS];
-
- A_UINT32 agc_gain_index[WMI_MAX_CHAINS/WMI_CFR_AGC_GAIN_CHAINS_PER_U32];
- } wmi_peer_cfr_capture_event_phase_fixed_param;
- #define WMI_PEER_CFR_CAPTURE_EVT_STATUS_OK 0x80000000
- #define WMI_PEER_CFR_CAPTURE_EVT_STATUS_OK_S 31
- #define WMI_PEER_CFR_CAPTURE_EVT_STATUS_PS_FAILED 0x40000000
- #define WMI_PEER_CFR_CAPTURE_EVT_STATUS_PS_FAILED_S 30
- #define WMI_PEER_CFR_CAPTURE_EVT_STATUS_TX 0x00000003
- #define WMI_PEER_CFR_CAPTURE_EVT_STATUS_TX_S 0
- #define WMI_COLD_BOOT_CAL_DATA_SET_IS_MORE_DATA(flags, val) WMI_SET_BITS(flags, 0, 1, val)
- #define WMI_COLD_BOOT_CAL_DATA_GET_IS_MORE_DATA(flags) WMI_GET_BITS(flags, 0, 1)
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 data_len;
- A_UINT32 flags;
- } wmi_cold_boot_cal_data_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- A_UINT32 type;
- wmi_mac_addr bssid;
- } wmi_pdev_rap_info_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
-
- A_UINT32 pdev_n;
-
- } wmi_wlanfw_iface_cmb_ind_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_limit_n;
-
- A_UINT32 vdev_type;
- A_UINT32 vdev_subtype;
- } wlanfw_iface_limit;
- #define WMI_CMB_VALID_FIELDS_FLAG_PEER_MAX_S 0
- #define WMI_CMB_VALID_FIELDS_FLAG_PEER_MAX_M 0x1
- #define WMI_CMB_VALID_FIELDS_FLAG_STA_AP_BCN_INT_MATCH_S 1
- #define WMI_CMB_VALID_FIELDS_FLAG_STA_AP_BCN_INT_MATCH_M 0x2
- #define WMI_CMB_VALID_FIELDS_FLAG_BCN_INT_MIN_S 2
- #define WMI_CMB_VALID_FIELDS_FLAG_BCN_INT_MIN_M 0x4
- #define WMI_CMB_VALID_FIELDS_FLAG_BCN_INT_N_S 3
- #define WMI_CMB_VALID_FIELDS_FLAG_BCN_INT_N_M 0x8
- #define WMI_CMB_VALID_FIELDS_FLAG_SET(word32, flag, value) \
- do { \
- (word32) &= ~WMI_CMB_VALID_FIELDS_FLAG_ ## flag ## _M; \
- (word32) |= ((value) << WMI_CMB_VALID_FIELDS_FLAG_ ## flag ## _S) & \
- WMI_CMB_VALID_FIELDS_FLAG_ ## flag ## _M; \
- } while (0)
- #define WMI_CMB_VALID_FIELDS_FLAG_GET(word32, flag) \
- (((word32) & WMI_CMB_VALID_FIELDS_FLAG_ ## flag ## _M) >> \
- WMI_CMB_VALID_FIELDS_FLAG_ ## flag ## _S)
- #define WMI_CMB_VALID_FIELDS_FLAG_PEER_MAX_SET(word32, value) \
- WMI_CMB_VALID_FIELDS_FLAG_SET((word32), PEER_MAX, (value))
- #define WMI_CMB_VALID_FIELDS_FLAG_PEER_MAX_GET(word32) \
- WMI_CMB_VALID_FIELDS_FLAG_GET((word32), PEER_MAX)
- #define WMI_CMB_VALID_FIELDS_FLAG_STA_AP_BCN_INT_MATCH_SET(word32, value) \
- WMI_CMB_VALID_FIELDS_FLAG_SET((word32), STA_AP_BCN_INT_MATCH, (value))
- #define WMI_CMB_VALID_FIELDS_FLAG_STA_AP_BCN_INT_MATCH_GET(word32) \
- WMI_CMB_VALID_FIELDS_FLAG_GET((word32), STA_AP_BCN_INT_MATCH)
- #define WMI_CMB_VALID_FIELDS_FLAG_BCN_INT_MIN_SET(word32, value) \
- WMI_CMB_VALID_FIELDS_FLAG_SET((word32), BCN_INT_MIN, (value))
- #define WMI_CMB_VALID_FIELDS_FLAG_BCN_INT_MIN_GET(word32) \
- WMI_CMB_VALID_FIELDS_FLAG_GET((word32), BCN_INT_MIN)
- #define WMI_CMB_VALID_FIELDS_FLAG_BCN_INT_N_SET(word32, value) \
- WMI_CMB_VALID_FIELDS_FLAG_SET((word32), BCN_INT_N, (value))
- #define WMI_CMB_VALID_FIELDS_FLAG_BCN_INT_N_GET(word32) \
- WMI_CMB_VALID_FIELDS_FLAG_GET((word32), BCN_INT_N)
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 peer_max;
-
- A_UINT32 channel_n;
-
- A_UINT32 cmb_limits;
-
- A_UINT32 sta_ap_bcn_int_match;
-
- A_UINT32 bcn_int_min;
-
- A_UINT32 bcn_int_n;
-
- A_UINT32 valid_fields;
- } wlanfw_iface_combination;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 en_dis;
- } wmi_set_elna_bypass_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- } wmi_get_elna_bypass_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 en_dis;
- } wmi_get_elna_bypass_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- } wmi_get_channel_ani_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- } wmi_get_channel_ani_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 chan_freq;
-
- A_UINT32 ani_level;
- } wmi_channel_ani_info_tlv_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 aggr_enable;
- A_UINT32 tbd_enable;
- A_UINT32 vdev_id;
- } wmi_audio_aggr_enable_cmd_fixed_param;
- typedef struct wmi_audio_aggr_rate_set_s {
- A_UINT32 tlv_header;
- A_UINT32 mcs;
- A_UINT32 bandwidth;
- A_UINT32 vdev_id;
- } WMI_AUDIO_AGGR_RATE_SET_T;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 group_id;
- wmi_mac_addr multicast_addr;
- A_UINT32 vdev_id;
- } wmi_audio_aggr_add_group_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 group_id;
- A_UINT32 vdev_id;
- } wmi_audio_aggr_del_group_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 group_id;
- A_UINT32 vdev_id;
-
- } wmi_audio_aggr_set_group_rate_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 group_id;
- A_UINT32 retry_thresh;
- A_UINT32 vdev_id;
- } wmi_audio_aggr_set_group_retry_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 group_id;
-
- A_UINT32 bw;
- A_UINT32 mcs_min;
- A_UINT32 mcs_max;
- A_UINT32 mcs_offset;
- A_UINT32 nss;
- } wmi_audio_aggr_set_group_auto_rate_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 group_id;
- A_UINT32 interval;
- } wmi_audio_aggr_set_group_probe_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 group_bmap;
- } wmi_audio_aggr_update_sta_group_info_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 request_id;
- } wmi_audio_aggr_get_statistics_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- } wmi_audio_aggr_reset_statistics_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 user_mode;
- A_UINT32 user_profile;
- } wmi_audio_aggr_set_rtscts_config_cmd_fixed_param;
- typedef enum {
-
- WMI_AUDIO_AGGR_SCHED_METHOD_HOST_CONTROL = 1,
- WMI_AUDIO_AGGR_SCHED_METHOD_HOST_CONTROL_PER_CYCLE = 2,
- WMI_AUDIO_AGGR_SCHED_METHOD_MAX,
- } WMI_AUDIO_AGGR_SCHED_METHOD_TYPE;
- typedef enum {
-
- WMI_AUDIO_AGGR_RTS_CTS_CONFIG_DISABLED = 0,
- WMI_AUDIO_AGGR_RTS_CTS_CONFIG_PPDU = 1,
- WMI_AUDIO_AGGR_RTS_CTS_CONFIG_CYCLE = 2,
- WMI_AUDIO_AGGR_RTS_CTS_MAX,
- } WMI_AUDIO_AGGR_RTS_CTS_CONFIG_TYPE;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 sched_method;
-
- A_UINT32 rtscts_config;
- } wmi_audio_aggr_set_sched_method_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
- } wmi_audio_aggr_get_sched_method_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 en_dis_chain;
- } wmi_set_ocl_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 qtimer_l32;
- A_UINT32 qtimer_u32;
- } wmi_audio_sync_qtimer_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 agg_relation;
- } wmi_audio_sync_trigger_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 mec_aging_timer_threshold;
- } wmi_pdev_mec_aging_timer_config_cmd_fixed_param;
- #define WMI_CFR_GROUP_TA_ADDR_VALID_BIT_POS 0
- #define WMI_CFR_GROUP_TA_ADDR_MASK_VALID_BIT_POS 1
- #define WMI_CFR_GROUP_RA_ADDR_VALID_BIT_POS 2
- #define WMI_CFR_GROUP_RA_ADDR_MASK_VALID_BIT_POS 3
- #define WMI_CFR_GROUP_BW_VALID_BIT_POS 4
- #define WMI_CFR_GROUP_NSS_VALID_BIT_POS 5
- #define WMI_CFR_GROUP_MGMT_SUBTYPE_VALID_BIT_POS 6
- #define WMI_CFR_GROUP_CTRL_SUBTYPE_VALID_BIT_POS 7
- #define WMI_CFR_GROUP_DATA_SUBTYPE_VALID_BIT_POS 8
- #define WMI_CFR_GROUP_BW_MASK_NUM_BITS 5
- #define WMI_CFR_GROUP_BW_BIT_POS 0
- #define WMI_CFR_GROUP_NSS_MASK_NUM_BITS 8
- #define WMI_CFR_GROUP_NSS_BIT_POS 16
- #define WMI_CFR_GROUP_TA_ADDR_VALID_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_GROUP_TA_ADDR_VALID_BIT_POS, 1, value)
- #define WMI_CFR_GROUP_TA_ADDR_VALID_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_GROUP_TA_ADDR_VALID_BIT_POS, 1)
- #define WMI_CFR_GROUP_TA_ADDR_MASK_VALID_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_GROUP_TA_ADDR_MASK_VALID_BIT_POS, 1, value)
- #define WMI_CFR_GROUP_TA_ADDR_MASK_VALID_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_GROUP_TA_ADDR_MASK_VALID_BIT_POS, 1)
- #define WMI_CFR_GROUP_RA_ADDR_VALID_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_GROUP_RA_ADDR_VALID_BIT_POS, 1, value)
- #define WMI_CFR_GROUP_RA_ADDR_VALID_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_GROUP_RA_ADDR_VALID_BIT_POS, 1)
- #define WMI_CFR_GROUP_RA_ADDR_MASK_VALID_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_GROUP_RA_ADDR_MASK_VALID_BIT_POS, 1, value)
- #define WMI_CFR_GROUP_RA_ADDR_MASK_VALID_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_GROUP_RA_ADDR_MASK_VALID_BIT_POS, 1)
- #define WMI_CFR_GROUP_BW_VALID_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_GROUP_BW_VALID_BIT_POS, 1, value)
- #define WMI_CFR_GROUP_BW_VALID_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_GROUP_BW_VALID_BIT_POS, 1)
- #define WMI_CFR_GROUP_NSS_VALID_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_GROUP_NSS_VALID_BIT_POS, 1, value)
- #define WMI_CFR_GROUP_NSS_VALID_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_GROUP_NSS_VALID_BIT_POS, 1)
- #define WMI_CFR_GROUP_MGMT_SUBTYPE_VALID_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_GROUP_MGMT_SUBTYPE_VALID_BIT_POS, 1, value)
- #define WMI_CFR_GROUP_MGMT_SUBTYPE_VALID_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_GROUP_MGMT_SUBTYPE_VALID_BIT_POS, 1)
- #define WMI_CFR_GROUP_CTRL_SUBTYPE_VALID_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_GROUP_CTRL_SUBTYPE_VALID_BIT_POS, 1, value)
- #define WMI_CFR_GROUP_CTRL_SUBTYPE_VALID_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_GROUP_CTRL_SUBTYPE_VALID_BIT_POS, 1)
- #define WMI_CFR_GROUP_DATA_SUBTYPE_VALID_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_GROUP_DATA_SUBTYPE_VALID_BIT_POS, 1, value)
- #define WMI_CFR_GROUP_DATA_SUBTYPE_VALID_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_GROUP_DATA_SUBTYPE_VALID_BIT_POS, 1)
- #define WMI_CFR_GROUP_BW_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_GROUP_BW_BIT_POS, WMI_CFR_GROUP_BW_MASK_NUM_BITS, value)
- #define WMI_CFR_GROUP_BW_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_GROUP_BW_BIT_POS, WMI_CFR_GROUP_BW_MASK_NUM_BITS)
- #define WMI_CFR_GROUP_NSS_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_GROUP_NSS_BIT_POS, WMI_CFR_GROUP_NSS_MASK_NUM_BITS, value)
- #define WMI_CFR_GROUP_NSS_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_GROUP_NSS_BIT_POS, WMI_CFR_GROUP_NSS_MASK_NUM_BITS)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 filter_group_id;
-
- A_UINT32 filter_set_valid_mask;
-
- wmi_mac_addr ta_addr;
-
- wmi_mac_addr ta_addr_mask;
-
- wmi_mac_addr ra_addr;
-
- wmi_mac_addr ra_addr_mask;
-
- A_UINT32 bw_nss_filter;
-
- A_UINT32 mgmt_subtype_filter;
-
- A_UINT32 ctrl_subtype_filter;
-
- A_UINT32 data_subtype_filter;
- } wmi_cfr_filter_group_config;
- #define WMI_CFR_DIRECTED_FTM_ACK_EN_BIT_POS 0
- #define WMI_CFR_ALL_FTM_ACK_EN_BIT_POS 1
- #define WMI_CFR_NDPA_NDP_DIRECTED_EN_BIT_POS 2
- #define WMI_CFR_NDPA_NDP_ALL_EN_BIT_POS 3
- #define WMI_CFR_TA_RA_TYPE_FILTER_EN_BIT_POS 4
- #define WMI_CFR_ALL_PACKET_EN_BIT_POS 5
- #define WMI_CFR_FILTER_IN_AS_FP_TA_RA_TYPE_BIT_POS 6
- #define WMI_CFR_CAPTURE_INTERVAL_NUM_BITS 24
- #define WMI_CFR_CAPTURE_INTERVAL_BIT_POS 0
- #define WMI_CFR_CAPTURE_DURATION_NUM_BITS 24
- #define WMI_CFR_CAPTURE_DURATION_BIT_POS 0
- #define WMI_CFR_FILTER_GROUP_BITMAP_NUM_BITS 16
- #define WMI_CFR_FILTER_GROUP_BITMAP_BIT_POS 0
- #define WMI_CFR_UL_MU_USER_UPPER_NUM_BITS 5
- #define WMI_CFR_UL_MU_USER_UPPER_BIT_POS 0
- #define WMI_CFR_FREEZE_DELAY_CNT_EN_MASK 1
- #define WMI_CFR_FREEZE_DELAY_CNT_EN_BIT_POS 0
- #define WMI_CFR_FREEZE_DELAY_CNT_THR_NUM_BITS 8
- #define WMI_CFR_FREEZE_DELAY_CNT_THR_BIT_POS 1
- #define WMI_CFR_CAPTURE_COUNT_NUM_BITS 16
- #define WMI_CFR_CAPTURE_COUNT_BIT_POS 0
- #define WMI_CFR_CAPTURE_INTERVAL_MODE_SEL_NUM_BITS 1
- #define WMI_CFR_CAPTURE_INTERVAL_MODE_SEL_BIT_POS 16
- #define WMI_CFR_DIRECTED_FTM_ACK_EN_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_DIRECTED_FTM_ACK_EN_BIT_POS, 1, value)
- #define WMI_CFR_DIRECTED_FTM_ACK_EN_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_DIRECTED_FTM_ACK_EN_BIT_POS, 1)
- #define WMI_CFR_ALL_FTM_ACK_EN_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_ALL_FTM_ACK_EN_BIT_POS, 1, value)
- #define WMI_CFR_ALL_FTM_ACK_EN_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_ALL_FTM_ACK_EN_BIT_POS, 1)
- #define WMI_CFR_NDPA_NDP_DIRECTED_EN_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_NDPA_NDP_DIRECTED_EN_BIT_POS, 1, value)
- #define WMI_CFR_NDPA_NDP_DIRECTED_EN_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_NDPA_NDP_DIRECTED_EN_BIT_POS, 1)
- #define WMI_CFR_NDPA_NDP_ALL_EN_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_NDPA_NDP_ALL_EN_BIT_POS, 1, value)
- #define WWMI_CFR_NDPA_NDP_ALL_EN_GET WMI_CFR_NDPA_NDP_ALL_EN_GET
- #define WMI_CFR_NDPA_NDP_ALL_EN_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_NDPA_NDP_ALL_EN_BIT_POS, 1)
- #define WMI_CFR_TA_RA_TYPE_FILTER_EN_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_TA_RA_TYPE_FILTER_EN_BIT_POS, 1, value)
- #define WMI_CFR_TA_RA_TYPE_FILTER_EN_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_TA_RA_TYPE_FILTER_EN_BIT_POS, 1)
- #define WWMI_CFR_ALL_PACKET_EN_SET WMI_CFR_ALL_PACKET_EN_SET
- #define WMI_CFR_ALL_PACKET_EN_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_ALL_PACKET_EN_BIT_POS, 1, value)
- #define WMI_CFR_ALL_PACKET_EN_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_ALL_PACKET_EN_BIT_POS, 1)
- #define WMI_CFR_FILTER_IN_AS_FP_TA_RA_TYPE_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_FILTER_IN_AS_FP_TA_RA_TYPE_BIT_POS, 1, value)
- #define WMI_CFR_FILTER_IN_AS_FP_TA_RA_TYPE_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_FILTER_IN_AS_FP_TA_RA_TYPE_BIT_POS, 1)
- #define WMI_CFR_CAPTURE_INTERVAL_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_CAPTURE_INTERVAL_BIT_POS, WMI_CFR_CAPTURE_INTERVAL_NUM_BITS, value)
- #define WMI_CFR_CAPTURE_INTERVAL_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_CAPTURE_INTERVAL_BIT_POS, WMI_CFR_CAPTURE_INTERVAL_NUM_BITS)
- #define WMI_CFR_CAPTURE_DURATION_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_CAPTURE_DURATION_BIT_POS, WMI_CFR_CAPTURE_DURATION_NUM_BITS, value)
- #define WMI_CFR_CAPTURE_DURATION_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_CAPTURE_DURATION_BIT_POS, WMI_CFR_CAPTURE_DURATION_NUM_BITS)
- #define WMI_CFR_FILTER_GROUP_BITMAP_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_FILTER_GROUP_BITMAP_BIT_POS, WMI_CFR_FILTER_GROUP_BITMAP_NUM_BITS, value)
- #define WMI_CFR_FILTER_GROUP_BITMAP_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_FILTER_GROUP_BITMAP_BIT_POS, WMI_CFR_FILTER_GROUP_BITMAP_NUM_BITS)
- #define WMI_CFR_UL_MU_USER_UPPER_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_UL_MU_USER_UPPER_BIT_POS, WMI_CFR_UL_MU_USER_UPPER_NUM_BITS, value)
- #define WMI_CFR_UL_MU_USER_UPPER_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_UL_MU_USER_UPPER_BIT_POS, WMI_CFR_UL_MU_USER_UPPER_NUM_BITS)
- #define WMI_CFR_FREEZE_DELAY_CNT_EN_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_FREEZE_DELAY_CNT_EN_BIT_POS, WMI_CFR_FREEZE_DELAY_CNT_EN_MASK, value)
- #define WMI_CFR_FREEZE_DELAY_CNT_EN_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_FREEZE_DELAY_CNT_EN_BIT_POS, WMI_CFR_FREEZE_DELAY_CNT_EN_MASK)
- #define WMI_CFR_FREEZE_DELAY_CNT_THR_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_FREEZE_DELAY_CNT_THR_BIT_POS, WMI_CFR_FREEZE_DELAY_CNT_THR_NUM_BITS, value)
- #define WMI_CFR_FREEZE_DELAY_CNT_THR_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_FREEZE_DELAY_CNT_THR_BIT_POS, WMI_CFR_FREEZE_DELAY_CNT_THR_NUM_BITS)
- #define WMI_CFR_CAPTURE_COUNT_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_CAPTURE_COUNT_BIT_POS, WMI_CFR_CAPTURE_COUNT_NUM_BITS, value)
- #define WMI_CFR_CAPTURE_COUNT_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_CAPTURE_COUNT_BIT_POS, WMI_CFR_CAPTURE_COUNT_NUM_BITS)
- #define WMI_CFR_CAPTURE_INTERVAL_MODE_SEL_SET(param, value) \
- WMI_SET_BITS(param, WMI_CFR_CAPTURE_INTERVAL_MODE_SEL_BIT_POS, WMI_CFR_CAPTURE_INTERVAL_MODE_SEL_NUM_BITS, value)
- #define WMI_CFR_CAPTURE_INTERVAL_MODE_SEL_GET(param) \
- WMI_GET_BITS(param, WMI_CFR_CAPTURE_INTERVAL_MODE_SEL_BIT_POS, WMI_CFR_CAPTURE_INTERVAL_MODE_SEL_NUM_BITS)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 filter_type;
-
- A_UINT32 capture_interval;
-
- A_UINT32 capture_duration;
-
- A_UINT32 filter_group_bitmap;
-
- A_UINT32 ul_mu_user_mask_lower;
-
- A_UINT32 ul_mu_user_mask_upper;
-
- A_UINT32 freeze_tlv_delay_cnt;
-
- A_UINT32 capture_count;
- } wmi_cfr_capture_filter_cmd_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 data_len;
- } wmi_oem_data_event_fixed_param;
- #define WMI_VLAN_TX_BIT_POS 0
- #define WMI_VLAN_RX_BIT_POS 1
- #define WMI_TX_INSERT_OR_STRIP_BIT_POS 2
- #define WMI_TX_STRIP_INSERT_VLAN_INNER_BIT_POS 3
- #define WMI_TX_STRIP_INSERT_VLAN_OUTER_BIT_POS 4
- #define WMI_RX_STRIP_VLAN_C_TAG_BIT_POS 5
- #define WMI_RX_STRIP_VLAN_S_TAG_BIT_POS 6
- #define WMI_RX_INSERT_VLAN_C_TAG_BIT_POS 7
- #define WMI_RX_INSERT_VLAN_S_TAG_BIT_POS 8
- #define WMI_TX_INSERT_VLAN_INNER_TCI_NUM_BITS 16
- #define WMI_TX_INSERT_VLAN_INNER_TCI_BIT_POS 0
- #define WMI_TX_INSERT_VLAN_OUTER_TCI_NUM_BITS 16
- #define WMI_TX_INSERT_VLAN_OUTER_TCI_BIT_POS 16
- #define WMI_VLAN_TX_SET(param, value) \
- WMI_SET_BITS(param, WMI_VLAN_TX_BIT_POS, 1, value)
- #define WMI_VLAN_TX_GET(param) \
- WMI_GET_BITS(param, WMI_VLAN_TX_BIT_POS, 1)
- #define WMI_VLAN_RX_SET(param, value) \
- WMI_SET_BITS(param, WMI_VLAN_RX_BIT_POS, 1, value)
- #define WMI_VLAN_RX_GET(param) \
- WMI_GET_BITS(param, WMI_VLAN_RX_BIT_POS, 1)
- #define WMI_TX_INSERT_OR_STRIP_SET(param, value) \
- WMI_SET_BITS(param, WMI_TX_INSERT_OR_STRIP_BIT_POS, 1, value)
- #define WMI_TX_INSERT_OR_STRIP_GET(param) \
- WMI_GET_BITS(param, WMI_TX_INSERT_OR_STRIP_BIT_POS, 1)
- #define WMI_TX_STRIP_INSERT_VLAN_INNER_SET(param, value) \
- WMI_SET_BITS(param, WMI_TX_STRIP_INSERT_VLAN_INNER_BIT_POS, 1, value)
- #define WMI_TX_STRIP_INSERT_VLAN_INNER_GET(param) \
- WMI_GET_BITS(param, WMI_TX_STRIP_INSERT_VLAN_INNER_BIT_POS, 1)
- #define WMI_TX_STRIP_INSERT_VLAN_OUTER_SET(param, value) \
- WMI_SET_BITS(param, WMI_TX_STRIP_INSERT_VLAN_OUTER_BIT_POS, 1, value)
- #define WMI_TX_STRIP_INSERT_VLAN_OUTER_GET(param) \
- WMI_GET_BITS(param, WMI_TX_STRIP_INSERT_VLAN_OUTER_BIT_POS, 1)
- #define WMI_RX_STRIP_VLAN_C_TAG_SET(param, value) \
- WMI_SET_BITS(param, WMI_RX_STRIP_VLAN_C_TAG_BIT_POS, 1, value)
- #define WMI_RX_STRIP_VLAN_C_TAG_GET(param) \
- WMI_GET_BITS(param, WMI_RX_STRIP_VLAN_C_TAG_BIT_POS, 1)
- #define WMI_RX_STRIP_VLAN_S_TAG_SET(param, value) \
- WMI_SET_BITS(param, WMI_RX_STRIP_VLAN_S_TAG_BIT_POS, 1, value)
- #define WMI_RX_STRIP_VLAN_S_TAG_GET(param) \
- WMI_GET_BITS(param, WMI_RX_STRIP_VLAN_S_TAG_BIT_POS, 1)
- #define WMI_RX_INSERT_VLAN_C_TAG_SET(param, value) \
- WMI_SET_BITS(param, WMI_RX_INSERT_VLAN_C_TAG_BIT_POS, 1, value)
- #define WMI_RX_INSERT_VLAN_C_TAG_GET(param) \
- WMI_GET_BITS(param, WMI_RX_INSERT_VLAN_C_TAG_BIT_POS, 1)
- #define WMI_RX_INSERT_VLAN_S_TAG_SET(param, value) \
- WMI_SET_BITS(param, WMI_RX_INSERT_VLAN_S_TAG_BIT_POS, 1, value)
- #define WMI_RX_INSERT_VLAN_S_TAG_GET(param) \
- WMI_GET_BITS(param, WMI_RX_INSERT_VLAN_S_TAG_BIT_POS, 1)
- #define WMI_TX_INSERT_VLAN_INNER_TCI_SET(param, value) \
- WMI_SET_BITS(param, WMI_TX_INSERT_VLAN_INNER_TCI_BIT_POS, WMI_TX_INSERT_VLAN_INNER_TCI_NUM_BITS, value)
- #define WMI_TX_INSERT_VLAN_INNER_TCI_GET(param) \
- WMI_GET_BITS(param, WMI_TX_INSERT_VLAN_INNER_TCI_BIT_POS, WMI_TX_INSERT_VLAN_INNER_TCI_NUM_BITS)
- #define WMI_TX_INSERT_VLAN_OUTER_TCI_SET(param, value) \
- WMI_SET_BITS(param, WMI_TX_INSERT_VLAN_OUTER_TCI_BIT_POS, WMI_TX_INSERT_VLAN_OUTER_TCI_NUM_BITS, value)
- #define WMI_TX_INSERT_VLAN_OUTER_TCI_GET(param) \
- WMI_GET_BITS(param, WMI_TX_INSERT_VLAN_OUTER_TCI_BIT_POS, WMI_TX_INSERT_VLAN_OUTER_TCI_NUM_BITS)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 peer_vlan_config_mask;
-
- A_UINT32 insert_vlan_tci;
-
- A_UINT32 vdev_id;
- } wmi_peer_config_vlan_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- wmi_mac_addr peer_macaddr;
- A_UINT32 ppe_routing_enable;
-
- A_UINT32 service_code;
- A_UINT32 priority_valid;
-
- A_UINT32 src_info;
-
- A_UINT32 vdev_id;
- } wmi_peer_config_ppe_ds_cmd_fixed_param;
- typedef enum {
- WMI_PPE_ROUTING_DISABLED = 0,
- WMI_AST_USE_PPE_ENABLED = 1,
- WMI_AST_USE_PPE_DISABLED = 2,
- WMI_PPE_ROUTING_TYPE_MAX,
- } WMI_PPE_ROUTING_TYPE;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
- A_UINT32 requestor_id;
-
- A_UINT32 status;
-
- } wmi_pdev_multiple_vdev_restart_resp_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
-
- A_UINT32 response_id;
-
- } wmi_audio_aggr_statistics_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr group_addr;
-
- A_UINT32 group_id;
-
- A_UINT32 mcast_tx;
-
- A_UINT32 mcast_tx_ok;
-
- A_UINT32 mcast_tx_ok_retry;
-
- A_UINT32 mcast_tx_tbd_lost;
-
- A_UINT32 mcast_tx_tbd_lost_retry;
- } wmi_audio_aggr_group_stats;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- wmi_mac_addr peer_addr;
-
- A_UINT32 ucast_rx;
-
- A_UINT32 ucast_tx;
-
- A_UINT32 ucast_tx_retry;
-
- A_UINT32 ucast_tx_ok;
-
- A_UINT32 ucast_tx_lost;
-
- A_UINT32 null_frame_tx;
-
- A_UINT32 null_frame_tx_lost;
- } wmi_audio_aggr_peer_stats;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 sched_method;
-
- A_UINT32 rtscts_config;
- } wmi_audio_aggr_sched_method_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 srg_bss_color_bitmap[2];
- } wmi_pdev_srg_bss_color_bitmap_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 srg_partial_bssid_bitmap[2];
- } wmi_pdev_srg_partial_bssid_bitmap_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 srg_obss_en_color_bitmap[2];
- } wmi_pdev_srg_obss_color_enable_bitmap_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 srg_obss_en_bssid_bitmap[2];
- } wmi_pdev_srg_obss_bssid_enable_bitmap_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 non_srg_obss_en_color_bitmap[2];
- } wmi_pdev_non_srg_obss_color_enable_bitmap_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 non_srg_obss_en_bssid_bitmap[2];
- } wmi_pdev_non_srg_obss_bssid_enable_bitmap_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 duration_based_tx_mode_selection;
- } wmi_pdev_enable_duration_based_tx_mode_selection_cmd_fixed_param;
- typedef enum {
-
- WMI_SIM_TEST_FRAME_CONTENT_CHANGE_CMD,
- WMI_SIM_TEST_DROP_FRAME_CMD,
- WMI_SIM_TEST_DELAY_FRAME_CMD,
- WMI_SIM_TEST_CONFIGURATION_CMD,
- WMI_SIM_TEST_CMD_UNKNOWN = 255,
- } WMI_SIMULATION_TEST_CMD_TYPE;
- typedef enum {
-
- WMI_SIM_TEST_SUB_CMD_UNKNOWN = 255,
- } WMI_SIMULATION_TEST_SUB_CMD_TYPE;
- #define WMI_SIM_FRAME_TYPE_BIT_POS 0
- #define WMI_SIM_FRAME_SUBTYPE_BIT_POS 8
- #define WMI_SIM_FRAME_SEQ_BIT_POS 16
- #define WMI_SIM_FRAME_OFFSET_BIT_POS 0
- #define WMI_SIM_FRAME_LENGTH_BIT_POS 16
- #define WMI_SIM_FRAME_TYPE_SET(param, value) \
- WMI_SET_BITS(param, WMI_SIM_FRAME_TYPE_BIT_POS, 8, value)
- #define WMI_SIM_FRAME_TYPE_GET(param) \
- WMI_GET_BITS(param, WMI_SIM_FRAME_TYPE_BIT_POS, 8)
- #define WMI_SIM_FRAME_SUBTYPE_SET(param, value) \
- WMI_SET_BITS(param, WMI_SIM_FRAME_SUBTYPE_BIT_POS, 8, value)
- #define WMI_SIM_FRAME_SUBTYPE_GET(param) \
- WMI_GET_BITS(param, WMI_SIM_FRAME_SUBTYPE_BIT_POS, 8)
- #define WMI_SIM_FRAME_SEQ_SET(param, value) \
- WMI_SET_BITS(param, WMI_SIM_FRAME_SEQ_BIT_POS, 8, value)
- #define WMI_SIM_FRAME_SEQ_GET(param) \
- WMI_GET_BITS(param, WMI_SIM_FRAME_SEQ_BIT_POS, 8)
- #define WMI_SIM_FRAME_OFFSET_SET(param, value) \
- WMI_SET_BITS(param, WMI_SIM_FRAME_OFFSET_BIT_POS, 16, value)
- #define WMI_SIM_FRAME_OFFSET_GET(param) \
- WMI_GET_BITS(param, WMI_SIM_FRAME_OFFSET_BIT_POS, 16)
- #define WMI_SIM_FRAME_LENGTH_SET(param, value) \
- WMI_SET_BITS(param, WMI_SIM_FRAME_LENGTH_BIT_POS, 16, value)
- #define WMI_SIM_FRAME_LENGTH_GET(param) \
- WMI_GET_BITS(param, WMI_SIM_FRAME_LENGTH_BIT_POS, 16)
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 test_cmd_type;
-
- A_UINT32 test_subcmd_type;
-
- A_UINT32 frame_type_subtype_seq;
-
- A_UINT32 frame_offset_length;
-
- A_UINT32 buf_len;
- } wmi_simulation_test_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 rsnxe_param;
- } wmi_wfa_config_rsnxe;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 ignore_csa;
- } wmi_wfa_config_csa;
- typedef enum {
- WMI_WFA_CONFIG_OCV_FRMTYPE_SAQUERY_REQ = 0x00000001,
- WMI_WFA_CONFIG_OCV_FRMTYPE_SAQUERY_RSP = 0x00000002,
- WMI_WFA_CONFIG_OCV_FRMTYPE_FT_REASSOC_REQ = 0x00000004,
- WMI_WFA_CONFIG_OCV_FRMTYPE_FILS_REASSOC_REQ = 0x00000008,
- } WMI_WFA_CONFIG_OCV_FRMTYPE;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 frame_types;
-
- A_UINT32 chan_freq;
- } wmi_wfa_config_ocv;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 remain_connect_on_saquery_timeout;
- } wmi_wfa_config_saquery;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- } wmi_wfa_config_cmd_fixed_param;
- #define WMI_TWT_SESSION_FLAG_FLOW_ID_GET(_var) WMI_GET_BITS(_var, 0, 16)
- #define WMI_TWT_SESSION_FLAG_FLOW_ID_SET(_var, _val) WMI_SET_BITS(_var, 0, 16, _val)
- #define WMI_TWT_SESSION_FLAG_BCAST_TWT_GET(_var) WMI_GET_BITS(_var, 16, 1)
- #define WMI_TWT_SESSION_FLAG_BCAST_TWT_SET(_var, _val) WMI_SET_BITS(_var, 16, 1, _val)
- #define WMI_TWT_SESSION_FLAG_TRIGGER_TWT_GET(_var) WMI_GET_BITS(_var, 17, 1)
- #define WMI_TWT_SESSION_FLAG_TRIGGER_TWT_SET(_var, _val) WMI_SET_BITS(_var, 17, 1, _val)
- #define WMI_TWT_SESSION_FLAG_ANNOUN_TWT_GET(_var) WMI_GET_BITS(_var, 18, 1)
- #define WMI_TWT_SESSION_FLAG_ANNOUN_TWT_SET(_var, _val) WMI_SET_BITS(_var, 18, 1, _val)
- #define WMI_TWT_SESSION_FLAG_TWT_PROTECTION_GET(_var) WMI_GET_BITS(_var, 19, 1)
- #define WMI_TWT_SESSION_FLAG_TWT_PROTECTION_SET(_var, _val) WMI_SET_BITS(_var, 19, 1, _val)
- #define WMI_TWT_SESSION_FLAG_TWT_INFO_FRAME_DISABLED_GET(_var) WMI_GET_BITS(_var, 20, 1)
- #define WMI_TWT_SESSION_FLAG_TWT_INFO_FRAME_DISABLED_SET(_var, _val) WMI_SET_BITS(_var, 20, 1, _val)
- typedef struct {
-
- A_UINT32 tlv_hdr;
- A_UINT32 vdev_id;
- wmi_mac_addr peer_mac;
- A_UINT32 event_type;
-
- A_UINT32 flow_id_flags;
- A_UINT32 dialog_id;
- A_UINT32 wake_dura_us;
- A_UINT32 wake_intvl_us;
-
- A_UINT32 sp_offset_us;
-
- A_UINT32 sp_tsf_us_lo;
- A_UINT32 sp_tsf_us_hi;
- } wmi_twt_session_stats_info;
- enum wmi_twt_session_stats_type {
- WMI_TWT_SESSION_SETUP = 1,
- WMI_TWT_SESSION_TEARDOWN = 2,
- WMI_TWT_SESSION_UPDATE = 3,
- };
- typedef struct {
-
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- } wmi_pdev_twt_session_stats_event_fixed_param;
- typedef struct wmi_pdev_vendor_event
- {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 sub_type;
- wmi_pdev_vendor_event_val evt;
-
- } wmi_pdev_vendor_event_fixed_param;
- typedef struct wmi_vdev_vendor_event
- {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 sub_type;
- wmi_vdev_vendor_event_val evt;
-
- } wmi_vdev_vendor_event_fixed_param;
- typedef struct wmi_peer_vendor_event
- {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 sub_type;
- wmi_peer_vendor_event_val evt;
-
- } wmi_peer_vendor_event_fixed_param;
- typedef struct wmi_pdev_vendor_cmd
- {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 sub_type;
- wmi_pdev_vendor_cmd_val cmd;
-
- } wmi_pdev_vendor_cmd_fixed_param;
- typedef struct wmi_vdev_vendor_cmd
- {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 vdev_id;
-
- A_UINT32 sub_type;
- wmi_vdev_vendor_cmd_val cmd;
-
- } wmi_vdev_vendor_cmd_fixed_param;
- typedef struct wmi_peer_vendor_cmd
- {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 vdev_id;
-
- wmi_mac_addr peer_macaddr;
-
- A_UINT32 sub_type;
- wmi_peer_vendor_cmd_val cmd;
-
- } wmi_peer_vendor_cmd_fixed_param;
- typedef enum {
- WMI_MLO_LINK_FORCE_ACTIVE = 1,
- WMI_MLO_LINK_FORCE_INACTIVE = 2,
- WMI_MLO_LINK_FORCE_ACTIVE_LINK_NUM = 3,
- WMI_MLO_LINK_FORCE_INACTIVE_LINK_NUM = 4,
- WMI_MLO_LINK_NO_FORCE = 5,
- } WMI_MLO_LINK_FORCE_MODE;
- typedef enum {
- WMI_MLO_LINK_FORCE_REASON_NEW_CONNECT = 1,
- WMI_MLO_LINK_FORCE_REASON_NEW_DISCONNECT = 2,
- } WMI_MLO_LINK_FORCE_REASON;
- typedef struct wmi_mlo_link_set_active_cmd
- {
-
- A_UINT32 tlv_header;
-
- A_UINT32 force_mode;
-
- A_UINT32 reason;
- } wmi_mlo_link_set_active_cmd_fixed_param;
- typedef struct wmi_mlo_set_active_link_number_param
- {
-
- A_UINT32 tlv_header;
-
- A_UINT32 num_of_link;
-
- A_UINT32 vdev_type;
-
- A_UINT32 vdev_subtype;
-
- A_UINT32 home_freq;
- } wmi_mlo_set_active_link_number_param;
- typedef struct wmi_mlo_link_set_active_resp_event
- {
-
- A_UINT32 tlv_header;
-
- A_UINT32 status;
- } wmi_mlo_link_set_active_resp_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 mld_group_id;
-
- A_UINT32 pdev_id;
- } wmi_mlo_setup_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 status;
- } wmi_mlo_setup_complete_event_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
- } wmi_mlo_ready_cmd_fixed_param;
- typedef enum wmi_mlo_tear_down_reason_code_type {
- WMI_MLO_TEARDOWN_SSR_REASON,
- } WMI_MLO_TEARDOWN_REASON_TYPE;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 reason_code;
- } wmi_mlo_teardown_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 pdev_id;
-
- A_UINT32 status;
- } wmi_mlo_teardown_complete_fixed_param;
- #define WMI_IGMP_OFFLOAD_SUPPORT_DISABLE_BITMASK 0x0
- #define WMI_IGMP_V1_OFFLOAD_SUPPORT_BITMASK 0x1
- #define WMI_IGMP_V2_OFFLOAD_SUPPORT_BITMASK 0x2
- #define WMI_IGMP_V3_OFFLOAD_SUPPORT_BITMASK 0x4
- #define WMI_IGMP_OFFLOAD_SUPPORT_ALL_VERSION 0x7
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 vdev_id;
- A_UINT32 enable;
- A_UINT32 version_support_bitmask;
- } wmi_igmp_offload_fixed_param;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_INT32 avg_rssi_data_dbm;
- } wmi_vdev_smart_monitor_event_fixed_param;
- typedef struct {
- A_UINT32 tlv_header;
- A_UINT32 pdev_id;
-
- A_UINT32 param_id;
-
- A_UINT32 param_value;
-
- } wmi_pdev_multiple_vdev_set_param_cmd_fixed_param;
- #define OCB_CHANNEL_MAX (5)
- typedef struct
- {
-
- A_UINT32 aifsn;
-
- A_UINT32 cwmin;
-
- A_UINT32 cwmax;
- } wmi_qos_params_t;
- typedef struct
- {
-
- A_UINT32 chan_freq;
-
- A_UINT32 duration;
-
- A_UINT32 start_guard_interval;
-
- A_UINT32 end_guard_interval;
-
- A_UINT32 tx_power;
-
- A_UINT32 tx_rate;
-
- wmi_qos_params_t qos_params[WLAN_MAX_AC];
-
- A_UINT32 rx_stats;
- } wmi_ocb_channel_t;
- typedef struct {
-
- A_UINT32 tlv_header;
-
- A_UINT32 vdev_id;
-
- A_UINT32 num_channels;
-
- wmi_ocb_channel_t channels[OCB_CHANNEL_MAX];
-
- A_UINT32 off_channel_tx;
- } wmi_ocb_set_sched_cmd_fixed_param;
- typedef struct {
-
- A_UINT32 status;
- } wmi_ocb_set_sched_event_fixed_param;
- #ifdef __cplusplus
- }
- #endif
- #endif
|