wlan_qcacld3_modules.bzl 74 KB

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