wmi_tlv_defs.h 358 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942
  1. /*
  2. * Copyright (c) 2010-2020 The Linux Foundation. All rights reserved.
  3. *
  4. * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  5. *
  6. *
  7. * Permission to use, copy, modify, and/or distribute this software for
  8. * any purpose with or without fee is hereby granted, provided that the
  9. * above copyright notice and this permission notice appear in all
  10. * copies.
  11. *
  12. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  13. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  14. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  15. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  16. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  17. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  18. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  19. * PERFORMANCE OF THIS SOFTWARE.
  20. */
  21. /*
  22. * This file was originally distributed by Qualcomm Atheros, Inc.
  23. * under proprietary terms before Copyright ownership was assigned
  24. * to the Linux Foundation.
  25. */
  26. /*
  27. * wmi_tlv_defs_expanded.h file can be generated using macro preprocessor output of gcc for ease of debugging and reference by developers
  28. * Following command has to be run from "fw_common\fw_interface\include" directory to create wmi_tlv_defs_expanded.h file
  29. * gcc -E wmi_tlv_defs.h > wmi_tlv_defs_expanded.h on Linux
  30. * and
  31. * gcc -E wmi_tlv_defs.h -o wmi_tlv_defs_expanded.h on Linux/Windows
  32. *
  33. */
  34. #ifndef _WMI_TLV_DEFS_H_
  35. #define _WMI_TLV_DEFS_H_
  36. #ifdef __cplusplus
  37. extern "C" {
  38. #endif
  39. #define WMITLV_FIELD_BUF_IS_ALLOCATED(elem_name) \
  40. is_allocated_##elem_name
  41. #define WMITLV_FIELD_NUM_OF(elem_name) \
  42. num_##elem_name
  43. /* Define the structure typedef for the TLV parameters of each cmd/event */
  44. #define WMITLV_TYPEDEF_STRUCT_PARAMS_TLVS(wmi_cmd_event_id) \
  45. wmi_cmd_event_id##_param_tlvs
  46. /*
  47. * The following macro WMITLV_OP_* are created by the macro WMITLV_ELEM().
  48. */
  49. /* macro to define the TLV name in the correct order. When (op==TAG_ORDER) */
  50. #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) \
  51. wmi_cmd_event_id##_tlv_order_##elem_name,
  52. /* macro to define the TLV name with the TLV Tag value. When (op==TAG_ID) */
  53. #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) \
  54. wmi_cmd_event_id##_tlv_tag_##elem_name = elem_tlv_tag,
  55. /* macro to define the TLV name with the TLV structure size. May not be accurate when variable length. When (op==TAG_SIZEOF) */
  56. #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) \
  57. wmi_cmd_event_id##_sizeof_##elem_name = sizeof(elem_struc_type),
  58. /* macro to define the TLV name with value indicating whether the TLV is variable length. When (op==TAG_VAR_SIZED) */
  59. #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) \
  60. wmi_cmd_event_id##_var_sized_##elem_name = var_len,
  61. /* macro to define the TLV name with value indicating the fixed array size. When (op==TAG_ARR_SIZE) */
  62. #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) \
  63. wmi_cmd_event_id##_arr_size_##elem_name = arr_size,
  64. /*
  65. * macro to define afew fields associated to a TLV. For example, a structure pointer with the TLV name.
  66. * This macro is expand from WMITLV_ELEM(op) when (op==STRUCT_FIELD).
  67. * NOTE: If this macro is changed, then "mirror" structure wmitlv_cmd_param_info
  68. * should be updated too.
  69. */
  70. #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) \
  71. elem_struc_type *elem_name; \
  72. A_UINT32 WMITLV_FIELD_NUM_OF(elem_name); \
  73. A_UINT32 WMITLV_FIELD_BUF_IS_ALLOCATED(elem_name);
  74. /*
  75. * A "mirror" structure that contains the fields that is created by the
  76. * macro WMITLV_OP_STRUCT_FIELD_macro.
  77. * NOTE: you should modify this structure and WMITLV_OP_STRUCT_FIELD_macro
  78. * so that they both has the same kind of fields.
  79. */
  80. typedef struct {
  81. void *tlv_ptr; /* Pointer to the TLV Buffer. But the "real" one will have the right type instead of void. */
  82. A_UINT32 num_elements; /* Number of elements. For non-array, this is one. For array, this is the number of elements. */
  83. A_UINT32 buf_is_allocated;/* Boolean flag to indicate that a new buffer is allocated for this TLV. */
  84. } wmitlv_cmd_param_info;
  85. /*
  86. * NOTE TRICKY MACRO:
  87. * WMITLV_ELEM is re-defined to a "op" specific macro.
  88. * Eg. WMITLV_OP_TAG_ORDER_macro is created for the op_type=TAG_ORDER.
  89. */
  90. #define WMITLV_ELEM(wmi_cmd_event_id, op_type, param_ptr, param_len, elem_tlv_tag, elem_struc_type, elem_name, var_len) \
  91. 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)
  92. /*
  93. * WMITLV_FXAR (FiX ARray) is similar to WMITLV_ELEM except it has an extra parameter for the fixed number of elements.
  94. * It is re-defined to a "op" specific macro.
  95. * Eg. WMITLV_OP_TAG_ORDER_macro is created for the op_type=TAG_ORDER.
  96. */
  97. #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) \
  98. 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)
  99. #define WMITLV_TABLE(id,op,buf,len) WMITLV_TABLE_##id(id,op,buf,len)
  100. /*
  101. * This macro will create various enumerations and structures to describe the TLVs for
  102. * the given Command/Event ID.
  103. *
  104. * For example, the following is for WMI_SERVICE_READY_EVENTID:
  105. * #define WMITLV_TABLE_WMI_SERVICE_READY_EVENTID(id,op,buf,len) \
  106. * 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) \
  107. * WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_HAL_REG_CAPABILITIES, HAL_REG_CAPABILITIES, hal_reg_capabilities, WMITLV_SIZE_FIX) \
  108. * WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, wmi_service_bitmap, WMITLV_SIZE_FIX, WMI_SERVICE_BM_SIZE) \
  109. * WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_host_mem_req, mem_reqs, WMITLV_SIZE_VAR)
  110. * WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EVENTID);
  111. * This macro will create the following text:
  112. *
  113. * typedef enum {
  114. * WMI_SERVICE_READY_EVENTID_tlv_order_wmi_service_ready_event_fixed_param,
  115. * WMI_SERVICE_READY_EVENTID_tlv_order_hal_reg_capabilities,
  116. * WMI_SERVICE_READY_EVENTID_tlv_order_wmi_service_bitmap,
  117. * WMI_SERVICE_READY_EVENTID_tlv_order_mem_reqs,
  118. * WMI_TLV_HLPR_NUM_TLVS_FOR_WMI_SERVICE_READY_EVENTID
  119. * } WMI_SERVICE_READY_EVENTID_TAG_ID_enum_type;
  120. * //NOTE: WMI_TLV_HLPR_NUM_TLVS_FOR_WMI_SERVICE_READY_EVENTID is the number of TLVs.
  121. *
  122. * typedef enum {
  123. * WMI_SERVICE_READY_EVENTID_tlv_tag_wmi_service_ready_event_fixed_param = WMITLV_TAG_STRUC_wmi_service_ready_event_fixed_param,
  124. * WMI_SERVICE_READY_EVENTID_tlv_tag_hal_reg_capabilities = WMITLV_TAG_STRUC_HAL_REG_CAPABILITIES,
  125. * WMI_SERVICE_READY_EVENTID_tlv_tag_wmi_service_bitmap = WMITLV_TAG_ARRAY_UINT32,
  126. * WMI_SERVICE_READY_EVENTID_tlv_tag_mem_reqs = WMITLV_TAG_ARRAY_STRUC,
  127. * } WMI_SERVICE_READY_EVENTID_TAG_ORDER_enum_type;
  128. *
  129. * typedef enum {
  130. * WMI_SERVICE_READY_EVENTID_sizeof_wmi_service_ready_event_fixed_param = sizeof(wmi_service_ready_event_fixed_param),
  131. * WMI_SERVICE_READY_EVENTID_sizeof_hal_reg_capabilities = sizeof(HAL_REG_CAPABILITIES),
  132. * WMI_SERVICE_READY_EVENTID_sizeof_wmi_service_bitmap = sizeof(A_UINT32),
  133. * WMI_SERVICE_READY_EVENTID_sizeof_mem_reqs = sizeof(wlan_host_mem_req),
  134. * } WMI_SERVICE_READY_EVENTID_TAG_SIZEOF_enum_type;
  135. *
  136. * typedef enum {
  137. * WMI_SERVICE_READY_EVENTID_var_sized_wmi_service_ready_event_fixed_param = WMITLV_SIZE_FIX,
  138. * WMI_SERVICE_READY_EVENTID_var_sized_hal_reg_capabilities = WMITLV_SIZE_FIX,
  139. * WMI_SERVICE_READY_EVENTID_var_sized_wmi_service_bitmap = WMITLV_SIZE_VAR,
  140. * WMI_SERVICE_READY_EVENTID_var_sized_mem_reqs = WMITLV_SIZE_VAR,
  141. * } WMI_SERVICE_READY_EVENTID_TAG_VAR_SIZED_enum_type;
  142. *
  143. * typedef enum {
  144. * WMI_SERVICE_READY_EVENTID_arr_size_wmi_service_ready_event_fixed_param = WMITLV_ARR_SIZE_INVALID,
  145. * WMI_SERVICE_READY_EVENTID_arr_size_hal_reg_capabilities = WMITLV_ARR_SIZE_INVALID,
  146. * WMI_SERVICE_READY_EVENTID_arr_size_wmi_service_bitmap = WMI_SERVICE_BM_SIZE,
  147. * WMI_SERVICE_READY_EVENTID_arr_size_mem_reqs = WMITLV_ARR_SIZE_INVALID,
  148. * } WMI_SERVICE_READY_EVENTID_TAG_ARR_SIZE_enum_type;
  149. *
  150. * typedef struct {
  151. * wmi_service_ready_event_fixed_param *fixed_param;
  152. * A_UINT32 num_fixed_param;
  153. * A_UINT32 is_allocated_fixed_param;
  154. * HAL_REG_CAPABILITIES *hal_reg_capabilities;
  155. * A_UINT32 num_hal_reg_capabilities;
  156. * A_UINT32 is_allocated_hal_reg_capabilities;
  157. * A_UINT32 *wmi_service_bitmap;
  158. * A_UINT32 num_wmi_service_bitmap;
  159. * A_UINT32 is_allocated_wmi_service_bitmap;
  160. * wlan_host_mem_req *mem_reqs;
  161. * A_UINT32 num_mem_reqs;
  162. * A_UINT32 is_allocated_mem_reqs;
  163. *
  164. * } WMI_SERVICE_READY_EVENTID_param_tlvs;
  165. *
  166. */
  167. #define WMITLV_CREATE_PARAM_STRUC(wmi_cmd_event_id) \
  168. typedef enum { \
  169. WMITLV_TABLE(wmi_cmd_event_id, TAG_ORDER, NULL, 0) \
  170. WMI_TLV_HLPR_NUM_TLVS_FOR_##wmi_cmd_event_id \
  171. } wmi_cmd_event_id##_TAG_ORDER_enum_type; \
  172. \
  173. typedef struct { \
  174. WMITLV_TABLE(wmi_cmd_event_id, STRUCT_FIELD, NULL, 0) \
  175. } WMITLV_TYPEDEF_STRUCT_PARAMS_TLVS(wmi_cmd_event_id); \
  176. /** Enum list of TLV Tags for each parameter structure type. */
  177. typedef enum {
  178. /* 0 to 15 is reserved */
  179. WMITLV_TAG_LAST_RESERVED = 15,
  180. WMITLV_TAG_FIRST_ARRAY_ENUM, /* First entry of ARRAY type tags */
  181. WMITLV_TAG_ARRAY_UINT32 = WMITLV_TAG_FIRST_ARRAY_ENUM,
  182. WMITLV_TAG_ARRAY_BYTE,
  183. WMITLV_TAG_ARRAY_STRUC,
  184. WMITLV_TAG_ARRAY_FIXED_STRUC,
  185. WMITLV_TAG_LAST_ARRAY_ENUM = 31, /* Last entry of ARRAY type tags */
  186. WMITLV_TAG_STRUC_wmi_service_ready_event_fixed_param,
  187. WMITLV_TAG_STRUC_HAL_REG_CAPABILITIES,
  188. WMITLV_TAG_STRUC_wlan_host_mem_req,
  189. WMITLV_TAG_STRUC_wmi_ready_event_fixed_param,
  190. WMITLV_TAG_STRUC_wmi_scan_event_fixed_param,
  191. WMITLV_TAG_STRUC_wmi_pdev_tpc_config_event_fixed_param,
  192. WMITLV_TAG_STRUC_wmi_chan_info_event_fixed_param,
  193. WMITLV_TAG_STRUC_wmi_comb_phyerr_rx_hdr,
  194. WMITLV_TAG_STRUC_wmi_vdev_start_response_event_fixed_param,
  195. WMITLV_TAG_STRUC_wmi_vdev_stopped_event_fixed_param,
  196. WMITLV_TAG_STRUC_wmi_vdev_install_key_complete_event_fixed_param,
  197. WMITLV_TAG_STRUC_wmi_peer_sta_kickout_event_fixed_param,
  198. WMITLV_TAG_STRUC_wmi_mgmt_rx_hdr,
  199. WMITLV_TAG_STRUC_wmi_tbtt_offset_event_fixed_param,
  200. WMITLV_TAG_STRUC_wmi_tx_delba_complete_event_fixed_param,
  201. WMITLV_TAG_STRUC_wmi_tx_addba_complete_event_fixed_param,
  202. WMITLV_TAG_STRUC_wmi_roam_event_fixed_param,
  203. WMITLV_TAG_STRUC_WOW_EVENT_INFO_fixed_param,
  204. WMITLV_TAG_STRUC_WOW_EVENT_INFO_SECTION_BITMAP,
  205. WMITLV_TAG_STRUC_wmi_rtt_event_header,
  206. WMITLV_TAG_STRUC_wmi_rtt_error_report_event_fixed_param,
  207. WMITLV_TAG_STRUC_wmi_rtt_meas_event_fixed_param,
  208. WMITLV_TAG_STRUC_wmi_echo_event_fixed_param,
  209. WMITLV_TAG_STRUC_wmi_ftm_intg_event_fixed_param,
  210. WMITLV_TAG_STRUC_wmi_vdev_get_keepalive_event_fixed_param,
  211. WMITLV_TAG_STRUC_wmi_gpio_input_event_fixed_param,
  212. WMITLV_TAG_STRUC_wmi_csa_event_fixed_param,
  213. WMITLV_TAG_STRUC_WMI_GTK_OFFLOAD_STATUS_EVENT_fixed_param,
  214. WMITLV_TAG_STRUC_wmi_igtk_info,
  215. WMITLV_TAG_STRUC_wmi_dcs_interference_event_fixed_param,
  216. WMITLV_TAG_STRUC_ath_dcs_cw_int, /* DEPRECATED */
  217. WMITLV_TAG_STRUC_wlan_dcs_cw_int = /* alias */
  218. WMITLV_TAG_STRUC_ath_dcs_cw_int,
  219. WMITLV_TAG_STRUC_ath_dcs_wlan_int_stat, /* DEPRECATED */
  220. WMITLV_TAG_STRUC_wlan_dcs_im_tgt_stats_t = /* alias */
  221. WMITLV_TAG_STRUC_ath_dcs_wlan_int_stat,
  222. WMITLV_TAG_STRUC_wmi_wlan_profile_ctx_t,
  223. WMITLV_TAG_STRUC_wmi_wlan_profile_t,
  224. WMITLV_TAG_STRUC_wmi_pdev_qvit_event_fixed_param,
  225. WMITLV_TAG_STRUC_wmi_host_swba_event_fixed_param,
  226. WMITLV_TAG_STRUC_wmi_tim_info,
  227. WMITLV_TAG_STRUC_wmi_p2p_noa_info,
  228. WMITLV_TAG_STRUC_wmi_stats_event_fixed_param,
  229. WMITLV_TAG_STRUC_wmi_avoid_freq_ranges_event_fixed_param,
  230. WMITLV_TAG_STRUC_wmi_avoid_freq_range_desc,
  231. WMITLV_TAG_STRUC_wmi_gtk_rekey_fail_event_fixed_param,
  232. WMITLV_TAG_STRUC_wmi_init_cmd_fixed_param,
  233. WMITLV_TAG_STRUC_wmi_resource_config,
  234. WMITLV_TAG_STRUC_wlan_host_memory_chunk,
  235. WMITLV_TAG_STRUC_wmi_start_scan_cmd_fixed_param,
  236. WMITLV_TAG_STRUC_wmi_stop_scan_cmd_fixed_param,
  237. WMITLV_TAG_STRUC_wmi_scan_chan_list_cmd_fixed_param,
  238. WMITLV_TAG_STRUC_wmi_channel,
  239. WMITLV_TAG_STRUC_wmi_pdev_set_regdomain_cmd_fixed_param,
  240. WMITLV_TAG_STRUC_wmi_pdev_set_param_cmd_fixed_param,
  241. WMITLV_TAG_STRUC_wmi_pdev_set_wmm_params_cmd_fixed_param,
  242. WMITLV_TAG_STRUC_wmi_wmm_params,
  243. WMITLV_TAG_STRUC_wmi_pdev_set_quiet_cmd_fixed_param,
  244. WMITLV_TAG_STRUC_wmi_vdev_create_cmd_fixed_param,
  245. WMITLV_TAG_STRUC_wmi_vdev_delete_cmd_fixed_param,
  246. WMITLV_TAG_STRUC_wmi_vdev_start_request_cmd_fixed_param,
  247. WMITLV_TAG_STRUC_wmi_p2p_noa_descriptor,
  248. WMITLV_TAG_STRUC_wmi_p2p_go_set_beacon_ie_fixed_param,
  249. WMITLV_TAG_STRUC_WMI_GTK_OFFLOAD_CMD_fixed_param,
  250. WMITLV_TAG_STRUC_wmi_vdev_up_cmd_fixed_param,
  251. WMITLV_TAG_STRUC_wmi_vdev_stop_cmd_fixed_param,
  252. WMITLV_TAG_STRUC_wmi_vdev_down_cmd_fixed_param,
  253. WMITLV_TAG_STRUC_wmi_vdev_set_param_cmd_fixed_param,
  254. WMITLV_TAG_STRUC_wmi_vdev_install_key_cmd_fixed_param,
  255. WMITLV_TAG_STRUC_wmi_peer_create_cmd_fixed_param,
  256. WMITLV_TAG_STRUC_wmi_peer_delete_cmd_fixed_param,
  257. WMITLV_TAG_STRUC_wmi_peer_flush_tids_cmd_fixed_param,
  258. WMITLV_TAG_STRUC_wmi_peer_set_param_cmd_fixed_param,
  259. WMITLV_TAG_STRUC_wmi_peer_assoc_complete_cmd_fixed_param,
  260. WMITLV_TAG_STRUC_wmi_vht_rate_set,
  261. WMITLV_TAG_STRUC_wmi_bcn_tmpl_cmd_fixed_param,
  262. WMITLV_TAG_STRUC_wmi_prb_tmpl_cmd_fixed_param,
  263. WMITLV_TAG_STRUC_wmi_bcn_prb_info,
  264. WMITLV_TAG_STRUC_wmi_peer_tid_addba_cmd_fixed_param,
  265. WMITLV_TAG_STRUC_wmi_peer_tid_delba_cmd_fixed_param,
  266. WMITLV_TAG_STRUC_wmi_sta_powersave_mode_cmd_fixed_param,
  267. WMITLV_TAG_STRUC_wmi_sta_powersave_param_cmd_fixed_param,
  268. WMITLV_TAG_STRUC_wmi_sta_dtim_ps_method_cmd_fixed_param,
  269. WMITLV_TAG_STRUC_wmi_roam_scan_mode_fixed_param,
  270. WMITLV_TAG_STRUC_wmi_roam_scan_rssi_threshold_fixed_param,
  271. WMITLV_TAG_STRUC_wmi_roam_scan_period_fixed_param,
  272. WMITLV_TAG_STRUC_wmi_roam_scan_rssi_change_threshold_fixed_param,
  273. WMITLV_TAG_STRUC_wmi_pdev_suspend_cmd_fixed_param,
  274. WMITLV_TAG_STRUC_wmi_pdev_resume_cmd_fixed_param,
  275. WMITLV_TAG_STRUC_wmi_add_bcn_filter_cmd_fixed_param,
  276. WMITLV_TAG_STRUC_wmi_rmv_bcn_filter_cmd_fixed_param,
  277. WMITLV_TAG_STRUC_wmi_wow_enable_cmd_fixed_param,
  278. WMITLV_TAG_STRUC_wmi_wow_hostwakeup_from_sleep_cmd_fixed_param,
  279. WMITLV_TAG_STRUC_wmi_sta_uapsd_auto_trig_cmd_fixed_param,
  280. WMITLV_TAG_STRUC_wmi_sta_uapsd_auto_trig_param,
  281. WMITLV_TAG_STRUC_WMI_SET_ARP_NS_OFFLOAD_CMD_fixed_param,
  282. WMITLV_TAG_STRUC_WMI_ARP_OFFLOAD_TUPLE,
  283. WMITLV_TAG_STRUC_WMI_NS_OFFLOAD_TUPLE,
  284. WMITLV_TAG_STRUC_wmi_ftm_intg_cmd_fixed_param,
  285. WMITLV_TAG_STRUC_WMI_STA_KEEPALIVE_CMD_fixed_param,
  286. WMITLV_TAG_STRUC_WMI_STA_KEEPALVE_ARP_RESPONSE,
  287. WMITLV_TAG_STRUC_wmi_p2p_set_vendor_ie_data_cmd_fixed_param,
  288. WMITLV_TAG_STRUC_wmi_ap_ps_peer_cmd_fixed_param,
  289. WMITLV_TAG_STRUC_wmi_peer_rate_retry_sched_cmd_fixed_param,
  290. WMITLV_TAG_STRUC_wmi_wlan_profile_trigger_cmd_fixed_param,
  291. WMITLV_TAG_STRUC_wmi_wlan_profile_set_hist_intvl_cmd_fixed_param,
  292. WMITLV_TAG_STRUC_wmi_wlan_profile_get_prof_data_cmd_fixed_param,
  293. WMITLV_TAG_STRUC_wmi_wlan_profile_enable_profile_id_cmd_fixed_param,
  294. WMITLV_TAG_STRUC_WMI_WOW_DEL_PATTERN_CMD_fixed_param,
  295. WMITLV_TAG_STRUC_WMI_WOW_ADD_DEL_EVT_CMD_fixed_param,
  296. WMITLV_TAG_STRUC_wmi_rtt_measreq_head,
  297. WMITLV_TAG_STRUC_wmi_rtt_measreq_body,
  298. WMITLV_TAG_STRUC_wmi_rtt_tsf_cmd_fixed_param,
  299. WMITLV_TAG_STRUC_wmi_vdev_spectral_configure_cmd_fixed_param,
  300. WMITLV_TAG_STRUC_wmi_vdev_spectral_enable_cmd_fixed_param,
  301. WMITLV_TAG_STRUC_wmi_request_stats_cmd_fixed_param,
  302. WMITLV_TAG_STRUC_wmi_nlo_config_cmd_fixed_param,
  303. WMITLV_TAG_STRUC_nlo_configured_parameters,
  304. WMITLV_TAG_STRUC_wmi_csa_offload_enable_cmd_fixed_param,
  305. WMITLV_TAG_STRUC_wmi_csa_offload_chanswitch_cmd_fixed_param,
  306. WMITLV_TAG_STRUC_wmi_chatter_set_mode_cmd_fixed_param,
  307. WMITLV_TAG_STRUC_wmi_echo_cmd_fixed_param,
  308. WMITLV_TAG_STRUC_wmi_vdev_set_keepalive_cmd_fixed_param,
  309. WMITLV_TAG_STRUC_wmi_vdev_get_keepalive_cmd_fixed_param,
  310. WMITLV_TAG_STRUC_WMI_FORCE_FW_HANG_CMD_fixed_param,
  311. WMITLV_TAG_STRUC_wmi_gpio_config_cmd_fixed_param,
  312. WMITLV_TAG_STRUC_wmi_gpio_output_cmd_fixed_param,
  313. WMITLV_TAG_STRUC_wmi_peer_add_wds_entry_cmd_fixed_param,
  314. WMITLV_TAG_STRUC_wmi_peer_remove_wds_entry_cmd_fixed_param,
  315. WMITLV_TAG_STRUC_wmi_bcn_tx_hdr,
  316. WMITLV_TAG_STRUC_wmi_bcn_send_from_host_cmd_fixed_param,
  317. WMITLV_TAG_STRUC_wmi_mgmt_tx_hdr,
  318. WMITLV_TAG_STRUC_wmi_addba_clear_resp_cmd_fixed_param,
  319. WMITLV_TAG_STRUC_wmi_addba_send_cmd_fixed_param,
  320. WMITLV_TAG_STRUC_wmi_delba_send_cmd_fixed_param,
  321. WMITLV_TAG_STRUC_wmi_addba_setresponse_cmd_fixed_param,
  322. WMITLV_TAG_STRUC_wmi_send_singleamsdu_cmd_fixed_param,
  323. WMITLV_TAG_STRUC_wmi_pdev_pktlog_enable_cmd_fixed_param,
  324. WMITLV_TAG_STRUC_wmi_pdev_pktlog_disable_cmd_fixed_param,
  325. WMITLV_TAG_STRUC_wmi_pdev_set_ht_ie_cmd_fixed_param,
  326. WMITLV_TAG_STRUC_wmi_pdev_set_vht_ie_cmd_fixed_param,
  327. WMITLV_TAG_STRUC_wmi_pdev_set_dscp_tid_map_cmd_fixed_param,
  328. WMITLV_TAG_STRUC_wmi_pdev_green_ap_ps_enable_cmd_fixed_param,
  329. WMITLV_TAG_STRUC_wmi_pdev_get_tpc_config_cmd_fixed_param,
  330. WMITLV_TAG_STRUC_wmi_pdev_set_base_macaddr_cmd_fixed_param,
  331. WMITLV_TAG_STRUC_wmi_peer_mcast_group_cmd_fixed_param,
  332. WMITLV_TAG_STRUC_wmi_roam_ap_profile_fixed_param,
  333. WMITLV_TAG_STRUC_wmi_ap_profile,
  334. WMITLV_TAG_STRUC_wmi_scan_sch_priority_table_cmd_fixed_param,
  335. WMITLV_TAG_STRUC_wmi_pdev_dfs_enable_cmd_fixed_param,
  336. WMITLV_TAG_STRUC_wmi_pdev_dfs_disable_cmd_fixed_param,
  337. WMITLV_TAG_STRUC_WMI_WOW_ADD_PATTERN_CMD_fixed_param,
  338. WMITLV_TAG_STRUC_WOW_BITMAP_PATTERN_T,
  339. WMITLV_TAG_STRUC_WOW_IPV4_SYNC_PATTERN_T,
  340. WMITLV_TAG_STRUC_WOW_IPV6_SYNC_PATTERN_T,
  341. WMITLV_TAG_STRUC_WOW_MAGIC_PATTERN_CMD,
  342. WMITLV_TAG_STRUC_WMI_scan_update_request_cmd_fixed_param,
  343. WMITLV_TAG_STRUC_wmi_chatter_pkt_coalescing_filter,
  344. WMITLV_TAG_STRUC_wmi_chatter_coalescing_add_filter_cmd_fixed_param,
  345. WMITLV_TAG_STRUC_wmi_chatter_coalescing_delete_filter_cmd_fixed_param,
  346. WMITLV_TAG_STRUC_wmi_chatter_coalescing_query_cmd_fixed_param,
  347. WMITLV_TAG_STRUC_wmi_txbf_cmd_fixed_param,
  348. WMITLV_TAG_STRUC_wmi_debug_log_config_cmd_fixed_param,
  349. WMITLV_TAG_STRUC_wmi_nlo_event,
  350. WMITLV_TAG_STRUC_wmi_chatter_query_reply_event_fixed_param,
  351. WMITLV_TAG_STRUC_wmi_upload_h_hdr,
  352. WMITLV_TAG_STRUC_wmi_capture_h_event_hdr,
  353. WMITLV_TAG_STRUC_WMI_VDEV_WNM_SLEEPMODE_CMD_fixed_param,
  354. WMITLV_TAG_STRUC_WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMD_fixed_param,
  355. WMITLV_TAG_STRUC_wmi_vdev_wmm_addts_cmd_fixed_param,
  356. WMITLV_TAG_STRUC_wmi_vdev_wmm_delts_cmd_fixed_param,
  357. WMITLV_TAG_STRUC_wmi_vdev_set_wmm_params_cmd_fixed_param,
  358. WMITLV_TAG_STRUC_wmi_tdls_set_state_cmd_fixed_param,
  359. WMITLV_TAG_STRUC_wmi_tdls_peer_update_cmd_fixed_param,
  360. WMITLV_TAG_STRUC_wmi_tdls_peer_event_fixed_param,
  361. WMITLV_TAG_STRUC_wmi_tdls_peer_capabilities,
  362. WMITLV_TAG_STRUC_wmi_vdev_mcc_set_tbtt_mode_cmd_fixed_param,
  363. WMITLV_TAG_STRUC_wmi_roam_chan_list_fixed_param,
  364. WMITLV_TAG_STRUC_wmi_vdev_mcc_bcn_intvl_change_event_fixed_param,
  365. WMITLV_TAG_STRUC_wmi_resmgr_adaptive_ocs_enable_disable_cmd_fixed_param,
  366. WMITLV_TAG_STRUC_wmi_resmgr_set_chan_time_quota_cmd_fixed_param,
  367. WMITLV_TAG_STRUC_wmi_resmgr_set_chan_latency_cmd_fixed_param,
  368. WMITLV_TAG_STRUC_wmi_ba_req_ssn_cmd_fixed_param,
  369. WMITLV_TAG_STRUC_wmi_ba_rsp_ssn_event_fixed_param,
  370. WMITLV_TAG_STRUC_wmi_sta_smps_force_mode_cmd_fixed_param,
  371. WMITLV_TAG_STRUC_WMI_SET_MCASTBCAST_FILTER_CMD_fixed_param,
  372. WMITLV_TAG_STRUC_wmi_p2p_set_oppps_cmd_fixed_param,
  373. WMITLV_TAG_STRUC_wmi_p2p_set_noa_cmd_fixed_param,
  374. WMITLV_TAG_STRUC_wmi_ba_req_ssn_cmd_sub_struct_param,
  375. WMITLV_TAG_STRUC_wmi_ba_req_ssn_event_sub_struct_param,
  376. WMITLV_TAG_STRUC_wmi_sta_smps_param_cmd_fixed_param,
  377. WMITLV_TAG_STRUC_wmi_vdev_set_gtx_params_cmd_fixed_param,
  378. WMITLV_TAG_STRUC_wmi_mcc_sched_traffic_stats_cmd_fixed_param,
  379. WMITLV_TAG_STRUC_wmi_mcc_sched_sta_traffic_stats,
  380. WMITLV_TAG_STRUC_wmi_offload_bcn_tx_status_event_fixed_param,
  381. WMITLV_TAG_STRUC_wmi_p2p_noa_event_fixed_param,
  382. WMITLV_TAG_STRUC_wmi_hb_set_enable_cmd_fixed_param,
  383. WMITLV_TAG_STRUC_wmi_hb_set_tcp_params_cmd_fixed_param,
  384. WMITLV_TAG_STRUC_wmi_hb_set_tcp_pkt_filter_cmd_fixed_param,
  385. WMITLV_TAG_STRUC_wmi_hb_set_udp_params_cmd_fixed_param,
  386. WMITLV_TAG_STRUC_wmi_hb_set_udp_pkt_filter_cmd_fixed_param,
  387. WMITLV_TAG_STRUC_wmi_hb_ind_event_fixed_param,
  388. WMITLV_TAG_STRUC_wmi_tx_pause_event_fixed_param,
  389. WMITLV_TAG_STRUC_wmi_rfkill_event_fixed_param,
  390. WMITLV_TAG_STRUC_wmi_dfs_radar_event_fixed_param,
  391. WMITLV_TAG_STRUC_wmi_dfs_phyerr_filter_ena_cmd_fixed_param,
  392. WMITLV_TAG_STRUC_wmi_dfs_phyerr_filter_dis_cmd_fixed_param,
  393. WMITLV_TAG_STRUC_wmi_batch_scan_result_scan_list,
  394. WMITLV_TAG_STRUC_wmi_batch_scan_result_network_info,
  395. WMITLV_TAG_STRUC_wmi_batch_scan_enable_cmd_fixed_param,
  396. WMITLV_TAG_STRUC_wmi_batch_scan_disable_cmd_fixed_param,
  397. WMITLV_TAG_STRUC_wmi_batch_scan_trigger_result_cmd_fixed_param,
  398. WMITLV_TAG_STRUC_wmi_batch_scan_enabled_event_fixed_param,
  399. WMITLV_TAG_STRUC_wmi_batch_scan_result_event_fixed_param,
  400. WMITLV_TAG_STRUC_wmi_vdev_plmreq_start_cmd_fixed_param,
  401. WMITLV_TAG_STRUC_wmi_vdev_plmreq_stop_cmd_fixed_param,
  402. WMITLV_TAG_STRUC_wmi_thermal_mgmt_cmd_fixed_param,
  403. WMITLV_TAG_STRUC_wmi_thermal_mgmt_event_fixed_param,
  404. WMITLV_TAG_STRUC_wmi_peer_info_req_cmd_fixed_param,
  405. WMITLV_TAG_STRUC_wmi_peer_info_event_fixed_param,
  406. WMITLV_TAG_STRUC_wmi_peer_info,
  407. WMITLV_TAG_STRUC_wmi_peer_tx_fail_cnt_thr_event_fixed_param,
  408. WMITLV_TAG_STRUC_wmi_rmc_set_mode_cmd_fixed_param,
  409. WMITLV_TAG_STRUC_wmi_rmc_set_action_period_cmd_fixed_param,
  410. WMITLV_TAG_STRUC_wmi_rmc_config_cmd_fixed_param,
  411. WMITLV_TAG_STRUC_wmi_mhf_offload_set_mode_cmd_fixed_param,
  412. WMITLV_TAG_STRUC_wmi_mhf_offload_plumb_routing_table_cmd_fixed_param,
  413. WMITLV_TAG_STRUC_WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMD_fixed_param,
  414. WMITLV_TAG_STRUC_WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMD_fixed_param,
  415. WMITLV_TAG_STRUC_wmi_nan_cmd_param,
  416. WMITLV_TAG_STRUC_wmi_nan_event_hdr,
  417. WMITLV_TAG_STRUC_wmi_pdev_l1ss_track_event_fixed_param,
  418. WMITLV_TAG_STRUC_wmi_diag_data_container_event_fixed_param,
  419. WMITLV_TAG_STRUC_wmi_modem_power_state_cmd_param,
  420. WMITLV_TAG_STRUC_wmi_peer_get_estimated_linkspeed_cmd_fixed_param,
  421. WMITLV_TAG_STRUC_wmi_peer_estimated_linkspeed_event_fixed_param,
  422. WMITLV_TAG_STRUC_wmi_aggr_state_trig_event_fixed_param,
  423. WMITLV_TAG_STRUC_wmi_mhf_offload_routing_table_entry,
  424. WMITLV_TAG_STRUC_wmi_roam_scan_cmd_fixed_param,
  425. WMITLV_TAG_STRUC_wmi_req_stats_ext_cmd_fixed_param,
  426. WMITLV_TAG_STRUC_wmi_stats_ext_event_fixed_param,
  427. WMITLV_TAG_STRUC_wmi_obss_scan_enable_cmd_fixed_param,
  428. WMITLV_TAG_STRUC_wmi_obss_scan_disable_cmd_fixed_param,
  429. WMITLV_TAG_STRUC_wmi_offload_prb_rsp_tx_status_event_fixed_param,
  430. WMITLV_TAG_STRUC_wmi_pdev_set_led_config_cmd_fixed_param,
  431. WMITLV_TAG_STRUC_wmi_host_auto_shutdown_cfg_cmd_fixed_param,
  432. WMITLV_TAG_STRUC_wmi_host_auto_shutdown_event_fixed_param,
  433. WMITLV_TAG_STRUC_wmi_update_whal_mib_stats_event_fixed_param,
  434. WMITLV_TAG_STRUC_wmi_chan_avoid_update_cmd_param,
  435. WMITLV_TAG_STRUC_WOW_IOAC_PKT_PATTERN_T,
  436. WMITLV_TAG_STRUC_WOW_IOAC_TMR_PATTERN_T,
  437. WMITLV_TAG_STRUC_WMI_WOW_IOAC_ADD_KEEPALIVE_CMD_fixed_param,
  438. WMITLV_TAG_STRUC_WMI_WOW_IOAC_DEL_KEEPALIVE_CMD_fixed_param,
  439. WMITLV_TAG_STRUC_WMI_WOW_IOAC_KEEPALIVE_T,
  440. WMITLV_TAG_STRUC_WMI_WOW_IOAC_ADD_PATTERN_CMD_fixed_param,
  441. WMITLV_TAG_STRUC_WMI_WOW_IOAC_DEL_PATTERN_CMD_fixed_param,
  442. WMITLV_TAG_STRUC_wmi_start_link_stats_cmd_fixed_param,
  443. WMITLV_TAG_STRUC_wmi_clear_link_stats_cmd_fixed_param,
  444. WMITLV_TAG_STRUC_wmi_request_link_stats_cmd_fixed_param,
  445. WMITLV_TAG_STRUC_wmi_iface_link_stats_event_fixed_param,
  446. WMITLV_TAG_STRUC_wmi_radio_link_stats_event_fixed_param,
  447. WMITLV_TAG_STRUC_wmi_peer_stats_event_fixed_param,
  448. WMITLV_TAG_STRUC_wmi_channel_stats,
  449. WMITLV_TAG_STRUC_wmi_radio_link_stats,
  450. WMITLV_TAG_STRUC_wmi_rate_stats,
  451. WMITLV_TAG_STRUC_wmi_peer_link_stats,
  452. WMITLV_TAG_STRUC_wmi_wmm_ac_stats,
  453. WMITLV_TAG_STRUC_wmi_iface_link_stats,
  454. WMITLV_TAG_STRUC_wmi_lpi_mgmt_snooping_config_cmd_fixed_param,
  455. WMITLV_TAG_STRUC_wmi_lpi_start_scan_cmd_fixed_param,
  456. WMITLV_TAG_STRUC_wmi_lpi_stop_scan_cmd_fixed_param,
  457. WMITLV_TAG_STRUC_wmi_lpi_result_event_fixed_param,
  458. WMITLV_TAG_STRUC_wmi_peer_state_event_fixed_param,
  459. WMITLV_TAG_STRUC_wmi_extscan_bucket_cmd_fixed_param,
  460. WMITLV_TAG_STRUC_wmi_extscan_bucket_channel_event_fixed_param,
  461. WMITLV_TAG_STRUC_wmi_extscan_start_cmd_fixed_param,
  462. WMITLV_TAG_STRUC_wmi_extscan_stop_cmd_fixed_param,
  463. WMITLV_TAG_STRUC_wmi_extscan_configure_wlan_change_monitor_cmd_fixed_param,
  464. WMITLV_TAG_STRUC_wmi_extscan_wlan_change_bssid_param_cmd_fixed_param,
  465. WMITLV_TAG_STRUC_wmi_extscan_configure_hotlist_monitor_cmd_fixed_param,
  466. WMITLV_TAG_STRUC_wmi_extscan_get_cached_results_cmd_fixed_param,
  467. WMITLV_TAG_STRUC_wmi_extscan_get_wlan_change_results_cmd_fixed_param,
  468. WMITLV_TAG_STRUC_wmi_extscan_set_capabilities_cmd_fixed_param,
  469. WMITLV_TAG_STRUC_wmi_extscan_get_capabilities_cmd_fixed_param,
  470. WMITLV_TAG_STRUC_wmi_extscan_operation_event_fixed_param,
  471. WMITLV_TAG_STRUC_wmi_extscan_start_stop_event_fixed_param,
  472. WMITLV_TAG_STRUC_wmi_extscan_table_usage_event_fixed_param,
  473. WMITLV_TAG_STRUC_wmi_extscan_wlan_descriptor_event_fixed_param,
  474. WMITLV_TAG_STRUC_wmi_extscan_rssi_info_event_fixed_param,
  475. WMITLV_TAG_STRUC_wmi_extscan_cached_results_event_fixed_param,
  476. WMITLV_TAG_STRUC_wmi_extscan_wlan_change_results_event_fixed_param,
  477. WMITLV_TAG_STRUC_wmi_extscan_wlan_change_result_bssid_event_fixed_param,
  478. WMITLV_TAG_STRUC_wmi_extscan_hotlist_match_event_fixed_param,
  479. WMITLV_TAG_STRUC_wmi_extscan_capabilities_event_fixed_param,
  480. WMITLV_TAG_STRUC_wmi_extscan_cache_capabilities_event_fixed_param,
  481. WMITLV_TAG_STRUC_wmi_extscan_wlan_change_monitor_capabilities_event_fixed_param,
  482. WMITLV_TAG_STRUC_wmi_extscan_hotlist_monitor_capabilities_event_fixed_param,
  483. WMITLV_TAG_STRUC_wmi_d0_wow_enable_disable_cmd_fixed_param,
  484. WMITLV_TAG_STRUC_wmi_d0_wow_disable_ack_event_fixed_param,
  485. WMITLV_TAG_STRUC_wmi_unit_test_cmd_fixed_param,
  486. WMITLV_TAG_STRUC_wmi_roam_offload_tlv_param,
  487. WMITLV_TAG_STRUC_wmi_roam_11i_offload_tlv_param,
  488. WMITLV_TAG_STRUC_wmi_roam_11r_offload_tlv_param,
  489. WMITLV_TAG_STRUC_wmi_roam_ese_offload_tlv_param,
  490. WMITLV_TAG_STRUC_wmi_roam_synch_event_fixed_param,
  491. WMITLV_TAG_STRUC_wmi_roam_synch_complete_fixed_param,
  492. WMITLV_TAG_STRUC_wmi_extwow_enable_cmd_fixed_param,
  493. WMITLV_TAG_STRUC_wmi_extwow_set_app_type1_params_cmd_fixed_param,
  494. WMITLV_TAG_STRUC_wmi_extwow_set_app_type2_params_cmd_fixed_param,
  495. WMITLV_TAG_STRUC_wmi_lpi_status_event_fixed_param,
  496. WMITLV_TAG_STRUC_wmi_lpi_handoff_event_fixed_param,
  497. WMITLV_TAG_STRUC_wmi_vdev_rate_stats_event_fixed_param,
  498. WMITLV_TAG_STRUC_wmi_vdev_rate_ht_info,
  499. WMITLV_TAG_STRUC_wmi_ric_request_fixed_param,
  500. WMITLV_TAG_STRUC_wmi_pdev_get_temperature_cmd_fixed_param,
  501. WMITLV_TAG_STRUC_wmi_pdev_temperature_event_fixed_param,
  502. WMITLV_TAG_STRUC_wmi_set_dhcp_server_offload_cmd_fixed_param,
  503. WMITLV_TAG_STRUC_wmi_tpc_chainmask_config_cmd_fixed_param,
  504. WMITLV_TAG_STRUC_wmi_ric_tspec,
  505. WMITLV_TAG_STRUC_wmi_tpc_chainmask_config,
  506. WMITLV_TAG_STRUCT_wmi_ipa_offload_enable_disable_cmd_fixed_param,
  507. WMITLV_TAG_STRUC_wmi_scan_prob_req_oui_cmd_fixed_param,
  508. WMITLV_TAG_STRUC_wmi_key_material,
  509. WMITLV_TAG_STRUC_wmi_tdls_set_offchan_mode_cmd_fixed_param,
  510. WMITLV_TAG_STRUC_wmi_set_led_flashing_cmd_fixed_param,
  511. WMITLV_TAG_STRUC_wmi_mdns_offload_cmd_fixed_param,
  512. WMITLV_TAG_STRUC_wmi_mdns_set_fqdn_cmd_fixed_param,
  513. WMITLV_TAG_STRUC_wmi_mdns_set_resp_cmd_fixed_param,
  514. WMITLV_TAG_STRUC_wmi_mdns_get_stats_cmd_fixed_param,
  515. WMITLV_TAG_STRUC_wmi_mdns_stats_event_fixed_param,
  516. WMITLV_TAG_STRUC_wmi_roam_invoke_cmd_fixed_param,
  517. WMITLV_TAG_STRUC_wmi_pdev_resume_event_fixed_param,
  518. WMITLV_TAG_STRUC_wmi_pdev_set_antenna_diversity_cmd_fixed_param,
  519. WMITLV_TAG_STRUC_wmi_sap_ofl_enable_cmd_fixed_param,
  520. WMITLV_TAG_STRUC_wmi_sap_ofl_add_sta_event_fixed_param,
  521. WMITLV_TAG_STRUC_wmi_sap_ofl_del_sta_event_fixed_param,
  522. WMITLV_TAG_STRUC_wmi_apfind_cmd_param,
  523. WMITLV_TAG_STRUC_wmi_apfind_event_hdr,
  524. WMITLV_TAG_STRUC_wmi_ocb_set_sched_cmd_fixed_param, // DEPRECATED
  525. WMITLV_TAG_STRUC_wmi_ocb_set_sched_event_fixed_param, // DEPRECATED
  526. WMITLV_TAG_STRUC_wmi_ocb_set_config_cmd_fixed_param,
  527. WMITLV_TAG_STRUC_wmi_ocb_set_config_resp_event_fixed_param,
  528. WMITLV_TAG_STRUC_wmi_ocb_set_utc_time_cmd_fixed_param,
  529. WMITLV_TAG_STRUC_wmi_ocb_start_timing_advert_cmd_fixed_param,
  530. WMITLV_TAG_STRUC_wmi_ocb_stop_timing_advert_cmd_fixed_param,
  531. WMITLV_TAG_STRUC_wmi_ocb_get_tsf_timer_cmd_fixed_param,
  532. WMITLV_TAG_STRUC_wmi_ocb_get_tsf_timer_resp_event_fixed_param,
  533. WMITLV_TAG_STRUC_wmi_dcc_get_stats_cmd_fixed_param,
  534. WMITLV_TAG_STRUC_wmi_dcc_channel_stats_request,
  535. WMITLV_TAG_STRUC_wmi_dcc_get_stats_resp_event_fixed_param,
  536. WMITLV_TAG_STRUC_wmi_dcc_clear_stats_cmd_fixed_param,
  537. WMITLV_TAG_STRUC_wmi_dcc_update_ndl_cmd_fixed_param,
  538. WMITLV_TAG_STRUC_wmi_dcc_update_ndl_resp_event_fixed_param,
  539. WMITLV_TAG_STRUC_wmi_dcc_stats_event_fixed_param,
  540. WMITLV_TAG_STRUC_wmi_ocb_channel,
  541. WMITLV_TAG_STRUC_wmi_ocb_schedule_element,
  542. WMITLV_TAG_STRUC_wmi_dcc_ndl_stats_per_channel,
  543. WMITLV_TAG_STRUC_wmi_dcc_ndl_chan,
  544. WMITLV_TAG_STRUC_wmi_qos_parameter,
  545. WMITLV_TAG_STRUC_wmi_dcc_ndl_active_state_config,
  546. WMITLV_TAG_STRUC_wmi_roam_scan_extended_threshold_param,
  547. WMITLV_TAG_STRUC_wmi_roam_filter_fixed_param,
  548. WMITLV_TAG_STRUC_wmi_passpoint_config_cmd_fixed_param,
  549. WMITLV_TAG_STRUC_wmi_passpoint_event_hdr,
  550. WMITLV_TAG_STRUC_wmi_extscan_configure_hotlist_ssid_monitor_cmd_fixed_param,
  551. WMITLV_TAG_STRUC_wmi_extscan_hotlist_ssid_match_event_fixed_param,
  552. WMITLV_TAG_STRUC_wmi_vdev_tsf_tstamp_action_cmd_fixed_param,
  553. WMITLV_TAG_STRUC_wmi_vdev_tsf_report_event_fixed_param,
  554. WMITLV_TAG_STRUC_wmi_get_fw_mem_dump_fixed_param,
  555. WMITLV_TAG_STRUC_wmi_update_fw_mem_dump_fixed_param,
  556. WMITLV_TAG_STRUC_wmi_fw_mem_dump_params,
  557. WMITLV_TAG_STRUC_wmi_debug_mesg_flush_fixed_param,
  558. WMITLV_TAG_STRUC_wmi_debug_mesg_flush_complete_fixed_param,
  559. WMITLV_TAG_STRUC_wmi_peer_set_rate_report_condition_fixed_param,
  560. WMITLV_TAG_STRUC_wmi_roam_subnet_change_config_fixed_param,
  561. WMITLV_TAG_STRUC_wmi_vdev_set_ie_cmd_fixed_param,
  562. WMITLV_TAG_STRUC_wmi_rssi_breach_monitor_config_fixed_param,
  563. WMITLV_TAG_STRUC_wmi_rssi_breach_event_fixed_param,
  564. WMITLV_TAG_STRUC_WOW_EVENT_INITIAL_WAKEUP_fixed_param,
  565. WMITLV_TAG_STRUC_wmi_soc_set_pcl_cmd_fixed_param,
  566. WMITLV_TAG_STRUC_wmi_soc_set_hw_mode_cmd_fixed_param,
  567. WMITLV_TAG_STRUC_wmi_soc_set_hw_mode_response_event_fixed_param,
  568. WMITLV_TAG_STRUC_wmi_soc_hw_mode_transition_event_fixed_param,
  569. WMITLV_TAG_STRUC_wmi_vdev_txrx_streams,
  570. WMITLV_TAG_STRUC_wmi_soc_set_hw_mode_response_vdev_mac_entry,
  571. WMITLV_TAG_STRUC_wmi_soc_set_dual_mac_config_cmd_fixed_param,
  572. WMITLV_TAG_STRUC_wmi_soc_set_dual_mac_config_response_event_fixed_param,
  573. WMITLV_TAG_STRUC_WOW_IOAC_SOCK_PATTERN_T,
  574. WMITLV_TAG_STRUC_wmi_wow_enable_icmpv6_na_flt_cmd_fixed_param,
  575. WMITLV_TAG_STRUC_wmi_diag_event_log_config_fixed_param,
  576. WMITLV_TAG_STRUC_wmi_diag_event_log_supported_event_fixed_params,
  577. WMITLV_TAG_STRUC_wmi_packet_filter_config_fixed_param,
  578. WMITLV_TAG_STRUC_wmi_packet_filter_enable_fixed_param,
  579. WMITLV_TAG_STRUC_wmi_sap_set_blacklist_param_cmd_fixed_param,
  580. WMITLV_TAG_STRUC_wmi_mgmt_tx_send_cmd_fixed_param,
  581. WMITLV_TAG_STRUC_wmi_mgmt_tx_compl_event_fixed_param,
  582. WMITLV_TAG_STRUC_wmi_soc_set_antenna_mode_cmd_fixed_param,
  583. WMITLV_TAG_STRUC_WMI_WOW_UDP_SVC_OFLD_CMD_fixed_param,
  584. WMITLV_TAG_STRUC_wmi_lro_info_cmd_fixed_param,
  585. WMITLV_TAG_STRUC_wmi_roam_earlystop_rssi_thres_param,
  586. WMITLV_TAG_STRUC_wmi_service_ready_ext_event_fixed_param,
  587. WMITLV_TAG_STRUC_wmi_mawc_sensor_report_ind_cmd_fixed_param,
  588. WMITLV_TAG_STRUC_wmi_mawc_enable_sensor_event_fixed_param,
  589. WMITLV_TAG_STRUC_wmi_roam_configure_mawc_cmd_fixed_param,
  590. WMITLV_TAG_STRUC_wmi_nlo_configure_mawc_cmd_fixed_param,
  591. WMITLV_TAG_STRUC_wmi_extscan_configure_mawc_cmd_fixed_param,
  592. WMITLV_TAG_STRUC_wmi_peer_assoc_conf_event_fixed_param,
  593. WMITLV_TAG_STRUC_wmi_wow_hostwakeup_gpio_pin_pattern_config_cmd_fixed_param,
  594. WMITLV_TAG_STRUC_wmi_ap_ps_egap_param_cmd_fixed_param,
  595. WMITLV_TAG_STRUC_wmi_ap_ps_egap_info_event_fixed_param,
  596. WMITLV_TAG_STRUC_WMI_PMF_OFFLOAD_SET_SA_QUERY_CMD_fixed_param,
  597. WMITLV_TAG_STRUC_wmi_transfer_data_to_flash_cmd_fixed_param,
  598. WMITLV_TAG_STRUC_wmi_transfer_data_to_flash_complete_event_fixed_param,
  599. WMITLV_TAG_STRUC_wmi_scpc_event_fixed_param,
  600. WMITLV_TAG_STRUC_wmi_ap_ps_egap_info_chainmask_list,
  601. WMITLV_TAG_STRUC_wmi_sta_smps_force_mode_complete_event_fixed_param,
  602. WMITLV_TAG_STRUC_wmi_bpf_get_capability_cmd_fixed_param,
  603. WMITLV_TAG_STRUC_wmi_bpf_capability_info_evt_fixed_param,
  604. WMITLV_TAG_STRUC_wmi_bpf_get_vdev_stats_cmd_fixed_param,
  605. WMITLV_TAG_STRUC_wmi_bpf_vdev_stats_info_evt_fixed_param,
  606. WMITLV_TAG_STRUC_wmi_bpf_set_vdev_instructions_cmd_fixed_param,
  607. WMITLV_TAG_STRUC_wmi_bpf_del_vdev_instructions_cmd_fixed_param,
  608. WMITLV_TAG_STRUC_wmi_vdev_delete_resp_event_fixed_param,
  609. WMITLV_TAG_STRUC_wmi_peer_delete_resp_event_fixed_param,
  610. WMITLV_TAG_STRUC_wmi_roam_dense_thres_param,
  611. WMITLV_TAG_STRUC_enlo_candidate_score_param,
  612. WMITLV_TAG_STRUC_wmi_peer_update_wds_entry_cmd_fixed_param,
  613. WMITLV_TAG_STRUC_wmi_vdev_config_ratemask_fixed_param,
  614. WMITLV_TAG_STRUC_wmi_pdev_fips_cmd_fixed_param,
  615. WMITLV_TAG_STRUC_wmi_pdev_smart_ant_enable_cmd_fixed_param,
  616. WMITLV_TAG_STRUC_wmi_pdev_smart_ant_set_rx_antenna_cmd_fixed_param,
  617. WMITLV_TAG_STRUC_wmi_peer_smart_ant_set_tx_antenna_cmd_fixed_param,
  618. WMITLV_TAG_STRUC_wmi_peer_smart_ant_set_train_antenna_cmd_fixed_param,
  619. WMITLV_TAG_STRUC_wmi_peer_smart_ant_set_node_config_ops_cmd_fixed_param,
  620. WMITLV_TAG_STRUC_wmi_pdev_set_ant_switch_tbl_cmd_fixed_param,
  621. WMITLV_TAG_STRUC_wmi_pdev_set_ctl_table_cmd_fixed_param,
  622. WMITLV_TAG_STRUC_wmi_pdev_set_mimogain_table_cmd_fixed_param,
  623. WMITLV_TAG_STRUC_wmi_fwtest_set_param_cmd_fixed_param,
  624. WMITLV_TAG_STRUC_wmi_peer_atf_request_fixed_param,
  625. WMITLV_TAG_STRUC_wmi_vdev_atf_request_fixed_param,
  626. WMITLV_TAG_STRUC_wmi_pdev_get_ani_cck_config_cmd_fixed_param,
  627. WMITLV_TAG_STRUC_wmi_pdev_get_ani_ofdm_config_cmd_fixed_param,
  628. WMITLV_TAG_STRUC_wmi_inst_rssi_stats_resp_fixed_param,
  629. WMITLV_TAG_STRUC_wmi_med_util_report_event_fixed_param,
  630. WMITLV_TAG_STRUC_wmi_peer_sta_ps_statechange_event_fixed_param,
  631. WMITLV_TAG_STRUC_wmi_wds_addr_event_fixed_param,
  632. WMITLV_TAG_STRUC_wmi_peer_ratecode_list_event_fixed_param,
  633. WMITLV_TAG_STRUC_wmi_pdev_nfcal_power_all_channels_event_fixed_param,
  634. WMITLV_TAG_STRUC_wmi_pdev_tpc_event_fixed_param,
  635. WMITLV_TAG_STRUC_wmi_ani_ofdm_event_fixed_param,
  636. WMITLV_TAG_STRUC_wmi_ani_cck_event_fixed_param,
  637. WMITLV_TAG_STRUC_wmi_pdev_channel_hopping_event_fixed_param,
  638. WMITLV_TAG_STRUC_wmi_pdev_fips_event_fixed_param,
  639. WMITLV_TAG_STRUC_wmi_atf_peer_info,
  640. WMITLV_TAG_STRUC_wmi_pdev_get_tpc_cmd_fixed_param,
  641. WMITLV_TAG_STRUC_wmi_vdev_filter_nrp_config_cmd_fixed_param,
  642. WMITLV_TAG_STRUC_WMI_QBOOST_CFG_CMD_fixed_param,
  643. WMITLV_TAG_STRUC_wmi_pdev_smart_ant_gpio_handle,
  644. WMITLV_TAG_STRUC_wmi_peer_smart_ant_set_tx_antenna_series,
  645. WMITLV_TAG_STRUC_wmi_peer_smart_ant_set_train_antenna_param,
  646. WMITLV_TAG_STRUC_wmi_pdev_set_ant_ctrl_chain,
  647. WMITLV_TAG_STRUC_wmi_peer_cck_ofdm_rate_info,
  648. WMITLV_TAG_STRUC_wmi_peer_mcs_rate_info,
  649. WMITLV_TAG_STRUC_wmi_pdev_nfcal_power_all_channels_nfdBr,
  650. WMITLV_TAG_STRUC_wmi_pdev_nfcal_power_all_channels_nfdBm,
  651. WMITLV_TAG_STRUC_wmi_pdev_nfcal_power_all_channels_freqNum,
  652. WMITLV_TAG_STRUC_wmi_mu_report_total_mu,
  653. WMITLV_TAG_STRUC_wmi_vdev_set_dscp_tid_map_cmd_fixed_param,
  654. WMITLV_TAG_STRUC_wmi_roam_set_mbo_fixed_param,
  655. WMITLV_TAG_STRUC_wmi_mib_stats_enable_cmd_fixed_param,
  656. WMITLV_TAG_STRUC_wmi_nan_disc_iface_created_event_fixed_param,
  657. WMITLV_TAG_STRUC_wmi_nan_disc_iface_deleted_event_fixed_param,
  658. WMITLV_TAG_STRUC_wmi_nan_started_cluster_event_fixed_param,
  659. WMITLV_TAG_STRUC_wmi_nan_joined_cluster_event_fixed_param,
  660. WMITLV_TAG_STRUC_wmi_ndi_get_cap_req_fixed_param,
  661. WMITLV_TAG_STRUC_wmi_ndp_initiator_req_fixed_param,
  662. WMITLV_TAG_STRUC_wmi_ndp_responder_req_fixed_param,
  663. WMITLV_TAG_STRUC_wmi_ndp_end_req_fixed_param,
  664. WMITLV_TAG_STRUC_wmi_ndi_cap_rsp_event_fixed_param,
  665. WMITLV_TAG_STRUC_wmi_ndp_initiator_rsp_event_fixed_param,
  666. WMITLV_TAG_STRUC_wmi_ndp_responder_rsp_event_fixed_param,
  667. WMITLV_TAG_STRUC_wmi_ndp_end_rsp_event_fixed_param,
  668. WMITLV_TAG_STRUC_wmi_ndp_indication_event_fixed_param,
  669. WMITLV_TAG_STRUC_wmi_ndp_confirm_event_fixed_param,
  670. WMITLV_TAG_STRUC_wmi_ndp_end_indication_event_fixed_param,
  671. WMITLV_TAG_STRUC_wmi_vdev_set_quiet_cmd_fixed_param,
  672. WMITLV_TAG_STRUC_wmi_pdev_set_pcl_cmd_fixed_param,
  673. WMITLV_TAG_STRUC_wmi_pdev_set_hw_mode_cmd_fixed_param,
  674. WMITLV_TAG_STRUC_wmi_pdev_set_mac_config_cmd_fixed_param,
  675. WMITLV_TAG_STRUC_wmi_pdev_set_antenna_mode_cmd_fixed_param,
  676. WMITLV_TAG_STRUC_wmi_pdev_set_hw_mode_response_event_fixed_param,
  677. WMITLV_TAG_STRUC_wmi_pdev_hw_mode_transition_event_fixed_param,
  678. WMITLV_TAG_STRUC_wmi_pdev_set_hw_mode_response_vdev_mac_entry,
  679. WMITLV_TAG_STRUC_wmi_pdev_set_mac_config_response_event_fixed_param,
  680. WMITLV_TAG_STRUC_WMI_COEX_CONFIG_CMD_fixed_param,
  681. WMITLV_TAG_STRUC_wmi_config_enhanced_mcast_filter_fixed_param,
  682. WMITLV_TAG_STRUC_WMI_CHAN_AVOID_RPT_ALLOW_CMD_fixed_param,
  683. WMITLV_TAG_STRUC_wmi_set_periodic_channel_stats_config_fixed_param,
  684. WMITLV_TAG_STRUC_wmi_vdev_set_custom_aggr_size_cmd_fixed_param,
  685. WMITLV_TAG_STRUC_wmi_pdev_wal_power_debug_cmd_fixed_param,
  686. WMITLV_TAG_STRUC_WMI_MAC_PHY_CAPABILITIES,
  687. WMITLV_TAG_STRUC_WMI_HW_MODE_CAPABILITIES,
  688. WMITLV_TAG_STRUC_WMI_SOC_MAC_PHY_HW_MODE_CAPS,
  689. WMITLV_TAG_STRUC_WMI_HAL_REG_CAPABILITIES_EXT,
  690. WMITLV_TAG_STRUC_WMI_SOC_HAL_REG_CAPABILITIES,
  691. WMITLV_TAG_STRUC_wmi_vdev_wisa_cmd_fixed_param,
  692. WMITLV_TAG_STRUC_wmi_tx_power_level_stats_evt_fixed_param,
  693. WMITLV_TAG_STRUC_wmi_scan_adaptive_dwell_parameters_tlv,
  694. WMITLV_TAG_STRUC_wmi_scan_adaptive_dwell_config_fixed_param,
  695. WMITLV_TAG_STRUC_wmi_wow_set_action_wake_up_cmd_fixed_param,
  696. WMITLV_TAG_STRUC_wmi_ndp_end_rsp_per_ndi,
  697. WMITLV_TAG_STRUC_wmi_peer_bwf_request_fixed_param,
  698. WMITLV_TAG_STRUC_wmi_bwf_peer_info,
  699. WMITLV_TAG_STRUC_wmi_dbglog_time_stamp_sync_cmd_fixed_param,
  700. WMITLV_TAG_STRUC_wmi_rmc_set_leader_cmd_fixed_param,
  701. WMITLV_TAG_STRUC_wmi_rmc_manual_leader_event_fixed_param,
  702. WMITLV_TAG_STRUC_wmi_per_chain_rssi_stats,
  703. WMITLV_TAG_STRUC_wmi_rssi_stats,
  704. WMITLV_TAG_STRUC_wmi_p2p_lo_start_cmd_fixed_param,
  705. WMITLV_TAG_STRUC_wmi_p2p_lo_stop_cmd_fixed_param,
  706. WMITLV_TAG_STRUC_wmi_p2p_lo_stopped_event_fixed_param,
  707. WMITLV_TAG_STRUC_wmi_peer_reorder_queue_setup_cmd_fixed_param,
  708. WMITLV_TAG_STRUC_wmi_peer_reorder_queue_remove_cmd_fixed_param,
  709. WMITLV_TAG_STRUC_wmi_set_multiple_mcast_filter_cmd_fixed_param,
  710. WMITLV_TAG_STRUC_wmi_mgmt_tx_compl_bundle_event_fixed_param,
  711. WMITLV_TAG_STRUC_wmi_read_data_from_flash_cmd_fixed_param,
  712. WMITLV_TAG_STRUC_wmi_read_data_from_flash_event_fixed_param,
  713. WMITLV_TAG_STRUC_wmi_pdev_set_reorder_timeout_val_cmd_fixed_param,
  714. WMITLV_TAG_STRUC_wmi_peer_set_rx_blocksize_cmd_fixed_param,
  715. WMITLV_TAG_STRUC_WMI_PDEV_SET_WAKEUP_CONFIG_CMDID_fixed_param,
  716. WMITLV_TAG_STRUC_wmi_tlv_buf_len_param,
  717. WMITLV_TAG_STRUC_wmi_service_available_event_fixed_param,
  718. WMITLV_TAG_STRUC_wmi_peer_antdiv_info_req_cmd_fixed_param,
  719. WMITLV_TAG_STRUC_wmi_peer_antdiv_info_event_fixed_param,
  720. WMITLV_TAG_STRUC_wmi_peer_antdiv_info,
  721. WMITLV_TAG_STRUC_wmi_pdev_get_antdiv_status_cmd_fixed_param,
  722. WMITLV_TAG_STRUC_wmi_pdev_antdiv_status_event_fixed_param,
  723. WMITLV_TAG_STRUC_wmi_mnt_filter_cmd_fixed_param,
  724. WMITLV_TAG_STRUC_wmi_get_chip_power_stats_cmd_fixed_param,
  725. WMITLV_TAG_STRUC_wmi_pdev_chip_power_stats_event_fixed_param,
  726. WMITLV_TAG_STRUC_wmi_coex_get_antenna_isolation_cmd_fixed_param,
  727. WMITLV_TAG_STRUC_wmi_coex_report_isolation_event_fixed_param,
  728. WMITLV_TAG_STRUC_wmi_chan_cca_stats,
  729. WMITLV_TAG_STRUC_wmi_peer_signal_stats,
  730. WMITLV_TAG_STRUC_wmi_tx_stats,
  731. WMITLV_TAG_STRUC_wmi_peer_ac_tx_stats,
  732. WMITLV_TAG_STRUC_wmi_rx_stats,
  733. WMITLV_TAG_STRUC_wmi_peer_ac_rx_stats,
  734. WMITLV_TAG_STRUC_wmi_report_stats_event_fixed_param,
  735. WMITLV_TAG_STRUC_wmi_chan_cca_stats_thresh,
  736. WMITLV_TAG_STRUC_wmi_peer_signal_stats_thresh,
  737. WMITLV_TAG_STRUC_wmi_tx_stats_thresh,
  738. WMITLV_TAG_STRUC_wmi_rx_stats_thresh,
  739. WMITLV_TAG_STRUC_wmi_pdev_set_stats_threshold_cmd_fixed_param,
  740. WMITLV_TAG_STRUC_wmi_request_wlan_stats_cmd_fixed_param,
  741. WMITLV_TAG_STRUC_wmi_rx_aggr_failure_event_fixed_param,
  742. WMITLV_TAG_STRUC_wmi_rx_aggr_failure_info,
  743. WMITLV_TAG_STRUC_wmi_vdev_encrypt_decrypt_data_req_cmd_fixed_param,
  744. WMITLV_TAG_STRUC_wmi_vdev_encrypt_decrypt_data_resp_event_fixed_param,
  745. WMITLV_TAG_STRUC_wmi_pdev_band_to_mac,
  746. WMITLV_TAG_STRUC_wmi_tbtt_offset_info,
  747. WMITLV_TAG_STRUC_wmi_tbtt_offset_ext_event_fixed_param,
  748. WMITLV_TAG_STRUC_wmi_sar_limits_cmd_fixed_param,
  749. WMITLV_TAG_STRUC_wmi_sar_limit_cmd_row,
  750. WMITLV_TAG_STRUC_wmi_pdev_dfs_phyerr_offload_enable_cmd_fixed_param,
  751. WMITLV_TAG_STRUC_wmi_pdev_dfs_phyerr_offload_disable_cmd_fixed_param,
  752. WMITLV_TAG_STRUC_wmi_vdev_adfs_ch_cfg_cmd_fixed_param,
  753. WMITLV_TAG_STRUC_wmi_vdev_adfs_ocac_abort_cmd_fixed_param,
  754. WMITLV_TAG_STRUC_wmi_pdev_dfs_radar_detection_event_fixed_param,
  755. WMITLV_TAG_STRUC_wmi_vdev_adfs_ocac_complete_event_fixed_param,
  756. WMITLV_TAG_STRUC_wmi_vdev_dfs_cac_complete_event_fixed_param,
  757. WMITLV_TAG_STRUC_wmi_vendor_oui,
  758. WMITLV_TAG_STRUC_wmi_request_rcpi_cmd_fixed_param,
  759. WMITLV_TAG_STRUC_wmi_update_rcpi_event_fixed_param,
  760. WMITLV_TAG_STRUC_wmi_request_peer_stats_info_cmd_fixed_param,
  761. WMITLV_TAG_STRUC_wmi_peer_stats_info,
  762. WMITLV_TAG_STRUC_wmi_peer_stats_info_event_fixed_param,
  763. WMITLV_TAG_STRUC_wmi_pkgid_event_fixed_param,
  764. WMITLV_TAG_STRUC_wmi_connected_nlo_rssi_params,
  765. WMITLV_TAG_STRUC_wmi_set_current_country_cmd_fixed_param,
  766. WMITLV_TAG_STRUC_wmi_regulatory_rule_struct,
  767. WMITLV_TAG_STRUC_wmi_reg_chan_list_cc_event_fixed_param,
  768. WMITLV_TAG_STRUC_wmi_11d_scan_start_cmd_fixed_param,
  769. WMITLV_TAG_STRUC_wmi_11d_scan_stop_cmd_fixed_param,
  770. WMITLV_TAG_STRUC_wmi_11d_new_country_event_fixed_param,
  771. WMITLV_TAG_STRUC_wmi_request_radio_chan_stats_cmd_fixed_param,
  772. WMITLV_TAG_STRUC_wmi_radio_chan_stats,
  773. WMITLV_TAG_STRUC_wmi_radio_chan_stats_event_fixed_param,
  774. WMITLV_TAG_STRUC_wmi_roam_per_config_fixed_param,
  775. WMITLV_TAG_STRUC_wmi_vdev_add_mac_addr_to_rx_filter_cmd_fixed_param,
  776. WMITLV_TAG_STRUC_wmi_vdev_add_mac_addr_to_rx_filter_status_event_fixed_param,
  777. WMITLV_TAG_STRUC_wmi_bpf_set_vdev_active_mode_cmd_fixed_param,
  778. WMITLV_TAG_STRUC_wmi_hw_data_filter_cmd_fixed_param,
  779. WMITLV_TAG_STRUC_wmi_connected_nlo_bss_band_rssi_pref,
  780. WMITLV_TAG_STRUC_wmi_peer_oper_mode_change_event_fixed_param,
  781. WMITLV_TAG_STRUC_wmi_chip_power_save_failure_detected_fixed_param,
  782. WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_restart_request_cmd_fixed_param,
  783. WMITLV_TAG_STRUC_wmi_pdev_csa_switch_count_status_event_fixed_param,
  784. WMITLV_TAG_STRUC_wmi_pdev_update_pkt_routing_cmd_fixed_param,
  785. WMITLV_TAG_STRUC_wmi_pdev_check_cal_version_cmd_fixed_param,
  786. WMITLV_TAG_STRUC_wmi_pdev_check_cal_version_event_fixed_param,
  787. WMITLV_TAG_STRUC_wmi_pdev_set_diversity_gain_cmd_fixed_param,
  788. WMITLV_TAG_STRUC_WMI_MAC_PHY_CHAINMASK_COMBO,
  789. WMITLV_TAG_STRUC_WMI_MAC_PHY_CHAINMASK_CAPABILITY,
  790. WMITLV_TAG_STRUC_wmi_vdev_set_arp_stats_cmd_fixed_param,
  791. WMITLV_TAG_STRUC_wmi_vdev_get_arp_stats_cmd_fixed_param,
  792. WMITLV_TAG_STRUC_wmi_vdev_get_arp_stats_event_fixed_param,
  793. WMITLV_TAG_STRUC_wmi_iface_offload_stats,
  794. WMITLV_TAG_STRUC_wmi_request_stats_cmd_sub_struc_param,
  795. WMITLV_TAG_STRUC_rssi_ctl_ext,
  796. WMITLV_TAG_STRUC_wmi_single_phyerr_ext_rx_hdr,
  797. WMITLV_TAG_STRUC_wmi_coex_bt_activity_event_fixed_param,
  798. WMITLV_TAG_STRUC_wmi_vdev_get_tx_power_cmd_fixed_param,
  799. WMITLV_TAG_STRUC_wmi_vdev_tx_power_event_fixed_param,
  800. WMITLV_TAG_STRUC_wmi_offchan_data_tx_compl_event_fixed_param,
  801. WMITLV_TAG_STRUC_wmi_offchan_data_tx_send_cmd_fixed_param,
  802. WMITLV_TAG_STRUC_wmi_tx_send_params,
  803. WMITLV_TAG_STRUC_wmi_he_rate_set,
  804. WMITLV_TAG_STRUC_wmi_congestion_stats,
  805. WMITLV_TAG_STRUC_wmi_set_init_country_cmd_fixed_param,
  806. WMITLV_TAG_STRUC_wmi_scan_dbs_duty_cycle_fixed_param,
  807. WMITLV_TAG_STRUC_wmi_scan_dbs_duty_cycle_param_tlv,
  808. WMITLV_TAG_STRUC_wmi_pdev_div_get_rssi_antid_fixed_param,
  809. WMITLV_TAG_STRUC_wmi_therm_throt_config_request_fixed_param,
  810. WMITLV_TAG_STRUC_wmi_therm_throt_level_config_info,
  811. WMITLV_TAG_STRUC_wmi_therm_throt_stats_event_fixed_param,
  812. WMITLV_TAG_STRUC_wmi_therm_throt_level_stats_info,
  813. WMITLV_TAG_STRUC_wmi_pdev_div_rssi_antid_event_fixed_param,
  814. WMITLV_TAG_STRUC_WMI_OEM_DMA_RING_CAPABILITIES,
  815. WMITLV_TAG_STRUC_wmi_oem_dma_ring_cfg_req_fixed_param,
  816. WMITLV_TAG_STRUC_wmi_oem_dma_ring_cfg_rsp_fixed_param,
  817. WMITLV_TAG_STRUC_wmi_oem_indirect_data,
  818. WMITLV_TAG_STRUC_wmi_oem_dma_buf_release_fixed_param,
  819. WMITLV_TAG_STRUC_wmi_oem_dma_buf_release_entry,
  820. WMITLV_TAG_STRUC_wmi_pdev_bss_chan_info_request_fixed_param,
  821. WMITLV_TAG_STRUC_wmi_pdev_bss_chan_info_event_fixed_param,
  822. WMITLV_TAG_STRUC_wmi_roam_lca_disallow_config_tlv_param,
  823. WMITLV_TAG_STRUC_wmi_vdev_limit_offchan_cmd_fixed_param,
  824. WMITLV_TAG_STRUC_wmi_roam_rssi_rejection_oce_config_param,
  825. WMITLV_TAG_STRUC_wmi_roam_rejection_list_config_param = /* alias */
  826. WMITLV_TAG_STRUC_wmi_roam_rssi_rejection_oce_config_param,
  827. WMITLV_TAG_STRUC_wmi_unit_test_event_fixed_param,
  828. WMITLV_TAG_STRUC_wmi_roam_fils_offload_tlv_param,
  829. WMITLV_TAG_STRUC_wmi_pdev_update_pmk_cache_cmd_fixed_param,
  830. WMITLV_TAG_STRUC_wmi_pmk_cache,
  831. WMITLV_TAG_STRUC_wmi_pdev_update_fils_hlp_pkt_cmd_fixed_param,
  832. WMITLV_TAG_STRUC_wmi_roam_fils_synch_tlv_param,
  833. WMITLV_TAG_STRUC_wmi_gtk_offload_extended_tlv_param,
  834. WMITLV_TAG_STRUC_wmi_roam_bg_scan_roaming_param,
  835. WMITLV_TAG_STRUC_wmi_oic_ping_offload_params_cmd_fixed_param,
  836. WMITLV_TAG_STRUC_wmi_oic_ping_offload_set_enable_cmd_fixed_param,
  837. WMITLV_TAG_STRUC_wmi_oic_ping_handoff_event,
  838. WMITLV_TAG_STRUC_wmi_dhcp_lease_renew_offload_cmd_fixed_param,
  839. WMITLV_TAG_STRUC_wmi_dhcp_lease_renew_event,
  840. WMITLV_TAG_STRUC_wmi_btm_config_fixed_param,
  841. WMITLV_TAG_STRUC_wmi_debug_mesg_fw_data_stall_param,
  842. WMITLV_TAG_STRUC_wmi_wlm_config_cmd_fixed_param,
  843. WMITLV_TAG_STRUC_wmi_pdev_update_ctltable_request_fixed_param,
  844. WMITLV_TAG_STRUC_wmi_pdev_update_ctltable_event_fixed_param,
  845. WMITLV_TAG_STRUC_wmi_roam_cnd_scoring_param,
  846. WMITLV_TAG_STRUC_wmi_pdev_config_vendor_oui_action_fixed_param,
  847. WMITLV_TAG_STRUC_wmi_vendor_oui_ext,
  848. WMITLV_TAG_STRUC_wmi_roam_synch_frame_event_fixed_param,
  849. WMITLV_TAG_STRUC_wmi_fd_send_from_host_cmd_fixed_param,
  850. WMITLV_TAG_STRUC_wmi_enable_fils_cmd_fixed_param,
  851. WMITLV_TAG_STRUC_wmi_host_swfda_event_fixed_param,
  852. WMITLV_TAG_STRUC_wmi_bcn_offload_ctrl_cmd_fixed_param,
  853. WMITLV_TAG_STRUC_wmi_pdev_set_ac_tx_queue_optimized_cmd_fixed_param,
  854. WMITLV_TAG_STRUC_wmi_stats_period,
  855. WMITLV_TAG_STRUC_wmi_ndl_schedule_update_fixed_param,
  856. WMITLV_TAG_STRUC_wmi_peer_tid_msduq_qdepth_thresh_update_cmd_fixed_param,
  857. WMITLV_TAG_STRUC_wmi_msduq_qdepth_thresh_update,
  858. WMITLV_TAG_STRUC_wmi_pdev_set_rx_filter_promiscuous_cmd_fixed_param,
  859. WMITLV_TAG_STRUC_wmi_sar2_result_event_fixed_param,
  860. WMITLV_TAG_STRUC_WMI_SAR_CAPABILITIES,
  861. WMITLV_TAG_STRUC_wmi_sap_obss_detection_cfg_cmd_fixed_param,
  862. WMITLV_TAG_STRUC_wmi_sap_obss_detection_info_evt_fixed_param,
  863. WMITLV_TAG_STRUC_WMI_DMA_RING_CAPABILITIES,
  864. WMITLV_TAG_STRUC_wmi_dma_ring_cfg_req_fixed_param,
  865. WMITLV_TAG_STRUC_wmi_dma_ring_cfg_rsp_fixed_param,
  866. WMITLV_TAG_STRUC_wmi_dma_buf_release_fixed_param,
  867. WMITLV_TAG_STRUC_wmi_dma_buf_release_entry,
  868. WMITLV_TAG_STRUC_wmi_sar_get_limits_cmd_fixed_param,
  869. WMITLV_TAG_STRUC_wmi_sar_get_limits_event_fixed_param,
  870. WMITLV_TAG_STRUC_wmi_sar_get_limits_event_row,
  871. WMITLV_TAG_STRUC_wmi_offload_11k_report_fixed_param,
  872. WMITLV_TAG_STRUC_wmi_invoke_neighbor_report_fixed_param,
  873. WMITLV_TAG_STRUC_wmi_neighbor_report_offload_tlv_param,
  874. WMITLV_TAG_STRUC_wmi_vdev_set_connectivity_check_stats,
  875. WMITLV_TAG_STRUC_wmi_vdev_get_connectivity_check_stats,
  876. WMITLV_TAG_STRUC_wmi_bpf_set_vdev_enable_cmd_fixed_param,
  877. WMITLV_TAG_STRUC_wmi_bpf_set_vdev_work_memory_cmd_fixed_param,
  878. WMITLV_TAG_STRUC_wmi_bpf_get_vdev_work_memory_cmd_fixed_param,
  879. WMITLV_TAG_STRUC_wmi_bpf_get_vdev_work_memory_resp_evt_fixed_param,
  880. WMITLV_TAG_STRUC_wmi_pdev_get_nfcal_power_fixed_param,
  881. WMITLV_TAG_STRUC_wmi_bss_color_change_enable_fixed_param,
  882. WMITLV_TAG_STRUC_wmi_obss_color_collision_det_config_fixed_param,
  883. WMITLV_TAG_STRUC_wmi_obss_color_collision_evt_fixed_param,
  884. WMITLV_TAG_STRUC_wmi_runtime_dpd_recal_cmd_fixed_param,
  885. WMITLV_TAG_STRUC_wmi_twt_enable_cmd_fixed_param,
  886. WMITLV_TAG_STRUC_wmi_twt_disable_cmd_fixed_param,
  887. WMITLV_TAG_STRUC_wmi_twt_add_dialog_cmd_fixed_param,
  888. WMITLV_TAG_STRUC_wmi_twt_del_dialog_cmd_fixed_param,
  889. WMITLV_TAG_STRUC_wmi_twt_pause_dialog_cmd_fixed_param,
  890. WMITLV_TAG_STRUC_wmi_twt_resume_dialog_cmd_fixed_param,
  891. WMITLV_TAG_STRUC_wmi_twt_enable_complete_event_fixed_param,
  892. WMITLV_TAG_STRUC_wmi_twt_disable_complete_event_fixed_param,
  893. WMITLV_TAG_STRUC_wmi_twt_add_dialog_complete_event_fixed_param,
  894. WMITLV_TAG_STRUC_wmi_twt_del_dialog_complete_event_fixed_param,
  895. WMITLV_TAG_STRUC_wmi_twt_pause_dialog_complete_event_fixed_param,
  896. WMITLV_TAG_STRUC_wmi_twt_resume_dialog_complete_event_fixed_param,
  897. WMITLV_TAG_STRUC_wmi_request_roam_scan_stats_cmd_fixed_param,
  898. WMITLV_TAG_STRUC_wmi_roam_scan_stats_event_fixed_param,
  899. WMITLV_TAG_STRUC_wmi_peer_tid_configurations_cmd_fixed_param,
  900. WMITLV_TAG_STRUC_wmi_vdev_set_custom_sw_retry_th_cmd_fixed_param,
  901. WMITLV_TAG_STRUC_wmi_get_tpc_power_cmd_fixed_param,
  902. WMITLV_TAG_STRUC_wmi_get_tpc_power_evt_fixed_param,
  903. WMITLV_TAG_STRUC_wmi_dma_buf_release_spectral_meta_data,
  904. WMITLV_TAG_STRUC_wmi_motion_det_config_params_cmd_fixed_param,
  905. WMITLV_TAG_STRUC_wmi_motion_det_base_line_config_params_cmd_fixed_param,
  906. WMITLV_TAG_STRUC_wmi_motion_det_start_stop_cmd_fixed_param,
  907. WMITLV_TAG_STRUC_wmi_motion_det_base_line_start_stop_cmd_fixed_param,
  908. WMITLV_TAG_STRUC_wmi_motion_det_event,
  909. WMITLV_TAG_STRUC_wmi_motion_det_base_line_event,
  910. WMITLV_TAG_STRUC_wmi_ndp_transport_ip_param,
  911. WMITLV_TAG_STRUC_wmi_obss_spatial_reuse_set_cmd_fixed_param,
  912. WMITLV_TAG_STRUC_wmi_esp_estimate_event_fixed_param,
  913. WMITLV_TAG_STRUC_wmi_nan_host_config_param,
  914. WMITLV_TAG_STRUC_wmi_spectral_bin_scaling_params,
  915. WMITLV_TAG_STRUC_wmi_peer_cfr_capture_cmd_fixed_param,
  916. WMITLV_TAG_STRUC_wmi_peer_chan_width_switch_cmd_fixed_param,
  917. WMITLV_TAG_STRUC_wmi_chan_width_peer_list,
  918. WMITLV_TAG_STRUC_wmi_obss_spatial_reuse_set_def_obss_thresh_cmd_fixed_param,
  919. WMITLV_TAG_STRUC_wmi_pdev_he_tb_action_frm_cmd_fixed_param,
  920. WMITLV_TAG_STRUC_wmi_peer_extd2_stats,
  921. WMITLV_TAG_STRUC_wmi_hpcs_pulse_start_cmd_fixed_param,
  922. WMITLV_TAG_STRUC_wmi_pdev_ctl_failsafe_check_fixed_param,
  923. WMITLV_TAG_STRUC_wmi_vdev_chainmask_config_cmd_fixed_param,
  924. WMITLV_TAG_STRUC_wmi_vdev_bcn_offload_quiet_config_cmd_fixed_param,
  925. WMITLV_TAG_STRUC_wmi_nan_event_info,
  926. WMITLV_TAG_STRUC_wmi_ndp_channel_info,
  927. WMITLV_TAG_STRUC_wmi_ndp_cmd_param,
  928. WMITLV_TAG_STRUC_wmi_ndp_event_param,
  929. WMITLV_TAG_STRUC_wmi_pdev_pktlog_filter_cmd_fixed_param,
  930. WMITLV_TAG_STRUC_wmi_pdev_pktlog_filter_info,
  931. WMITLV_TAG_STRUC_wmi_quiet_offload_info,
  932. WMITLV_TAG_STRUC_wmi_get_bcn_recv_stats_fixed_param,
  933. WMITLV_TAG_STRUC_wmi_vdev_bcn_recv_stats_event_fixed_param,
  934. WMITLV_TAG_STRUC_wmi_peer_tx_pn_request_cmd_fixed_param,
  935. WMITLV_TAG_STRUC_wmi_peer_tx_pn_response_event_fixed_param,
  936. WMITLV_TAG_STRUC_wmi_tlv_arrays_len_param,
  937. WMITLV_TAG_STRUC_wmi_peer_unmap_response_cmd_fixed_param,
  938. WMITLV_TAG_STRUC_wmi_pdev_csc_switch_count_status_event_fixed_param,
  939. WMITLV_TAG_STRUC_wmi_roam_bss_load_config_cmd_fixed_param,
  940. WMITLV_TAG_STRUC_wmi_roam_blacklist_event_fixed_param,
  941. WMITLV_TAG_STRUC_wmi_csc_vdev_list,
  942. WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_info_cmd_fixed_param,
  943. WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_state_fixed_param,
  944. WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_dpwb_state_fixed_param,
  945. WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_tdm_state_fixed_param,
  946. WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_idrx_state_fixed_param,
  947. WMITLV_TAG_STRUC_wmi_vdev_get_mws_coex_antenna_sharing_state_fixed_param,
  948. WMITLV_TAG_STRUC_wmi_request_wlm_stats_cmd_fixed_param,
  949. WMITLV_TAG_STRUC_wmi_wlm_stats_event_fixed_param,
  950. WMITLV_TAG_STRUC_wmi_key_material_ext,
  951. WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_fixed_param,
  952. WMITLV_TAG_STRUC_wmi_cold_boot_cal_data_fixed_param,
  953. WMITLV_TAG_STRUC_wmi_pdev_set_rap_config_fixed_param,
  954. WMITLV_TAG_STRUC_wmi_pdev_set_rap_config_on_sta_ps_tlv_param,
  955. WMITLV_TAG_STRUC_wmi_pdev_rap_info_event_fixed_param,
  956. WMITLV_TAG_STRUC_wmi_sta_tdcc_config_cmd_fixed_param,
  957. WMITLV_TAG_STRUC_wmi_roam_deauth_config_cmd_fixed_param,
  958. WMITLV_TAG_STRUC_wmi_roam_idle_config_cmd_fixed_param,
  959. WMITLV_TAG_STRUC_wmi_idle_trigger_monitor_cmd_fixed_param,
  960. WMITLV_TAG_STRUC_wmi_stats_interference,
  961. WMITLV_TAG_STRUC_wmi_roam_score_delta_param,
  962. WMITLV_TAG_STRUC_wmi_roam_cnd_min_rssi_param,
  963. WMITLV_TAG_STRUC_wmi_chan_rf_characterization_info,
  964. WMITLV_TAG_STRUC_wmi_wlanfw_iface_cmb_ind_event_fixed_param,
  965. WMITLV_TAG_STRUC_wmi_wlanfw_iface_combination_param,
  966. WMITLV_TAG_STRUC_wmi_wlanfw_iface_limit_param,
  967. WMITLV_TAG_STRUC_wmi_pdev_dsm_filter_fixed_param,
  968. WMITLV_TAG_STRUC_wmi_pdev_bssid_disallow_list_config_param,
  969. WMITLV_TAG_STRUC_wmi_mgmt_hdr,
  970. WMITLV_TAG_STRUC_wmi_muedca_params_config_event_fixed_param,
  971. WMITLV_TAG_STRUC_wmi_twt_btwt_invite_sta_cmd_fixed_param,
  972. WMITLV_TAG_STRUC_wmi_twt_btwt_remove_sta_cmd_fixed_param,
  973. WMITLV_TAG_STRUC_wmi_twt_btwt_invite_sta_complete_event_fixed_param,
  974. WMITLV_TAG_STRUC_wmi_twt_btwt_remove_sta_complete_event_fixed_param,
  975. WMITLV_TAG_STRUC_wmi_vdev_delete_all_peer_cmd_fixed_param,
  976. WMITLV_TAG_STRUC_wmi_vdev_delete_all_peer_resp_event_fixed_param,
  977. WMITLV_TAG_STRUC_wmi_chan_rf_characterization_info_event_fixed_param,
  978. WMITLV_TAG_STRUC_wmi_oem_data_cmd_fixed_param,
  979. WMITLV_TAG_STRUC_wmi_roam_enable_disable_trigger_reason_fixed_param,
  980. WMITLV_TAG_STRUC_wmi_service_ready_ext2_event_fixed_param,
  981. WMITLV_TAG_STRUC_wmi_roam_preauth_status_cmd_fixed_param,
  982. WMITLV_TAG_STRUC_wmi_roam_preauth_start_event_fixed_param,
  983. WMITLV_TAG_STRUC_wmi_set_elna_bypass_cmd_fixed_param,
  984. WMITLV_TAG_STRUC_wmi_get_elna_bypass_cmd_fixed_param,
  985. WMITLV_TAG_STRUC_wmi_get_elna_bypass_event_fixed_param,
  986. WMITLV_TAG_STRUC_wmi_roam_pmkid_request_event_fixed_param,
  987. WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_phase_fixed_param,
  988. WMITLV_TAG_STRUC_wmi_audio_aggr_enable_cmd_fixed_param,
  989. WMITLV_TAG_STRUC_audio_aggr_rate_set,
  990. WMITLV_TAG_STRUC_wmi_audio_aggr_add_group,
  991. WMITLV_TAG_STRUC_wmi_audio_aggr_del_group,
  992. WMITLV_TAG_STRUC_wmi_audio_aggr_set_group_rate,
  993. WMITLV_TAG_STRUC_wmi_audio_aggr_set_group_retry,
  994. WMITLV_TAG_STRUC_wmi_cfr_capture_filter_cmd_fixed_param,
  995. WMITLV_TAG_STRUC_wmi_cfr_filter_group_config,
  996. WMITLV_TAG_STRUC_wmi_fd_tmpl_cmd_fixed_param,
  997. WMITLV_TAG_STRUC_wmi_vdev_bss_max_idle_time_cmd_fixed_param,
  998. WMITLV_TAG_STRUC_wmi_atf_ssid_grp_request_fixed_param,
  999. WMITLV_TAG_STRUC_wmi_atf_group_info,
  1000. WMITLV_TAG_STRUC_wmi_atf_grp_wmm_ac_cfg_request_fixed_param,
  1001. WMITLV_TAG_STRUC_wmi_atf_group_wmm_ac_info,
  1002. WMITLV_TAG_STRUC_wmi_peer_atf_ext_request_fixed_param,
  1003. WMITLV_TAG_STRUC_wmi_peer_atf_ext_info,
  1004. WMITLV_TAG_STRUC_wmi_get_channel_ani_cmd_fixed_param,
  1005. WMITLV_TAG_STRUC_wmi_channel_ani_info_tlv_param,
  1006. WMITLV_TAG_STRUC_wmi_get_channel_ani_event_fixed_param,
  1007. WMITLV_TAG_STRUC_wmi_oem_data_event_fixed_param,
  1008. WMITLV_TAG_STRUC_wmi_peer_config_vlan_cmd_fixed_param,
  1009. WMITLV_TAG_STRUC_wmi_roam_stats_event_fixed_param,
  1010. WMITLV_TAG_STRUC_wmi_roam_trigger_reason_tlv_param,
  1011. WMITLV_TAG_STRUC_wmi_roam_scan_info_tlv_param,
  1012. WMITLV_TAG_STRUC_wmi_roam_scan_channel_info_tlv_param,
  1013. WMITLV_TAG_STRUC_wmi_roam_ap_info_tlv_param,
  1014. WMITLV_TAG_STRUC_wmi_roam_result_tlv_param,
  1015. WMITLV_TAG_STRUC_wmi_roam_neighbor_report_info_tlv_param,
  1016. WMITLV_TAG_STRUC_wmi_roam_neighbor_report_channel_info_tlv_param,
  1017. WMITLV_TAG_STRUC_wmi_set_ocl_cmd_fixed_param,
  1018. WMITLV_TAG_STRUC_wmi_audio_aggr_set_group_auto_rate,
  1019. WMITLV_TAG_STRUC_wmi_audio_aggr_set_group_probe,
  1020. WMITLV_TAG_STRUC_wmi_audio_aggr_update_sta_group_info,
  1021. WMITLV_TAG_STRUC_wmi_audio_sync_trigger_cmd_fixed_param,
  1022. WMITLV_TAG_STRUC_wmi_audio_sync_qtimer_cmd_fixed_param,
  1023. WMITLV_TAG_STRUC_wmi_audio_sync_start_stop_event_fixed_param,
  1024. WMITLV_TAG_STRUC_wmi_audio_sync_q_master_slave_offset_event_fixed_param,
  1025. WMITLV_TAG_STRUC_wmi_audio_sync_q_master_slave_times,
  1026. WMITLV_TAG_STRUC_wmi_roam_frame_info_tlv_param,
  1027. WMITLV_TAG_STRUC_wmi_vdev_set_pcl_cmd_fixed_param,
  1028. WMITLV_TAG_STRUC_wmi_peer_create_conf_event_fixed_param,
  1029. WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_restart_resp_event_fixed_param,
  1030. WMITLV_TAG_STRUC_wmi_roam_get_scan_channel_list_cmd_fixed_param,
  1031. WMITLV_TAG_STRUC_wmi_roam_scan_channel_list_event_fixed_param,
  1032. WMITLV_TAG_STRUC_wmi_vdev_get_big_data_cmd_fixed_param,
  1033. WMITLV_TAG_STRUC_wmi_vdev_send_big_data_event_fixed_param,
  1034. WMITLV_TAG_STRUC_wmi_nan_dmesg_event_fixed_param,
  1035. WMITLV_TAG_STRUC_wmi_frame_inject_cmd_fixed_param,
  1036. WMITLV_TAG_STRUC_wmi_smartant_event_fixed_param,
  1037. WMITLV_TAG_STRUC_wmi_pdev_tbtt_offset_sync_cmd_fixed_param,
  1038. WMITLV_TAG_STRUC_wmi_pdev_rnr_bss_tbtt_info,
  1039. WMITLV_TAG_STRUC_WMI_MAC_PHY_CAPABILITIES_EXT,
  1040. WMITLV_TAG_STRUC_WMI_HAL_REG_CAPABILITIES_EXT2,
  1041. WMITLV_TAG_STRUC_wmi_roam_pmk_cache_synch_tlv_param,
  1042. WMITLV_TAG_STRUC_wmi_mdns_set_staIP_cmd_fixed_param,
  1043. WMITLV_TAG_STRUC_wmi_vdev_get_big_data_p2_cmd_fixed_param,
  1044. WMITLV_TAG_STRUC_wmi_vdev_send_big_data_p2_event_fixed_param,
  1045. WMITLV_TAG_STRUC_wmi_audio_aggr_get_statistics,
  1046. WMITLV_TAG_STRUC_wmi_audio_aggr_reset_statistics,
  1047. WMITLV_TAG_STRUC_wmi_audio_aggr_statistics_event_fixed_param,
  1048. WMITLV_TAG_STRUC_wmi_audio_aggr_group_stats,
  1049. WMITLV_TAG_STRUC_wmi_audio_aggr_peer_stats,
  1050. WMITLV_TAG_STRUC_wmi_ant_controller_cmd_fixed_param,
  1051. WMITLV_TAG_STRUC_wmi_pdev_srg_bss_color_bitmap_cmd_fixed_param,
  1052. WMITLV_TAG_STRUC_wmi_pdev_srg_partial_bssid_bitmap_cmd_fixed_param,
  1053. WMITLV_TAG_STRUC_wmi_simulation_test_cmd_fixed_param,
  1054. WMITLV_TAG_STRUC_wmi_audio_aggr_set_rtscts_config,
  1055. WMITLV_TAG_STRUC_wmi_pdev_sscan_fw_cmd_fixed_param,
  1056. WMITLV_TAG_STRUC_wmi_pdev_sscan_fft_bin_index,
  1057. WMITLV_TAG_STRUC_wmi_pdev_srg_obss_color_enable_bitmap_cmd_fixed_param,
  1058. WMITLV_TAG_STRUC_wmi_pdev_srg_obss_bssid_enable_bitmap_cmd_fixed_param,
  1059. WMITLV_TAG_STRUC_wmi_pdev_non_srg_obss_color_enable_bitmap_cmd_fixed_param,
  1060. WMITLV_TAG_STRUC_wmi_pdev_non_srg_obss_bssid_enable_bitmap_cmd_fixed_param,
  1061. } WMITLV_TAG_ID;
  1062. /*
  1063. * IMPORTANT: Please add _ALL_ WMI Commands Here.
  1064. * Otherwise, these WMI TLV Functions will be process them.
  1065. */
  1066. #define WMITLV_ALL_CMD_LIST(OP) \
  1067. OP(WMI_INIT_CMDID) \
  1068. OP(WMI_PEER_CREATE_CMDID) \
  1069. OP(WMI_PEER_DELETE_CMDID) \
  1070. OP(WMI_PEER_FLUSH_TIDS_CMDID) \
  1071. OP(WMI_PEER_SET_PARAM_CMDID) \
  1072. OP(WMI_STA_POWERSAVE_MODE_CMDID) \
  1073. OP(WMI_STA_POWERSAVE_PARAM_CMDID) \
  1074. OP(WMI_STA_TDCC_CONFIG_CMDID) \
  1075. OP(WMI_STA_DTIM_PS_METHOD_CMDID) \
  1076. OP(WMI_PDEV_SET_REGDOMAIN_CMDID) \
  1077. OP(WMI_PEER_TID_ADDBA_CMDID) \
  1078. OP(WMI_PEER_TID_DELBA_CMDID) \
  1079. OP(WMI_PDEV_FTM_INTG_CMDID) \
  1080. OP(WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID) \
  1081. OP(WMI_WOW_ENABLE_CMDID) \
  1082. OP(WMI_RMV_BCN_FILTER_CMDID) \
  1083. OP(WMI_ROAM_SCAN_MODE) \
  1084. OP(WMI_ROAM_SCAN_RSSI_THRESHOLD) \
  1085. OP(WMI_ROAM_SCAN_PERIOD) \
  1086. OP(WMI_ROAM_SCAN_RSSI_CHANGE_THRESHOLD) \
  1087. OP(WMI_START_SCAN_CMDID) \
  1088. OP(WMI_VDEV_PLMREQ_START_CMDID) \
  1089. OP(WMI_VDEV_PLMREQ_STOP_CMDID) \
  1090. OP(WMI_PDEV_SET_CHANNEL_CMDID) \
  1091. OP(WMI_PDEV_SET_WMM_PARAMS_CMDID) \
  1092. OP(WMI_VDEV_START_REQUEST_CMDID) \
  1093. OP(WMI_VDEV_RESTART_REQUEST_CMDID) \
  1094. OP(WMI_P2P_GO_SET_BEACON_IE) \
  1095. OP(WMI_GTK_OFFLOAD_CMDID) \
  1096. OP(WMI_SCAN_CHAN_LIST_CMDID) \
  1097. OP(WMI_STA_UAPSD_AUTO_TRIG_CMDID) \
  1098. OP(WMI_PRB_TMPL_CMDID) \
  1099. OP(WMI_BCN_TMPL_CMDID) \
  1100. OP(WMI_VDEV_INSTALL_KEY_CMDID) \
  1101. OP(WMI_PEER_ASSOC_CMDID) \
  1102. OP(WMI_ADD_BCN_FILTER_CMDID) \
  1103. OP(WMI_STA_KEEPALIVE_CMDID) \
  1104. OP(WMI_SET_ARP_NS_OFFLOAD_CMDID) \
  1105. OP(WMI_P2P_SET_VENDOR_IE_DATA_CMDID) \
  1106. OP(WMI_AP_PS_PEER_PARAM_CMDID) \
  1107. OP(WMI_WLAN_PROFILE_TRIGGER_CMDID) \
  1108. OP(WMI_WLAN_PROFILE_SET_HIST_INTVL_CMDID) \
  1109. OP(WMI_WLAN_PROFILE_GET_PROFILE_DATA_CMDID) \
  1110. OP(WMI_WLAN_PROFILE_ENABLE_PROFILE_ID_CMDID) \
  1111. OP(WMI_WOW_DEL_WAKE_PATTERN_CMDID) \
  1112. OP(WMI_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID) \
  1113. OP(WMI_RTT_MEASREQ_CMDID) \
  1114. OP(WMI_RTT_TSF_CMDID) \
  1115. OP(WMI_OEM_REQ_CMDID) \
  1116. OP(WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID) \
  1117. OP(WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID) \
  1118. OP(WMI_REQUEST_STATS_CMDID) \
  1119. OP(WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID) \
  1120. OP(WMI_CSA_OFFLOAD_ENABLE_CMDID) \
  1121. OP(WMI_CSA_OFFLOAD_CHANSWITCH_CMDID) \
  1122. OP(WMI_CHATTER_SET_MODE_CMDID) \
  1123. OP(WMI_ECHO_CMDID) \
  1124. OP(WMI_PDEV_UTF_CMDID) \
  1125. OP(WMI_PDEV_QVIT_CMDID) \
  1126. OP(WMI_VDEV_SET_KEEPALIVE_CMDID) \
  1127. OP(WMI_VDEV_GET_KEEPALIVE_CMDID) \
  1128. OP(WMI_FORCE_FW_HANG_CMDID) \
  1129. OP(WMI_GPIO_CONFIG_CMDID) \
  1130. OP(WMI_GPIO_OUTPUT_CMDID) \
  1131. OP(WMI_PEER_ADD_WDS_ENTRY_CMDID) \
  1132. OP(WMI_PEER_REMOVE_WDS_ENTRY_CMDID) \
  1133. OP(WMI_BCN_TX_CMDID) \
  1134. OP(WMI_PDEV_SEND_BCN_CMDID) \
  1135. OP(WMI_MGMT_TX_CMDID) \
  1136. OP(WMI_ADDBA_CLEAR_RESP_CMDID) \
  1137. OP(WMI_ADDBA_SEND_CMDID) \
  1138. OP(WMI_DELBA_SEND_CMDID) \
  1139. OP(WMI_ADDBA_SET_RESP_CMDID) \
  1140. OP(WMI_SEND_SINGLEAMSDU_CMDID) \
  1141. OP(WMI_PDEV_PKTLOG_ENABLE_CMDID) \
  1142. OP(WMI_PDEV_PKTLOG_DISABLE_CMDID) \
  1143. OP(WMI_PDEV_SET_HT_CAP_IE_CMDID) \
  1144. OP(WMI_PDEV_SET_VHT_CAP_IE_CMDID) \
  1145. OP(WMI_PDEV_SET_DSCP_TID_MAP_CMDID) \
  1146. OP(WMI_PDEV_GREEN_AP_PS_ENABLE_CMDID) \
  1147. OP(WMI_PDEV_GET_TPC_CONFIG_CMDID) \
  1148. OP(WMI_PDEV_SET_BASE_MACADDR_CMDID) \
  1149. OP(WMI_PEER_MCAST_GROUP_CMDID) \
  1150. OP(WMI_ROAM_AP_PROFILE) \
  1151. OP(WMI_SCAN_SCH_PRIO_TBL_CMDID) \
  1152. OP(WMI_PDEV_DFS_ENABLE_CMDID) \
  1153. OP(WMI_PDEV_DFS_DISABLE_CMDID) \
  1154. OP(WMI_WOW_ADD_WAKE_PATTERN_CMDID) \
  1155. OP(WMI_PDEV_SUSPEND_CMDID) \
  1156. OP(WMI_PDEV_RESUME_CMDID) \
  1157. OP(WMI_STOP_SCAN_CMDID) \
  1158. OP(WMI_PDEV_SET_PARAM_CMDID) \
  1159. OP(WMI_PDEV_SET_QUIET_MODE_CMDID) \
  1160. OP(WMI_VDEV_CREATE_CMDID) \
  1161. OP(WMI_VDEV_DELETE_CMDID) \
  1162. OP(WMI_VDEV_UP_CMDID) \
  1163. OP(WMI_VDEV_STOP_CMDID) \
  1164. OP(WMI_VDEV_DOWN_CMDID) \
  1165. OP(WMI_VDEV_SET_PARAM_CMDID) \
  1166. OP(WMI_SCAN_UPDATE_REQUEST_CMDID) \
  1167. OP(WMI_CHATTER_ADD_COALESCING_FILTER_CMDID) \
  1168. OP(WMI_CHATTER_DELETE_COALESCING_FILTER_CMDID) \
  1169. OP(WMI_CHATTER_COALESCING_QUERY_CMDID) \
  1170. OP(WMI_TXBF_CMDID) \
  1171. OP(WMI_DBGLOG_CFG_CMDID) \
  1172. OP(WMI_VDEV_WNM_SLEEPMODE_CMDID) \
  1173. OP(WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMDID) \
  1174. OP(WMI_VDEV_WMM_ADDTS_CMDID) \
  1175. OP(WMI_VDEV_WMM_DELTS_CMDID) \
  1176. OP(WMI_VDEV_SET_WMM_PARAMS_CMDID) \
  1177. OP(WMI_VDEV_SET_GTX_PARAMS_CMDID) \
  1178. OP(WMI_TDLS_SET_STATE_CMDID) \
  1179. OP(WMI_TDLS_PEER_UPDATE_CMDID) \
  1180. OP(WMI_FWTEST_VDEV_MCC_SET_TBTT_MODE_CMDID) \
  1181. OP(WMI_ROAM_CHAN_LIST) \
  1182. OP(WMI_RESMGR_ADAPTIVE_OCS_ENABLE_DISABLE_CMDID)\
  1183. OP(WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID) \
  1184. OP(WMI_RESMGR_SET_CHAN_LATENCY_CMDID) \
  1185. OP(WMI_BA_REQ_SSN_CMDID) \
  1186. OP(WMI_STA_SMPS_FORCE_MODE_CMDID) \
  1187. OP(WMI_SET_MCASTBCAST_FILTER_CMDID) \
  1188. OP(WMI_P2P_SET_OPPPS_PARAM_CMDID) \
  1189. OP(WMI_FWTEST_P2P_SET_NOA_PARAM_CMDID) \
  1190. OP(WMI_STA_SMPS_PARAM_CMDID) \
  1191. OP(WMI_MCC_SCHED_TRAFFIC_STATS_CMDID) \
  1192. OP(WMI_HB_SET_ENABLE_CMDID) \
  1193. OP(WMI_HB_SET_TCP_PARAMS_CMDID) \
  1194. OP(WMI_HB_SET_TCP_PKT_FILTER_CMDID) \
  1195. OP(WMI_HB_SET_UDP_PARAMS_CMDID) \
  1196. OP(WMI_HB_SET_UDP_PKT_FILTER_CMDID) \
  1197. OP(WMI_PEER_INFO_REQ_CMDID) \
  1198. OP(WMI_RMC_SET_MODE_CMDID) \
  1199. OP(WMI_RMC_SET_ACTION_PERIOD_CMDID) \
  1200. OP(WMI_RMC_CONFIG_CMDID) \
  1201. OP(WMI_MHF_OFFLOAD_SET_MODE_CMDID) \
  1202. OP(WMI_MHF_OFFLOAD_PLUMB_ROUTING_TBL_CMDID) \
  1203. OP(WMI_DFS_PHYERR_FILTER_ENA_CMDID) \
  1204. OP(WMI_DFS_PHYERR_FILTER_DIS_CMDID) \
  1205. OP(WMI_BATCH_SCAN_ENABLE_CMDID) \
  1206. OP(WMI_BATCH_SCAN_DISABLE_CMDID) \
  1207. OP(WMI_BATCH_SCAN_TRIGGER_RESULT_CMDID)\
  1208. OP(WMI_THERMAL_MGMT_CMDID)\
  1209. OP(WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMDID)\
  1210. OP(WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMDID) \
  1211. OP(WMI_NAN_CMDID) \
  1212. OP(WMI_MODEM_POWER_STATE_CMDID) \
  1213. OP(WMI_PEER_GET_ESTIMATED_LINKSPEED_CMDID) \
  1214. OP(WMI_ROAM_SCAN_CMD) \
  1215. OP(WMI_REQUEST_STATS_EXT_CMDID) \
  1216. OP(WMI_OBSS_SCAN_ENABLE_CMDID) \
  1217. OP(WMI_OBSS_SCAN_DISABLE_CMDID) \
  1218. OP(WMI_PDEV_SET_LED_CONFIG_CMDID) \
  1219. OP(WMI_HOST_AUTO_SHUTDOWN_CFG_CMDID) \
  1220. OP(WMI_TPC_CHAINMASK_CONFIG_CMDID) \
  1221. OP(WMI_CHAN_AVOID_UPDATE_CMDID) \
  1222. OP(WMI_WOW_IOAC_ADD_KEEPALIVE_CMDID) \
  1223. OP(WMI_WOW_IOAC_DEL_KEEPALIVE_CMDID) \
  1224. OP(WMI_WOW_IOAC_ADD_WAKE_PATTERN_CMDID) \
  1225. OP(WMI_WOW_IOAC_DEL_WAKE_PATTERN_CMDID) \
  1226. OP(WMI_REQUEST_LINK_STATS_CMDID) \
  1227. OP(WMI_START_LINK_STATS_CMDID) \
  1228. OP(WMI_CLEAR_LINK_STATS_CMDID) \
  1229. OP(WMI_LPI_MGMT_SNOOPING_CONFIG_CMDID) \
  1230. OP(WMI_LPI_START_SCAN_CMDID) \
  1231. OP(WMI_LPI_STOP_SCAN_CMDID) \
  1232. OP(WMI_EXTSCAN_START_CMDID) \
  1233. OP(WMI_EXTSCAN_STOP_CMDID) \
  1234. OP(WMI_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMDID) \
  1235. OP(WMI_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMDID) \
  1236. OP(WMI_EXTSCAN_GET_CACHED_RESULTS_CMDID) \
  1237. OP(WMI_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMDID) \
  1238. OP(WMI_EXTSCAN_SET_CAPABILITIES_CMDID) \
  1239. OP(WMI_EXTSCAN_GET_CAPABILITIES_CMDID) \
  1240. OP(WMI_EXTSCAN_CONFIGURE_HOTLIST_SSID_MONITOR_CMDID) \
  1241. OP(WMI_D0_WOW_ENABLE_DISABLE_CMDID) \
  1242. OP(WMI_UNIT_TEST_CMDID) \
  1243. OP(WMI_ROAM_SYNCH_COMPLETE) \
  1244. OP(WMI_EXTWOW_ENABLE_CMDID) \
  1245. OP(WMI_EXTWOW_SET_APP_TYPE1_PARAMS_CMDID) \
  1246. OP(WMI_EXTWOW_SET_APP_TYPE2_PARAMS_CMDID) \
  1247. OP(WMI_ROAM_SET_RIC_REQUEST_CMDID) \
  1248. OP(WMI_PDEV_GET_TEMPERATURE_CMDID) \
  1249. OP(WMI_SET_DHCP_SERVER_OFFLOAD_CMDID) \
  1250. OP(WMI_IPA_OFFLOAD_ENABLE_DISABLE_CMDID)\
  1251. OP(WMI_SCAN_PROB_REQ_OUI_CMDID) \
  1252. OP(WMI_TDLS_SET_OFFCHAN_MODE_CMDID)\
  1253. OP(WMI_PDEV_SET_LED_FLASHING_CMDID) \
  1254. OP(WMI_ROAM_INVOKE_CMDID) \
  1255. OP(WMI_MDNS_OFFLOAD_ENABLE_CMDID) \
  1256. OP(WMI_MDNS_SET_FQDN_CMDID) \
  1257. OP(WMI_MDNS_SET_RESPONSE_CMDID) \
  1258. OP(WMI_MDNS_GET_STATS_CMDID) \
  1259. OP(WMI_MDNS_SET_STAIP_CMDID) \
  1260. OP(WMI_SET_ANTENNA_DIVERSITY_CMDID) \
  1261. OP(WMI_SAP_OFL_ENABLE_CMDID) \
  1262. OP(WMI_APFIND_CMDID) \
  1263. OP(WMI_OCB_SET_SCHED_CMDID) \
  1264. OP(WMI_OCB_SET_CONFIG_CMDID) \
  1265. OP(WMI_OCB_SET_UTC_TIME_CMDID) \
  1266. OP(WMI_OCB_START_TIMING_ADVERT_CMDID) \
  1267. OP(WMI_OCB_STOP_TIMING_ADVERT_CMDID) \
  1268. OP(WMI_OCB_GET_TSF_TIMER_CMDID) \
  1269. OP(WMI_DCC_GET_STATS_CMDID) \
  1270. OP(WMI_DCC_CLEAR_STATS_CMDID) \
  1271. OP(WMI_DCC_UPDATE_NDL_CMDID) \
  1272. OP(WMI_ROAM_FILTER_CMDID) \
  1273. OP(WMI_PASSPOINT_LIST_CONFIG_CMDID) \
  1274. OP(WMI_VDEV_TSF_TSTAMP_ACTION_CMDID) \
  1275. OP(WMI_GET_FW_MEM_DUMP_CMDID) \
  1276. OP(WMI_DEBUG_MESG_FLUSH_CMDID) \
  1277. OP(WMI_PEER_SET_RATE_REPORT_CONDITION_CMDID) \
  1278. OP(WMI_ROAM_SUBNET_CHANGE_CONFIG_CMDID) \
  1279. OP(WMI_VDEV_SET_IE_CMDID) \
  1280. OP(WMI_RSSI_BREACH_MONITOR_CONFIG_CMDID) \
  1281. OP(WMI_SOC_SET_PCL_CMDID) \
  1282. OP(WMI_SOC_SET_HW_MODE_CMDID) \
  1283. OP(WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID) \
  1284. OP(WMI_WOW_ENABLE_ICMPV6_NA_FLT_CMDID) \
  1285. OP(WMI_DIAG_EVENT_LOG_CONFIG_CMDID) \
  1286. OP(WMI_PACKET_FILTER_CONFIG_CMDID) \
  1287. OP(WMI_PACKET_FILTER_ENABLE_CMDID) \
  1288. OP(WMI_SAP_SET_BLACKLIST_PARAM_CMDID) \
  1289. OP(WMI_MGMT_TX_SEND_CMDID) \
  1290. OP(WMI_SOC_SET_ANTENNA_MODE_CMDID) \
  1291. OP(WMI_WOW_UDP_SVC_OFLD_CMDID) \
  1292. OP(WMI_LRO_CONFIG_CMDID) \
  1293. OP(WMI_MAWC_SENSOR_REPORT_IND_CMDID) \
  1294. OP(WMI_ROAM_CONFIGURE_MAWC_CMDID) \
  1295. OP(WMI_NLO_CONFIGURE_MAWC_CMDID) \
  1296. OP(WMI_EXTSCAN_CONFIGURE_MAWC_CMDID) \
  1297. OP(WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMDID) \
  1298. OP(WMI_AP_PS_EGAP_PARAM_CMDID) \
  1299. OP(WMI_PMF_OFFLOAD_SET_SA_QUERY_CMDID) \
  1300. OP(WMI_TRANSFER_DATA_TO_FLASH_CMDID) \
  1301. OP(WMI_OEM_REQUEST_CMDID) \
  1302. OP(WMI_BPF_GET_CAPABILITY_CMDID) \
  1303. OP(WMI_BPF_GET_VDEV_STATS_CMDID) \
  1304. OP(WMI_BPF_SET_VDEV_INSTRUCTIONS_CMDID) \
  1305. OP(WMI_BPF_DEL_VDEV_INSTRUCTIONS_CMDID) \
  1306. OP(WMI_PEER_UPDATE_WDS_ENTRY_CMDID) \
  1307. OP(WMI_PEER_ADD_PROXY_STA_ENTRY_CMDID) \
  1308. OP(WMI_PDEV_FIPS_CMDID) \
  1309. OP(WMI_PDEV_SMART_ANT_ENABLE_CMDID) \
  1310. OP(WMI_PDEV_SMART_ANT_SET_RX_ANTENNA_CMDID) \
  1311. OP(WMI_PDEV_SET_ANTENNA_SWITCH_TABLE_CMDID) \
  1312. OP(WMI_PDEV_SET_CTL_TABLE_CMDID) \
  1313. OP(WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID) \
  1314. OP(WMI_PDEV_GET_TPC_CMDID) \
  1315. OP(WMI_PDEV_GET_ANI_CCK_CONFIG_CMDID) \
  1316. OP(WMI_PDEV_GET_ANI_OFDM_CONFIG_CMDID) \
  1317. OP(WMI_VDEV_RATEMASK_CMDID) \
  1318. OP(WMI_VDEV_ATF_REQUEST_CMDID) \
  1319. OP(WMI_VDEV_SET_DSCP_TID_MAP_CMDID) \
  1320. OP(WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID) \
  1321. OP(WMI_PEER_SMART_ANT_SET_TX_ANTENNA_CMDID) \
  1322. OP(WMI_PEER_SMART_ANT_SET_TRAIN_INFO_CMDID) \
  1323. OP(WMI_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMDID) \
  1324. OP(WMI_PEER_ATF_REQUEST_CMDID) \
  1325. OP(WMI_FWTEST_CMDID) \
  1326. OP(WMI_QBOOST_CFG_CMDID) \
  1327. OP(WMI_ROAM_SET_MBO_PARAM_CMDID) \
  1328. OP(WMI_MIB_STATS_ENABLE_CMDID) \
  1329. OP(WMI_NDI_GET_CAP_REQ_CMDID) \
  1330. OP(WMI_NDP_INITIATOR_REQ_CMDID) \
  1331. OP(WMI_NDP_RESPONDER_REQ_CMDID) \
  1332. OP(WMI_NDP_END_REQ_CMDID) \
  1333. OP(WMI_PDEV_SET_PCL_CMDID) \
  1334. OP(WMI_PDEV_SET_HW_MODE_CMDID) \
  1335. OP(WMI_PDEV_SET_MAC_CONFIG_CMDID) \
  1336. OP(WMI_PDEV_SET_ANTENNA_MODE_CMDID) \
  1337. OP(WMI_VDEV_SET_QUIET_MODE_CMDID) \
  1338. OP(WMI_COEX_CONFIG_CMDID) \
  1339. OP(WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID) \
  1340. OP(WMI_CHAN_AVOID_RPT_ALLOW_CMDID) \
  1341. OP(WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID) \
  1342. OP(WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID) \
  1343. OP(WMI_PDEV_WAL_POWER_DEBUG_CMDID) \
  1344. OP(WMI_VDEV_WISA_CMDID) \
  1345. OP(WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID) \
  1346. OP(WMI_WOW_SET_ACTION_WAKE_UP_CMDID) \
  1347. OP(WMI_PEER_BWF_REQUEST_CMDID) \
  1348. OP(WMI_DBGLOG_TIME_STAMP_SYNC_CMDID) \
  1349. OP(WMI_RMC_SET_MANUAL_LEADER_CMDID) \
  1350. OP(WMI_P2P_LISTEN_OFFLOAD_START_CMDID) \
  1351. OP(WMI_P2P_LISTEN_OFFLOAD_STOP_CMDID) \
  1352. OP(WMI_PEER_REORDER_QUEUE_SETUP_CMDID) \
  1353. OP(WMI_PEER_REORDER_QUEUE_REMOVE_CMDID) \
  1354. OP(WMI_SET_MULTIPLE_MCAST_FILTER_CMDID) \
  1355. OP(WMI_READ_DATA_FROM_FLASH_CMDID) \
  1356. OP(WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID) \
  1357. OP(WMI_PEER_SET_RX_BLOCKSIZE_CMDID) \
  1358. OP(WMI_PDEV_SET_WAKEUP_CONFIG_CMDID) \
  1359. OP(WMI_PEER_ANTDIV_INFO_REQ_CMDID) \
  1360. OP(WMI_PDEV_GET_ANTDIV_STATUS_CMDID) \
  1361. OP(WMI_MNT_FILTER_CMDID) \
  1362. OP(WMI_PDEV_GET_CHIP_POWER_STATS_CMDID) \
  1363. OP(WMI_COEX_GET_ANTENNA_ISOLATION_CMDID) \
  1364. OP(WMI_PDEV_SET_STATS_THRESHOLD_CMDID) \
  1365. OP(WMI_REQUEST_WLAN_STATS_CMDID) \
  1366. OP(WMI_VDEV_ENCRYPT_DECRYPT_DATA_REQ_CMDID) \
  1367. OP(WMI_SAR_LIMITS_CMDID) \
  1368. OP(WMI_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMDID) \
  1369. OP(WMI_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMDID) \
  1370. OP(WMI_VDEV_ADFS_CH_CFG_CMDID) \
  1371. OP(WMI_VDEV_ADFS_OCAC_ABORT_CMDID) \
  1372. OP(WMI_REQUEST_RCPI_CMDID) \
  1373. OP(WMI_REQUEST_PEER_STATS_INFO_CMDID) \
  1374. OP(WMI_SET_CURRENT_COUNTRY_CMDID) \
  1375. OP(WMI_11D_SCAN_START_CMDID) \
  1376. OP(WMI_11D_SCAN_STOP_CMDID) \
  1377. OP(WMI_REQUEST_RADIO_CHAN_STATS_CMDID) \
  1378. OP(WMI_ROAM_PER_CONFIG_CMDID) \
  1379. OP(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID) \
  1380. OP(WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID) \
  1381. OP(WMI_HW_DATA_FILTER_CMDID) \
  1382. OP(WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID) \
  1383. OP(WMI_LPI_OEM_REQ_CMDID) \
  1384. OP(WMI_PDEV_UPDATE_PKT_ROUTING_CMDID) \
  1385. OP(WMI_PDEV_CHECK_CAL_VERSION_CMDID) \
  1386. OP(WMI_PDEV_SET_DIVERSITY_GAIN_CMDID) \
  1387. OP(WMI_VDEV_SET_ARP_STAT_CMDID) \
  1388. OP(WMI_VDEV_GET_ARP_STAT_CMDID) \
  1389. OP(WMI_VDEV_GET_TX_POWER_CMDID) \
  1390. OP(WMI_OFFCHAN_DATA_TX_SEND_CMDID) \
  1391. OP(WMI_SET_INIT_COUNTRY_CMDID) \
  1392. OP(WMI_SET_SCAN_DBS_DUTY_CYCLE_CMDID) \
  1393. OP(WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID) \
  1394. OP(WMI_THERM_THROT_SET_CONF_CMDID) \
  1395. OP(WMI_OEM_DMA_RING_CFG_REQ_CMDID) \
  1396. OP(WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID) \
  1397. OP(WMI_VDEV_LIMIT_OFFCHAN_CMDID) \
  1398. OP(WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID) \
  1399. OP(WMI_PDEV_UPDATE_PMK_CACHE_CMDID) \
  1400. OP(WMI_HB_OIC_PING_OFFLOAD_PARAM_CMDID) \
  1401. OP(WMI_HB_OIC_PING_OFFLOAD_SET_ENABLE_CMDID) \
  1402. OP(WMI_HB_DHCP_LEASE_RENEW_OFFLOAD_CMDID) \
  1403. OP(WMI_ROAM_BTM_CONFIG_CMDID) \
  1404. OP(WMI_WLM_CONFIG_CMDID) \
  1405. OP(WMI_PDEV_UPDATE_CTLTABLE_REQUEST_CMDID) \
  1406. OP(WMI_PDEV_CONFIG_VENDOR_OUI_ACTION_CMDID) \
  1407. OP(WMI_PDEV_SEND_FD_CMDID) \
  1408. OP(WMI_ENABLE_FILS_CMDID) \
  1409. OP(WMI_BCN_OFFLOAD_CTRL_CMDID) \
  1410. OP(WMI_PDEV_SET_AC_TX_QUEUE_OPTIMIZED_CMDID) \
  1411. OP(WMI_PEER_TID_MSDUQ_QDEPTH_THRESH_UPDATE_CMDID) \
  1412. OP(WMI_PDEV_SET_RX_FILTER_PROMISCUOUS_CMDID) \
  1413. OP(WMI_SAP_OBSS_DETECTION_CFG_CMDID) \
  1414. OP(WMI_PDEV_DMA_RING_CFG_REQ_CMDID) \
  1415. OP(WMI_SAR_GET_LIMITS_CMDID)\
  1416. OP(WMI_11K_OFFLOAD_REPORT_CMDID) \
  1417. OP(WMI_11K_INVOKE_NEIGHBOR_REPORT_CMDID) \
  1418. OP(WMI_BPF_SET_VDEV_ENABLE_CMDID) \
  1419. OP(WMI_BPF_SET_VDEV_WORK_MEMORY_CMDID) \
  1420. OP(WMI_BPF_GET_VDEV_WORK_MEMORY_CMDID) \
  1421. OP(WMI_PDEV_GET_NFCAL_POWER_CMDID) \
  1422. OP(WMI_BSS_COLOR_CHANGE_ENABLE_CMDID) \
  1423. OP(WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID) \
  1424. OP(WMI_RUNTIME_DPD_RECAL_CMDID) \
  1425. OP(WMI_TWT_ENABLE_CMDID) \
  1426. OP(WMI_TWT_DISABLE_CMDID) \
  1427. OP(WMI_TWT_ADD_DIALOG_CMDID) \
  1428. OP(WMI_TWT_DEL_DIALOG_CMDID) \
  1429. OP(WMI_TWT_PAUSE_DIALOG_CMDID) \
  1430. OP(WMI_TWT_RESUME_DIALOG_CMDID) \
  1431. OP(WMI_REQUEST_ROAM_SCAN_STATS_CMDID) \
  1432. OP(WMI_PEER_TID_CONFIGURATIONS_CMDID) \
  1433. OP(WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID) \
  1434. OP(WMI_GET_TPC_POWER_CMDID) \
  1435. OP(WMI_MOTION_DET_CONFIG_PARAM_CMDID) \
  1436. OP(WMI_MOTION_DET_BASE_LINE_CONFIG_PARAM_CMDID) \
  1437. OP(WMI_MOTION_DET_START_STOP_CMDID) \
  1438. OP(WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID) \
  1439. OP(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_CMDID) \
  1440. OP(WMI_PEER_CFR_CAPTURE_CMDID) \
  1441. OP(WMI_PEER_CHAN_WIDTH_SWITCH_CMDID) \
  1442. OP(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMDID) \
  1443. OP(WMI_PDEV_HE_TB_ACTION_FRM_CMDID) \
  1444. OP(WMI_HPCS_PULSE_START_CMDID) \
  1445. OP(WMI_VDEV_CHAINMASK_CONFIG_CMDID) \
  1446. OP(WMI_VDEV_BCN_OFFLOAD_QUIET_CONFIG_CMDID) \
  1447. OP(WMI_NDP_CMDID) \
  1448. OP(WMI_PDEV_PKTLOG_FILTER_CMDID) \
  1449. OP(WMI_VDEV_GET_BCN_RECEPTION_STATS_CMDID) \
  1450. OP(WMI_PEER_TX_PN_REQUEST_CMDID) \
  1451. OP(WMI_PEER_UNMAP_RESPONSE_CMDID) \
  1452. OP(WMI_ROAM_BSS_LOAD_CONFIG_CMDID) \
  1453. OP(WMI_VDEV_GET_MWS_COEX_INFO_CMDID) \
  1454. OP(WMI_REQUEST_WLM_STATS_CMDID) \
  1455. OP(WMI_PDEV_SET_RAP_CONFIG_CMDID) \
  1456. OP(WMI_ROAM_DEAUTH_CONFIG_CMDID) \
  1457. OP(WMI_ROAM_IDLE_CONFIG_CMDID) \
  1458. OP(WMI_IDLE_TRIGGER_MONITOR_CMDID) \
  1459. OP(WMI_PDEV_DSM_FILTER_CMDID) \
  1460. OP(WMI_TWT_BTWT_INVITE_STA_CMDID) \
  1461. OP(WMI_TWT_BTWT_REMOVE_STA_CMDID) \
  1462. OP(WMI_VDEV_DELETE_ALL_PEER_CMDID) \
  1463. OP(WMI_OEM_DATA_CMDID) \
  1464. OP(WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID) \
  1465. OP(WMI_ROAM_PREAUTH_STATUS_CMDID) \
  1466. OP(WMI_SET_ELNA_BYPASS_CMDID) \
  1467. OP(WMI_GET_ELNA_BYPASS_CMDID) \
  1468. OP(WMI_AUDIO_AGGR_ENABLE_CMDID) \
  1469. OP(WMI_AUDIO_AGGR_ADD_GROUP_CMDID) \
  1470. OP(WMI_AUDIO_AGGR_DEL_GROUP_CMDID) \
  1471. OP(WMI_AUDIO_AGGR_SET_GROUP_RATE_CMDID) \
  1472. OP(WMI_AUDIO_AGGR_SET_GROUP_RETRY_CMDID) \
  1473. OP(WMI_AUDIO_AGGR_UPDATE_STA_GROUP_INFO_CMDID) \
  1474. OP(WMI_CFR_CAPTURE_FILTER_CMDID) \
  1475. OP(WMI_FD_TMPL_CMDID) \
  1476. OP(WMI_VDEV_BSS_MAX_IDLE_TIME_CMDID) \
  1477. OP(WMI_ATF_SSID_GROUPING_REQUEST_CMDID) \
  1478. OP(WMI_ATF_GROUP_WMM_AC_CONFIG_REQUEST_CMDID) \
  1479. OP(WMI_PEER_ATF_EXT_REQUEST_CMDID) \
  1480. OP(WMI_GET_CHANNEL_ANI_CMDID) \
  1481. OP(WMI_PEER_CONFIG_VLAN_CMDID) \
  1482. OP(WMI_SET_OCL_CMDID) \
  1483. OP(WMI_AUDIO_AGGR_SET_GROUP_AUTO_RATE_CMDID) \
  1484. OP(WMI_AUDIO_AGGR_SET_GROUP_PROBE_CMDID) \
  1485. OP(WMI_VDEV_AUDIO_SYNC_TRIGGER_CMDID) \
  1486. OP(WMI_VDEV_AUDIO_SYNC_QTIMER_CMDID) \
  1487. OP(WMI_VDEV_SET_PCL_CMDID) \
  1488. OP(WMI_ROAM_GET_SCAN_CHANNEL_LIST_CMDID) \
  1489. OP(WMI_VDEV_GET_BIG_DATA_CMDID) \
  1490. OP(WMI_PDEV_FRAME_INJECT_CMDID) \
  1491. OP(WMI_PDEV_TBTT_OFFSET_SYNC_CMDID) \
  1492. OP(WMI_VDEV_GET_BIG_DATA_P2_CMDID) \
  1493. OP(WMI_AUDIO_AGGR_GET_STATISTICS_CMDID) \
  1494. OP(WMI_AUDIO_AGGR_RESET_STATISTICS_CMDID) \
  1495. OP(WMI_ANT_CONTROLLER_CMDID) \
  1496. OP(WMI_PDEV_SET_SRG_BSS_COLOR_BITMAP_CMDID) \
  1497. OP(WMI_PDEV_SET_SRG_PARTIAL_BSSID_BITMAP_CMDID) \
  1498. OP(WMI_SIMULATION_TEST_CMDID) \
  1499. OP(WMI_AUDIO_AGGR_SET_RTSCTS_CONFIG_CMDID) \
  1500. OP(WMI_PDEV_SET_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID) \
  1501. OP(WMI_PDEV_SET_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID) \
  1502. OP(WMI_PDEV_SET_NON_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID) \
  1503. OP(WMI_PDEV_SET_NON_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID) \
  1504. /* add new CMD_LIST elements above this line */
  1505. /*
  1506. * IMPORTANT: Please add _ALL_ WMI Events Here.
  1507. * Otherwise, these WMI TLV Functions will be process them.
  1508. */
  1509. #define WMITLV_ALL_EVT_LIST(OP) \
  1510. OP(WMI_SERVICE_READY_EVENTID) \
  1511. OP(WMI_SERVICE_READY_EXT_EVENTID) \
  1512. OP(WMI_SERVICE_READY_EXT2_EVENTID) \
  1513. OP(WMI_READY_EVENTID) \
  1514. OP(WMI_SCAN_EVENTID) \
  1515. OP(WMI_PDEV_TPC_CONFIG_EVENTID) \
  1516. OP(WMI_CHAN_INFO_EVENTID) \
  1517. OP(WMI_PHYERR_EVENTID) \
  1518. OP(WMI_VDEV_START_RESP_EVENTID) \
  1519. OP(WMI_VDEV_STOPPED_EVENTID) \
  1520. OP(WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID) \
  1521. OP(WMI_PEER_STA_KICKOUT_EVENTID) \
  1522. OP(WMI_MGMT_RX_EVENTID) \
  1523. OP(WMI_TBTTOFFSET_UPDATE_EVENTID) \
  1524. OP(WMI_TX_DELBA_COMPLETE_EVENTID) \
  1525. OP(WMI_TX_ADDBA_COMPLETE_EVENTID) \
  1526. OP(WMI_ROAM_EVENTID) \
  1527. OP(WMI_WOW_WAKEUP_HOST_EVENTID) \
  1528. OP(WMI_RTT_ERROR_REPORT_EVENTID) \
  1529. OP(WMI_OEM_MEASUREMENT_REPORT_EVENTID) \
  1530. OP(WMI_OEM_ERROR_REPORT_EVENTID) \
  1531. OP(WMI_OEM_CAPABILITY_EVENTID) \
  1532. OP(WMI_ECHO_EVENTID) \
  1533. OP(WMI_PDEV_FTM_INTG_EVENTID) \
  1534. OP(WMI_VDEV_GET_KEEPALIVE_EVENTID) \
  1535. OP(WMI_GPIO_INPUT_EVENTID) \
  1536. OP(WMI_CSA_HANDLING_EVENTID) \
  1537. OP(WMI_DEBUG_MESG_EVENTID) \
  1538. OP(WMI_GTK_OFFLOAD_STATUS_EVENTID) \
  1539. OP(WMI_DCS_INTERFERENCE_EVENTID) \
  1540. OP(WMI_WLAN_PROFILE_DATA_EVENTID) \
  1541. OP(WMI_PDEV_UTF_EVENTID) \
  1542. OP(WMI_DEBUG_PRINT_EVENTID) \
  1543. OP(WMI_RTT_MEASUREMENT_REPORT_EVENTID) \
  1544. OP(WMI_HOST_SWBA_EVENTID) \
  1545. OP(WMI_UPDATE_STATS_EVENTID) \
  1546. OP(WMI_PDEV_QVIT_EVENTID) \
  1547. OP(WMI_WLAN_FREQ_AVOID_EVENTID) \
  1548. OP(WMI_GTK_REKEY_FAIL_EVENTID) \
  1549. OP(WMI_NLO_MATCH_EVENTID) \
  1550. OP(WMI_NLO_SCAN_COMPLETE_EVENTID) \
  1551. OP(WMI_APFIND_EVENTID) \
  1552. OP(WMI_CHATTER_PC_QUERY_EVENTID) \
  1553. OP(WMI_UPLOADH_EVENTID) \
  1554. OP(WMI_CAPTUREH_EVENTID) \
  1555. OP(WMI_TDLS_PEER_EVENTID) \
  1556. OP(WMI_VDEV_MCC_BCN_INTERVAL_CHANGE_REQ_EVENTID) \
  1557. OP(WMI_BA_RSP_SSN_EVENTID) \
  1558. OP(WMI_OFFLOAD_BCN_TX_STATUS_EVENTID) \
  1559. OP(WMI_P2P_NOA_EVENTID) \
  1560. OP(WMI_TX_PAUSE_EVENTID) \
  1561. OP(WMI_RFKILL_STATE_CHANGE_EVENTID) \
  1562. OP(WMI_PEER_INFO_EVENTID) \
  1563. OP(WMI_PEER_TX_FAIL_CNT_THR_EVENTID) \
  1564. OP(WMI_DFS_RADAR_EVENTID) \
  1565. OP(WMI_BATCH_SCAN_ENABLED_EVENTID) \
  1566. OP(WMI_BATCH_SCAN_RESULT_EVENTID) \
  1567. OP(WMI_THERMAL_MGMT_EVENTID) \
  1568. OP(WMI_NAN_EVENTID) \
  1569. OP(WMI_PDEV_L1SS_TRACK_EVENTID) \
  1570. OP(WMI_DIAG_DATA_CONTAINER_EVENTID) \
  1571. OP(WMI_PEER_ESTIMATED_LINKSPEED_EVENTID) \
  1572. OP(WMI_AGGR_STATE_TRIG_EVENTID) \
  1573. OP(WMI_STATS_EXT_EVENTID) \
  1574. OP(WMI_OFFLOAD_PROB_RESP_TX_STATUS_EVENTID) \
  1575. OP(WMI_HOST_AUTO_SHUTDOWN_EVENTID) \
  1576. OP(WMI_UPDATE_WHAL_MIB_STATS_EVENTID) \
  1577. OP(WMI_IFACE_LINK_STATS_EVENTID) \
  1578. OP(WMI_PEER_LINK_STATS_EVENTID) \
  1579. OP(WMI_RADIO_LINK_STATS_EVENTID) \
  1580. OP(WMI_LPI_RESULT_EVENTID) \
  1581. OP(WMI_PEER_STATE_EVENTID) \
  1582. OP(WMI_EXTSCAN_START_STOP_EVENTID) \
  1583. OP(WMI_EXTSCAN_OPERATION_EVENTID) \
  1584. OP(WMI_EXTSCAN_TABLE_USAGE_EVENTID) \
  1585. OP(WMI_EXTSCAN_CACHED_RESULTS_EVENTID) \
  1586. OP(WMI_EXTSCAN_WLAN_CHANGE_RESULTS_EVENTID) \
  1587. OP(WMI_EXTSCAN_HOTLIST_MATCH_EVENTID) \
  1588. OP(WMI_EXTSCAN_CAPABILITIES_EVENTID) \
  1589. OP(WMI_EXTSCAN_HOTLIST_SSID_MATCH_EVENTID) \
  1590. OP(WMI_D0_WOW_DISABLE_ACK_EVENTID) \
  1591. OP(WMI_ROAM_SYNCH_EVENTID) \
  1592. OP(WMI_ROAM_SYNCH_FRAME_EVENTID) \
  1593. OP(WMI_LPI_STATUS_EVENTID) \
  1594. OP(WMI_LPI_HANDOFF_EVENTID) \
  1595. OP(WMI_UPDATE_VDEV_RATE_STATS_EVENTID) \
  1596. OP(WMI_PDEV_TEMPERATURE_EVENTID) \
  1597. OP(WMI_DIAG_EVENTID) \
  1598. OP(WMI_MDNS_STATS_EVENTID) \
  1599. OP(WMI_PDEV_RESUME_EVENTID) \
  1600. OP(WMI_SAP_OFL_ADD_STA_EVENTID) \
  1601. OP(WMI_SAP_OFL_DEL_STA_EVENTID) \
  1602. OP(WMI_OCB_SET_SCHED_EVENTID) \
  1603. OP(WMI_OCB_SET_CONFIG_RESP_EVENTID) \
  1604. OP(WMI_OCB_GET_TSF_TIMER_RESP_EVENTID) \
  1605. OP(WMI_DCC_GET_STATS_RESP_EVENTID) \
  1606. OP(WMI_DCC_UPDATE_NDL_RESP_EVENTID) \
  1607. OP(WMI_DCC_STATS_EVENTID) \
  1608. OP(WMI_PASSPOINT_MATCH_EVENTID) \
  1609. OP(WMI_VDEV_TSF_REPORT_EVENTID) \
  1610. OP(WMI_UPDATE_FW_MEM_DUMP_EVENTID) \
  1611. OP(WMI_DEBUG_MESG_FLUSH_COMPLETE_EVENTID) \
  1612. OP(WMI_RSSI_BREACH_EVENTID) \
  1613. OP(WMI_WOW_INITIAL_WAKEUP_EVENTID) \
  1614. OP(WMI_SOC_SET_HW_MODE_RESP_EVENTID) \
  1615. OP(WMI_SOC_HW_MODE_TRANSITION_EVENTID) \
  1616. OP(WMI_SOC_SET_DUAL_MAC_CONFIG_RESP_EVENTID) \
  1617. OP(WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID) \
  1618. OP(WMI_MGMT_TX_COMPLETION_EVENTID) \
  1619. OP(WMI_MAWC_ENABLE_SENSOR_EVENTID) \
  1620. OP(WMI_PEER_ASSOC_CONF_EVENTID) \
  1621. OP(WMI_AP_PS_EGAP_INFO_EVENTID) \
  1622. OP(WMI_TRANSFER_DATA_TO_FLASH_COMPLETE_EVENTID) \
  1623. OP(WMI_OEM_RESPONSE_EVENTID) \
  1624. OP(WMI_PDEV_UTF_SCPC_EVENTID) \
  1625. OP(WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID) \
  1626. OP(WMI_BPF_CAPABILIY_INFO_EVENTID) \
  1627. OP(WMI_BPF_VDEV_STATS_INFO_EVENTID) \
  1628. OP(WMI_VDEV_DELETE_RESP_EVENTID) \
  1629. OP(WMI_PEER_DELETE_RESP_EVENTID) \
  1630. OP(WMI_PDEV_FIPS_EVENTID) \
  1631. OP(WMI_PDEV_CHANNEL_HOPPING_EVENTID) \
  1632. OP(WMI_PDEV_ANI_CCK_LEVEL_EVENTID) \
  1633. OP(WMI_PDEV_ANI_OFDM_LEVEL_EVENTID) \
  1634. OP(WMI_PDEV_TPC_EVENTID) \
  1635. OP(WMI_PDEV_NFCAL_POWER_ALL_CHANNELS_EVENTID) \
  1636. OP(WMI_PEER_RATECODE_LIST_EVENTID) \
  1637. OP(WMI_WDS_PEER_EVENTID) \
  1638. OP(WMI_PEER_STA_PS_STATECHG_EVENTID) \
  1639. OP(WMI_INST_RSSI_STATS_EVENTID) \
  1640. OP(WMI_NAN_DISC_IFACE_CREATED_EVENTID) \
  1641. OP(WMI_NAN_DISC_IFACE_DELETED_EVENTID) \
  1642. OP(WMI_NAN_STARTED_CLUSTER_EVENTID) \
  1643. OP(WMI_NAN_JOINED_CLUSTER_EVENTID) \
  1644. OP(WMI_NDI_CAP_RSP_EVENTID) \
  1645. OP(WMI_NDP_INITIATOR_RSP_EVENTID) \
  1646. OP(WMI_NDP_RESPONDER_RSP_EVENTID) \
  1647. OP(WMI_NDP_END_RSP_EVENTID) \
  1648. OP(WMI_NDP_INDICATION_EVENTID) \
  1649. OP(WMI_NDP_CONFIRM_EVENTID) \
  1650. OP(WMI_NDP_END_INDICATION_EVENTID) \
  1651. OP(WMI_PDEV_SET_HW_MODE_RESP_EVENTID) \
  1652. OP(WMI_PDEV_HW_MODE_TRANSITION_EVENTID) \
  1653. OP(WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID) \
  1654. OP(WMI_RADIO_TX_POWER_LEVEL_STATS_EVENTID) \
  1655. OP(WMI_RMC_NEW_LEADER_EVENTID) \
  1656. OP(WMI_P2P_LISTEN_OFFLOAD_STOPPED_EVENTID) \
  1657. OP(WMI_MGMT_TX_BUNDLE_COMPLETION_EVENTID) \
  1658. OP(WMI_READ_DATA_FROM_FLASH_EVENTID) \
  1659. OP(WMI_SERVICE_AVAILABLE_EVENTID) \
  1660. OP(WMI_PEER_ANTDIV_INFO_EVENTID) \
  1661. OP(WMI_PDEV_ANTDIV_STATUS_EVENTID) \
  1662. OP(WMI_PDEV_CHIP_POWER_STATS_EVENTID) \
  1663. OP(WMI_COEX_REPORT_ANTENNA_ISOLATION_EVENTID) \
  1664. OP(WMI_REPORT_STATS_EVENTID) \
  1665. OP(WMI_REPORT_RX_AGGR_FAILURE_EVENTID) \
  1666. OP(WMI_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENTID) \
  1667. OP(WMI_TBTTOFFSET_EXT_UPDATE_EVENTID) \
  1668. OP(WMI_PDEV_DFS_RADAR_DETECTION_EVENTID) \
  1669. OP(WMI_VDEV_DFS_CAC_COMPLETE_EVENTID) \
  1670. OP(WMI_VDEV_ADFS_OCAC_COMPLETE_EVENTID) \
  1671. OP(WMI_UPDATE_RCPI_EVENTID) \
  1672. OP(WMI_PEER_STATS_INFO_EVENTID) \
  1673. OP(WMI_PKGID_EVENTID) \
  1674. OP(WMI_REG_CHAN_LIST_CC_EVENTID) \
  1675. OP(WMI_11D_NEW_COUNTRY_EVENTID) \
  1676. OP(WMI_RADIO_CHAN_STATS_EVENTID) \
  1677. OP(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENTID) \
  1678. OP(WMI_PEER_OPER_MODE_CHANGE_EVENTID) \
  1679. OP(WMI_PDEV_CHIP_POWER_SAVE_FAILURE_DETECTED_EVENTID) \
  1680. OP(WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID) \
  1681. OP(WMI_PDEV_CHECK_CAL_VERSION_EVENTID) \
  1682. OP(WMI_VDEV_GET_ARP_STAT_EVENTID) \
  1683. OP(WMI_WLAN_COEX_BT_ACTIVITY_EVENTID) \
  1684. OP(WMI_VDEV_GET_TX_POWER_EVENTID) \
  1685. OP(WMI_OFFCHAN_DATA_TX_COMPLETION_EVENTID) \
  1686. OP(WMI_THERM_THROT_STATS_EVENTID) \
  1687. OP(WMI_PDEV_DIV_RSSI_ANTID_EVENTID) \
  1688. OP(WMI_OEM_DMA_RING_CFG_RSP_EVENTID) \
  1689. OP(WMI_OEM_DMA_BUF_RELEASE_EVENTID) \
  1690. OP(WMI_OEM_DATA_EVENTID) \
  1691. OP(WMI_PDEV_BSS_CHAN_INFO_EVENTID) \
  1692. OP(WMI_UNIT_TEST_EVENTID) \
  1693. OP(WMI_PDEV_UPDATE_CTLTABLE_EVENTID) \
  1694. OP(WMI_HOST_SWFDA_EVENTID) \
  1695. OP(WMI_NDL_SCHEDULE_UPDATE_EVENTID) \
  1696. OP(WMI_SAP_OBSS_DETECTION_REPORT_EVENTID) \
  1697. OP(WMI_PDEV_DMA_RING_CFG_RSP_EVENTID) \
  1698. OP(WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID) \
  1699. OP(WMI_SAR_GET_LIMITS_EVENTID) \
  1700. OP(WMI_SAR2_RESULT_EVENTID) \
  1701. OP(WMI_BPF_GET_VDEV_WORK_MEMORY_RESP_EVENTID) \
  1702. OP(WMI_OBSS_COLOR_COLLISION_DETECTION_EVENTID) \
  1703. OP(WMI_TWT_ENABLE_COMPLETE_EVENTID) \
  1704. OP(WMI_TWT_DISABLE_COMPLETE_EVENTID) \
  1705. OP(WMI_TWT_ADD_DIALOG_COMPLETE_EVENTID) \
  1706. OP(WMI_TWT_DEL_DIALOG_COMPLETE_EVENTID) \
  1707. OP(WMI_TWT_PAUSE_DIALOG_COMPLETE_EVENTID) \
  1708. OP(WMI_TWT_RESUME_DIALOG_COMPLETE_EVENTID) \
  1709. OP(WMI_ROAM_SCAN_STATS_EVENTID) \
  1710. OP(WMI_GET_TPC_POWER_EVENTID) \
  1711. OP(WMI_MOTION_DET_HOST_EVENTID) \
  1712. OP(WMI_MOTION_DET_BASE_LINE_HOST_EVENTID) \
  1713. OP(WMI_ESP_ESTIMATE_EVENTID) \
  1714. OP(WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID) \
  1715. OP(WMI_NDP_EVENTID) \
  1716. OP(WMI_VDEV_BCN_RECEPTION_STATS_EVENTID) \
  1717. OP(WMI_PEER_TX_PN_RESPONSE_EVENTID) \
  1718. OP(WMI_PDEV_CSC_SWITCH_COUNT_STATUS_EVENTID) \
  1719. OP(WMI_ROAM_BLACKLIST_EVENTID) \
  1720. OP(WMI_VDEV_GET_MWS_COEX_STATE_EVENTID) \
  1721. OP(WMI_VDEV_GET_MWS_COEX_DPWB_STATE_EVENTID) \
  1722. OP(WMI_VDEV_GET_MWS_COEX_TDM_STATE_EVENTID) \
  1723. OP(WMI_VDEV_GET_MWS_COEX_IDRX_STATE_EVENTID) \
  1724. OP(WMI_VDEV_GET_MWS_COEX_ANTENNA_SHARING_STATE_EVENTID) \
  1725. OP(WMI_WLM_STATS_EVENTID) \
  1726. OP(WMI_PEER_CFR_CAPTURE_EVENTID) \
  1727. OP(WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID) \
  1728. OP(WMI_PDEV_RAP_INFO_EVENTID) \
  1729. OP(WMI_IFACE_COMBINATION_IND_EVENTID) \
  1730. OP(WMI_VDEV_MGMT_OFFLOAD_EVENTID) \
  1731. OP(WMI_MUEDCA_PARAMS_CONFIG_EVENTID) \
  1732. OP(WMI_TWT_BTWT_INVITE_STA_COMPLETE_EVENTID) \
  1733. OP(WMI_TWT_BTWT_REMOVE_STA_COMPLETE_EVENTID) \
  1734. OP(WMI_VDEV_DELETE_ALL_PEER_RESP_EVENTID) \
  1735. OP(WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID) \
  1736. OP(WMI_ROAM_PREAUTH_START_EVENTID) \
  1737. OP(WMI_GET_ELNA_BYPASS_EVENTID) \
  1738. OP(WMI_ROAM_PMKID_REQUEST_EVENTID) \
  1739. OP(WMI_GET_CHANNEL_ANI_EVENTID) \
  1740. OP(WMI_ROAM_STATS_EVENTID) \
  1741. OP(WMI_VDEV_AUDIO_SYNC_START_STOP_EVENTID) \
  1742. OP(WMI_VDEV_AUDIO_SYNC_Q_MASTER_SLAVE_OFFSET_EVENTID) \
  1743. OP(WMI_PEER_CREATE_CONF_EVENTID) \
  1744. OP(WMI_PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENTID) \
  1745. OP(WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID) \
  1746. OP(WMI_VDEV_SEND_BIG_DATA_EVENTID) \
  1747. OP(WMI_NAN_DMESG_EVENTID) \
  1748. OP(WMI_VDEV_SEND_BIG_DATA_P2_EVENTID) \
  1749. OP(WMI_AUDIO_AGGR_REPORT_STATISTICS_EVENTID) \
  1750. OP(WMI_PDEV_SSCAN_FW_PARAM_EVENTID) \
  1751. /* add new EVT_LIST elements above this line */
  1752. /* TLV definitions of WMI commands */
  1753. /* Init Cmd */
  1754. #define WMITLV_TABLE_WMI_INIT_CMDID(id,op,buf,len)\
  1755. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_init_cmd_fixed_param, wmi_init_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)\
  1756. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_resource_config, wmi_resource_config, resource_config, WMITLV_SIZE_FIX)\
  1757. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_host_memory_chunk, host_mem_chunks, WMITLV_SIZE_VAR) \
  1758. 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) \
  1759. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_band_to_mac, band_to_mac, WMITLV_SIZE_VAR)
  1760. WMITLV_CREATE_PARAM_STRUC(WMI_INIT_CMDID);
  1761. /* Peer create Cmd */
  1762. #define WMITLV_TABLE_WMI_PEER_CREATE_CMDID(id,op,buf,len) \
  1763. 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)
  1764. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CREATE_CMDID);
  1765. /* Peer delete Cmd */
  1766. #define WMITLV_TABLE_WMI_PEER_DELETE_CMDID(id,op,buf,len) \
  1767. 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)
  1768. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_DELETE_CMDID);
  1769. /* Delete all peer Cmd */
  1770. #define WMITLV_TABLE_WMI_VDEV_DELETE_ALL_PEER_CMDID(id,op,buf,len) \
  1771. 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)
  1772. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DELETE_ALL_PEER_CMDID);
  1773. /* Peer unmap response Cmd */
  1774. #define WMITLV_TABLE_WMI_PEER_UNMAP_RESPONSE_CMDID(id,op,buf,len) \
  1775. 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) \
  1776. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, peer_ids, WMITLV_SIZE_VAR)
  1777. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_UNMAP_RESPONSE_CMDID);
  1778. /* Peer flush Cmd */
  1779. #define WMITLV_TABLE_WMI_PEER_FLUSH_TIDS_CMDID(id,op,buf,len) \
  1780. 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)
  1781. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_FLUSH_TIDS_CMDID);
  1782. /* Peer Set Param Cmd */
  1783. #define WMITLV_TABLE_WMI_PEER_SET_PARAM_CMDID(id,op,buf,len) \
  1784. 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)
  1785. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SET_PARAM_CMDID);
  1786. /* STA Powersave Mode Cmd */
  1787. #define WMITLV_TABLE_WMI_STA_POWERSAVE_MODE_CMDID(id,op,buf,len) \
  1788. 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)
  1789. WMITLV_CREATE_PARAM_STRUC(WMI_STA_POWERSAVE_MODE_CMDID);
  1790. /* STA Powersave Param Cmd */
  1791. #define WMITLV_TABLE_WMI_STA_POWERSAVE_PARAM_CMDID(id,op,buf,len) \
  1792. 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)
  1793. WMITLV_CREATE_PARAM_STRUC(WMI_STA_POWERSAVE_PARAM_CMDID);
  1794. /* STA TDCC Param Config Cmd */
  1795. #define WMITLV_TABLE_WMI_STA_TDCC_CONFIG_CMDID(id,op,buf,len) \
  1796. 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)
  1797. WMITLV_CREATE_PARAM_STRUC(WMI_STA_TDCC_CONFIG_CMDID);
  1798. /* STA DTIM PS METHOD Cmd */
  1799. #define WMITLV_TABLE_WMI_STA_DTIM_PS_METHOD_CMDID(id,op,buf,len) \
  1800. 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)
  1801. WMITLV_CREATE_PARAM_STRUC(WMI_STA_DTIM_PS_METHOD_CMDID);
  1802. /* Pdev Set Reg Domain Cmd */
  1803. #define WMITLV_TABLE_WMI_PDEV_SET_REGDOMAIN_CMDID(id,op,buf,len) \
  1804. 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)
  1805. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_REGDOMAIN_CMDID);
  1806. /* Peer TID ADD BA Cmd */
  1807. #define WMITLV_TABLE_WMI_PEER_TID_ADDBA_CMDID(id,op,buf,len) \
  1808. 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)
  1809. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TID_ADDBA_CMDID);
  1810. /* Peer TID DEL BA Cmd */
  1811. #define WMITLV_TABLE_WMI_PEER_TID_DELBA_CMDID(id,op,buf,len) \
  1812. 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)
  1813. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TID_DELBA_CMDID);
  1814. /* Peer Req Add BA Ssn for staId/tid pair Cmd */
  1815. #define WMITLV_TABLE_WMI_BA_REQ_SSN_CMDID(id,op,buf,len) \
  1816. 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) \
  1817. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_ARRAY_STRUC, wmi_ba_req_ssn, ba_req_ssn_list, WMITLV_SIZE_VAR)
  1818. WMITLV_CREATE_PARAM_STRUC(WMI_BA_REQ_SSN_CMDID);
  1819. /* PDEV FTM integration Cmd */
  1820. #define WMITLV_TABLE_WMI_PDEV_FTM_INTG_CMDID(id,op,buf,len) \
  1821. 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)\
  1822. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  1823. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FTM_INTG_CMDID);
  1824. /* WOW Wakeup from sleep Cmd */
  1825. #define WMITLV_TABLE_WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID(id,op,buf,len) \
  1826. 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)
  1827. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID);
  1828. /* WOW Enable Cmd */
  1829. #define WMITLV_TABLE_WMI_WOW_ENABLE_CMDID(id,op,buf,len) \
  1830. 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)
  1831. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_ENABLE_CMDID);
  1832. /* WOW ICMPv6 NA filtering command */
  1833. #define WMITLV_TABLE_WMI_WOW_ENABLE_ICMPV6_NA_FLT_CMDID(id,op,buf,len) \
  1834. 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)
  1835. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_ENABLE_ICMPV6_NA_FLT_CMDID);
  1836. /* Remove Bcn Filter Cmd */
  1837. #define WMITLV_TABLE_WMI_RMV_BCN_FILTER_CMDID(id,op,buf,len) \
  1838. 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)
  1839. WMITLV_CREATE_PARAM_STRUC(WMI_RMV_BCN_FILTER_CMDID);
  1840. /* Offload 11k related requests */
  1841. #define WMITLV_TABLE_WMI_11K_OFFLOAD_REPORT_CMDID(id,op,buf,len) \
  1842. 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) \
  1843. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_neighbor_report_11k_offload_tlv_param, offload_neighbor_report_param, WMITLV_SIZE_VAR)
  1844. WMITLV_CREATE_PARAM_STRUC(WMI_11K_OFFLOAD_REPORT_CMDID);
  1845. /* invoke 11k neighbor report req from FW */
  1846. #define WMITLV_TABLE_WMI_11K_INVOKE_NEIGHBOR_REPORT_CMDID(id,op,buf,len) \
  1847. 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)
  1848. WMITLV_CREATE_PARAM_STRUC(WMI_11K_INVOKE_NEIGHBOR_REPORT_CMDID);
  1849. /** Service bit WMI_SERVICE_ROAM_OFFLOAD for Roaming feature */
  1850. /* Roam scan mode Cmd */
  1851. #define WMITLV_TABLE_WMI_ROAM_SCAN_MODE(id,op,buf,len) \
  1852. 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) \
  1853. 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) \
  1854. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_offload_tlv_param, offload_param, WMITLV_SIZE_VAR) \
  1855. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_11i_offload_tlv_param, offload_11i_param, WMITLV_SIZE_VAR) \
  1856. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_11r_offload_tlv_param, offload_11r_param, WMITLV_SIZE_VAR) \
  1857. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_ese_offload_tlv_param, offload_ese_param, WMITLV_SIZE_VAR) \
  1858. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tlv_buf_len_param, assoc_ie_len_param, WMITLV_SIZE_VAR) \
  1859. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, assoc_ie_buf, WMITLV_SIZE_VAR) \
  1860. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_fils_offload_tlv_param, offload_fils_info_param, WMITLV_SIZE_VAR)
  1861. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_MODE);
  1862. /* Roam scan Rssi Threshold Cmd */
  1863. #define WMITLV_TABLE_WMI_ROAM_SCAN_RSSI_THRESHOLD(id,op,buf,len) \
  1864. 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) \
  1865. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_scan_extended_threshold_param, extended_param, WMITLV_SIZE_VAR) \
  1866. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_earlystop_rssi_thres_param, earlystop_param, WMITLV_SIZE_VAR) \
  1867. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_dense_thres_param, dense_param, WMITLV_SIZE_VAR) \
  1868. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_bg_scan_roaming_param, bg_scan_param, WMITLV_SIZE_VAR)
  1869. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_RSSI_THRESHOLD);
  1870. /* Roam Scan Period Cmd */
  1871. #define WMITLV_TABLE_WMI_ROAM_SCAN_PERIOD(id,op,buf,len) \
  1872. 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)
  1873. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_PERIOD);
  1874. /* Roam scan change Rssi Threshold Cmd */
  1875. #define WMITLV_TABLE_WMI_ROAM_SCAN_RSSI_CHANGE_THRESHOLD(id,op,buf,len) \
  1876. 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)
  1877. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_RSSI_CHANGE_THRESHOLD);
  1878. /* Roam Scan Channel list Cmd */
  1879. #define WMITLV_TABLE_WMI_ROAM_CHAN_LIST(id,op,buf,len) \
  1880. 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) \
  1881. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR)
  1882. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_CHAN_LIST);
  1883. /* Roam scan mode Cmd */
  1884. #define WMITLV_TABLE_WMI_ROAM_SCAN_CMD(id,op,buf,len) \
  1885. 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)
  1886. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_CMD);
  1887. /* Roam mbo configuration */
  1888. #define WMITLV_TABLE_WMI_ROAM_SET_MBO_PARAM_CMDID(id,op,buf,len) \
  1889. 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) \
  1890. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, cellular_cap, WMITLV_SIZE_VAR) \
  1891. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_supported_operating_class_param, supp_op_class_param, WMITLV_SIZE_VAR) \
  1892. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, supp_op_class_list, WMITLV_SIZE_VAR) \
  1893. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mbo_non_preferred_channel_report_param, non_prefer_ch_param, WMITLV_SIZE_VAR) \
  1894. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, non_prefer_ch_attr, WMITLV_SIZE_VAR)
  1895. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SET_MBO_PARAM_CMDID);
  1896. /* Roam PER configure cmd */
  1897. #define WMITLV_TABLE_WMI_ROAM_PER_CONFIG_CMDID(id,op,buf,len) \
  1898. 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)
  1899. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_PER_CONFIG_CMDID);
  1900. #define WMITLV_TABLE_WMI_VDEV_PLMREQ_START_CMDID(id,op,buf,len) \
  1901. 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) \
  1902. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR)
  1903. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_PLMREQ_START_CMDID);
  1904. #define WMITLV_TABLE_WMI_VDEV_PLMREQ_STOP_CMDID(id,op,buf,len) \
  1905. 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)
  1906. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_PLMREQ_STOP_CMDID);
  1907. /* Start scan Cmd */
  1908. #define WMITLV_TABLE_WMI_START_SCAN_CMDID(id,op,buf,len) \
  1909. 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) \
  1910. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR) \
  1911. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_ssid, ssid_list, WMITLV_SIZE_VAR) \
  1912. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_list, WMITLV_SIZE_VAR) \
  1913. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)\
  1914. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui, vendor_oui, WMITLV_SIZE_VAR) \
  1915. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, phymode_list, WMITLV_SIZE_VAR) \
  1916. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_hint_freq_short_ssid, hint_freq_short_ssid_list, WMITLV_SIZE_VAR) \
  1917. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_hint_freq_bssid, hint_freq_bssid_list, WMITLV_SIZE_VAR)
  1918. WMITLV_CREATE_PARAM_STRUC(WMI_START_SCAN_CMDID);
  1919. /* Scan adaptive dwell mode configuration */
  1920. #define WMITLV_TABLE_WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID(id,op,buf,len) \
  1921. 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) \
  1922. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_scan_adaptive_dwell_parameters_tlv, param, WMITLV_SIZE_VAR)
  1923. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID);
  1924. /* Set scan selection duty cycle */
  1925. #define WMITLV_TABLE_WMI_SET_SCAN_DBS_DUTY_CYCLE_CMDID(id,op,buf,len) \
  1926. 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) \
  1927. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_scan_dbs_duty_cycle_tlv_param, param, WMITLV_SIZE_VAR)
  1928. WMITLV_CREATE_PARAM_STRUC(WMI_SET_SCAN_DBS_DUTY_CYCLE_CMDID);
  1929. /* Start ExtScan Cmd */
  1930. #define WMITLV_TABLE_WMI_EXTSCAN_START_CMDID(id,op,buf,len) \
  1931. 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) \
  1932. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_ssid, ssid_list, WMITLV_SIZE_VAR) \
  1933. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_list, WMITLV_SIZE_VAR) \
  1934. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR) \
  1935. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_bucket, bucket_list, WMITLV_SIZE_VAR) \
  1936. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_bucket_channel, channel_list, WMITLV_SIZE_VAR)
  1937. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_START_CMDID);
  1938. /* Stop ExtScan Cmd */
  1939. #define WMITLV_TABLE_WMI_EXTSCAN_STOP_CMDID(id,op,buf,len) \
  1940. 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)
  1941. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_STOP_CMDID);
  1942. /* Start ExtScan BSSID Monitoring Cmd */
  1943. #define WMITLV_TABLE_WMI_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMDID(id,op,buf,len) \
  1944. 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) \
  1945. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_change_bssid_param, wlan_change_descriptor_list, WMITLV_SIZE_VAR)
  1946. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMDID);
  1947. /* Start Hot List Monitoring Cmd */
  1948. #define WMITLV_TABLE_WMI_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMDID(id,op,buf,len) \
  1949. 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) \
  1950. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_hotlist_entry, hotlist, WMITLV_SIZE_VAR)
  1951. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMDID);
  1952. /* Get ExtScan BSSID/RSSI list Cmd */
  1953. #define WMITLV_TABLE_WMI_EXTSCAN_GET_CACHED_RESULTS_CMDID(id,op,buf,len) \
  1954. 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)
  1955. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_GET_CACHED_RESULTS_CMDID);
  1956. /* Get ExtScan BSSID monitor results Cmd */
  1957. #define WMITLV_TABLE_WMI_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMDID(id,op,buf,len) \
  1958. 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)
  1959. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMDID);
  1960. /* Set ExtScan Capabilities Cmd */
  1961. #define WMITLV_TABLE_WMI_EXTSCAN_SET_CAPABILITIES_CMDID(id,op,buf,len) \
  1962. 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) \
  1963. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_cache_capabilities, extscan_cache_capabilities, WMITLV_SIZE_VAR) \
  1964. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_change_monitor_capabilities, wlan_change_capabilities, WMITLV_SIZE_VAR) \
  1965. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_hotlist_monitor_capabilities, hotlist_capabilities, WMITLV_SIZE_VAR)
  1966. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_SET_CAPABILITIES_CMDID);
  1967. /* Get ExtScan Capabilities Cmd */
  1968. #define WMITLV_TABLE_WMI_EXTSCAN_GET_CAPABILITIES_CMDID(id,op,buf,len) \
  1969. 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)
  1970. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_GET_CAPABILITIES_CMDID);
  1971. /* Start SSID Hot List Monitoring Cmd */
  1972. #define WMITLV_TABLE_WMI_EXTSCAN_CONFIGURE_HOTLIST_SSID_MONITOR_CMDID(id,op,buf,len) \
  1973. 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) \
  1974. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_hotlist_ssid_entry, hotlist_ssid, WMITLV_SIZE_VAR)
  1975. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CONFIGURE_HOTLIST_SSID_MONITOR_CMDID);
  1976. /* P2P set vendor ID data Cmd */
  1977. #define WMITLV_TABLE_WMI_P2P_SET_VENDOR_IE_DATA_CMDID(id,op,buf,len) \
  1978. 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)
  1979. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_SET_VENDOR_IE_DATA_CMDID);
  1980. /* P2P set OppPS parameters Cmd */
  1981. #define WMITLV_TABLE_WMI_P2P_SET_OPPPS_PARAM_CMDID(id,op,buf,len) \
  1982. 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)
  1983. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_SET_OPPPS_PARAM_CMDID);
  1984. /* P2P set listen offload start parameters Cmd */
  1985. #define WMITLV_TABLE_WMI_P2P_LISTEN_OFFLOAD_START_CMDID(id,op,buf,len) \
  1986. 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) \
  1987. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, device_types_data, WMITLV_SIZE_VAR) \
  1988. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, prob_resp_data, WMITLV_SIZE_VAR)
  1989. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_LISTEN_OFFLOAD_START_CMDID);
  1990. /* P2P set listen offload stop parameters Cmd */
  1991. #define WMITLV_TABLE_WMI_P2P_LISTEN_OFFLOAD_STOP_CMDID(id,op,buf,len) \
  1992. 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)
  1993. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_LISTEN_OFFLOAD_STOP_CMDID);
  1994. /* P2P set listen offload stopped parameters Event */
  1995. #define WMITLV_TABLE_WMI_P2P_LISTEN_OFFLOAD_STOPPED_EVENTID(id,op,buf,len) \
  1996. 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)
  1997. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_LISTEN_OFFLOAD_STOPPED_EVENTID);
  1998. /* Pdev set channel Cmd */
  1999. #define WMITLV_TABLE_WMI_PDEV_SET_CHANNEL_CMDID(id,op,buf,len) \
  2000. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX)
  2001. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_CHANNEL_CMDID);
  2002. #define WMITLV_TABLE_WMI_PDEV_UPDATE_PMK_CACHE_CMDID(id,op,buf,len) \
  2003. 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) \
  2004. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pmk_cache, pmk_cache, WMITLV_SIZE_VAR)
  2005. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_PMK_CACHE_CMDID);
  2006. #define WMITLV_TABLE_WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID(id,op,buf,len) \
  2007. 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) \
  2008. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, fils_hlp_pkt, WMITLV_SIZE_VAR)
  2009. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID);
  2010. /* Echo Cmd */
  2011. #define WMITLV_TABLE_WMI_ECHO_CMDID(id,op,buf,len) \
  2012. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_echo_cmd_fixed_param, wmi_echo_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2013. WMITLV_CREATE_PARAM_STRUC(WMI_ECHO_CMDID);
  2014. /* Pdev set wmm params */
  2015. #define WMITLV_TABLE_WMI_PDEV_SET_WMM_PARAMS_CMDID(id,op,buf,len) \
  2016. 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)\
  2017. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wmm_params, wmi_wmm_params, wmm_params_ac_be, WMITLV_SIZE_FIX)\
  2018. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wmm_params, wmi_wmm_params, wmm_params_ac_bk, WMITLV_SIZE_FIX)\
  2019. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wmm_params, wmi_wmm_params, wmm_params_ac_vi, WMITLV_SIZE_FIX)\
  2020. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wmm_params, wmi_wmm_params, wmm_params_ac_vo, WMITLV_SIZE_FIX)
  2021. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_WMM_PARAMS_CMDID);
  2022. /* Vdev start request Cmd */
  2023. #define WMITLV_TABLE_WMI_VDEV_START_REQUEST_CMDID(id,op,buf,len) \
  2024. 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) \
  2025. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX) \
  2026. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_descriptor, noa_descriptors, WMITLV_SIZE_VAR)
  2027. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_START_REQUEST_CMDID);
  2028. /* Vdev restart request cmd */
  2029. #define WMITLV_TABLE_WMI_VDEV_RESTART_REQUEST_CMDID(id,op,buf,len) \
  2030. 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) \
  2031. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX) \
  2032. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_descriptor, noa_descriptors, WMITLV_SIZE_VAR)
  2033. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_RESTART_REQUEST_CMDID);
  2034. /* P2P Go set beacon IE cmd */
  2035. #define WMITLV_TABLE_WMI_P2P_GO_SET_BEACON_IE(id,op,buf,len) \
  2036. 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) \
  2037. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)
  2038. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_GO_SET_BEACON_IE);
  2039. /* GTK offload Cmd */
  2040. #define WMITLV_TABLE_WMI_GTK_OFFLOAD_CMDID(id,op,buf,len) \
  2041. 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) \
  2042. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_gtk_offload_fils_tlv_param, wmi_fils_gtk_info, WMITLV_SIZE_VAR)
  2043. WMITLV_CREATE_PARAM_STRUC(WMI_GTK_OFFLOAD_CMDID);
  2044. /* PMF 11w offload Set SA query cmd */
  2045. #define WMITLV_TABLE_WMI_PMF_OFFLOAD_SET_SA_QUERY_CMDID(id,op,buf,len) \
  2046. 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)
  2047. WMITLV_CREATE_PARAM_STRUC(WMI_PMF_OFFLOAD_SET_SA_QUERY_CMDID);
  2048. /* Scan channel list Cmd */
  2049. #define WMITLV_TABLE_WMI_SCAN_CHAN_LIST_CMDID(id,op,buf,len) \
  2050. 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) \
  2051. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, chan_info, WMITLV_SIZE_VAR)
  2052. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_CHAN_LIST_CMDID);
  2053. /* STA UAPSD Auto trigger Cmd */
  2054. #define WMITLV_TABLE_WMI_STA_UAPSD_AUTO_TRIG_CMDID(id,op,buf,len) \
  2055. 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) \
  2056. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_sta_uapsd_auto_trig_param, ac_param, WMITLV_SIZE_VAR)
  2057. WMITLV_CREATE_PARAM_STRUC(WMI_STA_UAPSD_AUTO_TRIG_CMDID);
  2058. /* Probe template Cmd */
  2059. #define WMITLV_TABLE_WMI_PRB_TMPL_CMDID(id,op,buf,len) \
  2060. 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) \
  2061. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bcn_prb_info, wmi_bcn_prb_info, bcn_prb_info, WMITLV_SIZE_FIX) \
  2062. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  2063. WMITLV_CREATE_PARAM_STRUC(WMI_PRB_TMPL_CMDID);
  2064. /* Beacon template Cmd */
  2065. #define WMITLV_TABLE_WMI_BCN_TMPL_CMDID(id,op,buf,len) \
  2066. 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) \
  2067. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bcn_prb_info, wmi_bcn_prb_info, bcn_prb_info, WMITLV_SIZE_FIX) \
  2068. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  2069. WMITLV_CREATE_PARAM_STRUC(WMI_BCN_TMPL_CMDID);
  2070. /* FILS Discovery template Cmd */
  2071. #define WMITLV_TABLE_WMI_FD_TMPL_CMDID(id,op,buf,len) \
  2072. 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) \
  2073. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  2074. WMITLV_CREATE_PARAM_STRUC(WMI_FD_TMPL_CMDID);
  2075. /* VDEV install key complete Cmd */
  2076. #define WMITLV_TABLE_WMI_VDEV_INSTALL_KEY_CMDID(id,op,buf,len) \
  2077. 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)\
  2078. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, key_data, WMITLV_SIZE_VAR)
  2079. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_INSTALL_KEY_CMDID);
  2080. /* VDEV WNM SLEEP MODE Cmd */
  2081. #define WMITLV_TABLE_WMI_VDEV_WNM_SLEEPMODE_CMDID(id,op,buf,len) \
  2082. 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)
  2083. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_WNM_SLEEPMODE_CMDID);
  2084. #define WMITLV_TABLE_WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMDID(id,op,buf,len) \
  2085. 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)
  2086. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMDID);
  2087. /* Peer Assoc Cmd */
  2088. #define WMITLV_TABLE_WMI_PEER_ASSOC_CMDID(id,op,buf,len) \
  2089. 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) \
  2090. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, peer_legacy_rates, WMITLV_SIZE_VAR) \
  2091. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, peer_ht_rates, WMITLV_SIZE_VAR) \
  2092. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vht_rate_set, wmi_vht_rate_set, peer_vht_rates, WMITLV_SIZE_FIX) \
  2093. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_he_rate_set, peer_he_rates, WMITLV_SIZE_VAR)
  2094. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ASSOC_CMDID);
  2095. /* Peer Set Rate Report Condition Cmd */
  2096. #define WMITLV_TABLE_WMI_PEER_SET_RATE_REPORT_CONDITION_CMDID(id,op,buf,len) \
  2097. 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)
  2098. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SET_RATE_REPORT_CONDITION_CMDID);
  2099. /* Add Beacon filter Cmd */
  2100. #define WMITLV_TABLE_WMI_ADD_BCN_FILTER_CMDID(id,op,buf,len) \
  2101. 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) \
  2102. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ie_map, WMITLV_SIZE_FIX, BCN_FLT_MAX_ELEMS_IE_LIST)
  2103. WMITLV_CREATE_PARAM_STRUC(WMI_ADD_BCN_FILTER_CMDID);
  2104. /* Sta keepalive cmd */
  2105. #define WMITLV_TABLE_WMI_STA_KEEPALIVE_CMDID(id,op,buf,len) \
  2106. 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) \
  2107. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_STA_KEEPALVE_ARP_RESPONSE, WMI_STA_KEEPALVE_ARP_RESPONSE, arp_resp, WMITLV_SIZE_FIX)
  2108. WMITLV_CREATE_PARAM_STRUC(WMI_STA_KEEPALIVE_CMDID);
  2109. /* Bss Max idle time cmd */
  2110. #define WMITLV_TABLE_WMI_VDEV_BSS_MAX_IDLE_TIME_CMDID(id,op,buf,len) \
  2111. 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)
  2112. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_BSS_MAX_IDLE_TIME_CMDID);
  2113. /* ARP NS offload Cmd */
  2114. #define WMITLV_TABLE_WMI_SET_ARP_NS_OFFLOAD_CMDID(id,op,buf,len) \
  2115. 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) \
  2116. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_NS_OFFLOAD_TUPLE, ns_tuples, WMITLV_SIZE_FIX, WMI_MAX_NS_OFFLOADS) \
  2117. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_ARP_OFFLOAD_TUPLE, arp_tuples, WMITLV_SIZE_FIX, WMI_MAX_ARP_OFFLOADS) \
  2118. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_NS_OFFLOAD_TUPLE, ns_ext_tuples, WMITLV_SIZE_VAR)
  2119. WMITLV_CREATE_PARAM_STRUC(WMI_SET_ARP_NS_OFFLOAD_CMDID);
  2120. /* AP PS peer param Cmd */
  2121. #define WMITLV_TABLE_WMI_AP_PS_PEER_PARAM_CMDID(id,op,buf,len) \
  2122. 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)
  2123. WMITLV_CREATE_PARAM_STRUC(WMI_AP_PS_PEER_PARAM_CMDID);
  2124. /* AP PS enhanced green ap param Cmd */
  2125. #define WMITLV_TABLE_WMI_AP_PS_EGAP_PARAM_CMDID(id,op,buf,len) \
  2126. 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)
  2127. WMITLV_CREATE_PARAM_STRUC(WMI_AP_PS_EGAP_PARAM_CMDID);
  2128. /* Profile Trigger Cmd */
  2129. #define WMITLV_TABLE_WMI_WLAN_PROFILE_TRIGGER_CMDID(id,op,buf,len) \
  2130. 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)
  2131. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_TRIGGER_CMDID);
  2132. /* WLAN Profile set hist interval Cmd */
  2133. #define WMITLV_TABLE_WMI_WLAN_PROFILE_SET_HIST_INTVL_CMDID(id,op,buf,len) \
  2134. 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)
  2135. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_SET_HIST_INTVL_CMDID);
  2136. /* WLAN Profile get profile data Cmd */
  2137. #define WMITLV_TABLE_WMI_WLAN_PROFILE_GET_PROFILE_DATA_CMDID(id,op,buf,len) \
  2138. 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)
  2139. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_GET_PROFILE_DATA_CMDID);
  2140. /* WLAN Profile enable profile ID Cmd */
  2141. #define WMITLV_TABLE_WMI_WLAN_PROFILE_ENABLE_PROFILE_ID_CMDID(id,op,buf,len) \
  2142. 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)
  2143. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_ENABLE_PROFILE_ID_CMDID);
  2144. /* WOW Delete Wake Pattern Cmd */
  2145. #define WMITLV_TABLE_WMI_WOW_DEL_WAKE_PATTERN_CMDID(id,op,buf,len) \
  2146. 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)
  2147. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_DEL_WAKE_PATTERN_CMDID);
  2148. #define WMITLV_TABLE_WMI_WOW_UDP_SVC_OFLD_CMDID(id,op,buf,len) \
  2149. 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) \
  2150. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pattern, WMITLV_SIZE_VAR) \
  2151. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, response, WMITLV_SIZE_VAR)
  2152. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_UDP_SVC_OFLD_CMDID);
  2153. #define WMITLV_TABLE_WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMDID(id,op,buf,len) \
  2154. 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)
  2155. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMDID);
  2156. #define WMITLV_TABLE_WMI_WOW_SET_ACTION_WAKE_UP_CMDID(id,op,buf,len) \
  2157. 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) \
  2158. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, action_bitmaps_per_category, WMITLV_SIZE_VAR)
  2159. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_SET_ACTION_WAKE_UP_CMDID);
  2160. /* Wow enable/disable wake up Cmd */
  2161. #define WMITLV_TABLE_WMI_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID(id,op,buf,len) \
  2162. 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)
  2163. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID);
  2164. /* RTT measurement request Cmd */
  2165. #define WMITLV_TABLE_WMI_RTT_MEASREQ_CMDID(id,op,buf,len) \
  2166. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2167. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_MEASREQ_CMDID);
  2168. /* RTT TSF Cmd */
  2169. #define WMITLV_TABLE_WMI_RTT_TSF_CMDID(id,op,buf,len) \
  2170. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2171. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_TSF_CMDID);
  2172. /* RTT OEM req Cmd */
  2173. #define WMITLV_TABLE_WMI_OEM_REQ_CMDID(id,op,buf,len) \
  2174. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2175. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_REQ_CMDID);
  2176. /* RTT OEM request Cmd - DEPRECATED */
  2177. #define WMITLV_TABLE_WMI_OEM_REQUEST_CMDID(id,op,buf,len) \
  2178. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2179. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_REQUEST_CMDID);
  2180. /* RTT OEM req Cmd through LPASS */
  2181. #define WMITLV_TABLE_WMI_LPI_OEM_REQ_CMDID(id,op,buf,len) \
  2182. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2183. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_OEM_REQ_CMDID);
  2184. #define WMITLV_TABLE_WMI_OEM_DMA_RING_CFG_REQ_CMDID(id,op,buf,len) \
  2185. 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)
  2186. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DMA_RING_CFG_REQ_CMDID);
  2187. /* Spectral scan configure Cmd */
  2188. #define WMITLV_TABLE_WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID(id,op,buf,len) \
  2189. 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)
  2190. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID);
  2191. /* Spectral scan enable Cmd */
  2192. #define WMITLV_TABLE_WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID(id,op,buf,len) \
  2193. 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)
  2194. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID);
  2195. /* Request stats Cmd */
  2196. #define WMITLV_TABLE_WMI_REQUEST_STATS_CMDID(id,op,buf,len) \
  2197. 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) \
  2198. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_inst_rssi_stats_params, inst_rssi_params, WMITLV_SIZE_VAR)
  2199. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_STATS_CMDID);
  2200. /* PN Request Cmd */
  2201. #define WMITLV_TABLE_WMI_PEER_TX_PN_REQUEST_CMDID(id,op,buf,len) \
  2202. 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)
  2203. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TX_PN_REQUEST_CMDID);
  2204. /* Request for memory dump stats Cmd */
  2205. #define WMITLV_TABLE_WMI_GET_FW_MEM_DUMP_CMDID(id,op,buf,len) \
  2206. 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) \
  2207. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_fw_mem_dump, fw_mem_dump_params, WMITLV_SIZE_VAR)
  2208. WMITLV_CREATE_PARAM_STRUC(WMI_GET_FW_MEM_DUMP_CMDID);
  2209. /* flush debug messages */
  2210. #define WMITLV_TABLE_WMI_DEBUG_MESG_FLUSH_CMDID(id,op,buf,len) \
  2211. 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)
  2212. WMITLV_CREATE_PARAM_STRUC(WMI_DEBUG_MESG_FLUSH_CMDID);
  2213. /* Request to config the DIAG Events and LOGs*/
  2214. #define WMITLV_TABLE_WMI_DIAG_EVENT_LOG_CONFIG_CMDID(id,op,buf,len) \
  2215. 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) \
  2216. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, diag_events_logs_list, WMITLV_SIZE_VAR)
  2217. WMITLV_CREATE_PARAM_STRUC(WMI_DIAG_EVENT_LOG_CONFIG_CMDID);
  2218. /* Set config params */
  2219. #define WMITLV_TABLE_WMI_START_LINK_STATS_CMDID(id,op,buf,len) \
  2220. 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)
  2221. WMITLV_CREATE_PARAM_STRUC(WMI_START_LINK_STATS_CMDID);
  2222. /* Request to clear link stats */
  2223. #define WMITLV_TABLE_WMI_CLEAR_LINK_STATS_CMDID(id,op,buf,len) \
  2224. 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)
  2225. WMITLV_CREATE_PARAM_STRUC(WMI_CLEAR_LINK_STATS_CMDID);
  2226. /* Request stats Cmd */
  2227. #define WMITLV_TABLE_WMI_REQUEST_LINK_STATS_CMDID(id,op,buf,len) \
  2228. 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)
  2229. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_LINK_STATS_CMDID);
  2230. /* Request wlm stats Cmd */
  2231. #define WMITLV_TABLE_WMI_REQUEST_WLM_STATS_CMDID(id,op,buf,len) \
  2232. 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)
  2233. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_WLM_STATS_CMDID);
  2234. /* Network list offload config Cmd */
  2235. #define WMITLV_TABLE_WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID(id,op,buf,len) \
  2236. 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) \
  2237. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, nlo_configured_parameters, nlo_list, WMITLV_SIZE_VAR) \
  2238. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR) \
  2239. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, nlo_channel_prediction_cfg, channel_prediction_param, WMITLV_SIZE_VAR) \
  2240. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_enlo_candidate_score_param, enlo_candidate_score_params, candidate_score_params, WMITLV_SIZE_FIX)\
  2241. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui, vendor_oui, WMITLV_SIZE_VAR) \
  2242. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_connected_nlo_rssi_params, connected_nlo_rssi_params, cnlo_rssi_params, WMITLV_SIZE_FIX) \
  2243. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, connected_nlo_bss_band_rssi_pref, cnlo_bss_band_rssi_pref, WMITLV_SIZE_VAR)
  2244. WMITLV_CREATE_PARAM_STRUC(WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID);
  2245. /* Passpoint list offload config Cmd */
  2246. #define WMITLV_TABLE_WMI_PASSPOINT_LIST_CONFIG_CMDID(id,op,buf,len) \
  2247. 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)
  2248. WMITLV_CREATE_PARAM_STRUC(WMI_PASSPOINT_LIST_CONFIG_CMDID);
  2249. /* CSA offload enable Cmd */
  2250. #define WMITLV_TABLE_WMI_CSA_OFFLOAD_ENABLE_CMDID(id,op,buf,len) \
  2251. 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)
  2252. WMITLV_CREATE_PARAM_STRUC(WMI_CSA_OFFLOAD_ENABLE_CMDID);
  2253. /* CSA offload channel switch Cmd */
  2254. #define WMITLV_TABLE_WMI_CSA_OFFLOAD_CHANSWITCH_CMDID(id,op,buf,len) \
  2255. 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) \
  2256. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX)
  2257. WMITLV_CREATE_PARAM_STRUC(WMI_CSA_OFFLOAD_CHANSWITCH_CMDID);
  2258. /* Chatter set mode Cmd */
  2259. #define WMITLV_TABLE_WMI_CHATTER_SET_MODE_CMDID(id,op,buf,len) \
  2260. 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)
  2261. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_SET_MODE_CMDID);
  2262. /* PDEV UTF Cmd */
  2263. #define WMITLV_TABLE_WMI_PDEV_UTF_CMDID(id,op,buf,len)\
  2264. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2265. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UTF_CMDID);
  2266. /* PDEV QVIT Cmd */
  2267. #define WMITLV_TABLE_WMI_PDEV_QVIT_CMDID(id,op,buf,len)\
  2268. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2269. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_QVIT_CMDID);
  2270. #define WMITLV_TABLE_WMI_PDEV_SET_WAKEUP_CONFIG_CMDID(id,op,buf,len) \
  2271. 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)
  2272. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_WAKEUP_CONFIG_CMDID);
  2273. #define WMITLV_TABLE_WMI_PDEV_DMA_RING_CFG_REQ_CMDID(id,op,buf,len) \
  2274. 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)
  2275. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DMA_RING_CFG_REQ_CMDID);
  2276. /* Vdev Set keep alive Cmd */
  2277. #define WMITLV_TABLE_WMI_VDEV_SET_KEEPALIVE_CMDID(id,op,buf,len) \
  2278. 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)
  2279. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_KEEPALIVE_CMDID);
  2280. /* Vdev Get keep alive Cmd */
  2281. #define WMITLV_TABLE_WMI_VDEV_GET_KEEPALIVE_CMDID(id,op,buf,len) \
  2282. 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)
  2283. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_KEEPALIVE_CMDID);
  2284. /* Vdev cmd to enable/disable fw offloaded beacons. */
  2285. #define WMITLV_TABLE_WMI_BCN_OFFLOAD_CTRL_CMDID(id,op,buf,len) \
  2286. 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)
  2287. WMITLV_CREATE_PARAM_STRUC(WMI_BCN_OFFLOAD_CTRL_CMDID);
  2288. /* FWTEST Set TBTT mode Cmd */
  2289. #define WMITLV_TABLE_WMI_FWTEST_VDEV_MCC_SET_TBTT_MODE_CMDID(id,op,buf,len) \
  2290. 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)
  2291. WMITLV_CREATE_PARAM_STRUC(WMI_FWTEST_VDEV_MCC_SET_TBTT_MODE_CMDID);
  2292. /* FWTEST set NoA parameters Cmd */
  2293. #define WMITLV_TABLE_WMI_FWTEST_P2P_SET_NOA_PARAM_CMDID(id,op,buf,len) \
  2294. 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) \
  2295. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_descriptor, noa_descriptor, WMITLV_SIZE_VAR)
  2296. WMITLV_CREATE_PARAM_STRUC(WMI_FWTEST_P2P_SET_NOA_PARAM_CMDID);
  2297. /* Unit test FW */
  2298. #define WMITLV_TABLE_WMI_UNIT_TEST_CMDID(id,op,buf,len) \
  2299. 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) \
  2300. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, args, WMITLV_SIZE_VAR)
  2301. WMITLV_CREATE_PARAM_STRUC(WMI_UNIT_TEST_CMDID);
  2302. /* Force Fw Hang Cmd */
  2303. #define WMITLV_TABLE_WMI_FORCE_FW_HANG_CMDID(id,op,buf,len) \
  2304. 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)
  2305. WMITLV_CREATE_PARAM_STRUC(WMI_FORCE_FW_HANG_CMDID);
  2306. /* Set Mcast address Cmd */
  2307. #define WMITLV_TABLE_WMI_SET_MCASTBCAST_FILTER_CMDID(id,op,buf,len) \
  2308. 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)
  2309. WMITLV_CREATE_PARAM_STRUC(WMI_SET_MCASTBCAST_FILTER_CMDID);
  2310. /* Enhanced Mcast add/delete filter list cmd */
  2311. #define WMITLV_TABLE_WMI_SET_MULTIPLE_MCAST_FILTER_CMDID(id,op,buf,len) \
  2312. 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) \
  2313. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mcast_list, WMITLV_SIZE_VAR)
  2314. WMITLV_CREATE_PARAM_STRUC(WMI_SET_MULTIPLE_MCAST_FILTER_CMDID);
  2315. /* Set dbglog time stamp sync cmd */
  2316. #define WMITLV_TABLE_WMI_DBGLOG_TIME_STAMP_SYNC_CMDID(id,op,buf,len) \
  2317. 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)
  2318. WMITLV_CREATE_PARAM_STRUC(WMI_DBGLOG_TIME_STAMP_SYNC_CMDID);
  2319. /* GPIO config Cmd */
  2320. #define WMITLV_TABLE_WMI_GPIO_CONFIG_CMDID(id,op,buf,len) \
  2321. 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)
  2322. WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_CONFIG_CMDID);
  2323. /* GPIO output Cmd */
  2324. #define WMITLV_TABLE_WMI_GPIO_OUTPUT_CMDID(id,op,buf,len) \
  2325. 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)
  2326. WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_OUTPUT_CMDID);
  2327. /* Antenna Controller config Cmd */
  2328. #define WMITLV_TABLE_WMI_ANT_CONTROLLER_CMDID(id,op,buf,len) \
  2329. 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)
  2330. WMITLV_CREATE_PARAM_STRUC(WMI_ANT_CONTROLLER_CMDID);
  2331. /* Peer add WDA entry Cmd */
  2332. #define WMITLV_TABLE_WMI_PEER_ADD_WDS_ENTRY_CMDID(id,op,buf,len) \
  2333. 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)
  2334. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ADD_WDS_ENTRY_CMDID);
  2335. /*Peer remove WDS entry Cmd */
  2336. #define WMITLV_TABLE_WMI_PEER_REMOVE_WDS_ENTRY_CMDID(id,op,buf,len) \
  2337. 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)
  2338. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_REMOVE_WDS_ENTRY_CMDID);
  2339. /* Beacon tx Cmd */
  2340. #define WMITLV_TABLE_WMI_BCN_TX_CMDID(id,op,buf,len) \
  2341. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bcn_tx_hdr, wmi_bcn_tx_hdr, hdr, WMITLV_SIZE_FIX) \
  2342. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  2343. WMITLV_CREATE_PARAM_STRUC(WMI_BCN_TX_CMDID);
  2344. /* PDEV send Beacon Cmd */
  2345. #define WMITLV_TABLE_WMI_PDEV_SEND_BCN_CMDID(id,op,buf,len) \
  2346. 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)
  2347. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SEND_BCN_CMDID);
  2348. /* Management tx Cmd */
  2349. #define WMITLV_TABLE_WMI_MGMT_TX_CMDID(id,op,buf,len) \
  2350. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_tx_hdr, wmi_mgmt_tx_hdr, hdr, WMITLV_SIZE_FIX) \
  2351. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  2352. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_TX_CMDID);
  2353. /* Management tx send cmd */
  2354. #define WMITLV_TABLE_WMI_MGMT_TX_SEND_CMDID(id,op,buf,len) \
  2355. 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) \
  2356. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  2357. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tx_send_params, wmi_tx_send_params, tx_send_params, WMITLV_SIZE_FIX)
  2358. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_TX_SEND_CMDID);
  2359. /* offchan data tx send cmd */
  2360. #define WMITLV_TABLE_WMI_OFFCHAN_DATA_TX_SEND_CMDID(id,op,buf,len) \
  2361. 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) \
  2362. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  2363. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tx_send_params, wmi_tx_send_params, tx_send_params, WMITLV_SIZE_FIX)
  2364. WMITLV_CREATE_PARAM_STRUC(WMI_OFFCHAN_DATA_TX_SEND_CMDID);
  2365. /** PDEV send FILS Discovery frame cmd */
  2366. #define WMITLV_TABLE_WMI_PDEV_SEND_FD_CMDID(id,op,buf,len) \
  2367. 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)
  2368. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SEND_FD_CMDID);
  2369. /** Enable or Disable Fast Initial Link Setup (FILS) feature cmd */
  2370. #define WMITLV_TABLE_WMI_ENABLE_FILS_CMDID(id,op,buf,len) \
  2371. 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)
  2372. WMITLV_CREATE_PARAM_STRUC(WMI_ENABLE_FILS_CMDID);
  2373. /* ADD clear response Cmd */
  2374. #define WMITLV_TABLE_WMI_ADDBA_CLEAR_RESP_CMDID(id,op,buf,len) \
  2375. 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)
  2376. WMITLV_CREATE_PARAM_STRUC(WMI_ADDBA_CLEAR_RESP_CMDID);
  2377. /* ADD BA send Cmd */
  2378. #define WMITLV_TABLE_WMI_ADDBA_SEND_CMDID(id,op,buf,len) \
  2379. 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)
  2380. WMITLV_CREATE_PARAM_STRUC(WMI_ADDBA_SEND_CMDID);
  2381. /* DEL BA send Cmd */
  2382. #define WMITLV_TABLE_WMI_DELBA_SEND_CMDID(id,op,buf,len) \
  2383. 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)
  2384. WMITLV_CREATE_PARAM_STRUC(WMI_DELBA_SEND_CMDID);
  2385. /* ADD BA set response Cmd */
  2386. #define WMITLV_TABLE_WMI_ADDBA_SET_RESP_CMDID(id,op,buf,len) \
  2387. 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)
  2388. WMITLV_CREATE_PARAM_STRUC(WMI_ADDBA_SET_RESP_CMDID);
  2389. /* Send single AMSDU Cmd */
  2390. #define WMITLV_TABLE_WMI_SEND_SINGLEAMSDU_CMDID(id,op,buf,len) \
  2391. 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)
  2392. WMITLV_CREATE_PARAM_STRUC(WMI_SEND_SINGLEAMSDU_CMDID);
  2393. /* PDev Packet Log enable Cmd */
  2394. #define WMITLV_TABLE_WMI_PDEV_PKTLOG_ENABLE_CMDID(id,op,buf,len) \
  2395. 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)
  2396. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_PKTLOG_ENABLE_CMDID);
  2397. /* PDev Packet Log disable Cmd */
  2398. #define WMITLV_TABLE_WMI_PDEV_PKTLOG_DISABLE_CMDID(id,op,buf,len) \
  2399. 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)
  2400. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_PKTLOG_DISABLE_CMDID);
  2401. /* PDev set HT Cap IE Cmd */
  2402. #define WMITLV_TABLE_WMI_PDEV_SET_HT_CAP_IE_CMDID(id,op,buf,len) \
  2403. 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)\
  2404. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)
  2405. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_HT_CAP_IE_CMDID);
  2406. /* PDev set VHT Cap IE Cmd */
  2407. #define WMITLV_TABLE_WMI_PDEV_SET_VHT_CAP_IE_CMDID(id,op,buf,len) \
  2408. 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)\
  2409. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)
  2410. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_VHT_CAP_IE_CMDID);
  2411. /* PDev Set DSCP to TID map Cmd */
  2412. #define WMITLV_TABLE_WMI_PDEV_SET_DSCP_TID_MAP_CMDID(id,op,buf,len) \
  2413. 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)
  2414. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_DSCP_TID_MAP_CMDID);
  2415. /* PDev Green AP PS enable Cmd */
  2416. #define WMITLV_TABLE_WMI_PDEV_GREEN_AP_PS_ENABLE_CMDID(id,op,buf,len) \
  2417. 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)
  2418. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GREEN_AP_PS_ENABLE_CMDID);
  2419. /* PDEV Get TPC Config Cmd */
  2420. #define WMITLV_TABLE_WMI_PDEV_GET_TPC_CONFIG_CMDID(id,op,buf,len) \
  2421. 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)
  2422. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TPC_CONFIG_CMDID);
  2423. /* PDEV Get Antenna diversity chains rssi and antenna index Cmd */
  2424. #define WMITLV_TABLE_WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID(id,op,buf,len) \
  2425. 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)
  2426. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID);
  2427. #define WMITLV_TABLE_WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID(id,op,buf,len) \
  2428. 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)
  2429. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID);
  2430. /* PDEV update ctl table Cmd */
  2431. #define WMITLV_TABLE_WMI_PDEV_UPDATE_CTLTABLE_REQUEST_CMDID(id,op,buf,len) \
  2432. 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) \
  2433. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ctltable_data, WMITLV_SIZE_VAR)
  2434. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_CTLTABLE_REQUEST_CMDID);
  2435. /* VDEV Get Tx power Cmd */
  2436. #define WMITLV_TABLE_WMI_VDEV_GET_TX_POWER_CMDID(id,op,buf,len) \
  2437. 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)
  2438. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_TX_POWER_CMDID);
  2439. /* Limit Offchannel duration Cmd */
  2440. #define WMITLV_TABLE_WMI_VDEV_LIMIT_OFFCHAN_CMDID(id,op,buf,len) \
  2441. 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)
  2442. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_LIMIT_OFFCHAN_CMDID);
  2443. /* vdev per-AC SW retry configuration cmd */
  2444. #define WMITLV_TABLE_WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID(id,op,buf,len) \
  2445. 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)
  2446. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID);
  2447. #define WMITLV_TABLE_WMI_VDEV_CHAINMASK_CONFIG_CMDID(id,op,buf,len) \
  2448. 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)
  2449. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_CHAINMASK_CONFIG_CMDID);
  2450. /* PDEV Set Base Mac Address Cmd */
  2451. #define WMITLV_TABLE_WMI_PDEV_SET_BASE_MACADDR_CMDID(id,op,buf,len) \
  2452. 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)
  2453. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_BASE_MACADDR_CMDID);
  2454. /* MIB Stats*/
  2455. #define WMITLV_TABLE_WMI_MIB_STATS_ENABLE_CMDID(id,op,buf,len) \
  2456. 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)
  2457. WMITLV_CREATE_PARAM_STRUC(WMI_MIB_STATS_ENABLE_CMDID);
  2458. /* Peer multicast group Cmd */
  2459. #define WMITLV_TABLE_WMI_PEER_MCAST_GROUP_CMDID(id,op,buf,len) \
  2460. 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)
  2461. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_MCAST_GROUP_CMDID);
  2462. /* Roam AP profile Cmd */
  2463. #define WMITLV_TABLE_WMI_ROAM_AP_PROFILE(id,op,buf,len) \
  2464. 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) \
  2465. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ap_profile, wmi_ap_profile, ap_profile, WMITLV_SIZE_FIX) \
  2466. 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) \
  2467. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_score_delta_param, roam_score_delta_param_list, WMITLV_SIZE_VAR) \
  2468. 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)
  2469. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_AP_PROFILE);
  2470. /* Roam sync complete Cmd */
  2471. #define WMITLV_TABLE_WMI_ROAM_SYNCH_COMPLETE(id,op,buf,len) \
  2472. 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)
  2473. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SYNCH_COMPLETE);
  2474. #define WMITLV_TABLE_WMI_ROAM_SET_RIC_REQUEST_CMDID(id,op,buf,len) \
  2475. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ric_request_fixed_param, wmi_ric_request_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2476. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ric_tspec, ric_tspec_list, WMITLV_SIZE_VAR)
  2477. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SET_RIC_REQUEST_CMDID);
  2478. /* Scan scheduler priority Table Cmd */
  2479. #define WMITLV_TABLE_WMI_SCAN_SCH_PRIO_TBL_CMDID(id,op,buf,len) \
  2480. 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) \
  2481. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, mapping_table, WMITLV_SIZE_VAR)
  2482. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_SCH_PRIO_TBL_CMDID);
  2483. /* PDEV DFS enable Cmd */
  2484. #define WMITLV_TABLE_WMI_PDEV_DFS_ENABLE_CMDID(id,op,buf,len) \
  2485. 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)
  2486. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_ENABLE_CMDID);
  2487. /* PDEV DFS disable Cmd */
  2488. #define WMITLV_TABLE_WMI_PDEV_DFS_DISABLE_CMDID(id,op,buf,len) \
  2489. 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)
  2490. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_DISABLE_CMDID);
  2491. /* DFS phyerr parse/filter offload enable Cmd */
  2492. #define WMITLV_TABLE_WMI_DFS_PHYERR_FILTER_ENA_CMDID(id,op,buf,len) \
  2493. 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)
  2494. WMITLV_CREATE_PARAM_STRUC(WMI_DFS_PHYERR_FILTER_ENA_CMDID);
  2495. /* DFS phyerr parse/filter offload disable Cmd */
  2496. #define WMITLV_TABLE_WMI_DFS_PHYERR_FILTER_DIS_CMDID(id,op,buf,len) \
  2497. 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)
  2498. WMITLV_CREATE_PARAM_STRUC(WMI_DFS_PHYERR_FILTER_DIS_CMDID);
  2499. /* DFS phyerr processing offload enable cmd */
  2500. #define WMITLV_TABLE_WMI_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMDID(id,op,buf,len) \
  2501. 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)
  2502. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMDID);
  2503. /* DFS phyerr processing offload disble cmd */
  2504. #define WMITLV_TABLE_WMI_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMDID(id,op,buf,len) \
  2505. 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)
  2506. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMDID);
  2507. /* set ADFS channel config cmd */
  2508. #define WMITLV_TABLE_WMI_VDEV_ADFS_CH_CFG_CMDID(id,op,buf,len) \
  2509. 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)
  2510. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADFS_CH_CFG_CMDID);
  2511. /* DFS abort ADFS ocac currently in progress */
  2512. #define WMITLV_TABLE_WMI_VDEV_ADFS_OCAC_ABORT_CMDID(id,op,buf,len) \
  2513. 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)
  2514. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADFS_OCAC_ABORT_CMDID);
  2515. /* WOW Add Wake Pattern Cmd */
  2516. #define WMITLV_TABLE_WMI_WOW_ADD_WAKE_PATTERN_CMDID(id,op,buf,len) \
  2517. 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) \
  2518. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_BITMAP_PATTERN_T, pattern_info_bitmap, WMITLV_SIZE_VAR) \
  2519. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IPV4_SYNC_PATTERN_T, pattern_info_ipv4, WMITLV_SIZE_VAR)\
  2520. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IPV6_SYNC_PATTERN_T, pattern_info_ipv6, WMITLV_SIZE_VAR)\
  2521. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_MAGIC_PATTERN_CMD, pattern_info_magic_pattern, WMITLV_SIZE_VAR)\
  2522. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, pattern_info_timeout, WMITLV_SIZE_VAR) \
  2523. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ra_ratelimit_interval, WMITLV_SIZE_FIX, 1)
  2524. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_ADD_WAKE_PATTERN_CMDID);
  2525. /* IOAC add keep alive cmd. */
  2526. #define WMITLV_TABLE_WMI_WOW_IOAC_ADD_KEEPALIVE_CMDID(id,op,buf,len) \
  2527. 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) \
  2528. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_WOW_IOAC_KEEPALIVE_T, keepalive_set, WMITLV_SIZE_VAR)
  2529. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_IOAC_ADD_KEEPALIVE_CMDID);
  2530. /* IOAC del keep alive cmd. */
  2531. #define WMITLV_TABLE_WMI_WOW_IOAC_DEL_KEEPALIVE_CMDID(id,op,buf,len) \
  2532. 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)
  2533. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_IOAC_DEL_KEEPALIVE_CMDID);
  2534. /* WOW IOAC Add Wake Pattern Cmd */
  2535. #define WMITLV_TABLE_WMI_WOW_IOAC_ADD_WAKE_PATTERN_CMDID(id,op,buf,len) \
  2536. 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) \
  2537. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IOAC_PKT_PATTERN_T, pattern_info_pkt, WMITLV_SIZE_VAR) \
  2538. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IOAC_TMR_PATTERN_T, pattern_info_tmr, WMITLV_SIZE_VAR) \
  2539. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IOAC_SOCK_PATTERN_T, pattern_info_sock, WMITLV_SIZE_VAR)
  2540. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_IOAC_ADD_WAKE_PATTERN_CMDID);
  2541. /* WOW IOAC Delete Wake Pattern Cmd */
  2542. #define WMITLV_TABLE_WMI_WOW_IOAC_DEL_WAKE_PATTERN_CMDID(id,op,buf,len) \
  2543. 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)
  2544. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_IOAC_DEL_WAKE_PATTERN_CMDID);
  2545. /* extwow enable Cmd */
  2546. #define WMITLV_TABLE_WMI_EXTWOW_ENABLE_CMDID(id,op,buf,len) \
  2547. 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)
  2548. WMITLV_CREATE_PARAM_STRUC(WMI_EXTWOW_ENABLE_CMDID);
  2549. /* extwow set wakeup params cmd for app type1 */
  2550. #define WMITLV_TABLE_WMI_EXTWOW_SET_APP_TYPE1_PARAMS_CMDID(id,op,buf,len) \
  2551. 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)
  2552. WMITLV_CREATE_PARAM_STRUC(WMI_EXTWOW_SET_APP_TYPE1_PARAMS_CMDID);
  2553. /* extwow set wakeup params cmd for app type2 */
  2554. #define WMITLV_TABLE_WMI_EXTWOW_SET_APP_TYPE2_PARAMS_CMDID(id,op,buf,len) \
  2555. 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)
  2556. WMITLV_CREATE_PARAM_STRUC(WMI_EXTWOW_SET_APP_TYPE2_PARAMS_CMDID);
  2557. /* Stop scan Cmd */
  2558. #define WMITLV_TABLE_WMI_STOP_SCAN_CMDID(id,op,buf,len) \
  2559. 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)
  2560. WMITLV_CREATE_PARAM_STRUC(WMI_STOP_SCAN_CMDID);
  2561. #define WMITLV_TABLE_WMI_PDEV_SET_PARAM_CMDID(id,op,buf,len) \
  2562. 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)
  2563. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_PARAM_CMDID);
  2564. /* PDev set quiet Cmd */
  2565. #define WMITLV_TABLE_WMI_PDEV_SET_QUIET_MODE_CMDID(id,op,buf,len) \
  2566. 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)
  2567. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_QUIET_MODE_CMDID);
  2568. /* VDev set quiet Cmd */
  2569. #define WMITLV_TABLE_WMI_VDEV_SET_QUIET_MODE_CMDID(id,op,buf,len) \
  2570. 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)
  2571. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_QUIET_MODE_CMDID);
  2572. /* vdev set offload quiet Cmd */
  2573. #define WMITLV_TABLE_WMI_VDEV_BCN_OFFLOAD_QUIET_CONFIG_CMDID(id,op,buf,len) \
  2574. 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)
  2575. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_BCN_OFFLOAD_QUIET_CONFIG_CMDID);
  2576. /* Setting custom aggregation size using command */
  2577. #define WMITLV_TABLE_WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID(id,op,buf,len) \
  2578. 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)
  2579. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID);
  2580. /* Vdev create Cmd */
  2581. #define WMITLV_TABLE_WMI_VDEV_CREATE_CMDID(id,op,buf,len) \
  2582. 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) \
  2583. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_txrx_streams, cfg_txrx_streams, WMITLV_SIZE_VAR)
  2584. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_CREATE_CMDID);
  2585. /* Vdev delete Cmd */
  2586. #define WMITLV_TABLE_WMI_VDEV_DELETE_CMDID(id,op,buf,len) \
  2587. 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)
  2588. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DELETE_CMDID);
  2589. /* Vdev up Cmd */
  2590. #define WMITLV_TABLE_WMI_VDEV_UP_CMDID(id,op,buf,len) \
  2591. 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)
  2592. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_UP_CMDID);
  2593. /* Vdev stop cmd */
  2594. #define WMITLV_TABLE_WMI_VDEV_STOP_CMDID(id,op,buf,len) \
  2595. 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)
  2596. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_STOP_CMDID);
  2597. /* Vdev down Cmd */
  2598. #define WMITLV_TABLE_WMI_VDEV_DOWN_CMDID(id,op,buf,len) \
  2599. 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)
  2600. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DOWN_CMDID);
  2601. /* Vdev set param Cmd */
  2602. #define WMITLV_TABLE_WMI_VDEV_SET_PARAM_CMDID(id,op,buf,len) \
  2603. 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)
  2604. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_PARAM_CMDID);
  2605. /* Pdev suspend Cmd */
  2606. #define WMITLV_TABLE_WMI_PDEV_SUSPEND_CMDID(id,op,buf,len) \
  2607. 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)
  2608. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SUSPEND_CMDID);
  2609. /* Pdev Resume Cmd */
  2610. #define WMITLV_TABLE_WMI_PDEV_RESUME_CMDID(id,op,buf,len) \
  2611. 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)
  2612. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_RESUME_CMDID);
  2613. #define WMITLV_TABLE_WMI_SCAN_UPDATE_REQUEST_CMDID(id,op,buf,len) \
  2614. 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)
  2615. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_UPDATE_REQUEST_CMDID);
  2616. #define WMITLV_TABLE_WMI_SCAN_PROB_REQ_OUI_CMDID(id,op,buf,len) \
  2617. 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) \
  2618. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui, vendor_oui, WMITLV_SIZE_VAR)
  2619. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_PROB_REQ_OUI_CMDID);
  2620. #define WMITLV_TABLE_WMI_PDEV_CONFIG_VENDOR_OUI_ACTION_CMDID(id,op,buf,len) \
  2621. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_config_vendor_oui_action_fixed_param, \
  2622. wmi_pdev_config_vendor_oui_action_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2623. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui_ext, vendor_oui_ext, WMITLV_SIZE_VAR) \
  2624. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2625. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CONFIG_VENDOR_OUI_ACTION_CMDID);
  2626. #define WMITLV_TABLE_WMI_CHATTER_ADD_COALESCING_FILTER_CMDID(id,op,buf,len) \
  2627. 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) \
  2628. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, chatter_pkt_coalescing_filter, coalescing_filter, WMITLV_SIZE_VAR)
  2629. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_ADD_COALESCING_FILTER_CMDID);
  2630. #define WMITLV_TABLE_WMI_CHATTER_DELETE_COALESCING_FILTER_CMDID(id,op,buf,len) \
  2631. 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) \
  2632. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_DELETE_COALESCING_FILTER_CMDID);
  2633. #define WMITLV_TABLE_WMI_CHATTER_COALESCING_QUERY_CMDID(id,op,buf,len) \
  2634. 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) \
  2635. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_COALESCING_QUERY_CMDID);
  2636. #define WMITLV_TABLE_WMI_TXBF_CMDID(id,op,buf,len) \
  2637. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_STRUC_wmi_txbf_cmd_fixed_param, wmi_txbf_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2638. WMITLV_CREATE_PARAM_STRUC(WMI_TXBF_CMDID);
  2639. #define WMITLV_TABLE_WMI_DBGLOG_CFG_CMDID(id,op,buf,len) \
  2640. 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) \
  2641. WMITLV_FXAR(id,op,buf,len,WMITLV_TAG_ARRAY_UINT32, A_UINT32, module_id_bitmap, WMITLV_SIZE_FIX, MAX_MODULE_ID_BITMAP_WORDS) \
  2642. WMITLV_CREATE_PARAM_STRUC(WMI_DBGLOG_CFG_CMDID);
  2643. #define WMITLV_TABLE_WMI_VDEV_WMM_ADDTS_CMDID(id,op,buf,len) \
  2644. 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)
  2645. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_WMM_ADDTS_CMDID);
  2646. #define WMITLV_TABLE_WMI_VDEV_WMM_DELTS_CMDID(id,op,buf,len) \
  2647. 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)
  2648. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_WMM_DELTS_CMDID);
  2649. #define WMITLV_TABLE_WMI_VDEV_SET_WMM_PARAMS_CMDID(id,op,buf,len) \
  2650. 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)
  2651. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_WMM_PARAMS_CMDID);
  2652. #define WMITLV_TABLE_WMI_VDEV_SET_GTX_PARAMS_CMDID(id,op,buf,len) \
  2653. 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)
  2654. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_GTX_PARAMS_CMDID);
  2655. /* TDLS Enable/Disable Cmd */
  2656. #define WMITLV_TABLE_WMI_TDLS_SET_STATE_CMDID(id,op,buf,len) \
  2657. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tdls_set_state_cmd_fixed_param, \
  2658. wmi_tdls_set_state_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2659. WMITLV_CREATE_PARAM_STRUC(WMI_TDLS_SET_STATE_CMDID);
  2660. /* TDLS Peer Update Cmd */
  2661. #define WMITLV_TABLE_WMI_TDLS_PEER_UPDATE_CMDID(id,op,buf,len) \
  2662. 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) \
  2663. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tdls_peer_capabilities, wmi_tdls_peer_capabilities, peer_caps, WMITLV_SIZE_FIX) \
  2664. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, peer_chan_list, WMITLV_SIZE_VAR)
  2665. WMITLV_CREATE_PARAM_STRUC(WMI_TDLS_PEER_UPDATE_CMDID);
  2666. /* Enable/Disable TDLS Offchannel Cmd */
  2667. #define WMITLV_TABLE_WMI_TDLS_SET_OFFCHAN_MODE_CMDID(id,op,buf,len) \
  2668. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tdls_set_offchan_mode_cmd_fixed_param, \
  2669. wmi_tdls_set_offchan_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2670. WMITLV_CREATE_PARAM_STRUC(WMI_TDLS_SET_OFFCHAN_MODE_CMDID);
  2671. /* Resmgr Enable/Disable Adaptive OCS CMD */
  2672. #define WMITLV_TABLE_WMI_RESMGR_ADAPTIVE_OCS_ENABLE_DISABLE_CMDID(id,op,buf,len) \
  2673. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_resmgr_adaptive_ocs_enable_disable_cmd_fixed_param, \
  2674. wmi_resmgr_adaptive_ocs_enable_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2675. WMITLV_CREATE_PARAM_STRUC(WMI_RESMGR_ADAPTIVE_OCS_ENABLE_DISABLE_CMDID);
  2676. /* Resmgr Set Channel Time Quota CMD */
  2677. #define WMITLV_TABLE_WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID(id,op,buf,len) \
  2678. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_resmgr_set_chan_time_quota_cmd_fixed_param, \
  2679. wmi_resmgr_set_chan_time_quota_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2680. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2681. WMITLV_CREATE_PARAM_STRUC(WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID);
  2682. /* Resmgr Set Channel Latency CMD */
  2683. #define WMITLV_TABLE_WMI_RESMGR_SET_CHAN_LATENCY_CMDID(id,op,buf,len) \
  2684. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_resmgr_set_chan_latency_cmd_fixed_param, \
  2685. wmi_resmgr_set_chan_latency_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2686. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2687. WMITLV_CREATE_PARAM_STRUC(WMI_RESMGR_SET_CHAN_LATENCY_CMDID);
  2688. /* STA SMPS Force Mode CMD */
  2689. #define WMITLV_TABLE_WMI_STA_SMPS_FORCE_MODE_CMDID(id,op,buf,len) \
  2690. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sta_smps_force_mode_cmd_fixed_param, \
  2691. wmi_sta_smps_force_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2692. WMITLV_CREATE_PARAM_STRUC(WMI_STA_SMPS_FORCE_MODE_CMDID);
  2693. /* wlan hb enable/disable CMD */
  2694. #define WMITLV_TABLE_WMI_HB_SET_ENABLE_CMDID(id,op,buf,len) \
  2695. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_enable_cmd_fixed_param, \
  2696. wmi_hb_set_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2697. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_ENABLE_CMDID);
  2698. /* wlan hb set tcp params CMD */
  2699. #define WMITLV_TABLE_WMI_HB_SET_TCP_PARAMS_CMDID(id,op,buf,len) \
  2700. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_tcp_params_cmd_fixed_param, \
  2701. wmi_hb_set_tcp_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2702. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_TCP_PARAMS_CMDID);
  2703. /* wlan hb set tcp pkt filter CMD */
  2704. #define WMITLV_TABLE_WMI_HB_SET_TCP_PKT_FILTER_CMDID(id,op,buf,len) \
  2705. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_tcp_pkt_filter_cmd_fixed_param, \
  2706. wmi_hb_set_tcp_pkt_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2707. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_TCP_PKT_FILTER_CMDID);
  2708. /* wlan set udp params CMD */
  2709. #define WMITLV_TABLE_WMI_HB_SET_UDP_PARAMS_CMDID(id,op,buf,len) \
  2710. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_udp_params_cmd_fixed_param, \
  2711. wmi_hb_set_udp_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2712. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_UDP_PARAMS_CMDID);
  2713. /* wlan hb set udp pkt filter CMD */
  2714. #define WMITLV_TABLE_WMI_HB_SET_UDP_PKT_FILTER_CMDID(id,op,buf,len) \
  2715. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_udp_pkt_filter_cmd_fixed_param, \
  2716. wmi_hb_set_udp_pkt_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2717. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_UDP_PKT_FILTER_CMDID);
  2718. /* STA SMPS Param CMD */
  2719. #define WMITLV_TABLE_WMI_STA_SMPS_PARAM_CMDID(id,op,buf,len) \
  2720. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sta_smps_param_cmd_fixed_param, \
  2721. wmi_sta_smps_param_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2722. WMITLV_CREATE_PARAM_STRUC(WMI_STA_SMPS_PARAM_CMDID);
  2723. /* MCC Adaptive Scheduler Traffic Stats */
  2724. #define WMITLV_TABLE_WMI_MCC_SCHED_TRAFFIC_STATS_CMDID(id,op,buf,len) \
  2725. 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) \
  2726. 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)
  2727. WMITLV_CREATE_PARAM_STRUC(WMI_MCC_SCHED_TRAFFIC_STATS_CMDID);
  2728. #define WMITLV_TABLE_WMI_BATCH_SCAN_ENABLE_CMDID(id,op,buf,len) \
  2729. 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)
  2730. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_ENABLE_CMDID);
  2731. #define WMITLV_TABLE_WMI_PEER_INFO_REQ_CMDID(id,op,buf,len) \
  2732. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_info_req_cmd_fixed_param, \
  2733. wmi_peer_info_req_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2734. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_INFO_REQ_CMDID);
  2735. #define WMITLV_TABLE_WMI_PEER_ANTDIV_INFO_REQ_CMDID(id,op,buf,len) \
  2736. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_antdiv_info_req_cmd_fixed_param, \
  2737. wmi_peer_antdiv_info_req_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2738. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ANTDIV_INFO_REQ_CMDID);
  2739. #define WMITLV_TABLE_WMI_RMC_SET_MODE_CMDID(id,op,buf,len) \
  2740. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rmc_set_mode_cmd_fixed_param, \
  2741. wmi_rmc_set_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2742. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_SET_MODE_CMDID);
  2743. #define WMITLV_TABLE_WMI_RMC_SET_ACTION_PERIOD_CMDID(id,op,buf,len) \
  2744. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rmc_set_action_period_cmd_fixed_param, \
  2745. wmi_rmc_set_action_period_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2746. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_SET_ACTION_PERIOD_CMDID);
  2747. #define WMITLV_TABLE_WMI_RMC_CONFIG_CMDID(id,op,buf,len) \
  2748. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rmc_config_cmd_fixed_param, \
  2749. wmi_rmc_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2750. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_CONFIG_CMDID);
  2751. #define WMITLV_TABLE_WMI_MHF_OFFLOAD_SET_MODE_CMDID(id,op,buf,len) \
  2752. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mhf_offload_set_mode_cmd_fixed_param, \
  2753. wmi_mhf_offload_set_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2754. WMITLV_CREATE_PARAM_STRUC(WMI_MHF_OFFLOAD_SET_MODE_CMDID);
  2755. #define WMITLV_TABLE_WMI_MHF_OFFLOAD_PLUMB_ROUTING_TBL_CMDID(id,op,buf,len) \
  2756. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mhf_offload_plumb_routing_table_cmd_fixed_param, \
  2757. wmi_mhf_offload_plumb_routing_table_cmd, fixed_param, WMITLV_SIZE_FIX) \
  2758. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mhf_offload_routing_table_entry, \
  2759. routing_tbl_entries, WMITLV_SIZE_VAR)
  2760. WMITLV_CREATE_PARAM_STRUC(WMI_MHF_OFFLOAD_PLUMB_ROUTING_TBL_CMDID);
  2761. #define WMITLV_TABLE_WMI_BATCH_SCAN_DISABLE_CMDID(id,op,buf,len) \
  2762. 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)
  2763. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_DISABLE_CMDID);
  2764. #define WMITLV_TABLE_WMI_BATCH_SCAN_TRIGGER_RESULT_CMDID(id,op,buf,len) \
  2765. 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)
  2766. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_TRIGGER_RESULT_CMDID);
  2767. /* LPI mgmt snooping config Cmd */
  2768. #define WMITLV_TABLE_WMI_LPI_MGMT_SNOOPING_CONFIG_CMDID(id,op,buf,len) \
  2769. 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)
  2770. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_MGMT_SNOOPING_CONFIG_CMDID);
  2771. /* LPI start scan Cmd */
  2772. #define WMITLV_TABLE_WMI_LPI_START_SCAN_CMDID(id,op,buf,len) \
  2773. 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) \
  2774. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR) \
  2775. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_ssid, ssid_list, WMITLV_SIZE_VAR) \
  2776. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_list, WMITLV_SIZE_VAR) \
  2777. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)
  2778. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_START_SCAN_CMDID);
  2779. /* LPI stop scan Cmd */
  2780. #define WMITLV_TABLE_WMI_LPI_STOP_SCAN_CMDID(id,op,buf,len) \
  2781. 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)
  2782. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_STOP_SCAN_CMDID);
  2783. /* Request for roam stats Cmd */
  2784. #define WMITLV_TABLE_WMI_REQUEST_ROAM_SCAN_STATS_CMDID(id,op,buf,len) \
  2785. 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)
  2786. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_ROAM_SCAN_STATS_CMDID);
  2787. /* BSS load parameters for roam trigger */
  2788. #define WMITLV_TABLE_WMI_ROAM_BSS_LOAD_CONFIG_CMDID(id,op,buf,len) \
  2789. 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)
  2790. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_BSS_LOAD_CONFIG_CMDID);
  2791. /* Deauth roam trigger parameters */
  2792. #define WMITLV_TABLE_WMI_ROAM_DEAUTH_CONFIG_CMDID(id,op,buf,len) \
  2793. 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)
  2794. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_DEAUTH_CONFIG_CMDID);
  2795. /* Idle roam trigger parameters */
  2796. #define WMITLV_TABLE_WMI_ROAM_IDLE_CONFIG_CMDID(id,op,buf,len) \
  2797. 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)
  2798. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_IDLE_CONFIG_CMDID);
  2799. /* Roam Pre-Authentication completion status */
  2800. #define WMITLV_TABLE_WMI_ROAM_PREAUTH_STATUS_CMDID(id,op,buf,len) \
  2801. 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) \
  2802. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pmkid, WMITLV_SIZE_VAR) \
  2803. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pmk, WMITLV_SIZE_VAR)
  2804. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_PREAUTH_STATUS_CMDID);
  2805. /** Roam PMKID request event */
  2806. #define WMITLV_TABLE_WMI_ROAM_PMKID_REQUEST_EVENTID(id,op,buf,len) \
  2807. 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) \
  2808. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_pmkid_request_tlv_param, pmkid_request, WMITLV_SIZE_VAR)
  2809. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_PMKID_REQUEST_EVENTID);
  2810. /* Screen Status Command parameters */
  2811. #define WMITLV_TABLE_WMI_IDLE_TRIGGER_MONITOR_CMDID(id,op,buf,len) \
  2812. 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)
  2813. WMITLV_CREATE_PARAM_STRUC(WMI_IDLE_TRIGGER_MONITOR_CMDID);
  2814. /* Enable or disable roaming trigger reason */
  2815. #define WMITLV_TABLE_WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID(id,op,buf,len) \
  2816. 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)
  2817. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID);
  2818. /* DSM filter parameters */
  2819. #define WMITLV_TABLE_WMI_PDEV_DSM_FILTER_CMDID(id,op,buf,len) \
  2820. 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) \
  2821. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_bssid_disallow_list_config_param, bssid_disallow_list, WMITLV_SIZE_VAR)
  2822. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DSM_FILTER_CMDID);
  2823. #define WMITLV_TABLE_WMI_ROAM_BLACKLIST_EVENTID(id,op,buf,len) \
  2824. 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) \
  2825. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_blacklist_with_timeout_tlv_param, blacklist_with_timeout, WMITLV_SIZE_VAR)
  2826. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_BLACKLIST_EVENTID);
  2827. /* Roam Pre-Authentication Start Event */
  2828. #define WMITLV_TABLE_WMI_ROAM_PREAUTH_START_EVENTID(id,op,buf,len) \
  2829. 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)
  2830. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_PREAUTH_START_EVENTID);
  2831. #define WMITLV_TABLE_WMI_LPI_RESULT_EVENTID(id,op,buf,len) \
  2832. 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) \
  2833. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2834. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_RESULT_EVENTID);
  2835. /* LPI Status Event */
  2836. #define WMITLV_TABLE_WMI_LPI_STATUS_EVENTID(id,op,buf,len) \
  2837. 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)
  2838. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_STATUS_EVENTID);
  2839. /* LPI Handoff Event */
  2840. #define WMITLV_TABLE_WMI_LPI_HANDOFF_EVENTID(id,op,buf,len) \
  2841. 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)
  2842. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_HANDOFF_EVENTID);
  2843. /* Thermal Manager Params*/
  2844. #define WMITLV_TABLE_WMI_THERMAL_MGMT_CMDID(id,op,buf,len) \
  2845. 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)
  2846. WMITLV_CREATE_PARAM_STRUC(WMI_THERMAL_MGMT_CMDID);
  2847. #define WMITLV_TABLE_WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMDID(id,op,buf,len) \
  2848. 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)\
  2849. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pattern, WMITLV_SIZE_VAR)
  2850. WMITLV_CREATE_PARAM_STRUC(WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMDID);
  2851. #define WMITLV_TABLE_WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMDID(id,op,buf,len) \
  2852. 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)
  2853. WMITLV_CREATE_PARAM_STRUC(WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMDID);
  2854. /* NaN Request */
  2855. #define WMITLV_TABLE_WMI_NAN_CMDID(id,op,buf,len) \
  2856. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nan_cmd_param, wmi_nan_cmd_param, fixed_param, WMITLV_SIZE_FIX) \
  2857. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  2858. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_nan_host_config_param, host_config, WMITLV_SIZE_VAR)
  2859. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_CMDID);
  2860. /* NAN Data Get Capabilities Cmd */
  2861. #define WMITLV_TABLE_WMI_NDI_GET_CAP_REQ_CMDID(id,op,buf,len) \
  2862. 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)
  2863. WMITLV_CREATE_PARAM_STRUC(WMI_NDI_GET_CAP_REQ_CMDID);
  2864. /** NAN Data Initiator Request Cmd
  2865. *
  2866. * TLV (tag length value ) parameters follow the ndp_initiator_req
  2867. * structure. The TLV's are:
  2868. * wmi_channel channel;
  2869. * A_UINT8 ndp_cfg[];
  2870. * A_UINT8 ndp_app_info[];
  2871. * A_UINT8 ndp_pmk[];
  2872. * A_INT8 ndp_passphrase[];
  2873. * A_INT8 nan_servicename[];
  2874. * wmi_ndp_transport_ip_param ndp_transport_ip_param;
  2875. */
  2876. #define WMITLV_TABLE_WMI_NDP_INITIATOR_REQ_CMDID(id,op,buf,len) \
  2877. 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) \
  2878. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, channel, WMITLV_SIZE_FIX) \
  2879. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_cfg, WMITLV_SIZE_VAR) \
  2880. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_app_info, WMITLV_SIZE_VAR) \
  2881. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_pmk, WMITLV_SIZE_VAR) \
  2882. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, ndp_passphrase, WMITLV_SIZE_VAR) \
  2883. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, nan_servicename, WMITLV_SIZE_VAR) \
  2884. 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)
  2885. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_INITIATOR_REQ_CMDID);
  2886. /** NAN Data Responder Request Cmd
  2887. * TLV (tag length value ) parameters follow the ndp_responder_req
  2888. * structure. The TLV's are:
  2889. * A_UINT8 ndp_cfg[];
  2890. * A_UINT8 ndp_app_info[];
  2891. * A_UINT8 ndp_pmk[];
  2892. * A_INT8 ndp_passphrase[];
  2893. * A_INT8 nan_servicename[];
  2894. * wmi_ndp_transport_ip_param ndp_transport_ip_param;
  2895. */
  2896. #define WMITLV_TABLE_WMI_NDP_RESPONDER_REQ_CMDID(id,op,buf,len) \
  2897. 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) \
  2898. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_cfg, WMITLV_SIZE_VAR) \
  2899. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_app_info, WMITLV_SIZE_VAR) \
  2900. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_pmk, WMITLV_SIZE_VAR) \
  2901. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, ndp_passphrase, WMITLV_SIZE_VAR) \
  2902. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, nan_servicename, WMITLV_SIZE_VAR) \
  2903. 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)
  2904. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_RESPONDER_REQ_CMDID);
  2905. /** NAN Data End Request Cmd
  2906. *
  2907. * TLV (tag length value ) parameters follow the ndp_end_req
  2908. * structure. The TLV's are:
  2909. * wmi_ndp_end_req wmi_ndp_end_req_list[];
  2910. */
  2911. #define WMITLV_TABLE_WMI_NDP_END_REQ_CMDID(id,op,buf,len) \
  2912. 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) \
  2913. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ndp_end_req_PROTOTYPE, ndp_end_req_list, WMITLV_SIZE_VAR)
  2914. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_END_REQ_CMDID);
  2915. /* NDP Request */
  2916. #define WMITLV_TABLE_WMI_NDP_CMDID(id,op,buf,len) \
  2917. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_cmd_param, wmi_ndp_cmd_param, fixed_param, WMITLV_SIZE_FIX)
  2918. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_CMDID);
  2919. /* RCPI Info Request Cmd */
  2920. #define WMITLV_TABLE_WMI_REQUEST_RCPI_CMDID(id,op,buf,len) \
  2921. 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)
  2922. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_RCPI_CMDID);
  2923. /* Modem power state cmd */
  2924. #define WMITLV_TABLE_WMI_MODEM_POWER_STATE_CMDID(id,op,buf,len) \
  2925. 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)
  2926. WMITLV_CREATE_PARAM_STRUC(WMI_MODEM_POWER_STATE_CMDID);
  2927. /* SAR limit update cmd */
  2928. #define WMITLV_TABLE_WMI_SAR_LIMITS_CMDID(id,op,buf,len) \
  2929. 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) \
  2930. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_sar_limit_cmd_row, sar_limits, WMITLV_SIZE_VAR)
  2931. WMITLV_CREATE_PARAM_STRUC(WMI_SAR_LIMITS_CMDID);
  2932. /* SAR limit request cmd */
  2933. #define WMITLV_TABLE_WMI_SAR_GET_LIMITS_CMDID(id,op,buf,len) \
  2934. 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)
  2935. WMITLV_CREATE_PARAM_STRUC(WMI_SAR_GET_LIMITS_CMDID);
  2936. #define WMITLV_TABLE_WMI_SAR2_RESULT_EVENTID(id,op,buf,len) \
  2937. 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)
  2938. WMITLV_CREATE_PARAM_STRUC(WMI_SAR2_RESULT_EVENTID);
  2939. /* get estimated link speed cmd */
  2940. #define WMITLV_TABLE_WMI_PEER_GET_ESTIMATED_LINKSPEED_CMDID(id,op,buf,len) \
  2941. 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)
  2942. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_GET_ESTIMATED_LINKSPEED_CMDID);
  2943. /* ext stats Request */
  2944. #define WMITLV_TABLE_WMI_REQUEST_STATS_EXT_CMDID(id,op,buf,len) \
  2945. 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) \
  2946. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2947. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_STATS_EXT_CMDID);
  2948. /* 2.4Ghz HT40 OBSS scan enable */
  2949. #define WMITLV_TABLE_WMI_OBSS_SCAN_ENABLE_CMDID(id,op,buf,len) \
  2950. 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) \
  2951. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, channels, WMITLV_SIZE_VAR) \
  2952. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_field, WMITLV_SIZE_VAR) \
  2953. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, chan_freqs, WMITLV_SIZE_VAR)
  2954. WMITLV_CREATE_PARAM_STRUC(WMI_OBSS_SCAN_ENABLE_CMDID);
  2955. /* 2.4Ghz HT40 OBSS scan disable */
  2956. #define WMITLV_TABLE_WMI_OBSS_SCAN_DISABLE_CMDID(id,op,buf,len) \
  2957. 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)
  2958. WMITLV_CREATE_PARAM_STRUC(WMI_OBSS_SCAN_DISABLE_CMDID);
  2959. /* Pdev Set LED Config Cmd */
  2960. #define WMITLV_TABLE_WMI_PDEV_SET_LED_CONFIG_CMDID(id,op,buf,len) \
  2961. 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)
  2962. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_LED_CONFIG_CMDID);
  2963. /* host auto shut down config cmd */
  2964. #define WMITLV_TABLE_WMI_HOST_AUTO_SHUTDOWN_CFG_CMDID(id,op,buf,len) \
  2965. 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)
  2966. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_AUTO_SHUTDOWN_CFG_CMDID);
  2967. /* tpc chainmask config cmd */
  2968. #define WMITLV_TABLE_WMI_TPC_CHAINMASK_CONFIG_CMDID(id,op,buf,len) \
  2969. 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) \
  2970. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tpc_chainmask_config, config_list, WMITLV_SIZE_VAR)
  2971. WMITLV_CREATE_PARAM_STRUC(WMI_TPC_CHAINMASK_CONFIG_CMDID);
  2972. /* Ch avoidance update cmd */
  2973. #define WMITLV_TABLE_WMI_CHAN_AVOID_UPDATE_CMDID(id,op,buf,len) \
  2974. 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)
  2975. WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_AVOID_UPDATE_CMDID);
  2976. /* Ch avoidance report allow/disallow cmd*/
  2977. #define WMITLV_TABLE_WMI_CHAN_AVOID_RPT_ALLOW_CMDID(id,op,buf,len) \
  2978. 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)
  2979. WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_AVOID_RPT_ALLOW_CMDID);
  2980. /* D0-WOW Enable Disable Cmd */
  2981. #define WMITLV_TABLE_WMI_D0_WOW_ENABLE_DISABLE_CMDID(id,op,buf,len) \
  2982. 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)
  2983. WMITLV_CREATE_PARAM_STRUC(WMI_D0_WOW_ENABLE_DISABLE_CMDID);
  2984. /* Pdev get chip temperature Cmd */
  2985. #define WMITLV_TABLE_WMI_PDEV_GET_TEMPERATURE_CMDID(id,op,buf,len) \
  2986. 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)
  2987. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TEMPERATURE_CMDID);
  2988. /* Pdev get ANT DIV feature status Cmd */
  2989. #define WMITLV_TABLE_WMI_PDEV_GET_ANTDIV_STATUS_CMDID(id,op,buf,len) \
  2990. 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)
  2991. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_ANTDIV_STATUS_CMDID);
  2992. /* DISA feature : vdev encrypt decrypt request */
  2993. #define WMITLV_TABLE_WMI_VDEV_ENCRYPT_DECRYPT_DATA_REQ_CMDID(id,op,buf,len) \
  2994. 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) \
  2995. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2996. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ENCRYPT_DECRYPT_DATA_REQ_CMDID);
  2997. /* Set antenna diversity Cmd */
  2998. #define WMITLV_TABLE_WMI_SET_ANTENNA_DIVERSITY_CMDID(id,op,buf,len) \
  2999. 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)
  3000. WMITLV_CREATE_PARAM_STRUC(WMI_SET_ANTENNA_DIVERSITY_CMDID);
  3001. /* Set rssi monitoring config Cmd */
  3002. #define WMITLV_TABLE_WMI_RSSI_BREACH_MONITOR_CONFIG_CMDID(id,op,buf,len) \
  3003. 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)
  3004. WMITLV_CREATE_PARAM_STRUC(WMI_RSSI_BREACH_MONITOR_CONFIG_CMDID);
  3005. /* DHCP server offload param Cmd */
  3006. #define WMITLV_TABLE_WMI_SET_DHCP_SERVER_OFFLOAD_CMDID(id,op,buf,len) \
  3007. 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)
  3008. WMITLV_CREATE_PARAM_STRUC(WMI_SET_DHCP_SERVER_OFFLOAD_CMDID);
  3009. /* IPA Offload Enable Disable Cmd */
  3010. #define WMITLV_TABLE_WMI_IPA_OFFLOAD_ENABLE_DISABLE_CMDID(id,op,buf,len) \
  3011. 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)
  3012. WMITLV_CREATE_PARAM_STRUC(WMI_IPA_OFFLOAD_ENABLE_DISABLE_CMDID);
  3013. /* Set LED flashing parameter Cmd */
  3014. #define WMITLV_TABLE_WMI_PDEV_SET_LED_FLASHING_CMDID(id,op,buf,len) \
  3015. 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)
  3016. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_LED_FLASHING_CMDID);
  3017. /* mDNS responder offload param Cmd */
  3018. #define WMITLV_TABLE_WMI_MDNS_OFFLOAD_ENABLE_CMDID(id,op,buf,len) \
  3019. 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)
  3020. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_OFFLOAD_ENABLE_CMDID);
  3021. #define WMITLV_TABLE_WMI_MDNS_SET_FQDN_CMDID(id,op,buf,len) \
  3022. 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) \
  3023. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, fqdn_data, WMITLV_SIZE_VAR)
  3024. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_SET_FQDN_CMDID);
  3025. #define WMITLV_TABLE_WMI_MDNS_SET_RESPONSE_CMDID(id,op,buf,len) \
  3026. 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) \
  3027. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, resp_data, WMITLV_SIZE_VAR)
  3028. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_SET_RESPONSE_CMDID);
  3029. #define WMITLV_TABLE_WMI_MDNS_GET_STATS_CMDID(id,op,buf,len) \
  3030. 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)
  3031. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_GET_STATS_CMDID);
  3032. #define WMITLV_TABLE_WMI_MDNS_SET_STAIP_CMDID(id,op,buf,len) \
  3033. 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)
  3034. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_SET_STAIP_CMDID);
  3035. /* roam invoke Cmd */
  3036. #define WMITLV_TABLE_WMI_ROAM_INVOKE_CMDID(id,op,buf,len) \
  3037. 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) \
  3038. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR) \
  3039. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_list, WMITLV_SIZE_VAR) \
  3040. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_tlv_buf_len_param, bcn_prb_buf_list, WMITLV_SIZE_VAR) \
  3041. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bcn_prb_frm, WMITLV_SIZE_VAR)
  3042. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_INVOKE_CMDID);
  3043. /* SAP Authentication offload param Cmd */
  3044. #define WMITLV_TABLE_WMI_SAP_OFL_ENABLE_CMDID(id,op,buf,len) \
  3045. 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) \
  3046. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, psk, WMITLV_SIZE_VAR)
  3047. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OFL_ENABLE_CMDID);
  3048. /* SAP set blacklist param cmd */
  3049. #define WMITLV_TABLE_WMI_SAP_SET_BLACKLIST_PARAM_CMDID(id,op,buf,len) \
  3050. 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)
  3051. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_SET_BLACKLIST_PARAM_CMDID);
  3052. /* SAP OBSS detection offload param Cmd */
  3053. #define WMITLV_TABLE_WMI_SAP_OBSS_DETECTION_CFG_CMDID(id,op,buf,len) \
  3054. 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)
  3055. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OBSS_DETECTION_CFG_CMDID);
  3056. /* STA BSS Color change offload param Cmd */
  3057. #define WMITLV_TABLE_WMI_BSS_COLOR_CHANGE_ENABLE_CMDID(id,op,buf,len) \
  3058. 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)
  3059. WMITLV_CREATE_PARAM_STRUC(WMI_BSS_COLOR_CHANGE_ENABLE_CMDID);
  3060. /* OBSS Color collision detection config cmd */
  3061. #define WMITLV_TABLE_WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID(id,op,buf,len) \
  3062. 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)
  3063. WMITLV_CREATE_PARAM_STRUC(WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID);
  3064. /* APFIND Request */
  3065. #define WMITLV_TABLE_WMI_APFIND_CMDID(id,op,buf,len) \
  3066. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_apfind_cmd_param, wmi_apfind_cmd_param, fixed_param, WMITLV_SIZE_FIX) \
  3067. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3068. WMITLV_CREATE_PARAM_STRUC(WMI_APFIND_CMDID);
  3069. /* Set OCB schedule cmd, DEPRECATED */
  3070. #define WMITLV_TABLE_WMI_OCB_SET_SCHED_CMDID(id,op,buf,len) \
  3071. 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)
  3072. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_SCHED_CMDID);
  3073. /* Set OCB configuration cmd */
  3074. #define WMITLV_TABLE_WMI_OCB_SET_CONFIG_CMDID(id,op,buf,len) \
  3075. 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) \
  3076. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, chan_list, WMITLV_SIZE_VAR) \
  3077. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ocb_channel, ocb_chan_list, WMITLV_SIZE_VAR) \
  3078. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_qos_parameter, qos_parameter_list, WMITLV_SIZE_VAR) \
  3079. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_chan, chan_cfg, WMITLV_SIZE_VAR) \
  3080. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_active_state_config, ndl_active_state_config_list, WMITLV_SIZE_VAR) \
  3081. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ocb_schedule_element, schedule_list, WMITLV_SIZE_VAR)
  3082. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_CONFIG_CMDID);
  3083. /* Set UTC time cmd */
  3084. #define WMITLV_TABLE_WMI_OCB_SET_UTC_TIME_CMDID(id,op,buf,len) \
  3085. 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)
  3086. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_UTC_TIME_CMDID);
  3087. /* Start timing advertisement cmd */
  3088. #define WMITLV_TABLE_WMI_OCB_START_TIMING_ADVERT_CMDID(id,op,buf,len) \
  3089. 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) \
  3090. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  3091. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_START_TIMING_ADVERT_CMDID);
  3092. /* Stop timing advertisement cmd */
  3093. #define WMITLV_TABLE_WMI_OCB_STOP_TIMING_ADVERT_CMDID(id,op,buf,len) \
  3094. 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)
  3095. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_STOP_TIMING_ADVERT_CMDID);
  3096. /* Get TSF timer cmd */
  3097. #define WMITLV_TABLE_WMI_OCB_GET_TSF_TIMER_CMDID(id,op,buf,len) \
  3098. 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)
  3099. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_GET_TSF_TIMER_CMDID);
  3100. /* Get DCC stats cmd */
  3101. #define WMITLV_TABLE_WMI_DCC_GET_STATS_CMDID(id,op,buf,len) \
  3102. 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) \
  3103. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_channel_stats_request, channel_stats_request, WMITLV_SIZE_VAR)
  3104. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_GET_STATS_CMDID);
  3105. /* Clear DCC stats cmd */
  3106. #define WMITLV_TABLE_WMI_DCC_CLEAR_STATS_CMDID(id,op,buf,len) \
  3107. 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)
  3108. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_CLEAR_STATS_CMDID);
  3109. /* Update DCC NDL cmd */
  3110. #define WMITLV_TABLE_WMI_DCC_UPDATE_NDL_CMDID(id,op,buf,len) \
  3111. 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) \
  3112. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_chan, chan_ndl_list, WMITLV_SIZE_VAR) \
  3113. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_active_state_config, ndl_active_state_config_list, WMITLV_SIZE_VAR)
  3114. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_UPDATE_NDL_CMDID);
  3115. /* Roam filter cmd */
  3116. #define WMITLV_TABLE_WMI_ROAM_FILTER_CMDID(id,op,buf,len) \
  3117. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_filter_fixed_param, wmi_roam_filter_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3118. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_black_list, WMITLV_SIZE_VAR) \
  3119. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_ssid, ssid_white_list, WMITLV_SIZE_VAR) \
  3120. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_preferred_list, WMITLV_SIZE_VAR) \
  3121. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, bssid_preferred_factor, WMITLV_SIZE_VAR) \
  3122. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_lca_disallow_config_tlv_param, lca_disallow_param, WMITLV_SIZE_VAR) \
  3123. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_rejection_list_config_param, rssi_rejection_list, WMITLV_SIZE_VAR)
  3124. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_FILTER_CMDID);
  3125. /* TSF timestamp action cmd */
  3126. #define WMITLV_TABLE_WMI_VDEV_TSF_TSTAMP_ACTION_CMDID(id,op,buf,len) \
  3127. 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)
  3128. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_TSF_TSTAMP_ACTION_CMDID);
  3129. /* LFR subnet change config Cmd */
  3130. #define WMITLV_TABLE_WMI_ROAM_SUBNET_CHANGE_CONFIG_CMDID(id,op,buf,len) \
  3131. 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) \
  3132. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, skip_subnet_change_detection_bssid_list, WMITLV_SIZE_VAR)
  3133. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SUBNET_CHANGE_CONFIG_CMDID);
  3134. /* Set the SOC Preferred Channel List (PCL) Cmd - DEPRECATED */
  3135. #define WMITLV_TABLE_WMI_SOC_SET_PCL_CMDID(id,op,buf,len) \
  3136. 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) \
  3137. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR)
  3138. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_PCL_CMDID);
  3139. /* Set the PDEV Preferred Channel List (PCL) Cmd */
  3140. #define WMITLV_TABLE_WMI_PDEV_SET_PCL_CMDID(id,op,buf,len) \
  3141. 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) \
  3142. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_weight, WMITLV_SIZE_VAR)
  3143. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_PCL_CMDID);
  3144. /* Set the SOC Hardware Mode Cmd - DEPRECATED */
  3145. #define WMITLV_TABLE_WMI_SOC_SET_HW_MODE_CMDID(id,op,buf,len) \
  3146. 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)
  3147. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_HW_MODE_CMDID);
  3148. /* Set the PDEV Hardware Mode Cmd */
  3149. #define WMITLV_TABLE_WMI_PDEV_SET_HW_MODE_CMDID(id,op,buf,len) \
  3150. 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)
  3151. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_HW_MODE_CMDID);
  3152. /* Set the SOC Dual MAC Config Cmd - DEPRECATED */
  3153. #define WMITLV_TABLE_WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID(id,op,buf,len) \
  3154. 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)
  3155. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID);
  3156. /* Set the PDEV MAC Config Cmd */
  3157. #define WMITLV_TABLE_WMI_PDEV_SET_MAC_CONFIG_CMDID(id,op,buf,len) \
  3158. 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)
  3159. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_MAC_CONFIG_CMDID);
  3160. /* Set the SOC Antenna Mode Cmd - DEPRECATED */
  3161. #define WMITLV_TABLE_WMI_SOC_SET_ANTENNA_MODE_CMDID(id,op,buf,len) \
  3162. 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)
  3163. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_ANTENNA_MODE_CMDID);
  3164. /* Set the PDEV Antenna Mode Cmd */
  3165. #define WMITLV_TABLE_WMI_PDEV_SET_ANTENNA_MODE_CMDID(id,op,buf,len) \
  3166. 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)
  3167. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_ANTENNA_MODE_CMDID);
  3168. #define WMITLV_TABLE_WMI_LRO_CONFIG_CMDID(id,op,buf,len) \
  3169. 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)
  3170. WMITLV_CREATE_PARAM_STRUC(WMI_LRO_CONFIG_CMDID);
  3171. #define WMITLV_TABLE_WMI_TRANSFER_DATA_TO_FLASH_CMDID(id,op,buf,len) \
  3172. 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) \
  3173. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3174. WMITLV_CREATE_PARAM_STRUC(WMI_TRANSFER_DATA_TO_FLASH_CMDID);
  3175. #define WMITLV_TABLE_WMI_READ_DATA_FROM_FLASH_CMDID(id,op,buf,len) \
  3176. 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)
  3177. WMITLV_CREATE_PARAM_STRUC(WMI_READ_DATA_FROM_FLASH_CMDID);
  3178. #define WMITLV_TABLE_WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID(id,op,buf,len) \
  3179. 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)
  3180. WMITLV_CREATE_PARAM_STRUC(WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID);
  3181. #define WMITLV_TABLE_WMI_VDEV_WISA_CMDID(id,op,buf,len) \
  3182. 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)
  3183. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_WISA_CMDID);
  3184. /* MAWC sensor report indication cmd */
  3185. #define WMITLV_TABLE_WMI_MAWC_SENSOR_REPORT_IND_CMDID(id,op,buf,len) \
  3186. 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)
  3187. WMITLV_CREATE_PARAM_STRUC(WMI_MAWC_SENSOR_REPORT_IND_CMDID);
  3188. /* Roam configure MAWC cmd */
  3189. #define WMITLV_TABLE_WMI_ROAM_CONFIGURE_MAWC_CMDID(id,op,buf,len) \
  3190. 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)
  3191. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_CONFIGURE_MAWC_CMDID);
  3192. /* NLO configure MAWC cmd */
  3193. #define WMITLV_TABLE_WMI_NLO_CONFIGURE_MAWC_CMDID(id,op,buf,len) \
  3194. 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)
  3195. WMITLV_CREATE_PARAM_STRUC(WMI_NLO_CONFIGURE_MAWC_CMDID);
  3196. /* Extscan configure MAWC cmd */
  3197. #define WMITLV_TABLE_WMI_EXTSCAN_CONFIGURE_MAWC_CMDID(id,op,buf,len) \
  3198. 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)
  3199. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CONFIGURE_MAWC_CMDID);
  3200. /* COEX config cmd */
  3201. #define WMITLV_TABLE_WMI_COEX_CONFIG_CMDID(id,op,buf,len) \
  3202. 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)
  3203. WMITLV_CREATE_PARAM_STRUC(WMI_COEX_CONFIG_CMDID);
  3204. /* Coex get antenna isolation cmd */
  3205. #define WMITLV_TABLE_WMI_COEX_GET_ANTENNA_ISOLATION_CMDID(id,op,buf,len) \
  3206. 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)
  3207. WMITLV_CREATE_PARAM_STRUC(WMI_COEX_GET_ANTENNA_ISOLATION_CMDID);
  3208. /* Cal Get power fixed param */
  3209. #define WMITLV_TABLE_WMI_PDEV_GET_NFCAL_POWER_CMDID(id,op,buf,len) \
  3210. 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)
  3211. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_NFCAL_POWER_CMDID);
  3212. /* bpf offload capability get cmd */
  3213. #define WMITLV_TABLE_WMI_BPF_GET_CAPABILITY_CMDID(id,op,buf,len) \
  3214. 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)
  3215. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_GET_CAPABILITY_CMDID);
  3216. /* bpf offload get vdev status cmd */
  3217. #define WMITLV_TABLE_WMI_BPF_GET_VDEV_STATS_CMDID(id,op,buf,len) \
  3218. 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)
  3219. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_GET_VDEV_STATS_CMDID);
  3220. /* bpf offload set vdev instructions cmd */
  3221. #define WMITLV_TABLE_WMI_BPF_SET_VDEV_INSTRUCTIONS_CMDID(id,op,buf,len) \
  3222. 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) \
  3223. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, buf_inst, WMITLV_SIZE_VAR)
  3224. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_SET_VDEV_INSTRUCTIONS_CMDID);
  3225. /* bpf offload delete vdev instructions cmd */
  3226. #define WMITLV_TABLE_WMI_BPF_DEL_VDEV_INSTRUCTIONS_CMDID(id,op,buf,len) \
  3227. 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)
  3228. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_DEL_VDEV_INSTRUCTIONS_CMDID);
  3229. #define WMITLV_TABLE_WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID(id,op,buf,len) \
  3230. 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)
  3231. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID);
  3232. #define WMITLV_TABLE_WMI_BPF_SET_VDEV_ENABLE_CMDID(id,op,buf,len) \
  3233. 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)
  3234. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_SET_VDEV_ENABLE_CMDID);
  3235. #define WMITLV_TABLE_WMI_BPF_SET_VDEV_WORK_MEMORY_CMDID(id,op,buf,len) \
  3236. 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) \
  3237. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, buf_inst, WMITLV_SIZE_VAR)
  3238. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_SET_VDEV_WORK_MEMORY_CMDID);
  3239. #define WMITLV_TABLE_WMI_BPF_GET_VDEV_WORK_MEMORY_CMDID(id,op,buf,len) \
  3240. 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)
  3241. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_GET_VDEV_WORK_MEMORY_CMDID);
  3242. /* Enable/Disable Smart Antenna */
  3243. #define WMITLV_TABLE_WMI_PDEV_SMART_ANT_ENABLE_CMDID(id,op,buf,len) \
  3244. 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) \
  3245. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_smart_ant_gpio_handle, gpio_handle, WMITLV_SIZE_VAR)
  3246. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SMART_ANT_ENABLE_CMDID);
  3247. /* Set Smart Antenna RX antenna */
  3248. #define WMITLV_TABLE_WMI_PDEV_SMART_ANT_SET_RX_ANTENNA_CMDID(id,op,buf,len) \
  3249. 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)
  3250. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SMART_ANT_SET_RX_ANTENNA_CMDID);
  3251. /* Override the antenna switch table */
  3252. #define WMITLV_TABLE_WMI_PDEV_SET_ANTENNA_SWITCH_TABLE_CMDID(id,op,buf,len) \
  3253. 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) \
  3254. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_set_ant_ctrl_chain, ant_ctrl_chain, WMITLV_SIZE_VAR)
  3255. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_ANTENNA_SWITCH_TABLE_CMDID);
  3256. /* Override the CTL table */
  3257. #define WMITLV_TABLE_WMI_PDEV_SET_CTL_TABLE_CMDID(id,op,buf,len) \
  3258. 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) \
  3259. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ctl_info, WMITLV_SIZE_VAR)
  3260. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_CTL_TABLE_CMDID);
  3261. /* Override the array gain table */
  3262. #define WMITLV_TABLE_WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID(id,op,buf,len) \
  3263. 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) \
  3264. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, arraygain_tbl, WMITLV_SIZE_VAR)
  3265. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID);
  3266. /* FIPS cmd */
  3267. #define WMITLV_TABLE_WMI_PDEV_FIPS_CMDID(id,op,buf,len) \
  3268. 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) \
  3269. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3270. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FIPS_CMDID);
  3271. /* get CCK ANI level */
  3272. #define WMITLV_TABLE_WMI_PDEV_GET_ANI_CCK_CONFIG_CMDID(id,op,buf,len) \
  3273. 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)
  3274. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_ANI_CCK_CONFIG_CMDID);
  3275. /* get OFDM ANI level */
  3276. #define WMITLV_TABLE_WMI_PDEV_GET_ANI_OFDM_CONFIG_CMDID(id,op,buf,len) \
  3277. 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)
  3278. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_ANI_OFDM_CONFIG_CMDID);
  3279. /* TxPPDU TPC cmd */
  3280. #define WMITLV_TABLE_WMI_PDEV_GET_TPC_CMDID(id,op,buf,len) \
  3281. 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)
  3282. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TPC_CMDID);
  3283. #define WMITLV_TABLE_WMI_VDEV_RATEMASK_CMDID(id,op,buf,len) \
  3284. 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)
  3285. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_RATEMASK_CMDID);
  3286. /* ATF VDEV REQUEST commands */
  3287. #define WMITLV_TABLE_WMI_VDEV_ATF_REQUEST_CMDID(id,op,buf,len) \
  3288. 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)
  3289. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ATF_REQUEST_CMDID);
  3290. /* Command to send the DSCP-to-TID map to the target for VAP */
  3291. #define WMITLV_TABLE_WMI_VDEV_SET_DSCP_TID_MAP_CMDID(id,op,buf,len) \
  3292. 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)
  3293. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_DSCP_TID_MAP_CMDID);
  3294. /* Configure filter for Neighbor Rx Pkt (smart mesh selective listening) */
  3295. #define WMITLV_TABLE_WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID(id,op,buf,len) \
  3296. 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)
  3297. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID);
  3298. /* update a wds (4 address) entry */
  3299. #define WMITLV_TABLE_WMI_PEER_UPDATE_WDS_ENTRY_CMDID(id,op,buf,len) \
  3300. 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)
  3301. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_UPDATE_WDS_ENTRY_CMDID);
  3302. /* add a proxy sta entry */
  3303. #define WMITLV_TABLE_WMI_PEER_ADD_PROXY_STA_ENTRY_CMDID(id,op,buf,len) \
  3304. 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)
  3305. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ADD_PROXY_STA_ENTRY_CMDID);
  3306. /* Set Smart Antenna TX antenna */
  3307. #define WMITLV_TABLE_WMI_PEER_SMART_ANT_SET_TX_ANTENNA_CMDID(id,op,buf,len) \
  3308. 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) \
  3309. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_smart_ant_set_tx_antenna_series, antenna_series, WMITLV_SIZE_VAR)
  3310. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SMART_ANT_SET_TX_ANTENNA_CMDID);
  3311. /* Set Smart Antenna TX train info */
  3312. #define WMITLV_TABLE_WMI_PEER_SMART_ANT_SET_TRAIN_INFO_CMDID(id,op,buf,len) \
  3313. 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) \
  3314. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_smart_ant_set_train_antenna_param, antenna_param, WMITLV_SIZE_VAR)
  3315. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SMART_ANT_SET_TRAIN_INFO_CMDID);
  3316. /* Set SA node config options */
  3317. #define WMITLV_TABLE_WMI_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMDID(id,op,buf,len) \
  3318. 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) \
  3319. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, args, WMITLV_SIZE_VAR)
  3320. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMDID);
  3321. /* Q-Boost configuration test commands */
  3322. #define WMITLV_TABLE_WMI_QBOOST_CFG_CMDID(id,op,buf,len) \
  3323. 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)
  3324. WMITLV_CREATE_PARAM_STRUC(WMI_QBOOST_CFG_CMDID);
  3325. /* set debug and tuning parameters */
  3326. #define WMITLV_TABLE_WMI_FWTEST_CMDID(id,op,buf,len) \
  3327. 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)
  3328. WMITLV_CREATE_PARAM_STRUC(WMI_FWTEST_CMDID);
  3329. /* ATF PEER REQUEST commands. */
  3330. #define WMITLV_TABLE_WMI_PEER_ATF_REQUEST_CMDID(id,op,buf,len) \
  3331. 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) \
  3332. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_atf_peer_info, peer_info, WMITLV_SIZE_VAR)
  3333. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ATF_REQUEST_CMDID);
  3334. /* ATF Group Request commands */
  3335. #define WMITLV_TABLE_WMI_ATF_SSID_GROUPING_REQUEST_CMDID(id,op,buf,len) \
  3336. 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) \
  3337. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_atf_group_info, group_info, WMITLV_SIZE_VAR)
  3338. WMITLV_CREATE_PARAM_STRUC(WMI_ATF_SSID_GROUPING_REQUEST_CMDID);
  3339. /* ATF Group WMM Request commands */
  3340. #define WMITLV_TABLE_WMI_ATF_GROUP_WMM_AC_CONFIG_REQUEST_CMDID(id,op,buf,len) \
  3341. 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) \
  3342. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_atf_group_wmm_ac_info, group_info, WMITLV_SIZE_VAR)
  3343. WMITLV_CREATE_PARAM_STRUC(WMI_ATF_GROUP_WMM_AC_CONFIG_REQUEST_CMDID);
  3344. /* ATF EXTENDED PEER REQUEST commands */
  3345. #define WMITLV_TABLE_WMI_PEER_ATF_EXT_REQUEST_CMDID(id,op,buf,len) \
  3346. 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) \
  3347. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_atf_ext_info, peer_ext_info, WMITLV_SIZE_VAR)
  3348. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ATF_EXT_REQUEST_CMDID);
  3349. /* enable/disable and set the periodicity of periodic channel stats */
  3350. #define WMITLV_TABLE_WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID(id,op,buf,len) \
  3351. 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)
  3352. WMITLV_CREATE_PARAM_STRUC(WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID);
  3353. /* wal power debug command per pdev */
  3354. #define WMITLV_TABLE_WMI_PDEV_WAL_POWER_DEBUG_CMDID(id,op,buf,len) \
  3355. 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) \
  3356. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, args, WMITLV_SIZE_VAR)
  3357. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_WAL_POWER_DEBUG_CMDID);
  3358. /* pdev set reorder timeout val */
  3359. #define WMITLV_TABLE_WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID(id,op,buf,len) \
  3360. 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)
  3361. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID);
  3362. /* peer set rx blocksize cmd */
  3363. #define WMITLV_TABLE_WMI_PEER_SET_RX_BLOCKSIZE_CMDID(id,op,buf,len) \
  3364. 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)
  3365. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SET_RX_BLOCKSIZE_CMDID);
  3366. /* Bandwidth Fairness (BWF) peer configure commands */
  3367. #define WMITLV_TABLE_WMI_PEER_BWF_REQUEST_CMDID(id,op,buf,len) \
  3368. 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) \
  3369. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_bwf_peer_info, peer_info, WMITLV_SIZE_VAR)
  3370. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_BWF_REQUEST_CMDID);
  3371. #define WMITLV_TABLE_WMI_RMC_SET_MANUAL_LEADER_CMDID(id,op,buf,len) \
  3372. 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)
  3373. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_SET_MANUAL_LEADER_CMDID);
  3374. /* peer reorder queue setup cmd */
  3375. #define WMITLV_TABLE_WMI_PEER_REORDER_QUEUE_SETUP_CMDID(id,op,buf,len) \
  3376. 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)
  3377. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_REORDER_QUEUE_SETUP_CMDID);
  3378. /* peer reorder queue remove cmd */
  3379. #define WMITLV_TABLE_WMI_PEER_REORDER_QUEUE_REMOVE_CMDID(id,op,buf,len) \
  3380. 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)
  3381. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_REORDER_QUEUE_REMOVE_CMDID);
  3382. /* Filter in monitor mode paramters Cmd */
  3383. #define WMITLV_TABLE_WMI_MNT_FILTER_CMDID(id,op,buf,len) \
  3384. 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)
  3385. WMITLV_CREATE_PARAM_STRUC(WMI_MNT_FILTER_CMDID);
  3386. /* WLAN GET Chip power Stats*/
  3387. #define WMITLV_TABLE_WMI_PDEV_GET_CHIP_POWER_STATS_CMDID(id,op,buf,len) \
  3388. 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)
  3389. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_CHIP_POWER_STATS_CMDID);
  3390. /* WLAN GET mws conflict */
  3391. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_INFO_CMDID(id,op,buf,len) \
  3392. 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)
  3393. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_INFO_CMDID);
  3394. /* WLAN GET beacon reception Stats*/
  3395. #define WMITLV_TABLE_WMI_VDEV_GET_BCN_RECEPTION_STATS_CMDID(id,op,buf,len) \
  3396. 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)
  3397. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_BCN_RECEPTION_STATS_CMDID);
  3398. /* pdev set stats threshold cmd*/
  3399. #define WMITLV_TABLE_WMI_PDEV_SET_STATS_THRESHOLD_CMDID(id,op,buf,len) \
  3400. 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) \
  3401. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chan_cca_stats_thresh, wmi_chan_cca_stats_thresh, cca_thresh, WMITLV_SIZE_FIX) \
  3402. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_signal_stats_thresh, wmi_peer_signal_stats_thresh, signal_thresh, WMITLV_SIZE_FIX) \
  3403. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tx_stats_thresh, wmi_tx_stats_thresh, tx_thresh, WMITLV_SIZE_FIX) \
  3404. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rx_stats_thresh, wmi_rx_stats_thresh, rx_thresh, WMITLV_SIZE_FIX)
  3405. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_STATS_THRESHOLD_CMDID);
  3406. /* Request wlan stats cmd */
  3407. #define WMITLV_TABLE_WMI_REQUEST_WLAN_STATS_CMDID(id,op,buf,len) \
  3408. 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)
  3409. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_WLAN_STATS_CMDID);
  3410. /* Request peer stats info cmd */
  3411. #define WMITLV_TABLE_WMI_REQUEST_PEER_STATS_INFO_CMDID(id,op,buf,len) \
  3412. 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)
  3413. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_PEER_STATS_INFO_CMDID);
  3414. /* Host sets the current country code */
  3415. #define WMITLV_TABLE_WMI_SET_CURRENT_COUNTRY_CMDID(id,op,buf,len) \
  3416. 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)
  3417. WMITLV_CREATE_PARAM_STRUC(WMI_SET_CURRENT_COUNTRY_CMDID);
  3418. /* Host sets the init country code */
  3419. #define WMITLV_TABLE_WMI_SET_INIT_COUNTRY_CMDID(id,op,buf,len) \
  3420. 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)
  3421. WMITLV_CREATE_PARAM_STRUC(WMI_SET_INIT_COUNTRY_CMDID);
  3422. /* Start 11d scan in FW */
  3423. #define WMITLV_TABLE_WMI_11D_SCAN_START_CMDID(id,op,buf,len) \
  3424. 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)
  3425. WMITLV_CREATE_PARAM_STRUC(WMI_11D_SCAN_START_CMDID);
  3426. /* Stop 11d scan in FW */
  3427. #define WMITLV_TABLE_WMI_11D_SCAN_STOP_CMDID(id,op,buf,len) \
  3428. 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)
  3429. WMITLV_CREATE_PARAM_STRUC(WMI_11D_SCAN_STOP_CMDID);
  3430. /* Request radio channel stats cmd */
  3431. #define WMITLV_TABLE_WMI_REQUEST_RADIO_CHAN_STATS_CMDID(id,op,buf,len) \
  3432. 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)
  3433. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_RADIO_CHAN_STATS_CMDID);
  3434. /* mac randomization cmd */
  3435. #define WMITLV_TABLE_WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID(id,op,buf,len) \
  3436. 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)
  3437. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID);
  3438. #define WMITLV_TABLE_WMI_HW_DATA_FILTER_CMDID(id,op,buf,len) \
  3439. 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)
  3440. WMITLV_CREATE_PARAM_STRUC(WMI_HW_DATA_FILTER_CMDID);
  3441. /* Multiple vdev restart request cmd */
  3442. #define WMITLV_TABLE_WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID(id,op,buf,len) \
  3443. 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) \
  3444. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids, WMITLV_SIZE_VAR) \
  3445. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX) \
  3446. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, phymode_list, WMITLV_SIZE_VAR)
  3447. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID);
  3448. #define WMITLV_TABLE_WMI_PDEV_UPDATE_PKT_ROUTING_CMDID(id,op,buf,len) \
  3449. 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)
  3450. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_PKT_ROUTING_CMDID);
  3451. /* Get cal version cmd */
  3452. #define WMITLV_TABLE_WMI_PDEV_CHECK_CAL_VERSION_CMDID(id,op,buf,len) \
  3453. 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)
  3454. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHECK_CAL_VERSION_CMDID);
  3455. #define WMITLV_TABLE_WMI_PDEV_SET_DIVERSITY_GAIN_CMDID(id,op,buf,len) \
  3456. 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) \
  3457. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, diversity_gains, WMITLV_SIZE_VAR)
  3458. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_DIVERSITY_GAIN_CMDID);
  3459. /* set arp stats cmd */
  3460. #define WMITLV_TABLE_WMI_VDEV_SET_ARP_STAT_CMDID(id,op,buf,len) \
  3461. 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) \
  3462. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_set_connectivity_check_stats, connectivity_check_stats, WMITLV_SIZE_VAR)
  3463. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_ARP_STAT_CMDID);
  3464. /* get arp stats cmd */
  3465. #define WMITLV_TABLE_WMI_VDEV_GET_ARP_STAT_CMDID(id,op,buf,len) \
  3466. 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)
  3467. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_ARP_STAT_CMDID);
  3468. /* Thermal Throttling SET CONFIG commands. */
  3469. #define WMITLV_TABLE_WMI_THERM_THROT_SET_CONF_CMDID(id,op,buf,len) \
  3470. 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) \
  3471. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_therm_throt_level_config_info, therm_throt_level_config_info, WMITLV_SIZE_VAR)
  3472. WMITLV_CREATE_PARAM_STRUC(WMI_THERM_THROT_SET_CONF_CMDID);
  3473. /* OIC ping offload cmd */
  3474. #define WMITLV_TABLE_WMI_HB_OIC_PING_OFFLOAD_PARAM_CMDID(id,op,buf,len) \
  3475. 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)
  3476. WMITLV_CREATE_PARAM_STRUC(WMI_HB_OIC_PING_OFFLOAD_PARAM_CMDID);
  3477. #define WMITLV_TABLE_WMI_HB_OIC_PING_OFFLOAD_SET_ENABLE_CMDID(id,op,buf,len) \
  3478. 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)
  3479. WMITLV_CREATE_PARAM_STRUC(WMI_HB_OIC_PING_OFFLOAD_SET_ENABLE_CMDID);
  3480. /* DHCP Lease Renew Offload cmd */
  3481. #define WMITLV_TABLE_WMI_HB_DHCP_LEASE_RENEW_OFFLOAD_CMDID(id,op,buf,len) \
  3482. 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)
  3483. WMITLV_CREATE_PARAM_STRUC(WMI_HB_DHCP_LEASE_RENEW_OFFLOAD_CMDID);
  3484. /* BTM config command */
  3485. #define WMITLV_TABLE_WMI_ROAM_BTM_CONFIG_CMDID(id,op,buf,len) \
  3486. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_btm_config_fixed_param, wmi_btm_config_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3487. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_BTM_CONFIG_CMDID);
  3488. /* vdev latency config cmd */
  3489. #define WMITLV_TABLE_WMI_WLM_CONFIG_CMDID(id,op,buf,len) \
  3490. 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)
  3491. WMITLV_CREATE_PARAM_STRUC(WMI_WLM_CONFIG_CMDID);
  3492. /* Event to send roam stats */
  3493. #define WMITLV_TABLE_WMI_ROAM_STATS_EVENTID(id,op,buf,len) \
  3494. 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) \
  3495. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_trigger_reason, roam_trigger_reason, WMITLV_SIZE_VAR) \
  3496. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_scan_info, roam_scan_info, WMITLV_SIZE_VAR) \
  3497. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_scan_channel_info, roam_scan_chan_info, WMITLV_SIZE_VAR) \
  3498. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_ap_info, roam_ap_info, WMITLV_SIZE_VAR) \
  3499. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_result, roam_result, WMITLV_SIZE_VAR) \
  3500. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_neighbor_report_info, roam_neighbor_report_info, WMITLV_SIZE_VAR) \
  3501. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_neighbor_report_channel_info, roam_neighbor_report_chan_info, WMITLV_SIZE_VAR) \
  3502. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_frame_info, roam_frame_info, WMITLV_SIZE_VAR)
  3503. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_STATS_EVENTID);
  3504. /* Motion detection cmd */
  3505. #define WMITLV_TABLE_WMI_MOTION_DET_CONFIG_PARAM_CMDID(id,op,buf,len) \
  3506. 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)
  3507. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_CONFIG_PARAM_CMDID);
  3508. #define WMITLV_TABLE_WMI_MOTION_DET_BASE_LINE_CONFIG_PARAM_CMDID(id,op,buf,len) \
  3509. 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)
  3510. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_BASE_LINE_CONFIG_PARAM_CMDID);
  3511. #define WMITLV_TABLE_WMI_MOTION_DET_START_STOP_CMDID(id,op,buf,len) \
  3512. 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)
  3513. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_START_STOP_CMDID);
  3514. #define WMITLV_TABLE_WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID(id,op,buf,len) \
  3515. 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)
  3516. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID);
  3517. /* Pdev Set AC TX Queue Optimized Cmd */
  3518. #define WMITLV_TABLE_WMI_PDEV_SET_AC_TX_QUEUE_OPTIMIZED_CMDID(id,op,buf,len) \
  3519. 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)
  3520. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_AC_TX_QUEUE_OPTIMIZED_CMDID);
  3521. /* Set msduq qdepth threshold value Cmd */
  3522. #define WMITLV_TABLE_WMI_PEER_TID_MSDUQ_QDEPTH_THRESH_UPDATE_CMDID(id,op,buf,len) \
  3523. 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) \
  3524. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_msduq_qdepth_thresh_update, msduq_qdepth_thresh_update, WMITLV_SIZE_VAR)
  3525. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TID_MSDUQ_QDEPTH_THRESH_UPDATE_CMDID);
  3526. /* Pdev Set RX filter promiscuous Cmd */
  3527. #define WMITLV_TABLE_WMI_PDEV_SET_RX_FILTER_PROMISCUOUS_CMDID(id,op,buf,len) \
  3528. 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)
  3529. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_RX_FILTER_PROMISCUOUS_CMDID);
  3530. /* Runtime DPD Recalibration Params */
  3531. #define WMITLV_TABLE_WMI_RUNTIME_DPD_RECAL_CMDID(id,op,buf,len) \
  3532. 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)
  3533. WMITLV_CREATE_PARAM_STRUC(WMI_RUNTIME_DPD_RECAL_CMDID);
  3534. /** Get TX power Cmd */
  3535. #define WMITLV_TABLE_WMI_GET_TPC_POWER_CMDID(id,op,buf,len) \
  3536. 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)
  3537. WMITLV_CREATE_PARAM_STRUC(WMI_GET_TPC_POWER_CMDID);
  3538. /* TWT enable cmd */
  3539. #define WMITLV_TABLE_WMI_TWT_ENABLE_CMDID(id,op,buf,len) \
  3540. 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)
  3541. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_ENABLE_CMDID);
  3542. /* TWT disable cmd */
  3543. #define WMITLV_TABLE_WMI_TWT_DISABLE_CMDID(id,op,buf,len) \
  3544. 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)
  3545. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_DISABLE_CMDID);
  3546. /* TWT add dialog cmd */
  3547. #define WMITLV_TABLE_WMI_TWT_ADD_DIALOG_CMDID(id,op,buf,len) \
  3548. 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)
  3549. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_ADD_DIALOG_CMDID);
  3550. /* TWT delete dialog cmd */
  3551. #define WMITLV_TABLE_WMI_TWT_DEL_DIALOG_CMDID(id,op,buf,len) \
  3552. 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)
  3553. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_DEL_DIALOG_CMDID);
  3554. /* TWT pause dialog cmd */
  3555. #define WMITLV_TABLE_WMI_TWT_PAUSE_DIALOG_CMDID(id,op,buf,len) \
  3556. 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)
  3557. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_PAUSE_DIALOG_CMDID);
  3558. /* TWT resume dialog cmd */
  3559. #define WMITLV_TABLE_WMI_TWT_RESUME_DIALOG_CMDID(id,op,buf,len) \
  3560. 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)
  3561. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_RESUME_DIALOG_CMDID);
  3562. /* B-TWT STA invitation cmd */
  3563. #define WMITLV_TABLE_WMI_TWT_BTWT_INVITE_STA_CMDID(id,op,buf,len) \
  3564. 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)
  3565. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_BTWT_INVITE_STA_CMDID);
  3566. /* B-TWT STA removal cmd */
  3567. #define WMITLV_TABLE_WMI_TWT_BTWT_REMOVE_STA_CMDID(id,op,buf,len) \
  3568. 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)
  3569. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_BTWT_REMOVE_STA_CMDID);
  3570. /* Set peer tid configurations Cmd */
  3571. #define WMITLV_TABLE_WMI_PEER_TID_CONFIGURATIONS_CMDID(id,op,buf,len) \
  3572. 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)
  3573. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TID_CONFIGURATIONS_CMDID);
  3574. /* OBSS_PD Spatial_Reuse cnmd */
  3575. #define WMITLV_TABLE_WMI_PDEV_OBSS_PD_SPATIAL_REUSE_CMDID(id,op,buf,len) \
  3576. 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)
  3577. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_CMDID);
  3578. /* Peer CFR capture cmd */
  3579. #define WMITLV_TABLE_WMI_PEER_CFR_CAPTURE_CMDID(id,op,buf,len) \
  3580. 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)
  3581. /*
  3582. * NOTE: from approximately 7/25/19 to 8/16/19, the below TLV was incorrectly
  3583. * added to this WMI_PEER_CFR_CAPTURE_CMDID message.
  3584. * Any targets compiled with these versions of the WMI definitions will
  3585. * expect that if there is a 2nd TLV in the WMI_PEER_CFR_CAPTURE_CMDID,
  3586. * it will be
  3587. * WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_phase_fixed_param
  3588. * If in the future a new 2nd TLV is added to this WMI_PEER_CFR_CAPTURE_CMDID
  3589. * message, that would cause a target compiled with the erroneous old
  3590. * definitions to reject the WMI_PEER_CFR_CAPTURE_CMDID message containing
  3591. * the new 2nd TLV, because it would not match the
  3592. * WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_phase_fixed_param
  3593. * tag expected by the old target.
  3594. *
  3595. * 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)
  3596. */
  3597. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CFR_CAPTURE_CMDID);
  3598. /* CHANNEL WIDTH SWITCH commands for peers. */
  3599. #define WMITLV_TABLE_WMI_PEER_CHAN_WIDTH_SWITCH_CMDID(id,op,buf,len) \
  3600. 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) \
  3601. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_chan_width_peer_list, peer_info, WMITLV_SIZE_VAR)
  3602. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CHAN_WIDTH_SWITCH_CMDID);
  3603. /* OBSS_PD Spatial_Reuse Set Default OBSS Thresholds */
  3604. #define WMITLV_TABLE_WMI_PDEV_OBSS_PD_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMDID(id,op,buf,len) \
  3605. 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)
  3606. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMDID);
  3607. /* HE TB Action frame enable/disable */
  3608. #define WMITLV_TABLE_WMI_PDEV_HE_TB_ACTION_FRM_CMDID(id,op,buf,len) \
  3609. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_he_tb_action_frm_cmd_fixed_param, \
  3610. wmi_pdev_he_tb_action_frm_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3611. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3612. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_HE_TB_ACTION_FRM_CMDID);
  3613. /* HPCS Pulse cmd */
  3614. #define WMITLV_TABLE_WMI_HPCS_PULSE_START_CMDID(id,op,buf,len) \
  3615. 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)
  3616. WMITLV_CREATE_PARAM_STRUC(WMI_HPCS_PULSE_START_CMDID);
  3617. /* PDev Packet Log filter Cmd */
  3618. #define WMITLV_TABLE_WMI_PDEV_PKTLOG_FILTER_CMDID(id,op,buf,len) \
  3619. 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) \
  3620. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_pktlog_filter_info, pdev_pktlog_filter_info, WMITLV_SIZE_VAR)
  3621. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_PKTLOG_FILTER_CMDID);
  3622. /* PDev Set Rogue AP Config cmd */
  3623. #define WMITLV_TABLE_WMI_PDEV_SET_RAP_CONFIG_CMDID(id,op,buf,len) \
  3624. 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) \
  3625. 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)
  3626. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_RAP_CONFIG_CMDID);
  3627. /* OEM Data config cmd */
  3628. #define WMITLV_TABLE_WMI_OEM_DATA_CMDID(id,op,buf,len) \
  3629. 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) \
  3630. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, oem_data, WMITLV_SIZE_VAR)
  3631. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DATA_CMDID);
  3632. /* Set OCL cmd */
  3633. #define WMITLV_TABLE_WMI_SET_OCL_CMDID(id,op,buf,len) \
  3634. 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)
  3635. WMITLV_CREATE_PARAM_STRUC(WMI_SET_OCL_CMDID);
  3636. /* Set ELNA BYPASS cmd */
  3637. #define WMITLV_TABLE_WMI_SET_ELNA_BYPASS_CMDID(id,op,buf,len) \
  3638. 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)
  3639. WMITLV_CREATE_PARAM_STRUC(WMI_SET_ELNA_BYPASS_CMDID);
  3640. /* Get ELNA BYPASS cmd */
  3641. #define WMITLV_TABLE_WMI_GET_ELNA_BYPASS_CMDID(id,op,buf,len) \
  3642. 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)
  3643. WMITLV_CREATE_PARAM_STRUC(WMI_GET_ELNA_BYPASS_CMDID);
  3644. /* Get channel ANI level cmd */
  3645. #define WMITLV_TABLE_WMI_GET_CHANNEL_ANI_CMDID(id,op,buf,len) \
  3646. 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) \
  3647. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR)
  3648. WMITLV_CREATE_PARAM_STRUC(WMI_GET_CHANNEL_ANI_CMDID);
  3649. /* Audio aggr config cmd */
  3650. #define WMITLV_TABLE_WMI_AUDIO_AGGR_ENABLE_CMDID(id,op,buf,len) \
  3651. 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)
  3652. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_ENABLE_CMDID);
  3653. #define WMITLV_TABLE_WMI_AUDIO_AGGR_ADD_GROUP_CMDID(id,op,buf,len) \
  3654. 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) \
  3655. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, client_addr, WMITLV_SIZE_VAR)
  3656. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_ADD_GROUP_CMDID);
  3657. #define WMITLV_TABLE_WMI_AUDIO_AGGR_DEL_GROUP_CMDID(id,op,buf,len) \
  3658. 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)
  3659. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_DEL_GROUP_CMDID);
  3660. #define WMITLV_TABLE_WMI_AUDIO_AGGR_SET_GROUP_RATE_CMDID(id,op,buf,len) \
  3661. 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) \
  3662. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_AUDIO_AGGR_RATE_SET_T, rate_set, WMITLV_SIZE_VAR)
  3663. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SET_GROUP_RATE_CMDID);
  3664. #define WMITLV_TABLE_WMI_AUDIO_AGGR_SET_GROUP_RETRY_CMDID(id,op,buf,len) \
  3665. 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)
  3666. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SET_GROUP_RETRY_CMDID);
  3667. #define WMITLV_TABLE_WMI_AUDIO_AGGR_SET_GROUP_AUTO_RATE_CMDID(id,op,buf,len) \
  3668. 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)
  3669. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SET_GROUP_AUTO_RATE_CMDID);
  3670. #define WMITLV_TABLE_WMI_AUDIO_AGGR_SET_GROUP_PROBE_CMDID(id,op,buf,len) \
  3671. 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)
  3672. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SET_GROUP_PROBE_CMDID);
  3673. #define WMITLV_TABLE_WMI_AUDIO_AGGR_UPDATE_STA_GROUP_INFO_CMDID(id,op,buf,len) \
  3674. 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) \
  3675. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, au_groups, WMITLV_SIZE_VAR)
  3676. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_UPDATE_STA_GROUP_INFO_CMDID);
  3677. #define WMITLV_TABLE_WMI_AUDIO_AGGR_GET_STATISTICS_CMDID(id,op,buf,len) \
  3678. 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)
  3679. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_GET_STATISTICS_CMDID);
  3680. #define WMITLV_TABLE_WMI_AUDIO_AGGR_RESET_STATISTICS_CMDID(id,op,buf,len) \
  3681. 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)
  3682. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_RESET_STATISTICS_CMDID);
  3683. #define WMITLV_TABLE_WMI_AUDIO_AGGR_SET_RTSCTS_CONFIG_CMDID(id,op,buf,len) \
  3684. 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)
  3685. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SET_RTSCTS_CONFIG_CMDID);
  3686. /* CFR Capture Filter cmd */
  3687. #define WMITLV_TABLE_WMI_CFR_CAPTURE_FILTER_CMDID(id,op,buf,len) \
  3688. 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) \
  3689. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_cfr_filter_group_config, filter_group_config, WMITLV_SIZE_VAR)
  3690. WMITLV_CREATE_PARAM_STRUC(WMI_CFR_CAPTURE_FILTER_CMDID);
  3691. /* VLAN config */
  3692. #define WMITLV_TABLE_WMI_PEER_CONFIG_VLAN_CMDID(id,op,buf,len) \
  3693. 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)
  3694. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CONFIG_VLAN_CMDID);
  3695. #define WMITLV_TABLE_WMI_VDEV_AUDIO_SYNC_TRIGGER_CMDID(id,op,buf,len) \
  3696. 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)
  3697. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_AUDIO_SYNC_TRIGGER_CMDID);
  3698. #define WMITLV_TABLE_WMI_VDEV_AUDIO_SYNC_QTIMER_CMDID(id,op,buf,len) \
  3699. 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)
  3700. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_AUDIO_SYNC_QTIMER_CMDID);
  3701. /* Preferred channel list for vdev */
  3702. #define WMITLV_TABLE_WMI_VDEV_SET_PCL_CMDID(id,op,buf,len) \
  3703. 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) \
  3704. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_weight, WMITLV_SIZE_VAR)
  3705. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_PCL_CMDID);
  3706. /* Get roam scan channel list */
  3707. #define WMITLV_TABLE_WMI_ROAM_GET_SCAN_CHANNEL_LIST_CMDID(id,op,buf,len) \
  3708. 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)
  3709. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_GET_SCAN_CHANNEL_LIST_CMDID);
  3710. /* VDEV_GET_BIG_DATA_CMD IS DEPRECATED - DO NOT USE */
  3711. #define WMITLV_TABLE_WMI_VDEV_GET_BIG_DATA_CMDID(id,op,buf,len) \
  3712. 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)
  3713. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_BIG_DATA_CMDID);
  3714. /* Get per vdev BIG DATA stats P2 */
  3715. #define WMITLV_TABLE_WMI_VDEV_GET_BIG_DATA_P2_CMDID(id,op,buf,len) \
  3716. 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)
  3717. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_BIG_DATA_P2_CMDID);
  3718. /* Frame inject command */
  3719. #define WMITLV_TABLE_WMI_PDEV_FRAME_INJECT_CMDID(id,op,buf,len) \
  3720. 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) \
  3721. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  3722. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FRAME_INJECT_CMDID);
  3723. /* Get / Set RNR TBTT offset info */
  3724. #define WMITLV_TABLE_WMI_PDEV_TBTT_OFFSET_SYNC_CMDID(id,op,buf,len) \
  3725. 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) \
  3726. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_rnr_bss_tbtt_info, rnr_tbtt_info, WMITLV_SIZE_VAR)
  3727. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_TBTT_OFFSET_SYNC_CMDID);
  3728. /* SRG BSS color Bitmap */
  3729. #define WMITLV_TABLE_WMI_PDEV_SET_SRG_BSS_COLOR_BITMAP_CMDID(id,op,buf,len) \
  3730. 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)
  3731. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_SRG_BSS_COLOR_BITMAP_CMDID);
  3732. /* SRG Partial BSSid Bitmap */
  3733. #define WMITLV_TABLE_WMI_PDEV_SET_SRG_PARTIAL_BSSID_BITMAP_CMDID(id,op,buf,len) \
  3734. 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)
  3735. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_SRG_PARTIAL_BSSID_BITMAP_CMDID);
  3736. /* Simulation test command */
  3737. #define WMITLV_TABLE_WMI_SIMULATION_TEST_CMDID(id,op,buf,len) \
  3738. 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) \
  3739. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  3740. WMITLV_CREATE_PARAM_STRUC(WMI_SIMULATION_TEST_CMDID);
  3741. /* SRG OBSS color Enable Bitmap */
  3742. #define WMITLV_TABLE_WMI_PDEV_SET_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID(id,op,buf,len) \
  3743. 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)
  3744. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID);
  3745. /* SRG OBSS BSSID Enable Bitmap */
  3746. #define WMITLV_TABLE_WMI_PDEV_SET_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID(id,op,buf,len) \
  3747. 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)
  3748. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID);
  3749. /* Non_SRG OBSS color Enable Bitmap */
  3750. #define WMITLV_TABLE_WMI_PDEV_SET_NON_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID(id,op,buf,len) \
  3751. 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)
  3752. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_NON_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID);
  3753. /* Non_SRG OBSS BSSID Enable Bitmap */
  3754. #define WMITLV_TABLE_WMI_PDEV_SET_NON_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID(id,op,buf,len) \
  3755. 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)
  3756. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_NON_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID);
  3757. /************************** TLV definitions of WMI events *******************************/
  3758. /* Service Ready event */
  3759. #define WMITLV_TABLE_WMI_SERVICE_READY_EVENTID(id,op,buf,len) \
  3760. 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) \
  3761. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_HAL_REG_CAPABILITIES, HAL_REG_CAPABILITIES, hal_reg_capabilities, WMITLV_SIZE_FIX) \
  3762. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, wmi_service_bitmap, WMITLV_SIZE_FIX, WMI_SERVICE_BM_SIZE) \
  3763. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_host_mem_req, mem_reqs, WMITLV_SIZE_VAR) \
  3764. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, wlan_dbs_hw_mode_list, WMITLV_SIZE_VAR)
  3765. WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EVENTID);
  3766. /* service available event */
  3767. #define WMITLV_TABLE_WMI_SERVICE_AVAILABLE_EVENTID(id,op,buf,len) \
  3768. 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) \
  3769. /* \
  3770. * The wmi_service_ext_bitmap covers WMI service bits beyond the range \
  3771. * of the fixed_param.wmi_service_segment_bitmap[]. \
  3772. */ \
  3773. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, wmi_service_ext_bitmap, WMITLV_SIZE_VAR)
  3774. WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_AVAILABLE_EVENTID);
  3775. /* Service Ready Extension event */
  3776. #define WMITLV_TABLE_WMI_SERVICE_READY_EXT_EVENTID(id,op,buf,len) \
  3777. 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) \
  3778. 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) \
  3779. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_HW_MODE_CAPABILITIES, hw_mode_caps, WMITLV_SIZE_VAR) \
  3780. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_MAC_PHY_CAPABILITIES, mac_phy_caps, WMITLV_SIZE_VAR) \
  3781. 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) \
  3782. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_HAL_REG_CAPABILITIES_EXT, hal_reg_caps, WMITLV_SIZE_VAR) \
  3783. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_MAC_PHY_CHAINMASK_COMBO, mac_phy_chainmask_combo, WMITLV_SIZE_VAR) \
  3784. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_MAC_PHY_CHAINMASK_CAPABILITY, mac_phy_chainmask_caps, WMITLV_SIZE_VAR) \
  3785. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_OEM_DMA_RING_CAPABILITIES, oem_dma_ring_caps, WMITLV_SIZE_VAR) \
  3786. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_SAR_CAPABILITIES, WMI_SAR_CAPABILITIES, sar_caps, WMITLV_SIZE_FIX) \
  3787. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_DMA_RING_CAPABILITIES, dma_ring_caps, WMITLV_SIZE_VAR) \
  3788. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_spectral_bin_scaling_params, wmi_bin_scaling_params, WMITLV_SIZE_VAR) \
  3789. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_CHAN_RF_CHARACTERIZATION_INFO, wmi_chan_rf_characterization_info, WMITLV_SIZE_VAR)
  3790. WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EXT_EVENTID);
  3791. /* SERVICE_READY_EXT2 event */
  3792. #define WMITLV_TABLE_WMI_SERVICE_READY_EXT2_EVENTID(id,op,buf,len) \
  3793. 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) \
  3794. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_DMA_RING_CAPABILITIES, dma_ring_caps, WMITLV_SIZE_VAR) \
  3795. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_spectral_bin_scaling_params, wmi_bin_scaling_params, WMITLV_SIZE_VAR) \
  3796. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_MAC_PHY_CAPABILITIES_EXT, mac_phy_caps, WMITLV_SIZE_VAR) \
  3797. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_HAL_REG_CAPABILITIES_EXT2, hal_reg_caps, WMITLV_SIZE_VAR)
  3798. WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EXT2_EVENTID);
  3799. #define WMITLV_TABLE_WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID(id,op,buf,len) \
  3800. 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) \
  3801. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_CHAN_RF_CHARACTERIZATION_INFO, wmi_chan_rf_characterization_info, WMITLV_SIZE_VAR)
  3802. WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID);
  3803. /* iface combination indication event */
  3804. #define WMITLV_TABLE_WMI_IFACE_COMBINATION_IND_EVENTID(id,op,buf,len) \
  3805. 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) \
  3806. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlanfw_iface_combination, combinations, WMITLV_SIZE_VAR) \
  3807. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlanfw_iface_limit, limits, WMITLV_SIZE_VAR)
  3808. WMITLV_CREATE_PARAM_STRUC(WMI_IFACE_COMBINATION_IND_EVENTID);
  3809. /* Ready event */
  3810. #define WMITLV_TABLE_WMI_READY_EVENTID(id,op,buf,len) \
  3811. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ready_event_fixed_param, wmi_ready_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3812. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mac_addr_list, WMITLV_SIZE_VAR)
  3813. WMITLV_CREATE_PARAM_STRUC(WMI_READY_EVENTID);
  3814. /* Scan Event */
  3815. #define WMITLV_TABLE_WMI_SCAN_EVENTID(id,op,buf,len) \
  3816. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_scan_event_fixed_param, wmi_scan_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3817. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_EVENTID);
  3818. /* ExtScan Start/Stop Event */
  3819. #define WMITLV_TABLE_WMI_EXTSCAN_START_STOP_EVENTID(id,op,buf,len) \
  3820. 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)
  3821. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_START_STOP_EVENTID);
  3822. /* ExtScan Event */
  3823. #define WMITLV_TABLE_WMI_EXTSCAN_OPERATION_EVENTID(id,op,buf,len) \
  3824. 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) \
  3825. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, bucket_id, WMITLV_SIZE_VAR)
  3826. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_OPERATION_EVENTID);
  3827. /* ExtScan Table Usage Event */
  3828. #define WMITLV_TABLE_WMI_EXTSCAN_TABLE_USAGE_EVENTID(id,op,buf,len) \
  3829. 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)
  3830. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_TABLE_USAGE_EVENTID);
  3831. /* ExtScan Result Event */
  3832. #define WMITLV_TABLE_WMI_EXTSCAN_CACHED_RESULTS_EVENTID(id,op,buf,len) \
  3833. 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) \
  3834. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_descriptor, bssid_list, WMITLV_SIZE_VAR) \
  3835. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_rssi_info, rssi_list, WMITLV_SIZE_VAR) \
  3836. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_list, WMITLV_SIZE_VAR)
  3837. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CACHED_RESULTS_EVENTID);
  3838. /* ExtScan Monitor RSSI List Event */
  3839. #define WMITLV_TABLE_WMI_EXTSCAN_WLAN_CHANGE_RESULTS_EVENTID(id,op,buf,len) \
  3840. 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) \
  3841. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_change_result_bssid, bssid_signal_descriptor_list, WMITLV_SIZE_VAR) \
  3842. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, rssi_list, WMITLV_SIZE_VAR)
  3843. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_WLAN_CHANGE_RESULTS_EVENTID);
  3844. /* ExtScan Hot List Match Event */
  3845. #define WMITLV_TABLE_WMI_EXTSCAN_HOTLIST_MATCH_EVENTID(id,op,buf,len) \
  3846. 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) \
  3847. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_descriptor, hotlist_match, WMITLV_SIZE_VAR)
  3848. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_HOTLIST_MATCH_EVENTID);
  3849. /* ExtScan Hot List Match Event */
  3850. #define WMITLV_TABLE_WMI_EXTSCAN_CAPABILITIES_EVENTID(id,op,buf,len) \
  3851. 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) \
  3852. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_cache_capabilities, extscan_cache_capabilities, WMITLV_SIZE_VAR) \
  3853. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_change_monitor_capabilities, wlan_change_capabilities, WMITLV_SIZE_VAR) \
  3854. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_hotlist_monitor_capabilities, hotlist_capabilities, WMITLV_SIZE_VAR)
  3855. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CAPABILITIES_EVENTID);
  3856. /* ExtScan Hot List Match Event */
  3857. #define WMITLV_TABLE_WMI_EXTSCAN_HOTLIST_SSID_MATCH_EVENTID(id,op,buf,len) \
  3858. 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) \
  3859. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_descriptor, hotlist_ssid_match, WMITLV_SIZE_VAR)
  3860. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_HOTLIST_SSID_MATCH_EVENTID);
  3861. /* Update_whal_mib_stats Event */
  3862. #define WMITLV_TABLE_WMI_UPDATE_WHAL_MIB_STATS_EVENTID(id,op,buf,len) \
  3863. 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)
  3864. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_WHAL_MIB_STATS_EVENTID);
  3865. /* PDEV TPC Config Event */
  3866. #define WMITLV_TABLE_WMI_PDEV_TPC_CONFIG_EVENTID(id,op,buf,len) \
  3867. 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) \
  3868. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ratesArray, WMITLV_SIZE_VAR) \
  3869. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tlv_arrays_len_param, ctlPwrTbl_param, WMITLV_SIZE_VAR) \
  3870. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ctlPwrTbl_buf, WMITLV_SIZE_VAR)
  3871. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_TPC_CONFIG_EVENTID);
  3872. /* PDEV DIV RSSI Antenna index Event */
  3873. #define WMITLV_TABLE_WMI_PDEV_DIV_RSSI_ANTID_EVENTID(id,op,buf,len) \
  3874. 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)
  3875. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DIV_RSSI_ANTID_EVENTID);
  3876. /* PDEV BSS CHAN info Event */
  3877. #define WMITLV_TABLE_WMI_PDEV_BSS_CHAN_INFO_EVENTID(id,op,buf,len) \
  3878. 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)
  3879. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_BSS_CHAN_INFO_EVENTID);
  3880. /* PDEV update ctl table Event */
  3881. #define WMITLV_TABLE_WMI_PDEV_UPDATE_CTLTABLE_EVENTID(id,op,buf,len) \
  3882. 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)
  3883. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_CTLTABLE_EVENTID);
  3884. /* VDEV Tx Power Event */
  3885. #define WMITLV_TABLE_WMI_VDEV_GET_TX_POWER_EVENTID(id,op,buf,len) \
  3886. 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)
  3887. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_TX_POWER_EVENTID);
  3888. /* Channel Info Event */
  3889. #define WMITLV_TABLE_WMI_CHAN_INFO_EVENTID(id,op,buf,len) \
  3890. 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)
  3891. WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_INFO_EVENTID);
  3892. /* Phy Error Event */
  3893. #define WMITLV_TABLE_WMI_PHYERR_EVENTID(id,op,buf,len) \
  3894. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_comb_phyerr_rx_hdr, wmi_comb_phyerr_rx_hdr, hdr, WMITLV_SIZE_FIX) \
  3895. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  3896. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_single_phyerr_ext_rx_hdr, single_phyerr_ext, WMITLV_SIZE_VAR)
  3897. WMITLV_CREATE_PARAM_STRUC(WMI_PHYERR_EVENTID);
  3898. /* TX Pause/Unpause event */
  3899. #define WMITLV_TABLE_WMI_TX_PAUSE_EVENTID(id,op,buf,len) \
  3900. 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)
  3901. WMITLV_CREATE_PARAM_STRUC(WMI_TX_PAUSE_EVENTID);
  3902. /* Mgmt TX completion event */
  3903. #define WMITLV_TABLE_WMI_MGMT_TX_COMPLETION_EVENTID(id,op,buf,len) \
  3904. 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) \
  3905. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mgmt_hdr, mgmt_hdr, WMITLV_SIZE_VAR)
  3906. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_TX_COMPLETION_EVENTID);
  3907. /* offchan data TX completion event */
  3908. #define WMITLV_TABLE_WMI_OFFCHAN_DATA_TX_COMPLETION_EVENTID(id,op,buf,len) \
  3909. 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)
  3910. WMITLV_CREATE_PARAM_STRUC(WMI_OFFCHAN_DATA_TX_COMPLETION_EVENTID);
  3911. /* Bundled Mgmt TX completion event */
  3912. #define WMITLV_TABLE_WMI_MGMT_TX_BUNDLE_COMPLETION_EVENTID(id,op,buf,len) \
  3913. 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) \
  3914. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, desc_ids, WMITLV_SIZE_VAR) \
  3915. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, status, WMITLV_SIZE_VAR) \
  3916. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ppdu_id, WMITLV_SIZE_VAR) \
  3917. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ack_rssi, WMITLV_SIZE_VAR) \
  3918. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mgmt_hdr, mgmt_hdr, WMITLV_SIZE_VAR)
  3919. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_TX_BUNDLE_COMPLETION_EVENTID);
  3920. /* VDEV Start response Event */
  3921. #define WMITLV_TABLE_WMI_VDEV_START_RESP_EVENTID(id,op,buf,len) \
  3922. 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)
  3923. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_START_RESP_EVENTID);
  3924. /* VDEV Stopped Event */
  3925. #define WMITLV_TABLE_WMI_VDEV_STOPPED_EVENTID(id,op,buf,len) \
  3926. 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)
  3927. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_STOPPED_EVENTID);
  3928. /* VDEV delete response Event */
  3929. #define WMITLV_TABLE_WMI_VDEV_DELETE_RESP_EVENTID(id,op,buf,len) \
  3930. 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)
  3931. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DELETE_RESP_EVENTID);
  3932. /* VDEV Install Key Complete Event */
  3933. #define WMITLV_TABLE_WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID(id,op,buf,len) \
  3934. 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)
  3935. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID);
  3936. /* Peer STA Kickout Event */
  3937. #define WMITLV_TABLE_WMI_PEER_STA_KICKOUT_EVENTID(id,op,buf,len) \
  3938. 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)
  3939. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STA_KICKOUT_EVENTID);
  3940. /* Management Rx Event */
  3941. #define WMITLV_TABLE_WMI_MGMT_RX_EVENTID(id,op,buf,len) \
  3942. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_rx_hdr, wmi_mgmt_rx_hdr, hdr, WMITLV_SIZE_FIX) \
  3943. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  3944. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rssi_ctl_ext, rssi_ctl_ext, WMITLV_SIZE_VAR)
  3945. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_RX_EVENTID);
  3946. /* TBTT offset Event */
  3947. #define WMITLV_TABLE_WMI_TBTTOFFSET_UPDATE_EVENTID(id,op,buf,len) \
  3948. 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) \
  3949. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tbttoffset_list, WMITLV_SIZE_FIX, WMI_MAX_AP_VDEV) \
  3950. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tbtt_qtime_low_us_list, WMITLV_SIZE_FIX, WMI_MAX_AP_VDEV) \
  3951. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tbtt_qtime_high_us_list, WMITLV_SIZE_FIX, WMI_MAX_AP_VDEV)
  3952. WMITLV_CREATE_PARAM_STRUC(WMI_TBTTOFFSET_UPDATE_EVENTID);
  3953. /* TBTT EXT offset Event */
  3954. #define WMITLV_TABLE_WMI_TBTTOFFSET_EXT_UPDATE_EVENTID(id,op,buf,len) \
  3955. 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) \
  3956. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tbtt_offset_info, tbtt_offset_info, WMITLV_SIZE_VAR)
  3957. WMITLV_CREATE_PARAM_STRUC(WMI_TBTTOFFSET_EXT_UPDATE_EVENTID);
  3958. /* TX DELBA Complete Event */
  3959. #define WMITLV_TABLE_WMI_TX_DELBA_COMPLETE_EVENTID(id,op,buf,len) \
  3960. 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)
  3961. WMITLV_CREATE_PARAM_STRUC(WMI_TX_DELBA_COMPLETE_EVENTID);
  3962. /* Tx ADDBA Complete Event */
  3963. #define WMITLV_TABLE_WMI_TX_ADDBA_COMPLETE_EVENTID(id,op,buf,len) \
  3964. 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)
  3965. WMITLV_CREATE_PARAM_STRUC(WMI_TX_ADDBA_COMPLETE_EVENTID);
  3966. /* ADD BA Req ssn Event */
  3967. #define WMITLV_TABLE_WMI_BA_RSP_SSN_EVENTID(id,op,buf,len) \
  3968. 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) \
  3969. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_ba_event_ssn, ba_event_ssn_list, WMITLV_SIZE_VAR)
  3970. WMITLV_CREATE_PARAM_STRUC(WMI_BA_RSP_SSN_EVENTID);
  3971. /* Aggregation Request event */
  3972. #define WMITLV_TABLE_WMI_AGGR_STATE_TRIG_EVENTID(id,op,buf,len) \
  3973. 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)
  3974. WMITLV_CREATE_PARAM_STRUC(WMI_AGGR_STATE_TRIG_EVENTID);
  3975. /* Roam Event */
  3976. #define WMITLV_TABLE_WMI_ROAM_EVENTID(id,op,buf,len) \
  3977. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_event_fixed_param, wmi_roam_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3978. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, deauth_disassoc_frame, WMITLV_SIZE_VAR) \
  3979. 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) \
  3980. 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)
  3981. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_EVENTID);
  3982. /* Roam Synch Event */
  3983. #define WMITLV_TABLE_WMI_ROAM_SYNCH_EVENTID(id,op,buf,len) \
  3984. 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) \
  3985. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bcn_probe_rsp_frame, WMITLV_SIZE_VAR) \
  3986. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, reassoc_rsp_frame, WMITLV_SIZE_VAR) \
  3987. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX) \
  3988. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_key_material, key, WMITLV_SIZE_VAR) \
  3989. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, status, WMITLV_SIZE_VAR) \
  3990. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, reassoc_req_frame, WMITLV_SIZE_VAR) \
  3991. 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) \
  3992. 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) \
  3993. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_fils_synch_tlv_param, roam_fils_synch_info, WMITLV_SIZE_VAR) \
  3994. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_key_material_ext, key_ext, WMITLV_SIZE_VAR) \
  3995. 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)
  3996. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SYNCH_EVENTID);
  3997. /* Roam Synch frame Event */
  3998. #define WMITLV_TABLE_WMI_ROAM_SYNCH_FRAME_EVENTID(id,op,buf,len) \
  3999. 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) \
  4000. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bcn_probe_rsp_frame, WMITLV_SIZE_VAR) \
  4001. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, reassoc_rsp_frame, WMITLV_SIZE_VAR) \
  4002. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, reassoc_req_frame, WMITLV_SIZE_VAR)
  4003. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SYNCH_FRAME_EVENTID);
  4004. /* WOW Wakeup Host Event */
  4005. /* NOTE: Make sure wow_bitmap_info can be zero or one elements only */
  4006. #define WMITLV_TABLE_WMI_WOW_WAKEUP_HOST_EVENTID(id,op,buf,len) \
  4007. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WOW_EVENT_INFO_fixed_param, WOW_EVENT_INFO_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4008. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_EVENT_INFO_SECTION_BITMAP, wow_bitmap_info, WMITLV_SIZE_VAR) \
  4009. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, wow_packet_buffer, WMITLV_SIZE_VAR) \
  4010. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_hb_ind_event_fixed_param, hb_indevt, WMITLV_SIZE_VAR) \
  4011. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_GTK_OFFLOAD_STATUS_EVENT_fixed_param, wow_gtkigtk, WMITLV_SIZE_VAR) \
  4012. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_oic_ping_handoff_event, wow_oic_ping_handoff, WMITLV_SIZE_VAR) \
  4013. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dhcp_lease_renew_event, wow_dhcp_lease_renew, WMITLV_SIZE_VAR) \
  4014. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_motion_det_event, md_indevt, WMITLV_SIZE_VAR) \
  4015. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_motion_det_base_line_event, bl_indevt, WMITLV_SIZE_VAR)
  4016. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_WAKEUP_HOST_EVENTID);
  4017. #define WMITLV_TABLE_WMI_WOW_INITIAL_WAKEUP_EVENTID(id,op,buf,len) \
  4018. 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)
  4019. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_INITIAL_WAKEUP_EVENTID);
  4020. /* RTT error report Event */
  4021. #define WMITLV_TABLE_WMI_RTT_ERROR_REPORT_EVENTID(id,op,buf,len) \
  4022. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4023. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_ERROR_REPORT_EVENTID);
  4024. /* Echo Event */
  4025. #define WMITLV_TABLE_WMI_ECHO_EVENTID(id,op,buf,len) \
  4026. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_echo_event_fixed_param, wmi_echo_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4027. WMITLV_CREATE_PARAM_STRUC(WMI_ECHO_EVENTID);
  4028. /* FTM Integration Event */
  4029. #define WMITLV_TABLE_WMI_PDEV_FTM_INTG_EVENTID(id,op,buf,len) \
  4030. 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)\
  4031. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4032. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FTM_INTG_EVENTID);
  4033. /* VDEV get Keepalive Event */
  4034. #define WMITLV_TABLE_WMI_VDEV_GET_KEEPALIVE_EVENTID(id,op,buf,len) \
  4035. 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)
  4036. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_KEEPALIVE_EVENTID);
  4037. /** Get TX power Event */
  4038. #define WMITLV_TABLE_WMI_GET_TPC_POWER_EVENTID(id,op,buf,len) \
  4039. 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)
  4040. WMITLV_CREATE_PARAM_STRUC(WMI_GET_TPC_POWER_EVENTID);
  4041. /** Get MU EDCA report param event */
  4042. #define WMITLV_TABLE_WMI_MUEDCA_PARAMS_CONFIG_EVENTID(id,op,buf,len) \
  4043. 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)
  4044. WMITLV_CREATE_PARAM_STRUC(WMI_MUEDCA_PARAMS_CONFIG_EVENTID);
  4045. /* GPIO Input Event */
  4046. #define WMITLV_TABLE_WMI_GPIO_INPUT_EVENTID(id,op,buf,len) \
  4047. 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)
  4048. WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_INPUT_EVENTID);
  4049. /* CSA Handling Event */
  4050. #define WMITLV_TABLE_WMI_CSA_HANDLING_EVENTID(id,op,buf,len)\
  4051. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_csa_event_fixed_param, wmi_csa_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4052. WMITLV_CREATE_PARAM_STRUC(WMI_CSA_HANDLING_EVENTID);
  4053. /* Rfkill state change Event */
  4054. #define WMITLV_TABLE_WMI_RFKILL_STATE_CHANGE_EVENTID(id,op,buf,len)\
  4055. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rfkill_event_fixed_param, wmi_rfkill_mode_param, fixed_param, WMITLV_SIZE_FIX)
  4056. WMITLV_CREATE_PARAM_STRUC(WMI_RFKILL_STATE_CHANGE_EVENTID);
  4057. /* Smart Antenna state change Event */
  4058. #define WMITLV_TABLE_WMI_SMARTANT_STATE_CHANGE_EVENTID(id,op,buf,len)\
  4059. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_smartant_event_fixed_param, wmi_smartant_state_param, fixed_param, WMITLV_SIZE_FIX)
  4060. WMITLV_CREATE_PARAM_STRUC(WMI_SMARTANT_STATE_CHANGE_EVENTID);
  4061. /* Debug Message Event */
  4062. #define WMITLV_TABLE_WMI_DEBUG_MESG_EVENTID(id,op,buf,len)\
  4063. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4064. WMITLV_CREATE_PARAM_STRUC(WMI_DEBUG_MESG_EVENTID);
  4065. #define WMITLV_TABLE_WMI_DEBUG_MESG_FLUSH_COMPLETE_EVENTID(id,op,buf,len)\
  4066. 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) \
  4067. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_debug_mesg_fw_data_stall_param, data_stall, WMITLV_SIZE_VAR)
  4068. WMITLV_CREATE_PARAM_STRUC(WMI_DEBUG_MESG_FLUSH_COMPLETE_EVENTID);
  4069. #define WMITLV_TABLE_WMI_RSSI_BREACH_EVENTID(id,op,buf,len)\
  4070. 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)
  4071. WMITLV_CREATE_PARAM_STRUC(WMI_RSSI_BREACH_EVENTID);
  4072. #define WMITLV_TABLE_WMI_TRANSFER_DATA_TO_FLASH_COMPLETE_EVENTID(id,op,buf,len)\
  4073. 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)
  4074. WMITLV_CREATE_PARAM_STRUC(WMI_TRANSFER_DATA_TO_FLASH_COMPLETE_EVENTID);
  4075. #define WMITLV_TABLE_WMI_READ_DATA_FROM_FLASH_EVENTID(id,op,buf,len) \
  4076. 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) \
  4077. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4078. WMITLV_CREATE_PARAM_STRUC(WMI_READ_DATA_FROM_FLASH_EVENTID);
  4079. /* Diagnostics Event */
  4080. #define WMITLV_TABLE_WMI_DIAG_EVENTID(id,op,buf,len)\
  4081. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4082. WMITLV_CREATE_PARAM_STRUC(WMI_DIAG_EVENTID);
  4083. /* IGTK Offload Event */
  4084. #define WMITLV_TABLE_WMI_GTK_OFFLOAD_STATUS_EVENTID(id,op,buf,len)\
  4085. 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)
  4086. WMITLV_CREATE_PARAM_STRUC(WMI_GTK_OFFLOAD_STATUS_EVENTID);
  4087. /* DCA interferance Event */
  4088. #define WMITLV_TABLE_WMI_DCS_INTERFERENCE_EVENTID(id,op,buf,len) \
  4089. 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) \
  4090. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_dcs_cw_int, cw_int, WMITLV_SIZE_VAR) \
  4091. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_dcs_im_tgt_stats_t, wlan_stat, WMITLV_SIZE_VAR)
  4092. WMITLV_CREATE_PARAM_STRUC(WMI_DCS_INTERFERENCE_EVENTID);
  4093. /* Profile data Event */
  4094. #define WMITLV_TABLE_WMI_WLAN_PROFILE_DATA_EVENTID(id,op,buf,len) \
  4095. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wlan_profile_ctx_t, wmi_wlan_profile_ctx_t, profile_ctx, WMITLV_SIZE_FIX)\
  4096. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_wlan_profile_t, profile_data, WMITLV_SIZE_VAR)
  4097. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_DATA_EVENTID);
  4098. /* PDEV UTF Event */
  4099. #define WMITLV_TABLE_WMI_PDEV_UTF_EVENTID(id,op,buf,len)\
  4100. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4101. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UTF_EVENTID);
  4102. /* Update SCPC calibrated data Event */
  4103. #define WMITLV_TABLE_WMI_PDEV_UTF_SCPC_EVENTID(id,op,buf,len) \
  4104. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_scpc_event_fixed_param, wmi_scpc_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4105. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4106. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UTF_SCPC_EVENTID);
  4107. /* Debug print Event */
  4108. #define WMITLV_TABLE_WMI_DEBUG_PRINT_EVENTID(id,op,buf,len) \
  4109. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4110. WMITLV_CREATE_PARAM_STRUC(WMI_DEBUG_PRINT_EVENTID);
  4111. /* RTT measurement report Event - DEPRECATED */
  4112. #define WMITLV_TABLE_WMI_RTT_MEASUREMENT_REPORT_EVENTID(id,op,buf,len) \
  4113. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4114. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_MEASUREMENT_REPORT_EVENTID);
  4115. /*oem measurement report Event - DEPRECATED */
  4116. #define WMITLV_TABLE_WMI_OEM_MEASUREMENT_REPORT_EVENTID(id,op,buf,len) \
  4117. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4118. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_MEASUREMENT_REPORT_EVENTID);
  4119. /*oem error report event - DEPRECATED */
  4120. #define WMITLV_TABLE_WMI_OEM_ERROR_REPORT_EVENTID(id,op,buf,len) \
  4121. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4122. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_ERROR_REPORT_EVENTID);
  4123. /*oem capability report event - DEPRECATED */
  4124. #define WMITLV_TABLE_WMI_OEM_CAPABILITY_EVENTID(id,op,buf,len) \
  4125. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4126. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_CAPABILITY_EVENTID);
  4127. /*oem response event*/
  4128. #define WMITLV_TABLE_WMI_OEM_RESPONSE_EVENTID(id,op,buf,len) \
  4129. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  4130. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_oem_indirect_data, wmi_oem_indirect_data, indirect_data, WMITLV_SIZE_FIX) \
  4131. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data2, WMITLV_SIZE_VAR)
  4132. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_RESPONSE_EVENTID);
  4133. /* oem dma buffer release event */
  4134. #define WMITLV_TABLE_WMI_OEM_DMA_BUF_RELEASE_EVENTID(id,op,buf,len) \
  4135. 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) \
  4136. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_oem_dma_buf_release_entry, entries, WMITLV_SIZE_VAR)
  4137. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DMA_BUF_RELEASE_EVENTID);
  4138. /* oem data event */
  4139. #define WMITLV_TABLE_WMI_OEM_DATA_EVENTID(id,op, buf,len) \
  4140. 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) \
  4141. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4142. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DATA_EVENTID);
  4143. /* HOST SWBA Event */
  4144. #define WMITLV_TABLE_WMI_HOST_SWBA_EVENTID(id,op,buf,len) \
  4145. 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) \
  4146. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tim_info, tim_info, WMITLV_SIZE_VAR) \
  4147. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_info, p2p_noa_info, WMITLV_SIZE_VAR) \
  4148. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_quiet_offload_info, quiet_offload_info, WMITLV_SIZE_VAR)
  4149. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_SWBA_EVENTID);
  4150. /* HOST SWBA Event v2 */
  4151. #define WMITLV_TABLE_WMI_HOST_SWBA_V2_EVENTID(id,op,buf,len) \
  4152. 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) \
  4153. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tim_info_v2, tim_info, WMITLV_SIZE_VAR) \
  4154. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  4155. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_info, p2p_noa_info, WMITLV_SIZE_VAR)
  4156. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_SWBA_V2_EVENTID);
  4157. /* HOST SWFDA Event requesting host to queue a FILS Discovery frame for transmission */
  4158. #define WMITLV_TABLE_WMI_HOST_SWFDA_EVENTID(id,op,buf,len) \
  4159. 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) \
  4160. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_SWFDA_EVENTID);
  4161. /* Update stats Event */
  4162. #define WMITLV_TABLE_WMI_UPDATE_STATS_EVENTID(id,op,buf,len)\
  4163. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_stats_event_fixed_param, wmi_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  4164. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  4165. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_per_chain_rssi_stats, wmi_per_chain_rssi_stats, chain_stats, WMITLV_SIZE_FIX) \
  4166. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rssi_stats, rssi_stats, WMITLV_SIZE_VAR) \
  4167. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_congestion_stats, congestion_stats, WMITLV_SIZE_VAR) \
  4168. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_extd2_stats, peer_extd2_stats, WMITLV_SIZE_VAR)
  4169. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_STATS_EVENTID);
  4170. /* Update PN response Event */
  4171. #define WMITLV_TABLE_WMI_PEER_TX_PN_RESPONSE_EVENTID(id,op,buf,len)\
  4172. 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)
  4173. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TX_PN_RESPONSE_EVENTID);
  4174. /* For vdev based ht/vht info upload*/
  4175. #define WMITLV_TABLE_WMI_UPDATE_VDEV_RATE_STATS_EVENTID(id,op,buf,len)\
  4176. 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) \
  4177. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_rate_ht_info, ht_info, WMITLV_SIZE_VAR)
  4178. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_VDEV_RATE_STATS_EVENTID);
  4179. /* report rx aggregation failure information */
  4180. #define WMITLV_TABLE_WMI_REPORT_RX_AGGR_FAILURE_EVENTID(id,op,buf,len)\
  4181. 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) \
  4182. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rx_aggr_failure_info, failure_info, WMITLV_SIZE_VAR)
  4183. WMITLV_CREATE_PARAM_STRUC(WMI_REPORT_RX_AGGR_FAILURE_EVENTID);
  4184. /* Update memory dump complete Event */
  4185. #define WMITLV_TABLE_WMI_UPDATE_FW_MEM_DUMP_EVENTID(id,op,buf,len)\
  4186. 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)
  4187. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_FW_MEM_DUMP_EVENTID);
  4188. /* Event indicating the DIAG LOGs/Events supported by FW */
  4189. #define WMITLV_TABLE_WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID(id,op,buf,len) \
  4190. 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) \
  4191. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, diag_events_logs_list, WMITLV_SIZE_VAR)
  4192. WMITLV_CREATE_PARAM_STRUC(WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID);
  4193. /* Update iface link stats Event */
  4194. #define WMITLV_TABLE_WMI_IFACE_LINK_STATS_EVENTID(id,op,buf,len)\
  4195. 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) \
  4196. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_iface_link_stats, iface_link_stats, WMITLV_SIZE_VAR) \
  4197. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_wmm_ac_stats, ac, WMITLV_SIZE_VAR) \
  4198. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_iface_offload_stats, iface_offload_stats, WMITLV_SIZE_VAR)
  4199. WMITLV_CREATE_PARAM_STRUC(WMI_IFACE_LINK_STATS_EVENTID);
  4200. /* Update Peer link stats Event */
  4201. #define WMITLV_TABLE_WMI_PEER_LINK_STATS_EVENTID(id,op,buf,len)\
  4202. 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) \
  4203. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_link_stats, peer_stats, WMITLV_SIZE_VAR) \
  4204. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rate_stats, peer_rate_stats, WMITLV_SIZE_VAR)
  4205. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_LINK_STATS_EVENTID);
  4206. /* Update radio stats Event */
  4207. #define WMITLV_TABLE_WMI_RADIO_LINK_STATS_EVENTID(id,op,buf,len)\
  4208. 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) \
  4209. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_radio_link_stats, radio_stats, WMITLV_SIZE_VAR)\
  4210. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel_stats, channel_stats, WMITLV_SIZE_VAR)
  4211. WMITLV_CREATE_PARAM_STRUC(WMI_RADIO_LINK_STATS_EVENTID);
  4212. /* Update WLM stats event */
  4213. #define WMITLV_TABLE_WMI_WLM_STATS_EVENTID(id,op,buf,len) \
  4214. 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) \
  4215. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, data, WMITLV_SIZE_VAR)
  4216. WMITLV_CREATE_PARAM_STRUC(WMI_WLM_STATS_EVENTID);
  4217. /* PDEV QVIT Event */
  4218. #define WMITLV_TABLE_WMI_PDEV_QVIT_EVENTID(id,op,buf,len)\
  4219. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4220. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_QVIT_EVENTID);
  4221. /* WLAN Frequency avoid Event */
  4222. #define WMITLV_TABLE_WMI_WLAN_FREQ_AVOID_EVENTID(id,op,buf,len)\
  4223. 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) \
  4224. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_avoid_freq_range_desc, avd_freq_range, WMITLV_SIZE_VAR)
  4225. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_FREQ_AVOID_EVENTID);
  4226. /* WLAN SAR LIMITS GET response Event */
  4227. #define WMITLV_TABLE_WMI_SAR_GET_LIMITS_EVENTID(id,op,buf,len)\
  4228. 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) \
  4229. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_sar_get_limit_event_row, sar_get_limits, WMITLV_SIZE_VAR)
  4230. WMITLV_CREATE_PARAM_STRUC(WMI_SAR_GET_LIMITS_EVENTID);
  4231. /* GTK rekey fail Event */
  4232. #define WMITLV_TABLE_WMI_GTK_REKEY_FAIL_EVENTID(id,op,buf,len) \
  4233. 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)
  4234. WMITLV_CREATE_PARAM_STRUC(WMI_GTK_REKEY_FAIL_EVENTID);
  4235. /* NLO match event */
  4236. #define WMITLV_TABLE_WMI_NLO_MATCH_EVENTID(id,op,buf,len) \
  4237. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nlo_event, wmi_nlo_event, fixed_param, WMITLV_SIZE_FIX)
  4238. WMITLV_CREATE_PARAM_STRUC(WMI_NLO_MATCH_EVENTID);
  4239. /* NLO scan complete event */
  4240. #define WMITLV_TABLE_WMI_NLO_SCAN_COMPLETE_EVENTID(id,op,buf,len) \
  4241. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nlo_event, wmi_nlo_event, fixed_param, WMITLV_SIZE_FIX)
  4242. WMITLV_CREATE_PARAM_STRUC(WMI_NLO_SCAN_COMPLETE_EVENTID);
  4243. /* APFIND event */
  4244. #define WMITLV_TABLE_WMI_APFIND_EVENTID(id,op,buf,len) \
  4245. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_apfind_event_hdr, wmi_apfind_event_hdr, hdr, WMITLV_SIZE_FIX) \
  4246. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4247. WMITLV_CREATE_PARAM_STRUC(WMI_APFIND_EVENTID);
  4248. /* WMI_PASSPOINT_MATCH_EVENTID */
  4249. #define WMITLV_TABLE_WMI_PASSPOINT_MATCH_EVENTID(id,op,buf,len) \
  4250. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_passpoint_event_hdr, wmi_passpoint_event_hdr, fixed_param, WMITLV_SIZE_FIX) \
  4251. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4252. WMITLV_CREATE_PARAM_STRUC(WMI_PASSPOINT_MATCH_EVENTID);
  4253. /* Chatter query reply event */
  4254. #define WMITLV_TABLE_WMI_CHATTER_PC_QUERY_EVENTID(id,op,buf,len) \
  4255. 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)
  4256. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_PC_QUERY_EVENTID);
  4257. /* Upload H_CV info event */
  4258. #define WMITLV_TABLE_WMI_UPLOADH_EVENTID(id,op,buf,len) \
  4259. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_upload_h_hdr, wmi_upload_h_hdr, hdr, WMITLV_SIZE_FIX) \
  4260. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4261. WMITLV_CREATE_PARAM_STRUC(WMI_UPLOADH_EVENTID);
  4262. /* Capture H info event */
  4263. #define WMITLV_TABLE_WMI_CAPTUREH_EVENTID(id,op,buf,len) \
  4264. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_capture_h_event_hdr, wmi_capture_h_event_hdr, fixed_param, WMITLV_SIZE_FIX)
  4265. WMITLV_CREATE_PARAM_STRUC(WMI_CAPTUREH_EVENTID);
  4266. /* TDLS Peer Update event */
  4267. #define WMITLV_TABLE_WMI_TDLS_PEER_EVENTID(id,op,buf,len) \
  4268. 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)
  4269. WMITLV_CREATE_PARAM_STRUC(WMI_TDLS_PEER_EVENTID);
  4270. /* VDEV MCC Beacon Interval Change Request Event */
  4271. #define WMITLV_TABLE_WMI_VDEV_MCC_BCN_INTERVAL_CHANGE_REQ_EVENTID(id,op,buf,len) \
  4272. 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)
  4273. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_MCC_BCN_INTERVAL_CHANGE_REQ_EVENTID);
  4274. #define WMITLV_TABLE_WMI_BATCH_SCAN_ENABLED_EVENTID(id,op,buf,len) \
  4275. 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)
  4276. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_ENABLED_EVENTID);
  4277. #define WMITLV_TABLE_WMI_BATCH_SCAN_RESULT_EVENTID(id,op,buf,len) \
  4278. 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) \
  4279. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_ARRAY_STRUC, wmi_batch_scan_result_scan_list, scan_list, WMITLV_SIZE_VAR) \
  4280. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_ARRAY_STRUC, wmi_batch_scan_result_network_info, network_list, WMITLV_SIZE_VAR)
  4281. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_RESULT_EVENTID);
  4282. #define WMITLV_TABLE_WMI_OFFLOAD_BCN_TX_STATUS_EVENTID(id,op,buf,len) \
  4283. 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)
  4284. WMITLV_CREATE_PARAM_STRUC(WMI_OFFLOAD_BCN_TX_STATUS_EVENTID);
  4285. /* NOA Event */
  4286. #define WMITLV_TABLE_WMI_P2P_NOA_EVENTID(id,op,buf,len) \
  4287. 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) \
  4288. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_p2p_noa_info, wmi_p2p_noa_info, p2p_noa_info, WMITLV_SIZE_FIX)
  4289. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_NOA_EVENTID);
  4290. /* AP PS enhanced green ap Event */
  4291. #define WMITLV_TABLE_WMI_AP_PS_EGAP_INFO_EVENTID(id,op,buf,len) \
  4292. 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) \
  4293. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ap_ps_egap_info_chainmask_list, chainmask_list, WMITLV_SIZE_VAR)
  4294. WMITLV_CREATE_PARAM_STRUC(WMI_AP_PS_EGAP_INFO_EVENTID);
  4295. #define WMITLV_TABLE_WMI_PEER_INFO_EVENTID(id,op,buf,len) \
  4296. 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) \
  4297. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_info, peer_info, WMITLV_SIZE_VAR)
  4298. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_INFO_EVENTID);
  4299. #define WMITLV_TABLE_WMI_PEER_ANTDIV_INFO_EVENTID(id,op,buf,len) \
  4300. 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) \
  4301. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_antdiv_info, peer_info, WMITLV_SIZE_VAR)
  4302. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ANTDIV_INFO_EVENTID);
  4303. #define WMITLV_TABLE_WMI_PEER_TX_FAIL_CNT_THR_EVENTID(id,op,buf,len) \
  4304. 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)
  4305. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TX_FAIL_CNT_THR_EVENTID);
  4306. #define WMITLV_TABLE_WMI_PEER_OPER_MODE_CHANGE_EVENTID(id,op,buf,len) \
  4307. 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)
  4308. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_OPER_MODE_CHANGE_EVENTID);
  4309. /* DFS radar Event */
  4310. #define WMITLV_TABLE_WMI_DFS_RADAR_EVENTID(id,op,buf,len) \
  4311. 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)
  4312. WMITLV_CREATE_PARAM_STRUC(WMI_DFS_RADAR_EVENTID);
  4313. #define WMITLV_TABLE_WMI_PDEV_DFS_RADAR_DETECTION_EVENTID(id,op,buf,len) \
  4314. 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)
  4315. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_RADAR_DETECTION_EVENTID);
  4316. #define WMITLV_TABLE_WMI_VDEV_ADFS_OCAC_COMPLETE_EVENTID(id,op,buf,len) \
  4317. 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)
  4318. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADFS_OCAC_COMPLETE_EVENTID);
  4319. #define WMITLV_TABLE_WMI_VDEV_DFS_CAC_COMPLETE_EVENTID(id,op,buf,len) \
  4320. 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)
  4321. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DFS_CAC_COMPLETE_EVENTID);
  4322. /* Thermal Event */
  4323. #define WMITLV_TABLE_WMI_THERMAL_MGMT_EVENTID(id,op,buf,len) \
  4324. 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)
  4325. WMITLV_CREATE_PARAM_STRUC(WMI_THERMAL_MGMT_EVENTID);
  4326. #define WMITLV_TABLE_WMI_OEM_DMA_RING_CFG_RSP_EVENTID(id,op,buf,len) \
  4327. 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)
  4328. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DMA_RING_CFG_RSP_EVENTID)
  4329. /* NAN Response/Indication Event */
  4330. #define WMITLV_TABLE_WMI_NAN_EVENTID(id,op,buf,len) \
  4331. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nan_event_hdr, wmi_nan_event_hdr, fixed_param, WMITLV_SIZE_FIX) \
  4332. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  4333. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_nan_event_info, event_info, WMITLV_SIZE_VAR)
  4334. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_EVENTID);
  4335. /* NAN discovery interface created event */
  4336. #define WMITLV_TABLE_WMI_NAN_DISC_IFACE_CREATED_EVENTID(id,op,buf,len) \
  4337. 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)
  4338. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_DISC_IFACE_CREATED_EVENTID);
  4339. /* NAN discovery interface deleted event */
  4340. #define WMITLV_TABLE_WMI_NAN_DISC_IFACE_DELETED_EVENTID(id,op,buf,len) \
  4341. 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)
  4342. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_DISC_IFACE_DELETED_EVENTID);
  4343. /* NAN device started new cluster event */
  4344. #define WMITLV_TABLE_WMI_NAN_STARTED_CLUSTER_EVENTID(id,op,buf,len) \
  4345. 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)
  4346. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_STARTED_CLUSTER_EVENTID);
  4347. /* NAN device joined to cluster event */
  4348. #define WMITLV_TABLE_WMI_NAN_JOINED_CLUSTER_EVENTID(id,op,buf,len) \
  4349. 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)
  4350. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_JOINED_CLUSTER_EVENTID);
  4351. /* Coex report antenna isolation event */
  4352. #define WMITLV_TABLE_WMI_COEX_REPORT_ANTENNA_ISOLATION_EVENTID(id,op,buf,len) \
  4353. 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)
  4354. WMITLV_CREATE_PARAM_STRUC(WMI_COEX_REPORT_ANTENNA_ISOLATION_EVENTID);
  4355. /* NDP capabilities response event */
  4356. #define WMITLV_TABLE_WMI_NDI_CAP_RSP_EVENTID(id,op,buf,len) \
  4357. 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)
  4358. WMITLV_CREATE_PARAM_STRUC(WMI_NDI_CAP_RSP_EVENTID);
  4359. /* NDP initiator response event */
  4360. #define WMITLV_TABLE_WMI_NDP_INITIATOR_RSP_EVENTID(id,op,buf,len) \
  4361. 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)
  4362. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_INITIATOR_RSP_EVENTID);
  4363. /* NDP responder response event */
  4364. #define WMITLV_TABLE_WMI_NDP_RESPONDER_RSP_EVENTID(id,op,buf,len) \
  4365. 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)
  4366. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_RESPONDER_RSP_EVENTID);
  4367. /** NDP end response event
  4368. *
  4369. * TLV (tag length value ) parameters follow the ndp_end_rsp
  4370. * structure. The TLV's are:
  4371. * wmi_ndp_end_rsp_per_ndi ndp_end_rsp_per_ndi_list[];
  4372. * wmi_active_ndp_instance_id active_ndp_instances_id[];
  4373. */
  4374. #define WMITLV_TABLE_WMI_NDP_END_RSP_EVENTID(id,op,buf,len) \
  4375. 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) \
  4376. 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) \
  4377. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_active_ndp_instance_id_PROTOTYPE, active_ndp_instances_id, WMITLV_SIZE_VAR)
  4378. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_END_RSP_EVENTID);
  4379. /** NDP indication event
  4380. *
  4381. * TLV (tag length value ) parameters follow the ndp_indication
  4382. * structure. The TLV's are:
  4383. * A_UINT8 ndp_cfg[];
  4384. * A_UINT8 ndp_app_info[];
  4385. * wmi_ndp_transport_ip_param ndp_transport_ip_param;
  4386. */
  4387. #define WMITLV_TABLE_WMI_NDP_INDICATION_EVENTID(id,op,buf,len) \
  4388. 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) \
  4389. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_cfg, WMITLV_SIZE_VAR) \
  4390. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_app_info, WMITLV_SIZE_VAR) \
  4391. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_scid, WMITLV_SIZE_VAR) \
  4392. 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)
  4393. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_INDICATION_EVENTID);
  4394. /** NDP confirm event
  4395. * TLV (tag length value ) parameters follow the ndp_confirm
  4396. * structure. The TLV's are:
  4397. * A_UINT8 ndp_cfg[];
  4398. * A_UINT8 ndp_app_info[];
  4399. * wmi_channel ndp_channel_list[];
  4400. * wmi_ndp_transport_ip_param ndp_transport_ip_param;
  4401. */
  4402. #define WMITLV_TABLE_WMI_NDP_CONFIRM_EVENTID(id,op,buf,len) \
  4403. 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) \
  4404. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_cfg, WMITLV_SIZE_VAR) \
  4405. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_app_info, WMITLV_SIZE_VAR) \
  4406. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, ndp_channel_list, WMITLV_SIZE_VAR) \
  4407. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, nss_list, WMITLV_SIZE_VAR) \
  4408. 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) \
  4409. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ndp_channel_info, ndp_channel_info, WMITLV_SIZE_VAR)
  4410. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_CONFIRM_EVENTID);
  4411. /** NDP end indication event
  4412. *
  4413. * TLV (tag length value ) parameters follow the ndp_end_indication
  4414. * structure. The TLV's are:
  4415. * wmi_ndp_end_indication ndp_end_indication_list[];
  4416. */
  4417. #define WMITLV_TABLE_WMI_NDP_END_INDICATION_EVENTID(id,op,buf,len) \
  4418. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ndp_end_indication_PROTOTYPE, ndp_end_indication_list, WMITLV_SIZE_VAR)
  4419. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_END_INDICATION_EVENTID);
  4420. /** NDL schedule update event
  4421. * TLV (tag lenght value ) parameters follow the ndl_schedule_update
  4422. * structure. The TLV's are:
  4423. * A_UINT32 ndp_instance_list[];
  4424. * wmi_channel ndl_channel_list[];
  4425. */
  4426. #define WMITLV_TABLE_WMI_NDL_SCHEDULE_UPDATE_EVENTID(id,op,buf,len) \
  4427. 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) \
  4428. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ndp_instance_list, WMITLV_SIZE_VAR) \
  4429. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, ndl_channel_list, WMITLV_SIZE_VAR) \
  4430. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, nss_list, WMITLV_SIZE_VAR) \
  4431. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ndp_channel_info, ndp_channel_info, WMITLV_SIZE_VAR)
  4432. WMITLV_CREATE_PARAM_STRUC(WMI_NDL_SCHEDULE_UPDATE_EVENTID);
  4433. /* NDP Event */
  4434. #define WMITLV_TABLE_WMI_NDP_EVENTID(id,op,buf,len) \
  4435. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_event_param, wmi_ndp_event_param, fixed_param, WMITLV_SIZE_FIX)
  4436. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_EVENTID);
  4437. /* Update RCPI Info Event */
  4438. #define WMITLV_TABLE_WMI_UPDATE_RCPI_EVENTID(id,op,buf,len) \
  4439. 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)
  4440. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_RCPI_EVENTID);
  4441. /* L1SS track Event */
  4442. #define WMITLV_TABLE_WMI_PDEV_L1SS_TRACK_EVENTID(id,op,buf,len) \
  4443. 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)
  4444. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_L1SS_TRACK_EVENTID);
  4445. #define WMITLV_TABLE_WMI_DIAG_DATA_CONTAINER_EVENTID(id,op,buf,len) \
  4446. 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) \
  4447. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4448. WMITLV_CREATE_PARAM_STRUC(WMI_DIAG_DATA_CONTAINER_EVENTID);
  4449. /* Estimated Link Speed Indication*/
  4450. #define WMITLV_TABLE_WMI_PEER_ESTIMATED_LINKSPEED_EVENTID(id,op,buf,len) \
  4451. 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)
  4452. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ESTIMATED_LINKSPEED_EVENTID);
  4453. /* NAN Response/Indication Event */
  4454. #define WMITLV_TABLE_WMI_STATS_EXT_EVENTID(id,op,buf,len) \
  4455. 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) \
  4456. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4457. WMITLV_CREATE_PARAM_STRUC(WMI_STATS_EXT_EVENTID);
  4458. #define WMITLV_TABLE_WMI_OFFLOAD_PROB_RESP_TX_STATUS_EVENTID(id,op,buf,len) \
  4459. 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)
  4460. WMITLV_CREATE_PARAM_STRUC(WMI_OFFLOAD_PROB_RESP_TX_STATUS_EVENTID);
  4461. /* host auto shut down event */
  4462. #define WMITLV_TABLE_WMI_HOST_AUTO_SHUTDOWN_EVENTID(id,op,buf,len) \
  4463. 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)
  4464. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_AUTO_SHUTDOWN_EVENTID);
  4465. /* peer state Event */
  4466. #define WMITLV_TABLE_WMI_PEER_STATE_EVENTID(id,op,buf,len) \
  4467. 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)
  4468. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STATE_EVENTID);
  4469. /* peer delete response Event */
  4470. #define WMITLV_TABLE_WMI_PEER_DELETE_RESP_EVENTID(id,op,buf,len) \
  4471. 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)
  4472. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_DELETE_RESP_EVENTID);
  4473. /* delete all peer response Event */
  4474. #define WMITLV_TABLE_WMI_VDEV_DELETE_ALL_PEER_RESP_EVENTID(id,op,buf,len) \
  4475. 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)
  4476. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DELETE_ALL_PEER_RESP_EVENTID);
  4477. /* peer assoc conf Event */
  4478. #define WMITLV_TABLE_WMI_PEER_ASSOC_CONF_EVENTID(id,op,buf,len) \
  4479. 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)
  4480. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ASSOC_CONF_EVENTID);
  4481. /* peer create conf Event */
  4482. #define WMITLV_TABLE_WMI_PEER_CREATE_CONF_EVENTID(id,op,buf,len) \
  4483. 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)
  4484. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CREATE_CONF_EVENTID);
  4485. /* D0-WOW Disable Ack event */
  4486. #define WMITLV_TABLE_WMI_D0_WOW_DISABLE_ACK_EVENTID(id,op,buf,len) \
  4487. 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)
  4488. WMITLV_CREATE_PARAM_STRUC(WMI_D0_WOW_DISABLE_ACK_EVENTID);
  4489. /* Pdev get chip temperature event */
  4490. #define WMITLV_TABLE_WMI_PDEV_TEMPERATURE_EVENTID(id,op,buf,len) \
  4491. 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)
  4492. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_TEMPERATURE_EVENTID);
  4493. /* Pdev get ANT DIV feature status event */
  4494. #define WMITLV_TABLE_WMI_PDEV_ANTDIV_STATUS_EVENTID(id,op,buf,len) \
  4495. 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)
  4496. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_ANTDIV_STATUS_EVENTID);
  4497. /* mDNS offload stats event */
  4498. #define WMITLV_TABLE_WMI_MDNS_STATS_EVENTID(id,op,buf,len) \
  4499. 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)
  4500. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_STATS_EVENTID);
  4501. /* pdev resume event */
  4502. #define WMITLV_TABLE_WMI_PDEV_RESUME_EVENTID(id,op,buf,len) \
  4503. 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)
  4504. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_RESUME_EVENTID);
  4505. /* SAP Authentication offload event */
  4506. #define WMITLV_TABLE_WMI_SAP_OFL_ADD_STA_EVENTID(id,op,buf,len) \
  4507. 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) \
  4508. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4509. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OFL_ADD_STA_EVENTID);
  4510. #define WMITLV_TABLE_WMI_SAP_OFL_DEL_STA_EVENTID(id,op,buf,len) \
  4511. 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)
  4512. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OFL_DEL_STA_EVENTID);
  4513. /* SAP OBSS detection offload event */
  4514. #define WMITLV_TABLE_WMI_SAP_OBSS_DETECTION_REPORT_EVENTID(id,op,buf,len) \
  4515. 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)
  4516. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OBSS_DETECTION_REPORT_EVENTID);
  4517. /* OBSS Color collision detection event */
  4518. #define WMITLV_TABLE_WMI_OBSS_COLOR_COLLISION_DETECTION_EVENTID(id,op,buf,len) \
  4519. 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)
  4520. WMITLV_CREATE_PARAM_STRUC(WMI_OBSS_COLOR_COLLISION_DETECTION_EVENTID);
  4521. /* Set OCB schedule event, DEPRECATED */
  4522. #define WMITLV_TABLE_WMI_OCB_SET_SCHED_EVENTID(id,op,buf,len) \
  4523. 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)
  4524. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_SCHED_EVENTID);
  4525. /* Set OCB configuration response event */
  4526. #define WMITLV_TABLE_WMI_OCB_SET_CONFIG_RESP_EVENTID(id,op,buf,len) \
  4527. 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)
  4528. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_CONFIG_RESP_EVENTID);
  4529. /* Get TSF timer response event */
  4530. #define WMITLV_TABLE_WMI_OCB_GET_TSF_TIMER_RESP_EVENTID(id,op,buf,len) \
  4531. 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)
  4532. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_GET_TSF_TIMER_RESP_EVENTID);
  4533. /* Get DCC stats response event */
  4534. #define WMITLV_TABLE_WMI_DCC_GET_STATS_RESP_EVENTID(id,op,buf,len) \
  4535. 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) \
  4536. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_stats_per_channel, stats_per_channel_list, WMITLV_SIZE_VAR)
  4537. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_GET_STATS_RESP_EVENTID);
  4538. /* Update DCC NDL response event */
  4539. #define WMITLV_TABLE_WMI_DCC_UPDATE_NDL_RESP_EVENTID(id,op,buf,len) \
  4540. 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)
  4541. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_UPDATE_NDL_RESP_EVENTID);
  4542. /* DCC stats event */
  4543. #define WMITLV_TABLE_WMI_DCC_STATS_EVENTID(id,op,buf,len) \
  4544. 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) \
  4545. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_stats_per_channel, stats_per_channel_list, WMITLV_SIZE_VAR)
  4546. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_STATS_EVENTID);
  4547. /* Read TSF timer response event */
  4548. #define WMITLV_TABLE_WMI_VDEV_TSF_REPORT_EVENTID(id,op,buf,len) \
  4549. 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)
  4550. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_TSF_REPORT_EVENTID);
  4551. /* Vdev capabilities IE to be transmitted in mgmt frames */
  4552. #define WMITLV_TABLE_WMI_VDEV_SET_IE_CMDID(id,op,buf,len) \
  4553. 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) \
  4554. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4555. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_IE_CMDID);
  4556. /* SOC Set Hardware Mode Response event - DEPRECATED */
  4557. #define WMITLV_TABLE_WMI_SOC_SET_HW_MODE_RESP_EVENTID(id,op,buf,len) \
  4558. 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) \
  4559. 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)
  4560. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_HW_MODE_RESP_EVENTID);
  4561. /* PDEV Set Hardware Mode Response event */
  4562. #define WMITLV_TABLE_WMI_PDEV_SET_HW_MODE_RESP_EVENTID(id,op,buf,len) \
  4563. 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) \
  4564. 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)
  4565. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_HW_MODE_RESP_EVENTID);
  4566. /* SOC Hardware Mode Transition event - DEPRECATED */
  4567. #define WMITLV_TABLE_WMI_SOC_HW_MODE_TRANSITION_EVENTID(id,op,buf,len) \
  4568. 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) \
  4569. 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)
  4570. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_HW_MODE_TRANSITION_EVENTID);
  4571. /* PDEV Hardware Mode Transition event */
  4572. #define WMITLV_TABLE_WMI_PDEV_HW_MODE_TRANSITION_EVENTID(id,op,buf,len) \
  4573. 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) \
  4574. 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)
  4575. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_HW_MODE_TRANSITION_EVENTID);
  4576. /* SOC Set Dual MAC Config Response event - DEPRECATED */
  4577. #define WMITLV_TABLE_WMI_SOC_SET_DUAL_MAC_CONFIG_RESP_EVENTID(id,op,buf,len) \
  4578. 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)
  4579. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_DUAL_MAC_CONFIG_RESP_EVENTID);
  4580. /* PDEV Set Dual MAC Config Response event */
  4581. #define WMITLV_TABLE_WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID(id,op,buf,len) \
  4582. 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)
  4583. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID);
  4584. /* Packet Filter configure command*/
  4585. #define WMITLV_TABLE_WMI_PACKET_FILTER_CONFIG_CMDID(id,op,buf,len) \
  4586. 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)
  4587. WMITLV_CREATE_PARAM_STRUC(WMI_PACKET_FILTER_CONFIG_CMDID);
  4588. /* Packet Filter enable command*/
  4589. #define WMITLV_TABLE_WMI_PACKET_FILTER_ENABLE_CMDID(id,op,buf,len) \
  4590. 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)
  4591. WMITLV_CREATE_PARAM_STRUC(WMI_PACKET_FILTER_ENABLE_CMDID);
  4592. /* MAWC enable/disable sensor event */
  4593. #define WMITLV_TABLE_WMI_MAWC_ENABLE_SENSOR_EVENTID(id,op,buf,len) \
  4594. 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)
  4595. WMITLV_CREATE_PARAM_STRUC(WMI_MAWC_ENABLE_SENSOR_EVENTID);
  4596. /* SMPS force mode complete Event */
  4597. #define WMITLV_TABLE_WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID(id,op,buf,len) \
  4598. 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)
  4599. WMITLV_CREATE_PARAM_STRUC(WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID);
  4600. /* bpf offload capability info event */
  4601. #define WMITLV_TABLE_WMI_BPF_CAPABILIY_INFO_EVENTID(id,op,buf,len) \
  4602. 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)
  4603. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_CAPABILIY_INFO_EVENTID);
  4604. /* bpf offload vdev status info event */
  4605. #define WMITLV_TABLE_WMI_BPF_VDEV_STATS_INFO_EVENTID(id,op,buf,len) \
  4606. 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)
  4607. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_VDEV_STATS_INFO_EVENTID);
  4608. /* bpf offload vdev get work memory event */
  4609. #define WMITLV_TABLE_WMI_BPF_GET_VDEV_WORK_MEMORY_RESP_EVENTID(id,op,buf,len) \
  4610. 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) \
  4611. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4612. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_GET_VDEV_WORK_MEMORY_RESP_EVENTID);
  4613. /* Indicate new country code to host from 11d scan */
  4614. #define WMITLV_TABLE_WMI_11D_NEW_COUNTRY_EVENTID(id,op,buf,len) \
  4615. 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)
  4616. WMITLV_CREATE_PARAM_STRUC(WMI_11D_NEW_COUNTRY_EVENTID);
  4617. /* Regulatory channel list of current country code */
  4618. #define WMITLV_TABLE_WMI_REG_CHAN_LIST_CC_EVENTID(id,op,buf,len) \
  4619. 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) \
  4620. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_regulatory_rule_struct, reg_rule_array, WMITLV_SIZE_VAR)
  4621. WMITLV_CREATE_PARAM_STRUC(WMI_REG_CHAN_LIST_CC_EVENTID);
  4622. /* FIPS event */
  4623. #define WMITLV_TABLE_WMI_PDEV_FIPS_EVENTID(id,op,buf,len) \
  4624. 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) \
  4625. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4626. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FIPS_EVENTID);
  4627. #define WMITLV_TABLE_WMI_PDEV_CHANNEL_HOPPING_EVENTID(id,op,buf,len) \
  4628. 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)
  4629. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHANNEL_HOPPING_EVENTID);
  4630. #define WMITLV_TABLE_WMI_PDEV_ANI_CCK_LEVEL_EVENTID(id,op,buf,len) \
  4631. 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)
  4632. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_ANI_CCK_LEVEL_EVENTID);
  4633. #define WMITLV_TABLE_WMI_PDEV_CHIP_POWER_SAVE_FAILURE_DETECTED_EVENTID(id,op,buf,len) \
  4634. 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)
  4635. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHIP_POWER_SAVE_FAILURE_DETECTED_EVENTID);
  4636. #define WMITLV_TABLE_WMI_PDEV_CHIP_POWER_STATS_EVENTID(id,op,buf,len) \
  4637. 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) \
  4638. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, debug_registers, WMITLV_SIZE_VAR)
  4639. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHIP_POWER_STATS_EVENTID);
  4640. #define WMITLV_TABLE_WMI_VDEV_BCN_RECEPTION_STATS_EVENTID(id,op,buf,len) \
  4641. 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)
  4642. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_BCN_RECEPTION_STATS_EVENTID);
  4643. /* WLAN GET mws coex state */
  4644. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_STATE_EVENTID(id,op,buf,len) \
  4645. 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)
  4646. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_STATE_EVENTID);
  4647. /* WLAN GET Dynamic power back-off state */
  4648. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_DPWB_STATE_EVENTID(id,op,buf,len) \
  4649. 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)
  4650. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_DPWB_STATE_EVENTID);
  4651. /* WLAN GET TDM state */
  4652. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_TDM_STATE_EVENTID(id,op,buf,len) \
  4653. 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)
  4654. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_TDM_STATE_EVENTID);
  4655. /* WLAN GET Idrx state */
  4656. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_IDRX_STATE_EVENTID(id,op,buf,len) \
  4657. 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)
  4658. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_IDRX_STATE_EVENTID);
  4659. /* WLAN GET antenna sharing state */
  4660. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_ANTENNA_SHARING_STATE_EVENTID(id,op,buf,len) \
  4661. 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)
  4662. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_ANTENNA_SHARING_STATE_EVENTID);
  4663. #define WMITLV_TABLE_WMI_PDEV_ANI_OFDM_LEVEL_EVENTID(id,op,buf,len) \
  4664. 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)
  4665. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_ANI_OFDM_LEVEL_EVENTID);
  4666. #define WMITLV_TABLE_WMI_PDEV_TPC_EVENTID(id,op,buf,len) \
  4667. 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)\
  4668. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tpc, WMITLV_SIZE_VAR)
  4669. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_TPC_EVENTID);
  4670. #define WMITLV_TABLE_WMI_PDEV_NFCAL_POWER_ALL_CHANNELS_EVENTID(id,op,buf,len) \
  4671. 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) \
  4672. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_nfcal_power_all_channels_nfdBr, nfdbr, WMITLV_SIZE_VAR) \
  4673. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_nfcal_power_all_channels_nfdBm, nfdbm, WMITLV_SIZE_VAR) \
  4674. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_nfcal_power_all_channels_freqNum, freqnum, WMITLV_SIZE_VAR)
  4675. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_NFCAL_POWER_ALL_CHANNELS_EVENTID);
  4676. #define WMITLV_TABLE_WMI_PEER_RATECODE_LIST_EVENTID(id,op,buf,len) \
  4677. 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) \
  4678. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_cck_ofdm_rate_info, ratecode_legacy, WMITLV_SIZE_VAR) \
  4679. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_mcs_rate_info, ratecode_mcs, WMITLV_SIZE_VAR)
  4680. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_RATECODE_LIST_EVENTID);
  4681. #define WMITLV_TABLE_WMI_WDS_PEER_EVENTID(id,op,buf,len) \
  4682. 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)
  4683. WMITLV_CREATE_PARAM_STRUC(WMI_WDS_PEER_EVENTID);
  4684. #define WMITLV_TABLE_WMI_PEER_STA_PS_STATECHG_EVENTID(id,op,buf,len) \
  4685. 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)
  4686. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STA_PS_STATECHG_EVENTID);
  4687. #define WMITLV_TABLE_WMI_INST_RSSI_STATS_EVENTID(id,op,buf,len) \
  4688. 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)
  4689. WMITLV_CREATE_PARAM_STRUC(WMI_INST_RSSI_STATS_EVENTID);
  4690. #define WMITLV_TABLE_WMI_RADIO_TX_POWER_LEVEL_STATS_EVENTID(id,op,buf,len) \
  4691. 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) \
  4692. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_time_per_power_level, WMITLV_SIZE_VAR)
  4693. WMITLV_CREATE_PARAM_STRUC(WMI_RADIO_TX_POWER_LEVEL_STATS_EVENTID);
  4694. #define WMITLV_TABLE_WMI_RMC_NEW_LEADER_EVENTID(id, op, buf, len) \
  4695. 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)
  4696. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_NEW_LEADER_EVENTID);
  4697. #define WMITLV_TABLE_WMI_VDEV_AUDIO_SYNC_START_STOP_EVENTID(id, op, buf, len) \
  4698. 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)
  4699. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_AUDIO_SYNC_START_STOP_EVENTID);
  4700. #define WMITLV_TABLE_WMI_VDEV_AUDIO_SYNC_Q_MASTER_SLAVE_OFFSET_EVENTID(id, op, buf, len) \
  4701. 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) \
  4702. 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)
  4703. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_AUDIO_SYNC_Q_MASTER_SLAVE_OFFSET_EVENTID);
  4704. /* Layout of WMI_REPORT_STATS_EVENTID message:
  4705. * fixed_param;
  4706. * wmi_chan_cca_stats chan_cca_stats[]; Array length is specified by num_chan_cca_stats
  4707. * wmi_peer_signal_stats peer_signal_stats[]; Array length is specified by num_peer_signal_stats
  4708. * wmi_peer_ac_tx_stats peer_ac_tx_stats[]; Array length is specified by num_peer_ac_tx_stats
  4709. * 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)
  4710. * A_UINT32 tx_mpdu_aggr[][][]; Array length is num_peer_ac_tx_stats * WLAN_MAX_AC * tx_mpdu_aggr_array_len,
  4711. * array index is (peer_index * WLAN_MAX_AC + ac_index) * tx_mpdu_aggr_array_len + A-MPDU size index
  4712. * Contains a histogram of how many A-MPDUs of a given size (i.e. number of MPDUs) have been transmitted.
  4713. * Element 0 contains the number of PPDUs with a single-MPDU A-MPDU.
  4714. * Element 1 contains the number of PPDUs with 2 MPDUs.
  4715. * Element 2 contains the number of PPDUs with 3 MPDUs.
  4716. * Element tx_mpdu_aggr_array_len-1 contains the number of PPDUs with >= tx_mpdu_aggr_array_len MPDUs.
  4717. * A_UINT32 tx_succ_mcs[][][]; Array length is num_peer_ac_tx_stats * WLAN_MAX_AC * tx_succ_mcs_array_len,
  4718. * array index is (peer_index * WLAN_MAX_AC + ac_index) * tx_succ_mcs_array_len + MCS index
  4719. * Contains a count of how many tx PPDUs have been acked for each MCS of each AC of each peer.
  4720. * A_UINT32 tx_fail_mcs[][][]; Array length is num_peer_ac_tx_stats * WLAN_MAX_AC * tx_fail_mcs_array_len,
  4721. * array index is (peer_index * WLAN_MAX_AC + ac_index) * tx_fail_mcs_array_len + MCS index
  4722. * Contains a count of how many PPDUs failed tx due to no ack for each MCS of each AC of each peer.
  4723. * A_UINT32 tx_ppdu_delay[][][]; Array length is num_peer_ac_tx_stats * WLAN_MAX_AC * tx_ppdu_delay_array_len,
  4724. * array index is (peer_index * WLAN_MAX_AC + ac_index) * tx_ppdu_delay_array_len + delay index
  4725. * Contains a histogram of how many PPDUs encountered each level of delay due to retries or air interface contention.
  4726. * The time represented by each array element (i.e. histogram bin) is specified by tx_ppdu_delay_bin_size_ms.
  4727. * Element 0 contains the count of PPDUs delayed by less than tx_ppdu_delay_bin_size_ms.
  4728. * Element 1 contains the count of PPDUs delayed by more than 1x tx_ppdu_delay_bin_size_ms but less than 2x.
  4729. * Element tx_ppdu_delay_array_len-1 contains the count of PPDUs delayed by
  4730. * >= tx_ppdu_delay_bin_size_ms * (tx_ppdu_delay_array_len-1)
  4731. * wmi_peer_ac_rx_stats peer_ac_rx_stats[]; Array length is specified by num_peer_ac_rx_stats
  4732. * 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)
  4733. * A_UINT32 rx_mpdu_aggr[][][]; Array length is num_peer_ac_rx_stats * WLAN_MAX_AC * rx_mpdu_aggr_array_len,
  4734. * array index is (peer_index * WLAN_MAX_AC + ac_index) * rx_mpdu_aggr_array_len + A-MPDU size index
  4735. * Contains a histogram of how many A-MPDUs of a given size (i.e. number of MPDUs) have been received.
  4736. * Element 0 contains the number of PPDUs with a single MPDU.
  4737. * Element 1 contains the number of PPDUs with 2 MPDUs.
  4738. * Element 2 contains the number of PPDUs with 3 MPDUs.
  4739. * Element rx_mpdu_aggr_array_len-1 contains the number of PPDUs with >= rx_mpdu_aggr_array_len MPDUs.
  4740. * A_UINT32 rx_mcs[][][]; Array length is (num_peer_ac_rx_stats * WLAN_MAX_AC) * rx_mcs_array_len,
  4741. * array index is (peer_index * WLAN_MAX_AC + ac_index) * rx_mcs_array_len + MCS index
  4742. * Contains a count of rx PPDUs for each MCS of each AC of each peer.
  4743. * wmi_stats_period stats_period[]; Array length is specified by stats_period_array_len
  4744. * 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.
  4745. *
  4746. * For example, if there were 2 peers (X and Y) whose stats were being reported,
  4747. * the message and its TLV arrays would look like this:
  4748. * 1. fixed_param
  4749. * 2. chan_cca_stats[0]
  4750. * 3. peer_signal_stats[0] for peer X
  4751. * 4. peer_signal_stats[1] for peer Y
  4752. * 5. peer_ac_tx_stats[0] for X
  4753. * 6. peer_ac_tx_stats[1] for Y
  4754. * 7. tx_stats[0][0] for peer X, AC 0
  4755. * 8. tx_stats[0][1] for peer X, AC 1
  4756. * 9. tx_stats[0][2] for peer X, AC 2
  4757. * 10. tx_stats[0][3] for peer X, AC 3
  4758. * 11. tx_stats[1][0] for peer Y, AC 0
  4759. * 12 tx_stats[1][1] for peer Y, AC 1
  4760. * 13. tx_stats[1][2] for peer Y, AC 2
  4761. * 14. tx_stats[1][3] for peer Y, AC 3
  4762. * 15. tx_mpdu_aggr[0][0][] for peer X, AC 0
  4763. * 16. tx_mpdu_aggr[0][1][] for peer X, AC 1
  4764. * 17. tx_mpdu_aggr[0][2][] for peer X, AC 2
  4765. * 18. tx_mpdu_aggr[0][3][] for peer X, AC 3
  4766. * 19. tx_mpdu_aggr[1][0][] for peer Y, AC 0
  4767. * 20. tx_mpdu_aggr[1][1][] for peer Y, AC 1
  4768. * 21. tx_mpdu_aggr[1][2][] for peer Y, AC 2
  4769. * 22. tx_mpdu_aggr[1][3][] for peer Y, AC 3
  4770. * 23. tx_succ_mcs[0][0][] for peer X, AC 0
  4771. * 24. tx_succ_mcs[0][1][] for peer X, AC 1
  4772. * 25. tx_succ_mcs[0][2][] for peer X, AC 2
  4773. * 26. tx_succ_mcs[0][3][] for peer X, AC 3
  4774. * 27. tx_succ_mcs[1][0][] for peer Y, AC 0
  4775. * 28. tx_succ_mcs[1][1][] for peer Y, AC 1
  4776. * 29. tx_succ_mcs[1][2][] for peer Y, AC 2
  4777. * 30. tx_succ_mcs[1][3][] for peer Y, AC 3
  4778. * 31. tx_fail_mcs[0][0][] for peer X, AC 0
  4779. * 32. tx_fail_mcs[0][1][] for peer X, AC 1
  4780. * 33. tx_fail_mcs[0][2][] for peer X, AC 2
  4781. * 34. tx_fail_mcs[0][3][] for peer X, AC 3
  4782. * 35. tx_fail_mcs[1][0][] for peer Y, AC 0
  4783. * 36. tx_fail_mcs[1][1][] for peer Y, AC 1
  4784. * 37. tx_fail_mcs[1][2][] for peer Y, AC 2
  4785. * 38. tx_fail_mcs[1][3][] for peer Y, AC 3
  4786. * 39. tx_ppdu_delay[0][0][] for peer X, AC 0
  4787. * 40. tx_ppdu_delay[0][1][] for peer X, AC 1
  4788. * 41. tx_ppdu_delay[0][2][] for peer X, AC 2
  4789. * 42. tx_ppdu_delay[0][3][] for peer X, AC 3
  4790. * 43. tx_ppdu_delay[1][0][] for peer Y, AC 0
  4791. * 44. tx_ppdu_delay[1][1][] for peer Y, AC 1
  4792. * 45. tx_ppdu_delay[1][2][] for peer Y, AC 2
  4793. * 46. tx_ppdu_delay[1][3][] for peer Y, AC 3
  4794. * 47. peer_ac_rx_stats[0] for X
  4795. * 48. peer_ac_rx_stats[1] for Y
  4796. * 49. rx_stats[0][0] for peer X, AC 0
  4797. * 50. rx_stats[0][1] for peer X, AC 1
  4798. * 51. rx_stats[0][2] for peer X, AC 2
  4799. * 52. rx_stats[0][3] for peer X, AC 3
  4800. * 53. rx_stats[1][0] for peer Y, AC 0
  4801. * 54. rx_stats[1][1] for peer Y, AC 1
  4802. * 55. rx_stats[1][2] for peer Y, AC 2
  4803. * 56. rx_stats[1][3] for peer Y, AC 3
  4804. * 57. rx_mpdu_aggr[0][0][] for peer X, AC 0
  4805. * 58. rx_mpdu_aggr[0][1][] for peer X, AC 1
  4806. * 59. rx_mpdu_aggr[0][2][] for peer X, AC 2
  4807. * 60. rx_mpdu_aggr[0][3][] for peer X, AC 3
  4808. * 61. rx_mpdu_aggr[1][0][] for peer Y, AC 0
  4809. * 62. rx_mpdu_aggr[1][1][] for peer Y, AC 1
  4810. * 63. rx_mpdu_aggr[1][2][] for peer Y, AC 2
  4811. * 64. rx_mpdu_aggr[1][3][] for peer Y, AC 3
  4812. * 65. rx_mcs[0][0][] for peer X, AC 0
  4813. * 66. rx_mcs[0][1][] for peer X, AC 1
  4814. * 67. rx_mcs[0][2][] for peer X, AC 2
  4815. * 68. rx_mcs[0][3][] for peer X, AC 3
  4816. * 69. rx_mcs[1][0][] for peer Y, AC 0
  4817. * 70. rx_mcs[1][1][] for peer Y, AC 1
  4818. * 71. rx_mcs[1][2][] for peer Y, AC 2
  4819. * 72. rx_mcs[1][3][] for peer Y, AC 3
  4820. **/
  4821. #define WMITLV_TABLE_WMI_REPORT_STATS_EVENTID(id, op, buf, len) \
  4822. 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) \
  4823. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_chan_cca_stats, chan_cca_stats, WMITLV_SIZE_VAR) \
  4824. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_signal_stats, peer_signal_stats, WMITLV_SIZE_VAR) \
  4825. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_ac_tx_stats, peer_ac_tx_stats, WMITLV_SIZE_VAR) \
  4826. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tx_stats, tx_stats, WMITLV_SIZE_VAR) \
  4827. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_mpdu_aggr, WMITLV_SIZE_VAR) \
  4828. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_succ_mcs, WMITLV_SIZE_VAR) \
  4829. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_fail_mcs, WMITLV_SIZE_VAR) \
  4830. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_ppdu_delay, WMITLV_SIZE_VAR) \
  4831. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_ac_rx_stats, peer_ac_rx_stats, WMITLV_SIZE_VAR) \
  4832. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rx_stats, rx_stats, WMITLV_SIZE_VAR) \
  4833. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, rx_mpdu_aggr, WMITLV_SIZE_VAR) \
  4834. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, rx_mcs, WMITLV_SIZE_VAR) \
  4835. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_stats_period, stats_period, WMITLV_SIZE_VAR) \
  4836. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_stats_interference, stats_interference, WMITLV_SIZE_VAR)
  4837. WMITLV_CREATE_PARAM_STRUC(WMI_REPORT_STATS_EVENTID);
  4838. #define WMITLV_TABLE_WMI_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENTID(id, op, buf, len) \
  4839. 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) \
  4840. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, enc80211_frame, WMITLV_SIZE_VAR)
  4841. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENTID);
  4842. #define WMITLV_TABLE_WMI_PEER_STATS_INFO_EVENTID(id, op, buf, len) \
  4843. 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) \
  4844. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_stats_info, peer_stats_info, WMITLV_SIZE_VAR)
  4845. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STATS_INFO_EVENTID);
  4846. #define WMITLV_TABLE_WMI_RADIO_CHAN_STATS_EVENTID(id, op, buf, len) \
  4847. 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) \
  4848. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_radio_chan_stats, radio_chan_stats, WMITLV_SIZE_VAR)
  4849. WMITLV_CREATE_PARAM_STRUC(WMI_RADIO_CHAN_STATS_EVENTID);
  4850. #define WMITLV_TABLE_WMI_PKGID_EVENTID(id, op, buf, len) \
  4851. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_pkgid_event_fixed_param, wmi_pkgid_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4852. WMITLV_CREATE_PARAM_STRUC(WMI_PKGID_EVENTID);
  4853. /* mac randomization event */
  4854. #define WMITLV_TABLE_WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENTID(id,op,buf,len) \
  4855. 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)
  4856. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENTID);
  4857. #define WMITLV_TABLE_WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID(id,op,buf,len) \
  4858. 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) \
  4859. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids, WMITLV_SIZE_VAR)
  4860. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID);
  4861. #define WMITLV_TABLE_WMI_PDEV_CSC_SWITCH_COUNT_STATUS_EVENTID(id,op,buf,len) \
  4862. 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) \
  4863. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_csc_vdev_list, vdev_info, WMITLV_SIZE_VAR)
  4864. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CSC_SWITCH_COUNT_STATUS_EVENTID);
  4865. /* cal version response event */
  4866. #define WMITLV_TABLE_WMI_PDEV_CHECK_CAL_VERSION_EVENTID(id,op,buf,len) \
  4867. 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)
  4868. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHECK_CAL_VERSION_EVENTID);
  4869. /* ARP stats response event */
  4870. #define WMITLV_TABLE_WMI_VDEV_GET_ARP_STAT_EVENTID(id,op,buf,len) \
  4871. 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) \
  4872. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_get_connectivity_check_stats, connectivity_check_stats, WMITLV_SIZE_VAR)
  4873. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_ARP_STAT_EVENTID);
  4874. /* Coex BT activity response event */
  4875. #define WMITLV_TABLE_WMI_WLAN_COEX_BT_ACTIVITY_EVENTID(id,op,buf,len) \
  4876. 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)
  4877. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_COEX_BT_ACTIVITY_EVENTID);
  4878. /* Thermal Throttling stats event */
  4879. #define WMITLV_TABLE_WMI_THERM_THROT_STATS_EVENTID(id,op,buf,len) \
  4880. 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) \
  4881. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_therm_throt_level_stats_info, therm_throt_level_stats_info, WMITLV_SIZE_VAR)
  4882. WMITLV_CREATE_PARAM_STRUC(WMI_THERM_THROT_STATS_EVENTID);
  4883. #define WMITLV_TABLE_WMI_PDEV_DMA_RING_CFG_RSP_EVENTID(id,op,buf,len) \
  4884. 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)
  4885. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DMA_RING_CFG_RSP_EVENTID);
  4886. /* dma buffer release event */
  4887. #define WMITLV_TABLE_WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID(id,op,buf,len) \
  4888. 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) \
  4889. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dma_buf_release_entry, entries, WMITLV_SIZE_VAR) \
  4890. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dma_buf_release_spectral_meta_data, meta_data, WMITLV_SIZE_VAR)
  4891. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID);
  4892. /* ctl failsafe check event */
  4893. #define WMITLV_TABLE_WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID(id,op,buf,len) \
  4894. 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)
  4895. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID);
  4896. /* UNIT-TEST Event */
  4897. #define WMITLV_TABLE_WMI_UNIT_TEST_EVENTID(id,op,buf,len) \
  4898. 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) \
  4899. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4900. WMITLV_CREATE_PARAM_STRUC(WMI_UNIT_TEST_EVENTID);
  4901. /* enabling TWT complete Event */
  4902. #define WMITLV_TABLE_WMI_TWT_ENABLE_COMPLETE_EVENTID(id,op,buf,len) \
  4903. 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)
  4904. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_ENABLE_COMPLETE_EVENTID);
  4905. /* disabling TWT complete Event */
  4906. #define WMITLV_TABLE_WMI_TWT_DISABLE_COMPLETE_EVENTID(id,op,buf,len) \
  4907. 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)
  4908. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_DISABLE_COMPLETE_EVENTID);
  4909. /* adding TWT dialog complete Event */
  4910. #define WMITLV_TABLE_WMI_TWT_ADD_DIALOG_COMPLETE_EVENTID(id,op,buf,len) \
  4911. 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)
  4912. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_ADD_DIALOG_COMPLETE_EVENTID);
  4913. /* deleting TWT dialog complete Event */
  4914. #define WMITLV_TABLE_WMI_TWT_DEL_DIALOG_COMPLETE_EVENTID(id,op,buf,len) \
  4915. 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)
  4916. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_DEL_DIALOG_COMPLETE_EVENTID);
  4917. /* pausing TWT dialog complete Event */
  4918. #define WMITLV_TABLE_WMI_TWT_PAUSE_DIALOG_COMPLETE_EVENTID(id,op,buf,len) \
  4919. 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)
  4920. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_PAUSE_DIALOG_COMPLETE_EVENTID);
  4921. /* resuming TWT dialog complete Event */
  4922. #define WMITLV_TABLE_WMI_TWT_RESUME_DIALOG_COMPLETE_EVENTID(id,op,buf,len) \
  4923. 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)
  4924. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_RESUME_DIALOG_COMPLETE_EVENTID);
  4925. /* inviting STA to B-TWT dialog complete Event */
  4926. #define WMITLV_TABLE_WMI_TWT_BTWT_INVITE_STA_COMPLETE_EVENTID(id,op,buf,len) \
  4927. 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)
  4928. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_BTWT_INVITE_STA_COMPLETE_EVENTID);
  4929. /* removing STA from B-TWT dialog complete Event */
  4930. #define WMITLV_TABLE_WMI_TWT_BTWT_REMOVE_STA_COMPLETE_EVENTID(id,op,buf,len) \
  4931. 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)
  4932. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_BTWT_REMOVE_STA_COMPLETE_EVENTID);
  4933. /* Event to send roam scan stats */
  4934. #define WMITLV_TABLE_WMI_ROAM_SCAN_STATS_EVENTID(id,op,buf,len) \
  4935. 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) \
  4936. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, client_id, WMITLV_SIZE_VAR) \
  4937. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_roaming_timestamp, timestamp, WMITLV_SIZE_VAR) \
  4938. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, num_channels, WMITLV_SIZE_VAR) \
  4939. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, chan_info, WMITLV_SIZE_VAR) \
  4940. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, old_bssid, WMITLV_SIZE_VAR) \
  4941. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, is_roaming_success, WMITLV_SIZE_VAR) \
  4942. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, new_bssid, WMITLV_SIZE_VAR) \
  4943. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, num_roam_candidates, WMITLV_SIZE_VAR) \
  4944. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_roam_scan_trigger_reason, roam_reason, WMITLV_SIZE_VAR) \
  4945. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid, WMITLV_SIZE_VAR) \
  4946. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, score, WMITLV_SIZE_VAR) \
  4947. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel, WMITLV_SIZE_VAR) \
  4948. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, rssi, WMITLV_SIZE_VAR)
  4949. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_STATS_EVENTID);
  4950. /* Motion detection events */
  4951. #define WMITLV_TABLE_WMI_MOTION_DET_HOST_EVENTID(id,op,buf,len) \
  4952. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_motion_det_event, wmi_motion_det_event, fixed_param, WMITLV_SIZE_FIX)
  4953. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_HOST_EVENTID);
  4954. #define WMITLV_TABLE_WMI_MOTION_DET_BASE_LINE_HOST_EVENTID(id,op,buf,len) \
  4955. 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)
  4956. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_BASE_LINE_HOST_EVENTID);
  4957. #define WMITLV_TABLE_WMI_ESP_ESTIMATE_EVENTID(id,op,buf,len) \
  4958. 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)
  4959. WMITLV_CREATE_PARAM_STRUC(WMI_ESP_ESTIMATE_EVENTID);
  4960. /* Peer CFR capture event */
  4961. #define WMITLV_TABLE_WMI_PEER_CFR_CAPTURE_EVENTID(id,op,buf,len) \
  4962. 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) \
  4963. 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)
  4964. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CFR_CAPTURE_EVENTID);
  4965. #define WMITLV_TABLE_WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID(id,op,buf,len) \
  4966. 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) \
  4967. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4968. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID);
  4969. /* rogue ap info event */
  4970. #define WMITLV_TABLE_WMI_PDEV_RAP_INFO_EVENTID(id,op,buf,len) \
  4971. 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)
  4972. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_RAP_INFO_EVENTID);
  4973. /* Offload TX mgmt frames */
  4974. #define WMITLV_TABLE_WMI_VDEV_MGMT_OFFLOAD_EVENTID(id,op,buf,len) \
  4975. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_hdr, wmi_mgmt_hdr, fixed_param, WMITLV_SIZE_FIX) \
  4976. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4977. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_MGMT_OFFLOAD_EVENTID);
  4978. /* get ELNA BYPASS status event */
  4979. #define WMITLV_TABLE_WMI_GET_ELNA_BYPASS_EVENTID(id,op,buf,len) \
  4980. 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)
  4981. WMITLV_CREATE_PARAM_STRUC(WMI_GET_ELNA_BYPASS_EVENTID);
  4982. /* channel ANI event */
  4983. #define WMITLV_TABLE_WMI_GET_CHANNEL_ANI_EVENTID(id,op,buf,len) \
  4984. 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) \
  4985. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel_ani_info_tlv_param, ani_info, WMITLV_SIZE_VAR)
  4986. WMITLV_CREATE_PARAM_STRUC(WMI_GET_CHANNEL_ANI_EVENTID);
  4987. /* Multiple Vdev Restart response event */
  4988. #define WMITLV_TABLE_WMI_PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENTID(id,op,buf,len) \
  4989. 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) \
  4990. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids_bitmap, WMITLV_SIZE_VAR)
  4991. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENTID);
  4992. /* Roam scan channel list event */
  4993. #define WMITLV_TABLE_WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID(id,op,buf,len) \
  4994. 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) \
  4995. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR)
  4996. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID);
  4997. /* VDEV_SEND_BIG_DATA_EVENT IS DEPRECATED - DO NOT USE */
  4998. #define WMITLV_TABLE_WMI_VDEV_SEND_BIG_DATA_EVENTID(id,op,buf,len) \
  4999. 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)
  5000. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SEND_BIG_DATA_EVENTID);
  5001. /* send BIG DATA event to host P2 */
  5002. #define WMITLV_TABLE_WMI_VDEV_SEND_BIG_DATA_P2_EVENTID(id,op,buf,len) \
  5003. 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) \
  5004. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, bd_datapath_stats, WMITLV_SIZE_VAR)
  5005. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SEND_BIG_DATA_P2_EVENTID);
  5006. #define WMITLV_TABLE_WMI_NAN_DMESG_EVENTID(id,op,buf,len) \
  5007. 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) \
  5008. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, msg, WMITLV_SIZE_VAR)
  5009. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_DMESG_EVENTID);
  5010. /* report soundbar statistics event to host */
  5011. #define WMITLV_TABLE_WMI_AUDIO_AGGR_REPORT_STATISTICS_EVENTID(id,op,buf,len) \
  5012. 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) \
  5013. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_audio_aggr_group_stats, group_stats, WMITLV_SIZE_VAR) \
  5014. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_audio_aggr_peer_stats, peer_stats, WMITLV_SIZE_VAR)
  5015. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_REPORT_STATISTICS_EVENTID);
  5016. /* Send sscan fw params to host */
  5017. #define WMITLV_TABLE_WMI_PDEV_SSCAN_FW_PARAM_EVENTID(id,op,buf,len) \
  5018. 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) \
  5019. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_sscan_fft_bin_index, fft_bin_index, WMITLV_SIZE_VAR)
  5020. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SSCAN_FW_PARAM_EVENTID);
  5021. #ifdef __cplusplus
  5022. }
  5023. #endif
  5024. #endif /*_WMI_TLV_DEFS_H_*/