config_to_feature.h 55 KB

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