wmi_tlv_defs.h 452 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340
  1. /*
  2. * Copyright (c) 2010-2021 The Linux Foundation. All rights reserved.
  3. * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
  4. *
  5. * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  6. *
  7. *
  8. * Permission to use, copy, modify, and/or distribute this software for
  9. * any purpose with or without fee is hereby granted, provided that the
  10. * above copyright notice and this permission notice appear in all
  11. * copies.
  12. *
  13. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  14. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  15. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  16. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  17. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  18. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  19. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  20. * PERFORMANCE OF THIS SOFTWARE.
  21. */
  22. /*
  23. * This file was originally distributed by Qualcomm Atheros, Inc.
  24. * under proprietary terms before Copyright ownership was assigned
  25. * to the Linux Foundation.
  26. */
  27. /*
  28. * wmi_tlv_defs_expanded.h file can be generated using macro preprocessor output of gcc for ease of debugging and reference by developers
  29. * Following command has to be run from "fw_common\fw_interface\include" directory to create wmi_tlv_defs_expanded.h file
  30. * gcc -E wmi_tlv_defs.h > wmi_tlv_defs_expanded.h on Linux
  31. * and
  32. * gcc -E wmi_tlv_defs.h -o wmi_tlv_defs_expanded.h on Linux/Windows
  33. *
  34. */
  35. #ifndef _WMI_TLV_DEFS_H_
  36. #define _WMI_TLV_DEFS_H_
  37. #ifdef __cplusplus
  38. extern "C" {
  39. #endif
  40. #define WMITLV_FIELD_BUF_IS_ALLOCATED(elem_name) \
  41. is_allocated_##elem_name
  42. #define WMITLV_FIELD_NUM_OF(elem_name) \
  43. num_##elem_name
  44. /* Define the structure typedef for the TLV parameters of each cmd/event */
  45. #define WMITLV_TYPEDEF_STRUCT_PARAMS_TLVS(wmi_cmd_event_id) \
  46. wmi_cmd_event_id##_param_tlvs
  47. /*
  48. * The following macro WMITLV_OP_* are created by the macro WMITLV_ELEM().
  49. */
  50. /* macro to define the TLV name in the correct order. When (op==TAG_ORDER) */
  51. #define WMITLV_OP_TAG_ORDER_macro(param_ptr, param_len, wmi_cmd_event_id, elem_tlv_tag, elem_struc_type, elem_name, var_len, arr_size) \
  52. wmi_cmd_event_id##_tlv_order_##elem_name,
  53. /* macro to define the TLV name with the TLV Tag value. When (op==TAG_ID) */
  54. #define WMITLV_OP_TAG_ID_macro(param_ptr, param_len, wmi_cmd_event_id, elem_tlv_tag, elem_struc_type, elem_name, var_len, arr_size) \
  55. wmi_cmd_event_id##_tlv_tag_##elem_name = elem_tlv_tag,
  56. /* macro to define the TLV name with the TLV structure size. May not be accurate when variable length. When (op==TAG_SIZEOF) */
  57. #define WMITLV_OP_TAG_SIZEOF_macro(param_ptr, param_len, wmi_cmd_event_id, elem_tlv_tag, elem_struc_type, elem_name, var_len, arr_size) \
  58. wmi_cmd_event_id##_sizeof_##elem_name = sizeof(elem_struc_type),
  59. /* macro to define the TLV name with value indicating whether the TLV is variable length. When (op==TAG_VAR_SIZED) */
  60. #define WMITLV_OP_TAG_VAR_SIZED_macro(param_ptr, param_len, wmi_cmd_event_id, elem_tlv_tag, elem_struc_type, elem_name, var_len, arr_size) \
  61. wmi_cmd_event_id##_var_sized_##elem_name = var_len,
  62. /* macro to define the TLV name with value indicating the fixed array size. When (op==TAG_ARR_SIZE) */
  63. #define WMITLV_OP_TAG_ARR_SIZE_macro(param_ptr, param_len, wmi_cmd_event_id, elem_tlv_tag, elem_struc_type, elem_name, var_len, arr_size) \
  64. wmi_cmd_event_id##_arr_size_##elem_name = arr_size,
  65. /*
  66. * macro to define afew fields associated to a TLV. For example, a structure pointer with the TLV name.
  67. * This macro is expand from WMITLV_ELEM(op) when (op==STRUCT_FIELD).
  68. * NOTE: If this macro is changed, then "mirror" structure wmitlv_cmd_param_info
  69. * should be updated too.
  70. */
  71. #define WMITLV_OP_STRUCT_FIELD_macro(param_ptr, param_len, wmi_cmd_event_id, elem_tlv_tag, elem_struc_type, elem_name, var_len, arr_size) \
  72. elem_struc_type *elem_name; \
  73. A_UINT32 WMITLV_FIELD_NUM_OF(elem_name); \
  74. A_UINT32 WMITLV_FIELD_BUF_IS_ALLOCATED(elem_name);
  75. /*
  76. * A "mirror" structure that contains the fields that is created by the
  77. * macro WMITLV_OP_STRUCT_FIELD_macro.
  78. * NOTE: you should modify this structure and WMITLV_OP_STRUCT_FIELD_macro
  79. * so that they both has the same kind of fields.
  80. */
  81. typedef struct {
  82. void *tlv_ptr; /* Pointer to the TLV Buffer. But the "real" one will have the right type instead of void. */
  83. A_UINT32 num_elements; /* Number of elements. For non-array, this is one. For array, this is the number of elements. */
  84. A_UINT32 buf_is_allocated;/* Boolean flag to indicate that a new buffer is allocated for this TLV. */
  85. } wmitlv_cmd_param_info;
  86. /*
  87. * NOTE TRICKY MACRO:
  88. * WMITLV_ELEM is re-defined to a "op" specific macro.
  89. * Eg. WMITLV_OP_TAG_ORDER_macro is created for the op_type=TAG_ORDER.
  90. */
  91. #define WMITLV_ELEM(wmi_cmd_event_id, op_type, param_ptr, param_len, elem_tlv_tag, elem_struc_type, elem_name, var_len) \
  92. WMITLV_OP_##op_type##_macro(param_ptr, param_len, wmi_cmd_event_id, elem_tlv_tag, elem_struc_type, elem_name, var_len, WMITLV_ARR_SIZE_INVALID)
  93. /*
  94. * WMITLV_FXAR (FiX ARray) is similar to WMITLV_ELEM except it has an extra parameter for the fixed number of elements.
  95. * It is re-defined to a "op" specific macro.
  96. * Eg. WMITLV_OP_TAG_ORDER_macro is created for the op_type=TAG_ORDER.
  97. */
  98. #define WMITLV_FXAR(wmi_cmd_event_id, op_type, param_ptr, param_len, elem_tlv_tag, elem_struc_type, elem_name, var_len, arr_size) \
  99. WMITLV_OP_##op_type##_macro(param_ptr, param_len, wmi_cmd_event_id, elem_tlv_tag, elem_struc_type, elem_name, var_len, arr_size)
  100. #define WMITLV_TABLE(id,op,buf,len) WMITLV_TABLE_##id(id,op,buf,len)
  101. /*
  102. * This macro will create various enumerations and structures to describe the TLVs for
  103. * the given Command/Event ID.
  104. *
  105. * For example, the following is for WMI_SERVICE_READY_EVENTID:
  106. * #define WMITLV_TABLE_WMI_SERVICE_READY_EVENTID(id,op,buf,len) \
  107. * WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_service_ready_event_fixed_param, wmi_service_ready_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  108. * WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_HAL_REG_CAPABILITIES, HAL_REG_CAPABILITIES, hal_reg_capabilities, WMITLV_SIZE_FIX) \
  109. * WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, wmi_service_bitmap, WMITLV_SIZE_FIX, WMI_SERVICE_BM_SIZE) \
  110. * WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_host_mem_req, mem_reqs, WMITLV_SIZE_VAR)
  111. * WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EVENTID);
  112. * This macro will create the following text:
  113. *
  114. * typedef enum {
  115. * WMI_SERVICE_READY_EVENTID_tlv_order_wmi_service_ready_event_fixed_param,
  116. * WMI_SERVICE_READY_EVENTID_tlv_order_hal_reg_capabilities,
  117. * WMI_SERVICE_READY_EVENTID_tlv_order_wmi_service_bitmap,
  118. * WMI_SERVICE_READY_EVENTID_tlv_order_mem_reqs,
  119. * WMI_TLV_HLPR_NUM_TLVS_FOR_WMI_SERVICE_READY_EVENTID
  120. * } WMI_SERVICE_READY_EVENTID_TAG_ID_enum_type;
  121. * //NOTE: WMI_TLV_HLPR_NUM_TLVS_FOR_WMI_SERVICE_READY_EVENTID is the number of TLVs.
  122. *
  123. * typedef enum {
  124. * WMI_SERVICE_READY_EVENTID_tlv_tag_wmi_service_ready_event_fixed_param = WMITLV_TAG_STRUC_wmi_service_ready_event_fixed_param,
  125. * WMI_SERVICE_READY_EVENTID_tlv_tag_hal_reg_capabilities = WMITLV_TAG_STRUC_HAL_REG_CAPABILITIES,
  126. * WMI_SERVICE_READY_EVENTID_tlv_tag_wmi_service_bitmap = WMITLV_TAG_ARRAY_UINT32,
  127. * WMI_SERVICE_READY_EVENTID_tlv_tag_mem_reqs = WMITLV_TAG_ARRAY_STRUC,
  128. * } WMI_SERVICE_READY_EVENTID_TAG_ORDER_enum_type;
  129. *
  130. * typedef enum {
  131. * WMI_SERVICE_READY_EVENTID_sizeof_wmi_service_ready_event_fixed_param = sizeof(wmi_service_ready_event_fixed_param),
  132. * WMI_SERVICE_READY_EVENTID_sizeof_hal_reg_capabilities = sizeof(HAL_REG_CAPABILITIES),
  133. * WMI_SERVICE_READY_EVENTID_sizeof_wmi_service_bitmap = sizeof(A_UINT32),
  134. * WMI_SERVICE_READY_EVENTID_sizeof_mem_reqs = sizeof(wlan_host_mem_req),
  135. * } WMI_SERVICE_READY_EVENTID_TAG_SIZEOF_enum_type;
  136. *
  137. * typedef enum {
  138. * WMI_SERVICE_READY_EVENTID_var_sized_wmi_service_ready_event_fixed_param = WMITLV_SIZE_FIX,
  139. * WMI_SERVICE_READY_EVENTID_var_sized_hal_reg_capabilities = WMITLV_SIZE_FIX,
  140. * WMI_SERVICE_READY_EVENTID_var_sized_wmi_service_bitmap = WMITLV_SIZE_VAR,
  141. * WMI_SERVICE_READY_EVENTID_var_sized_mem_reqs = WMITLV_SIZE_VAR,
  142. * } WMI_SERVICE_READY_EVENTID_TAG_VAR_SIZED_enum_type;
  143. *
  144. * typedef enum {
  145. * WMI_SERVICE_READY_EVENTID_arr_size_wmi_service_ready_event_fixed_param = WMITLV_ARR_SIZE_INVALID,
  146. * WMI_SERVICE_READY_EVENTID_arr_size_hal_reg_capabilities = WMITLV_ARR_SIZE_INVALID,
  147. * WMI_SERVICE_READY_EVENTID_arr_size_wmi_service_bitmap = WMI_SERVICE_BM_SIZE,
  148. * WMI_SERVICE_READY_EVENTID_arr_size_mem_reqs = WMITLV_ARR_SIZE_INVALID,
  149. * } WMI_SERVICE_READY_EVENTID_TAG_ARR_SIZE_enum_type;
  150. *
  151. * typedef struct {
  152. * wmi_service_ready_event_fixed_param *fixed_param;
  153. * A_UINT32 num_fixed_param;
  154. * A_UINT32 is_allocated_fixed_param;
  155. * HAL_REG_CAPABILITIES *hal_reg_capabilities;
  156. * A_UINT32 num_hal_reg_capabilities;
  157. * A_UINT32 is_allocated_hal_reg_capabilities;
  158. * A_UINT32 *wmi_service_bitmap;
  159. * A_UINT32 num_wmi_service_bitmap;
  160. * A_UINT32 is_allocated_wmi_service_bitmap;
  161. * wlan_host_mem_req *mem_reqs;
  162. * A_UINT32 num_mem_reqs;
  163. * A_UINT32 is_allocated_mem_reqs;
  164. *
  165. * } WMI_SERVICE_READY_EVENTID_param_tlvs;
  166. *
  167. */
  168. #define WMITLV_CREATE_PARAM_STRUC(wmi_cmd_event_id) \
  169. typedef enum { \
  170. WMITLV_TABLE(wmi_cmd_event_id, TAG_ORDER, NULL, 0) \
  171. WMI_TLV_HLPR_NUM_TLVS_FOR_##wmi_cmd_event_id \
  172. } wmi_cmd_event_id##_TAG_ORDER_enum_type; \
  173. \
  174. typedef struct { \
  175. WMITLV_TABLE(wmi_cmd_event_id, STRUCT_FIELD, NULL, 0) \
  176. } WMITLV_TYPEDEF_STRUCT_PARAMS_TLVS(wmi_cmd_event_id); \
  177. /** Enum list of TLV Tags for each parameter structure type. */
  178. typedef enum {
  179. /* 0 to 15 is reserved */
  180. WMITLV_TAG_LAST_RESERVED = 15,
  181. WMITLV_TAG_FIRST_ARRAY_ENUM, /* First entry of ARRAY type tags */
  182. WMITLV_TAG_ARRAY_UINT32 = WMITLV_TAG_FIRST_ARRAY_ENUM,
  183. WMITLV_TAG_ARRAY_BYTE,
  184. WMITLV_TAG_ARRAY_STRUC,
  185. WMITLV_TAG_ARRAY_FIXED_STRUC,
  186. WMITLV_TAG_ARRAY_INT16,
  187. WMITLV_TAG_ARRAY_INT32,
  188. WMITLV_TAG_LAST_ARRAY_ENUM = 31, /* Last entry of ARRAY type tags */
  189. WMITLV_TAG_STRUC_wmi_service_ready_event_fixed_param,
  190. WMITLV_TAG_STRUC_HAL_REG_CAPABILITIES,
  191. WMITLV_TAG_STRUC_wlan_host_mem_req,
  192. WMITLV_TAG_STRUC_wmi_ready_event_fixed_param,
  193. WMITLV_TAG_STRUC_wmi_scan_event_fixed_param,
  194. WMITLV_TAG_STRUC_wmi_pdev_tpc_config_event_fixed_param,
  195. WMITLV_TAG_STRUC_wmi_chan_info_event_fixed_param,
  196. WMITLV_TAG_STRUC_wmi_comb_phyerr_rx_hdr,
  197. WMITLV_TAG_STRUC_wmi_vdev_start_response_event_fixed_param,
  198. WMITLV_TAG_STRUC_wmi_vdev_stopped_event_fixed_param,
  199. WMITLV_TAG_STRUC_wmi_vdev_install_key_complete_event_fixed_param,
  200. WMITLV_TAG_STRUC_wmi_peer_sta_kickout_event_fixed_param,
  201. WMITLV_TAG_STRUC_wmi_mgmt_rx_hdr,
  202. WMITLV_TAG_STRUC_wmi_tbtt_offset_event_fixed_param,
  203. WMITLV_TAG_STRUC_wmi_tx_delba_complete_event_fixed_param,
  204. WMITLV_TAG_STRUC_wmi_tx_addba_complete_event_fixed_param,
  205. WMITLV_TAG_STRUC_wmi_roam_event_fixed_param,
  206. WMITLV_TAG_STRUC_WOW_EVENT_INFO_fixed_param,
  207. WMITLV_TAG_STRUC_WOW_EVENT_INFO_SECTION_BITMAP,
  208. WMITLV_TAG_STRUC_wmi_rtt_event_header,
  209. WMITLV_TAG_STRUC_wmi_rtt_error_report_event_fixed_param,
  210. WMITLV_TAG_STRUC_wmi_rtt_meas_event_fixed_param,
  211. WMITLV_TAG_STRUC_wmi_echo_event_fixed_param,
  212. WMITLV_TAG_STRUC_wmi_ftm_intg_event_fixed_param,
  213. WMITLV_TAG_STRUC_wmi_vdev_get_keepalive_event_fixed_param,
  214. WMITLV_TAG_STRUC_wmi_gpio_input_event_fixed_param,
  215. WMITLV_TAG_STRUC_wmi_csa_event_fixed_param,
  216. WMITLV_TAG_STRUC_WMI_GTK_OFFLOAD_STATUS_EVENT_fixed_param,
  217. WMITLV_TAG_STRUC_wmi_igtk_info,
  218. WMITLV_TAG_STRUC_wmi_dcs_interference_event_fixed_param,
  219. WMITLV_TAG_STRUC_ath_dcs_cw_int, /* DEPRECATED */
  220. WMITLV_TAG_STRUC_wlan_dcs_cw_int = /* alias */
  221. WMITLV_TAG_STRUC_ath_dcs_cw_int,
  222. WMITLV_TAG_STRUC_ath_dcs_wlan_int_stat, /* DEPRECATED */
  223. WMITLV_TAG_STRUC_wlan_dcs_im_tgt_stats_t = /* alias */
  224. WMITLV_TAG_STRUC_ath_dcs_wlan_int_stat,
  225. WMITLV_TAG_STRUC_wmi_wlan_profile_ctx_t,
  226. WMITLV_TAG_STRUC_wmi_wlan_profile_t,
  227. WMITLV_TAG_STRUC_wmi_pdev_qvit_event_fixed_param,
  228. WMITLV_TAG_STRUC_wmi_host_swba_event_fixed_param,
  229. WMITLV_TAG_STRUC_wmi_tim_info,
  230. WMITLV_TAG_STRUC_wmi_p2p_noa_info,
  231. WMITLV_TAG_STRUC_wmi_stats_event_fixed_param,
  232. WMITLV_TAG_STRUC_wmi_avoid_freq_ranges_event_fixed_param,
  233. WMITLV_TAG_STRUC_wmi_avoid_freq_range_desc,
  234. WMITLV_TAG_STRUC_wmi_gtk_rekey_fail_event_fixed_param,
  235. WMITLV_TAG_STRUC_wmi_init_cmd_fixed_param,
  236. WMITLV_TAG_STRUC_wmi_resource_config,
  237. WMITLV_TAG_STRUC_wlan_host_memory_chunk,
  238. WMITLV_TAG_STRUC_wmi_start_scan_cmd_fixed_param,
  239. WMITLV_TAG_STRUC_wmi_stop_scan_cmd_fixed_param,
  240. WMITLV_TAG_STRUC_wmi_scan_chan_list_cmd_fixed_param,
  241. WMITLV_TAG_STRUC_wmi_channel,
  242. WMITLV_TAG_STRUC_wmi_pdev_set_regdomain_cmd_fixed_param,
  243. WMITLV_TAG_STRUC_wmi_pdev_set_param_cmd_fixed_param,
  244. WMITLV_TAG_STRUC_wmi_pdev_set_wmm_params_cmd_fixed_param,
  245. WMITLV_TAG_STRUC_wmi_wmm_params,
  246. WMITLV_TAG_STRUC_wmi_pdev_set_quiet_cmd_fixed_param,
  247. WMITLV_TAG_STRUC_wmi_vdev_create_cmd_fixed_param,
  248. WMITLV_TAG_STRUC_wmi_vdev_delete_cmd_fixed_param,
  249. WMITLV_TAG_STRUC_wmi_vdev_start_request_cmd_fixed_param,
  250. WMITLV_TAG_STRUC_wmi_p2p_noa_descriptor,
  251. WMITLV_TAG_STRUC_wmi_p2p_go_set_beacon_ie_fixed_param,
  252. WMITLV_TAG_STRUC_WMI_GTK_OFFLOAD_CMD_fixed_param,
  253. WMITLV_TAG_STRUC_wmi_vdev_up_cmd_fixed_param,
  254. WMITLV_TAG_STRUC_wmi_vdev_stop_cmd_fixed_param,
  255. WMITLV_TAG_STRUC_wmi_vdev_down_cmd_fixed_param,
  256. WMITLV_TAG_STRUC_wmi_vdev_set_param_cmd_fixed_param,
  257. WMITLV_TAG_STRUC_wmi_vdev_install_key_cmd_fixed_param,
  258. WMITLV_TAG_STRUC_wmi_peer_create_cmd_fixed_param,
  259. WMITLV_TAG_STRUC_wmi_peer_delete_cmd_fixed_param,
  260. WMITLV_TAG_STRUC_wmi_peer_flush_tids_cmd_fixed_param,
  261. WMITLV_TAG_STRUC_wmi_peer_set_param_cmd_fixed_param,
  262. WMITLV_TAG_STRUC_wmi_peer_assoc_complete_cmd_fixed_param,
  263. WMITLV_TAG_STRUC_wmi_vht_rate_set,
  264. WMITLV_TAG_STRUC_wmi_bcn_tmpl_cmd_fixed_param,
  265. WMITLV_TAG_STRUC_wmi_prb_tmpl_cmd_fixed_param,
  266. WMITLV_TAG_STRUC_wmi_bcn_prb_info,
  267. WMITLV_TAG_STRUC_wmi_peer_tid_addba_cmd_fixed_param,
  268. WMITLV_TAG_STRUC_wmi_peer_tid_delba_cmd_fixed_param,
  269. WMITLV_TAG_STRUC_wmi_sta_powersave_mode_cmd_fixed_param,
  270. WMITLV_TAG_STRUC_wmi_sta_powersave_param_cmd_fixed_param,
  271. WMITLV_TAG_STRUC_wmi_sta_dtim_ps_method_cmd_fixed_param,
  272. WMITLV_TAG_STRUC_wmi_roam_scan_mode_fixed_param,
  273. WMITLV_TAG_STRUC_wmi_roam_scan_rssi_threshold_fixed_param,
  274. WMITLV_TAG_STRUC_wmi_roam_scan_period_fixed_param,
  275. WMITLV_TAG_STRUC_wmi_roam_scan_rssi_change_threshold_fixed_param,
  276. WMITLV_TAG_STRUC_wmi_pdev_suspend_cmd_fixed_param,
  277. WMITLV_TAG_STRUC_wmi_pdev_resume_cmd_fixed_param,
  278. WMITLV_TAG_STRUC_wmi_add_bcn_filter_cmd_fixed_param,
  279. WMITLV_TAG_STRUC_wmi_rmv_bcn_filter_cmd_fixed_param,
  280. WMITLV_TAG_STRUC_wmi_wow_enable_cmd_fixed_param,
  281. WMITLV_TAG_STRUC_wmi_wow_hostwakeup_from_sleep_cmd_fixed_param,
  282. WMITLV_TAG_STRUC_wmi_sta_uapsd_auto_trig_cmd_fixed_param,
  283. WMITLV_TAG_STRUC_wmi_sta_uapsd_auto_trig_param,
  284. WMITLV_TAG_STRUC_WMI_SET_ARP_NS_OFFLOAD_CMD_fixed_param,
  285. WMITLV_TAG_STRUC_WMI_ARP_OFFLOAD_TUPLE,
  286. WMITLV_TAG_STRUC_WMI_NS_OFFLOAD_TUPLE,
  287. WMITLV_TAG_STRUC_wmi_ftm_intg_cmd_fixed_param,
  288. WMITLV_TAG_STRUC_WMI_STA_KEEPALIVE_CMD_fixed_param,
  289. WMITLV_TAG_STRUC_WMI_STA_KEEPALVE_ARP_RESPONSE,
  290. WMITLV_TAG_STRUC_wmi_p2p_set_vendor_ie_data_cmd_fixed_param,
  291. WMITLV_TAG_STRUC_wmi_ap_ps_peer_cmd_fixed_param,
  292. WMITLV_TAG_STRUC_wmi_peer_rate_retry_sched_cmd_fixed_param,
  293. WMITLV_TAG_STRUC_wmi_wlan_profile_trigger_cmd_fixed_param,
  294. WMITLV_TAG_STRUC_wmi_wlan_profile_set_hist_intvl_cmd_fixed_param,
  295. WMITLV_TAG_STRUC_wmi_wlan_profile_get_prof_data_cmd_fixed_param,
  296. WMITLV_TAG_STRUC_wmi_wlan_profile_enable_profile_id_cmd_fixed_param,
  297. WMITLV_TAG_STRUC_WMI_WOW_DEL_PATTERN_CMD_fixed_param,
  298. WMITLV_TAG_STRUC_WMI_WOW_ADD_DEL_EVT_CMD_fixed_param,
  299. WMITLV_TAG_STRUC_wmi_rtt_measreq_head,
  300. WMITLV_TAG_STRUC_wmi_rtt_measreq_body,
  301. WMITLV_TAG_STRUC_wmi_rtt_tsf_cmd_fixed_param,
  302. WMITLV_TAG_STRUC_wmi_vdev_spectral_configure_cmd_fixed_param,
  303. WMITLV_TAG_STRUC_wmi_vdev_spectral_enable_cmd_fixed_param,
  304. WMITLV_TAG_STRUC_wmi_request_stats_cmd_fixed_param,
  305. WMITLV_TAG_STRUC_wmi_nlo_config_cmd_fixed_param,
  306. WMITLV_TAG_STRUC_nlo_configured_parameters,
  307. WMITLV_TAG_STRUC_wmi_csa_offload_enable_cmd_fixed_param,
  308. WMITLV_TAG_STRUC_wmi_csa_offload_chanswitch_cmd_fixed_param,
  309. WMITLV_TAG_STRUC_wmi_chatter_set_mode_cmd_fixed_param,
  310. WMITLV_TAG_STRUC_wmi_echo_cmd_fixed_param,
  311. WMITLV_TAG_STRUC_wmi_vdev_set_keepalive_cmd_fixed_param,
  312. WMITLV_TAG_STRUC_wmi_vdev_get_keepalive_cmd_fixed_param,
  313. WMITLV_TAG_STRUC_WMI_FORCE_FW_HANG_CMD_fixed_param,
  314. WMITLV_TAG_STRUC_wmi_gpio_config_cmd_fixed_param,
  315. WMITLV_TAG_STRUC_wmi_gpio_output_cmd_fixed_param,
  316. WMITLV_TAG_STRUC_wmi_peer_add_wds_entry_cmd_fixed_param,
  317. WMITLV_TAG_STRUC_wmi_peer_remove_wds_entry_cmd_fixed_param,
  318. WMITLV_TAG_STRUC_wmi_bcn_tx_hdr,
  319. WMITLV_TAG_STRUC_wmi_bcn_send_from_host_cmd_fixed_param,
  320. WMITLV_TAG_STRUC_wmi_mgmt_tx_hdr,
  321. WMITLV_TAG_STRUC_wmi_addba_clear_resp_cmd_fixed_param,
  322. WMITLV_TAG_STRUC_wmi_addba_send_cmd_fixed_param,
  323. WMITLV_TAG_STRUC_wmi_delba_send_cmd_fixed_param,
  324. WMITLV_TAG_STRUC_wmi_addba_setresponse_cmd_fixed_param,
  325. WMITLV_TAG_STRUC_wmi_send_singleamsdu_cmd_fixed_param,
  326. WMITLV_TAG_STRUC_wmi_pdev_pktlog_enable_cmd_fixed_param,
  327. WMITLV_TAG_STRUC_wmi_pdev_pktlog_disable_cmd_fixed_param,
  328. WMITLV_TAG_STRUC_wmi_pdev_set_ht_ie_cmd_fixed_param,
  329. WMITLV_TAG_STRUC_wmi_pdev_set_vht_ie_cmd_fixed_param,
  330. WMITLV_TAG_STRUC_wmi_pdev_set_dscp_tid_map_cmd_fixed_param,
  331. WMITLV_TAG_STRUC_wmi_pdev_green_ap_ps_enable_cmd_fixed_param,
  332. WMITLV_TAG_STRUC_wmi_pdev_get_tpc_config_cmd_fixed_param,
  333. WMITLV_TAG_STRUC_wmi_pdev_set_base_macaddr_cmd_fixed_param,
  334. WMITLV_TAG_STRUC_wmi_peer_mcast_group_cmd_fixed_param,
  335. WMITLV_TAG_STRUC_wmi_roam_ap_profile_fixed_param,
  336. WMITLV_TAG_STRUC_wmi_ap_profile,
  337. WMITLV_TAG_STRUC_wmi_scan_sch_priority_table_cmd_fixed_param,
  338. WMITLV_TAG_STRUC_wmi_pdev_dfs_enable_cmd_fixed_param,
  339. WMITLV_TAG_STRUC_wmi_pdev_dfs_disable_cmd_fixed_param,
  340. WMITLV_TAG_STRUC_WMI_WOW_ADD_PATTERN_CMD_fixed_param,
  341. WMITLV_TAG_STRUC_WOW_BITMAP_PATTERN_T,
  342. WMITLV_TAG_STRUC_WOW_IPV4_SYNC_PATTERN_T,
  343. WMITLV_TAG_STRUC_WOW_IPV6_SYNC_PATTERN_T,
  344. WMITLV_TAG_STRUC_WOW_MAGIC_PATTERN_CMD,
  345. WMITLV_TAG_STRUC_WMI_scan_update_request_cmd_fixed_param,
  346. WMITLV_TAG_STRUC_wmi_chatter_pkt_coalescing_filter,
  347. WMITLV_TAG_STRUC_wmi_chatter_coalescing_add_filter_cmd_fixed_param,
  348. WMITLV_TAG_STRUC_wmi_chatter_coalescing_delete_filter_cmd_fixed_param,
  349. WMITLV_TAG_STRUC_wmi_chatter_coalescing_query_cmd_fixed_param,
  350. WMITLV_TAG_STRUC_wmi_txbf_cmd_fixed_param,
  351. WMITLV_TAG_STRUC_wmi_debug_log_config_cmd_fixed_param,
  352. WMITLV_TAG_STRUC_wmi_nlo_event,
  353. WMITLV_TAG_STRUC_wmi_chatter_query_reply_event_fixed_param,
  354. WMITLV_TAG_STRUC_wmi_upload_h_hdr,
  355. WMITLV_TAG_STRUC_wmi_capture_h_event_hdr,
  356. WMITLV_TAG_STRUC_WMI_VDEV_WNM_SLEEPMODE_CMD_fixed_param,
  357. WMITLV_TAG_STRUC_WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMD_fixed_param,
  358. WMITLV_TAG_STRUC_wmi_vdev_wmm_addts_cmd_fixed_param,
  359. WMITLV_TAG_STRUC_wmi_vdev_wmm_delts_cmd_fixed_param,
  360. WMITLV_TAG_STRUC_wmi_vdev_set_wmm_params_cmd_fixed_param,
  361. WMITLV_TAG_STRUC_wmi_tdls_set_state_cmd_fixed_param,
  362. WMITLV_TAG_STRUC_wmi_tdls_peer_update_cmd_fixed_param,
  363. WMITLV_TAG_STRUC_wmi_tdls_peer_event_fixed_param,
  364. WMITLV_TAG_STRUC_wmi_tdls_peer_capabilities,
  365. WMITLV_TAG_STRUC_wmi_vdev_mcc_set_tbtt_mode_cmd_fixed_param,
  366. WMITLV_TAG_STRUC_wmi_roam_chan_list_fixed_param,
  367. WMITLV_TAG_STRUC_wmi_vdev_mcc_bcn_intvl_change_event_fixed_param,
  368. WMITLV_TAG_STRUC_wmi_resmgr_adaptive_ocs_enable_disable_cmd_fixed_param,
  369. WMITLV_TAG_STRUC_wmi_resmgr_set_chan_time_quota_cmd_fixed_param,
  370. WMITLV_TAG_STRUC_wmi_resmgr_set_chan_latency_cmd_fixed_param,
  371. WMITLV_TAG_STRUC_wmi_ba_req_ssn_cmd_fixed_param,
  372. WMITLV_TAG_STRUC_wmi_ba_rsp_ssn_event_fixed_param,
  373. WMITLV_TAG_STRUC_wmi_sta_smps_force_mode_cmd_fixed_param,
  374. WMITLV_TAG_STRUC_WMI_SET_MCASTBCAST_FILTER_CMD_fixed_param,
  375. WMITLV_TAG_STRUC_wmi_p2p_set_oppps_cmd_fixed_param,
  376. WMITLV_TAG_STRUC_wmi_p2p_set_noa_cmd_fixed_param,
  377. WMITLV_TAG_STRUC_wmi_ba_req_ssn_cmd_sub_struct_param,
  378. WMITLV_TAG_STRUC_wmi_ba_req_ssn_event_sub_struct_param,
  379. WMITLV_TAG_STRUC_wmi_sta_smps_param_cmd_fixed_param,
  380. WMITLV_TAG_STRUC_wmi_vdev_set_gtx_params_cmd_fixed_param,
  381. WMITLV_TAG_STRUC_wmi_mcc_sched_traffic_stats_cmd_fixed_param,
  382. WMITLV_TAG_STRUC_wmi_mcc_sched_sta_traffic_stats,
  383. WMITLV_TAG_STRUC_wmi_offload_bcn_tx_status_event_fixed_param,
  384. WMITLV_TAG_STRUC_wmi_p2p_noa_event_fixed_param,
  385. WMITLV_TAG_STRUC_wmi_hb_set_enable_cmd_fixed_param,
  386. WMITLV_TAG_STRUC_wmi_hb_set_tcp_params_cmd_fixed_param,
  387. WMITLV_TAG_STRUC_wmi_hb_set_tcp_pkt_filter_cmd_fixed_param,
  388. WMITLV_TAG_STRUC_wmi_hb_set_udp_params_cmd_fixed_param,
  389. WMITLV_TAG_STRUC_wmi_hb_set_udp_pkt_filter_cmd_fixed_param,
  390. WMITLV_TAG_STRUC_wmi_hb_ind_event_fixed_param,
  391. WMITLV_TAG_STRUC_wmi_tx_pause_event_fixed_param,
  392. WMITLV_TAG_STRUC_wmi_rfkill_event_fixed_param,
  393. WMITLV_TAG_STRUC_wmi_dfs_radar_event_fixed_param,
  394. WMITLV_TAG_STRUC_wmi_dfs_phyerr_filter_ena_cmd_fixed_param,
  395. WMITLV_TAG_STRUC_wmi_dfs_phyerr_filter_dis_cmd_fixed_param,
  396. WMITLV_TAG_STRUC_wmi_batch_scan_result_scan_list,
  397. WMITLV_TAG_STRUC_wmi_batch_scan_result_network_info,
  398. WMITLV_TAG_STRUC_wmi_batch_scan_enable_cmd_fixed_param,
  399. WMITLV_TAG_STRUC_wmi_batch_scan_disable_cmd_fixed_param,
  400. WMITLV_TAG_STRUC_wmi_batch_scan_trigger_result_cmd_fixed_param,
  401. WMITLV_TAG_STRUC_wmi_batch_scan_enabled_event_fixed_param,
  402. WMITLV_TAG_STRUC_wmi_batch_scan_result_event_fixed_param,
  403. WMITLV_TAG_STRUC_wmi_vdev_plmreq_start_cmd_fixed_param,
  404. WMITLV_TAG_STRUC_wmi_vdev_plmreq_stop_cmd_fixed_param,
  405. WMITLV_TAG_STRUC_wmi_thermal_mgmt_cmd_fixed_param,
  406. WMITLV_TAG_STRUC_wmi_thermal_mgmt_event_fixed_param,
  407. WMITLV_TAG_STRUC_wmi_peer_info_req_cmd_fixed_param,
  408. WMITLV_TAG_STRUC_wmi_peer_info_event_fixed_param,
  409. WMITLV_TAG_STRUC_wmi_peer_info,
  410. WMITLV_TAG_STRUC_wmi_peer_tx_fail_cnt_thr_event_fixed_param,
  411. WMITLV_TAG_STRUC_wmi_rmc_set_mode_cmd_fixed_param,
  412. WMITLV_TAG_STRUC_wmi_rmc_set_action_period_cmd_fixed_param,
  413. WMITLV_TAG_STRUC_wmi_rmc_config_cmd_fixed_param,
  414. WMITLV_TAG_STRUC_wmi_mhf_offload_set_mode_cmd_fixed_param,
  415. WMITLV_TAG_STRUC_wmi_mhf_offload_plumb_routing_table_cmd_fixed_param,
  416. WMITLV_TAG_STRUC_WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMD_fixed_param,
  417. WMITLV_TAG_STRUC_WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMD_fixed_param,
  418. WMITLV_TAG_STRUC_wmi_nan_cmd_param,
  419. WMITLV_TAG_STRUC_wmi_nan_event_hdr,
  420. WMITLV_TAG_STRUC_wmi_pdev_l1ss_track_event_fixed_param,
  421. WMITLV_TAG_STRUC_wmi_diag_data_container_event_fixed_param,
  422. WMITLV_TAG_STRUC_wmi_modem_power_state_cmd_param,
  423. WMITLV_TAG_STRUC_wmi_peer_get_estimated_linkspeed_cmd_fixed_param,
  424. WMITLV_TAG_STRUC_wmi_peer_estimated_linkspeed_event_fixed_param,
  425. WMITLV_TAG_STRUC_wmi_aggr_state_trig_event_fixed_param,
  426. WMITLV_TAG_STRUC_wmi_mhf_offload_routing_table_entry,
  427. WMITLV_TAG_STRUC_wmi_roam_scan_cmd_fixed_param,
  428. WMITLV_TAG_STRUC_wmi_req_stats_ext_cmd_fixed_param,
  429. WMITLV_TAG_STRUC_wmi_stats_ext_event_fixed_param,
  430. WMITLV_TAG_STRUC_wmi_obss_scan_enable_cmd_fixed_param,
  431. WMITLV_TAG_STRUC_wmi_obss_scan_disable_cmd_fixed_param,
  432. WMITLV_TAG_STRUC_wmi_offload_prb_rsp_tx_status_event_fixed_param,
  433. WMITLV_TAG_STRUC_wmi_pdev_set_led_config_cmd_fixed_param,
  434. WMITLV_TAG_STRUC_wmi_host_auto_shutdown_cfg_cmd_fixed_param,
  435. WMITLV_TAG_STRUC_wmi_host_auto_shutdown_event_fixed_param,
  436. WMITLV_TAG_STRUC_wmi_update_whal_mib_stats_event_fixed_param,
  437. WMITLV_TAG_STRUC_wmi_chan_avoid_update_cmd_param,
  438. WMITLV_TAG_STRUC_WOW_IOAC_PKT_PATTERN_T,
  439. WMITLV_TAG_STRUC_WOW_IOAC_TMR_PATTERN_T,
  440. WMITLV_TAG_STRUC_WMI_WOW_IOAC_ADD_KEEPALIVE_CMD_fixed_param,
  441. WMITLV_TAG_STRUC_WMI_WOW_IOAC_DEL_KEEPALIVE_CMD_fixed_param,
  442. WMITLV_TAG_STRUC_WMI_WOW_IOAC_KEEPALIVE_T,
  443. WMITLV_TAG_STRUC_WMI_WOW_IOAC_ADD_PATTERN_CMD_fixed_param,
  444. WMITLV_TAG_STRUC_WMI_WOW_IOAC_DEL_PATTERN_CMD_fixed_param,
  445. WMITLV_TAG_STRUC_wmi_start_link_stats_cmd_fixed_param,
  446. WMITLV_TAG_STRUC_wmi_clear_link_stats_cmd_fixed_param,
  447. WMITLV_TAG_STRUC_wmi_request_link_stats_cmd_fixed_param,
  448. WMITLV_TAG_STRUC_wmi_iface_link_stats_event_fixed_param,
  449. WMITLV_TAG_STRUC_wmi_radio_link_stats_event_fixed_param,
  450. WMITLV_TAG_STRUC_wmi_peer_stats_event_fixed_param,
  451. WMITLV_TAG_STRUC_wmi_channel_stats,
  452. WMITLV_TAG_STRUC_wmi_radio_link_stats,
  453. WMITLV_TAG_STRUC_wmi_rate_stats,
  454. WMITLV_TAG_STRUC_wmi_peer_link_stats,
  455. WMITLV_TAG_STRUC_wmi_wmm_ac_stats,
  456. WMITLV_TAG_STRUC_wmi_iface_link_stats,
  457. WMITLV_TAG_STRUC_wmi_lpi_mgmt_snooping_config_cmd_fixed_param,
  458. WMITLV_TAG_STRUC_wmi_lpi_start_scan_cmd_fixed_param,
  459. WMITLV_TAG_STRUC_wmi_lpi_stop_scan_cmd_fixed_param,
  460. WMITLV_TAG_STRUC_wmi_lpi_result_event_fixed_param,
  461. WMITLV_TAG_STRUC_wmi_peer_state_event_fixed_param,
  462. WMITLV_TAG_STRUC_wmi_extscan_bucket_cmd_fixed_param,
  463. WMITLV_TAG_STRUC_wmi_extscan_bucket_channel_event_fixed_param,
  464. WMITLV_TAG_STRUC_wmi_extscan_start_cmd_fixed_param,
  465. WMITLV_TAG_STRUC_wmi_extscan_stop_cmd_fixed_param,
  466. WMITLV_TAG_STRUC_wmi_extscan_configure_wlan_change_monitor_cmd_fixed_param,
  467. WMITLV_TAG_STRUC_wmi_extscan_wlan_change_bssid_param_cmd_fixed_param,
  468. WMITLV_TAG_STRUC_wmi_extscan_configure_hotlist_monitor_cmd_fixed_param,
  469. WMITLV_TAG_STRUC_wmi_extscan_get_cached_results_cmd_fixed_param,
  470. WMITLV_TAG_STRUC_wmi_extscan_get_wlan_change_results_cmd_fixed_param,
  471. WMITLV_TAG_STRUC_wmi_extscan_set_capabilities_cmd_fixed_param,
  472. WMITLV_TAG_STRUC_wmi_extscan_get_capabilities_cmd_fixed_param,
  473. WMITLV_TAG_STRUC_wmi_extscan_operation_event_fixed_param,
  474. WMITLV_TAG_STRUC_wmi_extscan_start_stop_event_fixed_param,
  475. WMITLV_TAG_STRUC_wmi_extscan_table_usage_event_fixed_param,
  476. WMITLV_TAG_STRUC_wmi_extscan_wlan_descriptor_event_fixed_param,
  477. WMITLV_TAG_STRUC_wmi_extscan_rssi_info_event_fixed_param,
  478. WMITLV_TAG_STRUC_wmi_extscan_cached_results_event_fixed_param,
  479. WMITLV_TAG_STRUC_wmi_extscan_wlan_change_results_event_fixed_param,
  480. WMITLV_TAG_STRUC_wmi_extscan_wlan_change_result_bssid_event_fixed_param,
  481. WMITLV_TAG_STRUC_wmi_extscan_hotlist_match_event_fixed_param,
  482. WMITLV_TAG_STRUC_wmi_extscan_capabilities_event_fixed_param,
  483. WMITLV_TAG_STRUC_wmi_extscan_cache_capabilities_event_fixed_param,
  484. WMITLV_TAG_STRUC_wmi_extscan_wlan_change_monitor_capabilities_event_fixed_param,
  485. WMITLV_TAG_STRUC_wmi_extscan_hotlist_monitor_capabilities_event_fixed_param,
  486. WMITLV_TAG_STRUC_wmi_d0_wow_enable_disable_cmd_fixed_param,
  487. WMITLV_TAG_STRUC_wmi_d0_wow_disable_ack_event_fixed_param,
  488. WMITLV_TAG_STRUC_wmi_unit_test_cmd_fixed_param,
  489. WMITLV_TAG_STRUC_wmi_roam_offload_tlv_param,
  490. WMITLV_TAG_STRUC_wmi_roam_11i_offload_tlv_param,
  491. WMITLV_TAG_STRUC_wmi_roam_11r_offload_tlv_param,
  492. WMITLV_TAG_STRUC_wmi_roam_ese_offload_tlv_param,
  493. WMITLV_TAG_STRUC_wmi_roam_synch_event_fixed_param,
  494. WMITLV_TAG_STRUC_wmi_roam_synch_complete_fixed_param,
  495. WMITLV_TAG_STRUC_wmi_extwow_enable_cmd_fixed_param,
  496. WMITLV_TAG_STRUC_wmi_extwow_set_app_type1_params_cmd_fixed_param,
  497. WMITLV_TAG_STRUC_wmi_extwow_set_app_type2_params_cmd_fixed_param,
  498. WMITLV_TAG_STRUC_wmi_lpi_status_event_fixed_param,
  499. WMITLV_TAG_STRUC_wmi_lpi_handoff_event_fixed_param,
  500. WMITLV_TAG_STRUC_wmi_vdev_rate_stats_event_fixed_param,
  501. WMITLV_TAG_STRUC_wmi_vdev_rate_ht_info,
  502. WMITLV_TAG_STRUC_wmi_ric_request_fixed_param,
  503. WMITLV_TAG_STRUC_wmi_pdev_get_temperature_cmd_fixed_param,
  504. WMITLV_TAG_STRUC_wmi_pdev_temperature_event_fixed_param,
  505. WMITLV_TAG_STRUC_wmi_set_dhcp_server_offload_cmd_fixed_param,
  506. WMITLV_TAG_STRUC_wmi_tpc_chainmask_config_cmd_fixed_param,
  507. WMITLV_TAG_STRUC_wmi_ric_tspec,
  508. WMITLV_TAG_STRUC_wmi_tpc_chainmask_config,
  509. WMITLV_TAG_STRUCT_wmi_ipa_offload_enable_disable_cmd_fixed_param,
  510. WMITLV_TAG_STRUC_wmi_scan_prob_req_oui_cmd_fixed_param,
  511. WMITLV_TAG_STRUC_wmi_key_material,
  512. WMITLV_TAG_STRUC_wmi_tdls_set_offchan_mode_cmd_fixed_param,
  513. WMITLV_TAG_STRUC_wmi_set_led_flashing_cmd_fixed_param,
  514. WMITLV_TAG_STRUC_wmi_mdns_offload_cmd_fixed_param,
  515. WMITLV_TAG_STRUC_wmi_mdns_set_fqdn_cmd_fixed_param,
  516. WMITLV_TAG_STRUC_wmi_mdns_set_resp_cmd_fixed_param,
  517. WMITLV_TAG_STRUC_wmi_mdns_get_stats_cmd_fixed_param,
  518. WMITLV_TAG_STRUC_wmi_mdns_stats_event_fixed_param,
  519. WMITLV_TAG_STRUC_wmi_roam_invoke_cmd_fixed_param,
  520. WMITLV_TAG_STRUC_wmi_pdev_resume_event_fixed_param,
  521. WMITLV_TAG_STRUC_wmi_pdev_set_antenna_diversity_cmd_fixed_param,
  522. WMITLV_TAG_STRUC_wmi_sap_ofl_enable_cmd_fixed_param,
  523. WMITLV_TAG_STRUC_wmi_sap_ofl_add_sta_event_fixed_param,
  524. WMITLV_TAG_STRUC_wmi_sap_ofl_del_sta_event_fixed_param,
  525. WMITLV_TAG_STRUC_wmi_apfind_cmd_param,
  526. WMITLV_TAG_STRUC_wmi_apfind_event_hdr,
  527. WMITLV_TAG_STRUC_wmi_ocb_set_sched_cmd_fixed_param, // DEPRECATED
  528. WMITLV_TAG_STRUC_wmi_ocb_set_sched_event_fixed_param, // DEPRECATED
  529. WMITLV_TAG_STRUC_wmi_ocb_set_config_cmd_fixed_param,
  530. WMITLV_TAG_STRUC_wmi_ocb_set_config_resp_event_fixed_param,
  531. WMITLV_TAG_STRUC_wmi_ocb_set_utc_time_cmd_fixed_param,
  532. WMITLV_TAG_STRUC_wmi_ocb_start_timing_advert_cmd_fixed_param,
  533. WMITLV_TAG_STRUC_wmi_ocb_stop_timing_advert_cmd_fixed_param,
  534. WMITLV_TAG_STRUC_wmi_ocb_get_tsf_timer_cmd_fixed_param,
  535. WMITLV_TAG_STRUC_wmi_ocb_get_tsf_timer_resp_event_fixed_param,
  536. WMITLV_TAG_STRUC_wmi_dcc_get_stats_cmd_fixed_param,
  537. WMITLV_TAG_STRUC_wmi_dcc_channel_stats_request,
  538. WMITLV_TAG_STRUC_wmi_dcc_get_stats_resp_event_fixed_param,
  539. WMITLV_TAG_STRUC_wmi_dcc_clear_stats_cmd_fixed_param,
  540. WMITLV_TAG_STRUC_wmi_dcc_update_ndl_cmd_fixed_param,
  541. WMITLV_TAG_STRUC_wmi_dcc_update_ndl_resp_event_fixed_param,
  542. WMITLV_TAG_STRUC_wmi_dcc_stats_event_fixed_param,
  543. WMITLV_TAG_STRUC_wmi_ocb_channel,
  544. WMITLV_TAG_STRUC_wmi_ocb_schedule_element,
  545. WMITLV_TAG_STRUC_wmi_dcc_ndl_stats_per_channel,
  546. WMITLV_TAG_STRUC_wmi_dcc_ndl_chan,
  547. WMITLV_TAG_STRUC_wmi_qos_parameter,
  548. WMITLV_TAG_STRUC_wmi_dcc_ndl_active_state_config,
  549. WMITLV_TAG_STRUC_wmi_roam_scan_extended_threshold_param,
  550. WMITLV_TAG_STRUC_wmi_roam_filter_fixed_param,
  551. WMITLV_TAG_STRUC_wmi_passpoint_config_cmd_fixed_param,
  552. WMITLV_TAG_STRUC_wmi_passpoint_event_hdr,
  553. WMITLV_TAG_STRUC_wmi_extscan_configure_hotlist_ssid_monitor_cmd_fixed_param,
  554. WMITLV_TAG_STRUC_wmi_extscan_hotlist_ssid_match_event_fixed_param,
  555. WMITLV_TAG_STRUC_wmi_vdev_tsf_tstamp_action_cmd_fixed_param,
  556. WMITLV_TAG_STRUC_wmi_vdev_tsf_report_event_fixed_param,
  557. WMITLV_TAG_STRUC_wmi_get_fw_mem_dump_fixed_param,
  558. WMITLV_TAG_STRUC_wmi_update_fw_mem_dump_fixed_param,
  559. WMITLV_TAG_STRUC_wmi_fw_mem_dump_params,
  560. WMITLV_TAG_STRUC_wmi_debug_mesg_flush_fixed_param,
  561. WMITLV_TAG_STRUC_wmi_debug_mesg_flush_complete_fixed_param,
  562. WMITLV_TAG_STRUC_wmi_peer_set_rate_report_condition_fixed_param,
  563. WMITLV_TAG_STRUC_wmi_roam_subnet_change_config_fixed_param,
  564. WMITLV_TAG_STRUC_wmi_vdev_set_ie_cmd_fixed_param,
  565. WMITLV_TAG_STRUC_wmi_rssi_breach_monitor_config_fixed_param,
  566. WMITLV_TAG_STRUC_wmi_rssi_breach_event_fixed_param,
  567. WMITLV_TAG_STRUC_WOW_EVENT_INITIAL_WAKEUP_fixed_param,
  568. WMITLV_TAG_STRUC_wmi_soc_set_pcl_cmd_fixed_param,
  569. WMITLV_TAG_STRUC_wmi_soc_set_hw_mode_cmd_fixed_param,
  570. WMITLV_TAG_STRUC_wmi_soc_set_hw_mode_response_event_fixed_param,
  571. WMITLV_TAG_STRUC_wmi_soc_hw_mode_transition_event_fixed_param,
  572. WMITLV_TAG_STRUC_wmi_vdev_txrx_streams,
  573. WMITLV_TAG_STRUC_wmi_soc_set_hw_mode_response_vdev_mac_entry,
  574. WMITLV_TAG_STRUC_wmi_soc_set_dual_mac_config_cmd_fixed_param,
  575. WMITLV_TAG_STRUC_wmi_soc_set_dual_mac_config_response_event_fixed_param,
  576. WMITLV_TAG_STRUC_WOW_IOAC_SOCK_PATTERN_T,
  577. WMITLV_TAG_STRUC_wmi_wow_enable_icmpv6_na_flt_cmd_fixed_param,
  578. WMITLV_TAG_STRUC_wmi_diag_event_log_config_fixed_param,
  579. WMITLV_TAG_STRUC_wmi_diag_event_log_supported_event_fixed_params,
  580. WMITLV_TAG_STRUC_wmi_packet_filter_config_fixed_param,
  581. WMITLV_TAG_STRUC_wmi_packet_filter_enable_fixed_param,
  582. WMITLV_TAG_STRUC_wmi_sap_set_blacklist_param_cmd_fixed_param,
  583. WMITLV_TAG_STRUC_wmi_mgmt_tx_send_cmd_fixed_param,
  584. WMITLV_TAG_STRUC_wmi_mgmt_tx_compl_event_fixed_param,
  585. WMITLV_TAG_STRUC_wmi_soc_set_antenna_mode_cmd_fixed_param,
  586. WMITLV_TAG_STRUC_WMI_WOW_UDP_SVC_OFLD_CMD_fixed_param,
  587. WMITLV_TAG_STRUC_wmi_lro_info_cmd_fixed_param,
  588. WMITLV_TAG_STRUC_wmi_roam_earlystop_rssi_thres_param,
  589. WMITLV_TAG_STRUC_wmi_service_ready_ext_event_fixed_param,
  590. WMITLV_TAG_STRUC_wmi_mawc_sensor_report_ind_cmd_fixed_param,
  591. WMITLV_TAG_STRUC_wmi_mawc_enable_sensor_event_fixed_param,
  592. WMITLV_TAG_STRUC_wmi_roam_configure_mawc_cmd_fixed_param,
  593. WMITLV_TAG_STRUC_wmi_nlo_configure_mawc_cmd_fixed_param,
  594. WMITLV_TAG_STRUC_wmi_extscan_configure_mawc_cmd_fixed_param,
  595. WMITLV_TAG_STRUC_wmi_peer_assoc_conf_event_fixed_param,
  596. WMITLV_TAG_STRUC_wmi_wow_hostwakeup_gpio_pin_pattern_config_cmd_fixed_param,
  597. WMITLV_TAG_STRUC_wmi_ap_ps_egap_param_cmd_fixed_param,
  598. WMITLV_TAG_STRUC_wmi_ap_ps_egap_info_event_fixed_param,
  599. WMITLV_TAG_STRUC_WMI_PMF_OFFLOAD_SET_SA_QUERY_CMD_fixed_param,
  600. WMITLV_TAG_STRUC_wmi_transfer_data_to_flash_cmd_fixed_param,
  601. WMITLV_TAG_STRUC_wmi_transfer_data_to_flash_complete_event_fixed_param,
  602. WMITLV_TAG_STRUC_wmi_scpc_event_fixed_param,
  603. WMITLV_TAG_STRUC_wmi_ap_ps_egap_info_chainmask_list,
  604. WMITLV_TAG_STRUC_wmi_sta_smps_force_mode_complete_event_fixed_param,
  605. WMITLV_TAG_STRUC_wmi_bpf_get_capability_cmd_fixed_param,
  606. WMITLV_TAG_STRUC_wmi_bpf_capability_info_evt_fixed_param,
  607. WMITLV_TAG_STRUC_wmi_bpf_get_vdev_stats_cmd_fixed_param,
  608. WMITLV_TAG_STRUC_wmi_bpf_vdev_stats_info_evt_fixed_param,
  609. WMITLV_TAG_STRUC_wmi_bpf_set_vdev_instructions_cmd_fixed_param,
  610. WMITLV_TAG_STRUC_wmi_bpf_del_vdev_instructions_cmd_fixed_param,
  611. WMITLV_TAG_STRUC_wmi_vdev_delete_resp_event_fixed_param,
  612. WMITLV_TAG_STRUC_wmi_peer_delete_resp_event_fixed_param,
  613. WMITLV_TAG_STRUC_wmi_roam_dense_thres_param,
  614. WMITLV_TAG_STRUC_enlo_candidate_score_param,
  615. WMITLV_TAG_STRUC_wmi_peer_update_wds_entry_cmd_fixed_param,
  616. WMITLV_TAG_STRUC_wmi_vdev_config_ratemask_fixed_param,
  617. WMITLV_TAG_STRUC_wmi_pdev_fips_cmd_fixed_param,
  618. WMITLV_TAG_STRUC_wmi_pdev_smart_ant_enable_cmd_fixed_param,
  619. WMITLV_TAG_STRUC_wmi_pdev_smart_ant_set_rx_antenna_cmd_fixed_param,
  620. WMITLV_TAG_STRUC_wmi_peer_smart_ant_set_tx_antenna_cmd_fixed_param,
  621. WMITLV_TAG_STRUC_wmi_peer_smart_ant_set_train_antenna_cmd_fixed_param,
  622. WMITLV_TAG_STRUC_wmi_peer_smart_ant_set_node_config_ops_cmd_fixed_param,
  623. WMITLV_TAG_STRUC_wmi_pdev_set_ant_switch_tbl_cmd_fixed_param,
  624. WMITLV_TAG_STRUC_wmi_pdev_set_ctl_table_cmd_fixed_param,
  625. WMITLV_TAG_STRUC_wmi_pdev_set_mimogain_table_cmd_fixed_param,
  626. WMITLV_TAG_STRUC_wmi_fwtest_set_param_cmd_fixed_param,
  627. WMITLV_TAG_STRUC_wmi_peer_atf_request_fixed_param,
  628. WMITLV_TAG_STRUC_wmi_vdev_atf_request_fixed_param,
  629. WMITLV_TAG_STRUC_wmi_pdev_get_ani_cck_config_cmd_fixed_param,
  630. WMITLV_TAG_STRUC_wmi_pdev_get_ani_ofdm_config_cmd_fixed_param,
  631. WMITLV_TAG_STRUC_wmi_inst_rssi_stats_resp_fixed_param,
  632. WMITLV_TAG_STRUC_wmi_med_util_report_event_fixed_param,
  633. WMITLV_TAG_STRUC_wmi_peer_sta_ps_statechange_event_fixed_param,
  634. WMITLV_TAG_STRUC_wmi_wds_addr_event_fixed_param,
  635. WMITLV_TAG_STRUC_wmi_peer_ratecode_list_event_fixed_param,
  636. WMITLV_TAG_STRUC_wmi_pdev_nfcal_power_all_channels_event_fixed_param,
  637. WMITLV_TAG_STRUC_wmi_pdev_tpc_event_fixed_param,
  638. WMITLV_TAG_STRUC_wmi_ani_ofdm_event_fixed_param,
  639. WMITLV_TAG_STRUC_wmi_ani_cck_event_fixed_param,
  640. WMITLV_TAG_STRUC_wmi_pdev_channel_hopping_event_fixed_param,
  641. WMITLV_TAG_STRUC_wmi_pdev_fips_event_fixed_param,
  642. WMITLV_TAG_STRUC_wmi_atf_peer_info,
  643. WMITLV_TAG_STRUC_wmi_pdev_get_tpc_cmd_fixed_param,
  644. WMITLV_TAG_STRUC_wmi_vdev_filter_nrp_config_cmd_fixed_param,
  645. WMITLV_TAG_STRUC_WMI_QBOOST_CFG_CMD_fixed_param,
  646. WMITLV_TAG_STRUC_wmi_pdev_smart_ant_gpio_handle,
  647. WMITLV_TAG_STRUC_wmi_peer_smart_ant_set_tx_antenna_series,
  648. WMITLV_TAG_STRUC_wmi_peer_smart_ant_set_train_antenna_param,
  649. WMITLV_TAG_STRUC_wmi_pdev_set_ant_ctrl_chain,
  650. WMITLV_TAG_STRUC_wmi_peer_cck_ofdm_rate_info,
  651. WMITLV_TAG_STRUC_wmi_peer_mcs_rate_info,
  652. WMITLV_TAG_STRUC_wmi_pdev_nfcal_power_all_channels_nfdBr,
  653. WMITLV_TAG_STRUC_wmi_pdev_nfcal_power_all_channels_nfdBm,
  654. WMITLV_TAG_STRUC_wmi_pdev_nfcal_power_all_channels_freqNum,
  655. WMITLV_TAG_STRUC_wmi_mu_report_total_mu,
  656. WMITLV_TAG_STRUC_wmi_vdev_set_dscp_tid_map_cmd_fixed_param,
  657. WMITLV_TAG_STRUC_wmi_roam_set_mbo_fixed_param,
  658. WMITLV_TAG_STRUC_wmi_mib_stats_enable_cmd_fixed_param,
  659. WMITLV_TAG_STRUC_wmi_nan_disc_iface_created_event_fixed_param,
  660. WMITLV_TAG_STRUC_wmi_nan_disc_iface_deleted_event_fixed_param,
  661. WMITLV_TAG_STRUC_wmi_nan_started_cluster_event_fixed_param,
  662. WMITLV_TAG_STRUC_wmi_nan_joined_cluster_event_fixed_param,
  663. WMITLV_TAG_STRUC_wmi_ndi_get_cap_req_fixed_param,
  664. WMITLV_TAG_STRUC_wmi_ndp_initiator_req_fixed_param,
  665. WMITLV_TAG_STRUC_wmi_ndp_responder_req_fixed_param,
  666. WMITLV_TAG_STRUC_wmi_ndp_end_req_fixed_param,
  667. WMITLV_TAG_STRUC_wmi_ndi_cap_rsp_event_fixed_param,
  668. WMITLV_TAG_STRUC_wmi_ndp_initiator_rsp_event_fixed_param,
  669. WMITLV_TAG_STRUC_wmi_ndp_responder_rsp_event_fixed_param,
  670. WMITLV_TAG_STRUC_wmi_ndp_end_rsp_event_fixed_param,
  671. WMITLV_TAG_STRUC_wmi_ndp_indication_event_fixed_param,
  672. WMITLV_TAG_STRUC_wmi_ndp_confirm_event_fixed_param,
  673. WMITLV_TAG_STRUC_wmi_ndp_end_indication_event_fixed_param,
  674. WMITLV_TAG_STRUC_wmi_vdev_set_quiet_cmd_fixed_param,
  675. WMITLV_TAG_STRUC_wmi_pdev_set_pcl_cmd_fixed_param,
  676. WMITLV_TAG_STRUC_wmi_pdev_set_hw_mode_cmd_fixed_param,
  677. WMITLV_TAG_STRUC_wmi_pdev_set_mac_config_cmd_fixed_param,
  678. WMITLV_TAG_STRUC_wmi_pdev_set_antenna_mode_cmd_fixed_param,
  679. WMITLV_TAG_STRUC_wmi_pdev_set_hw_mode_response_event_fixed_param,
  680. WMITLV_TAG_STRUC_wmi_pdev_hw_mode_transition_event_fixed_param,
  681. WMITLV_TAG_STRUC_wmi_pdev_set_hw_mode_response_vdev_mac_entry,
  682. WMITLV_TAG_STRUC_wmi_pdev_set_mac_config_response_event_fixed_param,
  683. WMITLV_TAG_STRUC_WMI_COEX_CONFIG_CMD_fixed_param,
  684. WMITLV_TAG_STRUC_wmi_config_enhanced_mcast_filter_fixed_param,
  685. WMITLV_TAG_STRUC_WMI_CHAN_AVOID_RPT_ALLOW_CMD_fixed_param,
  686. WMITLV_TAG_STRUC_wmi_set_periodic_channel_stats_config_fixed_param,
  687. WMITLV_TAG_STRUC_wmi_vdev_set_custom_aggr_size_cmd_fixed_param,
  688. WMITLV_TAG_STRUC_wmi_pdev_wal_power_debug_cmd_fixed_param,
  689. WMITLV_TAG_STRUC_WMI_MAC_PHY_CAPABILITIES,
  690. WMITLV_TAG_STRUC_WMI_HW_MODE_CAPABILITIES,
  691. WMITLV_TAG_STRUC_WMI_SOC_MAC_PHY_HW_MODE_CAPS,
  692. WMITLV_TAG_STRUC_WMI_HAL_REG_CAPABILITIES_EXT,
  693. WMITLV_TAG_STRUC_WMI_SOC_HAL_REG_CAPABILITIES,
  694. WMITLV_TAG_STRUC_wmi_vdev_wisa_cmd_fixed_param,
  695. WMITLV_TAG_STRUC_wmi_tx_power_level_stats_evt_fixed_param,
  696. WMITLV_TAG_STRUC_wmi_scan_adaptive_dwell_parameters_tlv,
  697. WMITLV_TAG_STRUC_wmi_scan_adaptive_dwell_config_fixed_param,
  698. WMITLV_TAG_STRUC_wmi_wow_set_action_wake_up_cmd_fixed_param,
  699. WMITLV_TAG_STRUC_wmi_ndp_end_rsp_per_ndi,
  700. WMITLV_TAG_STRUC_wmi_peer_bwf_request_fixed_param,
  701. WMITLV_TAG_STRUC_wmi_bwf_peer_info,
  702. WMITLV_TAG_STRUC_wmi_dbglog_time_stamp_sync_cmd_fixed_param,
  703. WMITLV_TAG_STRUC_wmi_rmc_set_leader_cmd_fixed_param,
  704. WMITLV_TAG_STRUC_wmi_rmc_manual_leader_event_fixed_param,
  705. WMITLV_TAG_STRUC_wmi_per_chain_rssi_stats,
  706. WMITLV_TAG_STRUC_wmi_rssi_stats,
  707. WMITLV_TAG_STRUC_wmi_p2p_lo_start_cmd_fixed_param,
  708. WMITLV_TAG_STRUC_wmi_p2p_lo_stop_cmd_fixed_param,
  709. WMITLV_TAG_STRUC_wmi_p2p_lo_stopped_event_fixed_param,
  710. WMITLV_TAG_STRUC_wmi_peer_reorder_queue_setup_cmd_fixed_param,
  711. WMITLV_TAG_STRUC_wmi_peer_reorder_queue_remove_cmd_fixed_param,
  712. WMITLV_TAG_STRUC_wmi_set_multiple_mcast_filter_cmd_fixed_param,
  713. WMITLV_TAG_STRUC_wmi_mgmt_tx_compl_bundle_event_fixed_param,
  714. WMITLV_TAG_STRUC_wmi_read_data_from_flash_cmd_fixed_param,
  715. WMITLV_TAG_STRUC_wmi_read_data_from_flash_event_fixed_param,
  716. WMITLV_TAG_STRUC_wmi_pdev_set_reorder_timeout_val_cmd_fixed_param,
  717. WMITLV_TAG_STRUC_wmi_peer_set_rx_blocksize_cmd_fixed_param,
  718. WMITLV_TAG_STRUC_WMI_PDEV_SET_WAKEUP_CONFIG_CMDID_fixed_param,
  719. WMITLV_TAG_STRUC_wmi_tlv_buf_len_param,
  720. WMITLV_TAG_STRUC_wmi_service_available_event_fixed_param,
  721. WMITLV_TAG_STRUC_wmi_peer_antdiv_info_req_cmd_fixed_param,
  722. WMITLV_TAG_STRUC_wmi_peer_antdiv_info_event_fixed_param,
  723. WMITLV_TAG_STRUC_wmi_peer_antdiv_info,
  724. WMITLV_TAG_STRUC_wmi_pdev_get_antdiv_status_cmd_fixed_param,
  725. WMITLV_TAG_STRUC_wmi_pdev_antdiv_status_event_fixed_param,
  726. WMITLV_TAG_STRUC_wmi_mnt_filter_cmd_fixed_param,
  727. WMITLV_TAG_STRUC_wmi_get_chip_power_stats_cmd_fixed_param,
  728. WMITLV_TAG_STRUC_wmi_pdev_chip_power_stats_event_fixed_param,
  729. WMITLV_TAG_STRUC_wmi_coex_get_antenna_isolation_cmd_fixed_param,
  730. WMITLV_TAG_STRUC_wmi_coex_report_isolation_event_fixed_param,
  731. WMITLV_TAG_STRUC_wmi_chan_cca_stats,
  732. WMITLV_TAG_STRUC_wmi_peer_signal_stats,
  733. WMITLV_TAG_STRUC_wmi_tx_stats,
  734. WMITLV_TAG_STRUC_wmi_peer_ac_tx_stats,
  735. WMITLV_TAG_STRUC_wmi_rx_stats,
  736. WMITLV_TAG_STRUC_wmi_peer_ac_rx_stats,
  737. WMITLV_TAG_STRUC_wmi_report_stats_event_fixed_param,
  738. WMITLV_TAG_STRUC_wmi_chan_cca_stats_thresh,
  739. WMITLV_TAG_STRUC_wmi_peer_signal_stats_thresh,
  740. WMITLV_TAG_STRUC_wmi_tx_stats_thresh,
  741. WMITLV_TAG_STRUC_wmi_rx_stats_thresh,
  742. WMITLV_TAG_STRUC_wmi_pdev_set_stats_threshold_cmd_fixed_param,
  743. WMITLV_TAG_STRUC_wmi_request_wlan_stats_cmd_fixed_param,
  744. WMITLV_TAG_STRUC_wmi_rx_aggr_failure_event_fixed_param,
  745. WMITLV_TAG_STRUC_wmi_rx_aggr_failure_info,
  746. WMITLV_TAG_STRUC_wmi_vdev_encrypt_decrypt_data_req_cmd_fixed_param,
  747. WMITLV_TAG_STRUC_wmi_vdev_encrypt_decrypt_data_resp_event_fixed_param,
  748. WMITLV_TAG_STRUC_wmi_pdev_band_to_mac,
  749. WMITLV_TAG_STRUC_wmi_tbtt_offset_info,
  750. WMITLV_TAG_STRUC_wmi_tbtt_offset_ext_event_fixed_param,
  751. WMITLV_TAG_STRUC_wmi_sar_limits_cmd_fixed_param,
  752. WMITLV_TAG_STRUC_wmi_sar_limit_cmd_row,
  753. WMITLV_TAG_STRUC_wmi_pdev_dfs_phyerr_offload_enable_cmd_fixed_param,
  754. WMITLV_TAG_STRUC_wmi_pdev_dfs_phyerr_offload_disable_cmd_fixed_param,
  755. WMITLV_TAG_STRUC_wmi_vdev_adfs_ch_cfg_cmd_fixed_param,
  756. WMITLV_TAG_STRUC_wmi_vdev_adfs_ocac_abort_cmd_fixed_param,
  757. WMITLV_TAG_STRUC_wmi_pdev_dfs_radar_detection_event_fixed_param,
  758. WMITLV_TAG_STRUC_wmi_vdev_adfs_ocac_complete_event_fixed_param,
  759. WMITLV_TAG_STRUC_wmi_vdev_dfs_cac_complete_event_fixed_param,
  760. WMITLV_TAG_STRUC_wmi_vendor_oui,
  761. WMITLV_TAG_STRUC_wmi_request_rcpi_cmd_fixed_param,
  762. WMITLV_TAG_STRUC_wmi_update_rcpi_event_fixed_param,
  763. WMITLV_TAG_STRUC_wmi_request_peer_stats_info_cmd_fixed_param,
  764. WMITLV_TAG_STRUC_wmi_peer_stats_info,
  765. WMITLV_TAG_STRUC_wmi_peer_stats_info_event_fixed_param,
  766. WMITLV_TAG_STRUC_wmi_pkgid_event_fixed_param,
  767. WMITLV_TAG_STRUC_wmi_connected_nlo_rssi_params,
  768. WMITLV_TAG_STRUC_wmi_set_current_country_cmd_fixed_param,
  769. WMITLV_TAG_STRUC_wmi_regulatory_rule_struct,
  770. WMITLV_TAG_STRUC_wmi_reg_chan_list_cc_event_fixed_param,
  771. WMITLV_TAG_STRUC_wmi_11d_scan_start_cmd_fixed_param,
  772. WMITLV_TAG_STRUC_wmi_11d_scan_stop_cmd_fixed_param,
  773. WMITLV_TAG_STRUC_wmi_11d_new_country_event_fixed_param,
  774. WMITLV_TAG_STRUC_wmi_request_radio_chan_stats_cmd_fixed_param,
  775. WMITLV_TAG_STRUC_wmi_radio_chan_stats,
  776. WMITLV_TAG_STRUC_wmi_radio_chan_stats_event_fixed_param,
  777. WMITLV_TAG_STRUC_wmi_roam_per_config_fixed_param,
  778. WMITLV_TAG_STRUC_wmi_vdev_add_mac_addr_to_rx_filter_cmd_fixed_param,
  779. WMITLV_TAG_STRUC_wmi_vdev_add_mac_addr_to_rx_filter_status_event_fixed_param,
  780. WMITLV_TAG_STRUC_wmi_bpf_set_vdev_active_mode_cmd_fixed_param,
  781. WMITLV_TAG_STRUC_wmi_hw_data_filter_cmd_fixed_param,
  782. WMITLV_TAG_STRUC_wmi_connected_nlo_bss_band_rssi_pref,
  783. WMITLV_TAG_STRUC_wmi_peer_oper_mode_change_event_fixed_param,
  784. WMITLV_TAG_STRUC_wmi_chip_power_save_failure_detected_fixed_param,
  785. WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_restart_request_cmd_fixed_param,
  786. WMITLV_TAG_STRUC_wmi_pdev_csa_switch_count_status_event_fixed_param,
  787. WMITLV_TAG_STRUC_wmi_pdev_update_pkt_routing_cmd_fixed_param,
  788. WMITLV_TAG_STRUC_wmi_pdev_check_cal_version_cmd_fixed_param,
  789. WMITLV_TAG_STRUC_wmi_pdev_check_cal_version_event_fixed_param,
  790. WMITLV_TAG_STRUC_wmi_pdev_set_diversity_gain_cmd_fixed_param,
  791. WMITLV_TAG_STRUC_WMI_MAC_PHY_CHAINMASK_COMBO,
  792. WMITLV_TAG_STRUC_WMI_MAC_PHY_CHAINMASK_CAPABILITY,
  793. WMITLV_TAG_STRUC_wmi_vdev_set_arp_stats_cmd_fixed_param,
  794. WMITLV_TAG_STRUC_wmi_vdev_get_arp_stats_cmd_fixed_param,
  795. WMITLV_TAG_STRUC_wmi_vdev_get_arp_stats_event_fixed_param,
  796. WMITLV_TAG_STRUC_wmi_iface_offload_stats,
  797. WMITLV_TAG_STRUC_wmi_request_stats_cmd_sub_struc_param,
  798. WMITLV_TAG_STRUC_rssi_ctl_ext,
  799. WMITLV_TAG_STRUC_wmi_single_phyerr_ext_rx_hdr,
  800. WMITLV_TAG_STRUC_wmi_coex_bt_activity_event_fixed_param,
  801. WMITLV_TAG_STRUC_wmi_vdev_get_tx_power_cmd_fixed_param,
  802. WMITLV_TAG_STRUC_wmi_vdev_tx_power_event_fixed_param,
  803. WMITLV_TAG_STRUC_wmi_offchan_data_tx_compl_event_fixed_param,
  804. WMITLV_TAG_STRUC_wmi_offchan_data_tx_send_cmd_fixed_param,
  805. WMITLV_TAG_STRUC_wmi_tx_send_params,
  806. WMITLV_TAG_STRUC_wmi_he_rate_set,
  807. WMITLV_TAG_STRUC_wmi_congestion_stats,
  808. WMITLV_TAG_STRUC_wmi_set_init_country_cmd_fixed_param,
  809. WMITLV_TAG_STRUC_wmi_scan_dbs_duty_cycle_fixed_param,
  810. WMITLV_TAG_STRUC_wmi_scan_dbs_duty_cycle_param_tlv,
  811. WMITLV_TAG_STRUC_wmi_pdev_div_get_rssi_antid_fixed_param,
  812. WMITLV_TAG_STRUC_wmi_therm_throt_config_request_fixed_param,
  813. WMITLV_TAG_STRUC_wmi_therm_throt_level_config_info,
  814. WMITLV_TAG_STRUC_wmi_therm_throt_stats_event_fixed_param,
  815. WMITLV_TAG_STRUC_wmi_therm_throt_level_stats_info,
  816. WMITLV_TAG_STRUC_wmi_pdev_div_rssi_antid_event_fixed_param,
  817. WMITLV_TAG_STRUC_WMI_OEM_DMA_RING_CAPABILITIES,
  818. WMITLV_TAG_STRUC_wmi_oem_dma_ring_cfg_req_fixed_param,
  819. WMITLV_TAG_STRUC_wmi_oem_dma_ring_cfg_rsp_fixed_param,
  820. WMITLV_TAG_STRUC_wmi_oem_indirect_data,
  821. WMITLV_TAG_STRUC_wmi_oem_dma_buf_release_fixed_param,
  822. WMITLV_TAG_STRUC_wmi_oem_dma_buf_release_entry,
  823. WMITLV_TAG_STRUC_wmi_pdev_bss_chan_info_request_fixed_param,
  824. WMITLV_TAG_STRUC_wmi_pdev_bss_chan_info_event_fixed_param,
  825. WMITLV_TAG_STRUC_wmi_roam_lca_disallow_config_tlv_param,
  826. WMITLV_TAG_STRUC_wmi_vdev_limit_offchan_cmd_fixed_param,
  827. WMITLV_TAG_STRUC_wmi_roam_rssi_rejection_oce_config_param,
  828. WMITLV_TAG_STRUC_wmi_roam_rejection_list_config_param = /* alias */
  829. WMITLV_TAG_STRUC_wmi_roam_rssi_rejection_oce_config_param,
  830. WMITLV_TAG_STRUC_wmi_unit_test_event_fixed_param,
  831. WMITLV_TAG_STRUC_wmi_roam_fils_offload_tlv_param,
  832. WMITLV_TAG_STRUC_wmi_pdev_update_pmk_cache_cmd_fixed_param,
  833. WMITLV_TAG_STRUC_wmi_pmk_cache,
  834. WMITLV_TAG_STRUC_wmi_pdev_update_fils_hlp_pkt_cmd_fixed_param,
  835. WMITLV_TAG_STRUC_wmi_roam_fils_synch_tlv_param,
  836. WMITLV_TAG_STRUC_wmi_gtk_offload_extended_tlv_param,
  837. WMITLV_TAG_STRUC_wmi_roam_bg_scan_roaming_param,
  838. WMITLV_TAG_STRUC_wmi_oic_ping_offload_params_cmd_fixed_param,
  839. WMITLV_TAG_STRUC_wmi_oic_ping_offload_set_enable_cmd_fixed_param,
  840. WMITLV_TAG_STRUC_wmi_oic_ping_handoff_event,
  841. WMITLV_TAG_STRUC_wmi_dhcp_lease_renew_offload_cmd_fixed_param,
  842. WMITLV_TAG_STRUC_wmi_dhcp_lease_renew_event,
  843. WMITLV_TAG_STRUC_wmi_btm_config_fixed_param,
  844. WMITLV_TAG_STRUC_wmi_debug_mesg_fw_data_stall_param,
  845. WMITLV_TAG_STRUC_wmi_wlm_config_cmd_fixed_param,
  846. WMITLV_TAG_STRUC_wmi_pdev_update_ctltable_request_fixed_param,
  847. WMITLV_TAG_STRUC_wmi_pdev_update_ctltable_event_fixed_param,
  848. WMITLV_TAG_STRUC_wmi_roam_cnd_scoring_param,
  849. WMITLV_TAG_STRUC_wmi_pdev_config_vendor_oui_action_fixed_param,
  850. WMITLV_TAG_STRUC_wmi_vendor_oui_ext,
  851. WMITLV_TAG_STRUC_wmi_roam_synch_frame_event_fixed_param,
  852. WMITLV_TAG_STRUC_wmi_fd_send_from_host_cmd_fixed_param,
  853. WMITLV_TAG_STRUC_wmi_enable_fils_cmd_fixed_param,
  854. WMITLV_TAG_STRUC_wmi_host_swfda_event_fixed_param,
  855. WMITLV_TAG_STRUC_wmi_bcn_offload_ctrl_cmd_fixed_param,
  856. WMITLV_TAG_STRUC_wmi_pdev_set_ac_tx_queue_optimized_cmd_fixed_param,
  857. WMITLV_TAG_STRUC_wmi_stats_period,
  858. WMITLV_TAG_STRUC_wmi_ndl_schedule_update_fixed_param,
  859. WMITLV_TAG_STRUC_wmi_peer_tid_msduq_qdepth_thresh_update_cmd_fixed_param,
  860. WMITLV_TAG_STRUC_wmi_msduq_qdepth_thresh_update,
  861. WMITLV_TAG_STRUC_wmi_pdev_set_rx_filter_promiscuous_cmd_fixed_param,
  862. WMITLV_TAG_STRUC_wmi_sar2_result_event_fixed_param,
  863. WMITLV_TAG_STRUC_WMI_SAR_CAPABILITIES,
  864. WMITLV_TAG_STRUC_wmi_sap_obss_detection_cfg_cmd_fixed_param,
  865. WMITLV_TAG_STRUC_wmi_sap_obss_detection_info_evt_fixed_param,
  866. WMITLV_TAG_STRUC_WMI_DMA_RING_CAPABILITIES,
  867. WMITLV_TAG_STRUC_wmi_dma_ring_cfg_req_fixed_param,
  868. WMITLV_TAG_STRUC_wmi_dma_ring_cfg_rsp_fixed_param,
  869. WMITLV_TAG_STRUC_wmi_dma_buf_release_fixed_param,
  870. WMITLV_TAG_STRUC_wmi_dma_buf_release_entry,
  871. WMITLV_TAG_STRUC_wmi_sar_get_limits_cmd_fixed_param,
  872. WMITLV_TAG_STRUC_wmi_sar_get_limits_event_fixed_param,
  873. WMITLV_TAG_STRUC_wmi_sar_get_limits_event_row,
  874. WMITLV_TAG_STRUC_wmi_offload_11k_report_fixed_param,
  875. WMITLV_TAG_STRUC_wmi_invoke_neighbor_report_fixed_param,
  876. WMITLV_TAG_STRUC_wmi_neighbor_report_offload_tlv_param,
  877. WMITLV_TAG_STRUC_wmi_vdev_set_connectivity_check_stats,
  878. WMITLV_TAG_STRUC_wmi_vdev_get_connectivity_check_stats,
  879. WMITLV_TAG_STRUC_wmi_bpf_set_vdev_enable_cmd_fixed_param,
  880. WMITLV_TAG_STRUC_wmi_bpf_set_vdev_work_memory_cmd_fixed_param,
  881. WMITLV_TAG_STRUC_wmi_bpf_get_vdev_work_memory_cmd_fixed_param,
  882. WMITLV_TAG_STRUC_wmi_bpf_get_vdev_work_memory_resp_evt_fixed_param,
  883. WMITLV_TAG_STRUC_wmi_pdev_get_nfcal_power_fixed_param,
  884. WMITLV_TAG_STRUC_wmi_bss_color_change_enable_fixed_param,
  885. WMITLV_TAG_STRUC_wmi_obss_color_collision_det_config_fixed_param,
  886. WMITLV_TAG_STRUC_wmi_obss_color_collision_evt_fixed_param,
  887. WMITLV_TAG_STRUC_wmi_runtime_dpd_recal_cmd_fixed_param,
  888. WMITLV_TAG_STRUC_wmi_twt_enable_cmd_fixed_param,
  889. WMITLV_TAG_STRUC_wmi_twt_disable_cmd_fixed_param,
  890. WMITLV_TAG_STRUC_wmi_twt_add_dialog_cmd_fixed_param,
  891. WMITLV_TAG_STRUC_wmi_twt_del_dialog_cmd_fixed_param,
  892. WMITLV_TAG_STRUC_wmi_twt_pause_dialog_cmd_fixed_param,
  893. WMITLV_TAG_STRUC_wmi_twt_resume_dialog_cmd_fixed_param,
  894. WMITLV_TAG_STRUC_wmi_twt_enable_complete_event_fixed_param,
  895. WMITLV_TAG_STRUC_wmi_twt_disable_complete_event_fixed_param,
  896. WMITLV_TAG_STRUC_wmi_twt_add_dialog_complete_event_fixed_param,
  897. WMITLV_TAG_STRUC_wmi_twt_del_dialog_complete_event_fixed_param,
  898. WMITLV_TAG_STRUC_wmi_twt_pause_dialog_complete_event_fixed_param,
  899. WMITLV_TAG_STRUC_wmi_twt_resume_dialog_complete_event_fixed_param,
  900. WMITLV_TAG_STRUC_wmi_request_roam_scan_stats_cmd_fixed_param,
  901. WMITLV_TAG_STRUC_wmi_roam_scan_stats_event_fixed_param,
  902. WMITLV_TAG_STRUC_wmi_peer_tid_configurations_cmd_fixed_param,
  903. WMITLV_TAG_STRUC_wmi_vdev_set_custom_sw_retry_th_cmd_fixed_param,
  904. WMITLV_TAG_STRUC_wmi_get_tpc_power_cmd_fixed_param,
  905. WMITLV_TAG_STRUC_wmi_get_tpc_power_evt_fixed_param,
  906. WMITLV_TAG_STRUC_wmi_dma_buf_release_spectral_meta_data,
  907. WMITLV_TAG_STRUC_wmi_motion_det_config_params_cmd_fixed_param,
  908. WMITLV_TAG_STRUC_wmi_motion_det_base_line_config_params_cmd_fixed_param,
  909. WMITLV_TAG_STRUC_wmi_motion_det_start_stop_cmd_fixed_param,
  910. WMITLV_TAG_STRUC_wmi_motion_det_base_line_start_stop_cmd_fixed_param,
  911. WMITLV_TAG_STRUC_wmi_motion_det_event,
  912. WMITLV_TAG_STRUC_wmi_motion_det_base_line_event,
  913. WMITLV_TAG_STRUC_wmi_ndp_transport_ip_param,
  914. WMITLV_TAG_STRUC_wmi_obss_spatial_reuse_set_cmd_fixed_param,
  915. WMITLV_TAG_STRUC_wmi_esp_estimate_event_fixed_param,
  916. WMITLV_TAG_STRUC_wmi_nan_host_config_param,
  917. WMITLV_TAG_STRUC_wmi_spectral_bin_scaling_params,
  918. WMITLV_TAG_STRUC_wmi_peer_cfr_capture_cmd_fixed_param,
  919. WMITLV_TAG_STRUC_wmi_peer_chan_width_switch_cmd_fixed_param,
  920. WMITLV_TAG_STRUC_wmi_chan_width_peer_list,
  921. WMITLV_TAG_STRUC_wmi_obss_spatial_reuse_set_def_obss_thresh_cmd_fixed_param,
  922. WMITLV_TAG_STRUC_wmi_pdev_he_tb_action_frm_cmd_fixed_param,
  923. WMITLV_TAG_STRUC_wmi_peer_extd2_stats,
  924. WMITLV_TAG_STRUC_wmi_hpcs_pulse_start_cmd_fixed_param,
  925. WMITLV_TAG_STRUC_wmi_pdev_ctl_failsafe_check_fixed_param,
  926. WMITLV_TAG_STRUC_wmi_vdev_chainmask_config_cmd_fixed_param,
  927. WMITLV_TAG_STRUC_wmi_vdev_bcn_offload_quiet_config_cmd_fixed_param,
  928. WMITLV_TAG_STRUC_wmi_nan_event_info,
  929. WMITLV_TAG_STRUC_wmi_ndp_channel_info,
  930. WMITLV_TAG_STRUC_wmi_ndp_cmd_param,
  931. WMITLV_TAG_STRUC_wmi_ndp_event_param,
  932. WMITLV_TAG_STRUC_wmi_pdev_pktlog_filter_cmd_fixed_param,
  933. WMITLV_TAG_STRUC_wmi_pdev_pktlog_filter_info,
  934. WMITLV_TAG_STRUC_wmi_quiet_offload_info,
  935. WMITLV_TAG_STRUC_wmi_get_bcn_recv_stats_fixed_param,
  936. WMITLV_TAG_STRUC_wmi_vdev_bcn_recv_stats_event_fixed_param,
  937. WMITLV_TAG_STRUC_wmi_peer_tx_pn_request_cmd_fixed_param,
  938. WMITLV_TAG_STRUC_wmi_peer_tx_pn_response_event_fixed_param,
  939. WMITLV_TAG_STRUC_wmi_tlv_arrays_len_param,
  940. WMITLV_TAG_STRUC_wmi_peer_unmap_response_cmd_fixed_param,
  941. WMITLV_TAG_STRUC_wmi_pdev_csc_switch_count_status_event_fixed_param,
  942. WMITLV_TAG_STRUC_wmi_roam_bss_load_config_cmd_fixed_param,
  943. WMITLV_TAG_STRUC_wmi_roam_blacklist_event_fixed_param,
  944. WMITLV_TAG_STRUC_wmi_csc_vdev_list,
  945. WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_info_cmd_fixed_param,
  946. WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_state_fixed_param,
  947. WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_dpwb_state_fixed_param,
  948. WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_tdm_state_fixed_param,
  949. WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_idrx_state_fixed_param,
  950. WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_antenna_sharing_state_fixed_param,
  951. WMITLV_TAG_STRUC_wmi_request_wlm_stats_cmd_fixed_param,
  952. WMITLV_TAG_STRUC_wmi_wlm_stats_event_fixed_param,
  953. WMITLV_TAG_STRUC_wmi_key_material_ext,
  954. WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_fixed_param,
  955. WMITLV_TAG_STRUC_wmi_cold_boot_cal_data_fixed_param,
  956. WMITLV_TAG_STRUC_wmi_pdev_set_rap_config_fixed_param,
  957. WMITLV_TAG_STRUC_wmi_pdev_set_rap_config_on_sta_ps_tlv_param,
  958. WMITLV_TAG_STRUC_wmi_pdev_rap_info_event_fixed_param,
  959. WMITLV_TAG_STRUC_wmi_sta_tdcc_config_cmd_fixed_param,
  960. WMITLV_TAG_STRUC_wmi_roam_deauth_config_cmd_fixed_param,
  961. WMITLV_TAG_STRUC_wmi_roam_idle_config_cmd_fixed_param,
  962. WMITLV_TAG_STRUC_wmi_idle_trigger_monitor_cmd_fixed_param,
  963. WMITLV_TAG_STRUC_wmi_stats_interference,
  964. WMITLV_TAG_STRUC_wmi_roam_score_delta_param,
  965. WMITLV_TAG_STRUC_wmi_roam_cnd_min_rssi_param,
  966. WMITLV_TAG_STRUC_wmi_chan_rf_characterization_info,
  967. WMITLV_TAG_STRUC_wmi_wlanfw_iface_cmb_ind_event_fixed_param,
  968. WMITLV_TAG_STRUC_wmi_wlanfw_iface_combination_param,
  969. WMITLV_TAG_STRUC_wmi_wlanfw_iface_limit_param,
  970. WMITLV_TAG_STRUC_wmi_pdev_dsm_filter_fixed_param,
  971. WMITLV_TAG_STRUC_wmi_pdev_bssid_disallow_list_config_param,
  972. WMITLV_TAG_STRUC_wmi_mgmt_hdr,
  973. WMITLV_TAG_STRUC_wmi_muedca_params_config_event_fixed_param,
  974. WMITLV_TAG_STRUC_wmi_twt_btwt_invite_sta_cmd_fixed_param,
  975. WMITLV_TAG_STRUC_wmi_twt_btwt_remove_sta_cmd_fixed_param,
  976. WMITLV_TAG_STRUC_wmi_twt_btwt_invite_sta_complete_event_fixed_param,
  977. WMITLV_TAG_STRUC_wmi_twt_btwt_remove_sta_complete_event_fixed_param,
  978. WMITLV_TAG_STRUC_wmi_vdev_delete_all_peer_cmd_fixed_param,
  979. WMITLV_TAG_STRUC_wmi_vdev_delete_all_peer_resp_event_fixed_param,
  980. WMITLV_TAG_STRUC_wmi_chan_rf_characterization_info_event_fixed_param,
  981. WMITLV_TAG_STRUC_wmi_oem_data_cmd_fixed_param,
  982. WMITLV_TAG_STRUC_wmi_roam_enable_disable_trigger_reason_fixed_param,
  983. WMITLV_TAG_STRUC_wmi_service_ready_ext2_event_fixed_param,
  984. WMITLV_TAG_STRUC_wmi_roam_preauth_status_cmd_fixed_param,
  985. WMITLV_TAG_STRUC_wmi_roam_preauth_start_event_fixed_param,
  986. WMITLV_TAG_STRUC_wmi_set_elna_bypass_cmd_fixed_param,
  987. WMITLV_TAG_STRUC_wmi_get_elna_bypass_cmd_fixed_param,
  988. WMITLV_TAG_STRUC_wmi_get_elna_bypass_event_fixed_param,
  989. WMITLV_TAG_STRUC_wmi_roam_pmkid_request_event_fixed_param,
  990. WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_phase_fixed_param,
  991. WMITLV_TAG_STRUC_wmi_audio_aggr_enable_cmd_fixed_param,
  992. WMITLV_TAG_STRUC_audio_aggr_rate_set,
  993. WMITLV_TAG_STRUC_wmi_audio_aggr_add_group,
  994. WMITLV_TAG_STRUC_wmi_audio_aggr_del_group,
  995. WMITLV_TAG_STRUC_wmi_audio_aggr_set_group_rate,
  996. WMITLV_TAG_STRUC_wmi_audio_aggr_set_group_retry,
  997. WMITLV_TAG_STRUC_wmi_cfr_capture_filter_cmd_fixed_param,
  998. WMITLV_TAG_STRUC_wmi_cfr_filter_group_config,
  999. WMITLV_TAG_STRUC_wmi_fd_tmpl_cmd_fixed_param,
  1000. WMITLV_TAG_STRUC_wmi_vdev_bss_max_idle_time_cmd_fixed_param,
  1001. WMITLV_TAG_STRUC_wmi_atf_ssid_grp_request_fixed_param,
  1002. WMITLV_TAG_STRUC_wmi_atf_group_info,
  1003. WMITLV_TAG_STRUC_wmi_atf_grp_wmm_ac_cfg_request_fixed_param,
  1004. WMITLV_TAG_STRUC_wmi_atf_group_wmm_ac_info,
  1005. WMITLV_TAG_STRUC_wmi_peer_atf_ext_request_fixed_param,
  1006. WMITLV_TAG_STRUC_wmi_peer_atf_ext_info,
  1007. WMITLV_TAG_STRUC_wmi_get_channel_ani_cmd_fixed_param,
  1008. WMITLV_TAG_STRUC_wmi_channel_ani_info_tlv_param,
  1009. WMITLV_TAG_STRUC_wmi_get_channel_ani_event_fixed_param,
  1010. WMITLV_TAG_STRUC_wmi_oem_data_event_fixed_param,
  1011. WMITLV_TAG_STRUC_wmi_peer_config_vlan_cmd_fixed_param,
  1012. WMITLV_TAG_STRUC_wmi_roam_stats_event_fixed_param,
  1013. WMITLV_TAG_STRUC_wmi_roam_trigger_reason_tlv_param,
  1014. WMITLV_TAG_STRUC_wmi_roam_scan_info_tlv_param,
  1015. WMITLV_TAG_STRUC_wmi_roam_scan_channel_info_tlv_param,
  1016. WMITLV_TAG_STRUC_wmi_roam_ap_info_tlv_param,
  1017. WMITLV_TAG_STRUC_wmi_roam_result_tlv_param,
  1018. WMITLV_TAG_STRUC_wmi_roam_neighbor_report_info_tlv_param,
  1019. WMITLV_TAG_STRUC_wmi_roam_neighbor_report_channel_info_tlv_param,
  1020. WMITLV_TAG_STRUC_wmi_set_ocl_cmd_fixed_param,
  1021. WMITLV_TAG_STRUC_wmi_audio_aggr_set_group_auto_rate,
  1022. WMITLV_TAG_STRUC_wmi_audio_aggr_set_group_probe,
  1023. WMITLV_TAG_STRUC_wmi_audio_aggr_update_sta_group_info,
  1024. WMITLV_TAG_STRUC_wmi_audio_sync_trigger_cmd_fixed_param,
  1025. WMITLV_TAG_STRUC_wmi_audio_sync_qtimer_cmd_fixed_param,
  1026. WMITLV_TAG_STRUC_wmi_audio_sync_start_stop_event_fixed_param,
  1027. WMITLV_TAG_STRUC_wmi_audio_sync_q_master_slave_offset_event_fixed_param,
  1028. WMITLV_TAG_STRUC_wmi_audio_sync_q_master_slave_times,
  1029. WMITLV_TAG_STRUC_wmi_roam_frame_info_tlv_param,
  1030. WMITLV_TAG_STRUC_wmi_vdev_set_pcl_cmd_fixed_param,
  1031. WMITLV_TAG_STRUC_wmi_peer_create_conf_event_fixed_param,
  1032. WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_restart_resp_event_fixed_param,
  1033. WMITLV_TAG_STRUC_wmi_roam_get_scan_channel_list_cmd_fixed_param,
  1034. WMITLV_TAG_STRUC_wmi_roam_scan_channel_list_event_fixed_param,
  1035. WMITLV_TAG_STRUC_wmi_vdev_get_big_data_cmd_fixed_param,
  1036. WMITLV_TAG_STRUC_wmi_vdev_send_big_data_event_fixed_param,
  1037. WMITLV_TAG_STRUC_wmi_nan_dmesg_event_fixed_param,
  1038. WMITLV_TAG_STRUC_wmi_frame_inject_cmd_fixed_param,
  1039. WMITLV_TAG_STRUC_wmi_smartant_event_fixed_param,
  1040. WMITLV_TAG_STRUC_wmi_pdev_tbtt_offset_sync_cmd_fixed_param,
  1041. WMITLV_TAG_STRUC_wmi_pdev_rnr_bss_tbtt_info,
  1042. WMITLV_TAG_STRUC_WMI_MAC_PHY_CAPABILITIES_EXT,
  1043. WMITLV_TAG_STRUC_WMI_HAL_REG_CAPABILITIES_EXT2,
  1044. WMITLV_TAG_STRUC_wmi_roam_pmk_cache_synch_tlv_param,
  1045. WMITLV_TAG_STRUC_wmi_mdns_set_staIP_cmd_fixed_param,
  1046. WMITLV_TAG_STRUC_wmi_vdev_get_big_data_p2_cmd_fixed_param,
  1047. WMITLV_TAG_STRUC_wmi_vdev_send_big_data_p2_event_fixed_param,
  1048. WMITLV_TAG_STRUC_wmi_audio_aggr_get_statistics,
  1049. WMITLV_TAG_STRUC_wmi_audio_aggr_reset_statistics,
  1050. WMITLV_TAG_STRUC_wmi_audio_aggr_statistics_event_fixed_param,
  1051. WMITLV_TAG_STRUC_wmi_audio_aggr_group_stats,
  1052. WMITLV_TAG_STRUC_wmi_audio_aggr_peer_stats,
  1053. WMITLV_TAG_STRUC_wmi_ant_controller_cmd_fixed_param,
  1054. WMITLV_TAG_STRUC_wmi_pdev_srg_bss_color_bitmap_cmd_fixed_param,
  1055. WMITLV_TAG_STRUC_wmi_pdev_srg_partial_bssid_bitmap_cmd_fixed_param,
  1056. WMITLV_TAG_STRUC_wmi_simulation_test_cmd_fixed_param,
  1057. WMITLV_TAG_STRUC_wmi_audio_aggr_set_rtscts_config,
  1058. WMITLV_TAG_STRUC_wmi_pdev_sscan_fw_cmd_fixed_param,
  1059. WMITLV_TAG_STRUC_wmi_pdev_sscan_fft_bin_index,
  1060. WMITLV_TAG_STRUC_wmi_pdev_srg_obss_color_enable_bitmap_cmd_fixed_param,
  1061. WMITLV_TAG_STRUC_wmi_pdev_srg_obss_bssid_enable_bitmap_cmd_fixed_param,
  1062. WMITLV_TAG_STRUC_wmi_pdev_non_srg_obss_color_enable_bitmap_cmd_fixed_param,
  1063. WMITLV_TAG_STRUC_wmi_pdev_non_srg_obss_bssid_enable_bitmap_cmd_fixed_param,
  1064. WMITLV_TAG_STRUC_wmi_roam_capability_report_event_fixed_param,
  1065. WMITLV_TAG_STRUC_wmi_pmf_bcn_protect_stats,
  1066. WMITLV_TAG_STRUC_wmi_nan_capabilities,
  1067. WMITLV_TAG_STRUC_wmi_request_ctrl_path_stats_cmd_fixed_param,
  1068. WMITLV_TAG_STRUC_wmi_ctrl_path_stats_event_fixed_param,
  1069. WMITLV_TAG_STRUC_wmi_ctrl_path_pdev_stats_struct,
  1070. WMITLV_TAG_STRUC_wmi_pdev_get_tpc_stats_cmd_fixed_param,
  1071. WMITLV_TAG_STRUC_wmi_pdev_get_tpc_stats_event_fixed_param,
  1072. WMITLV_TAG_STRUC_wmi_tpc_configs,
  1073. WMITLV_TAG_STRUC_wmi_max_reg_power_allowed,
  1074. WMITLV_TAG_STRUC_wmi_tpc_rates_array,
  1075. WMITLV_TAG_STRUC_wmi_tpc_ctl_pwr_table,
  1076. WMITLV_TAG_STRUC_wmi_vdev_bcn_latency_fixed_param,
  1077. WMITLV_TAG_STRUC_wmi_audio_aggr_set_sched_method,
  1078. WMITLV_TAG_STRUC_wmi_audio_aggr_get_sched_method,
  1079. WMITLV_TAG_STRUC_wmi_audio_aggr_sched_method_event_fixed_param,
  1080. WMITLV_TAG_STRUC_wmi_vdev_disconnect_event_fixed_param,
  1081. WMITLV_TAG_STRUC_wmi_roam_btm_response_info_tlv_param,
  1082. WMITLV_TAG_STRUC_wmi_roam_initial_info_tlv_param,
  1083. WMITLV_TAG_STRUC_wmi_pdev_twt_session_stats_event_fixed_param,
  1084. WMITLV_TAG_STRUC_wmi_twt_session_stats_info,
  1085. WMITLV_TAG_STRUC_wmi_configure_roam_trigger_parameters,
  1086. WMITLV_TAG_STRUC_wmi_vdev_extd_stats,
  1087. WMITLV_TAG_STRUC_wmi_twt_add_dialog_additional_params,
  1088. WMITLV_TAG_STRUC_WMI_SCAN_RADIO_CAPABILITIES_EXT2,
  1089. WMITLV_TAG_STRUC_wmi_wfa_config_cmd_fixed_param,
  1090. WMITLV_TAG_STRUC_wmi_wfa_config_rsnxe,
  1091. WMITLV_TAG_STRUC_wmi_wfa_config_csa,
  1092. WMITLV_TAG_STRUC_wmi_wfa_config_ocv,
  1093. WMITLV_TAG_STRUC_wmi_wfa_config_saquery,
  1094. WMITLV_TAG_STRUC_wmi_roam_data_rssi_roaming_param,
  1095. WMITLV_TAG_STRUC_wmi_request_unified_ll_get_sta_cmd_fixed_param,
  1096. WMITLV_TAG_STRUC_wmi_sscan_evt_message_fixed_param,
  1097. WMITLV_TAG_STRUC_wmi_qos_null_frame_tx_send_cmd_fixed_param,
  1098. WMITLV_TAG_STRUC_wmi_qos_null_frame_tx_compl_event_fixed_param,
  1099. WMITLV_TAG_STRUC_wmi_pdev_enable_duration_based_tx_mode_selection_cmd_fixed_param,
  1100. WMITLV_TAG_STRUC_wmi_regulatory_rule_ext_struct,
  1101. WMITLV_TAG_STRUC_wmi_reg_chan_list_cc_event_ext_fixed_param,
  1102. WMITLV_TAG_STRUC_wmi_ctrl_path_mem_stats_struct,
  1103. WMITLV_TAG_STRUC_wmi_twt_nudge_dialog_cmd_fixed_param,
  1104. WMITLV_TAG_STRUC_wmi_twt_nudge_dialog_complete_event_fixed_param,
  1105. WMITLV_TAG_STRUC_wmi_pdev_vendor_event_fixed_param,
  1106. WMITLV_TAG_STRUC_wmi_vendor_pdev_event_fixed_param =
  1107. WMITLV_TAG_STRUC_wmi_pdev_vendor_event_fixed_param,
  1108. WMITLV_TAG_STRUC_wmi_pdev_vendor_cmd_fixed_param,
  1109. WMITLV_TAG_STRUC_wmi_vendor_pdev_cmd_fixed_param =
  1110. WMITLV_TAG_STRUC_wmi_pdev_vendor_cmd_fixed_param,
  1111. WMITLV_TAG_STRUC_wmi_vdev_vendor_event_fixed_param,
  1112. WMITLV_TAG_STRUC_wmi_vendor_vdev_event_fixed_param =
  1113. WMITLV_TAG_STRUC_wmi_vdev_vendor_event_fixed_param,
  1114. WMITLV_TAG_STRUC_wmi_vdev_vendor_cmd_fixed_param,
  1115. WMITLV_TAG_STRUC_wmi_vendor_vdev_cmd_fixed_param =
  1116. WMITLV_TAG_STRUC_wmi_vdev_vendor_cmd_fixed_param,
  1117. WMITLV_TAG_STRUC_wmi_peer_vendor_event_fixed_param,
  1118. WMITLV_TAG_STRUC_wmi_vendor_peer_event_fixed_param =
  1119. WMITLV_TAG_STRUC_wmi_peer_vendor_event_fixed_param,
  1120. WMITLV_TAG_STRUC_wmi_peer_vendor_cmd_fixed_param,
  1121. WMITLV_TAG_STRUC_wmi_vendor_peer_cmd_fixed_param =
  1122. WMITLV_TAG_STRUC_wmi_peer_vendor_cmd_fixed_param,
  1123. WMITLV_TAG_STRUC_wmi_roam_msg_info_tlv_param,
  1124. WMITLV_TAG_STRUC_wmi_vdev_set_tpc_power_cmd_fixed_param,
  1125. WMITLV_TAG_STRUC_wmi_vdev_ch_power_info,
  1126. WMITLV_TAG_STRUC_wmi_vdev_tid_latency_config_fixed_param,
  1127. WMITLV_TAG_STRUC_wmi_vdev_latency_info,
  1128. WMITLV_TAG_STRUC_wmi_peer_tid_latency_config_fixed_param,
  1129. WMITLV_TAG_STRUC_wmi_tid_latency_info,
  1130. WMITLV_TAG_STRUC_wmi_ctrl_path_twt_stats_struct,
  1131. WMITLV_TAG_STRUC_wmi_ctrl_path_calibration_stats_struct,
  1132. WMITLV_TAG_STRUC_wmi_twt_notify_event_fixed_param,
  1133. WMITLV_TAG_STRUC_wmi_mlo_link_set_active_cmd_fixed_param,
  1134. WMITLV_TAG_STRUC_wmi_mlo_link_set_active_resp_event_fixed_param,
  1135. WMITLV_TAG_STRUC_wmi_roam_sae_offload_tlv_param,
  1136. WMITLV_TAG_STRUC_wmi_big_data_dp_stats_tlv_param,
  1137. WMITLV_TAG_STRUC_wmi_pdev_get_dpd_status_cmd_fixed_param,
  1138. WMITLV_TAG_STRUC_wmi_pdev_get_dpd_status_evt_fixed_param,
  1139. WMITLV_TAG_STRUC_wmi_eht_rate_set,
  1140. WMITLV_TAG_STRUC_wmi_dcs_awgn_int_t,
  1141. WMITLV_TAG_STRUC_wmi_mlo_tx_send_params,
  1142. WMITLV_TAG_STRUC_wmi_partner_link_params,
  1143. WMITLV_TAG_STRUC_wmi_peer_assoc_mlo_partner_link_params,
  1144. WMITLV_TAG_STRUC_wmi_mlo_setup_cmd_fixed_param,
  1145. WMITLV_TAG_STRUC_wmi_mlo_setup_complete_event_fixed_param,
  1146. WMITLV_TAG_STRUC_wmi_mlo_ready_cmd_fixed_param,
  1147. WMITLV_TAG_STRUC_wmi_mlo_teardown_fixed_param,
  1148. WMITLV_TAG_STRUC_wmi_mlo_teardown_complete_fixed_param,
  1149. WMITLV_TAG_STRUC_wmi_igmp_offload_fixed_param,
  1150. WMITLV_TAG_STRUC_wmi_pdev_extd_stats,
  1151. WMITLV_TAG_STRUC_wmi_peer_assoc_mlo_params,
  1152. WMITLV_TAG_STRUC_wmi_vdev_smart_monitor_event_fixed_param,
  1153. WMITLV_TAG_STRUC_wmi_mgmt_rx_reo_params,
  1154. WMITLV_TAG_STRUC_wmi_mgmt_rx_fw_consumed_hdr,
  1155. WMITLV_TAG_STRUC_wmi_mgmt_rx_reo_filter_configuration_cmd_fixed_param,
  1156. WMITLV_TAG_STRUC_wmi_peer_create_mlo_params,
  1157. WMITLV_TAG_STRUC_wmi_vdev_start_mlo_params,
  1158. WMITLV_TAG_STRUC_wmi_vdev_create_mlo_params,
  1159. WMITLV_TAG_STRUC_wmi_pdev_set_bios_sar_table_cmd_fixed_param,
  1160. WMITLV_TAG_STRUC_wmi_pdev_set_bios_geo_table_cmd_fixed_param,
  1161. WMITLV_TAG_STRUC_wmi_pdev_get_halphy_cal_status_cmd_fixed_param,
  1162. WMITLV_TAG_STRUC_wmi_pdev_get_halphy_cal_status_evt_fixed_param,
  1163. WMITLV_TAG_STRUC_wmi_pdev_set_halphy_cal_bmap_cmd_fixed_param,
  1164. WMITLV_TAG_STRUC_wmi_pdev_set_halphy_cal_bmap_evt_fixed_param,
  1165. WMITLV_TAG_STRUC_wmi_afc_cmd_fixed_param,
  1166. WMITLV_TAG_STRUC_wmi_afc_event_fixed_param,
  1167. WMITLV_TAG_STRUC_wmi_afc_expiry_event_param,
  1168. WMITLV_TAG_STRUC_wmi_afc_power_event_param,
  1169. WMITLV_TAG_STRUC_wmi_6g_afc_frequency_info,
  1170. WMITLV_TAG_STRUC_wmi_6g_afc_channel_info,
  1171. WMITLV_TAG_STRUC_wmi_afc_chan_eirp_power_info,
  1172. /*
  1173. * The wmi_afc_serv_resp_struct is not used in a WMI message, but is shared
  1174. * directly between host and target. To support backwards-compatible
  1175. * extensions, the struct uses a TLV header, which uses the below tag,
  1176. */
  1177. WMITLV_TAG_STRUC_wmi_afc_serv_resp_struct,
  1178. WMITLV_TAG_STRUC_wmi_bcn_tmpl_ml_params,
  1179. WMITLV_TAG_STRUC_wmi_vdev_bcn_offload_ml_quiet_config_params,
  1180. WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_set_param_cmd_fixed_param,
  1181. WMITLV_TAG_STRUC_wmi_pdev_mec_aging_timer_config_cmd_fixed_param,
  1182. WMITLV_TAG_STRUC_wmi_peer_config_ppe_ds_cmd_fixed_param,
  1183. WMITLV_TAG_STRUC_wmi_ctrl_path_dfs_channel_stats_struct,
  1184. WMITLV_TAG_STRUC_wmi_twt_ack_event_fixed_param,
  1185. WMITLV_TAG_STRUC_wmi_twt_caps_param,
  1186. WMITLV_TAG_STRUC_wmi_vdev_enable_disable_intra_bss_cmd_fixed_param,
  1187. WMITLV_TAG_STRUC_wmi_peer_enable_disable_intra_bss_cmd_fixed_param,
  1188. WMITLV_TAG_STRUC_wmi_pdev_aoa_phasedelta_evt_fixed_param,
  1189. WMITLV_TAG_STRUC_wmi_roam_mlo_config_cmd_fixed_param,
  1190. WMITLV_TAG_STRUC_wmi_roam_ml_setup_links_param,
  1191. WMITLV_TAG_STRUC_wmi_roam_ml_key_material_param,
  1192. WMITLV_TAG_STRUC_wmi_roam_cnd_vendor_scoring_param,
  1193. WMITLV_TAG_STRUC_wmi_owe_ap_profile,
  1194. WMITLV_TAG_STRUC_wmi_roam_btm_request_candidate_info_tlv_param,
  1195. WMITLV_TAG_STRUC_wmi_thermal_stats_cmd_fixed_param,
  1196. WMITLV_TAG_STRUC_wmi_thermal_throt_temp_range_stats,
  1197. WMITLV_TAG_STRUC_wmi_ctrl_path_awgn_stats_struct,
  1198. WMITLV_TAG_STRUC_wmi_htt_msdu_idx_to_htt_msdu_qtype,
  1199. WMITLV_TAG_STRUC_wmi_pdev_set_bios_interface_cmd_fixed_param,
  1200. WMITLV_TAG_STRUC_wmi_vdev_set_mu_snif_cmd_param,
  1201. WMITLV_TAG_STRUC_wmi_ctrl_path_btcoex_stats_struct,
  1202. WMITLV_TAG_STRUC_wmi_icmp_offload_fixed_param,
  1203. WMITLV_TAG_STRUC_WMI_IPV6_ADDR,
  1204. WMITLV_TAG_STRUC_wmi_dbs_or_sbs_cap_ext,
  1205. WMITLV_TAG_STRUC_wmi_roam_set_param_cmd_fixed_param,
  1206. WMITLV_TAG_STRUC_cust_bdf_version_capabilities,
  1207. WMITLV_TAG_STRUC_wmi_pdev_fips_extend_cmd_fixed_param,
  1208. WMITLV_TAG_STRUC_wmi_fips_extend_cmd_init_params,
  1209. WMITLV_TAG_STRUC_wmi_pdev_fips_extend_event_fixed_param,
  1210. WMITLV_TAG_STRUC_wmi_pdev_fips_mode_set_cmd_fixed_param,
  1211. WMITLV_TAG_STRUC_wmi_vdev_update_mac_addr_cmd_fixed_param,
  1212. WMITLV_TAG_STRUC_wmi_vdev_update_mac_addr_conf_event_fixed_param,
  1213. WMITLV_TAG_STRUC_wmi_mlo_set_active_link_number_param,
  1214. WMITLV_TAG_STRUC_wmi_sawf_svc_class_cfg_cmd_fixed_param,
  1215. WMITLV_TAG_STRUC_wmi_sawf_svc_class_disable_cmd_fixed_param,
  1216. WMITLV_TAG_STRUC_wmi_roam_frame_event_fixed_param,
  1217. WMITLV_TAG_STRUC_wmi_debug_mesg_fw_cal_failure_param,
  1218. WMITLV_TAG_STRUC_wmi_quiet_event_fixed_param,
  1219. WMITLV_TAG_STRUC_wmi_ctrl_path_bmiss_stats_struct,
  1220. WMITLV_TAG_STRUC_wmi_resmgr_chan_time_quota_changed_event_fixed_param,
  1221. WMITLV_TAG_STRUC_wmi_resmgr_chan_time_quota_tlv,
  1222. WMITLV_TAG_STRUC_wmi_sw_cal_ver_cap,
  1223. WMITLV_TAG_STRUC_wmi_soc_tqm_reset_enable_disable_cmd_fixed_param,
  1224. WMITLV_TAG_STRUC_wmi_pdev_pktlog_decode_info_evt_fixed_param,
  1225. WMITLV_TAG_STRUC_wmi_spectral_scan_bw_capabilities,
  1226. WMITLV_TAG_STRUC_wmi_spectral_fft_size_capabilities,
  1227. WMITLV_TAG_STRUC_wmi_pdev_sscan_chan_info,
  1228. WMITLV_TAG_STRUC_wmi_pdev_sscan_per_detector_info,
  1229. WMITLV_TAG_STRUC_wmi_ctrl_path_odd_addr_read_struct,
  1230. WMITLV_TAG_STRUC_wmi_vdev_multiple_peer_group_cmd_fixed_param,
  1231. WMITLV_TAG_STRUC_wmi_vdev_set_ltf_key_seed_cmd_fixed_param,
  1232. WMITLV_TAG_STRUC_wmi_rtt_pasn_peer_create_req_event_fixed_param,
  1233. WMITLV_TAG_STRUC_wmi_rtt_pasn_peer_create_req_param,
  1234. WMITLV_TAG_STRUC_wmi_rtt_pasn_auth_status_cmd_fixed_param,
  1235. WMITLV_TAG_STRUC_wmi_rtt_pasn_auth_status_param,
  1236. WMITLV_TAG_STRUC_wmi_rtt_pasn_peer_delete_event_fixed_param,
  1237. WMITLV_TAG_STRUC_wmi_rtt_pasn_peer_delete_param,
  1238. WMITLV_TAG_STRUC_wmi_rtt_pasn_deauth_cmd_fixed_param,
  1239. WMITLV_TAG_STRUC_wmi_tx_send_params_ext,
  1240. WMITLV_TAG_STRUC_wmi_mgmt_rx_params_ext,
  1241. WMITLV_TAG_STRUC_wmi_partner_link_stats,
  1242. WMITLV_TAG_STRUC_wmi_regulatory_chan_priority_struct,
  1243. WMITLV_TAG_STRUC_wmi_rssi_dbm_conversion_fixed_param,
  1244. WMITLV_TAG_STRUC_wmi_rssi_dbm_conversion_params_info,
  1245. WMITLV_TAG_STRUC_wmi_rssi_dbm_conversion_temp_offset_info,
  1246. WMITLV_TAG_STRUC_wmi_ctrl_path_afc_stats_struct,
  1247. WMITLV_TAG_STRUC_wmi_frame_pn_params,
  1248. WMITLV_TAG_STRUC_wmi_peer_rx_pn_request_cmd_fixed_param,
  1249. WMITLV_TAG_STRUC_wmi_peer_rx_pn_response_event_fixed_param,
  1250. WMITLV_TAG_STRUC_wmi_vdev_pn_mgmt_rx_filter_cmd_fixed_param,
  1251. WMITLV_TAG_STRUC_wmi_set_multiple_pdev_vdev_param_cmd_fixed_param,
  1252. WMITLV_TAG_STRUC_wmi_set_param_info,
  1253. WMITLV_TAG_STRUC_wmi_pmm_scratch_reg_allocation_cmd_fixed_param,
  1254. WMITLV_TAG_STRUC_wmi_pmm_scratch_reg_info,
  1255. WMITLV_TAG_STRUC_wmi_pmm_available_scratch_reg_event_fixed_param,
  1256. WMITLV_TAG_STRUC_wmi_pmm_available_scratch_reg_info,
  1257. WMITLV_TAG_STRUC_wmi_pmm_scratch_reg_allocation_complete_event_fixed_param,
  1258. WMITLV_TAG_STRUC_wmi_bcn_tmpl_ml_info,
  1259. WMITLV_TAG_STRUC_wmi_peer_tx_filter_cmd_fixed_param,
  1260. WMITLV_TAG_STRUC_wmi_pdev_telemetry_stats,
  1261. WMITLV_TAG_STRUC_wmi_mgmt_ml_info,
  1262. WMITLV_TAG_STRUC_wmi_vdev_latency_event_fixed_param,
  1263. WMITLV_TAG_STRUC_wmi_tid_to_link_map,
  1264. WMITLV_TAG_STRUC_wmi_peer_tid_to_link_map_fixed_param,
  1265. WMITLV_TAG_STRUC_wmi_peer_assoc_tid_to_link_map,
  1266. WMITLV_TAG_STRUC_wmi_peer_delete_mlo_params,
  1267. WMITLV_TAG_STRUC_wmi_roam_enable_vendor_control_cmd_fixed_param,
  1268. WMITLV_TAG_STRUC_wmi_roam_get_vendor_control_param_cmd_fixed_param,
  1269. WMITLV_TAG_STRUC_wmi_roam_get_vendor_control_param_event_fixed_param,
  1270. WMITLV_TAG_STRUC_wmi_request_halphy_ctrl_path_stats_cmd_fixed_param,
  1271. WMITLV_TAG_STRUC_wmi_halphy_ctrl_path_stats_event_fixed_param,
  1272. WMITLV_TAG_STRUC_wmi_peer_flush_policy_cmd_fixed_param,
  1273. WMITLV_TAG_STRUC_WMI_WOW_COAP_ADD_PATTERN_CMD_fixed_param,
  1274. WMITLV_TAG_STRUC_WMI_WOW_COAP_DEL_PATTERN_CMD_fixed_param,
  1275. WMITLV_TAG_STRUC_WMI_WOW_COAP_ADD_KEEPALIVE_PATTERN_CMD_fixed_param,
  1276. WMITLV_TAG_STRUC_WMI_WOW_COAP_DEL_KEEPALIVE_PATTERN_CMD_fixed_param,
  1277. WMITLV_TAG_STRUC_WMI_WOW_COAP_GET_BUF_INFO_CMD_fixed_param,
  1278. WMITLV_TAG_STRUC_WMI_WOW_COAP_BUF_INFO_EVENT_fixed_param,
  1279. WMITLV_TAG_STRUC_wmi_coap_tuple,
  1280. WMITLV_TAG_STRUC_wmi_iface_powersave_stats,
  1281. WMITLV_TAG_STRUC_wmi_roam_bss_info_param,
  1282. WMITLV_TAG_STRUC_wmi_vendor_control_param,
  1283. WMITLV_TAG_STRUC_wmi_coex_dbam_cmd_fixed_param,
  1284. WMITLV_TAG_STRUC_wmi_coex_dbam_complete_event_fixed_param,
  1285. WMITLV_TAG_STRUC_wmi_is_my_mgmt_frame,
  1286. WMITLV_TAG_STRUC_wmi_health_mon_init_done_fixed_param,
  1287. WMITLV_TAG_STRUC_wmi_ipa_link_stats_event_fixed_param,
  1288. WMITLV_TAG_STRUC_wmi_ipa_link_stats,
  1289. WMITLV_TAG_STRUC_wmi_ipa_per_mac_stats,
  1290. WMITLV_TAG_STRUC_wmi_pdev_featureset_cmd_fixed_param,
  1291. WMITLV_TAG_STRUC_wmi_regulatory_fcc_rule_struct,
  1292. WMITLV_TAG_STRUC_wmi_vdev_param_enable_sr_prohibit_fixed_param,
  1293. WMITLV_TAG_STRUC_wmi_pdev_sched_tidq_susp_info_event_fixed_param,
  1294. WMITLV_TAG_STRUC_wmi_xgap_enable_cmd_fixed_param,
  1295. WMITLV_TAG_STRUC_wmi_xgap_enable_complete_event_fixed_param,
  1296. WMITLV_TAG_STRUC_wmi_pdev_mesh_rx_filter_enable_fixed_param,
  1297. WMITLV_TAG_STRUC_wmi_wfa_config_ofdma,
  1298. WMITLV_TAG_STRUC_wmi_livedump_request_cmd_fixed_param,
  1299. WMITLV_TAG_STRUC_wmi_livedump_response_event_fixed_param,
  1300. WMITLV_TAG_STRUC_wmi_prb_resp_tmpl_ml_info,
  1301. WMITLV_TAG_STRUC_wmi_mlo_link_removal_tbtt_count,
  1302. WMITLV_TAG_STRUC_wmi_mlo_link_removal_tbtt_update,
  1303. WMITLV_TAG_STRUC_wmi_mlo_link_removal_evt_fixed_param,
  1304. WMITLV_TAG_STRUC_wmi_mlo_link_removal_cmd_fixed_param,
  1305. WMITLV_TAG_STRUC_wmi_roam_trigger_reason_cmm_tlv_param,
  1306. WMITLV_TAG_STRUC_wmi_roam_trigger_rssi_tlv_param,
  1307. WMITLV_TAG_STRUC_wmi_roam_trigger_bss_load_tlv_param,
  1308. WMITLV_TAG_STRUC_wmi_roam_trigger_deauth_tlv_param,
  1309. WMITLV_TAG_STRUC_wmi_roam_trigger_btm_tlv_param,
  1310. WMITLV_TAG_STRUC_wmi_roam_trigger_bmiss_tlv_param,
  1311. WMITLV_TAG_STRUC_wmi_roam_trigger_dense_tlv_param,
  1312. WMITLV_TAG_STRUC_wmi_roam_trigger_force_tlv_param,
  1313. WMITLV_TAG_STRUC_wmi_roam_trigger_kickout_tlv_param,
  1314. WMITLV_TAG_STRUC_wmi_roam_trigger_per_tlv_param,
  1315. WMITLV_TAG_STRUC_wmi_roam_trigger_periodic_tlv_param,
  1316. WMITLV_TAG_STRUC_wmi_roam_trigger_hi_rssi_tlv_param,
  1317. WMITLV_TAG_STRUC_wmi_mlo_bcast_t2lm_info,
  1318. WMITLV_TAG_STRUC_wmi_mlo_ap_vdev_tid_to_link_map_cmd_fixed_param,
  1319. WMITLV_TAG_STRUC_wmi_mlo_ap_vdev_tid_to_link_map_evt_fixed_param,
  1320. WMITLV_TAG_STRUC_wmi_mlo_ap_vdev_tid_to_link_map_ie_info,
  1321. WMITLV_TAG_STRUC_wmi_vdev_set_twt_edca_params_cmd_fixed_param,
  1322. WMITLV_TAG_STRUC_wmi_pifs_params,
  1323. WMITLV_TAG_STRUC_wmi_tas_power_history_cmd_fixed_param,
  1324. WMITLV_TAG_STRUC_wmi_tas_power_history_event_fixed_param,
  1325. WMITLV_TAG_STRUC_wmi_ctrl_path_pmlo_stats_struct,
  1326. WMITLV_TAG_STRUC_wmi_ctrl_path_cfr_stats_struct,
  1327. WMITLV_TAG_STRUC_WMI_COEX_FIX_CHANNEL_CAPABILITIES,
  1328. WMITLV_TAG_STRUC_wmi_peer_sched_mode_disable_fixed_param,
  1329. WMITLV_TAG_STRUC_wmi_per_peer_sched_mode_disable,
  1330. WMITLV_TAG_STRUC_wmi_esl_egid_cmd_fixed_param,
  1331. WMITLV_TAG_STRUC_wmi_tdma_schedule_request_cmd_fixed_param,
  1332. WMITLV_TAG_STRUC_wmi_hpa_cmd_fixed_param,
  1333. WMITLV_TAG_STRUC_wmi_hpa_evt_fixed_param,
  1334. WMITLV_TAG_STRUC_wmi_pdev_set_tgtr2p_table_cmd_fixed_param,
  1335. WMITLV_TAG_STRUC_wmi_pdev_set_tgtr2p_table_event_fixed_param,
  1336. WMITLV_TAG_STRUC_wmi_peer_bulk_set_cmd_fixed_param,
  1337. WMITLV_TAG_STRUC_wmi_peer_preferred_link_map,
  1338. WMITLV_TAG_STRUC_wmi_scan_blanking_params_info,
  1339. WMITLV_TAG_STRUC_wmi_peer_list,
  1340. WMITLV_TAG_STRUC_wmi_ctrl_path_t2lm_stats_struct,
  1341. WMITLV_TAG_STRUC_wmi_mlo_vdev_get_link_info_cmd_fixed_param,
  1342. WMITLV_TAG_STRUC_wmi_mlo_vdev_link_info_event_fixed_param,
  1343. WMITLV_TAG_STRUC_wmi_mlo_vdev_link_info,
  1344. WMITLV_TAG_STRUC_wmi_vdev_set_manual_su_trig_cmd_fixed_param,
  1345. WMITLV_TAG_STRUC_wmi_vdev_set_manual_mu_trig_cmd_fixed_param,
  1346. WMITLV_TAG_STRUC_wmi_manual_ul_ofdma_trig_feedback_evt_fixed_param,
  1347. WMITLV_TAG_STRUC_wmi_mlo_peer_link_control_param,
  1348. WMITLV_TAG_STRUC_wmi_dma_buf_release_cv_upload_meta_data,
  1349. WMITLV_TAG_STRUC_wmi_standalone_sounding_cmd_fixed_param,
  1350. WMITLV_TAG_STRUC_wmi_standalone_sounding_evt_fixed_param,
  1351. WMITLV_TAG_STRUC_wmi_ctrl_path_blanking_stats_struct,
  1352. WMITLV_TAG_STRUC_wmi_pdev_set_rf_path_cmd_fixed_param,
  1353. WMITLV_TAG_STRUC_wmi_manual_ul_ofdma_trig_rx_peer_userinfo,
  1354. WMITLV_TAG_STRUC_wmi_manual_ul_ofdma_trig_rx_peer_userinfo_evt_fixed_param,
  1355. WMITLV_TAG_STRUC_wmi_cca_busy_subband_info,
  1356. WMITLV_TAG_STRUC_wmi_mlo_link_disable_request_event_fixed_param,
  1357. WMITLV_TAG_STRUC_wmi_ctrl_path_peer_stats_struct,
  1358. WMITLV_TAG_STRUC_wmi_vdev_pause_cmd_fixed_param,
  1359. WMITLV_TAG_STRUC_wmi_gpio_state_req_cmd_fixed_param,
  1360. WMITLV_TAG_STRUC_wmi_gpio_state_res_event_fixed_param,
  1361. } WMITLV_TAG_ID;
  1362. /*
  1363. * IMPORTANT: Please add _ALL_ WMI Commands Here.
  1364. * Otherwise, these WMI TLV Functions will be process them.
  1365. */
  1366. #define WMITLV_ALL_CMD_LIST(OP) \
  1367. OP(WMI_INIT_CMDID) \
  1368. OP(WMI_PEER_CREATE_CMDID) \
  1369. OP(WMI_PEER_DELETE_CMDID) \
  1370. OP(WMI_PEER_FLUSH_TIDS_CMDID) \
  1371. OP(WMI_PEER_SET_PARAM_CMDID) \
  1372. OP(WMI_STA_POWERSAVE_MODE_CMDID) \
  1373. OP(WMI_STA_POWERSAVE_PARAM_CMDID) \
  1374. OP(WMI_STA_TDCC_CONFIG_CMDID) \
  1375. OP(WMI_STA_DTIM_PS_METHOD_CMDID) \
  1376. OP(WMI_PDEV_SET_REGDOMAIN_CMDID) \
  1377. OP(WMI_PEER_TID_ADDBA_CMDID) \
  1378. OP(WMI_PEER_TID_DELBA_CMDID) \
  1379. OP(WMI_PDEV_FTM_INTG_CMDID) \
  1380. OP(WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID) \
  1381. OP(WMI_WOW_ENABLE_CMDID) \
  1382. OP(WMI_RMV_BCN_FILTER_CMDID) \
  1383. OP(WMI_ROAM_SCAN_MODE) \
  1384. OP(WMI_ROAM_SCAN_RSSI_THRESHOLD) \
  1385. OP(WMI_ROAM_SCAN_PERIOD) \
  1386. OP(WMI_ROAM_SCAN_RSSI_CHANGE_THRESHOLD) \
  1387. OP(WMI_START_SCAN_CMDID) \
  1388. OP(WMI_VDEV_PLMREQ_START_CMDID) \
  1389. OP(WMI_VDEV_PLMREQ_STOP_CMDID) \
  1390. OP(WMI_PDEV_SET_CHANNEL_CMDID) \
  1391. OP(WMI_PDEV_SET_WMM_PARAMS_CMDID) \
  1392. OP(WMI_VDEV_START_REQUEST_CMDID) \
  1393. OP(WMI_VDEV_RESTART_REQUEST_CMDID) \
  1394. OP(WMI_P2P_GO_SET_BEACON_IE) \
  1395. OP(WMI_GTK_OFFLOAD_CMDID) \
  1396. OP(WMI_SCAN_CHAN_LIST_CMDID) \
  1397. OP(WMI_STA_UAPSD_AUTO_TRIG_CMDID) \
  1398. OP(WMI_PRB_TMPL_CMDID) \
  1399. OP(WMI_BCN_TMPL_CMDID) \
  1400. OP(WMI_VDEV_INSTALL_KEY_CMDID) \
  1401. OP(WMI_PEER_ASSOC_CMDID) \
  1402. OP(WMI_ADD_BCN_FILTER_CMDID) \
  1403. OP(WMI_STA_KEEPALIVE_CMDID) \
  1404. OP(WMI_SET_ARP_NS_OFFLOAD_CMDID) \
  1405. OP(WMI_P2P_SET_VENDOR_IE_DATA_CMDID) \
  1406. OP(WMI_AP_PS_PEER_PARAM_CMDID) \
  1407. OP(WMI_WLAN_PROFILE_TRIGGER_CMDID) \
  1408. OP(WMI_WLAN_PROFILE_SET_HIST_INTVL_CMDID) \
  1409. OP(WMI_WLAN_PROFILE_GET_PROFILE_DATA_CMDID) \
  1410. OP(WMI_WLAN_PROFILE_ENABLE_PROFILE_ID_CMDID) \
  1411. OP(WMI_WOW_DEL_WAKE_PATTERN_CMDID) \
  1412. OP(WMI_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID) \
  1413. OP(WMI_RTT_MEASREQ_CMDID) \
  1414. OP(WMI_RTT_TSF_CMDID) \
  1415. OP(WMI_OEM_REQ_CMDID) \
  1416. OP(WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID) \
  1417. OP(WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID) \
  1418. OP(WMI_REQUEST_STATS_CMDID) \
  1419. OP(WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID) \
  1420. OP(WMI_CSA_OFFLOAD_ENABLE_CMDID) \
  1421. OP(WMI_CSA_OFFLOAD_CHANSWITCH_CMDID) \
  1422. OP(WMI_CHATTER_SET_MODE_CMDID) \
  1423. OP(WMI_ECHO_CMDID) \
  1424. OP(WMI_PDEV_UTF_CMDID) \
  1425. OP(WMI_PDEV_QVIT_CMDID) \
  1426. OP(WMI_VDEV_SET_KEEPALIVE_CMDID) \
  1427. OP(WMI_VDEV_GET_KEEPALIVE_CMDID) \
  1428. OP(WMI_FORCE_FW_HANG_CMDID) \
  1429. OP(WMI_GPIO_CONFIG_CMDID) \
  1430. OP(WMI_GPIO_OUTPUT_CMDID) \
  1431. OP(WMI_PEER_ADD_WDS_ENTRY_CMDID) \
  1432. OP(WMI_PEER_REMOVE_WDS_ENTRY_CMDID) \
  1433. OP(WMI_BCN_TX_CMDID) \
  1434. OP(WMI_PDEV_SEND_BCN_CMDID) \
  1435. OP(WMI_MGMT_TX_CMDID) \
  1436. OP(WMI_ADDBA_CLEAR_RESP_CMDID) \
  1437. OP(WMI_ADDBA_SEND_CMDID) \
  1438. OP(WMI_DELBA_SEND_CMDID) \
  1439. OP(WMI_ADDBA_SET_RESP_CMDID) \
  1440. OP(WMI_SEND_SINGLEAMSDU_CMDID) \
  1441. OP(WMI_PDEV_PKTLOG_ENABLE_CMDID) \
  1442. OP(WMI_PDEV_PKTLOG_DISABLE_CMDID) \
  1443. OP(WMI_PDEV_SET_HT_CAP_IE_CMDID) \
  1444. OP(WMI_PDEV_SET_VHT_CAP_IE_CMDID) \
  1445. OP(WMI_PDEV_SET_DSCP_TID_MAP_CMDID) \
  1446. OP(WMI_PDEV_GREEN_AP_PS_ENABLE_CMDID) \
  1447. OP(WMI_PDEV_GET_TPC_CONFIG_CMDID) \
  1448. OP(WMI_PDEV_SET_BASE_MACADDR_CMDID) \
  1449. OP(WMI_PEER_MCAST_GROUP_CMDID) \
  1450. OP(WMI_ROAM_AP_PROFILE) \
  1451. OP(WMI_SCAN_SCH_PRIO_TBL_CMDID) \
  1452. OP(WMI_PDEV_DFS_ENABLE_CMDID) \
  1453. OP(WMI_PDEV_DFS_DISABLE_CMDID) \
  1454. OP(WMI_WOW_ADD_WAKE_PATTERN_CMDID) \
  1455. OP(WMI_PDEV_SUSPEND_CMDID) \
  1456. OP(WMI_PDEV_RESUME_CMDID) \
  1457. OP(WMI_STOP_SCAN_CMDID) \
  1458. OP(WMI_PDEV_SET_PARAM_CMDID) \
  1459. OP(WMI_PDEV_SET_QUIET_MODE_CMDID) \
  1460. OP(WMI_VDEV_CREATE_CMDID) \
  1461. OP(WMI_VDEV_DELETE_CMDID) \
  1462. OP(WMI_VDEV_UP_CMDID) \
  1463. OP(WMI_VDEV_STOP_CMDID) \
  1464. OP(WMI_VDEV_DOWN_CMDID) \
  1465. OP(WMI_VDEV_SET_PARAM_CMDID) \
  1466. OP(WMI_SCAN_UPDATE_REQUEST_CMDID) \
  1467. OP(WMI_CHATTER_ADD_COALESCING_FILTER_CMDID) \
  1468. OP(WMI_CHATTER_DELETE_COALESCING_FILTER_CMDID) \
  1469. OP(WMI_CHATTER_COALESCING_QUERY_CMDID) \
  1470. OP(WMI_TXBF_CMDID) \
  1471. OP(WMI_DBGLOG_CFG_CMDID) \
  1472. OP(WMI_VDEV_WNM_SLEEPMODE_CMDID) \
  1473. OP(WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMDID) \
  1474. OP(WMI_VDEV_WMM_ADDTS_CMDID) \
  1475. OP(WMI_VDEV_WMM_DELTS_CMDID) \
  1476. OP(WMI_VDEV_SET_WMM_PARAMS_CMDID) \
  1477. OP(WMI_VDEV_SET_GTX_PARAMS_CMDID) \
  1478. OP(WMI_TDLS_SET_STATE_CMDID) \
  1479. OP(WMI_TDLS_PEER_UPDATE_CMDID) \
  1480. OP(WMI_FWTEST_VDEV_MCC_SET_TBTT_MODE_CMDID) \
  1481. OP(WMI_ROAM_CHAN_LIST) \
  1482. OP(WMI_RESMGR_ADAPTIVE_OCS_ENABLE_DISABLE_CMDID)\
  1483. OP(WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID) \
  1484. OP(WMI_RESMGR_SET_CHAN_LATENCY_CMDID) \
  1485. OP(WMI_BA_REQ_SSN_CMDID) \
  1486. OP(WMI_STA_SMPS_FORCE_MODE_CMDID) \
  1487. OP(WMI_SET_MCASTBCAST_FILTER_CMDID) \
  1488. OP(WMI_P2P_SET_OPPPS_PARAM_CMDID) \
  1489. OP(WMI_FWTEST_P2P_SET_NOA_PARAM_CMDID) \
  1490. OP(WMI_STA_SMPS_PARAM_CMDID) \
  1491. OP(WMI_MCC_SCHED_TRAFFIC_STATS_CMDID) \
  1492. OP(WMI_HB_SET_ENABLE_CMDID) \
  1493. OP(WMI_HB_SET_TCP_PARAMS_CMDID) \
  1494. OP(WMI_HB_SET_TCP_PKT_FILTER_CMDID) \
  1495. OP(WMI_HB_SET_UDP_PARAMS_CMDID) \
  1496. OP(WMI_HB_SET_UDP_PKT_FILTER_CMDID) \
  1497. OP(WMI_PEER_INFO_REQ_CMDID) \
  1498. OP(WMI_RMC_SET_MODE_CMDID) \
  1499. OP(WMI_RMC_SET_ACTION_PERIOD_CMDID) \
  1500. OP(WMI_RMC_CONFIG_CMDID) \
  1501. OP(WMI_MHF_OFFLOAD_SET_MODE_CMDID) \
  1502. OP(WMI_MHF_OFFLOAD_PLUMB_ROUTING_TBL_CMDID) \
  1503. OP(WMI_DFS_PHYERR_FILTER_ENA_CMDID) \
  1504. OP(WMI_DFS_PHYERR_FILTER_DIS_CMDID) \
  1505. OP(WMI_BATCH_SCAN_ENABLE_CMDID) \
  1506. OP(WMI_BATCH_SCAN_DISABLE_CMDID) \
  1507. OP(WMI_BATCH_SCAN_TRIGGER_RESULT_CMDID)\
  1508. OP(WMI_THERMAL_MGMT_CMDID)\
  1509. OP(WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMDID)\
  1510. OP(WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMDID) \
  1511. OP(WMI_NAN_CMDID) \
  1512. OP(WMI_MODEM_POWER_STATE_CMDID) \
  1513. OP(WMI_PEER_GET_ESTIMATED_LINKSPEED_CMDID) \
  1514. OP(WMI_ROAM_SCAN_CMD) \
  1515. OP(WMI_REQUEST_STATS_EXT_CMDID) \
  1516. OP(WMI_OBSS_SCAN_ENABLE_CMDID) \
  1517. OP(WMI_OBSS_SCAN_DISABLE_CMDID) \
  1518. OP(WMI_PDEV_SET_LED_CONFIG_CMDID) \
  1519. OP(WMI_HOST_AUTO_SHUTDOWN_CFG_CMDID) \
  1520. OP(WMI_TPC_CHAINMASK_CONFIG_CMDID) \
  1521. OP(WMI_CHAN_AVOID_UPDATE_CMDID) \
  1522. OP(WMI_WOW_IOAC_ADD_KEEPALIVE_CMDID) \
  1523. OP(WMI_WOW_IOAC_DEL_KEEPALIVE_CMDID) \
  1524. OP(WMI_WOW_IOAC_ADD_WAKE_PATTERN_CMDID) \
  1525. OP(WMI_WOW_IOAC_DEL_WAKE_PATTERN_CMDID) \
  1526. OP(WMI_REQUEST_LINK_STATS_CMDID) \
  1527. OP(WMI_START_LINK_STATS_CMDID) \
  1528. OP(WMI_CLEAR_LINK_STATS_CMDID) \
  1529. OP(WMI_LPI_MGMT_SNOOPING_CONFIG_CMDID) \
  1530. OP(WMI_LPI_START_SCAN_CMDID) \
  1531. OP(WMI_LPI_STOP_SCAN_CMDID) \
  1532. OP(WMI_EXTSCAN_START_CMDID) \
  1533. OP(WMI_EXTSCAN_STOP_CMDID) \
  1534. OP(WMI_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMDID) \
  1535. OP(WMI_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMDID) \
  1536. OP(WMI_EXTSCAN_GET_CACHED_RESULTS_CMDID) \
  1537. OP(WMI_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMDID) \
  1538. OP(WMI_EXTSCAN_SET_CAPABILITIES_CMDID) \
  1539. OP(WMI_EXTSCAN_GET_CAPABILITIES_CMDID) \
  1540. OP(WMI_EXTSCAN_CONFIGURE_HOTLIST_SSID_MONITOR_CMDID) \
  1541. OP(WMI_D0_WOW_ENABLE_DISABLE_CMDID) \
  1542. OP(WMI_UNIT_TEST_CMDID) \
  1543. OP(WMI_ROAM_SYNCH_COMPLETE) \
  1544. OP(WMI_EXTWOW_ENABLE_CMDID) \
  1545. OP(WMI_EXTWOW_SET_APP_TYPE1_PARAMS_CMDID) \
  1546. OP(WMI_EXTWOW_SET_APP_TYPE2_PARAMS_CMDID) \
  1547. OP(WMI_ROAM_SET_RIC_REQUEST_CMDID) \
  1548. OP(WMI_PDEV_GET_TEMPERATURE_CMDID) \
  1549. OP(WMI_SET_DHCP_SERVER_OFFLOAD_CMDID) \
  1550. OP(WMI_IPA_OFFLOAD_ENABLE_DISABLE_CMDID)\
  1551. OP(WMI_SCAN_PROB_REQ_OUI_CMDID) \
  1552. OP(WMI_TDLS_SET_OFFCHAN_MODE_CMDID)\
  1553. OP(WMI_PDEV_SET_LED_FLASHING_CMDID) \
  1554. OP(WMI_ROAM_INVOKE_CMDID) \
  1555. OP(WMI_MDNS_OFFLOAD_ENABLE_CMDID) \
  1556. OP(WMI_MDNS_SET_FQDN_CMDID) \
  1557. OP(WMI_MDNS_SET_RESPONSE_CMDID) \
  1558. OP(WMI_MDNS_GET_STATS_CMDID) \
  1559. OP(WMI_MDNS_SET_STAIP_CMDID) \
  1560. OP(WMI_SET_ANTENNA_DIVERSITY_CMDID) \
  1561. OP(WMI_SAP_OFL_ENABLE_CMDID) \
  1562. OP(WMI_APFIND_CMDID) \
  1563. OP(WMI_OCB_SET_SCHED_CMDID) \
  1564. OP(WMI_OCB_SET_CONFIG_CMDID) \
  1565. OP(WMI_OCB_SET_UTC_TIME_CMDID) \
  1566. OP(WMI_OCB_START_TIMING_ADVERT_CMDID) \
  1567. OP(WMI_OCB_STOP_TIMING_ADVERT_CMDID) \
  1568. OP(WMI_OCB_GET_TSF_TIMER_CMDID) \
  1569. OP(WMI_DCC_GET_STATS_CMDID) \
  1570. OP(WMI_DCC_CLEAR_STATS_CMDID) \
  1571. OP(WMI_DCC_UPDATE_NDL_CMDID) \
  1572. OP(WMI_ROAM_FILTER_CMDID) \
  1573. OP(WMI_PASSPOINT_LIST_CONFIG_CMDID) \
  1574. OP(WMI_VDEV_TSF_TSTAMP_ACTION_CMDID) \
  1575. OP(WMI_GET_FW_MEM_DUMP_CMDID) \
  1576. OP(WMI_DEBUG_MESG_FLUSH_CMDID) \
  1577. OP(WMI_PEER_SET_RATE_REPORT_CONDITION_CMDID) \
  1578. OP(WMI_ROAM_SUBNET_CHANGE_CONFIG_CMDID) \
  1579. OP(WMI_VDEV_SET_IE_CMDID) \
  1580. OP(WMI_RSSI_BREACH_MONITOR_CONFIG_CMDID) \
  1581. OP(WMI_SOC_SET_PCL_CMDID) \
  1582. OP(WMI_SOC_SET_HW_MODE_CMDID) \
  1583. OP(WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID) \
  1584. OP(WMI_WOW_ENABLE_ICMPV6_NA_FLT_CMDID) \
  1585. OP(WMI_DIAG_EVENT_LOG_CONFIG_CMDID) \
  1586. OP(WMI_PACKET_FILTER_CONFIG_CMDID) \
  1587. OP(WMI_PACKET_FILTER_ENABLE_CMDID) \
  1588. OP(WMI_SAP_SET_BLACKLIST_PARAM_CMDID) \
  1589. OP(WMI_MGMT_TX_SEND_CMDID) \
  1590. OP(WMI_SOC_SET_ANTENNA_MODE_CMDID) \
  1591. OP(WMI_WOW_UDP_SVC_OFLD_CMDID) \
  1592. OP(WMI_LRO_CONFIG_CMDID) \
  1593. OP(WMI_MAWC_SENSOR_REPORT_IND_CMDID) \
  1594. OP(WMI_ROAM_CONFIGURE_MAWC_CMDID) \
  1595. OP(WMI_NLO_CONFIGURE_MAWC_CMDID) \
  1596. OP(WMI_EXTSCAN_CONFIGURE_MAWC_CMDID) \
  1597. OP(WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMDID) \
  1598. OP(WMI_AP_PS_EGAP_PARAM_CMDID) \
  1599. OP(WMI_PMF_OFFLOAD_SET_SA_QUERY_CMDID) \
  1600. OP(WMI_TRANSFER_DATA_TO_FLASH_CMDID) \
  1601. OP(WMI_OEM_REQUEST_CMDID) \
  1602. OP(WMI_BPF_GET_CAPABILITY_CMDID) \
  1603. OP(WMI_BPF_GET_VDEV_STATS_CMDID) \
  1604. OP(WMI_BPF_SET_VDEV_INSTRUCTIONS_CMDID) \
  1605. OP(WMI_BPF_DEL_VDEV_INSTRUCTIONS_CMDID) \
  1606. OP(WMI_PEER_UPDATE_WDS_ENTRY_CMDID) \
  1607. OP(WMI_PEER_ADD_PROXY_STA_ENTRY_CMDID) \
  1608. OP(WMI_PDEV_FIPS_CMDID) \
  1609. OP(WMI_PDEV_SMART_ANT_ENABLE_CMDID) \
  1610. OP(WMI_PDEV_SMART_ANT_SET_RX_ANTENNA_CMDID) \
  1611. OP(WMI_PDEV_SET_ANTENNA_SWITCH_TABLE_CMDID) \
  1612. OP(WMI_PDEV_SET_CTL_TABLE_CMDID) \
  1613. OP(WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID) \
  1614. OP(WMI_PDEV_GET_TPC_CMDID) \
  1615. OP(WMI_PDEV_GET_ANI_CCK_CONFIG_CMDID) \
  1616. OP(WMI_PDEV_GET_ANI_OFDM_CONFIG_CMDID) \
  1617. OP(WMI_VDEV_RATEMASK_CMDID) \
  1618. OP(WMI_VDEV_ATF_REQUEST_CMDID) \
  1619. OP(WMI_VDEV_SET_DSCP_TID_MAP_CMDID) \
  1620. OP(WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID) \
  1621. OP(WMI_PEER_SMART_ANT_SET_TX_ANTENNA_CMDID) \
  1622. OP(WMI_PEER_SMART_ANT_SET_TRAIN_INFO_CMDID) \
  1623. OP(WMI_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMDID) \
  1624. OP(WMI_PEER_ATF_REQUEST_CMDID) \
  1625. OP(WMI_FWTEST_CMDID) \
  1626. OP(WMI_QBOOST_CFG_CMDID) \
  1627. OP(WMI_ROAM_SET_MBO_PARAM_CMDID) \
  1628. OP(WMI_MIB_STATS_ENABLE_CMDID) \
  1629. OP(WMI_NDI_GET_CAP_REQ_CMDID) \
  1630. OP(WMI_NDP_INITIATOR_REQ_CMDID) \
  1631. OP(WMI_NDP_RESPONDER_REQ_CMDID) \
  1632. OP(WMI_NDP_END_REQ_CMDID) \
  1633. OP(WMI_PDEV_SET_PCL_CMDID) \
  1634. OP(WMI_PDEV_SET_HW_MODE_CMDID) \
  1635. OP(WMI_PDEV_SET_MAC_CONFIG_CMDID) \
  1636. OP(WMI_PDEV_SET_ANTENNA_MODE_CMDID) \
  1637. OP(WMI_VDEV_SET_QUIET_MODE_CMDID) \
  1638. OP(WMI_COEX_CONFIG_CMDID) \
  1639. OP(WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID) \
  1640. OP(WMI_CHAN_AVOID_RPT_ALLOW_CMDID) \
  1641. OP(WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID) \
  1642. OP(WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID) \
  1643. OP(WMI_PDEV_WAL_POWER_DEBUG_CMDID) \
  1644. OP(WMI_VDEV_WISA_CMDID) \
  1645. OP(WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID) \
  1646. OP(WMI_WOW_SET_ACTION_WAKE_UP_CMDID) \
  1647. OP(WMI_PEER_BWF_REQUEST_CMDID) \
  1648. OP(WMI_DBGLOG_TIME_STAMP_SYNC_CMDID) \
  1649. OP(WMI_RMC_SET_MANUAL_LEADER_CMDID) \
  1650. OP(WMI_P2P_LISTEN_OFFLOAD_START_CMDID) \
  1651. OP(WMI_P2P_LISTEN_OFFLOAD_STOP_CMDID) \
  1652. OP(WMI_PEER_REORDER_QUEUE_SETUP_CMDID) \
  1653. OP(WMI_PEER_REORDER_QUEUE_REMOVE_CMDID) \
  1654. OP(WMI_SET_MULTIPLE_MCAST_FILTER_CMDID) \
  1655. OP(WMI_READ_DATA_FROM_FLASH_CMDID) \
  1656. OP(WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID) \
  1657. OP(WMI_PEER_SET_RX_BLOCKSIZE_CMDID) \
  1658. OP(WMI_PDEV_SET_WAKEUP_CONFIG_CMDID) \
  1659. OP(WMI_PEER_ANTDIV_INFO_REQ_CMDID) \
  1660. OP(WMI_PDEV_GET_ANTDIV_STATUS_CMDID) \
  1661. OP(WMI_MNT_FILTER_CMDID) \
  1662. OP(WMI_PDEV_GET_CHIP_POWER_STATS_CMDID) \
  1663. OP(WMI_COEX_GET_ANTENNA_ISOLATION_CMDID) \
  1664. OP(WMI_PDEV_SET_STATS_THRESHOLD_CMDID) \
  1665. OP(WMI_REQUEST_WLAN_STATS_CMDID) \
  1666. OP(WMI_VDEV_ENCRYPT_DECRYPT_DATA_REQ_CMDID) \
  1667. OP(WMI_SAR_LIMITS_CMDID) \
  1668. OP(WMI_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMDID) \
  1669. OP(WMI_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMDID) \
  1670. OP(WMI_VDEV_ADFS_CH_CFG_CMDID) \
  1671. OP(WMI_VDEV_ADFS_OCAC_ABORT_CMDID) \
  1672. OP(WMI_REQUEST_RCPI_CMDID) \
  1673. OP(WMI_REQUEST_PEER_STATS_INFO_CMDID) \
  1674. OP(WMI_SET_CURRENT_COUNTRY_CMDID) \
  1675. OP(WMI_11D_SCAN_START_CMDID) \
  1676. OP(WMI_11D_SCAN_STOP_CMDID) \
  1677. OP(WMI_REQUEST_RADIO_CHAN_STATS_CMDID) \
  1678. OP(WMI_ROAM_PER_CONFIG_CMDID) \
  1679. OP(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID) \
  1680. OP(WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID) \
  1681. OP(WMI_HW_DATA_FILTER_CMDID) \
  1682. OP(WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID) \
  1683. OP(WMI_LPI_OEM_REQ_CMDID) \
  1684. OP(WMI_PDEV_UPDATE_PKT_ROUTING_CMDID) \
  1685. OP(WMI_PDEV_CHECK_CAL_VERSION_CMDID) \
  1686. OP(WMI_PDEV_SET_DIVERSITY_GAIN_CMDID) \
  1687. OP(WMI_VDEV_SET_ARP_STAT_CMDID) \
  1688. OP(WMI_VDEV_GET_ARP_STAT_CMDID) \
  1689. OP(WMI_VDEV_GET_TX_POWER_CMDID) \
  1690. OP(WMI_OFFCHAN_DATA_TX_SEND_CMDID) \
  1691. OP(WMI_SET_INIT_COUNTRY_CMDID) \
  1692. OP(WMI_SET_SCAN_DBS_DUTY_CYCLE_CMDID) \
  1693. OP(WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID) \
  1694. OP(WMI_THERM_THROT_SET_CONF_CMDID) \
  1695. OP(WMI_OEM_DMA_RING_CFG_REQ_CMDID) \
  1696. OP(WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID) \
  1697. OP(WMI_VDEV_LIMIT_OFFCHAN_CMDID) \
  1698. OP(WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID) \
  1699. OP(WMI_PDEV_UPDATE_PMK_CACHE_CMDID) \
  1700. OP(WMI_HB_OIC_PING_OFFLOAD_PARAM_CMDID) \
  1701. OP(WMI_HB_OIC_PING_OFFLOAD_SET_ENABLE_CMDID) \
  1702. OP(WMI_HB_DHCP_LEASE_RENEW_OFFLOAD_CMDID) \
  1703. OP(WMI_ROAM_BTM_CONFIG_CMDID) \
  1704. OP(WMI_WLM_CONFIG_CMDID) \
  1705. OP(WMI_PDEV_UPDATE_CTLTABLE_REQUEST_CMDID) \
  1706. OP(WMI_PDEV_CONFIG_VENDOR_OUI_ACTION_CMDID) \
  1707. OP(WMI_PDEV_SEND_FD_CMDID) \
  1708. OP(WMI_ENABLE_FILS_CMDID) \
  1709. OP(WMI_BCN_OFFLOAD_CTRL_CMDID) \
  1710. OP(WMI_PDEV_SET_AC_TX_QUEUE_OPTIMIZED_CMDID) \
  1711. OP(WMI_PEER_TID_MSDUQ_QDEPTH_THRESH_UPDATE_CMDID) \
  1712. OP(WMI_PDEV_SET_RX_FILTER_PROMISCUOUS_CMDID) \
  1713. OP(WMI_SAP_OBSS_DETECTION_CFG_CMDID) \
  1714. OP(WMI_PDEV_DMA_RING_CFG_REQ_CMDID) \
  1715. OP(WMI_SAR_GET_LIMITS_CMDID)\
  1716. OP(WMI_11K_OFFLOAD_REPORT_CMDID) \
  1717. OP(WMI_11K_INVOKE_NEIGHBOR_REPORT_CMDID) \
  1718. OP(WMI_BPF_SET_VDEV_ENABLE_CMDID) \
  1719. OP(WMI_BPF_SET_VDEV_WORK_MEMORY_CMDID) \
  1720. OP(WMI_BPF_GET_VDEV_WORK_MEMORY_CMDID) \
  1721. OP(WMI_PDEV_GET_NFCAL_POWER_CMDID) \
  1722. OP(WMI_BSS_COLOR_CHANGE_ENABLE_CMDID) \
  1723. OP(WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID) \
  1724. OP(WMI_RUNTIME_DPD_RECAL_CMDID) \
  1725. OP(WMI_TWT_ENABLE_CMDID) \
  1726. OP(WMI_TWT_DISABLE_CMDID) \
  1727. OP(WMI_TWT_ADD_DIALOG_CMDID) \
  1728. OP(WMI_TWT_DEL_DIALOG_CMDID) \
  1729. OP(WMI_TWT_PAUSE_DIALOG_CMDID) \
  1730. OP(WMI_TWT_RESUME_DIALOG_CMDID) \
  1731. OP(WMI_REQUEST_ROAM_SCAN_STATS_CMDID) \
  1732. OP(WMI_PEER_TID_CONFIGURATIONS_CMDID) \
  1733. OP(WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID) \
  1734. OP(WMI_GET_TPC_POWER_CMDID) \
  1735. OP(WMI_MOTION_DET_CONFIG_PARAM_CMDID) \
  1736. OP(WMI_MOTION_DET_BASE_LINE_CONFIG_PARAM_CMDID) \
  1737. OP(WMI_MOTION_DET_START_STOP_CMDID) \
  1738. OP(WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID) \
  1739. OP(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_CMDID) \
  1740. OP(WMI_PEER_CFR_CAPTURE_CMDID) \
  1741. OP(WMI_PEER_CHAN_WIDTH_SWITCH_CMDID) \
  1742. OP(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMDID) \
  1743. OP(WMI_PDEV_HE_TB_ACTION_FRM_CMDID) \
  1744. OP(WMI_HPCS_PULSE_START_CMDID) \
  1745. OP(WMI_VDEV_CHAINMASK_CONFIG_CMDID) \
  1746. OP(WMI_VDEV_BCN_OFFLOAD_QUIET_CONFIG_CMDID) \
  1747. OP(WMI_NDP_CMDID) \
  1748. OP(WMI_PDEV_PKTLOG_FILTER_CMDID) \
  1749. OP(WMI_VDEV_GET_BCN_RECEPTION_STATS_CMDID) \
  1750. OP(WMI_PEER_TX_PN_REQUEST_CMDID) \
  1751. OP(WMI_PEER_UNMAP_RESPONSE_CMDID) \
  1752. OP(WMI_ROAM_BSS_LOAD_CONFIG_CMDID) \
  1753. OP(WMI_VDEV_GET_MWS_COEX_INFO_CMDID) \
  1754. OP(WMI_REQUEST_WLM_STATS_CMDID) \
  1755. OP(WMI_PDEV_SET_RAP_CONFIG_CMDID) \
  1756. OP(WMI_ROAM_DEAUTH_CONFIG_CMDID) \
  1757. OP(WMI_ROAM_IDLE_CONFIG_CMDID) \
  1758. OP(WMI_IDLE_TRIGGER_MONITOR_CMDID) \
  1759. OP(WMI_PDEV_DSM_FILTER_CMDID) \
  1760. OP(WMI_TWT_BTWT_INVITE_STA_CMDID) \
  1761. OP(WMI_TWT_BTWT_REMOVE_STA_CMDID) \
  1762. OP(WMI_VDEV_DELETE_ALL_PEER_CMDID) \
  1763. OP(WMI_OEM_DATA_CMDID) \
  1764. OP(WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID) \
  1765. OP(WMI_ROAM_PREAUTH_STATUS_CMDID) \
  1766. OP(WMI_SET_ELNA_BYPASS_CMDID) \
  1767. OP(WMI_GET_ELNA_BYPASS_CMDID) \
  1768. OP(WMI_AUDIO_AGGR_ENABLE_CMDID) \
  1769. OP(WMI_AUDIO_AGGR_ADD_GROUP_CMDID) \
  1770. OP(WMI_AUDIO_AGGR_DEL_GROUP_CMDID) \
  1771. OP(WMI_AUDIO_AGGR_SET_GROUP_RATE_CMDID) \
  1772. OP(WMI_AUDIO_AGGR_SET_GROUP_RETRY_CMDID) \
  1773. OP(WMI_AUDIO_AGGR_UPDATE_STA_GROUP_INFO_CMDID) \
  1774. OP(WMI_CFR_CAPTURE_FILTER_CMDID) \
  1775. OP(WMI_FD_TMPL_CMDID) \
  1776. OP(WMI_VDEV_BSS_MAX_IDLE_TIME_CMDID) \
  1777. OP(WMI_ATF_SSID_GROUPING_REQUEST_CMDID) \
  1778. OP(WMI_ATF_GROUP_WMM_AC_CONFIG_REQUEST_CMDID) \
  1779. OP(WMI_PEER_ATF_EXT_REQUEST_CMDID) \
  1780. OP(WMI_GET_CHANNEL_ANI_CMDID) \
  1781. OP(WMI_PEER_CONFIG_VLAN_CMDID) \
  1782. OP(WMI_SET_OCL_CMDID) \
  1783. OP(WMI_AUDIO_AGGR_SET_GROUP_AUTO_RATE_CMDID) \
  1784. OP(WMI_AUDIO_AGGR_SET_GROUP_PROBE_CMDID) \
  1785. OP(WMI_VDEV_AUDIO_SYNC_TRIGGER_CMDID) \
  1786. OP(WMI_VDEV_AUDIO_SYNC_QTIMER_CMDID) \
  1787. OP(WMI_VDEV_SET_PCL_CMDID) \
  1788. OP(WMI_ROAM_GET_SCAN_CHANNEL_LIST_CMDID) \
  1789. OP(WMI_VDEV_GET_BIG_DATA_CMDID) \
  1790. OP(WMI_PDEV_FRAME_INJECT_CMDID) \
  1791. OP(WMI_PDEV_TBTT_OFFSET_SYNC_CMDID) \
  1792. OP(WMI_VDEV_GET_BIG_DATA_P2_CMDID) \
  1793. OP(WMI_AUDIO_AGGR_GET_STATISTICS_CMDID) \
  1794. OP(WMI_AUDIO_AGGR_RESET_STATISTICS_CMDID) \
  1795. OP(WMI_ANT_CONTROLLER_CMDID) \
  1796. OP(WMI_PDEV_SET_SRG_BSS_COLOR_BITMAP_CMDID) \
  1797. OP(WMI_PDEV_SET_SRG_PARTIAL_BSSID_BITMAP_CMDID) \
  1798. OP(WMI_SIMULATION_TEST_CMDID) \
  1799. OP(WMI_AUDIO_AGGR_SET_RTSCTS_CONFIG_CMDID) \
  1800. OP(WMI_PDEV_SET_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID) \
  1801. OP(WMI_PDEV_SET_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID) \
  1802. OP(WMI_PDEV_SET_NON_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID) \
  1803. OP(WMI_PDEV_SET_NON_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID) \
  1804. OP(WMI_REQUEST_CTRL_PATH_STATS_CMDID) \
  1805. OP(WMI_PDEV_GET_TPC_STATS_CMDID) \
  1806. OP(WMI_AUDIO_AGGR_SET_SCHED_METHOD_CMDID) \
  1807. OP(WMI_AUDIO_AGGR_GET_SCHED_METHOD_CMDID) \
  1808. OP(WMI_WFA_CONFIG_CMDID) \
  1809. OP(WMI_REQUEST_UNIFIED_LL_GET_STA_CMDID) \
  1810. OP(WMI_QOS_NULL_FRAME_TX_SEND_CMDID) \
  1811. OP(WMI_PDEV_ENABLE_DURATION_BASED_TX_MODE_SELECTION_CMDID) \
  1812. OP(WMI_TWT_NUDGE_DIALOG_CMDID) \
  1813. OP(WMI_VDEV_SET_TPC_POWER_CMDID) \
  1814. OP(WMI_VDEV_TID_LATENCY_CONFIG_CMDID) \
  1815. OP(WMI_PEER_TID_LATENCY_CONFIG_CMDID) \
  1816. OP(WMI_MLO_LINK_SET_ACTIVE_CMDID) \
  1817. OP(WMI_PDEV_GET_DPD_STATUS_CMDID) \
  1818. OP(WMI_MLO_SETUP_CMDID) \
  1819. OP(WMI_MLO_READY_CMDID) \
  1820. OP(WMI_MLO_TEARDOWN_CMDID) \
  1821. OP(WMI_VDEV_IGMP_OFFLOAD_CMDID) \
  1822. OP(WMI_MGMT_RX_REO_FILTER_CONFIGURATION_CMDID) \
  1823. OP(WMI_PDEV_SET_BIOS_SAR_TABLE_CMDID) \
  1824. OP(WMI_PDEV_SET_BIOS_GEO_TABLE_CMDID) \
  1825. OP(WMI_PDEV_GET_HALPHY_CAL_STATUS_CMDID) \
  1826. OP(WMI_PDEV_SET_HALPHY_CAL_BMAP_CMDID) \
  1827. OP(WMI_AFC_CMDID) \
  1828. OP(WMI_PDEV_MULTIPLE_VDEV_SET_PARAM_CMDID) \
  1829. OP(WMI_PDEV_MEC_AGING_TIMER_CONFIG_CMDID) \
  1830. OP(WMI_PEER_CONFIG_PPE_DS_CMDID) \
  1831. OP(WMI_VDEV_ENABLE_DISABLE_INTRA_BSS_CMDID) \
  1832. OP(WMI_PEER_ENABLE_DISABLE_INTRA_BSS_CMDID) \
  1833. OP(WMI_REQUEST_THERMAL_STATS_CMDID) \
  1834. OP(WMI_PDEV_SET_BIOS_INTERFACE_CMDID) \
  1835. OP(WMI_VDEV_SET_MU_SNIF_CMDID) \
  1836. OP(WMI_VDEV_ICMP_OFFLOAD_CMDID) \
  1837. OP(WMI_ROAM_SET_PARAM_CMDID) \
  1838. OP(WMI_PDEV_FIPS_EXTEND_CMDID) \
  1839. OP(WMI_PDEV_FIPS_MODE_SET_CMDID) \
  1840. OP(WMI_VDEV_UPDATE_MAC_ADDR_CMDID) \
  1841. OP(WMI_SAWF_SVC_CLASS_CFG_CMDID) \
  1842. OP(WMI_SAWF_SVC_CLASS_DISABLE_CMDID) \
  1843. OP(WMI_SOC_TQM_RESET_ENABLE_DISABLE_CMDID) \
  1844. OP(WMI_VDEV_MULTIPLE_PEER_GROUP_CMDID) \
  1845. OP(WMI_VDEV_SET_LTF_KEY_SEED_CMDID) \
  1846. OP(WMI_RTT_PASN_AUTH_STATUS_CMD) \
  1847. OP(WMI_RTT_PASN_DEAUTH_CMD) \
  1848. OP(WMI_PEER_RX_PN_REQUEST_CMDID) \
  1849. OP(WMI_VDEV_PN_MGMT_RX_FILTER_CMDID) \
  1850. OP(WMI_SET_MULTIPLE_PDEV_VDEV_PARAM_CMDID) \
  1851. OP(WMI_PMM_SCRATCH_REG_ALLOCATION_CMDID) \
  1852. OP(WMI_PEER_TX_FILTER_CMDID) \
  1853. OP(WMI_MLO_PEER_TID_TO_LINK_MAP_CMDID) \
  1854. OP(WMI_ROAM_ENABLE_VENDOR_CONTROL_CMDID) \
  1855. OP(WMI_ROAM_GET_VENDOR_CONTROL_PARAM_CMDID) \
  1856. OP(WMI_REQUEST_HALPHY_CTRL_PATH_STATS_CMDID) \
  1857. OP(WMI_PEER_FLUSH_POLICY_CMDID) \
  1858. OP(WMI_WOW_COAP_ADD_PATTERN_CMDID) \
  1859. OP(WMI_WOW_COAP_DEL_PATTERN_CMDID) \
  1860. OP(WMI_WOW_COAP_ADD_KEEPALIVE_PATTERN_CMDID) \
  1861. OP(WMI_WOW_COAP_DEL_KEEPALIVE_PATTERN_CMDID) \
  1862. OP(WMI_WOW_COAP_GET_BUF_INFO_CMDID) \
  1863. OP(WMI_COEX_DBAM_CMDID) \
  1864. OP(WMI_PDEV_FEATURESET_CMDID) \
  1865. OP(WMI_ROAM_MLO_CONFIG_CMDID) \
  1866. OP(WMI_VDEV_PARAM_ENABLE_SR_PROHIBIT_CMDID) \
  1867. OP(WMI_XGAP_ENABLE_CMDID) \
  1868. OP(WMI_PDEV_MESH_RX_FILTER_ENABLE_CMDID) \
  1869. OP(WMI_ODD_LIVEDUMP_REQUEST_CMDID) \
  1870. OP(WMI_MLO_LINK_REMOVAL_CMDID) \
  1871. OP(WMI_MLO_AP_VDEV_TID_TO_LINK_MAP_CMDID) \
  1872. OP(WMI_VDEV_SET_TWT_EDCA_PARAMS_CMDID) \
  1873. OP(WMI_TAS_POWER_HISTORY_CMDID) \
  1874. OP(WMI_PEER_SCHED_MODE_DISABLE_CMDID) \
  1875. OP(WMI_ESL_EGID_CMDID) \
  1876. OP(WMI_TDMA_SCHEDULE_REQUEST_CMDID) \
  1877. OP(WMI_HPA_CMDID) \
  1878. OP(WMI_PDEV_SET_TGTR2P_TABLE_CMDID) \
  1879. OP(WMI_PEER_BULK_SET_CMDID) \
  1880. OP(WMI_MLO_VDEV_GET_LINK_INFO_CMDID) \
  1881. OP(WMI_VDEV_SET_ULOFDMA_MANUAL_SU_TRIG_CMDID) \
  1882. OP(WMI_VDEV_SET_ULOFDMA_MANUAL_MU_TRIG_CMDID) \
  1883. OP(WMI_VDEV_STANDALONE_SOUND_CMDID) \
  1884. OP(WMI_PDEV_SET_RF_PATH_CMDID) \
  1885. OP(WMI_VDEV_PAUSE_CMDID) \
  1886. OP(WMI_GPIO_STATE_REQ_CMDID) \
  1887. OP(WMI_VENDOR_PDEV_CMDID) \
  1888. OP(WMI_VENDOR_VDEV_CMDID) \
  1889. OP(WMI_VENDOR_PEER_CMDID) \
  1890. /* add new CMD_LIST elements above this line */
  1891. /*
  1892. * IMPORTANT: Please add _ALL_ WMI Events Here.
  1893. * Otherwise, these WMI TLV Functions will be process them.
  1894. */
  1895. #define WMITLV_ALL_EVT_LIST(OP) \
  1896. OP(WMI_SERVICE_READY_EVENTID) \
  1897. OP(WMI_SERVICE_READY_EXT_EVENTID) \
  1898. OP(WMI_SERVICE_READY_EXT2_EVENTID) \
  1899. OP(WMI_READY_EVENTID) \
  1900. OP(WMI_SCAN_EVENTID) \
  1901. OP(WMI_PDEV_TPC_CONFIG_EVENTID) \
  1902. OP(WMI_CHAN_INFO_EVENTID) \
  1903. OP(WMI_PHYERR_EVENTID) \
  1904. OP(WMI_VDEV_START_RESP_EVENTID) \
  1905. OP(WMI_VDEV_STOPPED_EVENTID) \
  1906. OP(WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID) \
  1907. OP(WMI_PEER_STA_KICKOUT_EVENTID) \
  1908. OP(WMI_MGMT_RX_EVENTID) \
  1909. OP(WMI_TBTTOFFSET_UPDATE_EVENTID) \
  1910. OP(WMI_TX_DELBA_COMPLETE_EVENTID) \
  1911. OP(WMI_TX_ADDBA_COMPLETE_EVENTID) \
  1912. OP(WMI_ROAM_EVENTID) \
  1913. OP(WMI_WOW_WAKEUP_HOST_EVENTID) \
  1914. OP(WMI_RTT_ERROR_REPORT_EVENTID) \
  1915. OP(WMI_OEM_MEASUREMENT_REPORT_EVENTID) \
  1916. OP(WMI_OEM_ERROR_REPORT_EVENTID) \
  1917. OP(WMI_OEM_CAPABILITY_EVENTID) \
  1918. OP(WMI_ECHO_EVENTID) \
  1919. OP(WMI_PDEV_FTM_INTG_EVENTID) \
  1920. OP(WMI_VDEV_GET_KEEPALIVE_EVENTID) \
  1921. OP(WMI_GPIO_INPUT_EVENTID) \
  1922. OP(WMI_CSA_HANDLING_EVENTID) \
  1923. OP(WMI_DEBUG_MESG_EVENTID) \
  1924. OP(WMI_GTK_OFFLOAD_STATUS_EVENTID) \
  1925. OP(WMI_DCS_INTERFERENCE_EVENTID) \
  1926. OP(WMI_WLAN_PROFILE_DATA_EVENTID) \
  1927. OP(WMI_PDEV_UTF_EVENTID) \
  1928. OP(WMI_DEBUG_PRINT_EVENTID) \
  1929. OP(WMI_RTT_MEASUREMENT_REPORT_EVENTID) \
  1930. OP(WMI_HOST_SWBA_EVENTID) \
  1931. OP(WMI_UPDATE_STATS_EVENTID) \
  1932. OP(WMI_PDEV_QVIT_EVENTID) \
  1933. OP(WMI_WLAN_FREQ_AVOID_EVENTID) \
  1934. OP(WMI_GTK_REKEY_FAIL_EVENTID) \
  1935. OP(WMI_NLO_MATCH_EVENTID) \
  1936. OP(WMI_NLO_SCAN_COMPLETE_EVENTID) \
  1937. OP(WMI_APFIND_EVENTID) \
  1938. OP(WMI_CHATTER_PC_QUERY_EVENTID) \
  1939. OP(WMI_UPLOADH_EVENTID) \
  1940. OP(WMI_CAPTUREH_EVENTID) \
  1941. OP(WMI_TDLS_PEER_EVENTID) \
  1942. OP(WMI_VDEV_MCC_BCN_INTERVAL_CHANGE_REQ_EVENTID) \
  1943. OP(WMI_BA_RSP_SSN_EVENTID) \
  1944. OP(WMI_OFFLOAD_BCN_TX_STATUS_EVENTID) \
  1945. OP(WMI_P2P_NOA_EVENTID) \
  1946. OP(WMI_TX_PAUSE_EVENTID) \
  1947. OP(WMI_RFKILL_STATE_CHANGE_EVENTID) \
  1948. OP(WMI_PEER_INFO_EVENTID) \
  1949. OP(WMI_PEER_TX_FAIL_CNT_THR_EVENTID) \
  1950. OP(WMI_DFS_RADAR_EVENTID) \
  1951. OP(WMI_BATCH_SCAN_ENABLED_EVENTID) \
  1952. OP(WMI_BATCH_SCAN_RESULT_EVENTID) \
  1953. OP(WMI_THERMAL_MGMT_EVENTID) \
  1954. OP(WMI_NAN_EVENTID) \
  1955. OP(WMI_PDEV_L1SS_TRACK_EVENTID) \
  1956. OP(WMI_DIAG_DATA_CONTAINER_EVENTID) \
  1957. OP(WMI_PEER_ESTIMATED_LINKSPEED_EVENTID) \
  1958. OP(WMI_AGGR_STATE_TRIG_EVENTID) \
  1959. OP(WMI_STATS_EXT_EVENTID) \
  1960. OP(WMI_OFFLOAD_PROB_RESP_TX_STATUS_EVENTID) \
  1961. OP(WMI_HOST_AUTO_SHUTDOWN_EVENTID) \
  1962. OP(WMI_UPDATE_WHAL_MIB_STATS_EVENTID) \
  1963. OP(WMI_IFACE_LINK_STATS_EVENTID) \
  1964. OP(WMI_PEER_LINK_STATS_EVENTID) \
  1965. OP(WMI_RADIO_LINK_STATS_EVENTID) \
  1966. OP(WMI_LPI_RESULT_EVENTID) \
  1967. OP(WMI_PEER_STATE_EVENTID) \
  1968. OP(WMI_EXTSCAN_START_STOP_EVENTID) \
  1969. OP(WMI_EXTSCAN_OPERATION_EVENTID) \
  1970. OP(WMI_EXTSCAN_TABLE_USAGE_EVENTID) \
  1971. OP(WMI_EXTSCAN_CACHED_RESULTS_EVENTID) \
  1972. OP(WMI_EXTSCAN_WLAN_CHANGE_RESULTS_EVENTID) \
  1973. OP(WMI_EXTSCAN_HOTLIST_MATCH_EVENTID) \
  1974. OP(WMI_EXTSCAN_CAPABILITIES_EVENTID) \
  1975. OP(WMI_EXTSCAN_HOTLIST_SSID_MATCH_EVENTID) \
  1976. OP(WMI_D0_WOW_DISABLE_ACK_EVENTID) \
  1977. OP(WMI_ROAM_SYNCH_EVENTID) \
  1978. OP(WMI_ROAM_SYNCH_FRAME_EVENTID) \
  1979. OP(WMI_LPI_STATUS_EVENTID) \
  1980. OP(WMI_LPI_HANDOFF_EVENTID) \
  1981. OP(WMI_UPDATE_VDEV_RATE_STATS_EVENTID) \
  1982. OP(WMI_PDEV_TEMPERATURE_EVENTID) \
  1983. OP(WMI_DIAG_EVENTID) \
  1984. OP(WMI_MDNS_STATS_EVENTID) \
  1985. OP(WMI_PDEV_RESUME_EVENTID) \
  1986. OP(WMI_SAP_OFL_ADD_STA_EVENTID) \
  1987. OP(WMI_SAP_OFL_DEL_STA_EVENTID) \
  1988. OP(WMI_OCB_SET_SCHED_EVENTID) \
  1989. OP(WMI_OCB_SET_CONFIG_RESP_EVENTID) \
  1990. OP(WMI_OCB_GET_TSF_TIMER_RESP_EVENTID) \
  1991. OP(WMI_DCC_GET_STATS_RESP_EVENTID) \
  1992. OP(WMI_DCC_UPDATE_NDL_RESP_EVENTID) \
  1993. OP(WMI_DCC_STATS_EVENTID) \
  1994. OP(WMI_PASSPOINT_MATCH_EVENTID) \
  1995. OP(WMI_VDEV_TSF_REPORT_EVENTID) \
  1996. OP(WMI_UPDATE_FW_MEM_DUMP_EVENTID) \
  1997. OP(WMI_DEBUG_MESG_FLUSH_COMPLETE_EVENTID) \
  1998. OP(WMI_RSSI_BREACH_EVENTID) \
  1999. OP(WMI_WOW_INITIAL_WAKEUP_EVENTID) \
  2000. OP(WMI_SOC_SET_HW_MODE_RESP_EVENTID) \
  2001. OP(WMI_SOC_HW_MODE_TRANSITION_EVENTID) \
  2002. OP(WMI_SOC_SET_DUAL_MAC_CONFIG_RESP_EVENTID) \
  2003. OP(WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID) \
  2004. OP(WMI_MGMT_TX_COMPLETION_EVENTID) \
  2005. OP(WMI_MAWC_ENABLE_SENSOR_EVENTID) \
  2006. OP(WMI_PEER_ASSOC_CONF_EVENTID) \
  2007. OP(WMI_AP_PS_EGAP_INFO_EVENTID) \
  2008. OP(WMI_TRANSFER_DATA_TO_FLASH_COMPLETE_EVENTID) \
  2009. OP(WMI_OEM_RESPONSE_EVENTID) \
  2010. OP(WMI_PDEV_UTF_SCPC_EVENTID) \
  2011. OP(WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID) \
  2012. OP(WMI_BPF_CAPABILIY_INFO_EVENTID) \
  2013. OP(WMI_BPF_VDEV_STATS_INFO_EVENTID) \
  2014. OP(WMI_VDEV_DELETE_RESP_EVENTID) \
  2015. OP(WMI_PEER_DELETE_RESP_EVENTID) \
  2016. OP(WMI_PDEV_FIPS_EVENTID) \
  2017. OP(WMI_PDEV_CHANNEL_HOPPING_EVENTID) \
  2018. OP(WMI_PDEV_ANI_CCK_LEVEL_EVENTID) \
  2019. OP(WMI_PDEV_ANI_OFDM_LEVEL_EVENTID) \
  2020. OP(WMI_PDEV_TPC_EVENTID) \
  2021. OP(WMI_PDEV_NFCAL_POWER_ALL_CHANNELS_EVENTID) \
  2022. OP(WMI_PEER_RATECODE_LIST_EVENTID) \
  2023. OP(WMI_WDS_PEER_EVENTID) \
  2024. OP(WMI_PEER_STA_PS_STATECHG_EVENTID) \
  2025. OP(WMI_INST_RSSI_STATS_EVENTID) \
  2026. OP(WMI_NAN_DISC_IFACE_CREATED_EVENTID) \
  2027. OP(WMI_NAN_DISC_IFACE_DELETED_EVENTID) \
  2028. OP(WMI_NAN_STARTED_CLUSTER_EVENTID) \
  2029. OP(WMI_NAN_JOINED_CLUSTER_EVENTID) \
  2030. OP(WMI_NDI_CAP_RSP_EVENTID) \
  2031. OP(WMI_NDP_INITIATOR_RSP_EVENTID) \
  2032. OP(WMI_NDP_RESPONDER_RSP_EVENTID) \
  2033. OP(WMI_NDP_END_RSP_EVENTID) \
  2034. OP(WMI_NDP_INDICATION_EVENTID) \
  2035. OP(WMI_NDP_CONFIRM_EVENTID) \
  2036. OP(WMI_NDP_END_INDICATION_EVENTID) \
  2037. OP(WMI_PDEV_SET_HW_MODE_RESP_EVENTID) \
  2038. OP(WMI_PDEV_HW_MODE_TRANSITION_EVENTID) \
  2039. OP(WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID) \
  2040. OP(WMI_RADIO_TX_POWER_LEVEL_STATS_EVENTID) \
  2041. OP(WMI_RMC_NEW_LEADER_EVENTID) \
  2042. OP(WMI_P2P_LISTEN_OFFLOAD_STOPPED_EVENTID) \
  2043. OP(WMI_MGMT_TX_BUNDLE_COMPLETION_EVENTID) \
  2044. OP(WMI_READ_DATA_FROM_FLASH_EVENTID) \
  2045. OP(WMI_SERVICE_AVAILABLE_EVENTID) \
  2046. OP(WMI_PEER_ANTDIV_INFO_EVENTID) \
  2047. OP(WMI_PDEV_ANTDIV_STATUS_EVENTID) \
  2048. OP(WMI_PDEV_CHIP_POWER_STATS_EVENTID) \
  2049. OP(WMI_COEX_REPORT_ANTENNA_ISOLATION_EVENTID) \
  2050. OP(WMI_REPORT_STATS_EVENTID) \
  2051. OP(WMI_REPORT_RX_AGGR_FAILURE_EVENTID) \
  2052. OP(WMI_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENTID) \
  2053. OP(WMI_TBTTOFFSET_EXT_UPDATE_EVENTID) \
  2054. OP(WMI_PDEV_DFS_RADAR_DETECTION_EVENTID) \
  2055. OP(WMI_VDEV_DFS_CAC_COMPLETE_EVENTID) \
  2056. OP(WMI_VDEV_ADFS_OCAC_COMPLETE_EVENTID) \
  2057. OP(WMI_UPDATE_RCPI_EVENTID) \
  2058. OP(WMI_PEER_STATS_INFO_EVENTID) \
  2059. OP(WMI_PKGID_EVENTID) \
  2060. OP(WMI_REG_CHAN_LIST_CC_EVENTID) \
  2061. OP(WMI_11D_NEW_COUNTRY_EVENTID) \
  2062. OP(WMI_RADIO_CHAN_STATS_EVENTID) \
  2063. OP(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENTID) \
  2064. OP(WMI_PEER_OPER_MODE_CHANGE_EVENTID) \
  2065. OP(WMI_PDEV_CHIP_POWER_SAVE_FAILURE_DETECTED_EVENTID) \
  2066. OP(WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID) \
  2067. OP(WMI_PDEV_CHECK_CAL_VERSION_EVENTID) \
  2068. OP(WMI_VDEV_GET_ARP_STAT_EVENTID) \
  2069. OP(WMI_WLAN_COEX_BT_ACTIVITY_EVENTID) \
  2070. OP(WMI_VDEV_GET_TX_POWER_EVENTID) \
  2071. OP(WMI_OFFCHAN_DATA_TX_COMPLETION_EVENTID) \
  2072. OP(WMI_THERM_THROT_STATS_EVENTID) \
  2073. OP(WMI_PDEV_DIV_RSSI_ANTID_EVENTID) \
  2074. OP(WMI_OEM_DMA_RING_CFG_RSP_EVENTID) \
  2075. OP(WMI_OEM_DMA_BUF_RELEASE_EVENTID) \
  2076. OP(WMI_OEM_DATA_EVENTID) \
  2077. OP(WMI_PDEV_BSS_CHAN_INFO_EVENTID) \
  2078. OP(WMI_UNIT_TEST_EVENTID) \
  2079. OP(WMI_PDEV_UPDATE_CTLTABLE_EVENTID) \
  2080. OP(WMI_HOST_SWFDA_EVENTID) \
  2081. OP(WMI_NDL_SCHEDULE_UPDATE_EVENTID) \
  2082. OP(WMI_SAP_OBSS_DETECTION_REPORT_EVENTID) \
  2083. OP(WMI_PDEV_DMA_RING_CFG_RSP_EVENTID) \
  2084. OP(WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID) \
  2085. OP(WMI_SAR_GET_LIMITS_EVENTID) \
  2086. OP(WMI_SAR2_RESULT_EVENTID) \
  2087. OP(WMI_BPF_GET_VDEV_WORK_MEMORY_RESP_EVENTID) \
  2088. OP(WMI_OBSS_COLOR_COLLISION_DETECTION_EVENTID) \
  2089. OP(WMI_TWT_ENABLE_COMPLETE_EVENTID) \
  2090. OP(WMI_TWT_DISABLE_COMPLETE_EVENTID) \
  2091. OP(WMI_TWT_ADD_DIALOG_COMPLETE_EVENTID) \
  2092. OP(WMI_TWT_DEL_DIALOG_COMPLETE_EVENTID) \
  2093. OP(WMI_TWT_PAUSE_DIALOG_COMPLETE_EVENTID) \
  2094. OP(WMI_TWT_RESUME_DIALOG_COMPLETE_EVENTID) \
  2095. OP(WMI_ROAM_SCAN_STATS_EVENTID) \
  2096. OP(WMI_GET_TPC_POWER_EVENTID) \
  2097. OP(WMI_MOTION_DET_HOST_EVENTID) \
  2098. OP(WMI_MOTION_DET_BASE_LINE_HOST_EVENTID) \
  2099. OP(WMI_ESP_ESTIMATE_EVENTID) \
  2100. OP(WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID) \
  2101. OP(WMI_NDP_EVENTID) \
  2102. OP(WMI_VDEV_BCN_RECEPTION_STATS_EVENTID) \
  2103. OP(WMI_PEER_TX_PN_RESPONSE_EVENTID) \
  2104. OP(WMI_PDEV_CSC_SWITCH_COUNT_STATUS_EVENTID) \
  2105. OP(WMI_ROAM_BLACKLIST_EVENTID) \
  2106. OP(WMI_VDEV_GET_MWS_COEX_STATE_EVENTID) \
  2107. OP(WMI_VDEV_GET_MWS_COEX_DPWB_STATE_EVENTID) \
  2108. OP(WMI_VDEV_GET_MWS_COEX_TDM_STATE_EVENTID) \
  2109. OP(WMI_VDEV_GET_MWS_COEX_IDRX_STATE_EVENTID) \
  2110. OP(WMI_VDEV_GET_MWS_COEX_ANTENNA_SHARING_STATE_EVENTID) \
  2111. OP(WMI_WLM_STATS_EVENTID) \
  2112. OP(WMI_PEER_CFR_CAPTURE_EVENTID) \
  2113. OP(WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID) \
  2114. OP(WMI_PDEV_RAP_INFO_EVENTID) \
  2115. OP(WMI_IFACE_COMBINATION_IND_EVENTID) \
  2116. OP(WMI_VDEV_MGMT_OFFLOAD_EVENTID) \
  2117. OP(WMI_MUEDCA_PARAMS_CONFIG_EVENTID) \
  2118. OP(WMI_TWT_BTWT_INVITE_STA_COMPLETE_EVENTID) \
  2119. OP(WMI_TWT_BTWT_REMOVE_STA_COMPLETE_EVENTID) \
  2120. OP(WMI_VDEV_DELETE_ALL_PEER_RESP_EVENTID) \
  2121. OP(WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID) \
  2122. OP(WMI_ROAM_PREAUTH_START_EVENTID) \
  2123. OP(WMI_GET_ELNA_BYPASS_EVENTID) \
  2124. OP(WMI_ROAM_PMKID_REQUEST_EVENTID) \
  2125. OP(WMI_GET_CHANNEL_ANI_EVENTID) \
  2126. OP(WMI_ROAM_STATS_EVENTID) \
  2127. OP(WMI_VDEV_AUDIO_SYNC_START_STOP_EVENTID) \
  2128. OP(WMI_VDEV_AUDIO_SYNC_Q_MASTER_SLAVE_OFFSET_EVENTID) \
  2129. OP(WMI_PEER_CREATE_CONF_EVENTID) \
  2130. OP(WMI_PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENTID) \
  2131. OP(WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID) \
  2132. OP(WMI_VDEV_SEND_BIG_DATA_EVENTID) \
  2133. OP(WMI_NAN_DMESG_EVENTID) \
  2134. OP(WMI_VDEV_SEND_BIG_DATA_P2_EVENTID) \
  2135. OP(WMI_AUDIO_AGGR_REPORT_STATISTICS_EVENTID) \
  2136. OP(WMI_PDEV_SSCAN_FW_PARAM_EVENTID) \
  2137. OP(WMI_ROAM_CAPABILITY_REPORT_EVENTID) \
  2138. OP(WMI_CTRL_PATH_STATS_EVENTID) \
  2139. OP(WMI_PDEV_GET_TPC_STATS_EVENTID) \
  2140. OP(WMI_VDEV_BCN_LATENCY_EVENTID) \
  2141. OP(WMI_AUDIO_AGGR_SCHED_METHOD_EVENTID) \
  2142. OP(WMI_VDEV_DISCONNECT_EVENTID) \
  2143. OP(WMI_TWT_SESSION_STATS_EVENTID) \
  2144. OP(WMI_SSCAN_EVT_MESSAGE_EVENTID) \
  2145. OP(WMI_QOS_NULL_FRAME_TX_COMPLETION_EVENTID) \
  2146. OP(WMI_TWT_NUDGE_DIALOG_COMPLETE_EVENTID) \
  2147. OP(WMI_REG_CHAN_LIST_CC_EXT_EVENTID) \
  2148. OP(WMI_TWT_NOTIFY_EVENTID) \
  2149. OP(WMI_MLO_LINK_SET_ACTIVE_RESP_EVENTID) \
  2150. OP(WMI_PDEV_GET_DPD_STATUS_EVENTID) \
  2151. OP(WMI_MLO_SETUP_COMPLETE_EVENTID) \
  2152. OP(WMI_MLO_TEARDOWN_COMPLETE_EVENTID) \
  2153. OP(WMI_VDEV_SMART_MONITOR_EVENTID) \
  2154. OP(WMI_MGMT_RX_FW_CONSUMED_EVENTID) \
  2155. OP(WMI_PDEV_GET_HALPHY_CAL_STATUS_EVENTID) \
  2156. OP(WMI_PDEV_SET_HALPHY_CAL_BMAP_EVENTID) \
  2157. OP(WMI_AFC_EVENTID) \
  2158. OP(WMI_TWT_ACK_EVENTID) \
  2159. OP(WMI_PDEV_AOA_PHASEDELTA_EVENTID) \
  2160. OP(WMI_PDEV_FIPS_EXTEND_EVENTID) \
  2161. OP(WMI_VDEV_UPDATE_MAC_ADDR_CONF_EVENTID) \
  2162. OP(WMI_ROAM_FRAME_EVENTID) \
  2163. OP(WMI_QUIET_HANDLING_EVENTID) \
  2164. OP(WMI_RESMGR_CHAN_TIME_QUOTA_CHANGED_EVENTID) \
  2165. OP(WMI_PDEV_PKTLOG_DECODE_INFO_EVENTID) \
  2166. OP(WMI_SPECTRAL_CAPABILITIES_EVENTID) \
  2167. OP(WMI_RTT_PASN_PEER_CREATE_REQ_EVENTID) \
  2168. OP(WMI_RTT_PASN_PEER_DELETE_EVENTID) \
  2169. OP(WMI_PDEV_RSSI_DBM_CONVERSION_PARAMS_INFO_EVENTID) \
  2170. OP(WMI_PEER_RX_PN_RESPONSE_EVENTID) \
  2171. OP(WMI_PMM_AVAILABLE_SCRATCH_REG_EVENTID) \
  2172. OP(WMI_PMM_SCRATCH_REG_ALLOCATION_COMPLETE_EVENTID) \
  2173. OP(WMI_VDEV_LATENCY_LEVEL_EVENTID) \
  2174. OP(WMI_ROAM_GET_VENDOR_CONTROL_PARAM_EVENTID) \
  2175. OP(WMI_HALPHY_CTRL_PATH_STATS_EVENTID) \
  2176. OP(WMI_WOW_COAP_BUF_INFO_EVENTID) \
  2177. OP(WMI_COEX_DBAM_COMPLETE_EVENTID) \
  2178. OP(WMI_HEALTH_MON_INIT_DONE_EVENTID) \
  2179. OP(WMI_IPA_LINK_STATS_EVENTID) \
  2180. OP(WMI_PDEV_SCHED_TIDQ_SUSP_INFO_EVENTID) \
  2181. OP(WMI_XGAP_ENABLE_COMPLETE_EVENTID) \
  2182. OP(WMI_ODD_LIVEDUMP_RESPONSE_EVENTID) \
  2183. OP(WMI_MLO_LINK_REMOVAL_EVENTID) \
  2184. OP(WMI_MLO_AP_VDEV_TID_TO_LINK_MAP_EVENTID) \
  2185. OP(WMI_TAS_POWER_HISTORY_EVENTID) \
  2186. OP(WMI_HPA_EVENTID) \
  2187. OP(WMI_PDEV_SET_TGTR2P_TABLE_EVENTID) \
  2188. OP(WMI_CSA_IE_RECEIVED_EVENTID) \
  2189. OP(WMI_MLO_VDEV_LINK_INFO_EVENTID) \
  2190. OP(WMI_MANUAL_UL_OFDMA_TRIG_FEEDBACK_EVENTID) \
  2191. OP(WMI_VDEV_STANDALONE_SOUND_COMPLETE_EVENTID) \
  2192. OP(WMI_MANUAL_UL_OFDMA_TRIG_RX_PEER_USERINFO_EVENTID) \
  2193. OP(WMI_MLO_LINK_DISABLE_REQUEST_EVENTID) \
  2194. OP(WMI_GPIO_STATE_RES_EVENTID) \
  2195. OP(WMI_VENDOR_PDEV_EVENTID) \
  2196. OP(WMI_VENDOR_VDEV_EVENTID) \
  2197. OP(WMI_VENDOR_PEER_EVENTID) \
  2198. /* add new EVT_LIST elements above this line */
  2199. /* TLV definitions of WMI commands */
  2200. /* Init Cmd */
  2201. #define WMITLV_TABLE_WMI_INIT_CMDID(id,op,buf,len)\
  2202. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_init_cmd_fixed_param, wmi_init_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)\
  2203. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_resource_config, wmi_resource_config, resource_config, WMITLV_SIZE_FIX)\
  2204. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_host_memory_chunk, host_mem_chunks, WMITLV_SIZE_VAR) \
  2205. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_hw_mode_cmd_fixed_param, wmi_pdev_set_hw_mode_cmd_fixed_param, hw_mode, WMITLV_SIZE_FIX) \
  2206. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_band_to_mac, band_to_mac, WMITLV_SIZE_VAR) \
  2207. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_htt_msdu_idx_to_htt_msdu_qtype, htt_msdu_idx_to_qtype_map, WMITLV_SIZE_VAR)
  2208. WMITLV_CREATE_PARAM_STRUC(WMI_INIT_CMDID);
  2209. /* Peer create Cmd */
  2210. #define WMITLV_TABLE_WMI_PEER_CREATE_CMDID(id,op,buf,len) \
  2211. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_create_cmd_fixed_param, wmi_peer_create_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2212. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_create_mlo_params, mlo_params, WMITLV_SIZE_VAR)
  2213. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CREATE_CMDID);
  2214. /* Peer delete Cmd */
  2215. #define WMITLV_TABLE_WMI_PEER_DELETE_CMDID(id,op,buf,len) \
  2216. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_delete_cmd_fixed_param, wmi_peer_delete_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2217. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_delete_mlo_params, mlo_params, WMITLV_SIZE_VAR)
  2218. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_DELETE_CMDID);
  2219. /* Delete all peer Cmd */
  2220. #define WMITLV_TABLE_WMI_VDEV_DELETE_ALL_PEER_CMDID(id,op,buf,len) \
  2221. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_delete_all_peer_cmd_fixed_param, wmi_vdev_delete_all_peer_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2222. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DELETE_ALL_PEER_CMDID);
  2223. /* Peer unmap response Cmd */
  2224. #define WMITLV_TABLE_WMI_PEER_UNMAP_RESPONSE_CMDID(id,op,buf,len) \
  2225. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_unmap_response_cmd_fixed_param, wmi_peer_unmap_response_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2226. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, peer_ids, WMITLV_SIZE_VAR)
  2227. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_UNMAP_RESPONSE_CMDID);
  2228. /* Peer flush Cmd */
  2229. #define WMITLV_TABLE_WMI_PEER_FLUSH_TIDS_CMDID(id,op,buf,len) \
  2230. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_flush_tids_cmd_fixed_param, wmi_peer_flush_tids_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2231. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_FLUSH_TIDS_CMDID);
  2232. /* Peer Set Param Cmd */
  2233. #define WMITLV_TABLE_WMI_PEER_SET_PARAM_CMDID(id,op,buf,len) \
  2234. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_set_param_cmd_fixed_param, wmi_peer_set_param_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2235. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SET_PARAM_CMDID);
  2236. /* STA Powersave Mode Cmd */
  2237. #define WMITLV_TABLE_WMI_STA_POWERSAVE_MODE_CMDID(id,op,buf,len) \
  2238. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sta_powersave_mode_cmd_fixed_param, wmi_sta_powersave_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2239. WMITLV_CREATE_PARAM_STRUC(WMI_STA_POWERSAVE_MODE_CMDID);
  2240. /* STA Powersave Param Cmd */
  2241. #define WMITLV_TABLE_WMI_STA_POWERSAVE_PARAM_CMDID(id,op,buf,len) \
  2242. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sta_powersave_param_cmd_fixed_param, wmi_sta_powersave_param_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2243. WMITLV_CREATE_PARAM_STRUC(WMI_STA_POWERSAVE_PARAM_CMDID);
  2244. /* STA TDCC Param Config Cmd */
  2245. #define WMITLV_TABLE_WMI_STA_TDCC_CONFIG_CMDID(id,op,buf,len) \
  2246. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sta_tdcc_config_cmd_fixed_param, wmi_sta_tdcc_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2247. WMITLV_CREATE_PARAM_STRUC(WMI_STA_TDCC_CONFIG_CMDID);
  2248. /* STA DTIM PS METHOD Cmd */
  2249. #define WMITLV_TABLE_WMI_STA_DTIM_PS_METHOD_CMDID(id,op,buf,len) \
  2250. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sta_dtim_ps_method_cmd_fixed_param, wmi_sta_dtim_ps_method_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2251. WMITLV_CREATE_PARAM_STRUC(WMI_STA_DTIM_PS_METHOD_CMDID);
  2252. /* Pdev Set Reg Domain Cmd */
  2253. #define WMITLV_TABLE_WMI_PDEV_SET_REGDOMAIN_CMDID(id,op,buf,len) \
  2254. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_regdomain_cmd_fixed_param, wmi_pdev_set_regdomain_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2255. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_REGDOMAIN_CMDID);
  2256. /* Peer TID ADD BA Cmd */
  2257. #define WMITLV_TABLE_WMI_PEER_TID_ADDBA_CMDID(id,op,buf,len) \
  2258. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_tid_addba_cmd_fixed_param, wmi_peer_tid_addba_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2259. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TID_ADDBA_CMDID);
  2260. /* Peer TID DEL BA Cmd */
  2261. #define WMITLV_TABLE_WMI_PEER_TID_DELBA_CMDID(id,op,buf,len) \
  2262. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_tid_delba_cmd_fixed_param, wmi_peer_tid_delba_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2263. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TID_DELBA_CMDID);
  2264. /* Peer Req Add BA Ssn for staId/tid pair Cmd */
  2265. #define WMITLV_TABLE_WMI_BA_REQ_SSN_CMDID(id,op,buf,len) \
  2266. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ba_req_ssn_cmd_fixed_param, wmi_ba_req_ssn_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2267. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_ARRAY_STRUC, wmi_ba_req_ssn, ba_req_ssn_list, WMITLV_SIZE_VAR)
  2268. WMITLV_CREATE_PARAM_STRUC(WMI_BA_REQ_SSN_CMDID);
  2269. /* PDEV FTM integration Cmd */
  2270. #define WMITLV_TABLE_WMI_PDEV_FTM_INTG_CMDID(id,op,buf,len) \
  2271. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ftm_intg_cmd_fixed_param, wmi_ftm_intg_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)\
  2272. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2273. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FTM_INTG_CMDID);
  2274. /* WOW Wakeup from sleep Cmd */
  2275. #define WMITLV_TABLE_WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID(id,op,buf,len) \
  2276. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wow_hostwakeup_from_sleep_cmd_fixed_param, wmi_wow_hostwakeup_from_sleep_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2277. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID);
  2278. /* WOW Enable Cmd */
  2279. #define WMITLV_TABLE_WMI_WOW_ENABLE_CMDID(id,op,buf,len) \
  2280. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wow_enable_cmd_fixed_param, wmi_wow_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2281. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_ENABLE_CMDID);
  2282. /* WOW ICMPv6 NA filtering command */
  2283. #define WMITLV_TABLE_WMI_WOW_ENABLE_ICMPV6_NA_FLT_CMDID(id,op,buf,len) \
  2284. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wow_enable_icmpv6_na_flt_cmd_fixed_param, wmi_wow_enable_icmpv6_na_flt_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2285. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_ENABLE_ICMPV6_NA_FLT_CMDID);
  2286. /* Remove Bcn Filter Cmd */
  2287. #define WMITLV_TABLE_WMI_RMV_BCN_FILTER_CMDID(id,op,buf,len) \
  2288. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rmv_bcn_filter_cmd_fixed_param, wmi_rmv_bcn_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2289. WMITLV_CREATE_PARAM_STRUC(WMI_RMV_BCN_FILTER_CMDID);
  2290. /* Offload 11k related requests */
  2291. #define WMITLV_TABLE_WMI_11K_OFFLOAD_REPORT_CMDID(id,op,buf,len) \
  2292. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_offload_11k_report_fixed_param, wmi_11k_offload_report_fixed_param,fixed_param, WMITLV_SIZE_FIX) \
  2293. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_neighbor_report_11k_offload_tlv_param, offload_neighbor_report_param, WMITLV_SIZE_VAR)
  2294. WMITLV_CREATE_PARAM_STRUC(WMI_11K_OFFLOAD_REPORT_CMDID);
  2295. /* invoke 11k neighbor report req from FW */
  2296. #define WMITLV_TABLE_WMI_11K_INVOKE_NEIGHBOR_REPORT_CMDID(id,op,buf,len) \
  2297. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_invoke_neighbor_report_fixed_param,wmi_11k_offload_invoke_neighbor_report_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2298. WMITLV_CREATE_PARAM_STRUC(WMI_11K_INVOKE_NEIGHBOR_REPORT_CMDID);
  2299. /** Service bit WMI_SERVICE_ROAM_OFFLOAD for Roaming feature */
  2300. /* Roam scan mode Cmd */
  2301. #define WMITLV_TABLE_WMI_ROAM_SCAN_MODE(id,op,buf,len) \
  2302. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_scan_mode_fixed_param, wmi_roam_scan_mode_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2303. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_start_scan_cmd_fixed_param, wmi_start_scan_cmd_fixed_param, scan_params, WMITLV_SIZE_FIX) \
  2304. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_offload_tlv_param, offload_param, WMITLV_SIZE_VAR) \
  2305. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_11i_offload_tlv_param, offload_11i_param, WMITLV_SIZE_VAR) \
  2306. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_11r_offload_tlv_param, offload_11r_param, WMITLV_SIZE_VAR) \
  2307. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_ese_offload_tlv_param, offload_ese_param, WMITLV_SIZE_VAR) \
  2308. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tlv_buf_len_param, assoc_ie_len_param, WMITLV_SIZE_VAR) \
  2309. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, assoc_ie_buf, WMITLV_SIZE_VAR) \
  2310. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_fils_offload_tlv_param, offload_fils_info_param, WMITLV_SIZE_VAR) \
  2311. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_sae_offload_tlv_param, offload_sae_info_param, WMITLV_SIZE_VAR)
  2312. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_MODE);
  2313. /* Roam scan Rssi Threshold Cmd */
  2314. #define WMITLV_TABLE_WMI_ROAM_SCAN_RSSI_THRESHOLD(id,op,buf,len) \
  2315. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_scan_rssi_threshold_fixed_param, wmi_roam_scan_rssi_threshold_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2316. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_scan_extended_threshold_param, extended_param, WMITLV_SIZE_VAR) \
  2317. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_earlystop_rssi_thres_param, earlystop_param, WMITLV_SIZE_VAR) \
  2318. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_dense_thres_param, dense_param, WMITLV_SIZE_VAR) \
  2319. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_bg_scan_roaming_param, bg_scan_param, WMITLV_SIZE_VAR) \
  2320. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_data_rssi_roaming_param, data_rssi_param, WMITLV_SIZE_VAR)
  2321. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_RSSI_THRESHOLD);
  2322. /* Roam Scan Period Cmd */
  2323. #define WMITLV_TABLE_WMI_ROAM_SCAN_PERIOD(id,op,buf,len) \
  2324. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_scan_period_fixed_param, wmi_roam_scan_period_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2325. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_PERIOD);
  2326. /* Roam scan change Rssi Threshold Cmd */
  2327. #define WMITLV_TABLE_WMI_ROAM_SCAN_RSSI_CHANGE_THRESHOLD(id,op,buf,len) \
  2328. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_scan_rssi_change_threshold_fixed_param, wmi_roam_scan_rssi_change_threshold_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2329. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_RSSI_CHANGE_THRESHOLD);
  2330. /* Roam Scan Channel list Cmd */
  2331. #define WMITLV_TABLE_WMI_ROAM_CHAN_LIST(id,op,buf,len) \
  2332. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_chan_list_fixed_param, wmi_roam_chan_list_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2333. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR)
  2334. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_CHAN_LIST);
  2335. /* Roam scan mode Cmd */
  2336. #define WMITLV_TABLE_WMI_ROAM_SCAN_CMD(id,op,buf,len) \
  2337. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_scan_cmd_fixed_param, wmi_roam_scan_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2338. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_CMD);
  2339. /* Roam mbo configuration */
  2340. #define WMITLV_TABLE_WMI_ROAM_SET_MBO_PARAM_CMDID(id,op,buf,len) \
  2341. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_set_mbo_fixed_param, wmi_roam_set_mbo_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2342. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, cellular_cap, WMITLV_SIZE_VAR) \
  2343. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_supported_operating_class_param, supp_op_class_param, WMITLV_SIZE_VAR) \
  2344. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, supp_op_class_list, WMITLV_SIZE_VAR) \
  2345. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mbo_non_preferred_channel_report_param, non_prefer_ch_param, WMITLV_SIZE_VAR) \
  2346. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, non_prefer_ch_attr, WMITLV_SIZE_VAR)
  2347. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SET_MBO_PARAM_CMDID);
  2348. /* Roam PER configure cmd */
  2349. #define WMITLV_TABLE_WMI_ROAM_PER_CONFIG_CMDID(id,op,buf,len) \
  2350. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_per_config_fixed_param, wmi_roam_per_config_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2351. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_PER_CONFIG_CMDID);
  2352. #define WMITLV_TABLE_WMI_VDEV_PLMREQ_START_CMDID(id,op,buf,len) \
  2353. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_plmreq_start_cmd_fixed_param, wmi_vdev_plmreq_start_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2354. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR)
  2355. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_PLMREQ_START_CMDID);
  2356. #define WMITLV_TABLE_WMI_VDEV_PLMREQ_STOP_CMDID(id,op,buf,len) \
  2357. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_plmreq_stop_cmd_fixed_param, wmi_vdev_plmreq_stop_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2358. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_PLMREQ_STOP_CMDID);
  2359. /* Start scan Cmd */
  2360. #define WMITLV_TABLE_WMI_START_SCAN_CMDID(id,op,buf,len) \
  2361. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_start_scan_cmd_fixed_param, wmi_start_scan_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2362. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR) \
  2363. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_ssid, ssid_list, WMITLV_SIZE_VAR) \
  2364. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_list, WMITLV_SIZE_VAR) \
  2365. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)\
  2366. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui, vendor_oui, WMITLV_SIZE_VAR) \
  2367. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, phymode_list, WMITLV_SIZE_VAR) \
  2368. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_hint_freq_short_ssid, hint_freq_short_ssid_list, WMITLV_SIZE_VAR) \
  2369. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_hint_freq_bssid, hint_freq_bssid_list, WMITLV_SIZE_VAR) \
  2370. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, spectral_chan_list, WMITLV_SIZE_VAR)
  2371. WMITLV_CREATE_PARAM_STRUC(WMI_START_SCAN_CMDID);
  2372. /* Scan adaptive dwell mode configuration */
  2373. #define WMITLV_TABLE_WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID(id,op,buf,len) \
  2374. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_scan_adaptive_dwell_config_fixed_param, wmi_scan_adaptive_dwell_config_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2375. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_scan_adaptive_dwell_parameters_tlv, param, WMITLV_SIZE_VAR)
  2376. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID);
  2377. /* Set scan selection duty cycle */
  2378. #define WMITLV_TABLE_WMI_SET_SCAN_DBS_DUTY_CYCLE_CMDID(id,op,buf,len) \
  2379. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_scan_dbs_duty_cycle_fixed_param, wmi_scan_dbs_duty_cycle_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2380. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_scan_dbs_duty_cycle_tlv_param, param, WMITLV_SIZE_VAR)
  2381. WMITLV_CREATE_PARAM_STRUC(WMI_SET_SCAN_DBS_DUTY_CYCLE_CMDID);
  2382. /* Start ExtScan Cmd */
  2383. #define WMITLV_TABLE_WMI_EXTSCAN_START_CMDID(id,op,buf,len) \
  2384. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_start_cmd_fixed_param, wmi_extscan_start_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2385. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_ssid, ssid_list, WMITLV_SIZE_VAR) \
  2386. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_list, WMITLV_SIZE_VAR) \
  2387. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR) \
  2388. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_bucket, bucket_list, WMITLV_SIZE_VAR) \
  2389. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_bucket_channel, channel_list, WMITLV_SIZE_VAR)
  2390. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_START_CMDID);
  2391. /* Stop ExtScan Cmd */
  2392. #define WMITLV_TABLE_WMI_EXTSCAN_STOP_CMDID(id,op,buf,len) \
  2393. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_stop_cmd_fixed_param, wmi_extscan_stop_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2394. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_STOP_CMDID);
  2395. /* Start ExtScan BSSID Monitoring Cmd */
  2396. #define WMITLV_TABLE_WMI_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMDID(id,op,buf,len) \
  2397. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_configure_wlan_change_monitor_cmd_fixed_param, wmi_extscan_configure_wlan_change_monitor_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2398. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_change_bssid_param, wlan_change_descriptor_list, WMITLV_SIZE_VAR)
  2399. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMDID);
  2400. /* Start Hot List Monitoring Cmd */
  2401. #define WMITLV_TABLE_WMI_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMDID(id,op,buf,len) \
  2402. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_configure_hotlist_monitor_cmd_fixed_param, wmi_extscan_configure_hotlist_monitor_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2403. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_hotlist_entry, hotlist, WMITLV_SIZE_VAR)
  2404. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMDID);
  2405. /* Get ExtScan BSSID/RSSI list Cmd */
  2406. #define WMITLV_TABLE_WMI_EXTSCAN_GET_CACHED_RESULTS_CMDID(id,op,buf,len) \
  2407. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_get_cached_results_cmd_fixed_param, wmi_extscan_get_cached_results_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2408. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_GET_CACHED_RESULTS_CMDID);
  2409. /* Get ExtScan BSSID monitor results Cmd */
  2410. #define WMITLV_TABLE_WMI_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMDID(id,op,buf,len) \
  2411. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_get_wlan_change_results_cmd_fixed_param, wmi_extscan_get_wlan_change_results_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2412. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMDID);
  2413. /* Set ExtScan Capabilities Cmd */
  2414. #define WMITLV_TABLE_WMI_EXTSCAN_SET_CAPABILITIES_CMDID(id,op,buf,len) \
  2415. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_set_capabilities_cmd_fixed_param, wmi_extscan_set_capabilities_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2416. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_cache_capabilities, extscan_cache_capabilities, WMITLV_SIZE_VAR) \
  2417. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_change_monitor_capabilities, wlan_change_capabilities, WMITLV_SIZE_VAR) \
  2418. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_hotlist_monitor_capabilities, hotlist_capabilities, WMITLV_SIZE_VAR)
  2419. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_SET_CAPABILITIES_CMDID);
  2420. /* Get ExtScan Capabilities Cmd */
  2421. #define WMITLV_TABLE_WMI_EXTSCAN_GET_CAPABILITIES_CMDID(id,op,buf,len) \
  2422. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_get_capabilities_cmd_fixed_param, wmi_extscan_get_capabilities_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2423. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_GET_CAPABILITIES_CMDID);
  2424. /* Start SSID Hot List Monitoring Cmd */
  2425. #define WMITLV_TABLE_WMI_EXTSCAN_CONFIGURE_HOTLIST_SSID_MONITOR_CMDID(id,op,buf,len) \
  2426. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_configure_hotlist_ssid_monitor_cmd_fixed_param, wmi_extscan_configure_hotlist_ssid_monitor_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2427. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_hotlist_ssid_entry, hotlist_ssid, WMITLV_SIZE_VAR)
  2428. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CONFIGURE_HOTLIST_SSID_MONITOR_CMDID);
  2429. /* P2P set vendor ID data Cmd */
  2430. #define WMITLV_TABLE_WMI_P2P_SET_VENDOR_IE_DATA_CMDID(id,op,buf,len) \
  2431. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_p2p_set_vendor_ie_data_cmd_fixed_param, wmi_p2p_set_vendor_ie_data_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2432. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_SET_VENDOR_IE_DATA_CMDID);
  2433. /* P2P set OppPS parameters Cmd */
  2434. #define WMITLV_TABLE_WMI_P2P_SET_OPPPS_PARAM_CMDID(id,op,buf,len) \
  2435. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_p2p_set_oppps_cmd_fixed_param, wmi_p2p_set_oppps_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2436. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_SET_OPPPS_PARAM_CMDID);
  2437. /* P2P set listen offload start parameters Cmd */
  2438. #define WMITLV_TABLE_WMI_P2P_LISTEN_OFFLOAD_START_CMDID(id,op,buf,len) \
  2439. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_p2p_lo_start_cmd_fixed_param, wmi_p2p_lo_start_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2440. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, device_types_data, WMITLV_SIZE_VAR) \
  2441. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, prob_resp_data, WMITLV_SIZE_VAR)
  2442. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_LISTEN_OFFLOAD_START_CMDID);
  2443. /* P2P set listen offload stop parameters Cmd */
  2444. #define WMITLV_TABLE_WMI_P2P_LISTEN_OFFLOAD_STOP_CMDID(id,op,buf,len) \
  2445. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_p2p_lo_stop_cmd_fixed_param, wmi_p2p_lo_stop_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2446. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_LISTEN_OFFLOAD_STOP_CMDID);
  2447. /* P2P set listen offload stopped parameters Event */
  2448. #define WMITLV_TABLE_WMI_P2P_LISTEN_OFFLOAD_STOPPED_EVENTID(id,op,buf,len) \
  2449. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_p2p_lo_stopped_event_fixed_param, wmi_p2p_lo_stopped_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2450. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_LISTEN_OFFLOAD_STOPPED_EVENTID);
  2451. /* Pdev set channel Cmd */
  2452. #define WMITLV_TABLE_WMI_PDEV_SET_CHANNEL_CMDID(id,op,buf,len) \
  2453. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX)
  2454. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_CHANNEL_CMDID);
  2455. #define WMITLV_TABLE_WMI_PDEV_UPDATE_PMK_CACHE_CMDID(id,op,buf,len) \
  2456. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_update_pmk_cache_cmd_fixed_param, wmi_pdev_update_pmk_cache_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2457. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pmk_cache, pmk_cache, WMITLV_SIZE_VAR)
  2458. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_PMK_CACHE_CMDID);
  2459. #define WMITLV_TABLE_WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID(id,op,buf,len) \
  2460. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_update_fils_hlp_pkt_cmd_fixed_param, wmi_pdev_update_fils_hlp_pkt_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2461. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, fils_hlp_pkt, WMITLV_SIZE_VAR)
  2462. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID);
  2463. /* Echo Cmd */
  2464. #define WMITLV_TABLE_WMI_ECHO_CMDID(id,op,buf,len) \
  2465. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_echo_cmd_fixed_param, wmi_echo_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2466. WMITLV_CREATE_PARAM_STRUC(WMI_ECHO_CMDID);
  2467. /* Pdev set wmm params */
  2468. #define WMITLV_TABLE_WMI_PDEV_SET_WMM_PARAMS_CMDID(id,op,buf,len) \
  2469. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_wmm_params_cmd_fixed_param, wmi_pdev_set_wmm_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)\
  2470. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wmm_params, wmi_wmm_params, wmm_params_ac_be, WMITLV_SIZE_FIX)\
  2471. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wmm_params, wmi_wmm_params, wmm_params_ac_bk, WMITLV_SIZE_FIX)\
  2472. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wmm_params, wmi_wmm_params, wmm_params_ac_vi, WMITLV_SIZE_FIX)\
  2473. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wmm_params, wmi_wmm_params, wmm_params_ac_vo, WMITLV_SIZE_FIX)
  2474. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_WMM_PARAMS_CMDID);
  2475. /* Vdev start request Cmd */
  2476. #define WMITLV_TABLE_WMI_VDEV_START_REQUEST_CMDID(id,op,buf,len) \
  2477. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_start_request_cmd_fixed_param, wmi_vdev_start_request_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2478. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX) \
  2479. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_descriptor, noa_descriptors, WMITLV_SIZE_VAR) \
  2480. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_start_mlo_params, mlo_params, WMITLV_SIZE_VAR) \
  2481. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_partner_link_params, partner_link_params, WMITLV_SIZE_VAR)
  2482. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_START_REQUEST_CMDID);
  2483. /* Vdev restart request cmd */
  2484. #define WMITLV_TABLE_WMI_VDEV_RESTART_REQUEST_CMDID(id,op,buf,len) \
  2485. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_start_request_cmd_fixed_param, wmi_vdev_start_request_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2486. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX) \
  2487. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_descriptor, noa_descriptors, WMITLV_SIZE_VAR)
  2488. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_RESTART_REQUEST_CMDID);
  2489. /* P2P Go set beacon IE cmd */
  2490. #define WMITLV_TABLE_WMI_P2P_GO_SET_BEACON_IE(id,op,buf,len) \
  2491. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_p2p_go_set_beacon_ie_fixed_param, wmi_p2p_go_set_beacon_ie_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2492. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)
  2493. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_GO_SET_BEACON_IE);
  2494. /* GTK offload Cmd */
  2495. #define WMITLV_TABLE_WMI_GTK_OFFLOAD_CMDID(id,op,buf,len) \
  2496. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_GTK_OFFLOAD_CMD_fixed_param, WMI_GTK_OFFLOAD_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2497. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_gtk_offload_fils_tlv_param, wmi_fils_gtk_info, WMITLV_SIZE_VAR) \
  2498. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, kek_ext, WMITLV_SIZE_VAR) \
  2499. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, kck_ext, WMITLV_SIZE_VAR)
  2500. WMITLV_CREATE_PARAM_STRUC(WMI_GTK_OFFLOAD_CMDID);
  2501. /* PMF 11w offload Set SA query cmd */
  2502. #define WMITLV_TABLE_WMI_PMF_OFFLOAD_SET_SA_QUERY_CMDID(id,op,buf,len) \
  2503. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_PMF_OFFLOAD_SET_SA_QUERY_CMD_fixed_param, WMI_PMF_OFFLOAD_SET_SA_QUERY_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2504. WMITLV_CREATE_PARAM_STRUC(WMI_PMF_OFFLOAD_SET_SA_QUERY_CMDID);
  2505. /* Scan channel list Cmd */
  2506. #define WMITLV_TABLE_WMI_SCAN_CHAN_LIST_CMDID(id,op,buf,len) \
  2507. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_scan_chan_list_cmd_fixed_param, wmi_scan_chan_list_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2508. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, chan_info, WMITLV_SIZE_VAR)
  2509. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_CHAN_LIST_CMDID);
  2510. /* STA UAPSD Auto trigger Cmd */
  2511. #define WMITLV_TABLE_WMI_STA_UAPSD_AUTO_TRIG_CMDID(id,op,buf,len) \
  2512. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sta_uapsd_auto_trig_cmd_fixed_param, wmi_sta_uapsd_auto_trig_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2513. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_sta_uapsd_auto_trig_param, ac_param, WMITLV_SIZE_VAR)
  2514. WMITLV_CREATE_PARAM_STRUC(WMI_STA_UAPSD_AUTO_TRIG_CMDID);
  2515. /* Probe template Cmd */
  2516. #define WMITLV_TABLE_WMI_PRB_TMPL_CMDID(id,op,buf,len) \
  2517. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_prb_tmpl_cmd_fixed_param, wmi_prb_tmpl_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2518. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bcn_prb_info, wmi_bcn_prb_info, bcn_prb_info, WMITLV_SIZE_FIX) \
  2519. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  2520. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_prb_resp_tmpl_ml_info, ml_prb_resp_info, WMITLV_SIZE_VAR)
  2521. WMITLV_CREATE_PARAM_STRUC(WMI_PRB_TMPL_CMDID);
  2522. /* Beacon template Cmd */
  2523. #define WMITLV_TABLE_WMI_BCN_TMPL_CMDID(id,op,buf,len) \
  2524. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bcn_tmpl_cmd_fixed_param, wmi_bcn_tmpl_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2525. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bcn_prb_info, wmi_bcn_prb_info, bcn_prb_info, WMITLV_SIZE_FIX) \
  2526. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  2527. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_bcn_tmpl_ml_params, ml_bcn_param, WMITLV_SIZE_VAR) \
  2528. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_bcn_tmpl_ml_info, ml_bcn_info, WMITLV_SIZE_VAR)
  2529. WMITLV_CREATE_PARAM_STRUC(WMI_BCN_TMPL_CMDID);
  2530. /* FILS Discovery template Cmd */
  2531. #define WMITLV_TABLE_WMI_FD_TMPL_CMDID(id,op,buf,len) \
  2532. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_fd_tmpl_cmd_fixed_param, wmi_fd_tmpl_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2533. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  2534. WMITLV_CREATE_PARAM_STRUC(WMI_FD_TMPL_CMDID);
  2535. /* VDEV install key complete Cmd */
  2536. #define WMITLV_TABLE_WMI_VDEV_INSTALL_KEY_CMDID(id,op,buf,len) \
  2537. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_install_key_cmd_fixed_param, wmi_vdev_install_key_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)\
  2538. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, key_data, WMITLV_SIZE_VAR)
  2539. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_INSTALL_KEY_CMDID);
  2540. /* VDEV set LTF key seed Cmd */
  2541. #define WMITLV_TABLE_WMI_VDEV_SET_LTF_KEY_SEED_CMDID(id,op,buf,len) \
  2542. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_ltf_key_seed_cmd_fixed_param, wmi_vdev_set_ltf_key_seed_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)\
  2543. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, key_seed, WMITLV_SIZE_VAR)
  2544. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_LTF_KEY_SEED_CMDID);
  2545. /* VDEV WNM SLEEP MODE Cmd */
  2546. #define WMITLV_TABLE_WMI_VDEV_WNM_SLEEPMODE_CMDID(id,op,buf,len) \
  2547. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_VDEV_WNM_SLEEPMODE_CMD_fixed_param, WMI_VDEV_WNM_SLEEPMODE_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2548. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_WNM_SLEEPMODE_CMDID);
  2549. #define WMITLV_TABLE_WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMDID(id,op,buf,len) \
  2550. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMD_fixed_param, WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2551. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMDID);
  2552. /* Peer Assoc Cmd */
  2553. #define WMITLV_TABLE_WMI_PEER_ASSOC_CMDID(id,op,buf,len) \
  2554. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_assoc_complete_cmd_fixed_param, wmi_peer_assoc_complete_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2555. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, peer_legacy_rates, WMITLV_SIZE_VAR) \
  2556. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, peer_ht_rates, WMITLV_SIZE_VAR) \
  2557. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vht_rate_set, wmi_vht_rate_set, peer_vht_rates, WMITLV_SIZE_FIX) \
  2558. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_he_rate_set, peer_he_rates, WMITLV_SIZE_VAR) \
  2559. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_assoc_mlo_params, mlo_params, WMITLV_SIZE_VAR) \
  2560. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_eht_rate_set, peer_eht_rates, WMITLV_SIZE_VAR) \
  2561. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_assoc_mlo_partner_link_params, partner_link_params, WMITLV_SIZE_VAR) \
  2562. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_assoc_tid_to_link_map, peer_tid_to_link_map, WMITLV_SIZE_VAR)
  2563. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ASSOC_CMDID);
  2564. /* Peer Set Rate Report Condition Cmd */
  2565. #define WMITLV_TABLE_WMI_PEER_SET_RATE_REPORT_CONDITION_CMDID(id,op,buf,len) \
  2566. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_set_rate_report_condition_fixed_param, wmi_peer_set_rate_report_condition_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2567. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SET_RATE_REPORT_CONDITION_CMDID);
  2568. /* Add Beacon filter Cmd */
  2569. #define WMITLV_TABLE_WMI_ADD_BCN_FILTER_CMDID(id,op,buf,len) \
  2570. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_add_bcn_filter_cmd_fixed_param, wmi_add_bcn_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2571. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ie_map, WMITLV_SIZE_FIX, BCN_FLT_MAX_ELEMS_IE_LIST) \
  2572. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ext_ie_map, WMITLV_SIZE_FIX, BCN_FLT_MAX_ELEMS_IE_LIST)
  2573. WMITLV_CREATE_PARAM_STRUC(WMI_ADD_BCN_FILTER_CMDID);
  2574. /* Sta keepalive cmd */
  2575. #define WMITLV_TABLE_WMI_STA_KEEPALIVE_CMDID(id,op,buf,len) \
  2576. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_STA_KEEPALIVE_CMD_fixed_param, WMI_STA_KEEPALIVE_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2577. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_STA_KEEPALVE_ARP_RESPONSE, WMI_STA_KEEPALVE_ARP_RESPONSE, arp_resp, WMITLV_SIZE_FIX)
  2578. WMITLV_CREATE_PARAM_STRUC(WMI_STA_KEEPALIVE_CMDID);
  2579. /* Bss Max idle time cmd */
  2580. #define WMITLV_TABLE_WMI_VDEV_BSS_MAX_IDLE_TIME_CMDID(id,op,buf,len) \
  2581. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_bss_max_idle_time_cmd_fixed_param, wmi_vdev_bss_max_idle_time_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2582. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_BSS_MAX_IDLE_TIME_CMDID);
  2583. /* ARP NS offload Cmd */
  2584. #define WMITLV_TABLE_WMI_SET_ARP_NS_OFFLOAD_CMDID(id,op,buf,len) \
  2585. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_SET_ARP_NS_OFFLOAD_CMD_fixed_param, WMI_SET_ARP_NS_OFFLOAD_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2586. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_NS_OFFLOAD_TUPLE, ns_tuples, WMITLV_SIZE_FIX, WMI_MAX_NS_OFFLOADS) \
  2587. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_ARP_OFFLOAD_TUPLE, arp_tuples, WMITLV_SIZE_FIX, WMI_MAX_ARP_OFFLOADS) \
  2588. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_NS_OFFLOAD_TUPLE, ns_ext_tuples, WMITLV_SIZE_VAR)
  2589. WMITLV_CREATE_PARAM_STRUC(WMI_SET_ARP_NS_OFFLOAD_CMDID);
  2590. /* AP PS peer param Cmd */
  2591. #define WMITLV_TABLE_WMI_AP_PS_PEER_PARAM_CMDID(id,op,buf,len) \
  2592. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ap_ps_peer_cmd_fixed_param, wmi_ap_ps_peer_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2593. WMITLV_CREATE_PARAM_STRUC(WMI_AP_PS_PEER_PARAM_CMDID);
  2594. /* AP PS enhanced green ap param Cmd */
  2595. #define WMITLV_TABLE_WMI_AP_PS_EGAP_PARAM_CMDID(id,op,buf,len) \
  2596. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ap_ps_egap_param_cmd_fixed_param, wmi_ap_ps_egap_param_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2597. WMITLV_CREATE_PARAM_STRUC(WMI_AP_PS_EGAP_PARAM_CMDID);
  2598. /* Profile Trigger Cmd */
  2599. #define WMITLV_TABLE_WMI_WLAN_PROFILE_TRIGGER_CMDID(id,op,buf,len) \
  2600. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wlan_profile_trigger_cmd_fixed_param, wmi_wlan_profile_trigger_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2601. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_TRIGGER_CMDID);
  2602. /* WLAN Profile set hist interval Cmd */
  2603. #define WMITLV_TABLE_WMI_WLAN_PROFILE_SET_HIST_INTVL_CMDID(id,op,buf,len) \
  2604. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wlan_profile_set_hist_intvl_cmd_fixed_param, wmi_wlan_profile_set_hist_intvl_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2605. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_SET_HIST_INTVL_CMDID);
  2606. /* WLAN Profile get profile data Cmd */
  2607. #define WMITLV_TABLE_WMI_WLAN_PROFILE_GET_PROFILE_DATA_CMDID(id,op,buf,len) \
  2608. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wlan_profile_get_prof_data_cmd_fixed_param, wmi_wlan_profile_get_prof_data_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2609. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_GET_PROFILE_DATA_CMDID);
  2610. /* WLAN Profile enable profile ID Cmd */
  2611. #define WMITLV_TABLE_WMI_WLAN_PROFILE_ENABLE_PROFILE_ID_CMDID(id,op,buf,len) \
  2612. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wlan_profile_enable_profile_id_cmd_fixed_param, wmi_wlan_profile_enable_profile_id_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2613. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_ENABLE_PROFILE_ID_CMDID);
  2614. /* WOW Delete Wake Pattern Cmd */
  2615. #define WMITLV_TABLE_WMI_WOW_DEL_WAKE_PATTERN_CMDID(id,op,buf,len) \
  2616. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_DEL_PATTERN_CMD_fixed_param, WMI_WOW_DEL_PATTERN_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2617. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_DEL_WAKE_PATTERN_CMDID);
  2618. #define WMITLV_TABLE_WMI_WOW_UDP_SVC_OFLD_CMDID(id,op,buf,len) \
  2619. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_UDP_SVC_OFLD_CMD_fixed_param, WMI_WOW_UDP_SVC_OFLD_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2620. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pattern, WMITLV_SIZE_VAR) \
  2621. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, response, WMITLV_SIZE_VAR)
  2622. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_UDP_SVC_OFLD_CMDID);
  2623. #define WMITLV_TABLE_WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMDID(id,op,buf,len) \
  2624. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wow_hostwakeup_gpio_pin_pattern_config_cmd_fixed_param, WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2625. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMDID);
  2626. #define WMITLV_TABLE_WMI_WOW_SET_ACTION_WAKE_UP_CMDID(id,op,buf,len) \
  2627. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wow_set_action_wake_up_cmd_fixed_param, WMI_WOW_SET_ACTION_WAKE_UP_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2628. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, action_bitmaps_per_category, WMITLV_SIZE_VAR)
  2629. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_SET_ACTION_WAKE_UP_CMDID);
  2630. /* Wow enable/disable wake up Cmd */
  2631. #define WMITLV_TABLE_WMI_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID(id,op,buf,len) \
  2632. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_ADD_DEL_EVT_CMD_fixed_param, WMI_WOW_ADD_DEL_EVT_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2633. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID);
  2634. /* RTT measurement request Cmd */
  2635. #define WMITLV_TABLE_WMI_RTT_MEASREQ_CMDID(id,op,buf,len) \
  2636. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2637. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_MEASREQ_CMDID);
  2638. /* RTT TSF Cmd */
  2639. #define WMITLV_TABLE_WMI_RTT_TSF_CMDID(id,op,buf,len) \
  2640. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2641. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_TSF_CMDID);
  2642. /* RTT OEM req Cmd */
  2643. #define WMITLV_TABLE_WMI_OEM_REQ_CMDID(id,op,buf,len) \
  2644. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2645. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_REQ_CMDID);
  2646. /* RTT OEM request Cmd - DEPRECATED */
  2647. #define WMITLV_TABLE_WMI_OEM_REQUEST_CMDID(id,op,buf,len) \
  2648. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2649. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_REQUEST_CMDID);
  2650. /* RTT OEM req Cmd through LPASS */
  2651. #define WMITLV_TABLE_WMI_LPI_OEM_REQ_CMDID(id,op,buf,len) \
  2652. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2653. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_OEM_REQ_CMDID);
  2654. #define WMITLV_TABLE_WMI_OEM_DMA_RING_CFG_REQ_CMDID(id,op,buf,len) \
  2655. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_oem_dma_ring_cfg_req_fixed_param, wmi_oem_dma_ring_cfg_req_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2656. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DMA_RING_CFG_REQ_CMDID);
  2657. /* Spectral scan configure Cmd */
  2658. #define WMITLV_TABLE_WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID(id,op,buf,len) \
  2659. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_spectral_configure_cmd_fixed_param, wmi_vdev_spectral_configure_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2660. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID);
  2661. /* Spectral scan enable Cmd */
  2662. #define WMITLV_TABLE_WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID(id,op,buf,len) \
  2663. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_spectral_enable_cmd_fixed_param, wmi_vdev_spectral_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2664. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID);
  2665. /* Request stats Cmd */
  2666. #define WMITLV_TABLE_WMI_REQUEST_STATS_CMDID(id,op,buf,len) \
  2667. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_stats_cmd_fixed_param, wmi_request_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2668. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_inst_rssi_stats_params, inst_rssi_params, WMITLV_SIZE_VAR) \
  2669. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_id_bitmap, WMITLV_SIZE_VAR) \
  2670. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mld_macaddr, WMITLV_SIZE_VAR)
  2671. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_STATS_CMDID);
  2672. /* PN Request Cmd */
  2673. #define WMITLV_TABLE_WMI_PEER_TX_PN_REQUEST_CMDID(id,op,buf,len) \
  2674. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_tx_pn_request_cmd_fixed_param, wmi_peer_tx_pn_request_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2675. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TX_PN_REQUEST_CMDID);
  2676. /* PN Request Cmd */
  2677. #define WMITLV_TABLE_WMI_PEER_RX_PN_REQUEST_CMDID(id,op,buf,len) \
  2678. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_rx_pn_request_cmd_fixed_param, wmi_peer_rx_pn_request_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2679. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_RX_PN_REQUEST_CMDID);
  2680. /* Request for memory dump stats Cmd */
  2681. #define WMITLV_TABLE_WMI_GET_FW_MEM_DUMP_CMDID(id,op,buf,len) \
  2682. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_get_fw_mem_dump_fixed_param, wmi_get_fw_mem_dump_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2683. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_fw_mem_dump, fw_mem_dump_params, WMITLV_SIZE_VAR)
  2684. WMITLV_CREATE_PARAM_STRUC(WMI_GET_FW_MEM_DUMP_CMDID);
  2685. /* flush debug messages */
  2686. #define WMITLV_TABLE_WMI_DEBUG_MESG_FLUSH_CMDID(id,op,buf,len) \
  2687. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_debug_mesg_flush_fixed_param, wmi_debug_mesg_flush_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2688. WMITLV_CREATE_PARAM_STRUC(WMI_DEBUG_MESG_FLUSH_CMDID);
  2689. /* Request to config the DIAG Events and LOGs*/
  2690. #define WMITLV_TABLE_WMI_DIAG_EVENT_LOG_CONFIG_CMDID(id,op,buf,len) \
  2691. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_diag_event_log_config_fixed_param, wmi_diag_event_log_config_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2692. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, diag_events_logs_list, WMITLV_SIZE_VAR)
  2693. WMITLV_CREATE_PARAM_STRUC(WMI_DIAG_EVENT_LOG_CONFIG_CMDID);
  2694. /* Set config params */
  2695. #define WMITLV_TABLE_WMI_START_LINK_STATS_CMDID(id,op,buf,len) \
  2696. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_start_link_stats_cmd_fixed_param, wmi_start_link_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2697. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_id_bitmap, WMITLV_SIZE_VAR) \
  2698. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mld_macaddr, WMITLV_SIZE_VAR)
  2699. WMITLV_CREATE_PARAM_STRUC(WMI_START_LINK_STATS_CMDID);
  2700. /* Request to clear link stats */
  2701. #define WMITLV_TABLE_WMI_CLEAR_LINK_STATS_CMDID(id,op,buf,len) \
  2702. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_clear_link_stats_cmd_fixed_param, wmi_clear_link_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2703. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_id_bitmap, WMITLV_SIZE_VAR) \
  2704. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mld_macaddr, WMITLV_SIZE_VAR)
  2705. WMITLV_CREATE_PARAM_STRUC(WMI_CLEAR_LINK_STATS_CMDID);
  2706. /* Request stats Cmd */
  2707. #define WMITLV_TABLE_WMI_REQUEST_LINK_STATS_CMDID(id,op,buf,len) \
  2708. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_link_stats_cmd_fixed_param, wmi_request_link_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2709. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_id_bitmap, WMITLV_SIZE_VAR) \
  2710. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mld_macaddr, WMITLV_SIZE_VAR)
  2711. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_LINK_STATS_CMDID);
  2712. /* Request for unified Link Layer and get station stats Cmd */
  2713. #define WMITLV_TABLE_WMI_REQUEST_UNIFIED_LL_GET_STA_CMDID(id,op,buf,len) \
  2714. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_unified_ll_get_sta_cmd_fixed_param, wmi_request_unified_ll_get_sta_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2715. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_inst_rssi_stats_params, inst_rssi_params, WMITLV_SIZE_VAR) \
  2716. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_id_bitmap, WMITLV_SIZE_VAR) \
  2717. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mld_macaddr, WMITLV_SIZE_VAR)
  2718. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_UNIFIED_LL_GET_STA_CMDID);
  2719. /* Request wlm stats Cmd */
  2720. #define WMITLV_TABLE_WMI_REQUEST_WLM_STATS_CMDID(id,op,buf,len) \
  2721. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_wlm_stats_cmd_fixed_param, wmi_request_wlm_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2722. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_WLM_STATS_CMDID);
  2723. /* Network list offload config Cmd */
  2724. #define WMITLV_TABLE_WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID(id,op,buf,len) \
  2725. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nlo_config_cmd_fixed_param, wmi_nlo_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2726. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, nlo_configured_parameters, nlo_list, WMITLV_SIZE_VAR) \
  2727. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR) \
  2728. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, nlo_channel_prediction_cfg, channel_prediction_param, WMITLV_SIZE_VAR) \
  2729. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_enlo_candidate_score_param, enlo_candidate_score_params, candidate_score_params, WMITLV_SIZE_FIX)\
  2730. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui, vendor_oui, WMITLV_SIZE_VAR) \
  2731. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_connected_nlo_rssi_params, connected_nlo_rssi_params, cnlo_rssi_params, WMITLV_SIZE_FIX) \
  2732. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, connected_nlo_bss_band_rssi_pref, cnlo_bss_band_rssi_pref, WMITLV_SIZE_VAR) \
  2733. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, preferred_chan_list, WMITLV_SIZE_VAR)
  2734. WMITLV_CREATE_PARAM_STRUC(WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID);
  2735. /* Passpoint list offload config Cmd */
  2736. #define WMITLV_TABLE_WMI_PASSPOINT_LIST_CONFIG_CMDID(id,op,buf,len) \
  2737. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_passpoint_config_cmd_fixed_param, wmi_passpoint_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2738. WMITLV_CREATE_PARAM_STRUC(WMI_PASSPOINT_LIST_CONFIG_CMDID);
  2739. /* CSA offload enable Cmd */
  2740. #define WMITLV_TABLE_WMI_CSA_OFFLOAD_ENABLE_CMDID(id,op,buf,len) \
  2741. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_csa_offload_enable_cmd_fixed_param, wmi_csa_offload_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2742. WMITLV_CREATE_PARAM_STRUC(WMI_CSA_OFFLOAD_ENABLE_CMDID);
  2743. /* CSA offload channel switch Cmd */
  2744. #define WMITLV_TABLE_WMI_CSA_OFFLOAD_CHANSWITCH_CMDID(id,op,buf,len) \
  2745. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_csa_offload_chanswitch_cmd_fixed_param, wmi_csa_offload_chanswitch_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2746. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX)
  2747. WMITLV_CREATE_PARAM_STRUC(WMI_CSA_OFFLOAD_CHANSWITCH_CMDID);
  2748. /* Chatter set mode Cmd */
  2749. #define WMITLV_TABLE_WMI_CHATTER_SET_MODE_CMDID(id,op,buf,len) \
  2750. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chatter_set_mode_cmd_fixed_param, wmi_chatter_set_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2751. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_SET_MODE_CMDID);
  2752. /* PDEV UTF Cmd */
  2753. #define WMITLV_TABLE_WMI_PDEV_UTF_CMDID(id,op,buf,len)\
  2754. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2755. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UTF_CMDID);
  2756. /* PDEV QVIT Cmd */
  2757. #define WMITLV_TABLE_WMI_PDEV_QVIT_CMDID(id,op,buf,len)\
  2758. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2759. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_QVIT_CMDID);
  2760. #define WMITLV_TABLE_WMI_PDEV_SET_WAKEUP_CONFIG_CMDID(id,op,buf,len) \
  2761. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_PDEV_SET_WAKEUP_CONFIG_CMDID_fixed_param, WMI_PDEV_SET_WAKEUP_CONFIG_CMDID_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2762. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_WAKEUP_CONFIG_CMDID);
  2763. #define WMITLV_TABLE_WMI_PDEV_DMA_RING_CFG_REQ_CMDID(id,op,buf,len) \
  2764. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dma_ring_cfg_req_fixed_param, wmi_dma_ring_cfg_req_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2765. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DMA_RING_CFG_REQ_CMDID);
  2766. /* Vdev Set keep alive Cmd */
  2767. #define WMITLV_TABLE_WMI_VDEV_SET_KEEPALIVE_CMDID(id,op,buf,len) \
  2768. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_keepalive_cmd_fixed_param, wmi_vdev_set_keepalive_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2769. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_KEEPALIVE_CMDID);
  2770. /* Vdev Get keep alive Cmd */
  2771. #define WMITLV_TABLE_WMI_VDEV_GET_KEEPALIVE_CMDID(id,op,buf,len) \
  2772. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_keepalive_cmd_fixed_param, wmi_vdev_get_keepalive_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2773. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_KEEPALIVE_CMDID);
  2774. /* Vdev cmd to enable/disable fw offloaded beacons. */
  2775. #define WMITLV_TABLE_WMI_BCN_OFFLOAD_CTRL_CMDID(id,op,buf,len) \
  2776. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bcn_offload_ctrl_cmd_fixed_param, wmi_bcn_offload_ctrl_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2777. WMITLV_CREATE_PARAM_STRUC(WMI_BCN_OFFLOAD_CTRL_CMDID);
  2778. /* FWTEST Set TBTT mode Cmd */
  2779. #define WMITLV_TABLE_WMI_FWTEST_VDEV_MCC_SET_TBTT_MODE_CMDID(id,op,buf,len) \
  2780. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_mcc_set_tbtt_mode_cmd_fixed_param, wmi_vdev_mcc_set_tbtt_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2781. WMITLV_CREATE_PARAM_STRUC(WMI_FWTEST_VDEV_MCC_SET_TBTT_MODE_CMDID);
  2782. /* FWTEST set NoA parameters Cmd */
  2783. #define WMITLV_TABLE_WMI_FWTEST_P2P_SET_NOA_PARAM_CMDID(id,op,buf,len) \
  2784. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_p2p_set_noa_cmd_fixed_param, wmi_p2p_set_noa_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2785. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_descriptor, noa_descriptor, WMITLV_SIZE_VAR)
  2786. WMITLV_CREATE_PARAM_STRUC(WMI_FWTEST_P2P_SET_NOA_PARAM_CMDID);
  2787. /* Unit test FW */
  2788. #define WMITLV_TABLE_WMI_UNIT_TEST_CMDID(id,op,buf,len) \
  2789. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_unit_test_cmd_fixed_param, wmi_unit_test_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2790. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, args, WMITLV_SIZE_VAR)
  2791. WMITLV_CREATE_PARAM_STRUC(WMI_UNIT_TEST_CMDID);
  2792. /* Force Fw Hang Cmd */
  2793. #define WMITLV_TABLE_WMI_FORCE_FW_HANG_CMDID(id,op,buf,len) \
  2794. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_FORCE_FW_HANG_CMD_fixed_param, WMI_FORCE_FW_HANG_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2795. WMITLV_CREATE_PARAM_STRUC(WMI_FORCE_FW_HANG_CMDID);
  2796. /* Set Mcast address Cmd */
  2797. #define WMITLV_TABLE_WMI_SET_MCASTBCAST_FILTER_CMDID(id,op,buf,len) \
  2798. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_SET_MCASTBCAST_FILTER_CMD_fixed_param, WMI_SET_MCASTBCAST_FILTER_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2799. WMITLV_CREATE_PARAM_STRUC(WMI_SET_MCASTBCAST_FILTER_CMDID);
  2800. /* Enhanced Mcast add/delete filter list cmd */
  2801. #define WMITLV_TABLE_WMI_SET_MULTIPLE_MCAST_FILTER_CMDID(id,op,buf,len) \
  2802. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_set_multiple_mcast_filter_cmd_fixed_param, WMI_SET_MULTIPLE_MCAST_FILTER_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2803. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mcast_list, WMITLV_SIZE_VAR)
  2804. WMITLV_CREATE_PARAM_STRUC(WMI_SET_MULTIPLE_MCAST_FILTER_CMDID);
  2805. /* Set dbglog time stamp sync cmd */
  2806. #define WMITLV_TABLE_WMI_DBGLOG_TIME_STAMP_SYNC_CMDID(id,op,buf,len) \
  2807. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dbglog_time_stamp_sync_cmd_fixed_param, WMI_DBGLOG_TIME_STAMP_SYNC_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2808. WMITLV_CREATE_PARAM_STRUC(WMI_DBGLOG_TIME_STAMP_SYNC_CMDID);
  2809. /* GPIO config Cmd */
  2810. #define WMITLV_TABLE_WMI_GPIO_CONFIG_CMDID(id,op,buf,len) \
  2811. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_gpio_config_cmd_fixed_param, wmi_gpio_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2812. WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_CONFIG_CMDID);
  2813. /* GPIO output Cmd */
  2814. #define WMITLV_TABLE_WMI_GPIO_OUTPUT_CMDID(id,op,buf,len) \
  2815. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_gpio_output_cmd_fixed_param, wmi_gpio_output_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2816. WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_OUTPUT_CMDID);
  2817. /* GPIO State Req Cmd */
  2818. #define WMITLV_TABLE_WMI_GPIO_STATE_REQ_CMDID(id,op,buf,len) \
  2819. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_gpio_state_req_cmd_fixed_param, wmi_gpio_state_req_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2820. WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_STATE_REQ_CMDID);
  2821. /* Antenna Controller config Cmd */
  2822. #define WMITLV_TABLE_WMI_ANT_CONTROLLER_CMDID(id,op,buf,len) \
  2823. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ant_controller_cmd_fixed_param, wmi_ant_controller_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2824. WMITLV_CREATE_PARAM_STRUC(WMI_ANT_CONTROLLER_CMDID);
  2825. /* Peer add WDA entry Cmd */
  2826. #define WMITLV_TABLE_WMI_PEER_ADD_WDS_ENTRY_CMDID(id,op,buf,len) \
  2827. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_add_wds_entry_cmd_fixed_param, wmi_peer_add_wds_entry_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2828. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ADD_WDS_ENTRY_CMDID);
  2829. /*Peer remove WDS entry Cmd */
  2830. #define WMITLV_TABLE_WMI_PEER_REMOVE_WDS_ENTRY_CMDID(id,op,buf,len) \
  2831. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_remove_wds_entry_cmd_fixed_param, wmi_peer_remove_wds_entry_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2832. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_REMOVE_WDS_ENTRY_CMDID);
  2833. /* Beacon tx Cmd */
  2834. #define WMITLV_TABLE_WMI_BCN_TX_CMDID(id,op,buf,len) \
  2835. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bcn_tx_hdr, wmi_bcn_tx_hdr, hdr, WMITLV_SIZE_FIX) \
  2836. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  2837. WMITLV_CREATE_PARAM_STRUC(WMI_BCN_TX_CMDID);
  2838. /* PDEV send Beacon Cmd */
  2839. #define WMITLV_TABLE_WMI_PDEV_SEND_BCN_CMDID(id,op,buf,len) \
  2840. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bcn_send_from_host_cmd_fixed_param, wmi_bcn_send_from_host_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2841. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SEND_BCN_CMDID);
  2842. /* Management tx Cmd */
  2843. #define WMITLV_TABLE_WMI_MGMT_TX_CMDID(id,op,buf,len) \
  2844. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_tx_hdr, wmi_mgmt_tx_hdr, hdr, WMITLV_SIZE_FIX) \
  2845. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  2846. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_TX_CMDID);
  2847. /* Management tx send cmd */
  2848. #define WMITLV_TABLE_WMI_MGMT_TX_SEND_CMDID(id,op,buf,len) \
  2849. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_tx_send_cmd_fixed_param, wmi_mgmt_tx_send_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2850. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  2851. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tx_send_params, wmi_tx_send_params, tx_send_params, WMITLV_SIZE_FIX) \
  2852. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mlo_tx_send_params, mlo_tx_send_params, WMITLV_SIZE_VAR) \
  2853. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tx_send_params_ext, tx_send_params_ext, WMITLV_SIZE_VAR)
  2854. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_TX_SEND_CMDID);
  2855. /* offchan data tx send cmd */
  2856. #define WMITLV_TABLE_WMI_OFFCHAN_DATA_TX_SEND_CMDID(id,op,buf,len) \
  2857. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_offchan_data_tx_send_cmd_fixed_param, wmi_offchan_data_tx_send_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2858. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  2859. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tx_send_params, wmi_tx_send_params, tx_send_params, WMITLV_SIZE_FIX)
  2860. WMITLV_CREATE_PARAM_STRUC(WMI_OFFCHAN_DATA_TX_SEND_CMDID);
  2861. /* QoS null tx send cmd */
  2862. #define WMITLV_TABLE_WMI_QOS_NULL_FRAME_TX_SEND_CMDID(id,op,buf,len) \
  2863. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_qos_null_frame_tx_send_cmd_fixed_param, wmi_qos_null_frame_tx_send_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2864. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  2865. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tx_send_params, wmi_tx_send_params, tx_send_params, WMITLV_SIZE_FIX)
  2866. WMITLV_CREATE_PARAM_STRUC(WMI_QOS_NULL_FRAME_TX_SEND_CMDID);
  2867. /** PDEV send FILS Discovery frame cmd */
  2868. #define WMITLV_TABLE_WMI_PDEV_SEND_FD_CMDID(id,op,buf,len) \
  2869. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_fd_send_from_host_cmd_fixed_param, wmi_fd_send_from_host_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2870. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SEND_FD_CMDID);
  2871. /** Enable or Disable Fast Initial Link Setup (FILS) feature cmd */
  2872. #define WMITLV_TABLE_WMI_ENABLE_FILS_CMDID(id,op,buf,len) \
  2873. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_enable_fils_cmd_fixed_param, wmi_enable_fils_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2874. WMITLV_CREATE_PARAM_STRUC(WMI_ENABLE_FILS_CMDID);
  2875. /* ADD clear response Cmd */
  2876. #define WMITLV_TABLE_WMI_ADDBA_CLEAR_RESP_CMDID(id,op,buf,len) \
  2877. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_addba_clear_resp_cmd_fixed_param, wmi_addba_clear_resp_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2878. WMITLV_CREATE_PARAM_STRUC(WMI_ADDBA_CLEAR_RESP_CMDID);
  2879. /* ADD BA send Cmd */
  2880. #define WMITLV_TABLE_WMI_ADDBA_SEND_CMDID(id,op,buf,len) \
  2881. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_addba_send_cmd_fixed_param, wmi_addba_send_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2882. WMITLV_CREATE_PARAM_STRUC(WMI_ADDBA_SEND_CMDID);
  2883. /* DEL BA send Cmd */
  2884. #define WMITLV_TABLE_WMI_DELBA_SEND_CMDID(id,op,buf,len) \
  2885. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_delba_send_cmd_fixed_param, wmi_delba_send_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2886. WMITLV_CREATE_PARAM_STRUC(WMI_DELBA_SEND_CMDID);
  2887. /* ADD BA set response Cmd */
  2888. #define WMITLV_TABLE_WMI_ADDBA_SET_RESP_CMDID(id,op,buf,len) \
  2889. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_addba_setresponse_cmd_fixed_param, wmi_addba_setresponse_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2890. WMITLV_CREATE_PARAM_STRUC(WMI_ADDBA_SET_RESP_CMDID);
  2891. /* Send single AMSDU Cmd */
  2892. #define WMITLV_TABLE_WMI_SEND_SINGLEAMSDU_CMDID(id,op,buf,len) \
  2893. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_send_singleamsdu_cmd_fixed_param, wmi_send_singleamsdu_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2894. WMITLV_CREATE_PARAM_STRUC(WMI_SEND_SINGLEAMSDU_CMDID);
  2895. /* PDev Packet Log enable Cmd */
  2896. #define WMITLV_TABLE_WMI_PDEV_PKTLOG_ENABLE_CMDID(id,op,buf,len) \
  2897. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_pktlog_enable_cmd_fixed_param, wmi_pdev_pktlog_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2898. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_PKTLOG_ENABLE_CMDID);
  2899. /* PDev Packet Log disable Cmd */
  2900. #define WMITLV_TABLE_WMI_PDEV_PKTLOG_DISABLE_CMDID(id,op,buf,len) \
  2901. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_pktlog_disable_cmd_fixed_param, wmi_pdev_pktlog_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2902. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_PKTLOG_DISABLE_CMDID);
  2903. /* PDev set HT Cap IE Cmd */
  2904. #define WMITLV_TABLE_WMI_PDEV_SET_HT_CAP_IE_CMDID(id,op,buf,len) \
  2905. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_ht_ie_cmd_fixed_param, wmi_pdev_set_ht_ie_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)\
  2906. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)
  2907. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_HT_CAP_IE_CMDID);
  2908. /* PDev set VHT Cap IE Cmd */
  2909. #define WMITLV_TABLE_WMI_PDEV_SET_VHT_CAP_IE_CMDID(id,op,buf,len) \
  2910. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_vht_ie_cmd_fixed_param, wmi_pdev_set_vht_ie_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)\
  2911. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)
  2912. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_VHT_CAP_IE_CMDID);
  2913. /* PDev Set DSCP to TID map Cmd */
  2914. #define WMITLV_TABLE_WMI_PDEV_SET_DSCP_TID_MAP_CMDID(id,op,buf,len) \
  2915. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_dscp_tid_map_cmd_fixed_param, wmi_pdev_set_dscp_tid_map_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2916. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_DSCP_TID_MAP_CMDID);
  2917. /* PDev Green AP PS enable Cmd */
  2918. #define WMITLV_TABLE_WMI_PDEV_GREEN_AP_PS_ENABLE_CMDID(id,op,buf,len) \
  2919. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_green_ap_ps_enable_cmd_fixed_param, wmi_pdev_green_ap_ps_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2920. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GREEN_AP_PS_ENABLE_CMDID);
  2921. /* PDEV Get TPC Config Cmd */
  2922. #define WMITLV_TABLE_WMI_PDEV_GET_TPC_CONFIG_CMDID(id,op,buf,len) \
  2923. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_tpc_config_cmd_fixed_param, wmi_pdev_get_tpc_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2924. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TPC_CONFIG_CMDID);
  2925. /* PDEV Get Antenna diversity chains rssi and antenna index Cmd */
  2926. #define WMITLV_TABLE_WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID(id,op,buf,len) \
  2927. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_div_get_rssi_antid_fixed_param, wmi_pdev_div_get_rssi_antid_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2928. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID);
  2929. #define WMITLV_TABLE_WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID(id,op,buf,len) \
  2930. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_bss_chan_info_request_fixed_param, wmi_pdev_bss_chan_info_request_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2931. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID);
  2932. /* PDEV update ctl table Cmd */
  2933. #define WMITLV_TABLE_WMI_PDEV_UPDATE_CTLTABLE_REQUEST_CMDID(id,op,buf,len) \
  2934. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_update_ctltable_request_fixed_param, wmi_pdev_update_ctltable_request_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2935. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ctltable_data, WMITLV_SIZE_VAR)
  2936. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_CTLTABLE_REQUEST_CMDID);
  2937. /* VDEV Get Tx power Cmd */
  2938. #define WMITLV_TABLE_WMI_VDEV_GET_TX_POWER_CMDID(id,op,buf,len) \
  2939. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_tx_power_cmd_fixed_param, wmi_vdev_get_tx_power_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2940. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_TX_POWER_CMDID);
  2941. /* Limit Offchannel duration Cmd */
  2942. #define WMITLV_TABLE_WMI_VDEV_LIMIT_OFFCHAN_CMDID(id,op,buf,len) \
  2943. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_limit_offchan_cmd_fixed_param, wmi_vdev_limit_offchan_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2944. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_LIMIT_OFFCHAN_CMDID);
  2945. /* vdev per-AC SW retry configuration cmd */
  2946. #define WMITLV_TABLE_WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID(id,op,buf,len) \
  2947. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_custom_sw_retry_th_cmd_fixed_param, wmi_vdev_set_custom_sw_retry_th_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2948. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID);
  2949. #define WMITLV_TABLE_WMI_VDEV_CHAINMASK_CONFIG_CMDID(id,op,buf,len) \
  2950. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_chainmask_config_cmd_fixed_param, wmi_vdev_chainmask_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2951. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_CHAINMASK_CONFIG_CMDID);
  2952. /* PDEV Set Base Mac Address Cmd */
  2953. #define WMITLV_TABLE_WMI_PDEV_SET_BASE_MACADDR_CMDID(id,op,buf,len) \
  2954. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_base_macaddr_cmd_fixed_param, wmi_pdev_set_base_macaddr_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2955. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_BASE_MACADDR_CMDID);
  2956. /* MIB Stats*/
  2957. #define WMITLV_TABLE_WMI_MIB_STATS_ENABLE_CMDID(id,op,buf,len) \
  2958. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mib_stats_enable_cmd_fixed_param, wmi_mib_stats_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2959. WMITLV_CREATE_PARAM_STRUC(WMI_MIB_STATS_ENABLE_CMDID);
  2960. /* Peer multicast group Cmd */
  2961. #define WMITLV_TABLE_WMI_PEER_MCAST_GROUP_CMDID(id,op,buf,len) \
  2962. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_mcast_group_cmd_fixed_param, wmi_peer_mcast_group_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2963. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_MCAST_GROUP_CMDID);
  2964. /* Roam AP profile Cmd */
  2965. #define WMITLV_TABLE_WMI_ROAM_AP_PROFILE(id,op,buf,len) \
  2966. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_ap_profile_fixed_param, wmi_roam_ap_profile_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2967. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ap_profile, wmi_ap_profile, ap_profile, WMITLV_SIZE_FIX) \
  2968. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_cnd_scoring_param, wmi_roam_cnd_scoring_param, roam_cnd_scoring_param, WMITLV_SIZE_FIX) \
  2969. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_score_delta_param, roam_score_delta_param_list, WMITLV_SIZE_VAR) \
  2970. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_cnd_min_rssi_param, roam_cnd_min_rssi_param_list, WMITLV_SIZE_VAR) \
  2971. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_cnd_vendor_scoring_param, roam_cnd_vendor_scoring_param, WMITLV_SIZE_VAR) \
  2972. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_owe_ap_profile, owe_ap_profile, WMITLV_SIZE_VAR) \
  2973. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, authmode_list, WMITLV_SIZE_VAR)
  2974. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_AP_PROFILE);
  2975. /* Roam sync complete Cmd */
  2976. #define WMITLV_TABLE_WMI_ROAM_SYNCH_COMPLETE(id,op,buf,len) \
  2977. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_synch_complete_fixed_param, wmi_roam_synch_complete_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2978. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SYNCH_COMPLETE);
  2979. #define WMITLV_TABLE_WMI_ROAM_SET_RIC_REQUEST_CMDID(id,op,buf,len) \
  2980. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ric_request_fixed_param, wmi_ric_request_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2981. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ric_tspec, ric_tspec_list, WMITLV_SIZE_VAR)
  2982. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SET_RIC_REQUEST_CMDID);
  2983. /* Scan scheduler priority Table Cmd */
  2984. #define WMITLV_TABLE_WMI_SCAN_SCH_PRIO_TBL_CMDID(id,op,buf,len) \
  2985. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_scan_sch_priority_table_cmd_fixed_param, wmi_scan_sch_priority_table_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2986. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, mapping_table, WMITLV_SIZE_VAR)
  2987. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_SCH_PRIO_TBL_CMDID);
  2988. /* PDEV DFS enable Cmd */
  2989. #define WMITLV_TABLE_WMI_PDEV_DFS_ENABLE_CMDID(id,op,buf,len) \
  2990. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_dfs_enable_cmd_fixed_param, wmi_pdev_dfs_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2991. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_ENABLE_CMDID);
  2992. /* PDEV DFS disable Cmd */
  2993. #define WMITLV_TABLE_WMI_PDEV_DFS_DISABLE_CMDID(id,op,buf,len) \
  2994. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_dfs_disable_cmd_fixed_param, wmi_pdev_dfs_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2995. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_DISABLE_CMDID);
  2996. /* DFS phyerr parse/filter offload enable Cmd */
  2997. #define WMITLV_TABLE_WMI_DFS_PHYERR_FILTER_ENA_CMDID(id,op,buf,len) \
  2998. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dfs_phyerr_filter_ena_cmd_fixed_param, wmi_dfs_phyerr_filter_ena_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2999. WMITLV_CREATE_PARAM_STRUC(WMI_DFS_PHYERR_FILTER_ENA_CMDID);
  3000. /* DFS phyerr parse/filter offload disable Cmd */
  3001. #define WMITLV_TABLE_WMI_DFS_PHYERR_FILTER_DIS_CMDID(id,op,buf,len) \
  3002. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dfs_phyerr_filter_dis_cmd_fixed_param, wmi_dfs_phyerr_filter_dis_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3003. WMITLV_CREATE_PARAM_STRUC(WMI_DFS_PHYERR_FILTER_DIS_CMDID);
  3004. /* DFS phyerr processing offload enable cmd */
  3005. #define WMITLV_TABLE_WMI_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMDID(id,op,buf,len) \
  3006. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_dfs_phyerr_offload_enable_cmd_fixed_param, wmi_pdev_dfs_phyerr_offload_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3007. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMDID);
  3008. /* DFS phyerr processing offload disable cmd */
  3009. #define WMITLV_TABLE_WMI_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMDID(id,op,buf,len) \
  3010. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_dfs_phyerr_offload_disable_cmd_fixed_param, wmi_pdev_dfs_phyerr_offload_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3011. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMDID);
  3012. /* set ADFS channel config cmd */
  3013. #define WMITLV_TABLE_WMI_VDEV_ADFS_CH_CFG_CMDID(id,op,buf,len) \
  3014. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_adfs_ch_cfg_cmd_fixed_param, wmi_vdev_adfs_ch_cfg_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3015. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADFS_CH_CFG_CMDID);
  3016. /* DFS abort ADFS ocac currently in progress */
  3017. #define WMITLV_TABLE_WMI_VDEV_ADFS_OCAC_ABORT_CMDID(id,op,buf,len) \
  3018. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_adfs_ocac_abort_cmd_fixed_param, wmi_vdev_adfs_ocac_abort_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3019. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADFS_OCAC_ABORT_CMDID);
  3020. /* WOW Add Wake Pattern Cmd */
  3021. #define WMITLV_TABLE_WMI_WOW_ADD_WAKE_PATTERN_CMDID(id,op,buf,len) \
  3022. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_ADD_PATTERN_CMD_fixed_param, WMI_WOW_ADD_PATTERN_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3023. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_BITMAP_PATTERN_T, pattern_info_bitmap, WMITLV_SIZE_VAR) \
  3024. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IPV4_SYNC_PATTERN_T, pattern_info_ipv4, WMITLV_SIZE_VAR)\
  3025. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IPV6_SYNC_PATTERN_T, pattern_info_ipv6, WMITLV_SIZE_VAR)\
  3026. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_MAGIC_PATTERN_CMD, pattern_info_magic_pattern, WMITLV_SIZE_VAR)\
  3027. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, pattern_info_timeout, WMITLV_SIZE_VAR) \
  3028. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ra_ratelimit_interval, WMITLV_SIZE_FIX, 1)
  3029. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_ADD_WAKE_PATTERN_CMDID);
  3030. /* IOAC add keep alive cmd. */
  3031. #define WMITLV_TABLE_WMI_WOW_IOAC_ADD_KEEPALIVE_CMDID(id,op,buf,len) \
  3032. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_IOAC_ADD_KEEPALIVE_CMD_fixed_param, WMI_WOW_IOAC_ADD_KEEPALIVE_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3033. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_WOW_IOAC_KEEPALIVE_T, keepalive_set, WMITLV_SIZE_VAR)
  3034. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_IOAC_ADD_KEEPALIVE_CMDID);
  3035. /* IOAC del keep alive cmd. */
  3036. #define WMITLV_TABLE_WMI_WOW_IOAC_DEL_KEEPALIVE_CMDID(id,op,buf,len) \
  3037. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_IOAC_DEL_KEEPALIVE_CMD_fixed_param, WMI_WOW_IOAC_DEL_KEEPALIVE_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3038. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_IOAC_DEL_KEEPALIVE_CMDID);
  3039. /* WOW IOAC Add Wake Pattern Cmd */
  3040. #define WMITLV_TABLE_WMI_WOW_IOAC_ADD_WAKE_PATTERN_CMDID(id,op,buf,len) \
  3041. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_IOAC_ADD_PATTERN_CMD_fixed_param, WMI_WOW_IOAC_ADD_PATTERN_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3042. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IOAC_PKT_PATTERN_T, pattern_info_pkt, WMITLV_SIZE_VAR) \
  3043. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IOAC_TMR_PATTERN_T, pattern_info_tmr, WMITLV_SIZE_VAR) \
  3044. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IOAC_SOCK_PATTERN_T, pattern_info_sock, WMITLV_SIZE_VAR)
  3045. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_IOAC_ADD_WAKE_PATTERN_CMDID);
  3046. /* WOW IOAC Delete Wake Pattern Cmd */
  3047. #define WMITLV_TABLE_WMI_WOW_IOAC_DEL_WAKE_PATTERN_CMDID(id,op,buf,len) \
  3048. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_IOAC_DEL_PATTERN_CMD_fixed_param, WMI_WOW_IOAC_DEL_PATTERN_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3049. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_IOAC_DEL_WAKE_PATTERN_CMDID);
  3050. /* extwow enable Cmd */
  3051. #define WMITLV_TABLE_WMI_EXTWOW_ENABLE_CMDID(id,op,buf,len) \
  3052. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extwow_enable_cmd_fixed_param, wmi_extwow_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3053. WMITLV_CREATE_PARAM_STRUC(WMI_EXTWOW_ENABLE_CMDID);
  3054. /* extwow set wakeup params cmd for app type1 */
  3055. #define WMITLV_TABLE_WMI_EXTWOW_SET_APP_TYPE1_PARAMS_CMDID(id,op,buf,len) \
  3056. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extwow_set_app_type1_params_cmd_fixed_param, wmi_extwow_set_app_type1_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3057. WMITLV_CREATE_PARAM_STRUC(WMI_EXTWOW_SET_APP_TYPE1_PARAMS_CMDID);
  3058. /* extwow set wakeup params cmd for app type2 */
  3059. #define WMITLV_TABLE_WMI_EXTWOW_SET_APP_TYPE2_PARAMS_CMDID(id,op,buf,len) \
  3060. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extwow_set_app_type2_params_cmd_fixed_param, wmi_extwow_set_app_type2_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3061. WMITLV_CREATE_PARAM_STRUC(WMI_EXTWOW_SET_APP_TYPE2_PARAMS_CMDID);
  3062. /* Stop scan Cmd */
  3063. #define WMITLV_TABLE_WMI_STOP_SCAN_CMDID(id,op,buf,len) \
  3064. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_stop_scan_cmd_fixed_param, wmi_stop_scan_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3065. WMITLV_CREATE_PARAM_STRUC(WMI_STOP_SCAN_CMDID);
  3066. #define WMITLV_TABLE_WMI_PDEV_SET_PARAM_CMDID(id,op,buf,len) \
  3067. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_param_cmd_fixed_param, wmi_pdev_set_param_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3068. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_PARAM_CMDID);
  3069. /* PDev set quiet Cmd */
  3070. #define WMITLV_TABLE_WMI_PDEV_SET_QUIET_MODE_CMDID(id,op,buf,len) \
  3071. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_quiet_cmd_fixed_param, wmi_pdev_set_quiet_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3072. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_QUIET_MODE_CMDID);
  3073. /* VDev set quiet Cmd */
  3074. #define WMITLV_TABLE_WMI_VDEV_SET_QUIET_MODE_CMDID(id,op,buf,len) \
  3075. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_quiet_cmd_fixed_param, wmi_vdev_set_quiet_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3076. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_QUIET_MODE_CMDID);
  3077. /* vdev set offload quiet Cmd */
  3078. #define WMITLV_TABLE_WMI_VDEV_BCN_OFFLOAD_QUIET_CONFIG_CMDID(id,op,buf,len) \
  3079. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_bcn_offload_quiet_config_cmd_fixed_param, wmi_vdev_bcn_offload_quiet_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3080. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_bcn_offload_ml_quiet_config_params, ml_quiet_param, WMITLV_SIZE_VAR)
  3081. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_BCN_OFFLOAD_QUIET_CONFIG_CMDID);
  3082. /* Setting custom aggregation size using command */
  3083. #define WMITLV_TABLE_WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID(id,op,buf,len) \
  3084. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_custom_aggr_size_cmd_fixed_param, wmi_vdev_set_custom_aggr_size_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3085. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID);
  3086. /* Vdev create Cmd */
  3087. #define WMITLV_TABLE_WMI_VDEV_CREATE_CMDID(id,op,buf,len) \
  3088. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_create_cmd_fixed_param, wmi_vdev_create_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3089. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_txrx_streams, cfg_txrx_streams, WMITLV_SIZE_VAR) \
  3090. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_create_mlo_params, mlo_params, WMITLV_SIZE_VAR)
  3091. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_CREATE_CMDID);
  3092. /* Vdev delete Cmd */
  3093. #define WMITLV_TABLE_WMI_VDEV_DELETE_CMDID(id,op,buf,len) \
  3094. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_delete_cmd_fixed_param, wmi_vdev_delete_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3095. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DELETE_CMDID);
  3096. /* Vdev up Cmd */
  3097. #define WMITLV_TABLE_WMI_VDEV_UP_CMDID(id,op,buf,len) \
  3098. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_up_cmd_fixed_param, wmi_vdev_up_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3099. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_UP_CMDID);
  3100. /* Vdev stop cmd */
  3101. #define WMITLV_TABLE_WMI_VDEV_STOP_CMDID(id,op,buf,len) \
  3102. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_stop_cmd_fixed_param, wmi_vdev_stop_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3103. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_STOP_CMDID);
  3104. /* Vdev down Cmd */
  3105. #define WMITLV_TABLE_WMI_VDEV_DOWN_CMDID(id,op,buf,len) \
  3106. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_down_cmd_fixed_param, wmi_vdev_down_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3107. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DOWN_CMDID);
  3108. /* Vdev set param Cmd */
  3109. #define WMITLV_TABLE_WMI_VDEV_SET_PARAM_CMDID(id,op,buf,len) \
  3110. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_param_cmd_fixed_param, wmi_vdev_set_param_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3111. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_PARAM_CMDID);
  3112. /* Update vdev mac address */
  3113. #define WMITLV_TABLE_WMI_VDEV_UPDATE_MAC_ADDR_CMDID(id,op,buf,len) \
  3114. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_update_mac_addr_cmd_fixed_param, wmi_vdev_update_mac_addr_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3115. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_UPDATE_MAC_ADDR_CMDID);
  3116. /* Pdev suspend Cmd */
  3117. #define WMITLV_TABLE_WMI_PDEV_SUSPEND_CMDID(id,op,buf,len) \
  3118. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_suspend_cmd_fixed_param, wmi_pdev_suspend_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3119. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SUSPEND_CMDID);
  3120. /* Pdev Resume Cmd */
  3121. #define WMITLV_TABLE_WMI_PDEV_RESUME_CMDID(id,op,buf,len) \
  3122. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_resume_cmd_fixed_param, wmi_pdev_resume_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3123. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_RESUME_CMDID);
  3124. #define WMITLV_TABLE_WMI_SCAN_UPDATE_REQUEST_CMDID(id,op,buf,len) \
  3125. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_scan_update_request_cmd_fixed_param, wmi_scan_update_request_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3126. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_UPDATE_REQUEST_CMDID);
  3127. #define WMITLV_TABLE_WMI_SCAN_PROB_REQ_OUI_CMDID(id,op,buf,len) \
  3128. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_scan_prob_req_oui_cmd_fixed_param, wmi_scan_prob_req_oui_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3129. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui, vendor_oui, WMITLV_SIZE_VAR)
  3130. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_PROB_REQ_OUI_CMDID);
  3131. #define WMITLV_TABLE_WMI_PDEV_CONFIG_VENDOR_OUI_ACTION_CMDID(id,op,buf,len) \
  3132. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_config_vendor_oui_action_fixed_param, \
  3133. wmi_pdev_config_vendor_oui_action_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3134. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui_ext, vendor_oui_ext, WMITLV_SIZE_VAR) \
  3135. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3136. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CONFIG_VENDOR_OUI_ACTION_CMDID);
  3137. #define WMITLV_TABLE_WMI_CHATTER_ADD_COALESCING_FILTER_CMDID(id,op,buf,len) \
  3138. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_STRUC_wmi_chatter_coalescing_add_filter_cmd_fixed_param, wmi_chatter_coalescing_add_filter_cmd_fixed_param, fixed_param,WMITLV_SIZE_FIX) \
  3139. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, chatter_pkt_coalescing_filter, coalescing_filter, WMITLV_SIZE_VAR)
  3140. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_ADD_COALESCING_FILTER_CMDID);
  3141. #define WMITLV_TABLE_WMI_CHATTER_DELETE_COALESCING_FILTER_CMDID(id,op,buf,len) \
  3142. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chatter_coalescing_delete_filter_cmd_fixed_param,wmi_chatter_coalescing_delete_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3143. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_DELETE_COALESCING_FILTER_CMDID);
  3144. #define WMITLV_TABLE_WMI_CHATTER_COALESCING_QUERY_CMDID(id,op,buf,len) \
  3145. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chatter_coalescing_query_cmd_fixed_param, wmi_chatter_coalescing_query_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3146. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_COALESCING_QUERY_CMDID);
  3147. #define WMITLV_TABLE_WMI_TXBF_CMDID(id,op,buf,len) \
  3148. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_STRUC_wmi_txbf_cmd_fixed_param, wmi_txbf_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3149. WMITLV_CREATE_PARAM_STRUC(WMI_TXBF_CMDID);
  3150. #define WMITLV_TABLE_WMI_DBGLOG_CFG_CMDID(id,op,buf,len) \
  3151. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_debug_log_config_cmd_fixed_param, wmi_debug_log_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3152. WMITLV_FXAR(id,op,buf,len,WMITLV_TAG_ARRAY_UINT32, A_UINT32, module_id_bitmap, WMITLV_SIZE_FIX, MAX_MODULE_ID_BITMAP_WORDS) \
  3153. WMITLV_CREATE_PARAM_STRUC(WMI_DBGLOG_CFG_CMDID);
  3154. #define WMITLV_TABLE_WMI_VDEV_WMM_ADDTS_CMDID(id,op,buf,len) \
  3155. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_wmm_addts_cmd_fixed_param, wmi_vdev_wmm_addts_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3156. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_WMM_ADDTS_CMDID);
  3157. #define WMITLV_TABLE_WMI_VDEV_WMM_DELTS_CMDID(id,op,buf,len) \
  3158. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_wmm_delts_cmd_fixed_param, wmi_vdev_wmm_delts_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3159. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_WMM_DELTS_CMDID);
  3160. #define WMITLV_TABLE_WMI_VDEV_SET_WMM_PARAMS_CMDID(id,op,buf,len) \
  3161. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_wmm_params_cmd_fixed_param, wmi_vdev_set_wmm_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3162. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_WMM_PARAMS_CMDID);
  3163. #define WMITLV_TABLE_WMI_VDEV_SET_TWT_EDCA_PARAMS_CMDID(id,op,buf,len) \
  3164. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_twt_edca_params_cmd_fixed_param, wmi_vdev_set_twt_edca_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3165. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_wmm_params, wmm_params, WMITLV_SIZE_VAR) \
  3166. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pifs_params, pifs_params, WMITLV_SIZE_VAR)
  3167. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_TWT_EDCA_PARAMS_CMDID);
  3168. #define WMITLV_TABLE_WMI_VDEV_SET_GTX_PARAMS_CMDID(id,op,buf,len) \
  3169. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_gtx_params_cmd_fixed_param, wmi_vdev_set_gtx_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3170. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_GTX_PARAMS_CMDID);
  3171. /* TDLS Enable/Disable Cmd */
  3172. #define WMITLV_TABLE_WMI_TDLS_SET_STATE_CMDID(id,op,buf,len) \
  3173. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tdls_set_state_cmd_fixed_param, \
  3174. wmi_tdls_set_state_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3175. WMITLV_CREATE_PARAM_STRUC(WMI_TDLS_SET_STATE_CMDID);
  3176. /* TDLS Peer Update Cmd */
  3177. #define WMITLV_TABLE_WMI_TDLS_PEER_UPDATE_CMDID(id,op,buf,len) \
  3178. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tdls_peer_update_cmd_fixed_param, wmi_tdls_peer_update_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3179. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tdls_peer_capabilities, wmi_tdls_peer_capabilities, peer_caps, WMITLV_SIZE_FIX) \
  3180. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, peer_chan_list, WMITLV_SIZE_VAR)
  3181. WMITLV_CREATE_PARAM_STRUC(WMI_TDLS_PEER_UPDATE_CMDID);
  3182. /* Enable/Disable TDLS Offchannel Cmd */
  3183. #define WMITLV_TABLE_WMI_TDLS_SET_OFFCHAN_MODE_CMDID(id,op,buf,len) \
  3184. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tdls_set_offchan_mode_cmd_fixed_param, \
  3185. wmi_tdls_set_offchan_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3186. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, peer_chan_list, WMITLV_SIZE_VAR)
  3187. WMITLV_CREATE_PARAM_STRUC(WMI_TDLS_SET_OFFCHAN_MODE_CMDID);
  3188. /* Resmgr Enable/Disable Adaptive OCS CMD */
  3189. #define WMITLV_TABLE_WMI_RESMGR_ADAPTIVE_OCS_ENABLE_DISABLE_CMDID(id,op,buf,len) \
  3190. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_resmgr_adaptive_ocs_enable_disable_cmd_fixed_param, \
  3191. wmi_resmgr_adaptive_ocs_enable_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3192. WMITLV_CREATE_PARAM_STRUC(WMI_RESMGR_ADAPTIVE_OCS_ENABLE_DISABLE_CMDID);
  3193. /* Resmgr Set Channel Time Quota CMD */
  3194. #define WMITLV_TABLE_WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID(id,op,buf,len) \
  3195. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_resmgr_set_chan_time_quota_cmd_fixed_param, \
  3196. wmi_resmgr_set_chan_time_quota_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3197. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3198. WMITLV_CREATE_PARAM_STRUC(WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID);
  3199. /* Resmgr Set Channel Latency CMD */
  3200. #define WMITLV_TABLE_WMI_RESMGR_SET_CHAN_LATENCY_CMDID(id,op,buf,len) \
  3201. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_resmgr_set_chan_latency_cmd_fixed_param, \
  3202. wmi_resmgr_set_chan_latency_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3203. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3204. WMITLV_CREATE_PARAM_STRUC(WMI_RESMGR_SET_CHAN_LATENCY_CMDID);
  3205. /* STA SMPS Force Mode CMD */
  3206. #define WMITLV_TABLE_WMI_STA_SMPS_FORCE_MODE_CMDID(id,op,buf,len) \
  3207. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sta_smps_force_mode_cmd_fixed_param, \
  3208. wmi_sta_smps_force_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3209. WMITLV_CREATE_PARAM_STRUC(WMI_STA_SMPS_FORCE_MODE_CMDID);
  3210. /* wlan hb enable/disable CMD */
  3211. #define WMITLV_TABLE_WMI_HB_SET_ENABLE_CMDID(id,op,buf,len) \
  3212. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_enable_cmd_fixed_param, \
  3213. wmi_hb_set_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3214. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_ENABLE_CMDID);
  3215. /* wlan hb set tcp params CMD */
  3216. #define WMITLV_TABLE_WMI_HB_SET_TCP_PARAMS_CMDID(id,op,buf,len) \
  3217. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_tcp_params_cmd_fixed_param, \
  3218. wmi_hb_set_tcp_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3219. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_TCP_PARAMS_CMDID);
  3220. /* wlan hb set tcp pkt filter CMD */
  3221. #define WMITLV_TABLE_WMI_HB_SET_TCP_PKT_FILTER_CMDID(id,op,buf,len) \
  3222. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_tcp_pkt_filter_cmd_fixed_param, \
  3223. wmi_hb_set_tcp_pkt_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3224. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_TCP_PKT_FILTER_CMDID);
  3225. /* wlan set udp params CMD */
  3226. #define WMITLV_TABLE_WMI_HB_SET_UDP_PARAMS_CMDID(id,op,buf,len) \
  3227. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_udp_params_cmd_fixed_param, \
  3228. wmi_hb_set_udp_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3229. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_UDP_PARAMS_CMDID);
  3230. /* wlan hb set udp pkt filter CMD */
  3231. #define WMITLV_TABLE_WMI_HB_SET_UDP_PKT_FILTER_CMDID(id,op,buf,len) \
  3232. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_udp_pkt_filter_cmd_fixed_param, \
  3233. wmi_hb_set_udp_pkt_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3234. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_UDP_PKT_FILTER_CMDID);
  3235. /* STA SMPS Param CMD */
  3236. #define WMITLV_TABLE_WMI_STA_SMPS_PARAM_CMDID(id,op,buf,len) \
  3237. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sta_smps_param_cmd_fixed_param, \
  3238. wmi_sta_smps_param_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3239. WMITLV_CREATE_PARAM_STRUC(WMI_STA_SMPS_PARAM_CMDID);
  3240. /* MCC Adaptive Scheduler Traffic Stats */
  3241. #define WMITLV_TABLE_WMI_MCC_SCHED_TRAFFIC_STATS_CMDID(id,op,buf,len) \
  3242. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mcc_sched_traffic_stats_cmd_fixed_param, wmi_mcc_sched_traffic_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3243. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_mcc_sched_sta_traffic_stats, mcc_sched_sta_traffic_stats_list, WMITLV_SIZE_VAR)
  3244. WMITLV_CREATE_PARAM_STRUC(WMI_MCC_SCHED_TRAFFIC_STATS_CMDID);
  3245. #define WMITLV_TABLE_WMI_BATCH_SCAN_ENABLE_CMDID(id,op,buf,len) \
  3246. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_batch_scan_enable_cmd_fixed_param, wmi_batch_scan_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3247. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_ENABLE_CMDID);
  3248. #define WMITLV_TABLE_WMI_PEER_INFO_REQ_CMDID(id,op,buf,len) \
  3249. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_info_req_cmd_fixed_param, \
  3250. wmi_peer_info_req_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3251. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_INFO_REQ_CMDID);
  3252. #define WMITLV_TABLE_WMI_PEER_ANTDIV_INFO_REQ_CMDID(id,op,buf,len) \
  3253. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_antdiv_info_req_cmd_fixed_param, \
  3254. wmi_peer_antdiv_info_req_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3255. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ANTDIV_INFO_REQ_CMDID);
  3256. #define WMITLV_TABLE_WMI_RMC_SET_MODE_CMDID(id,op,buf,len) \
  3257. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rmc_set_mode_cmd_fixed_param, \
  3258. wmi_rmc_set_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3259. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_SET_MODE_CMDID);
  3260. #define WMITLV_TABLE_WMI_RMC_SET_ACTION_PERIOD_CMDID(id,op,buf,len) \
  3261. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rmc_set_action_period_cmd_fixed_param, \
  3262. wmi_rmc_set_action_period_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3263. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_SET_ACTION_PERIOD_CMDID);
  3264. #define WMITLV_TABLE_WMI_RMC_CONFIG_CMDID(id,op,buf,len) \
  3265. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rmc_config_cmd_fixed_param, \
  3266. wmi_rmc_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3267. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_CONFIG_CMDID);
  3268. #define WMITLV_TABLE_WMI_MHF_OFFLOAD_SET_MODE_CMDID(id,op,buf,len) \
  3269. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mhf_offload_set_mode_cmd_fixed_param, \
  3270. wmi_mhf_offload_set_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3271. WMITLV_CREATE_PARAM_STRUC(WMI_MHF_OFFLOAD_SET_MODE_CMDID);
  3272. #define WMITLV_TABLE_WMI_MHF_OFFLOAD_PLUMB_ROUTING_TBL_CMDID(id,op,buf,len) \
  3273. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mhf_offload_plumb_routing_table_cmd_fixed_param, \
  3274. wmi_mhf_offload_plumb_routing_table_cmd, fixed_param, WMITLV_SIZE_FIX) \
  3275. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mhf_offload_routing_table_entry, \
  3276. routing_tbl_entries, WMITLV_SIZE_VAR)
  3277. WMITLV_CREATE_PARAM_STRUC(WMI_MHF_OFFLOAD_PLUMB_ROUTING_TBL_CMDID);
  3278. #define WMITLV_TABLE_WMI_BATCH_SCAN_DISABLE_CMDID(id,op,buf,len) \
  3279. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_batch_scan_disable_cmd_fixed_param, wmi_batch_scan_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3280. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_DISABLE_CMDID);
  3281. #define WMITLV_TABLE_WMI_BATCH_SCAN_TRIGGER_RESULT_CMDID(id,op,buf,len) \
  3282. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_batch_scan_trigger_result_cmd_fixed_param, wmi_batch_scan_trigger_result_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3283. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_TRIGGER_RESULT_CMDID);
  3284. /* LPI mgmt snooping config Cmd */
  3285. #define WMITLV_TABLE_WMI_LPI_MGMT_SNOOPING_CONFIG_CMDID(id,op,buf,len) \
  3286. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_lpi_mgmt_snooping_config_cmd_fixed_param, wmi_lpi_mgmt_snooping_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3287. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_MGMT_SNOOPING_CONFIG_CMDID);
  3288. /* LPI start scan Cmd */
  3289. #define WMITLV_TABLE_WMI_LPI_START_SCAN_CMDID(id,op,buf,len) \
  3290. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_lpi_start_scan_cmd_fixed_param, wmi_lpi_start_scan_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3291. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR) \
  3292. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_ssid, ssid_list, WMITLV_SIZE_VAR) \
  3293. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_list, WMITLV_SIZE_VAR) \
  3294. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)
  3295. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_START_SCAN_CMDID);
  3296. /* LPI stop scan Cmd */
  3297. #define WMITLV_TABLE_WMI_LPI_STOP_SCAN_CMDID(id,op,buf,len) \
  3298. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_lpi_stop_scan_cmd_fixed_param, wmi_lpi_stop_scan_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3299. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_STOP_SCAN_CMDID);
  3300. /* Request for roam stats Cmd */
  3301. #define WMITLV_TABLE_WMI_REQUEST_ROAM_SCAN_STATS_CMDID(id,op,buf,len) \
  3302. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_roam_scan_stats_cmd_fixed_param, wmi_request_roam_scan_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3303. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_ROAM_SCAN_STATS_CMDID);
  3304. /* BSS load parameters for roam trigger */
  3305. #define WMITLV_TABLE_WMI_ROAM_BSS_LOAD_CONFIG_CMDID(id,op,buf,len) \
  3306. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_bss_load_config_cmd_fixed_param, wmi_roam_bss_load_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3307. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_BSS_LOAD_CONFIG_CMDID);
  3308. /* Deauth roam trigger parameters */
  3309. #define WMITLV_TABLE_WMI_ROAM_DEAUTH_CONFIG_CMDID(id,op,buf,len) \
  3310. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_deauth_config_cmd_fixed_param, wmi_roam_deauth_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3311. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_DEAUTH_CONFIG_CMDID);
  3312. /* Idle roam trigger parameters */
  3313. #define WMITLV_TABLE_WMI_ROAM_IDLE_CONFIG_CMDID(id,op,buf,len) \
  3314. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_idle_config_cmd_fixed_param, wmi_roam_idle_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3315. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_IDLE_CONFIG_CMDID);
  3316. /* Roam Pre-Authentication completion status */
  3317. #define WMITLV_TABLE_WMI_ROAM_PREAUTH_STATUS_CMDID(id,op,buf,len) \
  3318. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_preauth_status_cmd_fixed_param, wmi_roam_preauth_status_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3319. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pmkid, WMITLV_SIZE_VAR) \
  3320. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pmk, WMITLV_SIZE_VAR)
  3321. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_PREAUTH_STATUS_CMDID);
  3322. /** Roam PMKID request event */
  3323. #define WMITLV_TABLE_WMI_ROAM_PMKID_REQUEST_EVENTID(id,op,buf,len) \
  3324. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_pmkid_request_event_fixed_param, wmi_roam_pmkid_request_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3325. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_pmkid_request_tlv_param, pmkid_request, WMITLV_SIZE_VAR)
  3326. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_PMKID_REQUEST_EVENTID);
  3327. /* Screen Status Command parameters */
  3328. #define WMITLV_TABLE_WMI_IDLE_TRIGGER_MONITOR_CMDID(id,op,buf,len) \
  3329. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_idle_trigger_monitor_cmd_fixed_param, wmi_idle_trigger_monitor_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3330. WMITLV_CREATE_PARAM_STRUC(WMI_IDLE_TRIGGER_MONITOR_CMDID);
  3331. /* Enable or disable roaming trigger reason */
  3332. #define WMITLV_TABLE_WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID(id,op,buf,len) \
  3333. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_enable_disable_trigger_reason_fixed_param, wmi_roam_enable_disable_trigger_reason_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3334. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_configure_roam_trigger_parameters, config_roam_trigger_param, WMITLV_SIZE_VAR)
  3335. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID);
  3336. /* Configure roam MLO parameters */
  3337. #define WMITLV_TABLE_WMI_ROAM_MLO_CONFIG_CMDID(id,op,buf,len) \
  3338. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_mlo_config_cmd_fixed_param, wmi_roam_mlo_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3339. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_MLO_CONFIG_CMDID);
  3340. /* DSM filter parameters */
  3341. #define WMITLV_TABLE_WMI_PDEV_DSM_FILTER_CMDID(id,op,buf,len) \
  3342. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_dsm_filter_fixed_param, wmi_pdev_dsm_filter_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3343. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_bssid_disallow_list_config_param, bssid_disallow_list, WMITLV_SIZE_VAR)
  3344. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DSM_FILTER_CMDID);
  3345. #define WMITLV_TABLE_WMI_ROAM_BLACKLIST_EVENTID(id,op,buf,len) \
  3346. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_blacklist_event_fixed_param, wmi_roam_blacklist_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3347. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_blacklist_with_timeout_tlv_param, blacklist_with_timeout, WMITLV_SIZE_VAR)
  3348. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_BLACKLIST_EVENTID);
  3349. /* Roam Pre-Authentication Start Event */
  3350. #define WMITLV_TABLE_WMI_ROAM_PREAUTH_START_EVENTID(id,op,buf,len) \
  3351. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_preauth_start_event_fixed_param, wmi_roam_preauth_start_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3352. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_PREAUTH_START_EVENTID);
  3353. #define WMITLV_TABLE_WMI_LPI_RESULT_EVENTID(id,op,buf,len) \
  3354. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_lpi_result_event_fixed_param, wmi_lpi_result_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3355. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3356. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_RESULT_EVENTID);
  3357. /* LPI Status Event */
  3358. #define WMITLV_TABLE_WMI_LPI_STATUS_EVENTID(id,op,buf,len) \
  3359. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_lpi_status_event_fixed_param, wmi_lpi_status_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3360. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_STATUS_EVENTID);
  3361. /* LPI Handoff Event */
  3362. #define WMITLV_TABLE_WMI_LPI_HANDOFF_EVENTID(id,op,buf,len) \
  3363. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_lpi_handoff_event_fixed_param, wmi_lpi_handoff_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3364. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_HANDOFF_EVENTID);
  3365. /* Thermal Manager Params*/
  3366. #define WMITLV_TABLE_WMI_THERMAL_MGMT_CMDID(id,op,buf,len) \
  3367. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_thermal_mgmt_cmd_fixed_param, wmi_thermal_mgmt_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3368. WMITLV_CREATE_PARAM_STRUC(WMI_THERMAL_MGMT_CMDID);
  3369. #define WMITLV_TABLE_WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMDID(id,op,buf,len) \
  3370. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMD_fixed_param, WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)\
  3371. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pattern, WMITLV_SIZE_VAR)
  3372. WMITLV_CREATE_PARAM_STRUC(WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMDID);
  3373. #define WMITLV_TABLE_WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMDID(id,op,buf,len) \
  3374. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMD_fixed_param, WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3375. WMITLV_CREATE_PARAM_STRUC(WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMDID);
  3376. /* NaN Request */
  3377. #define WMITLV_TABLE_WMI_NAN_CMDID(id,op,buf,len) \
  3378. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nan_cmd_param, wmi_nan_cmd_param, fixed_param, WMITLV_SIZE_FIX) \
  3379. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  3380. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_nan_host_config_param, host_config, WMITLV_SIZE_VAR)
  3381. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_CMDID);
  3382. /* NAN Data Get Capabilities Cmd */
  3383. #define WMITLV_TABLE_WMI_NDI_GET_CAP_REQ_CMDID(id,op,buf,len) \
  3384. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndi_get_cap_req_fixed_param, wmi_ndi_get_cap_req_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX)
  3385. WMITLV_CREATE_PARAM_STRUC(WMI_NDI_GET_CAP_REQ_CMDID);
  3386. /** NAN Data Initiator Request Cmd
  3387. *
  3388. * TLV (tag length value ) parameters follow the ndp_initiator_req
  3389. * structure. The TLV's are:
  3390. * wmi_channel channel;
  3391. * A_UINT8 ndp_cfg[];
  3392. * A_UINT8 ndp_app_info[];
  3393. * A_UINT8 ndp_pmk[];
  3394. * A_INT8 ndp_passphrase[];
  3395. * A_INT8 nan_servicename[];
  3396. * wmi_ndp_transport_ip_param ndp_transport_ip_param;
  3397. */
  3398. #define WMITLV_TABLE_WMI_NDP_INITIATOR_REQ_CMDID(id,op,buf,len) \
  3399. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_initiator_req_fixed_param, wmi_ndp_initiator_req_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX) \
  3400. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, channel, WMITLV_SIZE_FIX) \
  3401. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_cfg, WMITLV_SIZE_VAR) \
  3402. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_app_info, WMITLV_SIZE_VAR) \
  3403. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_pmk, WMITLV_SIZE_VAR) \
  3404. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, ndp_passphrase, WMITLV_SIZE_VAR) \
  3405. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, nan_servicename, WMITLV_SIZE_VAR) \
  3406. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_transport_ip_param, wmi_ndp_transport_ip_param, ndp_transport_ip_param, WMITLV_SIZE_FIX)
  3407. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_INITIATOR_REQ_CMDID);
  3408. /** NAN Data Responder Request Cmd
  3409. * TLV (tag length value ) parameters follow the ndp_responder_req
  3410. * structure. The TLV's are:
  3411. * A_UINT8 ndp_cfg[];
  3412. * A_UINT8 ndp_app_info[];
  3413. * A_UINT8 ndp_pmk[];
  3414. * A_INT8 ndp_passphrase[];
  3415. * A_INT8 nan_servicename[];
  3416. * wmi_ndp_transport_ip_param ndp_transport_ip_param;
  3417. */
  3418. #define WMITLV_TABLE_WMI_NDP_RESPONDER_REQ_CMDID(id,op,buf,len) \
  3419. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_responder_req_fixed_param, wmi_ndp_responder_req_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX) \
  3420. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_cfg, WMITLV_SIZE_VAR) \
  3421. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_app_info, WMITLV_SIZE_VAR) \
  3422. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_pmk, WMITLV_SIZE_VAR) \
  3423. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, ndp_passphrase, WMITLV_SIZE_VAR) \
  3424. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, nan_servicename, WMITLV_SIZE_VAR) \
  3425. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_transport_ip_param, wmi_ndp_transport_ip_param, ndp_transport_ip_param, WMITLV_SIZE_FIX)
  3426. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_RESPONDER_REQ_CMDID);
  3427. /** NAN Data End Request Cmd
  3428. *
  3429. * TLV (tag length value ) parameters follow the ndp_end_req
  3430. * structure. The TLV's are:
  3431. * wmi_ndp_end_req wmi_ndp_end_req_list[];
  3432. */
  3433. #define WMITLV_TABLE_WMI_NDP_END_REQ_CMDID(id,op,buf,len) \
  3434. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_end_req_fixed_param, wmi_ndp_end_req_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX) \
  3435. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ndp_end_req_PROTOTYPE, ndp_end_req_list, WMITLV_SIZE_VAR)
  3436. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_END_REQ_CMDID);
  3437. /* NDP Request */
  3438. #define WMITLV_TABLE_WMI_NDP_CMDID(id,op,buf,len) \
  3439. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_cmd_param, wmi_ndp_cmd_param, fixed_param, WMITLV_SIZE_FIX)
  3440. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_CMDID);
  3441. /* RCPI Info Request Cmd */
  3442. #define WMITLV_TABLE_WMI_REQUEST_RCPI_CMDID(id,op,buf,len) \
  3443. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_rcpi_cmd_fixed_param, wmi_request_rcpi_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3444. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_RCPI_CMDID);
  3445. /* Modem power state cmd */
  3446. #define WMITLV_TABLE_WMI_MODEM_POWER_STATE_CMDID(id,op,buf,len) \
  3447. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_modem_power_state_cmd_param, wmi_modem_power_state_cmd_param, fixed_param, WMITLV_SIZE_FIX)
  3448. WMITLV_CREATE_PARAM_STRUC(WMI_MODEM_POWER_STATE_CMDID);
  3449. /* SAR limit update cmd */
  3450. #define WMITLV_TABLE_WMI_SAR_LIMITS_CMDID(id,op,buf,len) \
  3451. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sar_limits_cmd_fixed_param, wmi_sar_limits_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3452. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_sar_limit_cmd_row, sar_limits, WMITLV_SIZE_VAR)
  3453. WMITLV_CREATE_PARAM_STRUC(WMI_SAR_LIMITS_CMDID);
  3454. /* SAR limit request cmd */
  3455. #define WMITLV_TABLE_WMI_SAR_GET_LIMITS_CMDID(id,op,buf,len) \
  3456. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sar_get_limits_cmd_fixed_param, wmi_sar_get_limits_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3457. WMITLV_CREATE_PARAM_STRUC(WMI_SAR_GET_LIMITS_CMDID);
  3458. #define WMITLV_TABLE_WMI_SAR2_RESULT_EVENTID(id,op,buf,len) \
  3459. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sar2_result_event_fixed_param, wmi_sar2_result_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3460. WMITLV_CREATE_PARAM_STRUC(WMI_SAR2_RESULT_EVENTID);
  3461. /* get estimated link speed cmd */
  3462. #define WMITLV_TABLE_WMI_PEER_GET_ESTIMATED_LINKSPEED_CMDID(id,op,buf,len) \
  3463. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_get_estimated_linkspeed_cmd_fixed_param, wmi_peer_get_estimated_linkspeed_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3464. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_GET_ESTIMATED_LINKSPEED_CMDID);
  3465. /* ext stats Request */
  3466. #define WMITLV_TABLE_WMI_REQUEST_STATS_EXT_CMDID(id,op,buf,len) \
  3467. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_req_stats_ext_cmd_fixed_param, wmi_req_stats_ext_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3468. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  3469. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_id_bitmap, WMITLV_SIZE_VAR)
  3470. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_STATS_EXT_CMDID);
  3471. /* 2.4Ghz HT40 OBSS scan enable */
  3472. #define WMITLV_TABLE_WMI_OBSS_SCAN_ENABLE_CMDID(id,op,buf,len) \
  3473. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_obss_scan_enable_cmd_fixed_param, wmi_obss_scan_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3474. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, channels, WMITLV_SIZE_VAR) \
  3475. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_field, WMITLV_SIZE_VAR) \
  3476. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, chan_freqs, WMITLV_SIZE_VAR)
  3477. WMITLV_CREATE_PARAM_STRUC(WMI_OBSS_SCAN_ENABLE_CMDID);
  3478. /* 2.4Ghz HT40 OBSS scan disable */
  3479. #define WMITLV_TABLE_WMI_OBSS_SCAN_DISABLE_CMDID(id,op,buf,len) \
  3480. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_obss_scan_disable_cmd_fixed_param, wmi_obss_scan_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3481. WMITLV_CREATE_PARAM_STRUC(WMI_OBSS_SCAN_DISABLE_CMDID);
  3482. /* Pdev Set LED Config Cmd */
  3483. #define WMITLV_TABLE_WMI_PDEV_SET_LED_CONFIG_CMDID(id,op,buf,len) \
  3484. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_led_config_cmd_fixed_param, wmi_pdev_set_led_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3485. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_LED_CONFIG_CMDID);
  3486. /* host auto shut down config cmd */
  3487. #define WMITLV_TABLE_WMI_HOST_AUTO_SHUTDOWN_CFG_CMDID(id,op,buf,len) \
  3488. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_host_auto_shutdown_cfg_cmd_fixed_param, wmi_host_auto_shutdown_cfg_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3489. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_AUTO_SHUTDOWN_CFG_CMDID);
  3490. /* tpc chainmask config cmd */
  3491. #define WMITLV_TABLE_WMI_TPC_CHAINMASK_CONFIG_CMDID(id,op,buf,len) \
  3492. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tpc_chainmask_config_cmd_fixed_param, wmi_tpc_chainmask_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3493. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tpc_chainmask_config, config_list, WMITLV_SIZE_VAR)
  3494. WMITLV_CREATE_PARAM_STRUC(WMI_TPC_CHAINMASK_CONFIG_CMDID);
  3495. /* Ch avoidance update cmd */
  3496. #define WMITLV_TABLE_WMI_CHAN_AVOID_UPDATE_CMDID(id,op,buf,len) \
  3497. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chan_avoid_update_cmd_param, wmi_chan_avoid_update_cmd_param, fixed_param, WMITLV_SIZE_FIX)
  3498. WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_AVOID_UPDATE_CMDID);
  3499. /* Ch avoidance report allow/disallow cmd*/
  3500. #define WMITLV_TABLE_WMI_CHAN_AVOID_RPT_ALLOW_CMDID(id,op,buf,len) \
  3501. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_CHAN_AVOID_RPT_ALLOW_CMD_fixed_param, WMI_CHAN_AVOID_RPT_ALLOW_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3502. WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_AVOID_RPT_ALLOW_CMDID);
  3503. /* D0-WOW Enable Disable Cmd */
  3504. #define WMITLV_TABLE_WMI_D0_WOW_ENABLE_DISABLE_CMDID(id,op,buf,len) \
  3505. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_d0_wow_enable_disable_cmd_fixed_param, wmi_d0_wow_enable_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3506. WMITLV_CREATE_PARAM_STRUC(WMI_D0_WOW_ENABLE_DISABLE_CMDID);
  3507. /* Pdev get chip temperature Cmd */
  3508. #define WMITLV_TABLE_WMI_PDEV_GET_TEMPERATURE_CMDID(id,op,buf,len) \
  3509. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_temperature_cmd_fixed_param, wmi_pdev_get_temperature_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3510. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TEMPERATURE_CMDID);
  3511. /* Pdev get ANT DIV feature status Cmd */
  3512. #define WMITLV_TABLE_WMI_PDEV_GET_ANTDIV_STATUS_CMDID(id,op,buf,len) \
  3513. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_antdiv_status_cmd_fixed_param, wmi_pdev_get_antdiv_status_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3514. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_ANTDIV_STATUS_CMDID);
  3515. /* DISA feature : vdev encrypt decrypt request */
  3516. #define WMITLV_TABLE_WMI_VDEV_ENCRYPT_DECRYPT_DATA_REQ_CMDID(id,op,buf,len) \
  3517. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_encrypt_decrypt_data_req_cmd_fixed_param, wmi_vdev_encrypt_decrypt_data_req_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3518. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3519. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ENCRYPT_DECRYPT_DATA_REQ_CMDID);
  3520. /* Set antenna diversity Cmd */
  3521. #define WMITLV_TABLE_WMI_SET_ANTENNA_DIVERSITY_CMDID(id,op,buf,len) \
  3522. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_pdev_set_antenna_diversity_cmd_fixed_param, wmi_pdev_set_antenna_diversity_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3523. WMITLV_CREATE_PARAM_STRUC(WMI_SET_ANTENNA_DIVERSITY_CMDID);
  3524. /* Set rssi monitoring config Cmd */
  3525. #define WMITLV_TABLE_WMI_RSSI_BREACH_MONITOR_CONFIG_CMDID(id,op,buf,len) \
  3526. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_rssi_breach_monitor_config_fixed_param, wmi_rssi_breach_monitor_config_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3527. WMITLV_CREATE_PARAM_STRUC(WMI_RSSI_BREACH_MONITOR_CONFIG_CMDID);
  3528. /* DHCP server offload param Cmd */
  3529. #define WMITLV_TABLE_WMI_SET_DHCP_SERVER_OFFLOAD_CMDID(id,op,buf,len) \
  3530. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_set_dhcp_server_offload_cmd_fixed_param, wmi_set_dhcp_server_offload_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3531. WMITLV_CREATE_PARAM_STRUC(WMI_SET_DHCP_SERVER_OFFLOAD_CMDID);
  3532. /* IPA Offload Enable Disable Cmd */
  3533. #define WMITLV_TABLE_WMI_IPA_OFFLOAD_ENABLE_DISABLE_CMDID(id,op,buf,len) \
  3534. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUCT_wmi_ipa_offload_enable_disable_cmd_fixed_param, wmi_ipa_offload_enable_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3535. WMITLV_CREATE_PARAM_STRUC(WMI_IPA_OFFLOAD_ENABLE_DISABLE_CMDID);
  3536. /* Set LED flashing parameter Cmd */
  3537. #define WMITLV_TABLE_WMI_PDEV_SET_LED_FLASHING_CMDID(id,op,buf,len) \
  3538. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_set_led_flashing_cmd_fixed_param, wmi_set_led_flashing_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3539. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_LED_FLASHING_CMDID);
  3540. /* mDNS responder offload param Cmd */
  3541. #define WMITLV_TABLE_WMI_MDNS_OFFLOAD_ENABLE_CMDID(id,op,buf,len) \
  3542. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mdns_offload_cmd_fixed_param, wmi_mdns_offload_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3543. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_OFFLOAD_ENABLE_CMDID);
  3544. #define WMITLV_TABLE_WMI_MDNS_SET_FQDN_CMDID(id,op,buf,len) \
  3545. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mdns_set_fqdn_cmd_fixed_param, wmi_mdns_set_fqdn_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3546. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, fqdn_data, WMITLV_SIZE_VAR)
  3547. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_SET_FQDN_CMDID);
  3548. #define WMITLV_TABLE_WMI_MDNS_SET_RESPONSE_CMDID(id,op,buf,len) \
  3549. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mdns_set_resp_cmd_fixed_param, wmi_mdns_set_resp_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3550. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, resp_data, WMITLV_SIZE_VAR)
  3551. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_SET_RESPONSE_CMDID);
  3552. #define WMITLV_TABLE_WMI_MDNS_GET_STATS_CMDID(id,op,buf,len) \
  3553. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mdns_get_stats_cmd_fixed_param, wmi_mdns_get_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3554. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_GET_STATS_CMDID);
  3555. #define WMITLV_TABLE_WMI_MDNS_SET_STAIP_CMDID(id,op,buf,len) \
  3556. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mdns_set_staIP_cmd_fixed_param, wmi_mdns_set_staIP_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3557. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_SET_STAIP_CMDID);
  3558. /* roam invoke Cmd */
  3559. #define WMITLV_TABLE_WMI_ROAM_INVOKE_CMDID(id,op,buf,len) \
  3560. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_invoke_cmd_fixed_param, wmi_roam_invoke_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3561. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR) \
  3562. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_list, WMITLV_SIZE_VAR) \
  3563. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_tlv_buf_len_param, bcn_prb_buf_list, WMITLV_SIZE_VAR) \
  3564. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bcn_prb_frm, WMITLV_SIZE_VAR)
  3565. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_INVOKE_CMDID);
  3566. /* SAP Authentication offload param Cmd */
  3567. #define WMITLV_TABLE_WMI_SAP_OFL_ENABLE_CMDID(id,op,buf,len) \
  3568. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sap_ofl_enable_cmd_fixed_param, wmi_sap_ofl_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3569. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, psk, WMITLV_SIZE_VAR)
  3570. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OFL_ENABLE_CMDID);
  3571. /* SAP set blacklist param cmd */
  3572. #define WMITLV_TABLE_WMI_SAP_SET_BLACKLIST_PARAM_CMDID(id,op,buf,len) \
  3573. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sap_set_blacklist_param_cmd_fixed_param, wmi_sap_set_blacklist_param_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3574. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_SET_BLACKLIST_PARAM_CMDID);
  3575. /* SAP OBSS detection offload param Cmd */
  3576. #define WMITLV_TABLE_WMI_SAP_OBSS_DETECTION_CFG_CMDID(id,op,buf,len) \
  3577. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sap_obss_detection_cfg_cmd_fixed_param, wmi_sap_obss_detection_cfg_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3578. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OBSS_DETECTION_CFG_CMDID);
  3579. /* STA BSS Color change offload param Cmd */
  3580. #define WMITLV_TABLE_WMI_BSS_COLOR_CHANGE_ENABLE_CMDID(id,op,buf,len) \
  3581. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bss_color_change_enable_fixed_param, wmi_bss_color_change_enable_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3582. WMITLV_CREATE_PARAM_STRUC(WMI_BSS_COLOR_CHANGE_ENABLE_CMDID);
  3583. /* OBSS Color collision detection config cmd */
  3584. #define WMITLV_TABLE_WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID(id,op,buf,len) \
  3585. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_obss_color_collision_det_config_fixed_param, wmi_obss_color_collision_det_config_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3586. WMITLV_CREATE_PARAM_STRUC(WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID);
  3587. /* APFIND Request */
  3588. #define WMITLV_TABLE_WMI_APFIND_CMDID(id,op,buf,len) \
  3589. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_apfind_cmd_param, wmi_apfind_cmd_param, fixed_param, WMITLV_SIZE_FIX) \
  3590. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3591. WMITLV_CREATE_PARAM_STRUC(WMI_APFIND_CMDID);
  3592. /* Set OCB schedule cmd, DEPRECATED */
  3593. #define WMITLV_TABLE_WMI_OCB_SET_SCHED_CMDID(id,op,buf,len) \
  3594. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_ocb_set_sched_cmd_fixed_param, wmi_ocb_set_sched_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3595. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_SCHED_CMDID);
  3596. /* Set OCB configuration cmd */
  3597. #define WMITLV_TABLE_WMI_OCB_SET_CONFIG_CMDID(id,op,buf,len) \
  3598. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ocb_set_config_cmd_fixed_param, wmi_ocb_set_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3599. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, chan_list, WMITLV_SIZE_VAR) \
  3600. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ocb_channel, ocb_chan_list, WMITLV_SIZE_VAR) \
  3601. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_qos_parameter, qos_parameter_list, WMITLV_SIZE_VAR) \
  3602. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_chan, chan_cfg, WMITLV_SIZE_VAR) \
  3603. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_active_state_config, ndl_active_state_config_list, WMITLV_SIZE_VAR) \
  3604. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ocb_schedule_element, schedule_list, WMITLV_SIZE_VAR)
  3605. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_CONFIG_CMDID);
  3606. /* Set UTC time cmd */
  3607. #define WMITLV_TABLE_WMI_OCB_SET_UTC_TIME_CMDID(id,op,buf,len) \
  3608. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ocb_set_utc_time_cmd_fixed_param, wmi_ocb_set_utc_time_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3609. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_UTC_TIME_CMDID);
  3610. /* Start timing advertisement cmd */
  3611. #define WMITLV_TABLE_WMI_OCB_START_TIMING_ADVERT_CMDID(id,op,buf,len) \
  3612. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ocb_start_timing_advert_cmd_fixed_param, wmi_ocb_start_timing_advert_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3613. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  3614. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_START_TIMING_ADVERT_CMDID);
  3615. /* Stop timing advertisement cmd */
  3616. #define WMITLV_TABLE_WMI_OCB_STOP_TIMING_ADVERT_CMDID(id,op,buf,len) \
  3617. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ocb_stop_timing_advert_cmd_fixed_param, wmi_ocb_stop_timing_advert_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3618. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_STOP_TIMING_ADVERT_CMDID);
  3619. /* Get TSF timer cmd */
  3620. #define WMITLV_TABLE_WMI_OCB_GET_TSF_TIMER_CMDID(id,op,buf,len) \
  3621. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ocb_get_tsf_timer_cmd_fixed_param, wmi_ocb_get_tsf_timer_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3622. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_GET_TSF_TIMER_CMDID);
  3623. /* Get DCC stats cmd */
  3624. #define WMITLV_TABLE_WMI_DCC_GET_STATS_CMDID(id,op,buf,len) \
  3625. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dcc_get_stats_cmd_fixed_param, wmi_dcc_get_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3626. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_channel_stats_request, channel_stats_request, WMITLV_SIZE_VAR)
  3627. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_GET_STATS_CMDID);
  3628. /* Clear DCC stats cmd */
  3629. #define WMITLV_TABLE_WMI_DCC_CLEAR_STATS_CMDID(id,op,buf,len) \
  3630. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dcc_clear_stats_cmd_fixed_param, wmi_dcc_clear_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3631. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_CLEAR_STATS_CMDID);
  3632. /* Update DCC NDL cmd */
  3633. #define WMITLV_TABLE_WMI_DCC_UPDATE_NDL_CMDID(id,op,buf,len) \
  3634. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dcc_update_ndl_cmd_fixed_param, wmi_dcc_update_ndl_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3635. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_chan, chan_ndl_list, WMITLV_SIZE_VAR) \
  3636. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_active_state_config, ndl_active_state_config_list, WMITLV_SIZE_VAR)
  3637. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_UPDATE_NDL_CMDID);
  3638. /* Roam filter cmd */
  3639. #define WMITLV_TABLE_WMI_ROAM_FILTER_CMDID(id,op,buf,len) \
  3640. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_filter_fixed_param, wmi_roam_filter_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3641. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_black_list, WMITLV_SIZE_VAR) \
  3642. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_ssid, ssid_white_list, WMITLV_SIZE_VAR) \
  3643. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_preferred_list, WMITLV_SIZE_VAR) \
  3644. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, bssid_preferred_factor, WMITLV_SIZE_VAR) \
  3645. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_lca_disallow_config_tlv_param, lca_disallow_param, WMITLV_SIZE_VAR) \
  3646. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_rejection_list_config_param, rssi_rejection_list, WMITLV_SIZE_VAR)
  3647. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_FILTER_CMDID);
  3648. /* TSF timestamp action cmd */
  3649. #define WMITLV_TABLE_WMI_VDEV_TSF_TSTAMP_ACTION_CMDID(id,op,buf,len) \
  3650. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_tsf_tstamp_action_cmd_fixed_param, wmi_vdev_tsf_tstamp_action_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3651. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_TSF_TSTAMP_ACTION_CMDID);
  3652. /* LFR subnet change config Cmd */
  3653. #define WMITLV_TABLE_WMI_ROAM_SUBNET_CHANGE_CONFIG_CMDID(id,op,buf,len) \
  3654. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_subnet_change_config_fixed_param, wmi_roam_subnet_change_config_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3655. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, skip_subnet_change_detection_bssid_list, WMITLV_SIZE_VAR)
  3656. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SUBNET_CHANGE_CONFIG_CMDID);
  3657. /* Set the SOC Preferred Channel List (PCL) Cmd - DEPRECATED */
  3658. #define WMITLV_TABLE_WMI_SOC_SET_PCL_CMDID(id,op,buf,len) \
  3659. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_soc_set_pcl_cmd_fixed_param, wmi_soc_set_pcl_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3660. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR)
  3661. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_PCL_CMDID);
  3662. /* Set the PDEV Preferred Channel List (PCL) Cmd */
  3663. #define WMITLV_TABLE_WMI_PDEV_SET_PCL_CMDID(id,op,buf,len) \
  3664. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_pcl_cmd_fixed_param, wmi_pdev_set_pcl_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3665. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_weight, WMITLV_SIZE_VAR)
  3666. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_PCL_CMDID);
  3667. /* Set the SOC Hardware Mode Cmd - DEPRECATED */
  3668. #define WMITLV_TABLE_WMI_SOC_SET_HW_MODE_CMDID(id,op,buf,len) \
  3669. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_soc_set_hw_mode_cmd_fixed_param, wmi_soc_set_hw_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3670. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_HW_MODE_CMDID);
  3671. /* Set the PDEV Hardware Mode Cmd */
  3672. #define WMITLV_TABLE_WMI_PDEV_SET_HW_MODE_CMDID(id,op,buf,len) \
  3673. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_hw_mode_cmd_fixed_param, wmi_pdev_set_hw_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3674. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_HW_MODE_CMDID);
  3675. /* Set the SOC Dual MAC Config Cmd - DEPRECATED */
  3676. #define WMITLV_TABLE_WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID(id,op,buf,len) \
  3677. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_soc_set_dual_mac_config_cmd_fixed_param, wmi_soc_set_dual_mac_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3678. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID);
  3679. /* Set the PDEV MAC Config Cmd */
  3680. #define WMITLV_TABLE_WMI_PDEV_SET_MAC_CONFIG_CMDID(id,op,buf,len) \
  3681. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_mac_config_cmd_fixed_param, wmi_pdev_set_mac_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3682. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_MAC_CONFIG_CMDID);
  3683. /* Set the SOC Antenna Mode Cmd - DEPRECATED */
  3684. #define WMITLV_TABLE_WMI_SOC_SET_ANTENNA_MODE_CMDID(id,op,buf,len) \
  3685. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_soc_set_antenna_mode_cmd_fixed_param, wmi_soc_set_antenna_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3686. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_ANTENNA_MODE_CMDID);
  3687. /* Set the PDEV Antenna Mode Cmd */
  3688. #define WMITLV_TABLE_WMI_PDEV_SET_ANTENNA_MODE_CMDID(id,op,buf,len) \
  3689. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_antenna_mode_cmd_fixed_param, wmi_pdev_set_antenna_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3690. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_ANTENNA_MODE_CMDID);
  3691. #define WMITLV_TABLE_WMI_LRO_CONFIG_CMDID(id,op,buf,len) \
  3692. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_lro_info_cmd_fixed_param, wmi_lro_info_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3693. WMITLV_CREATE_PARAM_STRUC(WMI_LRO_CONFIG_CMDID);
  3694. #define WMITLV_TABLE_WMI_TRANSFER_DATA_TO_FLASH_CMDID(id,op,buf,len) \
  3695. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_transfer_data_to_flash_cmd_fixed_param, wmi_transfer_data_to_flash_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3696. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3697. WMITLV_CREATE_PARAM_STRUC(WMI_TRANSFER_DATA_TO_FLASH_CMDID);
  3698. #define WMITLV_TABLE_WMI_READ_DATA_FROM_FLASH_CMDID(id,op,buf,len) \
  3699. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_read_data_from_flash_cmd_fixed_param, wmi_read_data_from_flash_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3700. WMITLV_CREATE_PARAM_STRUC(WMI_READ_DATA_FROM_FLASH_CMDID);
  3701. #define WMITLV_TABLE_WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID(id,op,buf,len) \
  3702. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_config_enhanced_mcast_filter_fixed_param, wmi_config_enhanced_mcast_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3703. WMITLV_CREATE_PARAM_STRUC(WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID);
  3704. #define WMITLV_TABLE_WMI_VDEV_WISA_CMDID(id,op,buf,len) \
  3705. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_wisa_cmd_fixed_param, wmi_vdev_wisa_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3706. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_WISA_CMDID);
  3707. /* MAWC sensor report indication cmd */
  3708. #define WMITLV_TABLE_WMI_MAWC_SENSOR_REPORT_IND_CMDID(id,op,buf,len) \
  3709. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mawc_sensor_report_ind_cmd_fixed_param, wmi_mawc_sensor_report_ind_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3710. WMITLV_CREATE_PARAM_STRUC(WMI_MAWC_SENSOR_REPORT_IND_CMDID);
  3711. /* Roam configure MAWC cmd */
  3712. #define WMITLV_TABLE_WMI_ROAM_CONFIGURE_MAWC_CMDID(id,op,buf,len) \
  3713. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_configure_mawc_cmd_fixed_param, wmi_roam_configure_mawc_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3714. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_CONFIGURE_MAWC_CMDID);
  3715. /* NLO configure MAWC cmd */
  3716. #define WMITLV_TABLE_WMI_NLO_CONFIGURE_MAWC_CMDID(id,op,buf,len) \
  3717. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nlo_configure_mawc_cmd_fixed_param, wmi_nlo_configure_mawc_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3718. WMITLV_CREATE_PARAM_STRUC(WMI_NLO_CONFIGURE_MAWC_CMDID);
  3719. /* Extscan configure MAWC cmd */
  3720. #define WMITLV_TABLE_WMI_EXTSCAN_CONFIGURE_MAWC_CMDID(id,op,buf,len) \
  3721. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_configure_mawc_cmd_fixed_param, wmi_extscan_configure_mawc_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3722. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CONFIGURE_MAWC_CMDID);
  3723. /* COEX config cmd */
  3724. #define WMITLV_TABLE_WMI_COEX_CONFIG_CMDID(id,op,buf,len) \
  3725. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_COEX_CONFIG_CMD_fixed_param, WMI_COEX_CONFIG_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3726. WMITLV_CREATE_PARAM_STRUC(WMI_COEX_CONFIG_CMDID);
  3727. /* Coex get antenna isolation cmd */
  3728. #define WMITLV_TABLE_WMI_COEX_GET_ANTENNA_ISOLATION_CMDID(id,op,buf,len) \
  3729. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_coex_get_antenna_isolation_cmd_fixed_param, wmi_coex_get_antenna_isolation_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3730. WMITLV_CREATE_PARAM_STRUC(WMI_COEX_GET_ANTENNA_ISOLATION_CMDID);
  3731. /* Cal Get power fixed param */
  3732. #define WMITLV_TABLE_WMI_PDEV_GET_NFCAL_POWER_CMDID(id,op,buf,len) \
  3733. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_nfcal_power_fixed_param, wmi_pdev_get_nfcal_power_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3734. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_NFCAL_POWER_CMDID);
  3735. /* bpf offload capability get cmd */
  3736. #define WMITLV_TABLE_WMI_BPF_GET_CAPABILITY_CMDID(id,op,buf,len) \
  3737. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bpf_get_capability_cmd_fixed_param, wmi_bpf_get_capability_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3738. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_GET_CAPABILITY_CMDID);
  3739. /* bpf offload get vdev status cmd */
  3740. #define WMITLV_TABLE_WMI_BPF_GET_VDEV_STATS_CMDID(id,op,buf,len) \
  3741. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bpf_get_vdev_stats_cmd_fixed_param, wmi_bpf_get_vdev_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3742. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_GET_VDEV_STATS_CMDID);
  3743. /* bpf offload set vdev instructions cmd */
  3744. #define WMITLV_TABLE_WMI_BPF_SET_VDEV_INSTRUCTIONS_CMDID(id,op,buf,len) \
  3745. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bpf_set_vdev_instructions_cmd_fixed_param, wmi_bpf_set_vdev_instructions_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3746. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, buf_inst, WMITLV_SIZE_VAR)
  3747. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_SET_VDEV_INSTRUCTIONS_CMDID);
  3748. /* bpf offload delete vdev instructions cmd */
  3749. #define WMITLV_TABLE_WMI_BPF_DEL_VDEV_INSTRUCTIONS_CMDID(id,op,buf,len) \
  3750. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bpf_del_vdev_instructions_cmd_fixed_param, wmi_bpf_del_vdev_instructions_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3751. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_DEL_VDEV_INSTRUCTIONS_CMDID);
  3752. #define WMITLV_TABLE_WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID(id,op,buf,len) \
  3753. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bpf_set_vdev_active_mode_cmd_fixed_param, wmi_bpf_set_vdev_active_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3754. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID);
  3755. #define WMITLV_TABLE_WMI_BPF_SET_VDEV_ENABLE_CMDID(id,op,buf,len) \
  3756. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bpf_set_vdev_enable_cmd_fixed_param, wmi_bpf_set_vdev_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3757. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_SET_VDEV_ENABLE_CMDID);
  3758. #define WMITLV_TABLE_WMI_BPF_SET_VDEV_WORK_MEMORY_CMDID(id,op,buf,len) \
  3759. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bpf_set_vdev_work_memory_cmd_fixed_param, wmi_bpf_set_vdev_work_memory_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3760. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, buf_inst, WMITLV_SIZE_VAR)
  3761. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_SET_VDEV_WORK_MEMORY_CMDID);
  3762. #define WMITLV_TABLE_WMI_BPF_GET_VDEV_WORK_MEMORY_CMDID(id,op,buf,len) \
  3763. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bpf_get_vdev_work_memory_cmd_fixed_param, wmi_bpf_get_vdev_work_memory_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3764. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_GET_VDEV_WORK_MEMORY_CMDID);
  3765. /* Enable/Disable Smart Antenna */
  3766. #define WMITLV_TABLE_WMI_PDEV_SMART_ANT_ENABLE_CMDID(id,op,buf,len) \
  3767. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_smart_ant_enable_cmd_fixed_param, wmi_pdev_smart_ant_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3768. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_smart_ant_gpio_handle, gpio_handle, WMITLV_SIZE_VAR)
  3769. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SMART_ANT_ENABLE_CMDID);
  3770. /* Set Smart Antenna RX antenna */
  3771. #define WMITLV_TABLE_WMI_PDEV_SMART_ANT_SET_RX_ANTENNA_CMDID(id,op,buf,len) \
  3772. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_smart_ant_set_rx_antenna_cmd_fixed_param, wmi_pdev_smart_ant_set_rx_antenna_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3773. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SMART_ANT_SET_RX_ANTENNA_CMDID);
  3774. /* Override the antenna switch table */
  3775. #define WMITLV_TABLE_WMI_PDEV_SET_ANTENNA_SWITCH_TABLE_CMDID(id,op,buf,len) \
  3776. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_ant_switch_tbl_cmd_fixed_param, wmi_pdev_set_ant_switch_tbl_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3777. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_set_ant_ctrl_chain, ant_ctrl_chain, WMITLV_SIZE_VAR)
  3778. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_ANTENNA_SWITCH_TABLE_CMDID);
  3779. /* Override the CTL table */
  3780. #define WMITLV_TABLE_WMI_PDEV_SET_CTL_TABLE_CMDID(id,op,buf,len) \
  3781. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_ctl_table_cmd_fixed_param, wmi_pdev_set_ctl_table_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3782. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ctl_info, WMITLV_SIZE_VAR)
  3783. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_CTL_TABLE_CMDID);
  3784. /* Set bios sar table */
  3785. #define WMITLV_TABLE_WMI_PDEV_SET_BIOS_SAR_TABLE_CMDID(id,op,buf,len) \
  3786. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_bios_sar_table_cmd_fixed_param, wmi_pdev_set_bios_sar_table_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3787. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, sar_power, WMITLV_SIZE_VAR) \
  3788. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, dbs_backoff, WMITLV_SIZE_VAR)
  3789. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_BIOS_SAR_TABLE_CMDID);
  3790. /* Set bios geo table */
  3791. #define WMITLV_TABLE_WMI_PDEV_SET_BIOS_GEO_TABLE_CMDID(id,op,buf,len) \
  3792. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_bios_geo_table_cmd_fixed_param, wmi_pdev_set_bios_geo_table_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3793. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, geo_offset, WMITLV_SIZE_VAR)
  3794. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_BIOS_GEO_TABLE_CMDID);
  3795. /* Set bios interface table */
  3796. #define WMITLV_TABLE_WMI_PDEV_SET_BIOS_INTERFACE_CMDID(id,op,buf,len) \
  3797. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_bios_interface_cmd_fixed_param, wmi_pdev_set_bios_interface_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3798. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, parameters, WMITLV_SIZE_VAR)
  3799. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_BIOS_INTERFACE_CMDID);
  3800. /* Override the array gain table */
  3801. #define WMITLV_TABLE_WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID(id,op,buf,len) \
  3802. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_mimogain_table_cmd_fixed_param, wmi_pdev_set_mimogain_table_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3803. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, arraygain_tbl, WMITLV_SIZE_VAR)
  3804. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID);
  3805. /* FIPS cmd */
  3806. #define WMITLV_TABLE_WMI_PDEV_FIPS_CMDID(id,op,buf,len) \
  3807. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_fips_cmd_fixed_param, wmi_pdev_fips_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3808. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3809. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FIPS_CMDID);
  3810. /* FIPS extended cmd */
  3811. #define WMITLV_TABLE_WMI_PDEV_FIPS_EXTEND_CMDID(id,op,buf,len) \
  3812. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_fips_extend_cmd_fixed_param, wmi_pdev_fips_extend_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3813. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_fips_extend_cmd_init_params, cmd_params, WMITLV_SIZE_VAR) \
  3814. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3815. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FIPS_EXTEND_CMDID);
  3816. /* FIPS mode set cmd */
  3817. #define WMITLV_TABLE_WMI_PDEV_FIPS_MODE_SET_CMDID(id,op,buf,len) \
  3818. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_fips_mode_set_cmd_fixed_param, wmi_pdev_fips_mode_set_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3819. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FIPS_MODE_SET_CMDID);
  3820. /* Featureset cmd */
  3821. #define WMITLV_TABLE_WMI_PDEV_FEATURESET_CMDID(id,op,buf,len) \
  3822. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_featureset_cmd_fixed_param, wmi_pdev_featureset_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3823. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, feature_set_bitmap, WMITLV_SIZE_VAR)
  3824. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FEATURESET_CMDID);
  3825. /* get CCK ANI level */
  3826. #define WMITLV_TABLE_WMI_PDEV_GET_ANI_CCK_CONFIG_CMDID(id,op,buf,len) \
  3827. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_ani_cck_config_cmd_fixed_param, wmi_pdev_get_ani_cck_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3828. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_ANI_CCK_CONFIG_CMDID);
  3829. /* get OFDM ANI level */
  3830. #define WMITLV_TABLE_WMI_PDEV_GET_ANI_OFDM_CONFIG_CMDID(id,op,buf,len) \
  3831. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_ani_ofdm_config_cmd_fixed_param, wmi_pdev_get_ani_ofdm_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3832. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_ANI_OFDM_CONFIG_CMDID);
  3833. /* TxPPDU TPC cmd */
  3834. #define WMITLV_TABLE_WMI_PDEV_GET_TPC_CMDID(id,op,buf,len) \
  3835. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_tpc_cmd_fixed_param, wmi_pdev_get_tpc_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3836. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TPC_CMDID);
  3837. #define WMITLV_TABLE_WMI_VDEV_RATEMASK_CMDID(id,op,buf,len) \
  3838. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_config_ratemask_fixed_param, wmi_vdev_config_ratemask_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3839. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_RATEMASK_CMDID);
  3840. /* ATF VDEV REQUEST commands */
  3841. #define WMITLV_TABLE_WMI_VDEV_ATF_REQUEST_CMDID(id,op,buf,len) \
  3842. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_atf_request_fixed_param, wmi_vdev_atf_request_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3843. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ATF_REQUEST_CMDID);
  3844. /* Command to send the DSCP-to-TID map to the target for VAP */
  3845. #define WMITLV_TABLE_WMI_VDEV_SET_DSCP_TID_MAP_CMDID(id,op,buf,len) \
  3846. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_dscp_tid_map_cmd_fixed_param, wmi_vdev_set_dscp_tid_map_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3847. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_DSCP_TID_MAP_CMDID);
  3848. /* Configure filter for Neighbor Rx Pkt (smart mesh selective listening) */
  3849. #define WMITLV_TABLE_WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID(id,op,buf,len) \
  3850. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_filter_nrp_config_cmd_fixed_param, wmi_vdev_filter_nrp_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3851. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID);
  3852. /* Configure filter for Mac addr based filtering*/
  3853. #define WMITLV_TABLE_WMI_PEER_TX_FILTER_CMDID(id,op,buf,len) \
  3854. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_tx_filter_cmd_fixed_param, wmi_peer_tx_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3855. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TX_FILTER_CMDID);
  3856. /* Configure filter for PN Rx Pkt indication which pkts need to be forwarded to host */
  3857. #define WMITLV_TABLE_WMI_VDEV_PN_MGMT_RX_FILTER_CMDID(id,op,buf,len) \
  3858. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_pn_mgmt_rx_filter_cmd_fixed_param, wmi_vdev_pn_mgmt_rx_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3859. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_PN_MGMT_RX_FILTER_CMDID);
  3860. #define WMITLV_TABLE_WMI_ESL_EGID_CMDID(id,op,buf,len) \
  3861. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_esl_egid_cmd_fixed_param, wmi_esl_egid_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3862. WMITLV_CREATE_PARAM_STRUC(WMI_ESL_EGID_CMDID);
  3863. /* update a wds (4 address) entry */
  3864. #define WMITLV_TABLE_WMI_PEER_UPDATE_WDS_ENTRY_CMDID(id,op,buf,len) \
  3865. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_update_wds_entry_cmd_fixed_param, wmi_peer_update_wds_entry_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3866. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_UPDATE_WDS_ENTRY_CMDID);
  3867. /* add a proxy sta entry */
  3868. #define WMITLV_TABLE_WMI_PEER_ADD_PROXY_STA_ENTRY_CMDID(id,op,buf,len) \
  3869. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_create_cmd_fixed_param, wmi_peer_create_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3870. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ADD_PROXY_STA_ENTRY_CMDID);
  3871. /* Set Smart Antenna TX antenna */
  3872. #define WMITLV_TABLE_WMI_PEER_SMART_ANT_SET_TX_ANTENNA_CMDID(id,op,buf,len) \
  3873. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_STRUC_wmi_peer_smart_ant_set_tx_antenna_cmd_fixed_param, wmi_peer_smart_ant_set_tx_antenna_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3874. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_smart_ant_set_tx_antenna_series, antenna_series, WMITLV_SIZE_VAR)
  3875. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SMART_ANT_SET_TX_ANTENNA_CMDID);
  3876. /* Set Smart Antenna TX train info */
  3877. #define WMITLV_TABLE_WMI_PEER_SMART_ANT_SET_TRAIN_INFO_CMDID(id,op,buf,len) \
  3878. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_smart_ant_set_train_antenna_cmd_fixed_param, wmi_peer_smart_ant_set_train_antenna_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3879. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_smart_ant_set_train_antenna_param, antenna_param, WMITLV_SIZE_VAR)
  3880. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SMART_ANT_SET_TRAIN_INFO_CMDID);
  3881. /* Set SA node config options */
  3882. #define WMITLV_TABLE_WMI_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMDID(id,op,buf,len) \
  3883. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_smart_ant_set_node_config_ops_cmd_fixed_param, wmi_peer_smart_ant_set_node_config_ops_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3884. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, args, WMITLV_SIZE_VAR)
  3885. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMDID);
  3886. /* Q-Boost configuration test commands */
  3887. #define WMITLV_TABLE_WMI_QBOOST_CFG_CMDID(id,op,buf,len) \
  3888. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_QBOOST_CFG_CMD_fixed_param, WMI_QBOOST_CFG_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3889. WMITLV_CREATE_PARAM_STRUC(WMI_QBOOST_CFG_CMDID);
  3890. /* set debug and tuning parameters */
  3891. #define WMITLV_TABLE_WMI_FWTEST_CMDID(id,op,buf,len) \
  3892. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_fwtest_set_param_cmd_fixed_param, wmi_fwtest_set_param_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3893. WMITLV_CREATE_PARAM_STRUC(WMI_FWTEST_CMDID);
  3894. /* ATF PEER REQUEST commands. */
  3895. #define WMITLV_TABLE_WMI_PEER_ATF_REQUEST_CMDID(id,op,buf,len) \
  3896. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_atf_request_fixed_param, wmi_peer_atf_request_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3897. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_atf_peer_info, peer_info, WMITLV_SIZE_VAR)
  3898. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ATF_REQUEST_CMDID);
  3899. #define WMITLV_TABLE_WMI_VDEV_TID_LATENCY_CONFIG_CMDID(id,op,buf,len) \
  3900. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_tid_latency_config_fixed_param, wmi_vdev_tid_latency_config_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3901. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_latency_info, vdev_latency_info, WMITLV_SIZE_VAR)
  3902. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_TID_LATENCY_CONFIG_CMDID);
  3903. #define WMITLV_TABLE_WMI_PEER_TID_LATENCY_CONFIG_CMDID(id,op,buf,len) \
  3904. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_tid_latency_config_fixed_param, wmi_peer_tid_latency_config_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3905. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tid_latency_info, latency_info, WMITLV_SIZE_VAR)
  3906. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TID_LATENCY_CONFIG_CMDID);
  3907. /* ATF Group Request commands */
  3908. #define WMITLV_TABLE_WMI_ATF_SSID_GROUPING_REQUEST_CMDID(id,op,buf,len) \
  3909. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_atf_ssid_grp_request_fixed_param, wmi_atf_ssid_grp_request_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3910. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_atf_group_info, group_info, WMITLV_SIZE_VAR)
  3911. WMITLV_CREATE_PARAM_STRUC(WMI_ATF_SSID_GROUPING_REQUEST_CMDID);
  3912. /* ATF Group WMM Request commands */
  3913. #define WMITLV_TABLE_WMI_ATF_GROUP_WMM_AC_CONFIG_REQUEST_CMDID(id,op,buf,len) \
  3914. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_atf_grp_wmm_ac_cfg_request_fixed_param, wmi_atf_grp_wmm_ac_cfg_request_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3915. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_atf_group_wmm_ac_info, group_info, WMITLV_SIZE_VAR)
  3916. WMITLV_CREATE_PARAM_STRUC(WMI_ATF_GROUP_WMM_AC_CONFIG_REQUEST_CMDID);
  3917. /* ATF EXTENDED PEER REQUEST commands */
  3918. #define WMITLV_TABLE_WMI_PEER_ATF_EXT_REQUEST_CMDID(id,op,buf,len) \
  3919. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_atf_ext_request_fixed_param, wmi_peer_atf_ext_request_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3920. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_atf_ext_info, peer_ext_info, WMITLV_SIZE_VAR)
  3921. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ATF_EXT_REQUEST_CMDID);
  3922. /* enable/disable and set the periodicity of periodic channel stats */
  3923. #define WMITLV_TABLE_WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID(id,op,buf,len) \
  3924. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_set_periodic_channel_stats_config_fixed_param, wmi_set_periodic_channel_stats_config_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3925. WMITLV_CREATE_PARAM_STRUC(WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID);
  3926. /* wal power debug command per pdev */
  3927. #define WMITLV_TABLE_WMI_PDEV_WAL_POWER_DEBUG_CMDID(id,op,buf,len) \
  3928. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_wal_power_debug_cmd_fixed_param, wmi_pdev_wal_power_debug_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3929. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, args, WMITLV_SIZE_VAR)
  3930. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_WAL_POWER_DEBUG_CMDID);
  3931. /* pdev set reorder timeout val */
  3932. #define WMITLV_TABLE_WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID(id,op,buf,len) \
  3933. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_reorder_timeout_val_cmd_fixed_param, wmi_pdev_set_reorder_timeout_val_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3934. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID);
  3935. /* peer set rx blocksize cmd */
  3936. #define WMITLV_TABLE_WMI_PEER_SET_RX_BLOCKSIZE_CMDID(id,op,buf,len) \
  3937. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_set_rx_blocksize_cmd_fixed_param, wmi_peer_set_rx_blocksize_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3938. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SET_RX_BLOCKSIZE_CMDID);
  3939. /* Bandwidth Fairness (BWF) peer configure commands */
  3940. #define WMITLV_TABLE_WMI_PEER_BWF_REQUEST_CMDID(id,op,buf,len) \
  3941. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_bwf_request_fixed_param, wmi_peer_bwf_request_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3942. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_bwf_peer_info, peer_info, WMITLV_SIZE_VAR)
  3943. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_BWF_REQUEST_CMDID);
  3944. #define WMITLV_TABLE_WMI_RMC_SET_MANUAL_LEADER_CMDID(id,op,buf,len) \
  3945. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_rmc_set_leader_cmd_fixed_param, wmi_rmc_set_leader_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3946. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_SET_MANUAL_LEADER_CMDID);
  3947. /* peer reorder queue setup cmd */
  3948. #define WMITLV_TABLE_WMI_PEER_REORDER_QUEUE_SETUP_CMDID(id,op,buf,len) \
  3949. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_reorder_queue_setup_cmd_fixed_param, wmi_peer_reorder_queue_setup_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3950. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_REORDER_QUEUE_SETUP_CMDID);
  3951. /* peer reorder queue remove cmd */
  3952. #define WMITLV_TABLE_WMI_PEER_REORDER_QUEUE_REMOVE_CMDID(id,op,buf,len) \
  3953. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_reorder_queue_remove_cmd_fixed_param, wmi_peer_reorder_queue_remove_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3954. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_REORDER_QUEUE_REMOVE_CMDID);
  3955. /* Filter in monitor mode parameters Cmd */
  3956. #define WMITLV_TABLE_WMI_MNT_FILTER_CMDID(id,op,buf,len) \
  3957. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mnt_filter_cmd_fixed_param, wmi_mnt_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3958. WMITLV_CREATE_PARAM_STRUC(WMI_MNT_FILTER_CMDID);
  3959. /* WLAN GET Chip power Stats*/
  3960. #define WMITLV_TABLE_WMI_PDEV_GET_CHIP_POWER_STATS_CMDID(id,op,buf,len) \
  3961. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_get_chip_power_stats_cmd_fixed_param, wmi_pdev_get_chip_power_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3962. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_CHIP_POWER_STATS_CMDID);
  3963. /* WLAN GET mws conflict */
  3964. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_INFO_CMDID(id,op,buf,len) \
  3965. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_info_cmd_fixed_param, wmi_vdev_get_mws_coex_info_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3966. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_INFO_CMDID);
  3967. /* WLAN GET beacon reception Stats*/
  3968. #define WMITLV_TABLE_WMI_VDEV_GET_BCN_RECEPTION_STATS_CMDID(id,op,buf,len) \
  3969. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_get_bcn_recv_stats_fixed_param, wmi_vdev_get_bcn_recv_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3970. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_BCN_RECEPTION_STATS_CMDID);
  3971. /* pdev set stats threshold cmd*/
  3972. #define WMITLV_TABLE_WMI_PDEV_SET_STATS_THRESHOLD_CMDID(id,op,buf,len) \
  3973. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_stats_threshold_cmd_fixed_param, wmi_pdev_set_stats_threshold_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3974. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chan_cca_stats_thresh, wmi_chan_cca_stats_thresh, cca_thresh, WMITLV_SIZE_FIX) \
  3975. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_signal_stats_thresh, wmi_peer_signal_stats_thresh, signal_thresh, WMITLV_SIZE_FIX) \
  3976. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tx_stats_thresh, wmi_tx_stats_thresh, tx_thresh, WMITLV_SIZE_FIX) \
  3977. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rx_stats_thresh, wmi_rx_stats_thresh, rx_thresh, WMITLV_SIZE_FIX)
  3978. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_STATS_THRESHOLD_CMDID);
  3979. /* Request wlan stats cmd */
  3980. #define WMITLV_TABLE_WMI_REQUEST_WLAN_STATS_CMDID(id,op,buf,len) \
  3981. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_wlan_stats_cmd_fixed_param, wmi_request_wlan_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3982. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_WLAN_STATS_CMDID);
  3983. /* Request peer stats info cmd */
  3984. #define WMITLV_TABLE_WMI_REQUEST_PEER_STATS_INFO_CMDID(id,op,buf,len) \
  3985. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_peer_stats_info_cmd_fixed_param, wmi_request_peer_stats_info_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3986. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_PEER_STATS_INFO_CMDID);
  3987. /* Request Control Path stats info cmd */
  3988. #define WMITLV_TABLE_WMI_REQUEST_CTRL_PATH_STATS_CMDID(id,op,buf,len) \
  3989. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_ctrl_path_stats_cmd_fixed_param, wmi_request_ctrl_path_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)\
  3990. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, pdev_ids, WMITLV_SIZE_VAR)\
  3991. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids, WMITLV_SIZE_VAR)\
  3992. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mac_addr_list, WMITLV_SIZE_VAR) \
  3993. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, twt_dialog_ids, WMITLV_SIZE_VAR) \
  3994. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, odd_addr_read_args, WMITLV_SIZE_VAR) \
  3995. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, peer_ids, WMITLV_SIZE_VAR)
  3996. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_CTRL_PATH_STATS_CMDID);
  3997. /* Request Halphy Stats through Ctrl Path */
  3998. #define WMITLV_TABLE_WMI_REQUEST_HALPHY_CTRL_PATH_STATS_CMDID(id,op,buf,len) \
  3999. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_halphy_ctrl_path_stats_cmd_fixed_param, wmi_request_halphy_ctrl_path_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)\
  4000. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, pdev_ids, WMITLV_SIZE_VAR)\
  4001. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids, WMITLV_SIZE_VAR)\
  4002. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mac_addr_list, WMITLV_SIZE_VAR)
  4003. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_HALPHY_CTRL_PATH_STATS_CMDID);
  4004. /* Host sets the current country code */
  4005. #define WMITLV_TABLE_WMI_SET_CURRENT_COUNTRY_CMDID(id,op,buf,len) \
  4006. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_set_current_country_cmd_fixed_param, wmi_set_current_country_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4007. WMITLV_CREATE_PARAM_STRUC(WMI_SET_CURRENT_COUNTRY_CMDID);
  4008. /* Host sets the init country code */
  4009. #define WMITLV_TABLE_WMI_SET_INIT_COUNTRY_CMDID(id,op,buf,len) \
  4010. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_set_init_country_cmd_fixed_param, wmi_set_init_country_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4011. WMITLV_CREATE_PARAM_STRUC(WMI_SET_INIT_COUNTRY_CMDID);
  4012. /* Host triggers FW to read AFC info */
  4013. #define WMITLV_TABLE_WMI_AFC_CMDID(id,op,buf,len) \
  4014. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_afc_cmd_fixed_param, wmi_afc_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4015. WMITLV_CREATE_PARAM_STRUC(WMI_AFC_CMDID);
  4016. /* Start 11d scan in FW */
  4017. #define WMITLV_TABLE_WMI_11D_SCAN_START_CMDID(id,op,buf,len) \
  4018. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_11d_scan_start_cmd_fixed_param, wmi_11d_scan_start_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4019. WMITLV_CREATE_PARAM_STRUC(WMI_11D_SCAN_START_CMDID);
  4020. /* Stop 11d scan in FW */
  4021. #define WMITLV_TABLE_WMI_11D_SCAN_STOP_CMDID(id,op,buf,len) \
  4022. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_11d_scan_stop_cmd_fixed_param, wmi_11d_scan_stop_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4023. WMITLV_CREATE_PARAM_STRUC(WMI_11D_SCAN_STOP_CMDID);
  4024. /* Request radio channel stats cmd */
  4025. #define WMITLV_TABLE_WMI_REQUEST_RADIO_CHAN_STATS_CMDID(id,op,buf,len) \
  4026. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_radio_chan_stats_cmd_fixed_param, wmi_request_radio_chan_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4027. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_RADIO_CHAN_STATS_CMDID);
  4028. /* mac randomization cmd */
  4029. #define WMITLV_TABLE_WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID(id,op,buf,len) \
  4030. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_add_mac_addr_to_rx_filter_cmd_fixed_param, wmi_vdev_add_mac_addr_to_rx_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4031. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID);
  4032. #define WMITLV_TABLE_WMI_HW_DATA_FILTER_CMDID(id,op,buf,len) \
  4033. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hw_data_filter_cmd_fixed_param, wmi_hw_data_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4034. WMITLV_CREATE_PARAM_STRUC(WMI_HW_DATA_FILTER_CMDID);
  4035. #define WMITLV_TABLE_WMI_PDEV_MESH_RX_FILTER_ENABLE_CMDID(id,op,buf,len) \
  4036. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_mesh_rx_filter_enable_fixed_param, wmi_pdev_mesh_rx_filter_enable_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4037. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_MESH_RX_FILTER_ENABLE_CMDID);
  4038. /* Multiple vdev restart request cmd */
  4039. #define WMITLV_TABLE_WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID(id,op,buf,len) \
  4040. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_restart_request_cmd_fixed_param, wmi_pdev_multiple_vdev_restart_request_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4041. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids, WMITLV_SIZE_VAR) \
  4042. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX) \
  4043. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, phymode_list, WMITLV_SIZE_VAR) \
  4044. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, preferred_tx_stream_list, WMITLV_SIZE_VAR) \
  4045. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, preferred_rx_stream_list, WMITLV_SIZE_VAR)
  4046. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID);
  4047. #define WMITLV_TABLE_WMI_PDEV_UPDATE_PKT_ROUTING_CMDID(id,op,buf,len) \
  4048. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_update_pkt_routing_cmd_fixed_param, wmi_pdev_update_pkt_routing_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4049. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_PKT_ROUTING_CMDID);
  4050. /* Get cal version cmd */
  4051. #define WMITLV_TABLE_WMI_PDEV_CHECK_CAL_VERSION_CMDID(id,op,buf,len) \
  4052. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_check_cal_version_cmd_fixed_param, wmi_pdev_check_cal_version_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4053. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHECK_CAL_VERSION_CMDID);
  4054. #define WMITLV_TABLE_WMI_PDEV_SET_DIVERSITY_GAIN_CMDID(id,op,buf,len) \
  4055. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_diversity_gain_cmd_fixed_param, wmi_pdev_set_diversity_gain_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4056. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, diversity_gains, WMITLV_SIZE_VAR)
  4057. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_DIVERSITY_GAIN_CMDID);
  4058. /* set arp stats cmd */
  4059. #define WMITLV_TABLE_WMI_VDEV_SET_ARP_STAT_CMDID(id,op,buf,len) \
  4060. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_arp_stats_cmd_fixed_param, wmi_vdev_set_arp_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4061. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_set_connectivity_check_stats, connectivity_check_stats, WMITLV_SIZE_VAR)
  4062. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_ARP_STAT_CMDID);
  4063. /* get arp stats cmd */
  4064. #define WMITLV_TABLE_WMI_VDEV_GET_ARP_STAT_CMDID(id,op,buf,len) \
  4065. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_arp_stats_cmd_fixed_param, wmi_vdev_get_arp_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4066. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_ARP_STAT_CMDID);
  4067. /* Thermal Throttling SET CONFIG commands. */
  4068. #define WMITLV_TABLE_WMI_THERM_THROT_SET_CONF_CMDID(id,op,buf,len) \
  4069. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_therm_throt_config_request_fixed_param, wmi_therm_throt_config_request_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4070. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_therm_throt_level_config_info, therm_throt_level_config_info, WMITLV_SIZE_VAR)
  4071. WMITLV_CREATE_PARAM_STRUC(WMI_THERM_THROT_SET_CONF_CMDID);
  4072. /* OIC ping offload cmd */
  4073. #define WMITLV_TABLE_WMI_HB_OIC_PING_OFFLOAD_PARAM_CMDID(id,op,buf,len) \
  4074. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_oic_ping_offload_params_cmd_fixed_param, wmi_oic_ping_offload_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4075. WMITLV_CREATE_PARAM_STRUC(WMI_HB_OIC_PING_OFFLOAD_PARAM_CMDID);
  4076. #define WMITLV_TABLE_WMI_HB_OIC_PING_OFFLOAD_SET_ENABLE_CMDID(id,op,buf,len) \
  4077. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_oic_ping_offload_set_enable_cmd_fixed_param, wmi_oic_ping_offload_set_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4078. WMITLV_CREATE_PARAM_STRUC(WMI_HB_OIC_PING_OFFLOAD_SET_ENABLE_CMDID);
  4079. /* DHCP Lease Renew Offload cmd */
  4080. #define WMITLV_TABLE_WMI_HB_DHCP_LEASE_RENEW_OFFLOAD_CMDID(id,op,buf,len) \
  4081. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_STRUC_wmi_dhcp_lease_renew_offload_cmd_fixed_param, wmi_dhcp_lease_renew_offload_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4082. WMITLV_CREATE_PARAM_STRUC(WMI_HB_DHCP_LEASE_RENEW_OFFLOAD_CMDID);
  4083. /* BTM config command */
  4084. #define WMITLV_TABLE_WMI_ROAM_BTM_CONFIG_CMDID(id,op,buf,len) \
  4085. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_btm_config_fixed_param, wmi_btm_config_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4086. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_BTM_CONFIG_CMDID);
  4087. /* vdev latency config cmd */
  4088. #define WMITLV_TABLE_WMI_WLM_CONFIG_CMDID(id,op,buf,len) \
  4089. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wlm_config_cmd_fixed_param, wmi_wlm_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4090. WMITLV_CREATE_PARAM_STRUC(WMI_WLM_CONFIG_CMDID);
  4091. /* Event to send roam stats */
  4092. #define WMITLV_TABLE_WMI_ROAM_STATS_EVENTID(id,op,buf,len) \
  4093. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_stats_event_fixed_param, wmi_roam_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4094. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_reason, roam_trigger_reason, WMITLV_SIZE_VAR) \
  4095. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_scan_info, roam_scan_info, WMITLV_SIZE_VAR) \
  4096. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_scan_channel_info, roam_scan_chan_info, WMITLV_SIZE_VAR) \
  4097. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_ap_info, roam_ap_info, WMITLV_SIZE_VAR) \
  4098. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_result, roam_result, WMITLV_SIZE_VAR) \
  4099. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_neighbor_report_info, roam_neighbor_report_info, WMITLV_SIZE_VAR) \
  4100. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_neighbor_report_channel_info, roam_neighbor_report_chan_info, WMITLV_SIZE_VAR) \
  4101. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_frame_info, roam_frame_info, WMITLV_SIZE_VAR) \
  4102. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_initial_info, roam_initial_info, WMITLV_SIZE_VAR) \
  4103. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_btm_response_info, roam_btm_response_info, WMITLV_SIZE_VAR) \
  4104. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_msg_info, roam_msg_info, WMITLV_SIZE_VAR) \
  4105. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_btm_request_candidate_info, roam_btm_request_candidate_info, WMITLV_SIZE_VAR) \
  4106. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_reason_cmm, roam_trigger_reason_cmm, WMITLV_SIZE_VAR) \
  4107. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_rssi, roam_trigger_rssi, WMITLV_SIZE_VAR) \
  4108. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_bss_load, roam_trigger_bss_load, WMITLV_SIZE_VAR) \
  4109. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_deauth, roam_trigger_deauth, WMITLV_SIZE_VAR) \
  4110. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_btm, roam_trigger_btm, WMITLV_SIZE_VAR) \
  4111. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_bmiss, roam_trigger_bmiss, WMITLV_SIZE_VAR) \
  4112. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_dense, roam_trigger_dense, WMITLV_SIZE_VAR) \
  4113. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_force, roam_trigger_force, WMITLV_SIZE_VAR) \
  4114. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_kickout, roam_trigger_kickout, WMITLV_SIZE_VAR) \
  4115. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_per, roam_trigger_per, WMITLV_SIZE_VAR) \
  4116. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_periodic, roam_trigger_periodic, WMITLV_SIZE_VAR) \
  4117. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_hi_rssi, roam_trigger_hi_rssi, WMITLV_SIZE_VAR)
  4118. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_STATS_EVENTID);
  4119. /* Motion detection cmd */
  4120. #define WMITLV_TABLE_WMI_MOTION_DET_CONFIG_PARAM_CMDID(id,op,buf,len) \
  4121. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_motion_det_config_params_cmd_fixed_param, wmi_motion_det_config_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4122. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_CONFIG_PARAM_CMDID);
  4123. #define WMITLV_TABLE_WMI_MOTION_DET_BASE_LINE_CONFIG_PARAM_CMDID(id,op,buf,len) \
  4124. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_motion_det_base_line_config_params_cmd_fixed_param, wmi_motion_det_base_line_config_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4125. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_BASE_LINE_CONFIG_PARAM_CMDID);
  4126. #define WMITLV_TABLE_WMI_MOTION_DET_START_STOP_CMDID(id,op,buf,len) \
  4127. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_motion_det_start_stop_cmd_fixed_param, wmi_motion_det_start_stop_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4128. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_START_STOP_CMDID);
  4129. #define WMITLV_TABLE_WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID(id,op,buf,len) \
  4130. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_motion_det_base_line_start_stop_cmd_fixed_param, wmi_motion_det_base_line_start_stop_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4131. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID);
  4132. /* Pdev Set AC TX Queue Optimized Cmd */
  4133. #define WMITLV_TABLE_WMI_PDEV_SET_AC_TX_QUEUE_OPTIMIZED_CMDID(id,op,buf,len) \
  4134. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_ac_tx_queue_optimized_cmd_fixed_param, wmi_pdev_set_ac_tx_queue_optimized_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4135. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_AC_TX_QUEUE_OPTIMIZED_CMDID);
  4136. /* Set msduq qdepth threshold value Cmd */
  4137. #define WMITLV_TABLE_WMI_PEER_TID_MSDUQ_QDEPTH_THRESH_UPDATE_CMDID(id,op,buf,len) \
  4138. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_tid_msduq_qdepth_thresh_update_cmd_fixed_param, wmi_peer_tid_msduq_qdepth_thresh_update_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4139. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_msduq_qdepth_thresh_update, msduq_qdepth_thresh_update, WMITLV_SIZE_VAR)
  4140. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TID_MSDUQ_QDEPTH_THRESH_UPDATE_CMDID);
  4141. /* Pdev Set RX filter promiscuous Cmd */
  4142. #define WMITLV_TABLE_WMI_PDEV_SET_RX_FILTER_PROMISCUOUS_CMDID(id,op,buf,len) \
  4143. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_rx_filter_promiscuous_cmd_fixed_param, wmi_pdev_set_rx_filter_promiscuous_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4144. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_RX_FILTER_PROMISCUOUS_CMDID);
  4145. /* Runtime DPD Recalibration Params */
  4146. #define WMITLV_TABLE_WMI_RUNTIME_DPD_RECAL_CMDID(id,op,buf,len) \
  4147. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_runtime_dpd_recal_cmd_fixed_param, wmi_runtime_dpd_recal_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4148. WMITLV_CREATE_PARAM_STRUC(WMI_RUNTIME_DPD_RECAL_CMDID);
  4149. /** Get TX power Cmd */
  4150. #define WMITLV_TABLE_WMI_GET_TPC_POWER_CMDID(id,op,buf,len) \
  4151. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_get_tpc_power_cmd_fixed_param, wmi_get_tpc_power_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4152. WMITLV_CREATE_PARAM_STRUC(WMI_GET_TPC_POWER_CMDID);
  4153. /* TWT enable cmd */
  4154. #define WMITLV_TABLE_WMI_TWT_ENABLE_CMDID(id,op,buf,len) \
  4155. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_enable_cmd_fixed_param, wmi_twt_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4156. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_ENABLE_CMDID);
  4157. /* TWT disable cmd */
  4158. #define WMITLV_TABLE_WMI_TWT_DISABLE_CMDID(id,op,buf,len) \
  4159. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_disable_cmd_fixed_param, wmi_twt_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4160. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_DISABLE_CMDID);
  4161. /* TWT add dialog cmd */
  4162. #define WMITLV_TABLE_WMI_TWT_ADD_DIALOG_CMDID(id,op,buf,len) \
  4163. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_add_dialog_cmd_fixed_param, wmi_twt_add_dialog_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4164. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_ADD_DIALOG_CMDID);
  4165. /* TWT delete dialog cmd */
  4166. #define WMITLV_TABLE_WMI_TWT_DEL_DIALOG_CMDID(id,op,buf,len) \
  4167. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_del_dialog_cmd_fixed_param, wmi_twt_del_dialog_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4168. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_DEL_DIALOG_CMDID);
  4169. /* TWT pause dialog cmd */
  4170. #define WMITLV_TABLE_WMI_TWT_PAUSE_DIALOG_CMDID(id,op,buf,len) \
  4171. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_pause_dialog_cmd_fixed_param, wmi_twt_pause_dialog_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4172. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_PAUSE_DIALOG_CMDID);
  4173. /* TWT resume dialog cmd */
  4174. #define WMITLV_TABLE_WMI_TWT_RESUME_DIALOG_CMDID(id,op,buf,len) \
  4175. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_resume_dialog_cmd_fixed_param, wmi_twt_resume_dialog_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4176. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_RESUME_DIALOG_CMDID);
  4177. /* TWT nudge dialog cmd */
  4178. #define WMITLV_TABLE_WMI_TWT_NUDGE_DIALOG_CMDID(id,op,buf,len) \
  4179. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_nudge_dialog_cmd_fixed_param, wmi_twt_nudge_dialog_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4180. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_NUDGE_DIALOG_CMDID);
  4181. /* B-TWT STA invitation cmd */
  4182. #define WMITLV_TABLE_WMI_TWT_BTWT_INVITE_STA_CMDID(id,op,buf,len) \
  4183. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_btwt_invite_sta_cmd_fixed_param, wmi_twt_btwt_invite_sta_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4184. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_BTWT_INVITE_STA_CMDID);
  4185. /* B-TWT STA removal cmd */
  4186. #define WMITLV_TABLE_WMI_TWT_BTWT_REMOVE_STA_CMDID(id,op,buf,len) \
  4187. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_btwt_remove_sta_cmd_fixed_param, wmi_twt_btwt_remove_sta_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4188. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_BTWT_REMOVE_STA_CMDID);
  4189. /* Set peer tid configurations Cmd */
  4190. #define WMITLV_TABLE_WMI_PEER_TID_CONFIGURATIONS_CMDID(id,op,buf,len) \
  4191. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_tid_configurations_cmd_fixed_param, wmi_peer_tid_configurations_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4192. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TID_CONFIGURATIONS_CMDID);
  4193. /* OBSS_PD Spatial_Reuse cnmd */
  4194. #define WMITLV_TABLE_WMI_PDEV_OBSS_PD_SPATIAL_REUSE_CMDID(id,op,buf,len) \
  4195. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_obss_spatial_reuse_set_cmd_fixed_param, wmi_obss_spatial_reuse_set_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4196. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_CMDID);
  4197. /* Peer CFR capture cmd */
  4198. #define WMITLV_TABLE_WMI_PEER_CFR_CAPTURE_CMDID(id,op,buf,len) \
  4199. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_cfr_capture_cmd_fixed_param, wmi_peer_cfr_capture_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4200. /*
  4201. * NOTE: from approximately 7/25/19 to 8/16/19, the below TLV was incorrectly
  4202. * added to this WMI_PEER_CFR_CAPTURE_CMDID message.
  4203. * Any targets compiled with these versions of the WMI definitions will
  4204. * expect that if there is a 2nd TLV in the WMI_PEER_CFR_CAPTURE_CMDID,
  4205. * it will be
  4206. * WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_phase_fixed_param
  4207. * If in the future a new 2nd TLV is added to this WMI_PEER_CFR_CAPTURE_CMDID
  4208. * message, that would cause a target compiled with the erroneous old
  4209. * definitions to reject the WMI_PEER_CFR_CAPTURE_CMDID message containing
  4210. * the new 2nd TLV, because it would not match the
  4211. * WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_phase_fixed_param
  4212. * tag expected by the old target.
  4213. *
  4214. * WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_phase_fixed_param, wmi_peer_cfr_capture_event_phase_fixed_param, phase_param, WMITLV_SIZE_FIX)
  4215. */
  4216. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CFR_CAPTURE_CMDID);
  4217. /* CHANNEL WIDTH SWITCH commands for peers. */
  4218. #define WMITLV_TABLE_WMI_PEER_CHAN_WIDTH_SWITCH_CMDID(id,op,buf,len) \
  4219. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_chan_width_switch_cmd_fixed_param, wmi_peer_chan_width_switch_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4220. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_chan_width_peer_list, peer_info, WMITLV_SIZE_VAR)
  4221. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CHAN_WIDTH_SWITCH_CMDID);
  4222. /* BULK Peer Set command */
  4223. #define WMITLV_TABLE_WMI_PEER_BULK_SET_CMDID(id,op,buf,len) \
  4224. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_bulk_set_cmd_fixed_param, wmi_peer_bulk_set_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4225. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_list, peer_info, WMITLV_SIZE_VAR)
  4226. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_BULK_SET_CMDID);
  4227. /* OBSS_PD Spatial_Reuse Set Default OBSS Thresholds */
  4228. #define WMITLV_TABLE_WMI_PDEV_OBSS_PD_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMDID(id,op,buf,len) \
  4229. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_obss_spatial_reuse_set_def_obss_thresh_cmd_fixed_param, wmi_obss_spatial_reuse_set_def_obss_thresh_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4230. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMDID);
  4231. /* HE TB Action frame enable/disable */
  4232. #define WMITLV_TABLE_WMI_PDEV_HE_TB_ACTION_FRM_CMDID(id,op,buf,len) \
  4233. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_he_tb_action_frm_cmd_fixed_param, \
  4234. wmi_pdev_he_tb_action_frm_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4235. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4236. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_HE_TB_ACTION_FRM_CMDID);
  4237. /* HPCS Pulse cmd */
  4238. #define WMITLV_TABLE_WMI_HPCS_PULSE_START_CMDID(id,op,buf,len) \
  4239. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hpcs_pulse_start_cmd_fixed_param, wmi_hpcs_pulse_start_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4240. WMITLV_CREATE_PARAM_STRUC(WMI_HPCS_PULSE_START_CMDID);
  4241. /* PDev Packet Log filter Cmd */
  4242. #define WMITLV_TABLE_WMI_PDEV_PKTLOG_FILTER_CMDID(id,op,buf,len) \
  4243. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_pktlog_filter_cmd_fixed_param, wmi_pdev_pktlog_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4244. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_pktlog_filter_info, pdev_pktlog_filter_info, WMITLV_SIZE_VAR)
  4245. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_PKTLOG_FILTER_CMDID);
  4246. /* PDev Set Rogue AP Config cmd */
  4247. #define WMITLV_TABLE_WMI_PDEV_SET_RAP_CONFIG_CMDID(id,op,buf,len) \
  4248. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_rap_config_fixed_param, wmi_pdev_set_rap_config_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4249. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_set_rap_config_on_sta_ps_tlv_param, rap_param, WMITLV_SIZE_VAR)
  4250. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_RAP_CONFIG_CMDID);
  4251. /* OEM Data config cmd */
  4252. #define WMITLV_TABLE_WMI_OEM_DATA_CMDID(id,op,buf,len) \
  4253. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_oem_data_cmd_fixed_param, wmi_oem_data_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4254. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, oem_data, WMITLV_SIZE_VAR)
  4255. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DATA_CMDID);
  4256. /* Set OCL cmd */
  4257. #define WMITLV_TABLE_WMI_SET_OCL_CMDID(id,op,buf,len) \
  4258. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_set_ocl_cmd_fixed_param, wmi_set_ocl_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4259. WMITLV_CREATE_PARAM_STRUC(WMI_SET_OCL_CMDID);
  4260. /* Set ELNA BYPASS cmd */
  4261. #define WMITLV_TABLE_WMI_SET_ELNA_BYPASS_CMDID(id,op,buf,len) \
  4262. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_set_elna_bypass_cmd_fixed_param, wmi_set_elna_bypass_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4263. WMITLV_CREATE_PARAM_STRUC(WMI_SET_ELNA_BYPASS_CMDID);
  4264. /* Get ELNA BYPASS cmd */
  4265. #define WMITLV_TABLE_WMI_GET_ELNA_BYPASS_CMDID(id,op,buf,len) \
  4266. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_get_elna_bypass_cmd_fixed_param, wmi_get_elna_bypass_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4267. WMITLV_CREATE_PARAM_STRUC(WMI_GET_ELNA_BYPASS_CMDID);
  4268. /* Get channel ANI level cmd */
  4269. #define WMITLV_TABLE_WMI_GET_CHANNEL_ANI_CMDID(id,op,buf,len) \
  4270. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_get_channel_ani_cmd_fixed_param, wmi_get_channel_ani_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4271. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR)
  4272. WMITLV_CREATE_PARAM_STRUC(WMI_GET_CHANNEL_ANI_CMDID);
  4273. /* Audio aggr config cmd */
  4274. #define WMITLV_TABLE_WMI_AUDIO_AGGR_ENABLE_CMDID(id,op,buf,len) \
  4275. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_enable_cmd_fixed_param, wmi_audio_aggr_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4276. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_ENABLE_CMDID);
  4277. #define WMITLV_TABLE_WMI_AUDIO_AGGR_ADD_GROUP_CMDID(id,op,buf,len) \
  4278. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_add_group, wmi_audio_aggr_add_group_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4279. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, client_addr, WMITLV_SIZE_VAR)
  4280. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_ADD_GROUP_CMDID);
  4281. #define WMITLV_TABLE_WMI_AUDIO_AGGR_DEL_GROUP_CMDID(id,op,buf,len) \
  4282. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_del_group, wmi_audio_aggr_del_group_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4283. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_DEL_GROUP_CMDID);
  4284. #define WMITLV_TABLE_WMI_AUDIO_AGGR_SET_GROUP_RATE_CMDID(id,op,buf,len) \
  4285. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_set_group_rate, wmi_audio_aggr_set_group_rate_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4286. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_AUDIO_AGGR_RATE_SET_T, rate_set, WMITLV_SIZE_VAR)
  4287. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SET_GROUP_RATE_CMDID);
  4288. #define WMITLV_TABLE_WMI_AUDIO_AGGR_SET_GROUP_RETRY_CMDID(id,op,buf,len) \
  4289. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_set_group_retry, wmi_audio_aggr_set_group_retry_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4290. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SET_GROUP_RETRY_CMDID);
  4291. #define WMITLV_TABLE_WMI_AUDIO_AGGR_SET_GROUP_AUTO_RATE_CMDID(id,op,buf,len) \
  4292. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_set_group_auto_rate, wmi_audio_aggr_set_group_auto_rate_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4293. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SET_GROUP_AUTO_RATE_CMDID);
  4294. #define WMITLV_TABLE_WMI_AUDIO_AGGR_SET_GROUP_PROBE_CMDID(id,op,buf,len) \
  4295. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_set_group_probe, wmi_audio_aggr_set_group_probe_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4296. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SET_GROUP_PROBE_CMDID);
  4297. #define WMITLV_TABLE_WMI_AUDIO_AGGR_UPDATE_STA_GROUP_INFO_CMDID(id,op,buf,len) \
  4298. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_update_sta_group_info, wmi_audio_aggr_update_sta_group_info_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4299. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, au_groups, WMITLV_SIZE_VAR)
  4300. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_UPDATE_STA_GROUP_INFO_CMDID);
  4301. #define WMITLV_TABLE_WMI_AUDIO_AGGR_GET_STATISTICS_CMDID(id,op,buf,len) \
  4302. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_get_statistics, wmi_audio_aggr_get_statistics_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4303. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_GET_STATISTICS_CMDID);
  4304. #define WMITLV_TABLE_WMI_AUDIO_AGGR_RESET_STATISTICS_CMDID(id,op,buf,len) \
  4305. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_reset_statistics, wmi_audio_aggr_reset_statistics_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4306. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_RESET_STATISTICS_CMDID);
  4307. #define WMITLV_TABLE_WMI_AUDIO_AGGR_SET_RTSCTS_CONFIG_CMDID(id,op,buf,len) \
  4308. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_set_rtscts_config, wmi_audio_aggr_set_rtscts_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4309. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SET_RTSCTS_CONFIG_CMDID);
  4310. #define WMITLV_TABLE_WMI_AUDIO_AGGR_SET_SCHED_METHOD_CMDID(id,op,buf,len) \
  4311. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_set_sched_method,wmi_audio_aggr_set_sched_method_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4312. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SET_SCHED_METHOD_CMDID);
  4313. #define WMITLV_TABLE_WMI_AUDIO_AGGR_GET_SCHED_METHOD_CMDID(id,op,buf,len) \
  4314. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_get_sched_method,wmi_audio_aggr_get_sched_method_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4315. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_GET_SCHED_METHOD_CMDID);
  4316. /* CFR Capture Filter cmd */
  4317. #define WMITLV_TABLE_WMI_CFR_CAPTURE_FILTER_CMDID(id,op,buf,len) \
  4318. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_cfr_capture_filter_cmd_fixed_param, wmi_cfr_capture_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4319. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_cfr_filter_group_config, filter_group_config, WMITLV_SIZE_VAR)
  4320. WMITLV_CREATE_PARAM_STRUC(WMI_CFR_CAPTURE_FILTER_CMDID);
  4321. /* VLAN config */
  4322. #define WMITLV_TABLE_WMI_PEER_CONFIG_VLAN_CMDID(id,op,buf,len) \
  4323. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_config_vlan_cmd_fixed_param, wmi_peer_config_vlan_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4324. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CONFIG_VLAN_CMDID);
  4325. #define WMITLV_TABLE_WMI_VDEV_AUDIO_SYNC_TRIGGER_CMDID(id,op,buf,len) \
  4326. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_sync_trigger_cmd_fixed_param, wmi_audio_sync_trigger_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4327. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_AUDIO_SYNC_TRIGGER_CMDID);
  4328. #define WMITLV_TABLE_WMI_VDEV_AUDIO_SYNC_QTIMER_CMDID(id,op,buf,len) \
  4329. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_sync_qtimer_cmd_fixed_param, wmi_audio_sync_qtimer_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4330. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_AUDIO_SYNC_QTIMER_CMDID);
  4331. /* Preferred channel list for vdev */
  4332. #define WMITLV_TABLE_WMI_VDEV_SET_PCL_CMDID(id,op,buf,len) \
  4333. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_pcl_cmd_fixed_param, wmi_vdev_set_pcl_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4334. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_weight, WMITLV_SIZE_VAR)
  4335. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_PCL_CMDID);
  4336. /* Get roam scan channel list */
  4337. #define WMITLV_TABLE_WMI_ROAM_GET_SCAN_CHANNEL_LIST_CMDID(id,op,buf,len) \
  4338. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_get_scan_channel_list_cmd_fixed_param, wmi_roam_get_scan_channel_list_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4339. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_GET_SCAN_CHANNEL_LIST_CMDID);
  4340. /* VDEV_GET_BIG_DATA_CMD IS DEPRECATED - DO NOT USE */
  4341. #define WMITLV_TABLE_WMI_VDEV_GET_BIG_DATA_CMDID(id,op,buf,len) \
  4342. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_big_data_cmd_fixed_param, wmi_vdev_get_big_data_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4343. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_BIG_DATA_CMDID);
  4344. /* Get per vdev BIG DATA stats P2 */
  4345. #define WMITLV_TABLE_WMI_VDEV_GET_BIG_DATA_P2_CMDID(id,op,buf,len) \
  4346. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_big_data_p2_cmd_fixed_param, wmi_vdev_get_big_data_p2_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4347. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_BIG_DATA_P2_CMDID);
  4348. /* Vdev set TPC power */
  4349. #define WMITLV_TABLE_WMI_VDEV_SET_TPC_POWER_CMDID(id,op,buf,len) \
  4350. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_tpc_power_cmd_fixed_param, wmi_vdev_set_tpc_power_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4351. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_ch_power_info, ch_pwr_info, WMITLV_SIZE_VAR)
  4352. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_TPC_POWER_CMDID);
  4353. /* Frame inject command */
  4354. #define WMITLV_TABLE_WMI_PDEV_FRAME_INJECT_CMDID(id,op,buf,len) \
  4355. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_frame_inject_cmd_fixed_param, wmi_frame_inject_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4356. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4357. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FRAME_INJECT_CMDID);
  4358. /* Get / Set RNR TBTT offset info */
  4359. #define WMITLV_TABLE_WMI_PDEV_TBTT_OFFSET_SYNC_CMDID(id,op,buf,len) \
  4360. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_tbtt_offset_sync_cmd_fixed_param, wmi_pdev_tbtt_offset_sync_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4361. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_rnr_bss_tbtt_info, rnr_tbtt_info, WMITLV_SIZE_VAR)
  4362. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_TBTT_OFFSET_SYNC_CMDID);
  4363. /* SRG BSS color Bitmap */
  4364. #define WMITLV_TABLE_WMI_PDEV_SET_SRG_BSS_COLOR_BITMAP_CMDID(id,op,buf,len) \
  4365. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_srg_bss_color_bitmap_cmd_fixed_param, wmi_pdev_srg_bss_color_bitmap_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4366. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_SRG_BSS_COLOR_BITMAP_CMDID);
  4367. /* SRG Partial BSSid Bitmap */
  4368. #define WMITLV_TABLE_WMI_PDEV_SET_SRG_PARTIAL_BSSID_BITMAP_CMDID(id,op,buf,len) \
  4369. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_srg_partial_bssid_bitmap_cmd_fixed_param, wmi_pdev_srg_partial_bssid_bitmap_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4370. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_SRG_PARTIAL_BSSID_BITMAP_CMDID);
  4371. /* Simulation test command */
  4372. #define WMITLV_TABLE_WMI_SIMULATION_TEST_CMDID(id,op,buf,len) \
  4373. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_simulation_test_cmd_fixed_param, wmi_simulation_test_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4374. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4375. WMITLV_CREATE_PARAM_STRUC(WMI_SIMULATION_TEST_CMDID);
  4376. /* WFA test config command */
  4377. #define WMITLV_TABLE_WMI_WFA_CONFIG_CMDID(id,op,buf,len) \
  4378. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wfa_config_cmd_fixed_param, wmi_wfa_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4379. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_wfa_config_rsnxe, wfa_config_rsnxe, WMITLV_SIZE_VAR) \
  4380. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_wfa_config_csa, wfa_config_csa, WMITLV_SIZE_VAR) \
  4381. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_wfa_config_ocv, wfa_config_ocv, WMITLV_SIZE_VAR) \
  4382. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_wfa_config_saquery, wfa_config_saquery, WMITLV_SIZE_VAR) \
  4383. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_wfa_config_ofdma, wfa_config_ofdma, WMITLV_SIZE_VAR)
  4384. WMITLV_CREATE_PARAM_STRUC(WMI_WFA_CONFIG_CMDID);
  4385. /* SRG OBSS color Enable Bitmap */
  4386. #define WMITLV_TABLE_WMI_PDEV_SET_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID(id,op,buf,len) \
  4387. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_srg_obss_color_enable_bitmap_cmd_fixed_param, wmi_pdev_srg_obss_color_enable_bitmap_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4388. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID);
  4389. /* SRG OBSS BSSID Enable Bitmap */
  4390. #define WMITLV_TABLE_WMI_PDEV_SET_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID(id,op,buf,len) \
  4391. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_srg_obss_bssid_enable_bitmap_cmd_fixed_param, wmi_pdev_srg_obss_bssid_enable_bitmap_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4392. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID);
  4393. /* Non_SRG OBSS color Enable Bitmap */
  4394. #define WMITLV_TABLE_WMI_PDEV_SET_NON_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID(id,op,buf,len) \
  4395. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_non_srg_obss_color_enable_bitmap_cmd_fixed_param, wmi_pdev_non_srg_obss_color_enable_bitmap_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4396. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_NON_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID);
  4397. /* Non_SRG OBSS BSSID Enable Bitmap */
  4398. #define WMITLV_TABLE_WMI_PDEV_SET_NON_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID(id,op,buf,len) \
  4399. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_non_srg_obss_bssid_enable_bitmap_cmd_fixed_param, wmi_pdev_non_srg_obss_bssid_enable_bitmap_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4400. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_NON_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID);
  4401. /* PDEV Get TPC STATS Cmd */
  4402. #define WMITLV_TABLE_WMI_PDEV_GET_TPC_STATS_CMDID(id,op,buf,len) \
  4403. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_tpc_stats_cmd_fixed_param, wmi_pdev_get_tpc_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4404. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TPC_STATS_CMDID);
  4405. /* Duration based tx mode selection Enable Bitmap */
  4406. #define WMITLV_TABLE_WMI_PDEV_ENABLE_DURATION_BASED_TX_MODE_SELECTION_CMDID(id,op,buf,len) \
  4407. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_enable_duration_based_tx_mode_selection_cmd_fixed_param, wmi_pdev_enable_duration_based_tx_mode_selection_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4408. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_ENABLE_DURATION_BASED_TX_MODE_SELECTION_CMDID);
  4409. /* MLO set link for active or inactive Cmd */
  4410. #define WMITLV_TABLE_WMI_MLO_LINK_SET_ACTIVE_CMDID(id,op,buf,len) \
  4411. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_link_set_active_cmd_fixed_param, wmi_mlo_link_set_active_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4412. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mlo_set_active_link_number_param, link_number_param, WMITLV_SIZE_VAR) \
  4413. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_id_bitmap, WMITLV_SIZE_VAR) \
  4414. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_id_bitmap2, WMITLV_SIZE_VAR)
  4415. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_LINK_SET_ACTIVE_CMDID);
  4416. /* Request DPD Status */
  4417. #define WMITLV_TABLE_WMI_PDEV_GET_DPD_STATUS_CMDID(id,op,buf,len) \
  4418. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_dpd_status_cmd_fixed_param, wmi_pdev_get_dpd_status_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4419. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_DPD_STATUS_CMDID);
  4420. /* Request Calibration Status */
  4421. #define WMITLV_TABLE_WMI_PDEV_GET_HALPHY_CAL_STATUS_CMDID(id,op,buf,len) \
  4422. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_halphy_cal_status_cmd_fixed_param, wmi_pdev_get_halphy_cal_status_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4423. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_HALPHY_CAL_STATUS_CMDID);
  4424. /* Set HALPHY CAL BITMAP status */
  4425. #define WMITLV_TABLE_WMI_PDEV_SET_HALPHY_CAL_BMAP_CMDID(id,op,buf,len) \
  4426. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_halphy_cal_bmap_cmd_fixed_param, wmi_pdev_set_halphy_cal_bmap_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4427. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_HALPHY_CAL_BMAP_CMDID);
  4428. /** WMI cmd used to indicate hw_links part of MLO */
  4429. #define WMITLV_TABLE_WMI_MLO_SETUP_CMDID(id,op,buf,len) \
  4430. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_setup_cmd_fixed_param, wmi_mlo_setup_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4431. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, hw_link_ids, WMITLV_SIZE_VAR)
  4432. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_SETUP_CMDID);
  4433. /** WMI cmd used for init synchronization of hw_links part of MLO */
  4434. #define WMITLV_TABLE_WMI_MLO_READY_CMDID(id,op,buf,len) \
  4435. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_ready_cmd_fixed_param, wmi_mlo_ready_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4436. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_READY_CMDID);
  4437. /** WMI cmd used for tearing down a hw_link part of MLO */
  4438. #define WMITLV_TABLE_WMI_MLO_TEARDOWN_CMDID(id,op,buf,len) \
  4439. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_teardown_fixed_param, wmi_mlo_teardown_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4440. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_TEARDOWN_CMDID);
  4441. /** WMI cmd used to setup Tid to Link Mapping for a MLO Peer */
  4442. #define WMITLV_TABLE_WMI_MLO_PEER_TID_TO_LINK_MAP_CMDID(id,op,buf,len) \
  4443. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_tid_to_link_map_fixed_param, wmi_peer_tid_to_link_map_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4444. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tid_to_link_map, tid_to_link_map, WMITLV_SIZE_VAR) \
  4445. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_preferred_link_map, peer_preferred_link_map, WMITLV_SIZE_VAR) \
  4446. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mlo_peer_link_control_param, mlo_peer_link_control_param, WMITLV_SIZE_VAR)
  4447. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_PEER_TID_TO_LINK_MAP_CMDID);
  4448. /** WMI cmd used to setup Tid to Link Mapping for a vdev */
  4449. #define WMITLV_TABLE_WMI_MLO_AP_VDEV_TID_TO_LINK_MAP_CMDID(id,op,buf,len) \
  4450. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_ap_vdev_tid_to_link_map_cmd_fixed_param, wmi_mlo_ap_vdev_tid_to_link_map_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4451. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mlo_ap_vdev_tid_to_link_map_ie_info, mlo_vdev_tid_to_link_map_ie_info, WMITLV_SIZE_VAR)
  4452. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_AP_VDEV_TID_TO_LINK_MAP_CMDID);
  4453. /* Mcast ipv4 address filter list cmd */
  4454. #define WMITLV_TABLE_WMI_VDEV_IGMP_OFFLOAD_CMDID(id,op,buf,len) \
  4455. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_igmp_offload_fixed_param, wmi_igmp_offload_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4456. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_FIXED_STRUC, WMI_IPV4_ADDR, mc_ipv4_list, WMITLV_SIZE_VAR)
  4457. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_IGMP_OFFLOAD_CMDID);
  4458. /* WMI CMD to receive the management filter criteria from the host for Rx REO */
  4459. #define WMITLV_TABLE_WMI_MGMT_RX_REO_FILTER_CONFIGURATION_CMDID(id,op,buf,len) \
  4460. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_rx_reo_filter_configuration_cmd_fixed_param, wmi_mgmt_rx_reo_filter_configuration_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4461. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_RX_REO_FILTER_CONFIGURATION_CMDID);
  4462. /* Multiple vdev set param cmd:
  4463. * Set one parameter for multiple vdevs at once.
  4464. */
  4465. #define WMITLV_TABLE_WMI_PDEV_MULTIPLE_VDEV_SET_PARAM_CMDID(id,op,buf,len) \
  4466. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_set_param_cmd_fixed_param, wmi_pdev_multiple_vdev_set_param_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4467. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids, WMITLV_SIZE_VAR)
  4468. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_MULTIPLE_VDEV_SET_PARAM_CMDID);
  4469. /* Vdev/Pdev set Param:
  4470. * Set multiple parameters at once for one pdev or vdev.
  4471. */
  4472. #define WMITLV_TABLE_WMI_SET_MULTIPLE_PDEV_VDEV_PARAM_CMDID(id,op,buf,len) \
  4473. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_set_multiple_pdev_vdev_param_cmd_fixed_param, wmi_set_multiple_pdev_vdev_param_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4474. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_set_param_info, param_info, WMITLV_SIZE_VAR)
  4475. WMITLV_CREATE_PARAM_STRUC(WMI_SET_MULTIPLE_PDEV_VDEV_PARAM_CMDID);
  4476. /* Configure MEC AGING TIMER */
  4477. #define WMITLV_TABLE_WMI_PDEV_MEC_AGING_TIMER_CONFIG_CMDID(id,op,buf,len) \
  4478. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_mec_aging_timer_config_cmd_fixed_param, wmi_pdev_mec_aging_timer_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4479. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_MEC_AGING_TIMER_CONFIG_CMDID);
  4480. /* PPE DS config */
  4481. #define WMITLV_TABLE_WMI_PEER_CONFIG_PPE_DS_CMDID(id,op,buf,len) \
  4482. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_config_ppe_ds_cmd_fixed_param, wmi_peer_config_ppe_ds_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4483. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CONFIG_PPE_DS_CMDID);
  4484. /* Enable/Disable Intra Bss for the vdev */
  4485. #define WMITLV_TABLE_WMI_VDEV_ENABLE_DISABLE_INTRA_BSS_CMDID(id,op,buf,len) \
  4486. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_enable_disable_intra_bss_cmd_fixed_param, wmi_vdev_enable_disable_intra_bss_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4487. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ENABLE_DISABLE_INTRA_BSS_CMDID);
  4488. /* Enable/Disable Intra Bss for the peer */
  4489. #define WMITLV_TABLE_WMI_PEER_ENABLE_DISABLE_INTRA_BSS_CMDID(id,op,buf,len) \
  4490. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_enable_disable_intra_bss_cmd_fixed_param, wmi_peer_enable_disable_intra_bss_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4491. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ENABLE_DISABLE_INTRA_BSS_CMDID);
  4492. #define WMITLV_TABLE_WMI_REQUEST_THERMAL_STATS_CMDID(id,op,buf,len) \
  4493. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_thermal_stats_cmd_fixed_param, wmi_thermal_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4494. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_THERMAL_STATS_CMDID);
  4495. /** WMI cmd used to set mu sniffer param */
  4496. #define WMITLV_TABLE_WMI_VDEV_SET_MU_SNIF_CMDID(id,op,buf,len) \
  4497. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_mu_snif_cmd_param, wmi_vdev_set_mu_snif_cmd_param, fixed_param, WMITLV_SIZE_FIX) \
  4498. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, aids, WMITLV_SIZE_VAR)
  4499. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_MU_SNIF_CMDID);
  4500. /* WMI CMD used to offload ICMP ping packets */
  4501. #define WMITLV_TABLE_WMI_VDEV_ICMP_OFFLOAD_CMDID(id,op,buf,len) \
  4502. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_icmp_offload_fixed_param, wmi_icmp_offload_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4503. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_FIXED_STRUC, WMI_IPV6_ADDR, ipv6_addr, WMITLV_SIZE_VAR)
  4504. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ICMP_OFFLOAD_CMDID);
  4505. /* Roam set param Cmd */
  4506. #define WMITLV_TABLE_WMI_ROAM_SET_PARAM_CMDID(id,op,buf,len) \
  4507. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_set_param_cmd_fixed_param, wmi_roam_set_param_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4508. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SET_PARAM_CMDID);
  4509. /* Roam enable vendor control Cmd */
  4510. #define WMITLV_TABLE_WMI_ROAM_ENABLE_VENDOR_CONTROL_CMDID(id,op,buf,len) \
  4511. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_enable_vendor_control_cmd_fixed_param, wmi_roam_enable_vendor_control_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4512. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_ENABLE_VENDOR_CONTROL_CMDID);
  4513. /* Roam Get vendor control Param Cmd */
  4514. #define WMITLV_TABLE_WMI_ROAM_GET_VENDOR_CONTROL_PARAM_CMDID(id,op,buf,len) \
  4515. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_get_vendor_control_param_cmd_fixed_param, wmi_roam_get_vendor_control_param_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4516. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_GET_VENDOR_CONTROL_PARAM_CMDID);
  4517. #define WMITLV_TABLE_WMI_SAWF_SVC_CLASS_CFG_CMDID(id,op,buf,len) \
  4518. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sawf_svc_class_cfg_cmd_fixed_param, wmi_sawf_svc_class_cfg_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4519. WMITLV_CREATE_PARAM_STRUC(WMI_SAWF_SVC_CLASS_CFG_CMDID);
  4520. #define WMITLV_TABLE_WMI_SAWF_SVC_CLASS_DISABLE_CMDID(id,op,buf,len) \
  4521. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sawf_svc_class_disable_cmd_fixed_param, wmi_sawf_svc_class_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4522. WMITLV_CREATE_PARAM_STRUC(WMI_SAWF_SVC_CLASS_DISABLE_CMDID);
  4523. /* WMI CMD used to Enable/Disable Cmd for TQM reset feature */
  4524. #define WMITLV_TABLE_WMI_SOC_TQM_RESET_ENABLE_DISABLE_CMDID(id,op,buf,len) \
  4525. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_soc_tqm_reset_enable_disable_cmd_fixed_param, wmi_soc_tqm_reset_enable_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4526. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_TQM_RESET_ENABLE_DISABLE_CMDID);
  4527. /* WMI CMD used to operate command on multiple peers */
  4528. #define WMITLV_TABLE_WMI_VDEV_MULTIPLE_PEER_GROUP_CMDID(id,op,buf,len) \
  4529. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_multiple_peer_group_cmd_fixed_param, wmi_vdev_multiple_peer_group_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4530. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, wds_macaddr, WMITLV_SIZE_VAR)
  4531. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_MULTIPLE_PEER_GROUP_CMDID);
  4532. /* RTT 11az PASN authentication status cmd */
  4533. #define WMITLV_TABLE_WMI_RTT_PASN_AUTH_STATUS_CMD(id,op,buf,len) \
  4534. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rtt_pasn_auth_status_cmd_fixed_param, wmi_rtt_pasn_auth_status_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4535. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rtt_pasn_auth_status_param, pasn_auth_status_param, WMITLV_SIZE_VAR)
  4536. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_PASN_AUTH_STATUS_CMD);
  4537. /* RTT 11az PASN deauthentication cmd */
  4538. #define WMITLV_TABLE_WMI_RTT_PASN_DEAUTH_CMD(id,op,buf,len) \
  4539. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rtt_pasn_deauth_cmd_fixed_param, wmi_rtt_pasn_deauth_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4540. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_PASN_DEAUTH_CMD);
  4541. /* Allocate PMM scratch registers */
  4542. #define WMITLV_TABLE_WMI_PMM_SCRATCH_REG_ALLOCATION_CMDID(id,op,buf,len) \
  4543. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pmm_scratch_reg_allocation_cmd_fixed_param, wmi_pmm_scratch_reg_allocation_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4544. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pmm_scratch_reg_info, scratch_reg_info, WMITLV_SIZE_VAR)
  4545. WMITLV_CREATE_PARAM_STRUC(WMI_PMM_SCRATCH_REG_ALLOCATION_CMDID);
  4546. /* Peer flush Policy Cmd */
  4547. #define WMITLV_TABLE_WMI_PEER_FLUSH_POLICY_CMDID(id,op,buf,len) \
  4548. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_flush_policy_cmd_fixed_param, wmi_peer_flush_policy_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4549. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_FLUSH_POLICY_CMDID);
  4550. /** COAP Add Pattern Cmd
  4551. * TLV (tag length value ) parameters follow the coap_add_pattern
  4552. * structure. The TLV's are:
  4553. * A_UINT8 verify_string[];
  4554. * A_UINT8 coapmsg[];
  4555. */
  4556. #define WMITLV_TABLE_WMI_WOW_COAP_ADD_PATTERN_CMDID(id,op,buf,len) \
  4557. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_COAP_ADD_PATTERN_CMD_fixed_param, WMI_WOW_COAP_ADD_PATTERN_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4558. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, verify_string, WMITLV_SIZE_VAR) \
  4559. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, coapmsg, WMITLV_SIZE_VAR)
  4560. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_COAP_ADD_PATTERN_CMDID);
  4561. /* COAP Del Pattern Cmd */
  4562. #define WMITLV_TABLE_WMI_WOW_COAP_DEL_PATTERN_CMDID(id,op,buf,len) \
  4563. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_COAP_DEL_PATTERN_CMD_fixed_param, WMI_WOW_COAP_DEL_PATTERN_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4564. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_COAP_DEL_PATTERN_CMDID);
  4565. /** COAP Add Keepalive Pattern Cmd
  4566. * TLV (tag length value ) parameters follow the coap_add_keepalive_pattern
  4567. * structure. The TLV's are:
  4568. * A_UINT8 coapmsg[];
  4569. */
  4570. #define WMITLV_TABLE_WMI_WOW_COAP_ADD_KEEPALIVE_PATTERN_CMDID(id,op,buf,len) \
  4571. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_COAP_ADD_KEEPALIVE_PATTERN_CMD_fixed_param, WMI_WOW_COAP_ADD_KEEPALIVE_PATTERN_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4572. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, coapmsg, WMITLV_SIZE_VAR)
  4573. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_COAP_ADD_KEEPALIVE_PATTERN_CMDID);
  4574. /* COAP Del Keepalive Pattern Cmd */
  4575. #define WMITLV_TABLE_WMI_WOW_COAP_DEL_KEEPALIVE_PATTERN_CMDID(id,op,buf,len) \
  4576. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_COAP_DEL_KEEPALIVE_PATTERN_CMD_fixed_param, WMI_WOW_COAP_DEL_KEEPALIVE_PATTERN_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4577. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_COAP_DEL_KEEPALIVE_PATTERN_CMDID);
  4578. /* COAP Get Buffer Info Cmd */
  4579. #define WMITLV_TABLE_WMI_WOW_COAP_GET_BUF_INFO_CMDID(id,op,buf,len) \
  4580. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_COAP_GET_BUF_INFO_CMD_fixed_param, WMI_WOW_COAP_GET_BUF_INFO_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4581. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_COAP_GET_BUF_INFO_CMDID);
  4582. /* coex dbam cmd */
  4583. #define WMITLV_TABLE_WMI_COEX_DBAM_CMDID(id,op,buf,len) \
  4584. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_coex_dbam_cmd_fixed_param, wmi_coex_dbam_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4585. WMITLV_CREATE_PARAM_STRUC(WMI_COEX_DBAM_CMDID);
  4586. /* coex TAS power history cmd */
  4587. #define WMITLV_TABLE_WMI_TAS_POWER_HISTORY_CMDID(id,op,buf,len) \
  4588. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tas_power_history_cmd_fixed_param, wmi_tas_power_history_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4589. WMITLV_CREATE_PARAM_STRUC(WMI_TAS_POWER_HISTORY_CMDID);
  4590. /* VDEV SR prohibit cmd */
  4591. #define WMITLV_TABLE_WMI_VDEV_PARAM_ENABLE_SR_PROHIBIT_CMDID(id,op,buf,len) \
  4592. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_param_enable_sr_prohibit_fixed_param, wmi_vdev_param_enable_sr_prohibit_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4593. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_PARAM_ENABLE_SR_PROHIBIT_CMDID);
  4594. /* xGAP enable cmd */
  4595. #define WMITLV_TABLE_WMI_XGAP_ENABLE_CMDID(id,op,buf,len) \
  4596. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_xgap_enable_cmd_fixed_param, wmi_xgap_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4597. WMITLV_CREATE_PARAM_STRUC(WMI_XGAP_ENABLE_CMDID);
  4598. #define WMITLV_TABLE_WMI_ODD_LIVEDUMP_REQUEST_CMDID(id,op,buf,len) \
  4599. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_livedump_request_cmd_fixed_param, wmi_livedump_request_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4600. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, odd_livedump_id_list, WMITLV_SIZE_VAR)
  4601. WMITLV_CREATE_PARAM_STRUC(WMI_ODD_LIVEDUMP_REQUEST_CMDID);
  4602. #define WMITLV_TABLE_WMI_PEER_SCHED_MODE_DISABLE_CMDID(id,op,buf,len) \
  4603. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_sched_mode_disable_fixed_param, wmi_peer_sched_mode_disable_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4604. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_per_peer_sched_mode_disable, peer_info, WMITLV_SIZE_VAR)
  4605. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SCHED_MODE_DISABLE_CMDID);
  4606. #define WMITLV_TABLE_WMI_TDMA_SCHEDULE_REQUEST_CMDID(id,op,buf,len) \
  4607. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tdma_schedule_request_cmd_fixed_param, wmi_tdma_schedule_request_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4608. WMITLV_CREATE_PARAM_STRUC(WMI_TDMA_SCHEDULE_REQUEST_CMDID);
  4609. /* HPA cmd */
  4610. #define WMITLV_TABLE_WMI_HPA_CMDID(id,op,buf,len) \
  4611. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hpa_cmd_fixed_param, wmi_hpa_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4612. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, data, WMITLV_SIZE_VAR)
  4613. WMITLV_CREATE_PARAM_STRUC(WMI_HPA_CMDID);
  4614. /* WMI cmd to set target rate to power table */
  4615. #define WMITLV_TABLE_WMI_PDEV_SET_TGTR2P_TABLE_CMDID(id,op,buf,len) \
  4616. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_tgtr2p_table_cmd_fixed_param, wmi_pdev_set_tgtr2p_table_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4617. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, r2p_array, WMITLV_SIZE_VAR)
  4618. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_TGTR2P_TABLE_CMDID);
  4619. #define WMITLV_TABLE_WMI_MLO_VDEV_GET_LINK_INFO_CMDID(id,op,buf,len) \
  4620. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_vdev_get_link_info_cmd_fixed_param, wmi_mlo_vdev_get_link_info_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4621. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_VDEV_GET_LINK_INFO_CMDID);
  4622. /* WMI command to set Manual SU UL OFDMA Trigger params */
  4623. #define WMITLV_TABLE_WMI_VDEV_SET_ULOFDMA_MANUAL_SU_TRIG_CMDID(id,op,buf,len) \
  4624. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_vdev_set_manual_su_trig_cmd_fixed_param, wmi_vdev_set_manual_su_trig_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4625. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_ULOFDMA_MANUAL_SU_TRIG_CMDID);
  4626. /* WMI command to set Manual MU UL OFDMA Trigger params */
  4627. #define WMITLV_TABLE_WMI_VDEV_SET_ULOFDMA_MANUAL_MU_TRIG_CMDID(id,op,buf,len) \
  4628. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_vdev_set_manual_mu_trig_cmd_fixed_param, wmi_vdev_set_manual_mu_trig_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4629. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, peer_macaddr, WMITLV_SIZE_VAR)
  4630. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_ULOFDMA_MANUAL_MU_TRIG_CMDID);
  4631. /* Standalone Sound Cmd */
  4632. #define WMITLV_TABLE_WMI_VDEV_STANDALONE_SOUND_CMDID(id,op,buf,len) \
  4633. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_standalone_sounding_cmd_fixed_param, wmi_standalone_sounding_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4634. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, peer_list, WMITLV_SIZE_VAR)
  4635. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_STANDALONE_SOUND_CMDID);
  4636. /* WMI cmd to set RF path for PHY */
  4637. #define WMITLV_TABLE_WMI_PDEV_SET_RF_PATH_CMDID(id,op,buf,len) \
  4638. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_rf_path_cmd_fixed_param, wmi_pdev_set_rf_path_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4639. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_RF_PATH_CMDID);
  4640. /* VDEV PAUSE cmd */
  4641. #define WMITLV_TABLE_WMI_VDEV_PAUSE_CMDID(id,op,buf,len) \
  4642. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_pause_cmd_fixed_param, wmi_vdev_pause_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4643. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_PAUSE_CMDID);
  4644. /* pdev,vdev,peer cmd messages for tunneling vendor-specific contents */
  4645. #define WMITLV_TABLE_WMI_VENDOR_PDEV_CMDID(id,op,buf,len) \
  4646. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_vendor_cmd_fixed_param, wmi_pdev_vendor_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4647. WMITLV_CREATE_PARAM_STRUC(WMI_VENDOR_PDEV_CMDID);
  4648. #define WMITLV_TABLE_WMI_VENDOR_VDEV_CMDID(id,op,buf,len) \
  4649. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_vendor_cmd_fixed_param, wmi_vdev_vendor_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4650. WMITLV_CREATE_PARAM_STRUC(WMI_VENDOR_VDEV_CMDID);
  4651. #define WMITLV_TABLE_WMI_VENDOR_PEER_CMDID(id,op,buf,len) \
  4652. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_vendor_cmd_fixed_param, wmi_peer_vendor_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4653. WMITLV_CREATE_PARAM_STRUC(WMI_VENDOR_PEER_CMDID);
  4654. /************************** TLV definitions of WMI events *******************************/
  4655. /* Service Ready event */
  4656. #define WMITLV_TABLE_WMI_SERVICE_READY_EVENTID(id,op,buf,len) \
  4657. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_service_ready_event_fixed_param, wmi_service_ready_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4658. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_HAL_REG_CAPABILITIES, HAL_REG_CAPABILITIES, hal_reg_capabilities, WMITLV_SIZE_FIX) \
  4659. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, wmi_service_bitmap, WMITLV_SIZE_FIX, WMI_SERVICE_BM_SIZE) \
  4660. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_host_mem_req, mem_reqs, WMITLV_SIZE_VAR) \
  4661. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, wlan_dbs_hw_mode_list, WMITLV_SIZE_VAR)
  4662. WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EVENTID);
  4663. /* service available event */
  4664. #define WMITLV_TABLE_WMI_SERVICE_AVAILABLE_EVENTID(id,op,buf,len) \
  4665. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_service_available_event_fixed_param, wmi_service_available_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4666. /* \
  4667. * The wmi_service_ext_bitmap covers WMI service bits beyond the range \
  4668. * of the fixed_param.wmi_service_segment_bitmap[]. \
  4669. */ \
  4670. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, wmi_service_ext_bitmap, WMITLV_SIZE_VAR)
  4671. WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_AVAILABLE_EVENTID);
  4672. /* Service Ready Extension event */
  4673. #define WMITLV_TABLE_WMI_SERVICE_READY_EXT_EVENTID(id,op,buf,len) \
  4674. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_service_ready_ext_event_fixed_param, wmi_service_ready_ext_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4675. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_SOC_MAC_PHY_HW_MODE_CAPS, WMI_SOC_MAC_PHY_HW_MODE_CAPS, soc_hw_mode_caps, WMITLV_SIZE_FIX) \
  4676. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_HW_MODE_CAPABILITIES, hw_mode_caps, WMITLV_SIZE_VAR) \
  4677. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_MAC_PHY_CAPABILITIES, mac_phy_caps, WMITLV_SIZE_VAR) \
  4678. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_SOC_HAL_REG_CAPABILITIES, WMI_SOC_HAL_REG_CAPABILITIES, soc_hal_reg_caps, WMITLV_SIZE_FIX) \
  4679. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_HAL_REG_CAPABILITIES_EXT, hal_reg_caps, WMITLV_SIZE_VAR) \
  4680. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_MAC_PHY_CHAINMASK_COMBO, mac_phy_chainmask_combo, WMITLV_SIZE_VAR) \
  4681. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_MAC_PHY_CHAINMASK_CAPABILITY, mac_phy_chainmask_caps, WMITLV_SIZE_VAR) \
  4682. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_OEM_DMA_RING_CAPABILITIES, oem_dma_ring_caps, WMITLV_SIZE_VAR) \
  4683. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_SAR_CAPABILITIES, WMI_SAR_CAPABILITIES, sar_caps, WMITLV_SIZE_FIX) \
  4684. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_DMA_RING_CAPABILITIES, dma_ring_caps, WMITLV_SIZE_VAR) \
  4685. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_spectral_bin_scaling_params, wmi_bin_scaling_params, WMITLV_SIZE_VAR) \
  4686. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_CHAN_RF_CHARACTERIZATION_INFO, wmi_chan_rf_characterization_info, WMITLV_SIZE_VAR)
  4687. WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EXT_EVENTID);
  4688. /* SERVICE_READY_EXT2 event */
  4689. #define WMITLV_TABLE_WMI_SERVICE_READY_EXT2_EVENTID(id,op,buf,len) \
  4690. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_service_ready_ext2_event_fixed_param, wmi_service_ready_ext2_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4691. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_DMA_RING_CAPABILITIES, dma_ring_caps, WMITLV_SIZE_VAR) \
  4692. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_spectral_bin_scaling_params, wmi_bin_scaling_params, WMITLV_SIZE_VAR) \
  4693. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_MAC_PHY_CAPABILITIES_EXT, mac_phy_caps, WMITLV_SIZE_VAR) \
  4694. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_HAL_REG_CAPABILITIES_EXT2, hal_reg_caps, WMITLV_SIZE_VAR) \
  4695. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nan_capabilities, wmi_nan_capabilities, nan_cap, WMITLV_SIZE_FIX) \
  4696. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_SCAN_RADIO_CAPABILITIES_EXT2, wmi_scan_radio_caps, WMITLV_SIZE_VAR) \
  4697. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_twt_caps_params, twt_caps, WMITLV_SIZE_VAR) \
  4698. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_htt_msdu_idx_to_htt_msdu_qtype, htt_msdu_idx_to_qtype_map, WMITLV_SIZE_VAR) \
  4699. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dbs_or_sbs_cap_ext, dbs_or_sbs_cap_ext, WMITLV_SIZE_VAR) \
  4700. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_cust_bdf_version_capabilities, cust_bdf_version_capabilities, WMITLV_SIZE_VAR) \
  4701. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_sw_cal_ver_cap, sw_cal_ver_cap, WMITLV_SIZE_VAR) \
  4702. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_INT32, A_INT32, hw_tx_power_signed, WMITLV_SIZE_FIX, WMI_HW_TX_POWER_CAPS_MAX) \
  4703. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_COEX_FIX_CHANNEL_CAPABILITIES, coex_fix_channel_caps, WMITLV_SIZE_VAR)
  4704. WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EXT2_EVENTID);
  4705. #define WMITLV_TABLE_WMI_SPECTRAL_CAPABILITIES_EVENTID(id,op,buf,len) \
  4706. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_spectral_scan_bw_capabilities, sscan_bw_caps, WMITLV_SIZE_VAR) \
  4707. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_spectral_fft_size_capabilities, fft_size_caps, WMITLV_SIZE_VAR)
  4708. WMITLV_CREATE_PARAM_STRUC(WMI_SPECTRAL_CAPABILITIES_EVENTID);
  4709. #define WMITLV_TABLE_WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID(id,op,buf,len) \
  4710. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chan_rf_characterization_info_event_fixed_param, wmi_chan_rf_characterization_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4711. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_CHAN_RF_CHARACTERIZATION_INFO, wmi_chan_rf_characterization_info, WMITLV_SIZE_VAR)
  4712. WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID);
  4713. /* iface combination indication event */
  4714. #define WMITLV_TABLE_WMI_IFACE_COMBINATION_IND_EVENTID(id,op,buf,len) \
  4715. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wlanfw_iface_cmb_ind_event_fixed_param, wmi_wlanfw_iface_cmb_ind_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4716. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlanfw_iface_combination, combinations, WMITLV_SIZE_VAR) \
  4717. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlanfw_iface_limit, limits, WMITLV_SIZE_VAR)
  4718. WMITLV_CREATE_PARAM_STRUC(WMI_IFACE_COMBINATION_IND_EVENTID);
  4719. /* Ready event */
  4720. #define WMITLV_TABLE_WMI_READY_EVENTID(id,op,buf,len) \
  4721. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ready_event_fixed_param, wmi_ready_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4722. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mac_addr_list, WMITLV_SIZE_VAR)
  4723. WMITLV_CREATE_PARAM_STRUC(WMI_READY_EVENTID);
  4724. /* Scan Event */
  4725. #define WMITLV_TABLE_WMI_SCAN_EVENTID(id,op,buf,len) \
  4726. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_scan_event_fixed_param, wmi_scan_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4727. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_EVENTID);
  4728. /* ExtScan Start/Stop Event */
  4729. #define WMITLV_TABLE_WMI_EXTSCAN_START_STOP_EVENTID(id,op,buf,len) \
  4730. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_start_stop_event_fixed_param, wmi_extscan_start_stop_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4731. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_START_STOP_EVENTID);
  4732. /* ExtScan Event */
  4733. #define WMITLV_TABLE_WMI_EXTSCAN_OPERATION_EVENTID(id,op,buf,len) \
  4734. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_operation_event_fixed_param, wmi_extscan_operation_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4735. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, bucket_id, WMITLV_SIZE_VAR)
  4736. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_OPERATION_EVENTID);
  4737. /* ExtScan Table Usage Event */
  4738. #define WMITLV_TABLE_WMI_EXTSCAN_TABLE_USAGE_EVENTID(id,op,buf,len) \
  4739. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_table_usage_event_fixed_param, wmi_extscan_table_usage_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4740. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_TABLE_USAGE_EVENTID);
  4741. /* ExtScan Result Event */
  4742. #define WMITLV_TABLE_WMI_EXTSCAN_CACHED_RESULTS_EVENTID(id,op,buf,len) \
  4743. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_cached_results_event_fixed_param, wmi_extscan_cached_results_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4744. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_descriptor, bssid_list, WMITLV_SIZE_VAR) \
  4745. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_rssi_info, rssi_list, WMITLV_SIZE_VAR) \
  4746. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_list, WMITLV_SIZE_VAR)
  4747. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CACHED_RESULTS_EVENTID);
  4748. /* ExtScan Monitor RSSI List Event */
  4749. #define WMITLV_TABLE_WMI_EXTSCAN_WLAN_CHANGE_RESULTS_EVENTID(id,op,buf,len) \
  4750. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_wlan_change_results_event_fixed_param, wmi_extscan_wlan_change_results_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4751. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_change_result_bssid, bssid_signal_descriptor_list, WMITLV_SIZE_VAR) \
  4752. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, rssi_list, WMITLV_SIZE_VAR)
  4753. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_WLAN_CHANGE_RESULTS_EVENTID);
  4754. /* ExtScan Hot List Match Event */
  4755. #define WMITLV_TABLE_WMI_EXTSCAN_HOTLIST_MATCH_EVENTID(id,op,buf,len) \
  4756. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_hotlist_match_event_fixed_param, wmi_extscan_hotlist_match_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4757. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_descriptor, hotlist_match, WMITLV_SIZE_VAR)
  4758. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_HOTLIST_MATCH_EVENTID);
  4759. /* ExtScan Hot List Match Event */
  4760. #define WMITLV_TABLE_WMI_EXTSCAN_CAPABILITIES_EVENTID(id,op,buf,len) \
  4761. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_capabilities_event_fixed_param, wmi_extscan_capabilities_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4762. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_cache_capabilities, extscan_cache_capabilities, WMITLV_SIZE_VAR) \
  4763. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_change_monitor_capabilities, wlan_change_capabilities, WMITLV_SIZE_VAR) \
  4764. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_hotlist_monitor_capabilities, hotlist_capabilities, WMITLV_SIZE_VAR)
  4765. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CAPABILITIES_EVENTID);
  4766. /* ExtScan Hot List Match Event */
  4767. #define WMITLV_TABLE_WMI_EXTSCAN_HOTLIST_SSID_MATCH_EVENTID(id,op,buf,len) \
  4768. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_extscan_hotlist_ssid_match_event_fixed_param, wmi_extscan_hotlist_ssid_match_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4769. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_descriptor, hotlist_ssid_match, WMITLV_SIZE_VAR)
  4770. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_HOTLIST_SSID_MATCH_EVENTID);
  4771. /* Update_whal_mib_stats Event */
  4772. #define WMITLV_TABLE_WMI_UPDATE_WHAL_MIB_STATS_EVENTID(id,op,buf,len) \
  4773. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_update_whal_mib_stats_event_fixed_param, wmi_update_whal_mib_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4774. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_WHAL_MIB_STATS_EVENTID);
  4775. /* PDEV TPC Config Event */
  4776. #define WMITLV_TABLE_WMI_PDEV_TPC_CONFIG_EVENTID(id,op,buf,len) \
  4777. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_tpc_config_event_fixed_param, wmi_pdev_tpc_config_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4778. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ratesArray, WMITLV_SIZE_VAR) \
  4779. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tlv_arrays_len_param, ctlPwrTbl_param, WMITLV_SIZE_VAR) \
  4780. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ctlPwrTbl_buf, WMITLV_SIZE_VAR)
  4781. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_TPC_CONFIG_EVENTID);
  4782. /* PDEV DIV RSSI Antenna index Event */
  4783. #define WMITLV_TABLE_WMI_PDEV_DIV_RSSI_ANTID_EVENTID(id,op,buf,len) \
  4784. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_div_rssi_antid_event_fixed_param, wmi_pdev_div_rssi_antid_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4785. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DIV_RSSI_ANTID_EVENTID);
  4786. /* PDEV BSS CHAN info Event */
  4787. #define WMITLV_TABLE_WMI_PDEV_BSS_CHAN_INFO_EVENTID(id,op,buf,len) \
  4788. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_bss_chan_info_event_fixed_param, wmi_pdev_bss_chan_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4789. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_BSS_CHAN_INFO_EVENTID);
  4790. /* PDEV update ctl table Event */
  4791. #define WMITLV_TABLE_WMI_PDEV_UPDATE_CTLTABLE_EVENTID(id,op,buf,len) \
  4792. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_update_ctltable_event_fixed_param, wmi_pdev_update_ctltable_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4793. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_CTLTABLE_EVENTID);
  4794. /* VDEV Tx Power Event */
  4795. #define WMITLV_TABLE_WMI_VDEV_GET_TX_POWER_EVENTID(id,op,buf,len) \
  4796. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_tx_power_event_fixed_param, wmi_vdev_get_tx_power_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4797. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_TX_POWER_EVENTID);
  4798. /* Channel Info Event */
  4799. #define WMITLV_TABLE_WMI_CHAN_INFO_EVENTID(id,op,buf,len) \
  4800. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chan_info_event_fixed_param, wmi_chan_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4801. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_scan_blanking_params_info, scan_blanking_params, WMITLV_SIZE_VAR) \
  4802. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_cca_busy_subband_info, cca_busy_subband_info, WMITLV_SIZE_VAR)
  4803. WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_INFO_EVENTID);
  4804. /* RSSI dB to dBm conversion params info event to host */
  4805. #define WMITLV_TABLE_WMI_PDEV_RSSI_DBM_CONVERSION_PARAMS_INFO_EVENTID(id,op,buf,len) \
  4806. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rssi_dbm_conversion_fixed_param, wmi_rssi_dbm_conversion_params_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4807. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rssi_dbm_conversion_params_info, rssi_dbm_conversion_params, WMITLV_SIZE_VAR) \
  4808. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rssi_dbm_conversion_temp_offset_info, rssi_temp_offset, WMITLV_SIZE_VAR)
  4809. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_RSSI_DBM_CONVERSION_PARAMS_INFO_EVENTID);
  4810. /* Phy Error Event */
  4811. #define WMITLV_TABLE_WMI_PHYERR_EVENTID(id,op,buf,len) \
  4812. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_comb_phyerr_rx_hdr, wmi_comb_phyerr_rx_hdr, hdr, WMITLV_SIZE_FIX) \
  4813. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  4814. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_single_phyerr_ext_rx_hdr, single_phyerr_ext, WMITLV_SIZE_VAR)
  4815. WMITLV_CREATE_PARAM_STRUC(WMI_PHYERR_EVENTID);
  4816. /* TX Pause/Unpause event */
  4817. #define WMITLV_TABLE_WMI_TX_PAUSE_EVENTID(id,op,buf,len) \
  4818. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tx_pause_event_fixed_param, wmi_tx_pause_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4819. WMITLV_CREATE_PARAM_STRUC(WMI_TX_PAUSE_EVENTID);
  4820. /* Mgmt TX completion event */
  4821. #define WMITLV_TABLE_WMI_MGMT_TX_COMPLETION_EVENTID(id,op,buf,len) \
  4822. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_tx_compl_event_fixed_param, wmi_mgmt_tx_compl_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4823. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mgmt_hdr, mgmt_hdr, WMITLV_SIZE_VAR)
  4824. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_TX_COMPLETION_EVENTID);
  4825. /* offchan data TX completion event */
  4826. #define WMITLV_TABLE_WMI_OFFCHAN_DATA_TX_COMPLETION_EVENTID(id,op,buf,len) \
  4827. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_offchan_data_tx_compl_event_fixed_param, wmi_offchan_data_tx_compl_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4828. WMITLV_CREATE_PARAM_STRUC(WMI_OFFCHAN_DATA_TX_COMPLETION_EVENTID);
  4829. /* Bundled Mgmt TX completion event */
  4830. #define WMITLV_TABLE_WMI_MGMT_TX_BUNDLE_COMPLETION_EVENTID(id,op,buf,len) \
  4831. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_tx_compl_bundle_event_fixed_param, wmi_mgmt_tx_compl_bundle_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4832. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, desc_ids, WMITLV_SIZE_VAR) \
  4833. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, status, WMITLV_SIZE_VAR) \
  4834. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ppdu_id, WMITLV_SIZE_VAR) \
  4835. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ack_rssi, WMITLV_SIZE_VAR) \
  4836. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mgmt_hdr, mgmt_hdr, WMITLV_SIZE_VAR)
  4837. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_TX_BUNDLE_COMPLETION_EVENTID);
  4838. /* QoS null frame TX completion event */
  4839. #define WMITLV_TABLE_WMI_QOS_NULL_FRAME_TX_COMPLETION_EVENTID(id,op,buf,len) \
  4840. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_qos_null_frame_tx_compl_event_fixed_param, wmi_qos_null_frame_tx_compl_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4841. WMITLV_CREATE_PARAM_STRUC(WMI_QOS_NULL_FRAME_TX_COMPLETION_EVENTID);
  4842. /* VDEV Start response Event */
  4843. #define WMITLV_TABLE_WMI_VDEV_START_RESP_EVENTID(id,op,buf,len) \
  4844. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_start_response_event_fixed_param, wmi_vdev_start_response_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4845. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_START_RESP_EVENTID);
  4846. /* VDEV Stopped Event */
  4847. #define WMITLV_TABLE_WMI_VDEV_STOPPED_EVENTID(id,op,buf,len) \
  4848. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_stopped_event_fixed_param, wmi_vdev_stopped_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4849. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_STOPPED_EVENTID);
  4850. /* VDEV delete response Event */
  4851. #define WMITLV_TABLE_WMI_VDEV_DELETE_RESP_EVENTID(id,op,buf,len) \
  4852. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_delete_resp_event_fixed_param, wmi_vdev_delete_resp_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4853. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DELETE_RESP_EVENTID);
  4854. /* VDEV Install Key Complete Event */
  4855. #define WMITLV_TABLE_WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID(id,op,buf,len) \
  4856. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_install_key_complete_event_fixed_param, wmi_vdev_install_key_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4857. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID);
  4858. /* VDEV disconnect Event */
  4859. #define WMITLV_TABLE_WMI_VDEV_DISCONNECT_EVENTID(id,op,buf,len) \
  4860. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_disconnect_event_fixed_param, wmi_vdev_disconnect_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4861. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DISCONNECT_EVENTID);
  4862. /* Peer STA Kickout Event */
  4863. #define WMITLV_TABLE_WMI_PEER_STA_KICKOUT_EVENTID(id,op,buf,len) \
  4864. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_sta_kickout_event_fixed_param, wmi_peer_sta_kickout_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4865. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STA_KICKOUT_EVENTID);
  4866. /* Management Rx Event */
  4867. #define WMITLV_TABLE_WMI_MGMT_RX_EVENTID(id,op,buf,len) \
  4868. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_rx_hdr, wmi_mgmt_rx_hdr, hdr, WMITLV_SIZE_FIX) \
  4869. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  4870. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rssi_ctl_ext, rssi_ctl_ext, WMITLV_SIZE_VAR) \
  4871. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_rx_reo_params, wmi_mgmt_rx_reo_params, reo_params, WMITLV_SIZE_FIX) \
  4872. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mgmt_rx_params_ext, mgmt_rx_params_ext, WMITLV_SIZE_VAR) \
  4873. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_frame_pn_params, pn_params, WMITLV_SIZE_VAR) \
  4874. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mgmt_ml_info, ml_info, WMITLV_SIZE_VAR) \
  4875. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bpcc_bufp, WMITLV_SIZE_VAR) \
  4876. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_is_my_mgmt_frame, my_frame, WMITLV_SIZE_VAR) \
  4877. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mlo_link_removal_tbtt_count, link_removal_tbtt_count, WMITLV_SIZE_VAR) \
  4878. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mlo_bcast_t2lm_info, mlo_bcast_t2lm_info, WMITLV_SIZE_VAR)
  4879. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_RX_EVENTID);
  4880. /* Management Rx FW Consumed Event */
  4881. #define WMITLV_TABLE_WMI_MGMT_RX_FW_CONSUMED_EVENTID(id,op,buf,len) \
  4882. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_rx_fw_consumed_hdr, wmi_mgmt_rx_fw_consumed_hdr, hdr, WMITLV_SIZE_FIX)
  4883. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_RX_FW_CONSUMED_EVENTID);
  4884. /* TBTT offset Event */
  4885. #define WMITLV_TABLE_WMI_TBTTOFFSET_UPDATE_EVENTID(id,op,buf,len) \
  4886. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tbtt_offset_event_fixed_param, wmi_tbtt_offset_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4887. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tbttoffset_list, WMITLV_SIZE_FIX, WMI_MAX_AP_VDEV) \
  4888. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tbtt_qtime_low_us_list, WMITLV_SIZE_FIX, WMI_MAX_AP_VDEV) \
  4889. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tbtt_qtime_high_us_list, WMITLV_SIZE_FIX, WMI_MAX_AP_VDEV)
  4890. WMITLV_CREATE_PARAM_STRUC(WMI_TBTTOFFSET_UPDATE_EVENTID);
  4891. /* TBTT EXT offset Event */
  4892. #define WMITLV_TABLE_WMI_TBTTOFFSET_EXT_UPDATE_EVENTID(id,op,buf,len) \
  4893. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tbtt_offset_ext_event_fixed_param, wmi_tbtt_offset_ext_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4894. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tbtt_offset_info, tbtt_offset_info, WMITLV_SIZE_VAR)
  4895. WMITLV_CREATE_PARAM_STRUC(WMI_TBTTOFFSET_EXT_UPDATE_EVENTID);
  4896. /* TX DELBA Complete Event */
  4897. #define WMITLV_TABLE_WMI_TX_DELBA_COMPLETE_EVENTID(id,op,buf,len) \
  4898. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tx_delba_complete_event_fixed_param, wmi_tx_delba_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4899. WMITLV_CREATE_PARAM_STRUC(WMI_TX_DELBA_COMPLETE_EVENTID);
  4900. /* Tx ADDBA Complete Event */
  4901. #define WMITLV_TABLE_WMI_TX_ADDBA_COMPLETE_EVENTID(id,op,buf,len) \
  4902. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tx_addba_complete_event_fixed_param, wmi_tx_addba_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4903. WMITLV_CREATE_PARAM_STRUC(WMI_TX_ADDBA_COMPLETE_EVENTID);
  4904. /* ADD BA Req ssn Event */
  4905. #define WMITLV_TABLE_WMI_BA_RSP_SSN_EVENTID(id,op,buf,len) \
  4906. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ba_rsp_ssn_event_fixed_param, wmi_ba_rsp_ssn_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4907. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_ba_event_ssn, ba_event_ssn_list, WMITLV_SIZE_VAR)
  4908. WMITLV_CREATE_PARAM_STRUC(WMI_BA_RSP_SSN_EVENTID);
  4909. /* Aggregation Request event */
  4910. #define WMITLV_TABLE_WMI_AGGR_STATE_TRIG_EVENTID(id,op,buf,len) \
  4911. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_aggr_state_trig_event_fixed_param, wmi_aggr_state_trig_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4912. WMITLV_CREATE_PARAM_STRUC(WMI_AGGR_STATE_TRIG_EVENTID);
  4913. /* Roam Event */
  4914. #define WMITLV_TABLE_WMI_ROAM_EVENTID(id,op,buf,len) \
  4915. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_event_fixed_param, wmi_roam_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4916. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, deauth_disassoc_frame, WMITLV_SIZE_VAR) \
  4917. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_hw_mode_transition_event_fixed_param, hw_mode_transition_fixed_param, WMITLV_SIZE_VAR) \
  4918. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_set_hw_mode_response_vdev_mac_entry, wmi_pdev_set_hw_mode_response_vdev_mac_mapping, WMITLV_SIZE_VAR) \
  4919. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_bss_info_param, bss_info_param, WMITLV_SIZE_VAR)
  4920. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_EVENTID);
  4921. /* Roam Synch Event */
  4922. #define WMITLV_TABLE_WMI_ROAM_SYNCH_EVENTID(id,op,buf,len) \
  4923. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_synch_event_fixed_param, wmi_roam_synch_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4924. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bcn_probe_rsp_frame, WMITLV_SIZE_VAR) \
  4925. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, reassoc_rsp_frame, WMITLV_SIZE_VAR) \
  4926. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX) \
  4927. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_key_material, key, WMITLV_SIZE_VAR) \
  4928. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, status, WMITLV_SIZE_VAR) \
  4929. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, reassoc_req_frame, WMITLV_SIZE_VAR) \
  4930. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_hw_mode_transition_event_fixed_param, hw_mode_transition_fixed_param, WMITLV_SIZE_VAR) \
  4931. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_set_hw_mode_response_vdev_mac_entry, wmi_pdev_set_hw_mode_response_vdev_mac_mapping, WMITLV_SIZE_VAR) \
  4932. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_fils_synch_tlv_param, roam_fils_synch_info, WMITLV_SIZE_VAR) \
  4933. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_key_material_ext, key_ext, WMITLV_SIZE_VAR) \
  4934. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_pmk_cache_synch_tlv_param, roam_pmk_cache_synch_info, WMITLV_SIZE_VAR) \
  4935. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_ml_setup_links_param, setup_links_param, WMITLV_SIZE_VAR) \
  4936. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_ml_key_material_param, ml_key_material, WMITLV_SIZE_VAR) \
  4937. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_band_to_mac, mac_freq_mapping, WMITLV_SIZE_VAR)
  4938. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SYNCH_EVENTID);
  4939. /* Roam Synch frame Event */
  4940. #define WMITLV_TABLE_WMI_ROAM_SYNCH_FRAME_EVENTID(id,op,buf,len) \
  4941. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_synch_frame_event_fixed_param, wmi_roam_synch_frame_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4942. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bcn_probe_rsp_frame, WMITLV_SIZE_VAR) \
  4943. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, reassoc_rsp_frame, WMITLV_SIZE_VAR) \
  4944. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, reassoc_req_frame, WMITLV_SIZE_VAR)
  4945. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SYNCH_FRAME_EVENTID);
  4946. /* Roam frame Event */
  4947. #define WMITLV_TABLE_WMI_ROAM_FRAME_EVENTID(id,op,buf,len) \
  4948. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_frame_event_fixed_param, wmi_roam_frame_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4949. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, frame, WMITLV_SIZE_VAR)
  4950. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_FRAME_EVENTID);
  4951. /* Get Roam Vendor Control Param Event */
  4952. #define WMITLV_TABLE_WMI_ROAM_GET_VENDOR_CONTROL_PARAM_EVENTID(id,op,buf,len) \
  4953. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_get_vendor_control_param_event_fixed_param, wmi_roam_get_vendor_control_param_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4954. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_control_param, vendor_control_param, WMITLV_SIZE_VAR)
  4955. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_GET_VENDOR_CONTROL_PARAM_EVENTID);
  4956. /* WOW Wakeup Host Event */
  4957. /* NOTE: Make sure wow_bitmap_info can be zero or one elements only */
  4958. #define WMITLV_TABLE_WMI_WOW_WAKEUP_HOST_EVENTID(id,op,buf,len) \
  4959. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WOW_EVENT_INFO_fixed_param, WOW_EVENT_INFO_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4960. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_EVENT_INFO_SECTION_BITMAP, wow_bitmap_info, WMITLV_SIZE_VAR) \
  4961. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, wow_packet_buffer, WMITLV_SIZE_VAR) \
  4962. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_hb_ind_event_fixed_param, hb_indevt, WMITLV_SIZE_VAR) \
  4963. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_GTK_OFFLOAD_STATUS_EVENT_fixed_param, wow_gtkigtk, WMITLV_SIZE_VAR) \
  4964. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_oic_ping_handoff_event, wow_oic_ping_handoff, WMITLV_SIZE_VAR) \
  4965. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dhcp_lease_renew_event, wow_dhcp_lease_renew, WMITLV_SIZE_VAR) \
  4966. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_motion_det_event, md_indevt, WMITLV_SIZE_VAR) \
  4967. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_motion_det_base_line_event, bl_indevt, WMITLV_SIZE_VAR)
  4968. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_WAKEUP_HOST_EVENTID);
  4969. #define WMITLV_TABLE_WMI_WOW_INITIAL_WAKEUP_EVENTID(id,op,buf,len) \
  4970. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WOW_EVENT_INITIAL_WAKEUP_fixed_param, WOW_INITIAL_WAKEUP_EVENT_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4971. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_INITIAL_WAKEUP_EVENTID);
  4972. /* RTT error report Event */
  4973. #define WMITLV_TABLE_WMI_RTT_ERROR_REPORT_EVENTID(id,op,buf,len) \
  4974. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4975. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_ERROR_REPORT_EVENTID);
  4976. /* Echo Event */
  4977. #define WMITLV_TABLE_WMI_ECHO_EVENTID(id,op,buf,len) \
  4978. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_echo_event_fixed_param, wmi_echo_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4979. WMITLV_CREATE_PARAM_STRUC(WMI_ECHO_EVENTID);
  4980. /* FTM Integration Event */
  4981. #define WMITLV_TABLE_WMI_PDEV_FTM_INTG_EVENTID(id,op,buf,len) \
  4982. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ftm_intg_event_fixed_param, wmi_ftm_intg_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)\
  4983. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4984. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FTM_INTG_EVENTID);
  4985. /* VDEV get Keepalive Event */
  4986. #define WMITLV_TABLE_WMI_VDEV_GET_KEEPALIVE_EVENTID(id,op,buf,len) \
  4987. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_keepalive_event_fixed_param, wmi_vdev_get_keepalive_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4988. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_KEEPALIVE_EVENTID);
  4989. /** Get TX power Event */
  4990. #define WMITLV_TABLE_WMI_GET_TPC_POWER_EVENTID(id,op,buf,len) \
  4991. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_get_tpc_power_evt_fixed_param, wmi_get_tpc_power_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4992. WMITLV_CREATE_PARAM_STRUC(WMI_GET_TPC_POWER_EVENTID);
  4993. /** Get MU EDCA report param event */
  4994. #define WMITLV_TABLE_WMI_MUEDCA_PARAMS_CONFIG_EVENTID(id,op,buf,len) \
  4995. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_muedca_params_config_event_fixed_param, wmi_muedca_params_config_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4996. WMITLV_CREATE_PARAM_STRUC(WMI_MUEDCA_PARAMS_CONFIG_EVENTID);
  4997. /* GPIO Input Event */
  4998. #define WMITLV_TABLE_WMI_GPIO_INPUT_EVENTID(id,op,buf,len) \
  4999. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_gpio_input_event_fixed_param, wmi_gpio_input_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5000. WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_INPUT_EVENTID);
  5001. /* GPIO State Res Event */
  5002. #define WMITLV_TABLE_WMI_GPIO_STATE_RES_EVENTID(id,op,buf,len) \
  5003. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_gpio_state_res_event_fixed_param, wmi_gpio_state_res_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5004. WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_STATE_RES_EVENTID);
  5005. /* CSA Handling Event */
  5006. #define WMITLV_TABLE_WMI_CSA_HANDLING_EVENTID(id,op,buf,len)\
  5007. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_csa_event_fixed_param, wmi_csa_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5008. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, cs_wrap_ie, WMITLV_SIZE_VAR)
  5009. WMITLV_CREATE_PARAM_STRUC(WMI_CSA_HANDLING_EVENTID);
  5010. /* Rfkill state change Event */
  5011. #define WMITLV_TABLE_WMI_RFKILL_STATE_CHANGE_EVENTID(id,op,buf,len)\
  5012. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rfkill_event_fixed_param, wmi_rfkill_mode_param, fixed_param, WMITLV_SIZE_FIX)
  5013. WMITLV_CREATE_PARAM_STRUC(WMI_RFKILL_STATE_CHANGE_EVENTID);
  5014. /* Smart Antenna state change Event */
  5015. #define WMITLV_TABLE_WMI_SMARTANT_STATE_CHANGE_EVENTID(id,op,buf,len)\
  5016. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_smartant_event_fixed_param, wmi_smartant_state_param, fixed_param, WMITLV_SIZE_FIX)
  5017. WMITLV_CREATE_PARAM_STRUC(WMI_SMARTANT_STATE_CHANGE_EVENTID);
  5018. /* Debug Message Event */
  5019. #define WMITLV_TABLE_WMI_DEBUG_MESG_EVENTID(id,op,buf,len)\
  5020. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  5021. WMITLV_CREATE_PARAM_STRUC(WMI_DEBUG_MESG_EVENTID);
  5022. #define WMITLV_TABLE_WMI_DEBUG_MESG_FLUSH_COMPLETE_EVENTID(id,op,buf,len)\
  5023. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_debug_mesg_flush_complete_fixed_param, wmi_debug_mesg_flush_complete_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5024. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_debug_mesg_fw_data_stall_param, data_stall, WMITLV_SIZE_VAR) \
  5025. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_debug_mesg_fw_cal_failure_param, cal_failure, WMITLV_SIZE_VAR)
  5026. WMITLV_CREATE_PARAM_STRUC(WMI_DEBUG_MESG_FLUSH_COMPLETE_EVENTID);
  5027. #define WMITLV_TABLE_WMI_RSSI_BREACH_EVENTID(id,op,buf,len)\
  5028. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rssi_breach_event_fixed_param, wmi_rssi_breach_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5029. WMITLV_CREATE_PARAM_STRUC(WMI_RSSI_BREACH_EVENTID);
  5030. #define WMITLV_TABLE_WMI_TRANSFER_DATA_TO_FLASH_COMPLETE_EVENTID(id,op,buf,len)\
  5031. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_transfer_data_to_flash_complete_event_fixed_param, wmi_transfer_data_to_flash_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5032. WMITLV_CREATE_PARAM_STRUC(WMI_TRANSFER_DATA_TO_FLASH_COMPLETE_EVENTID);
  5033. #define WMITLV_TABLE_WMI_READ_DATA_FROM_FLASH_EVENTID(id,op,buf,len) \
  5034. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_read_data_from_flash_event_fixed_param, wmi_read_data_from_flash_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5035. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  5036. WMITLV_CREATE_PARAM_STRUC(WMI_READ_DATA_FROM_FLASH_EVENTID);
  5037. /* Diagnostics Event */
  5038. #define WMITLV_TABLE_WMI_DIAG_EVENTID(id,op,buf,len)\
  5039. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  5040. WMITLV_CREATE_PARAM_STRUC(WMI_DIAG_EVENTID);
  5041. /* IGTK Offload Event */
  5042. #define WMITLV_TABLE_WMI_GTK_OFFLOAD_STATUS_EVENTID(id,op,buf,len)\
  5043. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_GTK_OFFLOAD_STATUS_EVENT_fixed_param, WMI_GTK_OFFLOAD_STATUS_EVENT_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5044. WMITLV_CREATE_PARAM_STRUC(WMI_GTK_OFFLOAD_STATUS_EVENTID);
  5045. /* DCA interference Event */
  5046. #define WMITLV_TABLE_WMI_DCS_INTERFERENCE_EVENTID(id,op,buf,len) \
  5047. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dcs_interference_event_fixed_param, wmi_dcs_interference_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5048. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_dcs_cw_int, cw_int, WMITLV_SIZE_VAR) \
  5049. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_dcs_im_tgt_stats_t, wlan_stat, WMITLV_SIZE_VAR) \
  5050. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcs_awgn_int_t, awgn_int, WMITLV_SIZE_VAR)
  5051. WMITLV_CREATE_PARAM_STRUC(WMI_DCS_INTERFERENCE_EVENTID);
  5052. /* Profile data Event */
  5053. #define WMITLV_TABLE_WMI_WLAN_PROFILE_DATA_EVENTID(id,op,buf,len) \
  5054. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wlan_profile_ctx_t, wmi_wlan_profile_ctx_t, profile_ctx, WMITLV_SIZE_FIX)\
  5055. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_wlan_profile_t, profile_data, WMITLV_SIZE_VAR)
  5056. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_DATA_EVENTID);
  5057. /* PDEV UTF Event */
  5058. #define WMITLV_TABLE_WMI_PDEV_UTF_EVENTID(id,op,buf,len)\
  5059. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  5060. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UTF_EVENTID);
  5061. /* Update SCPC calibrated data Event */
  5062. #define WMITLV_TABLE_WMI_PDEV_UTF_SCPC_EVENTID(id,op,buf,len) \
  5063. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_scpc_event_fixed_param, wmi_scpc_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5064. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  5065. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UTF_SCPC_EVENTID);
  5066. /* Debug print Event */
  5067. #define WMITLV_TABLE_WMI_DEBUG_PRINT_EVENTID(id,op,buf,len) \
  5068. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  5069. WMITLV_CREATE_PARAM_STRUC(WMI_DEBUG_PRINT_EVENTID);
  5070. /* RTT measurement report Event - DEPRECATED */
  5071. #define WMITLV_TABLE_WMI_RTT_MEASUREMENT_REPORT_EVENTID(id,op,buf,len) \
  5072. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  5073. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_MEASUREMENT_REPORT_EVENTID);
  5074. /*oem measurement report Event - DEPRECATED */
  5075. #define WMITLV_TABLE_WMI_OEM_MEASUREMENT_REPORT_EVENTID(id,op,buf,len) \
  5076. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  5077. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_MEASUREMENT_REPORT_EVENTID);
  5078. /*oem error report event - DEPRECATED */
  5079. #define WMITLV_TABLE_WMI_OEM_ERROR_REPORT_EVENTID(id,op,buf,len) \
  5080. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  5081. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_ERROR_REPORT_EVENTID);
  5082. /*oem capability report event - DEPRECATED */
  5083. #define WMITLV_TABLE_WMI_OEM_CAPABILITY_EVENTID(id,op,buf,len) \
  5084. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  5085. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_CAPABILITY_EVENTID);
  5086. /*oem response event*/
  5087. #define WMITLV_TABLE_WMI_OEM_RESPONSE_EVENTID(id,op,buf,len) \
  5088. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  5089. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_oem_indirect_data, wmi_oem_indirect_data, indirect_data, WMITLV_SIZE_FIX) \
  5090. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data2, WMITLV_SIZE_VAR)
  5091. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_RESPONSE_EVENTID);
  5092. /* oem dma buffer release event */
  5093. #define WMITLV_TABLE_WMI_OEM_DMA_BUF_RELEASE_EVENTID(id,op,buf,len) \
  5094. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_oem_dma_buf_release_fixed_param, wmi_oem_dma_buf_release_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5095. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_oem_dma_buf_release_entry, entries, WMITLV_SIZE_VAR)
  5096. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DMA_BUF_RELEASE_EVENTID);
  5097. /* oem data event */
  5098. #define WMITLV_TABLE_WMI_OEM_DATA_EVENTID(id,op, buf,len) \
  5099. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_oem_data_event_fixed_param, wmi_oem_data_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5100. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  5101. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, file_name, WMITLV_SIZE_VAR)
  5102. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DATA_EVENTID);
  5103. /* HOST SWBA Event */
  5104. #define WMITLV_TABLE_WMI_HOST_SWBA_EVENTID(id,op,buf,len) \
  5105. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_host_swba_event_fixed_param, wmi_host_swba_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5106. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tim_info, tim_info, WMITLV_SIZE_VAR) \
  5107. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_info, p2p_noa_info, WMITLV_SIZE_VAR) \
  5108. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_quiet_offload_info, quiet_offload_info, WMITLV_SIZE_VAR)
  5109. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_SWBA_EVENTID);
  5110. /* HOST SWBA Event v2 */
  5111. #define WMITLV_TABLE_WMI_HOST_SWBA_V2_EVENTID(id,op,buf,len) \
  5112. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_host_swba_event_fixed_param, wmi_host_swba_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5113. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tim_info_v2, tim_info, WMITLV_SIZE_VAR) \
  5114. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  5115. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_info, p2p_noa_info, WMITLV_SIZE_VAR)
  5116. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_SWBA_V2_EVENTID);
  5117. /* HOST SWFDA Event requesting host to queue a FILS Discovery frame for transmission */
  5118. #define WMITLV_TABLE_WMI_HOST_SWFDA_EVENTID(id,op,buf,len) \
  5119. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_host_swfda_event_fixed_param, wmi_host_swfda_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5120. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_SWFDA_EVENTID);
  5121. /* Update stats Event */
  5122. #define WMITLV_TABLE_WMI_UPDATE_STATS_EVENTID(id,op,buf,len)\
  5123. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_stats_event_fixed_param, wmi_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5124. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  5125. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_per_chain_rssi_stats, wmi_per_chain_rssi_stats, chain_stats, WMITLV_SIZE_FIX) \
  5126. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rssi_stats, rssi_stats, WMITLV_SIZE_VAR) \
  5127. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_congestion_stats, congestion_stats, WMITLV_SIZE_VAR) \
  5128. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_extd2_stats, peer_extd2_stats, WMITLV_SIZE_VAR) \
  5129. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pmf_bcn_protect_stats, pmf_bcn_protect_stats, WMITLV_SIZE_VAR) \
  5130. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_extd_stats, vdev_extd_stats, WMITLV_SIZE_VAR) \
  5131. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_extd_stats, pdev_extd_stats, WMITLV_SIZE_VAR) \
  5132. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_telemetry_stats, pdev_telemetry_stats, WMITLV_SIZE_VAR)
  5133. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_STATS_EVENTID);
  5134. /* Update PN response Event */
  5135. #define WMITLV_TABLE_WMI_PEER_TX_PN_RESPONSE_EVENTID(id,op,buf,len)\
  5136. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_tx_pn_response_event_fixed_param, wmi_peer_tx_pn_response_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5137. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TX_PN_RESPONSE_EVENTID);
  5138. #define WMITLV_TABLE_WMI_PEER_RX_PN_RESPONSE_EVENTID(id,op,buf,len)\
  5139. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_rx_pn_response_event_fixed_param, wmi_peer_rx_pn_response_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5140. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_RX_PN_RESPONSE_EVENTID);
  5141. /* For vdev based ht/vht info upload*/
  5142. #define WMITLV_TABLE_WMI_UPDATE_VDEV_RATE_STATS_EVENTID(id,op,buf,len)\
  5143. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_rate_stats_event_fixed_param, wmi_vdev_rate_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5144. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_rate_ht_info, ht_info, WMITLV_SIZE_VAR)
  5145. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_VDEV_RATE_STATS_EVENTID);
  5146. /* report rx aggregation failure information */
  5147. #define WMITLV_TABLE_WMI_REPORT_RX_AGGR_FAILURE_EVENTID(id,op,buf,len)\
  5148. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rx_aggr_failure_event_fixed_param, wmi_rx_aggr_failure_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5149. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rx_aggr_failure_info, failure_info, WMITLV_SIZE_VAR)
  5150. WMITLV_CREATE_PARAM_STRUC(WMI_REPORT_RX_AGGR_FAILURE_EVENTID);
  5151. /* Update memory dump complete Event */
  5152. #define WMITLV_TABLE_WMI_UPDATE_FW_MEM_DUMP_EVENTID(id,op,buf,len)\
  5153. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_update_fw_mem_dump_fixed_param, wmi_update_fw_mem_dump_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5154. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_FW_MEM_DUMP_EVENTID);
  5155. /* Event indicating the DIAG LOGs/Events supported by FW */
  5156. #define WMITLV_TABLE_WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID(id,op,buf,len) \
  5157. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_diag_event_log_supported_event_fixed_params, wmi_diag_event_log_supported_event_fixed_params, fixed_param, WMITLV_SIZE_FIX) \
  5158. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, diag_events_logs_list, WMITLV_SIZE_VAR)
  5159. WMITLV_CREATE_PARAM_STRUC(WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID);
  5160. /* Update iface link stats Event */
  5161. #define WMITLV_TABLE_WMI_IFACE_LINK_STATS_EVENTID(id,op,buf,len)\
  5162. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_iface_link_stats_event_fixed_param, wmi_iface_link_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5163. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_iface_link_stats, iface_link_stats, WMITLV_SIZE_VAR) \
  5164. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_wmm_ac_stats, ac, WMITLV_SIZE_VAR) \
  5165. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_iface_offload_stats, iface_offload_stats, WMITLV_SIZE_VAR) \
  5166. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_iface_powersave_stats, iface_powersave_stats, WMITLV_SIZE_VAR)
  5167. WMITLV_CREATE_PARAM_STRUC(WMI_IFACE_LINK_STATS_EVENTID);
  5168. /* Update Peer link stats Event */
  5169. #define WMITLV_TABLE_WMI_PEER_LINK_STATS_EVENTID(id,op,buf,len)\
  5170. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_stats_event_fixed_param, wmi_peer_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5171. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_link_stats, peer_stats, WMITLV_SIZE_VAR) \
  5172. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rate_stats, peer_rate_stats, WMITLV_SIZE_VAR)
  5173. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_LINK_STATS_EVENTID);
  5174. /* Update radio stats Event */
  5175. #define WMITLV_TABLE_WMI_RADIO_LINK_STATS_EVENTID(id,op,buf,len)\
  5176. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_radio_link_stats_event_fixed_param, wmi_radio_link_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5177. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_radio_link_stats, radio_stats, WMITLV_SIZE_VAR)\
  5178. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel_stats, channel_stats, WMITLV_SIZE_VAR)
  5179. WMITLV_CREATE_PARAM_STRUC(WMI_RADIO_LINK_STATS_EVENTID);
  5180. /* Update ipa stats Event */
  5181. #define WMITLV_TABLE_WMI_IPA_LINK_STATS_EVENTID(id,op,buf,len)\
  5182. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ipa_link_stats_event_fixed_param, wmi_ipa_link_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5183. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ipa_link_stats, ipa_stats, WMITLV_SIZE_VAR) \
  5184. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ipa_per_mac_stats, per_mac_stats, WMITLV_SIZE_VAR)
  5185. WMITLV_CREATE_PARAM_STRUC(WMI_IPA_LINK_STATS_EVENTID);
  5186. /* Update WLM stats event */
  5187. #define WMITLV_TABLE_WMI_WLM_STATS_EVENTID(id,op,buf,len) \
  5188. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wlm_stats_event_fixed_param, wmi_wlm_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5189. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, data, WMITLV_SIZE_VAR)
  5190. WMITLV_CREATE_PARAM_STRUC(WMI_WLM_STATS_EVENTID);
  5191. /* PDEV QVIT Event */
  5192. #define WMITLV_TABLE_WMI_PDEV_QVIT_EVENTID(id,op,buf,len)\
  5193. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  5194. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_QVIT_EVENTID);
  5195. /* WLAN Frequency avoid Event */
  5196. #define WMITLV_TABLE_WMI_WLAN_FREQ_AVOID_EVENTID(id,op,buf,len)\
  5197. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_avoid_freq_ranges_event_fixed_param, wmi_avoid_freq_ranges_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5198. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_avoid_freq_range_desc, avd_freq_range, WMITLV_SIZE_VAR)
  5199. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_FREQ_AVOID_EVENTID);
  5200. /* WLAN SAR LIMITS GET response Event */
  5201. #define WMITLV_TABLE_WMI_SAR_GET_LIMITS_EVENTID(id,op,buf,len)\
  5202. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sar_get_limits_event_fixed_param, wmi_sar_get_limits_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5203. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_sar_get_limit_event_row, sar_get_limits, WMITLV_SIZE_VAR)
  5204. WMITLV_CREATE_PARAM_STRUC(WMI_SAR_GET_LIMITS_EVENTID);
  5205. /* GTK rekey fail Event */
  5206. #define WMITLV_TABLE_WMI_GTK_REKEY_FAIL_EVENTID(id,op,buf,len) \
  5207. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_gtk_rekey_fail_event_fixed_param, wmi_gtk_rekey_fail_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5208. WMITLV_CREATE_PARAM_STRUC(WMI_GTK_REKEY_FAIL_EVENTID);
  5209. /* NLO match event */
  5210. #define WMITLV_TABLE_WMI_NLO_MATCH_EVENTID(id,op,buf,len) \
  5211. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nlo_event, wmi_nlo_event, fixed_param, WMITLV_SIZE_FIX)
  5212. WMITLV_CREATE_PARAM_STRUC(WMI_NLO_MATCH_EVENTID);
  5213. /* NLO scan complete event */
  5214. #define WMITLV_TABLE_WMI_NLO_SCAN_COMPLETE_EVENTID(id,op,buf,len) \
  5215. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nlo_event, wmi_nlo_event, fixed_param, WMITLV_SIZE_FIX)
  5216. WMITLV_CREATE_PARAM_STRUC(WMI_NLO_SCAN_COMPLETE_EVENTID);
  5217. /* APFIND event */
  5218. #define WMITLV_TABLE_WMI_APFIND_EVENTID(id,op,buf,len) \
  5219. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_apfind_event_hdr, wmi_apfind_event_hdr, hdr, WMITLV_SIZE_FIX) \
  5220. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  5221. WMITLV_CREATE_PARAM_STRUC(WMI_APFIND_EVENTID);
  5222. /* WMI_PASSPOINT_MATCH_EVENTID */
  5223. #define WMITLV_TABLE_WMI_PASSPOINT_MATCH_EVENTID(id,op,buf,len) \
  5224. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_passpoint_event_hdr, wmi_passpoint_event_hdr, fixed_param, WMITLV_SIZE_FIX) \
  5225. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  5226. WMITLV_CREATE_PARAM_STRUC(WMI_PASSPOINT_MATCH_EVENTID);
  5227. /* Chatter query reply event */
  5228. #define WMITLV_TABLE_WMI_CHATTER_PC_QUERY_EVENTID(id,op,buf,len) \
  5229. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chatter_query_reply_event_fixed_param, wmi_chatter_query_reply_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5230. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_PC_QUERY_EVENTID);
  5231. /* Upload H_CV info event */
  5232. #define WMITLV_TABLE_WMI_UPLOADH_EVENTID(id,op,buf,len) \
  5233. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_upload_h_hdr, wmi_upload_h_hdr, hdr, WMITLV_SIZE_FIX) \
  5234. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  5235. WMITLV_CREATE_PARAM_STRUC(WMI_UPLOADH_EVENTID);
  5236. /* Capture H info event */
  5237. #define WMITLV_TABLE_WMI_CAPTUREH_EVENTID(id,op,buf,len) \
  5238. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_capture_h_event_hdr, wmi_capture_h_event_hdr, fixed_param, WMITLV_SIZE_FIX)
  5239. WMITLV_CREATE_PARAM_STRUC(WMI_CAPTUREH_EVENTID);
  5240. /* TDLS Peer Update event */
  5241. #define WMITLV_TABLE_WMI_TDLS_PEER_EVENTID(id,op,buf,len) \
  5242. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tdls_peer_event_fixed_param, wmi_tdls_peer_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5243. WMITLV_CREATE_PARAM_STRUC(WMI_TDLS_PEER_EVENTID);
  5244. /* VDEV MCC Beacon Interval Change Request Event */
  5245. #define WMITLV_TABLE_WMI_VDEV_MCC_BCN_INTERVAL_CHANGE_REQ_EVENTID(id,op,buf,len) \
  5246. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_mcc_bcn_intvl_change_event_fixed_param, wmi_vdev_mcc_bcn_intvl_change_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5247. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_MCC_BCN_INTERVAL_CHANGE_REQ_EVENTID);
  5248. #define WMITLV_TABLE_WMI_BATCH_SCAN_ENABLED_EVENTID(id,op,buf,len) \
  5249. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_batch_scan_enabled_event_fixed_param, wmi_batch_scan_enabled_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5250. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_ENABLED_EVENTID);
  5251. #define WMITLV_TABLE_WMI_BATCH_SCAN_RESULT_EVENTID(id,op,buf,len) \
  5252. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_batch_scan_result_event_fixed_param, wmi_batch_scan_result_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5253. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_ARRAY_STRUC, wmi_batch_scan_result_scan_list, scan_list, WMITLV_SIZE_VAR) \
  5254. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_ARRAY_STRUC, wmi_batch_scan_result_network_info, network_list, WMITLV_SIZE_VAR)
  5255. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_RESULT_EVENTID);
  5256. #define WMITLV_TABLE_WMI_OFFLOAD_BCN_TX_STATUS_EVENTID(id,op,buf,len) \
  5257. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_offload_bcn_tx_status_event_fixed_param, wmi_offload_bcn_tx_status_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5258. WMITLV_CREATE_PARAM_STRUC(WMI_OFFLOAD_BCN_TX_STATUS_EVENTID);
  5259. /* NOA Event */
  5260. #define WMITLV_TABLE_WMI_P2P_NOA_EVENTID(id,op,buf,len) \
  5261. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_p2p_noa_event_fixed_param, wmi_p2p_noa_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5262. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_p2p_noa_info, wmi_p2p_noa_info, p2p_noa_info, WMITLV_SIZE_FIX)
  5263. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_NOA_EVENTID);
  5264. /* AP PS enhanced green ap Event */
  5265. #define WMITLV_TABLE_WMI_AP_PS_EGAP_INFO_EVENTID(id,op,buf,len) \
  5266. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ap_ps_egap_info_event_fixed_param, wmi_ap_ps_egap_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5267. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ap_ps_egap_info_chainmask_list, chainmask_list, WMITLV_SIZE_VAR)
  5268. WMITLV_CREATE_PARAM_STRUC(WMI_AP_PS_EGAP_INFO_EVENTID);
  5269. #define WMITLV_TABLE_WMI_PEER_INFO_EVENTID(id,op,buf,len) \
  5270. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_info_event_fixed_param, wmi_peer_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5271. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_info, peer_info, WMITLV_SIZE_VAR)
  5272. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_INFO_EVENTID);
  5273. #define WMITLV_TABLE_WMI_PEER_ANTDIV_INFO_EVENTID(id,op,buf,len) \
  5274. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_antdiv_info_event_fixed_param, wmi_peer_antdiv_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5275. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_antdiv_info, peer_info, WMITLV_SIZE_VAR)
  5276. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ANTDIV_INFO_EVENTID);
  5277. #define WMITLV_TABLE_WMI_PEER_TX_FAIL_CNT_THR_EVENTID(id,op,buf,len) \
  5278. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_tx_fail_cnt_thr_event_fixed_param, wmi_peer_tx_fail_cnt_thr_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5279. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TX_FAIL_CNT_THR_EVENTID);
  5280. #define WMITLV_TABLE_WMI_PEER_OPER_MODE_CHANGE_EVENTID(id,op,buf,len) \
  5281. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_oper_mode_change_event_fixed_param, wmi_peer_oper_mode_change_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5282. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_OPER_MODE_CHANGE_EVENTID);
  5283. /* DFS radar Event */
  5284. #define WMITLV_TABLE_WMI_DFS_RADAR_EVENTID(id,op,buf,len) \
  5285. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dfs_radar_event_fixed_param, wmi_dfs_radar_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5286. WMITLV_CREATE_PARAM_STRUC(WMI_DFS_RADAR_EVENTID);
  5287. #define WMITLV_TABLE_WMI_PDEV_DFS_RADAR_DETECTION_EVENTID(id,op,buf,len) \
  5288. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_dfs_radar_detection_event_fixed_param, wmi_pdev_dfs_radar_detection_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5289. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_RADAR_DETECTION_EVENTID);
  5290. #define WMITLV_TABLE_WMI_VDEV_ADFS_OCAC_COMPLETE_EVENTID(id,op,buf,len) \
  5291. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_adfs_ocac_complete_event_fixed_param, wmi_vdev_adfs_ocac_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5292. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADFS_OCAC_COMPLETE_EVENTID);
  5293. #define WMITLV_TABLE_WMI_VDEV_DFS_CAC_COMPLETE_EVENTID(id,op,buf,len) \
  5294. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_dfs_cac_complete_event_fixed_param, wmi_vdev_dfs_cac_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5295. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DFS_CAC_COMPLETE_EVENTID);
  5296. /* Thermal Event */
  5297. #define WMITLV_TABLE_WMI_THERMAL_MGMT_EVENTID(id,op,buf,len) \
  5298. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_thermal_mgmt_event_fixed_param, wmi_thermal_mgmt_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5299. WMITLV_CREATE_PARAM_STRUC(WMI_THERMAL_MGMT_EVENTID);
  5300. #define WMITLV_TABLE_WMI_OEM_DMA_RING_CFG_RSP_EVENTID(id,op,buf,len) \
  5301. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_oem_dma_ring_cfg_rsp_fixed_param, wmi_oem_dma_ring_cfg_rsp_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5302. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DMA_RING_CFG_RSP_EVENTID)
  5303. /* NAN Response/Indication Event */
  5304. #define WMITLV_TABLE_WMI_NAN_EVENTID(id,op,buf,len) \
  5305. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nan_event_hdr, wmi_nan_event_hdr, fixed_param, WMITLV_SIZE_FIX) \
  5306. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  5307. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_nan_event_info, event_info, WMITLV_SIZE_VAR)
  5308. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_EVENTID);
  5309. /* NAN discovery interface created event */
  5310. #define WMITLV_TABLE_WMI_NAN_DISC_IFACE_CREATED_EVENTID(id,op,buf,len) \
  5311. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nan_disc_iface_created_event_fixed_param, wmi_nan_disc_iface_created_event_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX)
  5312. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_DISC_IFACE_CREATED_EVENTID);
  5313. /* NAN discovery interface deleted event */
  5314. #define WMITLV_TABLE_WMI_NAN_DISC_IFACE_DELETED_EVENTID(id,op,buf,len) \
  5315. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nan_disc_iface_deleted_event_fixed_param, wmi_nan_disc_iface_deleted_event_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX)
  5316. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_DISC_IFACE_DELETED_EVENTID);
  5317. /* NAN device started new cluster event */
  5318. #define WMITLV_TABLE_WMI_NAN_STARTED_CLUSTER_EVENTID(id,op,buf,len) \
  5319. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nan_started_cluster_event_fixed_param, wmi_nan_started_cluster_event_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX)
  5320. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_STARTED_CLUSTER_EVENTID);
  5321. /* NAN device joined to cluster event */
  5322. #define WMITLV_TABLE_WMI_NAN_JOINED_CLUSTER_EVENTID(id,op,buf,len) \
  5323. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nan_joined_cluster_event_fixed_param, wmi_nan_joined_cluster_event_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX)
  5324. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_JOINED_CLUSTER_EVENTID);
  5325. /* Coex report antenna isolation event */
  5326. #define WMITLV_TABLE_WMI_COEX_REPORT_ANTENNA_ISOLATION_EVENTID(id,op,buf,len) \
  5327. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_coex_report_isolation_event_fixed_param, wmi_coex_report_isolation_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5328. WMITLV_CREATE_PARAM_STRUC(WMI_COEX_REPORT_ANTENNA_ISOLATION_EVENTID);
  5329. /* NDP capabilities response event */
  5330. #define WMITLV_TABLE_WMI_NDI_CAP_RSP_EVENTID(id,op,buf,len) \
  5331. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndi_cap_rsp_event_fixed_param, wmi_ndi_cap_rsp_event_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX)
  5332. WMITLV_CREATE_PARAM_STRUC(WMI_NDI_CAP_RSP_EVENTID);
  5333. /* NDP initiator response event */
  5334. #define WMITLV_TABLE_WMI_NDP_INITIATOR_RSP_EVENTID(id,op,buf,len) \
  5335. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_initiator_rsp_event_fixed_param, wmi_ndp_initiator_rsp_event_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX)
  5336. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_INITIATOR_RSP_EVENTID);
  5337. /* NDP responder response event */
  5338. #define WMITLV_TABLE_WMI_NDP_RESPONDER_RSP_EVENTID(id,op,buf,len) \
  5339. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_responder_rsp_event_fixed_param, wmi_ndp_responder_rsp_event_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX)
  5340. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_RESPONDER_RSP_EVENTID);
  5341. /** NDP end response event
  5342. *
  5343. * TLV (tag length value ) parameters follow the ndp_end_rsp
  5344. * structure. The TLV's are:
  5345. * wmi_ndp_end_rsp_per_ndi ndp_end_rsp_per_ndi_list[];
  5346. * wmi_active_ndp_instance_id active_ndp_instances_id[];
  5347. */
  5348. #define WMITLV_TABLE_WMI_NDP_END_RSP_EVENTID(id,op,buf,len) \
  5349. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_end_rsp_event_fixed_param, wmi_ndp_end_rsp_event_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX) \
  5350. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ndp_end_rsp_per_ndi_PROTOTYPE, ndp_end_rsp_per_ndi_list, WMITLV_SIZE_VAR) \
  5351. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_active_ndp_instance_id_PROTOTYPE, active_ndp_instances_id, WMITLV_SIZE_VAR)
  5352. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_END_RSP_EVENTID);
  5353. /** NDP indication event
  5354. *
  5355. * TLV (tag length value ) parameters follow the ndp_indication
  5356. * structure. The TLV's are:
  5357. * A_UINT8 ndp_cfg[];
  5358. * A_UINT8 ndp_app_info[];
  5359. * wmi_ndp_transport_ip_param ndp_transport_ip_param;
  5360. */
  5361. #define WMITLV_TABLE_WMI_NDP_INDICATION_EVENTID(id,op,buf,len) \
  5362. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_indication_event_fixed_param, wmi_ndp_indication_event_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX) \
  5363. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_cfg, WMITLV_SIZE_VAR) \
  5364. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_app_info, WMITLV_SIZE_VAR) \
  5365. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_scid, WMITLV_SIZE_VAR) \
  5366. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_transport_ip_param, wmi_ndp_transport_ip_param, ndp_transport_ip_param, WMITLV_SIZE_FIX) \
  5367. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, service_id, WMITLV_SIZE_VAR)
  5368. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_INDICATION_EVENTID);
  5369. /** NDP confirm event
  5370. * TLV (tag length value ) parameters follow the ndp_confirm
  5371. * structure. The TLV's are:
  5372. * A_UINT8 ndp_cfg[];
  5373. * A_UINT8 ndp_app_info[];
  5374. * wmi_channel ndp_channel_list[];
  5375. * wmi_ndp_transport_ip_param ndp_transport_ip_param;
  5376. */
  5377. #define WMITLV_TABLE_WMI_NDP_CONFIRM_EVENTID(id,op,buf,len) \
  5378. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_confirm_event_fixed_param, wmi_ndp_confirm_event_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX) \
  5379. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_cfg, WMITLV_SIZE_VAR) \
  5380. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_app_info, WMITLV_SIZE_VAR) \
  5381. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, ndp_channel_list, WMITLV_SIZE_VAR) \
  5382. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, nss_list, WMITLV_SIZE_VAR) \
  5383. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_transport_ip_param, wmi_ndp_transport_ip_param, ndp_transport_ip_param, WMITLV_SIZE_FIX) \
  5384. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ndp_channel_info, ndp_channel_info, WMITLV_SIZE_VAR)
  5385. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_CONFIRM_EVENTID);
  5386. /** NDP end indication event
  5387. *
  5388. * TLV (tag length value ) parameters follow the ndp_end_indication
  5389. * structure. The TLV's are:
  5390. * wmi_ndp_end_indication ndp_end_indication_list[];
  5391. */
  5392. #define WMITLV_TABLE_WMI_NDP_END_INDICATION_EVENTID(id,op,buf,len) \
  5393. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ndp_end_indication_PROTOTYPE, ndp_end_indication_list, WMITLV_SIZE_VAR)
  5394. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_END_INDICATION_EVENTID);
  5395. /** NDL schedule update event
  5396. * TLV (tag length value) parameters follow the ndl_schedule_update
  5397. * structure. The TLV's are:
  5398. * A_UINT32 ndp_instance_list[];
  5399. * wmi_channel ndl_channel_list[];
  5400. */
  5401. #define WMITLV_TABLE_WMI_NDL_SCHEDULE_UPDATE_EVENTID(id,op,buf,len) \
  5402. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndl_schedule_update_fixed_param, wmi_ndl_schedule_update_fixed_param_PROTOTYPE, fixed_param, WMITLV_SIZE_FIX) \
  5403. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ndp_instance_list, WMITLV_SIZE_VAR) \
  5404. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, ndl_channel_list, WMITLV_SIZE_VAR) \
  5405. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, nss_list, WMITLV_SIZE_VAR) \
  5406. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ndp_channel_info, ndp_channel_info, WMITLV_SIZE_VAR)
  5407. WMITLV_CREATE_PARAM_STRUC(WMI_NDL_SCHEDULE_UPDATE_EVENTID);
  5408. /* NDP Event */
  5409. #define WMITLV_TABLE_WMI_NDP_EVENTID(id,op,buf,len) \
  5410. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_event_param, wmi_ndp_event_param, fixed_param, WMITLV_SIZE_FIX)
  5411. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_EVENTID);
  5412. /* Update RCPI Info Event */
  5413. #define WMITLV_TABLE_WMI_UPDATE_RCPI_EVENTID(id,op,buf,len) \
  5414. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_update_rcpi_event_fixed_param, wmi_update_rcpi_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5415. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_RCPI_EVENTID);
  5416. /* L1SS track Event */
  5417. #define WMITLV_TABLE_WMI_PDEV_L1SS_TRACK_EVENTID(id,op,buf,len) \
  5418. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_l1ss_track_event_fixed_param, wmi_pdev_l1ss_track_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5419. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_L1SS_TRACK_EVENTID);
  5420. #define WMITLV_TABLE_WMI_DIAG_DATA_CONTAINER_EVENTID(id,op,buf,len) \
  5421. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_diag_data_container_event_fixed_param, wmi_diag_data_container_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5422. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  5423. WMITLV_CREATE_PARAM_STRUC(WMI_DIAG_DATA_CONTAINER_EVENTID);
  5424. /* Estimated Link Speed Indication*/
  5425. #define WMITLV_TABLE_WMI_PEER_ESTIMATED_LINKSPEED_EVENTID(id,op,buf,len) \
  5426. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_estimated_linkspeed_event_fixed_param, wmi_peer_estimated_linkspeed_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5427. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ESTIMATED_LINKSPEED_EVENTID);
  5428. #define WMITLV_TABLE_WMI_STATS_EXT_EVENTID(id,op,buf,len) \
  5429. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_stats_ext_event_fixed_param, wmi_stats_ext_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5430. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  5431. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_partner_link_stats, partner_link_stats, WMITLV_SIZE_VAR) \
  5432. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, partner_link_data, WMITLV_SIZE_VAR)
  5433. WMITLV_CREATE_PARAM_STRUC(WMI_STATS_EXT_EVENTID);
  5434. #define WMITLV_TABLE_WMI_OFFLOAD_PROB_RESP_TX_STATUS_EVENTID(id,op,buf,len) \
  5435. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_offload_prb_rsp_tx_status_event_fixed_param, wmi_offload_prb_rsp_tx_status_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5436. WMITLV_CREATE_PARAM_STRUC(WMI_OFFLOAD_PROB_RESP_TX_STATUS_EVENTID);
  5437. /* host auto shut down event */
  5438. #define WMITLV_TABLE_WMI_HOST_AUTO_SHUTDOWN_EVENTID(id,op,buf,len) \
  5439. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_host_auto_shutdown_event_fixed_param, wmi_host_auto_shutdown_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5440. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_AUTO_SHUTDOWN_EVENTID);
  5441. /* peer state Event */
  5442. #define WMITLV_TABLE_WMI_PEER_STATE_EVENTID(id,op,buf,len) \
  5443. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_state_event_fixed_param, wmi_peer_state_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5444. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STATE_EVENTID);
  5445. /* peer delete response Event */
  5446. #define WMITLV_TABLE_WMI_PEER_DELETE_RESP_EVENTID(id,op,buf,len) \
  5447. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_delete_resp_event_fixed_param, wmi_peer_delete_resp_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5448. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_DELETE_RESP_EVENTID);
  5449. /* delete all peer response Event */
  5450. #define WMITLV_TABLE_WMI_VDEV_DELETE_ALL_PEER_RESP_EVENTID(id,op,buf,len) \
  5451. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_delete_all_peer_resp_event_fixed_param, wmi_vdev_delete_all_peer_resp_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5452. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DELETE_ALL_PEER_RESP_EVENTID);
  5453. /* peer assoc conf Event */
  5454. #define WMITLV_TABLE_WMI_PEER_ASSOC_CONF_EVENTID(id,op,buf,len) \
  5455. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_assoc_conf_event_fixed_param, wmi_peer_assoc_conf_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5456. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ASSOC_CONF_EVENTID);
  5457. /* peer create conf Event */
  5458. #define WMITLV_TABLE_WMI_PEER_CREATE_CONF_EVENTID(id,op,buf,len) \
  5459. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_create_conf_event_fixed_param, wmi_peer_create_conf_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5460. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CREATE_CONF_EVENTID);
  5461. /* D0-WOW Disable Ack event */
  5462. #define WMITLV_TABLE_WMI_D0_WOW_DISABLE_ACK_EVENTID(id,op,buf,len) \
  5463. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_d0_wow_disable_ack_event_fixed_param, wmi_d0_wow_disable_ack_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5464. WMITLV_CREATE_PARAM_STRUC(WMI_D0_WOW_DISABLE_ACK_EVENTID);
  5465. /* Pdev get chip temperature event */
  5466. #define WMITLV_TABLE_WMI_PDEV_TEMPERATURE_EVENTID(id,op,buf,len) \
  5467. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_temperature_event_fixed_param, wmi_pdev_temperature_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5468. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_TEMPERATURE_EVENTID);
  5469. /* Pdev get ANT DIV feature status event */
  5470. #define WMITLV_TABLE_WMI_PDEV_ANTDIV_STATUS_EVENTID(id,op,buf,len) \
  5471. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_antdiv_status_event_fixed_param, wmi_pdev_antdiv_status_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5472. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_ANTDIV_STATUS_EVENTID);
  5473. /* mDNS offload stats event */
  5474. #define WMITLV_TABLE_WMI_MDNS_STATS_EVENTID(id,op,buf,len) \
  5475. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mdns_stats_event_fixed_param, wmi_mdns_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5476. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_STATS_EVENTID);
  5477. /* pdev resume event */
  5478. #define WMITLV_TABLE_WMI_PDEV_RESUME_EVENTID(id,op,buf,len) \
  5479. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_resume_event_fixed_param, wmi_pdev_resume_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5480. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_RESUME_EVENTID);
  5481. /* SAP Authentication offload event */
  5482. #define WMITLV_TABLE_WMI_SAP_OFL_ADD_STA_EVENTID(id,op,buf,len) \
  5483. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sap_ofl_add_sta_event_fixed_param, wmi_sap_ofl_add_sta_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5484. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  5485. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OFL_ADD_STA_EVENTID);
  5486. #define WMITLV_TABLE_WMI_SAP_OFL_DEL_STA_EVENTID(id,op,buf,len) \
  5487. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sap_ofl_del_sta_event_fixed_param, wmi_sap_ofl_del_sta_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5488. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OFL_DEL_STA_EVENTID);
  5489. /* SAP OBSS detection offload event */
  5490. #define WMITLV_TABLE_WMI_SAP_OBSS_DETECTION_REPORT_EVENTID(id,op,buf,len) \
  5491. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sap_obss_detection_info_evt_fixed_param, wmi_sap_obss_detection_info_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5492. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OBSS_DETECTION_REPORT_EVENTID);
  5493. /* OBSS Color collision detection event */
  5494. #define WMITLV_TABLE_WMI_OBSS_COLOR_COLLISION_DETECTION_EVENTID(id,op,buf,len) \
  5495. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_obss_color_collision_evt_fixed_param, wmi_obss_color_collision_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5496. WMITLV_CREATE_PARAM_STRUC(WMI_OBSS_COLOR_COLLISION_DETECTION_EVENTID);
  5497. /* Set OCB schedule event, DEPRECATED */
  5498. #define WMITLV_TABLE_WMI_OCB_SET_SCHED_EVENTID(id,op,buf,len) \
  5499. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_ocb_set_sched_event_fixed_param, wmi_ocb_set_sched_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5500. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_SCHED_EVENTID);
  5501. /* Set OCB configuration response event */
  5502. #define WMITLV_TABLE_WMI_OCB_SET_CONFIG_RESP_EVENTID(id,op,buf,len) \
  5503. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ocb_set_config_resp_event_fixed_param, wmi_ocb_set_config_resp_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5504. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_CONFIG_RESP_EVENTID);
  5505. /* Get TSF timer response event */
  5506. #define WMITLV_TABLE_WMI_OCB_GET_TSF_TIMER_RESP_EVENTID(id,op,buf,len) \
  5507. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ocb_get_tsf_timer_resp_event_fixed_param, wmi_ocb_get_tsf_timer_resp_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5508. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_GET_TSF_TIMER_RESP_EVENTID);
  5509. /* Get DCC stats response event */
  5510. #define WMITLV_TABLE_WMI_DCC_GET_STATS_RESP_EVENTID(id,op,buf,len) \
  5511. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dcc_get_stats_resp_event_fixed_param, wmi_dcc_get_stats_resp_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5512. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_stats_per_channel, stats_per_channel_list, WMITLV_SIZE_VAR)
  5513. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_GET_STATS_RESP_EVENTID);
  5514. /* Update DCC NDL response event */
  5515. #define WMITLV_TABLE_WMI_DCC_UPDATE_NDL_RESP_EVENTID(id,op,buf,len) \
  5516. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dcc_update_ndl_resp_event_fixed_param, wmi_dcc_update_ndl_resp_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5517. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_UPDATE_NDL_RESP_EVENTID);
  5518. /* DCC stats event */
  5519. #define WMITLV_TABLE_WMI_DCC_STATS_EVENTID(id,op,buf,len) \
  5520. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dcc_stats_event_fixed_param, wmi_dcc_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5521. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_stats_per_channel, stats_per_channel_list, WMITLV_SIZE_VAR)
  5522. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_STATS_EVENTID);
  5523. /* Read TSF timer response event */
  5524. #define WMITLV_TABLE_WMI_VDEV_TSF_REPORT_EVENTID(id,op,buf,len) \
  5525. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_tsf_report_event_fixed_param, wmi_vdev_tsf_report_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5526. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_TSF_REPORT_EVENTID);
  5527. /* Vdev capabilities IE to be transmitted in mgmt frames */
  5528. #define WMITLV_TABLE_WMI_VDEV_SET_IE_CMDID(id,op,buf,len) \
  5529. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_set_ie_cmd_fixed_param, wmi_vdev_set_ie_cmd_fixed_param, vdev_ie, WMITLV_SIZE_FIX) \
  5530. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  5531. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_IE_CMDID);
  5532. /* SOC Set Hardware Mode Response event - DEPRECATED */
  5533. #define WMITLV_TABLE_WMI_SOC_SET_HW_MODE_RESP_EVENTID(id,op,buf,len) \
  5534. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_soc_set_hw_mode_response_event_fixed_param, wmi_soc_set_hw_mode_response_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5535. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_soc_set_hw_mode_response_vdev_mac_entry, wmi_soc_set_hw_mode_response_vdev_mac_mapping, WMITLV_SIZE_VAR)
  5536. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_HW_MODE_RESP_EVENTID);
  5537. /* PDEV Set Hardware Mode Response event */
  5538. #define WMITLV_TABLE_WMI_PDEV_SET_HW_MODE_RESP_EVENTID(id,op,buf,len) \
  5539. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_hw_mode_response_event_fixed_param, wmi_pdev_set_hw_mode_response_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5540. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_set_hw_mode_response_vdev_mac_entry, wmi_pdev_set_hw_mode_response_vdev_mac_mapping, WMITLV_SIZE_VAR)
  5541. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_HW_MODE_RESP_EVENTID);
  5542. /* SOC Hardware Mode Transition event - DEPRECATED */
  5543. #define WMITLV_TABLE_WMI_SOC_HW_MODE_TRANSITION_EVENTID(id,op,buf,len) \
  5544. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_soc_hw_mode_transition_event_fixed_param, wmi_soc_hw_mode_transition_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5545. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_soc_set_hw_mode_response_vdev_mac_entry, wmi_soc_set_hw_mode_response_vdev_mac_mapping, WMITLV_SIZE_VAR)
  5546. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_HW_MODE_TRANSITION_EVENTID);
  5547. /* PDEV Hardware Mode Transition event */
  5548. #define WMITLV_TABLE_WMI_PDEV_HW_MODE_TRANSITION_EVENTID(id,op,buf,len) \
  5549. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_hw_mode_transition_event_fixed_param, wmi_pdev_hw_mode_transition_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5550. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_set_hw_mode_response_vdev_mac_entry, wmi_pdev_set_hw_mode_response_vdev_mac_mapping, WMITLV_SIZE_VAR) \
  5551. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_band_to_mac, mac_freq_mapping, WMITLV_SIZE_VAR)
  5552. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_HW_MODE_TRANSITION_EVENTID);
  5553. /* SOC Set Dual MAC Config Response event - DEPRECATED */
  5554. #define WMITLV_TABLE_WMI_SOC_SET_DUAL_MAC_CONFIG_RESP_EVENTID(id,op,buf,len) \
  5555. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_soc_set_dual_mac_config_response_event_fixed_param, wmi_soc_set_dual_mac_config_response_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5556. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_DUAL_MAC_CONFIG_RESP_EVENTID);
  5557. /* PDEV Set Dual MAC Config Response event */
  5558. #define WMITLV_TABLE_WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID(id,op,buf,len) \
  5559. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_mac_config_response_event_fixed_param, wmi_pdev_set_mac_config_response_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5560. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID);
  5561. /* Packet Filter configure command*/
  5562. #define WMITLV_TABLE_WMI_PACKET_FILTER_CONFIG_CMDID(id,op,buf,len) \
  5563. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_packet_filter_config_fixed_param, WMI_PACKET_FILTER_CONFIG_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5564. WMITLV_CREATE_PARAM_STRUC(WMI_PACKET_FILTER_CONFIG_CMDID);
  5565. /* Packet Filter enable command*/
  5566. #define WMITLV_TABLE_WMI_PACKET_FILTER_ENABLE_CMDID(id,op,buf,len) \
  5567. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_packet_filter_enable_fixed_param, WMI_PACKET_FILTER_ENABLE_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5568. WMITLV_CREATE_PARAM_STRUC(WMI_PACKET_FILTER_ENABLE_CMDID);
  5569. /* MAWC enable/disable sensor event */
  5570. #define WMITLV_TABLE_WMI_MAWC_ENABLE_SENSOR_EVENTID(id,op,buf,len) \
  5571. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mawc_enable_sensor_event_fixed_param, wmi_mawc_enable_sensor_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5572. WMITLV_CREATE_PARAM_STRUC(WMI_MAWC_ENABLE_SENSOR_EVENTID);
  5573. /* SMPS force mode complete Event */
  5574. #define WMITLV_TABLE_WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID(id,op,buf,len) \
  5575. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sta_smps_force_mode_complete_event_fixed_param, wmi_sta_smps_force_mode_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5576. WMITLV_CREATE_PARAM_STRUC(WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID);
  5577. /* bpf offload capability info event */
  5578. #define WMITLV_TABLE_WMI_BPF_CAPABILIY_INFO_EVENTID(id,op,buf,len) \
  5579. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bpf_capability_info_evt_fixed_param, wmi_bpf_capability_info_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5580. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_CAPABILIY_INFO_EVENTID);
  5581. /* bpf offload vdev status info event */
  5582. #define WMITLV_TABLE_WMI_BPF_VDEV_STATS_INFO_EVENTID(id,op,buf,len) \
  5583. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bpf_vdev_stats_info_evt_fixed_param, wmi_bpf_vdev_stats_info_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5584. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_VDEV_STATS_INFO_EVENTID);
  5585. /* bpf offload vdev get work memory event */
  5586. #define WMITLV_TABLE_WMI_BPF_GET_VDEV_WORK_MEMORY_RESP_EVENTID(id,op,buf,len) \
  5587. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bpf_get_vdev_work_memory_resp_evt_fixed_param, wmi_bpf_get_vdev_work_memory_resp_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5588. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  5589. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_GET_VDEV_WORK_MEMORY_RESP_EVENTID);
  5590. /* Indicate new country code to host from 11d scan */
  5591. #define WMITLV_TABLE_WMI_11D_NEW_COUNTRY_EVENTID(id,op,buf,len) \
  5592. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_11d_new_country_event_fixed_param, wmi_11d_new_country_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5593. WMITLV_CREATE_PARAM_STRUC(WMI_11D_NEW_COUNTRY_EVENTID);
  5594. /* Regulatory channel list of current country code */
  5595. #define WMITLV_TABLE_WMI_REG_CHAN_LIST_CC_EVENTID(id,op,buf,len) \
  5596. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_reg_chan_list_cc_event_fixed_param, wmi_reg_chan_list_cc_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5597. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_regulatory_rule_struct, reg_rule_array, WMITLV_SIZE_VAR) \
  5598. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_regulatory_fcc_rule_struct, reg_fcc_rule, WMITLV_SIZE_VAR)
  5599. WMITLV_CREATE_PARAM_STRUC(WMI_REG_CHAN_LIST_CC_EVENTID);
  5600. /* Ext regulatory channel list of current country code */
  5601. #define WMITLV_TABLE_WMI_REG_CHAN_LIST_CC_EXT_EVENTID(id,op,buf,len) \
  5602. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_reg_chan_list_cc_event_ext_fixed_param, wmi_reg_chan_list_cc_event_ext_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5603. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_regulatory_rule_ext_struct, reg_rule_array, WMITLV_SIZE_VAR) \
  5604. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_regulatory_chan_priority_struct, reg_chan_priority, WMITLV_SIZE_VAR) \
  5605. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_regulatory_fcc_rule_struct, reg_fcc_rule, WMITLV_SIZE_VAR)
  5606. WMITLV_CREATE_PARAM_STRUC(WMI_REG_CHAN_LIST_CC_EXT_EVENTID);
  5607. /* WMI AFC info event */
  5608. #define WMITLV_TABLE_WMI_AFC_EVENTID(id,op,buf,len) \
  5609. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_afc_event_fixed_param, wmi_afc_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5610. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_afc_expiry_event_param, wmi_afc_expiry_event_param, expiry_event_param, WMITLV_SIZE_FIX)\
  5611. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_afc_power_event_param, wmi_afc_power_event_param, afc_power_event_param, WMITLV_SIZE_FIX)\
  5612. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_6g_afc_frequency_info, freq_info_array, WMITLV_SIZE_VAR)\
  5613. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_6g_afc_channel_info, channel_info_array, WMITLV_SIZE_VAR)\
  5614. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_afc_chan_eirp_power_info, chan_eirp_power_info_array, WMITLV_SIZE_VAR)
  5615. WMITLV_CREATE_PARAM_STRUC(WMI_AFC_EVENTID);
  5616. /* FIPS event */
  5617. #define WMITLV_TABLE_WMI_PDEV_FIPS_EVENTID(id,op,buf,len) \
  5618. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_fips_event_fixed_param, wmi_pdev_fips_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5619. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  5620. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FIPS_EVENTID);
  5621. /* FIPS event */
  5622. #define WMITLV_TABLE_WMI_PDEV_FIPS_EXTEND_EVENTID(id,op,buf,len) \
  5623. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_fips_extend_event_fixed_param, wmi_pdev_fips_extend_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5624. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  5625. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FIPS_EXTEND_EVENTID);
  5626. #define WMITLV_TABLE_WMI_PDEV_CHANNEL_HOPPING_EVENTID(id,op,buf,len) \
  5627. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_channel_hopping_event_fixed_param, wmi_pdev_channel_hopping_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5628. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHANNEL_HOPPING_EVENTID);
  5629. #define WMITLV_TABLE_WMI_PDEV_ANI_CCK_LEVEL_EVENTID(id,op,buf,len) \
  5630. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ani_cck_event_fixed_param, wmi_ani_cck_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5631. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_ANI_CCK_LEVEL_EVENTID);
  5632. #define WMITLV_TABLE_WMI_PDEV_CHIP_POWER_SAVE_FAILURE_DETECTED_EVENTID(id,op,buf,len) \
  5633. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chip_power_save_failure_detected_fixed_param, wmi_chip_power_save_failure_detected_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5634. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHIP_POWER_SAVE_FAILURE_DETECTED_EVENTID);
  5635. #define WMITLV_TABLE_WMI_PDEV_CHIP_POWER_STATS_EVENTID(id,op,buf,len) \
  5636. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_chip_power_stats_event_fixed_param, wmi_pdev_chip_power_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5637. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, debug_registers, WMITLV_SIZE_VAR)
  5638. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHIP_POWER_STATS_EVENTID);
  5639. #define WMITLV_TABLE_WMI_VDEV_BCN_RECEPTION_STATS_EVENTID(id,op,buf,len) \
  5640. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_bcn_recv_stats_event_fixed_param, wmi_vdev_bcn_recv_stats_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5641. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_BCN_RECEPTION_STATS_EVENTID);
  5642. /* WLAN GET mws coex state */
  5643. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_STATE_EVENTID(id,op,buf,len) \
  5644. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_state_fixed_param, wmi_vdev_get_mws_coex_state_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5645. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_STATE_EVENTID);
  5646. /* WLAN GET Dynamic power back-off state */
  5647. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_DPWB_STATE_EVENTID(id,op,buf,len) \
  5648. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_dpwb_state_fixed_param, wmi_vdev_get_mws_coex_dpwb_state_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5649. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_DPWB_STATE_EVENTID);
  5650. /* WLAN GET TDM state */
  5651. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_TDM_STATE_EVENTID(id,op,buf,len) \
  5652. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_tdm_state_fixed_param, wmi_vdev_get_mws_coex_tdm_state_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5653. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_TDM_STATE_EVENTID);
  5654. /* WLAN GET Idrx state */
  5655. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_IDRX_STATE_EVENTID(id,op,buf,len) \
  5656. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_idrx_state_fixed_param, wmi_vdev_get_mws_coex_idrx_state_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5657. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_IDRX_STATE_EVENTID);
  5658. /* WLAN GET antenna sharing state */
  5659. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_ANTENNA_SHARING_STATE_EVENTID(id,op,buf,len) \
  5660. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_antenna_sharing_state_fixed_param, wmi_vdev_get_mws_coex_antenna_sharing_state_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5661. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_ANTENNA_SHARING_STATE_EVENTID);
  5662. #define WMITLV_TABLE_WMI_PDEV_ANI_OFDM_LEVEL_EVENTID(id,op,buf,len) \
  5663. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ani_ofdm_event_fixed_param, wmi_ani_ofdm_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5664. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_ANI_OFDM_LEVEL_EVENTID);
  5665. #define WMITLV_TABLE_WMI_PDEV_TPC_EVENTID(id,op,buf,len) \
  5666. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_tpc_event_fixed_param, wmi_pdev_tpc_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)\
  5667. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tpc, WMITLV_SIZE_VAR)
  5668. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_TPC_EVENTID);
  5669. #define WMITLV_TABLE_WMI_PDEV_NFCAL_POWER_ALL_CHANNELS_EVENTID(id,op,buf,len) \
  5670. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_nfcal_power_all_channels_event_fixed_param, wmi_pdev_nfcal_power_all_channels_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5671. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_nfcal_power_all_channels_nfdBr, nfdbr, WMITLV_SIZE_VAR) \
  5672. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_nfcal_power_all_channels_nfdBm, nfdbm, WMITLV_SIZE_VAR) \
  5673. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_nfcal_power_all_channels_freqNum, freqnum, WMITLV_SIZE_VAR)
  5674. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_NFCAL_POWER_ALL_CHANNELS_EVENTID);
  5675. #define WMITLV_TABLE_WMI_PEER_RATECODE_LIST_EVENTID(id,op,buf,len) \
  5676. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_ratecode_list_event_fixed_param, wmi_peer_ratecode_list_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5677. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_cck_ofdm_rate_info, ratecode_legacy, WMITLV_SIZE_VAR) \
  5678. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_mcs_rate_info, ratecode_mcs, WMITLV_SIZE_VAR)
  5679. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_RATECODE_LIST_EVENTID);
  5680. #define WMITLV_TABLE_WMI_WDS_PEER_EVENTID(id,op,buf,len) \
  5681. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wds_addr_event_fixed_param, wmi_wds_addr_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5682. WMITLV_CREATE_PARAM_STRUC(WMI_WDS_PEER_EVENTID);
  5683. #define WMITLV_TABLE_WMI_PEER_STA_PS_STATECHG_EVENTID(id,op,buf,len) \
  5684. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_sta_ps_statechange_event_fixed_param, wmi_peer_sta_ps_statechange_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5685. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STA_PS_STATECHG_EVENTID);
  5686. #define WMITLV_TABLE_WMI_INST_RSSI_STATS_EVENTID(id,op,buf,len) \
  5687. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_inst_rssi_stats_resp_fixed_param, wmi_inst_rssi_stats_resp_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5688. WMITLV_CREATE_PARAM_STRUC(WMI_INST_RSSI_STATS_EVENTID);
  5689. #define WMITLV_TABLE_WMI_RADIO_TX_POWER_LEVEL_STATS_EVENTID(id,op,buf,len) \
  5690. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tx_power_level_stats_evt_fixed_param, wmi_tx_power_level_stats_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5691. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_time_per_power_level, WMITLV_SIZE_VAR)
  5692. WMITLV_CREATE_PARAM_STRUC(WMI_RADIO_TX_POWER_LEVEL_STATS_EVENTID);
  5693. #define WMITLV_TABLE_WMI_RMC_NEW_LEADER_EVENTID(id, op, buf, len) \
  5694. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_rmc_manual_leader_event_fixed_param, wmi_rmc_manual_leader_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5695. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_NEW_LEADER_EVENTID);
  5696. #define WMITLV_TABLE_WMI_VDEV_AUDIO_SYNC_START_STOP_EVENTID(id, op, buf, len) \
  5697. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_audio_sync_start_stop_event_fixed_param, wmi_audio_sync_start_stop_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5698. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_AUDIO_SYNC_START_STOP_EVENTID);
  5699. #define WMITLV_TABLE_WMI_VDEV_AUDIO_SYNC_Q_MASTER_SLAVE_OFFSET_EVENTID(id, op, buf, len) \
  5700. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_audio_sync_q_master_slave_offset_event_fixed_param, wmi_audio_sync_q_master_slave_offset_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5701. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_audio_sync_q_master_slave_times, audio_sync_q_master_slave_times, WMITLV_SIZE_VAR)
  5702. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_AUDIO_SYNC_Q_MASTER_SLAVE_OFFSET_EVENTID);
  5703. /* Layout of WMI_REPORT_STATS_EVENTID message:
  5704. * fixed_param;
  5705. * wmi_chan_cca_stats chan_cca_stats[]; Array length is specified by num_chan_cca_stats
  5706. * wmi_peer_signal_stats peer_signal_stats[]; Array length is specified by num_peer_signal_stats
  5707. * wmi_peer_ac_tx_stats peer_ac_tx_stats[]; Array length is specified by num_peer_ac_tx_stats
  5708. * wmi_tx_stats tx_stats[][]; Array length is num_peer_ac_tx_stats * WLAN_MAX_AC, array index is (peer_index * WLAN_MAX_AC + ac_index)
  5709. * A_UINT32 tx_mpdu_aggr[][][]; Array length is num_peer_ac_tx_stats * WLAN_MAX_AC * tx_mpdu_aggr_array_len,
  5710. * array index is (peer_index * WLAN_MAX_AC + ac_index) * tx_mpdu_aggr_array_len + A-MPDU size index
  5711. * Contains a histogram of how many A-MPDUs of a given size (i.e. number of MPDUs) have been transmitted.
  5712. * Element 0 contains the number of PPDUs with a single-MPDU A-MPDU.
  5713. * Element 1 contains the number of PPDUs with 2 MPDUs.
  5714. * Element 2 contains the number of PPDUs with 3 MPDUs.
  5715. * Element tx_mpdu_aggr_array_len-1 contains the number of PPDUs with >= tx_mpdu_aggr_array_len MPDUs.
  5716. * A_UINT32 tx_succ_mcs[][][]; Array length is num_peer_ac_tx_stats * WLAN_MAX_AC * tx_succ_mcs_array_len,
  5717. * array index is (peer_index * WLAN_MAX_AC + ac_index) * tx_succ_mcs_array_len + MCS index
  5718. * Contains a count of how many tx PPDUs have been acked for each MCS of each AC of each peer.
  5719. * A_UINT32 tx_fail_mcs[][][]; Array length is num_peer_ac_tx_stats * WLAN_MAX_AC * tx_fail_mcs_array_len,
  5720. * array index is (peer_index * WLAN_MAX_AC + ac_index) * tx_fail_mcs_array_len + MCS index
  5721. * Contains a count of how many PPDUs failed tx due to no ack for each MCS of each AC of each peer.
  5722. * A_UINT32 tx_ppdu_delay[][][]; Array length is num_peer_ac_tx_stats * WLAN_MAX_AC * tx_ppdu_delay_array_len,
  5723. * array index is (peer_index * WLAN_MAX_AC + ac_index) * tx_ppdu_delay_array_len + delay index
  5724. * Contains a histogram of how many PPDUs encountered each level of delay due to retries or air interface contention.
  5725. * The time represented by each array element (i.e. histogram bin) is specified by tx_ppdu_delay_bin_size_ms.
  5726. * Element 0 contains the count of PPDUs delayed by less than tx_ppdu_delay_bin_size_ms.
  5727. * Element 1 contains the count of PPDUs delayed by more than 1x tx_ppdu_delay_bin_size_ms but less than 2x.
  5728. * Element tx_ppdu_delay_array_len-1 contains the count of PPDUs delayed by
  5729. * >= tx_ppdu_delay_bin_size_ms * (tx_ppdu_delay_array_len-1)
  5730. * wmi_peer_ac_rx_stats peer_ac_rx_stats[]; Array length is specified by num_peer_ac_rx_stats
  5731. * wmi_rx_stats rx_stats[][]; Array length is num_peer_ac_rx_stats * WLAN_MAX_AC, array index is (peer_index * WLAN_MAX_AC + ac_index)
  5732. * A_UINT32 rx_mpdu_aggr[][][]; Array length is num_peer_ac_rx_stats * WLAN_MAX_AC * rx_mpdu_aggr_array_len,
  5733. * array index is (peer_index * WLAN_MAX_AC + ac_index) * rx_mpdu_aggr_array_len + A-MPDU size index
  5734. * Contains a histogram of how many A-MPDUs of a given size (i.e. number of MPDUs) have been received.
  5735. * Element 0 contains the number of PPDUs with a single MPDU.
  5736. * Element 1 contains the number of PPDUs with 2 MPDUs.
  5737. * Element 2 contains the number of PPDUs with 3 MPDUs.
  5738. * Element rx_mpdu_aggr_array_len-1 contains the number of PPDUs with >= rx_mpdu_aggr_array_len MPDUs.
  5739. * A_UINT32 rx_mcs[][][]; Array length is (num_peer_ac_rx_stats * WLAN_MAX_AC) * rx_mcs_array_len,
  5740. * array index is (peer_index * WLAN_MAX_AC + ac_index) * rx_mcs_array_len + MCS index
  5741. * Contains a count of rx PPDUs for each MCS of each AC of each peer.
  5742. * wmi_stats_period stats_period[]; Array length is specified by stats_period_array_len
  5743. * wmi_stats_interference stats_interference[]; Array length is determied by dividing array level TLV header's length value by array-element TLV header's length value.
  5744. *
  5745. * For example, if there were 2 peers (X and Y) whose stats were being reported,
  5746. * the message and its TLV arrays would look like this:
  5747. * 1. fixed_param
  5748. * 2. chan_cca_stats[0]
  5749. * 3. peer_signal_stats[0] for peer X
  5750. * 4. peer_signal_stats[1] for peer Y
  5751. * 5. peer_ac_tx_stats[0] for X
  5752. * 6. peer_ac_tx_stats[1] for Y
  5753. * 7. tx_stats[0][0] for peer X, AC 0
  5754. * 8. tx_stats[0][1] for peer X, AC 1
  5755. * 9. tx_stats[0][2] for peer X, AC 2
  5756. * 10. tx_stats[0][3] for peer X, AC 3
  5757. * 11. tx_stats[1][0] for peer Y, AC 0
  5758. * 12 tx_stats[1][1] for peer Y, AC 1
  5759. * 13. tx_stats[1][2] for peer Y, AC 2
  5760. * 14. tx_stats[1][3] for peer Y, AC 3
  5761. * 15. tx_mpdu_aggr[0][0][] for peer X, AC 0
  5762. * 16. tx_mpdu_aggr[0][1][] for peer X, AC 1
  5763. * 17. tx_mpdu_aggr[0][2][] for peer X, AC 2
  5764. * 18. tx_mpdu_aggr[0][3][] for peer X, AC 3
  5765. * 19. tx_mpdu_aggr[1][0][] for peer Y, AC 0
  5766. * 20. tx_mpdu_aggr[1][1][] for peer Y, AC 1
  5767. * 21. tx_mpdu_aggr[1][2][] for peer Y, AC 2
  5768. * 22. tx_mpdu_aggr[1][3][] for peer Y, AC 3
  5769. * 23. tx_succ_mcs[0][0][] for peer X, AC 0
  5770. * 24. tx_succ_mcs[0][1][] for peer X, AC 1
  5771. * 25. tx_succ_mcs[0][2][] for peer X, AC 2
  5772. * 26. tx_succ_mcs[0][3][] for peer X, AC 3
  5773. * 27. tx_succ_mcs[1][0][] for peer Y, AC 0
  5774. * 28. tx_succ_mcs[1][1][] for peer Y, AC 1
  5775. * 29. tx_succ_mcs[1][2][] for peer Y, AC 2
  5776. * 30. tx_succ_mcs[1][3][] for peer Y, AC 3
  5777. * 31. tx_fail_mcs[0][0][] for peer X, AC 0
  5778. * 32. tx_fail_mcs[0][1][] for peer X, AC 1
  5779. * 33. tx_fail_mcs[0][2][] for peer X, AC 2
  5780. * 34. tx_fail_mcs[0][3][] for peer X, AC 3
  5781. * 35. tx_fail_mcs[1][0][] for peer Y, AC 0
  5782. * 36. tx_fail_mcs[1][1][] for peer Y, AC 1
  5783. * 37. tx_fail_mcs[1][2][] for peer Y, AC 2
  5784. * 38. tx_fail_mcs[1][3][] for peer Y, AC 3
  5785. * 39. tx_ppdu_delay[0][0][] for peer X, AC 0
  5786. * 40. tx_ppdu_delay[0][1][] for peer X, AC 1
  5787. * 41. tx_ppdu_delay[0][2][] for peer X, AC 2
  5788. * 42. tx_ppdu_delay[0][3][] for peer X, AC 3
  5789. * 43. tx_ppdu_delay[1][0][] for peer Y, AC 0
  5790. * 44. tx_ppdu_delay[1][1][] for peer Y, AC 1
  5791. * 45. tx_ppdu_delay[1][2][] for peer Y, AC 2
  5792. * 46. tx_ppdu_delay[1][3][] for peer Y, AC 3
  5793. * 47. peer_ac_rx_stats[0] for X
  5794. * 48. peer_ac_rx_stats[1] for Y
  5795. * 49. rx_stats[0][0] for peer X, AC 0
  5796. * 50. rx_stats[0][1] for peer X, AC 1
  5797. * 51. rx_stats[0][2] for peer X, AC 2
  5798. * 52. rx_stats[0][3] for peer X, AC 3
  5799. * 53. rx_stats[1][0] for peer Y, AC 0
  5800. * 54. rx_stats[1][1] for peer Y, AC 1
  5801. * 55. rx_stats[1][2] for peer Y, AC 2
  5802. * 56. rx_stats[1][3] for peer Y, AC 3
  5803. * 57. rx_mpdu_aggr[0][0][] for peer X, AC 0
  5804. * 58. rx_mpdu_aggr[0][1][] for peer X, AC 1
  5805. * 59. rx_mpdu_aggr[0][2][] for peer X, AC 2
  5806. * 60. rx_mpdu_aggr[0][3][] for peer X, AC 3
  5807. * 61. rx_mpdu_aggr[1][0][] for peer Y, AC 0
  5808. * 62. rx_mpdu_aggr[1][1][] for peer Y, AC 1
  5809. * 63. rx_mpdu_aggr[1][2][] for peer Y, AC 2
  5810. * 64. rx_mpdu_aggr[1][3][] for peer Y, AC 3
  5811. * 65. rx_mcs[0][0][] for peer X, AC 0
  5812. * 66. rx_mcs[0][1][] for peer X, AC 1
  5813. * 67. rx_mcs[0][2][] for peer X, AC 2
  5814. * 68. rx_mcs[0][3][] for peer X, AC 3
  5815. * 69. rx_mcs[1][0][] for peer Y, AC 0
  5816. * 70. rx_mcs[1][1][] for peer Y, AC 1
  5817. * 71. rx_mcs[1][2][] for peer Y, AC 2
  5818. * 72. rx_mcs[1][3][] for peer Y, AC 3
  5819. **/
  5820. #define WMITLV_TABLE_WMI_REPORT_STATS_EVENTID(id, op, buf, len) \
  5821. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_report_stats_event_fixed_param, wmi_report_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5822. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_chan_cca_stats, chan_cca_stats, WMITLV_SIZE_VAR) \
  5823. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_signal_stats, peer_signal_stats, WMITLV_SIZE_VAR) \
  5824. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_ac_tx_stats, peer_ac_tx_stats, WMITLV_SIZE_VAR) \
  5825. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tx_stats, tx_stats, WMITLV_SIZE_VAR) \
  5826. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_mpdu_aggr, WMITLV_SIZE_VAR) \
  5827. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_succ_mcs, WMITLV_SIZE_VAR) \
  5828. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_fail_mcs, WMITLV_SIZE_VAR) \
  5829. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_ppdu_delay, WMITLV_SIZE_VAR) \
  5830. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_ac_rx_stats, peer_ac_rx_stats, WMITLV_SIZE_VAR) \
  5831. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rx_stats, rx_stats, WMITLV_SIZE_VAR) \
  5832. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, rx_mpdu_aggr, WMITLV_SIZE_VAR) \
  5833. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, rx_mcs, WMITLV_SIZE_VAR) \
  5834. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_stats_period, stats_period, WMITLV_SIZE_VAR) \
  5835. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_stats_interference, stats_interference, WMITLV_SIZE_VAR)
  5836. WMITLV_CREATE_PARAM_STRUC(WMI_REPORT_STATS_EVENTID);
  5837. #define WMITLV_TABLE_WMI_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENTID(id, op, buf, len) \
  5838. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_vdev_encrypt_decrypt_data_resp_event_fixed_param, wmi_vdev_encrypt_decrypt_data_resp_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5839. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, enc80211_frame, WMITLV_SIZE_VAR)
  5840. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENTID);
  5841. #define WMITLV_TABLE_WMI_PEER_STATS_INFO_EVENTID(id, op, buf, len) \
  5842. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_stats_info_event_fixed_param, wmi_peer_stats_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5843. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_stats_info, peer_stats_info, WMITLV_SIZE_VAR) \
  5844. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_rate_counts, WMITLV_SIZE_VAR) \
  5845. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, rx_rate_counts, WMITLV_SIZE_VAR)
  5846. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STATS_INFO_EVENTID);
  5847. /* Update Control Path stats event */
  5848. #define WMITLV_TABLE_WMI_CTRL_PATH_STATS_EVENTID(id, op, buf, len) \
  5849. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ctrl_path_stats_event_fixed_param, wmi_ctrl_path_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5850. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_pdev_stats_struct, ctrl_path_pdev_stats, WMITLV_SIZE_VAR) \
  5851. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_extd_stats, vdev_extd_stats, WMITLV_SIZE_VAR) \
  5852. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_mem_stats_struct, ctrl_path_mem_stats, WMITLV_SIZE_VAR) \
  5853. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_twt_stats_struct, ctrl_path_twt_stats, WMITLV_SIZE_VAR) \
  5854. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_calibration_stats_struct, ctrl_path_calibration_stats, WMITLV_SIZE_VAR) \
  5855. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_dfs_channel_stats_struct, ctrl_path_dfs_channel_stats, WMITLV_SIZE_VAR) \
  5856. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_awgn_stats_struct, ctrl_path_awgn_stats, WMITLV_SIZE_VAR) \
  5857. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_btcoex_stats_struct, ctrl_path_btcoex_stats, WMITLV_SIZE_VAR) \
  5858. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_bmiss_stats_struct, ctrl_path_bmiss_stats, WMITLV_SIZE_VAR) \
  5859. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_odd_addr_read_struct, ctrl_path_odd_addr_read, WMITLV_SIZE_VAR) \
  5860. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_afc_stats_struct, ctrl_path_afc_stats, WMITLV_SIZE_VAR) \
  5861. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_pmlo_stats_struct, ctrl_path_pmlo_stats, WMITLV_SIZE_VAR) \
  5862. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_cfr_stats_struct, ctrl_path_cfr_stats, WMITLV_SIZE_VAR) \
  5863. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_t2lm_stats_struct, ctrl_path_t2lm_stats, WMITLV_SIZE_VAR) \
  5864. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_blanking_stats_struct, ctrl_path_blanking_stats, WMITLV_SIZE_VAR) \
  5865. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_peer_stats_struct, ctrl_path_peer_stats, WMITLV_SIZE_VAR)
  5866. WMITLV_CREATE_PARAM_STRUC(WMI_CTRL_PATH_STATS_EVENTID);
  5867. /*
  5868. * Update HALPHY Control Path stats event
  5869. * Below definition shows TLV packing of HALPHY ctrl path event
  5870. * Special Patch code is needed on host side to have compatible
  5871. * HOST Endianness
  5872. */
  5873. #define WMITLV_TABLE_WMI_HALPHY_CTRL_PATH_STATS_EVENTID(id, op, buf, len) \
  5874. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_halphy_ctrl_path_stats_event_fixed_param, wmi_halphy_ctrl_path_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5875. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tpc_configs, tpc_configs, WMITLV_SIZE_VAR) \
  5876. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_max_reg_power_allowed, regulatory_power, WMITLV_SIZE_VAR) \
  5877. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_INT16, A_INT16, reg_buf, WMITLV_SIZE_VAR) \
  5878. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tpc_rates_array, tpc_rates, WMITLV_SIZE_VAR) \
  5879. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_INT16, A_UINT16, rates_buf, WMITLV_SIZE_VAR) \
  5880. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tpc_ctl_pwr_table, ctl_power, WMITLV_SIZE_VAR) \
  5881. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, ctl_buf, WMITLV_SIZE_VAR)
  5882. WMITLV_CREATE_PARAM_STRUC(WMI_HALPHY_CTRL_PATH_STATS_EVENTID);
  5883. #define WMITLV_TABLE_WMI_RADIO_CHAN_STATS_EVENTID(id, op, buf, len) \
  5884. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_radio_chan_stats_event_fixed_param, wmi_radio_chan_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5885. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_radio_chan_stats, radio_chan_stats, WMITLV_SIZE_VAR)
  5886. WMITLV_CREATE_PARAM_STRUC(WMI_RADIO_CHAN_STATS_EVENTID);
  5887. #define WMITLV_TABLE_WMI_PKGID_EVENTID(id, op, buf, len) \
  5888. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_pkgid_event_fixed_param, wmi_pkgid_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5889. WMITLV_CREATE_PARAM_STRUC(WMI_PKGID_EVENTID);
  5890. /* mac randomization event */
  5891. #define WMITLV_TABLE_WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENTID(id,op,buf,len) \
  5892. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_add_mac_addr_to_rx_filter_status_event_fixed_param, wmi_vdev_add_mac_addr_to_rx_filter_status_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5893. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENTID);
  5894. #define WMITLV_TABLE_WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID(id,op,buf,len) \
  5895. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_csa_switch_count_status_event_fixed_param, wmi_pdev_csa_switch_count_status_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5896. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids, WMITLV_SIZE_VAR)
  5897. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID);
  5898. #define WMITLV_TABLE_WMI_PDEV_CSC_SWITCH_COUNT_STATUS_EVENTID(id,op,buf,len) \
  5899. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_csc_switch_count_status_event_fixed_param, wmi_pdev_csc_switch_count_status_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5900. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_csc_vdev_list, vdev_info, WMITLV_SIZE_VAR)
  5901. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CSC_SWITCH_COUNT_STATUS_EVENTID);
  5902. /* cal version response event */
  5903. #define WMITLV_TABLE_WMI_PDEV_CHECK_CAL_VERSION_EVENTID(id,op,buf,len) \
  5904. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_check_cal_version_event_fixed_param, wmi_pdev_check_cal_version_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5905. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHECK_CAL_VERSION_EVENTID);
  5906. /* ARP stats response event */
  5907. #define WMITLV_TABLE_WMI_VDEV_GET_ARP_STAT_EVENTID(id,op,buf,len) \
  5908. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_get_arp_stats_event_fixed_param, wmi_vdev_get_arp_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5909. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_get_connectivity_check_stats, connectivity_check_stats, WMITLV_SIZE_VAR)
  5910. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_ARP_STAT_EVENTID);
  5911. /* Coex BT activity response event */
  5912. #define WMITLV_TABLE_WMI_WLAN_COEX_BT_ACTIVITY_EVENTID(id,op,buf,len) \
  5913. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_coex_bt_activity_event_fixed_param, wmi_coex_bt_activity_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5914. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_COEX_BT_ACTIVITY_EVENTID);
  5915. /* Thermal Throttling stats event */
  5916. #define WMITLV_TABLE_WMI_THERM_THROT_STATS_EVENTID(id,op,buf,len) \
  5917. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_therm_throt_stats_event_fixed_param, wmi_therm_throt_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5918. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_therm_throt_level_stats_info, therm_throt_level_stats_info, WMITLV_SIZE_VAR) \
  5919. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_thermal_throt_temp_range_stats, temp_range_stats, WMITLV_SIZE_VAR)
  5920. WMITLV_CREATE_PARAM_STRUC(WMI_THERM_THROT_STATS_EVENTID);
  5921. #define WMITLV_TABLE_WMI_PDEV_DMA_RING_CFG_RSP_EVENTID(id,op,buf,len) \
  5922. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dma_ring_cfg_rsp_fixed_param, wmi_dma_ring_cfg_rsp_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5923. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DMA_RING_CFG_RSP_EVENTID);
  5924. /* dma buffer release event */
  5925. #define WMITLV_TABLE_WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID(id,op,buf,len) \
  5926. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dma_buf_release_fixed_param, wmi_dma_buf_release_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5927. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dma_buf_release_entry, entries, WMITLV_SIZE_VAR) \
  5928. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dma_buf_release_spectral_meta_data, meta_data, WMITLV_SIZE_VAR) \
  5929. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dma_buf_release_cv_upload_meta_data, cv_meta_data, WMITLV_SIZE_VAR)
  5930. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID);
  5931. /* ctl failsafe check event */
  5932. #define WMITLV_TABLE_WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID(id,op,buf,len) \
  5933. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_ctl_failsafe_check_fixed_param, wmi_pdev_ctl_failsafe_check_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5934. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID);
  5935. /* UNIT-TEST Event */
  5936. #define WMITLV_TABLE_WMI_UNIT_TEST_EVENTID(id,op,buf,len) \
  5937. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_unit_test_event_fixed_param, wmi_unit_test_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5938. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  5939. WMITLV_CREATE_PARAM_STRUC(WMI_UNIT_TEST_EVENTID);
  5940. /* enabling TWT complete Event */
  5941. #define WMITLV_TABLE_WMI_TWT_ENABLE_COMPLETE_EVENTID(id,op,buf,len) \
  5942. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_enable_complete_event_fixed_param, wmi_twt_enable_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5943. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_ENABLE_COMPLETE_EVENTID);
  5944. /* disabling TWT complete Event */
  5945. #define WMITLV_TABLE_WMI_TWT_DISABLE_COMPLETE_EVENTID(id,op,buf,len) \
  5946. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_disable_complete_event_fixed_param, wmi_twt_disable_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5947. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_DISABLE_COMPLETE_EVENTID);
  5948. /* adding TWT dialog complete Event */
  5949. #define WMITLV_TABLE_WMI_TWT_ADD_DIALOG_COMPLETE_EVENTID(id,op,buf,len) \
  5950. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_add_dialog_complete_event_fixed_param, wmi_twt_add_dialog_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5951. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_twt_add_dialog_additional_params, twt_params, WMITLV_SIZE_VAR)
  5952. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_ADD_DIALOG_COMPLETE_EVENTID);
  5953. /* deleting TWT dialog complete Event */
  5954. #define WMITLV_TABLE_WMI_TWT_DEL_DIALOG_COMPLETE_EVENTID(id,op,buf,len) \
  5955. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_del_dialog_complete_event_fixed_param, wmi_twt_del_dialog_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5956. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_DEL_DIALOG_COMPLETE_EVENTID);
  5957. /* pausing TWT dialog complete Event */
  5958. #define WMITLV_TABLE_WMI_TWT_PAUSE_DIALOG_COMPLETE_EVENTID(id,op,buf,len) \
  5959. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_pause_dialog_complete_event_fixed_param, wmi_twt_pause_dialog_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5960. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_PAUSE_DIALOG_COMPLETE_EVENTID);
  5961. /* resuming TWT dialog complete Event */
  5962. #define WMITLV_TABLE_WMI_TWT_RESUME_DIALOG_COMPLETE_EVENTID(id,op,buf,len) \
  5963. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_resume_dialog_complete_event_fixed_param, wmi_twt_resume_dialog_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5964. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_RESUME_DIALOG_COMPLETE_EVENTID);
  5965. /* nudging TWT dialog complete Event */
  5966. #define WMITLV_TABLE_WMI_TWT_NUDGE_DIALOG_COMPLETE_EVENTID(id,op,buf,len) \
  5967. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_nudge_dialog_complete_event_fixed_param, wmi_twt_nudge_dialog_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5968. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_NUDGE_DIALOG_COMPLETE_EVENTID);
  5969. /* inviting STA to B-TWT dialog complete Event */
  5970. #define WMITLV_TABLE_WMI_TWT_BTWT_INVITE_STA_COMPLETE_EVENTID(id,op,buf,len) \
  5971. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_btwt_invite_sta_complete_event_fixed_param, wmi_twt_btwt_invite_sta_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5972. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_BTWT_INVITE_STA_COMPLETE_EVENTID);
  5973. /* removing STA from B-TWT dialog complete Event */
  5974. #define WMITLV_TABLE_WMI_TWT_BTWT_REMOVE_STA_COMPLETE_EVENTID(id,op,buf,len) \
  5975. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_btwt_remove_sta_complete_event_fixed_param, wmi_twt_btwt_remove_sta_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5976. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_BTWT_REMOVE_STA_COMPLETE_EVENTID);
  5977. /* TWT Notify Event - for host to start new TWT setup */
  5978. #define WMITLV_TABLE_WMI_TWT_NOTIFY_EVENTID(id,op,buf,len) \
  5979. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_notify_event_fixed_param, wmi_twt_notify_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5980. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_NOTIFY_EVENTID);
  5981. /* TWT Ack Event - FW to send Ack Sync event for Host TWT Cmds */
  5982. #define WMITLV_TABLE_WMI_TWT_ACK_EVENTID(id,op,buf,len) \
  5983. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_twt_ack_event_fixed_param, wmi_twt_ack_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  5984. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_ACK_EVENTID);
  5985. /* Event to send roam scan stats */
  5986. #define WMITLV_TABLE_WMI_ROAM_SCAN_STATS_EVENTID(id,op,buf,len) \
  5987. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_scan_stats_event_fixed_param, wmi_roam_scan_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  5988. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, client_id, WMITLV_SIZE_VAR) \
  5989. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_roaming_timestamp, timestamp, WMITLV_SIZE_VAR) \
  5990. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, num_channels, WMITLV_SIZE_VAR) \
  5991. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, chan_info, WMITLV_SIZE_VAR) \
  5992. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, old_bssid, WMITLV_SIZE_VAR) \
  5993. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, is_roaming_success, WMITLV_SIZE_VAR) \
  5994. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, new_bssid, WMITLV_SIZE_VAR) \
  5995. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, num_roam_candidates, WMITLV_SIZE_VAR) \
  5996. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_roam_scan_trigger_reason, roam_reason, WMITLV_SIZE_VAR) \
  5997. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid, WMITLV_SIZE_VAR) \
  5998. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, score, WMITLV_SIZE_VAR) \
  5999. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel, WMITLV_SIZE_VAR) \
  6000. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, rssi, WMITLV_SIZE_VAR)
  6001. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_STATS_EVENTID);
  6002. /* Motion detection events */
  6003. #define WMITLV_TABLE_WMI_MOTION_DET_HOST_EVENTID(id,op,buf,len) \
  6004. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_motion_det_event, wmi_motion_det_event, fixed_param, WMITLV_SIZE_FIX)
  6005. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_HOST_EVENTID);
  6006. #define WMITLV_TABLE_WMI_MOTION_DET_BASE_LINE_HOST_EVENTID(id,op,buf,len) \
  6007. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_motion_det_base_line_event, wmi_motion_det_base_line_event, fixed_param, WMITLV_SIZE_FIX)
  6008. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_BASE_LINE_HOST_EVENTID);
  6009. #define WMITLV_TABLE_WMI_ESP_ESTIMATE_EVENTID(id,op,buf,len) \
  6010. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_esp_estimate_event_fixed_param, wmi_esp_estimate_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6011. WMITLV_CREATE_PARAM_STRUC(WMI_ESP_ESTIMATE_EVENTID);
  6012. /* Peer CFR capture event */
  6013. #define WMITLV_TABLE_WMI_PEER_CFR_CAPTURE_EVENTID(id,op,buf,len) \
  6014. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_fixed_param, wmi_peer_cfr_capture_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6015. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_phase_fixed_param, wmi_peer_cfr_capture_event_phase_fixed_param, phase_param, WMITLV_SIZE_FIX)
  6016. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CFR_CAPTURE_EVENTID);
  6017. #define WMITLV_TABLE_WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID(id,op,buf,len) \
  6018. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_cold_boot_cal_data_fixed_param, wmi_cold_boot_cal_data_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6019. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  6020. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID);
  6021. /* rogue ap info event */
  6022. #define WMITLV_TABLE_WMI_PDEV_RAP_INFO_EVENTID(id,op,buf,len) \
  6023. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_rap_info_event_fixed_param, wmi_pdev_rap_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6024. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_RAP_INFO_EVENTID);
  6025. /* sched tiqd suspended info event */
  6026. #define WMITLV_TABLE_WMI_PDEV_SCHED_TIDQ_SUSP_INFO_EVENTID(id,op,buf,len) \
  6027. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_sched_tidq_susp_info_event_fixed_param, wmi_pdev_sched_tidq_susp_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6028. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SCHED_TIDQ_SUSP_INFO_EVENTID);
  6029. /* Offload TX mgmt frames */
  6030. #define WMITLV_TABLE_WMI_VDEV_MGMT_OFFLOAD_EVENTID(id,op,buf,len) \
  6031. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_hdr, wmi_mgmt_hdr, fixed_param, WMITLV_SIZE_FIX) \
  6032. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  6033. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_MGMT_OFFLOAD_EVENTID);
  6034. /* get ELNA BYPASS status event */
  6035. #define WMITLV_TABLE_WMI_GET_ELNA_BYPASS_EVENTID(id,op,buf,len) \
  6036. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_get_elna_bypass_event_fixed_param, wmi_get_elna_bypass_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6037. WMITLV_CREATE_PARAM_STRUC(WMI_GET_ELNA_BYPASS_EVENTID);
  6038. /* channel ANI event */
  6039. #define WMITLV_TABLE_WMI_GET_CHANNEL_ANI_EVENTID(id,op,buf,len) \
  6040. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_get_channel_ani_event_fixed_param, wmi_get_channel_ani_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6041. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel_ani_info_tlv_param, ani_info, WMITLV_SIZE_VAR)
  6042. WMITLV_CREATE_PARAM_STRUC(WMI_GET_CHANNEL_ANI_EVENTID);
  6043. /* Multiple Vdev Restart response event */
  6044. #define WMITLV_TABLE_WMI_PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENTID(id,op,buf,len) \
  6045. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_restart_resp_event_fixed_param, wmi_pdev_multiple_vdev_restart_resp_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6046. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids_bitmap, WMITLV_SIZE_VAR)
  6047. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENTID);
  6048. /* Roam scan channel list event */
  6049. #define WMITLV_TABLE_WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID(id,op,buf,len) \
  6050. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_scan_channel_list_event_fixed_param, wmi_roam_scan_channel_list_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6051. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR)
  6052. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID);
  6053. /* VDEV_SEND_BIG_DATA_EVENT IS DEPRECATED - DO NOT USE */
  6054. #define WMITLV_TABLE_WMI_VDEV_SEND_BIG_DATA_EVENTID(id,op,buf,len) \
  6055. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_send_big_data_event_fixed_param, wmi_vdev_send_big_data_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6056. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SEND_BIG_DATA_EVENTID);
  6057. /* send BIG DATA event to host P2 */
  6058. #define WMITLV_TABLE_WMI_VDEV_SEND_BIG_DATA_P2_EVENTID(id,op,buf,len) \
  6059. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_send_big_data_p2_event_fixed_param, wmi_vdev_send_big_data_p2_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6060. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, bd_datapath_stats, WMITLV_SIZE_VAR) \
  6061. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_big_data_dp_stats_tlv_param, big_data_dp_stats, WMITLV_SIZE_VAR)
  6062. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SEND_BIG_DATA_P2_EVENTID);
  6063. #define WMITLV_TABLE_WMI_NAN_DMESG_EVENTID(id,op,buf,len) \
  6064. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nan_dmesg_event_fixed_param, wmi_nan_dmesg_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6065. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, msg, WMITLV_SIZE_VAR)
  6066. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_DMESG_EVENTID);
  6067. /* report soundbar statistics event to host */
  6068. #define WMITLV_TABLE_WMI_AUDIO_AGGR_REPORT_STATISTICS_EVENTID(id,op,buf,len) \
  6069. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_statistics_event_fixed_param, wmi_audio_aggr_statistics_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6070. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_audio_aggr_group_stats, group_stats, WMITLV_SIZE_VAR) \
  6071. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_audio_aggr_peer_stats, peer_stats, WMITLV_SIZE_VAR)
  6072. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_REPORT_STATISTICS_EVENTID);
  6073. #define WMITLV_TABLE_WMI_AUDIO_AGGR_SCHED_METHOD_EVENTID(id,op,buf,len) \
  6074. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_audio_aggr_sched_method_event_fixed_param, wmi_audio_aggr_sched_method_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6075. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SCHED_METHOD_EVENTID);
  6076. /* Send sscan fw params to host */
  6077. #define WMITLV_TABLE_WMI_PDEV_SSCAN_FW_PARAM_EVENTID(id,op,buf,len) \
  6078. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_sscan_fw_cmd_fixed_param, wmi_pdev_sscan_fw_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6079. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_sscan_fft_bin_index, fft_bin_index, WMITLV_SIZE_VAR) \
  6080. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_sscan_chan_info, wmi_pdev_sscan_chan_info,chan_info, WMITLV_SIZE_FIX) \
  6081. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_sscan_per_detector_info, det_info, WMITLV_SIZE_VAR)
  6082. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SSCAN_FW_PARAM_EVENTID);
  6083. /* Send sscan related event start/stop trigger to host */
  6084. #define WMITLV_TABLE_WMI_SSCAN_EVT_MESSAGE_EVENTID(id,op,buf,len) \
  6085. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sscan_evt_message_fixed_param, wmi_sscan_evt_message_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6086. WMITLV_CREATE_PARAM_STRUC(WMI_SSCAN_EVT_MESSAGE_EVENTID);
  6087. /* Roam capability report event */
  6088. #define WMITLV_TABLE_WMI_ROAM_CAPABILITY_REPORT_EVENTID(id,op,buf,len) \
  6089. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_capability_report_event_fixed_param, wmi_roam_capability_report_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6090. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_CAPABILITY_REPORT_EVENTID);
  6091. /* PDEV TPC STATS Event */
  6092. #define WMITLV_TABLE_WMI_PDEV_GET_TPC_STATS_EVENTID(id,op,buf,len) \
  6093. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_tpc_stats_event_fixed_param, wmi_pdev_get_tpc_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6094. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tpc_configs, tpc_configs, WMITLV_SIZE_VAR) \
  6095. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_max_reg_power_allowed, regulatory_power, WMITLV_SIZE_VAR) \
  6096. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_INT16, A_INT16, reg_buf, WMITLV_SIZE_VAR) \
  6097. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tpc_rates_array, tpc_rates, WMITLV_SIZE_VAR) \
  6098. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_INT16, A_UINT16, rates_buf, WMITLV_SIZE_VAR) \
  6099. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tpc_ctl_pwr_table, ctl_power, WMITLV_SIZE_VAR) \
  6100. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, ctl_buf, WMITLV_SIZE_VAR)
  6101. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TPC_STATS_EVENTID);
  6102. /* Send Bcn Latency ie related params to host */
  6103. #define WMITLV_TABLE_WMI_VDEV_BCN_LATENCY_EVENTID(id,op,buf,len) \
  6104. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_bcn_latency_fixed_param, wmi_vdev_bcn_latency_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6105. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_BCN_LATENCY_EVENTID);
  6106. /* Latency Level Event */
  6107. #define WMITLV_TABLE_WMI_VDEV_LATENCY_LEVEL_EVENTID(id,op,buf,len) \
  6108. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_latency_event_fixed_param, wmi_vdev_latency_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6109. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_LATENCY_LEVEL_EVENTID);
  6110. /* TWT Stats session event */
  6111. #define WMITLV_TABLE_WMI_TWT_SESSION_STATS_EVENTID(id,op,buf,len) \
  6112. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_twt_session_stats_event_fixed_param, wmi_pdev_twt_session_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6113. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_twt_session_stats_info, twt_sessions, WMITLV_SIZE_VAR)
  6114. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_SESSION_STATS_EVENTID);
  6115. /* TWT Stats session event */
  6116. #define WMITLV_TABLE_WMI_MLO_LINK_SET_ACTIVE_RESP_EVENTID(id,op,buf,len) \
  6117. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_link_set_active_resp_event_fixed_param, wmi_mlo_link_set_active_resp_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6118. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, force_active_vdev_bitmap, WMITLV_SIZE_VAR) \
  6119. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, force_inactive_vdev_bitmap, WMITLV_SIZE_VAR)
  6120. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_LINK_SET_ACTIVE_RESP_EVENTID);
  6121. /* Get DPD status Event */
  6122. #define WMITLV_TABLE_WMI_PDEV_GET_DPD_STATUS_EVENTID(id,op,buf,len) \
  6123. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_dpd_status_evt_fixed_param, wmi_pdev_get_dpd_status_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6124. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_DPD_STATUS_EVENTID);
  6125. /* AOA phase delta Event */
  6126. #define WMITLV_TABLE_WMI_PDEV_AOA_PHASEDELTA_EVENTID(id,op,buf,len) \
  6127. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_aoa_phasedelta_evt_fixed_param, wmi_pdev_aoa_phasedelta_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6128. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_AOA_PHASEDELTA_EVENTID);
  6129. /* Response event for MLO setup cmd */
  6130. #define WMITLV_TABLE_WMI_MLO_SETUP_COMPLETE_EVENTID(id,op,buf,len) \
  6131. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_setup_complete_event_fixed_param, wmi_mlo_setup_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6132. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_SETUP_COMPLETE_EVENTID);
  6133. /* Response event for MLO teardown cmd */
  6134. #define WMITLV_TABLE_WMI_MLO_TEARDOWN_COMPLETE_EVENTID(id,op,buf,len) \
  6135. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_teardown_complete_fixed_param, wmi_mlo_teardown_complete_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6136. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_TEARDOWN_COMPLETE_EVENTID);
  6137. /* Send Smart Monitor related params to host */
  6138. #define WMITLV_TABLE_WMI_VDEV_SMART_MONITOR_EVENTID(id,op,buf,len) \
  6139. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_smart_monitor_event_fixed_param, wmi_vdev_smart_monitor_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6140. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SMART_MONITOR_EVENTID);
  6141. /* Get Calibration status Event */
  6142. #define WMITLV_TABLE_WMI_PDEV_GET_HALPHY_CAL_STATUS_EVENTID(id,op,buf,len) \
  6143. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_halphy_cal_status_evt_fixed_param, wmi_pdev_get_halphy_cal_status_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6144. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_HALPHY_CAL_STATUS_EVENTID);
  6145. /* Set halphy cal bmap Event */
  6146. #define WMITLV_TABLE_WMI_PDEV_SET_HALPHY_CAL_BMAP_EVENTID(id,op,buf,len) \
  6147. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_halphy_cal_bmap_evt_fixed_param, wmi_pdev_set_halphy_cal_bmap_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6148. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_HALPHY_CAL_BMAP_EVENTID);
  6149. /* Update vdev mac address conf event to host */
  6150. #define WMITLV_TABLE_WMI_VDEV_UPDATE_MAC_ADDR_CONF_EVENTID(id,op,buf,len) \
  6151. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_update_mac_addr_conf_event_fixed_param, wmi_vdev_update_mac_addr_conf_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6152. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_UPDATE_MAC_ADDR_CONF_EVENTID);
  6153. /* Set the WMI Quiet handling EventID */
  6154. #define WMITLV_TABLE_WMI_QUIET_HANDLING_EVENTID(id,op,buf,len)\
  6155. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_quiet_event_fixed_param, wmi_quiet_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6156. WMITLV_CREATE_PARAM_STRUC(WMI_QUIET_HANDLING_EVENTID);
  6157. /* Resmgr Channel Time Quota changed event */
  6158. #define WMITLV_TABLE_WMI_RESMGR_CHAN_TIME_QUOTA_CHANGED_EVENTID(id,op,buf,len) \
  6159. WMITLV_ELEM(id,op,buf,len, \
  6160. WMITLV_TAG_STRUC_wmi_resmgr_chan_time_quota_changed_event_fixed_param, \
  6161. wmi_resmgr_chan_time_quota_changed_event_fixed_param, \
  6162. fixed_param, WMITLV_SIZE_FIX) \
  6163. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_resmgr_chan_time_quota_tlv, chan_quota, WMITLV_SIZE_VAR)
  6164. WMITLV_CREATE_PARAM_STRUC(WMI_RESMGR_CHAN_TIME_QUOTA_CHANGED_EVENTID);
  6165. /* PDev Packet Log Decode Info Event */
  6166. #define WMITLV_TABLE_WMI_PDEV_PKTLOG_DECODE_INFO_EVENTID(id,op,buf,len) \
  6167. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_pktlog_decode_info_evt_fixed_param, wmi_pdev_pktlog_decode_info_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6168. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_PKTLOG_DECODE_INFO_EVENTID);
  6169. /* RTT 11az PASN peer create request event */
  6170. #define WMITLV_TABLE_WMI_RTT_PASN_PEER_CREATE_REQ_EVENTID(id,op,buf,len) \
  6171. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rtt_pasn_peer_create_req_event_fixed_param, \
  6172. wmi_rtt_pasn_peer_create_req_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6173. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rtt_pasn_peer_create_req_param, rtt_pasn_peer_param, WMITLV_SIZE_VAR)
  6174. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_PASN_PEER_CREATE_REQ_EVENTID);
  6175. /* RTT 11az PASN peer delete event */
  6176. #define WMITLV_TABLE_WMI_RTT_PASN_PEER_DELETE_EVENTID(id,op,buf,len) \
  6177. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rtt_pasn_peer_delete_event_fixed_param, \
  6178. wmi_rtt_pasn_peer_delete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6179. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rtt_pasn_peer_delete_param, rtt_pasn_peer_param, WMITLV_SIZE_VAR)
  6180. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_PASN_PEER_DELETE_EVENTID);
  6181. /* Available PMM scratch registers event */
  6182. #define WMITLV_TABLE_WMI_PMM_AVAILABLE_SCRATCH_REG_EVENTID(id,op,buf,len) \
  6183. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pmm_available_scratch_reg_event_fixed_param, wmi_pmm_available_scratch_reg_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6184. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pmm_available_scratch_reg_info, pmm_available_scratch_reg_info, WMITLV_SIZE_VAR)
  6185. WMITLV_CREATE_PARAM_STRUC(WMI_PMM_AVAILABLE_SCRATCH_REG_EVENTID);
  6186. /* Allocate PMM scratch registers event */
  6187. #define WMITLV_TABLE_WMI_PMM_SCRATCH_REG_ALLOCATION_COMPLETE_EVENTID(id,op,buf,len) \
  6188. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pmm_scratch_reg_allocation_complete_event_fixed_param, wmi_pmm_scratch_reg_allocation_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6189. WMITLV_CREATE_PARAM_STRUC(WMI_PMM_SCRATCH_REG_ALLOCATION_COMPLETE_EVENTID);
  6190. /* COAP buffer info event */
  6191. #define WMITLV_TABLE_WMI_WOW_COAP_BUF_INFO_EVENTID(id,op,buf,len) \
  6192. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_WOW_COAP_BUF_INFO_EVENT_fixed_param, WMI_WOW_COAP_BUF_INFO_EVENT_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6193. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_coap_tuple, coap_tuple, WMITLV_SIZE_VAR) \
  6194. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, payloads, WMITLV_SIZE_VAR)
  6195. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_COAP_BUF_INFO_EVENTID);
  6196. /* coex dbam cmd complete event */
  6197. #define WMITLV_TABLE_WMI_COEX_DBAM_COMPLETE_EVENTID(id,op,buf,len) \
  6198. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_coex_dbam_complete_event_fixed_param, wmi_coex_dbam_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6199. WMITLV_CREATE_PARAM_STRUC(WMI_COEX_DBAM_COMPLETE_EVENTID);
  6200. /* coex TAS power history cmd complete event */
  6201. #define WMITLV_TABLE_WMI_TAS_POWER_HISTORY_EVENTID(id,op,buf,len) \
  6202. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tas_power_history_event_fixed_param, wmi_tas_power_history_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6203. WMITLV_CREATE_PARAM_STRUC(WMI_TAS_POWER_HISTORY_EVENTID);
  6204. #define WMITLV_TABLE_WMI_HEALTH_MON_INIT_DONE_EVENTID(id,op,buf,len) \
  6205. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_health_mon_init_done_fixed_param, wmi_health_mon_init_done_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6206. WMITLV_CREATE_PARAM_STRUC(WMI_HEALTH_MON_INIT_DONE_EVENTID);
  6207. /* xGAP enable cmd complete event */
  6208. #define WMITLV_TABLE_WMI_XGAP_ENABLE_COMPLETE_EVENTID(id,op,buf,len) \
  6209. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_xgap_enable_complete_event_fixed_param, wmi_xgap_enable_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6210. WMITLV_CREATE_PARAM_STRUC(WMI_XGAP_ENABLE_COMPLETE_EVENTID);
  6211. /* ODD Livedump */
  6212. #define WMITLV_TABLE_WMI_ODD_LIVEDUMP_RESPONSE_EVENTID(id,op,buf,len) \
  6213. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_livedump_response_event_fixed_param, wmi_livedump_response_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6214. WMITLV_CREATE_PARAM_STRUC(WMI_ODD_LIVEDUMP_RESPONSE_EVENTID);
  6215. #define WMITLV_TABLE_WMI_MLO_LINK_REMOVAL_CMDID(id,op,buf,len) \
  6216. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_link_removal_cmd_fixed_param, wmi_mlo_link_removal_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6217. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, reconfig_ml_ie, WMITLV_SIZE_VAR)
  6218. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_LINK_REMOVAL_CMDID);
  6219. #define WMITLV_TABLE_WMI_MLO_LINK_REMOVAL_EVENTID(id,op,buf,len) \
  6220. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_link_removal_evt_fixed_param, wmi_mlo_link_removal_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6221. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_link_removal_tbtt_update, wmi_mlo_link_removal_tbtt_update, tbtt_update, WMITLV_SIZE_FIX)
  6222. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_LINK_REMOVAL_EVENTID);
  6223. /* WMI MLO T2LM Vdev event */
  6224. #define WMITLV_TABLE_WMI_MLO_AP_VDEV_TID_TO_LINK_MAP_EVENTID(id,op,buf,len) \
  6225. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_ap_vdev_tid_to_link_map_evt_fixed_param, wmi_mlo_ap_vdev_tid_to_link_map_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6226. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_AP_VDEV_TID_TO_LINK_MAP_EVENTID);
  6227. /* HPA Event */
  6228. #define WMITLV_TABLE_WMI_HPA_EVENTID(id,op,buf,len) \
  6229. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hpa_evt_fixed_param, wmi_hpa_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6230. WMITLV_CREATE_PARAM_STRUC(WMI_HPA_EVENTID);
  6231. /* WMI target rate to power table return status event */
  6232. #define WMITLV_TABLE_WMI_PDEV_SET_TGTR2P_TABLE_EVENTID(id,op,buf,len) \
  6233. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_tgtr2p_table_event_fixed_param, wmi_pdev_set_tgtr2p_table_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6234. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_TGTR2P_TABLE_EVENTID);
  6235. /* CSA IE Received Event */
  6236. #define WMITLV_TABLE_WMI_CSA_IE_RECEIVED_EVENTID(id,op,buf,len)\
  6237. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_csa_event_fixed_param, wmi_csa_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6238. WMITLV_CREATE_PARAM_STRUC(WMI_CSA_IE_RECEIVED_EVENTID);
  6239. #define WMITLV_TABLE_WMI_MLO_VDEV_LINK_INFO_EVENTID(id,op,buf,len) \
  6240. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_vdev_link_info_event_fixed_param, wmi_mlo_vdev_link_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6241. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mlo_vdev_link_info, mlo_vdev_link_info, WMITLV_SIZE_VAR)
  6242. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_VDEV_LINK_INFO_EVENTID);
  6243. /* Manual UL OFDMA Trigger Feedback Event */
  6244. #define WMITLV_TABLE_WMI_MANUAL_UL_OFDMA_TRIG_FEEDBACK_EVENTID(id,op,buf,len) \
  6245. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_manual_ul_ofdma_trig_feedback_evt_fixed_param, wmi_manual_ul_ofdma_trig_feedback_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6246. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, peer_macaddr, WMITLV_SIZE_VAR)
  6247. WMITLV_CREATE_PARAM_STRUC(WMI_MANUAL_UL_OFDMA_TRIG_FEEDBACK_EVENTID);
  6248. /* WMI standalone sound complete event */
  6249. #define WMITLV_TABLE_WMI_VDEV_STANDALONE_SOUND_COMPLETE_EVENTID(id,op,buf,len) \
  6250. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_standalone_sounding_evt_fixed_param, wmi_standalone_sounding_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6251. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, snd_failed, WMITLV_SIZE_VAR)
  6252. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_STANDALONE_SOUND_COMPLETE_EVENTID);
  6253. /* Manual UL OFDMA Trigger RX PPDU Per user info Event */
  6254. #define WMITLV_TABLE_WMI_MANUAL_UL_OFDMA_TRIG_RX_PEER_USERINFO_EVENTID(id,op,buf,len) \
  6255. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_manual_ul_ofdma_trig_rx_peer_userinfo_evt_fixed_param, wmi_manual_ul_ofdma_trig_rx_peer_userinfo_evt_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  6256. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_manual_ul_ofdma_trig_rx_peer_userinfo, rx_peer_userinfo, WMITLV_SIZE_VAR)
  6257. WMITLV_CREATE_PARAM_STRUC(WMI_MANUAL_UL_OFDMA_TRIG_RX_PEER_USERINFO_EVENTID);
  6258. /* MLO_LINK_DISABLE_REQUEST Event */
  6259. #define WMITLV_TABLE_WMI_MLO_LINK_DISABLE_REQUEST_EVENTID(id,op,buf,len) \
  6260. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mlo_link_disable_request_event_fixed_param, wmi_mlo_link_disable_request_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6261. WMITLV_CREATE_PARAM_STRUC(WMI_MLO_LINK_DISABLE_REQUEST_EVENTID);
  6262. /* pdev,vdev,peer event messages for tunneling vendor-specific contents */
  6263. #define WMITLV_TABLE_WMI_VENDOR_PDEV_EVENTID(id,op,buf,len) \
  6264. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_vendor_event_fixed_param, wmi_pdev_vendor_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6265. WMITLV_CREATE_PARAM_STRUC(WMI_VENDOR_PDEV_EVENTID);
  6266. #define WMITLV_TABLE_WMI_VENDOR_VDEV_EVENTID(id,op,buf,len) \
  6267. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_vendor_event_fixed_param, wmi_vdev_vendor_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6268. WMITLV_CREATE_PARAM_STRUC(WMI_VENDOR_VDEV_EVENTID);
  6269. #define WMITLV_TABLE_WMI_VENDOR_PEER_EVENTID(id,op,buf,len) \
  6270. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_vendor_event_fixed_param, wmi_peer_vendor_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  6271. WMITLV_CREATE_PARAM_STRUC(WMI_VENDOR_PEER_EVENTID);
  6272. #ifdef __cplusplus
  6273. }
  6274. #endif
  6275. #endif /*_WMI_TLV_DEFS_H_*/