wlan_qcacld3_modules.bzl 82 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323
  1. load("//build/bazel_common_rules/dist:dist.bzl", "copy_to_dist_dir")
  2. load("//build/kernel/kleaf:kernel.bzl", "ddk_module")
  3. load("//msm-kernel:target_variants.bzl", "get_all_variants")
  4. _target_chipset_map = {
  5. "niobe": [
  6. "kiwi-v2",
  7. ],
  8. "pineapple": [
  9. "peach",
  10. "kiwi-v2",
  11. "qca6750",
  12. ],
  13. "sun": [
  14. "peach",
  15. "kiwi-v2",
  16. ],
  17. }
  18. _chipset_hw_map = {
  19. "kiwi-v2": "BERYLLIUM",
  20. "peach": "BERYLLIUM",
  21. "qca6750": "MOSELLE",
  22. }
  23. _chipset_header_map = {
  24. "peach": [
  25. "api/hw/peach/v1",
  26. "cmn/hal/wifi3.0/kiwi",
  27. ],
  28. "kiwi-v2": [
  29. "api/hw/kiwi/v2",
  30. "cmn/hal/wifi3.0/kiwi",
  31. ],
  32. "qca6750" : [
  33. "api/hw/qca6750/v1",
  34. "cmn/hal/wifi3.0/qca6750",
  35. ],
  36. }
  37. _hw_header_map = {
  38. "BERYLLIUM": [
  39. "cmn/hal/wifi3.0/be",
  40. ],
  41. "MOSELLE" : [
  42. "cmn/hal/wifi3.0/li",
  43. ],
  44. }
  45. _fixed_includes = [
  46. "configs/default_config.h",
  47. "configs/config_to_feature.h",
  48. ]
  49. _fixed_ipaths = [
  50. "api/fw",
  51. "cmn/cfg/inc",
  52. "cmn/coex/dispatcher/inc",
  53. "cmn/dp/cmn_dp_api",
  54. "cmn/dp/inc",
  55. "cmn/dp/wifi3.0",
  56. "cmn/dp/wifi3.0/be",
  57. "cmn/dp/wifi3.0/monitor",
  58. "cmn/dp/wifi3.0/monitor/1.0",
  59. "cmn/dp/wifi3.0/monitor/2.0",
  60. "cmn/ftm/core/src",
  61. "cmn/ftm/dispatcher/inc",
  62. "cmn/global_lmac_if/inc",
  63. "cmn/global_lmac_if/src",
  64. "cmn/gpio/core/inc",
  65. "cmn/gpio/dispatcher/inc",
  66. "cmn/hal/wifi3.0",
  67. "cmn/hif/inc",
  68. "cmn/hif/src",
  69. "cmn/hif/src/ce",
  70. "cmn/hif/src/dispatcher",
  71. "cmn/hif/src/pcie",
  72. "cmn/hif/src/ipcie",
  73. "cmn/htc",
  74. "cmn/init_deinit/dispatcher/inc",
  75. "cmn/ipa/core/inc",
  76. "cmn/ipa/dispatcher/inc",
  77. "cmn/os_if/linux",
  78. "cmn/os_if/linux/afc/inc",
  79. "cmn/os_if/linux/cp_stats/inc",
  80. "cmn/os_if/linux/crypto/inc",
  81. "cmn/os_if/linux/ftm/inc",
  82. "cmn/os_if/linux/ftm/src",
  83. "cmn/os_if/linux/gpio/inc",
  84. "cmn/os_if/linux/mlme/inc",
  85. "cmn/os_if/linux/scan/inc",
  86. "cmn/os_if/linux/spectral/inc",
  87. "cmn/os_if/linux/twt/inc",
  88. "cmn/os_if/linux/wifi_pos/inc",
  89. "cmn/qal/inc",
  90. "cmn/qal/linux/src",
  91. "cmn/qdf/inc",
  92. "cmn/qdf/linux/src",
  93. "cmn/qdf/test",
  94. "cmn/scheduler/inc",
  95. "cmn/spectral/core",
  96. "cmn/spectral/dispatcher/inc",
  97. "cmn/target_if/cfr/inc",
  98. "cmn/target_if/core/inc",
  99. "cmn/target_if/core/src",
  100. "cmn/target_if/cp_stats/inc",
  101. "cmn/target_if/crypto/inc",
  102. "cmn/target_if/dcs/inc",
  103. "cmn/target_if/dfs/inc",
  104. "cmn/target_if/direct_buf_rx/inc",
  105. "cmn/target_if/direct_buf_rx/src",
  106. "cmn/target_if/dispatcher/inc",
  107. "cmn/target_if/dp/inc",
  108. "cmn/target_if/ftm/inc",
  109. "cmn/target_if/gpio",
  110. "cmn/target_if/green_ap/inc",
  111. "cmn/target_if/init_deinit/inc",
  112. "cmn/target_if/ipa/inc",
  113. "cmn/target_if/mlme/psoc/inc",
  114. "cmn/target_if/mlme/vdev_mgr/inc",
  115. "cmn/target_if/mlo_mgr/inc",
  116. "cmn/target_if/regulatory/inc",
  117. "cmn/target_if/scan/inc",
  118. "cmn/target_if/son/inc",
  119. "cmn/target_if/spatial_reuse/inc",
  120. "cmn/target_if/spectral",
  121. "cmn/target_if/twt/inc",
  122. "cmn/target_if/wifi_pos/inc",
  123. "cmn/umac",
  124. "cmn/umac/afc/core/inc",
  125. "cmn/umac/afc/dispatcher/inc",
  126. "cmn/umac/cfr/core/inc",
  127. "cmn/umac/cfr/dispatcher/inc",
  128. "cmn/umac/cmn_services/cmn_defs/inc",
  129. "cmn/umac/cmn_services/crypto/inc",
  130. "cmn/umac/cmn_services/crypto/src",
  131. "cmn/umac/cmn_services/inc",
  132. "cmn/umac/cmn_services/interface_mgr/inc",
  133. "cmn/umac/cmn_services/mgmt_txrx/dispatcher/inc",
  134. "cmn/umac/cmn_services/obj_mgr/inc",
  135. "cmn/umac/cmn_services/obj_mgr/src",
  136. "cmn/umac/cmn_services/regulatory/inc",
  137. "cmn/umac/cmn_services/serialization/inc",
  138. "cmn/umac/cmn_services/sm_engine/inc",
  139. "cmn/umac/cmn_services/utils/inc",
  140. "cmn/umac/cp_stats/dispatcher/inc",
  141. "cmn/umac/dcs/dispatcher/inc",
  142. "cmn/umac/dfs/dispatcher/inc",
  143. "cmn/umac/global_umac_dispatcher/lmac_if/inc",
  144. "cmn/umac/green_ap/dispatcher/inc",
  145. "cmn/umac/mlme",
  146. "cmn/umac/mlme/connection_mgr/dispatcher/inc",
  147. "cmn/umac/mlme/connection_mgr/utf/inc",
  148. "cmn/umac/mlme/include",
  149. "cmn/umac/mlme/mlme_objmgr/dispatcher/inc",
  150. "cmn/umac/mlme/mlme_utils",
  151. "cmn/umac/mlme/pdev_mgr/dispatcher/inc",
  152. "cmn/umac/mlme/psoc_mgr/dispatcher/inc",
  153. "cmn/umac/mlme/vdev_mgr/dispatcher/inc",
  154. "cmn/umac/mlo_mgr/inc",
  155. "cmn/umac/regulatory/dispatcher/inc",
  156. "cmn/umac/regulatory/core/inc",
  157. "cmn/umac/regulatory/core/src",
  158. "cmn/umac/scan/dispatcher/inc",
  159. "cmn/umac/thermal/dispatcher/inc",
  160. "cmn/umac/twt/dispatcher/inc",
  161. "cmn/umac/wifi_pos/inc",
  162. "cmn/umac/wifi_radar/core/inc",
  163. "cmn/umac/wifi_radar/dispatcher/inc",
  164. "cmn/utils/epping/inc",
  165. "cmn/utils/fwlog",
  166. "cmn/utils/host_diag_log/inc",
  167. "cmn/utils/host_diag_log/src",
  168. "cmn/utils/logging/inc",
  169. "cmn/utils/nlink/inc",
  170. "cmn/utils/pktlog/include",
  171. "cmn/utils/ptt/inc",
  172. "cmn/utils/sys",
  173. "cmn/wbuff/inc",
  174. "cmn/wbuff/src",
  175. "cmn/wlan_cfg",
  176. "cmn/wmi/inc",
  177. "cmn/wmi/src",
  178. "components/action_oui/core/inc",
  179. "components/action_oui/dispatcher/inc",
  180. "components/cfg",
  181. "components/cmn_services/interface_mgr/inc",
  182. "components/cmn_services/logging/inc",
  183. "components/cmn_services/policy_mgr/inc",
  184. "components/cmn_services/policy_mgr/src",
  185. "components/coap/core/inc",
  186. "components/coap/dispatcher/inc",
  187. "components/coex/core/inc",
  188. "components/coex/dispatcher/inc",
  189. "components/cp_stats/dispatcher/inc",
  190. "components/target_if/mlme/inc",
  191. "components/denylist_mgr/core/inc",
  192. "components/denylist_mgr/dispatcher/inc",
  193. "components/disa/core/inc",
  194. "components/disa/dispatcher/inc",
  195. "components/dp/core/inc",
  196. "components/dp/core/src",
  197. "components/dp/dispatcher/inc",
  198. "components/dsc/inc",
  199. "components/dsc/src",
  200. "components/dsc/test",
  201. "components/ftm_time_sync/core/inc",
  202. "components/ftm_time_sync/dispatcher/inc",
  203. "components/fw_offload/core/inc",
  204. "components/fw_offload/dispatcher/inc",
  205. "components/interop_issues_ap/core/inc",
  206. "components/interop_issues_ap/dispatcher/inc",
  207. "components/mlme/core/inc",
  208. "components/mlme/core/src",
  209. "components/mlme/dispatcher/inc",
  210. "components/nan/core/inc",
  211. "components/nan/core/src",
  212. "components/nan/dispatcher/inc",
  213. "components/ocb/core/inc",
  214. "components/ocb/dispatcher/inc",
  215. "components/p2p/dispatcher/inc",
  216. "components/p2p/core/src",
  217. "components/pkt_capture/core/inc",
  218. "components/pkt_capture/dispatcher/inc",
  219. "components/pmo/core/inc",
  220. "components/pmo/core/src",
  221. "components/pmo/dispatcher/inc",
  222. "components/pmo/dispatcher/src",
  223. "components/pre_cac/dispatcher/inc",
  224. "components/pre_cac/core/src",
  225. "components/qmi/core/inc",
  226. "components/qmi/core/src",
  227. "components/qmi/dispatcher/inc",
  228. "components/son/dispatcher/inc",
  229. "components/spatial_reuse/dispatcher/inc",
  230. "components/target_if/action_oui/inc",
  231. "components/target_if/coap/inc",
  232. "components/target_if/coex/inc",
  233. "components/target_if/connection_mgr/inc",
  234. "components/target_if/denylist_mgr/inc",
  235. "components/target_if/disa/inc",
  236. "components/target_if/dp/inc",
  237. "components/target_if/fw_offload/inc",
  238. "components/target_if/interop_issues_ap/inc",
  239. "components/target_if/nan/inc",
  240. "components/target_if/p2p/inc",
  241. "components/target_if/pkt_capture/inc",
  242. "components/target_if/pmo/inc",
  243. "components/target_if/pmo/src",
  244. "components/target_if/sap/ll_sap/inc",
  245. "components/target_if/tdls/inc",
  246. "components/target_if/wfa_config/inc",
  247. "components/tdls/dispatcher/inc",
  248. "components/tdls/core/inc",
  249. "components/tdls/core/src",
  250. "components/umac",
  251. "components/umac/mlme/connection_mgr/dispatcher/inc",
  252. "components/umac/mlme/connection_mgr/utf/inc",
  253. "components/umac/mlme/mlo_mgr/inc",
  254. "components/umac/mlme/mlo_mgr/dispatcher/inc",
  255. "components/umac/mlme/wfa_config/dispatcher/inc",
  256. "components/umac/mlme/sap/ll_sap/dispatcher/inc",
  257. "components/umac/twt/dispatcher/inc",
  258. "components/wifi_pos/core/inc",
  259. "components/wifi_pos/dispatcher/inc",
  260. "components/wmi/inc",
  261. "components/wmi/src",
  262. "core/bmi/inc",
  263. "core/cds/inc",
  264. "core/cds/src",
  265. "core/dp/htt",
  266. "core/dp/ol/inc",
  267. "core/dp/txrx",
  268. "core/hdd/inc",
  269. "core/hdd/src",
  270. "core/mac/inc",
  271. "core/mac/src/dph",
  272. "core/mac/src/include",
  273. "core/mac/src/pe/include",
  274. "core/mac/src/pe/lim",
  275. "core/mac/src/pe/nan",
  276. "core/mac/src/sys/common/inc",
  277. "core/mac/src/sys/legacy/src/platform/inc",
  278. "core/mac/src/sys/legacy/src/system/inc",
  279. "core/mac/src/sys/legacy/src/utils/inc",
  280. "core/pld/inc",
  281. "core/pld/src",
  282. "core/sap/inc",
  283. "core/sap/src",
  284. "core/sme/inc",
  285. "core/sme/src/common",
  286. "core/sme/src/csr",
  287. "core/sme/src/nan",
  288. "core/sme/src/qos",
  289. "core/sme/src/rrm",
  290. "core/wma/inc",
  291. "core/wma/src",
  292. "os_if/coap/inc",
  293. "os_if/coex/inc",
  294. "os_if/cp_stats/inc",
  295. "os_if/dp/inc",
  296. "os_if/fw_offload/inc",
  297. "os_if/interop_issues_ap/inc",
  298. "os_if/mlme/sap/ll_sap/inc",
  299. "os_if/nan/inc",
  300. "os_if/p2p/inc",
  301. "os_if/pkt_capture/inc",
  302. "os_if/pre_cac/inc",
  303. "os_if/qmi/inc",
  304. "os_if/son/inc",
  305. "os_if/sync/inc",
  306. "os_if/sync/src",
  307. "os_if/tdls/inc",
  308. "os_if/twt/inc",
  309. "uapi/linux",
  310. ]
  311. # paths where include files are private in src folders
  312. _private_ipaths = [
  313. "cmn/os_if/linux/mlme/src",
  314. ]
  315. _fixed_srcs = [
  316. "cmn/cfg/src/cfg.c",
  317. "cmn/dp/wifi3.0/dp_arch_ops.c",
  318. "cmn/dp/wifi3.0/dp_htt.c",
  319. "cmn/dp/wifi3.0/dp_main.c",
  320. "cmn/dp/wifi3.0/dp_peer.c",
  321. "cmn/dp/wifi3.0/dp_rx.c",
  322. "cmn/dp/wifi3.0/dp_rx_defrag.c",
  323. "cmn/dp/wifi3.0/dp_rx_desc.c",
  324. "cmn/dp/wifi3.0/dp_stats.c",
  325. "cmn/dp/wifi3.0/dp_tx.c",
  326. "cmn/dp/wifi3.0/dp_tx_desc.c",
  327. "cmn/global_lmac_if/src/wlan_global_lmac_if.c",
  328. "cmn/hif/src/ath_procfs.c",
  329. "cmn/hif/src/ce/ce_diag.c",
  330. "cmn/hif/src/ce/ce_main.c",
  331. "cmn/hif/src/ce/ce_service.c",
  332. "cmn/hif/src/ce/ce_tasklet.c",
  333. "cmn/hif/src/dispatcher/dummy.c",
  334. "cmn/hif/src/dispatcher/multibus.c",
  335. "cmn/hif/src/hif_exec.c",
  336. "cmn/hif/src/hif_main.c",
  337. "cmn/hif/src/hif_runtime_pm.c",
  338. "cmn/hif/src/mp_dev.c",
  339. "cmn/hif/src/regtable.c",
  340. "cmn/htc/htc.c",
  341. "cmn/htc/htc_recv.c",
  342. "cmn/htc/htc_send.c",
  343. "cmn/htc/htc_services.c",
  344. "cmn/init_deinit/dispatcher/src/dispatcher_init_deinit.c",
  345. "cmn/os_if/linux/crypto/src/wlan_cfg80211_crypto.c",
  346. "cmn/os_if/linux/crypto/src/wlan_nl_to_crypto_params.c",
  347. "cmn/os_if/linux/mlme/src/osif_cm_connect_rsp.c",
  348. "cmn/os_if/linux/mlme/src/osif_cm_disconnect_rsp.c",
  349. "cmn/os_if/linux/mlme/src/osif_cm_req.c",
  350. "cmn/os_if/linux/mlme/src/osif_cm_roam_rsp.c",
  351. "cmn/os_if/linux/mlme/src/osif_cm_util.c",
  352. "cmn/os_if/linux/mlme/src/osif_vdev_mgr_util.c",
  353. "cmn/os_if/linux/scan/src/wlan_cfg80211_scan.c",
  354. "cmn/os_if/linux/wlan_cfg80211.c",
  355. "cmn/os_if/linux/wlan_osif_request_manager.c",
  356. "cmn/qdf/linux/src/qdf_crypto.c",
  357. "cmn/qdf/linux/src/qdf_defer.c",
  358. "cmn/qdf/linux/src/qdf_delayed_work.c",
  359. "cmn/qdf/linux/src/qdf_event.c",
  360. "cmn/qdf/linux/src/qdf_file.c",
  361. "cmn/qdf/linux/src/qdf_func_tracker.c",
  362. "cmn/qdf/linux/src/qdf_idr.c",
  363. "cmn/qdf/linux/src/qdf_list.c",
  364. "cmn/qdf/linux/src/qdf_lock.c",
  365. "cmn/qdf/linux/src/qdf_mc_timer.c",
  366. "cmn/qdf/linux/src/qdf_mem.c",
  367. "cmn/qdf/linux/src/qdf_nbuf.c",
  368. "cmn/qdf/linux/src/qdf_nbuf_frag.c",
  369. "cmn/qdf/linux/src/qdf_periodic_work.c",
  370. "cmn/qdf/linux/src/qdf_status.c",
  371. "cmn/qdf/linux/src/qdf_threads.c",
  372. "cmn/qdf/linux/src/qdf_trace.c",
  373. "cmn/qdf/src/qdf_flex_mem.c",
  374. "cmn/qdf/src/qdf_parse.c",
  375. "cmn/qdf/src/qdf_platform.c",
  376. "cmn/qdf/src/qdf_str.c",
  377. "cmn/qdf/src/qdf_talloc.c",
  378. "cmn/qdf/src/qdf_types.c",
  379. "cmn/scheduler/src/scheduler_api.c",
  380. "cmn/scheduler/src/scheduler_core.c",
  381. "cmn/target_if/core/src/target_if_main.c",
  382. "cmn/target_if/crypto/src/target_if_crypto.c",
  383. "cmn/target_if/dp/src/target_if_dp.c",
  384. "cmn/target_if/init_deinit/src/init_cmd_api.c",
  385. "cmn/target_if/init_deinit/src/init_deinit_lmac.c",
  386. "cmn/target_if/init_deinit/src/init_event_handler.c",
  387. "cmn/target_if/init_deinit/src/service_ready_util.c",
  388. "cmn/target_if/mlme/psoc/src/target_if_psoc_timer_tx_ops.c",
  389. "cmn/target_if/mlme/vdev_mgr/src/target_if_vdev_mgr_rx_ops.c",
  390. "cmn/target_if/mlme/vdev_mgr/src/target_if_vdev_mgr_tx_ops.c",
  391. "cmn/target_if/regulatory/src/target_if_reg_11d.c",
  392. "cmn/target_if/regulatory/src/target_if_reg.c",
  393. "cmn/target_if/regulatory/src/target_if_reg_lte.c",
  394. "cmn/target_if/scan/src/target_if_scan.c",
  395. "cmn/umac/cmn_services/crypto/src/wlan_crypto_global_api.c",
  396. "cmn/umac/cmn_services/crypto/src/wlan_crypto_main.c",
  397. "cmn/umac/cmn_services/crypto/src/wlan_crypto_obj_mgr.c",
  398. "cmn/umac/cmn_services/crypto/src/wlan_crypto_param_handling.c",
  399. "cmn/umac/cmn_services/crypto/src/wlan_crypto_ucfg_api.c",
  400. "cmn/umac/cmn_services/interface_mgr/src/wlan_if_mgr_core.c",
  401. "cmn/umac/cmn_services/interface_mgr/src/wlan_if_mgr_main.c",
  402. "cmn/umac/cmn_services/mgmt_txrx/core/src/wlan_mgmt_txrx_main.c",
  403. "cmn/umac/cmn_services/mgmt_txrx/dispatcher/src/wlan_mgmt_txrx_tgt_api.c",
  404. "cmn/umac/cmn_services/mgmt_txrx/dispatcher/src/wlan_mgmt_txrx_utils_api.c",
  405. "cmn/umac/cmn_services/obj_mgr/src/wlan_objmgr_global_obj.c",
  406. "cmn/umac/cmn_services/obj_mgr/src/wlan_objmgr_pdev_obj.c",
  407. "cmn/umac/cmn_services/obj_mgr/src/wlan_objmgr_peer_obj.c",
  408. "cmn/umac/cmn_services/obj_mgr/src/wlan_objmgr_psoc_obj.c",
  409. "cmn/umac/cmn_services/obj_mgr/src/wlan_objmgr_vdev_obj.c",
  410. "cmn/umac/cmn_services/serialization/src/wlan_serialization_api.c",
  411. "cmn/umac/cmn_services/serialization/src/wlan_serialization_internal.c",
  412. "cmn/umac/cmn_services/serialization/src/wlan_serialization_legacy_api.c",
  413. "cmn/umac/cmn_services/serialization/src/wlan_serialization_main.c",
  414. "cmn/umac/cmn_services/serialization/src/wlan_serialization_non_scan.c",
  415. "cmn/umac/cmn_services/serialization/src/wlan_serialization_queue.c",
  416. "cmn/umac/cmn_services/serialization/src/wlan_serialization_rules.c",
  417. "cmn/umac/cmn_services/serialization/src/wlan_serialization_scan.c",
  418. "cmn/umac/cmn_services/serialization/src/wlan_serialization_utils.c",
  419. "cmn/umac/cmn_services/sm_engine/src/wlan_sm_engine.c",
  420. "cmn/umac/cmn_services/utils/src/wlan_utility.c",
  421. "cmn/umac/global_umac_dispatcher/lmac_if/src/wlan_lmac_if.c",
  422. "cmn/umac/mlme/connection_mgr/core/src/wlan_cm_bss_scoring.c",
  423. "cmn/umac/mlme/connection_mgr/core/src/wlan_cm_connect.c",
  424. "cmn/umac/mlme/connection_mgr/core/src/wlan_cm_connect_scan.c",
  425. "cmn/umac/mlme/connection_mgr/core/src/wlan_cm_disconnect.c",
  426. "cmn/umac/mlme/connection_mgr/core/src/wlan_cm_main.c",
  427. "cmn/umac/mlme/connection_mgr/core/src/wlan_cm_roam_sm.c",
  428. "cmn/umac/mlme/connection_mgr/core/src/wlan_cm_sm.c",
  429. "cmn/umac/mlme/connection_mgr/core/src/wlan_cm_util.c",
  430. "cmn/umac/mlme/connection_mgr/dispatcher/src/wlan_cm_api.c",
  431. "cmn/umac/mlme/connection_mgr/dispatcher/src/wlan_cm_ucfg_api.c",
  432. "cmn/umac/mlme/mlme_objmgr/dispatcher/src/wlan_cmn_mlme_main.c",
  433. "cmn/umac/mlme/mlme_objmgr/dispatcher/src/wlan_pdev_mlme_main.c",
  434. "cmn/umac/mlme/mlme_objmgr/dispatcher/src/wlan_psoc_mlme_main.c",
  435. "cmn/umac/mlme/mlme_objmgr/dispatcher/src/wlan_vdev_mlme_main.c",
  436. "cmn/umac/mlme/mlme_utils/wlan_vdev_mlme_ser_if.c",
  437. "cmn/umac/mlme/pdev_mgr/dispatcher/src/wlan_pdev_mlme_api.c",
  438. "cmn/umac/mlme/psoc_mgr/dispatcher/src/wlan_psoc_mlme_api.c",
  439. "cmn/umac/mlme/psoc_mgr/dispatcher/src/wlan_psoc_mlme_ucfg_api.c",
  440. "cmn/umac/mlme/vdev_mgr/core/src/vdev_mgr_ops.c",
  441. "cmn/umac/mlme/vdev_mgr/core/src/vdev_mlme_sm.c",
  442. "cmn/umac/mlme/vdev_mgr/dispatcher/src/wlan_vdev_mgr_api.c",
  443. "cmn/umac/mlme/vdev_mgr/dispatcher/src/wlan_vdev_mgr_tgt_if_rx_api.c",
  444. "cmn/umac/mlme/vdev_mgr/dispatcher/src/wlan_vdev_mgr_tgt_if_tx_api.c",
  445. "cmn/umac/mlme/vdev_mgr/dispatcher/src/wlan_vdev_mgr_ucfg_api.c",
  446. "cmn/umac/mlme/vdev_mgr/dispatcher/src/wlan_vdev_mgr_utils_api.c",
  447. "cmn/umac/mlme/vdev_mgr/dispatcher/src/wlan_vdev_mlme_api.c",
  448. "cmn/umac/regulatory/core/src/reg_build_chan_list.c",
  449. "cmn/umac/regulatory/core/src/reg_callbacks.c",
  450. "cmn/umac/regulatory/core/src/reg_db.c",
  451. "cmn/umac/regulatory/core/src/reg_db_parser.c",
  452. "cmn/umac/regulatory/core/src/reg_lte.c",
  453. "cmn/umac/regulatory/core/src/reg_offload_11d_scan.c",
  454. "cmn/umac/regulatory/core/src/reg_opclass.c",
  455. "cmn/umac/regulatory/core/src/reg_priv_objs.c",
  456. "cmn/umac/regulatory/core/src/reg_services_common.c",
  457. "cmn/umac/regulatory/core/src/reg_utils.c",
  458. "cmn/umac/regulatory/dispatcher/src/wlan_reg_services_api.c",
  459. "cmn/umac/regulatory/dispatcher/src/wlan_reg_tgt_api.c",
  460. "cmn/umac/regulatory/dispatcher/src/wlan_reg_ucfg_api.c",
  461. "cmn/umac/scan/core/src/wlan_scan_11d.c",
  462. "cmn/umac/scan/core/src/wlan_scan_cache_db.c",
  463. "cmn/umac/scan/core/src/wlan_scan_filter.c",
  464. "cmn/umac/scan/core/src/wlan_scan_main.c",
  465. "cmn/umac/scan/core/src/wlan_scan_manager.c",
  466. "cmn/umac/scan/dispatcher/src/wlan_scan_api.c",
  467. "cmn/umac/scan/dispatcher/src/wlan_scan_tgt_api.c",
  468. "cmn/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c",
  469. "cmn/umac/scan/dispatcher/src/wlan_scan_utils_api.c",
  470. "cmn/utils/logging/src/wlan_logging_sock_svc.c",
  471. "cmn/utils/logging/src/wlan_roam_debug.c",
  472. "cmn/utils/nlink/src/wlan_nlink_srv.c",
  473. "cmn/utils/ptt/src/wlan_ptt_sock_svc.c",
  474. "cmn/wmi/src/wmi_tlv_helper.c",
  475. "cmn/wmi/src/wmi_tlv_platform.c",
  476. "cmn/wmi/src/wmi_unified_api.c",
  477. "cmn/wmi/src/wmi_unified.c",
  478. "cmn/wmi/src/wmi_unified_crypto_api.c",
  479. "cmn/wmi/src/wmi_unified_p2p_api.c",
  480. "cmn/wmi/src/wmi_unified_p2p_tlv.c",
  481. "cmn/wmi/src/wmi_unified_reg_api.c",
  482. "cmn/wmi/src/wmi_unified_tlv.c",
  483. "cmn/wmi/src/wmi_unified_vdev_api.c",
  484. "cmn/wmi/src/wmi_unified_vdev_tlv.c",
  485. "components/cmn_services/interface_mgr/src/wlan_if_mgr_roam.c",
  486. "components/cmn_services/interface_mgr/src/wlan_if_mgr_sap.c",
  487. "components/cmn_services/interface_mgr/src/wlan_if_mgr_sta.c",
  488. "components/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c",
  489. "components/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c",
  490. "components/cmn_services/policy_mgr/src/wlan_policy_mgr_get_set_utils.c",
  491. "components/cmn_services/policy_mgr/src/wlan_policy_mgr_init_deinit.c",
  492. "components/cmn_services/policy_mgr/src/wlan_policy_mgr_pcl.c",
  493. "components/cmn_services/policy_mgr/src/wlan_policy_mgr_ucfg.c",
  494. "components/dp/core/src/wlan_dp_bus_bandwidth.c",
  495. "components/dp/core/src/wlan_dp_main.c",
  496. "components/dp/core/src/wlan_dp_softap_txrx.c",
  497. "components/dp/core/src/wlan_dp_txrx.c",
  498. "components/dp/dispatcher/src/wlan_dp_api.c",
  499. "components/dp/dispatcher/src/wlan_dp_ucfg_api.c",
  500. "components/dsc/src/__wlan_dsc.c",
  501. "components/dsc/src/wlan_dsc_driver.c",
  502. "components/dsc/src/wlan_dsc_psoc.c",
  503. "components/dsc/src/wlan_dsc_vdev.c",
  504. "components/mlme/core/src/wlan_mlme_main.c",
  505. "components/mlme/core/src/wlan_mlme_vdev_mgr_interface.c",
  506. "components/mlme/core/src/wlan_mlme_twt_api.c",
  507. "components/mlme/dispatcher/src/wlan_mlme_api.c",
  508. "components/mlme/dispatcher/src/wlan_mlme_ucfg_api.c",
  509. "components/p2p/core/src/wlan_p2p_main.c",
  510. "components/p2p/core/src/wlan_p2p_off_chan_tx.c",
  511. "components/p2p/core/src/wlan_p2p_roc.c",
  512. "components/p2p/dispatcher/src/wlan_p2p_api.c",
  513. "components/p2p/dispatcher/src/wlan_p2p_cfg.c",
  514. "components/p2p/dispatcher/src/wlan_p2p_tgt_api.c",
  515. "components/p2p/dispatcher/src/wlan_p2p_ucfg_api.c",
  516. "components/target_if/connection_mgr/src/target_if_cm_roam_event.c",
  517. "components/target_if/connection_mgr/src/target_if_cm_roam_offload.c",
  518. "components/target_if/dp/src/target_if_dp_comp.c",
  519. "components/target_if/p2p/src/target_if_p2p.c",
  520. "components/target_if/wfa_config/src/target_if_wfa_testcmd.c",
  521. "components/umac/mlme/connection_mgr/core/src/wlan_cm_roam_offload.c",
  522. "components/umac/mlme/connection_mgr/core/src/wlan_cm_vdev_connect.c",
  523. "components/umac/mlme/connection_mgr/core/src/wlan_cm_vdev_disconnect.c",
  524. "components/umac/mlme/connection_mgr/dispatcher/src/wlan_cm_roam_api.c",
  525. "components/umac/mlme/connection_mgr/dispatcher/src/wlan_cm_roam_ucfg_api.c",
  526. "components/umac/mlme/connection_mgr/dispatcher/src/wlan_cm_tgt_if_tx_api.c",
  527. "components/umac/mlme/wfa_config/dispatcher/src/wlan_wfa_tgt_if_tx_api.c",
  528. "core/cds/src/cds_api.c",
  529. "core/cds/src/cds_packet.c",
  530. "core/cds/src/cds_regdomain.c",
  531. "core/cds/src/cds_reg_service.c",
  532. "core/cds/src/cds_sched.c",
  533. "core/cds/src/cds_utils.c",
  534. "core/hdd/src/wlan_hdd_assoc.c",
  535. "core/hdd/src/wlan_hdd_cfg80211.c",
  536. "core/hdd/src/wlan_hdd_cfg.c",
  537. "core/hdd/src/wlan_hdd_cm_connect.c",
  538. "core/hdd/src/wlan_hdd_cm_disconnect.c",
  539. "core/hdd/src/wlan_hdd_data_stall_detection.c",
  540. "core/hdd/src/wlan_hdd_driver_ops.c",
  541. "core/hdd/src/wlan_hdd_ftm.c",
  542. "core/hdd/src/wlan_hdd_hostapd.c",
  543. "core/hdd/src/wlan_hdd_ioctl.c",
  544. "core/hdd/src/wlan_hdd_main.c",
  545. "core/hdd/src/wlan_hdd_ll_lt_sap.c",
  546. "core/hdd/src/wlan_hdd_object_manager.c",
  547. "core/hdd/src/wlan_hdd_oemdata.c",
  548. "core/hdd/src/wlan_hdd_p2p.c",
  549. "core/hdd/src/wlan_hdd_power.c",
  550. "core/hdd/src/wlan_hdd_regulatory.c",
  551. "core/hdd/src/wlan_hdd_scan.c",
  552. "core/hdd/src/wlan_hdd_softap_tx_rx.c",
  553. "core/hdd/src/wlan_hdd_sta_info.c",
  554. "core/hdd/src/wlan_hdd_stats.c",
  555. "core/hdd/src/wlan_hdd_trace.c",
  556. "core/hdd/src/wlan_hdd_tx_rx.c",
  557. "core/hdd/src/wlan_hdd_wmm.c",
  558. "core/hdd/src/wlan_hdd_wowl.c",
  559. "core/mac/src/dph/dph_hash_table.c",
  560. "core/mac/src/pe/lim/lim_admit_control.c",
  561. "core/mac/src/pe/lim/lim_api.c",
  562. "core/mac/src/pe/lim/lim_assoc_utils.c",
  563. "core/mac/src/pe/lim/lim_ft.c",
  564. "core/mac/src/pe/lim/lim_link_monitoring_algo.c",
  565. "core/mac/src/pe/lim/lim_process_action_frame.c",
  566. "core/mac/src/pe/lim/lim_process_assoc_req_frame.c",
  567. "core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c",
  568. "core/mac/src/pe/lim/lim_process_auth_frame.c",
  569. "core/mac/src/pe/lim/lim_process_beacon_frame.c",
  570. "core/mac/src/pe/lim/lim_process_cfg_updates.c",
  571. "core/mac/src/pe/lim/lim_process_deauth_frame.c",
  572. "core/mac/src/pe/lim/lim_process_disassoc_frame.c",
  573. "core/mac/src/pe/lim/lim_process_message_queue.c",
  574. "core/mac/src/pe/lim/lim_process_mlm_req_messages.c",
  575. "core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c",
  576. "core/mac/src/pe/lim/lim_process_probe_req_frame.c",
  577. "core/mac/src/pe/lim/lim_process_probe_rsp_frame.c",
  578. "core/mac/src/pe/lim/lim_process_sme_req_messages.c",
  579. "core/mac/src/pe/lim/lim_prop_exts_utils.c",
  580. "core/mac/src/pe/lim/lim_scan_result_utils.c",
  581. "core/mac/src/pe/lim/lim_security_utils.c",
  582. "core/mac/src/pe/lim/lim_send_management_frames.c",
  583. "core/mac/src/pe/lim/lim_send_messages.c",
  584. "core/mac/src/pe/lim/lim_send_sme_rsp_messages.c",
  585. "core/mac/src/pe/lim/lim_session.c",
  586. "core/mac/src/pe/lim/lim_session_utils.c",
  587. "core/mac/src/pe/lim/lim_sme_req_utils.c",
  588. "core/mac/src/pe/lim/lim_timer_utils.c",
  589. "core/mac/src/pe/lim/lim_trace.c",
  590. "core/mac/src/pe/lim/lim_utils.c",
  591. "core/mac/src/pe/lim/lim_aid_mgmt.c",
  592. "core/mac/src/pe/rrm/rrm_api.c",
  593. "core/mac/src/pe/sch/sch_api.c",
  594. "core/mac/src/pe/sch/sch_beacon_gen.c",
  595. "core/mac/src/pe/sch/sch_beacon_process.c",
  596. "core/mac/src/pe/sch/sch_message.c",
  597. "core/mac/src/sys/common/src/wlan_qct_sys.c",
  598. "core/mac/src/sys/legacy/src/platform/src/sys_wrapper.c",
  599. "core/mac/src/sys/legacy/src/system/src/mac_init_api.c",
  600. "core/mac/src/sys/legacy/src/system/src/sys_entry_func.c",
  601. "core/mac/src/sys/legacy/src/utils/src/dot11f.c",
  602. "core/mac/src/sys/legacy/src/utils/src/mac_trace.c",
  603. "core/mac/src/sys/legacy/src/utils/src/parser_api.c",
  604. "core/mac/src/sys/legacy/src/utils/src/utils_parser.c",
  605. "core/pld/src/pld_common.c",
  606. "core/sap/src/sap_api_link_cntl.c",
  607. "core/sap/src/sap_ch_select.c",
  608. "core/sap/src/sap_fsm.c",
  609. "core/sap/src/sap_module.c",
  610. "core/sme/src/common/sme_api.c",
  611. "core/sme/src/common/sme_power_save.c",
  612. "core/sme/src/common/sme_trace.c",
  613. "core/sme/src/csr/csr_api_roam.c",
  614. "core/sme/src/csr/csr_api_scan.c",
  615. "core/sme/src/csr/csr_cmd_process.c",
  616. "core/sme/src/csr/csr_link_list.c",
  617. "core/sme/src/csr/csr_util.c",
  618. "core/sme/src/qos/sme_qos.c",
  619. "core/sme/src/rrm/sme_rrm.c",
  620. "core/wma/src/wlan_qct_wma_legacy.c",
  621. "core/wma/src/wma_data.c",
  622. "core/wma/src/wma_dev_if.c",
  623. "core/wma/src/wma_features.c",
  624. "core/wma/src/wma_main.c",
  625. "core/wma/src/wma_mgmt.c",
  626. "core/wma/src/wma_power.c",
  627. "core/wma/src/wma_scan_roam.c",
  628. "core/wma/src/wma_utils.c",
  629. "os_if/dp/src/os_if_dp.c",
  630. "os_if/dp/src/os_if_dp_txrx.c",
  631. "os_if/p2p/src/wlan_cfg80211_p2p.c",
  632. "os_if/sync/src/osif_driver_sync.c",
  633. "os_if/sync/src/osif_psoc_sync.c",
  634. "os_if/sync/src/osif_sync.c",
  635. "os_if/sync/src/osif_vdev_sync.c",
  636. ]
  637. _conditional_srcs = {
  638. "CONFIG_BAND_6GHZ": {
  639. True: [
  640. "cmn/umac/scan/core/src/wlan_scan_manager_6ghz.c",
  641. ],
  642. },
  643. "CONFIG_BERYLLIUM": {
  644. True: [
  645. # TODO: how to handle Kbuild logic
  646. #ifneq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM) $(CONFIG_RHINE)))
  647. #ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM) $(CONFIG_RHINE)))
  648. "cmn/dp/cmn_dp_api/dp_ratetable.c",
  649. "cmn/dp/wifi3.0/be/dp_be.c",
  650. "cmn/dp/wifi3.0/be/dp_be_rx.c",
  651. "cmn/dp/wifi3.0/be/dp_be_tx.c",
  652. "cmn/dp/wifi3.0/dp_reo.c",
  653. "cmn/dp/wifi3.0/dp_rings_main.c",
  654. "cmn/dp/wifi3.0/dp_rx_err.c",
  655. "cmn/dp/wifi3.0/dp_rx_tid.c",
  656. "cmn/hal/wifi3.0/be/hal_be_generic_api.c",
  657. "cmn/hal/wifi3.0/be/hal_be_reo.c",
  658. "cmn/hal/wifi3.0/hal_reo.c",
  659. "cmn/hal/wifi3.0/hal_srng.c",
  660. "cmn/hif/src/ce/ce_service_srng.c",
  661. "cmn/wlan_cfg/wlan_cfg.c",
  662. "components/dp/core/src/wlan_dp_prealloc.c",
  663. ],
  664. },
  665. "CONFIG_BUS_AUTO_SUSPEND": {
  666. True: [
  667. #TODO: need SYSFS-specific flag
  668. "core/hdd/src/wlan_hdd_sysfs_runtime_pm.c",
  669. ],
  670. },
  671. "CONFIG_CM_UTF_ENABLE": {
  672. True: [
  673. "components/umac/mlme/connection_mgr/utf/src/cm_utf.c",
  674. "cmn/umac/mlme/connection_mgr/utf/src/wlan_cm_utf_main.c",
  675. "cmn/umac/mlme/connection_mgr/utf/src/wlan_cm_utf_scan.c",
  676. ],
  677. },
  678. "CONFIG_CNSS2_SSR_DRIVER_DUMP": {
  679. True: [
  680. "cmn/qdf/linux/src/qdf_ssr_driver_dump.c",
  681. ],
  682. },
  683. "CONFIG_CNSS_KIWI_V2": {
  684. True: [
  685. "cmn/hal/wifi3.0/kiwi/hal_kiwi.c",
  686. "cmn/hif/src/kiwidef.c",
  687. ],
  688. },
  689. "CONFIG_QCA6750_HEADERS_DEF": {
  690. True: [
  691. "cmn/hal/wifi3.0/qca6750/hal_6750.c",
  692. "cmn/hif/src/qca6750def.c",
  693. ],
  694. },
  695. "CONFIG_CNSS_PEACH": {
  696. True: [
  697. "cmn/hal/wifi3.0/kiwi/hal_kiwi.c",
  698. ],
  699. },
  700. "CONFIG_CP_STATS": {
  701. True: [
  702. "cmn/target_if/cp_stats/src/target_if_cp_stats.c",
  703. "cmn/umac/cp_stats/core/src/wlan_cp_stats_comp_handler.c",
  704. "cmn/umac/cp_stats/core/src/wlan_cp_stats_obj_mgr_handler.c",
  705. "cmn/umac/cp_stats/core/src/wlan_cp_stats_ol_api.c",
  706. "cmn/umac/cp_stats/dispatcher/src/wlan_cp_stats_ucfg_api.c",
  707. "cmn/umac/cp_stats/dispatcher/src/wlan_cp_stats_utils_api.c",
  708. "cmn/wmi/src/wmi_unified_cp_stats_api.c",
  709. "cmn/wmi/src/wmi_unified_cp_stats_tlv.c",
  710. "components/cp_stats/dispatcher/src/wlan_cp_stats_mc_tgt_api.c",
  711. "components/cp_stats/dispatcher/src/wlan_cp_stats_mc_ucfg_api.c",
  712. "components/target_if/cp_stats/src/target_if_mc_cp_stats.c",
  713. "components/wmi/src/wmi_unified_mc_cp_stats_api.c",
  714. "components/wmi/src/wmi_unified_mc_cp_stats_tlv.c",
  715. "os_if/cp_stats/src/wlan_cfg80211_mc_cp_stats.c",
  716. ],
  717. },
  718. "CONFIG_QCA_TARGET_IF_MLME": {
  719. True: [
  720. "components/target_if/mlme/src/target_if_mlme.c",
  721. "components/wmi/src/wmi_unified_mlme_api.c",
  722. "components/wmi/src/wmi_unified_mlme_tlv.c",
  723. ],
  724. },
  725. "CONFIG_DCS": {
  726. True: [
  727. "cmn/target_if/dcs/src/target_if_dcs.c",
  728. "cmn/umac/dcs/core/src/wlan_dcs.c",
  729. "cmn/umac/dcs/dispatcher/src/wlan_dcs_init_deinit_api.c",
  730. "cmn/umac/dcs/dispatcher/src/wlan_dcs_tgt_api.c",
  731. "cmn/umac/dcs/dispatcher/src/wlan_dcs_ucfg_api.c",
  732. "cmn/wmi/src/wmi_unified_dcs_api.c",
  733. "cmn/wmi/src/wmi_unified_dcs_tlv.c",
  734. "core/hdd/src/wlan_hdd_dcs.c",
  735. ],
  736. },
  737. "CONFIG_DIRECT_BUF_RX_ENABLE": {
  738. True: [
  739. "cmn/target_if/direct_buf_rx/src/target_if_direct_buf_rx_api.c",
  740. "cmn/target_if/direct_buf_rx/src/target_if_direct_buf_rx_main.c",
  741. "cmn/wmi/src/wmi_unified_dbr_api.c",
  742. "cmn/wmi/src/wmi_unified_dbr_tlv.c",
  743. ],
  744. },
  745. "CONFIG_DP_HW_TX_DELAY_STATS_ENABLE": {
  746. True: [
  747. "core/hdd/src/wlan_hdd_sysfs_dp_tx_delay_stats.c",
  748. ],
  749. },
  750. "CONFIG_DP_PKT_ADD_TIMESTAMP": {
  751. True: [
  752. # TODO: need separate cfg for sysfs
  753. "core/hdd/src/wlan_hdd_sysfs_add_timestamp.c",
  754. "cmn/qdf/linux/src/qdf_pkt_add_timestamp.c",
  755. ],
  756. },
  757. "CONFIG_DP_SWLM": {
  758. True: [
  759. # TODO: need separate cfg for sysfs
  760. "core/hdd/src/wlan_hdd_sysfs_swlm.c",
  761. "components/dp/core/src/wlan_dp_swlm.c",
  762. ],
  763. },
  764. "CONFIG_DP_TRAFFIC_END_INDICATION": {
  765. True: [
  766. "core/hdd/src/wlan_hdd_sysfs_dp_traffic_end_indication.c",
  767. ],
  768. },
  769. "CONFIG_DSC_TEST": {
  770. True: [
  771. "components/dsc/test/wlan_dsc_test.c",
  772. ],
  773. },
  774. "CONFIG_FEATURE_ACTIVE_TOS": {
  775. True: [
  776. "core/hdd/src/wlan_hdd_active_tos.c",
  777. ],
  778. },
  779. "CONFIG_FEATURE_BSS_TRANSITION": {
  780. True: [
  781. "core/hdd/src/wlan_hdd_bss_transition.c",
  782. ],
  783. },
  784. "CONFIG_FEATURE_COEX": {
  785. True: [
  786. "components/coex/core/src/wlan_coex_main.c",
  787. "components/coex/dispatcher/src/wlan_coex_tgt_api.c",
  788. "components/coex/dispatcher/src/wlan_coex_ucfg_api.c",
  789. "components/coex/dispatcher/src/wlan_coex_utils_api.c",
  790. "components/target_if/coex/src/target_if_coex.c",
  791. "os_if/coex/src/wlan_cfg80211_coex.c",
  792. ],
  793. },
  794. "CONFIG_FEATURE_CONCURRENCY_MATRIX": {
  795. True: [
  796. "core/hdd/src/wlan_hdd_concurrency_matrix.c",
  797. ],
  798. },
  799. "CONFIG_FEATURE_DENYLIST_MGR": {
  800. True: [
  801. "components/denylist_mgr/core/src/wlan_dlm_core.c",
  802. "components/denylist_mgr/core/src/wlan_dlm_main.c",
  803. "components/denylist_mgr/dispatcher/src/wlan_dlm_tgt_api.c",
  804. "components/denylist_mgr/dispatcher/src/wlan_dlm_ucfg_api.c",
  805. "components/target_if/denylist_mgr/src/target_if_dlm.c",
  806. ],
  807. },
  808. "CONFIG_FEATURE_DIRECT_LINK": {
  809. True: [
  810. # TODO: need sysfs-specific flag
  811. "core/hdd/src/wlan_hdd_sysfs_direct_link_ut_cmd.c",
  812. "components/dp/core/src/wlan_dp_wfds.c",
  813. ],
  814. },
  815. "CONFIG_FEATURE_EPPING": {
  816. True: [
  817. "cmn/utils/epping/src/epping_helper.c",
  818. "cmn/utils/epping/src/epping_main.c",
  819. "cmn/utils/epping/src/epping_rx.c",
  820. "cmn/utils/epping/src/epping_tx.c",
  821. "cmn/utils/epping/src/epping_txrx.c",
  822. ],
  823. },
  824. "CONFIG_FEATURE_FW_LOG_PARSING": {
  825. True: [
  826. "cmn/utils/fwlog/dbglog_host.c",
  827. ],
  828. },
  829. "CONFIG_FEATURE_GPIO_CFG": {
  830. True: [
  831. "core/hdd/src/wlan_hdd_gpio.c",
  832. "cmn/gpio/core/src/wlan_gpio_api.c",
  833. "cmn/gpio/dispatcher/src/wlan_gpio_tgt_api.c",
  834. "cmn/gpio/dispatcher/src/wlan_gpio_ucfg_api.c",
  835. "cmn/os_if/linux/gpio/src/wlan_cfg80211_gpio.c",
  836. "cmn/target_if/gpio/target_if_gpio.c",
  837. "cmn/wmi/src/wmi_unified_gpio_api.c",
  838. "cmn/wmi/src/wmi_unified_gpio_tlv.c",
  839. ],
  840. },
  841. "CONFIG_FEATURE_HTC_CREDIT_HISTORY": {
  842. True: [
  843. "cmn/htc/htc_credit_history.c",
  844. ],
  845. },
  846. "CONFIG_FEATURE_INTEROP_ISSUES_AP": {
  847. True: [
  848. "cmn/wmi/src/wmi_unified_interop_issues_ap_api.c",
  849. "cmn/wmi/src/wmi_unified_interop_issues_ap_tlv.c",
  850. "components/interop_issues_ap/core/src/wlan_interop_issues_ap_api.c",
  851. "components/interop_issues_ap/dispatcher/src/wlan_interop_issues_ap_tgt_api.c",
  852. "components/interop_issues_ap/dispatcher/src/wlan_interop_issues_ap_ucfg_api.c",
  853. "components/target_if/interop_issues_ap/src/target_if_interop_issues_ap.c",
  854. "os_if/interop_issues_ap/src/wlan_cfg80211_interop_issues_ap.c",
  855. ],
  856. },
  857. "CONFIG_FEATURE_MEC": {
  858. True: [
  859. "cmn/dp/wifi3.0/dp_txrx_wds.c",
  860. ],
  861. },
  862. "CONFIG_FEATURE_MEMDUMP_ENABLE": {
  863. True: [
  864. "core/hdd/src/wlan_hdd_memdump.c",
  865. ],
  866. },
  867. "CONFIG_FEATURE_MONITOR_MODE_SUPPORT": {
  868. True: [
  869. "core/hdd/src/wlan_hdd_rx_monitor.c",
  870. ],
  871. },
  872. "CONFIG_FEATURE_MOTION_DETECTION": {
  873. True: [
  874. "core/hdd/src/wlan_hdd_sysfs_motion_detection.c",
  875. ],
  876. },
  877. "CONFIG_FEATURE_OTA_TEST": {
  878. True: [
  879. "core/hdd/src/wlan_hdd_ota_test.c",
  880. ],
  881. },
  882. "CONFIG_FEATURE_P2P_LISTEN_OFFLOAD": {
  883. True: [
  884. "core/hdd/src/wlan_hdd_p2p_listen_offload.c",
  885. ],
  886. },
  887. "CONFIG_FEATURE_RSSI_MONITOR": {
  888. True: [
  889. "core/hdd/src/wlan_hdd_rssi_monitor.c",
  890. ],
  891. },
  892. "CONFIG_FEATURE_SAP_COND_CHAN_SWITCH": {
  893. True: [
  894. "core/hdd/src/wlan_hdd_sap_cond_chan_switch.c",
  895. ],
  896. },
  897. "CONFIG_FEATURE_SAR_LIMITS": {
  898. True: [
  899. "core/hdd/src/wlan_hdd_sar_limits.c",
  900. ],
  901. },
  902. "CONFIG_FEATURE_SET": {
  903. True: [
  904. "core/hdd/src/wlan_hdd_sysfs_wifi_features.c",
  905. ],
  906. },
  907. "CONFIG_FEATURE_STATION_INFO": {
  908. True: [
  909. "core/hdd/src/wlan_hdd_station_info.c",
  910. ],
  911. },
  912. "CONFIG_FEATURE_TX_POWER": {
  913. True: [
  914. "core/hdd/src/wlan_hdd_tx_power.c",
  915. ],
  916. },
  917. "CONFIG_FEATURE_UNIT_TEST_SUSPEND": {
  918. True: [
  919. "cmn/hif/src/hif_unit_test_suspend.c",
  920. #TODO: need separate flag for sysfs
  921. "core/hdd/src/wlan_hdd_sysfs_suspend_resume.c",
  922. ],
  923. },
  924. "CONFIG_FEATURE_VDEV_OPS_WAKELOCK": {
  925. True: [
  926. "cmn/target_if/mlme/psoc/src/target_if_psoc_wake_lock.c",
  927. ],
  928. },
  929. "CONFIG_FEATURE_WDS": {
  930. True: [
  931. "core/hdd/src/wlan_hdd_wds.c",
  932. "cmn/wmi/src/wmi_unified_wds_api.c",
  933. "cmn/wmi/src/wmi_unified_wds_tlv.c",
  934. ],
  935. },
  936. "CONFIG_FEATURE_WLAN_CH_AVOID_EXT": {
  937. True: [
  938. "core/hdd/src/wlan_hdd_avoid_freq_ext.c",
  939. ],
  940. },
  941. "CONFIG_FEATURE_WLAN_EXTSCAN": {
  942. True: [
  943. "cmn/umac/scan/dispatcher/src/wlan_extscan_api.c",
  944. "cmn/wmi/src/wmi_unified_extscan_api.c",
  945. "cmn/wmi/src/wmi_unified_extscan_tlv.c",
  946. "core/hdd/src/wlan_hdd_ext_scan.c",
  947. ],
  948. },
  949. "CONFIG_FEATURE_WLAN_PRE_CAC": {
  950. True: [
  951. "components/pre_cac/core/src/wlan_pre_cac_main.c",
  952. "components/pre_cac/dispatcher/src/wlan_pre_cac_api.c",
  953. "components/pre_cac/dispatcher/src/wlan_pre_cac_ucfg_api.c",
  954. "core/hdd/src/wlan_hdd_pre_cac.c",
  955. "os_if/pre_cac/src/osif_pre_cac.c",
  956. ],
  957. },
  958. "CONFIG_FEATURE_WLAN_TIME_SYNC_FTM": {
  959. True: [
  960. "components/ftm_time_sync/core/src/ftm_time_sync_main.c",
  961. "components/ftm_time_sync/dispatcher/src/ftm_time_sync_ucfg_api.c",
  962. "components/ftm_time_sync/dispatcher/src/wlan_ftm_time_sync_tgt_api.c",
  963. "components/target_if/ftm_time_sync/src/target_if_ftm_time_sync.c",
  964. "core/hdd/src/wlan_hdd_ftm_time_sync.c",
  965. ],
  966. },
  967. "CONFIG_FW_THERMAL_THROTTLE": {
  968. True: [
  969. "core/hdd/src/wlan_hdd_thermal.c",
  970. ],
  971. },
  972. "CONFIG_HIF_IPCI": {
  973. True: [
  974. "cmn/hif/src/dispatcher/multibus_ipci.c",
  975. "cmn/hif/src/ipcie/if_ipci.c",
  976. ],
  977. },
  978. "CONFIG_HIF_PCI": {
  979. True: [
  980. "cmn/hif/src/dispatcher/multibus_pci.c",
  981. "cmn/hif/src/pcie/if_pci.c",
  982. "core/pld/src/pld_pcie.c",
  983. ],
  984. },
  985. "CONFIG_HIF_SDIO": {
  986. True: [
  987. "cmn/hif/src/dispatcher/multibus_sdio.c",
  988. ],
  989. },
  990. "CONFIG_HIF_SNOC": {
  991. True: [
  992. "cmn/hif/src/dispatcher/multibus_snoc.c",
  993. ],
  994. },
  995. "CONFIG_HIF_USB": {
  996. True: [
  997. "cmn/hif/src/dispatcher/multibus_usb.c",
  998. "core/pld/src/pld_usb.c",
  999. ],
  1000. },
  1001. "LEGACY_CONFIG_HL_DP_SUPPORT": {
  1002. True: [
  1003. "core/dp/txrx/ol_tx_classify.c",
  1004. "core/dp/txrx/ol_tx_hl.c",
  1005. "core/dp/txrx/ol_tx_queue.c",
  1006. "core/dp/txrx/ol_tx_sched.c",
  1007. ],
  1008. },
  1009. "CONFIG_HOST_11D_SCAN": {
  1010. True: [
  1011. "cmn/umac/regulatory/core/src/reg_host_11d.c",
  1012. ],
  1013. },
  1014. "CONFIG_IPA_OFFLOAD": {
  1015. True: [
  1016. "cmn/dp/wifi3.0/dp_ipa.c",
  1017. "cmn/qdf/linux/src/qdf_ipa.c",
  1018. "cmn/ipa/core/src/wlan_ipa_core.c",
  1019. "cmn/ipa/core/src/wlan_ipa_main.c",
  1020. "cmn/ipa/core/src/wlan_ipa_rm.c",
  1021. "cmn/ipa/core/src/wlan_ipa_stats.c",
  1022. "cmn/ipa/dispatcher/src/wlan_ipa_obj_mgmt_api.c",
  1023. "cmn/ipa/dispatcher/src/wlan_ipa_tgt_api.c",
  1024. "cmn/ipa/dispatcher/src/wlan_ipa_ucfg_api.c",
  1025. "cmn/target_if/ipa/src/target_if_ipa.c",
  1026. "core/hdd/src/wlan_hdd_ipa.c",
  1027. # TODO: need a separate flag for sysfs
  1028. "core/hdd/src/wlan_hdd_sysfs_ipa.c",
  1029. ],
  1030. },
  1031. "CONFIG_IPCIE_FW_SIM": {
  1032. True: [
  1033. "core/pld/src/pld_pcie_fw_sim.c",
  1034. ],
  1035. },
  1036. "CONFIG_LEAK_DETECTION": {
  1037. True: [
  1038. "cmn/qdf/src/qdf_debug_domain.c",
  1039. "cmn/qdf/src/qdf_tracker.c",
  1040. ],
  1041. },
  1042. "CONFIG_LFR_SUBNET_DETECTION": {
  1043. True: [
  1044. "core/hdd/src/wlan_hdd_subnet_detect.c",
  1045. ],
  1046. },
  1047. "CONFIG_LINUX_QCMBR": {
  1048. True: [
  1049. "cmn/os_if/linux/ftm/src/wlan_ioctl_ftm.c",
  1050. ],
  1051. },
  1052. "CONFIG_LITHIUM": {
  1053. True: [
  1054. # TODO: how to handle Kbuild logic
  1055. #ifneq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM) $(CONFIG_RHINE)))
  1056. #ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM) $(CONFIG_RHINE)))
  1057. "cmn/dp/cmn_dp_api/dp_ratetable.c",
  1058. "cmn/dp/wifi3.0/li/dp_li.c",
  1059. "cmn/dp/wifi3.0/li/dp_li_rx.c",
  1060. "cmn/dp/wifi3.0/li/dp_li_tx.c",
  1061. "cmn/dp/wifi3.0/dp_reo.c",
  1062. "cmn/dp/wifi3.0/dp_rings_main.c",
  1063. "cmn/dp/wifi3.0/dp_rx_err.c",
  1064. "cmn/dp/wifi3.0/dp_rx_tid.c",
  1065. "cmn/hal/wifi3.0/hal_reo.c",
  1066. "cmn/hal/wifi3.0/hal_srng.c",
  1067. "cmn/hal/wifi3.0/li/hal_li_generic_api.c",
  1068. "cmn/hal/wifi3.0/li/hal_li_reo.c",
  1069. "cmn/hif/src/ce/ce_service_srng.c",
  1070. "cmn/wlan_cfg/wlan_cfg.c",
  1071. "components/dp/core/src/wlan_dp_prealloc.c",
  1072. ],
  1073. },
  1074. "LEGACY_CONFIG_LL_DP_SUPPORT": {
  1075. True: [
  1076. "core/dp/txrx/ol_tx_ll.c",
  1077. ],
  1078. },
  1079. "CONFIG_OCB_UT_FRAMEWORK": {
  1080. True: [
  1081. "cmn/wmi/src/wmi_unified_ocb_ut.c",
  1082. ],
  1083. },
  1084. "CONFIG_PCIE_FW_SIM": {
  1085. True: [
  1086. "core/pld/src/pld_pcie_fw_sim.c",
  1087. ],
  1088. },
  1089. "CONFIG_PKTLOG_LEGACY": {
  1090. True: [
  1091. "cmn/utils/pktlog/pktlog_wifi2.c",
  1092. ],
  1093. },
  1094. "CONFIG_FEATURE_PKTLOG_EN_NON_LEGACY": {
  1095. True: [
  1096. "cmn/utils/pktlog/pktlog_wifi3.c",
  1097. ],
  1098. },
  1099. "CONFIG_PKT_LOG": {
  1100. #TODO: Currently this is CONFIG_REMOVE_PKT_LOG but expect it to change
  1101. # Also need a separate config for sysfs
  1102. True: [
  1103. "cmn/utils/pktlog/linux_ac.c",
  1104. "cmn/utils/pktlog/pktlog_ac.c",
  1105. "cmn/utils/pktlog/pktlog_internal.c",
  1106. "core/hdd/src/wlan_hdd_sysfs_pktlog.c",
  1107. ],
  1108. },
  1109. "CONFIG_PLD_IPCI_ICNSS_FLAG": {
  1110. True: [
  1111. "core/pld/src/pld_ipci.c",
  1112. ],
  1113. },
  1114. "CONFIG_PLD_SNOC_ICNSS_FLAG": {
  1115. True: [
  1116. "core/pld/src/pld_snoc.c",
  1117. ],
  1118. },
  1119. "CONFIG_POWER_MANAGEMENT_OFFLOAD": {
  1120. True: [
  1121. "cmn/wmi/src/wmi_unified_pmo_api.c",
  1122. "cmn/wmi/src/wmi_unified_pmo_tlv.c",
  1123. "components/pmo/core/src/wlan_pmo_apf.c",
  1124. "components/pmo/core/src/wlan_pmo_arp.c",
  1125. "components/pmo/core/src/wlan_pmo_gtk.c",
  1126. "components/pmo/core/src/wlan_pmo_hw_filter.c",
  1127. "components/pmo/core/src/wlan_pmo_lphb.c",
  1128. "components/pmo/core/src/wlan_pmo_main.c",
  1129. "components/pmo/core/src/wlan_pmo_mc_addr_filtering.c",
  1130. "components/pmo/core/src/wlan_pmo_static_config.c",
  1131. "components/pmo/core/src/wlan_pmo_suspend_resume.c",
  1132. "components/pmo/core/src/wlan_pmo_wow.c",
  1133. "components/pmo/dispatcher/src/wlan_pmo_obj_mgmt_api.c",
  1134. "components/pmo/dispatcher/src/wlan_pmo_tgt_arp.c",
  1135. "components/pmo/dispatcher/src/wlan_pmo_tgt_gtk.c",
  1136. "components/pmo/dispatcher/src/wlan_pmo_tgt_hw_filter.c",
  1137. "components/pmo/dispatcher/src/wlan_pmo_tgt_lphb.c",
  1138. "components/pmo/dispatcher/src/wlan_pmo_tgt_mc_addr_filtering.c",
  1139. "components/pmo/dispatcher/src/wlan_pmo_tgt_static_config.c",
  1140. "components/pmo/dispatcher/src/wlan_pmo_tgt_suspend_resume.c",
  1141. "components/pmo/dispatcher/src/wlan_pmo_tgt_wow.c",
  1142. "components/pmo/dispatcher/src/wlan_pmo_ucfg_api.c",
  1143. "components/target_if/pmo/src/target_if_pmo_arp.c",
  1144. "components/target_if/pmo/src/target_if_pmo_gtk.c",
  1145. "components/target_if/pmo/src/target_if_pmo_hw_filter.c",
  1146. "components/target_if/pmo/src/target_if_pmo_lphb.c",
  1147. "components/target_if/pmo/src/target_if_pmo_main.c",
  1148. "components/target_if/pmo/src/target_if_pmo_mc_addr_filtering.c",
  1149. "components/target_if/pmo/src/target_if_pmo_static_config.c",
  1150. "components/target_if/pmo/src/target_if_pmo_suspend_resume.c",
  1151. "components/target_if/pmo/src/target_if_pmo_wow.c",
  1152. ],
  1153. },
  1154. "CONFIG_QCACLD_FEATURE_APF": {
  1155. True: [
  1156. "core/hdd/src/wlan_hdd_apf.c",
  1157. "cmn/wmi/src/wmi_unified_apf_tlv.c",
  1158. ],
  1159. },
  1160. "CONFIG_QCACLD_FEATURE_BTC_CHAIN_MODE": {
  1161. True: [
  1162. "core/hdd/src/wlan_hdd_btc_chain_mode.c",
  1163. ],
  1164. },
  1165. "CONFIG_QCACLD_FEATURE_COEX_CONFIG": {
  1166. True: [
  1167. "core/hdd/src/wlan_hdd_coex_config.c",
  1168. ],
  1169. },
  1170. "CONFIG_QCACLD_FEATURE_FW_STATE": {
  1171. True: [
  1172. "core/hdd/src/wlan_hdd_fw_state.c",
  1173. "core/wma/src/wma_fw_state.c",
  1174. ],
  1175. },
  1176. "CONFIG_QCACLD_FEATURE_GREEN_AP": {
  1177. True: [
  1178. "cmn/target_if/green_ap/src/target_if_green_ap.c",
  1179. "cmn/umac/green_ap/core/src/wlan_green_ap_main.c",
  1180. "cmn/umac/green_ap/dispatcher/src/wlan_green_ap_api.c",
  1181. "cmn/umac/green_ap/dispatcher/src/wlan_green_ap_ucfg_api.c",
  1182. "core/hdd/src/wlan_hdd_green_ap.c",
  1183. ],
  1184. },
  1185. "CONFIG_QCACLD_FEATURE_HW_CAPABILITY": {
  1186. True: [
  1187. "core/hdd/src/wlan_hdd_hw_capability.c",
  1188. ],
  1189. },
  1190. "CONFIG_QCACLD_FEATURE_MPTA_HELPER": {
  1191. True: [
  1192. "core/hdd/src/wlan_hdd_mpta_helper.c",
  1193. ],
  1194. },
  1195. "CONFIG_QCACLD_FEATURE_NAN": {
  1196. True: [
  1197. "cmn/wmi/src/wmi_unified_nan_api.c",
  1198. "cmn/wmi/src/wmi_unified_nan_tlv.c",
  1199. "components/nan/core/src/nan_api.c",
  1200. "components/nan/core/src/nan_main.c",
  1201. "components/nan/dispatcher/src/cfg_nan.c",
  1202. "components/nan/dispatcher/src/nan_ucfg_api.c",
  1203. "components/nan/dispatcher/src/wlan_nan_api.c",
  1204. "components/target_if/nan/src/target_if_nan.c",
  1205. "core/hdd/src/wlan_hdd_nan.c",
  1206. "core/hdd/src/wlan_hdd_nan_datapath.c",
  1207. "core/mac/src/pe/nan/nan_datapath.c",
  1208. "core/sme/src/nan/nan_datapath_api.c",
  1209. "core/wma/src/wma_nan_datapath.c",
  1210. "os_if/nan/src/os_if_nan.c",
  1211. ],
  1212. },
  1213. "CONFIG_QCACLD_FEATURE_SON": {
  1214. True: [
  1215. "cmn/target_if/son/src/target_if_son.c",
  1216. "components/son/dispatcher/src/son_api.c",
  1217. "components/son/dispatcher/src/son_ucfg_api.c",
  1218. "core/hdd/src/wlan_hdd_son.c",
  1219. "os_if/son/src/os_if_son.c",
  1220. ],
  1221. },
  1222. "CONFIG_QCACLD_WLAN_CONNECTIVITY_DIAG_EVENT": {
  1223. True: [
  1224. "core/hdd/src/wlan_hdd_connectivity_logging.c",
  1225. "components/cmn_services/logging/src/wlan_connectivity_logging.c",
  1226. ],
  1227. },
  1228. "CONFIG_QCACLD_WLAN_CONNECTIVITY_DIAG_LOGGING": {
  1229. True: [
  1230. "core/hdd/src/wlan_hdd_connectivity_logging.c",
  1231. "components/cmn_services/logging/src/wlan_connectivity_logging.c",
  1232. ],
  1233. },
  1234. "CONFIG_QCACLD_WLAN_LFR2": {
  1235. True: [
  1236. "cmn/umac/mlme/connection_mgr/core/src/wlan_cm_host_roam.c",
  1237. "cmn/umac/mlme/connection_mgr/core/src/wlan_cm_roam_util.c",
  1238. "components/umac/mlme/connection_mgr/core/src/wlan_cm_host_roam_preauth.c",
  1239. "components/umac/mlme/connection_mgr/core/src/wlan_cm_host_util.c",
  1240. "core/mac/src/pe/lim/lim_ft_preauth.c",
  1241. "core/mac/src/pe/lim/lim_process_mlm_host_roam.c",
  1242. "core/mac/src/pe/lim/lim_reassoc_utils.c",
  1243. "core/mac/src/pe/lim/lim_roam_timer_utils.c",
  1244. "core/mac/src/pe/lim/lim_send_frames_host_roam.c",
  1245. ],
  1246. },
  1247. "CONFIG_QCACLD_WLAN_LFR3": {
  1248. True: [
  1249. "cmn/umac/mlme/connection_mgr/core/src/wlan_cm_roam_util.c",
  1250. "components/umac/mlme/connection_mgr/core/src/wlan_cm_roam_fw_sync.c",
  1251. "components/umac/mlme/connection_mgr/core/src/wlan_cm_roam_offload_event.c",
  1252. ],
  1253. },
  1254. "LEGACY_CONFIG_QCA_SUPPORT_TX_THROTTLE": {
  1255. True: [
  1256. "core/dp/txrx/ol_tx_throttle.c",
  1257. ],
  1258. },
  1259. "CONFIG_QCA_WIFI_FTM": {
  1260. True: [
  1261. "cmn/ftm/core/src/wlan_ftm_svc.c",
  1262. "cmn/ftm/dispatcher/src/wlan_ftm_init_deinit.c",
  1263. "cmn/ftm/dispatcher/src/wlan_ftm_ucfg_api.c",
  1264. "cmn/target_if/ftm/src/target_if_ftm.c",
  1265. ],
  1266. },
  1267. "CONFIG_QCA_WIFI_FTM_NL80211": {
  1268. True: [
  1269. "cmn/os_if/linux/ftm/src/wlan_cfg80211_ftm.c",
  1270. ],
  1271. },
  1272. "CONFIG_QCA_WIFI_SDIO": {
  1273. True: [
  1274. "core/pld/src/pld_sdio.c",
  1275. ],
  1276. },
  1277. "CONFIG_QCOM_TDLS": {
  1278. True: [
  1279. "components/target_if/tdls/src/target_if_tdls.c",
  1280. "components/tdls/core/src/wlan_tdls_cmds_process.c",
  1281. "components/tdls/core/src/wlan_tdls_ct.c",
  1282. "components/tdls/core/src/wlan_tdls_main.c",
  1283. "components/tdls/core/src/wlan_tdls_mgmt.c",
  1284. "components/tdls/core/src/wlan_tdls_peer.c",
  1285. "components/tdls/dispatcher/src/wlan_tdls_api.c",
  1286. "components/tdls/dispatcher/src/wlan_tdls_cfg.c",
  1287. "components/tdls/dispatcher/src/wlan_tdls_tgt_api.c",
  1288. "components/tdls/dispatcher/src/wlan_tdls_ucfg_api.c",
  1289. "components/tdls/dispatcher/src/wlan_tdls_utils_api.c",
  1290. "core/hdd/src/wlan_hdd_tdls.c",
  1291. "core/mac/src/pe/lim/lim_process_tdls.c",
  1292. "os_if/tdls/src/wlan_cfg80211_tdls.c",
  1293. ],
  1294. },
  1295. "CONFIG_QDF_TEST": {
  1296. True: [
  1297. "cmn/qdf/test/qdf_delayed_work_test.c",
  1298. "cmn/qdf/test/qdf_hashtable_test.c",
  1299. "cmn/qdf/test/qdf_periodic_work_test.c",
  1300. "cmn/qdf/test/qdf_ptr_hash_test.c",
  1301. "cmn/qdf/test/qdf_slist_test.c",
  1302. "cmn/qdf/test/qdf_talloc_test.c",
  1303. "cmn/qdf/test/qdf_tracker_test.c",
  1304. "cmn/qdf/test/qdf_types_test.c",
  1305. ],
  1306. },
  1307. "CONFIG_QMI_COMPONENT_ENABLE": {
  1308. True: [
  1309. "components/qmi/core/src/wlan_qmi_main.c",
  1310. "components/qmi/dispatcher/src/wlan_qmi_ucfg_api.c",
  1311. "os_if/qmi/src/os_if_qmi.c",
  1312. ],
  1313. },
  1314. "CONFIG_QMI_WFDS": {
  1315. True: [
  1316. "components/qmi/dispatcher/src/wlan_qmi_wfds_api.c",
  1317. "os_if/qmi/src/os_if_qmi_wfds.c",
  1318. "os_if/qmi/src/os_if_qmi_wifi_driver_service_v01.c",
  1319. ],
  1320. },
  1321. "CONFIG_RHINE": {
  1322. True: [
  1323. # TODO: how to handle Kbuild logic
  1324. #ifneq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM) $(CONFIG_RHINE)))
  1325. #ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM) $(CONFIG_RHINE)))
  1326. "cmn/dp/cmn_dp_api/dp_ratetable.c",
  1327. "cmn/dp/wifi3.0/rh/dp_rh.c",
  1328. "cmn/dp/wifi3.0/rh/dp_rh_htt.c",
  1329. "cmn/dp/wifi3.0/rh/dp_rh_rx.c",
  1330. "cmn/dp/wifi3.0/rh/dp_rh_tx.c",
  1331. "cmn/hal/wifi3.0/hal_reo.c",
  1332. "cmn/hal/wifi3.0/hal_srng.c",
  1333. "cmn/wlan_cfg/wlan_cfg.c",
  1334. "components/dp/core/src/wlan_dp_prealloc.c",
  1335. ],
  1336. },
  1337. "CONFIG_RX_FISA": {
  1338. True: [
  1339. "components/dp/core/src/wlan_dp_fisa_rx.c",
  1340. "components/dp/core/src/wlan_dp_rx_fst.c",
  1341. #TODO: check LITHIUM/BERYLLIUM/RHINE dependency
  1342. "cmn/hal/wifi3.0/hal_rx_flow.c",
  1343. ],
  1344. },
  1345. "CONFIG_SMP": {
  1346. True: [
  1347. "cmn/qdf/linux/src/qdf_cpuhp.c",
  1348. "cmn/qdf/src/qdf_cpuhp.c",
  1349. ],
  1350. },
  1351. "CONFIG_SM_ENG_HIST": {
  1352. True: [
  1353. "cmn/umac/cmn_services/sm_engine/src/wlan_sm_engine_dbg.c",
  1354. ],
  1355. },
  1356. "CONFIG_SNOC_FW_SIM": {
  1357. True: [
  1358. "core/pld/src/pld_snoc_fw_sim.c",
  1359. ],
  1360. },
  1361. "CONFIG_UNIT_TEST": {
  1362. True: [
  1363. "core/hdd/src/wlan_hdd_unit_test.c",
  1364. ],
  1365. },
  1366. "CONFIG_WDI_EVENT_ENABLE": {
  1367. True: [
  1368. "core/dp/txrx/ol_txrx_event.c",
  1369. "cmn/dp/wifi3.0/dp_wdi_event.c",
  1370. ],
  1371. },
  1372. "CONFIG_WIFI_MONITOR_SUPPORT": {
  1373. True: [
  1374. "cmn/dp/wifi3.0/monitor/1.0/dp_mon_1.0.c",
  1375. "cmn/dp/wifi3.0/monitor/1.0/dp_mon_filter_1.0.c",
  1376. "cmn/dp/wifi3.0/monitor/1.0/dp_rx_mon_dest_1.0.c",
  1377. "cmn/dp/wifi3.0/monitor/1.0/dp_rx_mon_status_1.0.c",
  1378. "cmn/dp/wifi3.0/monitor/dp_mon.c",
  1379. "cmn/dp/wifi3.0/monitor/dp_mon_filter.c",
  1380. "cmn/dp/wifi3.0/monitor/dp_rx_mon.c",
  1381. ],
  1382. },
  1383. "CONFIG_WIFI_MONITOR_SUPPORT_Y_WLAN_TX_MON_2_0": {
  1384. True: [
  1385. "cmn/dp/wifi3.0/monitor/2.0/dp_mon_2.0.c",
  1386. "cmn/dp/wifi3.0/monitor/2.0/dp_mon_filter_2.0.c",
  1387. "cmn/dp/wifi3.0/monitor/2.0/dp_tx_mon_2.0.c",
  1388. "cmn/dp/wifi3.0/monitor/2.0/dp_tx_mon_status_2.0.c",
  1389. ],
  1390. },
  1391. "CONFIG_WLAN_TX_MON_2_0_Y_WLAN_DP_LOCAL_PKT_CAPTURE": {
  1392. True: [
  1393. "os_if/dp/src/os_if_dp_local_pkt_capture.c",
  1394. ],
  1395. },
  1396. "CONFIG_WIFI_POS_CONVERGED": {
  1397. True: [
  1398. "cmn/os_if/linux/wifi_pos/src/os_if_wifi_pos.c",
  1399. "cmn/os_if/linux/wifi_pos/src/os_if_wifi_pos_utils.c",
  1400. "cmn/os_if/linux/wifi_pos/src/wlan_cfg80211_wifi_pos.c",
  1401. "cmn/target_if/wifi_pos/src/target_if_wifi_pos.c",
  1402. "cmn/target_if/wifi_pos/src/target_if_wifi_pos_rx_ops.c",
  1403. "cmn/target_if/wifi_pos/src/target_if_wifi_pos_tx_ops.c",
  1404. "cmn/umac/wifi_pos/src/wifi_pos_api.c",
  1405. "cmn/umac/wifi_pos/src/wifi_pos_main.c",
  1406. "cmn/umac/wifi_pos/src/wifi_pos_ucfg.c",
  1407. "cmn/umac/wifi_pos/src/wifi_pos_utils.c",
  1408. "components/wifi_pos/dispatcher/src/wifi_pos_ucfg_api.c",
  1409. ],
  1410. },
  1411. "CONFIG_WIFI_POS_PASN": {
  1412. True: [
  1413. "cmn/umac/wifi_pos/src/wifi_pos_pasn_api.c",
  1414. "components/wifi_pos/core/src/wlan_wifi_pos_interface.c",
  1415. "core/hdd/src/wlan_hdd_wifi_pos_pasn.c",
  1416. "core/wma/src/wma_pasn_peer_api.c",
  1417. ],
  1418. },
  1419. "CONFIG_WLAN_BCN_RECV_FEATURE": {
  1420. True: [
  1421. "core/hdd/src/wlan_hdd_bcn_recv.c",
  1422. ],
  1423. },
  1424. "CONFIG_WLAN_BMISS": {
  1425. True: [
  1426. "core/hdd/src/wlan_hdd_sysfs_bmiss.c",
  1427. ],
  1428. },
  1429. "CONFIG_WLAN_BOOTUP_MARKER": {
  1430. True: [
  1431. "core/hdd/src/wlan_hdd_bootup_marker.c",
  1432. ],
  1433. },
  1434. "CONFIG_WLAN_CFR_ADRASTEA": {
  1435. True: [
  1436. "cmn/target_if/cfr/src/target_if_cfr_adrastea.c",
  1437. ],
  1438. },
  1439. "CONFIG_WLAN_CFR_DBR": {
  1440. True: [
  1441. "cmn/target_if/cfr/src/target_if_cfr_dbr.c",
  1442. ],
  1443. },
  1444. "CONFIG_WLAN_CFR_ENABLE": {
  1445. True: [
  1446. "cmn/target_if/cfr/src/target_if_cfr.c",
  1447. "cmn/target_if/cfr/src/target_if_cfr_6490.c",
  1448. "cmn/umac/cfr/core/src/cfr_common.c",
  1449. "cmn/umac/cfr/dispatcher/src/wlan_cfr_tgt_api.c",
  1450. "cmn/umac/cfr/dispatcher/src/wlan_cfr_ucfg_api.c",
  1451. "cmn/umac/cfr/dispatcher/src/wlan_cfr_utils_api.c",
  1452. "cmn/wmi/src/wmi_unified_cfr_api.c",
  1453. "cmn/wmi/src/wmi_unified_cfr_tlv.c",
  1454. "core/hdd/src/wlan_hdd_cfr.c",
  1455. ],
  1456. },
  1457. "CONFIG_WLAN_CONV_SPECTRAL_ENABLE": {
  1458. True: [
  1459. "core/hdd/src/wlan_hdd_spectralscan.c",
  1460. "cmn/spectral/core/spectral_common.c",
  1461. "cmn/spectral/core/spectral_offload.c",
  1462. "cmn/spectral/dispatcher/src/wlan_spectral_tgt_api.c",
  1463. "cmn/spectral/dispatcher/src/wlan_spectral_ucfg_api.c",
  1464. "cmn/spectral/dispatcher/src/wlan_spectral_utils_api.c",
  1465. "cmn/os_if/linux/spectral/src/os_if_spectral_netlink.c",
  1466. "cmn/os_if/linux/spectral/src/wlan_cfg80211_spectral.c",
  1467. "cmn/target_if/spectral/target_if_spectral.c",
  1468. "cmn/target_if/spectral/target_if_spectral_netlink.c",
  1469. "cmn/target_if/spectral/target_if_spectral_phyerr.c",
  1470. "cmn/target_if/spectral/target_if_spectral_sim.c",
  1471. ],
  1472. },
  1473. "CONFIG_WLAN_DEBUGFS": {
  1474. True: [
  1475. "core/hdd/src/wlan_hdd_debugfs.c",
  1476. "core/hdd/src/wlan_hdd_debugfs_config.c",
  1477. "core/hdd/src/wlan_hdd_debugfs_csr.c",
  1478. "core/hdd/src/wlan_hdd_debugfs_offload.c",
  1479. "core/hdd/src/wlan_hdd_debugfs_roam.c",
  1480. "core/hdd/src/wlan_hdd_debugfs_unit_test.c",
  1481. "cmn/qdf/linux/src/qdf_debugfs.c",
  1482. ],
  1483. },
  1484. "CONFIG_WLAN_DEBUG_CRASH_INJECT": {
  1485. True: [
  1486. "core/hdd/src/wlan_hdd_sysfs_crash_inject.c",
  1487. ],
  1488. },
  1489. "CONFIG_WLAN_DFS_MASTER_ENABLE": {
  1490. True: [
  1491. "cmn/target_if/dfs/src/target_if_dfs.c",
  1492. "cmn/umac/dfs/core/src/misc/dfs.c",
  1493. "cmn/umac/dfs/core/src/misc/dfs_nol.c",
  1494. "cmn/umac/dfs/core/src/misc/dfs_process_radar_found_ind.c",
  1495. "cmn/umac/dfs/core/src/misc/dfs_random_chan_sel.c",
  1496. "cmn/umac/dfs/dispatcher/src/wlan_dfs_init_deinit_api.c",
  1497. "cmn/umac/dfs/dispatcher/src/wlan_dfs_lmac_api.c",
  1498. "cmn/umac/dfs/dispatcher/src/wlan_dfs_mlme_api.c",
  1499. "cmn/umac/dfs/dispatcher/src/wlan_dfs_tgt_api.c",
  1500. "cmn/umac/dfs/dispatcher/src/wlan_dfs_ucfg_api.c",
  1501. "cmn/umac/dfs/dispatcher/src/wlan_dfs_utils_api.c",
  1502. "cmn/wmi/src/wmi_unified_dfs_api.c",
  1503. ],
  1504. },
  1505. "CONFIG_WLAN_DIAG_VERSION": {
  1506. True: [
  1507. "cmn/utils/host_diag_log/src/host_diag_log.c",
  1508. ],
  1509. },
  1510. "CONFIG_WLAN_DL_MODES": {
  1511. True: [
  1512. "core/hdd/src/wlan_hdd_sysfs_dl_modes.c",
  1513. ],
  1514. },
  1515. "CONFIG_WLAN_DUMP_IN_PROGRESS": {
  1516. True: [
  1517. "core/hdd/src/wlan_hdd_sysfs_dump_in_progress.c",
  1518. ],
  1519. },
  1520. "CONFIG_WLAN_ENABLE_GPIO_WAKEUP": {
  1521. True: [
  1522. "core/hdd/src/wlan_hdd_gpio_wakeup.c",
  1523. ],
  1524. },
  1525. "CONFIG_WLAN_ENH_CFR_ENABLE": {
  1526. True: [
  1527. "cmn/target_if/cfr/src/target_if_cfr_enh.c",
  1528. ],
  1529. },
  1530. #"LEGACY_CONFIG_WLAN_FASTPATH": {
  1531. #True: [
  1532. # "core/dp/txrx/ol_tx_ll_fastpath.c",
  1533. #],
  1534. #TODO: Will need to create a separate flag to handle false case
  1535. #False: [
  1536. # "core/dp/txrx/ol_tx_ll_legacy.c",
  1537. #],
  1538. #},
  1539. "CONFIG_WLAN_FEATURE_11AX": {
  1540. True: [
  1541. "core/hdd/src/wlan_hdd_he.c",
  1542. "core/wma/src/wma_he.c",
  1543. ],
  1544. },
  1545. "CONFIG_WLAN_FEATURE_11BE": {
  1546. True: [
  1547. "core/hdd/src/wlan_hdd_eht.c",
  1548. "core/wma/src/wma_eht.c",
  1549. ],
  1550. },
  1551. "CONFIG_WLAN_FEATURE_11BE_MLO": {
  1552. True: [
  1553. "core/hdd/src/wlan_hdd_mlo.c",
  1554. "core/mac/src/pe/lim/lim_mlo.c",
  1555. "cmn/target_if/mlo_mgr/src/target_if_mlo_mgr.c",
  1556. "cmn/umac/mlo_mgr/src/utils_mlo.c",
  1557. "cmn/umac/mlo_mgr/src/wlan_mlo_mgr_aid.c",
  1558. "cmn/umac/mlo_mgr/src/wlan_mlo_mgr_ap.c",
  1559. "cmn/umac/mlo_mgr/src/wlan_mlo_mgr_cmn.c",
  1560. "cmn/umac/mlo_mgr/src/wlan_mlo_mgr_main.c",
  1561. "cmn/umac/mlo_mgr/src/wlan_mlo_mgr_msgq.c",
  1562. "cmn/umac/mlo_mgr/src/wlan_mlo_mgr_op.c",
  1563. "cmn/umac/mlo_mgr/src/wlan_mlo_mgr_peer.c",
  1564. "cmn/umac/mlo_mgr/src/wlan_mlo_mgr_peer_list.c",
  1565. "cmn/umac/mlo_mgr/src/wlan_mlo_mgr_primary_umac.c",
  1566. "cmn/umac/mlo_mgr/src/wlan_mlo_mgr_sta.c",
  1567. "cmn/umac/mlo_mgr/src/wlan_mlo_t2lm.c",
  1568. "components/umac/mlme/mlo_mgr/src/wlan_epcs_api.c",
  1569. "cmn/umac/mlo_mgr/src/wlan_mlo_mgr_link_switch.c",
  1570. "cmn/umac/mlo_mgr/src/wlan_mlo_epcs.c",
  1571. "components/umac/mlme/mlo_mgr/dispatcher/src/wlan_mlo_epcs_ucfg_api.c",
  1572. "cmn/wmi/src/wmi_unified_11be_api.c",
  1573. "cmn/wmi/src/wmi_unified_11be_tlv.c",
  1574. "components/umac/mlme/mlo_mgr/src/wlan_mlo_mgr_roam.c",
  1575. "components/umac/mlme/mlo_mgr/src/wlan_t2lm_api.c",
  1576. "components/umac/mlme/mlo_mgr/src/wlan_mlo_link_force.c",
  1577. ],
  1578. },
  1579. "CONFIG_WLAN_FEATURE_ACTION_OUI": {
  1580. True: [
  1581. "components/action_oui/core/src/wlan_action_oui_main.c",
  1582. "components/action_oui/core/src/wlan_action_oui_parse.c",
  1583. "components/action_oui/dispatcher/src/wlan_action_oui_tgt_api.c",
  1584. "components/action_oui/dispatcher/src/wlan_action_oui_ucfg_api.c",
  1585. "components/target_if/action_oui/src/target_if_action_oui.c",
  1586. "cmn/wmi/src/wmi_unified_action_oui_tlv.c",
  1587. ],
  1588. },
  1589. "CONFIG_WLAN_FEATURE_BMI": {
  1590. True: [
  1591. "cmn/hif/src/ce/ce_bmi.c",
  1592. "cmn/hif/src/sdio/hif_bmi_reg_access.c",
  1593. "core/bmi/src/bmi.c",
  1594. "core/bmi/src/bmi_1.c",
  1595. "core/bmi/src/ol_fw.c",
  1596. "core/bmi/src/ol_fw_common.c",
  1597. ],
  1598. },
  1599. "CONFIG_WLAN_FEATURE_COAP": {
  1600. True: [
  1601. "components/coap/core/src/wlan_coap_main.c",
  1602. "components/coap/dispatcher/src/wlan_coap_tgt_api.c",
  1603. "components/coap/dispatcher/src/wlan_coap_ucfg_api.c",
  1604. "components/target_if/coap/src/target_if_coap.c",
  1605. "components/wmi/src/wmi_unified_coap_tlv.c",
  1606. "core/hdd/src/wlan_hdd_coap.c",
  1607. "os_if/coap/src/wlan_cfg80211_coap.c",
  1608. ],
  1609. },
  1610. "CONFIG_WLAN_FEATURE_DFS_OFFLOAD": {
  1611. True: [
  1612. "cmn/target_if/dfs/src/target_if_dfs_full_offload.c",
  1613. ],
  1614. #TODO: need a separate flag, otherwise the below are added
  1615. # even when DFS is disabled
  1616. False: [
  1617. "cmn/target_if/dfs/src/target_if_dfs_partial_offload.c",
  1618. "cmn/umac/dfs/core/src/filtering/dfs_bindetects.c",
  1619. "cmn/umac/dfs/core/src/filtering/dfs_debug.c",
  1620. "cmn/umac/dfs/core/src/filtering/dfs_fcc_bin5.c",
  1621. "cmn/umac/dfs/core/src/filtering/dfs_init.c",
  1622. "cmn/umac/dfs/core/src/filtering/dfs_misc.c",
  1623. "cmn/umac/dfs/core/src/filtering/dfs_partial_offload_radar.c",
  1624. "cmn/umac/dfs/core/src/filtering/dfs_phyerr_tlv.c",
  1625. "cmn/umac/dfs/core/src/filtering/dfs_process_phyerr.c",
  1626. "cmn/umac/dfs/core/src/filtering/dfs_process_radarevent.c",
  1627. "cmn/umac/dfs/core/src/filtering/dfs_radar.c",
  1628. "cmn/umac/dfs/core/src/filtering/dfs_staggered.c",
  1629. "cmn/umac/dfs/core/src/misc/dfs_filter_init.c",
  1630. ],
  1631. },
  1632. "CONFIG_WLAN_FEATURE_DISA": {
  1633. True: [
  1634. "components/disa/core/src/wlan_disa_main.c",
  1635. "components/disa/dispatcher/src/wlan_disa_obj_mgmt_api.c",
  1636. "components/disa/dispatcher/src/wlan_disa_tgt_api.c",
  1637. "components/disa/dispatcher/src/wlan_disa_ucfg_api.c",
  1638. "components/target_if/disa/src/target_if_disa.c",
  1639. "core/hdd/src/wlan_hdd_disa.c",
  1640. ],
  1641. },
  1642. "CONFIG_WLAN_FEATURE_DP_RX_THREADS": {
  1643. True: [
  1644. "components/dp/core/src/wlan_dp_rx_thread.c",
  1645. ],
  1646. },
  1647. "CONFIG_WLAN_FEATURE_DSRC": {
  1648. True: [
  1649. "components/ocb/core/src/wlan_ocb_main.c",
  1650. "components/ocb/dispatcher/src/wlan_ocb_tgt_api.c",
  1651. "components/ocb/dispatcher/src/wlan_ocb_ucfg_api.c",
  1652. "components/target_if/ocb/src/target_if_ocb.c",
  1653. "core/hdd/src/wlan_hdd_ocb.c",
  1654. "core/wma/src/wma_ocb.c",
  1655. "cmn/wmi/src/wmi_unified_ocb_api.c",
  1656. "cmn/wmi/src/wmi_unified_ocb_tlv.c",
  1657. ],
  1658. },
  1659. "CONFIG_WLAN_FEATURE_FILS": {
  1660. True: [
  1661. "core/mac/src/pe/lim/lim_process_fils.c",
  1662. ],
  1663. },
  1664. "CONFIG_WLAN_FEATURE_FIPS": {
  1665. True: [
  1666. "core/hdd/src/wlan_hdd_fips.c",
  1667. "core/wma/src/wma_fips_api.c",
  1668. ],
  1669. },
  1670. "CONFIG_WLAN_FEATURE_ICMP_OFFLOAD": {
  1671. True: [
  1672. "components/pmo/core/src/wlan_pmo_icmp.c",
  1673. "components/pmo/dispatcher/src/wlan_pmo_tgt_icmp.c",
  1674. "components/target_if/pmo/src/target_if_pmo_icmp.c",
  1675. ],
  1676. },
  1677. "CONFIG_WLAN_FEATURE_LINK_LAYER_STATS": {
  1678. True: [
  1679. "core/hdd/src/wlan_hdd_debugfs_llstat.c",
  1680. ],
  1681. },
  1682. "CONFIG_WLAN_FEATURE_LPSS": {
  1683. True: [
  1684. "core/hdd/src/wlan_hdd_lpass.c",
  1685. ],
  1686. },
  1687. "CONFIG_WLAN_FEATURE_MCC_QUOTA": {
  1688. True: [
  1689. "components/p2p/core/src/wlan_p2p_mcc_quota.c",
  1690. "components/p2p/dispatcher/src/wlan_p2p_mcc_quota_tgt_api.c",
  1691. "components/target_if/p2p/src/target_if_p2p_mcc_quota.c",
  1692. "core/hdd/src/wlan_hdd_mcc_quota.c",
  1693. ],
  1694. },
  1695. "CONFIG_WLAN_FEATURE_MDNS_OFFLOAD": {
  1696. True: [
  1697. "core/hdd/src/wlan_hdd_mdns_offload.c",
  1698. ],
  1699. },
  1700. "CONFIG_WLAN_FEATURE_MEDIUM_ASSESS": {
  1701. True: [
  1702. "core/hdd/src/wlan_hdd_medium_assess.c",
  1703. ],
  1704. },
  1705. "CONFIG_WLAN_FEATURE_MIB_STATS": {
  1706. True: [
  1707. "core/hdd/src/wlan_hdd_debugfs_mibstat.c",
  1708. ],
  1709. },
  1710. "CONFIG_WLAN_FEATURE_PACKET_FILTERING": {
  1711. True: [
  1712. "components/pmo/core/src/wlan_pmo_pkt_filter.c",
  1713. "components/pmo/dispatcher/src/wlan_pmo_tgt_pkt_filter.c",
  1714. "components/target_if/pmo/src/target_if_pmo_pkt_filter.c",
  1715. "core/hdd/src/wlan_hdd_packet_filter.c",
  1716. ],
  1717. },
  1718. "CONFIG_WLAN_FEATURE_PEER_TXQ_FLUSH_CONF": {
  1719. True: [
  1720. "core/hdd/src/wlan_hdd_peer_txq_flush.c",
  1721. ],
  1722. },
  1723. "CONFIG_WLAN_FEATURE_PERIODIC_STA_STATS": {
  1724. True: [
  1725. "components/dp/core/src/wlan_dp_periodic_sta_stats.c",
  1726. ],
  1727. },
  1728. "CONFIG_WLAN_FEATURE_PKT_CAPTURE": {
  1729. True: [
  1730. "components/pkt_capture/core/src/wlan_pkt_capture_data_txrx.c",
  1731. "components/pkt_capture/core/src/wlan_pkt_capture_main.c",
  1732. "components/pkt_capture/core/src/wlan_pkt_capture_mgmt_txrx.c",
  1733. "components/pkt_capture/core/src/wlan_pkt_capture_mon_thread.c",
  1734. "components/pkt_capture/dispatcher/src/wlan_pkt_capture_api.c",
  1735. "components/pkt_capture/dispatcher/src/wlan_pkt_capture_tgt_api.c",
  1736. "components/pkt_capture/dispatcher/src/wlan_pkt_capture_ucfg_api.c",
  1737. "components/target_if/pkt_capture/src/target_if_pkt_capture.c",
  1738. "os_if/pkt_capture/src/os_if_pkt_capture.c",
  1739. ],
  1740. },
  1741. "CONFIG_WLAN_FEATURE_RX_BUFFER_POOL": {
  1742. True: [
  1743. "cmn/dp/wifi3.0/dp_rx_buffer_pool.c",
  1744. ],
  1745. },
  1746. "CONFIG_WLAN_FEATURE_SR": {
  1747. True: [
  1748. "components/spatial_reuse/dispatcher/src/spatial_reuse_api.c",
  1749. "components/spatial_reuse/dispatcher/src/spatial_reuse_ucfg_api.c",
  1750. "cmn/target_if/spatial_reuse/src/target_if_spatial_reuse.c",
  1751. ],
  1752. },
  1753. "CONFIG_WLAN_FEATURE_TWT": {
  1754. True: [
  1755. "cmn/os_if/linux/twt/src/osif_twt_req.c",
  1756. "cmn/os_if/linux/twt/src/osif_twt_rsp.c",
  1757. "cmn/target_if/twt/src/target_if_twt.c",
  1758. "cmn/target_if/twt/src/target_if_twt_cmd.c",
  1759. "cmn/target_if/twt/src/target_if_twt_evt.c",
  1760. "cmn/umac/twt/core/src/wlan_twt_common.c",
  1761. "cmn/umac/twt/core/src/wlan_twt_objmgr.c",
  1762. "cmn/umac/twt/dispatcher/src/wlan_twt_api.c",
  1763. "cmn/umac/twt/dispatcher/src/wlan_twt_tgt_if_rx_api.c",
  1764. "cmn/umac/twt/dispatcher/src/wlan_twt_tgt_if_tx_api.c",
  1765. "cmn/umac/twt/dispatcher/src/wlan_twt_ucfg_api.c",
  1766. "cmn/wmi/src/wmi_unified_twt_api.c",
  1767. "cmn/wmi/src/wmi_unified_twt_tlv.c",
  1768. "components/target_if/twt/src/target_if_ext_twt_cmd.c",
  1769. "components/target_if/twt/src/target_if_ext_twt_evt.c",
  1770. "components/umac/twt/core/src/wlan_twt_cfg.c",
  1771. "components/umac/twt/core/src/wlan_twt_main.c",
  1772. "components/umac/twt/dispatcher/src/wlan_twt_cfg_ext_api.c",
  1773. "components/umac/twt/dispatcher/src/wlan_twt_tgt_if_ext_rx_api.c",
  1774. "components/umac/twt/dispatcher/src/wlan_twt_tgt_if_ext_tx_api.c",
  1775. "components/umac/twt/dispatcher/src/wlan_twt_ucfg_ext_api.c",
  1776. "core/hdd/src/wlan_hdd_twt.c",
  1777. "os_if/twt/src/osif_twt_ext_req.c",
  1778. "os_if/twt/src/osif_twt_ext_rsp.c",
  1779. "os_if/twt/src/osif_twt_ext_util.c",
  1780. # TODO: rest being removed by David's TWT change
  1781. # "components/mlme/core/src/wlan_mlme_twt_api.c",
  1782. # TODO: to be removed by David's TWT change
  1783. "components/mlme/dispatcher/src/wlan_mlme_twt_ucfg_api.c",
  1784. "core/wma/src/wma_twt.c",
  1785. ],
  1786. },
  1787. "CONFIG_WLAN_FREQ_LIST": {
  1788. True: [
  1789. "core/hdd/src/wlan_hdd_sysfs_get_freq_for_pwr.c",
  1790. ],
  1791. },
  1792. "CONFIG_WLAN_FW_OFFLOAD": {
  1793. True: [
  1794. "components/fw_offload/core/src/wlan_fw_offload_main.c",
  1795. "components/fw_offload/dispatcher/src/wlan_fwol_tgt_api.c",
  1796. "components/fw_offload/dispatcher/src/wlan_fwol_ucfg_api.c",
  1797. "components/target_if/fw_offload/src/target_if_fwol.c",
  1798. "os_if/fw_offload/src/os_if_fwol.c",
  1799. "cmn/wmi/src/wmi_unified_fwol_api.c",
  1800. "cmn/wmi/src/wmi_unified_fwol_tlv.c",
  1801. ],
  1802. },
  1803. "CONFIG_WLAN_GTX_BW_MASK": {
  1804. True: [
  1805. "core/hdd/src/wlan_hdd_sysfs_gtx_bw_mask.c",
  1806. ],
  1807. },
  1808. "CONFIG_WLAN_HANG_EVENT": {
  1809. True: [
  1810. "core/hdd/src/wlan_hdd_hang_event.c",
  1811. "cmn/htc/htc_hang_event.c",
  1812. "cmn/qdf/src/qdf_hang_event_notifier.c",
  1813. "cmn/qdf/src/qdf_notifier.c",
  1814. "cmn/wmi/src/wmi_hang_event.c",
  1815. ],
  1816. },
  1817. "CONFIG_WLAN_LRO": {
  1818. True: [
  1819. "cmn/qdf/linux/src/qdf_lro.c",
  1820. "os_if/dp/src/os_if_dp_lro.c",
  1821. ],
  1822. },
  1823. "CONFIG_WLAN_MWS_INFO_DEBUGFS": {
  1824. True: [
  1825. "core/hdd/src/wlan_hdd_debugfs_coex.c",
  1826. "core/wma/src/wma_coex.c",
  1827. ],
  1828. },
  1829. "CONFIG_WLAN_NAPI": {
  1830. True: [
  1831. "core/hdd/src/wlan_hdd_napi.c",
  1832. "cmn/hif/src/hif_irq_affinity.c",
  1833. "cmn/hif/src/hif_napi.c",
  1834. ],
  1835. },
  1836. "CONFIG_WLAN_NS_OFFLOAD": {
  1837. True: [
  1838. "components/pmo/core/src/wlan_pmo_ns.c",
  1839. "components/pmo/dispatcher/src/wlan_pmo_tgt_ns.c",
  1840. "components/target_if/pmo/src/target_if_pmo_ns.c",
  1841. ],
  1842. },
  1843. "CONFIG_WLAN_NUD_TRACKING": {
  1844. True: [
  1845. "core/hdd/src/wlan_hdd_nud_tracking.c",
  1846. "components/dp/core/src/wlan_dp_nud_tracking.c",
  1847. ],
  1848. },
  1849. "CONFIG_WLAN_OBJMGR_DEBUG": {
  1850. True: [
  1851. "cmn/umac/cmn_services/obj_mgr/src/wlan_objmgr_debug.c",
  1852. ],
  1853. },
  1854. "CONFIG_WLAN_REASSOC": {
  1855. True: [
  1856. "core/hdd/src/wlan_hdd_sysfs_reassoc.c",
  1857. ],
  1858. },
  1859. "CONFIG_WLAN_SCAN_DISABLE": {
  1860. True: [
  1861. "core/hdd/src/wlan_hdd_sysfs_scan_disable.c",
  1862. ],
  1863. },
  1864. "CONFIG_WLAN_STREAMFS": {
  1865. True: [
  1866. "cmn/qdf/linux/src/qdf_streamfs.c",
  1867. ],
  1868. },
  1869. "CONFIG_WLAN_SYNC_TSF": {
  1870. True: [
  1871. "core/hdd/src/wlan_hdd_tsf.c",
  1872. ],
  1873. },
  1874. "CONFIG_WLAN_SYSFS": {
  1875. True: [
  1876. "core/hdd/src/wlan_hdd_sysfs.c",
  1877. "core/hdd/src/wlan_hdd_sysfs_unit_test.c",
  1878. "core/hdd/src/wlan_hdd_sysfs_modify_acl.c",
  1879. "core/hdd/src/wlan_hdd_sysfs_policy_mgr.c",
  1880. "core/hdd/src/wlan_hdd_sysfs_dp_aggregation.c",
  1881. ],
  1882. },
  1883. "CONFIG_WLAN_SYSFS_CHANNEL": {
  1884. True: [
  1885. "core/hdd/src/wlan_hdd_sysfs_channel.c",
  1886. ],
  1887. },
  1888. "CONFIG_WLAN_SYSFS_CONNECT_INFO": {
  1889. True: [
  1890. "core/hdd/src/wlan_hdd_sysfs_connect_info.c",
  1891. ],
  1892. },
  1893. "CONFIG_WLAN_SYSFS_DCM": {
  1894. True: [
  1895. "core/hdd/src/wlan_hdd_sysfs_dcm.c",
  1896. ],
  1897. },
  1898. "CONFIG_WLAN_SYSFS_DFSNOL": {
  1899. True: [
  1900. "core/hdd/src/wlan_hdd_sysfs_dfsnol.c",
  1901. ],
  1902. },
  1903. "CONFIG_WLAN_SYSFS_WDS_MODE": {
  1904. True: [
  1905. "core/hdd/src/wlan_hdd_sysfs_wds_mode.c",
  1906. ],
  1907. },
  1908. "CONFIG_WLAN_SYSFS_ROAM_TRIGGER_BITMAP": {
  1909. True: [
  1910. "core/hdd/src/wlan_hdd_sysfs_roam_trigger_bitmap.c",
  1911. ],
  1912. },
  1913. "CONFIG_WLAN_SYSFS_RF_TEST_MODE": {
  1914. True: [
  1915. "core/hdd/src/wlan_hdd_sysfs_rf_test_mode.c",
  1916. ],
  1917. },
  1918. "CONFIG_WLAN_SYSFS_DP_STATS": {
  1919. True: [
  1920. "core/hdd/src/wlan_hdd_sysfs_txrx_stats_console.c",
  1921. ],
  1922. },
  1923. "CONFIG_WLAN_SYSFS_DP_TRACE": {
  1924. True: [
  1925. "core/hdd/src/wlan_hdd_sysfs_dp_trace.c",
  1926. ],
  1927. },
  1928. "CONFIG_WLAN_SYSFS_EHT_RATE": {
  1929. True: [
  1930. "core/hdd/src/wlan_hdd_sysfs_eht_rate.c",
  1931. ],
  1932. },
  1933. "CONFIG_WLAN_SYSFS_FW_MODE_CFG": {
  1934. True: [
  1935. "core/hdd/src/wlan_hdd_sysfs_fw_mode_config.c",
  1936. ],
  1937. },
  1938. "CONFIG_WLAN_SYSFS_HE_BSS_COLOR": {
  1939. True: [
  1940. "core/hdd/src/wlan_hdd_sysfs_he_bss_color.c",
  1941. ],
  1942. },
  1943. "CONFIG_WLAN_SYSFS_LOG_BUFFER": {
  1944. True: [
  1945. "core/hdd/src/wlan_hdd_sysfs_log_buffer.c",
  1946. ],
  1947. },
  1948. "CONFIG_WLAN_SYSFS_MEM_STATS": {
  1949. True: [
  1950. "core/hdd/src/wlan_hdd_sysfs_mem_stats.c",
  1951. ],
  1952. },
  1953. "CONFIG_WLAN_SYSFS_MONITOR_MODE_CHANNEL": {
  1954. True: [
  1955. "core/hdd/src/wlan_hdd_sysfs_monitor_mode_channel.c",
  1956. ],
  1957. },
  1958. "CONFIG_WLAN_SYSFS_RADAR": {
  1959. True: [
  1960. "core/hdd/src/wlan_hdd_sysfs_radar.c",
  1961. ],
  1962. },
  1963. "CONFIG_WLAN_SYSFS_RANGE_EXT": {
  1964. True: [
  1965. "core/hdd/src/wlan_hdd_sysfs_range_ext.c",
  1966. ],
  1967. },
  1968. "CONFIG_WLAN_SYSFS_RTS_CTS": {
  1969. True: [
  1970. "core/hdd/src/wlan_hdd_sysfs_rts_cts.c",
  1971. ],
  1972. },
  1973. "CONFIG_WLAN_SYSFS_SCAN_CFG": {
  1974. True: [
  1975. "core/hdd/src/wlan_hdd_sysfs_scan_config.c",
  1976. ],
  1977. },
  1978. "CONFIG_WLAN_SYSFS_STATS": {
  1979. True: [
  1980. "core/hdd/src/wlan_hdd_sysfs_stats.c",
  1981. ],
  1982. },
  1983. "CONFIG_WLAN_SYSFS_STA_INFO": {
  1984. True: [
  1985. "core/hdd/src/wlan_hdd_sysfs_sta_info.c",
  1986. ],
  1987. },
  1988. "CONFIG_WLAN_SYSFS_TDLS_PEERS": {
  1989. True: [
  1990. "core/hdd/src/wlan_hdd_sysfs_tdls_peers.c",
  1991. ],
  1992. },
  1993. "CONFIG_WLAN_SYSFS_TEMPERATURE": {
  1994. True: [
  1995. "core/hdd/src/wlan_hdd_sysfs_temperature.c",
  1996. ],
  1997. },
  1998. "CONFIG_WLAN_SYSFS_TX_STBC": {
  1999. True: [
  2000. "core/hdd/src/wlan_hdd_sysfs_tx_stbc.c",
  2001. ],
  2002. },
  2003. "CONFIG_WLAN_SYSFS_WLAN_DBG": {
  2004. True: [
  2005. "core/hdd/src/wlan_hdd_sysfs_wlan_dbg.c",
  2006. ],
  2007. },
  2008. "CONFIG_WLAN_THERMAL_CFG": {
  2009. True: [
  2010. "core/hdd/src/wlan_hdd_sysfs_thermal_cfg.c",
  2011. ],
  2012. },
  2013. "CONFIG_WLAN_SYSFS_BITRATES": {
  2014. True: [
  2015. "core/hdd/src/wlan_hdd_sysfs_bitrates.c",
  2016. ],
  2017. },
  2018. "CONFIG_WLAN_TRACEPOINTS": {
  2019. True: [
  2020. "cmn/qdf/linux/src/qdf_tracepoint.c",
  2021. ],
  2022. },
  2023. "CONFIG_WLAN_TXRX_FW_STATS": {
  2024. True: [
  2025. "core/hdd/src/wlan_hdd_sysfs_txrx_fw_stats.c",
  2026. ],
  2027. },
  2028. "CONFIG_WLAN_TXRX_FW_ST_RST": {
  2029. True: [
  2030. "core/hdd/src/wlan_hdd_sysfs_txrx_fw_st_rst.c",
  2031. ],
  2032. },
  2033. "CONFIG_WLAN_TXRX_STATS": {
  2034. True: [
  2035. "core/hdd/src/wlan_hdd_sysfs_txrx_stats.c",
  2036. ],
  2037. },
  2038. "LEGACY_CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY": {
  2039. True: [
  2040. "core/dp/txrx/ol_txrx_legacy_flow_control.c",
  2041. ],
  2042. },
  2043. "CONFIG_WLAN_TX_FLOW_CONTROL_V2": {
  2044. True: [
  2045. "cmn/dp/wifi3.0/dp_tx_flow_control.c",
  2046. ],
  2047. },
  2048. "CONFIG_WLAN_WBUFF": {
  2049. True: [
  2050. "cmn/wbuff/src/wbuff.c",
  2051. ],
  2052. },
  2053. "CONFIG_WLAN_WEXT_SUPPORT_ENABLE": {
  2054. True: [
  2055. "core/hdd/src/wlan_hdd_hostapd_wext.c",
  2056. "core/hdd/src/wlan_hdd_wext.c",
  2057. ],
  2058. },
  2059. "CONFIG_WLAN_WOWL_ADD_PTRN": {
  2060. True: [
  2061. "core/hdd/src/wlan_hdd_sysfs_wowl_add_ptrn.c",
  2062. ],
  2063. },
  2064. "CONFIG_WLAN_WOWL_DEL_PTRN": {
  2065. True: [
  2066. "core/hdd/src/wlan_hdd_sysfs_wowl_del_ptrn.c",
  2067. ],
  2068. },
  2069. "CONFIG_WLAN_WOW_ITO": {
  2070. True: [
  2071. "core/hdd/src/wlan_hdd_sysfs_wow_ito.c",
  2072. ],
  2073. },
  2074. "CONFIG_WMI_BCN_OFFLOAD": {
  2075. True: [
  2076. "cmn/wmi/src/wmi_unified_bcn_api.c",
  2077. "cmn/wmi/src/wmi_unified_bcn_tlv.c",
  2078. ],
  2079. },
  2080. "CONFIG_WMI_CONCURRENCY_SUPPORT": {
  2081. True: [
  2082. "cmn/wmi/src/wmi_unified_concurrency_api.c",
  2083. "cmn/wmi/src/wmi_unified_concurrency_tlv.c",
  2084. ],
  2085. },
  2086. "CONFIG_WMI_ROAM_SUPPORT": {
  2087. True: [
  2088. "components/wmi/src/wmi_unified_roam_api.c",
  2089. "components/wmi/src/wmi_unified_roam_tlv.c",
  2090. ],
  2091. },
  2092. "CONFIG_WMI_STA_SUPPORT": {
  2093. True: [
  2094. "cmn/wmi/src/wmi_unified_sta_api.c",
  2095. "cmn/wmi/src/wmi_unified_sta_tlv.c",
  2096. ],
  2097. },
  2098. "CONFIG_AFC_SUPPORT": {
  2099. True: [
  2100. "core/hdd/src/wlan_hdd_afc.c",
  2101. ],
  2102. },
  2103. "CONFIG_WLAN_FEATURE_LL_LT_SAP": {
  2104. True: [
  2105. "components/target_if/sap/ll_sap/src/target_if_ll_sap.c",
  2106. "components/umac/mlme/sap/ll_sap/dispatcher/src/wlan_ll_sap_api.c",
  2107. "components/umac/mlme/sap/ll_sap/dispatcher/src/wlan_ll_sap_ucfg_api.c",
  2108. "components/umac/mlme/sap/ll_sap/core/src/wlan_ll_lt_sap_bearer_switch.c",
  2109. "components/umac/mlme/sap/ll_sap/core/src/wlan_ll_lt_sap_main.c",
  2110. "components/umac/mlme/sap/ll_sap/core/src/wlan_ll_sap_main.c",
  2111. "components/wmi/src/wmi_unified_ll_sap_api.c",
  2112. "components/wmi/src/wmi_unified_ll_sap_tlv.c",
  2113. "components/cmn_services/policy_mgr/src/wlan_policy_mgr_ll_sap.c",
  2114. "os_if/mlme/sap/ll_sap/src/os_if_ll_sap.c",
  2115. ],
  2116. },
  2117. }
  2118. def _define_module_for_target_variant_chipset(target, variant, chipset):
  2119. tvc = "{}_{}_{}".format(target, variant, chipset)
  2120. tv = "{}_{}".format(target, variant)
  2121. name = "{}_qca_cld_{}".format(tv, chipset)
  2122. hw = _chipset_hw_map[chipset]
  2123. chipset_ipaths = _chipset_header_map[chipset]
  2124. hw_ipaths = _hw_header_map[hw]
  2125. ipaths = chipset_ipaths + hw_ipaths + _fixed_ipaths
  2126. iglobs = []
  2127. for i in _fixed_includes:
  2128. iglobs.append(i)
  2129. for i in ipaths:
  2130. iglobs.append("{}/*.h".format(i))
  2131. iglobs.append("{}/**/*.h".format(i))
  2132. for i in _private_ipaths:
  2133. iglobs.append("{}/*.h".format(i))
  2134. iglobs.append("{}/**/*.h".format(i))
  2135. copts = []
  2136. for i in _fixed_includes:
  2137. copts.append("-include")
  2138. copts.append(i)
  2139. feature_grep_map = [
  2140. {
  2141. "pattern": "nl80211_validate_key_link_id",
  2142. "file": "net/wireless/nl80211.c",
  2143. "flag": "CFG80211_MLO_KEY_OPERATION_SUPPORT",
  2144. },
  2145. {
  2146. "pattern": "struct link_station_parameters",
  2147. "file": "include/net/cfg80211.h",
  2148. "flag": "CFG80211_LINK_STA_PARAMS_PRESENT",
  2149. },
  2150. {
  2151. "pattern": "NL80211_EXT_FEATURE_PUNCT",
  2152. "file": "include/uapi/linux/nl80211.h",
  2153. "flag": "NL80211_EXT_FEATURE_PUNCT_SUPPORT",
  2154. },
  2155. {
  2156. "pattern": "unsigned int link_id, u16 punct_bitmap",
  2157. "file": "include/net/cfg80211.h",
  2158. "flag": "CFG80211_RU_PUNCT_NOTIFY",
  2159. },
  2160. {
  2161. "pattern": "NL80211_EXT_FEATURE_AUTH_AND_DEAUTH_RANDOM_TA",
  2162. "file": "include/uapi/linux/nl80211.h",
  2163. "flag": "CFG80211_EXT_FEATURE_AUTH_AND_DEAUTH_RANDOM_TA",
  2164. },
  2165. ]
  2166. cmd = 'touch "$@"\n'
  2167. for feature_grep in feature_grep_map:
  2168. cmd += """
  2169. if grep -qF "{pattern}" $(location //msm-kernel:{file}); then
  2170. echo "#define {flag} (1)" >> "$@"
  2171. fi
  2172. """.format(
  2173. pattern = feature_grep["pattern"],
  2174. file = feature_grep["file"],
  2175. flag = feature_grep["flag"],
  2176. )
  2177. grepSrcFiles = []
  2178. for e in feature_grep_map:
  2179. grepSrcFiles.append("//msm-kernel:{}".format(e["file"]))
  2180. depsetSrc = depset(grepSrcFiles)
  2181. native.genrule(
  2182. name = "{}_grep_defines".format(tvc),
  2183. outs = ["configs/grep_defines_{}.h".format(tvc)],
  2184. srcs = depsetSrc.to_list(),
  2185. cmd = cmd,
  2186. )
  2187. copts.append("-Wno-format")
  2188. copts.append("-Wno-array-bounds")
  2189. copts.append("-include")
  2190. copts.append("$(location :{}_grep_defines)".format(tvc))
  2191. native.genrule(
  2192. name = "configs/{}_defconfig_generate_consolidate".format(tvc),
  2193. outs = ["configs/{}_defconfig.generated_consolidate".format(tvc)],
  2194. srcs = [
  2195. "configs/{}_gki_{}_defconfig".format(target, chipset),
  2196. "configs/{}_consolidate_{}_defconfig".format(target, chipset),
  2197. ],
  2198. cmd = "cat $(SRCS) > $@",
  2199. )
  2200. native.genrule(
  2201. name = "configs/{}_defconfig_generate_gki".format(tvc),
  2202. outs = ["configs/{}_defconfig.generated_gki".format(tvc)],
  2203. srcs = [
  2204. "configs/{}_gki_{}_defconfig".format(target, chipset),
  2205. ],
  2206. cmd = "cat $(SRCS) > $@",
  2207. )
  2208. native.genrule(
  2209. name = "configs/{}_defconfig_generate_perf".format(tvc),
  2210. outs = ["configs/{}_defconfig.generated_perf".format(tvc)],
  2211. srcs = [
  2212. "configs/{}_gki_{}_defconfig".format(target, chipset),
  2213. ],
  2214. cmd = "cat $(SRCS) > $@",
  2215. )
  2216. srcs = native.glob(iglobs) + _fixed_srcs
  2217. out = "qca_cld3_{}.ko".format(chipset.replace("-", "_"))
  2218. kconfig = "Kconfig"
  2219. defconfig = ":configs/{}_defconfig_generate_{}".format(tvc, variant)
  2220. if chipset == "qca6750":
  2221. deps = [
  2222. "//vendor/qcom/opensource/wlan/platform:{}_icnss2".format(tv),
  2223. "//vendor/qcom/opensource/wlan/platform:{}_cnss_prealloc".format(tv),
  2224. "//vendor/qcom/opensource/wlan/platform:{}_cnss_utils".format(tv),
  2225. "//vendor/qcom/opensource/wlan/platform:{}_cnss_nl".format(tv),
  2226. "//msm-kernel:all_headers",
  2227. "//vendor/qcom/opensource/wlan/platform:wlan-platform-headers",
  2228. "//vendor/qcom/opensource/dataipa:include_headers",
  2229. "//vendor/qcom/opensource/dataipa:{}_{}_ipam".format(target, variant),
  2230. ]
  2231. else:
  2232. deps = [
  2233. "//vendor/qcom/opensource/wlan/platform:{}_cnss2".format(tv),
  2234. "//vendor/qcom/opensource/wlan/platform:{}_cnss_prealloc".format(tv),
  2235. "//vendor/qcom/opensource/wlan/platform:{}_cnss_utils".format(tv),
  2236. "//vendor/qcom/opensource/wlan/platform:{}_cnss_nl".format(tv),
  2237. "//msm-kernel:all_headers",
  2238. "//vendor/qcom/opensource/wlan/platform:wlan-platform-headers",
  2239. "//vendor/qcom/opensource/dataipa:include_headers",
  2240. "//vendor/qcom/opensource/dataipa:{}_{}_ipam".format(target, variant),
  2241. ]
  2242. print("name=", name)
  2243. print("hw=", hw)
  2244. print("ipaths=", ipaths)
  2245. print("srcs=", srcs)
  2246. print("out=", out)
  2247. print("iglobs=", iglobs)
  2248. print("copts=", copts)
  2249. print("kconfig=", kconfig)
  2250. print("defconfig=", defconfig)
  2251. print("deps = ", deps)
  2252. ddk_module(
  2253. name = name,
  2254. srcs = srcs + [":{}_grep_defines".format(tvc)],
  2255. includes = ipaths + ["."],
  2256. kconfig = kconfig,
  2257. defconfig = defconfig,
  2258. conditional_srcs = _conditional_srcs,
  2259. copts = copts,
  2260. out = out,
  2261. kernel_build = "//msm-kernel:{}".format(tv),
  2262. deps = deps,
  2263. )
  2264. def define_dist(target, variant, chipsets):
  2265. tv = "{}_{}".format(target, variant)
  2266. dataList = []
  2267. for c in chipsets:
  2268. tvc = "{}_{}_{}".format(target, variant, c)
  2269. name = "{}_qca_cld_{}".format(tv, c)
  2270. dataList.append(":{}".format(name))
  2271. copy_to_dist_dir(
  2272. name = "{}_modules_dist".format(tvc),
  2273. data = [":{}".format(name)],
  2274. dist_dir = "out/target/product/{}/dlkm/lib/modules/".format(target),
  2275. flat = True,
  2276. wipe_dist_dir = False,
  2277. allow_duplicate_filenames = False,
  2278. mode_overrides = {"**/*": "644"},
  2279. log = "info",
  2280. )
  2281. copy_to_dist_dir(
  2282. name = "{}_all_modules_dist".format(tv),
  2283. data = dataList,
  2284. dist_dir = "out/target/product/{}/dlkm/lib/modules/".format(target),
  2285. flat = True,
  2286. wipe_dist_dir = False,
  2287. allow_duplicate_filenames = False,
  2288. mode_overrides = {"**/*": "644"},
  2289. log = "info",
  2290. )
  2291. def define_modules():
  2292. for (t, v) in get_all_variants():
  2293. chipsets = _target_chipset_map.get(t)
  2294. if chipsets:
  2295. for c in chipsets:
  2296. _define_module_for_target_variant_chipset(t, v, c)
  2297. define_dist(t, v, chipsets)