config_to_feature.h 60 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898
  1. /*
  2. * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for any
  5. * purpose with or without fee is hereby granted, provided that the above
  6. * copyright notice and this permission notice appear in all copies.
  7. *
  8. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  9. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  10. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  11. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  12. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  13. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  14. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  15. */
  16. #ifndef CONFIG_TO_FEATURE_H
  17. #define CONFIG_TO_FEATURE_H
  18. #ifdef CONFIG_CFG80211_SINGLE_NETDEV_MULTI_LINK_SUPPORT
  19. #define CFG80211_SINGLE_NETDEV_MULTI_LINK_SUPPORT (1)
  20. #endif
  21. #ifdef CONFIG_CFG80211_MLO_KEY_OPERATION_SUPPORT
  22. #define CFG80211_MLO_KEY_OPERATION_SUPPORT (1)
  23. #endif
  24. #ifdef CONFIG_CFG80211_LINK_STA_PARAMS_PRESENT
  25. #define CFG80211_LINK_STA_PARAMS_PRESENT (1)
  26. #endif
  27. #ifdef CONFIG_CFG80211_RU_PUNCT_SUPPORT
  28. #define CFG80211_RU_PUNCT_SUPPORT (1)
  29. #endif
  30. #ifdef CONFIG_CFG80211_RU_PUNCT_NOTIFY
  31. #define CFG80211_RU_PUNCT_NOTIFY (1)
  32. #endif
  33. #ifdef CONFIG_CFG80211_EXT_FEATURE_AUTH_AND_DEAUTH_RANDOM_TA
  34. #define CFG80211_EXT_FEATURE_AUTH_AND_DEAUTH_RANDOM_TA (1)
  35. #endif
  36. #ifdef CONFIG_CFG80211_EXTERNAL_AUTH_MLO_SUPPORT
  37. #define CFG80211_EXTERNAL_AUTH_MLO_SUPPORT (1)
  38. #endif
  39. #ifdef CONFIG_CFG80211_EXT_FEATURE_SECURE_NAN
  40. #define CFG80211_EXT_FEATURE_SECURE_NAN (1)
  41. #endif
  42. #ifdef CONFIG_CFG80211_MLD_AP_STA_CONNECT_UPSTREAM_SUPPORT
  43. #define CFG80211_MLD_AP_STA_CONNECT_UPSTREAM_SUPPORT (1)
  44. #endif
  45. #ifdef CONFIG_CFG80211_SET_KEY_WITH_SRC_MAC
  46. #define CFG80211_SET_KEY_WITH_SRC_MAC (1)
  47. #endif
  48. #ifdef CONFIG_CFG80211_KEY_INSTALL_SUPPORT_ON_WDEV
  49. #define CFG80211_KEY_INSTALL_SUPPORT_ON_WDEV (1)
  50. #endif
  51. #ifdef CONFIG_ONE_MSI_VECTOR
  52. #define WLAN_ONE_MSI_VECTOR (1)
  53. #endif
  54. #ifdef CONFIG_DSC_DEBUG
  55. #define WLAN_DSC_DEBUG (1)
  56. #endif
  57. #ifdef CONFIG_DSC_TEST
  58. #define WLAN_DSC_TEST (1)
  59. #endif
  60. #ifdef CONFIG_BERYLLIUM
  61. #define DP_OFFLOAD_FRAME_WITH_SW_EXCEPTION (1)
  62. #endif
  63. #ifdef CONFIG_TALLOC_DEBUG
  64. #define WLAN_TALLOC_DEBUG (1)
  65. #endif
  66. #ifdef CONFIG_QDF_TEST
  67. #define WLAN_DELAYED_WORK_TEST (1)
  68. #endif
  69. #ifdef CONFIG_QDF_TEST
  70. #define WLAN_HASHTABLE_TEST (1)
  71. #endif
  72. #ifdef CONFIG_QDF_TEST
  73. #define WLAN_PERIODIC_WORK_TEST (1)
  74. #endif
  75. #ifdef CONFIG_QDF_TEST
  76. #define WLAN_PTR_HASH_TEST (1)
  77. #endif
  78. #ifdef CONFIG_QDF_TEST
  79. #define WLAN_SLIST_TEST (1)
  80. #endif
  81. #ifdef CONFIG_QDF_TEST
  82. #define WLAN_TALLOC_TEST (1)
  83. #endif
  84. #ifdef CONFIG_QDF_TEST
  85. #define WLAN_TRACKER_TEST (1)
  86. #endif
  87. #ifdef CONFIG_QDF_TEST
  88. #define WLAN_TYPES_TEST (1)
  89. #endif
  90. #ifdef CONFIG_WLAN_HANG_EVENT
  91. #define WLAN_HANG_EVENT (1)
  92. #endif
  93. #ifdef CONFIG_FEATURE_WLAN_PRE_CAC
  94. #define PRE_CAC_SUPPORT (1)
  95. #endif
  96. #ifdef CONFIG_WIFI_POS_PASN
  97. #define WLAN_FEATURE_RTT_11AZ_SUPPORT (1)
  98. #endif
  99. #ifdef CONFIG_DIRECT_BUF_RX_ENABLE
  100. #ifdef CONFIG_DBR_HOLD_LARGE_MEM
  101. #define DBR_HOLD_LARGE_MEM (1)
  102. #endif
  103. #endif
  104. #ifdef CONFIG_DP_TRAFFIC_END_INDICATION
  105. #define DP_TRAFFIC_END_INDICATION (1)
  106. #endif
  107. #ifdef CONFIG_THERMAL_STATS_SUPPORT
  108. #define THERMAL_STATS_SUPPORT (1)
  109. #endif
  110. #ifdef CONFIG_PTT_SOCK_SVC_ENABLE
  111. #define PTT_SOCK_SVC_ENABLE (1)
  112. #endif
  113. #ifdef CONFIG_FEATURE_WLAN_WAPI
  114. #define FEATURE_WLAN_WAPI (1)
  115. #endif
  116. #ifdef CONFIG_FEATURE_WLAN_WAPI
  117. #define ATH_SUPPORT_WAPI (1)
  118. #endif
  119. #ifdef CONFIG_SOFTAP_CHANNEL_RANGE
  120. #define SOFTAP_CHANNEL_RANGE (1)
  121. #endif
  122. #ifdef CONFIG_FEATURE_WLAN_SCAN_PNO
  123. #define FEATURE_WLAN_SCAN_PNO (1)
  124. #endif
  125. #ifdef CONFIG_WLAN_FEATURE_PACKET_FILTERING
  126. #define WLAN_FEATURE_PACKET_FILTERING (1)
  127. #endif
  128. #ifdef CONFIG_DHCP_SERVER_OFFLOAD
  129. #define DHCP_SERVER_OFFLOAD (1)
  130. #endif
  131. #ifdef CONFIG_WLAN_NS_OFFLOAD
  132. #define WLAN_NS_OFFLOAD (1)
  133. #endif
  134. #ifdef CONFIG_WLAN_DYNAMIC_ARP_NS_OFFLOAD
  135. #define FEATURE_WLAN_DYNAMIC_ARP_NS_OFFLOAD (1)
  136. #endif
  137. #ifdef CONFIG_WLAN_FEATURE_ICMP_OFFLOAD
  138. #define WLAN_FEATURE_ICMP_OFFLOAD (1)
  139. #endif
  140. #ifdef CONFIG_FEATURE_WLAN_RA_FILTERING
  141. #define FEATURE_WLAN_RA_FILTERING (1)
  142. #endif
  143. #ifdef CONFIG_FEATURE_WLAN_LPHB
  144. #define FEATURE_WLAN_LPHB (1)
  145. #endif
  146. #ifdef CONFIG_QCA_SUPPORT_TX_THROTTLE
  147. #define QCA_SUPPORT_TX_THROTTLE (1)
  148. #endif
  149. #ifdef CONFIG_WMI_INTERFACE_EVENT_LOGGING
  150. #define WMI_INTERFACE_EVENT_LOGGING (1)
  151. #endif
  152. #ifdef CONFIG_WLAN_FEATURE_LINK_LAYER_STATS
  153. #define WLAN_FEATURE_LINK_LAYER_STATS (1)
  154. #endif
  155. #ifdef CONFIG_FEATURE_CLUB_LL_STATS_AND_GET_STATION
  156. #define FEATURE_CLUB_LL_STATS_AND_GET_STATION (1)
  157. #endif
  158. #ifdef CONFIG_WLAN_FEATURE_MIB_STATS
  159. #define WLAN_FEATURE_MIB_STATS (1)
  160. #endif
  161. #ifdef CONFIG_FEATURE_WLAN_EXTSCAN
  162. #define FEATURE_WLAN_EXTSCAN (1)
  163. #endif
  164. #ifdef CONFIG_WLAN_PMO_ENABLE
  165. #define WLAN_PMO_ENABLE (1)
  166. #endif
  167. #ifdef CONFIG_CONVERGED_P2P_ENABLE
  168. #define CONVERGED_P2P_ENABLE (1)
  169. #endif
  170. #ifdef CONFIG_WLAN_POLICY_MGR_ENABLE
  171. #define WLAN_POLICY_MGR_ENABLE (1)
  172. #endif
  173. #ifdef CONFIG_FEATURE_DENYLIST_MGR
  174. #define FEATURE_DENYLIST_MGR (1)
  175. #endif
  176. #ifdef CONFIG_WAPI_BIG_ENDIAN
  177. #define FEATURE_WAPI_BIG_ENDIAN (1)
  178. #endif
  179. #ifdef CONFIG_SUPPORT_11AX
  180. #define SUPPORT_11AX (1)
  181. #endif
  182. #ifdef CONFIG_WLAN_CONV_SPECTRAL_ENABLE
  183. #define WLAN_CONV_SPECTRAL_ENABLE (1)
  184. #endif
  185. #ifdef CONFIG_WLAN_CFR_ENABLE
  186. #define WLAN_CFR_ENABLE (1)
  187. #endif
  188. #ifdef CONFIG_WLAN_ENH_CFR_ENABLE
  189. #define WLAN_ENH_CFR_ENABLE (1)
  190. #endif
  191. #ifdef CONFIG_WLAN_ENH_CFR_ENABLE
  192. #define WLAN_CFR_PM (1)
  193. #endif
  194. #ifdef CONFIG_WLAN_CFR_ADRASTEA
  195. #define WLAN_CFR_ADRASTEA (1)
  196. #endif
  197. #ifdef CONFIG_WLAN_CFR_DBR
  198. #define WLAN_CFR_DBR (1)
  199. #endif
  200. #ifdef CONFIG_WLAN_CFR_ENABLE
  201. #define CFR_USE_FIXED_FOLDER (1)
  202. #endif
  203. #ifdef CONFIG_WLAN_FEATURE_MEDIUM_ASSESS
  204. #define WLAN_FEATURE_MEDIUM_ASSESS (1)
  205. #endif
  206. #ifdef CONFIG_FEATURE_RADAR_HISTORY
  207. #define FEATURE_RADAR_HISTORY (1)
  208. #endif
  209. #ifdef CONFIG_DIRECT_BUF_RX_ENABLE
  210. #define DIRECT_BUF_RX_ENABLE (1)
  211. #endif
  212. #ifdef CONFIG_WMI_DBR_SUPPORT
  213. #define WMI_DBR_SUPPORT (1)
  214. #endif
  215. #ifndef CONFIG_CNSS_QCA6750
  216. #ifdef CONFIG_DIRECT_BUF_RX_ENABLE
  217. #define DBR_MULTI_SRNG_ENABLE (1)
  218. #endif
  219. #endif
  220. #ifndef CONFIG_CNSS_WCN6450
  221. #ifdef CONFIG_DIRECT_BUF_RX_ENABLE
  222. #define DBR_MULTI_SRNG_ENABLE (1)
  223. #endif
  224. #endif
  225. #ifdef CONFIG_WMI_CMD_STRINGS
  226. #define WMI_CMD_STRINGS (1)
  227. #endif
  228. #ifdef CONFIG_WLAN_FEATURE_TWT
  229. #define WLAN_SUPPORT_TWT (1)
  230. #endif
  231. #ifdef CONFIG_WLAN_FEATURE_11BE_MLO
  232. #ifdef CONFIG_DP_USE_REDUCED_PEER_ID_FIELD_WIDTH
  233. #define DP_USE_REDUCED_PEER_ID_FIELD_WIDTH (1)
  234. #endif
  235. #endif
  236. #ifdef CONFIG_WLAN_TWT_SAP_STA_COUNT
  237. #define WLAN_TWT_SAP_STA_COUNT (32)
  238. #endif
  239. #ifdef CONFIG_WLAN_TWT_SAP_PDEV_COUNT
  240. #define WLAN_TWT_AP_PDEV_COUNT_NUM_PHY (1)
  241. #endif
  242. #ifdef CONFIG_WLAN_DISABLE_EXPORT_SYMBOL
  243. #define WLAN_DISABLE_EXPORT_SYMBOL (1)
  244. #endif
  245. #ifdef CONFIG_WIFI_POS_CONVERGED
  246. #define WIFI_POS_CONVERGED (1)
  247. #endif
  248. #ifdef CONFIG_WLAN_TWT_CONVERGED
  249. #define WLAN_TWT_CONV_SUPPORTED (1)
  250. #endif
  251. #ifdef CONFIG_WIFI_POS_LEGACY
  252. #define FEATURE_OEM_DATA_SUPPORT (1)
  253. #endif
  254. #ifdef CONFIG_FEATURE_HTC_CREDIT_HISTORY
  255. #define FEATURE_HTC_CREDIT_HISTORY (1)
  256. #endif
  257. #ifdef CONFIG_WLAN_FEATURE_P2P_DEBUG
  258. #define WLAN_FEATURE_P2P_DEBUG (1)
  259. #endif
  260. #ifdef CONFIG_WLAN_WEXT_SUPPORT_ENABLE
  261. #define WLAN_WEXT_SUPPORT_ENABLE (1)
  262. #endif
  263. #ifdef CONFIG_WLAN_LOGGING_SOCK_SVC
  264. #define WLAN_LOGGING_SOCK_SVC_ENABLE (1)
  265. #endif
  266. #ifdef CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY
  267. #define WLAN_LOGGING_BUFFERS_DYNAMICALLY (1)
  268. #endif
  269. #ifdef CONFIG_WLAN_FEATURE_FILS
  270. #define WLAN_FEATURE_FILS_SK (1)
  271. #endif
  272. #ifdef CONFIG_CP_STATS
  273. #define WLAN_SUPPORT_INFRA_CTRL_PATH_STATS (1)
  274. #endif
  275. #ifdef CONFIG_CP_STATS
  276. #define QCA_SUPPORT_CP_STATS (1)
  277. #endif
  278. #ifdef CONFIG_CP_STATS
  279. #define QCA_SUPPORT_MC_CP_STATS (1)
  280. #endif
  281. #ifdef CONFIG_CP_STATS
  282. #define WLAN_SUPPORT_LEGACY_CP_STATS_HANDLERS (1)
  283. #endif
  284. #ifdef CONFIG_DCS
  285. #define DCS_INTERFERENCE_DETECTION (1)
  286. #endif
  287. #ifdef CONFIG_FEATURE_INTEROP_ISSUES_AP
  288. #define WLAN_FEATURE_INTEROP_ISSUES_AP (1)
  289. #endif
  290. #ifdef CONFIG_FEATURE_MEMDUMP_ENABLE
  291. #define WLAN_FEATURE_MEMDUMP_ENABLE (1)
  292. #endif
  293. #ifdef CONFIG_FEATURE_FW_LOG_PARSING
  294. #define FEATURE_FW_LOG_PARSING (1)
  295. #endif
  296. #ifdef CONFIG_FEATURE_OEM_DATA
  297. #define FEATURE_OEM_DATA (1)
  298. #endif
  299. #ifdef CONFIG_FEATURE_MOTION_DETECTION
  300. #define WLAN_FEATURE_MOTION_DETECTION (1)
  301. #endif
  302. #ifdef CONFIG_WLAN_FW_OFFLOAD
  303. #define WLAN_FW_OFFLOAD (1)
  304. #endif
  305. #ifdef CONFIG_WLAN_FEATURE_ELNA
  306. #define WLAN_FEATURE_ELNA (1)
  307. #endif
  308. #ifdef CONFIG_FEATURE_COEX
  309. #define FEATURE_COEX (1)
  310. #endif
  311. #ifdef CONFIG_HOST_WAKEUP_OVER_QMI
  312. #define HOST_WAKEUP_OVER_QMI (1)
  313. #endif
  314. #ifdef CONFIG_DISABLE_STATUS_RING_TIMER_WAR
  315. #define WLAN_DISABLE_STATUS_RING_TIMER_WAR (1)
  316. #endif
  317. #ifdef CONFIG_CE_DISABLE_SRNG_TIMER_IRQ
  318. #define WLAN_WAR_CE_DISABLE_SRNG_TIMER_IRQ (1)
  319. #endif
  320. #ifdef CONFIG_PLD_IPCI_ICNSS_FLAG
  321. #define CONFIG_PLD_IPCI_ICNSS (1)
  322. #endif
  323. #ifdef CONFIG_PLD_SDIO_CNSS_FLAG
  324. #define CONFIG_PLD_SDIO_CNSS (1)
  325. #endif
  326. #ifdef CONFIG_WLAN_RESIDENT_DRIVER
  327. #define FEATURE_WLAN_RESIDENT_DRIVER (1)
  328. #endif
  329. #ifdef CONFIG_FEATURE_GPIO_CFG
  330. #define WLAN_FEATURE_GPIO_CFG (1)
  331. #endif
  332. #ifdef CONFIG_FEATURE_BUS_BANDWIDTH_MGR
  333. #define FEATURE_BUS_BANDWIDTH_MGR (1)
  334. #endif
  335. #ifdef CONFIG_DP_BE_WAR
  336. #define DP_BE_WAR (1)
  337. #endif
  338. #ifdef CONFIG_IPCIE_FW_SIM
  339. #define CONFIG_PLD_IPCIE_FW_SIM (1)
  340. #endif
  341. #ifdef CONFIG_PLD_PCIE_CNSS_FLAG
  342. #ifdef CONFIG_PCIE_FW_SIM
  343. #define CONFIG_PLD_PCIE_FW_SIM (1)
  344. #else
  345. #define CONFIG_PLD_PCIE_CNSS (1)
  346. #endif
  347. #endif
  348. #ifdef CONFIG_PLD_PCIE_INIT_FLAG
  349. #define CONFIG_PLD_PCIE_INIT (1)
  350. #endif
  351. #ifdef CONFIG_WLAN_FEATURE_DP_RX_THREADS
  352. #define FEATURE_WLAN_DP_RX_THREADS (1)
  353. #endif
  354. #ifdef CONFIG_WLAN_FEATURE_RX_SOFTIRQ_TIME_LIMIT
  355. #define WLAN_FEATURE_RX_SOFTIRQ_TIME_LIMIT (1)
  356. #endif
  357. #ifdef CONFIG_FEATURE_HIF_LATENCY_PROFILE_ENABLE
  358. #define HIF_LATENCY_PROFILE_ENABLE (1)
  359. #endif
  360. #ifdef CONFIG_FEATURE_HAL_DELAYED_REG_WRITE
  361. #define FEATURE_HAL_DELAYED_REG_WRITE (1)
  362. #endif
  363. #ifdef CONFIG_FEATURE_HAL_RECORD_SUSPEND_WRITE
  364. #define FEATURE_HAL_RECORD_SUSPEND_WRITE (1)
  365. #endif
  366. #ifdef CONFIG_QCA_OL_DP_SRNG_LOCK_LESS_ACCESS
  367. #define QCA_OL_DP_SRNG_LOCK_LESS_ACCESS (1)
  368. #endif
  369. #ifdef CONFIG_SHADOW_WRITE_DELAY
  370. #define SHADOW_WRITE_DELAY (1)
  371. #endif
  372. #ifdef CONFIG_WLAN_RECORD_RX_PADDR
  373. #define HIF_RECORD_RX_PADDR (1)
  374. #endif
  375. #ifdef CONFIG_FEATURE_WLAN_TIME_SYNC_FTM
  376. #define FEATURE_WLAN_TIME_SYNC_FTM (1)
  377. #endif
  378. #ifdef CONFIG_WLAN_FEATURE_LRO_CTX_IN_CB
  379. #define WLAN_FEATURE_LRO_CTX_IN_CB (1)
  380. #endif
  381. #ifdef CONFIG_FEATURE_MONITOR_MODE_SUPPORT
  382. #define FEATURE_MONITOR_MODE_SUPPORT (1)
  383. #ifdef CONFIG_DP_CON_MON_MSI_ENABLED
  384. #define DP_CON_MON_MSI_ENABLED (1)
  385. #endif
  386. #ifdef CONFIG_WLAN_RX_MON_PARSE_CMN_USER_INFO
  387. #define WLAN_RX_MON_PARSE_CMN_USER_INFO (1)
  388. #endif
  389. #ifdef CONFIG_DP_CON_MON_MSI_SKIP_SET
  390. #define DP_CON_MON_MSI_SKIP_SET (1)
  391. #endif
  392. #ifdef CONFIG_QCA_WIFI_MONITOR_MODE_NO_MSDU_START_TLV_SUPPORT
  393. #define QCA_WIFI_MONITOR_MODE_NO_MSDU_START_TLV_SUPPORT (1)
  394. #endif
  395. #else
  396. #define DISABLE_MON_CONFIG (1)
  397. #endif
  398. #ifdef CONFIG_NL80211_TESTMODE
  399. #define WLAN_NL80211_TESTMODE (1)
  400. #endif
  401. #ifdef CONFIG_BUS_AUTO_SUSPEND
  402. #define FEATURE_RUNTIME_PM (1)
  403. #endif
  404. #if defined(CONFIG_ICNSS) || defined(CONFIG_ICNSS_MODULE)
  405. #ifdef CONFIG_SNOC_FW_SIM
  406. #define CONFIG_PLD_SNOC_FW_SIM (1)
  407. #else
  408. #define CONFIG_PLD_SNOC_ICNSS (1)
  409. #endif
  410. #endif
  411. #ifdef CONFIG_PLD_SNOC_ICNSS_FLAG
  412. #define CONFIG_PLD_SNOC_ICNSS (1)
  413. #endif
  414. #ifdef CONFIG_ICNSS2_HELIUM
  415. #define CONFIG_PLD_SNOC_ICNSS2 (1)
  416. #endif
  417. #ifdef CONFIG_WIFI_3_0_ADRASTEA
  418. #define QCA_WIFI_3_0_ADRASTEA (1)
  419. #endif
  420. #ifdef CONFIG_WIFI_3_0_ADRASTEA
  421. #define QCA_WIFI_3_0 (1)
  422. #endif
  423. #ifdef CONFIG_ADRASTEA_SHADOW_REGISTERS
  424. #define ADRASTEA_SHADOW_REGISTERS (1)
  425. #endif
  426. #ifdef CONFIG_ADRASTEA_RRI_ON_DDR
  427. #define ADRASTEA_RRI_ON_DDR (1)
  428. #endif
  429. #ifndef CONFIG_QMI_SUPPORT
  430. #define CONFIG_BYPASS_QMI (1)
  431. #endif
  432. #ifdef CONFIG_WLAN_FASTPATH
  433. #define WLAN_FEATURE_FASTPATH (1)
  434. #endif
  435. #ifdef CONFIG_FEATURE_PKTLOG
  436. #define FEATURE_PKTLOG (1)
  437. #endif
  438. #ifdef CONFIG_CONNECTIVITY_PKTLOG
  439. #define CONNECTIVITY_PKTLOG (1)
  440. #endif
  441. #ifdef CONFIG_WLAN_NAPI
  442. #define FEATURE_NAPI (1)
  443. #define HIF_IRQ_AFFINITY (1)
  444. #ifdef CONFIG_WLAN_NAPI_DEBUG
  445. #define FEATURE_NAPI_DEBUG (1)
  446. #endif
  447. #endif
  448. #if defined(CONFIG_ARCH_MSM) || defined(CONFIG_ARCH_QCOM)
  449. #define MSM_PLATFORM (1)
  450. #endif
  451. #ifdef CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH
  452. #define WLAN_FEATURE_DP_BUS_BANDWIDTH (1)
  453. #endif
  454. #ifdef CONFIG_WLAN_FEATURE_PERIODIC_STA_STATS
  455. #define WLAN_FEATURE_PERIODIC_STA_STATS (1)
  456. #endif
  457. #ifdef CONFIG_WLAN_TX_FLOW_CONTROL_V2
  458. #define QCA_LL_TX_FLOW_CONTROL_V2 (1)
  459. #endif
  460. #ifdef CONFIG_WLAN_TX_FLOW_CONTROL_V2
  461. #define QCA_LL_TX_FLOW_GLOBAL_MGMT_POOL (1)
  462. #endif
  463. #ifdef CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY
  464. #define QCA_LL_LEGACY_TX_FLOW_CONTROL (1)
  465. #endif
  466. #ifdef CONFIG_WLAN_PDEV_TX_FLOW_CONTROL
  467. #define QCA_LL_PDEV_TX_FLOW_CONTROL (1)
  468. #endif
  469. #ifdef CONFIG_WLAN_DEBUG_VERSION
  470. #define WLAN_DEBUG (1)
  471. #ifdef CONFIG_TRACE_RECORD_FEATURE
  472. #define TRACE_RECORD (1)
  473. #define LIM_TRACE_RECORD (1)
  474. #define SME_TRACE_RECORD (1)
  475. #define HDD_TRACE_RECORD (1)
  476. #endif
  477. #endif
  478. #ifdef CONFIG_UNIT_TEST
  479. #define WLAN_UNIT_TEST (1)
  480. #endif
  481. #ifdef CONFIG_WLAN_SYSFS_RTS_CTS
  482. #define WLAN_SYSFS_RTS_CTS (1)
  483. #endif
  484. #ifdef CONFIG_WLAN_SYSFS_DP_TRACE
  485. #define WLAN_SYSFS_DP_TRACE (1)
  486. #endif
  487. #ifdef CONFIG_WLAN_SYSFS_STATS
  488. #define WLAN_SYSFS_STATS (1)
  489. #endif
  490. #ifdef CONFIG_FEATURE_UNIT_TEST_SUSPEND
  491. #define WLAN_SUSPEND_RESUME_TEST (1)
  492. #endif
  493. #ifdef CONFIG_FEATURE_WLM_STATS
  494. #define FEATURE_WLM_STATS (1)
  495. #endif
  496. #ifdef CONFIG_WLAN_SYSFS_DCM
  497. #define WLAN_SYSFS_DCM (1)
  498. #endif
  499. #ifdef CONFIG_WLAN_SYSFS_HE_BSS_COLOR
  500. #define WLAN_SYSFS_HE_BSS_COLOR (1)
  501. #endif
  502. #ifdef CONFIG_WLAN_SYSFS_STA_INFO
  503. #define WLAN_SYSFS_STA_INFO (1)
  504. #endif
  505. #ifdef CONFIG_WLAN_THERMAL_MULTI_CLIENT_SUPPORT
  506. #define FEATURE_WPSS_THERMAL_MITIGATION (1)
  507. #endif
  508. #ifdef CONFIG_WLAN_SYSFS_DP_STATS
  509. #define WLAN_SYSFS_DP_STATS (1)
  510. #endif
  511. #ifdef CONFIG_WIFI_MONITOR_SUPPORT
  512. #define WIFI_MONITOR_SUPPORT (1)
  513. #endif
  514. #ifdef CONFIG_QCA_MONITOR_PKT_SUPPORT
  515. #define QCA_MONITOR_PKT_SUPPORT (1)
  516. #endif
  517. #ifdef CONFIG_MONITOR_MODULARIZED_ENABLE
  518. #define MONITOR_MODULARIZED_ENABLE (1)
  519. #endif
  520. #ifdef CONFIG_WLAN_PDEV_VDEV_SEND_MULTI_PARAM
  521. #define WLAN_PDEV_VDEV_SEND_MULTI_PARAM (1)
  522. #endif
  523. #ifdef CONFIG_WLAN_SYSFS_LOG_BUFFER
  524. #define FEATURE_SYSFS_LOG_BUFFER (1)
  525. #endif
  526. #ifdef CONFIG_ENABLE_VALLOC_REPLACE_MALLOC
  527. #define ENABLE_VALLOC_REPLACE_MALLOC (1)
  528. #endif
  529. #ifdef CONFIG_LEAK_DETECTION
  530. #define CONFIG_HALT_KMEMLEAK (1)
  531. #define MEMORY_DEBUG (1)
  532. #define NBUF_MEMORY_DEBUG (1)
  533. #define NBUF_MAP_UNMAP_DEBUG (1)
  534. #define TIMER_MANAGER (1)
  535. #define WLAN_DELAYED_WORK_DEBUG (1)
  536. #define WLAN_WAKE_LOCK_DEBUG (1)
  537. #define WLAN_PERIODIC_WORK_DEBUG (1)
  538. #endif
  539. #ifdef CONFIG_QCOM_VOWIFI_11R
  540. #define KERNEL_SUPPORT_11R_CFG80211 (1)
  541. #define USE_80211_WMMTSPEC_FOR_RIC (1)
  542. #endif
  543. #ifdef CONFIG_QCOM_ESE
  544. #define FEATURE_WLAN_ESE (1)
  545. #endif
  546. #ifdef CONFIG_QCOM_TDLS
  547. #define FEATURE_WLAN_TDLS (1)
  548. #endif
  549. #ifdef CONFIG_QCOM_TDLS
  550. #define WLAN_FEATURE_TDLS_CONCURRENCIES (1)
  551. #endif
  552. #ifdef CONFIG_WLAN_SYSFS_TDLS_PEERS
  553. #define WLAN_SYSFS_TDLS_PEERS (1)
  554. #endif
  555. #ifdef CONFIG_WLAN_SYSFS_RANGE_EXT
  556. #define WLAN_SYSFS_RANGE_EXT (1)
  557. #endif
  558. #ifdef CONFIG_QCACLD_WLAN_LFR2
  559. #define WLAN_FEATURE_PREAUTH_ENABLE (1)
  560. #endif
  561. #ifdef CONFIG_CM_UTF_ENABLE
  562. #define FEATURE_CM_UTF_ENABLE (1)
  563. #endif
  564. #ifdef CONFIG_QCACLD_WLAN_LFR3
  565. #define WLAN_FEATURE_ROAM_OFFLOAD (1)
  566. #endif
  567. #ifdef CONFIG_WLAN_FEATURE_ROAM_INFO_STATS
  568. #define WLAN_FEATURE_ROAM_INFO_STATS (1)
  569. #endif
  570. #ifdef CONFIG_QCACLD_WLAN_CONNECTIVITY_LOGGING
  571. #define WLAN_FEATURE_CONNECTIVITY_LOGGING (1)
  572. #endif
  573. #ifdef CONFIG_QCACLD_WLAN_CONNECTIVITY_DIAG_EVENT
  574. #define CONNECTIVITY_DIAG_EVENT (1)
  575. #endif
  576. #ifdef CONFIG_OFDM_SCRAMBLER_SEED
  577. #define WLAN_FEATURE_OFDM_SCRAMBLER_SEED (1)
  578. #endif
  579. #ifdef CONFIG_WLAN_FEATURE_MBSSID
  580. #define WLAN_FEATURE_MBSSID (1)
  581. #endif
  582. #ifdef CONFIG_WLAN_FEATURE_P2P_P2P_STA
  583. #define WLAN_FEATURE_P2P_P2P_STA (1)
  584. #endif
  585. #if defined(CONFIG_CNSS_GENL) || defined(CONFIG_CNSS_GENL_MODULE)
  586. #define CNSS_GENL (1)
  587. #endif
  588. #if defined(CONFIG_CNSS_UTILS) || defined(CONFIG_CNSS_UTILS_MODULE)
  589. #define CNSS_UTILS (1)
  590. #endif
  591. #if defined(CONFIG_WCNSS_MEM_PRE_ALLOC) || defined(CONFIG_WCNSS_MEM_PRE_ALLOC_MODULE)
  592. #define CNSS_MEM_PRE_ALLOC (1)
  593. #endif
  594. #ifdef CONFIG_QCACLD_WLAN_LFR2
  595. #define WLAN_FEATURE_HOST_ROAM (1)
  596. #endif
  597. #ifdef CONFIG_FEATURE_ROAM_DEBUG
  598. #define FEATURE_ROAM_DEBUG (1)
  599. #endif
  600. #ifdef CONFIG_WLAN_POWER_DEBUG
  601. #define WLAN_POWER_DEBUG (1)
  602. #endif
  603. #ifdef CONFIG_WLAN_MWS_INFO_DEBUGFS
  604. #define WLAN_MWS_INFO_DEBUGFS (1)
  605. #endif
  606. #ifdef CONFIG_WLAN_DEBUG_LINK_VOTE
  607. #define WLAN_DEBUG_LINK_VOTE (1)
  608. #endif
  609. #ifdef CONFIG_WLAN_OBJMGR_DEBUG
  610. #define WLAN_OBJMGR_DEBUG (1)
  611. #endif
  612. #ifdef CONFIG_WLAN_OBJMGR_DEBUG
  613. #define WLAN_OBJMGR_REF_ID_DEBUG (1)
  614. #endif
  615. #ifdef CONFIG_WLAN_OBJMGR_REF_ID_TRACE
  616. #define WLAN_OBJMGR_REF_ID_TRACE (1)
  617. #endif
  618. #ifdef CONFIG_FEATURE_DELAYED_PEER_OBJ_DESTROY
  619. #define FEATURE_DELAYED_PEER_OBJ_DESTROY (1)
  620. #endif
  621. #ifdef CONFIG_WLAN_FEATURE_SAE
  622. #define WLAN_FEATURE_SAE (1)
  623. #endif
  624. #ifdef CONFIG_WLAN_DIAG_VERSION
  625. #define FEATURE_WLAN_DIAG_SUPPORT (1)
  626. #define FEATURE_WLAN_DIAG_SUPPORT_CSR (1)
  627. #define FEATURE_WLAN_DIAG_SUPPORT_LIM (1)
  628. #ifdef CONFIG_HIF_PCI
  629. #define CONFIG_ATH_PROCFS_DIAG_SUPPORT (1)
  630. #endif
  631. #ifdef CONFIG_HIF_IPCI
  632. #define CONFIG_ATH_PROCFS_DIAG_SUPPORT (1)
  633. #endif
  634. #endif
  635. #ifdef CONFIG_HIF_USB
  636. #define CONFIG_ATH_PROCFS_DIAG_SUPPORT (1)
  637. #define QCA_SUPPORT_OL_RX_REORDER_TIMEOUT (1)
  638. #define CONFIG_ATH_PCIE_MAX_PERF (0)
  639. #define CONFIG_ATH_PCIE_AWAKE_WHILE_DRIVER_LOAD (0)
  640. #define CONFIG_DISABLE_CDC_MAX_PERF_WAR (0)
  641. #endif
  642. #ifdef CONFIG_QCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK
  643. #define QCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK (1)
  644. #endif
  645. #ifdef CONFIG_QCA_TXDESC_SANITY_CHECKS
  646. #define QCA_SUPPORT_TXDESC_SANITY_CHECKS (1)
  647. #endif
  648. #ifdef CONFIG_QCOM_LTE_COEX
  649. #define FEATURE_WLAN_CH_AVOID (1)
  650. #endif
  651. #ifdef CONFIG_WLAN_FEATURE_LPSS
  652. #define WLAN_FEATURE_LPSS (1)
  653. #endif
  654. #ifdef CONFIG_DESC_DUP_DETECT_DEBUG
  655. #define DESC_DUP_DETECT_DEBUG (1)
  656. #endif
  657. #ifdef CONFIG_DEBUG_RX_RING_BUFFER
  658. #define DEBUG_RX_RING_BUFFER (1)
  659. #endif
  660. #ifdef CONFIG_DESC_TIMESTAMP_DEBUG_INFO
  661. #define DESC_TIMESTAMP_DEBUG_INFO (1)
  662. #endif
  663. #ifdef CONFIG_POWER_MANAGEMENT_OFFLOAD
  664. #define WLAN_POWER_MANAGEMENT_OFFLOAD (1)
  665. #endif
  666. #ifdef CONFIG_WLAN_LOG_FATAL
  667. #define WLAN_LOG_FATAL (1)
  668. #endif
  669. #ifdef CONFIG_WLAN_LOG_ERROR
  670. #define WLAN_LOG_ERROR (1)
  671. #endif
  672. #ifdef CONFIG_WLAN_LOG_WARN
  673. #define WLAN_LOG_WARN (1)
  674. #endif
  675. #ifdef CONFIG_WLAN_LOG_INFO
  676. #define WLAN_LOG_INFO (1)
  677. #endif
  678. #ifdef CONFIG_WLAN_LOG_DEBUG
  679. #define WLAN_LOG_DEBUG (1)
  680. #endif
  681. #ifdef CONFIG_WLAN_LOG_ENTER
  682. #define WLAN_LOG_ENTER (1)
  683. #endif
  684. #ifdef CONFIG_WLAN_LOG_EXIT
  685. #define WLAN_LOG_EXIT (1)
  686. #endif
  687. #ifdef CONFIG_FEATURE_STATS_EXT
  688. #define WLAN_FEATURE_STATS_EXT (1)
  689. #endif
  690. #ifdef CONFIG_QCACLD_FEATURE_NAN
  691. #define WLAN_FEATURE_NAN (1)
  692. #endif
  693. #ifdef CONFIG_QCACLD_FEATURE_SON
  694. #define WLAN_FEATURE_SON (1)
  695. #endif
  696. #ifdef CONFIG_NDP_SAP_CONCURRENCY_ENABLE
  697. #define NDP_SAP_CONCURRENCY_ENABLE (1)
  698. #endif
  699. #ifdef CONFIG_DFS_FCC_TYPE4_DURATION_CHECK
  700. #define DFS_FCC_TYPE4_DURATION_CHECK (1)
  701. #endif
  702. #ifdef CONFIG_WLAN_SYSFS
  703. #define WLAN_SYSFS (1)
  704. #endif
  705. #ifdef CONFIG_WLAN_SYSFS_CHANNEL
  706. #define WLAN_SYSFS_CHANNEL (1)
  707. #endif
  708. #ifdef CONFIG_FEATURE_BECN_STATS
  709. #define WLAN_FEATURE_BEACON_RECEPTION_STATS (1)
  710. #endif
  711. #ifdef CONFIG_WLAN_SYSFS_CONNECT_INFO
  712. #define WLAN_SYSFS_CONNECT_INFO (1)
  713. #endif
  714. #ifdef CONFIG_WLAN_SYSFS_EHT_RATE
  715. #define WLAN_SYSFS_EHT_RATE (1)
  716. #endif
  717. #ifdef CONFIG_RX_PERFORMANCE
  718. #define RX_PERFORMANCE (1)
  719. #endif
  720. #ifdef CONFIG_MULTI_IF_LOG
  721. #define MULTI_IF_LOG (1)
  722. #endif
  723. #ifdef CONFIG_SLUB_MEM_OPTIMIZE
  724. #define SLUB_MEM_OPTIMIZE (1)
  725. #endif
  726. #ifdef CONFIG_ARCH_SDXBAAGHA
  727. #ifdef CONFIG_WLAN_MEMORY_OPT
  728. #define WLAN_MEMORY_OPT (1)
  729. #endif
  730. #endif
  731. #ifdef CONFIG_DFS_PRI_MULTIPLIER
  732. #define DFS_PRI_MULTIPLIER (1)
  733. #endif
  734. #ifdef CONFIG_DFS_OVERRIDE_RF_THRESHOLD
  735. #define DFS_OVERRIDE_RF_THRESHOLD (1)
  736. #endif
  737. #ifdef CONFIG_ATH_PERF_PWR_OFFLOAD
  738. #define ATH_PERF_PWR_OFFLOAD (1)
  739. #endif
  740. #ifdef CONFIG_REMOVE_PKT_LOG
  741. #define REMOVE_PKT_LOG (1)
  742. #endif
  743. #ifdef CONFIG_ATH_11AC_TXCOMPACT
  744. #define ATH_11AC_TXCOMPACT (1)
  745. #endif
  746. #ifdef CONFIG_HIF_PCI
  747. #define HIF_PCI (1)
  748. #endif
  749. #ifdef CONFIG_HIF_IPCI
  750. #define HIF_IPCI (1)
  751. #endif
  752. #ifdef CONFIG_HIF_SNOC
  753. #define HIF_SNOC (1)
  754. #endif
  755. #ifdef CONFIG_HL_DP_SUPPORT
  756. #define CONFIG_HL_SUPPORT (1)
  757. #endif
  758. #ifdef CONFIG_HL_DP_SUPPORT
  759. #define WLAN_PARTIAL_REORDER_OFFLOAD (1)
  760. #endif
  761. #ifdef CONFIG_HL_DP_SUPPORT
  762. #define QCA_COMPUTE_TX_DELAY (1)
  763. #endif
  764. #ifdef CONFIG_HL_DP_SUPPORT
  765. #define QCA_COMPUTE_TX_DELAY_PER_TID (1)
  766. #endif
  767. #ifdef CONFIG_LL_DP_SUPPORT
  768. #define WLAN_FULL_REORDER_OFFLOAD (1)
  769. #endif
  770. #ifdef CONFIG_WLAN_FEATURE_BIG_DATA_STATS
  771. #define WLAN_FEATURE_BIG_DATA_STATS (1)
  772. #endif
  773. #ifdef CONFIG_WLAN_FEATURE_11AX
  774. #ifdef CONFIG_WLAN_FEATURE_SR
  775. #define WLAN_FEATURE_SR (1)
  776. #endif
  777. #ifdef CONFIG_OBSS_PD
  778. #define OBSS_PD (1)
  779. #endif
  780. #endif
  781. #ifdef CONFIG_WLAN_FEATURE_IGMP_OFFLOAD
  782. #define WLAN_FEATURE_IGMP_OFFLOAD (1)
  783. #endif
  784. #ifdef CONFIG_WLAN_FEATURE_GET_USABLE_CHAN_LIST
  785. #define WLAN_FEATURE_GET_USABLE_CHAN_LIST (1)
  786. #endif
  787. #ifdef CONFIG_PCIE_GEN_SWITCH
  788. #define PCIE_GEN_SWITCH (1)
  789. #endif
  790. #ifdef CONFIG_WLAN_FEATURE_WOW_PULSE
  791. #define WLAN_FEATURE_WOW_PULSE (1)
  792. #endif
  793. #ifdef CONFIG_QCA_WIFI_SDIO
  794. #define CONFIG_AR6320_SUPPORT (1)
  795. #define SDIO_3_0 (1)
  796. #define HIF_SDIO (1)
  797. #define CONFIG_DISABLE_CDC_MAX_PERF_WAR (0)
  798. #define CONFIG_ATH_PROCFS_DIAG_SUPPORT (1)
  799. #define HIF_MBOX_SLEEP_WAR (1)
  800. #define DEBUG_HL_LOGGING (1)
  801. #define QCA_BAD_PEER_TX_FLOW_CL (1)
  802. #define CONFIG_SDIO (1)
  803. #define FEATURE_WLAN_FORCE_SAP_SCC (1)
  804. #ifdef CONFIG_SDIO_TRANSFER
  805. #define CONFIG_SDIO_TRANSFER_ADMA (1)
  806. #else
  807. #define CONFIG_SDIO_TRANSFER_MAILBOX (1)
  808. #endif
  809. #endif
  810. #ifdef CONFIG_WLAN_FEATURE_DSRC
  811. #define WLAN_FEATURE_DSRC (1)
  812. #ifdef CONFIG_OCB_UT_FRAMEWORK
  813. #define WLAN_OCB_UT (1)
  814. #endif
  815. #elif defined CONFIG_WLAN_REG_AUTO
  816. #define WLAN_REG_AUTO (1)
  817. #endif
  818. #ifdef CONFIG_FEATURE_SKB_PRE_ALLOC
  819. #define FEATURE_SKB_PRE_ALLOC (1)
  820. #endif
  821. #ifdef CONFIG_HIF_USB
  822. #define HIF_USB (1)
  823. #define DEBUG_HL_LOGGING (1)
  824. #endif
  825. #ifdef CONFIG_QCA_HL_NETDEV_FLOW_CONTROL
  826. #define QCA_HL_NETDEV_FLOW_CONTROL (1)
  827. #endif
  828. #ifdef CONFIG_FEATURE_HL_GROUP_CREDIT_FLOW_CONTROL
  829. #define FEATURE_HL_GROUP_CREDIT_FLOW_CONTROL (1)
  830. #endif
  831. #ifdef CONFIG_FEATURE_HL_DBS_GROUP_CREDIT_SHARING
  832. #define FEATURE_HL_DBS_GROUP_CREDIT_SHARING (1)
  833. #endif
  834. #ifdef CONFIG_WLAN_SYNC_TSF_TIMER
  835. #define WLAN_FEATURE_TSF_TIMER_SYNC (1)
  836. #endif
  837. #ifdef CONFIG_WLAN_SYNC_TSF_PTP
  838. #define WLAN_FEATURE_TSF_PTP (1)
  839. #endif
  840. #ifdef CONFIG_WLAN_SYNC_TSF_PLUS_EXT_GPIO_IRQ
  841. #define WLAN_FEATURE_TSF_PLUS_EXT_GPIO_IRQ (1)
  842. #endif
  843. #ifdef CONFIG_WLAN_SYNC_TSF_PLUS_EXT_GPIO_SYNC
  844. #define WLAN_FEATURE_TSF_PLUS_EXT_GPIO_SYNC (1)
  845. #endif
  846. #ifdef CONFIG_ATH_BUS_PM
  847. #define ATH_BUS_PM (1)
  848. #endif
  849. #ifdef CONFIG_ATH_SUPPORT_FLOWMAC_MODULE
  850. #define ATH_SUPPORT_FLOWMAC_MODULE (1)
  851. #endif
  852. #ifdef CONFIG_ATH_SUPPORT_SPECTRAL
  853. #define ATH_SUPPORT_SPECTRAL (1)
  854. #endif
  855. #ifdef CONFIG_PKTLOG_LEGACY
  856. #define PKTLOG_LEGACY (1)
  857. #endif
  858. #ifdef CONFIG_WDI_EVENT_ENABLE
  859. #define WDI_EVENT_ENABLE (1)
  860. #endif
  861. #ifdef CONFIG_PKTLOG_HAS_SPECIFIC_DATA
  862. #define PKTLOG_HAS_SPECIFIC_DATA (1)
  863. #endif
  864. #ifdef CONFIG_LITTLE_ENDIAN
  865. #define ANI_LITTLE_BYTE_ENDIAN (1)
  866. #define ANI_LITTLE_BIT_ENDIAN (1)
  867. #define DOT11F_LITTLE_ENDIAN_HOST (1)
  868. #else
  869. #define ANI_BIG_BYTE_ENDIAN (1)
  870. #define BIG_ENDIAN_HOST (1)
  871. #endif
  872. #ifdef CONFIG_TX_CREDIT_RECLAIM_SUPPORT
  873. #define TX_CREDIT_RECLAIM_SUPPORT (1)
  874. #endif
  875. #ifdef CONFIG_QCA_WIFI_FTM
  876. #define QCA_WIFI_FTM (1)
  877. #endif
  878. #ifdef CONFIG_NL80211_TESTMODE
  879. #define QCA_WIFI_FTM_NL80211 (1)
  880. #endif
  881. #ifdef CONFIG_LINUX_QCMBR
  882. #define LINUX_QCMBR (1)
  883. #define QCA_WIFI_FTM_IOCTL (1)
  884. #endif
  885. #ifdef CONFIG_CHECKSUM_OFFLOAD
  886. #define CHECKSUM_OFFLOAD (1)
  887. #endif
  888. #ifdef CONFIG_IPA_OFFLOAD
  889. #define IPA_OFFLOAD (1)
  890. #endif
  891. #ifdef CONFIG_IPA_OPT_WIFI_DP
  892. #ifdef CONFIG_IPA_OFFLOAD
  893. #define IPA_OPT_WIFI_DP (1)
  894. #endif
  895. #endif
  896. #ifdef CONFIG_WDI3_IPA_OVER_GSI
  897. #define IPA_WDI3_GSI (1)
  898. #endif
  899. #ifdef CONFIG_WDI2_IPA_OVER_GSI
  900. #define IPA_WDI2_GSI (1)
  901. #endif
  902. #ifdef CONFIG_WLAN_FEATURE_WMI_DIAG_OVER_CE7
  903. #define WLAN_FEATURE_WMI_DIAG_OVER_CE7 (1)
  904. #endif
  905. #ifdef CONFIG_WLAN_DP_FEATURE_DEFERRED_REO_QDESC_DESTROY
  906. #define WLAN_DP_FEATURE_DEFERRED_REO_QDESC_DESTROY (1)
  907. #endif
  908. #ifdef CONFIG_ARCH_SDX20
  909. #define SYNC_IPA_READY (1)
  910. #endif
  911. #ifdef CONFIG_FEATURE_SG
  912. #define FEATURE_SG (1)
  913. #endif
  914. #ifdef CONFIG_RX_THREAD_PRIORITY
  915. #define RX_THREAD_PRIORITY (1)
  916. #endif
  917. #ifdef CONFIG_SUPPORT_P2P_BY_ONE_INTF_WLAN
  918. #define SUPPORT_P2P_BY_ONE_INTF_WLAN (1)
  919. #else
  920. #ifdef CONFIG_WLAN_OPEN_P2P_INTERFACE
  921. #define WLAN_OPEN_P2P_INTERFACE (1)
  922. #endif
  923. #endif
  924. #ifdef CONFIG_WMI_BCN_OFFLOAD
  925. #define WLAN_WMI_BCN (1)
  926. #endif
  927. #ifdef CONFIG_WLAN_WBUFF
  928. #define WLAN_FEATURE_WBUFF (1)
  929. #endif
  930. #ifdef CONFIG_GTK_OFFLOAD
  931. #define WLAN_FEATURE_GTK_OFFLOAD (1)
  932. #endif
  933. #ifdef CONFIG_EXT_WOW
  934. #define WLAN_FEATURE_EXTWOW_SUPPORT (1)
  935. #endif
  936. #ifdef CONFIG_SMP
  937. #define QCA_CONFIG_SMP (1)
  938. #endif
  939. #ifdef CONFIG_RPS
  940. #define QCA_CONFIG_RPS (1)
  941. #endif
  942. #ifdef CONFIG_CHNL_MATRIX_RESTRICTION
  943. #define WLAN_ENABLE_CHNL_MATRIX_RESTRICTION (1)
  944. #endif
  945. #ifdef CONFIG_ICMP_DISABLE_PS
  946. #define WLAN_ICMP_DISABLE_PS (1)
  947. #endif
  948. #ifdef CONFIG_FEATURE_WLAN_MCC_TO_SCC_SWITCH
  949. #define FEATURE_WLAN_MCC_TO_SCC_SWITCH (1)
  950. #endif
  951. #ifdef CONFIG_FEATURE_WLAN_AUTO_SHUTDOWN
  952. #define FEATURE_WLAN_AUTO_SHUTDOWN (1)
  953. #endif
  954. #ifdef CONFIG_FEATURE_WLAN_AP_AP_ACS_OPTIMIZE
  955. #define FEATURE_WLAN_AP_AP_ACS_OPTIMIZE (1)
  956. #endif
  957. #ifdef CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME
  958. #define FEATURE_WLAN_STA_4ADDR_SCHEME (1)
  959. #endif
  960. #ifdef CONFIG_MDM_PLATFORM
  961. #define MDM_PLATFORM (1)
  962. #endif
  963. #ifdef CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE
  964. #define FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE (1)
  965. #endif
  966. #ifdef CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY
  967. #define WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY (1)
  968. #endif
  969. #ifdef CONFIG_QCACLD_FEATURE_GREEN_AP
  970. #define WLAN_SUPPORT_GREEN_AP (1)
  971. #endif
  972. #ifdef CONFIG_QCACLD_FEATURE_GAP_LL_PS_MODE
  973. #define WLAN_SUPPORT_GAP_LL_PS_MODE (1)
  974. #endif
  975. #ifdef CONFIG_QCACLD_FEATURE_APF
  976. #define FEATURE_WLAN_APF (1)
  977. #endif
  978. #ifdef CONFIG_WLAN_FEATURE_SARV1_TO_SARV2
  979. #define WLAN_FEATURE_SARV1_TO_SARV2 (1)
  980. #endif
  981. #ifdef CONFIG_FEATURE_WLAN_FT_IEEE8021X
  982. #define FEATURE_WLAN_FT_IEEE8021X (1)
  983. #endif
  984. #ifdef CONFIG_FEATURE_WLAN_FT_PSK
  985. #define FEATURE_WLAN_FT_PSK (1)
  986. #endif
  987. #ifdef CONFIG_HOST_11D_SCAN
  988. #define HOST_11D_SCAN (1)
  989. #endif
  990. #ifdef CONFIG_IPA_OFFLOAD
  991. #ifdef CONFIG_QCACLD_FEATURE_METERING
  992. #define FEATURE_METERING (1)
  993. #endif
  994. #endif
  995. #ifdef CONFIG_IPA_OFFLOAD
  996. #ifdef CONFIG_NUM_IPA_IFACE
  997. #define MAX_IPA_IFACE (CONFIG_NUM_IPA_IFACE)
  998. #else
  999. #ifndef NUM_IPA_IFACE
  1000. #define NUM_IPA_IFACE (3)
  1001. #endif
  1002. #define MAX_IPA_IFACE (NUM_IPA_IFACE)
  1003. #endif
  1004. #endif
  1005. #ifdef CONFIG_CHANNEL_HOPPING_ALL_BANDS
  1006. #define CHANNEL_HOPPING_ALL_BANDS (1)
  1007. #endif
  1008. #ifdef CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT
  1009. #define QCA_SIGNED_SPLIT_BINARY_SUPPORT (1)
  1010. #endif
  1011. #ifdef CONFIG_QCA_SINGLE_BINARY_SUPPORT
  1012. #define QCA_SINGLE_BINARY_SUPPORT (1)
  1013. #endif
  1014. #ifdef CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC
  1015. #define TARGET_RAMDUMP_AFTER_KERNEL_PANIC (1)
  1016. #endif
  1017. #ifdef CONFIG_FEATURE_SECURE_FIRMWARE
  1018. #define FEATURE_SECURE_FIRMWARE (1)
  1019. #endif
  1020. #ifdef CONFIG_WLAN_SYNC_TSF
  1021. #define WLAN_FEATURE_TSF (1)
  1022. #endif
  1023. #ifdef CONFIG_WLAN_SYNC_TSF_PLUS
  1024. #define WLAN_FEATURE_TSF_PLUS (1)
  1025. #ifdef CONFIG_WLAN_SYNC_TSF_ACCURACY
  1026. #define WLAN_FEATURE_TSF_ACCURACY (1)
  1027. #endif
  1028. #ifndef CONFIG_WLAN_SYNC_TSF_PLUS_DISABLE_SOCK_TS
  1029. #define WLAN_FEATURE_TSF_PLUS_SOCK_TS (1)
  1030. #endif
  1031. #endif
  1032. #ifdef CONFIG_WLAN_SYNC_TSF_PLUS_NOIRQ
  1033. #define WLAN_FEATURE_TSF_PLUS_NOIRQ (1)
  1034. #endif
  1035. #ifdef CONFIG_WLAN_TSF_UPLINK_DELAY
  1036. #define WLAN_FEATURE_TSF_UPLINK_DELAY (1)
  1037. #endif
  1038. #ifdef CONFIG_HELIUMPLUS
  1039. #define HELIUMPLUS (1)
  1040. #endif
  1041. #ifdef CONFIG_RX_OL
  1042. #define RECEIVE_OFFLOAD (1)
  1043. #endif
  1044. #ifdef CONFIG_TX_TID_OVERRIDE
  1045. #define ATH_TX_PRI_OVERRIDE (1)
  1046. #endif
  1047. #ifdef CONFIG_AR900B
  1048. #define AR900B (1)
  1049. #endif
  1050. #ifdef CONFIG_HTT_PADDR64
  1051. #define HTT_PADDR64 (1)
  1052. #endif
  1053. #ifdef CONFIG_OL_RX_INDICATION_RECORD
  1054. #define OL_RX_INDICATION_RECORD (1)
  1055. #endif
  1056. #ifdef CONFIG_TSOSEG_DEBUG
  1057. #define TSOSEG_DEBUG (1)
  1058. #endif
  1059. #ifdef CONFIG_ALLOW_PKT_DROPPING
  1060. #define FEATURE_ALLOW_PKT_DROPPING (1)
  1061. #endif
  1062. #ifdef CONFIG_ATH_DIAG_EXT_DIRECT
  1063. #define ATH_DIAG_EXT_DIRECT (1)
  1064. #endif
  1065. #ifdef CONFIG_ENABLE_DEBUG_ADDRESS_MARKING
  1066. #define ENABLE_DEBUG_ADDRESS_MARKING (1)
  1067. #endif
  1068. #ifdef CONFIG_FEATURE_TSO
  1069. #define FEATURE_TSO (1)
  1070. #endif
  1071. #ifdef CONFIG_FEATURE_TSO_DEBUG
  1072. #define FEATURE_TSO_DEBUG (1)
  1073. #endif
  1074. #ifdef CONFIG_FEATURE_TSO_STATS
  1075. #define FEATURE_TSO_STATS (1)
  1076. #endif
  1077. #ifdef CONFIG_FEATURE_FORCE_WAKE
  1078. #define FORCE_WAKE (1)
  1079. #endif
  1080. #ifdef CONFIG_WLAN_LRO
  1081. #define FEATURE_LRO (1)
  1082. #endif
  1083. #ifdef CONFIG_FEATURE_AP_MCC_CH_AVOIDANCE
  1084. #define FEATURE_AP_MCC_CH_AVOIDANCE (1)
  1085. #endif
  1086. #ifdef CONFIG_FEATURE_EPPING
  1087. #define WLAN_FEATURE_EPPING (1)
  1088. #endif
  1089. #ifdef CONFIG_WLAN_OFFLOAD_PACKETS
  1090. #define WLAN_FEATURE_OFFLOAD_PACKETS (1)
  1091. #endif
  1092. #ifdef CONFIG_WLAN_FEATURE_DISA
  1093. #define WLAN_FEATURE_DISA (1)
  1094. #endif
  1095. #ifdef CONFIG_WLAN_FEATURE_ACTION_OUI
  1096. #define WLAN_FEATURE_ACTION_OUI (1)
  1097. #endif
  1098. #ifdef CONFIG_WLAN_FEATURE_FIPS
  1099. #define WLAN_FEATURE_FIPS (1)
  1100. #endif
  1101. #ifdef CONFIG_LFR_SUBNET_DETECTION
  1102. #define FEATURE_LFR_SUBNET_DETECTION (1)
  1103. #endif
  1104. #ifdef CONFIG_MCC_TO_SCC_SWITCH
  1105. #define FEATURE_WLAN_MCC_TO_SCC_SWITCH (1)
  1106. #endif
  1107. #ifdef CONFIG_FEATURE_WLAN_D0WOW
  1108. #define FEATURE_WLAN_D0WOW (1)
  1109. #endif
  1110. #ifdef CONFIG_WLAN_FEATURE_PKT_CAPTURE
  1111. #define WLAN_FEATURE_PKT_CAPTURE (1)
  1112. #endif
  1113. #ifdef CONFIG_WLAN_FEATURE_PKT_CAPTURE_V2
  1114. #define WLAN_FEATURE_PKT_CAPTURE_V2 (1)
  1115. #endif
  1116. #ifdef CONFIG_DP_RX_UDP_OVER_PEER_ROAM
  1117. #define DP_RX_UDP_OVER_PEER_ROAM (1)
  1118. #endif
  1119. #ifdef CONFIG_QCA_WIFI_EMULATION
  1120. #define QCA_WIFI_EMULATION (1)
  1121. #endif
  1122. #ifdef CONFIG_QCA6290_HEADERS_DEF
  1123. #define QCA6290_HEADERS_DEF (1)
  1124. #endif
  1125. #ifdef CONFIG_QCA_WIFI_QCA6290
  1126. #define QCA_WIFI_QCA6290 (1)
  1127. #endif
  1128. #ifdef CONFIG_QCA6390_HEADERS_DEF
  1129. #define QCA6390_HEADERS_DEF (1)
  1130. #endif
  1131. #ifdef CONFIG_QCA6750_HEADERS_DEF
  1132. #define QCA6750_HEADERS_DEF (1)
  1133. #endif
  1134. #ifdef CONFIG_QCA_WIFI_QCA6390
  1135. #define QCA_WIFI_QCA6390 (1)
  1136. #endif
  1137. #ifdef CONFIG_QCA6490_HEADERS_DEF
  1138. #define QCA6490_HEADERS_DEF (1)
  1139. #endif
  1140. #ifdef CONFIG_KIWI_HEADERS_DEF
  1141. #define KIWI_HEADERS_DEF (1)
  1142. #endif
  1143. #ifdef CONFIG_WCN6450_HEADERS_DEF
  1144. #define WCN6450_HEADERS_DEF (1)
  1145. #endif
  1146. #ifdef CONFIG_QCA_WIFI_QCA6490
  1147. #define QCA_WIFI_QCA6490 (1)
  1148. #endif
  1149. #ifdef CONFIG_QCA_WIFI_QCA6750
  1150. #define QCA_WIFI_QCA6750 (1)
  1151. #endif
  1152. #ifdef CONFIG_QCA_WIFI_KIWI
  1153. #define QCA_WIFI_KIWI (1)
  1154. #endif
  1155. #ifdef CONFIG_QCA_WIFI_WCN6450
  1156. #define QCA_WIFI_WCN6450 (1)
  1157. #endif
  1158. #ifdef CONFIG_QCA_WIFI_WCN6450
  1159. #define WLAN_40BIT_ADDRESSING_SUPPORT (1)
  1160. #endif
  1161. #ifdef CONFIG_QCA_WIFI_WCN6450
  1162. #define WLAN_64BIT_DATA_SUPPORT (1)
  1163. #endif
  1164. #ifdef CONFIG_CE_LEGACY_MSI_SUPPORT
  1165. #define CE_LEGACY_MSI_SUPPORT (1)
  1166. #endif
  1167. #ifdef CONFIG_HIF_HAL_REG_ACCESS_SUPPORT
  1168. #define HIF_HAL_REG_ACCESS_SUPPORT (1)
  1169. #endif
  1170. #ifdef CONFIG_CNSS_KIWI_V2
  1171. #define QCA_WIFI_KIWI_V2 (1)
  1172. #endif
  1173. #ifdef CONFIG_CNSS_MANGO
  1174. #define QCA_WIFI_MANGO (1)
  1175. #endif
  1176. #ifdef CONFIG_CNSS_PEACH
  1177. #define QCA_WIFI_PEACH (1)
  1178. #endif
  1179. #ifdef CONFIG_QCA_WIFI_QCA8074
  1180. #define QCA_WIFI_QCA8074 (1)
  1181. #endif
  1182. #ifdef CONFIG_SCALE_INCLUDES
  1183. #define SCALE_INCLUDES (1)
  1184. #endif
  1185. #ifdef CONFIG_QCA_WIFI_QCA8074_VP
  1186. #define QCA_WIFI_QCA8074_VP (1)
  1187. #endif
  1188. #ifdef CONFIG_DP_INTR_POLL_BASED
  1189. #define DP_INTR_POLL_BASED (1)
  1190. #endif
  1191. #ifdef CONFIG_TX_PER_PDEV_DESC_POOL
  1192. #define TX_PER_PDEV_DESC_POOL (1)
  1193. #endif
  1194. #ifdef CONFIG_FEATURE_TSO
  1195. #define FEATURE_TSO (1)
  1196. #endif
  1197. #ifdef CONFIG_TSO_DEBUG_LOG_ENABLE
  1198. #define TSO_DEBUG_LOG_ENABLE (1)
  1199. #endif
  1200. #ifdef CONFIG_DP_LFR
  1201. #define DP_LFR (1)
  1202. #endif
  1203. #ifdef CONFIG_DUP_RX_DESC_WAR
  1204. #define DUP_RX_DESC_WAR (1)
  1205. #endif
  1206. #ifdef CONFIG_DP_MEM_PRE_ALLOC
  1207. #define DP_MEM_PRE_ALLOC (1)
  1208. #endif
  1209. #ifdef CONFIG_DP_TXRX_SOC_ATTACH
  1210. #define DP_TXRX_SOC_ATTACH (1)
  1211. #endif
  1212. #ifdef CONFIG_QCA_TX_PADDING_CREDIT_SUPPORT
  1213. #define QCA_TX_PADDING_CREDIT_SUPPORT (1)
  1214. #endif
  1215. #ifdef CONFIG_QCN7605_SUPPORT
  1216. #define QCN7605_SUPPORT (1)
  1217. #define PLATFORM_GENOA (1)
  1218. #endif
  1219. #ifdef CONFIG_HIF_REG_WINDOW_SUPPORT
  1220. #define HIF_REG_WINDOW_SUPPORT (1)
  1221. #endif
  1222. #ifdef CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY
  1223. #define WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY (1)
  1224. #endif
  1225. #ifdef CONFIG_HIF_CE_DEBUG_DATA_BUF
  1226. #define HIF_CE_DEBUG_DATA_BUF (1)
  1227. #endif
  1228. #ifdef CONFIG_IPA_DISABLE_OVERRIDE
  1229. #define IPA_DISABLE_OVERRIDE (1)
  1230. #endif
  1231. #ifdef CONFIG_QCA_LL_TX_FLOW_CONTROL_RESIZE
  1232. #define QCA_LL_TX_FLOW_CONTROL_RESIZE (1)
  1233. #endif
  1234. #ifdef CONFIG_HIF_PCI
  1235. #define CE_SVC_CMN_INIT (1)
  1236. #endif
  1237. #ifdef CONFIG_HIF_IPCI
  1238. #define CE_SVC_CMN_INIT (1)
  1239. #endif
  1240. #ifdef CONFIG_HIF_SNOC
  1241. #define CE_SVC_CMN_INIT (1)
  1242. #endif
  1243. #ifdef CONFIG_RX_DESC_SANITY_WAR
  1244. #define RX_DESC_SANITY_WAR (1)
  1245. #endif
  1246. #ifdef CONFIG_WBM_IDLE_LSB_WR_CNF_WAR
  1247. #define WBM_IDLE_LSB_WRITE_CONFIRM_WAR (1)
  1248. #endif
  1249. #ifdef CONFIG_DYNAMIC_RX_AGGREGATION
  1250. #define WLAN_FEATURE_DYNAMIC_RX_AGGREGATION (1)
  1251. #endif
  1252. #ifdef CONFIG_DP_FEATURE_HW_COOKIE_CONVERSION
  1253. #define DP_FEATURE_HW_COOKIE_CONVERSION (1)
  1254. #endif
  1255. #ifdef CONFIG_DP_HW_COOKIE_CONVERT_EXCEPTION
  1256. #define DP_HW_COOKIE_CONVERT_EXCEPTION (1)
  1257. #endif
  1258. #ifdef CONFIG_TX_ADDR_INDEX_SEARCH
  1259. #define TX_ADDR_INDEX_SEARCH (1)
  1260. #endif
  1261. #ifdef CONFIG_QCA_SUPPORT_TX_MIN_RATES_FOR_SPECIAL_FRAMES
  1262. #define QCA_SUPPORT_TX_MIN_RATES_FOR_SPECIAL_FRAMES (1)
  1263. #endif
  1264. #ifdef CONFIG_QCA_GET_TSF_VIA_REG
  1265. #define QCA_GET_TSF_VIA_REG (1)
  1266. #endif
  1267. #ifdef CONFIG_DP_TX_COMP_RING_DESC_SANITY_CHECK
  1268. #define DP_TX_COMP_RING_DESC_SANITY_CHECK (1)
  1269. #endif
  1270. #ifdef CONFIG_HAL_SRNG_REG_HIS_DEBUG
  1271. #define HAL_SRNG_REG_HIS_DEBUG (1)
  1272. #endif
  1273. #ifdef CONFIG_RX_HASH_DEBUG
  1274. #define RX_HASH_DEBUG (1)
  1275. #endif
  1276. #ifdef CONFIG_DP_PKT_STATS_PER_LMAC
  1277. #define DP_PKT_STATS_PER_LMAC (1)
  1278. #endif
  1279. #ifdef CONFIG_NO_RX_PKT_HDR_TLV
  1280. #define NO_RX_PKT_HDR_TLV (1)
  1281. #endif
  1282. #ifdef CONFIG_QCA6290_11AX
  1283. #define QCA_WIFI_QCA6290_11AX (1)
  1284. #define QCA_WIFI_QCA6290_11AX_MU_UL (1)
  1285. #endif
  1286. #ifdef CONFIG_WLAN_TX_FLOW_CONTROL_V2
  1287. #define QCA_AC_BASED_FLOW_CONTROL (1)
  1288. #endif
  1289. #ifdef CONFIG_FEATURE_NO_DBS_INTRABAND_MCC_SUPPORT
  1290. #define FEATURE_NO_DBS_INTRABAND_MCC_SUPPORT (1)
  1291. #endif
  1292. #ifdef CONFIG_HAL_DISABLE_NON_BA_2K_JUMP_ERROR
  1293. #define HAL_DISABLE_NON_BA_2K_JUMP_ERROR (1)
  1294. #endif
  1295. #ifdef CONFIG_ENABLE_HAL_SOC_STATS
  1296. #define ENABLE_HAL_SOC_STATS (1)
  1297. #endif
  1298. #ifdef CONFIG_DP_RX_DESC_COOKIE_INVALIDATE
  1299. #define DP_RX_DESC_COOKIE_INVALIDATE (1)
  1300. #endif
  1301. #ifdef CONFIG_MON_ENABLE_DROP_FOR_MAC
  1302. #define MON_ENABLE_DROP_FOR_MAC (1)
  1303. #endif
  1304. #ifdef CONFIG_MON_ENABLE_DROP_FOR_NON_MON_PMAC
  1305. #define MON_ENABLE_DROP_FOR_NON_MON_PMAC (1)
  1306. #endif
  1307. #ifdef CONFIG_DP_WAR_INVALID_FIRST_MSDU_FLAG
  1308. #define DP_WAR_INVALID_FIRST_MSDU_FLAG (1)
  1309. #endif
  1310. #ifdef CONFIG_LITHIUM
  1311. #define DISABLE_MON_RING_MSI_CFG (1)
  1312. #endif
  1313. #ifdef CONFIG_LITHIUM
  1314. #define FEATURE_IRQ_AFFINITY (1)
  1315. #endif
  1316. #ifdef CONFIG_RHINE
  1317. #define DISABLE_MON_RING_MSI_CFG (1)
  1318. #endif
  1319. #ifdef CONFIG_RHINE
  1320. #define FEATURE_IRQ_AFFINITY (1)
  1321. #endif
  1322. #ifdef CONFIG_RHINE
  1323. #define WLAN_SOFTUMAC_SUPPORT (1)
  1324. #endif
  1325. #ifdef CONFIG_BERYLLIUM
  1326. #define FEATURE_IRQ_AFFINITY (1)
  1327. #endif
  1328. #ifdef CONFIG_TX_MULTIQ_PER_AC
  1329. #define TX_MULTIQ_PER_AC (1)
  1330. #endif
  1331. #ifdef CONFIG_PCI_LINK_STATUS_SANITY
  1332. #define PCI_LINK_STATUS_SANITY (1)
  1333. #endif
  1334. #ifdef CONFIG_DDP_MON_RSSI_IN_DBM
  1335. #define DP_MON_RSSI_IN_DBM (1)
  1336. #endif
  1337. #ifdef CONFIG_SYSTEM_PM_CHECK
  1338. #define SYSTEM_PM_CHECK (1)
  1339. #endif
  1340. #ifdef CONFIG_DISABLE_EAPOL_INTRABSS_FWD
  1341. #define DISABLE_EAPOL_INTRABSS_FWD (1)
  1342. #endif
  1343. #ifdef CONFIG_TX_AGGREGATION_SIZE_ENABLE
  1344. #define TX_AGGREGATION_SIZE_ENABLE (1)
  1345. #endif
  1346. #ifdef CONFIG_TX_MULTI_TCL
  1347. #define TX_MULTI_TCL (1)
  1348. #endif
  1349. #ifdef CONFIG_WLAN_DP_DISABLE_TCL_CMD_CRED_SRNG
  1350. #define WLAN_DP_DISABLE_TCL_CMD_CRED_SRNG (1)
  1351. #endif
  1352. #ifdef CONFIG_WLAN_DP_DISABLE_TCL_STATUS_SRNG
  1353. #define WLAN_DP_DISABLE_TCL_STATUS_SRNG (1)
  1354. #endif
  1355. #ifdef CONFIG_DP_WAR_VALIDATE_RX_ERR_MSDU_COOKIE
  1356. #define DP_WAR_VALIDATE_RX_ERR_MSDU_COOKIE (1)
  1357. #endif
  1358. #ifdef CONFIG_WLAN_DP_SRNG_USAGE_WM_TRACKING
  1359. #define WLAN_DP_SRNG_USAGE_WM_TRACKING (1)
  1360. #endif
  1361. #ifdef CONFIG_WLAN_FEATURE_DP_CFG_EVENT_HISTORY
  1362. #define WLAN_FEATURE_DP_CFG_EVENT_HISTORY (1)
  1363. #endif
  1364. #ifdef CONFIG_WLAN_FEATURE_LL_MODE
  1365. #define WLAN_FEATURE_LL_MODE (1)
  1366. #endif
  1367. #ifdef CONFIG_WLAN_CLD_PM_QOS
  1368. #define CLD_PM_QOS (1)
  1369. #endif
  1370. #ifdef CONFIG_WLAN_CLD_DEV_PM_QOS
  1371. #define CLD_DEV_PM_QOS (1)
  1372. #endif
  1373. #ifdef CONFIG_REO_DESC_DEFER_FREE
  1374. #define REO_DESC_DEFER_FREE (1)
  1375. #endif
  1376. #ifdef CONFIG_WLAN_FEATURE_11AX
  1377. #define WLAN_FEATURE_11AX (1)
  1378. #endif
  1379. #ifdef CONFIG_WLAN_FEATURE_11AX
  1380. #define WLAN_FEATURE_11AX_BSS_COLOR (1)
  1381. #endif
  1382. #ifdef CONFIG_WLAN_FEATURE_11AX
  1383. #define SUPPORT_11AX_D3 (1)
  1384. #endif
  1385. #ifdef CONFIG_RXDMA_ERR_PKT_DROP
  1386. #define RXDMA_ERR_PKT_DROP (1)
  1387. #endif
  1388. #ifdef CONFIG_MAX_ALLOC_PAGE_SIZE
  1389. #define MAX_ALLOC_PAGE_SIZE (1)
  1390. #endif
  1391. #ifdef CONFIG_DELIVERY_TO_STACK_STATUS_CHECK
  1392. #define DELIVERY_TO_STACK_STATUS_CHECK (1)
  1393. #endif
  1394. #ifdef CONFIG_WLAN_TRACE_HIDE_MAC_ADDRESS
  1395. #define WLAN_TRACE_HIDE_MAC_ADDRESS (1)
  1396. #endif
  1397. #ifdef CONFIG_WLAN_TRACE_HIDE_SSID
  1398. #define WLAN_TRACE_HIDE_SSID (1)
  1399. #endif
  1400. #ifdef CONFIG_WLAN_FEATURE_11BE
  1401. #define WLAN_FEATURE_11BE (1)
  1402. #endif
  1403. #ifdef CONFIG_WLAN_FEATURE_11BE_MLO
  1404. #define WLAN_FEATURE_11BE_MLO (1)
  1405. #endif
  1406. #ifdef CONFIG_WLAN_FEATURE_11BE_MLO
  1407. #define WLAN_FEATURE_11BE_MLO_ADV_FEATURE (1)
  1408. #endif
  1409. #ifdef CONFIG_WLAN_FEATURE_11BE_MLO
  1410. #define WLAN_SUPPORT_11BE_D3_0 (1)
  1411. #endif
  1412. #ifdef CONFIG_FIX_TXDMA_LIMITATION
  1413. #define FIX_TXDMA_LIMITATION (1)
  1414. #endif
  1415. #ifdef CONFIG_FEATURE_AST
  1416. #define FEATURE_AST (1)
  1417. #endif
  1418. #ifdef CONFIG_PEER_PROTECTED_ACCESS
  1419. #define PEER_PROTECTED_ACCESS (1)
  1420. #endif
  1421. #ifdef CONFIG_SERIALIZE_QUEUE_SETUP
  1422. #define SERIALIZE_QUEUE_SETUP (1)
  1423. #endif
  1424. #ifdef CONFIG_DP_RX_PKT_NO_PEER_DELIVER
  1425. #define DP_RX_PKT_NO_PEER_DELIVER (1)
  1426. #endif
  1427. #ifdef CONFIG_DP_RX_DROP_RAW_FRM
  1428. #define DP_RX_DROP_RAW_FRM (1)
  1429. #endif
  1430. #ifdef CONFIG_FEATURE_ALIGN_STATS_FROM_DP
  1431. #define FEATURE_ALIGN_STATS_FROM_DP (1)
  1432. #endif
  1433. #ifdef CONFIG_DP_RX_SPECIAL_FRAME_NEED
  1434. #define DP_RX_SPECIAL_FRAME_NEED (1)
  1435. #endif
  1436. #ifdef CONFIG_FEATURE_STATS_EXT_V2
  1437. #define FEATURE_STATS_EXT_V2 (1)
  1438. #endif
  1439. #ifdef CONFIG_WLAN_FEATURE_CAL_FAILURE_TRIGGER
  1440. #define WLAN_FEATURE_CAL_FAILURE_TRIGGER (1)
  1441. #endif
  1442. #ifdef CONFIG_WLAN_FEATURE_DYNAMIC_MAC_ADDR_UPDATE
  1443. #define WLAN_FEATURE_DYNAMIC_MAC_ADDR_UPDATE (1)
  1444. #endif
  1445. #ifdef CONFIG_WLAN_FEATURE_SAP_ACS_OPTIMIZE
  1446. #define WLAN_FEATURE_SAP_ACS_OPTIMIZE (1)
  1447. #endif
  1448. #ifdef CONFIG_WLAN_FEATURE_NO_STA_SAP_CONCURRENCY
  1449. #define WLAN_FEATURE_NO_STA_SAP_CONCURRENCY (1)
  1450. #endif
  1451. #ifdef CONFIG_WLAN_FEATURE_NO_STA_NAN_CONCURRENCY
  1452. #define WLAN_FEATURE_NO_STA_NAN_CONCURRENCY (1)
  1453. #endif
  1454. #ifdef CONFIG_WLAN_FEATURE_NO_P2P_CONCURRENCY
  1455. #define WLAN_FEATURE_NO_P2P_CONCURRENCY (1)
  1456. #endif
  1457. #ifdef CONFIG_WLAN_FEATURE_NO_SAP_NAN_CONCURRENCY
  1458. #define WLAN_FEATURE_NO_SAP_NAN_CONCURRENCY (1)
  1459. #endif
  1460. #ifdef CONFIG_VERBOSE_DEBUG
  1461. #define ENABLE_VERBOSE_DEBUG (1)
  1462. #endif
  1463. #ifdef CONFIG_RX_DESC_DEBUG_CHECK
  1464. #define RX_DESC_DEBUG_CHECK (1)
  1465. #endif
  1466. #ifdef CONFIG_REGISTER_OP_DEBUG
  1467. #define HAL_REGISTER_WRITE_DEBUG (1)
  1468. #endif
  1469. #ifdef CONFIG_ENABLE_QDF_PTR_HASH_DEBUG
  1470. #define ENABLE_QDF_PTR_HASH_DEBUG (1)
  1471. #endif
  1472. #ifdef CONFIG_SM_ENG_HIST
  1473. #define SM_ENG_HIST_ENABLE (1)
  1474. #endif
  1475. #ifdef CONFIG_FEATURE_VDEV_OPS_WAKELOCK
  1476. #define FEATURE_VDEV_OPS_WAKELOCK (1)
  1477. #endif
  1478. #ifdef CONFIG_FEATURE_RSSI_MONITOR
  1479. #define FEATURE_RSSI_MONITOR (1)
  1480. #endif
  1481. #ifdef CONFIG_FEATURE_BSS_TRANSITION
  1482. #define FEATURE_BSS_TRANSITION (1)
  1483. #endif
  1484. #ifdef CONFIG_FEATURE_STATION_INFO
  1485. #define FEATURE_STATION_INFO (1)
  1486. #endif
  1487. #ifdef CONFIG_FEATURE_TX_POWER
  1488. #define FEATURE_TX_POWER (1)
  1489. #endif
  1490. #ifdef CONFIG_FEATURE_OTA_TEST
  1491. #define FEATURE_OTA_TEST (1)
  1492. #endif
  1493. #ifdef CONFIG_FEATURE_ACTIVE_TOS
  1494. #define FEATURE_ACTIVE_TOS (1)
  1495. #endif
  1496. #ifdef CONFIG_FEATURE_SAR_LIMITS
  1497. #define FEATURE_SAR_LIMITS (1)
  1498. #endif
  1499. #ifdef CONFIG_FEATURE_CONCURRENCY_MATRIX
  1500. #define FEATURE_CONCURRENCY_MATRIX (1)
  1501. #endif
  1502. #ifdef CONFIG_FEATURE_SAP_COND_CHAN_SWITCH
  1503. #define FEATURE_SAP_COND_CHAN_SWITCH (1)
  1504. #endif
  1505. #ifdef CONFIG_FEATURE_WLAN_CH_AVOID_EXT
  1506. #define FEATURE_WLAN_CH_AVOID_EXT (1)
  1507. #endif
  1508. #ifdef CONFIG_WLAN_FEATURE_MDNS_OFFLOAD
  1509. #define WLAN_FEATURE_MDNS_OFFLOAD (1)
  1510. #endif
  1511. #ifdef CONFIG_CONVERGED_P2P_ENABLE
  1512. #ifdef CONFIG_FEATURE_P2P_LISTEN_OFFLOAD
  1513. #define FEATURE_P2P_LISTEN_OFFLOAD (1)
  1514. #endif
  1515. #endif
  1516. #ifdef CONFIG_ANI_LEVEL_REQUEST
  1517. #define FEATURE_ANI_LEVEL_REQUEST (1)
  1518. #endif
  1519. #ifdef CONFIG_WMI_ROAM_SUPPORT
  1520. #define WMI_ROAM_SUPPORT (1)
  1521. #endif
  1522. #ifdef CONFIG_WMI_CONCURRENCY_SUPPORT
  1523. #define WMI_CONCURRENCY_SUPPORT (1)
  1524. #endif
  1525. #ifdef CONFIG_WMI_STA_SUPPORT
  1526. #define WMI_STA_SUPPORT (1)
  1527. #endif
  1528. #ifdef CONFIG_HIF_LARGE_CE_RING_HISTORY
  1529. #define HIF_CE_HISTORY_MAX (CONFIG_HIF_LARGE_CE_RING_HISTORY)
  1530. #endif
  1531. #ifdef CONFIG_WLAN_HANG_EVENT
  1532. #define HIF_CE_LOG_INFO (1)
  1533. #endif
  1534. #ifdef CONFIG_WLAN_HANG_EVENT
  1535. #define HIF_BUS_LOG_INFO (1)
  1536. #endif
  1537. #ifdef CONFIG_WLAN_HANG_EVENT
  1538. #define DP_SUPPORT_RECOVERY_NOTIFY (1)
  1539. #endif
  1540. #ifdef CONFIG_WLAN_DFS_STATIC_MEM_ALLOC
  1541. #define WLAN_DFS_STATIC_MEM_ALLOC (1)
  1542. #endif
  1543. #ifdef CONFIG_WLAN_DFS_MASTER_ENABLE
  1544. #define MOBILE_DFS_SUPPORT (1)
  1545. #endif
  1546. #ifdef CONFIG_WLAN_FEATURE_DFS_OFFLOAD
  1547. #ifdef CONFIG_WLAN_DFS_MASTER_ENABLE
  1548. #define WLAN_DFS_FULL_OFFLOAD (1)
  1549. #endif
  1550. #else
  1551. #ifdef CONFIG_WLAN_DFS_MASTER_ENABLE
  1552. #define WLAN_DFS_PARTIAL_OFFLOAD (1)
  1553. #endif
  1554. #endif
  1555. #ifdef CONFIG_WLAN_DFS_MASTER_ENABLE
  1556. #define DFS_COMPONENT_ENABLE (1)
  1557. #endif
  1558. #ifdef CONFIG_WLAN_DFS_MASTER_ENABLE
  1559. #define QCA_DFS_USE_POLICY_MANAGER (1)
  1560. #endif
  1561. #ifdef CONFIG_WLAN_DFS_MASTER_ENABLE
  1562. #define QCA_DFS_NOL_PLATFORM_DRV_SUPPORT (1)
  1563. #endif
  1564. #ifdef CONFIG_QCA_DFS_BW_PUNCTURE
  1565. #define QCA_DFS_BW_PUNCTURE (1)
  1566. #endif
  1567. #ifdef CONFIG_WLAN_DEBUGFS
  1568. #define WLAN_DEBUGFS (1)
  1569. #endif
  1570. #ifdef CONFIG_WLAN_DEBUGFS
  1571. #define WLAN_DBGLOG_DEBUGFS (1)
  1572. #endif
  1573. #ifdef CONFIG_WLAN_STREAMFS
  1574. #define WLAN_STREAMFS (1)
  1575. #endif
  1576. #ifdef CONFIG_DYNAMIC_DEBUG
  1577. #define FEATURE_MULTICAST_HOST_FW_MSGS (1)
  1578. #endif
  1579. #ifdef CONFIG_ENABLE_SMMU_S1_TRANSLATION
  1580. #define ENABLE_SMMU_S1_TRANSLATION (1)
  1581. #endif
  1582. #ifdef CONFIG_LOG_LINE_NUMBER
  1583. #define LOG_LINE_NUMBER (1)
  1584. #endif
  1585. #ifdef CONFIG_ENABLE_MTRACE_LOG
  1586. #define ENABLE_MTRACE_LOG (1)
  1587. #endif
  1588. #ifdef CONFIG_FUNC_CALL_MAP
  1589. #define FUNC_CALL_MAP (1)
  1590. #endif
  1591. #ifdef CONFIG_ADAPTIVE_11R
  1592. #define WLAN_ADAPTIVE_11R (1)
  1593. #endif
  1594. #ifdef CONFIG_SAE_SINGLE_PMK
  1595. #define WLAN_SAE_SINGLE_PMK (1)
  1596. #endif
  1597. #ifdef CONFIG_MULTI_CLIENT_LL_SUPPORT
  1598. #define MULTI_CLIENT_LL_SUPPORT (1)
  1599. #endif
  1600. #ifdef CONFIG_WLAN_VENDOR_HANDOFF_CONTROL
  1601. #define WLAN_VENDOR_HANDOFF_CONTROL (1)
  1602. #endif
  1603. #ifdef CONFIG_FEATURE_MSCS
  1604. #define WLAN_FEATURE_MSCS (1)
  1605. #endif
  1606. #ifdef CONFIG_WLAN_NUD_TRACKING
  1607. #define WLAN_NUD_TRACKING (1)
  1608. #endif
  1609. #ifdef CONFIG_DISABLE_CHANNEL_LIST
  1610. #define DISABLE_CHANNEL_LIST (1)
  1611. #endif
  1612. #ifdef CONFIG_WLAN_BCN_RECV_FEATURE
  1613. #define WLAN_BCN_RECV_FEATURE (1)
  1614. #endif
  1615. #ifdef CONFIG_FW_THERMAL_THROTTLE
  1616. #define FW_THERMAL_THROTTLE (1)
  1617. #endif
  1618. #ifdef CONFIG_LTE_COEX
  1619. #define LTE_COEX (1)
  1620. #endif
  1621. #ifdef CONFIG_HOST_OPCLASS
  1622. #define HOST_OPCLASS (1)
  1623. #endif
  1624. #ifdef CONFIG_HOST_OPCLASS
  1625. #define HOST_OPCLASS_EXT (1)
  1626. #endif
  1627. #ifdef CONFIG_TARGET_11D_SCAN
  1628. #define TARGET_11D_SCAN (1)
  1629. #endif
  1630. #ifdef CONFIG_SAP_AVOID_ACS_FREQ_LIST
  1631. #define SAP_AVOID_ACS_FREQ_LIST (1)
  1632. #endif
  1633. #ifdef CONFIG_WLAN_DYNAMIC_CVM
  1634. #define FEATURE_WLAN_DYNAMIC_CVM (1)
  1635. #endif
  1636. #ifdef CONFIG_QCACLD_FEATURE_FW_STATE
  1637. #define FEATURE_FW_STATE (1)
  1638. #endif
  1639. #ifdef CONFIG_QCACLD_FEATURE_COEX_CONFIG
  1640. #define FEATURE_COEX_CONFIG (1)
  1641. #endif
  1642. #ifdef CONFIG_QCACLD_FEATURE_MPTA_HELPER
  1643. #define FEATURE_MPTA_HELPER (1)
  1644. #endif
  1645. #ifdef CONFIG_QCACLD_FEATURE_HW_CAPABILITY
  1646. #define FEATURE_HW_CAPABILITY (1)
  1647. #endif
  1648. #ifdef CONFIG_QCACLD_FEATURE_BTC_CHAIN_MODE
  1649. #define FEATURE_BTC_CHAIN_MODE (1)
  1650. #endif
  1651. #ifdef CONFIG_DATA_CE_SW_INDEX_NO_INLINE_UPDATE
  1652. #define DATA_CE_SW_INDEX_NO_INLINE_UPDATE (1)
  1653. #endif
  1654. #ifdef CONFIG_QCACLD_RX_DESC_MULTI_PAGE_ALLOC
  1655. #define RX_DESC_MULTI_PAGE_ALLOC (1)
  1656. #endif
  1657. #ifdef CONFIG_SAR_SAFETY_FEATURE
  1658. #define SAR_SAFETY_FEATURE (1)
  1659. #endif
  1660. #ifdef CONFIG_CONNECTION_ROAMING_CFG
  1661. #define CONNECTION_ROAMING_CFG (1)
  1662. #endif
  1663. #ifdef CONFIG_FEATURE_SET
  1664. #define FEATURE_SET (1)
  1665. #endif
  1666. #ifdef CONFIG_WLAN_FEATURE_NEAR_FULL_IRQ
  1667. #define WLAN_FEATURE_NEAR_FULL_IRQ (1)
  1668. #endif
  1669. #ifdef CONFIG_WLAN_FEATURE_DP_EVENT_HISTORY
  1670. #define WLAN_FEATURE_DP_EVENT_HISTORY (1)
  1671. #endif
  1672. #ifdef CONFIG_WLAN_FEATURE_DP_RX_RING_HISTORY
  1673. #define WLAN_FEATURE_DP_RX_RING_HISTORY (1)
  1674. #endif
  1675. #ifdef CONFIG_WLAN_FEATURE_DP_MON_STATUS_RING_HISTORY
  1676. #define WLAN_FEATURE_DP_MON_STATUS_RING_HISTORY (1)
  1677. #endif
  1678. #ifdef CONFIG_WLAN_FEATURE_DP_TX_DESC_HISTORY
  1679. #define WLAN_FEATURE_DP_TX_DESC_HISTORY (1)
  1680. #endif
  1681. #ifdef CONFIG_REO_QDESC_HISTORY
  1682. #define REO_QDESC_HISTORY (1)
  1683. #endif
  1684. #ifdef CONFIG_DP_TX_HW_DESC_HISTORY
  1685. #define DP_TX_HW_DESC_HISTORY (1)
  1686. #endif
  1687. #ifdef CONFIG_QDF_NBUF_HISTORY_SIZE
  1688. #define QDF_NBUF_HISTORY_SIZE (CONFIG_QDF_NBUF_HISTORY_SIZE)
  1689. #endif
  1690. #ifdef CONFIG_WLAN_DP_PER_RING_TYPE_CONFIG
  1691. #define WLAN_DP_PER_RING_TYPE_CONFIG (1)
  1692. #endif
  1693. #ifdef CONFIG_WLAN_CE_INTERRUPT_THRESHOLD_CONFIG
  1694. #define WLAN_CE_INTERRUPT_THRESHOLD_CONFIG (1)
  1695. #endif
  1696. #ifdef CONFIG_SAP_DHCP_FW_IND
  1697. #define SAP_DHCP_FW_IND (1)
  1698. #endif
  1699. #ifdef CONFIG_WLAN_DP_PENDING_MEM_FLUSH
  1700. #define WLAN_DP_PENDING_MEM_FLUSH (1)
  1701. #endif
  1702. #ifdef CONFIG_WLAN_SUPPORT_DATA_STALL
  1703. #define WLAN_SUPPORT_DATA_STALL (1)
  1704. #endif
  1705. #ifdef CONFIG_WLAN_SUPPORT_TXRX_HL_BUNDLE
  1706. #define WLAN_SUPPORT_TXRX_HL_BUNDLE (1)
  1707. #endif
  1708. #ifdef CONFIG_QCN7605_PCIE_SHADOW_REG_SUPPORT
  1709. #define QCN7605_PCIE_SHADOW_REG_SUPPORT (1)
  1710. #endif
  1711. #ifdef CONFIG_QCN7605_PCIE_GOLBAL_RESET_SUPPORT
  1712. #define QCN7605_PCIE_GOLBAL_RESET_SUPPORT (1)
  1713. #endif
  1714. #ifdef CONFIG_MARK_ICMP_REQ_TO_FW
  1715. #define WLAN_DP_FEATURE_MARK_ICMP_REQ_TO_FW (1)
  1716. #endif
  1717. #ifdef CONFIG_EMULATION_2_0
  1718. #define CONFIG_KIWI_EMULATION_2_0 (1)
  1719. #endif
  1720. #ifdef CONFIG_WLAN_SKIP_BAR_UPDATE
  1721. #define WLAN_SKIP_BAR_UPDATE (1)
  1722. #endif
  1723. #ifdef CONFIG_WLAN_TRACEPOINTS
  1724. #define WLAN_TRACEPOINTS (1)
  1725. #endif
  1726. #ifdef CONFIG_QCACLD_FEATURE_SON
  1727. #define FEATURE_PERPKT_INFO (1)
  1728. #endif
  1729. #ifdef CONFIG_QCACLD_FEATURE_SON
  1730. #define QCA_ENHANCED_STATS_SUPPORT (1)
  1731. #endif
  1732. #ifdef CONFIG_QMI_COMPONENT_ENABLE
  1733. #define QMI_COMPONENT_ENABLE (1)
  1734. #ifdef CONFIG_QMI_WFDS
  1735. #define QMI_WFDS (1)
  1736. #endif
  1737. #endif
  1738. #if defined(CONFIG_MAX_LOGS_PER_SEC) && defined(CONFIG_ENABLE_MAX_LOGS_PER_SEC)
  1739. #define WLAN_MAX_LOGS_PER_SEC (CONFIG_MAX_LOGS_PER_SEC)
  1740. #endif
  1741. #ifdef CONFIG_NON_QC_PLATFORM
  1742. #define WLAN_DUMP_LOG_BUF_CNT (CONFIG_DUMP_LOG_BUF_CNT)
  1743. #endif
  1744. #if defined(CONFIG_SCHED_HISTORY_SIZE) && \
  1745. defined(CONFIG_ENABLE_SCHED_HISTORY_SIZE)
  1746. #define WLAN_SCHED_HISTORY_SIZE (CONFIG_SCHED_HISTORY_SIZE)
  1747. #endif
  1748. #ifdef CONFIG_QDF_TIMER_MULTIPLIER_FRAC
  1749. #define QDF_TIMER_MULTIPLIER_FRAC (CONFIG_QDF_TIMER_MULTIPLIER_FRAC)
  1750. #endif
  1751. #ifdef CONFIG_DP_LEGACY_MODE_CSM_DEFAULT_DISABLE
  1752. #define DP_LEGACY_MODE_CSM_DEFAULT_DISABLE (CONFIG_DP_LEGACY_MODE_CSM_DEFAULT_DISABLE)
  1753. #endif
  1754. #ifdef CONFIG_HANDLE_RX_REROUTE_ERR
  1755. #define HANDLE_RX_REROUTE_ERR (1)
  1756. #endif
  1757. #ifdef CONFIG_CFG_NUM_DP_TRACE_RECORD
  1758. #define MAX_QDF_DP_TRACE_RECORDS (CONFIG_CFG_NUM_DP_TRACE_RECORD)
  1759. #endif
  1760. #ifdef CONFIG_CFG_NUM_HTC_CREDIT_HISTORY
  1761. #define HTC_CREDIT_HISTORY_MAX (CONFIG_CFG_NUM_HTC_CREDIT_HISTORY)
  1762. #endif
  1763. #ifdef CONFIG_CFG_NUM_WMI_EVENT_HISTORY
  1764. #define WMI_EVENT_DEBUG_MAX_ENTRY (CONFIG_CFG_NUM_WMI_EVENT_HISTORY)
  1765. #endif
  1766. #ifdef CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY
  1767. #define WMI_MGMT_EVENT_DEBUG_MAX_ENTRY (CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY)
  1768. #endif
  1769. #ifdef CONFIG_CFG_NUM_TX_RX_HISTOGRAM
  1770. #define NUM_TX_RX_HISTOGRAM (CONFIG_CFG_NUM_TX_RX_HISTOGRAM)
  1771. #endif
  1772. #ifdef CONFIG_CFG_NUM_RX_IND_RECORD
  1773. #define OL_RX_INDICATION_MAX_RECORDS (CONFIG_CFG_NUM_RX_IND_RECORD)
  1774. #endif
  1775. #ifdef CONFIG_CFG_NUM_ROAM_DEBUG_RECORD
  1776. #define WLAN_ROAM_DEBUG_MAX_REC (CONFIG_CFG_NUM_ROAM_DEBUG_RECORD)
  1777. #endif
  1778. #ifdef CONFIG_CFG_PMO_WOW_FILTERS_MAX
  1779. #define PMO_WOW_FILTERS_MAX (CONFIG_CFG_PMO_WOW_FILTERS_MAX)
  1780. #endif
  1781. #ifdef CONFIG_CFG_GTK_OFFLOAD_MAX_VDEV
  1782. #define CFG_TGT_DEFAULT_GTK_OFFLOAD_MAX_VDEV (CONFIG_CFG_GTK_OFFLOAD_MAX_VDEV)
  1783. #endif
  1784. #ifdef CONFIG_TGT_NUM_MSDU_DESC
  1785. #define CFG_TGT_NUM_MSDU_DESC (CONFIG_TGT_NUM_MSDU_DESC)
  1786. #endif
  1787. #ifdef CONFIG_HTC_MAX_MSG_PER_BUNDLE_TX
  1788. #define CFG_HTC_MAX_MSG_PER_BUNDLE_TX (CONFIG_HTC_MAX_MSG_PER_BUNDLE_TX)
  1789. #endif
  1790. #ifdef CONFIG_CFG_BMISS_OFFLOAD_MAX_VDEV
  1791. #define CFG_TGT_DEFAULT_BMISS_OFFLOAD_MAX_VDEV (CONFIG_CFG_BMISS_OFFLOAD_MAX_VDEV)
  1792. #endif
  1793. #ifdef CONFIG_WLAN_UMAC_MLO_MAX_DEV
  1794. #define WLAN_UMAC_MLO_MAX_DEV (CONFIG_WLAN_UMAC_MLO_MAX_DEV)
  1795. #endif
  1796. #ifdef CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV
  1797. #define CFG_TGT_DEFAULT_ROAM_OFFLOAD_MAX_VDEV (CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV)
  1798. #endif
  1799. #ifdef CONFIG_CFG_MAX_PERIODIC_TX_PTRNS
  1800. #define MAXNUM_PERIODIC_TX_PTRNS (CONFIG_CFG_MAX_PERIODIC_TX_PTRNS)
  1801. #endif
  1802. #ifdef CONFIG_CFG_MAX_STA_VDEVS
  1803. #define CFG_TGT_DEFAULT_MAX_STA_VDEVS (CONFIG_CFG_MAX_STA_VDEVS)
  1804. #endif
  1805. #ifdef CONFIG_CFG_NUM_OF_ADDITIONAL_FW_PEERS
  1806. #define NUM_OF_ADDITIONAL_FW_PEERS (CONFIG_CFG_NUM_OF_ADDITIONAL_FW_PEERS)
  1807. #endif
  1808. #ifdef CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES
  1809. #define CFG_TGT_NUM_TDLS_CONN_TABLE_ENTRIES (CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES)
  1810. #endif
  1811. #ifdef CONFIG_CFG_TGT_AST_SKID_LIMIT
  1812. #define CFG_TGT_AST_SKID_LIMIT (CONFIG_CFG_TGT_AST_SKID_LIMIT)
  1813. #endif
  1814. #ifdef CONFIG_TX_RESOURCE_HIGH_TH_IN_PER
  1815. #define TX_RESOURCE_HIGH_TH_IN_PER (CONFIG_TX_RESOURCE_HIGH_TH_IN_PER)
  1816. #endif
  1817. #ifdef CONFIG_TX_RESOURCE_LOW_TH_IN_PER
  1818. #define TX_RESOURCE_LOW_TH_IN_PER (CONFIG_TX_RESOURCE_LOW_TH_IN_PER)
  1819. #endif
  1820. #ifndef CONFIG_WLAN_MAX_PSOCS
  1821. #define CONFIG_WLAN_MAX_PSOCS (1)
  1822. #endif
  1823. #define WLAN_MAX_PSOCS (CONFIG_WLAN_MAX_PSOCS)
  1824. #ifndef CONFIG_WLAN_MAX_PDEVS
  1825. #define CONFIG_WLAN_MAX_PDEVS (1)
  1826. #endif
  1827. #define WLAN_MAX_PDEVS (CONFIG_WLAN_MAX_PDEVS)
  1828. #ifdef CONFIG_WLAN_FEATURE_11BE_MLO
  1829. #ifndef CONFIG_WLAN_MAX_ML_VDEVS
  1830. #define CONFIG_WLAN_MAX_ML_VDEVS (3)
  1831. #endif
  1832. #else
  1833. #ifndef CONFIG_WLAN_MAX_ML_VDEVS
  1834. #define CONFIG_WLAN_MAX_ML_VDEVS (0)
  1835. #endif
  1836. #endif
  1837. #define WLAN_MAX_ML_VDEVS (CONFIG_WLAN_MAX_ML_VDEVS)
  1838. #ifndef CONFIG_WLAN_MAX_VDEVS
  1839. #define CONFIG_WLAN_MAX_VDEVS (6)
  1840. #endif
  1841. #define WLAN_MAX_VDEVS (CONFIG_WLAN_MAX_VDEVS)
  1842. #ifdef CONFIG_WLAN_FEATURE_11BE_MLO
  1843. #ifndef CONFIG_WLAN_MAX_MLD
  1844. #define CONFIG_WLAN_MAX_MLD (2)
  1845. #endif
  1846. #else
  1847. #ifndef CONFIG_WLAN_MAX_MLD
  1848. #define CONFIG_WLAN_MAX_MLD (1)
  1849. #endif
  1850. #endif
  1851. #define WLAN_MAX_MLD (CONFIG_WLAN_MAX_MLD)
  1852. #ifdef CONFIG_SIR_SAP_MAX_NUM_PEERS
  1853. #ifndef CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP
  1854. #define CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP (CONFIG_SIR_SAP_MAX_NUM_PEERS)
  1855. #endif
  1856. #else
  1857. #ifndef CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP
  1858. #define CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP (32)
  1859. #endif
  1860. #endif
  1861. #ifndef WLAN_SER_MAX_PENDING_CMDS_AP
  1862. #define WLAN_SER_MAX_PENDING_CMDS_AP (CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP + 3)
  1863. #endif
  1864. #ifndef CONFIG_WLAN_SER_MAX_PENDING_CMDS_STA
  1865. #define CONFIG_WLAN_SER_MAX_PENDING_CMDS_STA (4)
  1866. #endif
  1867. #define WLAN_SER_MAX_PENDING_CMDS_STA (CONFIG_WLAN_SER_MAX_PENDING_CMDS_STA)
  1868. #ifndef CONFIG_WLAN_MAX_PENDING_CMDS
  1869. #define CONFIG_WLAN_MAX_PENDING_CMDS (CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP * 3 + CONFIG_WLAN_SER_MAX_PENDING_CMDS_STA * 2)
  1870. #endif
  1871. #define WLAN_SER_MAX_PENDING_CMDS (CONFIG_WLAN_MAX_PENDING_CMDS)
  1872. #ifndef CONFIG_WLAN_PDEV_MAX_VDEVS
  1873. #define CONFIG_WLAN_PDEV_MAX_VDEVS (CONFIG_WLAN_MAX_VDEVS)
  1874. #endif
  1875. #define WLAN_PDEV_MAX_VDEVS (CONFIG_WLAN_PDEV_MAX_VDEVS)
  1876. #ifndef CONFIG_WLAN_PSOC_MAX_VDEVS
  1877. #define CONFIG_WLAN_PSOC_MAX_VDEVS (CONFIG_WLAN_MAX_VDEVS)
  1878. #endif
  1879. #define WLAN_PSOC_MAX_VDEVS (CONFIG_WLAN_PSOC_MAX_VDEVS)
  1880. #ifndef CONFIG_MAX_SCAN_CACHE_SIZE
  1881. #define CONFIG_MAX_SCAN_CACHE_SIZE (500)
  1882. #endif
  1883. #define MAX_SCAN_CACHE_SIZE (CONFIG_MAX_SCAN_CACHE_SIZE)
  1884. #ifndef CONFIG_SCAN_MAX_REST_TIME
  1885. #define CONFIG_SCAN_MAX_REST_TIME (0)
  1886. #endif
  1887. #define SCAN_MAX_REST_TIME (CONFIG_SCAN_MAX_REST_TIME)
  1888. #ifndef CONFIG_SCAN_MIN_REST_TIME
  1889. #define CONFIG_SCAN_MIN_REST_TIME (0)
  1890. #endif
  1891. #define SCAN_MIN_REST_TIME (CONFIG_SCAN_MIN_REST_TIME)
  1892. #ifndef CONFIG_SCAN_BURST_DURATION
  1893. #define CONFIG_SCAN_BURST_DURATION (0)
  1894. #endif
  1895. #define SCAN_BURST_DURATION (CONFIG_SCAN_BURST_DURATION)
  1896. #ifndef CONFIG_SCAN_PROBE_SPACING_TIME
  1897. #define CONFIG_SCAN_PROBE_SPACING_TIME (0)
  1898. #endif
  1899. #define SCAN_PROBE_SPACING_TIME (CONFIG_SCAN_PROBE_SPACING_TIME)
  1900. #ifndef CONFIG_SCAN_PROBE_DELAY
  1901. #define CONFIG_SCAN_PROBE_DELAY (0)
  1902. #endif
  1903. #define SCAN_PROBE_DELAY (CONFIG_SCAN_PROBE_DELAY)
  1904. #ifndef CONFIG_SCAN_MAX_SCAN_TIME
  1905. #define CONFIG_SCAN_MAX_SCAN_TIME (30000)
  1906. #endif
  1907. #define SCAN_MAX_SCAN_TIME (CONFIG_SCAN_MAX_SCAN_TIME)
  1908. #ifndef CONFIG_SCAN_NETWORK_IDLE_TIMEOUT
  1909. #define CONFIG_SCAN_NETWORK_IDLE_TIMEOUT (0)
  1910. #endif
  1911. #define SCAN_NETWORK_IDLE_TIMEOUT (CONFIG_SCAN_NETWORK_IDLE_TIMEOUT)
  1912. #ifndef CONFIG_HIDDEN_SSID_TIME
  1913. #define CONFIG_HIDDEN_SSID_TIME (0xFFFFFFFF)
  1914. #endif
  1915. #define HIDDEN_SSID_TIME (CONFIG_HIDDEN_SSID_TIME)
  1916. #ifndef CONFIG_SCAN_CHAN_STATS_EVENT_ENAB
  1917. #define CONFIG_SCAN_CHAN_STATS_EVENT_ENAB (false)
  1918. #endif
  1919. #define SCAN_CHAN_STATS_EVENT_ENAB (CONFIG_SCAN_CHAN_STATS_EVENT_ENAB)
  1920. #ifndef CONFIG_MAX_BCN_PROBE_IN_SCAN_QUEUE
  1921. #define CONFIG_MAX_BCN_PROBE_IN_SCAN_QUEUE (150)
  1922. #endif
  1923. #define MAX_BCN_PROBE_IN_SCAN_QUEUE (CONFIG_MAX_BCN_PROBE_IN_SCAN_QUEUE)
  1924. #ifndef CONFIG_RX_DIAG_WQ_MAX_SIZE
  1925. #define CONFIG_RX_DIAG_WQ_MAX_SIZE (1000)
  1926. #endif
  1927. #define RX_DIAG_WQ_MAX_SIZE (CONFIG_RX_DIAG_WQ_MAX_SIZE)
  1928. #ifndef CONFIG_MGMT_DESC_POOL_MAX
  1929. #define CONFIG_MGMT_DESC_POOL_MAX (64)
  1930. #endif
  1931. #define MGMT_DESC_POOL_MAX (CONFIG_MGMT_DESC_POOL_MAX)
  1932. #ifdef CONFIG_SIR_SAP_MAX_NUM_PEERS
  1933. #define SIR_SAP_MAX_NUM_PEERS (CONFIG_SIR_SAP_MAX_NUM_PEERS)
  1934. #endif
  1935. #ifdef CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV
  1936. #define CFG_TGT_DEFAULT_BEACON_TX_OFFLOAD_MAX_VDEV (CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV)
  1937. #endif
  1938. #ifdef CONFIG_LIMIT_IPA_TX_BUFFER
  1939. #define LIMIT_IPA_TX_BUFFER (CONFIG_LIMIT_IPA_TX_BUFFER)
  1940. #endif
  1941. #ifdef CONFIG_LOCK_STATS_ON
  1942. #define QDF_LOCK_STATS (1)
  1943. #define QDF_LOCK_STATS_DESTROY_PRINT (0)
  1944. #ifndef CONFIG_ARCH_SDXPRAIRIE
  1945. #define QDF_LOCK_STATS_BUG_ON (1)
  1946. #endif
  1947. #ifdef CONFIG_VCPU_TIMESTOLEN
  1948. #define VCPU_TIMESTOLEN (1)
  1949. #endif
  1950. #define QDF_LOCK_STATS_LIST (1)
  1951. #define QDF_LOCK_STATS_LIST_SIZE (256)
  1952. #endif
  1953. #ifdef CONFIG_FW_THERMAL_THROTTLE
  1954. #define FW_THERMAL_THROTTLE_SUPPORT (1)
  1955. #endif
  1956. #ifdef CONFIG_FEATURE_RX_LINKSPEED_ROAM_TRIGGER
  1957. #define FEATURE_RX_LINKSPEED_ROAM_TRIGGER (1)
  1958. #endif
  1959. #ifdef CONFIG_FEATURE_RX_LINKSPEED_ROAM_TRIGGER
  1960. #define DP_RATETABLE_SUPPORT (1)
  1961. #endif
  1962. #ifdef CONFIG_6G_SCAN_CHAN_SORT_ALGO
  1963. #define FEATURE_6G_SCAN_CHAN_SORT_ALGO (1)
  1964. #endif
  1965. #ifdef CONFIG_WLAN_FEATURE_AFC_DCS_SKIP_ACS_RANGE
  1966. #define WLAN_FEATURE_AFC_DCS_SKIP_ACS_RANGE (1)
  1967. #endif
  1968. #ifdef CONFIG_RX_FISA
  1969. #define WLAN_SUPPORT_RX_FISA (1)
  1970. #endif
  1971. #ifdef CONFIG_RX_FISA_HISTORY
  1972. #define WLAN_SUPPORT_RX_FISA_HIST (1)
  1973. #endif
  1974. #ifdef CONFIG_DP_SWLM
  1975. #define WLAN_DP_FEATURE_SW_LATENCY_MGR (1)
  1976. #endif
  1977. #ifdef CONFIG_RX_DEFRAG_DO_NOT_REINJECT
  1978. #define RX_DEFRAG_DO_NOT_REINJECT (1)
  1979. #endif
  1980. #ifdef CONFIG_HANDLE_BC_EAP_TX_FRM
  1981. #define HANDLE_BROADCAST_EAPOL_TX_FRAME (1)
  1982. #endif
  1983. #ifdef CONFIG_HASTINGS_BT_WAR
  1984. #define HASTINGS_BT_WAR (1)
  1985. #endif
  1986. #ifdef CONFIG_HIF_DEBUG
  1987. #define HIF_CONFIG_SLUB_DEBUG_ON (1)
  1988. #endif
  1989. #ifdef CONFIG_HAL_DEBUG
  1990. #define HAL_CONFIG_SLUB_DEBUG_ON (1)
  1991. #endif
  1992. #ifdef CONFIG_FOURTH_CONNECTION
  1993. #define FEATURE_FOURTH_CONNECTION (1)
  1994. #endif
  1995. #ifdef CONFIG_FOURTH_CONNECTION_AUTO
  1996. #define FOURTH_CONNECTION_AUTO (1)
  1997. #endif
  1998. #ifdef CONFIG_WMI_SEND_RECV_QMI
  1999. #define WLAN_FEATURE_WMI_SEND_RECV_QMI (1)
  2000. #endif
  2001. #ifdef CONFIG_WDI3_STATS_UPDATE
  2002. #define WDI3_STATS_UPDATE (1)
  2003. #endif
  2004. #ifdef CONFIG_WDI3_STATS_BW_MONITOR
  2005. #define WDI3_STATS_BW_MONITOR (1)
  2006. #endif
  2007. #ifdef CONFIG_IPA_P2P_SUPPORT
  2008. #define IPA_P2P_SUPPORT (1)
  2009. #endif
  2010. #ifdef CONFIG_WLAN_CUSTOM_DSCP_UP_MAP
  2011. #define WLAN_CUSTOM_DSCP_UP_MAP (1)
  2012. #endif
  2013. #ifdef CONFIG_WLAN_SEND_DSCP_UP_MAP_TO_FW
  2014. #define WLAN_SEND_DSCP_UP_MAP_TO_FW (1)
  2015. #endif
  2016. #ifdef CONFIG_HIF_CPU_PERF_AFFINE_MASK
  2017. #define HIF_CPU_PERF_AFFINE_MASK (1)
  2018. #endif
  2019. #ifdef CONFIG_HIF_CPU_CLEAR_AFFINITY
  2020. #define HIF_CPU_CLEAR_AFFINITY (1)
  2021. #endif
  2022. #ifdef CONFIG_GENERIC_SHADOW_REGISTER_ACCESS_ENABLE
  2023. #define GENERIC_SHADOW_REGISTER_ACCESS_ENABLE (1)
  2024. #endif
  2025. #ifdef CONFIG_IPA_SET_RESET_TX_DB_PA
  2026. #define IPA_SET_RESET_TX_DB_PA (1)
  2027. #endif
  2028. #ifdef CONFIG_DEVICE_FORCE_WAKE_ENABLE
  2029. #define DEVICE_FORCE_WAKE_ENABLE (1)
  2030. #endif
  2031. #ifdef CONFIG_WINDOW_REG_PLD_LOCK_ENABLE
  2032. #define WINDOW_REG_PLD_LOCK_ENABLE (1)
  2033. #endif
  2034. #ifdef CONFIG_DUMP_REO_QUEUE_INFO_IN_DDR
  2035. #define DUMP_REO_QUEUE_INFO_IN_DDR (1)
  2036. #endif
  2037. #ifdef CONFIG_DP_RX_REFILL_CPU_PERF_AFFINE_MASK
  2038. #define DP_RX_REFILL_CPU_PERF_AFFINE_MASK (1)
  2039. #endif
  2040. #ifdef CONFIG_MAX_CLIENTS_ALLOWED
  2041. #define WLAN_MAX_CLIENTS_ALLOWED (CONFIG_MAX_CLIENTS_ALLOWED)
  2042. #endif
  2043. #ifdef CONFIG_WLAN_FEATURE_RX_BUFFER_POOL
  2044. #define WLAN_FEATURE_RX_PREALLOC_BUFFER_POOL (1)
  2045. #ifdef CONFIG_DP_RX_BUFFER_POOL_SIZE
  2046. #define DP_RX_BUFFER_POOL_SIZE (CONFIG_DP_RX_BUFFER_POOL_SIZE)
  2047. #endif
  2048. #ifdef CONFIG_DP_RX_BUFFER_POOL_ALLOC_THRES
  2049. #define DP_RX_BUFFER_POOL_ALLOC_THRES (CONFIG_DP_RX_BUFFER_POOL_ALLOC_THRES)
  2050. #endif
  2051. #endif
  2052. #ifdef CONFIG_DP_FT_LOCK_HISTORY
  2053. #define DP_FT_LOCK_HISTORY (1)
  2054. #endif
  2055. #ifdef CONFIG_INTRA_BSS_FWD_OFFLOAD
  2056. #define INTRA_BSS_FWD_OFFLOAD (1)
  2057. #endif
  2058. #ifdef CONFIG_GET_DRIVER_MODE
  2059. #define FEATURE_GET_DRIVER_MODE (1)
  2060. #endif
  2061. #ifdef CONFIG_FEATURE_IPA_PIPE_CHANGE_WDI1
  2062. #define FEATURE_IPA_PIPE_CHANGE_WD (1)
  2063. #endif
  2064. #ifdef CONFIG_WLAN_BOOTUP_MARKER
  2065. #define WLAN_BOOTUP_MARKER (1)
  2066. #endif
  2067. #ifdef CONFIG_WLAN_PLACEMARKER_PREFIX
  2068. #define WLAN_PLACEMARKER_PREFIX (CONFIG_WLAN_PLACEMARKER_PREFIX)
  2069. #endif
  2070. #ifdef CONFIG_FEATURE_STA_MODE_VOTE_LINK
  2071. #define FEATURE_STA_MODE_VOTE_LINK (1)
  2072. #endif
  2073. #ifdef CONFIG_WLAN_ENABLE_GPIO_WAKEUP
  2074. #define WLAN_ENABLE_GPIO_WAKEUP (1)
  2075. #endif
  2076. #ifdef CONFIG_WLAN_MAC_ADDR_UPDATE_DISABLE
  2077. #define WLAN_MAC_ADDR_UPDATE_DISABLE (1)
  2078. #endif
  2079. #ifdef CONFIG_SMP
  2080. #ifdef CONFIG_HIF_DETECTION_LATENCY_ENABLE
  2081. #define HIF_DETECTION_LATENCY_ENABLE (1)
  2082. #define DETECTION_TIMER_TIMEOUT (4000)
  2083. #define DETECTION_LATENCY_THRESHOLD (3900)
  2084. #endif
  2085. #endif
  2086. #ifdef CONFIG_FEATURE_WDS
  2087. #define FEATURE_WDS (1)
  2088. #endif
  2089. #ifdef CONFIG_FEATURE_MEC
  2090. #define FEATURE_MEC (1)
  2091. #endif
  2092. #ifdef CONFIG_FEATURE_MCL_REPEATER
  2093. #define FEATURE_MCL_REPEATER (1)
  2094. #endif
  2095. #ifdef CONFIG_WDS_CONV_TARGET_IF_OPS_ENABLE
  2096. #define WDS_CONV_TARGET_IF_OPS_ENABLE (1)
  2097. #endif
  2098. #ifdef CONFIG_BYPASS_WDS_OL_OPS
  2099. #define BYPASS_OL_OPS (1)
  2100. #endif
  2101. #ifdef CONFIG_IPA_WDI3_TX_TWO_PIPES
  2102. #define IPA_WDI3_TX_TWO_PIPES (1)
  2103. #endif
  2104. #ifdef CONFIG_DP_TX_TRACKING
  2105. #define DP_TX_TRACKING (1)
  2106. #endif
  2107. #ifdef CONFIG_CHIP_VERSION
  2108. #define CHIP_VERSION (CONFIG_CHIP_VERSION)
  2109. #endif
  2110. #ifdef CONFIG_WLAN_FEATURE_MARK_FIRST_WAKEUP_PACKET
  2111. #define WLAN_FEATURE_MARK_FIRST_WAKEUP_PACKET (1)
  2112. #endif
  2113. #ifdef CONFIG_SHUTDOWN_WLAN_IN_SYSTEM_SUSPEND
  2114. #define SHUTDOWN_WLAN_IN_SYSTEM_SUSPEND (1)
  2115. #endif
  2116. #ifdef CONFIG_WLAN_FEATURE_MCC_QUOTA
  2117. #define WLAN_FEATURE_MCC_QUOTA (1)
  2118. #ifdef CONFIG_WLAN_MCC_MIN_CHANNEL_QUOTA
  2119. #define WLAN_MCC_MIN_CHANNEL_QUOTA (CONFIG_WLAN_MCC_MIN_CHANNEL_QUOTA)
  2120. #endif
  2121. #endif
  2122. #ifdef CONFIG_WLAN_FEATURE_PEER_TXQ_FLUSH_CONF
  2123. #define WLAN_FEATURE_PEER_TXQ_FLUSH_CONF (1)
  2124. #endif
  2125. #ifdef CONFIG_DP_HW_TX_DELAY_STATS_ENABLE
  2126. #define HW_TX_DELAY_STATS_ENABLE (1)
  2127. #endif
  2128. #ifdef CONFIG_CNSS_HW_SECURE_DISABLE
  2129. #define FEATURE_CNSS_HW_SECURE_DISABLE (1)
  2130. #endif
  2131. #ifdef CONFIG_FEATURE_COEX
  2132. #ifdef CONFIG_WLAN_FEATURE_COEX_DBAM
  2133. #define WLAN_FEATURE_DBAM_CONFIG (1)
  2134. #endif
  2135. #endif
  2136. #ifdef CONFIG_WLAN_FEATURE_COAP
  2137. #define WLAN_FEATURE_COAP (1)
  2138. #endif
  2139. #ifdef CONFIG_CNSS2_SSR_DRIVER_DUMP
  2140. #define WLAN_FEATURE_SSR_DRIVER_DUMP (1)
  2141. #endif
  2142. #ifdef CONFIG_WLAN_CTRL_NAME
  2143. #define WLAN_CTRL_NAME (CONFIG_WLAN_CTRL_NAME)
  2144. #endif
  2145. #ifdef CONFIG_ENABLE_CE4_COMP_DISABLE_HTT_HTC_MISC_LIST
  2146. #define ENABLE_CE4_COMP_DISABLE_HTT_HTC_MISC_LIST
  2147. #endif
  2148. #if defined(CONFIG_LITHIUM) || defined(CONFIG_BERYLLIUM)
  2149. #ifdef CONFIG_QCOM_TDLS
  2150. #define TDLS_WOW_ENABLED (1)
  2151. #endif
  2152. #endif
  2153. #ifdef CONFIG_MORE_TX_DESC
  2154. #define TX_TO_NPEERS_INC_TX_DESCS
  2155. #endif
  2156. #ifdef CONFIG_WLAN_HOST_ARCH_ARM
  2157. #define WLAN_HOST_ARCH_ARM (1)
  2158. #else
  2159. #define WLAN_HOST_ARCH_ARM (0)
  2160. #endif
  2161. #ifdef CONFIG_PANIC_ON_BUG
  2162. #define PANIC_ON_BUG (1)
  2163. #endif
  2164. #ifdef CONFIG_WLAN_WARN_ON_ASSERT
  2165. #define WLAN_WARN_ON_ASSERT (1)
  2166. #endif
  2167. #ifdef CONFIG_WLAN_DP_LOCAL_PKT_CAPTURE
  2168. #define WLAN_FEATURE_LOCAL_PKT_CAPTURE (1)
  2169. #endif
  2170. #ifdef CONFIG_WIFI_MONITOR_SUPPORT_Y_WLAN_TX_MON_2_0
  2171. #define WLAN_PKT_CAPTURE_TX_2_0 (1)
  2172. #define WLAN_TX_PKT_CAPTURE_ENH_BE (1)
  2173. #define QDF_FRAG_CACHE_SUPPORT (1)
  2174. #endif
  2175. #ifdef CONFIG_DP_TX_PACKET_INSPECT_FOR_ILP
  2176. #define DP_TX_PACKET_INSPECT_FOR_ILP (1)
  2177. #endif
  2178. #ifdef CONFIG_NUM_SOC_PERF_CLUSTER
  2179. #define NUM_SOC_PERF_CLUSTER (CONFIG_NUM_SOC_PERF_CLUSTER)
  2180. #endif
  2181. #ifdef CONFIG_WLAN_OPEN_SOURCE
  2182. #define WLAN_OPEN_SOURCE (1)
  2183. #endif
  2184. #ifdef CONFIG_DP_MULTIPASS_SUPPORT
  2185. #define QCA_MULTIPASS_SUPPORT (1)
  2186. #define WLAN_REPEATER_NOT_SUPPORTED (1)
  2187. #define QCA_SUPPORT_PEER_ISOLATION (1)
  2188. #endif
  2189. #ifdef CONFIG_WLAN_FEATURE_LL_LT_SAP
  2190. #define WLAN_FEATURE_LL_LT_SAP (1)
  2191. #endif
  2192. #ifdef CONFIG_WLAN_FEATURE_AFFINITY_MGR
  2193. #define WLAN_FEATURE_AFFINITY_MGR (1)
  2194. #endif
  2195. #ifdef CONFIG_WLAN_DP_VDEV_NO_SELF_PEER
  2196. #define WLAN_DP_VDEV_NO_SELF_PEER (1)
  2197. #endif
  2198. #ifdef CONFIG_NL80211_EXT_FEATURE_PUNCT_SUPPORT
  2199. #define NL80211_EXT_FEATURE_PUNCT_SUPPORT (1)
  2200. #endif
  2201. #ifdef CONFIG_DP_MLO_LINK_STATS_SUPPORT
  2202. #define DP_MLO_LINK_STATS_SUPPORT (1)
  2203. #endif
  2204. #ifdef CONFIG_MULTI_IF_NAME
  2205. #define MULTI_IF_NAME CONFIG_MULTI_IF_NAME
  2206. #endif
  2207. #ifdef CONFIG_FEATURE_HIF_DELAYED_REG_WRITE
  2208. #define FEATURE_HIF_DELAYED_REG_WRITE (1)
  2209. #endif
  2210. #ifdef CONFIG_WLAN_FEATURE_11BE_MLO
  2211. #ifndef CONFIG_WLAN_MAX_ML_DEFAULT_LINK
  2212. #define CONFIG_WLAN_MAX_ML_DEFAULT_LINK (2)
  2213. #endif
  2214. #else
  2215. #ifndef CONFIG_WLAN_MAX_ML_DEFAULT_LINK
  2216. #define CONFIG_WLAN_MAX_ML_DEFAULT_LINK (1)
  2217. #endif
  2218. #endif
  2219. #ifdef CONFIG_WLAN_MAX_ML_DEFAULT_LINK
  2220. #define WLAN_MAX_ML_DEFAULT_LINK CONFIG_WLAN_MAX_ML_DEFAULT_LINK
  2221. #endif
  2222. #ifdef CONFIG_WLAN_FEATURE_11BE_MLO
  2223. #ifndef CONFIG_WLAN_MAX_ML_BSS_LINKS
  2224. #define CONFIG_WLAN_MAX_ML_BSS_LINKS (3)
  2225. #endif
  2226. #else
  2227. #ifndef CONFIG_WLAN_MAX_ML_BSS_LINKS
  2228. #define CONFIG_WLAN_MAX_ML_BSS_LINKS (1)
  2229. #endif
  2230. #endif
  2231. #ifdef CONFIG_WLAN_MAX_ML_BSS_LINKS
  2232. #define WLAN_MAX_ML_BSS_LINKS CONFIG_WLAN_MAX_ML_BSS_LINKS
  2233. #endif
  2234. #ifdef CONFIG_WALT_GET_CPU_TAKEN_SUPPORT
  2235. #define WALT_GET_CPU_TAKEN_SUPPORT (1)
  2236. #endif
  2237. #ifdef CONFIG_WLAN_HDD_MULTI_VDEV_SINGLE_NDEV
  2238. #define WLAN_HDD_MULTI_VDEV_SINGLE_NDEV (1)
  2239. #endif
  2240. #ifdef CONFIG_WLAN_FEATURE_CE_RX_BUFFER_REUSE
  2241. #define WLAN_FEATURE_CE_RX_BUFFER_REUSE (1)
  2242. #endif
  2243. #endif /* CONFIG_TO_FEATURE_H */