wmi_tlv_defs.h 303 KB

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