wmi_tlv_defs.h 334 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580
  1. /*
  2. * Copyright (c) 2010-2019 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_ID;
  997. /*
  998. * IMPORTANT: Please add _ALL_ WMI Commands Here.
  999. * Otherwise, these WMI TLV Functions will be process them.
  1000. */
  1001. #define WMITLV_ALL_CMD_LIST(OP) \
  1002. OP(WMI_INIT_CMDID) \
  1003. OP(WMI_PEER_CREATE_CMDID) \
  1004. OP(WMI_PEER_DELETE_CMDID) \
  1005. OP(WMI_PEER_FLUSH_TIDS_CMDID) \
  1006. OP(WMI_PEER_SET_PARAM_CMDID) \
  1007. OP(WMI_STA_POWERSAVE_MODE_CMDID) \
  1008. OP(WMI_STA_POWERSAVE_PARAM_CMDID) \
  1009. OP(WMI_STA_TDCC_CONFIG_CMDID) \
  1010. OP(WMI_STA_DTIM_PS_METHOD_CMDID) \
  1011. OP(WMI_PDEV_SET_REGDOMAIN_CMDID) \
  1012. OP(WMI_PEER_TID_ADDBA_CMDID) \
  1013. OP(WMI_PEER_TID_DELBA_CMDID) \
  1014. OP(WMI_PDEV_FTM_INTG_CMDID) \
  1015. OP(WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID) \
  1016. OP(WMI_WOW_ENABLE_CMDID) \
  1017. OP(WMI_RMV_BCN_FILTER_CMDID) \
  1018. OP(WMI_ROAM_SCAN_MODE) \
  1019. OP(WMI_ROAM_SCAN_RSSI_THRESHOLD) \
  1020. OP(WMI_ROAM_SCAN_PERIOD) \
  1021. OP(WMI_ROAM_SCAN_RSSI_CHANGE_THRESHOLD) \
  1022. OP(WMI_START_SCAN_CMDID) \
  1023. OP(WMI_VDEV_PLMREQ_START_CMDID) \
  1024. OP(WMI_VDEV_PLMREQ_STOP_CMDID) \
  1025. OP(WMI_PDEV_SET_CHANNEL_CMDID) \
  1026. OP(WMI_PDEV_SET_WMM_PARAMS_CMDID) \
  1027. OP(WMI_VDEV_START_REQUEST_CMDID) \
  1028. OP(WMI_VDEV_RESTART_REQUEST_CMDID) \
  1029. OP(WMI_P2P_GO_SET_BEACON_IE) \
  1030. OP(WMI_GTK_OFFLOAD_CMDID) \
  1031. OP(WMI_SCAN_CHAN_LIST_CMDID) \
  1032. OP(WMI_STA_UAPSD_AUTO_TRIG_CMDID) \
  1033. OP(WMI_PRB_TMPL_CMDID) \
  1034. OP(WMI_BCN_TMPL_CMDID) \
  1035. OP(WMI_VDEV_INSTALL_KEY_CMDID) \
  1036. OP(WMI_PEER_ASSOC_CMDID) \
  1037. OP(WMI_ADD_BCN_FILTER_CMDID) \
  1038. OP(WMI_STA_KEEPALIVE_CMDID) \
  1039. OP(WMI_SET_ARP_NS_OFFLOAD_CMDID) \
  1040. OP(WMI_P2P_SET_VENDOR_IE_DATA_CMDID) \
  1041. OP(WMI_AP_PS_PEER_PARAM_CMDID) \
  1042. OP(WMI_WLAN_PROFILE_TRIGGER_CMDID) \
  1043. OP(WMI_WLAN_PROFILE_SET_HIST_INTVL_CMDID) \
  1044. OP(WMI_WLAN_PROFILE_GET_PROFILE_DATA_CMDID) \
  1045. OP(WMI_WLAN_PROFILE_ENABLE_PROFILE_ID_CMDID) \
  1046. OP(WMI_WOW_DEL_WAKE_PATTERN_CMDID) \
  1047. OP(WMI_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID) \
  1048. OP(WMI_RTT_MEASREQ_CMDID) \
  1049. OP(WMI_RTT_TSF_CMDID) \
  1050. OP(WMI_OEM_REQ_CMDID) \
  1051. OP(WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID) \
  1052. OP(WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID) \
  1053. OP(WMI_REQUEST_STATS_CMDID) \
  1054. OP(WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID) \
  1055. OP(WMI_CSA_OFFLOAD_ENABLE_CMDID) \
  1056. OP(WMI_CSA_OFFLOAD_CHANSWITCH_CMDID) \
  1057. OP(WMI_CHATTER_SET_MODE_CMDID) \
  1058. OP(WMI_ECHO_CMDID) \
  1059. OP(WMI_PDEV_UTF_CMDID) \
  1060. OP(WMI_PDEV_QVIT_CMDID) \
  1061. OP(WMI_VDEV_SET_KEEPALIVE_CMDID) \
  1062. OP(WMI_VDEV_GET_KEEPALIVE_CMDID) \
  1063. OP(WMI_FORCE_FW_HANG_CMDID) \
  1064. OP(WMI_GPIO_CONFIG_CMDID) \
  1065. OP(WMI_GPIO_OUTPUT_CMDID) \
  1066. OP(WMI_PEER_ADD_WDS_ENTRY_CMDID) \
  1067. OP(WMI_PEER_REMOVE_WDS_ENTRY_CMDID) \
  1068. OP(WMI_BCN_TX_CMDID) \
  1069. OP(WMI_PDEV_SEND_BCN_CMDID) \
  1070. OP(WMI_MGMT_TX_CMDID) \
  1071. OP(WMI_ADDBA_CLEAR_RESP_CMDID) \
  1072. OP(WMI_ADDBA_SEND_CMDID) \
  1073. OP(WMI_DELBA_SEND_CMDID) \
  1074. OP(WMI_ADDBA_SET_RESP_CMDID) \
  1075. OP(WMI_SEND_SINGLEAMSDU_CMDID) \
  1076. OP(WMI_PDEV_PKTLOG_ENABLE_CMDID) \
  1077. OP(WMI_PDEV_PKTLOG_DISABLE_CMDID) \
  1078. OP(WMI_PDEV_SET_HT_CAP_IE_CMDID) \
  1079. OP(WMI_PDEV_SET_VHT_CAP_IE_CMDID) \
  1080. OP(WMI_PDEV_SET_DSCP_TID_MAP_CMDID) \
  1081. OP(WMI_PDEV_GREEN_AP_PS_ENABLE_CMDID) \
  1082. OP(WMI_PDEV_GET_TPC_CONFIG_CMDID) \
  1083. OP(WMI_PDEV_SET_BASE_MACADDR_CMDID) \
  1084. OP(WMI_PEER_MCAST_GROUP_CMDID) \
  1085. OP(WMI_ROAM_AP_PROFILE) \
  1086. OP(WMI_SCAN_SCH_PRIO_TBL_CMDID) \
  1087. OP(WMI_PDEV_DFS_ENABLE_CMDID) \
  1088. OP(WMI_PDEV_DFS_DISABLE_CMDID) \
  1089. OP(WMI_WOW_ADD_WAKE_PATTERN_CMDID) \
  1090. OP(WMI_PDEV_SUSPEND_CMDID) \
  1091. OP(WMI_PDEV_RESUME_CMDID) \
  1092. OP(WMI_STOP_SCAN_CMDID) \
  1093. OP(WMI_PDEV_SET_PARAM_CMDID) \
  1094. OP(WMI_PDEV_SET_QUIET_MODE_CMDID) \
  1095. OP(WMI_VDEV_CREATE_CMDID) \
  1096. OP(WMI_VDEV_DELETE_CMDID) \
  1097. OP(WMI_VDEV_UP_CMDID) \
  1098. OP(WMI_VDEV_STOP_CMDID) \
  1099. OP(WMI_VDEV_DOWN_CMDID) \
  1100. OP(WMI_VDEV_SET_PARAM_CMDID) \
  1101. OP(WMI_SCAN_UPDATE_REQUEST_CMDID) \
  1102. OP(WMI_CHATTER_ADD_COALESCING_FILTER_CMDID) \
  1103. OP(WMI_CHATTER_DELETE_COALESCING_FILTER_CMDID) \
  1104. OP(WMI_CHATTER_COALESCING_QUERY_CMDID) \
  1105. OP(WMI_TXBF_CMDID) \
  1106. OP(WMI_DBGLOG_CFG_CMDID) \
  1107. OP(WMI_VDEV_WNM_SLEEPMODE_CMDID) \
  1108. OP(WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMDID) \
  1109. OP(WMI_VDEV_WMM_ADDTS_CMDID) \
  1110. OP(WMI_VDEV_WMM_DELTS_CMDID) \
  1111. OP(WMI_VDEV_SET_WMM_PARAMS_CMDID) \
  1112. OP(WMI_VDEV_SET_GTX_PARAMS_CMDID) \
  1113. OP(WMI_TDLS_SET_STATE_CMDID) \
  1114. OP(WMI_TDLS_PEER_UPDATE_CMDID) \
  1115. OP(WMI_FWTEST_VDEV_MCC_SET_TBTT_MODE_CMDID) \
  1116. OP(WMI_ROAM_CHAN_LIST) \
  1117. OP(WMI_RESMGR_ADAPTIVE_OCS_ENABLE_DISABLE_CMDID)\
  1118. OP(WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID) \
  1119. OP(WMI_RESMGR_SET_CHAN_LATENCY_CMDID) \
  1120. OP(WMI_BA_REQ_SSN_CMDID) \
  1121. OP(WMI_STA_SMPS_FORCE_MODE_CMDID) \
  1122. OP(WMI_SET_MCASTBCAST_FILTER_CMDID) \
  1123. OP(WMI_P2P_SET_OPPPS_PARAM_CMDID) \
  1124. OP(WMI_FWTEST_P2P_SET_NOA_PARAM_CMDID) \
  1125. OP(WMI_STA_SMPS_PARAM_CMDID) \
  1126. OP(WMI_MCC_SCHED_TRAFFIC_STATS_CMDID) \
  1127. OP(WMI_HB_SET_ENABLE_CMDID) \
  1128. OP(WMI_HB_SET_TCP_PARAMS_CMDID) \
  1129. OP(WMI_HB_SET_TCP_PKT_FILTER_CMDID) \
  1130. OP(WMI_HB_SET_UDP_PARAMS_CMDID) \
  1131. OP(WMI_HB_SET_UDP_PKT_FILTER_CMDID) \
  1132. OP(WMI_PEER_INFO_REQ_CMDID) \
  1133. OP(WMI_RMC_SET_MODE_CMDID) \
  1134. OP(WMI_RMC_SET_ACTION_PERIOD_CMDID) \
  1135. OP(WMI_RMC_CONFIG_CMDID) \
  1136. OP(WMI_MHF_OFFLOAD_SET_MODE_CMDID) \
  1137. OP(WMI_MHF_OFFLOAD_PLUMB_ROUTING_TBL_CMDID) \
  1138. OP(WMI_DFS_PHYERR_FILTER_ENA_CMDID) \
  1139. OP(WMI_DFS_PHYERR_FILTER_DIS_CMDID) \
  1140. OP(WMI_BATCH_SCAN_ENABLE_CMDID) \
  1141. OP(WMI_BATCH_SCAN_DISABLE_CMDID) \
  1142. OP(WMI_BATCH_SCAN_TRIGGER_RESULT_CMDID)\
  1143. OP(WMI_THERMAL_MGMT_CMDID)\
  1144. OP(WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMDID)\
  1145. OP(WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMDID) \
  1146. OP(WMI_NAN_CMDID) \
  1147. OP(WMI_MODEM_POWER_STATE_CMDID) \
  1148. OP(WMI_PEER_GET_ESTIMATED_LINKSPEED_CMDID) \
  1149. OP(WMI_ROAM_SCAN_CMD) \
  1150. OP(WMI_REQUEST_STATS_EXT_CMDID) \
  1151. OP(WMI_OBSS_SCAN_ENABLE_CMDID) \
  1152. OP(WMI_OBSS_SCAN_DISABLE_CMDID) \
  1153. OP(WMI_PDEV_SET_LED_CONFIG_CMDID) \
  1154. OP(WMI_HOST_AUTO_SHUTDOWN_CFG_CMDID) \
  1155. OP(WMI_TPC_CHAINMASK_CONFIG_CMDID) \
  1156. OP(WMI_CHAN_AVOID_UPDATE_CMDID) \
  1157. OP(WMI_WOW_IOAC_ADD_KEEPALIVE_CMDID) \
  1158. OP(WMI_WOW_IOAC_DEL_KEEPALIVE_CMDID) \
  1159. OP(WMI_WOW_IOAC_ADD_WAKE_PATTERN_CMDID) \
  1160. OP(WMI_WOW_IOAC_DEL_WAKE_PATTERN_CMDID) \
  1161. OP(WMI_REQUEST_LINK_STATS_CMDID) \
  1162. OP(WMI_START_LINK_STATS_CMDID) \
  1163. OP(WMI_CLEAR_LINK_STATS_CMDID) \
  1164. OP(WMI_LPI_MGMT_SNOOPING_CONFIG_CMDID) \
  1165. OP(WMI_LPI_START_SCAN_CMDID) \
  1166. OP(WMI_LPI_STOP_SCAN_CMDID) \
  1167. OP(WMI_EXTSCAN_START_CMDID) \
  1168. OP(WMI_EXTSCAN_STOP_CMDID) \
  1169. OP(WMI_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMDID) \
  1170. OP(WMI_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMDID) \
  1171. OP(WMI_EXTSCAN_GET_CACHED_RESULTS_CMDID) \
  1172. OP(WMI_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMDID) \
  1173. OP(WMI_EXTSCAN_SET_CAPABILITIES_CMDID) \
  1174. OP(WMI_EXTSCAN_GET_CAPABILITIES_CMDID) \
  1175. OP(WMI_EXTSCAN_CONFIGURE_HOTLIST_SSID_MONITOR_CMDID) \
  1176. OP(WMI_D0_WOW_ENABLE_DISABLE_CMDID) \
  1177. OP(WMI_UNIT_TEST_CMDID) \
  1178. OP(WMI_ROAM_SYNCH_COMPLETE) \
  1179. OP(WMI_EXTWOW_ENABLE_CMDID) \
  1180. OP(WMI_EXTWOW_SET_APP_TYPE1_PARAMS_CMDID) \
  1181. OP(WMI_EXTWOW_SET_APP_TYPE2_PARAMS_CMDID) \
  1182. OP(WMI_ROAM_SET_RIC_REQUEST_CMDID) \
  1183. OP(WMI_PDEV_GET_TEMPERATURE_CMDID) \
  1184. OP(WMI_SET_DHCP_SERVER_OFFLOAD_CMDID) \
  1185. OP(WMI_IPA_OFFLOAD_ENABLE_DISABLE_CMDID)\
  1186. OP(WMI_SCAN_PROB_REQ_OUI_CMDID) \
  1187. OP(WMI_TDLS_SET_OFFCHAN_MODE_CMDID)\
  1188. OP(WMI_PDEV_SET_LED_FLASHING_CMDID) \
  1189. OP(WMI_ROAM_INVOKE_CMDID) \
  1190. OP(WMI_MDNS_OFFLOAD_ENABLE_CMDID) \
  1191. OP(WMI_MDNS_SET_FQDN_CMDID) \
  1192. OP(WMI_MDNS_SET_RESPONSE_CMDID) \
  1193. OP(WMI_MDNS_GET_STATS_CMDID) \
  1194. OP(WMI_SET_ANTENNA_DIVERSITY_CMDID) \
  1195. OP(WMI_SAP_OFL_ENABLE_CMDID) \
  1196. OP(WMI_APFIND_CMDID) \
  1197. OP(WMI_OCB_SET_SCHED_CMDID) \
  1198. OP(WMI_OCB_SET_CONFIG_CMDID) \
  1199. OP(WMI_OCB_SET_UTC_TIME_CMDID) \
  1200. OP(WMI_OCB_START_TIMING_ADVERT_CMDID) \
  1201. OP(WMI_OCB_STOP_TIMING_ADVERT_CMDID) \
  1202. OP(WMI_OCB_GET_TSF_TIMER_CMDID) \
  1203. OP(WMI_DCC_GET_STATS_CMDID) \
  1204. OP(WMI_DCC_CLEAR_STATS_CMDID) \
  1205. OP(WMI_DCC_UPDATE_NDL_CMDID) \
  1206. OP(WMI_ROAM_FILTER_CMDID) \
  1207. OP(WMI_PASSPOINT_LIST_CONFIG_CMDID) \
  1208. OP(WMI_VDEV_TSF_TSTAMP_ACTION_CMDID) \
  1209. OP(WMI_GET_FW_MEM_DUMP_CMDID) \
  1210. OP(WMI_DEBUG_MESG_FLUSH_CMDID) \
  1211. OP(WMI_PEER_SET_RATE_REPORT_CONDITION_CMDID) \
  1212. OP(WMI_ROAM_SUBNET_CHANGE_CONFIG_CMDID) \
  1213. OP(WMI_VDEV_SET_IE_CMDID) \
  1214. OP(WMI_RSSI_BREACH_MONITOR_CONFIG_CMDID) \
  1215. OP(WMI_SOC_SET_PCL_CMDID) \
  1216. OP(WMI_SOC_SET_HW_MODE_CMDID) \
  1217. OP(WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID) \
  1218. OP(WMI_WOW_ENABLE_ICMPV6_NA_FLT_CMDID) \
  1219. OP(WMI_DIAG_EVENT_LOG_CONFIG_CMDID) \
  1220. OP(WMI_PACKET_FILTER_CONFIG_CMDID) \
  1221. OP(WMI_PACKET_FILTER_ENABLE_CMDID) \
  1222. OP(WMI_SAP_SET_BLACKLIST_PARAM_CMDID) \
  1223. OP(WMI_MGMT_TX_SEND_CMDID) \
  1224. OP(WMI_SOC_SET_ANTENNA_MODE_CMDID) \
  1225. OP(WMI_WOW_UDP_SVC_OFLD_CMDID) \
  1226. OP(WMI_LRO_CONFIG_CMDID) \
  1227. OP(WMI_MAWC_SENSOR_REPORT_IND_CMDID) \
  1228. OP(WMI_ROAM_CONFIGURE_MAWC_CMDID) \
  1229. OP(WMI_NLO_CONFIGURE_MAWC_CMDID) \
  1230. OP(WMI_EXTSCAN_CONFIGURE_MAWC_CMDID) \
  1231. OP(WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMDID) \
  1232. OP(WMI_AP_PS_EGAP_PARAM_CMDID) \
  1233. OP(WMI_PMF_OFFLOAD_SET_SA_QUERY_CMDID) \
  1234. OP(WMI_TRANSFER_DATA_TO_FLASH_CMDID) \
  1235. OP(WMI_OEM_REQUEST_CMDID) \
  1236. OP(WMI_BPF_GET_CAPABILITY_CMDID) \
  1237. OP(WMI_BPF_GET_VDEV_STATS_CMDID) \
  1238. OP(WMI_BPF_SET_VDEV_INSTRUCTIONS_CMDID) \
  1239. OP(WMI_BPF_DEL_VDEV_INSTRUCTIONS_CMDID) \
  1240. OP(WMI_PEER_UPDATE_WDS_ENTRY_CMDID) \
  1241. OP(WMI_PEER_ADD_PROXY_STA_ENTRY_CMDID) \
  1242. OP(WMI_PDEV_FIPS_CMDID) \
  1243. OP(WMI_PDEV_SMART_ANT_ENABLE_CMDID) \
  1244. OP(WMI_PDEV_SMART_ANT_SET_RX_ANTENNA_CMDID) \
  1245. OP(WMI_PDEV_SET_ANTENNA_SWITCH_TABLE_CMDID) \
  1246. OP(WMI_PDEV_SET_CTL_TABLE_CMDID) \
  1247. OP(WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID) \
  1248. OP(WMI_PDEV_GET_TPC_CMDID) \
  1249. OP(WMI_PDEV_GET_ANI_CCK_CONFIG_CMDID) \
  1250. OP(WMI_PDEV_GET_ANI_OFDM_CONFIG_CMDID) \
  1251. OP(WMI_VDEV_RATEMASK_CMDID) \
  1252. OP(WMI_VDEV_ATF_REQUEST_CMDID) \
  1253. OP(WMI_VDEV_SET_DSCP_TID_MAP_CMDID) \
  1254. OP(WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID) \
  1255. OP(WMI_PEER_SMART_ANT_SET_TX_ANTENNA_CMDID) \
  1256. OP(WMI_PEER_SMART_ANT_SET_TRAIN_INFO_CMDID) \
  1257. OP(WMI_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMDID) \
  1258. OP(WMI_PEER_ATF_REQUEST_CMDID) \
  1259. OP(WMI_FWTEST_CMDID) \
  1260. OP(WMI_QBOOST_CFG_CMDID) \
  1261. OP(WMI_ROAM_SET_MBO_PARAM_CMDID) \
  1262. OP(WMI_MIB_STATS_ENABLE_CMDID) \
  1263. OP(WMI_NDI_GET_CAP_REQ_CMDID) \
  1264. OP(WMI_NDP_INITIATOR_REQ_CMDID) \
  1265. OP(WMI_NDP_RESPONDER_REQ_CMDID) \
  1266. OP(WMI_NDP_END_REQ_CMDID) \
  1267. OP(WMI_PDEV_SET_PCL_CMDID) \
  1268. OP(WMI_PDEV_SET_HW_MODE_CMDID) \
  1269. OP(WMI_PDEV_SET_MAC_CONFIG_CMDID) \
  1270. OP(WMI_PDEV_SET_ANTENNA_MODE_CMDID) \
  1271. OP(WMI_VDEV_SET_QUIET_MODE_CMDID) \
  1272. OP(WMI_COEX_CONFIG_CMDID) \
  1273. OP(WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID) \
  1274. OP(WMI_CHAN_AVOID_RPT_ALLOW_CMDID) \
  1275. OP(WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID) \
  1276. OP(WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID) \
  1277. OP(WMI_PDEV_WAL_POWER_DEBUG_CMDID) \
  1278. OP(WMI_VDEV_WISA_CMDID) \
  1279. OP(WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID) \
  1280. OP(WMI_WOW_SET_ACTION_WAKE_UP_CMDID) \
  1281. OP(WMI_PEER_BWF_REQUEST_CMDID) \
  1282. OP(WMI_DBGLOG_TIME_STAMP_SYNC_CMDID) \
  1283. OP(WMI_RMC_SET_MANUAL_LEADER_CMDID) \
  1284. OP(WMI_P2P_LISTEN_OFFLOAD_START_CMDID) \
  1285. OP(WMI_P2P_LISTEN_OFFLOAD_STOP_CMDID) \
  1286. OP(WMI_PEER_REORDER_QUEUE_SETUP_CMDID) \
  1287. OP(WMI_PEER_REORDER_QUEUE_REMOVE_CMDID) \
  1288. OP(WMI_SET_MULTIPLE_MCAST_FILTER_CMDID) \
  1289. OP(WMI_READ_DATA_FROM_FLASH_CMDID) \
  1290. OP(WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID) \
  1291. OP(WMI_PEER_SET_RX_BLOCKSIZE_CMDID) \
  1292. OP(WMI_PDEV_SET_WAKEUP_CONFIG_CMDID) \
  1293. OP(WMI_PEER_ANTDIV_INFO_REQ_CMDID) \
  1294. OP(WMI_PDEV_GET_ANTDIV_STATUS_CMDID) \
  1295. OP(WMI_MNT_FILTER_CMDID) \
  1296. OP(WMI_PDEV_GET_CHIP_POWER_STATS_CMDID) \
  1297. OP(WMI_COEX_GET_ANTENNA_ISOLATION_CMDID) \
  1298. OP(WMI_PDEV_SET_STATS_THRESHOLD_CMDID) \
  1299. OP(WMI_REQUEST_WLAN_STATS_CMDID) \
  1300. OP(WMI_VDEV_ENCRYPT_DECRYPT_DATA_REQ_CMDID) \
  1301. OP(WMI_SAR_LIMITS_CMDID) \
  1302. OP(WMI_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMDID) \
  1303. OP(WMI_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMDID) \
  1304. OP(WMI_VDEV_ADFS_CH_CFG_CMDID) \
  1305. OP(WMI_VDEV_ADFS_OCAC_ABORT_CMDID) \
  1306. OP(WMI_REQUEST_RCPI_CMDID) \
  1307. OP(WMI_REQUEST_PEER_STATS_INFO_CMDID) \
  1308. OP(WMI_SET_CURRENT_COUNTRY_CMDID) \
  1309. OP(WMI_11D_SCAN_START_CMDID) \
  1310. OP(WMI_11D_SCAN_STOP_CMDID) \
  1311. OP(WMI_REQUEST_RADIO_CHAN_STATS_CMDID) \
  1312. OP(WMI_ROAM_PER_CONFIG_CMDID) \
  1313. OP(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID) \
  1314. OP(WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID) \
  1315. OP(WMI_HW_DATA_FILTER_CMDID) \
  1316. OP(WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID) \
  1317. OP(WMI_LPI_OEM_REQ_CMDID) \
  1318. OP(WMI_PDEV_UPDATE_PKT_ROUTING_CMDID) \
  1319. OP(WMI_PDEV_CHECK_CAL_VERSION_CMDID) \
  1320. OP(WMI_PDEV_SET_DIVERSITY_GAIN_CMDID) \
  1321. OP(WMI_VDEV_SET_ARP_STAT_CMDID) \
  1322. OP(WMI_VDEV_GET_ARP_STAT_CMDID) \
  1323. OP(WMI_VDEV_GET_TX_POWER_CMDID) \
  1324. OP(WMI_OFFCHAN_DATA_TX_SEND_CMDID) \
  1325. OP(WMI_SET_INIT_COUNTRY_CMDID) \
  1326. OP(WMI_SET_SCAN_DBS_DUTY_CYCLE_CMDID) \
  1327. OP(WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID) \
  1328. OP(WMI_THERM_THROT_SET_CONF_CMDID) \
  1329. OP(WMI_OEM_DMA_RING_CFG_REQ_CMDID) \
  1330. OP(WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID) \
  1331. OP(WMI_VDEV_LIMIT_OFFCHAN_CMDID) \
  1332. OP(WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID) \
  1333. OP(WMI_PDEV_UPDATE_PMK_CACHE_CMDID) \
  1334. OP(WMI_HB_OIC_PING_OFFLOAD_PARAM_CMDID) \
  1335. OP(WMI_HB_OIC_PING_OFFLOAD_SET_ENABLE_CMDID) \
  1336. OP(WMI_HB_DHCP_LEASE_RENEW_OFFLOAD_CMDID) \
  1337. OP(WMI_ROAM_BTM_CONFIG_CMDID) \
  1338. OP(WMI_WLM_CONFIG_CMDID) \
  1339. OP(WMI_PDEV_UPDATE_CTLTABLE_REQUEST_CMDID) \
  1340. OP(WMI_PDEV_CONFIG_VENDOR_OUI_ACTION_CMDID) \
  1341. OP(WMI_PDEV_SEND_FD_CMDID) \
  1342. OP(WMI_ENABLE_FILS_CMDID) \
  1343. OP(WMI_BCN_OFFLOAD_CTRL_CMDID) \
  1344. OP(WMI_PDEV_SET_AC_TX_QUEUE_OPTIMIZED_CMDID) \
  1345. OP(WMI_PEER_TID_MSDUQ_QDEPTH_THRESH_UPDATE_CMDID) \
  1346. OP(WMI_PDEV_SET_RX_FILTER_PROMISCUOUS_CMDID) \
  1347. OP(WMI_SAP_OBSS_DETECTION_CFG_CMDID) \
  1348. OP(WMI_PDEV_DMA_RING_CFG_REQ_CMDID) \
  1349. OP(WMI_SAR_GET_LIMITS_CMDID)\
  1350. OP(WMI_11K_OFFLOAD_REPORT_CMDID) \
  1351. OP(WMI_11K_INVOKE_NEIGHBOR_REPORT_CMDID) \
  1352. OP(WMI_BPF_SET_VDEV_ENABLE_CMDID) \
  1353. OP(WMI_BPF_SET_VDEV_WORK_MEMORY_CMDID) \
  1354. OP(WMI_BPF_GET_VDEV_WORK_MEMORY_CMDID) \
  1355. OP(WMI_PDEV_GET_NFCAL_POWER_CMDID) \
  1356. OP(WMI_BSS_COLOR_CHANGE_ENABLE_CMDID) \
  1357. OP(WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID) \
  1358. OP(WMI_RUNTIME_DPD_RECAL_CMDID) \
  1359. OP(WMI_TWT_ENABLE_CMDID) \
  1360. OP(WMI_TWT_DISABLE_CMDID) \
  1361. OP(WMI_TWT_ADD_DIALOG_CMDID) \
  1362. OP(WMI_TWT_DEL_DIALOG_CMDID) \
  1363. OP(WMI_TWT_PAUSE_DIALOG_CMDID) \
  1364. OP(WMI_TWT_RESUME_DIALOG_CMDID) \
  1365. OP(WMI_REQUEST_ROAM_SCAN_STATS_CMDID) \
  1366. OP(WMI_PEER_TID_CONFIGURATIONS_CMDID) \
  1367. OP(WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID) \
  1368. OP(WMI_GET_TPC_POWER_CMDID) \
  1369. OP(WMI_MOTION_DET_CONFIG_PARAM_CMDID) \
  1370. OP(WMI_MOTION_DET_BASE_LINE_CONFIG_PARAM_CMDID) \
  1371. OP(WMI_MOTION_DET_START_STOP_CMDID) \
  1372. OP(WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID) \
  1373. OP(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_CMDID) \
  1374. OP(WMI_PEER_CFR_CAPTURE_CMDID) \
  1375. OP(WMI_PEER_CHAN_WIDTH_SWITCH_CMDID) \
  1376. OP(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMDID) \
  1377. OP(WMI_PDEV_HE_TB_ACTION_FRM_CMDID) \
  1378. OP(WMI_HPCS_PULSE_START_CMDID) \
  1379. OP(WMI_VDEV_CHAINMASK_CONFIG_CMDID) \
  1380. OP(WMI_VDEV_BCN_OFFLOAD_QUIET_CONFIG_CMDID) \
  1381. OP(WMI_NDP_CMDID) \
  1382. OP(WMI_PDEV_PKTLOG_FILTER_CMDID) \
  1383. OP(WMI_VDEV_GET_BCN_RECEPTION_STATS_CMDID) \
  1384. OP(WMI_PEER_TX_PN_REQUEST_CMDID) \
  1385. OP(WMI_PEER_UNMAP_RESPONSE_CMDID) \
  1386. OP(WMI_ROAM_BSS_LOAD_CONFIG_CMDID) \
  1387. OP(WMI_VDEV_GET_MWS_COEX_INFO_CMDID) \
  1388. OP(WMI_REQUEST_WLM_STATS_CMDID) \
  1389. OP(WMI_PDEV_SET_RAP_CONFIG_CMDID) \
  1390. OP(WMI_ROAM_DEAUTH_CONFIG_CMDID) \
  1391. OP(WMI_ROAM_IDLE_CONFIG_CMDID) \
  1392. OP(WMI_IDLE_TRIGGER_MONITOR_CMDID) \
  1393. OP(WMI_PDEV_DSM_FILTER_CMDID) \
  1394. OP(WMI_TWT_BTWT_INVITE_STA_CMDID) \
  1395. OP(WMI_TWT_BTWT_REMOVE_STA_CMDID) \
  1396. OP(WMI_VDEV_DELETE_ALL_PEER_CMDID) \
  1397. OP(WMI_OEM_DATA_CMDID) \
  1398. OP(WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID) \
  1399. OP(WMI_ROAM_PREAUTH_STATUS_CMDID) \
  1400. OP(WMI_SET_ELNA_BYPASS_CMDID) \
  1401. OP(WMI_GET_ELNA_BYPASS_CMDID) \
  1402. OP(WMI_AUDIO_AGGR_ENABLE_CMDID) \
  1403. OP(WMI_AUDIO_AGGR_ADD_GROUP_CMDID) \
  1404. OP(WMI_AUDIO_AGGR_DEL_GROUP_CMDID) \
  1405. OP(WMI_AUDIO_AGGR_SET_GROUP_RATE_CMDID) \
  1406. OP(WMI_AUDIO_AGGR_SET_GROUP_RETRY_CMDID) \
  1407. OP(WMI_CFR_CAPTURE_FILTER_CMDID) \
  1408. /* add new CMD_LIST elements above this line */
  1409. /*
  1410. * IMPORTANT: Please add _ALL_ WMI Events Here.
  1411. * Otherwise, these WMI TLV Functions will be process them.
  1412. */
  1413. #define WMITLV_ALL_EVT_LIST(OP) \
  1414. OP(WMI_SERVICE_READY_EVENTID) \
  1415. OP(WMI_SERVICE_READY_EXT_EVENTID) \
  1416. OP(WMI_SERVICE_READY_EXT2_EVENTID) \
  1417. OP(WMI_READY_EVENTID) \
  1418. OP(WMI_SCAN_EVENTID) \
  1419. OP(WMI_PDEV_TPC_CONFIG_EVENTID) \
  1420. OP(WMI_CHAN_INFO_EVENTID) \
  1421. OP(WMI_PHYERR_EVENTID) \
  1422. OP(WMI_VDEV_START_RESP_EVENTID) \
  1423. OP(WMI_VDEV_STOPPED_EVENTID) \
  1424. OP(WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID) \
  1425. OP(WMI_PEER_STA_KICKOUT_EVENTID) \
  1426. OP(WMI_MGMT_RX_EVENTID) \
  1427. OP(WMI_TBTTOFFSET_UPDATE_EVENTID) \
  1428. OP(WMI_TX_DELBA_COMPLETE_EVENTID) \
  1429. OP(WMI_TX_ADDBA_COMPLETE_EVENTID) \
  1430. OP(WMI_ROAM_EVENTID) \
  1431. OP(WMI_WOW_WAKEUP_HOST_EVENTID) \
  1432. OP(WMI_RTT_ERROR_REPORT_EVENTID) \
  1433. OP(WMI_OEM_MEASUREMENT_REPORT_EVENTID) \
  1434. OP(WMI_OEM_ERROR_REPORT_EVENTID) \
  1435. OP(WMI_OEM_CAPABILITY_EVENTID) \
  1436. OP(WMI_ECHO_EVENTID) \
  1437. OP(WMI_PDEV_FTM_INTG_EVENTID) \
  1438. OP(WMI_VDEV_GET_KEEPALIVE_EVENTID) \
  1439. OP(WMI_GPIO_INPUT_EVENTID) \
  1440. OP(WMI_CSA_HANDLING_EVENTID) \
  1441. OP(WMI_DEBUG_MESG_EVENTID) \
  1442. OP(WMI_GTK_OFFLOAD_STATUS_EVENTID) \
  1443. OP(WMI_DCS_INTERFERENCE_EVENTID) \
  1444. OP(WMI_WLAN_PROFILE_DATA_EVENTID) \
  1445. OP(WMI_PDEV_UTF_EVENTID) \
  1446. OP(WMI_DEBUG_PRINT_EVENTID) \
  1447. OP(WMI_RTT_MEASUREMENT_REPORT_EVENTID) \
  1448. OP(WMI_HOST_SWBA_EVENTID) \
  1449. OP(WMI_UPDATE_STATS_EVENTID) \
  1450. OP(WMI_PDEV_QVIT_EVENTID) \
  1451. OP(WMI_WLAN_FREQ_AVOID_EVENTID) \
  1452. OP(WMI_GTK_REKEY_FAIL_EVENTID) \
  1453. OP(WMI_NLO_MATCH_EVENTID) \
  1454. OP(WMI_NLO_SCAN_COMPLETE_EVENTID) \
  1455. OP(WMI_APFIND_EVENTID) \
  1456. OP(WMI_CHATTER_PC_QUERY_EVENTID) \
  1457. OP(WMI_UPLOADH_EVENTID) \
  1458. OP(WMI_CAPTUREH_EVENTID) \
  1459. OP(WMI_TDLS_PEER_EVENTID) \
  1460. OP(WMI_VDEV_MCC_BCN_INTERVAL_CHANGE_REQ_EVENTID) \
  1461. OP(WMI_BA_RSP_SSN_EVENTID) \
  1462. OP(WMI_OFFLOAD_BCN_TX_STATUS_EVENTID) \
  1463. OP(WMI_P2P_NOA_EVENTID) \
  1464. OP(WMI_TX_PAUSE_EVENTID) \
  1465. OP(WMI_RFKILL_STATE_CHANGE_EVENTID) \
  1466. OP(WMI_PEER_INFO_EVENTID) \
  1467. OP(WMI_PEER_TX_FAIL_CNT_THR_EVENTID) \
  1468. OP(WMI_DFS_RADAR_EVENTID) \
  1469. OP(WMI_BATCH_SCAN_ENABLED_EVENTID) \
  1470. OP(WMI_BATCH_SCAN_RESULT_EVENTID) \
  1471. OP(WMI_THERMAL_MGMT_EVENTID) \
  1472. OP(WMI_NAN_EVENTID) \
  1473. OP(WMI_PDEV_L1SS_TRACK_EVENTID) \
  1474. OP(WMI_DIAG_DATA_CONTAINER_EVENTID) \
  1475. OP(WMI_PEER_ESTIMATED_LINKSPEED_EVENTID) \
  1476. OP(WMI_AGGR_STATE_TRIG_EVENTID) \
  1477. OP(WMI_STATS_EXT_EVENTID) \
  1478. OP(WMI_OFFLOAD_PROB_RESP_TX_STATUS_EVENTID) \
  1479. OP(WMI_HOST_AUTO_SHUTDOWN_EVENTID) \
  1480. OP(WMI_UPDATE_WHAL_MIB_STATS_EVENTID) \
  1481. OP(WMI_IFACE_LINK_STATS_EVENTID) \
  1482. OP(WMI_PEER_LINK_STATS_EVENTID) \
  1483. OP(WMI_RADIO_LINK_STATS_EVENTID) \
  1484. OP(WMI_LPI_RESULT_EVENTID) \
  1485. OP(WMI_PEER_STATE_EVENTID) \
  1486. OP(WMI_EXTSCAN_START_STOP_EVENTID) \
  1487. OP(WMI_EXTSCAN_OPERATION_EVENTID) \
  1488. OP(WMI_EXTSCAN_TABLE_USAGE_EVENTID) \
  1489. OP(WMI_EXTSCAN_CACHED_RESULTS_EVENTID) \
  1490. OP(WMI_EXTSCAN_WLAN_CHANGE_RESULTS_EVENTID) \
  1491. OP(WMI_EXTSCAN_HOTLIST_MATCH_EVENTID) \
  1492. OP(WMI_EXTSCAN_CAPABILITIES_EVENTID) \
  1493. OP(WMI_EXTSCAN_HOTLIST_SSID_MATCH_EVENTID) \
  1494. OP(WMI_D0_WOW_DISABLE_ACK_EVENTID) \
  1495. OP(WMI_ROAM_SYNCH_EVENTID) \
  1496. OP(WMI_ROAM_SYNCH_FRAME_EVENTID) \
  1497. OP(WMI_LPI_STATUS_EVENTID) \
  1498. OP(WMI_LPI_HANDOFF_EVENTID) \
  1499. OP(WMI_UPDATE_VDEV_RATE_STATS_EVENTID) \
  1500. OP(WMI_PDEV_TEMPERATURE_EVENTID) \
  1501. OP(WMI_DIAG_EVENTID) \
  1502. OP(WMI_MDNS_STATS_EVENTID) \
  1503. OP(WMI_PDEV_RESUME_EVENTID) \
  1504. OP(WMI_SAP_OFL_ADD_STA_EVENTID) \
  1505. OP(WMI_SAP_OFL_DEL_STA_EVENTID) \
  1506. OP(WMI_OCB_SET_SCHED_EVENTID) \
  1507. OP(WMI_OCB_SET_CONFIG_RESP_EVENTID) \
  1508. OP(WMI_OCB_GET_TSF_TIMER_RESP_EVENTID) \
  1509. OP(WMI_DCC_GET_STATS_RESP_EVENTID) \
  1510. OP(WMI_DCC_UPDATE_NDL_RESP_EVENTID) \
  1511. OP(WMI_DCC_STATS_EVENTID) \
  1512. OP(WMI_PASSPOINT_MATCH_EVENTID) \
  1513. OP(WMI_VDEV_TSF_REPORT_EVENTID) \
  1514. OP(WMI_UPDATE_FW_MEM_DUMP_EVENTID) \
  1515. OP(WMI_DEBUG_MESG_FLUSH_COMPLETE_EVENTID) \
  1516. OP(WMI_RSSI_BREACH_EVENTID) \
  1517. OP(WMI_WOW_INITIAL_WAKEUP_EVENTID) \
  1518. OP(WMI_SOC_SET_HW_MODE_RESP_EVENTID) \
  1519. OP(WMI_SOC_HW_MODE_TRANSITION_EVENTID) \
  1520. OP(WMI_SOC_SET_DUAL_MAC_CONFIG_RESP_EVENTID) \
  1521. OP(WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID) \
  1522. OP(WMI_MGMT_TX_COMPLETION_EVENTID) \
  1523. OP(WMI_MAWC_ENABLE_SENSOR_EVENTID) \
  1524. OP(WMI_PEER_ASSOC_CONF_EVENTID) \
  1525. OP(WMI_AP_PS_EGAP_INFO_EVENTID) \
  1526. OP(WMI_TRANSFER_DATA_TO_FLASH_COMPLETE_EVENTID) \
  1527. OP(WMI_OEM_RESPONSE_EVENTID) \
  1528. OP(WMI_PDEV_UTF_SCPC_EVENTID) \
  1529. OP(WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID) \
  1530. OP(WMI_BPF_CAPABILIY_INFO_EVENTID) \
  1531. OP(WMI_BPF_VDEV_STATS_INFO_EVENTID) \
  1532. OP(WMI_VDEV_DELETE_RESP_EVENTID) \
  1533. OP(WMI_PEER_DELETE_RESP_EVENTID) \
  1534. OP(WMI_PDEV_FIPS_EVENTID) \
  1535. OP(WMI_PDEV_CHANNEL_HOPPING_EVENTID) \
  1536. OP(WMI_PDEV_ANI_CCK_LEVEL_EVENTID) \
  1537. OP(WMI_PDEV_ANI_OFDM_LEVEL_EVENTID) \
  1538. OP(WMI_PDEV_TPC_EVENTID) \
  1539. OP(WMI_PDEV_NFCAL_POWER_ALL_CHANNELS_EVENTID) \
  1540. OP(WMI_PEER_RATECODE_LIST_EVENTID) \
  1541. OP(WMI_WDS_PEER_EVENTID) \
  1542. OP(WMI_PEER_STA_PS_STATECHG_EVENTID) \
  1543. OP(WMI_INST_RSSI_STATS_EVENTID) \
  1544. OP(WMI_NAN_DISC_IFACE_CREATED_EVENTID) \
  1545. OP(WMI_NAN_DISC_IFACE_DELETED_EVENTID) \
  1546. OP(WMI_NAN_STARTED_CLUSTER_EVENTID) \
  1547. OP(WMI_NAN_JOINED_CLUSTER_EVENTID) \
  1548. OP(WMI_NDI_CAP_RSP_EVENTID) \
  1549. OP(WMI_NDP_INITIATOR_RSP_EVENTID) \
  1550. OP(WMI_NDP_RESPONDER_RSP_EVENTID) \
  1551. OP(WMI_NDP_END_RSP_EVENTID) \
  1552. OP(WMI_NDP_INDICATION_EVENTID) \
  1553. OP(WMI_NDP_CONFIRM_EVENTID) \
  1554. OP(WMI_NDP_END_INDICATION_EVENTID) \
  1555. OP(WMI_PDEV_SET_HW_MODE_RESP_EVENTID) \
  1556. OP(WMI_PDEV_HW_MODE_TRANSITION_EVENTID) \
  1557. OP(WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID) \
  1558. OP(WMI_RADIO_TX_POWER_LEVEL_STATS_EVENTID) \
  1559. OP(WMI_RMC_NEW_LEADER_EVENTID) \
  1560. OP(WMI_P2P_LISTEN_OFFLOAD_STOPPED_EVENTID) \
  1561. OP(WMI_MGMT_TX_BUNDLE_COMPLETION_EVENTID) \
  1562. OP(WMI_READ_DATA_FROM_FLASH_EVENTID) \
  1563. OP(WMI_SERVICE_AVAILABLE_EVENTID) \
  1564. OP(WMI_PEER_ANTDIV_INFO_EVENTID) \
  1565. OP(WMI_PDEV_ANTDIV_STATUS_EVENTID) \
  1566. OP(WMI_PDEV_CHIP_POWER_STATS_EVENTID) \
  1567. OP(WMI_COEX_REPORT_ANTENNA_ISOLATION_EVENTID) \
  1568. OP(WMI_REPORT_STATS_EVENTID) \
  1569. OP(WMI_REPORT_RX_AGGR_FAILURE_EVENTID) \
  1570. OP(WMI_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENTID) \
  1571. OP(WMI_TBTTOFFSET_EXT_UPDATE_EVENTID) \
  1572. OP(WMI_PDEV_DFS_RADAR_DETECTION_EVENTID) \
  1573. OP(WMI_VDEV_DFS_CAC_COMPLETE_EVENTID) \
  1574. OP(WMI_VDEV_ADFS_OCAC_COMPLETE_EVENTID) \
  1575. OP(WMI_UPDATE_RCPI_EVENTID) \
  1576. OP(WMI_PEER_STATS_INFO_EVENTID) \
  1577. OP(WMI_PKGID_EVENTID) \
  1578. OP(WMI_REG_CHAN_LIST_CC_EVENTID) \
  1579. OP(WMI_11D_NEW_COUNTRY_EVENTID) \
  1580. OP(WMI_RADIO_CHAN_STATS_EVENTID) \
  1581. OP(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENTID) \
  1582. OP(WMI_PEER_OPER_MODE_CHANGE_EVENTID) \
  1583. OP(WMI_PDEV_CHIP_POWER_SAVE_FAILURE_DETECTED_EVENTID) \
  1584. OP(WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID) \
  1585. OP(WMI_PDEV_CHECK_CAL_VERSION_EVENTID) \
  1586. OP(WMI_VDEV_GET_ARP_STAT_EVENTID) \
  1587. OP(WMI_WLAN_COEX_BT_ACTIVITY_EVENTID) \
  1588. OP(WMI_VDEV_GET_TX_POWER_EVENTID) \
  1589. OP(WMI_OFFCHAN_DATA_TX_COMPLETION_EVENTID) \
  1590. OP(WMI_THERM_THROT_STATS_EVENTID) \
  1591. OP(WMI_PDEV_DIV_RSSI_ANTID_EVENTID) \
  1592. OP(WMI_OEM_DMA_RING_CFG_RSP_EVENTID) \
  1593. OP(WMI_OEM_DMA_BUF_RELEASE_EVENTID) \
  1594. OP(WMI_PDEV_BSS_CHAN_INFO_EVENTID) \
  1595. OP(WMI_UNIT_TEST_EVENTID) \
  1596. OP(WMI_PDEV_UPDATE_CTLTABLE_EVENTID) \
  1597. OP(WMI_HOST_SWFDA_EVENTID) \
  1598. OP(WMI_NDL_SCHEDULE_UPDATE_EVENTID) \
  1599. OP(WMI_SAP_OBSS_DETECTION_REPORT_EVENTID) \
  1600. OP(WMI_PDEV_DMA_RING_CFG_RSP_EVENTID) \
  1601. OP(WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID) \
  1602. OP(WMI_SAR_GET_LIMITS_EVENTID) \
  1603. OP(WMI_SAR2_RESULT_EVENTID) \
  1604. OP(WMI_BPF_GET_VDEV_WORK_MEMORY_RESP_EVENTID) \
  1605. OP(WMI_OBSS_COLOR_COLLISION_DETECTION_EVENTID) \
  1606. OP(WMI_TWT_ENABLE_COMPLETE_EVENTID) \
  1607. OP(WMI_TWT_DISABLE_COMPLETE_EVENTID) \
  1608. OP(WMI_TWT_ADD_DIALOG_COMPLETE_EVENTID) \
  1609. OP(WMI_TWT_DEL_DIALOG_COMPLETE_EVENTID) \
  1610. OP(WMI_TWT_PAUSE_DIALOG_COMPLETE_EVENTID) \
  1611. OP(WMI_TWT_RESUME_DIALOG_COMPLETE_EVENTID) \
  1612. OP(WMI_ROAM_SCAN_STATS_EVENTID) \
  1613. OP(WMI_GET_TPC_POWER_EVENTID) \
  1614. OP(WMI_MOTION_DET_HOST_EVENTID) \
  1615. OP(WMI_MOTION_DET_BASE_LINE_HOST_EVENTID) \
  1616. OP(WMI_ESP_ESTIMATE_EVENTID) \
  1617. OP(WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID) \
  1618. OP(WMI_NDP_EVENTID) \
  1619. OP(WMI_VDEV_BCN_RECEPTION_STATS_EVENTID) \
  1620. OP(WMI_PEER_TX_PN_RESPONSE_EVENTID) \
  1621. OP(WMI_PDEV_CSC_SWITCH_COUNT_STATUS_EVENTID) \
  1622. OP(WMI_ROAM_BLACKLIST_EVENTID) \
  1623. OP(WMI_VDEV_GET_MWS_COEX_STATE_EVENTID) \
  1624. OP(WMI_VDEV_GET_MWS_COEX_DPWB_STATE_EVENTID) \
  1625. OP(WMI_VDEV_GET_MWS_COEX_TDM_STATE_EVENTID) \
  1626. OP(WMI_VDEV_GET_MWS_COEX_IDRX_STATE_EVENTID) \
  1627. OP(WMI_VDEV_GET_MWS_COEX_ANTENNA_SHARING_STATE_EVENTID) \
  1628. OP(WMI_WLM_STATS_EVENTID) \
  1629. OP(WMI_PEER_CFR_CAPTURE_EVENTID) \
  1630. OP(WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID) \
  1631. OP(WMI_PDEV_RAP_INFO_EVENTID) \
  1632. OP(WMI_IFACE_COMBINATION_IND_EVENTID) \
  1633. OP(WMI_VDEV_MGMT_OFFLOAD_EVENTID) \
  1634. OP(WMI_MUEDCA_PARAMS_CONFIG_EVENTID) \
  1635. OP(WMI_TWT_BTWT_INVITE_STA_COMPLETE_EVENTID) \
  1636. OP(WMI_TWT_BTWT_REMOVE_STA_COMPLETE_EVENTID) \
  1637. OP(WMI_VDEV_DELETE_ALL_PEER_RESP_EVENTID) \
  1638. OP(WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID) \
  1639. OP(WMI_ROAM_PREAUTH_START_EVENTID) \
  1640. OP(WMI_GET_ELNA_BYPASS_EVENTID) \
  1641. OP(WMI_ROAM_PMKID_REQUEST_EVENTID) \
  1642. /* add new EVT_LIST elements above this line */
  1643. /* TLV definitions of WMI commands */
  1644. /* Init Cmd */
  1645. #define WMITLV_TABLE_WMI_INIT_CMDID(id,op,buf,len)\
  1646. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_init_cmd_fixed_param, wmi_init_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)\
  1647. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_resource_config, wmi_resource_config, resource_config, WMITLV_SIZE_FIX)\
  1648. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_host_memory_chunk, host_mem_chunks, WMITLV_SIZE_VAR) \
  1649. 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) \
  1650. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_band_to_mac, band_to_mac, WMITLV_SIZE_VAR)
  1651. WMITLV_CREATE_PARAM_STRUC(WMI_INIT_CMDID);
  1652. /* Peer create Cmd */
  1653. #define WMITLV_TABLE_WMI_PEER_CREATE_CMDID(id,op,buf,len) \
  1654. 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)
  1655. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CREATE_CMDID);
  1656. /* Peer delete Cmd */
  1657. #define WMITLV_TABLE_WMI_PEER_DELETE_CMDID(id,op,buf,len) \
  1658. 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)
  1659. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_DELETE_CMDID);
  1660. /* Delete all peer Cmd */
  1661. #define WMITLV_TABLE_WMI_VDEV_DELETE_ALL_PEER_CMDID(id,op,buf,len) \
  1662. 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)
  1663. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DELETE_ALL_PEER_CMDID);
  1664. /* Peer unmap response Cmd */
  1665. #define WMITLV_TABLE_WMI_PEER_UNMAP_RESPONSE_CMDID(id,op,buf,len) \
  1666. 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) \
  1667. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, peer_ids, WMITLV_SIZE_VAR)
  1668. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_UNMAP_RESPONSE_CMDID);
  1669. /* Peer flush Cmd */
  1670. #define WMITLV_TABLE_WMI_PEER_FLUSH_TIDS_CMDID(id,op,buf,len) \
  1671. 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)
  1672. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_FLUSH_TIDS_CMDID);
  1673. /* Peer Set Param Cmd */
  1674. #define WMITLV_TABLE_WMI_PEER_SET_PARAM_CMDID(id,op,buf,len) \
  1675. 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)
  1676. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SET_PARAM_CMDID);
  1677. /* STA Powersave Mode Cmd */
  1678. #define WMITLV_TABLE_WMI_STA_POWERSAVE_MODE_CMDID(id,op,buf,len) \
  1679. 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)
  1680. WMITLV_CREATE_PARAM_STRUC(WMI_STA_POWERSAVE_MODE_CMDID);
  1681. /* STA Powersave Param Cmd */
  1682. #define WMITLV_TABLE_WMI_STA_POWERSAVE_PARAM_CMDID(id,op,buf,len) \
  1683. 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)
  1684. WMITLV_CREATE_PARAM_STRUC(WMI_STA_POWERSAVE_PARAM_CMDID);
  1685. /* STA TDCC Param Config Cmd */
  1686. #define WMITLV_TABLE_WMI_STA_TDCC_CONFIG_CMDID(id,op,buf,len) \
  1687. 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)
  1688. WMITLV_CREATE_PARAM_STRUC(WMI_STA_TDCC_CONFIG_CMDID);
  1689. /* STA DTIM PS METHOD Cmd */
  1690. #define WMITLV_TABLE_WMI_STA_DTIM_PS_METHOD_CMDID(id,op,buf,len) \
  1691. 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)
  1692. WMITLV_CREATE_PARAM_STRUC(WMI_STA_DTIM_PS_METHOD_CMDID);
  1693. /* Pdev Set Reg Domain Cmd */
  1694. #define WMITLV_TABLE_WMI_PDEV_SET_REGDOMAIN_CMDID(id,op,buf,len) \
  1695. 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)
  1696. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_REGDOMAIN_CMDID);
  1697. /* Peer TID ADD BA Cmd */
  1698. #define WMITLV_TABLE_WMI_PEER_TID_ADDBA_CMDID(id,op,buf,len) \
  1699. 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)
  1700. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TID_ADDBA_CMDID);
  1701. /* Peer TID DEL BA Cmd */
  1702. #define WMITLV_TABLE_WMI_PEER_TID_DELBA_CMDID(id,op,buf,len) \
  1703. 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)
  1704. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TID_DELBA_CMDID);
  1705. /* Peer Req Add BA Ssn for staId/tid pair Cmd */
  1706. #define WMITLV_TABLE_WMI_BA_REQ_SSN_CMDID(id,op,buf,len) \
  1707. 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) \
  1708. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_ARRAY_STRUC, wmi_ba_req_ssn, ba_req_ssn_list, WMITLV_SIZE_VAR)
  1709. WMITLV_CREATE_PARAM_STRUC(WMI_BA_REQ_SSN_CMDID);
  1710. /* PDEV FTM integration Cmd */
  1711. #define WMITLV_TABLE_WMI_PDEV_FTM_INTG_CMDID(id,op,buf,len) \
  1712. 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)\
  1713. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  1714. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FTM_INTG_CMDID);
  1715. /* WOW Wakeup from sleep Cmd */
  1716. #define WMITLV_TABLE_WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID(id,op,buf,len) \
  1717. 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)
  1718. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID);
  1719. /* WOW Enable Cmd */
  1720. #define WMITLV_TABLE_WMI_WOW_ENABLE_CMDID(id,op,buf,len) \
  1721. 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)
  1722. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_ENABLE_CMDID);
  1723. /* WOW ICMPv6 NA filtering command */
  1724. #define WMITLV_TABLE_WMI_WOW_ENABLE_ICMPV6_NA_FLT_CMDID(id,op,buf,len) \
  1725. 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)
  1726. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_ENABLE_ICMPV6_NA_FLT_CMDID);
  1727. /* Remove Bcn Filter Cmd */
  1728. #define WMITLV_TABLE_WMI_RMV_BCN_FILTER_CMDID(id,op,buf,len) \
  1729. 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)
  1730. WMITLV_CREATE_PARAM_STRUC(WMI_RMV_BCN_FILTER_CMDID);
  1731. /* Offload 11k related requests */
  1732. #define WMITLV_TABLE_WMI_11K_OFFLOAD_REPORT_CMDID(id,op,buf,len) \
  1733. 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) \
  1734. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_neighbor_report_11k_offload_tlv_param, offload_neighbor_report_param, WMITLV_SIZE_VAR)
  1735. WMITLV_CREATE_PARAM_STRUC(WMI_11K_OFFLOAD_REPORT_CMDID);
  1736. /* invoke 11k neighbor report req from FW */
  1737. #define WMITLV_TABLE_WMI_11K_INVOKE_NEIGHBOR_REPORT_CMDID(id,op,buf,len) \
  1738. 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)
  1739. WMITLV_CREATE_PARAM_STRUC(WMI_11K_INVOKE_NEIGHBOR_REPORT_CMDID);
  1740. /** Service bit WMI_SERVICE_ROAM_OFFLOAD for Roaming feature */
  1741. /* Roam scan mode Cmd */
  1742. #define WMITLV_TABLE_WMI_ROAM_SCAN_MODE(id,op,buf,len) \
  1743. 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) \
  1744. 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) \
  1745. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_offload_tlv_param, offload_param, WMITLV_SIZE_VAR) \
  1746. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_11i_offload_tlv_param, offload_11i_param, WMITLV_SIZE_VAR) \
  1747. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_11r_offload_tlv_param, offload_11r_param, WMITLV_SIZE_VAR) \
  1748. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_ese_offload_tlv_param, offload_ese_param, WMITLV_SIZE_VAR) \
  1749. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tlv_buf_len_param, assoc_ie_len_param, WMITLV_SIZE_VAR) \
  1750. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, assoc_ie_buf, WMITLV_SIZE_VAR) \
  1751. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_fils_offload_tlv_param, offload_fils_info_param, WMITLV_SIZE_VAR)
  1752. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_MODE);
  1753. /* Roam scan Rssi Threshold Cmd */
  1754. #define WMITLV_TABLE_WMI_ROAM_SCAN_RSSI_THRESHOLD(id,op,buf,len) \
  1755. 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) \
  1756. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_scan_extended_threshold_param, extended_param, WMITLV_SIZE_VAR) \
  1757. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_earlystop_rssi_thres_param, earlystop_param, WMITLV_SIZE_VAR) \
  1758. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_dense_thres_param, dense_param, WMITLV_SIZE_VAR) \
  1759. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_bg_scan_roaming_param, bg_scan_param, WMITLV_SIZE_VAR)
  1760. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_RSSI_THRESHOLD);
  1761. /* Roam Scan Period Cmd */
  1762. #define WMITLV_TABLE_WMI_ROAM_SCAN_PERIOD(id,op,buf,len) \
  1763. 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)
  1764. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_PERIOD);
  1765. /* Roam scan change Rssi Threshold Cmd */
  1766. #define WMITLV_TABLE_WMI_ROAM_SCAN_RSSI_CHANGE_THRESHOLD(id,op,buf,len) \
  1767. 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)
  1768. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_RSSI_CHANGE_THRESHOLD);
  1769. /* Roam Scan Channel list Cmd */
  1770. #define WMITLV_TABLE_WMI_ROAM_CHAN_LIST(id,op,buf,len) \
  1771. 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) \
  1772. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR)
  1773. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_CHAN_LIST);
  1774. /* Roam scan mode Cmd */
  1775. #define WMITLV_TABLE_WMI_ROAM_SCAN_CMD(id,op,buf,len) \
  1776. 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)
  1777. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_CMD);
  1778. /* Roam mbo configuration */
  1779. #define WMITLV_TABLE_WMI_ROAM_SET_MBO_PARAM_CMDID(id,op,buf,len) \
  1780. 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) \
  1781. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, cellular_cap, WMITLV_SIZE_VAR) \
  1782. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_supported_operating_class_param, supp_op_class_param, WMITLV_SIZE_VAR) \
  1783. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, supp_op_class_list, WMITLV_SIZE_VAR) \
  1784. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mbo_non_preferred_channel_report_param, non_prefer_ch_param, WMITLV_SIZE_VAR) \
  1785. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, non_prefer_ch_attr, WMITLV_SIZE_VAR)
  1786. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SET_MBO_PARAM_CMDID);
  1787. /* Roam PER configure cmd */
  1788. #define WMITLV_TABLE_WMI_ROAM_PER_CONFIG_CMDID(id,op,buf,len) \
  1789. 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)
  1790. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_PER_CONFIG_CMDID);
  1791. #define WMITLV_TABLE_WMI_VDEV_PLMREQ_START_CMDID(id,op,buf,len) \
  1792. 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) \
  1793. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR)
  1794. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_PLMREQ_START_CMDID);
  1795. #define WMITLV_TABLE_WMI_VDEV_PLMREQ_STOP_CMDID(id,op,buf,len) \
  1796. 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)
  1797. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_PLMREQ_STOP_CMDID);
  1798. /* Start scan Cmd */
  1799. #define WMITLV_TABLE_WMI_START_SCAN_CMDID(id,op,buf,len) \
  1800. 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) \
  1801. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR) \
  1802. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_ssid, ssid_list, WMITLV_SIZE_VAR) \
  1803. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_list, WMITLV_SIZE_VAR) \
  1804. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)\
  1805. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui, vendor_oui, WMITLV_SIZE_VAR) \
  1806. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, phymode_list, WMITLV_SIZE_VAR) \
  1807. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_hint_freq_short_ssid, hint_freq_short_ssid_list, WMITLV_SIZE_VAR) \
  1808. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_hint_freq_bssid, hint_freq_bssid_list, WMITLV_SIZE_VAR)
  1809. WMITLV_CREATE_PARAM_STRUC(WMI_START_SCAN_CMDID);
  1810. /* Scan adaptive dwell mode configuration */
  1811. #define WMITLV_TABLE_WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID(id,op,buf,len) \
  1812. 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) \
  1813. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_scan_adaptive_dwell_parameters_tlv, param, WMITLV_SIZE_VAR)
  1814. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID);
  1815. /* Set scan selection duty cycle */
  1816. #define WMITLV_TABLE_WMI_SET_SCAN_DBS_DUTY_CYCLE_CMDID(id,op,buf,len) \
  1817. 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) \
  1818. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_scan_dbs_duty_cycle_tlv_param, param, WMITLV_SIZE_VAR)
  1819. WMITLV_CREATE_PARAM_STRUC(WMI_SET_SCAN_DBS_DUTY_CYCLE_CMDID);
  1820. /* Start ExtScan Cmd */
  1821. #define WMITLV_TABLE_WMI_EXTSCAN_START_CMDID(id,op,buf,len) \
  1822. 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) \
  1823. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_ssid, ssid_list, WMITLV_SIZE_VAR) \
  1824. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_list, WMITLV_SIZE_VAR) \
  1825. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR) \
  1826. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_bucket, bucket_list, WMITLV_SIZE_VAR) \
  1827. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_bucket_channel, channel_list, WMITLV_SIZE_VAR)
  1828. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_START_CMDID);
  1829. /* Stop ExtScan Cmd */
  1830. #define WMITLV_TABLE_WMI_EXTSCAN_STOP_CMDID(id,op,buf,len) \
  1831. 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)
  1832. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_STOP_CMDID);
  1833. /* Start ExtScan BSSID Monitoring Cmd */
  1834. #define WMITLV_TABLE_WMI_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMDID(id,op,buf,len) \
  1835. 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) \
  1836. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_change_bssid_param, wlan_change_descriptor_list, WMITLV_SIZE_VAR)
  1837. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CONFIGURE_WLAN_CHANGE_MONITOR_CMDID);
  1838. /* Start Hot List Monitoring Cmd */
  1839. #define WMITLV_TABLE_WMI_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMDID(id,op,buf,len) \
  1840. 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) \
  1841. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_hotlist_entry, hotlist, WMITLV_SIZE_VAR)
  1842. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CONFIGURE_HOTLIST_MONITOR_CMDID);
  1843. /* Get ExtScan BSSID/RSSI list Cmd */
  1844. #define WMITLV_TABLE_WMI_EXTSCAN_GET_CACHED_RESULTS_CMDID(id,op,buf,len) \
  1845. 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)
  1846. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_GET_CACHED_RESULTS_CMDID);
  1847. /* Get ExtScan BSSID monitor results Cmd */
  1848. #define WMITLV_TABLE_WMI_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMDID(id,op,buf,len) \
  1849. 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)
  1850. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_GET_WLAN_CHANGE_RESULTS_CMDID);
  1851. /* Set ExtScan Capabilities Cmd */
  1852. #define WMITLV_TABLE_WMI_EXTSCAN_SET_CAPABILITIES_CMDID(id,op,buf,len) \
  1853. 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) \
  1854. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_cache_capabilities, extscan_cache_capabilities, WMITLV_SIZE_VAR) \
  1855. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_change_monitor_capabilities, wlan_change_capabilities, WMITLV_SIZE_VAR) \
  1856. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_hotlist_monitor_capabilities, hotlist_capabilities, WMITLV_SIZE_VAR)
  1857. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_SET_CAPABILITIES_CMDID);
  1858. /* Get ExtScan Capabilities Cmd */
  1859. #define WMITLV_TABLE_WMI_EXTSCAN_GET_CAPABILITIES_CMDID(id,op,buf,len) \
  1860. 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)
  1861. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_GET_CAPABILITIES_CMDID);
  1862. /* Start SSID Hot List Monitoring Cmd */
  1863. #define WMITLV_TABLE_WMI_EXTSCAN_CONFIGURE_HOTLIST_SSID_MONITOR_CMDID(id,op,buf,len) \
  1864. 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) \
  1865. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_hotlist_ssid_entry, hotlist_ssid, WMITLV_SIZE_VAR)
  1866. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CONFIGURE_HOTLIST_SSID_MONITOR_CMDID);
  1867. /* P2P set vendor ID data Cmd */
  1868. #define WMITLV_TABLE_WMI_P2P_SET_VENDOR_IE_DATA_CMDID(id,op,buf,len) \
  1869. 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)
  1870. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_SET_VENDOR_IE_DATA_CMDID);
  1871. /* P2P set OppPS parameters Cmd */
  1872. #define WMITLV_TABLE_WMI_P2P_SET_OPPPS_PARAM_CMDID(id,op,buf,len) \
  1873. 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)
  1874. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_SET_OPPPS_PARAM_CMDID);
  1875. /* P2P set listen offload start parameters Cmd */
  1876. #define WMITLV_TABLE_WMI_P2P_LISTEN_OFFLOAD_START_CMDID(id,op,buf,len) \
  1877. 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) \
  1878. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, device_types_data, WMITLV_SIZE_VAR) \
  1879. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, prob_resp_data, WMITLV_SIZE_VAR)
  1880. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_LISTEN_OFFLOAD_START_CMDID);
  1881. /* P2P set listen offload stop parameters Cmd */
  1882. #define WMITLV_TABLE_WMI_P2P_LISTEN_OFFLOAD_STOP_CMDID(id,op,buf,len) \
  1883. 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)
  1884. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_LISTEN_OFFLOAD_STOP_CMDID);
  1885. /* P2P set listen offload stopped parameters Event */
  1886. #define WMITLV_TABLE_WMI_P2P_LISTEN_OFFLOAD_STOPPED_EVENTID(id,op,buf,len) \
  1887. 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)
  1888. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_LISTEN_OFFLOAD_STOPPED_EVENTID);
  1889. /* Pdev set channel Cmd */
  1890. #define WMITLV_TABLE_WMI_PDEV_SET_CHANNEL_CMDID(id,op,buf,len) \
  1891. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX)
  1892. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_CHANNEL_CMDID);
  1893. #define WMITLV_TABLE_WMI_PDEV_UPDATE_PMK_CACHE_CMDID(id,op,buf,len) \
  1894. 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) \
  1895. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pmk_cache, pmk_cache, WMITLV_SIZE_VAR)
  1896. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_PMK_CACHE_CMDID);
  1897. #define WMITLV_TABLE_WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID(id,op,buf,len) \
  1898. 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) \
  1899. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, fils_hlp_pkt, WMITLV_SIZE_VAR)
  1900. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID);
  1901. /* Echo Cmd */
  1902. #define WMITLV_TABLE_WMI_ECHO_CMDID(id,op,buf,len) \
  1903. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_echo_cmd_fixed_param, wmi_echo_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  1904. WMITLV_CREATE_PARAM_STRUC(WMI_ECHO_CMDID);
  1905. /* Pdev set wmm params */
  1906. #define WMITLV_TABLE_WMI_PDEV_SET_WMM_PARAMS_CMDID(id,op,buf,len) \
  1907. 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)\
  1908. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wmm_params, wmi_wmm_params, wmm_params_ac_be, WMITLV_SIZE_FIX)\
  1909. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wmm_params, wmi_wmm_params, wmm_params_ac_bk, WMITLV_SIZE_FIX)\
  1910. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wmm_params, wmi_wmm_params, wmm_params_ac_vi, WMITLV_SIZE_FIX)\
  1911. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wmm_params, wmi_wmm_params, wmm_params_ac_vo, WMITLV_SIZE_FIX)
  1912. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_WMM_PARAMS_CMDID);
  1913. /* Vdev start request Cmd */
  1914. #define WMITLV_TABLE_WMI_VDEV_START_REQUEST_CMDID(id,op,buf,len) \
  1915. 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) \
  1916. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX) \
  1917. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_descriptor, noa_descriptors, WMITLV_SIZE_VAR)
  1918. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_START_REQUEST_CMDID);
  1919. /* Vdev restart request cmd */
  1920. #define WMITLV_TABLE_WMI_VDEV_RESTART_REQUEST_CMDID(id,op,buf,len) \
  1921. 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) \
  1922. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX) \
  1923. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_descriptor, noa_descriptors, WMITLV_SIZE_VAR)
  1924. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_RESTART_REQUEST_CMDID);
  1925. /* P2P Go set beacon IE cmd */
  1926. #define WMITLV_TABLE_WMI_P2P_GO_SET_BEACON_IE(id,op,buf,len) \
  1927. 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) \
  1928. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)
  1929. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_GO_SET_BEACON_IE);
  1930. /* GTK offload Cmd */
  1931. #define WMITLV_TABLE_WMI_GTK_OFFLOAD_CMDID(id,op,buf,len) \
  1932. 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) \
  1933. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_gtk_offload_fils_tlv_param, wmi_fils_gtk_info, WMITLV_SIZE_VAR)
  1934. WMITLV_CREATE_PARAM_STRUC(WMI_GTK_OFFLOAD_CMDID);
  1935. /* PMF 11w offload Set SA query cmd */
  1936. #define WMITLV_TABLE_WMI_PMF_OFFLOAD_SET_SA_QUERY_CMDID(id,op,buf,len) \
  1937. 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)
  1938. WMITLV_CREATE_PARAM_STRUC(WMI_PMF_OFFLOAD_SET_SA_QUERY_CMDID);
  1939. /* Scan channel list Cmd */
  1940. #define WMITLV_TABLE_WMI_SCAN_CHAN_LIST_CMDID(id,op,buf,len) \
  1941. 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) \
  1942. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, chan_info, WMITLV_SIZE_VAR)
  1943. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_CHAN_LIST_CMDID);
  1944. /* STA UAPSD Auto trigger Cmd */
  1945. #define WMITLV_TABLE_WMI_STA_UAPSD_AUTO_TRIG_CMDID(id,op,buf,len) \
  1946. 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) \
  1947. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_sta_uapsd_auto_trig_param, ac_param, WMITLV_SIZE_VAR)
  1948. WMITLV_CREATE_PARAM_STRUC(WMI_STA_UAPSD_AUTO_TRIG_CMDID);
  1949. /* Probe template Cmd */
  1950. #define WMITLV_TABLE_WMI_PRB_TMPL_CMDID(id,op,buf,len) \
  1951. 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) \
  1952. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bcn_prb_info, wmi_bcn_prb_info, bcn_prb_info, WMITLV_SIZE_FIX) \
  1953. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  1954. WMITLV_CREATE_PARAM_STRUC(WMI_PRB_TMPL_CMDID);
  1955. /* Beacon template Cmd */
  1956. #define WMITLV_TABLE_WMI_BCN_TMPL_CMDID(id,op,buf,len) \
  1957. 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) \
  1958. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bcn_prb_info, wmi_bcn_prb_info, bcn_prb_info, WMITLV_SIZE_FIX) \
  1959. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  1960. WMITLV_CREATE_PARAM_STRUC(WMI_BCN_TMPL_CMDID);
  1961. /* VDEV install key complete Cmd */
  1962. #define WMITLV_TABLE_WMI_VDEV_INSTALL_KEY_CMDID(id,op,buf,len) \
  1963. 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)\
  1964. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, key_data, WMITLV_SIZE_VAR)
  1965. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_INSTALL_KEY_CMDID);
  1966. /* VDEV WNM SLEEP MODE Cmd */
  1967. #define WMITLV_TABLE_WMI_VDEV_WNM_SLEEPMODE_CMDID(id,op,buf,len) \
  1968. 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)
  1969. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_WNM_SLEEPMODE_CMDID);
  1970. #define WMITLV_TABLE_WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMDID(id,op,buf,len) \
  1971. 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)
  1972. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_IPSEC_NATKEEPALIVE_FILTER_CMDID);
  1973. /* Peer Assoc Cmd */
  1974. #define WMITLV_TABLE_WMI_PEER_ASSOC_CMDID(id,op,buf,len) \
  1975. 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) \
  1976. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, peer_legacy_rates, WMITLV_SIZE_VAR) \
  1977. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, peer_ht_rates, WMITLV_SIZE_VAR) \
  1978. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vht_rate_set, wmi_vht_rate_set, peer_vht_rates, WMITLV_SIZE_FIX) \
  1979. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_he_rate_set, peer_he_rates, WMITLV_SIZE_VAR)
  1980. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ASSOC_CMDID);
  1981. /* Peer Set Rate Report Condition Cmd */
  1982. #define WMITLV_TABLE_WMI_PEER_SET_RATE_REPORT_CONDITION_CMDID(id,op,buf,len) \
  1983. 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)
  1984. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SET_RATE_REPORT_CONDITION_CMDID);
  1985. /* Add Beacon filter Cmd */
  1986. #define WMITLV_TABLE_WMI_ADD_BCN_FILTER_CMDID(id,op,buf,len) \
  1987. 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) \
  1988. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ie_map, WMITLV_SIZE_FIX, BCN_FLT_MAX_ELEMS_IE_LIST)
  1989. WMITLV_CREATE_PARAM_STRUC(WMI_ADD_BCN_FILTER_CMDID);
  1990. /* Sta keepalive cmd */
  1991. #define WMITLV_TABLE_WMI_STA_KEEPALIVE_CMDID(id,op,buf,len) \
  1992. 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) \
  1993. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_STA_KEEPALVE_ARP_RESPONSE, WMI_STA_KEEPALVE_ARP_RESPONSE, arp_resp, WMITLV_SIZE_FIX)
  1994. WMITLV_CREATE_PARAM_STRUC(WMI_STA_KEEPALIVE_CMDID);
  1995. /* ARP NS offload Cmd */
  1996. #define WMITLV_TABLE_WMI_SET_ARP_NS_OFFLOAD_CMDID(id,op,buf,len) \
  1997. 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) \
  1998. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_NS_OFFLOAD_TUPLE, ns_tuples, WMITLV_SIZE_FIX, WMI_MAX_NS_OFFLOADS) \
  1999. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_ARP_OFFLOAD_TUPLE, arp_tuples, WMITLV_SIZE_FIX, WMI_MAX_ARP_OFFLOADS) \
  2000. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_NS_OFFLOAD_TUPLE, ns_ext_tuples, WMITLV_SIZE_VAR)
  2001. WMITLV_CREATE_PARAM_STRUC(WMI_SET_ARP_NS_OFFLOAD_CMDID);
  2002. /* AP PS peer param Cmd */
  2003. #define WMITLV_TABLE_WMI_AP_PS_PEER_PARAM_CMDID(id,op,buf,len) \
  2004. 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)
  2005. WMITLV_CREATE_PARAM_STRUC(WMI_AP_PS_PEER_PARAM_CMDID);
  2006. /* AP PS enhanced green ap param Cmd */
  2007. #define WMITLV_TABLE_WMI_AP_PS_EGAP_PARAM_CMDID(id,op,buf,len) \
  2008. 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)
  2009. WMITLV_CREATE_PARAM_STRUC(WMI_AP_PS_EGAP_PARAM_CMDID);
  2010. /* Profile Trigger Cmd */
  2011. #define WMITLV_TABLE_WMI_WLAN_PROFILE_TRIGGER_CMDID(id,op,buf,len) \
  2012. 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)
  2013. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_TRIGGER_CMDID);
  2014. /* WLAN Profile set hist interval Cmd */
  2015. #define WMITLV_TABLE_WMI_WLAN_PROFILE_SET_HIST_INTVL_CMDID(id,op,buf,len) \
  2016. 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)
  2017. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_SET_HIST_INTVL_CMDID);
  2018. /* WLAN Profile get profile data Cmd */
  2019. #define WMITLV_TABLE_WMI_WLAN_PROFILE_GET_PROFILE_DATA_CMDID(id,op,buf,len) \
  2020. 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)
  2021. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_GET_PROFILE_DATA_CMDID);
  2022. /* WLAN Profile enable profile ID Cmd */
  2023. #define WMITLV_TABLE_WMI_WLAN_PROFILE_ENABLE_PROFILE_ID_CMDID(id,op,buf,len) \
  2024. 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)
  2025. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_ENABLE_PROFILE_ID_CMDID);
  2026. /* WOW Delete Wake Pattern Cmd */
  2027. #define WMITLV_TABLE_WMI_WOW_DEL_WAKE_PATTERN_CMDID(id,op,buf,len) \
  2028. 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)
  2029. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_DEL_WAKE_PATTERN_CMDID);
  2030. #define WMITLV_TABLE_WMI_WOW_UDP_SVC_OFLD_CMDID(id,op,buf,len) \
  2031. 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) \
  2032. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pattern, WMITLV_SIZE_VAR) \
  2033. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, response, WMITLV_SIZE_VAR)
  2034. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_UDP_SVC_OFLD_CMDID);
  2035. #define WMITLV_TABLE_WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMDID(id,op,buf,len) \
  2036. 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)
  2037. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMDID);
  2038. #define WMITLV_TABLE_WMI_WOW_SET_ACTION_WAKE_UP_CMDID(id,op,buf,len) \
  2039. 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) \
  2040. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, action_bitmaps_per_category, WMITLV_SIZE_VAR)
  2041. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_SET_ACTION_WAKE_UP_CMDID);
  2042. /* Wow enable/disable wake up Cmd */
  2043. #define WMITLV_TABLE_WMI_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID(id,op,buf,len) \
  2044. 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)
  2045. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_ENABLE_DISABLE_WAKE_EVENT_CMDID);
  2046. /* RTT measurement request Cmd */
  2047. #define WMITLV_TABLE_WMI_RTT_MEASREQ_CMDID(id,op,buf,len) \
  2048. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2049. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_MEASREQ_CMDID);
  2050. /* RTT TSF Cmd */
  2051. #define WMITLV_TABLE_WMI_RTT_TSF_CMDID(id,op,buf,len) \
  2052. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2053. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_TSF_CMDID);
  2054. /* RTT OEM req Cmd */
  2055. #define WMITLV_TABLE_WMI_OEM_REQ_CMDID(id,op,buf,len) \
  2056. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2057. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_REQ_CMDID);
  2058. /* RTT OEM request Cmd - DEPRECATED */
  2059. #define WMITLV_TABLE_WMI_OEM_REQUEST_CMDID(id,op,buf,len) \
  2060. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2061. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_REQUEST_CMDID);
  2062. /* RTT OEM req Cmd through LPASS */
  2063. #define WMITLV_TABLE_WMI_LPI_OEM_REQ_CMDID(id,op,buf,len) \
  2064. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2065. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_OEM_REQ_CMDID);
  2066. #define WMITLV_TABLE_WMI_OEM_DMA_RING_CFG_REQ_CMDID(id,op,buf,len) \
  2067. 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)
  2068. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DMA_RING_CFG_REQ_CMDID);
  2069. /* Spectral scan configure Cmd */
  2070. #define WMITLV_TABLE_WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID(id,op,buf,len) \
  2071. 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)
  2072. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID);
  2073. /* Spectral scan enable Cmd */
  2074. #define WMITLV_TABLE_WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID(id,op,buf,len) \
  2075. 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)
  2076. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID);
  2077. /* Request stats Cmd */
  2078. #define WMITLV_TABLE_WMI_REQUEST_STATS_CMDID(id,op,buf,len) \
  2079. 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) \
  2080. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_inst_rssi_stats_params, inst_rssi_params, WMITLV_SIZE_VAR)
  2081. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_STATS_CMDID);
  2082. /* PN Request Cmd */
  2083. #define WMITLV_TABLE_WMI_PEER_TX_PN_REQUEST_CMDID(id,op,buf,len) \
  2084. 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)
  2085. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TX_PN_REQUEST_CMDID);
  2086. /* Request for memory dump stats Cmd */
  2087. #define WMITLV_TABLE_WMI_GET_FW_MEM_DUMP_CMDID(id,op,buf,len) \
  2088. 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) \
  2089. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_fw_mem_dump, fw_mem_dump_params, WMITLV_SIZE_VAR)
  2090. WMITLV_CREATE_PARAM_STRUC(WMI_GET_FW_MEM_DUMP_CMDID);
  2091. /* flush debug messages */
  2092. #define WMITLV_TABLE_WMI_DEBUG_MESG_FLUSH_CMDID(id,op,buf,len) \
  2093. 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)
  2094. WMITLV_CREATE_PARAM_STRUC(WMI_DEBUG_MESG_FLUSH_CMDID);
  2095. /* Request to config the DIAG Events and LOGs*/
  2096. #define WMITLV_TABLE_WMI_DIAG_EVENT_LOG_CONFIG_CMDID(id,op,buf,len) \
  2097. 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) \
  2098. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, diag_events_logs_list, WMITLV_SIZE_VAR)
  2099. WMITLV_CREATE_PARAM_STRUC(WMI_DIAG_EVENT_LOG_CONFIG_CMDID);
  2100. /* Set config params */
  2101. #define WMITLV_TABLE_WMI_START_LINK_STATS_CMDID(id,op,buf,len) \
  2102. 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)
  2103. WMITLV_CREATE_PARAM_STRUC(WMI_START_LINK_STATS_CMDID);
  2104. /* Request to clear link stats */
  2105. #define WMITLV_TABLE_WMI_CLEAR_LINK_STATS_CMDID(id,op,buf,len) \
  2106. 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)
  2107. WMITLV_CREATE_PARAM_STRUC(WMI_CLEAR_LINK_STATS_CMDID);
  2108. /* Request stats Cmd */
  2109. #define WMITLV_TABLE_WMI_REQUEST_LINK_STATS_CMDID(id,op,buf,len) \
  2110. 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)
  2111. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_LINK_STATS_CMDID);
  2112. /* Request wlm stats Cmd */
  2113. #define WMITLV_TABLE_WMI_REQUEST_WLM_STATS_CMDID(id,op,buf,len) \
  2114. 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)
  2115. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_WLM_STATS_CMDID);
  2116. /* Network list offload config Cmd */
  2117. #define WMITLV_TABLE_WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID(id,op,buf,len) \
  2118. 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) \
  2119. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, nlo_configured_parameters, nlo_list, WMITLV_SIZE_VAR) \
  2120. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR) \
  2121. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, nlo_channel_prediction_cfg, channel_prediction_param, WMITLV_SIZE_VAR) \
  2122. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_enlo_candidate_score_param, enlo_candidate_score_params, candidate_score_params, WMITLV_SIZE_FIX)\
  2123. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui, vendor_oui, WMITLV_SIZE_VAR) \
  2124. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_connected_nlo_rssi_params, connected_nlo_rssi_params, cnlo_rssi_params, WMITLV_SIZE_FIX) \
  2125. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, connected_nlo_bss_band_rssi_pref, cnlo_bss_band_rssi_pref, WMITLV_SIZE_VAR)
  2126. WMITLV_CREATE_PARAM_STRUC(WMI_NETWORK_LIST_OFFLOAD_CONFIG_CMDID);
  2127. /* Passpoint list offload config Cmd */
  2128. #define WMITLV_TABLE_WMI_PASSPOINT_LIST_CONFIG_CMDID(id,op,buf,len) \
  2129. 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)
  2130. WMITLV_CREATE_PARAM_STRUC(WMI_PASSPOINT_LIST_CONFIG_CMDID);
  2131. /* CSA offload enable Cmd */
  2132. #define WMITLV_TABLE_WMI_CSA_OFFLOAD_ENABLE_CMDID(id,op,buf,len) \
  2133. 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)
  2134. WMITLV_CREATE_PARAM_STRUC(WMI_CSA_OFFLOAD_ENABLE_CMDID);
  2135. /* CSA offload channel switch Cmd */
  2136. #define WMITLV_TABLE_WMI_CSA_OFFLOAD_CHANSWITCH_CMDID(id,op,buf,len) \
  2137. 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) \
  2138. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX)
  2139. WMITLV_CREATE_PARAM_STRUC(WMI_CSA_OFFLOAD_CHANSWITCH_CMDID);
  2140. /* Chatter set mode Cmd */
  2141. #define WMITLV_TABLE_WMI_CHATTER_SET_MODE_CMDID(id,op,buf,len) \
  2142. 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)
  2143. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_SET_MODE_CMDID);
  2144. /* PDEV UTF Cmd */
  2145. #define WMITLV_TABLE_WMI_PDEV_UTF_CMDID(id,op,buf,len)\
  2146. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2147. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UTF_CMDID);
  2148. /* PDEV QVIT Cmd */
  2149. #define WMITLV_TABLE_WMI_PDEV_QVIT_CMDID(id,op,buf,len)\
  2150. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2151. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_QVIT_CMDID);
  2152. #define WMITLV_TABLE_WMI_PDEV_SET_WAKEUP_CONFIG_CMDID(id,op,buf,len) \
  2153. 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)
  2154. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_WAKEUP_CONFIG_CMDID);
  2155. #define WMITLV_TABLE_WMI_PDEV_DMA_RING_CFG_REQ_CMDID(id,op,buf,len) \
  2156. 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)
  2157. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DMA_RING_CFG_REQ_CMDID);
  2158. /* Vdev Set keep alive Cmd */
  2159. #define WMITLV_TABLE_WMI_VDEV_SET_KEEPALIVE_CMDID(id,op,buf,len) \
  2160. 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)
  2161. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_KEEPALIVE_CMDID);
  2162. /* Vdev Get keep alive Cmd */
  2163. #define WMITLV_TABLE_WMI_VDEV_GET_KEEPALIVE_CMDID(id,op,buf,len) \
  2164. 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)
  2165. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_KEEPALIVE_CMDID);
  2166. /* Vdev cmd to enable/disable fw offloaded beacons. */
  2167. #define WMITLV_TABLE_WMI_BCN_OFFLOAD_CTRL_CMDID(id,op,buf,len) \
  2168. 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)
  2169. WMITLV_CREATE_PARAM_STRUC(WMI_BCN_OFFLOAD_CTRL_CMDID);
  2170. /* FWTEST Set TBTT mode Cmd */
  2171. #define WMITLV_TABLE_WMI_FWTEST_VDEV_MCC_SET_TBTT_MODE_CMDID(id,op,buf,len) \
  2172. 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)
  2173. WMITLV_CREATE_PARAM_STRUC(WMI_FWTEST_VDEV_MCC_SET_TBTT_MODE_CMDID);
  2174. /* FWTEST set NoA parameters Cmd */
  2175. #define WMITLV_TABLE_WMI_FWTEST_P2P_SET_NOA_PARAM_CMDID(id,op,buf,len) \
  2176. 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) \
  2177. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_descriptor, noa_descriptor, WMITLV_SIZE_VAR)
  2178. WMITLV_CREATE_PARAM_STRUC(WMI_FWTEST_P2P_SET_NOA_PARAM_CMDID);
  2179. /* Unit test FW */
  2180. #define WMITLV_TABLE_WMI_UNIT_TEST_CMDID(id,op,buf,len) \
  2181. 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) \
  2182. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, args, WMITLV_SIZE_VAR)
  2183. WMITLV_CREATE_PARAM_STRUC(WMI_UNIT_TEST_CMDID);
  2184. /* Force Fw Hang Cmd */
  2185. #define WMITLV_TABLE_WMI_FORCE_FW_HANG_CMDID(id,op,buf,len) \
  2186. 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)
  2187. WMITLV_CREATE_PARAM_STRUC(WMI_FORCE_FW_HANG_CMDID);
  2188. /* Set Mcast address Cmd */
  2189. #define WMITLV_TABLE_WMI_SET_MCASTBCAST_FILTER_CMDID(id,op,buf,len) \
  2190. 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)
  2191. WMITLV_CREATE_PARAM_STRUC(WMI_SET_MCASTBCAST_FILTER_CMDID);
  2192. /* Enhanced Mcast add/delete filter list cmd */
  2193. #define WMITLV_TABLE_WMI_SET_MULTIPLE_MCAST_FILTER_CMDID(id,op,buf,len) \
  2194. 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) \
  2195. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mcast_list, WMITLV_SIZE_VAR)
  2196. WMITLV_CREATE_PARAM_STRUC(WMI_SET_MULTIPLE_MCAST_FILTER_CMDID);
  2197. /* Set dbglog time stamp sync cmd */
  2198. #define WMITLV_TABLE_WMI_DBGLOG_TIME_STAMP_SYNC_CMDID(id,op,buf,len) \
  2199. 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)
  2200. WMITLV_CREATE_PARAM_STRUC(WMI_DBGLOG_TIME_STAMP_SYNC_CMDID);
  2201. /* GPIO config Cmd */
  2202. #define WMITLV_TABLE_WMI_GPIO_CONFIG_CMDID(id,op,buf,len) \
  2203. 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)
  2204. WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_CONFIG_CMDID);
  2205. /* GPIO output Cmd */
  2206. #define WMITLV_TABLE_WMI_GPIO_OUTPUT_CMDID(id,op,buf,len) \
  2207. 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)
  2208. WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_OUTPUT_CMDID);
  2209. /* Peer add WDA entry Cmd */
  2210. #define WMITLV_TABLE_WMI_PEER_ADD_WDS_ENTRY_CMDID(id,op,buf,len) \
  2211. 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)
  2212. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ADD_WDS_ENTRY_CMDID);
  2213. /*Peer remove WDS entry Cmd */
  2214. #define WMITLV_TABLE_WMI_PEER_REMOVE_WDS_ENTRY_CMDID(id,op,buf,len) \
  2215. 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)
  2216. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_REMOVE_WDS_ENTRY_CMDID);
  2217. /* Beacon tx Cmd */
  2218. #define WMITLV_TABLE_WMI_BCN_TX_CMDID(id,op,buf,len) \
  2219. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_bcn_tx_hdr, wmi_bcn_tx_hdr, hdr, WMITLV_SIZE_FIX) \
  2220. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  2221. WMITLV_CREATE_PARAM_STRUC(WMI_BCN_TX_CMDID);
  2222. /* PDEV send Beacon Cmd */
  2223. #define WMITLV_TABLE_WMI_PDEV_SEND_BCN_CMDID(id,op,buf,len) \
  2224. 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)
  2225. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SEND_BCN_CMDID);
  2226. /* Management tx Cmd */
  2227. #define WMITLV_TABLE_WMI_MGMT_TX_CMDID(id,op,buf,len) \
  2228. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_tx_hdr, wmi_mgmt_tx_hdr, hdr, WMITLV_SIZE_FIX) \
  2229. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  2230. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_TX_CMDID);
  2231. /* Management tx send cmd */
  2232. #define WMITLV_TABLE_WMI_MGMT_TX_SEND_CMDID(id,op,buf,len) \
  2233. 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) \
  2234. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  2235. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tx_send_params, wmi_tx_send_params, tx_send_params, WMITLV_SIZE_FIX)
  2236. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_TX_SEND_CMDID);
  2237. /* offchan data tx send cmd */
  2238. #define WMITLV_TABLE_WMI_OFFCHAN_DATA_TX_SEND_CMDID(id,op,buf,len) \
  2239. 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) \
  2240. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  2241. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tx_send_params, wmi_tx_send_params, tx_send_params, WMITLV_SIZE_FIX)
  2242. WMITLV_CREATE_PARAM_STRUC(WMI_OFFCHAN_DATA_TX_SEND_CMDID);
  2243. /** PDEV send FILS Discovery frame cmd */
  2244. #define WMITLV_TABLE_WMI_PDEV_SEND_FD_CMDID(id,op,buf,len) \
  2245. 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)
  2246. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SEND_FD_CMDID);
  2247. /** Enable or Disable Fast Initial Link Setup (FILS) feature cmd */
  2248. #define WMITLV_TABLE_WMI_ENABLE_FILS_CMDID(id,op,buf,len) \
  2249. 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)
  2250. WMITLV_CREATE_PARAM_STRUC(WMI_ENABLE_FILS_CMDID);
  2251. /* ADD clear response Cmd */
  2252. #define WMITLV_TABLE_WMI_ADDBA_CLEAR_RESP_CMDID(id,op,buf,len) \
  2253. 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)
  2254. WMITLV_CREATE_PARAM_STRUC(WMI_ADDBA_CLEAR_RESP_CMDID);
  2255. /* ADD BA send Cmd */
  2256. #define WMITLV_TABLE_WMI_ADDBA_SEND_CMDID(id,op,buf,len) \
  2257. 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)
  2258. WMITLV_CREATE_PARAM_STRUC(WMI_ADDBA_SEND_CMDID);
  2259. /* DEL BA send Cmd */
  2260. #define WMITLV_TABLE_WMI_DELBA_SEND_CMDID(id,op,buf,len) \
  2261. 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)
  2262. WMITLV_CREATE_PARAM_STRUC(WMI_DELBA_SEND_CMDID);
  2263. /* ADD BA set response Cmd */
  2264. #define WMITLV_TABLE_WMI_ADDBA_SET_RESP_CMDID(id,op,buf,len) \
  2265. 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)
  2266. WMITLV_CREATE_PARAM_STRUC(WMI_ADDBA_SET_RESP_CMDID);
  2267. /* Send single AMSDU Cmd */
  2268. #define WMITLV_TABLE_WMI_SEND_SINGLEAMSDU_CMDID(id,op,buf,len) \
  2269. 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)
  2270. WMITLV_CREATE_PARAM_STRUC(WMI_SEND_SINGLEAMSDU_CMDID);
  2271. /* PDev Packet Log enable Cmd */
  2272. #define WMITLV_TABLE_WMI_PDEV_PKTLOG_ENABLE_CMDID(id,op,buf,len) \
  2273. 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)
  2274. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_PKTLOG_ENABLE_CMDID);
  2275. /* PDev Packet Log disable Cmd */
  2276. #define WMITLV_TABLE_WMI_PDEV_PKTLOG_DISABLE_CMDID(id,op,buf,len) \
  2277. 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)
  2278. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_PKTLOG_DISABLE_CMDID);
  2279. /* PDev set HT Cap IE Cmd */
  2280. #define WMITLV_TABLE_WMI_PDEV_SET_HT_CAP_IE_CMDID(id,op,buf,len) \
  2281. 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)\
  2282. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)
  2283. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_HT_CAP_IE_CMDID);
  2284. /* PDev set VHT Cap IE Cmd */
  2285. #define WMITLV_TABLE_WMI_PDEV_SET_VHT_CAP_IE_CMDID(id,op,buf,len) \
  2286. 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)\
  2287. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)
  2288. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_VHT_CAP_IE_CMDID);
  2289. /* PDev Set DSCP to TID map Cmd */
  2290. #define WMITLV_TABLE_WMI_PDEV_SET_DSCP_TID_MAP_CMDID(id,op,buf,len) \
  2291. 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)
  2292. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_DSCP_TID_MAP_CMDID);
  2293. /* PDev Green AP PS enable Cmd */
  2294. #define WMITLV_TABLE_WMI_PDEV_GREEN_AP_PS_ENABLE_CMDID(id,op,buf,len) \
  2295. 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)
  2296. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GREEN_AP_PS_ENABLE_CMDID);
  2297. /* PDEV Get TPC Config Cmd */
  2298. #define WMITLV_TABLE_WMI_PDEV_GET_TPC_CONFIG_CMDID(id,op,buf,len) \
  2299. 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)
  2300. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TPC_CONFIG_CMDID);
  2301. /* PDEV Get Antenna diversity chains rssi and antenna index Cmd */
  2302. #define WMITLV_TABLE_WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID(id,op,buf,len) \
  2303. 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)
  2304. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DIV_GET_RSSI_ANTID_CMDID);
  2305. #define WMITLV_TABLE_WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID(id,op,buf,len) \
  2306. 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)
  2307. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID);
  2308. /* PDEV update ctl table Cmd */
  2309. #define WMITLV_TABLE_WMI_PDEV_UPDATE_CTLTABLE_REQUEST_CMDID(id,op,buf,len) \
  2310. 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) \
  2311. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ctltable_data, WMITLV_SIZE_VAR)
  2312. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_CTLTABLE_REQUEST_CMDID);
  2313. /* VDEV Get Tx power Cmd */
  2314. #define WMITLV_TABLE_WMI_VDEV_GET_TX_POWER_CMDID(id,op,buf,len) \
  2315. 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)
  2316. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_TX_POWER_CMDID);
  2317. /* Limit Offchannel duration Cmd */
  2318. #define WMITLV_TABLE_WMI_VDEV_LIMIT_OFFCHAN_CMDID(id,op,buf,len) \
  2319. 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)
  2320. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_LIMIT_OFFCHAN_CMDID);
  2321. /* vdev per-AC SW retry configuration cmd */
  2322. #define WMITLV_TABLE_WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID(id,op,buf,len) \
  2323. 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)
  2324. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID);
  2325. #define WMITLV_TABLE_WMI_VDEV_CHAINMASK_CONFIG_CMDID(id,op,buf,len) \
  2326. 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)
  2327. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_CHAINMASK_CONFIG_CMDID);
  2328. /* PDEV Set Base Mac Address Cmd */
  2329. #define WMITLV_TABLE_WMI_PDEV_SET_BASE_MACADDR_CMDID(id,op,buf,len) \
  2330. 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)
  2331. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_BASE_MACADDR_CMDID);
  2332. /* MIB Stats*/
  2333. #define WMITLV_TABLE_WMI_MIB_STATS_ENABLE_CMDID(id,op,buf,len) \
  2334. 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)
  2335. WMITLV_CREATE_PARAM_STRUC(WMI_MIB_STATS_ENABLE_CMDID);
  2336. /* Peer multicast group Cmd */
  2337. #define WMITLV_TABLE_WMI_PEER_MCAST_GROUP_CMDID(id,op,buf,len) \
  2338. 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)
  2339. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_MCAST_GROUP_CMDID);
  2340. /* Roam AP profile Cmd */
  2341. #define WMITLV_TABLE_WMI_ROAM_AP_PROFILE(id,op,buf,len) \
  2342. 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) \
  2343. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ap_profile, wmi_ap_profile, ap_profile, WMITLV_SIZE_FIX) \
  2344. 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) \
  2345. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_score_delta_param, roam_score_delta_param_list, WMITLV_SIZE_VAR) \
  2346. 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)
  2347. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_AP_PROFILE);
  2348. /* Roam sync complete Cmd */
  2349. #define WMITLV_TABLE_WMI_ROAM_SYNCH_COMPLETE(id,op,buf,len) \
  2350. 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)
  2351. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SYNCH_COMPLETE);
  2352. #define WMITLV_TABLE_WMI_ROAM_SET_RIC_REQUEST_CMDID(id,op,buf,len) \
  2353. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ric_request_fixed_param, wmi_ric_request_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2354. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ric_tspec, ric_tspec_list, WMITLV_SIZE_VAR)
  2355. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SET_RIC_REQUEST_CMDID);
  2356. /* Scan scheduler priority Table Cmd */
  2357. #define WMITLV_TABLE_WMI_SCAN_SCH_PRIO_TBL_CMDID(id,op,buf,len) \
  2358. 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) \
  2359. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, mapping_table, WMITLV_SIZE_VAR)
  2360. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_SCH_PRIO_TBL_CMDID);
  2361. /* PDEV DFS enable Cmd */
  2362. #define WMITLV_TABLE_WMI_PDEV_DFS_ENABLE_CMDID(id,op,buf,len) \
  2363. 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)
  2364. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_ENABLE_CMDID);
  2365. /* PDEV DFS disable Cmd */
  2366. #define WMITLV_TABLE_WMI_PDEV_DFS_DISABLE_CMDID(id,op,buf,len) \
  2367. 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)
  2368. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_DISABLE_CMDID);
  2369. /* DFS phyerr parse/filter offload enable Cmd */
  2370. #define WMITLV_TABLE_WMI_DFS_PHYERR_FILTER_ENA_CMDID(id,op,buf,len) \
  2371. 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)
  2372. WMITLV_CREATE_PARAM_STRUC(WMI_DFS_PHYERR_FILTER_ENA_CMDID);
  2373. /* DFS phyerr parse/filter offload disable Cmd */
  2374. #define WMITLV_TABLE_WMI_DFS_PHYERR_FILTER_DIS_CMDID(id,op,buf,len) \
  2375. 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)
  2376. WMITLV_CREATE_PARAM_STRUC(WMI_DFS_PHYERR_FILTER_DIS_CMDID);
  2377. /* DFS phyerr processing offload enable cmd */
  2378. #define WMITLV_TABLE_WMI_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMDID(id,op,buf,len) \
  2379. 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)
  2380. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMDID);
  2381. /* DFS phyerr processing offload disble cmd */
  2382. #define WMITLV_TABLE_WMI_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMDID(id,op,buf,len) \
  2383. 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)
  2384. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMDID);
  2385. /* set ADFS channel config cmd */
  2386. #define WMITLV_TABLE_WMI_VDEV_ADFS_CH_CFG_CMDID(id,op,buf,len) \
  2387. 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)
  2388. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADFS_CH_CFG_CMDID);
  2389. /* DFS abort ADFS ocac currently in progress */
  2390. #define WMITLV_TABLE_WMI_VDEV_ADFS_OCAC_ABORT_CMDID(id,op,buf,len) \
  2391. 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)
  2392. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADFS_OCAC_ABORT_CMDID);
  2393. /* WOW Add Wake Pattern Cmd */
  2394. #define WMITLV_TABLE_WMI_WOW_ADD_WAKE_PATTERN_CMDID(id,op,buf,len) \
  2395. 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) \
  2396. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_BITMAP_PATTERN_T, pattern_info_bitmap, WMITLV_SIZE_VAR) \
  2397. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IPV4_SYNC_PATTERN_T, pattern_info_ipv4, WMITLV_SIZE_VAR)\
  2398. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IPV6_SYNC_PATTERN_T, pattern_info_ipv6, WMITLV_SIZE_VAR)\
  2399. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_MAGIC_PATTERN_CMD, pattern_info_magic_pattern, WMITLV_SIZE_VAR)\
  2400. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, pattern_info_timeout, WMITLV_SIZE_VAR) \
  2401. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ra_ratelimit_interval, WMITLV_SIZE_FIX, 1)
  2402. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_ADD_WAKE_PATTERN_CMDID);
  2403. /* IOAC add keep alive cmd. */
  2404. #define WMITLV_TABLE_WMI_WOW_IOAC_ADD_KEEPALIVE_CMDID(id,op,buf,len) \
  2405. 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) \
  2406. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_WOW_IOAC_KEEPALIVE_T, keepalive_set, WMITLV_SIZE_VAR)
  2407. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_IOAC_ADD_KEEPALIVE_CMDID);
  2408. /* IOAC del keep alive cmd. */
  2409. #define WMITLV_TABLE_WMI_WOW_IOAC_DEL_KEEPALIVE_CMDID(id,op,buf,len) \
  2410. 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)
  2411. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_IOAC_DEL_KEEPALIVE_CMDID);
  2412. /* WOW IOAC Add Wake Pattern Cmd */
  2413. #define WMITLV_TABLE_WMI_WOW_IOAC_ADD_WAKE_PATTERN_CMDID(id,op,buf,len) \
  2414. 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) \
  2415. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IOAC_PKT_PATTERN_T, pattern_info_pkt, WMITLV_SIZE_VAR) \
  2416. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IOAC_TMR_PATTERN_T, pattern_info_tmr, WMITLV_SIZE_VAR) \
  2417. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_IOAC_SOCK_PATTERN_T, pattern_info_sock, WMITLV_SIZE_VAR)
  2418. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_IOAC_ADD_WAKE_PATTERN_CMDID);
  2419. /* WOW IOAC Delete Wake Pattern Cmd */
  2420. #define WMITLV_TABLE_WMI_WOW_IOAC_DEL_WAKE_PATTERN_CMDID(id,op,buf,len) \
  2421. 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)
  2422. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_IOAC_DEL_WAKE_PATTERN_CMDID);
  2423. /* extwow enable Cmd */
  2424. #define WMITLV_TABLE_WMI_EXTWOW_ENABLE_CMDID(id,op,buf,len) \
  2425. 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)
  2426. WMITLV_CREATE_PARAM_STRUC(WMI_EXTWOW_ENABLE_CMDID);
  2427. /* extwow set wakeup params cmd for app type1 */
  2428. #define WMITLV_TABLE_WMI_EXTWOW_SET_APP_TYPE1_PARAMS_CMDID(id,op,buf,len) \
  2429. 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)
  2430. WMITLV_CREATE_PARAM_STRUC(WMI_EXTWOW_SET_APP_TYPE1_PARAMS_CMDID);
  2431. /* extwow set wakeup params cmd for app type2 */
  2432. #define WMITLV_TABLE_WMI_EXTWOW_SET_APP_TYPE2_PARAMS_CMDID(id,op,buf,len) \
  2433. 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)
  2434. WMITLV_CREATE_PARAM_STRUC(WMI_EXTWOW_SET_APP_TYPE2_PARAMS_CMDID);
  2435. /* Stop scan Cmd */
  2436. #define WMITLV_TABLE_WMI_STOP_SCAN_CMDID(id,op,buf,len) \
  2437. 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)
  2438. WMITLV_CREATE_PARAM_STRUC(WMI_STOP_SCAN_CMDID);
  2439. #define WMITLV_TABLE_WMI_PDEV_SET_PARAM_CMDID(id,op,buf,len) \
  2440. 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)
  2441. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_PARAM_CMDID);
  2442. /* PDev set quiet Cmd */
  2443. #define WMITLV_TABLE_WMI_PDEV_SET_QUIET_MODE_CMDID(id,op,buf,len) \
  2444. 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)
  2445. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_QUIET_MODE_CMDID);
  2446. /* VDev set quiet Cmd */
  2447. #define WMITLV_TABLE_WMI_VDEV_SET_QUIET_MODE_CMDID(id,op,buf,len) \
  2448. 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)
  2449. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_QUIET_MODE_CMDID);
  2450. /* vdev set offload quiet Cmd */
  2451. #define WMITLV_TABLE_WMI_VDEV_BCN_OFFLOAD_QUIET_CONFIG_CMDID(id,op,buf,len) \
  2452. 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)
  2453. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_BCN_OFFLOAD_QUIET_CONFIG_CMDID);
  2454. /* Setting custom aggregation size using command */
  2455. #define WMITLV_TABLE_WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID(id,op,buf,len) \
  2456. 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)
  2457. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID);
  2458. /* Vdev create Cmd */
  2459. #define WMITLV_TABLE_WMI_VDEV_CREATE_CMDID(id,op,buf,len) \
  2460. 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) \
  2461. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_txrx_streams, cfg_txrx_streams, WMITLV_SIZE_VAR)
  2462. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_CREATE_CMDID);
  2463. /* Vdev delete Cmd */
  2464. #define WMITLV_TABLE_WMI_VDEV_DELETE_CMDID(id,op,buf,len) \
  2465. 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)
  2466. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DELETE_CMDID);
  2467. /* Vdev up Cmd */
  2468. #define WMITLV_TABLE_WMI_VDEV_UP_CMDID(id,op,buf,len) \
  2469. 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)
  2470. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_UP_CMDID);
  2471. /* Vdev stop cmd */
  2472. #define WMITLV_TABLE_WMI_VDEV_STOP_CMDID(id,op,buf,len) \
  2473. 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)
  2474. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_STOP_CMDID);
  2475. /* Vdev down Cmd */
  2476. #define WMITLV_TABLE_WMI_VDEV_DOWN_CMDID(id,op,buf,len) \
  2477. 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)
  2478. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DOWN_CMDID);
  2479. /* Vdev set param Cmd */
  2480. #define WMITLV_TABLE_WMI_VDEV_SET_PARAM_CMDID(id,op,buf,len) \
  2481. 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)
  2482. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_PARAM_CMDID);
  2483. /* Pdev suspend Cmd */
  2484. #define WMITLV_TABLE_WMI_PDEV_SUSPEND_CMDID(id,op,buf,len) \
  2485. 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)
  2486. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SUSPEND_CMDID);
  2487. /* Pdev Resume Cmd */
  2488. #define WMITLV_TABLE_WMI_PDEV_RESUME_CMDID(id,op,buf,len) \
  2489. 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)
  2490. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_RESUME_CMDID);
  2491. #define WMITLV_TABLE_WMI_SCAN_UPDATE_REQUEST_CMDID(id,op,buf,len) \
  2492. 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)
  2493. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_UPDATE_REQUEST_CMDID);
  2494. #define WMITLV_TABLE_WMI_SCAN_PROB_REQ_OUI_CMDID(id,op,buf,len) \
  2495. 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) \
  2496. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui, vendor_oui, WMITLV_SIZE_VAR)
  2497. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_PROB_REQ_OUI_CMDID);
  2498. #define WMITLV_TABLE_WMI_PDEV_CONFIG_VENDOR_OUI_ACTION_CMDID(id,op,buf,len) \
  2499. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_config_vendor_oui_action_fixed_param, \
  2500. wmi_pdev_config_vendor_oui_action_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2501. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui_ext, vendor_oui_ext, WMITLV_SIZE_VAR) \
  2502. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2503. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CONFIG_VENDOR_OUI_ACTION_CMDID);
  2504. #define WMITLV_TABLE_WMI_CHATTER_ADD_COALESCING_FILTER_CMDID(id,op,buf,len) \
  2505. 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) \
  2506. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, chatter_pkt_coalescing_filter, coalescing_filter, WMITLV_SIZE_VAR)
  2507. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_ADD_COALESCING_FILTER_CMDID);
  2508. #define WMITLV_TABLE_WMI_CHATTER_DELETE_COALESCING_FILTER_CMDID(id,op,buf,len) \
  2509. 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) \
  2510. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_DELETE_COALESCING_FILTER_CMDID);
  2511. #define WMITLV_TABLE_WMI_CHATTER_COALESCING_QUERY_CMDID(id,op,buf,len) \
  2512. 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) \
  2513. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_COALESCING_QUERY_CMDID);
  2514. #define WMITLV_TABLE_WMI_TXBF_CMDID(id,op,buf,len) \
  2515. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_STRUC_wmi_txbf_cmd_fixed_param, wmi_txbf_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2516. WMITLV_CREATE_PARAM_STRUC(WMI_TXBF_CMDID);
  2517. #define WMITLV_TABLE_WMI_DBGLOG_CFG_CMDID(id,op,buf,len) \
  2518. 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) \
  2519. WMITLV_FXAR(id,op,buf,len,WMITLV_TAG_ARRAY_UINT32, A_UINT32, module_id_bitmap, WMITLV_SIZE_FIX, MAX_MODULE_ID_BITMAP_WORDS) \
  2520. WMITLV_CREATE_PARAM_STRUC(WMI_DBGLOG_CFG_CMDID);
  2521. #define WMITLV_TABLE_WMI_VDEV_WMM_ADDTS_CMDID(id,op,buf,len) \
  2522. 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)
  2523. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_WMM_ADDTS_CMDID);
  2524. #define WMITLV_TABLE_WMI_VDEV_WMM_DELTS_CMDID(id,op,buf,len) \
  2525. 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)
  2526. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_WMM_DELTS_CMDID);
  2527. #define WMITLV_TABLE_WMI_VDEV_SET_WMM_PARAMS_CMDID(id,op,buf,len) \
  2528. 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)
  2529. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_WMM_PARAMS_CMDID);
  2530. #define WMITLV_TABLE_WMI_VDEV_SET_GTX_PARAMS_CMDID(id,op,buf,len) \
  2531. 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)
  2532. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_GTX_PARAMS_CMDID);
  2533. /* TDLS Enable/Disable Cmd */
  2534. #define WMITLV_TABLE_WMI_TDLS_SET_STATE_CMDID(id,op,buf,len) \
  2535. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tdls_set_state_cmd_fixed_param, \
  2536. wmi_tdls_set_state_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2537. WMITLV_CREATE_PARAM_STRUC(WMI_TDLS_SET_STATE_CMDID);
  2538. /* TDLS Peer Update Cmd */
  2539. #define WMITLV_TABLE_WMI_TDLS_PEER_UPDATE_CMDID(id,op,buf,len) \
  2540. 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) \
  2541. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tdls_peer_capabilities, wmi_tdls_peer_capabilities, peer_caps, WMITLV_SIZE_FIX) \
  2542. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, peer_chan_list, WMITLV_SIZE_VAR)
  2543. WMITLV_CREATE_PARAM_STRUC(WMI_TDLS_PEER_UPDATE_CMDID);
  2544. /* Enable/Disable TDLS Offchannel Cmd */
  2545. #define WMITLV_TABLE_WMI_TDLS_SET_OFFCHAN_MODE_CMDID(id,op,buf,len) \
  2546. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tdls_set_offchan_mode_cmd_fixed_param, \
  2547. wmi_tdls_set_offchan_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2548. WMITLV_CREATE_PARAM_STRUC(WMI_TDLS_SET_OFFCHAN_MODE_CMDID);
  2549. /* Resmgr Enable/Disable Adaptive OCS CMD */
  2550. #define WMITLV_TABLE_WMI_RESMGR_ADAPTIVE_OCS_ENABLE_DISABLE_CMDID(id,op,buf,len) \
  2551. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_resmgr_adaptive_ocs_enable_disable_cmd_fixed_param, \
  2552. wmi_resmgr_adaptive_ocs_enable_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2553. WMITLV_CREATE_PARAM_STRUC(WMI_RESMGR_ADAPTIVE_OCS_ENABLE_DISABLE_CMDID);
  2554. /* Resmgr Set Channel Time Quota CMD */
  2555. #define WMITLV_TABLE_WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID(id,op,buf,len) \
  2556. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_resmgr_set_chan_time_quota_cmd_fixed_param, \
  2557. wmi_resmgr_set_chan_time_quota_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2558. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2559. WMITLV_CREATE_PARAM_STRUC(WMI_RESMGR_SET_CHAN_TIME_QUOTA_CMDID);
  2560. /* Resmgr Set Channel Latency CMD */
  2561. #define WMITLV_TABLE_WMI_RESMGR_SET_CHAN_LATENCY_CMDID(id,op,buf,len) \
  2562. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_resmgr_set_chan_latency_cmd_fixed_param, \
  2563. wmi_resmgr_set_chan_latency_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2564. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2565. WMITLV_CREATE_PARAM_STRUC(WMI_RESMGR_SET_CHAN_LATENCY_CMDID);
  2566. /* STA SMPS Force Mode CMD */
  2567. #define WMITLV_TABLE_WMI_STA_SMPS_FORCE_MODE_CMDID(id,op,buf,len) \
  2568. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sta_smps_force_mode_cmd_fixed_param, \
  2569. wmi_sta_smps_force_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2570. WMITLV_CREATE_PARAM_STRUC(WMI_STA_SMPS_FORCE_MODE_CMDID);
  2571. /* wlan hb enable/disable CMD */
  2572. #define WMITLV_TABLE_WMI_HB_SET_ENABLE_CMDID(id,op,buf,len) \
  2573. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_enable_cmd_fixed_param, \
  2574. wmi_hb_set_enable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2575. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_ENABLE_CMDID);
  2576. /* wlan hb set tcp params CMD */
  2577. #define WMITLV_TABLE_WMI_HB_SET_TCP_PARAMS_CMDID(id,op,buf,len) \
  2578. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_tcp_params_cmd_fixed_param, \
  2579. wmi_hb_set_tcp_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2580. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_TCP_PARAMS_CMDID);
  2581. /* wlan hb set tcp pkt filter CMD */
  2582. #define WMITLV_TABLE_WMI_HB_SET_TCP_PKT_FILTER_CMDID(id,op,buf,len) \
  2583. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_tcp_pkt_filter_cmd_fixed_param, \
  2584. wmi_hb_set_tcp_pkt_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2585. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_TCP_PKT_FILTER_CMDID);
  2586. /* wlan set udp params CMD */
  2587. #define WMITLV_TABLE_WMI_HB_SET_UDP_PARAMS_CMDID(id,op,buf,len) \
  2588. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_udp_params_cmd_fixed_param, \
  2589. wmi_hb_set_udp_params_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2590. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_UDP_PARAMS_CMDID);
  2591. /* wlan hb set udp pkt filter CMD */
  2592. #define WMITLV_TABLE_WMI_HB_SET_UDP_PKT_FILTER_CMDID(id,op,buf,len) \
  2593. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hb_set_udp_pkt_filter_cmd_fixed_param, \
  2594. wmi_hb_set_udp_pkt_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2595. WMITLV_CREATE_PARAM_STRUC(WMI_HB_SET_UDP_PKT_FILTER_CMDID);
  2596. /* STA SMPS Param CMD */
  2597. #define WMITLV_TABLE_WMI_STA_SMPS_PARAM_CMDID(id,op,buf,len) \
  2598. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_sta_smps_param_cmd_fixed_param, \
  2599. wmi_sta_smps_param_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2600. WMITLV_CREATE_PARAM_STRUC(WMI_STA_SMPS_PARAM_CMDID);
  2601. /* MCC Adaptive Scheduler Traffic Stats */
  2602. #define WMITLV_TABLE_WMI_MCC_SCHED_TRAFFIC_STATS_CMDID(id,op,buf,len) \
  2603. 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) \
  2604. 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)
  2605. WMITLV_CREATE_PARAM_STRUC(WMI_MCC_SCHED_TRAFFIC_STATS_CMDID);
  2606. #define WMITLV_TABLE_WMI_BATCH_SCAN_ENABLE_CMDID(id,op,buf,len) \
  2607. 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)
  2608. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_ENABLE_CMDID);
  2609. #define WMITLV_TABLE_WMI_PEER_INFO_REQ_CMDID(id,op,buf,len) \
  2610. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_info_req_cmd_fixed_param, \
  2611. wmi_peer_info_req_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2612. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_INFO_REQ_CMDID);
  2613. #define WMITLV_TABLE_WMI_PEER_ANTDIV_INFO_REQ_CMDID(id,op,buf,len) \
  2614. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_antdiv_info_req_cmd_fixed_param, \
  2615. wmi_peer_antdiv_info_req_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2616. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ANTDIV_INFO_REQ_CMDID);
  2617. #define WMITLV_TABLE_WMI_RMC_SET_MODE_CMDID(id,op,buf,len) \
  2618. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rmc_set_mode_cmd_fixed_param, \
  2619. wmi_rmc_set_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2620. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_SET_MODE_CMDID);
  2621. #define WMITLV_TABLE_WMI_RMC_SET_ACTION_PERIOD_CMDID(id,op,buf,len) \
  2622. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rmc_set_action_period_cmd_fixed_param, \
  2623. wmi_rmc_set_action_period_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2624. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_SET_ACTION_PERIOD_CMDID);
  2625. #define WMITLV_TABLE_WMI_RMC_CONFIG_CMDID(id,op,buf,len) \
  2626. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rmc_config_cmd_fixed_param, \
  2627. wmi_rmc_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2628. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_CONFIG_CMDID);
  2629. #define WMITLV_TABLE_WMI_MHF_OFFLOAD_SET_MODE_CMDID(id,op,buf,len) \
  2630. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mhf_offload_set_mode_cmd_fixed_param, \
  2631. wmi_mhf_offload_set_mode_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  2632. WMITLV_CREATE_PARAM_STRUC(WMI_MHF_OFFLOAD_SET_MODE_CMDID);
  2633. #define WMITLV_TABLE_WMI_MHF_OFFLOAD_PLUMB_ROUTING_TBL_CMDID(id,op,buf,len) \
  2634. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mhf_offload_plumb_routing_table_cmd_fixed_param, \
  2635. wmi_mhf_offload_plumb_routing_table_cmd, fixed_param, WMITLV_SIZE_FIX) \
  2636. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mhf_offload_routing_table_entry, \
  2637. routing_tbl_entries, WMITLV_SIZE_VAR)
  2638. WMITLV_CREATE_PARAM_STRUC(WMI_MHF_OFFLOAD_PLUMB_ROUTING_TBL_CMDID);
  2639. #define WMITLV_TABLE_WMI_BATCH_SCAN_DISABLE_CMDID(id,op,buf,len) \
  2640. 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)
  2641. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_DISABLE_CMDID);
  2642. #define WMITLV_TABLE_WMI_BATCH_SCAN_TRIGGER_RESULT_CMDID(id,op,buf,len) \
  2643. 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)
  2644. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_TRIGGER_RESULT_CMDID);
  2645. /* LPI mgmt snooping config Cmd */
  2646. #define WMITLV_TABLE_WMI_LPI_MGMT_SNOOPING_CONFIG_CMDID(id,op,buf,len) \
  2647. 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)
  2648. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_MGMT_SNOOPING_CONFIG_CMDID);
  2649. /* LPI start scan Cmd */
  2650. #define WMITLV_TABLE_WMI_LPI_START_SCAN_CMDID(id,op,buf,len) \
  2651. 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) \
  2652. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR) \
  2653. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_ssid, ssid_list, WMITLV_SIZE_VAR) \
  2654. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_list, WMITLV_SIZE_VAR) \
  2655. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_data, WMITLV_SIZE_VAR)
  2656. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_START_SCAN_CMDID);
  2657. /* LPI stop scan Cmd */
  2658. #define WMITLV_TABLE_WMI_LPI_STOP_SCAN_CMDID(id,op,buf,len) \
  2659. 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)
  2660. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_STOP_SCAN_CMDID);
  2661. /* Request for roam stats Cmd */
  2662. #define WMITLV_TABLE_WMI_REQUEST_ROAM_SCAN_STATS_CMDID(id,op,buf,len) \
  2663. 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)
  2664. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_ROAM_SCAN_STATS_CMDID);
  2665. /* BSS load parameters for roam trigger */
  2666. #define WMITLV_TABLE_WMI_ROAM_BSS_LOAD_CONFIG_CMDID(id,op,buf,len) \
  2667. 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)
  2668. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_BSS_LOAD_CONFIG_CMDID);
  2669. /* Deauth roam trigger parameters */
  2670. #define WMITLV_TABLE_WMI_ROAM_DEAUTH_CONFIG_CMDID(id,op,buf,len) \
  2671. 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)
  2672. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_DEAUTH_CONFIG_CMDID);
  2673. /* Idle roam trigger parameters */
  2674. #define WMITLV_TABLE_WMI_ROAM_IDLE_CONFIG_CMDID(id,op,buf,len) \
  2675. 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)
  2676. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_IDLE_CONFIG_CMDID);
  2677. /* Roam Pre-Authentication completion status */
  2678. #define WMITLV_TABLE_WMI_ROAM_PREAUTH_STATUS_CMDID(id,op,buf,len) \
  2679. 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) \
  2680. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pmkid, WMITLV_SIZE_VAR) \
  2681. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pmk, WMITLV_SIZE_VAR)
  2682. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_PREAUTH_STATUS_CMDID);
  2683. /** Roam PMKID request event */
  2684. #define WMITLV_TABLE_WMI_ROAM_PMKID_REQUEST_EVENTID(id,op,buf,len) \
  2685. 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) \
  2686. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_pmkid_request_tlv_param, pmkid_request, WMITLV_SIZE_VAR)
  2687. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_PMKID_REQUEST_EVENTID);
  2688. /* Screen Status Command parameters */
  2689. #define WMITLV_TABLE_WMI_IDLE_TRIGGER_MONITOR_CMDID(id,op,buf,len) \
  2690. 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)
  2691. WMITLV_CREATE_PARAM_STRUC(WMI_IDLE_TRIGGER_MONITOR_CMDID);
  2692. /* Enable or disable roaming trigger reason */
  2693. #define WMITLV_TABLE_WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID(id,op,buf,len) \
  2694. 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)
  2695. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID);
  2696. /* DSM filter parameters */
  2697. #define WMITLV_TABLE_WMI_PDEV_DSM_FILTER_CMDID(id,op,buf,len) \
  2698. 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) \
  2699. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_bssid_disallow_list_config_param, bssid_disallow_list, WMITLV_SIZE_VAR)
  2700. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DSM_FILTER_CMDID);
  2701. #define WMITLV_TABLE_WMI_ROAM_BLACKLIST_EVENTID(id,op,buf,len) \
  2702. 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) \
  2703. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_blacklist_with_timeout_tlv_param, blacklist_with_timeout, WMITLV_SIZE_VAR)
  2704. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_BLACKLIST_EVENTID);
  2705. /* Roam Pre-Authentication Start Event */
  2706. #define WMITLV_TABLE_WMI_ROAM_PREAUTH_START_EVENTID(id,op,buf,len) \
  2707. 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)
  2708. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_PREAUTH_START_EVENTID);
  2709. #define WMITLV_TABLE_WMI_LPI_RESULT_EVENTID(id,op,buf,len) \
  2710. 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) \
  2711. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2712. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_RESULT_EVENTID);
  2713. /* LPI Status Event */
  2714. #define WMITLV_TABLE_WMI_LPI_STATUS_EVENTID(id,op,buf,len) \
  2715. 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)
  2716. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_STATUS_EVENTID);
  2717. /* LPI Handoff Event */
  2718. #define WMITLV_TABLE_WMI_LPI_HANDOFF_EVENTID(id,op,buf,len) \
  2719. 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)
  2720. WMITLV_CREATE_PARAM_STRUC(WMI_LPI_HANDOFF_EVENTID);
  2721. /* Thermal Manager Params*/
  2722. #define WMITLV_TABLE_WMI_THERMAL_MGMT_CMDID(id,op,buf,len) \
  2723. 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)
  2724. WMITLV_CREATE_PARAM_STRUC(WMI_THERMAL_MGMT_CMDID);
  2725. #define WMITLV_TABLE_WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMDID(id,op,buf,len) \
  2726. 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)\
  2727. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pattern, WMITLV_SIZE_VAR)
  2728. WMITLV_CREATE_PARAM_STRUC(WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMDID);
  2729. #define WMITLV_TABLE_WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMDID(id,op,buf,len) \
  2730. 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)
  2731. WMITLV_CREATE_PARAM_STRUC(WMI_DEL_PROACTIVE_ARP_RSP_PATTERN_CMDID);
  2732. /* NaN Request */
  2733. #define WMITLV_TABLE_WMI_NAN_CMDID(id,op,buf,len) \
  2734. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nan_cmd_param, wmi_nan_cmd_param, fixed_param, WMITLV_SIZE_FIX) \
  2735. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  2736. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_nan_host_config_param, host_config, WMITLV_SIZE_VAR)
  2737. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_CMDID);
  2738. /* NAN Data Get Capabilities Cmd */
  2739. #define WMITLV_TABLE_WMI_NDI_GET_CAP_REQ_CMDID(id,op,buf,len) \
  2740. 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)
  2741. WMITLV_CREATE_PARAM_STRUC(WMI_NDI_GET_CAP_REQ_CMDID);
  2742. /** NAN Data Initiator Request Cmd
  2743. *
  2744. * TLV (tag length value ) parameters follow the ndp_initiator_req
  2745. * structure. The TLV's are:
  2746. * wmi_channel channel;
  2747. * A_UINT8 ndp_cfg[];
  2748. * A_UINT8 ndp_app_info[];
  2749. * A_UINT8 ndp_pmk[];
  2750. * A_INT8 ndp_passphrase[];
  2751. * A_INT8 nan_servicename[];
  2752. * wmi_ndp_transport_ip_param ndp_transport_ip_param;
  2753. */
  2754. #define WMITLV_TABLE_WMI_NDP_INITIATOR_REQ_CMDID(id,op,buf,len) \
  2755. 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) \
  2756. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, channel, WMITLV_SIZE_FIX) \
  2757. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_cfg, WMITLV_SIZE_VAR) \
  2758. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_app_info, WMITLV_SIZE_VAR) \
  2759. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_pmk, WMITLV_SIZE_VAR) \
  2760. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, ndp_passphrase, WMITLV_SIZE_VAR) \
  2761. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, nan_servicename, WMITLV_SIZE_VAR) \
  2762. 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)
  2763. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_INITIATOR_REQ_CMDID);
  2764. /** NAN Data Responder Request Cmd
  2765. * TLV (tag length value ) parameters follow the ndp_responder_req
  2766. * structure. The TLV's are:
  2767. * A_UINT8 ndp_cfg[];
  2768. * A_UINT8 ndp_app_info[];
  2769. * A_UINT8 ndp_pmk[];
  2770. * A_INT8 ndp_passphrase[];
  2771. * A_INT8 nan_servicename[];
  2772. * wmi_ndp_transport_ip_param ndp_transport_ip_param;
  2773. */
  2774. #define WMITLV_TABLE_WMI_NDP_RESPONDER_REQ_CMDID(id,op,buf,len) \
  2775. 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) \
  2776. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_cfg, WMITLV_SIZE_VAR) \
  2777. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_app_info, WMITLV_SIZE_VAR) \
  2778. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_pmk, WMITLV_SIZE_VAR) \
  2779. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, ndp_passphrase, WMITLV_SIZE_VAR) \
  2780. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, nan_servicename, WMITLV_SIZE_VAR) \
  2781. 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)
  2782. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_RESPONDER_REQ_CMDID);
  2783. /** NAN Data End Request Cmd
  2784. *
  2785. * TLV (tag length value ) parameters follow the ndp_end_req
  2786. * structure. The TLV's are:
  2787. * wmi_ndp_end_req wmi_ndp_end_req_list[];
  2788. */
  2789. #define WMITLV_TABLE_WMI_NDP_END_REQ_CMDID(id,op,buf,len) \
  2790. 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) \
  2791. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ndp_end_req_PROTOTYPE, ndp_end_req_list, WMITLV_SIZE_VAR)
  2792. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_END_REQ_CMDID);
  2793. /* NDP Request */
  2794. #define WMITLV_TABLE_WMI_NDP_CMDID(id,op,buf,len) \
  2795. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_cmd_param, wmi_ndp_cmd_param, fixed_param, WMITLV_SIZE_FIX)
  2796. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_CMDID);
  2797. /* RCPI Info Request Cmd */
  2798. #define WMITLV_TABLE_WMI_REQUEST_RCPI_CMDID(id,op,buf,len) \
  2799. 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)
  2800. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_RCPI_CMDID);
  2801. /* Modem power state cmd */
  2802. #define WMITLV_TABLE_WMI_MODEM_POWER_STATE_CMDID(id,op,buf,len) \
  2803. 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)
  2804. WMITLV_CREATE_PARAM_STRUC(WMI_MODEM_POWER_STATE_CMDID);
  2805. /* SAR limit update cmd */
  2806. #define WMITLV_TABLE_WMI_SAR_LIMITS_CMDID(id,op,buf,len) \
  2807. 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) \
  2808. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_sar_limit_cmd_row, sar_limits, WMITLV_SIZE_VAR)
  2809. WMITLV_CREATE_PARAM_STRUC(WMI_SAR_LIMITS_CMDID);
  2810. /* SAR limit request cmd */
  2811. #define WMITLV_TABLE_WMI_SAR_GET_LIMITS_CMDID(id,op,buf,len) \
  2812. 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)
  2813. WMITLV_CREATE_PARAM_STRUC(WMI_SAR_GET_LIMITS_CMDID);
  2814. #define WMITLV_TABLE_WMI_SAR2_RESULT_EVENTID(id,op,buf,len) \
  2815. 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)
  2816. WMITLV_CREATE_PARAM_STRUC(WMI_SAR2_RESULT_EVENTID);
  2817. /* get estimated link speed cmd */
  2818. #define WMITLV_TABLE_WMI_PEER_GET_ESTIMATED_LINKSPEED_CMDID(id,op,buf,len) \
  2819. 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)
  2820. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_GET_ESTIMATED_LINKSPEED_CMDID);
  2821. /* ext stats Request */
  2822. #define WMITLV_TABLE_WMI_REQUEST_STATS_EXT_CMDID(id,op,buf,len) \
  2823. 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) \
  2824. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2825. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_STATS_EXT_CMDID);
  2826. /* 2.4Ghz HT40 OBSS scan enable */
  2827. #define WMITLV_TABLE_WMI_OBSS_SCAN_ENABLE_CMDID(id,op,buf,len) \
  2828. 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) \
  2829. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, channels, WMITLV_SIZE_VAR) \
  2830. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_field, WMITLV_SIZE_VAR) \
  2831. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, chan_freqs, WMITLV_SIZE_VAR)
  2832. WMITLV_CREATE_PARAM_STRUC(WMI_OBSS_SCAN_ENABLE_CMDID);
  2833. /* 2.4Ghz HT40 OBSS scan disable */
  2834. #define WMITLV_TABLE_WMI_OBSS_SCAN_DISABLE_CMDID(id,op,buf,len) \
  2835. 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)
  2836. WMITLV_CREATE_PARAM_STRUC(WMI_OBSS_SCAN_DISABLE_CMDID);
  2837. /* Pdev Set LED Config Cmd */
  2838. #define WMITLV_TABLE_WMI_PDEV_SET_LED_CONFIG_CMDID(id,op,buf,len) \
  2839. 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)
  2840. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_LED_CONFIG_CMDID);
  2841. /* host auto shut down config cmd */
  2842. #define WMITLV_TABLE_WMI_HOST_AUTO_SHUTDOWN_CFG_CMDID(id,op,buf,len) \
  2843. 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)
  2844. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_AUTO_SHUTDOWN_CFG_CMDID);
  2845. /* tpc chainmask config cmd */
  2846. #define WMITLV_TABLE_WMI_TPC_CHAINMASK_CONFIG_CMDID(id,op,buf,len) \
  2847. 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) \
  2848. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tpc_chainmask_config, config_list, WMITLV_SIZE_VAR)
  2849. WMITLV_CREATE_PARAM_STRUC(WMI_TPC_CHAINMASK_CONFIG_CMDID);
  2850. /* Ch avoidance update cmd */
  2851. #define WMITLV_TABLE_WMI_CHAN_AVOID_UPDATE_CMDID(id,op,buf,len) \
  2852. 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)
  2853. WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_AVOID_UPDATE_CMDID);
  2854. /* Ch avoidance report allow/disallow cmd*/
  2855. #define WMITLV_TABLE_WMI_CHAN_AVOID_RPT_ALLOW_CMDID(id,op,buf,len) \
  2856. 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)
  2857. WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_AVOID_RPT_ALLOW_CMDID);
  2858. /* D0-WOW Enable Disable Cmd */
  2859. #define WMITLV_TABLE_WMI_D0_WOW_ENABLE_DISABLE_CMDID(id,op,buf,len) \
  2860. 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)
  2861. WMITLV_CREATE_PARAM_STRUC(WMI_D0_WOW_ENABLE_DISABLE_CMDID);
  2862. /* Pdev get chip temperature Cmd */
  2863. #define WMITLV_TABLE_WMI_PDEV_GET_TEMPERATURE_CMDID(id,op,buf,len) \
  2864. 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)
  2865. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TEMPERATURE_CMDID);
  2866. /* Pdev get ANT DIV feature status Cmd */
  2867. #define WMITLV_TABLE_WMI_PDEV_GET_ANTDIV_STATUS_CMDID(id,op,buf,len) \
  2868. 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)
  2869. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_ANTDIV_STATUS_CMDID);
  2870. /* DISA feature : vdev encrypt decrypt request */
  2871. #define WMITLV_TABLE_WMI_VDEV_ENCRYPT_DECRYPT_DATA_REQ_CMDID(id,op,buf,len) \
  2872. 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) \
  2873. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2874. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ENCRYPT_DECRYPT_DATA_REQ_CMDID);
  2875. /* Set antenna diversity Cmd */
  2876. #define WMITLV_TABLE_WMI_SET_ANTENNA_DIVERSITY_CMDID(id,op,buf,len) \
  2877. 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)
  2878. WMITLV_CREATE_PARAM_STRUC(WMI_SET_ANTENNA_DIVERSITY_CMDID);
  2879. /* Set rssi monitoring config Cmd */
  2880. #define WMITLV_TABLE_WMI_RSSI_BREACH_MONITOR_CONFIG_CMDID(id,op,buf,len) \
  2881. 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)
  2882. WMITLV_CREATE_PARAM_STRUC(WMI_RSSI_BREACH_MONITOR_CONFIG_CMDID);
  2883. /* DHCP server offload param Cmd */
  2884. #define WMITLV_TABLE_WMI_SET_DHCP_SERVER_OFFLOAD_CMDID(id,op,buf,len) \
  2885. 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)
  2886. WMITLV_CREATE_PARAM_STRUC(WMI_SET_DHCP_SERVER_OFFLOAD_CMDID);
  2887. /* IPA Offload Enable Disable Cmd */
  2888. #define WMITLV_TABLE_WMI_IPA_OFFLOAD_ENABLE_DISABLE_CMDID(id,op,buf,len) \
  2889. 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)
  2890. WMITLV_CREATE_PARAM_STRUC(WMI_IPA_OFFLOAD_ENABLE_DISABLE_CMDID);
  2891. /* Set LED flashing parameter Cmd */
  2892. #define WMITLV_TABLE_WMI_PDEV_SET_LED_FLASHING_CMDID(id,op,buf,len) \
  2893. 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)
  2894. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_LED_FLASHING_CMDID);
  2895. /* mDNS responder offload param Cmd */
  2896. #define WMITLV_TABLE_WMI_MDNS_OFFLOAD_ENABLE_CMDID(id,op,buf,len) \
  2897. 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)
  2898. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_OFFLOAD_ENABLE_CMDID);
  2899. #define WMITLV_TABLE_WMI_MDNS_SET_FQDN_CMDID(id,op,buf,len) \
  2900. 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) \
  2901. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, fqdn_data, WMITLV_SIZE_VAR)
  2902. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_SET_FQDN_CMDID);
  2903. #define WMITLV_TABLE_WMI_MDNS_SET_RESPONSE_CMDID(id,op,buf,len) \
  2904. 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) \
  2905. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, resp_data, WMITLV_SIZE_VAR)
  2906. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_SET_RESPONSE_CMDID);
  2907. #define WMITLV_TABLE_WMI_MDNS_GET_STATS_CMDID(id,op,buf,len) \
  2908. 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)
  2909. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_GET_STATS_CMDID);
  2910. /* roam invoke Cmd */
  2911. #define WMITLV_TABLE_WMI_ROAM_INVOKE_CMDID(id,op,buf,len) \
  2912. 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) \
  2913. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR) \
  2914. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_list, WMITLV_SIZE_VAR) \
  2915. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_tlv_buf_len_param, bcn_prb_buf_list, WMITLV_SIZE_VAR) \
  2916. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bcn_prb_frm, WMITLV_SIZE_VAR)
  2917. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_INVOKE_CMDID);
  2918. /* SAP Authentication offload param Cmd */
  2919. #define WMITLV_TABLE_WMI_SAP_OFL_ENABLE_CMDID(id,op,buf,len) \
  2920. 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) \
  2921. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, psk, WMITLV_SIZE_VAR)
  2922. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OFL_ENABLE_CMDID);
  2923. /* SAP set blacklist param cmd */
  2924. #define WMITLV_TABLE_WMI_SAP_SET_BLACKLIST_PARAM_CMDID(id,op,buf,len) \
  2925. 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)
  2926. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_SET_BLACKLIST_PARAM_CMDID);
  2927. /* SAP OBSS detection offload param Cmd */
  2928. #define WMITLV_TABLE_WMI_SAP_OBSS_DETECTION_CFG_CMDID(id,op,buf,len) \
  2929. 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)
  2930. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OBSS_DETECTION_CFG_CMDID);
  2931. /* STA BSS Color change offload param Cmd */
  2932. #define WMITLV_TABLE_WMI_BSS_COLOR_CHANGE_ENABLE_CMDID(id,op,buf,len) \
  2933. 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)
  2934. WMITLV_CREATE_PARAM_STRUC(WMI_BSS_COLOR_CHANGE_ENABLE_CMDID);
  2935. /* OBSS Color collision detection config cmd */
  2936. #define WMITLV_TABLE_WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID(id,op,buf,len) \
  2937. 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)
  2938. WMITLV_CREATE_PARAM_STRUC(WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID);
  2939. /* APFIND Request */
  2940. #define WMITLV_TABLE_WMI_APFIND_CMDID(id,op,buf,len) \
  2941. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_apfind_cmd_param, wmi_apfind_cmd_param, fixed_param, WMITLV_SIZE_FIX) \
  2942. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  2943. WMITLV_CREATE_PARAM_STRUC(WMI_APFIND_CMDID);
  2944. /* Set OCB schedule cmd, DEPRECATED */
  2945. #define WMITLV_TABLE_WMI_OCB_SET_SCHED_CMDID(id,op,buf,len) \
  2946. 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)
  2947. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_SCHED_CMDID);
  2948. /* Set OCB configuration cmd */
  2949. #define WMITLV_TABLE_WMI_OCB_SET_CONFIG_CMDID(id,op,buf,len) \
  2950. 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) \
  2951. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, chan_list, WMITLV_SIZE_VAR) \
  2952. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ocb_channel, ocb_chan_list, WMITLV_SIZE_VAR) \
  2953. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_qos_parameter, qos_parameter_list, WMITLV_SIZE_VAR) \
  2954. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_chan, chan_cfg, WMITLV_SIZE_VAR) \
  2955. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_active_state_config, ndl_active_state_config_list, WMITLV_SIZE_VAR) \
  2956. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ocb_schedule_element, schedule_list, WMITLV_SIZE_VAR)
  2957. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_CONFIG_CMDID);
  2958. /* Set UTC time cmd */
  2959. #define WMITLV_TABLE_WMI_OCB_SET_UTC_TIME_CMDID(id,op,buf,len) \
  2960. 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)
  2961. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_UTC_TIME_CMDID);
  2962. /* Start timing advertisement cmd */
  2963. #define WMITLV_TABLE_WMI_OCB_START_TIMING_ADVERT_CMDID(id,op,buf,len) \
  2964. 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) \
  2965. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  2966. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_START_TIMING_ADVERT_CMDID);
  2967. /* Stop timing advertisement cmd */
  2968. #define WMITLV_TABLE_WMI_OCB_STOP_TIMING_ADVERT_CMDID(id,op,buf,len) \
  2969. 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)
  2970. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_STOP_TIMING_ADVERT_CMDID);
  2971. /* Get TSF timer cmd */
  2972. #define WMITLV_TABLE_WMI_OCB_GET_TSF_TIMER_CMDID(id,op,buf,len) \
  2973. 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)
  2974. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_GET_TSF_TIMER_CMDID);
  2975. /* Get DCC stats cmd */
  2976. #define WMITLV_TABLE_WMI_DCC_GET_STATS_CMDID(id,op,buf,len) \
  2977. 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) \
  2978. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_channel_stats_request, channel_stats_request, WMITLV_SIZE_VAR)
  2979. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_GET_STATS_CMDID);
  2980. /* Clear DCC stats cmd */
  2981. #define WMITLV_TABLE_WMI_DCC_CLEAR_STATS_CMDID(id,op,buf,len) \
  2982. 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)
  2983. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_CLEAR_STATS_CMDID);
  2984. /* Update DCC NDL cmd */
  2985. #define WMITLV_TABLE_WMI_DCC_UPDATE_NDL_CMDID(id,op,buf,len) \
  2986. 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) \
  2987. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_chan, chan_ndl_list, WMITLV_SIZE_VAR) \
  2988. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_active_state_config, ndl_active_state_config_list, WMITLV_SIZE_VAR)
  2989. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_UPDATE_NDL_CMDID);
  2990. /* Roam filter cmd */
  2991. #define WMITLV_TABLE_WMI_ROAM_FILTER_CMDID(id,op,buf,len) \
  2992. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_filter_fixed_param, wmi_roam_filter_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  2993. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_black_list, WMITLV_SIZE_VAR) \
  2994. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_ssid, ssid_white_list, WMITLV_SIZE_VAR) \
  2995. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid_preferred_list, WMITLV_SIZE_VAR) \
  2996. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, bssid_preferred_factor, WMITLV_SIZE_VAR) \
  2997. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_lca_disallow_config_tlv_param, lca_disallow_param, WMITLV_SIZE_VAR) \
  2998. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_rejection_list_config_param, rssi_rejection_list, WMITLV_SIZE_VAR)
  2999. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_FILTER_CMDID);
  3000. /* TSF timestamp action cmd */
  3001. #define WMITLV_TABLE_WMI_VDEV_TSF_TSTAMP_ACTION_CMDID(id,op,buf,len) \
  3002. 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)
  3003. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_TSF_TSTAMP_ACTION_CMDID);
  3004. /* LFR subnet change config Cmd */
  3005. #define WMITLV_TABLE_WMI_ROAM_SUBNET_CHANGE_CONFIG_CMDID(id,op,buf,len) \
  3006. 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) \
  3007. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, skip_subnet_change_detection_bssid_list, WMITLV_SIZE_VAR)
  3008. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SUBNET_CHANGE_CONFIG_CMDID);
  3009. /* Set the SOC Preferred Channel List (PCL) Cmd - DEPRECATED */
  3010. #define WMITLV_TABLE_WMI_SOC_SET_PCL_CMDID(id,op,buf,len) \
  3011. 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) \
  3012. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_list, WMITLV_SIZE_VAR)
  3013. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_PCL_CMDID);
  3014. /* Set the PDEV Preferred Channel List (PCL) Cmd */
  3015. #define WMITLV_TABLE_WMI_PDEV_SET_PCL_CMDID(id,op,buf,len) \
  3016. 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) \
  3017. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel_weight, WMITLV_SIZE_VAR)
  3018. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_PCL_CMDID);
  3019. /* Set the SOC Hardware Mode Cmd - DEPRECATED */
  3020. #define WMITLV_TABLE_WMI_SOC_SET_HW_MODE_CMDID(id,op,buf,len) \
  3021. 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)
  3022. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_HW_MODE_CMDID);
  3023. /* Set the PDEV Hardware Mode Cmd */
  3024. #define WMITLV_TABLE_WMI_PDEV_SET_HW_MODE_CMDID(id,op,buf,len) \
  3025. 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)
  3026. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_HW_MODE_CMDID);
  3027. /* Set the SOC Dual MAC Config Cmd - DEPRECATED */
  3028. #define WMITLV_TABLE_WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID(id,op,buf,len) \
  3029. 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)
  3030. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID);
  3031. /* Set the PDEV MAC Config Cmd */
  3032. #define WMITLV_TABLE_WMI_PDEV_SET_MAC_CONFIG_CMDID(id,op,buf,len) \
  3033. 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)
  3034. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_MAC_CONFIG_CMDID);
  3035. /* Set the SOC Antenna Mode Cmd - DEPRECATED */
  3036. #define WMITLV_TABLE_WMI_SOC_SET_ANTENNA_MODE_CMDID(id,op,buf,len) \
  3037. 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)
  3038. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_ANTENNA_MODE_CMDID);
  3039. /* Set the PDEV Antenna Mode Cmd */
  3040. #define WMITLV_TABLE_WMI_PDEV_SET_ANTENNA_MODE_CMDID(id,op,buf,len) \
  3041. 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)
  3042. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_ANTENNA_MODE_CMDID);
  3043. #define WMITLV_TABLE_WMI_LRO_CONFIG_CMDID(id,op,buf,len) \
  3044. 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)
  3045. WMITLV_CREATE_PARAM_STRUC(WMI_LRO_CONFIG_CMDID);
  3046. #define WMITLV_TABLE_WMI_TRANSFER_DATA_TO_FLASH_CMDID(id,op,buf,len) \
  3047. 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) \
  3048. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3049. WMITLV_CREATE_PARAM_STRUC(WMI_TRANSFER_DATA_TO_FLASH_CMDID);
  3050. #define WMITLV_TABLE_WMI_READ_DATA_FROM_FLASH_CMDID(id,op,buf,len) \
  3051. 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)
  3052. WMITLV_CREATE_PARAM_STRUC(WMI_READ_DATA_FROM_FLASH_CMDID);
  3053. #define WMITLV_TABLE_WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID(id,op,buf,len) \
  3054. 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)
  3055. WMITLV_CREATE_PARAM_STRUC(WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID);
  3056. #define WMITLV_TABLE_WMI_VDEV_WISA_CMDID(id,op,buf,len) \
  3057. 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)
  3058. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_WISA_CMDID);
  3059. /* MAWC sensor report indication cmd */
  3060. #define WMITLV_TABLE_WMI_MAWC_SENSOR_REPORT_IND_CMDID(id,op,buf,len) \
  3061. 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)
  3062. WMITLV_CREATE_PARAM_STRUC(WMI_MAWC_SENSOR_REPORT_IND_CMDID);
  3063. /* Roam configure MAWC cmd */
  3064. #define WMITLV_TABLE_WMI_ROAM_CONFIGURE_MAWC_CMDID(id,op,buf,len) \
  3065. 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)
  3066. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_CONFIGURE_MAWC_CMDID);
  3067. /* NLO configure MAWC cmd */
  3068. #define WMITLV_TABLE_WMI_NLO_CONFIGURE_MAWC_CMDID(id,op,buf,len) \
  3069. 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)
  3070. WMITLV_CREATE_PARAM_STRUC(WMI_NLO_CONFIGURE_MAWC_CMDID);
  3071. /* Extscan configure MAWC cmd */
  3072. #define WMITLV_TABLE_WMI_EXTSCAN_CONFIGURE_MAWC_CMDID(id,op,buf,len) \
  3073. 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)
  3074. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CONFIGURE_MAWC_CMDID);
  3075. /* COEX config cmd */
  3076. #define WMITLV_TABLE_WMI_COEX_CONFIG_CMDID(id,op,buf,len) \
  3077. 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)
  3078. WMITLV_CREATE_PARAM_STRUC(WMI_COEX_CONFIG_CMDID);
  3079. /* Coex get antenna isolation cmd */
  3080. #define WMITLV_TABLE_WMI_COEX_GET_ANTENNA_ISOLATION_CMDID(id,op,buf,len) \
  3081. 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)
  3082. WMITLV_CREATE_PARAM_STRUC(WMI_COEX_GET_ANTENNA_ISOLATION_CMDID);
  3083. /* Cal Get power fixed param */
  3084. #define WMITLV_TABLE_WMI_PDEV_GET_NFCAL_POWER_CMDID(id,op,buf,len) \
  3085. 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)
  3086. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_NFCAL_POWER_CMDID);
  3087. /* bpf offload capability get cmd */
  3088. #define WMITLV_TABLE_WMI_BPF_GET_CAPABILITY_CMDID(id,op,buf,len) \
  3089. 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)
  3090. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_GET_CAPABILITY_CMDID);
  3091. /* bpf offload get vdev status cmd */
  3092. #define WMITLV_TABLE_WMI_BPF_GET_VDEV_STATS_CMDID(id,op,buf,len) \
  3093. 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)
  3094. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_GET_VDEV_STATS_CMDID);
  3095. /* bpf offload set vdev instructions cmd */
  3096. #define WMITLV_TABLE_WMI_BPF_SET_VDEV_INSTRUCTIONS_CMDID(id,op,buf,len) \
  3097. 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) \
  3098. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, buf_inst, WMITLV_SIZE_VAR)
  3099. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_SET_VDEV_INSTRUCTIONS_CMDID);
  3100. /* bpf offload delete vdev instructions cmd */
  3101. #define WMITLV_TABLE_WMI_BPF_DEL_VDEV_INSTRUCTIONS_CMDID(id,op,buf,len) \
  3102. 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)
  3103. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_DEL_VDEV_INSTRUCTIONS_CMDID);
  3104. #define WMITLV_TABLE_WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID(id,op,buf,len) \
  3105. 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)
  3106. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID);
  3107. #define WMITLV_TABLE_WMI_BPF_SET_VDEV_ENABLE_CMDID(id,op,buf,len) \
  3108. 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)
  3109. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_SET_VDEV_ENABLE_CMDID);
  3110. #define WMITLV_TABLE_WMI_BPF_SET_VDEV_WORK_MEMORY_CMDID(id,op,buf,len) \
  3111. 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) \
  3112. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, buf_inst, WMITLV_SIZE_VAR)
  3113. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_SET_VDEV_WORK_MEMORY_CMDID);
  3114. #define WMITLV_TABLE_WMI_BPF_GET_VDEV_WORK_MEMORY_CMDID(id,op,buf,len) \
  3115. 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)
  3116. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_GET_VDEV_WORK_MEMORY_CMDID);
  3117. /* Enable/Disable Smart Antenna */
  3118. #define WMITLV_TABLE_WMI_PDEV_SMART_ANT_ENABLE_CMDID(id,op,buf,len) \
  3119. 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) \
  3120. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_smart_ant_gpio_handle, gpio_handle, WMITLV_SIZE_VAR)
  3121. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SMART_ANT_ENABLE_CMDID);
  3122. /* Set Smart Antenna RX antenna */
  3123. #define WMITLV_TABLE_WMI_PDEV_SMART_ANT_SET_RX_ANTENNA_CMDID(id,op,buf,len) \
  3124. 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)
  3125. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SMART_ANT_SET_RX_ANTENNA_CMDID);
  3126. /* Override the antenna switch table */
  3127. #define WMITLV_TABLE_WMI_PDEV_SET_ANTENNA_SWITCH_TABLE_CMDID(id,op,buf,len) \
  3128. 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) \
  3129. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_set_ant_ctrl_chain, ant_ctrl_chain, WMITLV_SIZE_VAR)
  3130. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_ANTENNA_SWITCH_TABLE_CMDID);
  3131. /* Override the CTL table */
  3132. #define WMITLV_TABLE_WMI_PDEV_SET_CTL_TABLE_CMDID(id,op,buf,len) \
  3133. 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) \
  3134. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ctl_info, WMITLV_SIZE_VAR)
  3135. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_CTL_TABLE_CMDID);
  3136. /* Override the array gain table */
  3137. #define WMITLV_TABLE_WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID(id,op,buf,len) \
  3138. 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) \
  3139. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, arraygain_tbl, WMITLV_SIZE_VAR)
  3140. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID);
  3141. /* FIPS cmd */
  3142. #define WMITLV_TABLE_WMI_PDEV_FIPS_CMDID(id,op,buf,len) \
  3143. 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) \
  3144. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3145. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FIPS_CMDID);
  3146. /* get CCK ANI level */
  3147. #define WMITLV_TABLE_WMI_PDEV_GET_ANI_CCK_CONFIG_CMDID(id,op,buf,len) \
  3148. 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)
  3149. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_ANI_CCK_CONFIG_CMDID);
  3150. /* get OFDM ANI level */
  3151. #define WMITLV_TABLE_WMI_PDEV_GET_ANI_OFDM_CONFIG_CMDID(id,op,buf,len) \
  3152. 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)
  3153. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_ANI_OFDM_CONFIG_CMDID);
  3154. /* TxPPDU TPC cmd */
  3155. #define WMITLV_TABLE_WMI_PDEV_GET_TPC_CMDID(id,op,buf,len) \
  3156. 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)
  3157. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TPC_CMDID);
  3158. #define WMITLV_TABLE_WMI_VDEV_RATEMASK_CMDID(id,op,buf,len) \
  3159. 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)
  3160. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_RATEMASK_CMDID);
  3161. /* ATF VDEV REQUEST commands */
  3162. #define WMITLV_TABLE_WMI_VDEV_ATF_REQUEST_CMDID(id,op,buf,len) \
  3163. 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)
  3164. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ATF_REQUEST_CMDID);
  3165. /* Command to send the DSCP-to-TID map to the target for VAP */
  3166. #define WMITLV_TABLE_WMI_VDEV_SET_DSCP_TID_MAP_CMDID(id,op,buf,len) \
  3167. 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)
  3168. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_DSCP_TID_MAP_CMDID);
  3169. /* Configure filter for Neighbor Rx Pkt (smart mesh selective listening) */
  3170. #define WMITLV_TABLE_WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID(id,op,buf,len) \
  3171. 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)
  3172. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID);
  3173. /* update a wds (4 address) entry */
  3174. #define WMITLV_TABLE_WMI_PEER_UPDATE_WDS_ENTRY_CMDID(id,op,buf,len) \
  3175. 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)
  3176. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_UPDATE_WDS_ENTRY_CMDID);
  3177. /* add a proxy sta entry */
  3178. #define WMITLV_TABLE_WMI_PEER_ADD_PROXY_STA_ENTRY_CMDID(id,op,buf,len) \
  3179. 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)
  3180. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ADD_PROXY_STA_ENTRY_CMDID);
  3181. /* Set Smart Antenna TX antenna */
  3182. #define WMITLV_TABLE_WMI_PEER_SMART_ANT_SET_TX_ANTENNA_CMDID(id,op,buf,len) \
  3183. 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) \
  3184. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_smart_ant_set_tx_antenna_series, antenna_series, WMITLV_SIZE_VAR)
  3185. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SMART_ANT_SET_TX_ANTENNA_CMDID);
  3186. /* Set Smart Antenna TX train info */
  3187. #define WMITLV_TABLE_WMI_PEER_SMART_ANT_SET_TRAIN_INFO_CMDID(id,op,buf,len) \
  3188. 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) \
  3189. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_smart_ant_set_train_antenna_param, antenna_param, WMITLV_SIZE_VAR)
  3190. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SMART_ANT_SET_TRAIN_INFO_CMDID);
  3191. /* Set SA node config options */
  3192. #define WMITLV_TABLE_WMI_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMDID(id,op,buf,len) \
  3193. 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) \
  3194. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, args, WMITLV_SIZE_VAR)
  3195. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SMART_ANT_SET_NODE_CONFIG_OPS_CMDID);
  3196. /* Q-Boost configuration test commands */
  3197. #define WMITLV_TABLE_WMI_QBOOST_CFG_CMDID(id,op,buf,len) \
  3198. 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)
  3199. WMITLV_CREATE_PARAM_STRUC(WMI_QBOOST_CFG_CMDID);
  3200. /* set debug and tuning parameters */
  3201. #define WMITLV_TABLE_WMI_FWTEST_CMDID(id,op,buf,len) \
  3202. 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)
  3203. WMITLV_CREATE_PARAM_STRUC(WMI_FWTEST_CMDID);
  3204. /* ATF PEER REQUEST commands. */
  3205. #define WMITLV_TABLE_WMI_PEER_ATF_REQUEST_CMDID(id,op,buf,len) \
  3206. 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) \
  3207. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_atf_peer_info, peer_info, WMITLV_SIZE_VAR)
  3208. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ATF_REQUEST_CMDID);
  3209. /* enable/disable and set the periodicity of periodic channel stats */
  3210. #define WMITLV_TABLE_WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID(id,op,buf,len) \
  3211. 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)
  3212. WMITLV_CREATE_PARAM_STRUC(WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID);
  3213. /* wal power debug command per pdev */
  3214. #define WMITLV_TABLE_WMI_PDEV_WAL_POWER_DEBUG_CMDID(id,op,buf,len) \
  3215. 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) \
  3216. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, args, WMITLV_SIZE_VAR)
  3217. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_WAL_POWER_DEBUG_CMDID);
  3218. /* pdev set reorder timeout val */
  3219. #define WMITLV_TABLE_WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID(id,op,buf,len) \
  3220. 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)
  3221. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID);
  3222. /* peer set rx blocksize cmd */
  3223. #define WMITLV_TABLE_WMI_PEER_SET_RX_BLOCKSIZE_CMDID(id,op,buf,len) \
  3224. 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)
  3225. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SET_RX_BLOCKSIZE_CMDID);
  3226. /* Bandwidth Fairness (BWF) peer configure commands */
  3227. #define WMITLV_TABLE_WMI_PEER_BWF_REQUEST_CMDID(id,op,buf,len) \
  3228. 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) \
  3229. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_bwf_peer_info, peer_info, WMITLV_SIZE_VAR)
  3230. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_BWF_REQUEST_CMDID);
  3231. #define WMITLV_TABLE_WMI_RMC_SET_MANUAL_LEADER_CMDID(id,op,buf,len) \
  3232. 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)
  3233. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_SET_MANUAL_LEADER_CMDID);
  3234. /* peer reorder queue setup cmd */
  3235. #define WMITLV_TABLE_WMI_PEER_REORDER_QUEUE_SETUP_CMDID(id,op,buf,len) \
  3236. 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)
  3237. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_REORDER_QUEUE_SETUP_CMDID);
  3238. /* peer reorder queue remove cmd */
  3239. #define WMITLV_TABLE_WMI_PEER_REORDER_QUEUE_REMOVE_CMDID(id,op,buf,len) \
  3240. 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)
  3241. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_REORDER_QUEUE_REMOVE_CMDID);
  3242. /* Filter in monitor mode paramters Cmd */
  3243. #define WMITLV_TABLE_WMI_MNT_FILTER_CMDID(id,op,buf,len) \
  3244. 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)
  3245. WMITLV_CREATE_PARAM_STRUC(WMI_MNT_FILTER_CMDID);
  3246. /* WLAN GET Chip power Stats*/
  3247. #define WMITLV_TABLE_WMI_PDEV_GET_CHIP_POWER_STATS_CMDID(id,op,buf,len) \
  3248. 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)
  3249. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_CHIP_POWER_STATS_CMDID);
  3250. /* WLAN GET mws conflict */
  3251. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_INFO_CMDID(id,op,buf,len) \
  3252. 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)
  3253. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_INFO_CMDID);
  3254. /* WLAN GET beacon reception Stats*/
  3255. #define WMITLV_TABLE_WMI_VDEV_GET_BCN_RECEPTION_STATS_CMDID(id,op,buf,len) \
  3256. 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)
  3257. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_BCN_RECEPTION_STATS_CMDID);
  3258. /* pdev set stats threshold cmd*/
  3259. #define WMITLV_TABLE_WMI_PDEV_SET_STATS_THRESHOLD_CMDID(id,op,buf,len) \
  3260. 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) \
  3261. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chan_cca_stats_thresh, wmi_chan_cca_stats_thresh, cca_thresh, WMITLV_SIZE_FIX) \
  3262. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_signal_stats_thresh, wmi_peer_signal_stats_thresh, signal_thresh, WMITLV_SIZE_FIX) \
  3263. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_tx_stats_thresh, wmi_tx_stats_thresh, tx_thresh, WMITLV_SIZE_FIX) \
  3264. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rx_stats_thresh, wmi_rx_stats_thresh, rx_thresh, WMITLV_SIZE_FIX)
  3265. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_STATS_THRESHOLD_CMDID);
  3266. /* Request wlan stats cmd */
  3267. #define WMITLV_TABLE_WMI_REQUEST_WLAN_STATS_CMDID(id,op,buf,len) \
  3268. 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)
  3269. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_WLAN_STATS_CMDID);
  3270. /* Request peer stats info cmd */
  3271. #define WMITLV_TABLE_WMI_REQUEST_PEER_STATS_INFO_CMDID(id,op,buf,len) \
  3272. 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)
  3273. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_PEER_STATS_INFO_CMDID);
  3274. /* Host sets the current country code */
  3275. #define WMITLV_TABLE_WMI_SET_CURRENT_COUNTRY_CMDID(id,op,buf,len) \
  3276. 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)
  3277. WMITLV_CREATE_PARAM_STRUC(WMI_SET_CURRENT_COUNTRY_CMDID);
  3278. /* Host sets the init country code */
  3279. #define WMITLV_TABLE_WMI_SET_INIT_COUNTRY_CMDID(id,op,buf,len) \
  3280. 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)
  3281. WMITLV_CREATE_PARAM_STRUC(WMI_SET_INIT_COUNTRY_CMDID);
  3282. /* Start 11d scan in FW */
  3283. #define WMITLV_TABLE_WMI_11D_SCAN_START_CMDID(id,op,buf,len) \
  3284. 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)
  3285. WMITLV_CREATE_PARAM_STRUC(WMI_11D_SCAN_START_CMDID);
  3286. /* Stop 11d scan in FW */
  3287. #define WMITLV_TABLE_WMI_11D_SCAN_STOP_CMDID(id,op,buf,len) \
  3288. 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)
  3289. WMITLV_CREATE_PARAM_STRUC(WMI_11D_SCAN_STOP_CMDID);
  3290. /* Request radio channel stats cmd */
  3291. #define WMITLV_TABLE_WMI_REQUEST_RADIO_CHAN_STATS_CMDID(id,op,buf,len) \
  3292. 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)
  3293. WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_RADIO_CHAN_STATS_CMDID);
  3294. /* mac randomization cmd */
  3295. #define WMITLV_TABLE_WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID(id,op,buf,len) \
  3296. 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)
  3297. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID);
  3298. #define WMITLV_TABLE_WMI_HW_DATA_FILTER_CMDID(id,op,buf,len) \
  3299. 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)
  3300. WMITLV_CREATE_PARAM_STRUC(WMI_HW_DATA_FILTER_CMDID);
  3301. /* Multiple vdev restart request cmd */
  3302. #define WMITLV_TABLE_WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID(id,op,buf,len) \
  3303. 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) \
  3304. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids, WMITLV_SIZE_VAR) \
  3305. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX)
  3306. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID);
  3307. #define WMITLV_TABLE_WMI_PDEV_UPDATE_PKT_ROUTING_CMDID(id,op,buf,len) \
  3308. 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)
  3309. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_PKT_ROUTING_CMDID);
  3310. /* Get cal version cmd */
  3311. #define WMITLV_TABLE_WMI_PDEV_CHECK_CAL_VERSION_CMDID(id,op,buf,len) \
  3312. 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)
  3313. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHECK_CAL_VERSION_CMDID);
  3314. #define WMITLV_TABLE_WMI_PDEV_SET_DIVERSITY_GAIN_CMDID(id,op,buf,len) \
  3315. 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) \
  3316. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, diversity_gains, WMITLV_SIZE_VAR)
  3317. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_DIVERSITY_GAIN_CMDID);
  3318. /* set arp stats cmd */
  3319. #define WMITLV_TABLE_WMI_VDEV_SET_ARP_STAT_CMDID(id,op,buf,len) \
  3320. 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) \
  3321. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_set_connectivity_check_stats, connectivity_check_stats, WMITLV_SIZE_VAR)
  3322. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_ARP_STAT_CMDID);
  3323. /* get arp stats cmd */
  3324. #define WMITLV_TABLE_WMI_VDEV_GET_ARP_STAT_CMDID(id,op,buf,len) \
  3325. 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)
  3326. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_ARP_STAT_CMDID);
  3327. /* Thermal Throttling SET CONFIG commands. */
  3328. #define WMITLV_TABLE_WMI_THERM_THROT_SET_CONF_CMDID(id,op,buf,len) \
  3329. 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) \
  3330. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_therm_throt_level_config_info, therm_throt_level_config_info, WMITLV_SIZE_VAR)
  3331. WMITLV_CREATE_PARAM_STRUC(WMI_THERM_THROT_SET_CONF_CMDID);
  3332. /* OIC ping offload cmd */
  3333. #define WMITLV_TABLE_WMI_HB_OIC_PING_OFFLOAD_PARAM_CMDID(id,op,buf,len) \
  3334. 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)
  3335. WMITLV_CREATE_PARAM_STRUC(WMI_HB_OIC_PING_OFFLOAD_PARAM_CMDID);
  3336. #define WMITLV_TABLE_WMI_HB_OIC_PING_OFFLOAD_SET_ENABLE_CMDID(id,op,buf,len) \
  3337. 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)
  3338. WMITLV_CREATE_PARAM_STRUC(WMI_HB_OIC_PING_OFFLOAD_SET_ENABLE_CMDID);
  3339. /* DHCP Lease Renew Offload cmd */
  3340. #define WMITLV_TABLE_WMI_HB_DHCP_LEASE_RENEW_OFFLOAD_CMDID(id,op,buf,len) \
  3341. 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)
  3342. WMITLV_CREATE_PARAM_STRUC(WMI_HB_DHCP_LEASE_RENEW_OFFLOAD_CMDID);
  3343. /* BTM config command */
  3344. #define WMITLV_TABLE_WMI_ROAM_BTM_CONFIG_CMDID(id,op,buf,len) \
  3345. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_btm_config_fixed_param, wmi_btm_config_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3346. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_BTM_CONFIG_CMDID);
  3347. /* vdev latency config cmd */
  3348. #define WMITLV_TABLE_WMI_WLM_CONFIG_CMDID(id,op,buf,len) \
  3349. 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)
  3350. WMITLV_CREATE_PARAM_STRUC(WMI_WLM_CONFIG_CMDID);
  3351. /* Motion detection cmd */
  3352. #define WMITLV_TABLE_WMI_MOTION_DET_CONFIG_PARAM_CMDID(id,op,buf,len) \
  3353. 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)
  3354. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_CONFIG_PARAM_CMDID);
  3355. #define WMITLV_TABLE_WMI_MOTION_DET_BASE_LINE_CONFIG_PARAM_CMDID(id,op,buf,len) \
  3356. 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)
  3357. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_BASE_LINE_CONFIG_PARAM_CMDID);
  3358. #define WMITLV_TABLE_WMI_MOTION_DET_START_STOP_CMDID(id,op,buf,len) \
  3359. 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)
  3360. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_START_STOP_CMDID);
  3361. #define WMITLV_TABLE_WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID(id,op,buf,len) \
  3362. 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)
  3363. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID);
  3364. /* Pdev Set AC TX Queue Optimized Cmd */
  3365. #define WMITLV_TABLE_WMI_PDEV_SET_AC_TX_QUEUE_OPTIMIZED_CMDID(id,op,buf,len) \
  3366. 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)
  3367. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_AC_TX_QUEUE_OPTIMIZED_CMDID);
  3368. /* Set msduq qdepth threshold value Cmd */
  3369. #define WMITLV_TABLE_WMI_PEER_TID_MSDUQ_QDEPTH_THRESH_UPDATE_CMDID(id,op,buf,len) \
  3370. 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) \
  3371. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_msduq_qdepth_thresh_update, msduq_qdepth_thresh_update, WMITLV_SIZE_VAR)
  3372. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TID_MSDUQ_QDEPTH_THRESH_UPDATE_CMDID);
  3373. /* Pdev Set RX filter promiscuous Cmd */
  3374. #define WMITLV_TABLE_WMI_PDEV_SET_RX_FILTER_PROMISCUOUS_CMDID(id,op,buf,len) \
  3375. 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)
  3376. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_RX_FILTER_PROMISCUOUS_CMDID);
  3377. /* Runtime DPD Recalibration Params */
  3378. #define WMITLV_TABLE_WMI_RUNTIME_DPD_RECAL_CMDID(id,op,buf,len) \
  3379. 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)
  3380. WMITLV_CREATE_PARAM_STRUC(WMI_RUNTIME_DPD_RECAL_CMDID);
  3381. /** Get TX power Cmd */
  3382. #define WMITLV_TABLE_WMI_GET_TPC_POWER_CMDID(id,op,buf,len) \
  3383. 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)
  3384. WMITLV_CREATE_PARAM_STRUC(WMI_GET_TPC_POWER_CMDID);
  3385. /* TWT enable cmd */
  3386. #define WMITLV_TABLE_WMI_TWT_ENABLE_CMDID(id,op,buf,len) \
  3387. 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)
  3388. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_ENABLE_CMDID);
  3389. /* TWT disable cmd */
  3390. #define WMITLV_TABLE_WMI_TWT_DISABLE_CMDID(id,op,buf,len) \
  3391. 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)
  3392. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_DISABLE_CMDID);
  3393. /* TWT add dialog cmd */
  3394. #define WMITLV_TABLE_WMI_TWT_ADD_DIALOG_CMDID(id,op,buf,len) \
  3395. 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)
  3396. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_ADD_DIALOG_CMDID);
  3397. /* TWT delete dialog cmd */
  3398. #define WMITLV_TABLE_WMI_TWT_DEL_DIALOG_CMDID(id,op,buf,len) \
  3399. 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)
  3400. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_DEL_DIALOG_CMDID);
  3401. /* TWT pause dialog cmd */
  3402. #define WMITLV_TABLE_WMI_TWT_PAUSE_DIALOG_CMDID(id,op,buf,len) \
  3403. 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)
  3404. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_PAUSE_DIALOG_CMDID);
  3405. /* TWT resume dialog cmd */
  3406. #define WMITLV_TABLE_WMI_TWT_RESUME_DIALOG_CMDID(id,op,buf,len) \
  3407. 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)
  3408. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_RESUME_DIALOG_CMDID);
  3409. /* B-TWT STA invitation cmd */
  3410. #define WMITLV_TABLE_WMI_TWT_BTWT_INVITE_STA_CMDID(id,op,buf,len) \
  3411. 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)
  3412. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_BTWT_INVITE_STA_CMDID);
  3413. /* B-TWT STA removal cmd */
  3414. #define WMITLV_TABLE_WMI_TWT_BTWT_REMOVE_STA_CMDID(id,op,buf,len) \
  3415. 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)
  3416. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_BTWT_REMOVE_STA_CMDID);
  3417. /* Set peer tid configurations Cmd */
  3418. #define WMITLV_TABLE_WMI_PEER_TID_CONFIGURATIONS_CMDID(id,op,buf,len) \
  3419. 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)
  3420. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TID_CONFIGURATIONS_CMDID);
  3421. /* OBSS_PD Spatial_Reuse cnmd */
  3422. #define WMITLV_TABLE_WMI_PDEV_OBSS_PD_SPATIAL_REUSE_CMDID(id,op,buf,len) \
  3423. 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)
  3424. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_CMDID);
  3425. /* Peer CFR capture cmd */
  3426. #define WMITLV_TABLE_WMI_PEER_CFR_CAPTURE_CMDID(id,op,buf,len) \
  3427. 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)
  3428. /*
  3429. * NOTE: from approximately 7/25/19 to 8/16/19, the below TLV was incorrectly
  3430. * added to this WMI_PEER_CFR_CAPTURE_CMDID message.
  3431. * Any targets compiled with these versions of the WMI definitions will
  3432. * expect that if there is a 2nd TLV in the WMI_PEER_CFR_CAPTURE_CMDID,
  3433. * it will be
  3434. * WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_phase_fixed_param
  3435. * If in the future a new 2nd TLV is added to this WMI_PEER_CFR_CAPTURE_CMDID
  3436. * message, that would cause a target compiled with the erroneous old
  3437. * definitions to reject the WMI_PEER_CFR_CAPTURE_CMDID message containing
  3438. * the new 2nd TLV, because it would not match the
  3439. * WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_phase_fixed_param
  3440. * tag expected by the old target.
  3441. *
  3442. * 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)
  3443. */
  3444. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CFR_CAPTURE_CMDID);
  3445. /* CHANNEL WIDTH SWITCH commands for peers. */
  3446. #define WMITLV_TABLE_WMI_PEER_CHAN_WIDTH_SWITCH_CMDID(id,op,buf,len) \
  3447. 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) \
  3448. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_chan_width_peer_list, peer_info, WMITLV_SIZE_VAR)
  3449. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CHAN_WIDTH_SWITCH_CMDID);
  3450. /* OBSS_PD Spatial_Reuse Set Default OBSS Thresholds */
  3451. #define WMITLV_TABLE_WMI_PDEV_OBSS_PD_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMDID(id,op,buf,len) \
  3452. 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)
  3453. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMDID);
  3454. /* HE TB Action frame enable/disable */
  3455. #define WMITLV_TABLE_WMI_PDEV_HE_TB_ACTION_FRM_CMDID(id,op,buf,len) \
  3456. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_he_tb_action_frm_cmd_fixed_param, \
  3457. wmi_pdev_he_tb_action_frm_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3458. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3459. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_HE_TB_ACTION_FRM_CMDID);
  3460. /* HPCS Pulse cmd */
  3461. #define WMITLV_TABLE_WMI_HPCS_PULSE_START_CMDID(id,op,buf,len) \
  3462. 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)
  3463. WMITLV_CREATE_PARAM_STRUC(WMI_HPCS_PULSE_START_CMDID);
  3464. /* PDev Packet Log filter Cmd */
  3465. #define WMITLV_TABLE_WMI_PDEV_PKTLOG_FILTER_CMDID(id,op,buf,len) \
  3466. 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) \
  3467. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_pktlog_filter_info, pdev_pktlog_filter_info, WMITLV_SIZE_VAR)
  3468. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_PKTLOG_FILTER_CMDID);
  3469. /* PDev Set Rogue AP Config cmd */
  3470. #define WMITLV_TABLE_WMI_PDEV_SET_RAP_CONFIG_CMDID(id,op,buf,len) \
  3471. 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) \
  3472. 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)
  3473. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_RAP_CONFIG_CMDID);
  3474. /* OEM Data config cmd */
  3475. #define WMITLV_TABLE_WMI_OEM_DATA_CMDID(id,op,buf,len) \
  3476. 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) \
  3477. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, oem_data, WMITLV_SIZE_VAR)
  3478. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DATA_CMDID);
  3479. /* Set ELNA BYPASS cmd */
  3480. #define WMITLV_TABLE_WMI_SET_ELNA_BYPASS_CMDID(id,op,buf,len) \
  3481. 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)
  3482. WMITLV_CREATE_PARAM_STRUC(WMI_SET_ELNA_BYPASS_CMDID);
  3483. /* Get ELNA BYPASS cmd */
  3484. #define WMITLV_TABLE_WMI_GET_ELNA_BYPASS_CMDID(id,op,buf,len) \
  3485. 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)
  3486. WMITLV_CREATE_PARAM_STRUC(WMI_GET_ELNA_BYPASS_CMDID);
  3487. /* Audio aggr config cmd */
  3488. #define WMITLV_TABLE_WMI_AUDIO_AGGR_ENABLE_CMDID(id,op,buf,len) \
  3489. 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)
  3490. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_ENABLE_CMDID);
  3491. #define WMITLV_TABLE_WMI_AUDIO_AGGR_ADD_GROUP_CMDID(id,op,buf,len) \
  3492. 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) \
  3493. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, client_addr, WMITLV_SIZE_VAR)
  3494. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_ADD_GROUP_CMDID);
  3495. #define WMITLV_TABLE_WMI_AUDIO_AGGR_DEL_GROUP_CMDID(id,op,buf,len) \
  3496. 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)
  3497. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_DEL_GROUP_CMDID);
  3498. #define WMITLV_TABLE_WMI_AUDIO_AGGR_SET_GROUP_RATE_CMDID(id,op,buf,len) \
  3499. 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) \
  3500. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_AUDIO_AGGR_RATE_SET_T, rate_set, WMITLV_SIZE_VAR)
  3501. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SET_GROUP_RATE_CMDID);
  3502. #define WMITLV_TABLE_WMI_AUDIO_AGGR_SET_GROUP_RETRY_CMDID(id,op,buf,len) \
  3503. 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)
  3504. WMITLV_CREATE_PARAM_STRUC(WMI_AUDIO_AGGR_SET_GROUP_RETRY_CMDID);
  3505. /* CFR Capture Filter cmd */
  3506. #define WMITLV_TABLE_WMI_CFR_CAPTURE_FILTER_CMDID(id,op,buf,len) \
  3507. 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) \
  3508. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_cfr_filter_group_config, filter_group_config, WMITLV_SIZE_VAR)
  3509. WMITLV_CREATE_PARAM_STRUC(WMI_CFR_CAPTURE_FILTER_CMDID);
  3510. /************************** TLV definitions of WMI events *******************************/
  3511. /* Service Ready event */
  3512. #define WMITLV_TABLE_WMI_SERVICE_READY_EVENTID(id,op,buf,len) \
  3513. 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) \
  3514. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_HAL_REG_CAPABILITIES, HAL_REG_CAPABILITIES, hal_reg_capabilities, WMITLV_SIZE_FIX) \
  3515. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, wmi_service_bitmap, WMITLV_SIZE_FIX, WMI_SERVICE_BM_SIZE) \
  3516. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_host_mem_req, mem_reqs, WMITLV_SIZE_VAR) \
  3517. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, wlan_dbs_hw_mode_list, WMITLV_SIZE_VAR)
  3518. WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EVENTID);
  3519. /* service available event */
  3520. #define WMITLV_TABLE_WMI_SERVICE_AVAILABLE_EVENTID(id,op,buf,len) \
  3521. 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)
  3522. WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_AVAILABLE_EVENTID);
  3523. /* Service Ready Extension event */
  3524. #define WMITLV_TABLE_WMI_SERVICE_READY_EXT_EVENTID(id,op,buf,len) \
  3525. 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) \
  3526. 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) \
  3527. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_HW_MODE_CAPABILITIES, hw_mode_caps, WMITLV_SIZE_VAR) \
  3528. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_MAC_PHY_CAPABILITIES, mac_phy_caps, WMITLV_SIZE_VAR) \
  3529. 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) \
  3530. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_HAL_REG_CAPABILITIES_EXT, hal_reg_caps, WMITLV_SIZE_VAR) \
  3531. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_MAC_PHY_CHAINMASK_COMBO, mac_phy_chainmask_combo, WMITLV_SIZE_VAR) \
  3532. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_MAC_PHY_CHAINMASK_CAPABILITY, mac_phy_chainmask_caps, WMITLV_SIZE_VAR) \
  3533. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_OEM_DMA_RING_CAPABILITIES, oem_dma_ring_caps, WMITLV_SIZE_VAR) \
  3534. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_SAR_CAPABILITIES, WMI_SAR_CAPABILITIES, sar_caps, WMITLV_SIZE_FIX) \
  3535. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_DMA_RING_CAPABILITIES, dma_ring_caps, WMITLV_SIZE_VAR) \
  3536. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_spectral_bin_scaling_params, wmi_bin_scaling_params, WMITLV_SIZE_VAR) \
  3537. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_CHAN_RF_CHARACTERIZATION_INFO, wmi_chan_rf_characterization_info, WMITLV_SIZE_VAR)
  3538. WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EXT_EVENTID);
  3539. /* SERVICE_READY_EXT2 event */
  3540. #define WMITLV_TABLE_WMI_SERVICE_READY_EXT2_EVENTID(id,op,buf,len) \
  3541. 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) \
  3542. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_DMA_RING_CAPABILITIES, dma_ring_caps, WMITLV_SIZE_VAR) \
  3543. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_spectral_bin_scaling_params, wmi_bin_scaling_params, WMITLV_SIZE_VAR)
  3544. WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EXT2_EVENTID);
  3545. #define WMITLV_TABLE_WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID(id,op,buf,len) \
  3546. 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) \
  3547. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_CHAN_RF_CHARACTERIZATION_INFO, wmi_chan_rf_characterization_info, WMITLV_SIZE_VAR)
  3548. WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID);
  3549. /* iface combination indication event */
  3550. #define WMITLV_TABLE_WMI_IFACE_COMBINATION_IND_EVENTID(id,op,buf,len) \
  3551. 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) \
  3552. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlanfw_iface_combination, combinations, WMITLV_SIZE_VAR) \
  3553. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlanfw_iface_limit, limits, WMITLV_SIZE_VAR)
  3554. WMITLV_CREATE_PARAM_STRUC(WMI_IFACE_COMBINATION_IND_EVENTID);
  3555. /* Ready event */
  3556. #define WMITLV_TABLE_WMI_READY_EVENTID(id,op,buf,len) \
  3557. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ready_event_fixed_param, wmi_ready_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3558. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mac_addr_list, WMITLV_SIZE_VAR)
  3559. WMITLV_CREATE_PARAM_STRUC(WMI_READY_EVENTID);
  3560. /* Scan Event */
  3561. #define WMITLV_TABLE_WMI_SCAN_EVENTID(id,op,buf,len) \
  3562. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_scan_event_fixed_param, wmi_scan_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3563. WMITLV_CREATE_PARAM_STRUC(WMI_SCAN_EVENTID);
  3564. /* ExtScan Start/Stop Event */
  3565. #define WMITLV_TABLE_WMI_EXTSCAN_START_STOP_EVENTID(id,op,buf,len) \
  3566. 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)
  3567. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_START_STOP_EVENTID);
  3568. /* ExtScan Event */
  3569. #define WMITLV_TABLE_WMI_EXTSCAN_OPERATION_EVENTID(id,op,buf,len) \
  3570. 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) \
  3571. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, bucket_id, WMITLV_SIZE_VAR)
  3572. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_OPERATION_EVENTID);
  3573. /* ExtScan Table Usage Event */
  3574. #define WMITLV_TABLE_WMI_EXTSCAN_TABLE_USAGE_EVENTID(id,op,buf,len) \
  3575. 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)
  3576. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_TABLE_USAGE_EVENTID);
  3577. /* ExtScan Result Event */
  3578. #define WMITLV_TABLE_WMI_EXTSCAN_CACHED_RESULTS_EVENTID(id,op,buf,len) \
  3579. 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) \
  3580. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_descriptor, bssid_list, WMITLV_SIZE_VAR) \
  3581. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_rssi_info, rssi_list, WMITLV_SIZE_VAR) \
  3582. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ie_list, WMITLV_SIZE_VAR)
  3583. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CACHED_RESULTS_EVENTID);
  3584. /* ExtScan Monitor RSSI List Event */
  3585. #define WMITLV_TABLE_WMI_EXTSCAN_WLAN_CHANGE_RESULTS_EVENTID(id,op,buf,len) \
  3586. 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) \
  3587. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_change_result_bssid, bssid_signal_descriptor_list, WMITLV_SIZE_VAR) \
  3588. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, rssi_list, WMITLV_SIZE_VAR)
  3589. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_WLAN_CHANGE_RESULTS_EVENTID);
  3590. /* ExtScan Hot List Match Event */
  3591. #define WMITLV_TABLE_WMI_EXTSCAN_HOTLIST_MATCH_EVENTID(id,op,buf,len) \
  3592. 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) \
  3593. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_descriptor, hotlist_match, WMITLV_SIZE_VAR)
  3594. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_HOTLIST_MATCH_EVENTID);
  3595. /* ExtScan Hot List Match Event */
  3596. #define WMITLV_TABLE_WMI_EXTSCAN_CAPABILITIES_EVENTID(id,op,buf,len) \
  3597. 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) \
  3598. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_cache_capabilities, extscan_cache_capabilities, WMITLV_SIZE_VAR) \
  3599. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_change_monitor_capabilities, wlan_change_capabilities, WMITLV_SIZE_VAR) \
  3600. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_hotlist_monitor_capabilities, hotlist_capabilities, WMITLV_SIZE_VAR)
  3601. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_CAPABILITIES_EVENTID);
  3602. /* ExtScan Hot List Match Event */
  3603. #define WMITLV_TABLE_WMI_EXTSCAN_HOTLIST_SSID_MATCH_EVENTID(id,op,buf,len) \
  3604. 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) \
  3605. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_extscan_wlan_descriptor, hotlist_ssid_match, WMITLV_SIZE_VAR)
  3606. WMITLV_CREATE_PARAM_STRUC(WMI_EXTSCAN_HOTLIST_SSID_MATCH_EVENTID);
  3607. /* Update_whal_mib_stats Event */
  3608. #define WMITLV_TABLE_WMI_UPDATE_WHAL_MIB_STATS_EVENTID(id,op,buf,len) \
  3609. 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)
  3610. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_WHAL_MIB_STATS_EVENTID);
  3611. /* PDEV TPC Config Event */
  3612. #define WMITLV_TABLE_WMI_PDEV_TPC_CONFIG_EVENTID(id,op,buf,len) \
  3613. 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) \
  3614. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ratesArray, WMITLV_SIZE_VAR) \
  3615. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tlv_arrays_len_param, ctlPwrTbl_param, WMITLV_SIZE_VAR) \
  3616. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ctlPwrTbl_buf, WMITLV_SIZE_VAR)
  3617. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_TPC_CONFIG_EVENTID);
  3618. /* PDEV DIV RSSI Antenna index Event */
  3619. #define WMITLV_TABLE_WMI_PDEV_DIV_RSSI_ANTID_EVENTID(id,op,buf,len) \
  3620. 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)
  3621. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DIV_RSSI_ANTID_EVENTID);
  3622. /* PDEV BSS CHAN info Event */
  3623. #define WMITLV_TABLE_WMI_PDEV_BSS_CHAN_INFO_EVENTID(id,op,buf,len) \
  3624. 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)
  3625. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_BSS_CHAN_INFO_EVENTID);
  3626. /* PDEV update ctl table Event */
  3627. #define WMITLV_TABLE_WMI_PDEV_UPDATE_CTLTABLE_EVENTID(id,op,buf,len) \
  3628. 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)
  3629. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UPDATE_CTLTABLE_EVENTID);
  3630. /* VDEV Tx Power Event */
  3631. #define WMITLV_TABLE_WMI_VDEV_GET_TX_POWER_EVENTID(id,op,buf,len) \
  3632. 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)
  3633. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_TX_POWER_EVENTID);
  3634. /* Channel Info Event */
  3635. #define WMITLV_TABLE_WMI_CHAN_INFO_EVENTID(id,op,buf,len) \
  3636. 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)
  3637. WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_INFO_EVENTID);
  3638. /* Phy Error Event */
  3639. #define WMITLV_TABLE_WMI_PHYERR_EVENTID(id,op,buf,len) \
  3640. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_comb_phyerr_rx_hdr, wmi_comb_phyerr_rx_hdr, hdr, WMITLV_SIZE_FIX) \
  3641. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  3642. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_single_phyerr_ext_rx_hdr, single_phyerr_ext, WMITLV_SIZE_VAR)
  3643. WMITLV_CREATE_PARAM_STRUC(WMI_PHYERR_EVENTID);
  3644. /* TX Pause/Unpause event */
  3645. #define WMITLV_TABLE_WMI_TX_PAUSE_EVENTID(id,op,buf,len) \
  3646. 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)
  3647. WMITLV_CREATE_PARAM_STRUC(WMI_TX_PAUSE_EVENTID);
  3648. /* Mgmt TX completion event */
  3649. #define WMITLV_TABLE_WMI_MGMT_TX_COMPLETION_EVENTID(id,op,buf,len) \
  3650. 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) \
  3651. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mgmt_hdr, mgmt_hdr, WMITLV_SIZE_VAR)
  3652. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_TX_COMPLETION_EVENTID);
  3653. /* offchan data TX completion event */
  3654. #define WMITLV_TABLE_WMI_OFFCHAN_DATA_TX_COMPLETION_EVENTID(id,op,buf,len) \
  3655. 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)
  3656. WMITLV_CREATE_PARAM_STRUC(WMI_OFFCHAN_DATA_TX_COMPLETION_EVENTID);
  3657. /* Bundled Mgmt TX completion event */
  3658. #define WMITLV_TABLE_WMI_MGMT_TX_BUNDLE_COMPLETION_EVENTID(id,op,buf,len) \
  3659. 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) \
  3660. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, desc_ids, WMITLV_SIZE_VAR) \
  3661. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, status, WMITLV_SIZE_VAR) \
  3662. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ppdu_id, WMITLV_SIZE_VAR) \
  3663. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ack_rssi, WMITLV_SIZE_VAR) \
  3664. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_mgmt_hdr, mgmt_hdr, WMITLV_SIZE_VAR)
  3665. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_TX_BUNDLE_COMPLETION_EVENTID);
  3666. /* VDEV Start response Event */
  3667. #define WMITLV_TABLE_WMI_VDEV_START_RESP_EVENTID(id,op,buf,len) \
  3668. 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)
  3669. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_START_RESP_EVENTID);
  3670. /* VDEV Stopped Event */
  3671. #define WMITLV_TABLE_WMI_VDEV_STOPPED_EVENTID(id,op,buf,len) \
  3672. 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)
  3673. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_STOPPED_EVENTID);
  3674. /* VDEV delete response Event */
  3675. #define WMITLV_TABLE_WMI_VDEV_DELETE_RESP_EVENTID(id,op,buf,len) \
  3676. 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)
  3677. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DELETE_RESP_EVENTID);
  3678. /* VDEV Install Key Complete Event */
  3679. #define WMITLV_TABLE_WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID(id,op,buf,len) \
  3680. 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)
  3681. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID);
  3682. /* Peer STA Kickout Event */
  3683. #define WMITLV_TABLE_WMI_PEER_STA_KICKOUT_EVENTID(id,op,buf,len) \
  3684. 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)
  3685. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STA_KICKOUT_EVENTID);
  3686. /* Management Rx Event */
  3687. #define WMITLV_TABLE_WMI_MGMT_RX_EVENTID(id,op,buf,len) \
  3688. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_rx_hdr, wmi_mgmt_rx_hdr, hdr, WMITLV_SIZE_FIX) \
  3689. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR) \
  3690. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rssi_ctl_ext, rssi_ctl_ext, WMITLV_SIZE_VAR)
  3691. WMITLV_CREATE_PARAM_STRUC(WMI_MGMT_RX_EVENTID);
  3692. /* TBTT offset Event */
  3693. #define WMITLV_TABLE_WMI_TBTTOFFSET_UPDATE_EVENTID(id,op,buf,len) \
  3694. 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) \
  3695. WMITLV_FXAR(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tbttoffset_list, WMITLV_SIZE_FIX, WMI_MAX_AP_VDEV)
  3696. WMITLV_CREATE_PARAM_STRUC(WMI_TBTTOFFSET_UPDATE_EVENTID);
  3697. /* TBTT EXT offset Event */
  3698. #define WMITLV_TABLE_WMI_TBTTOFFSET_EXT_UPDATE_EVENTID(id,op,buf,len) \
  3699. 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) \
  3700. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tbtt_offset_info, tbtt_offset_info, WMITLV_SIZE_VAR)
  3701. WMITLV_CREATE_PARAM_STRUC(WMI_TBTTOFFSET_EXT_UPDATE_EVENTID);
  3702. /* TX DELBA Complete Event */
  3703. #define WMITLV_TABLE_WMI_TX_DELBA_COMPLETE_EVENTID(id,op,buf,len) \
  3704. 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)
  3705. WMITLV_CREATE_PARAM_STRUC(WMI_TX_DELBA_COMPLETE_EVENTID);
  3706. /* Tx ADDBA Complete Event */
  3707. #define WMITLV_TABLE_WMI_TX_ADDBA_COMPLETE_EVENTID(id,op,buf,len) \
  3708. 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)
  3709. WMITLV_CREATE_PARAM_STRUC(WMI_TX_ADDBA_COMPLETE_EVENTID);
  3710. /* ADD BA Req ssn Event */
  3711. #define WMITLV_TABLE_WMI_BA_RSP_SSN_EVENTID(id,op,buf,len) \
  3712. 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) \
  3713. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_ba_event_ssn, ba_event_ssn_list, WMITLV_SIZE_VAR)
  3714. WMITLV_CREATE_PARAM_STRUC(WMI_BA_RSP_SSN_EVENTID);
  3715. /* Aggregation Request event */
  3716. #define WMITLV_TABLE_WMI_AGGR_STATE_TRIG_EVENTID(id,op,buf,len) \
  3717. 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)
  3718. WMITLV_CREATE_PARAM_STRUC(WMI_AGGR_STATE_TRIG_EVENTID);
  3719. /* Roam Event */
  3720. #define WMITLV_TABLE_WMI_ROAM_EVENTID(id,op,buf,len) \
  3721. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_event_fixed_param, wmi_roam_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3722. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, deauth_disassoc_frame, WMITLV_SIZE_VAR) \
  3723. 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) \
  3724. 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)
  3725. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_EVENTID);
  3726. /* Roam Synch Event */
  3727. #define WMITLV_TABLE_WMI_ROAM_SYNCH_EVENTID(id,op,buf,len) \
  3728. 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) \
  3729. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bcn_probe_rsp_frame, WMITLV_SIZE_VAR) \
  3730. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, reassoc_rsp_frame, WMITLV_SIZE_VAR) \
  3731. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX) \
  3732. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_key_material, key, WMITLV_SIZE_VAR) \
  3733. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, status, WMITLV_SIZE_VAR) \
  3734. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, reassoc_req_frame, WMITLV_SIZE_VAR) \
  3735. 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) \
  3736. 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) \
  3737. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_fils_synch_tlv_param, roam_fils_synch_info, WMITLV_SIZE_VAR) \
  3738. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_key_material_ext, key_ext, WMITLV_SIZE_VAR)
  3739. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SYNCH_EVENTID);
  3740. /* Roam Synch frame Event */
  3741. #define WMITLV_TABLE_WMI_ROAM_SYNCH_FRAME_EVENTID(id,op,buf,len) \
  3742. 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) \
  3743. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bcn_probe_rsp_frame, WMITLV_SIZE_VAR) \
  3744. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, reassoc_rsp_frame, WMITLV_SIZE_VAR) \
  3745. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, reassoc_req_frame, WMITLV_SIZE_VAR)
  3746. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SYNCH_FRAME_EVENTID);
  3747. /* WOW Wakeup Host Event */
  3748. /* NOTE: Make sure wow_bitmap_info can be zero or one elements only */
  3749. #define WMITLV_TABLE_WMI_WOW_WAKEUP_HOST_EVENTID(id,op,buf,len) \
  3750. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WOW_EVENT_INFO_fixed_param, WOW_EVENT_INFO_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3751. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WOW_EVENT_INFO_SECTION_BITMAP, wow_bitmap_info, WMITLV_SIZE_VAR) \
  3752. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, wow_packet_buffer, WMITLV_SIZE_VAR) \
  3753. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_hb_ind_event_fixed_param, hb_indevt, WMITLV_SIZE_VAR) \
  3754. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_GTK_OFFLOAD_STATUS_EVENT_fixed_param, wow_gtkigtk, WMITLV_SIZE_VAR) \
  3755. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_oic_ping_handoff_event, wow_oic_ping_handoff, WMITLV_SIZE_VAR) \
  3756. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dhcp_lease_renew_event, wow_dhcp_lease_renew, WMITLV_SIZE_VAR) \
  3757. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_motion_det_event, md_indevt, WMITLV_SIZE_VAR) \
  3758. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_motion_det_base_line_event, bl_indevt, WMITLV_SIZE_VAR)
  3759. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_WAKEUP_HOST_EVENTID);
  3760. #define WMITLV_TABLE_WMI_WOW_INITIAL_WAKEUP_EVENTID(id,op,buf,len) \
  3761. 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)
  3762. WMITLV_CREATE_PARAM_STRUC(WMI_WOW_INITIAL_WAKEUP_EVENTID);
  3763. /* RTT error report Event */
  3764. #define WMITLV_TABLE_WMI_RTT_ERROR_REPORT_EVENTID(id,op,buf,len) \
  3765. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3766. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_ERROR_REPORT_EVENTID);
  3767. /* Echo Event */
  3768. #define WMITLV_TABLE_WMI_ECHO_EVENTID(id,op,buf,len) \
  3769. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_echo_event_fixed_param, wmi_echo_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3770. WMITLV_CREATE_PARAM_STRUC(WMI_ECHO_EVENTID);
  3771. /* FTM Integration Event */
  3772. #define WMITLV_TABLE_WMI_PDEV_FTM_INTG_EVENTID(id,op,buf,len) \
  3773. 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)\
  3774. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3775. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FTM_INTG_EVENTID);
  3776. /* VDEV get Keepalive Event */
  3777. #define WMITLV_TABLE_WMI_VDEV_GET_KEEPALIVE_EVENTID(id,op,buf,len) \
  3778. 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)
  3779. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_KEEPALIVE_EVENTID);
  3780. /** Get TX power Event */
  3781. #define WMITLV_TABLE_WMI_GET_TPC_POWER_EVENTID(id,op,buf,len) \
  3782. 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)
  3783. WMITLV_CREATE_PARAM_STRUC(WMI_GET_TPC_POWER_EVENTID);
  3784. /** Get MU EDCA report param event */
  3785. #define WMITLV_TABLE_WMI_MUEDCA_PARAMS_CONFIG_EVENTID(id,op,buf,len) \
  3786. 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)
  3787. WMITLV_CREATE_PARAM_STRUC(WMI_MUEDCA_PARAMS_CONFIG_EVENTID);
  3788. /* GPIO Input Event */
  3789. #define WMITLV_TABLE_WMI_GPIO_INPUT_EVENTID(id,op,buf,len) \
  3790. 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)
  3791. WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_INPUT_EVENTID);
  3792. /* CSA Handling Event */
  3793. #define WMITLV_TABLE_WMI_CSA_HANDLING_EVENTID(id,op,buf,len)\
  3794. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_csa_event_fixed_param, wmi_csa_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  3795. WMITLV_CREATE_PARAM_STRUC(WMI_CSA_HANDLING_EVENTID);
  3796. /* Rfkill state change Event */
  3797. #define WMITLV_TABLE_WMI_RFKILL_STATE_CHANGE_EVENTID(id,op,buf,len)\
  3798. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_rfkill_event_fixed_param, wmi_rfkill_mode_param, fixed_param, WMITLV_SIZE_FIX)
  3799. WMITLV_CREATE_PARAM_STRUC(WMI_RFKILL_STATE_CHANGE_EVENTID);
  3800. /* Debug Message Event */
  3801. #define WMITLV_TABLE_WMI_DEBUG_MESG_EVENTID(id,op,buf,len)\
  3802. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  3803. WMITLV_CREATE_PARAM_STRUC(WMI_DEBUG_MESG_EVENTID);
  3804. #define WMITLV_TABLE_WMI_DEBUG_MESG_FLUSH_COMPLETE_EVENTID(id,op,buf,len)\
  3805. 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) \
  3806. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_debug_mesg_fw_data_stall_param, data_stall, WMITLV_SIZE_VAR)
  3807. WMITLV_CREATE_PARAM_STRUC(WMI_DEBUG_MESG_FLUSH_COMPLETE_EVENTID);
  3808. #define WMITLV_TABLE_WMI_RSSI_BREACH_EVENTID(id,op,buf,len)\
  3809. 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)
  3810. WMITLV_CREATE_PARAM_STRUC(WMI_RSSI_BREACH_EVENTID);
  3811. #define WMITLV_TABLE_WMI_TRANSFER_DATA_TO_FLASH_COMPLETE_EVENTID(id,op,buf,len)\
  3812. 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)
  3813. WMITLV_CREATE_PARAM_STRUC(WMI_TRANSFER_DATA_TO_FLASH_COMPLETE_EVENTID);
  3814. #define WMITLV_TABLE_WMI_READ_DATA_FROM_FLASH_EVENTID(id,op,buf,len) \
  3815. 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) \
  3816. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3817. WMITLV_CREATE_PARAM_STRUC(WMI_READ_DATA_FROM_FLASH_EVENTID);
  3818. /* Diagnostics Event */
  3819. #define WMITLV_TABLE_WMI_DIAG_EVENTID(id,op,buf,len)\
  3820. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  3821. WMITLV_CREATE_PARAM_STRUC(WMI_DIAG_EVENTID);
  3822. /* IGTK Offload Event */
  3823. #define WMITLV_TABLE_WMI_GTK_OFFLOAD_STATUS_EVENTID(id,op,buf,len)\
  3824. 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)
  3825. WMITLV_CREATE_PARAM_STRUC(WMI_GTK_OFFLOAD_STATUS_EVENTID);
  3826. /* DCA interferance Event */
  3827. #define WMITLV_TABLE_WMI_DCS_INTERFERENCE_EVENTID(id,op,buf,len) \
  3828. 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) \
  3829. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_dcs_cw_int, cw_int, WMITLV_SIZE_VAR) \
  3830. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_dcs_im_tgt_stats_t, wlan_stat, WMITLV_SIZE_VAR)
  3831. WMITLV_CREATE_PARAM_STRUC(WMI_DCS_INTERFERENCE_EVENTID);
  3832. /* Profile data Event */
  3833. #define WMITLV_TABLE_WMI_WLAN_PROFILE_DATA_EVENTID(id,op,buf,len) \
  3834. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wlan_profile_ctx_t, wmi_wlan_profile_ctx_t, profile_ctx, WMITLV_SIZE_FIX)\
  3835. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_wlan_profile_t, profile_data, WMITLV_SIZE_VAR)
  3836. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_PROFILE_DATA_EVENTID);
  3837. /* PDEV UTF Event */
  3838. #define WMITLV_TABLE_WMI_PDEV_UTF_EVENTID(id,op,buf,len)\
  3839. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3840. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UTF_EVENTID);
  3841. /* Update SCPC calibrated data Event */
  3842. #define WMITLV_TABLE_WMI_PDEV_UTF_SCPC_EVENTID(id,op,buf,len) \
  3843. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_scpc_event_fixed_param, wmi_scpc_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3844. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3845. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_UTF_SCPC_EVENTID);
  3846. /* Debug print Event */
  3847. #define WMITLV_TABLE_WMI_DEBUG_PRINT_EVENTID(id,op,buf,len) \
  3848. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3849. WMITLV_CREATE_PARAM_STRUC(WMI_DEBUG_PRINT_EVENTID);
  3850. /* RTT measurement report Event - DEPRECATED */
  3851. #define WMITLV_TABLE_WMI_RTT_MEASUREMENT_REPORT_EVENTID(id,op,buf,len) \
  3852. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3853. WMITLV_CREATE_PARAM_STRUC(WMI_RTT_MEASUREMENT_REPORT_EVENTID);
  3854. /*oem measurement report Event - DEPRECATED */
  3855. #define WMITLV_TABLE_WMI_OEM_MEASUREMENT_REPORT_EVENTID(id,op,buf,len) \
  3856. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3857. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_MEASUREMENT_REPORT_EVENTID);
  3858. /*oem error report event - DEPRECATED */
  3859. #define WMITLV_TABLE_WMI_OEM_ERROR_REPORT_EVENTID(id,op,buf,len) \
  3860. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3861. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_ERROR_REPORT_EVENTID);
  3862. /*oem capability report event - DEPRECATED */
  3863. #define WMITLV_TABLE_WMI_OEM_CAPABILITY_EVENTID(id,op,buf,len) \
  3864. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3865. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_CAPABILITY_EVENTID);
  3866. /*oem response event*/
  3867. #define WMITLV_TABLE_WMI_OEM_RESPONSE_EVENTID(id,op,buf,len) \
  3868. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  3869. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_oem_indirect_data, wmi_oem_indirect_data, indirect_data, WMITLV_SIZE_FIX) \
  3870. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data2, WMITLV_SIZE_VAR)
  3871. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_RESPONSE_EVENTID);
  3872. /* oem dma buffer release event */
  3873. #define WMITLV_TABLE_WMI_OEM_DMA_BUF_RELEASE_EVENTID(id,op,buf,len) \
  3874. 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) \
  3875. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_oem_dma_buf_release_entry, entries, WMITLV_SIZE_VAR)
  3876. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DMA_BUF_RELEASE_EVENTID);
  3877. /* HOST SWBA Event */
  3878. #define WMITLV_TABLE_WMI_HOST_SWBA_EVENTID(id,op,buf,len) \
  3879. 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) \
  3880. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tim_info, tim_info, WMITLV_SIZE_VAR) \
  3881. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_info, p2p_noa_info, WMITLV_SIZE_VAR) \
  3882. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_quiet_offload_info, quiet_offload_info, WMITLV_SIZE_VAR)
  3883. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_SWBA_EVENTID);
  3884. /* HOST SWBA Event v2 */
  3885. #define WMITLV_TABLE_WMI_HOST_SWBA_V2_EVENTID(id,op,buf,len) \
  3886. 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) \
  3887. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tim_info_v2, tim_info, WMITLV_SIZE_VAR) \
  3888. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  3889. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_p2p_noa_info, p2p_noa_info, WMITLV_SIZE_VAR)
  3890. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_SWBA_V2_EVENTID);
  3891. /* HOST SWFDA Event requesting host to queue a FILS Discovery frame for transmission */
  3892. #define WMITLV_TABLE_WMI_HOST_SWFDA_EVENTID(id,op,buf,len) \
  3893. 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) \
  3894. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_SWFDA_EVENTID);
  3895. /* Update stats Event */
  3896. #define WMITLV_TABLE_WMI_UPDATE_STATS_EVENTID(id,op,buf,len)\
  3897. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_stats_event_fixed_param, wmi_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
  3898. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  3899. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_per_chain_rssi_stats, wmi_per_chain_rssi_stats, chain_stats, WMITLV_SIZE_FIX) \
  3900. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rssi_stats, rssi_stats, WMITLV_SIZE_VAR) \
  3901. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_congestion_stats, congestion_stats, WMITLV_SIZE_VAR) \
  3902. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_extd2_stats, peer_extd2_stats, WMITLV_SIZE_VAR)
  3903. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_STATS_EVENTID);
  3904. /* Update PN response Event */
  3905. #define WMITLV_TABLE_WMI_PEER_TX_PN_RESPONSE_EVENTID(id,op,buf,len)\
  3906. 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)
  3907. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TX_PN_RESPONSE_EVENTID);
  3908. /* For vdev based ht/vht info upload*/
  3909. #define WMITLV_TABLE_WMI_UPDATE_VDEV_RATE_STATS_EVENTID(id,op,buf,len)\
  3910. 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) \
  3911. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_rate_ht_info, ht_info, WMITLV_SIZE_VAR)
  3912. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_VDEV_RATE_STATS_EVENTID);
  3913. /* report rx aggregation failure information */
  3914. #define WMITLV_TABLE_WMI_REPORT_RX_AGGR_FAILURE_EVENTID(id,op,buf,len)\
  3915. 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) \
  3916. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rx_aggr_failure_info, failure_info, WMITLV_SIZE_VAR)
  3917. WMITLV_CREATE_PARAM_STRUC(WMI_REPORT_RX_AGGR_FAILURE_EVENTID);
  3918. /* Update memory dump complete Event */
  3919. #define WMITLV_TABLE_WMI_UPDATE_FW_MEM_DUMP_EVENTID(id,op,buf,len)\
  3920. 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)
  3921. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_FW_MEM_DUMP_EVENTID);
  3922. /* Event indicating the DIAG LOGs/Events supported by FW */
  3923. #define WMITLV_TABLE_WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID(id,op,buf,len) \
  3924. 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) \
  3925. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, diag_events_logs_list, WMITLV_SIZE_VAR)
  3926. WMITLV_CREATE_PARAM_STRUC(WMI_DIAG_EVENT_LOG_SUPPORTED_EVENTID);
  3927. /* Update iface link stats Event */
  3928. #define WMITLV_TABLE_WMI_IFACE_LINK_STATS_EVENTID(id,op,buf,len)\
  3929. 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) \
  3930. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_iface_link_stats, iface_link_stats, WMITLV_SIZE_VAR) \
  3931. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_wmm_ac_stats, ac, WMITLV_SIZE_VAR) \
  3932. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_iface_offload_stats, iface_offload_stats, WMITLV_SIZE_VAR)
  3933. WMITLV_CREATE_PARAM_STRUC(WMI_IFACE_LINK_STATS_EVENTID);
  3934. /* Update Peer link stats Event */
  3935. #define WMITLV_TABLE_WMI_PEER_LINK_STATS_EVENTID(id,op,buf,len)\
  3936. 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) \
  3937. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_link_stats, peer_stats, WMITLV_SIZE_VAR) \
  3938. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rate_stats, peer_rate_stats, WMITLV_SIZE_VAR)
  3939. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_LINK_STATS_EVENTID);
  3940. /* Update radio stats Event */
  3941. #define WMITLV_TABLE_WMI_RADIO_LINK_STATS_EVENTID(id,op,buf,len)\
  3942. 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) \
  3943. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_radio_link_stats, radio_stats, WMITLV_SIZE_VAR)\
  3944. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel_stats, channel_stats, WMITLV_SIZE_VAR)
  3945. WMITLV_CREATE_PARAM_STRUC(WMI_RADIO_LINK_STATS_EVENTID);
  3946. /* Update WLM stats event */
  3947. #define WMITLV_TABLE_WMI_WLM_STATS_EVENTID(id,op,buf,len) \
  3948. 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) \
  3949. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, data, WMITLV_SIZE_VAR)
  3950. WMITLV_CREATE_PARAM_STRUC(WMI_WLM_STATS_EVENTID);
  3951. /* PDEV QVIT Event */
  3952. #define WMITLV_TABLE_WMI_PDEV_QVIT_EVENTID(id,op,buf,len)\
  3953. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3954. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_QVIT_EVENTID);
  3955. /* WLAN Frequency avoid Event */
  3956. #define WMITLV_TABLE_WMI_WLAN_FREQ_AVOID_EVENTID(id,op,buf,len)\
  3957. 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) \
  3958. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_avoid_freq_range_desc, avd_freq_range, WMITLV_SIZE_VAR)
  3959. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_FREQ_AVOID_EVENTID);
  3960. /* WLAN SAR LIMITS GET response Event */
  3961. #define WMITLV_TABLE_WMI_SAR_GET_LIMITS_EVENTID(id,op,buf,len)\
  3962. 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) \
  3963. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_sar_get_limit_event_row, sar_get_limits, WMITLV_SIZE_VAR)
  3964. WMITLV_CREATE_PARAM_STRUC(WMI_SAR_GET_LIMITS_EVENTID);
  3965. /* GTK rekey fail Event */
  3966. #define WMITLV_TABLE_WMI_GTK_REKEY_FAIL_EVENTID(id,op,buf,len) \
  3967. 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)
  3968. WMITLV_CREATE_PARAM_STRUC(WMI_GTK_REKEY_FAIL_EVENTID);
  3969. /* NLO match event */
  3970. #define WMITLV_TABLE_WMI_NLO_MATCH_EVENTID(id,op,buf,len) \
  3971. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nlo_event, wmi_nlo_event, fixed_param, WMITLV_SIZE_FIX)
  3972. WMITLV_CREATE_PARAM_STRUC(WMI_NLO_MATCH_EVENTID);
  3973. /* NLO scan complete event */
  3974. #define WMITLV_TABLE_WMI_NLO_SCAN_COMPLETE_EVENTID(id,op,buf,len) \
  3975. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nlo_event, wmi_nlo_event, fixed_param, WMITLV_SIZE_FIX)
  3976. WMITLV_CREATE_PARAM_STRUC(WMI_NLO_SCAN_COMPLETE_EVENTID);
  3977. /* APFIND event */
  3978. #define WMITLV_TABLE_WMI_APFIND_EVENTID(id,op,buf,len) \
  3979. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_apfind_event_hdr, wmi_apfind_event_hdr, hdr, WMITLV_SIZE_FIX) \
  3980. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  3981. WMITLV_CREATE_PARAM_STRUC(WMI_APFIND_EVENTID);
  3982. /* WMI_PASSPOINT_MATCH_EVENTID */
  3983. #define WMITLV_TABLE_WMI_PASSPOINT_MATCH_EVENTID(id,op,buf,len) \
  3984. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_passpoint_event_hdr, wmi_passpoint_event_hdr, fixed_param, WMITLV_SIZE_FIX) \
  3985. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  3986. WMITLV_CREATE_PARAM_STRUC(WMI_PASSPOINT_MATCH_EVENTID);
  3987. /* Chatter query reply event */
  3988. #define WMITLV_TABLE_WMI_CHATTER_PC_QUERY_EVENTID(id,op,buf,len) \
  3989. 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)
  3990. WMITLV_CREATE_PARAM_STRUC(WMI_CHATTER_PC_QUERY_EVENTID);
  3991. /* Upload H_CV info event */
  3992. #define WMITLV_TABLE_WMI_UPLOADH_EVENTID(id,op,buf,len) \
  3993. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_upload_h_hdr, wmi_upload_h_hdr, hdr, WMITLV_SIZE_FIX) \
  3994. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  3995. WMITLV_CREATE_PARAM_STRUC(WMI_UPLOADH_EVENTID);
  3996. /* Capture H info event */
  3997. #define WMITLV_TABLE_WMI_CAPTUREH_EVENTID(id,op,buf,len) \
  3998. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_capture_h_event_hdr, wmi_capture_h_event_hdr, fixed_param, WMITLV_SIZE_FIX)
  3999. WMITLV_CREATE_PARAM_STRUC(WMI_CAPTUREH_EVENTID);
  4000. /* TDLS Peer Update event */
  4001. #define WMITLV_TABLE_WMI_TDLS_PEER_EVENTID(id,op,buf,len) \
  4002. 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)
  4003. WMITLV_CREATE_PARAM_STRUC(WMI_TDLS_PEER_EVENTID);
  4004. /* VDEV MCC Beacon Interval Change Request Event */
  4005. #define WMITLV_TABLE_WMI_VDEV_MCC_BCN_INTERVAL_CHANGE_REQ_EVENTID(id,op,buf,len) \
  4006. 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)
  4007. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_MCC_BCN_INTERVAL_CHANGE_REQ_EVENTID);
  4008. #define WMITLV_TABLE_WMI_BATCH_SCAN_ENABLED_EVENTID(id,op,buf,len) \
  4009. 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)
  4010. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_ENABLED_EVENTID);
  4011. #define WMITLV_TABLE_WMI_BATCH_SCAN_RESULT_EVENTID(id,op,buf,len) \
  4012. 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) \
  4013. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_ARRAY_STRUC, wmi_batch_scan_result_scan_list, scan_list, WMITLV_SIZE_VAR) \
  4014. WMITLV_ELEM(id,op,buf,len,WMITLV_TAG_ARRAY_STRUC, wmi_batch_scan_result_network_info, network_list, WMITLV_SIZE_VAR)
  4015. WMITLV_CREATE_PARAM_STRUC(WMI_BATCH_SCAN_RESULT_EVENTID);
  4016. #define WMITLV_TABLE_WMI_OFFLOAD_BCN_TX_STATUS_EVENTID(id,op,buf,len) \
  4017. 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)
  4018. WMITLV_CREATE_PARAM_STRUC(WMI_OFFLOAD_BCN_TX_STATUS_EVENTID);
  4019. /* NOA Event */
  4020. #define WMITLV_TABLE_WMI_P2P_NOA_EVENTID(id,op,buf,len) \
  4021. 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) \
  4022. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_p2p_noa_info, wmi_p2p_noa_info, p2p_noa_info, WMITLV_SIZE_FIX)
  4023. WMITLV_CREATE_PARAM_STRUC(WMI_P2P_NOA_EVENTID);
  4024. /* AP PS enhanced green ap Event */
  4025. #define WMITLV_TABLE_WMI_AP_PS_EGAP_INFO_EVENTID(id,op,buf,len) \
  4026. 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) \
  4027. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ap_ps_egap_info_chainmask_list, chainmask_list, WMITLV_SIZE_VAR)
  4028. WMITLV_CREATE_PARAM_STRUC(WMI_AP_PS_EGAP_INFO_EVENTID);
  4029. #define WMITLV_TABLE_WMI_PEER_INFO_EVENTID(id,op,buf,len) \
  4030. 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) \
  4031. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_info, peer_info, WMITLV_SIZE_VAR)
  4032. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_INFO_EVENTID);
  4033. #define WMITLV_TABLE_WMI_PEER_ANTDIV_INFO_EVENTID(id,op,buf,len) \
  4034. 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) \
  4035. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_antdiv_info, peer_info, WMITLV_SIZE_VAR)
  4036. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ANTDIV_INFO_EVENTID);
  4037. #define WMITLV_TABLE_WMI_PEER_TX_FAIL_CNT_THR_EVENTID(id,op,buf,len) \
  4038. 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)
  4039. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TX_FAIL_CNT_THR_EVENTID);
  4040. #define WMITLV_TABLE_WMI_PEER_OPER_MODE_CHANGE_EVENTID(id,op,buf,len) \
  4041. 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)
  4042. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_OPER_MODE_CHANGE_EVENTID);
  4043. /* DFS radar Event */
  4044. #define WMITLV_TABLE_WMI_DFS_RADAR_EVENTID(id,op,buf,len) \
  4045. 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)
  4046. WMITLV_CREATE_PARAM_STRUC(WMI_DFS_RADAR_EVENTID);
  4047. #define WMITLV_TABLE_WMI_PDEV_DFS_RADAR_DETECTION_EVENTID(id,op,buf,len) \
  4048. 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)
  4049. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_RADAR_DETECTION_EVENTID);
  4050. #define WMITLV_TABLE_WMI_VDEV_ADFS_OCAC_COMPLETE_EVENTID(id,op,buf,len) \
  4051. 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)
  4052. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADFS_OCAC_COMPLETE_EVENTID);
  4053. #define WMITLV_TABLE_WMI_VDEV_DFS_CAC_COMPLETE_EVENTID(id,op,buf,len) \
  4054. 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)
  4055. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DFS_CAC_COMPLETE_EVENTID);
  4056. /* Thermal Event */
  4057. #define WMITLV_TABLE_WMI_THERMAL_MGMT_EVENTID(id,op,buf,len) \
  4058. 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)
  4059. WMITLV_CREATE_PARAM_STRUC(WMI_THERMAL_MGMT_EVENTID);
  4060. #define WMITLV_TABLE_WMI_OEM_DMA_RING_CFG_RSP_EVENTID(id,op,buf,len) \
  4061. 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)
  4062. WMITLV_CREATE_PARAM_STRUC(WMI_OEM_DMA_RING_CFG_RSP_EVENTID)
  4063. /* NAN Response/Indication Event */
  4064. #define WMITLV_TABLE_WMI_NAN_EVENTID(id,op,buf,len) \
  4065. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_nan_event_hdr, wmi_nan_event_hdr, fixed_param, WMITLV_SIZE_FIX) \
  4066. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) \
  4067. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_nan_event_info, event_info, WMITLV_SIZE_VAR)
  4068. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_EVENTID);
  4069. /* NAN discovery interface created event */
  4070. #define WMITLV_TABLE_WMI_NAN_DISC_IFACE_CREATED_EVENTID(id,op,buf,len) \
  4071. 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)
  4072. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_DISC_IFACE_CREATED_EVENTID);
  4073. /* NAN discovery interface deleted event */
  4074. #define WMITLV_TABLE_WMI_NAN_DISC_IFACE_DELETED_EVENTID(id,op,buf,len) \
  4075. 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)
  4076. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_DISC_IFACE_DELETED_EVENTID);
  4077. /* NAN device started new cluster event */
  4078. #define WMITLV_TABLE_WMI_NAN_STARTED_CLUSTER_EVENTID(id,op,buf,len) \
  4079. 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)
  4080. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_STARTED_CLUSTER_EVENTID);
  4081. /* NAN device joined to cluster event */
  4082. #define WMITLV_TABLE_WMI_NAN_JOINED_CLUSTER_EVENTID(id,op,buf,len) \
  4083. 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)
  4084. WMITLV_CREATE_PARAM_STRUC(WMI_NAN_JOINED_CLUSTER_EVENTID);
  4085. /* Coex report antenna isolation event */
  4086. #define WMITLV_TABLE_WMI_COEX_REPORT_ANTENNA_ISOLATION_EVENTID(id,op,buf,len) \
  4087. 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)
  4088. WMITLV_CREATE_PARAM_STRUC(WMI_COEX_REPORT_ANTENNA_ISOLATION_EVENTID);
  4089. /* NDP capabilities response event */
  4090. #define WMITLV_TABLE_WMI_NDI_CAP_RSP_EVENTID(id,op,buf,len) \
  4091. 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)
  4092. WMITLV_CREATE_PARAM_STRUC(WMI_NDI_CAP_RSP_EVENTID);
  4093. /* NDP initiator response event */
  4094. #define WMITLV_TABLE_WMI_NDP_INITIATOR_RSP_EVENTID(id,op,buf,len) \
  4095. 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)
  4096. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_INITIATOR_RSP_EVENTID);
  4097. /* NDP responder response event */
  4098. #define WMITLV_TABLE_WMI_NDP_RESPONDER_RSP_EVENTID(id,op,buf,len) \
  4099. 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)
  4100. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_RESPONDER_RSP_EVENTID);
  4101. /** NDP end response event
  4102. *
  4103. * TLV (tag length value ) parameters follow the ndp_end_rsp
  4104. * structure. The TLV's are:
  4105. * wmi_ndp_end_rsp_per_ndi ndp_end_rsp_per_ndi_list[];
  4106. * wmi_active_ndp_instance_id active_ndp_instances_id[];
  4107. */
  4108. #define WMITLV_TABLE_WMI_NDP_END_RSP_EVENTID(id,op,buf,len) \
  4109. 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) \
  4110. 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) \
  4111. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_active_ndp_instance_id_PROTOTYPE, active_ndp_instances_id, WMITLV_SIZE_VAR)
  4112. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_END_RSP_EVENTID);
  4113. /** NDP indication event
  4114. *
  4115. * TLV (tag length value ) parameters follow the ndp_indication
  4116. * structure. The TLV's are:
  4117. * A_UINT8 ndp_cfg[];
  4118. * A_UINT8 ndp_app_info[];
  4119. * wmi_ndp_transport_ip_param ndp_transport_ip_param;
  4120. */
  4121. #define WMITLV_TABLE_WMI_NDP_INDICATION_EVENTID(id,op,buf,len) \
  4122. 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) \
  4123. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_cfg, WMITLV_SIZE_VAR) \
  4124. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_app_info, WMITLV_SIZE_VAR) \
  4125. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_scid, WMITLV_SIZE_VAR) \
  4126. 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)
  4127. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_INDICATION_EVENTID);
  4128. /** NDP confirm event
  4129. * TLV (tag length value ) parameters follow the ndp_confirm
  4130. * structure. The TLV's are:
  4131. * A_UINT8 ndp_cfg[];
  4132. * A_UINT8 ndp_app_info[];
  4133. * wmi_channel ndp_channel_list[];
  4134. * wmi_ndp_transport_ip_param ndp_transport_ip_param;
  4135. */
  4136. #define WMITLV_TABLE_WMI_NDP_CONFIRM_EVENTID(id,op,buf,len) \
  4137. 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) \
  4138. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_cfg, WMITLV_SIZE_VAR) \
  4139. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ndp_app_info, WMITLV_SIZE_VAR) \
  4140. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, ndp_channel_list, WMITLV_SIZE_VAR) \
  4141. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, nss_list, WMITLV_SIZE_VAR) \
  4142. 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) \
  4143. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ndp_channel_info, ndp_channel_info, WMITLV_SIZE_VAR)
  4144. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_CONFIRM_EVENTID);
  4145. /** NDP end indication event
  4146. *
  4147. * TLV (tag length value ) parameters follow the ndp_end_indication
  4148. * structure. The TLV's are:
  4149. * wmi_ndp_end_indication ndp_end_indication_list[];
  4150. */
  4151. #define WMITLV_TABLE_WMI_NDP_END_INDICATION_EVENTID(id,op,buf,len) \
  4152. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ndp_end_indication_PROTOTYPE, ndp_end_indication_list, WMITLV_SIZE_VAR)
  4153. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_END_INDICATION_EVENTID);
  4154. /** NDL schedule update event
  4155. * TLV (tag lenght value ) parameters follow the ndl_schedule_update
  4156. * structure. The TLV's are:
  4157. * A_UINT32 ndp_instance_list[];
  4158. * wmi_channel ndl_channel_list[];
  4159. */
  4160. #define WMITLV_TABLE_WMI_NDL_SCHEDULE_UPDATE_EVENTID(id,op,buf,len) \
  4161. 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) \
  4162. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, ndp_instance_list, WMITLV_SIZE_VAR) \
  4163. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel, ndl_channel_list, WMITLV_SIZE_VAR) \
  4164. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, nss_list, WMITLV_SIZE_VAR) \
  4165. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ndp_channel_info, ndp_channel_info, WMITLV_SIZE_VAR)
  4166. WMITLV_CREATE_PARAM_STRUC(WMI_NDL_SCHEDULE_UPDATE_EVENTID);
  4167. /* NDP Event */
  4168. #define WMITLV_TABLE_WMI_NDP_EVENTID(id,op,buf,len) \
  4169. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ndp_event_param, wmi_ndp_event_param, fixed_param, WMITLV_SIZE_FIX)
  4170. WMITLV_CREATE_PARAM_STRUC(WMI_NDP_EVENTID);
  4171. /* Update RCPI Info Event */
  4172. #define WMITLV_TABLE_WMI_UPDATE_RCPI_EVENTID(id,op,buf,len) \
  4173. 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)
  4174. WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_RCPI_EVENTID);
  4175. /* L1SS track Event */
  4176. #define WMITLV_TABLE_WMI_PDEV_L1SS_TRACK_EVENTID(id,op,buf,len) \
  4177. 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)
  4178. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_L1SS_TRACK_EVENTID);
  4179. #define WMITLV_TABLE_WMI_DIAG_DATA_CONTAINER_EVENTID(id,op,buf,len) \
  4180. 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) \
  4181. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4182. WMITLV_CREATE_PARAM_STRUC(WMI_DIAG_DATA_CONTAINER_EVENTID);
  4183. /* Estimated Link Speed Indication*/
  4184. #define WMITLV_TABLE_WMI_PEER_ESTIMATED_LINKSPEED_EVENTID(id,op,buf,len) \
  4185. 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)
  4186. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ESTIMATED_LINKSPEED_EVENTID);
  4187. /* NAN Response/Indication Event */
  4188. #define WMITLV_TABLE_WMI_STATS_EXT_EVENTID(id,op,buf,len) \
  4189. 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) \
  4190. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4191. WMITLV_CREATE_PARAM_STRUC(WMI_STATS_EXT_EVENTID);
  4192. #define WMITLV_TABLE_WMI_OFFLOAD_PROB_RESP_TX_STATUS_EVENTID(id,op,buf,len) \
  4193. 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)
  4194. WMITLV_CREATE_PARAM_STRUC(WMI_OFFLOAD_PROB_RESP_TX_STATUS_EVENTID);
  4195. /* host auto shut down event */
  4196. #define WMITLV_TABLE_WMI_HOST_AUTO_SHUTDOWN_EVENTID(id,op,buf,len) \
  4197. 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)
  4198. WMITLV_CREATE_PARAM_STRUC(WMI_HOST_AUTO_SHUTDOWN_EVENTID);
  4199. /* peer state Event */
  4200. #define WMITLV_TABLE_WMI_PEER_STATE_EVENTID(id,op,buf,len) \
  4201. 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)
  4202. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STATE_EVENTID);
  4203. /* peer delete response Event */
  4204. #define WMITLV_TABLE_WMI_PEER_DELETE_RESP_EVENTID(id,op,buf,len) \
  4205. 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)
  4206. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_DELETE_RESP_EVENTID);
  4207. /* delete all peer response Event */
  4208. #define WMITLV_TABLE_WMI_VDEV_DELETE_ALL_PEER_RESP_EVENTID(id,op,buf,len) \
  4209. 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)
  4210. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_DELETE_ALL_PEER_RESP_EVENTID);
  4211. /* peer assoc conf Event */
  4212. #define WMITLV_TABLE_WMI_PEER_ASSOC_CONF_EVENTID(id,op,buf,len) \
  4213. 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)
  4214. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ASSOC_CONF_EVENTID);
  4215. /* D0-WOW Disable Ack event */
  4216. #define WMITLV_TABLE_WMI_D0_WOW_DISABLE_ACK_EVENTID(id,op,buf,len) \
  4217. 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)
  4218. WMITLV_CREATE_PARAM_STRUC(WMI_D0_WOW_DISABLE_ACK_EVENTID);
  4219. /* Pdev get chip temperature event */
  4220. #define WMITLV_TABLE_WMI_PDEV_TEMPERATURE_EVENTID(id,op,buf,len) \
  4221. 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)
  4222. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_TEMPERATURE_EVENTID);
  4223. /* Pdev get ANT DIV feature status event */
  4224. #define WMITLV_TABLE_WMI_PDEV_ANTDIV_STATUS_EVENTID(id,op,buf,len) \
  4225. 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)
  4226. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_ANTDIV_STATUS_EVENTID);
  4227. /* mDNS offload stats event */
  4228. #define WMITLV_TABLE_WMI_MDNS_STATS_EVENTID(id,op,buf,len) \
  4229. 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)
  4230. WMITLV_CREATE_PARAM_STRUC(WMI_MDNS_STATS_EVENTID);
  4231. /* pdev resume event */
  4232. #define WMITLV_TABLE_WMI_PDEV_RESUME_EVENTID(id,op,buf,len) \
  4233. 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)
  4234. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_RESUME_EVENTID);
  4235. /* SAP Authentication offload event */
  4236. #define WMITLV_TABLE_WMI_SAP_OFL_ADD_STA_EVENTID(id,op,buf,len) \
  4237. 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) \
  4238. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4239. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OFL_ADD_STA_EVENTID);
  4240. #define WMITLV_TABLE_WMI_SAP_OFL_DEL_STA_EVENTID(id,op,buf,len) \
  4241. 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)
  4242. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OFL_DEL_STA_EVENTID);
  4243. /* SAP OBSS detection offload event */
  4244. #define WMITLV_TABLE_WMI_SAP_OBSS_DETECTION_REPORT_EVENTID(id,op,buf,len) \
  4245. 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)
  4246. WMITLV_CREATE_PARAM_STRUC(WMI_SAP_OBSS_DETECTION_REPORT_EVENTID);
  4247. /* OBSS Color collision detection event */
  4248. #define WMITLV_TABLE_WMI_OBSS_COLOR_COLLISION_DETECTION_EVENTID(id,op,buf,len) \
  4249. 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)
  4250. WMITLV_CREATE_PARAM_STRUC(WMI_OBSS_COLOR_COLLISION_DETECTION_EVENTID);
  4251. /* Set OCB schedule event, DEPRECATED */
  4252. #define WMITLV_TABLE_WMI_OCB_SET_SCHED_EVENTID(id,op,buf,len) \
  4253. 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)
  4254. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_SCHED_EVENTID);
  4255. /* Set OCB configuration response event */
  4256. #define WMITLV_TABLE_WMI_OCB_SET_CONFIG_RESP_EVENTID(id,op,buf,len) \
  4257. 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)
  4258. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_SET_CONFIG_RESP_EVENTID);
  4259. /* Get TSF timer response event */
  4260. #define WMITLV_TABLE_WMI_OCB_GET_TSF_TIMER_RESP_EVENTID(id,op,buf,len) \
  4261. 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)
  4262. WMITLV_CREATE_PARAM_STRUC(WMI_OCB_GET_TSF_TIMER_RESP_EVENTID);
  4263. /* Get DCC stats response event */
  4264. #define WMITLV_TABLE_WMI_DCC_GET_STATS_RESP_EVENTID(id,op,buf,len) \
  4265. 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) \
  4266. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_stats_per_channel, stats_per_channel_list, WMITLV_SIZE_VAR)
  4267. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_GET_STATS_RESP_EVENTID);
  4268. /* Update DCC NDL response event */
  4269. #define WMITLV_TABLE_WMI_DCC_UPDATE_NDL_RESP_EVENTID(id,op,buf,len) \
  4270. 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)
  4271. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_UPDATE_NDL_RESP_EVENTID);
  4272. /* DCC stats event */
  4273. #define WMITLV_TABLE_WMI_DCC_STATS_EVENTID(id,op,buf,len) \
  4274. 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) \
  4275. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dcc_ndl_stats_per_channel, stats_per_channel_list, WMITLV_SIZE_VAR)
  4276. WMITLV_CREATE_PARAM_STRUC(WMI_DCC_STATS_EVENTID);
  4277. /* Read TSF timer response event */
  4278. #define WMITLV_TABLE_WMI_VDEV_TSF_REPORT_EVENTID(id,op,buf,len) \
  4279. 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)
  4280. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_TSF_REPORT_EVENTID);
  4281. /* Vdev capabilities IE to be transmitted in mgmt frames */
  4282. #define WMITLV_TABLE_WMI_VDEV_SET_IE_CMDID(id,op,buf,len) \
  4283. 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) \
  4284. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4285. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_IE_CMDID);
  4286. /* SOC Set Hardware Mode Response event - DEPRECATED */
  4287. #define WMITLV_TABLE_WMI_SOC_SET_HW_MODE_RESP_EVENTID(id,op,buf,len) \
  4288. 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) \
  4289. 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)
  4290. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_HW_MODE_RESP_EVENTID);
  4291. /* PDEV Set Hardware Mode Response event */
  4292. #define WMITLV_TABLE_WMI_PDEV_SET_HW_MODE_RESP_EVENTID(id,op,buf,len) \
  4293. 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) \
  4294. 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)
  4295. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_HW_MODE_RESP_EVENTID);
  4296. /* SOC Hardware Mode Transition event - DEPRECATED */
  4297. #define WMITLV_TABLE_WMI_SOC_HW_MODE_TRANSITION_EVENTID(id,op,buf,len) \
  4298. 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) \
  4299. 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)
  4300. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_HW_MODE_TRANSITION_EVENTID);
  4301. /* PDEV Hardware Mode Transition event */
  4302. #define WMITLV_TABLE_WMI_PDEV_HW_MODE_TRANSITION_EVENTID(id,op,buf,len) \
  4303. 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) \
  4304. 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)
  4305. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_HW_MODE_TRANSITION_EVENTID);
  4306. /* SOC Set Dual MAC Config Response event - DEPRECATED */
  4307. #define WMITLV_TABLE_WMI_SOC_SET_DUAL_MAC_CONFIG_RESP_EVENTID(id,op,buf,len) \
  4308. 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)
  4309. WMITLV_CREATE_PARAM_STRUC(WMI_SOC_SET_DUAL_MAC_CONFIG_RESP_EVENTID);
  4310. /* PDEV Set Dual MAC Config Response event */
  4311. #define WMITLV_TABLE_WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID(id,op,buf,len) \
  4312. 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)
  4313. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_MAC_CONFIG_RESP_EVENTID);
  4314. /* Packet Filter configure command*/
  4315. #define WMITLV_TABLE_WMI_PACKET_FILTER_CONFIG_CMDID(id,op,buf,len) \
  4316. 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)
  4317. WMITLV_CREATE_PARAM_STRUC(WMI_PACKET_FILTER_CONFIG_CMDID);
  4318. /* Packet Filter enable command*/
  4319. #define WMITLV_TABLE_WMI_PACKET_FILTER_ENABLE_CMDID(id,op,buf,len) \
  4320. 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)
  4321. WMITLV_CREATE_PARAM_STRUC(WMI_PACKET_FILTER_ENABLE_CMDID);
  4322. /* MAWC enable/disable sensor event */
  4323. #define WMITLV_TABLE_WMI_MAWC_ENABLE_SENSOR_EVENTID(id,op,buf,len) \
  4324. 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)
  4325. WMITLV_CREATE_PARAM_STRUC(WMI_MAWC_ENABLE_SENSOR_EVENTID);
  4326. /* SMPS force mode complete Event */
  4327. #define WMITLV_TABLE_WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID(id,op,buf,len) \
  4328. 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)
  4329. WMITLV_CREATE_PARAM_STRUC(WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID);
  4330. /* bpf offload capability info event */
  4331. #define WMITLV_TABLE_WMI_BPF_CAPABILIY_INFO_EVENTID(id,op,buf,len) \
  4332. 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)
  4333. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_CAPABILIY_INFO_EVENTID);
  4334. /* bpf offload vdev status info event */
  4335. #define WMITLV_TABLE_WMI_BPF_VDEV_STATS_INFO_EVENTID(id,op,buf,len) \
  4336. 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)
  4337. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_VDEV_STATS_INFO_EVENTID);
  4338. /* bpf offload vdev get work memory event */
  4339. #define WMITLV_TABLE_WMI_BPF_GET_VDEV_WORK_MEMORY_RESP_EVENTID(id,op,buf,len) \
  4340. 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) \
  4341. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4342. WMITLV_CREATE_PARAM_STRUC(WMI_BPF_GET_VDEV_WORK_MEMORY_RESP_EVENTID);
  4343. /* Indicate new country code to host from 11d scan */
  4344. #define WMITLV_TABLE_WMI_11D_NEW_COUNTRY_EVENTID(id,op,buf,len) \
  4345. 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)
  4346. WMITLV_CREATE_PARAM_STRUC(WMI_11D_NEW_COUNTRY_EVENTID);
  4347. /* Regulatory channel list of current country code */
  4348. #define WMITLV_TABLE_WMI_REG_CHAN_LIST_CC_EVENTID(id,op,buf,len) \
  4349. 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) \
  4350. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_regulatory_rule_struct, reg_rule_array, WMITLV_SIZE_VAR)
  4351. WMITLV_CREATE_PARAM_STRUC(WMI_REG_CHAN_LIST_CC_EVENTID);
  4352. /* FIPS event */
  4353. #define WMITLV_TABLE_WMI_PDEV_FIPS_EVENTID(id,op,buf,len) \
  4354. 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) \
  4355. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4356. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_FIPS_EVENTID);
  4357. #define WMITLV_TABLE_WMI_PDEV_CHANNEL_HOPPING_EVENTID(id,op,buf,len) \
  4358. 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)
  4359. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHANNEL_HOPPING_EVENTID);
  4360. #define WMITLV_TABLE_WMI_PDEV_ANI_CCK_LEVEL_EVENTID(id,op,buf,len) \
  4361. 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)
  4362. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_ANI_CCK_LEVEL_EVENTID);
  4363. #define WMITLV_TABLE_WMI_PDEV_CHIP_POWER_SAVE_FAILURE_DETECTED_EVENTID(id,op,buf,len) \
  4364. 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)
  4365. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHIP_POWER_SAVE_FAILURE_DETECTED_EVENTID);
  4366. #define WMITLV_TABLE_WMI_PDEV_CHIP_POWER_STATS_EVENTID(id,op,buf,len) \
  4367. 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) \
  4368. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, debug_registers, WMITLV_SIZE_VAR)
  4369. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHIP_POWER_STATS_EVENTID);
  4370. #define WMITLV_TABLE_WMI_VDEV_BCN_RECEPTION_STATS_EVENTID(id,op,buf,len) \
  4371. 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)
  4372. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_BCN_RECEPTION_STATS_EVENTID);
  4373. /* WLAN GET mws coex state */
  4374. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_STATE_EVENTID(id,op,buf,len) \
  4375. 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)
  4376. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_STATE_EVENTID);
  4377. /* WLAN GET Dynamic power back-off state */
  4378. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_DPWB_STATE_EVENTID(id,op,buf,len) \
  4379. 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)
  4380. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_DPWB_STATE_EVENTID);
  4381. /* WLAN GET TDM state */
  4382. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_TDM_STATE_EVENTID(id,op,buf,len) \
  4383. 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)
  4384. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_TDM_STATE_EVENTID);
  4385. /* WLAN GET Idrx state */
  4386. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_IDRX_STATE_EVENTID(id,op,buf,len) \
  4387. 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)
  4388. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_IDRX_STATE_EVENTID);
  4389. /* WLAN GET antenna sharing state */
  4390. #define WMITLV_TABLE_WMI_VDEV_GET_MWS_COEX_ANTENNA_SHARING_STATE_EVENTID(id,op,buf,len) \
  4391. 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)
  4392. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_MWS_COEX_ANTENNA_SHARING_STATE_EVENTID);
  4393. #define WMITLV_TABLE_WMI_PDEV_ANI_OFDM_LEVEL_EVENTID(id,op,buf,len) \
  4394. 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)
  4395. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_ANI_OFDM_LEVEL_EVENTID);
  4396. #define WMITLV_TABLE_WMI_PDEV_TPC_EVENTID(id,op,buf,len) \
  4397. 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)\
  4398. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tpc, WMITLV_SIZE_VAR)
  4399. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_TPC_EVENTID);
  4400. #define WMITLV_TABLE_WMI_PDEV_NFCAL_POWER_ALL_CHANNELS_EVENTID(id,op,buf,len) \
  4401. 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) \
  4402. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_nfcal_power_all_channels_nfdBr, nfdbr, WMITLV_SIZE_VAR) \
  4403. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_nfcal_power_all_channels_nfdBm, nfdbm, WMITLV_SIZE_VAR) \
  4404. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_nfcal_power_all_channels_freqNum, freqnum, WMITLV_SIZE_VAR)
  4405. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_NFCAL_POWER_ALL_CHANNELS_EVENTID);
  4406. #define WMITLV_TABLE_WMI_PEER_RATECODE_LIST_EVENTID(id,op,buf,len) \
  4407. 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) \
  4408. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_cck_ofdm_rate_info, ratecode_legacy, WMITLV_SIZE_VAR) \
  4409. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_mcs_rate_info, ratecode_mcs, WMITLV_SIZE_VAR)
  4410. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_RATECODE_LIST_EVENTID);
  4411. #define WMITLV_TABLE_WMI_WDS_PEER_EVENTID(id,op,buf,len) \
  4412. 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)
  4413. WMITLV_CREATE_PARAM_STRUC(WMI_WDS_PEER_EVENTID);
  4414. #define WMITLV_TABLE_WMI_PEER_STA_PS_STATECHG_EVENTID(id,op,buf,len) \
  4415. 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)
  4416. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STA_PS_STATECHG_EVENTID);
  4417. #define WMITLV_TABLE_WMI_INST_RSSI_STATS_EVENTID(id,op,buf,len) \
  4418. 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)
  4419. WMITLV_CREATE_PARAM_STRUC(WMI_INST_RSSI_STATS_EVENTID);
  4420. #define WMITLV_TABLE_WMI_RADIO_TX_POWER_LEVEL_STATS_EVENTID(id,op,buf,len) \
  4421. 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) \
  4422. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_time_per_power_level, WMITLV_SIZE_VAR)
  4423. WMITLV_CREATE_PARAM_STRUC(WMI_RADIO_TX_POWER_LEVEL_STATS_EVENTID);
  4424. #define WMITLV_TABLE_WMI_RMC_NEW_LEADER_EVENTID(id, op, buf, len) \
  4425. 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)
  4426. WMITLV_CREATE_PARAM_STRUC(WMI_RMC_NEW_LEADER_EVENTID);
  4427. /* Layout of WMI_REPORT_STATS_EVENTID message:
  4428. * fixed_param;
  4429. * wmi_chan_cca_stats chan_cca_stats[]; Array length is specified by num_chan_cca_stats
  4430. * wmi_peer_signal_stats peer_signal_stats[]; Array length is specified by num_peer_signal_stats
  4431. * wmi_peer_ac_tx_stats peer_ac_tx_stats[]; Array length is specified by num_peer_ac_tx_stats
  4432. * 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)
  4433. * A_UINT32 tx_mpdu_aggr[][][]; Array length is num_peer_ac_tx_stats * WLAN_MAX_AC * tx_mpdu_aggr_array_len,
  4434. * array index is (peer_index * WLAN_MAX_AC + ac_index) * tx_mpdu_aggr_array_len + A-MPDU size index
  4435. * Contains a histogram of how many A-MPDUs of a given size (i.e. number of MPDUs) have been transmitted.
  4436. * Element 0 contains the number of PPDUs with a single-MPDU A-MPDU.
  4437. * Element 1 contains the number of PPDUs with 2 MPDUs.
  4438. * Element 2 contains the number of PPDUs with 3 MPDUs.
  4439. * Element tx_mpdu_aggr_array_len-1 contains the number of PPDUs with >= tx_mpdu_aggr_array_len MPDUs.
  4440. * A_UINT32 tx_succ_mcs[][][]; Array length is num_peer_ac_tx_stats * WLAN_MAX_AC * tx_succ_mcs_array_len,
  4441. * array index is (peer_index * WLAN_MAX_AC + ac_index) * tx_succ_mcs_array_len + MCS index
  4442. * Contains a count of how many tx PPDUs have been acked for each MCS of each AC of each peer.
  4443. * A_UINT32 tx_fail_mcs[][][]; Array length is num_peer_ac_tx_stats * WLAN_MAX_AC * tx_fail_mcs_array_len,
  4444. * array index is (peer_index * WLAN_MAX_AC + ac_index) * tx_fail_mcs_array_len + MCS index
  4445. * Contains a count of how many PPDUs failed tx due to no ack for each MCS of each AC of each peer.
  4446. * A_UINT32 tx_ppdu_delay[][][]; Array length is num_peer_ac_tx_stats * WLAN_MAX_AC * tx_ppdu_delay_array_len,
  4447. * array index is (peer_index * WLAN_MAX_AC + ac_index) * tx_ppdu_delay_array_len + delay index
  4448. * Contains a histogram of how many PPDUs encountered each level of delay due to retries or air interface contention.
  4449. * The time represented by each array element (i.e. histogram bin) is specified by tx_ppdu_delay_bin_size_ms.
  4450. * Element 0 contains the count of PPDUs delayed by less than tx_ppdu_delay_bin_size_ms.
  4451. * Element 1 contains the count of PPDUs delayed by more than 1x tx_ppdu_delay_bin_size_ms but less than 2x.
  4452. * Element tx_ppdu_delay_array_len-1 contains the count of PPDUs delayed by
  4453. * >= tx_ppdu_delay_bin_size_ms * (tx_ppdu_delay_array_len-1)
  4454. * wmi_peer_ac_rx_stats peer_ac_rx_stats[]; Array length is specified by num_peer_ac_rx_stats
  4455. * 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)
  4456. * A_UINT32 rx_mpdu_aggr[][][]; Array length is num_peer_ac_rx_stats * WLAN_MAX_AC * rx_mpdu_aggr_array_len,
  4457. * array index is (peer_index * WLAN_MAX_AC + ac_index) * rx_mpdu_aggr_array_len + A-MPDU size index
  4458. * Contains a histogram of how many A-MPDUs of a given size (i.e. number of MPDUs) have been received.
  4459. * Element 0 contains the number of PPDUs with a single MPDU.
  4460. * Element 1 contains the number of PPDUs with 2 MPDUs.
  4461. * Element 2 contains the number of PPDUs with 3 MPDUs.
  4462. * Element rx_mpdu_aggr_array_len-1 contains the number of PPDUs with >= rx_mpdu_aggr_array_len MPDUs.
  4463. * A_UINT32 rx_mcs[][][]; Array length is (num_peer_ac_rx_stats * WLAN_MAX_AC) * rx_mcs_array_len,
  4464. * array index is (peer_index * WLAN_MAX_AC + ac_index) * rx_mcs_array_len + MCS index
  4465. * Contains a count of rx PPDUs for each MCS of each AC of each peer.
  4466. * wmi_stats_period stats_period[]; Array length is specified by stats_period_array_len
  4467. * 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.
  4468. *
  4469. * For example, if there were 2 peers (X and Y) whose stats were being reported,
  4470. * the message and its TLV arrays would look like this:
  4471. * 1. fixed_param
  4472. * 2. chan_cca_stats[0]
  4473. * 3. peer_signal_stats[0] for peer X
  4474. * 4. peer_signal_stats[1] for peer Y
  4475. * 5. peer_ac_tx_stats[0] for X
  4476. * 6. peer_ac_tx_stats[1] for Y
  4477. * 7. tx_stats[0][0] for peer X, AC 0
  4478. * 8. tx_stats[0][1] for peer X, AC 1
  4479. * 9. tx_stats[0][2] for peer X, AC 2
  4480. * 10. tx_stats[0][3] for peer X, AC 3
  4481. * 11. tx_stats[1][0] for peer Y, AC 0
  4482. * 12 tx_stats[1][1] for peer Y, AC 1
  4483. * 13. tx_stats[1][2] for peer Y, AC 2
  4484. * 14. tx_stats[1][3] for peer Y, AC 3
  4485. * 15. tx_mpdu_aggr[0][0][] for peer X, AC 0
  4486. * 16. tx_mpdu_aggr[0][1][] for peer X, AC 1
  4487. * 17. tx_mpdu_aggr[0][2][] for peer X, AC 2
  4488. * 18. tx_mpdu_aggr[0][3][] for peer X, AC 3
  4489. * 19. tx_mpdu_aggr[1][0][] for peer Y, AC 0
  4490. * 20. tx_mpdu_aggr[1][1][] for peer Y, AC 1
  4491. * 21. tx_mpdu_aggr[1][2][] for peer Y, AC 2
  4492. * 22. tx_mpdu_aggr[1][3][] for peer Y, AC 3
  4493. * 23. tx_succ_mcs[0][0][] for peer X, AC 0
  4494. * 24. tx_succ_mcs[0][1][] for peer X, AC 1
  4495. * 25. tx_succ_mcs[0][2][] for peer X, AC 2
  4496. * 26. tx_succ_mcs[0][3][] for peer X, AC 3
  4497. * 27. tx_succ_mcs[1][0][] for peer Y, AC 0
  4498. * 28. tx_succ_mcs[1][1][] for peer Y, AC 1
  4499. * 29. tx_succ_mcs[1][2][] for peer Y, AC 2
  4500. * 30. tx_succ_mcs[1][3][] for peer Y, AC 3
  4501. * 31. tx_fail_mcs[0][0][] for peer X, AC 0
  4502. * 32. tx_fail_mcs[0][1][] for peer X, AC 1
  4503. * 33. tx_fail_mcs[0][2][] for peer X, AC 2
  4504. * 34. tx_fail_mcs[0][3][] for peer X, AC 3
  4505. * 35. tx_fail_mcs[1][0][] for peer Y, AC 0
  4506. * 36. tx_fail_mcs[1][1][] for peer Y, AC 1
  4507. * 37. tx_fail_mcs[1][2][] for peer Y, AC 2
  4508. * 38. tx_fail_mcs[1][3][] for peer Y, AC 3
  4509. * 39. tx_ppdu_delay[0][0][] for peer X, AC 0
  4510. * 40. tx_ppdu_delay[0][1][] for peer X, AC 1
  4511. * 41. tx_ppdu_delay[0][2][] for peer X, AC 2
  4512. * 42. tx_ppdu_delay[0][3][] for peer X, AC 3
  4513. * 43. tx_ppdu_delay[1][0][] for peer Y, AC 0
  4514. * 44. tx_ppdu_delay[1][1][] for peer Y, AC 1
  4515. * 45. tx_ppdu_delay[1][2][] for peer Y, AC 2
  4516. * 46. tx_ppdu_delay[1][3][] for peer Y, AC 3
  4517. * 47. peer_ac_rx_stats[0] for X
  4518. * 48. peer_ac_rx_stats[1] for Y
  4519. * 49. rx_stats[0][0] for peer X, AC 0
  4520. * 50. rx_stats[0][1] for peer X, AC 1
  4521. * 51. rx_stats[0][2] for peer X, AC 2
  4522. * 52. rx_stats[0][3] for peer X, AC 3
  4523. * 53. rx_stats[1][0] for peer Y, AC 0
  4524. * 54. rx_stats[1][1] for peer Y, AC 1
  4525. * 55. rx_stats[1][2] for peer Y, AC 2
  4526. * 56. rx_stats[1][3] for peer Y, AC 3
  4527. * 57. rx_mpdu_aggr[0][0][] for peer X, AC 0
  4528. * 58. rx_mpdu_aggr[0][1][] for peer X, AC 1
  4529. * 59. rx_mpdu_aggr[0][2][] for peer X, AC 2
  4530. * 60. rx_mpdu_aggr[0][3][] for peer X, AC 3
  4531. * 61. rx_mpdu_aggr[1][0][] for peer Y, AC 0
  4532. * 62. rx_mpdu_aggr[1][1][] for peer Y, AC 1
  4533. * 63. rx_mpdu_aggr[1][2][] for peer Y, AC 2
  4534. * 64. rx_mpdu_aggr[1][3][] for peer Y, AC 3
  4535. * 65. rx_mcs[0][0][] for peer X, AC 0
  4536. * 66. rx_mcs[0][1][] for peer X, AC 1
  4537. * 67. rx_mcs[0][2][] for peer X, AC 2
  4538. * 68. rx_mcs[0][3][] for peer X, AC 3
  4539. * 69. rx_mcs[1][0][] for peer Y, AC 0
  4540. * 70. rx_mcs[1][1][] for peer Y, AC 1
  4541. * 71. rx_mcs[1][2][] for peer Y, AC 2
  4542. * 72. rx_mcs[1][3][] for peer Y, AC 3
  4543. **/
  4544. #define WMITLV_TABLE_WMI_REPORT_STATS_EVENTID(id, op, buf, len) \
  4545. 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) \
  4546. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_chan_cca_stats, chan_cca_stats, WMITLV_SIZE_VAR) \
  4547. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_signal_stats, peer_signal_stats, WMITLV_SIZE_VAR) \
  4548. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_ac_tx_stats, peer_ac_tx_stats, WMITLV_SIZE_VAR) \
  4549. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tx_stats, tx_stats, WMITLV_SIZE_VAR) \
  4550. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_mpdu_aggr, WMITLV_SIZE_VAR) \
  4551. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_succ_mcs, WMITLV_SIZE_VAR) \
  4552. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_fail_mcs, WMITLV_SIZE_VAR) \
  4553. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_ppdu_delay, WMITLV_SIZE_VAR) \
  4554. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_ac_rx_stats, peer_ac_rx_stats, WMITLV_SIZE_VAR) \
  4555. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_rx_stats, rx_stats, WMITLV_SIZE_VAR) \
  4556. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, rx_mpdu_aggr, WMITLV_SIZE_VAR) \
  4557. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, rx_mcs, WMITLV_SIZE_VAR) \
  4558. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_stats_period, stats_period, WMITLV_SIZE_VAR) \
  4559. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_stats_interference, stats_interference, WMITLV_SIZE_VAR)
  4560. WMITLV_CREATE_PARAM_STRUC(WMI_REPORT_STATS_EVENTID);
  4561. #define WMITLV_TABLE_WMI_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENTID(id, op, buf, len) \
  4562. 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) \
  4563. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, enc80211_frame, WMITLV_SIZE_VAR)
  4564. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENTID);
  4565. #define WMITLV_TABLE_WMI_PEER_STATS_INFO_EVENTID(id, op, buf, len) \
  4566. 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) \
  4567. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_stats_info, peer_stats_info, WMITLV_SIZE_VAR)
  4568. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STATS_INFO_EVENTID);
  4569. #define WMITLV_TABLE_WMI_RADIO_CHAN_STATS_EVENTID(id, op, buf, len) \
  4570. 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) \
  4571. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_radio_chan_stats, radio_chan_stats, WMITLV_SIZE_VAR)
  4572. WMITLV_CREATE_PARAM_STRUC(WMI_RADIO_CHAN_STATS_EVENTID);
  4573. #define WMITLV_TABLE_WMI_PKGID_EVENTID(id, op, buf, len) \
  4574. WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_pkgid_event_fixed_param, wmi_pkgid_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
  4575. WMITLV_CREATE_PARAM_STRUC(WMI_PKGID_EVENTID);
  4576. /* mac randomization event */
  4577. #define WMITLV_TABLE_WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENTID(id,op,buf,len) \
  4578. 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)
  4579. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENTID);
  4580. #define WMITLV_TABLE_WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID(id,op,buf,len) \
  4581. 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) \
  4582. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids, WMITLV_SIZE_VAR)
  4583. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID);
  4584. #define WMITLV_TABLE_WMI_PDEV_CSC_SWITCH_COUNT_STATUS_EVENTID(id,op,buf,len) \
  4585. 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) \
  4586. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_csc_vdev_list, vdev_info, WMITLV_SIZE_VAR)
  4587. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CSC_SWITCH_COUNT_STATUS_EVENTID);
  4588. /* cal version response event */
  4589. #define WMITLV_TABLE_WMI_PDEV_CHECK_CAL_VERSION_EVENTID(id,op,buf,len) \
  4590. 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)
  4591. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CHECK_CAL_VERSION_EVENTID);
  4592. /* ARP stats response event */
  4593. #define WMITLV_TABLE_WMI_VDEV_GET_ARP_STAT_EVENTID(id,op,buf,len) \
  4594. 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) \
  4595. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_get_connectivity_check_stats, connectivity_check_stats, WMITLV_SIZE_VAR)
  4596. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_GET_ARP_STAT_EVENTID);
  4597. /* Coex BT activity response event */
  4598. #define WMITLV_TABLE_WMI_WLAN_COEX_BT_ACTIVITY_EVENTID(id,op,buf,len) \
  4599. 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)
  4600. WMITLV_CREATE_PARAM_STRUC(WMI_WLAN_COEX_BT_ACTIVITY_EVENTID);
  4601. /* Thermal Throttling stats event */
  4602. #define WMITLV_TABLE_WMI_THERM_THROT_STATS_EVENTID(id,op,buf,len) \
  4603. 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) \
  4604. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_therm_throt_level_stats_info, therm_throt_level_stats_info, WMITLV_SIZE_VAR)
  4605. WMITLV_CREATE_PARAM_STRUC(WMI_THERM_THROT_STATS_EVENTID);
  4606. #define WMITLV_TABLE_WMI_PDEV_DMA_RING_CFG_RSP_EVENTID(id,op,buf,len) \
  4607. 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)
  4608. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DMA_RING_CFG_RSP_EVENTID);
  4609. /* dma buffer release event */
  4610. #define WMITLV_TABLE_WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID(id,op,buf,len) \
  4611. 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) \
  4612. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dma_buf_release_entry, entries, WMITLV_SIZE_VAR) \
  4613. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_dma_buf_release_spectral_meta_data, meta_data, WMITLV_SIZE_VAR)
  4614. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID);
  4615. /* ctl failsafe check event */
  4616. #define WMITLV_TABLE_WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID(id,op,buf,len) \
  4617. 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)
  4618. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CTL_FAILSAFE_CHECK_EVENTID);
  4619. /* UNIT-TEST Event */
  4620. #define WMITLV_TABLE_WMI_UNIT_TEST_EVENTID(id,op,buf,len) \
  4621. 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) \
  4622. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4623. WMITLV_CREATE_PARAM_STRUC(WMI_UNIT_TEST_EVENTID);
  4624. /* enabling TWT complete Event */
  4625. #define WMITLV_TABLE_WMI_TWT_ENABLE_COMPLETE_EVENTID(id,op,buf,len) \
  4626. 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)
  4627. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_ENABLE_COMPLETE_EVENTID);
  4628. /* disabling TWT complete Event */
  4629. #define WMITLV_TABLE_WMI_TWT_DISABLE_COMPLETE_EVENTID(id,op,buf,len) \
  4630. 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)
  4631. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_DISABLE_COMPLETE_EVENTID);
  4632. /* adding TWT dialog complete Event */
  4633. #define WMITLV_TABLE_WMI_TWT_ADD_DIALOG_COMPLETE_EVENTID(id,op,buf,len) \
  4634. 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)
  4635. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_ADD_DIALOG_COMPLETE_EVENTID);
  4636. /* deleting TWT dialog complete Event */
  4637. #define WMITLV_TABLE_WMI_TWT_DEL_DIALOG_COMPLETE_EVENTID(id,op,buf,len) \
  4638. 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)
  4639. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_DEL_DIALOG_COMPLETE_EVENTID);
  4640. /* pausing TWT dialog complete Event */
  4641. #define WMITLV_TABLE_WMI_TWT_PAUSE_DIALOG_COMPLETE_EVENTID(id,op,buf,len) \
  4642. 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)
  4643. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_PAUSE_DIALOG_COMPLETE_EVENTID);
  4644. /* resuming TWT dialog complete Event */
  4645. #define WMITLV_TABLE_WMI_TWT_RESUME_DIALOG_COMPLETE_EVENTID(id,op,buf,len) \
  4646. 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)
  4647. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_RESUME_DIALOG_COMPLETE_EVENTID);
  4648. /* inviting STA to B-TWT dialog complete Event */
  4649. #define WMITLV_TABLE_WMI_TWT_BTWT_INVITE_STA_COMPLETE_EVENTID(id,op,buf,len) \
  4650. 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)
  4651. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_BTWT_INVITE_STA_COMPLETE_EVENTID);
  4652. /* removing STA from B-TWT dialog complete Event */
  4653. #define WMITLV_TABLE_WMI_TWT_BTWT_REMOVE_STA_COMPLETE_EVENTID(id,op,buf,len) \
  4654. 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)
  4655. WMITLV_CREATE_PARAM_STRUC(WMI_TWT_BTWT_REMOVE_STA_COMPLETE_EVENTID);
  4656. /* Event to send roam scan stats */
  4657. #define WMITLV_TABLE_WMI_ROAM_SCAN_STATS_EVENTID(id,op,buf,len) \
  4658. 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) \
  4659. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, client_id, WMITLV_SIZE_VAR) \
  4660. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_roaming_timestamp, timestamp, WMITLV_SIZE_VAR) \
  4661. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, num_channels, WMITLV_SIZE_VAR) \
  4662. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, chan_info, WMITLV_SIZE_VAR) \
  4663. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, old_bssid, WMITLV_SIZE_VAR) \
  4664. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, is_roaming_success, WMITLV_SIZE_VAR) \
  4665. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, new_bssid, WMITLV_SIZE_VAR) \
  4666. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, num_roam_candidates, WMITLV_SIZE_VAR) \
  4667. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_roam_scan_trigger_reason, roam_reason, WMITLV_SIZE_VAR) \
  4668. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, bssid, WMITLV_SIZE_VAR) \
  4669. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, score, WMITLV_SIZE_VAR) \
  4670. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, channel, WMITLV_SIZE_VAR) \
  4671. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, rssi, WMITLV_SIZE_VAR)
  4672. WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_STATS_EVENTID);
  4673. /* Motion detection events */
  4674. #define WMITLV_TABLE_WMI_MOTION_DET_HOST_EVENTID(id,op,buf,len) \
  4675. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_motion_det_event, wmi_motion_det_event, fixed_param, WMITLV_SIZE_FIX)
  4676. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_HOST_EVENTID);
  4677. #define WMITLV_TABLE_WMI_MOTION_DET_BASE_LINE_HOST_EVENTID(id,op,buf,len) \
  4678. 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)
  4679. WMITLV_CREATE_PARAM_STRUC(WMI_MOTION_DET_BASE_LINE_HOST_EVENTID);
  4680. #define WMITLV_TABLE_WMI_ESP_ESTIMATE_EVENTID(id,op,buf,len) \
  4681. 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)
  4682. WMITLV_CREATE_PARAM_STRUC(WMI_ESP_ESTIMATE_EVENTID);
  4683. /* Peer CFR capture event */
  4684. #define WMITLV_TABLE_WMI_PEER_CFR_CAPTURE_EVENTID(id,op,buf,len) \
  4685. 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) \
  4686. 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)
  4687. WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CFR_CAPTURE_EVENTID);
  4688. #define WMITLV_TABLE_WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID(id,op,buf,len) \
  4689. 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) \
  4690. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR)
  4691. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID);
  4692. /* rogue ap info event */
  4693. #define WMITLV_TABLE_WMI_PDEV_RAP_INFO_EVENTID(id,op,buf,len) \
  4694. 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)
  4695. WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_RAP_INFO_EVENTID);
  4696. /* Offload TX mgmt frames */
  4697. #define WMITLV_TABLE_WMI_VDEV_MGMT_OFFLOAD_EVENTID(id,op,buf,len) \
  4698. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mgmt_hdr, wmi_mgmt_hdr, fixed_param, WMITLV_SIZE_FIX) \
  4699. WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, bufp, WMITLV_SIZE_VAR)
  4700. WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_MGMT_OFFLOAD_EVENTID);
  4701. /* get ELNA BYPASS status event */
  4702. #define WMITLV_TABLE_WMI_GET_ELNA_BYPASS_EVENTID(id,op,buf,len) \
  4703. 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)
  4704. WMITLV_CREATE_PARAM_STRUC(WMI_GET_ELNA_BYPASS_EVENTID);
  4705. #ifdef __cplusplus
  4706. }
  4707. #endif
  4708. #endif /*_WMI_TLV_DEFS_H_*/