Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1 | # We can build either as part of a standalone Kernel build or as |
| 2 | # an external module. Determine which mechanism is being used |
| 3 | ifeq ($(MODNAME),) |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 4 | KERNEL_BUILD := y |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 5 | else |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 6 | KERNEL_BUILD := n |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 7 | endif |
| 8 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 9 | ifeq ($(KERNEL_BUILD), y) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 10 | # These are provided in external module based builds |
| 11 | # Need to explicitly define for Kernel-based builds |
| 12 | MODNAME := wlan |
| 13 | WLAN_ROOT := drivers/staging/qcacld-3.0 |
Tushnim Bhattacharyya | a2c18de | 2018-03-27 15:00:00 -0700 | [diff] [blame] | 14 | WLAN_COMMON_ROOT := ../qca-wifi-host-cmn |
| 15 | WLAN_COMMON_INC := $(WLAN_ROOT)/$(WLAN_COMMON_ROOT) |
Yu Wang | 6c4599c | 2018-10-09 10:18:14 +0800 | [diff] [blame] | 16 | WLAN_FW_API := $(WLAN_ROOT)/../fw-api/ |
| 17 | WLAN_PROFILE := default |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 18 | endif |
Qiwei Cai | dcb73b0 | 2018-09-17 19:58:29 +0800 | [diff] [blame] | 19 | |
Tushnim Bhattacharyya | a2c18de | 2018-03-27 15:00:00 -0700 | [diff] [blame] | 20 | WLAN_COMMON_ROOT ?= ../qca-wifi-host-cmn |
| 21 | WLAN_COMMON_INC ?= $(WLAN_ROOT)/$(WLAN_COMMON_ROOT) |
Yu Wang | 6c4599c | 2018-10-09 10:18:14 +0800 | [diff] [blame] | 22 | WLAN_FW_API ?= $(WLAN_ROOT)/../fw-api/ |
| 23 | WLAN_PROFILE ?= default |
| 24 | CONFIG_QCA_CLD_WLAN_PROFILE ?= $(WLAN_PROFILE) |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 25 | |
Yuanyuan Liu | 49948f1 | 2018-10-16 12:42:28 -0700 | [diff] [blame] | 26 | ifeq ($(KERNEL_BUILD), n) |
| 27 | ifneq ($(ANDROID_BUILD_TOP),) |
| 28 | override WLAN_ROOT := $(ANDROID_BUILD_TOP)/$(WLAN_ROOT) |
| 29 | override WLAN_COMMON_INC := $(ANDROID_BUILD_TOP)/$(WLAN_COMMON_INC) |
Yu Wang | 6c4599c | 2018-10-09 10:18:14 +0800 | [diff] [blame] | 30 | override WLAN_FW_API := $(ANDROID_BUILD_TOP)/$(WLAN_FW_API) |
Yuanyuan Liu | 49948f1 | 2018-10-16 12:42:28 -0700 | [diff] [blame] | 31 | endif |
| 32 | endif |
Tushnim Bhattacharyya | a2c18de | 2018-03-27 15:00:00 -0700 | [diff] [blame] | 33 | |
Nirav Shah | d2aa963 | 2018-05-27 22:02:53 +0530 | [diff] [blame] | 34 | include $(WLAN_ROOT)/configs/$(CONFIG_QCA_CLD_WLAN_PROFILE)_defconfig |
Jeff Johnson | 181cca7 | 2019-02-09 19:18:54 -0800 | [diff] [blame] | 35 | |
Yu Wang | baff800 | 2019-08-08 19:48:16 +0800 | [diff] [blame] | 36 | # add configurations in WLAN_CFG_OVERRIDE |
| 37 | ifneq ($(WLAN_CFG_OVERRIDE),) |
| 38 | WLAN_CFG_OVERRIDE_FILE := $(WLAN_ROOT)/.wlan_cfg_override |
| 39 | $(shell echo > $(WLAN_CFG_OVERRIDE_FILE)) |
| 40 | |
| 41 | $(foreach cfg, $(WLAN_CFG_OVERRIDE), \ |
| 42 | $(shell echo $(cfg) >> $(WLAN_CFG_OVERRIDE_FILE))) |
| 43 | |
| 44 | include $(WLAN_CFG_OVERRIDE_FILE) |
| 45 | $(warning "Overriding WLAN config with: $(shell cat $(WLAN_CFG_OVERRIDE_FILE))") |
| 46 | endif |
| 47 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 48 | ############ UAPI ############ |
| 49 | UAPI_DIR := uapi |
| 50 | UAPI_INC := -I$(WLAN_ROOT)/$(UAPI_DIR)/linux |
| 51 | |
| 52 | ############ COMMON ############ |
| 53 | COMMON_DIR := core/common |
| 54 | COMMON_INC := -I$(WLAN_ROOT)/$(COMMON_DIR) |
| 55 | |
| 56 | ############ HDD ############ |
| 57 | HDD_DIR := core/hdd |
| 58 | HDD_INC_DIR := $(HDD_DIR)/inc |
| 59 | HDD_SRC_DIR := $(HDD_DIR)/src |
| 60 | |
| 61 | HDD_INC := -I$(WLAN_ROOT)/$(HDD_INC_DIR) \ |
| 62 | -I$(WLAN_ROOT)/$(HDD_SRC_DIR) |
| 63 | |
| 64 | HDD_OBJS := $(HDD_SRC_DIR)/wlan_hdd_assoc.o \ |
| 65 | $(HDD_SRC_DIR)/wlan_hdd_cfg.o \ |
Jeff Johnson | a9d252d | 2018-04-11 15:43:53 -0700 | [diff] [blame] | 66 | $(HDD_SRC_DIR)/wlan_hdd_cfg80211.o \ |
Poddar, Siddarth | 3487278 | 2017-08-10 14:08:51 +0530 | [diff] [blame] | 67 | $(HDD_SRC_DIR)/wlan_hdd_data_stall_detection.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 68 | $(HDD_SRC_DIR)/wlan_hdd_driver_ops.o \ |
| 69 | $(HDD_SRC_DIR)/wlan_hdd_ftm.o \ |
| 70 | $(HDD_SRC_DIR)/wlan_hdd_hostapd.o \ |
| 71 | $(HDD_SRC_DIR)/wlan_hdd_ioctl.o \ |
| 72 | $(HDD_SRC_DIR)/wlan_hdd_main.o \ |
Jeff Johnson | a9d252d | 2018-04-11 15:43:53 -0700 | [diff] [blame] | 73 | $(HDD_SRC_DIR)/wlan_hdd_object_manager.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 74 | $(HDD_SRC_DIR)/wlan_hdd_oemdata.o \ |
Jeff Johnson | a9d252d | 2018-04-11 15:43:53 -0700 | [diff] [blame] | 75 | $(HDD_SRC_DIR)/wlan_hdd_p2p.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 76 | $(HDD_SRC_DIR)/wlan_hdd_power.o \ |
Amar Singhal | e4f28ee | 2015-10-21 14:36:56 -0700 | [diff] [blame] | 77 | $(HDD_SRC_DIR)/wlan_hdd_regulatory.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 78 | $(HDD_SRC_DIR)/wlan_hdd_scan.o \ |
| 79 | $(HDD_SRC_DIR)/wlan_hdd_softap_tx_rx.o \ |
Sourav Mohapatra | 43e6dea | 2019-08-18 11:39:23 +0530 | [diff] [blame] | 80 | $(HDD_SRC_DIR)/wlan_hdd_sta_info.o \ |
Jeff Johnson | a9d252d | 2018-04-11 15:43:53 -0700 | [diff] [blame] | 81 | $(HDD_SRC_DIR)/wlan_hdd_stats.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 82 | $(HDD_SRC_DIR)/wlan_hdd_trace.o \ |
Jeff Johnson | a9d252d | 2018-04-11 15:43:53 -0700 | [diff] [blame] | 83 | $(HDD_SRC_DIR)/wlan_hdd_tx_rx.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 84 | $(HDD_SRC_DIR)/wlan_hdd_wmm.o \ |
SaidiReddy Yenuga | 744073f | 2017-03-09 17:31:25 +0530 | [diff] [blame] | 85 | $(HDD_SRC_DIR)/wlan_hdd_wowl.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 86 | |
Rachit Kankane | 0dc3e85 | 2018-05-07 17:33:42 +0530 | [diff] [blame] | 87 | ifeq ($(CONFIG_WLAN_WEXT_SUPPORT_ENABLE), y) |
| 88 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_wext.o \ |
| 89 | $(HDD_SRC_DIR)/wlan_hdd_hostapd_wext.o |
| 90 | endif |
| 91 | |
Ashish Kumar Dhanotiya | 9cc2a86 | 2019-07-08 14:52:51 +0530 | [diff] [blame] | 92 | ifeq ($(CONFIG_FEATURE_WLAN_EXTSCAN), y) |
| 93 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_ext_scan.o |
| 94 | endif |
| 95 | |
Mahesh Kumar Kalikot Veetil | c0233a7 | 2016-10-27 15:06:05 -0700 | [diff] [blame] | 96 | ifeq ($(CONFIG_WLAN_DEBUGFS), y) |
| 97 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_debugfs.o |
Qiwei Cai | 3719efe | 2018-06-11 21:09:29 +0800 | [diff] [blame] | 98 | ifeq ($(CONFIG_WLAN_FEATURE_LINK_LAYER_STATS), y) |
Krishna Kumaar Natarajan | c7e2bb7 | 2017-03-10 10:38:46 -0800 | [diff] [blame] | 99 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_debugfs_llstat.o |
Nirav Shah | 179b986 | 2018-09-11 13:46:38 +0530 | [diff] [blame] | 100 | endif |
tinlin | 9abd17f | 2019-08-14 13:29:44 +0800 | [diff] [blame] | 101 | ifeq ($(CONFIG_WLAN_FEATURE_MIB_STATS), y) |
| 102 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_debugfs_mibstat.o |
| 103 | endif |
Rajeev Kumar Sirasanagandla | 197d417 | 2018-02-15 19:03:29 +0530 | [diff] [blame] | 104 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_debugfs_csr.o |
Rajeev Kumar Sirasanagandla | 4c8edc0 | 2018-03-12 08:44:51 +0530 | [diff] [blame] | 105 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_debugfs_connect.o |
Rajeev Kumar Sirasanagandla | 85f8b02 | 2018-03-12 12:52:59 +0530 | [diff] [blame] | 106 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_debugfs_offload.o |
Rajeev Kumar Sirasanagandla | 4f20b67 | 2018-03-12 13:52:50 +0530 | [diff] [blame] | 107 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_debugfs_roam.o |
Arun Kumar Khandavalli | deda5a8 | 2019-03-11 15:32:19 +0530 | [diff] [blame] | 108 | ifeq ($(CONFIG_WLAN_MWS_INFO_DEBUGFS), y) |
| 109 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_debugfs_coex.o |
| 110 | endif |
Mahesh Kumar Kalikot Veetil | c0233a7 | 2016-10-27 15:06:05 -0700 | [diff] [blame] | 111 | endif |
| 112 | |
Sandeep Puligilla | 8e89d57 | 2018-04-02 18:07:45 -0700 | [diff] [blame] | 113 | ifeq ($(CONFIG_WLAN_CONV_SPECTRAL_ENABLE),y) |
| 114 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_spectralscan.o |
| 115 | endif |
| 116 | |
Agrawal Ashish | b141b09 | 2016-09-02 19:59:26 +0530 | [diff] [blame] | 117 | ifeq ($(CONFIG_WLAN_FEATURE_DSRC), y) |
| 118 | HDD_OBJS+= $(HDD_SRC_DIR)/wlan_hdd_ocb.o |
| 119 | endif |
Amar Singhal | e4f28ee | 2015-10-21 14:36:56 -0700 | [diff] [blame] | 120 | |
Wen Gong | 3f00338 | 2018-05-14 14:26:37 +0800 | [diff] [blame] | 121 | ifeq ($(CONFIG_FEATURE_MEMDUMP_ENABLE), y) |
Wen Gong | aa6d55d | 2018-04-26 16:33:21 +0800 | [diff] [blame] | 122 | HDD_OBJS+= $(HDD_SRC_DIR)/wlan_hdd_memdump.o |
| 123 | endif |
| 124 | |
Jeff Johnson | 6fa1e01 | 2017-04-05 06:40:53 -0700 | [diff] [blame] | 125 | ifeq ($(CONFIG_WLAN_FEATURE_FIPS), y) |
| 126 | HDD_OBJS+= $(HDD_SRC_DIR)/wlan_hdd_fips.o |
| 127 | endif |
| 128 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 129 | ifeq ($(CONFIG_QCACLD_FEATURE_GREEN_AP), y) |
Jeff Johnson | 8bb6111 | 2018-03-31 13:33:54 -0700 | [diff] [blame] | 130 | HDD_OBJS+= $(HDD_SRC_DIR)/wlan_hdd_green_ap.o |
| 131 | endif |
| 132 | |
Nachiket Kukade | d0dd62e | 2018-05-21 18:39:22 +0530 | [diff] [blame] | 133 | ifeq ($(CONFIG_QCACLD_FEATURE_APF), y) |
| 134 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_apf.o |
| 135 | endif |
| 136 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 137 | ifeq ($(CONFIG_WLAN_FEATURE_LPSS), y) |
Jeff Johnson | 2b0a7b8 | 2016-05-18 15:08:02 -0700 | [diff] [blame] | 138 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_lpass.o |
| 139 | endif |
| 140 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 141 | ifeq ($(CONFIG_WLAN_LRO), y) |
| 142 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_lro.o |
| 143 | endif |
| 144 | |
| 145 | ifeq ($(CONFIG_WLAN_NAPI), y) |
| 146 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_napi.o |
| 147 | endif |
| 148 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 149 | ifeq ($(CONFIG_IPA_OFFLOAD), y) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 150 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_ipa.o |
| 151 | endif |
| 152 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 153 | ifeq ($(CONFIG_QCACLD_FEATURE_NAN), y) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 154 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_nan.o |
Nachiket Kukade | 2fb1fdb | 2019-01-08 15:35:27 +0530 | [diff] [blame] | 155 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_nan_datapath.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 156 | endif |
| 157 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 158 | ifeq ($(CONFIG_QCOM_TDLS), y) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 159 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_tdls.o |
| 160 | endif |
| 161 | |
Yu Wang | 000dc2f | 2017-05-26 17:38:48 +0800 | [diff] [blame] | 162 | ifeq ($(CONFIG_WLAN_SYNC_TSF_PLUS), y) |
| 163 | CONFIG_WLAN_SYNC_TSF := y |
| 164 | endif |
| 165 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 166 | ifeq ($(CONFIG_WLAN_SYNC_TSF), y) |
Manikandan Mohan | dcc21ba | 2016-03-15 14:31:56 -0700 | [diff] [blame] | 167 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_tsf.o |
| 168 | endif |
| 169 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 170 | ifeq ($(CONFIG_MPC_UT_FRAMEWORK), y) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 171 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_conc_ut.o |
| 172 | endif |
| 173 | |
Nachiket Kukade | 98f562a | 2017-12-15 12:18:07 +0530 | [diff] [blame] | 174 | ifeq ($(CONFIG_WLAN_FEATURE_DISA), y) |
Padma, Santhosh Kumar | d7cc079 | 2016-06-28 18:54:12 +0530 | [diff] [blame] | 175 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_disa.o |
| 176 | endif |
| 177 | |
Ravi Joshi | 61c3c7a | 2015-11-09 18:41:20 -0800 | [diff] [blame] | 178 | ifeq ($(CONFIG_LFR_SUBNET_DETECTION), y) |
| 179 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_subnet_detect.o |
| 180 | endif |
| 181 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 182 | ifeq ($(CONFIG_WLAN_FEATURE_11AX), y) |
Krishna Kumaar Natarajan | ed1efd9 | 2016-09-24 18:05:47 -0700 | [diff] [blame] | 183 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_he.o |
| 184 | endif |
| 185 | |
Varun Reddy Yeturu | d33033f | 2018-06-11 10:58:30 -0700 | [diff] [blame] | 186 | ifeq ($(CONFIG_WLAN_FEATURE_TWT), y) |
| 187 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_twt.o |
| 188 | endif |
| 189 | |
Tushnim Bhattacharyya | a2c18de | 2018-03-27 15:00:00 -0700 | [diff] [blame] | 190 | ifeq ($(CONFIG_LITHIUM), y) |
Ravi Joshi | 1c2cfb6 | 2017-01-18 14:40:08 -0800 | [diff] [blame] | 191 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_rx_monitor.o |
| 192 | endif |
| 193 | |
Mohit Khanna | 7032200 | 2018-05-15 19:21:32 -0700 | [diff] [blame] | 194 | ifeq ($(CONFIG_LITHIUM), y) |
| 195 | CONFIG_WLAN_FEATURE_DP_RX_THREADS := y |
Mohit Khanna | d02e9b8 | 2019-03-22 16:36:15 -0700 | [diff] [blame] | 196 | CONFIG_WLAN_FEATURE_RX_SOFTIRQ_TIME_LIMIT := y |
Mohit Khanna | 7032200 | 2018-05-15 19:21:32 -0700 | [diff] [blame] | 197 | endif |
| 198 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 199 | ifeq ($(CONFIG_WLAN_NUD_TRACKING), y) |
Alok Kumar | b64650c | 2018-03-23 17:05:11 +0530 | [diff] [blame] | 200 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_nud_tracking.o |
| 201 | endif |
| 202 | |
Qiwei Cai | 4505fc6 | 2018-05-17 18:35:19 +0800 | [diff] [blame] | 203 | ifeq ($(CONFIG_WLAN_FEATURE_PACKET_FILTERING), y) |
| 204 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_packet_filter.o |
| 205 | endif |
| 206 | |
Qiwei Cai | e689a26 | 2018-07-26 15:50:22 +0800 | [diff] [blame] | 207 | ifeq ($(CONFIG_FEATURE_RSSI_MONITOR), y) |
| 208 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_rssi_monitor.o |
| 209 | endif |
| 210 | |
| 211 | ifeq ($(CONFIG_FEATURE_BSS_TRANSITION), y) |
| 212 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_bss_transition.o |
| 213 | endif |
| 214 | |
| 215 | ifeq ($(CONFIG_FEATURE_STATION_INFO), y) |
| 216 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_station_info.o |
| 217 | endif |
| 218 | |
| 219 | ifeq ($(CONFIG_FEATURE_TX_POWER), y) |
| 220 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_tx_power.o |
| 221 | endif |
| 222 | |
| 223 | ifeq ($(CONFIG_FEATURE_OTA_TEST), y) |
| 224 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_ota_test.o |
| 225 | endif |
| 226 | |
| 227 | ifeq ($(CONFIG_FEATURE_ACTIVE_TOS), y) |
| 228 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_active_tos.o |
| 229 | endif |
| 230 | |
| 231 | ifeq ($(CONFIG_FEATURE_SAR_LIMITS), y) |
| 232 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_sar_limits.o |
| 233 | endif |
| 234 | |
| 235 | ifeq ($(CONFIG_FEATURE_CONCURRENCY_MATRIX), y) |
| 236 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_concurrency_matrix.o |
| 237 | endif |
| 238 | |
| 239 | ifeq ($(CONFIG_FEATURE_SAP_COND_CHAN_SWITCH), y) |
| 240 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_sap_cond_chan_switch.o |
| 241 | endif |
| 242 | |
| 243 | ifeq ($(CONFIG_FEATURE_P2P_LISTEN_OFFLOAD), y) |
| 244 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_p2p_listen_offload.o |
| 245 | endif |
| 246 | |
Kai Liu | aa88d2f | 2018-08-13 11:30:11 +0800 | [diff] [blame] | 247 | ifeq ($(CONFIG_WLAN_SYSFS), y) |
| 248 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_sysfs.o |
| 249 | endif |
Dustin Brown | a17cace | 2019-02-01 14:53:47 -0800 | [diff] [blame] | 250 | |
Qun Zhang | ef65562 | 2019-02-25 10:48:10 +0800 | [diff] [blame] | 251 | ifeq ($(CONFIG_QCACLD_FEATURE_FW_STATE), y) |
| 252 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_fw_state.o |
| 253 | endif |
| 254 | |
Jiani Liu | a5f1722 | 2019-03-04 16:22:33 +0800 | [diff] [blame] | 255 | ifeq ($(CONFIG_QCACLD_FEATURE_COEX_CONFIG), y) |
| 256 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_coex_config.o |
| 257 | endif |
| 258 | |
stonez | 2d68648 | 2019-03-12 14:54:26 +0800 | [diff] [blame] | 259 | ifeq ($(CONFIG_QCACLD_FEATURE_MPTA_HELPER), y) |
| 260 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_mpta_helper.o |
| 261 | endif |
| 262 | |
Abhinav Kumar | dbbfd2c | 2019-05-07 12:22:06 +0530 | [diff] [blame] | 263 | ifeq ($(CONFIG_WLAN_BCN_RECV_FEATURE), y) |
| 264 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_bcn_recv.o |
| 265 | endif |
| 266 | |
guangde | 4853c40 | 2019-05-06 15:54:04 +0800 | [diff] [blame] | 267 | ifeq ($(CONFIG_QCACLD_FEATURE_HW_CAPABILITY), y) |
| 268 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_hw_capability.o |
| 269 | endif |
| 270 | |
Dustin Brown | a17cace | 2019-02-01 14:53:47 -0800 | [diff] [blame] | 271 | ###### OSIF_SYNC ######## |
| 272 | SYNC_DIR := os_if/sync |
| 273 | SYNC_INC_DIR := $(SYNC_DIR)/inc |
| 274 | SYNC_SRC_DIR := $(SYNC_DIR)/src |
| 275 | |
| 276 | SYNC_INC := \ |
| 277 | -I$(WLAN_ROOT)/$(SYNC_INC_DIR) \ |
| 278 | -I$(WLAN_ROOT)/$(SYNC_SRC_DIR) \ |
| 279 | |
| 280 | SYNC_OBJS := \ |
| 281 | $(SYNC_SRC_DIR)/osif_sync.o \ |
| 282 | $(SYNC_SRC_DIR)/osif_driver_sync.o \ |
| 283 | $(SYNC_SRC_DIR)/osif_psoc_sync.o \ |
| 284 | $(SYNC_SRC_DIR)/osif_vdev_sync.o \ |
| 285 | |
Dustin Brown | 6099ddc | 2018-07-06 14:32:53 -0700 | [diff] [blame] | 286 | ########### Driver Synchronization Core (DSC) ########### |
| 287 | DSC_DIR := components/dsc |
| 288 | DSC_INC_DIR := $(DSC_DIR)/inc |
| 289 | DSC_SRC_DIR := $(DSC_DIR)/src |
| 290 | DSC_TEST_DIR := $(DSC_DIR)/test |
| 291 | |
| 292 | DSC_INC := \ |
| 293 | -I$(WLAN_ROOT)/$(DSC_INC_DIR) \ |
| 294 | -I$(WLAN_ROOT)/$(DSC_SRC_DIR) \ |
| 295 | -I$(WLAN_ROOT)/$(DSC_TEST_DIR) |
| 296 | |
| 297 | DSC_OBJS := \ |
| 298 | $(DSC_SRC_DIR)/__wlan_dsc.o \ |
| 299 | $(DSC_SRC_DIR)/wlan_dsc_driver.o \ |
| 300 | $(DSC_SRC_DIR)/wlan_dsc_psoc.o \ |
| 301 | $(DSC_SRC_DIR)/wlan_dsc_vdev.o |
| 302 | |
| 303 | ifeq ($(CONFIG_DSC_TEST), y) |
| 304 | DSC_OBJS += $(DSC_TEST_DIR)/wlan_dsc_test.o |
| 305 | endif |
| 306 | |
| 307 | cppflags-$(CONFIG_DSC_DEBUG) += -DWLAN_DSC_DEBUG |
| 308 | cppflags-$(CONFIG_DSC_TEST) += -DWLAN_DSC_TEST |
| 309 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 310 | ########### HOST DIAG LOG ########### |
Srinivas Girigowda | c1bb1bd | 2017-01-10 16:56:54 -0800 | [diff] [blame] | 311 | HOST_DIAG_LOG_DIR := $(WLAN_COMMON_ROOT)/utils/host_diag_log |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 312 | |
| 313 | HOST_DIAG_LOG_INC_DIR := $(HOST_DIAG_LOG_DIR)/inc |
| 314 | HOST_DIAG_LOG_SRC_DIR := $(HOST_DIAG_LOG_DIR)/src |
| 315 | |
| 316 | HOST_DIAG_LOG_INC := -I$(WLAN_ROOT)/$(HOST_DIAG_LOG_INC_DIR) \ |
| 317 | -I$(WLAN_ROOT)/$(HOST_DIAG_LOG_SRC_DIR) |
| 318 | |
| 319 | HOST_DIAG_LOG_OBJS += $(HOST_DIAG_LOG_SRC_DIR)/host_diag_log.o |
| 320 | |
| 321 | ############ EPPING ############ |
Srinivas Girigowda | c1bb1bd | 2017-01-10 16:56:54 -0800 | [diff] [blame] | 322 | EPPING_DIR := $(WLAN_COMMON_ROOT)/utils/epping |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 323 | EPPING_INC_DIR := $(EPPING_DIR)/inc |
| 324 | EPPING_SRC_DIR := $(EPPING_DIR)/src |
| 325 | |
| 326 | EPPING_INC := -I$(WLAN_ROOT)/$(EPPING_INC_DIR) |
| 327 | |
| 328 | EPPING_OBJS := $(EPPING_SRC_DIR)/epping_main.o \ |
| 329 | $(EPPING_SRC_DIR)/epping_txrx.o \ |
| 330 | $(EPPING_SRC_DIR)/epping_tx.o \ |
| 331 | $(EPPING_SRC_DIR)/epping_rx.o \ |
Dustin Brown | 6099ddc | 2018-07-06 14:32:53 -0700 | [diff] [blame] | 332 | $(EPPING_SRC_DIR)/epping_helper.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 333 | |
Ashish Kumar Dhanotiya | 94ffbd1 | 2019-08-08 18:00:59 +0530 | [diff] [blame] | 334 | ############ SYS ############ |
| 335 | CMN_SYS_DIR := $(WLAN_COMMON_ROOT)/utils/sys |
| 336 | CMN_SYS_INC_DIR := $(CMN_SYS_DIR) |
| 337 | CMN_SYS_INC := -I$(WLAN_ROOT)/$(CMN_SYS_INC_DIR) |
| 338 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 339 | ############ MAC ############ |
| 340 | MAC_DIR := core/mac |
| 341 | MAC_INC_DIR := $(MAC_DIR)/inc |
| 342 | MAC_SRC_DIR := $(MAC_DIR)/src |
| 343 | |
| 344 | MAC_INC := -I$(WLAN_ROOT)/$(MAC_INC_DIR) \ |
| 345 | -I$(WLAN_ROOT)/$(MAC_SRC_DIR)/dph \ |
| 346 | -I$(WLAN_ROOT)/$(MAC_SRC_DIR)/include \ |
| 347 | -I$(WLAN_ROOT)/$(MAC_SRC_DIR)/pe/include \ |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 348 | -I$(WLAN_ROOT)/$(MAC_SRC_DIR)/pe/lim \ |
| 349 | -I$(WLAN_ROOT)/$(MAC_SRC_DIR)/pe/nan |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 350 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 351 | MAC_DPH_OBJS := $(MAC_SRC_DIR)/dph/dph_hash_table.o |
| 352 | |
| 353 | MAC_LIM_OBJS := $(MAC_SRC_DIR)/pe/lim/lim_aid_mgmt.o \ |
| 354 | $(MAC_SRC_DIR)/pe/lim/lim_admit_control.o \ |
| 355 | $(MAC_SRC_DIR)/pe/lim/lim_api.o \ |
| 356 | $(MAC_SRC_DIR)/pe/lim/lim_assoc_utils.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 357 | $(MAC_SRC_DIR)/pe/lim/lim_ft.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 358 | $(MAC_SRC_DIR)/pe/lim/lim_link_monitoring_algo.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 359 | $(MAC_SRC_DIR)/pe/lim/lim_process_action_frame.o \ |
| 360 | $(MAC_SRC_DIR)/pe/lim/lim_process_assoc_req_frame.o \ |
| 361 | $(MAC_SRC_DIR)/pe/lim/lim_process_assoc_rsp_frame.o \ |
| 362 | $(MAC_SRC_DIR)/pe/lim/lim_process_auth_frame.o \ |
| 363 | $(MAC_SRC_DIR)/pe/lim/lim_process_beacon_frame.o \ |
| 364 | $(MAC_SRC_DIR)/pe/lim/lim_process_cfg_updates.o \ |
| 365 | $(MAC_SRC_DIR)/pe/lim/lim_process_deauth_frame.o \ |
| 366 | $(MAC_SRC_DIR)/pe/lim/lim_process_disassoc_frame.o \ |
| 367 | $(MAC_SRC_DIR)/pe/lim/lim_process_message_queue.o \ |
| 368 | $(MAC_SRC_DIR)/pe/lim/lim_process_mlm_req_messages.o \ |
| 369 | $(MAC_SRC_DIR)/pe/lim/lim_process_mlm_rsp_messages.o \ |
| 370 | $(MAC_SRC_DIR)/pe/lim/lim_process_probe_req_frame.o \ |
| 371 | $(MAC_SRC_DIR)/pe/lim/lim_process_probe_rsp_frame.o \ |
| 372 | $(MAC_SRC_DIR)/pe/lim/lim_process_sme_req_messages.o \ |
| 373 | $(MAC_SRC_DIR)/pe/lim/lim_prop_exts_utils.o \ |
| 374 | $(MAC_SRC_DIR)/pe/lim/lim_scan_result_utils.o \ |
| 375 | $(MAC_SRC_DIR)/pe/lim/lim_security_utils.o \ |
| 376 | $(MAC_SRC_DIR)/pe/lim/lim_send_management_frames.o \ |
| 377 | $(MAC_SRC_DIR)/pe/lim/lim_send_messages.o \ |
| 378 | $(MAC_SRC_DIR)/pe/lim/lim_send_sme_rsp_messages.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 379 | $(MAC_SRC_DIR)/pe/lim/lim_session.o \ |
| 380 | $(MAC_SRC_DIR)/pe/lim/lim_session_utils.o \ |
| 381 | $(MAC_SRC_DIR)/pe/lim/lim_sme_req_utils.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 382 | $(MAC_SRC_DIR)/pe/lim/lim_timer_utils.o \ |
| 383 | $(MAC_SRC_DIR)/pe/lim/lim_trace.o \ |
| 384 | $(MAC_SRC_DIR)/pe/lim/lim_utils.o |
| 385 | |
Abhishek Ambure | 995ab5a | 2019-09-27 19:06:02 +0530 | [diff] [blame] | 386 | ifeq ($(CONFIG_QCA_IBSS_SUPPORT), y) |
| 387 | MAC_LIM_OBJS += $(MAC_SRC_DIR)/pe/lim/lim_ibss_peer_mgmt.o |
| 388 | endif |
| 389 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 390 | ifeq ($(CONFIG_QCOM_TDLS), y) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 391 | MAC_LIM_OBJS += $(MAC_SRC_DIR)/pe/lim/lim_process_tdls.o |
| 392 | endif |
| 393 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 394 | ifeq ($(CONFIG_WLAN_FEATURE_FILS), y) |
Sridhar Selvaraj | 8c6f5e8 | 2017-08-21 14:53:46 +0530 | [diff] [blame] | 395 | MAC_LIM_OBJS += $(MAC_SRC_DIR)/pe/lim/lim_process_fils.o |
| 396 | endif |
| 397 | |
Nachiket Kukade | 2fb1fdb | 2019-01-08 15:35:27 +0530 | [diff] [blame] | 398 | ifeq ($(CONFIG_QCACLD_FEATURE_NAN), y) |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 399 | MAC_NDP_OBJS += $(MAC_SRC_DIR)/pe/nan/nan_datapath.o |
| 400 | endif |
| 401 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 402 | ifeq ($(CONFIG_QCACLD_WLAN_LFR2), y) |
Varun Reddy Yeturu | bbbbe23 | 2016-02-29 14:01:57 -0800 | [diff] [blame] | 403 | MAC_LIM_OBJS += $(MAC_SRC_DIR)/pe/lim/lim_process_mlm_host_roam.o \ |
| 404 | $(MAC_SRC_DIR)/pe/lim/lim_send_frames_host_roam.o \ |
| 405 | $(MAC_SRC_DIR)/pe/lim/lim_roam_timer_utils.o \ |
| 406 | $(MAC_SRC_DIR)/pe/lim/lim_ft_preauth.o \ |
| 407 | $(MAC_SRC_DIR)/pe/lim/lim_reassoc_utils.o |
| 408 | endif |
| 409 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 410 | MAC_SCH_OBJS := $(MAC_SRC_DIR)/pe/sch/sch_api.o \ |
| 411 | $(MAC_SRC_DIR)/pe/sch/sch_beacon_gen.o \ |
| 412 | $(MAC_SRC_DIR)/pe/sch/sch_beacon_process.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 413 | $(MAC_SRC_DIR)/pe/sch/sch_message.o |
| 414 | |
| 415 | MAC_RRM_OBJS := $(MAC_SRC_DIR)/pe/rrm/rrm_api.o |
| 416 | |
| 417 | MAC_OBJS := $(MAC_CFG_OBJS) \ |
| 418 | $(MAC_DPH_OBJS) \ |
| 419 | $(MAC_LIM_OBJS) \ |
| 420 | $(MAC_SCH_OBJS) \ |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 421 | $(MAC_RRM_OBJS) \ |
| 422 | $(MAC_NDP_OBJS) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 423 | |
| 424 | ############ SAP ############ |
| 425 | SAP_DIR := core/sap |
| 426 | SAP_INC_DIR := $(SAP_DIR)/inc |
| 427 | SAP_SRC_DIR := $(SAP_DIR)/src |
| 428 | |
| 429 | SAP_INC := -I$(WLAN_ROOT)/$(SAP_INC_DIR) \ |
| 430 | -I$(WLAN_ROOT)/$(SAP_SRC_DIR) |
| 431 | |
| 432 | SAP_OBJS := $(SAP_SRC_DIR)/sap_api_link_cntl.o \ |
| 433 | $(SAP_SRC_DIR)/sap_ch_select.o \ |
| 434 | $(SAP_SRC_DIR)/sap_fsm.o \ |
| 435 | $(SAP_SRC_DIR)/sap_module.o |
| 436 | |
Dustin Brown | 84f46ea | 2018-02-15 11:57:36 -0800 | [diff] [blame] | 437 | ############ CFG ############ |
| 438 | CFG_REL_DIR := $(WLAN_COMMON_ROOT)/cfg |
| 439 | CFG_DIR := $(WLAN_ROOT)/$(CFG_REL_DIR) |
| 440 | CFG_INC := \ |
| 441 | -I$(CFG_DIR)/inc \ |
| 442 | -I$(CFG_DIR)/dispatcher/inc \ |
| 443 | -I$(WLAN_ROOT)/components/cfg |
| 444 | CFG_OBJS := \ |
| 445 | $(CFG_REL_DIR)/src/cfg.o |
| 446 | |
Jeff Johnson | b4e2d82 | 2018-04-12 15:53:24 -0700 | [diff] [blame] | 447 | ############ DFS ############ |
Arif Hussain | 757b45f | 2017-02-11 16:47:06 -0800 | [diff] [blame] | 448 | DFS_DIR := $(WLAN_COMMON_ROOT)/umac/dfs |
| 449 | DFS_CORE_INC_DIR := $(DFS_DIR)/core/inc |
| 450 | DFS_CORE_SRC_DIR := $(DFS_DIR)/core/src |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 451 | |
Arif Hussain | 757b45f | 2017-02-11 16:47:06 -0800 | [diff] [blame] | 452 | DFS_DISP_INC_DIR := $(DFS_DIR)/dispatcher/inc |
| 453 | DFS_DISP_SRC_DIR := $(DFS_DIR)/dispatcher/src |
| 454 | DFS_TARGET_INC_DIR := $(WLAN_COMMON_ROOT)/target_if/dfs/inc |
| 455 | DFS_CMN_SERVICES_INC_DIR := $(WLAN_COMMON_ROOT)/umac/cmn_services/dfs/inc |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 456 | |
Arif Hussain | 757b45f | 2017-02-11 16:47:06 -0800 | [diff] [blame] | 457 | DFS_INC := -I$(WLAN_ROOT)/$(DFS_DISP_INC_DIR) \ |
| 458 | -I$(WLAN_ROOT)/$(DFS_TARGET_INC_DIR) \ |
| 459 | -I$(WLAN_ROOT)/$(DFS_CMN_SERVICES_INC_DIR) |
| 460 | |
Arif Hussain | 02c2b63 | 2018-03-08 23:09:21 -0800 | [diff] [blame] | 461 | DFS_OBJS := $(DFS_CORE_SRC_DIR)/misc/dfs.o \ |
| 462 | $(DFS_CORE_SRC_DIR)/misc/dfs_cac.o \ |
| 463 | $(DFS_CORE_SRC_DIR)/misc/dfs_nol.o \ |
| 464 | $(DFS_CORE_SRC_DIR)/misc/dfs_random_chan_sel.o \ |
| 465 | $(DFS_CORE_SRC_DIR)/misc/dfs_process_radar_found_ind.o \ |
| 466 | $(DFS_DISP_SRC_DIR)/wlan_dfs_init_deinit_api.o \ |
| 467 | $(DFS_DISP_SRC_DIR)/wlan_dfs_lmac_api.o \ |
| 468 | $(DFS_DISP_SRC_DIR)/wlan_dfs_mlme_api.o \ |
| 469 | $(DFS_DISP_SRC_DIR)/wlan_dfs_tgt_api.o \ |
| 470 | $(DFS_DISP_SRC_DIR)/wlan_dfs_ucfg_api.o \ |
| 471 | $(DFS_DISP_SRC_DIR)/wlan_dfs_tgt_api.o \ |
| 472 | $(DFS_DISP_SRC_DIR)/wlan_dfs_utils_api.o \ |
Arif Hussain | 757b45f | 2017-02-11 16:47:06 -0800 | [diff] [blame] | 473 | $(WLAN_COMMON_ROOT)/target_if/dfs/src/target_if_dfs.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 474 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 475 | ifeq ($(CONFIG_WLAN_FEATURE_DFS_OFFLOAD), y) |
Arif Hussain | 02c2b63 | 2018-03-08 23:09:21 -0800 | [diff] [blame] | 476 | DFS_OBJS += $(WLAN_COMMON_ROOT)/target_if/dfs/src/target_if_dfs_full_offload.o \ |
| 477 | $(DFS_CORE_SRC_DIR)/misc/dfs_full_offload.o |
| 478 | else |
| 479 | DFS_OBJS += $(WLAN_COMMON_ROOT)/target_if/dfs/src/target_if_dfs_partial_offload.o \ |
| 480 | $(DFS_CORE_SRC_DIR)/filtering/dfs_fcc_bin5.o \ |
| 481 | $(DFS_CORE_SRC_DIR)/filtering/dfs_bindetects.o \ |
| 482 | $(DFS_CORE_SRC_DIR)/filtering/dfs_debug.o \ |
| 483 | $(DFS_CORE_SRC_DIR)/filtering/dfs_init.o \ |
| 484 | $(DFS_CORE_SRC_DIR)/filtering/dfs_misc.o \ |
| 485 | $(DFS_CORE_SRC_DIR)/filtering/dfs_phyerr_tlv.o \ |
| 486 | $(DFS_CORE_SRC_DIR)/filtering/dfs_process_phyerr.o \ |
| 487 | $(DFS_CORE_SRC_DIR)/filtering/dfs_process_radarevent.o \ |
| 488 | $(DFS_CORE_SRC_DIR)/filtering/dfs_staggered.o \ |
| 489 | $(DFS_CORE_SRC_DIR)/filtering/dfs_radar.o \ |
Arif Hussain | 02c2b63 | 2018-03-08 23:09:21 -0800 | [diff] [blame] | 490 | $(DFS_CORE_SRC_DIR)/filtering/dfs_partial_offload_radar.o \ |
Arif Hussain | 6e4d14a | 2018-11-01 13:35:31 -0700 | [diff] [blame] | 491 | $(DFS_CORE_SRC_DIR)/misc/dfs_filter_init.o |
Arif Hussain | 02c2b63 | 2018-03-08 23:09:21 -0800 | [diff] [blame] | 492 | endif |
| 493 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 494 | ############ SME ############ |
| 495 | SME_DIR := core/sme |
| 496 | SME_INC_DIR := $(SME_DIR)/inc |
| 497 | SME_SRC_DIR := $(SME_DIR)/src |
| 498 | |
| 499 | SME_INC := -I$(WLAN_ROOT)/$(SME_INC_DIR) \ |
| 500 | -I$(WLAN_ROOT)/$(SME_SRC_DIR)/csr |
| 501 | |
| 502 | SME_CSR_OBJS := $(SME_SRC_DIR)/csr/csr_api_roam.o \ |
| 503 | $(SME_SRC_DIR)/csr/csr_api_scan.o \ |
| 504 | $(SME_SRC_DIR)/csr/csr_cmd_process.o \ |
| 505 | $(SME_SRC_DIR)/csr/csr_link_list.o \ |
| 506 | $(SME_SRC_DIR)/csr/csr_neighbor_roam.o \ |
Varun Reddy Yeturu | 86459d6 | 2016-02-22 10:07:02 -0800 | [diff] [blame] | 507 | $(SME_SRC_DIR)/csr/csr_util.o \ |
Varun Reddy Yeturu | bbbbe23 | 2016-02-29 14:01:57 -0800 | [diff] [blame] | 508 | |
| 509 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 510 | ifeq ($(CONFIG_QCACLD_WLAN_LFR2), y) |
Varun Reddy Yeturu | bbbbe23 | 2016-02-29 14:01:57 -0800 | [diff] [blame] | 511 | SME_CSR_OBJS += $(SME_SRC_DIR)/csr/csr_roam_preauth.o \ |
Varun Reddy Yeturu | 86459d6 | 2016-02-22 10:07:02 -0800 | [diff] [blame] | 512 | $(SME_SRC_DIR)/csr/csr_host_scan_roam.o |
Varun Reddy Yeturu | bbbbe23 | 2016-02-29 14:01:57 -0800 | [diff] [blame] | 513 | endif |
| 514 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 515 | SME_QOS_OBJS := $(SME_SRC_DIR)/qos/sme_qos.o |
| 516 | |
| 517 | SME_CMN_OBJS := $(SME_SRC_DIR)/common/sme_api.o \ |
| 518 | $(SME_SRC_DIR)/common/sme_ft_api.o \ |
| 519 | $(SME_SRC_DIR)/common/sme_power_save.o \ |
| 520 | $(SME_SRC_DIR)/common/sme_trace.o |
| 521 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 522 | SME_RRM_OBJS := $(SME_SRC_DIR)/rrm/sme_rrm.o |
| 523 | |
Nachiket Kukade | 2fb1fdb | 2019-01-08 15:35:27 +0530 | [diff] [blame] | 524 | ifeq ($(CONFIG_QCACLD_FEATURE_NAN), y) |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 525 | SME_NDP_OBJS += $(SME_SRC_DIR)/nan/nan_datapath_api.o |
| 526 | endif |
| 527 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 528 | SME_OBJS := $(SME_CMN_OBJS) \ |
| 529 | $(SME_CSR_OBJS) \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 530 | $(SME_QOS_OBJS) \ |
| 531 | $(SME_RRM_OBJS) \ |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 532 | $(SME_NAN_OBJS) \ |
| 533 | $(SME_NDP_OBJS) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 534 | |
| 535 | ############ NLINK ############ |
Srinivas Girigowda | c1bb1bd | 2017-01-10 16:56:54 -0800 | [diff] [blame] | 536 | NLINK_DIR := $(WLAN_COMMON_ROOT)/utils/nlink |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 537 | NLINK_INC_DIR := $(NLINK_DIR)/inc |
| 538 | NLINK_SRC_DIR := $(NLINK_DIR)/src |
| 539 | |
| 540 | NLINK_INC := -I$(WLAN_ROOT)/$(NLINK_INC_DIR) |
| 541 | NLINK_OBJS := $(NLINK_SRC_DIR)/wlan_nlink_srv.o |
| 542 | |
| 543 | ############ PTT ############ |
Srinivas Girigowda | c1bb1bd | 2017-01-10 16:56:54 -0800 | [diff] [blame] | 544 | PTT_DIR := $(WLAN_COMMON_ROOT)/utils/ptt |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 545 | PTT_INC_DIR := $(PTT_DIR)/inc |
| 546 | PTT_SRC_DIR := $(PTT_DIR)/src |
| 547 | |
| 548 | PTT_INC := -I$(WLAN_ROOT)/$(PTT_INC_DIR) |
| 549 | PTT_OBJS := $(PTT_SRC_DIR)/wlan_ptt_sock_svc.o |
| 550 | |
| 551 | ############ WLAN_LOGGING ############ |
Srinivas Girigowda | c1bb1bd | 2017-01-10 16:56:54 -0800 | [diff] [blame] | 552 | WLAN_LOGGING_DIR := $(WLAN_COMMON_ROOT)/utils/logging |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 553 | WLAN_LOGGING_INC_DIR := $(WLAN_LOGGING_DIR)/inc |
| 554 | WLAN_LOGGING_SRC_DIR := $(WLAN_LOGGING_DIR)/src |
| 555 | |
| 556 | WLAN_LOGGING_INC := -I$(WLAN_ROOT)/$(WLAN_LOGGING_INC_DIR) |
Deepak Dhamdhere | 5d7ea2f | 2017-10-19 15:08:45 -0700 | [diff] [blame] | 557 | WLAN_LOGGING_OBJS := $(WLAN_LOGGING_SRC_DIR)/wlan_logging_sock_svc.o \ |
| 558 | $(WLAN_LOGGING_SRC_DIR)/wlan_roam_debug.o |
Jeff Johnson | 8fba4d7 | 2018-04-08 08:46:04 -0700 | [diff] [blame] | 559 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 560 | ############ SYS ############ |
| 561 | SYS_DIR := core/mac/src/sys |
| 562 | |
| 563 | SYS_INC := -I$(WLAN_ROOT)/$(SYS_DIR)/common/inc \ |
| 564 | -I$(WLAN_ROOT)/$(SYS_DIR)/legacy/src/platform/inc \ |
| 565 | -I$(WLAN_ROOT)/$(SYS_DIR)/legacy/src/system/inc \ |
| 566 | -I$(WLAN_ROOT)/$(SYS_DIR)/legacy/src/utils/inc |
| 567 | |
| 568 | SYS_COMMON_SRC_DIR := $(SYS_DIR)/common/src |
| 569 | SYS_LEGACY_SRC_DIR := $(SYS_DIR)/legacy/src |
| 570 | SYS_OBJS := $(SYS_COMMON_SRC_DIR)/wlan_qct_sys.o \ |
| 571 | $(SYS_LEGACY_SRC_DIR)/platform/src/sys_wrapper.o \ |
| 572 | $(SYS_LEGACY_SRC_DIR)/system/src/mac_init_api.o \ |
| 573 | $(SYS_LEGACY_SRC_DIR)/system/src/sys_entry_func.o \ |
| 574 | $(SYS_LEGACY_SRC_DIR)/utils/src/dot11f.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 575 | $(SYS_LEGACY_SRC_DIR)/utils/src/mac_trace.o \ |
| 576 | $(SYS_LEGACY_SRC_DIR)/utils/src/parser_api.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 577 | $(SYS_LEGACY_SRC_DIR)/utils/src/utils_parser.o |
| 578 | |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 579 | ############ Qca-wifi-host-cmn ############ |
| 580 | QDF_OS_DIR := qdf |
| 581 | QDF_OS_INC_DIR := $(QDF_OS_DIR)/inc |
Dustin Brown | a2dcb5f | 2017-10-20 17:36:19 -0700 | [diff] [blame] | 582 | QDF_OS_SRC_DIR := $(QDF_OS_DIR)/src |
| 583 | QDF_OS_LINUX_SRC_DIR := $(QDF_OS_DIR)/linux/src |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 584 | QDF_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(QDF_OS_SRC_DIR) |
Dustin Brown | a2dcb5f | 2017-10-20 17:36:19 -0700 | [diff] [blame] | 585 | QDF_LINUX_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(QDF_OS_LINUX_SRC_DIR) |
Dustin Brown | ebb16d1 | 2018-11-29 17:52:07 -0800 | [diff] [blame] | 586 | QDF_TEST_DIR := $(QDF_OS_DIR)/test |
| 587 | QDF_TEST_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(QDF_TEST_DIR) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 588 | |
Dustin Brown | ebb16d1 | 2018-11-29 17:52:07 -0800 | [diff] [blame] | 589 | QDF_INC := \ |
| 590 | -I$(WLAN_COMMON_INC)/$(QDF_OS_INC_DIR) \ |
| 591 | -I$(WLAN_COMMON_INC)/$(QDF_OS_LINUX_SRC_DIR) \ |
| 592 | -I$(WLAN_COMMON_INC)/$(QDF_TEST_DIR) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 593 | |
Dustin Brown | ebb16d1 | 2018-11-29 17:52:07 -0800 | [diff] [blame] | 594 | QDF_OBJS := \ |
| 595 | $(QDF_LINUX_OBJ_DIR)/qdf_crypto.o \ |
| 596 | $(QDF_LINUX_OBJ_DIR)/qdf_defer.o \ |
Dustin Brown | 05a0658f | 2019-03-05 11:27:38 -0800 | [diff] [blame] | 597 | $(QDF_LINUX_OBJ_DIR)/qdf_delayed_work.o \ |
Dustin Brown | ebb16d1 | 2018-11-29 17:52:07 -0800 | [diff] [blame] | 598 | $(QDF_LINUX_OBJ_DIR)/qdf_event.o \ |
| 599 | $(QDF_LINUX_OBJ_DIR)/qdf_file.o \ |
| 600 | $(QDF_LINUX_OBJ_DIR)/qdf_idr.o \ |
| 601 | $(QDF_LINUX_OBJ_DIR)/qdf_list.o \ |
| 602 | $(QDF_LINUX_OBJ_DIR)/qdf_lock.o \ |
| 603 | $(QDF_LINUX_OBJ_DIR)/qdf_mc_timer.o \ |
| 604 | $(QDF_LINUX_OBJ_DIR)/qdf_mem.o \ |
| 605 | $(QDF_LINUX_OBJ_DIR)/qdf_nbuf.o \ |
Dustin Brown | 9c49a33 | 2019-03-05 11:27:38 -0800 | [diff] [blame] | 606 | $(QDF_LINUX_OBJ_DIR)/qdf_periodic_work.o \ |
Dustin Brown | dc78902 | 2019-02-05 12:51:49 -0800 | [diff] [blame] | 607 | $(QDF_LINUX_OBJ_DIR)/qdf_status.o \ |
Dustin Brown | ebb16d1 | 2018-11-29 17:52:07 -0800 | [diff] [blame] | 608 | $(QDF_LINUX_OBJ_DIR)/qdf_threads.o \ |
| 609 | $(QDF_LINUX_OBJ_DIR)/qdf_trace.o \ |
Dustin Brown | ebb16d1 | 2018-11-29 17:52:07 -0800 | [diff] [blame] | 610 | $(QDF_OBJ_DIR)/qdf_flex_mem.o \ |
| 611 | $(QDF_OBJ_DIR)/qdf_parse.o \ |
| 612 | $(QDF_OBJ_DIR)/qdf_platform.o \ |
| 613 | $(QDF_OBJ_DIR)/qdf_str.o \ |
Dustin Brown | d315c45 | 2018-11-27 11:28:48 -0800 | [diff] [blame] | 614 | $(QDF_OBJ_DIR)/qdf_talloc.o \ |
Dustin Brown | ebb16d1 | 2018-11-29 17:52:07 -0800 | [diff] [blame] | 615 | $(QDF_OBJ_DIR)/qdf_types.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 616 | |
Mahesh Kumar Kalikot Veetil | c0233a7 | 2016-10-27 15:06:05 -0700 | [diff] [blame] | 617 | ifeq ($(CONFIG_WLAN_DEBUGFS), y) |
Dustin Brown | a2dcb5f | 2017-10-20 17:36:19 -0700 | [diff] [blame] | 618 | QDF_OBJS += $(QDF_LINUX_OBJ_DIR)/qdf_debugfs.o |
Mahesh Kumar Kalikot Veetil | c0233a7 | 2016-10-27 15:06:05 -0700 | [diff] [blame] | 619 | endif |
| 620 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 621 | ifeq ($(CONFIG_IPA_OFFLOAD), y) |
Sravan Kumar Kairam | b9484f3 | 2018-02-22 17:16:14 +0530 | [diff] [blame] | 622 | QDF_OBJS += $(QDF_LINUX_OBJ_DIR)/qdf_ipa.o |
| 623 | endif |
| 624 | |
Dustin Brown | a2dcb5f | 2017-10-20 17:36:19 -0700 | [diff] [blame] | 625 | # enable CPU hotplug support if SMP is enabled |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 626 | ifeq ($(CONFIG_SMP), y) |
Dustin Brown | a2dcb5f | 2017-10-20 17:36:19 -0700 | [diff] [blame] | 627 | QDF_OBJS += $(QDF_OBJ_DIR)/qdf_cpuhp.o |
| 628 | QDF_OBJS += $(QDF_LINUX_OBJ_DIR)/qdf_cpuhp.o |
| 629 | endif |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 630 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 631 | ifeq ($(CONFIG_LEAK_DETECTION), y) |
Dustin Brown | 21a761d | 2017-11-15 16:37:00 -0800 | [diff] [blame] | 632 | QDF_OBJS += $(QDF_OBJ_DIR)/qdf_debug_domain.o |
Dustin Brown | ee733ba | 2019-03-12 13:31:11 -0700 | [diff] [blame] | 633 | QDF_OBJS += $(QDF_OBJ_DIR)/qdf_tracker.o |
Dustin Brown | 21a761d | 2017-11-15 16:37:00 -0800 | [diff] [blame] | 634 | endif |
| 635 | |
Dustin Brown | ebb16d1 | 2018-11-29 17:52:07 -0800 | [diff] [blame] | 636 | ifeq ($(CONFIG_QDF_TEST), y) |
Dustin Brown | 05a0658f | 2019-03-05 11:27:38 -0800 | [diff] [blame] | 637 | QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_delayed_work_test.o |
Dustin Brown | 6fb7a75 | 2018-11-30 11:33:57 -0800 | [diff] [blame] | 638 | QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_hashtable_test.o |
Dustin Brown | 9c49a33 | 2019-03-05 11:27:38 -0800 | [diff] [blame] | 639 | QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_periodic_work_test.o |
Dustin Brown | 92acafe | 2019-02-15 17:17:10 -0800 | [diff] [blame] | 640 | QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_ptr_hash_test.o |
Dustin Brown | 128e2d0 | 2019-02-15 12:59:07 -0800 | [diff] [blame] | 641 | QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_slist_test.o |
Dustin Brown | d315c45 | 2018-11-27 11:28:48 -0800 | [diff] [blame] | 642 | QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_talloc_test.o |
Dustin Brown | ee733ba | 2019-03-12 13:31:11 -0700 | [diff] [blame] | 643 | QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_tracker_test.o |
Dustin Brown | ebb16d1 | 2018-11-29 17:52:07 -0800 | [diff] [blame] | 644 | QDF_OBJS += $(QDF_TEST_OBJ_DIR)/qdf_types_test.o |
| 645 | endif |
| 646 | |
Dustin Brown | d315c45 | 2018-11-27 11:28:48 -0800 | [diff] [blame] | 647 | cppflags-$(CONFIG_TALLOC_DEBUG) += -DWLAN_TALLOC_DEBUG |
Dustin Brown | 05a0658f | 2019-03-05 11:27:38 -0800 | [diff] [blame] | 648 | cppflags-$(CONFIG_QDF_TEST) += -DWLAN_DELAYED_WORK_TEST |
Dustin Brown | 6fb7a75 | 2018-11-30 11:33:57 -0800 | [diff] [blame] | 649 | cppflags-$(CONFIG_QDF_TEST) += -DWLAN_HASHTABLE_TEST |
Dustin Brown | 9c49a33 | 2019-03-05 11:27:38 -0800 | [diff] [blame] | 650 | cppflags-$(CONFIG_QDF_TEST) += -DWLAN_PERIODIC_WORK_TEST |
Dustin Brown | 92acafe | 2019-02-15 17:17:10 -0800 | [diff] [blame] | 651 | cppflags-$(CONFIG_QDF_TEST) += -DWLAN_PTR_HASH_TEST |
Dustin Brown | 128e2d0 | 2019-02-15 12:59:07 -0800 | [diff] [blame] | 652 | cppflags-$(CONFIG_QDF_TEST) += -DWLAN_SLIST_TEST |
Dustin Brown | d315c45 | 2018-11-27 11:28:48 -0800 | [diff] [blame] | 653 | cppflags-$(CONFIG_QDF_TEST) += -DWLAN_TALLOC_TEST |
Dustin Brown | ee733ba | 2019-03-12 13:31:11 -0700 | [diff] [blame] | 654 | cppflags-$(CONFIG_QDF_TEST) += -DWLAN_TRACKER_TEST |
Dustin Brown | ebb16d1 | 2018-11-29 17:52:07 -0800 | [diff] [blame] | 655 | cppflags-$(CONFIG_QDF_TEST) += -DWLAN_TYPES_TEST |
| 656 | |
Rakshith Suresh Patkar | d9f4e61 | 2018-09-12 12:10:38 +0530 | [diff] [blame] | 657 | ############ WBUFF ############ |
| 658 | WBUFF_OS_DIR := wbuff |
| 659 | WBUFF_OS_INC_DIR := $(WBUFF_OS_DIR)/inc |
| 660 | WBUFF_OS_SRC_DIR := $(WBUFF_OS_DIR)/src |
| 661 | WBUFF_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(WBUFF_OS_SRC_DIR) |
| 662 | |
| 663 | WBUFF_INC := -I$(WLAN_COMMON_INC)/$(WBUFF_OS_INC_DIR) \ |
| 664 | |
| 665 | ifeq ($(CONFIG_WLAN_WBUFF), y) |
| 666 | WBUFF_OBJS += $(WBUFF_OBJ_DIR)/wbuff.o |
| 667 | endif |
| 668 | |
Ashish Kumar Dhanotiya | 9c331b9 | 2018-08-09 20:25:02 +0530 | [diff] [blame] | 669 | ##########QAL ####### |
| 670 | QAL_OS_DIR := qal |
| 671 | QAL_OS_INC_DIR := $(QAL_OS_DIR)/inc |
| 672 | QAL_OS_LINUX_SRC_DIR := $(QAL_OS_DIR)/linux/src |
Ashish Kumar Dhanotiya | 9c331b9 | 2018-08-09 20:25:02 +0530 | [diff] [blame] | 673 | |
| 674 | QAL_INC := -I$(WLAN_COMMON_INC)/$(QAL_OS_INC_DIR) \ |
| 675 | -I$(WLAN_COMMON_INC)/$(QAL_OS_LINUX_SRC_DIR) |
| 676 | |
Ashish Kumar Dhanotiya | 9c331b9 | 2018-08-09 20:25:02 +0530 | [diff] [blame] | 677 | |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 678 | ##########OS_IF ####### |
| 679 | OS_IF_DIR := $(WLAN_COMMON_ROOT)/os_if |
| 680 | |
Wu Gao | 637d58a | 2018-12-08 10:37:34 +0800 | [diff] [blame] | 681 | OS_IF_INC += -I$(WLAN_COMMON_INC)/os_if/linux \ |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 682 | -I$(WLAN_COMMON_INC)/os_if/linux/scan/inc \ |
Sandeep Puligilla | 342d2a6 | 2017-12-12 15:40:00 -0800 | [diff] [blame] | 683 | -I$(WLAN_COMMON_INC)/os_if/linux/spectral/inc \ |
Harprit Chhabada | 6c641ba | 2018-06-28 14:45:10 -0700 | [diff] [blame] | 684 | -I$(WLAN_COMMON_INC)/os_if/linux/crypto/inc |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 685 | |
Wu Gao | 637d58a | 2018-12-08 10:37:34 +0800 | [diff] [blame] | 686 | OS_IF_OBJ += $(OS_IF_DIR)/linux/wlan_osif_request_manager.o \ |
Harprit Chhabada | 6c641ba | 2018-06-28 14:45:10 -0700 | [diff] [blame] | 687 | $(OS_IF_DIR)/linux/crypto/src/wlan_nl_to_crypto_params.o |
Sandeep Puligilla | fdd201e | 2017-02-02 18:43:46 -0800 | [diff] [blame] | 688 | |
Kiran Kumar Lokere | 8dbd85a | 2018-11-14 17:51:41 -0800 | [diff] [blame] | 689 | ifeq ($(CONFIG_CRYPTO_COMPONENT), y) |
| 690 | OS_IF_OBJ += $(OS_IF_DIR)/linux/crypto/src/wlan_cfg80211_crypto.o |
| 691 | endif |
| 692 | |
Frank Liu | 65b17d9 | 2016-11-23 15:58:44 +0800 | [diff] [blame] | 693 | ############ UMAC_DISP ############ |
| 694 | UMAC_DISP_DIR := umac/global_umac_dispatcher/lmac_if |
| 695 | UMAC_DISP_INC_DIR := $(UMAC_DISP_DIR)/inc |
| 696 | UMAC_DISP_SRC_DIR := $(UMAC_DISP_DIR)/src |
| 697 | UMAC_DISP_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(UMAC_DISP_SRC_DIR) |
| 698 | |
| 699 | UMAC_DISP_INC := -I$(WLAN_COMMON_INC)/$(UMAC_DISP_INC_DIR) |
| 700 | |
| 701 | UMAC_DISP_OBJS := $(UMAC_DISP_OBJ_DIR)/wlan_lmac_if.o |
| 702 | |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 703 | ############# UMAC_SCAN ############ |
| 704 | UMAC_SCAN_DIR := umac/scan |
| 705 | UMAC_SCAN_DISP_INC_DIR := $(UMAC_SCAN_DIR)/dispatcher/inc |
| 706 | UMAC_SCAN_CORE_DIR := $(WLAN_COMMON_ROOT)/$(UMAC_SCAN_DIR)/core/src |
| 707 | UMAC_SCAN_DISP_DIR := $(WLAN_COMMON_ROOT)/$(UMAC_SCAN_DIR)/dispatcher/src |
Abhishek Singh | 8dfbd69 | 2017-02-21 11:11:10 +0530 | [diff] [blame] | 708 | UMAC_TARGET_SCAN_INC := -I$(WLAN_COMMON_INC)/target_if/scan/inc |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 709 | |
| 710 | UMAC_SCAN_INC := -I$(WLAN_COMMON_INC)/$(UMAC_SCAN_DISP_INC_DIR) |
| 711 | UMAC_SCAN_OBJS := $(UMAC_SCAN_CORE_DIR)/wlan_scan_cache_db.o \ |
Paul Zhang | a05a025 | 2018-01-22 11:08:21 +0800 | [diff] [blame] | 712 | $(UMAC_SCAN_CORE_DIR)/wlan_scan_11d.o \ |
Abhishek Singh | 82571c8 | 2017-11-24 12:12:19 +0530 | [diff] [blame] | 713 | $(UMAC_SCAN_CORE_DIR)/wlan_scan_bss_score.o \ |
| 714 | $(UMAC_SCAN_CORE_DIR)/wlan_scan_filter.o \ |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 715 | $(UMAC_SCAN_CORE_DIR)/wlan_scan_main.o \ |
| 716 | $(UMAC_SCAN_CORE_DIR)/wlan_scan_manager.o \ |
| 717 | $(UMAC_SCAN_DISP_DIR)/wlan_scan_tgt_api.o \ |
| 718 | $(UMAC_SCAN_DISP_DIR)/wlan_scan_ucfg_api.o \ |
Harprit Chhabada | 4691a47 | 2018-12-07 11:22:48 -0800 | [diff] [blame] | 719 | $(UMAC_SCAN_DISP_DIR)/wlan_scan_api.o \ |
Abhishek Singh | 310503c | 2017-03-07 11:19:10 +0530 | [diff] [blame] | 720 | $(UMAC_SCAN_DISP_DIR)/wlan_scan_utils_api.o \ |
| 721 | $(WLAN_COMMON_ROOT)/os_if/linux/scan/src/wlan_cfg80211_scan.o \ |
| 722 | $(WLAN_COMMON_ROOT)/os_if/linux/wlan_cfg80211.o \ |
| 723 | $(WLAN_COMMON_ROOT)/target_if/scan/src/target_if_scan.o |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 724 | |
Harprit Chhabada | e8155d3 | 2018-08-22 16:19:34 -0700 | [diff] [blame] | 725 | ifeq ($(CONFIG_FEATURE_WLAN_EXTSCAN), y) |
| 726 | UMAC_SCAN_OBJS += $(UMAC_SCAN_DISP_DIR)/wlan_extscan_api.o |
| 727 | endif |
| 728 | |
Sandeep Puligilla | 342d2a6 | 2017-12-12 15:40:00 -0800 | [diff] [blame] | 729 | ############# UMAC_SPECTRAL_SCAN ############ |
| 730 | UMAC_SPECTRAL_DIR := spectral |
| 731 | UMAC_SPECTRAL_DISP_INC_DIR := $(UMAC_SPECTRAL_DIR)/dispatcher/inc |
| 732 | UMAC_SPECTRAL_CORE_INC_DIR := $(UMAC_SPECTRAL_DIR)/core |
| 733 | UMAC_SPECTRAL_CORE_DIR := $(WLAN_COMMON_ROOT)/$(UMAC_SPECTRAL_DIR)/core |
| 734 | UMAC_SPECTRAL_DISP_DIR := $(WLAN_COMMON_ROOT)/$(UMAC_SPECTRAL_DIR)/dispatcher/src |
| 735 | UMAC_TARGET_SPECTRAL_INC := -I$(WLAN_COMMON_INC)/target_if/spectral |
| 736 | |
Sandeep Puligilla | 019a1bd | 2018-02-04 22:57:44 -0800 | [diff] [blame] | 737 | UMAC_SPECTRAL_INC := -I$(WLAN_COMMON_INC)/$(UMAC_SPECTRAL_DISP_INC_DIR) \ |
| 738 | -I$(WLAN_COMMON_INC)/$(UMAC_SPECTRAL_CORE_INC_DIR) \ |
| 739 | -I$(WLAN_COMMON_INC)/target_if/direct_buf_rx/inc |
Sandeep Puligilla | 8e89d57 | 2018-04-02 18:07:45 -0700 | [diff] [blame] | 740 | ifeq ($(CONFIG_WLAN_CONV_SPECTRAL_ENABLE),y) |
Sandeep Puligilla | 342d2a6 | 2017-12-12 15:40:00 -0800 | [diff] [blame] | 741 | UMAC_SPECTRAL_OBJS := $(UMAC_SPECTRAL_CORE_DIR)/spectral_offload.o \ |
| 742 | $(UMAC_SPECTRAL_CORE_DIR)/spectral_common.o \ |
| 743 | $(UMAC_SPECTRAL_DISP_DIR)/wlan_spectral_ucfg_api.o \ |
| 744 | $(UMAC_SPECTRAL_DISP_DIR)/wlan_spectral_utils_api.o \ |
| 745 | $(UMAC_SPECTRAL_DISP_DIR)/wlan_spectral_tgt_api.o \ |
| 746 | $(WLAN_COMMON_ROOT)/os_if/linux/spectral/src/wlan_cfg80211_spectral.o \ |
Sandeep Puligilla | 019a1bd | 2018-02-04 22:57:44 -0800 | [diff] [blame] | 747 | $(WLAN_COMMON_ROOT)/os_if/linux/spectral/src/os_if_spectral_netlink.o \ |
Sandeep Puligilla | 342d2a6 | 2017-12-12 15:40:00 -0800 | [diff] [blame] | 748 | $(WLAN_COMMON_ROOT)/target_if/spectral/target_if_spectral_netlink.o \ |
| 749 | $(WLAN_COMMON_ROOT)/target_if/spectral/target_if_spectral_phyerr.o \ |
| 750 | $(WLAN_COMMON_ROOT)/target_if/spectral/target_if_spectral.o \ |
| 751 | $(WLAN_COMMON_ROOT)/target_if/spectral/target_if_spectral_sim.o |
Sandeep Puligilla | 8e89d57 | 2018-04-02 18:07:45 -0700 | [diff] [blame] | 752 | endif |
Himanshu Agarwal | b229a14 | 2017-12-21 10:16:45 +0530 | [diff] [blame] | 753 | ############# UMAC_GREEN_AP ############ |
| 754 | UMAC_GREEN_AP_DIR := umac/green_ap |
| 755 | UMAC_GREEN_AP_DISP_INC_DIR := $(UMAC_GREEN_AP_DIR)/dispatcher/inc |
| 756 | UMAC_GREEN_AP_CORE_DIR := $(WLAN_COMMON_ROOT)/$(UMAC_GREEN_AP_DIR)/core/src |
| 757 | UMAC_GREEN_AP_DISP_DIR := $(WLAN_COMMON_ROOT)/$(UMAC_GREEN_AP_DIR)/dispatcher/src |
| 758 | UMAC_TARGET_GREEN_AP_INC := -I$(WLAN_COMMON_INC)/target_if/green_ap/inc |
| 759 | |
| 760 | UMAC_GREEN_AP_INC := -I$(WLAN_COMMON_INC)/$(UMAC_GREEN_AP_DISP_INC_DIR) |
| 761 | UMAC_GREEN_AP_OBJS := $(UMAC_GREEN_AP_CORE_DIR)/wlan_green_ap_main.o \ |
| 762 | $(UMAC_GREEN_AP_DISP_DIR)/wlan_green_ap_api.o \ |
| 763 | $(UMAC_GREEN_AP_DISP_DIR)/wlan_green_ap_ucfg_api.o \ |
| 764 | $(WLAN_COMMON_ROOT)/target_if/green_ap/src/target_if_green_ap.o |
Jeff Johnson | 8fba4d7 | 2018-04-08 08:46:04 -0700 | [diff] [blame] | 765 | |
Varun Reddy Yeturu | 29044cd | 2018-06-28 14:03:10 -0700 | [diff] [blame] | 766 | ############# WLAN_CONV_CRYPTO_SUPPORTED ############ |
| 767 | UMAC_CRYPTO_DIR := umac/cmn_services/crypto |
| 768 | UMAC_CRYPTO_CORE_DIR := $(WLAN_COMMON_ROOT)/$(UMAC_CRYPTO_DIR)/src |
| 769 | UMAC_CRYPTO_INC := -I$(WLAN_COMMON_INC)/$(UMAC_CRYPTO_DIR)/inc \ |
| 770 | -I$(WLAN_COMMON_INC)/$(UMAC_CRYPTO_DIR)/src |
| 771 | UMAC_CRYPTO_OBJS := $(UMAC_CRYPTO_CORE_DIR)/wlan_crypto_global_api.o \ |
Kiran Kumar Lokere | 8dbd85a | 2018-11-14 17:51:41 -0800 | [diff] [blame] | 772 | $(UMAC_CRYPTO_CORE_DIR)/wlan_crypto_ucfg_api.o \ |
Varun Reddy Yeturu | 29044cd | 2018-06-28 14:03:10 -0700 | [diff] [blame] | 773 | $(UMAC_CRYPTO_CORE_DIR)/wlan_crypto_main.o \ |
| 774 | $(UMAC_CRYPTO_CORE_DIR)/wlan_crypto_obj_mgr.o \ |
| 775 | $(UMAC_CRYPTO_CORE_DIR)/wlan_crypto_param_handling.o |
| 776 | |
Ryan Hsu | c8b27a4 | 2018-01-02 13:57:56 -0800 | [diff] [blame] | 777 | ############# FTM CORE ############ |
| 778 | FTM_CORE_DIR := ftm |
| 779 | TARGET_IF_FTM_DIR := target_if/ftm |
| 780 | OS_IF_LINUX_FTM_DIR := os_if/linux/ftm |
| 781 | |
| 782 | FTM_CORE_SRC := $(WLAN_COMMON_ROOT)/$(FTM_CORE_DIR)/core/src |
| 783 | FTM_DISP_SRC := $(WLAN_COMMON_ROOT)/$(FTM_CORE_DIR)/dispatcher/src |
| 784 | TARGET_IF_FTM_SRC := $(WLAN_COMMON_ROOT)/$(TARGET_IF_FTM_DIR)/src |
| 785 | OS_IF_FTM_SRC := $(WLAN_COMMON_ROOT)/$(OS_IF_LINUX_FTM_DIR)/src |
| 786 | |
| 787 | FTM_CORE_INC := $(WLAN_COMMON_INC)/$(FTM_CORE_DIR)/core/src |
| 788 | FTM_DISP_INC := $(WLAN_COMMON_INC)/$(FTM_CORE_DIR)/dispatcher/inc |
| 789 | TARGET_IF_FTM_INC := $(WLAN_COMMON_INC)/$(TARGET_IF_FTM_DIR)/inc |
| 790 | OS_IF_FTM_INC := $(WLAN_COMMON_INC)/$(OS_IF_LINUX_FTM_DIR)/inc |
| 791 | |
| 792 | FTM_INC := -I$(FTM_DISP_INC) \ |
| 793 | -I$(FTM_CORE_INC) \ |
| 794 | -I$(OS_IF_FTM_INC) \ |
| 795 | -I$(TARGET_IF_FTM_INC) |
| 796 | |
Ryan Hsu | 6e9db0b | 2018-06-01 10:45:51 -0700 | [diff] [blame] | 797 | ifeq ($(CONFIG_QCA_WIFI_FTM), y) |
Ryan Hsu | c8b27a4 | 2018-01-02 13:57:56 -0800 | [diff] [blame] | 798 | FTM_OBJS := $(FTM_DISP_SRC)/wlan_ftm_init_deinit.o \ |
| 799 | $(FTM_DISP_SRC)/wlan_ftm_ucfg_api.o \ |
| 800 | $(FTM_CORE_SRC)/wlan_ftm_svc.o \ |
Ryan Hsu | c8b27a4 | 2018-01-02 13:57:56 -0800 | [diff] [blame] | 801 | $(TARGET_IF_FTM_SRC)/target_if_ftm.o |
| 802 | |
Ryan Hsu | 6e9db0b | 2018-06-01 10:45:51 -0700 | [diff] [blame] | 803 | ifeq ($(QCA_WIFI_FTM_NL80211), y) |
| 804 | FTM_OBJS += $(OS_IF_FTM_SRC)/wlan_cfg80211_ftm.o |
| 805 | endif |
| 806 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 807 | ifeq ($(CONFIG_LINUX_QCMBR), y) |
Ryan Hsu | c8b27a4 | 2018-01-02 13:57:56 -0800 | [diff] [blame] | 808 | FTM_OBJS += $(OS_IF_FTM_SRC)/wlan_ioctl_ftm.o |
| 809 | endif |
Himanshu Agarwal | b229a14 | 2017-12-21 10:16:45 +0530 | [diff] [blame] | 810 | |
Ryan Hsu | 6e9db0b | 2018-06-01 10:45:51 -0700 | [diff] [blame] | 811 | endif |
| 812 | |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 813 | ############# UMAC_CMN_SERVICES ############ |
Abhishek Singh | 8dfbd69 | 2017-02-21 11:11:10 +0530 | [diff] [blame] | 814 | UMAC_COMMON_INC := -I$(WLAN_COMMON_INC)/umac/cmn_services/cmn_defs/inc \ |
| 815 | -I$(WLAN_COMMON_INC)/umac/cmn_services/utils/inc |
| 816 | UMAC_COMMON_OBJS := $(WLAN_COMMON_ROOT)/umac/cmn_services/utils/src/wlan_utility.o |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 817 | |
Dhanashri Atre | 170855e | 2016-12-15 13:26:54 -0800 | [diff] [blame] | 818 | ifeq ($(CONFIG_WLAN_LRO), y) |
Dustin Brown | a2dcb5f | 2017-10-20 17:36:19 -0700 | [diff] [blame] | 819 | QDF_OBJS += $(QDF_LINUX_OBJ_DIR)/qdf_lro.o |
Dhanashri Atre | 170855e | 2016-12-15 13:26:54 -0800 | [diff] [blame] | 820 | endif |
| 821 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 822 | ############ CDS (Connectivity driver services) ############ |
| 823 | CDS_DIR := core/cds |
| 824 | CDS_INC_DIR := $(CDS_DIR)/inc |
| 825 | CDS_SRC_DIR := $(CDS_DIR)/src |
| 826 | |
| 827 | CDS_INC := -I$(WLAN_ROOT)/$(CDS_INC_DIR) \ |
| 828 | -I$(WLAN_ROOT)/$(CDS_SRC_DIR) |
| 829 | |
| 830 | CDS_OBJS := $(CDS_SRC_DIR)/cds_api.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 831 | $(CDS_SRC_DIR)/cds_reg_service.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 832 | $(CDS_SRC_DIR)/cds_packet.o \ |
| 833 | $(CDS_SRC_DIR)/cds_regdomain.o \ |
| 834 | $(CDS_SRC_DIR)/cds_sched.o \ |
Krunal Soni | d32c6bc | 2016-10-18 18:00:21 -0700 | [diff] [blame] | 835 | $(CDS_SRC_DIR)/cds_utils.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 836 | |
| 837 | |
Selvaraj, Sridhar | 0672a12 | 2016-12-29 16:11:48 +0530 | [diff] [blame] | 838 | ###### UMAC OBJMGR ######## |
| 839 | UMAC_OBJMGR_DIR := $(WLAN_COMMON_ROOT)/umac/cmn_services/obj_mgr |
| 840 | |
| 841 | UMAC_OBJMGR_INC := -I$(WLAN_COMMON_INC)/umac/cmn_services/obj_mgr/inc \ |
| 842 | -I$(WLAN_COMMON_INC)/umac/cmn_services/obj_mgr/src \ |
| 843 | -I$(WLAN_COMMON_INC)/umac/cmn_services/inc \ |
| 844 | -I$(WLAN_COMMON_INC)/umac/global_umac_dispatcher/lmac_if/inc |
| 845 | |
| 846 | UMAC_OBJMGR_OBJS := $(UMAC_OBJMGR_DIR)/src/wlan_objmgr_global_obj.o \ |
| 847 | $(UMAC_OBJMGR_DIR)/src/wlan_objmgr_pdev_obj.o \ |
| 848 | $(UMAC_OBJMGR_DIR)/src/wlan_objmgr_peer_obj.o \ |
| 849 | $(UMAC_OBJMGR_DIR)/src/wlan_objmgr_psoc_obj.o \ |
| 850 | $(UMAC_OBJMGR_DIR)/src/wlan_objmgr_vdev_obj.o |
| 851 | |
Vignesh Viswanathan | 45fc4b0 | 2018-02-06 11:30:48 +0530 | [diff] [blame] | 852 | ifeq ($(CONFIG_WLAN_OBJMGR_DEBUG), y) |
| 853 | UMAC_OBJMGR_OBJS += $(UMAC_OBJMGR_DIR)/src/wlan_objmgr_debug.o |
| 854 | endif |
| 855 | |
Himanshu Agarwal | 2fdf77a | 2016-12-29 11:41:00 +0530 | [diff] [blame] | 856 | ########### UMAC MGMT TXRX ########## |
| 857 | UMAC_MGMT_TXRX_DIR := $(WLAN_COMMON_ROOT)/umac/cmn_services/mgmt_txrx |
| 858 | |
Himanshu Agarwal | 795b7f7 | 2017-01-17 21:19:43 +0530 | [diff] [blame] | 859 | UMAC_MGMT_TXRX_INC := -I$(WLAN_COMMON_INC)/umac/cmn_services/mgmt_txrx/dispatcher/inc \ |
Himanshu Agarwal | 2fdf77a | 2016-12-29 11:41:00 +0530 | [diff] [blame] | 860 | |
| 861 | UMAC_MGMT_TXRX_OBJS := $(UMAC_MGMT_TXRX_DIR)/core/src/wlan_mgmt_txrx_main.o \ |
| 862 | $(UMAC_MGMT_TXRX_DIR)/dispatcher/src/wlan_mgmt_txrx_utils_api.o \ |
| 863 | $(UMAC_MGMT_TXRX_DIR)/dispatcher/src/wlan_mgmt_txrx_tgt_api.o |
| 864 | |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 865 | ########## POWER MANAGEMENT OFFLOADS (PMO) ########## |
Rajeev Kumar | f46083e | 2017-07-17 17:48:16 -0700 | [diff] [blame] | 866 | PMO_DIR := components/pmo |
Mukul Sharma | d75a667 | 2017-06-22 15:40:53 +0530 | [diff] [blame] | 867 | PMO_INC := -I$(WLAN_ROOT)/$(PMO_DIR)/core/inc \ |
| 868 | -I$(WLAN_ROOT)/$(PMO_DIR)/core/src \ |
| 869 | -I$(WLAN_ROOT)/$(PMO_DIR)/dispatcher/inc \ |
| 870 | -I$(WLAN_ROOT)/$(PMO_DIR)/dispatcher/src \ |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 871 | |
Rajeev Kumar | 6bdee8e | 2018-04-18 17:36:05 -0700 | [diff] [blame] | 872 | ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y) |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 873 | PMO_OBJS := $(PMO_DIR)/core/src/wlan_pmo_main.o \ |
Dustin Brown | f1d2780 | 2018-03-01 17:28:07 -0800 | [diff] [blame] | 874 | $(PMO_DIR)/core/src/wlan_pmo_apf.o \ |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 875 | $(PMO_DIR)/core/src/wlan_pmo_arp.o \ |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 876 | $(PMO_DIR)/core/src/wlan_pmo_gtk.o \ |
| 877 | $(PMO_DIR)/core/src/wlan_pmo_mc_addr_filtering.o \ |
| 878 | $(PMO_DIR)/core/src/wlan_pmo_static_config.o \ |
| 879 | $(PMO_DIR)/core/src/wlan_pmo_wow.o \ |
Mukul Sharma | 4c60a7e | 2017-03-06 19:42:18 +0530 | [diff] [blame] | 880 | $(PMO_DIR)/core/src/wlan_pmo_lphb.o \ |
| 881 | $(PMO_DIR)/core/src/wlan_pmo_suspend_resume.o \ |
Dustin Brown | 1224e21 | 2017-05-12 14:02:12 -0700 | [diff] [blame] | 882 | $(PMO_DIR)/core/src/wlan_pmo_hw_filter.o \ |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 883 | $(PMO_DIR)/dispatcher/src/wlan_pmo_obj_mgmt_api.o \ |
| 884 | $(PMO_DIR)/dispatcher/src/wlan_pmo_ucfg_api.o \ |
| 885 | $(PMO_DIR)/dispatcher/src/wlan_pmo_tgt_arp.o \ |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 886 | $(PMO_DIR)/dispatcher/src/wlan_pmo_tgt_gtk.o \ |
| 887 | $(PMO_DIR)/dispatcher/src/wlan_pmo_tgt_wow.o \ |
| 888 | $(PMO_DIR)/dispatcher/src/wlan_pmo_tgt_static_config.o \ |
Mukul Sharma | 4c60a7e | 2017-03-06 19:42:18 +0530 | [diff] [blame] | 889 | $(PMO_DIR)/dispatcher/src/wlan_pmo_tgt_mc_addr_filtering.o \ |
| 890 | $(PMO_DIR)/dispatcher/src/wlan_pmo_tgt_lphb.o \ |
Ravi Kumar Bokka | 794fd71 | 2017-03-21 20:52:46 +0530 | [diff] [blame] | 891 | $(PMO_DIR)/dispatcher/src/wlan_pmo_tgt_suspend_resume.o \ |
Dustin Brown | 1224e21 | 2017-05-12 14:02:12 -0700 | [diff] [blame] | 892 | $(PMO_DIR)/dispatcher/src/wlan_pmo_tgt_hw_filter.o \ |
Rachit Kankane | 0cf4d4f | 2018-08-01 14:27:44 +0530 | [diff] [blame] | 893 | |
| 894 | ifeq ($(CONFIG_WLAN_FEATURE_PACKET_FILTERING), y) |
| 895 | PMO_OBJS += $(PMO_DIR)/core/src/wlan_pmo_pkt_filter.o \ |
Ravi Kumar Bokka | 0b9ead3 | 2017-05-11 17:01:43 +0530 | [diff] [blame] | 896 | $(PMO_DIR)/dispatcher/src/wlan_pmo_tgt_pkt_filter.o |
Rajeev Kumar | 6bdee8e | 2018-04-18 17:36:05 -0700 | [diff] [blame] | 897 | endif |
Rachit Kankane | 0cf4d4f | 2018-08-01 14:27:44 +0530 | [diff] [blame] | 898 | endif |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 899 | |
Qiwei Cai | 1083f5b | 2018-07-02 19:10:11 +0800 | [diff] [blame] | 900 | ifeq ($(CONFIG_WLAN_NS_OFFLOAD), y) |
| 901 | PMO_OBJS += $(PMO_DIR)/core/src/wlan_pmo_ns.o \ |
| 902 | $(PMO_DIR)/dispatcher/src/wlan_pmo_tgt_ns.o |
| 903 | endif |
| 904 | |
Nachiket Kukade | 98f562a | 2017-12-15 12:18:07 +0530 | [diff] [blame] | 905 | ########## DISA (ENCRYPTION TEST) ########## |
| 906 | |
| 907 | DISA_DIR := components/disa |
| 908 | DISA_INC := -I$(WLAN_ROOT)/$(DISA_DIR)/core/inc \ |
| 909 | -I$(WLAN_ROOT)/$(DISA_DIR)/dispatcher/inc |
| 910 | |
| 911 | ifeq ($(CONFIG_WLAN_FEATURE_DISA), y) |
| 912 | DISA_OBJS := $(DISA_DIR)/core/src/wlan_disa_main.o \ |
| 913 | $(DISA_DIR)/dispatcher/src/wlan_disa_obj_mgmt_api.o \ |
| 914 | $(DISA_DIR)/dispatcher/src/wlan_disa_tgt_api.o \ |
| 915 | $(DISA_DIR)/dispatcher/src/wlan_disa_ucfg_api.o |
| 916 | endif |
| 917 | |
Zhang Qian | 47e22ce | 2018-01-04 15:38:38 +0800 | [diff] [blame] | 918 | ######## OCB ############## |
| 919 | OCB_DIR := components/ocb |
| 920 | OCB_INC := -I$(WLAN_ROOT)/$(OCB_DIR)/core/inc \ |
| 921 | -I$(WLAN_ROOT)/$(OCB_DIR)/dispatcher/inc |
| 922 | |
| 923 | ifeq ($(CONFIG_WLAN_FEATURE_DSRC), y) |
| 924 | OCB_OBJS := $(OCB_DIR)/dispatcher/src/wlan_ocb_ucfg_api.o \ |
| 925 | $(OCB_DIR)/dispatcher/src/wlan_ocb_tgt_api.o \ |
| 926 | $(OCB_DIR)/core/src/wlan_ocb_main.o |
| 927 | endif |
| 928 | |
Sravan Kumar Kairam | 4af61cf | 2018-02-22 17:53:44 +0530 | [diff] [blame] | 929 | ######## IPA ############## |
| 930 | IPA_DIR := components/ipa |
| 931 | IPA_INC := -I$(WLAN_ROOT)/$(IPA_DIR)/core/inc \ |
| 932 | -I$(WLAN_ROOT)/$(IPA_DIR)/dispatcher/inc |
| 933 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 934 | ifeq ($(CONFIG_IPA_OFFLOAD), y) |
Sravan Kumar Kairam | 4af61cf | 2018-02-22 17:53:44 +0530 | [diff] [blame] | 935 | IPA_OBJS := $(IPA_DIR)/dispatcher/src/wlan_ipa_ucfg_api.o \ |
| 936 | $(IPA_DIR)/dispatcher/src/wlan_ipa_obj_mgmt_api.o \ |
| 937 | $(IPA_DIR)/dispatcher/src/wlan_ipa_tgt_api.o \ |
Sravan Kumar Kairam | d01b445 | 2018-03-07 17:37:09 +0530 | [diff] [blame] | 938 | $(IPA_DIR)/core/src/wlan_ipa_main.o \ |
Sravan Kumar Kairam | 2e7aae9 | 2018-03-06 19:32:49 +0530 | [diff] [blame] | 939 | $(IPA_DIR)/core/src/wlan_ipa_core.o \ |
Sravan Kumar Kairam | 271fab2 | 2018-03-07 18:57:41 +0530 | [diff] [blame] | 940 | $(IPA_DIR)/core/src/wlan_ipa_stats.o \ |
Sravan Kumar Kairam | 2e7aae9 | 2018-03-06 19:32:49 +0530 | [diff] [blame] | 941 | $(IPA_DIR)/core/src/wlan_ipa_rm.o |
Sravan Kumar Kairam | 4af61cf | 2018-02-22 17:53:44 +0530 | [diff] [blame] | 942 | endif |
| 943 | |
Sourav Mohapatra | 113685f | 2018-08-29 14:21:55 +0530 | [diff] [blame] | 944 | ######## FWOL ########## |
Paul Zhang | c9dbaee | 2019-06-23 22:07:31 +0800 | [diff] [blame] | 945 | FWOL_CORE_INC := components/fw_offload/core/inc |
| 946 | FWOL_CORE_SRC := components/fw_offload/core/src |
| 947 | FWOL_DISPATCHER_INC := components/fw_offload/dispatcher/inc |
| 948 | FWOL_DISPATCHER_SRC := components/fw_offload/dispatcher/src |
| 949 | FWOL_TARGET_IF_INC := components/target_if/fw_offload/inc |
| 950 | FWOL_TARGET_IF_SRC := components/target_if/fw_offload/src |
| 951 | FWOL_OS_IF_INC := os_if/fw_offload/inc |
| 952 | FWOL_OS_IF_SRC := os_if/fw_offload/src |
Sourav Mohapatra | 113685f | 2018-08-29 14:21:55 +0530 | [diff] [blame] | 953 | |
Paul Zhang | c9dbaee | 2019-06-23 22:07:31 +0800 | [diff] [blame] | 954 | FWOL_INC := -I$(WLAN_ROOT)/$(FWOL_CORE_INC) \ |
| 955 | -I$(WLAN_ROOT)/$(FWOL_DISPATCHER_INC) \ |
| 956 | -I$(WLAN_ROOT)/$(FWOL_TARGET_IF_INC) \ |
| 957 | -I$(WLAN_ROOT)/$(FWOL_OS_IF_INC) |
| 958 | |
| 959 | FWOL_OBJS := $(FWOL_CORE_SRC)/wlan_fw_offload_main.o \ |
| 960 | $(FWOL_DISPATCHER_SRC)/wlan_fwol_ucfg_api.o \ |
| 961 | $(FWOL_DISPATCHER_SRC)/wlan_fwol_tgt_api.o \ |
| 962 | $(FWOL_TARGET_IF_SRC)/target_if_fwol.o \ |
| 963 | $(FWOL_OS_IF_SRC)/os_if_fwol.o |
Sourav Mohapatra | 113685f | 2018-08-29 14:21:55 +0530 | [diff] [blame] | 964 | |
Abhishek Singh | ed19748 | 2018-09-05 13:22:02 +0530 | [diff] [blame] | 965 | ######## SM FRAMEWORK ############## |
| 966 | UMAC_SM_DIR := umac/cmn_services/sm_engine |
| 967 | UMAC_SM_INC := -I$(WLAN_COMMON_INC)/$(UMAC_SM_DIR)/inc |
| 968 | |
| 969 | UMAC_SM_OBJS := $(WLAN_COMMON_ROOT)/$(UMAC_SM_DIR)/src/wlan_sm_engine.o |
| 970 | |
| 971 | ifeq ($(CONFIG_SM_ENG_HIST), y) |
| 972 | UMAC_SM_OBJS += $(WLAN_COMMON_ROOT)/$(UMAC_SM_DIR)/src/wlan_sm_engine_dbg.o |
| 973 | endif |
| 974 | |
| 975 | ######## COMMON MLME ############## |
| 976 | UMAC_MLME_INC := -I$(WLAN_COMMON_INC)/umac/mlme \ |
| 977 | -I$(WLAN_COMMON_INC)/umac/mlme/mlme_objmgr/dispatcher/inc \ |
Abhishek Singh | d5cf22d | 2019-01-08 19:51:09 +0530 | [diff] [blame] | 978 | -I$(WLAN_COMMON_INC)/umac/mlme/vdev_mgr/dispatcher/inc \ |
Arun Kumar Khandavalli | a43590e | 2019-08-26 17:13:25 +0530 | [diff] [blame] | 979 | -I$(WLAN_COMMON_INC)/umac/mlme/pdev_mgr/dispatcher/inc \ |
| 980 | -I$(WLAN_COMMON_INC)/umac/mlme/psoc_mgr/dispatcher/inc |
Abhishek Singh | ed19748 | 2018-09-05 13:22:02 +0530 | [diff] [blame] | 981 | |
Abhishek Singh | ed19748 | 2018-09-05 13:22:02 +0530 | [diff] [blame] | 982 | UMAC_MLME_OBJS := $(WLAN_COMMON_ROOT)/umac/mlme/mlme_objmgr/dispatcher/src/wlan_vdev_mlme_main.o \ |
| 983 | $(WLAN_COMMON_ROOT)/umac/mlme/vdev_mgr/core/src/vdev_mlme_sm.o \ |
Abhishek Singh | d5cf22d | 2019-01-08 19:51:09 +0530 | [diff] [blame] | 984 | $(WLAN_COMMON_ROOT)/umac/mlme/vdev_mgr/dispatcher/src/wlan_vdev_mlme_api.o \ |
Abhishek Ambure | 2ac5dec | 2019-05-27 14:56:56 +0530 | [diff] [blame] | 985 | $(WLAN_COMMON_ROOT)/umac/mlme/vdev_mgr/core/src/vdev_mgr_ops.o \ |
| 986 | $(WLAN_COMMON_ROOT)/umac/mlme/vdev_mgr/dispatcher/src/wlan_vdev_mgr_tgt_if_rx_api.o \ |
| 987 | $(WLAN_COMMON_ROOT)/umac/mlme/vdev_mgr/dispatcher/src/wlan_vdev_mgr_tgt_if_tx_api.o \ |
| 988 | $(WLAN_COMMON_ROOT)/umac/mlme/vdev_mgr/dispatcher/src/wlan_vdev_mgr_ucfg_api.o \ |
| 989 | $(WLAN_COMMON_ROOT)/umac/mlme/vdev_mgr/dispatcher/src/wlan_vdev_mgr_utils_api.o \ |
Abhishek Singh | d5cf22d | 2019-01-08 19:51:09 +0530 | [diff] [blame] | 990 | $(WLAN_COMMON_ROOT)/umac/mlme/mlme_objmgr/dispatcher/src/wlan_cmn_mlme_main.o \ |
| 991 | $(WLAN_COMMON_ROOT)/umac/mlme/mlme_objmgr/dispatcher/src/wlan_pdev_mlme_main.o \ |
Arun Kumar Khandavalli | a43590e | 2019-08-26 17:13:25 +0530 | [diff] [blame] | 992 | $(WLAN_COMMON_ROOT)/umac/mlme/pdev_mgr/dispatcher/src/wlan_pdev_mlme_api.o \ |
| 993 | $(WLAN_COMMON_ROOT)/umac/mlme/mlme_objmgr/dispatcher/src/wlan_psoc_mlme_main.o \ |
| 994 | $(WLAN_COMMON_ROOT)/umac/mlme/psoc_mgr/dispatcher/src/wlan_psoc_mlme_api.o |
Sandeep Puligilla | c5609d5 | 2018-05-17 19:23:41 -0700 | [diff] [blame] | 995 | |
| 996 | ######## MLME ############## |
| 997 | MLME_DIR := components/mlme |
| 998 | MLME_INC := -I$(WLAN_ROOT)/$(MLME_DIR)/core/inc \ |
| 999 | -I$(WLAN_ROOT)/$(MLME_DIR)/dispatcher/inc |
| 1000 | |
Vignesh Viswanathan | 21c58cb | 2018-05-24 15:53:58 +0530 | [diff] [blame] | 1001 | MLME_OBJS := $(MLME_DIR)/core/src/wlan_mlme_main.o \ |
Vignesh Viswanathan | a0921c4 | 2018-09-04 19:03:35 +0530 | [diff] [blame] | 1002 | $(MLME_DIR)/dispatcher/src/wlan_mlme_api.o \ |
Vignesh Viswanathan | 21c58cb | 2018-05-24 15:53:58 +0530 | [diff] [blame] | 1003 | $(MLME_DIR)/dispatcher/src/wlan_mlme_ucfg_api.o |
Sandeep Puligilla | c5609d5 | 2018-05-17 19:23:41 -0700 | [diff] [blame] | 1004 | |
Sandeep Puligilla | b7beb47 | 2018-08-13 22:54:20 -0700 | [diff] [blame] | 1005 | MLME_OBJS += $(MLME_DIR)/core/src/wlan_mlme_vdev_mgr_interface.o |
Sandeep Puligilla | b7beb47 | 2018-08-13 22:54:20 -0700 | [diff] [blame] | 1006 | |
gaurank kathpalia | 3ebc17b | 2019-05-29 10:25:09 +0530 | [diff] [blame] | 1007 | |
| 1008 | ####### BLACKLIST_MGR ######## |
| 1009 | |
| 1010 | BLM_DIR := components/blacklist_mgr |
| 1011 | BLM_INC := -I$(WLAN_ROOT)/$(BLM_DIR)/core/inc \ |
| 1012 | -I$(WLAN_ROOT)/$(BLM_DIR)/dispatcher/inc |
| 1013 | ifeq ($(CONFIG_FEATURE_BLACKLIST_MGR), y) |
| 1014 | BLM_OBJS := $(BLM_DIR)/core/src/wlan_blm_main.o \ |
| 1015 | $(BLM_DIR)/core/src/wlan_blm_core.o \ |
| 1016 | $(BLM_DIR)/dispatcher/src/wlan_blm_ucfg_api.o \ |
| 1017 | $(BLM_DIR)/dispatcher/src/wlan_blm_tgt_api.o |
| 1018 | endif |
Rajeev Kumar Sirasanagandla | 4725ae4 | 2018-05-24 22:33:34 +0530 | [diff] [blame] | 1019 | ########## ACTION OUI ########## |
| 1020 | |
| 1021 | ACTION_OUI_DIR := components/action_oui |
| 1022 | ACTION_OUI_INC := -I$(WLAN_ROOT)/$(ACTION_OUI_DIR)/core/inc \ |
| 1023 | -I$(WLAN_ROOT)/$(ACTION_OUI_DIR)/dispatcher/inc |
| 1024 | |
| 1025 | ifeq ($(CONFIG_WLAN_FEATURE_ACTION_OUI), y) |
| 1026 | ACTION_OUI_OBJS := $(ACTION_OUI_DIR)/core/src/wlan_action_oui_main.o \ |
| 1027 | $(ACTION_OUI_DIR)/core/src/wlan_action_oui_parse.o \ |
| 1028 | $(ACTION_OUI_DIR)/dispatcher/src/wlan_action_oui_tgt_api.o \ |
| 1029 | $(ACTION_OUI_DIR)/dispatcher/src/wlan_action_oui_ucfg_api.o |
| 1030 | endif |
| 1031 | |
Mukul Sharma | d75a667 | 2017-06-22 15:40:53 +0530 | [diff] [blame] | 1032 | ########## CLD TARGET_IF ####### |
Rajeev Kumar | f46083e | 2017-07-17 17:48:16 -0700 | [diff] [blame] | 1033 | CLD_TARGET_IF_DIR := components/target_if |
Mukul Sharma | d75a667 | 2017-06-22 15:40:53 +0530 | [diff] [blame] | 1034 | |
| 1035 | CLD_TARGET_IF_INC := -I$(WLAN_ROOT)/$(CLD_TARGET_IF_DIR)/pmo/inc \ |
Zhang Qian | 47e22ce | 2018-01-04 15:38:38 +0800 | [diff] [blame] | 1036 | -I$(WLAN_ROOT)/$(CLD_TARGET_IF_DIR)/pmo/src |
Mukul Sharma | d75a667 | 2017-06-22 15:40:53 +0530 | [diff] [blame] | 1037 | |
Wu Gao | a9d336b | 2018-05-30 14:48:04 +0800 | [diff] [blame] | 1038 | ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y) |
Mukul Sharma | d75a667 | 2017-06-22 15:40:53 +0530 | [diff] [blame] | 1039 | CLD_TARGET_IF_OBJ := $(CLD_TARGET_IF_DIR)/pmo/src/target_if_pmo_arp.o \ |
| 1040 | $(CLD_TARGET_IF_DIR)/pmo/src/target_if_pmo_gtk.o \ |
| 1041 | $(CLD_TARGET_IF_DIR)/pmo/src/target_if_pmo_hw_filter.o \ |
| 1042 | $(CLD_TARGET_IF_DIR)/pmo/src/target_if_pmo_lphb.o \ |
| 1043 | $(CLD_TARGET_IF_DIR)/pmo/src/target_if_pmo_main.o \ |
| 1044 | $(CLD_TARGET_IF_DIR)/pmo/src/target_if_pmo_mc_addr_filtering.o \ |
Mukul Sharma | d75a667 | 2017-06-22 15:40:53 +0530 | [diff] [blame] | 1045 | $(CLD_TARGET_IF_DIR)/pmo/src/target_if_pmo_static_config.o \ |
| 1046 | $(CLD_TARGET_IF_DIR)/pmo/src/target_if_pmo_suspend_resume.o \ |
Zhang Qian | 47e22ce | 2018-01-04 15:38:38 +0800 | [diff] [blame] | 1047 | $(CLD_TARGET_IF_DIR)/pmo/src/target_if_pmo_wow.o |
Qiwei Cai | 1083f5b | 2018-07-02 19:10:11 +0800 | [diff] [blame] | 1048 | ifeq ($(CONFIG_WLAN_NS_OFFLOAD), y) |
| 1049 | CLD_TARGET_IF_OBJ += $(CLD_TARGET_IF_DIR)/pmo/src/target_if_pmo_ns.o |
| 1050 | endif |
Rachit Kankane | 0cf4d4f | 2018-08-01 14:27:44 +0530 | [diff] [blame] | 1051 | ifeq ($(CONFIG_WLAN_FEATURE_PACKET_FILTERING), y) |
| 1052 | CLD_TARGET_IF_OBJ += $(CLD_TARGET_IF_DIR)/pmo/src/target_if_pmo_pkt_filter.o |
| 1053 | endif |
Wu Gao | a9d336b | 2018-05-30 14:48:04 +0800 | [diff] [blame] | 1054 | endif |
Zhang Qian | 47e22ce | 2018-01-04 15:38:38 +0800 | [diff] [blame] | 1055 | |
| 1056 | ifeq ($(CONFIG_WLAN_FEATURE_DSRC), y) |
| 1057 | CLD_TARGET_IF_INC += -I$(WLAN_ROOT)/$(CLD_TARGET_IF_DIR)/ocb/inc |
| 1058 | CLD_TARGET_IF_OBJ += $(CLD_TARGET_IF_DIR)/ocb/src/target_if_ocb.o |
| 1059 | endif |
Mukul Sharma | d75a667 | 2017-06-22 15:40:53 +0530 | [diff] [blame] | 1060 | |
Nachiket Kukade | 98f562a | 2017-12-15 12:18:07 +0530 | [diff] [blame] | 1061 | ifeq ($(CONFIG_WLAN_FEATURE_DISA), y) |
| 1062 | CLD_TARGET_IF_INC += -I$(WLAN_ROOT)/$(CLD_TARGET_IF_DIR)/disa/inc |
| 1063 | CLD_TARGET_IF_OBJ += $(CLD_TARGET_IF_DIR)/disa/src/target_if_disa.o |
| 1064 | endif |
| 1065 | |
gaurank kathpalia | 3ebc17b | 2019-05-29 10:25:09 +0530 | [diff] [blame] | 1066 | ifeq ($(CONFIG_FEATURE_BLACKLIST_MGR), y) |
| 1067 | CLD_TARGET_IF_INC += -I$(WLAN_ROOT)/$(CLD_TARGET_IF_DIR)/blacklist_mgr/inc |
| 1068 | CLD_TARGET_IF_OBJ += $(CLD_TARGET_IF_DIR)/blacklist_mgr/src/target_if_blm.o |
| 1069 | endif |
| 1070 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1071 | ifeq ($(CONFIG_IPA_OFFLOAD), y) |
Sravan Kumar Kairam | 4af61cf | 2018-02-22 17:53:44 +0530 | [diff] [blame] | 1072 | CLD_TARGET_IF_INC += -I$(WLAN_ROOT)/$(CLD_TARGET_IF_DIR)/ipa/inc |
| 1073 | CLD_TARGET_IF_OBJ += $(CLD_TARGET_IF_DIR)/ipa/src/target_if_ipa.o |
| 1074 | endif |
| 1075 | |
Rajeev Kumar Sirasanagandla | 4725ae4 | 2018-05-24 22:33:34 +0530 | [diff] [blame] | 1076 | ifeq ($(CONFIG_WLAN_FEATURE_ACTION_OUI), y) |
| 1077 | CLD_TARGET_IF_INC += -I$(WLAN_ROOT)/$(CLD_TARGET_IF_DIR)/action_oui/inc |
| 1078 | CLD_TARGET_IF_OBJ += $(CLD_TARGET_IF_DIR)/action_oui/src/target_if_action_oui.o |
| 1079 | endif |
| 1080 | |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 1081 | ############## UMAC P2P ########### |
Wu Gao | 637d58a | 2018-12-08 10:37:34 +0800 | [diff] [blame] | 1082 | P2P_DIR := components/p2p |
| 1083 | P2P_CORE_OBJ_DIR := $(P2P_DIR)/core/src |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 1084 | P2P_DISPATCHER_DIR := $(P2P_DIR)/dispatcher |
| 1085 | P2P_DISPATCHER_INC_DIR := $(P2P_DISPATCHER_DIR)/inc |
Wu Gao | 637d58a | 2018-12-08 10:37:34 +0800 | [diff] [blame] | 1086 | P2P_DISPATCHER_OBJ_DIR := $(P2P_DISPATCHER_DIR)/src |
| 1087 | P2P_OS_IF_INC := os_if/p2p/inc |
| 1088 | P2P_OS_IF_SRC := os_if/p2p/src |
| 1089 | P2P_TARGET_IF_INC := components/target_if/p2p/inc |
| 1090 | P2P_TARGET_IF_SRC := components/target_if/p2p/src |
| 1091 | P2P_INC := -I$(WLAN_ROOT)/$(P2P_DISPATCHER_INC_DIR) \ |
| 1092 | -I$(WLAN_ROOT)/$(P2P_OS_IF_INC) \ |
| 1093 | -I$(WLAN_ROOT)/$(P2P_TARGET_IF_INC) |
| 1094 | P2P_OBJS := $(P2P_DISPATCHER_OBJ_DIR)/wlan_p2p_ucfg_api.o \ |
| 1095 | $(P2P_DISPATCHER_OBJ_DIR)/wlan_p2p_tgt_api.o \ |
| 1096 | $(P2P_DISPATCHER_OBJ_DIR)/wlan_p2p_cfg.o \ |
Pragaspathi Thilagaraj | b3472f0 | 2019-06-04 14:10:44 +0530 | [diff] [blame] | 1097 | $(P2P_DISPATCHER_OBJ_DIR)/wlan_p2p_api.o \ |
Wu Gao | 637d58a | 2018-12-08 10:37:34 +0800 | [diff] [blame] | 1098 | $(P2P_CORE_OBJ_DIR)/wlan_p2p_main.o \ |
| 1099 | $(P2P_CORE_OBJ_DIR)/wlan_p2p_roc.o \ |
| 1100 | $(P2P_CORE_OBJ_DIR)/wlan_p2p_off_chan_tx.o \ |
| 1101 | $(P2P_OS_IF_SRC)/wlan_cfg80211_p2p.o \ |
| 1102 | $(P2P_TARGET_IF_SRC)/target_if_p2p.o |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 1103 | |
Tushnim Bhattacharyya | 44939d4 | 2017-02-15 17:08:12 -0800 | [diff] [blame] | 1104 | ###### UMAC POLICY MGR ######## |
Wu Gao | d6b5e40 | 2018-12-03 22:09:24 +0800 | [diff] [blame] | 1105 | POLICY_MGR_DIR := components/cmn_services/policy_mgr |
Tushnim Bhattacharyya | 44939d4 | 2017-02-15 17:08:12 -0800 | [diff] [blame] | 1106 | |
Wu Gao | d6b5e40 | 2018-12-03 22:09:24 +0800 | [diff] [blame] | 1107 | POLICY_MGR_INC := -I$(WLAN_ROOT)/$(POLICY_MGR_DIR)/inc \ |
| 1108 | -I$(WLAN_ROOT)/$(POLICY_MGR_DIR)/src |
Tushnim Bhattacharyya | 44939d4 | 2017-02-15 17:08:12 -0800 | [diff] [blame] | 1109 | |
Wu Gao | d6b5e40 | 2018-12-03 22:09:24 +0800 | [diff] [blame] | 1110 | POLICY_MGR_OBJS := $(POLICY_MGR_DIR)/src/wlan_policy_mgr_action.o \ |
| 1111 | $(POLICY_MGR_DIR)/src/wlan_policy_mgr_core.o \ |
| 1112 | $(POLICY_MGR_DIR)/src/wlan_policy_mgr_get_set_utils.o \ |
| 1113 | $(POLICY_MGR_DIR)/src/wlan_policy_mgr_init_deinit.o \ |
| 1114 | $(POLICY_MGR_DIR)/src/wlan_policy_mgr_ucfg.o \ |
| 1115 | $(POLICY_MGR_DIR)/src/wlan_policy_mgr_pcl.o \ |
Tushnim Bhattacharyya | 44939d4 | 2017-02-15 17:08:12 -0800 | [diff] [blame] | 1116 | |
Kabilan Kannan | 6d7a411 | 2017-04-20 14:37:09 -0700 | [diff] [blame] | 1117 | ###### UMAC TDLS ######## |
Wu Gao | 5f79340 | 2018-12-08 11:04:00 +0800 | [diff] [blame] | 1118 | TDLS_DIR := components/tdls |
Kabilan Kannan | 6d7a411 | 2017-04-20 14:37:09 -0700 | [diff] [blame] | 1119 | |
Wu Gao | 5f79340 | 2018-12-08 11:04:00 +0800 | [diff] [blame] | 1120 | TDLS_OS_IF_INC := os_if/tdls/inc |
| 1121 | TDLS_OS_IF_SRC := os_if/tdls/src |
| 1122 | TDLS_TARGET_IF_INC := components/target_if/tdls/inc |
| 1123 | TDLS_TARGET_IF_SRC := components/target_if/tdls/src |
| 1124 | TDLS_INC := -I$(WLAN_ROOT)/$(TDLS_DIR)/dispatcher/inc \ |
| 1125 | -I$(WLAN_ROOT)/$(TDLS_OS_IF_INC) \ |
| 1126 | -I$(WLAN_ROOT)/$(TDLS_TARGET_IF_INC) |
Jeff Johnson | 74c6bb2 | 2019-02-15 10:15:07 -0800 | [diff] [blame] | 1127 | |
Jeff Johnson | 2de5879 | 2019-02-08 07:49:17 -0800 | [diff] [blame] | 1128 | ifeq ($(CONFIG_QCOM_TDLS), y) |
Wu Gao | 5f79340 | 2018-12-08 11:04:00 +0800 | [diff] [blame] | 1129 | TDLS_OBJS := $(TDLS_DIR)/core/src/wlan_tdls_main.o \ |
| 1130 | $(TDLS_DIR)/core/src/wlan_tdls_cmds_process.o \ |
| 1131 | $(TDLS_DIR)/core/src/wlan_tdls_peer.o \ |
| 1132 | $(TDLS_DIR)/core/src/wlan_tdls_mgmt.o \ |
| 1133 | $(TDLS_DIR)/core/src/wlan_tdls_ct.o \ |
| 1134 | $(TDLS_DIR)/dispatcher/src/wlan_tdls_tgt_api.o \ |
| 1135 | $(TDLS_DIR)/dispatcher/src/wlan_tdls_ucfg_api.o \ |
| 1136 | $(TDLS_DIR)/dispatcher/src/wlan_tdls_utils_api.o \ |
| 1137 | $(TDLS_DIR)/dispatcher/src/wlan_tdls_cfg.o \ |
| 1138 | $(TDLS_OS_IF_SRC)/wlan_cfg80211_tdls.o \ |
| 1139 | $(TDLS_TARGET_IF_SRC)/target_if_tdls.o |
Jeff Johnson | 74c6bb2 | 2019-02-15 10:15:07 -0800 | [diff] [blame] | 1140 | endif |
Kabilan Kannan | 6d7a411 | 2017-04-20 14:37:09 -0700 | [diff] [blame] | 1141 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1142 | ########### BMI ########### |
| 1143 | BMI_DIR := core/bmi |
| 1144 | |
| 1145 | BMI_INC := -I$(WLAN_ROOT)/$(BMI_DIR)/inc |
| 1146 | |
Qiwei Cai | a01a962 | 2018-07-11 10:02:03 +0800 | [diff] [blame] | 1147 | ifeq ($(CONFIG_WLAN_FEATURE_BMI), y) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1148 | BMI_OBJS := $(BMI_DIR)/src/bmi.o \ |
Qiwei Cai | a01a962 | 2018-07-11 10:02:03 +0800 | [diff] [blame] | 1149 | $(BMI_DIR)/src/bmi_1.o \ |
Poddar, Siddarth | ef1f302 | 2016-05-10 20:10:43 +0530 | [diff] [blame] | 1150 | $(BMI_DIR)/src/ol_fw.o \ |
| 1151 | $(BMI_DIR)/src/ol_fw_common.o |
Qiwei Cai | a01a962 | 2018-07-11 10:02:03 +0800 | [diff] [blame] | 1152 | endif |
Govind Singh | 0fea23a | 2016-03-18 12:59:27 +0530 | [diff] [blame] | 1153 | |
Mukul Sharma | c3e7a78 | 2017-02-03 12:16:11 +0530 | [diff] [blame] | 1154 | ########## TARGET_IF ####### |
| 1155 | TARGET_IF_DIR := $(WLAN_COMMON_ROOT)/target_if |
| 1156 | |
| 1157 | TARGET_IF_INC := -I$(WLAN_COMMON_INC)/target_if/core/inc \ |
Rajeev Kumar | da2444c | 2017-01-10 22:42:07 -0800 | [diff] [blame] | 1158 | -I$(WLAN_COMMON_INC)/target_if/core/src \ |
Mukul Sharma | 0cdf8b3 | 2017-02-04 14:27:56 +0530 | [diff] [blame] | 1159 | -I$(WLAN_COMMON_INC)/target_if/init_deinit/inc \ |
Kiran Kumar Lokere | 8dbd85a | 2018-11-14 17:51:41 -0800 | [diff] [blame] | 1160 | -I$(WLAN_COMMON_INC)/target_if/crypto/inc \ |
Kabilan Kannan | 6d7a411 | 2017-04-20 14:37:09 -0700 | [diff] [blame] | 1161 | -I$(WLAN_COMMON_INC)/target_if/regulatory/inc \ |
hqu | 2aeaa67 | 2019-07-11 17:37:03 +0800 | [diff] [blame] | 1162 | -I$(WLAN_COMMON_INC)/target_if/mlme/vdev_mgr/inc \ |
Arun Kumar Khandavalli | 7b6bee7 | 2019-11-14 14:19:20 +0530 | [diff] [blame] | 1163 | -I$(WLAN_COMMON_INC)/target_if/dispatcher/inc \ |
| 1164 | -I$(WLAN_COMMON_INC)/target_if/mlme/psoc/inc |
Mukul Sharma | c3e7a78 | 2017-02-03 12:16:11 +0530 | [diff] [blame] | 1165 | |
Rajeev Kumar | da2444c | 2017-01-10 22:42:07 -0800 | [diff] [blame] | 1166 | TARGET_IF_OBJ := $(TARGET_IF_DIR)/core/src/target_if_main.o \ |
Kabilan Kannan | 6d7a411 | 2017-04-20 14:37:09 -0700 | [diff] [blame] | 1167 | $(TARGET_IF_DIR)/regulatory/src/target_if_reg.o \ |
Ashish Kumar Dhanotiya | aa9fdbb | 2018-12-14 15:29:14 +0530 | [diff] [blame] | 1168 | $(TARGET_IF_DIR)/regulatory/src/target_if_reg_lte.o \ |
| 1169 | $(TARGET_IF_DIR)/regulatory/src/target_if_reg_11d.o \ |
Arunk Khandavalli | a6305a3 | 2018-01-25 11:19:18 +0530 | [diff] [blame] | 1170 | $(TARGET_IF_DIR)/init_deinit/src/init_cmd_api.o \ |
Sourav Mohapatra | cf63257 | 2018-04-02 11:01:35 +0530 | [diff] [blame] | 1171 | $(TARGET_IF_DIR)/init_deinit/src/init_deinit_lmac.o \ |
Arunk Khandavalli | a6305a3 | 2018-01-25 11:19:18 +0530 | [diff] [blame] | 1172 | $(TARGET_IF_DIR)/init_deinit/src/init_event_handler.o \ |
| 1173 | $(TARGET_IF_DIR)/init_deinit/src/service_ready_util.o \ |
Abhishek Ambure | 2ac5dec | 2019-05-27 14:56:56 +0530 | [diff] [blame] | 1174 | $(TARGET_IF_DIR)/mlme/vdev_mgr/src/target_if_vdev_mgr_tx_ops.o \ |
Arun Kumar Khandavalli | 7b6bee7 | 2019-11-14 14:19:20 +0530 | [diff] [blame] | 1175 | $(TARGET_IF_DIR)/mlme/vdev_mgr/src/target_if_vdev_mgr_rx_ops.o \ |
| 1176 | $(TARGET_IF_DIR)/mlme/psoc/src/target_if_psoc_timer_tx_ops.o |
Mukul Sharma | c3e7a78 | 2017-02-03 12:16:11 +0530 | [diff] [blame] | 1177 | |
sandeep puligilla | 4afcb11 | 2019-04-23 13:42:51 -0700 | [diff] [blame] | 1178 | ifeq ($(CONFIG_FEATURE_VDEV_RSP_WAKELOCK), y) |
Arun Kumar Khandavalli | 2f865fd | 2019-11-23 15:18:23 +0530 | [diff] [blame] | 1179 | TARGET_IF_OBJ += $(TARGET_IF_DIR)/mlme/psoc/src/target_if_psoc_wake_lock.o |
sandeep puligilla | 4afcb11 | 2019-04-23 13:42:51 -0700 | [diff] [blame] | 1180 | endif |
| 1181 | |
Kiran Kumar Lokere | 8dbd85a | 2018-11-14 17:51:41 -0800 | [diff] [blame] | 1182 | ifeq ($(CONFIG_CRYPTO_COMPONENT), y) |
| 1183 | TARGET_IF_OBJ += $(TARGET_IF_DIR)/crypto/src/target_if_crypto.o |
| 1184 | endif |
| 1185 | |
Mukul Sharma | dad267e | 2017-02-04 13:25:34 +0530 | [diff] [blame] | 1186 | ########### GLOBAL_LMAC_IF ########## |
| 1187 | GLOBAL_LMAC_IF_DIR := $(WLAN_COMMON_ROOT)/global_lmac_if |
| 1188 | |
| 1189 | GLOBAL_LMAC_IF_INC := -I$(WLAN_COMMON_INC)/global_lmac_if/inc \ |
| 1190 | -I$(WLAN_COMMON_INC)/global_lmac_if/src |
| 1191 | |
| 1192 | GLOBAL_LMAC_IF_OBJ := $(GLOBAL_LMAC_IF_DIR)/src/wlan_global_lmac_if.o |
| 1193 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1194 | ########### WMI ########### |
Govind Singh | 0fea23a | 2016-03-18 12:59:27 +0530 | [diff] [blame] | 1195 | WMI_ROOT_DIR := wmi |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1196 | |
Govind Singh | 0fea23a | 2016-03-18 12:59:27 +0530 | [diff] [blame] | 1197 | WMI_SRC_DIR := $(WMI_ROOT_DIR)/src |
| 1198 | WMI_INC_DIR := $(WMI_ROOT_DIR)/inc |
| 1199 | WMI_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(WMI_SRC_DIR) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1200 | |
Govind Singh | 0fea23a | 2016-03-18 12:59:27 +0530 | [diff] [blame] | 1201 | WMI_INC := -I$(WLAN_COMMON_INC)/$(WMI_INC_DIR) |
| 1202 | |
| 1203 | WMI_OBJS := $(WMI_OBJ_DIR)/wmi_unified.o \ |
| 1204 | $(WMI_OBJ_DIR)/wmi_tlv_helper.o \ |
| 1205 | $(WMI_OBJ_DIR)/wmi_unified_tlv.o \ |
| 1206 | $(WMI_OBJ_DIR)/wmi_unified_api.o \ |
Abhishek Ambure | 2ac5dec | 2019-05-27 14:56:56 +0530 | [diff] [blame] | 1207 | $(WMI_OBJ_DIR)/wmi_unified_reg_api.o \ |
Abhishek Ambure | e852897 | 2019-09-09 16:49:09 +0530 | [diff] [blame] | 1208 | $(WMI_OBJ_DIR)/wmi_unified_vdev_api.o \ |
| 1209 | $(WMI_OBJ_DIR)/wmi_unified_vdev_tlv.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1210 | |
Wu Gao | a9d336b | 2018-05-30 14:48:04 +0800 | [diff] [blame] | 1211 | ifeq ($(CONFIG_POWER_MANAGEMENT_OFFLOAD), y) |
| 1212 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_pmo_api.o |
Qiwei Cai | dcb73b0 | 2018-09-17 19:58:29 +0800 | [diff] [blame] | 1213 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_pmo_tlv.o |
Wu Gao | a9d336b | 2018-05-30 14:48:04 +0800 | [diff] [blame] | 1214 | endif |
| 1215 | |
Nachiket Kukade | d0dd62e | 2018-05-21 18:39:22 +0530 | [diff] [blame] | 1216 | ifeq ($(CONFIG_QCACLD_FEATURE_APF), y) |
| 1217 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_apf_tlv.o |
| 1218 | endif |
| 1219 | |
Rajeev Kumar Sirasanagandla | 4725ae4 | 2018-05-24 22:33:34 +0530 | [diff] [blame] | 1220 | ifeq ($(CONFIG_WLAN_FEATURE_ACTION_OUI), y) |
| 1221 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_action_oui_tlv.o |
| 1222 | endif |
| 1223 | |
Zhang Qian | 47e22ce | 2018-01-04 15:38:38 +0800 | [diff] [blame] | 1224 | ifeq ($(CONFIG_WLAN_FEATURE_DSRC), y) |
| 1225 | ifeq ($(CONFIG_OCB_UT_FRAMEWORK), y) |
| 1226 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_ocb_ut.o |
| 1227 | endif |
| 1228 | endif |
| 1229 | |
Wen Gong | 01a2c63 | 2018-04-11 18:34:55 +0800 | [diff] [blame] | 1230 | ifeq ($(CONFIG_WLAN_DFS_MASTER_ENABLE), y) |
| 1231 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_dfs_api.o |
| 1232 | endif |
| 1233 | |
Varun Reddy Yeturu | d33033f | 2018-06-11 10:58:30 -0700 | [diff] [blame] | 1234 | ifeq ($(CONFIG_WLAN_FEATURE_TWT), y) |
| 1235 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_twt_api.o |
| 1236 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_twt_tlv.o |
| 1237 | endif |
| 1238 | |
Qiwei Cai | dcb73b0 | 2018-09-17 19:58:29 +0800 | [diff] [blame] | 1239 | ifeq ($(CONFIG_WLAN_FEATURE_DSRC), y) |
| 1240 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_ocb_api.o |
| 1241 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_ocb_tlv.o |
| 1242 | endif |
| 1243 | |
Wen Gong | bd949fc | 2018-05-21 18:35:13 +0800 | [diff] [blame] | 1244 | ifeq ($(CONFIG_FEATURE_WLAN_EXTSCAN), y) |
| 1245 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_extscan_api.o |
| 1246 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_extscan_tlv.o |
| 1247 | endif |
| 1248 | |
Paul Zhang | 3718567 | 2019-05-14 11:20:14 +0800 | [diff] [blame] | 1249 | ifeq ($(CONFIG_FEATURE_INTEROP_ISSUES_AP), y) |
| 1250 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_interop_issues_ap_api.o |
| 1251 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_interop_issues_ap_tlv.o |
| 1252 | endif |
| 1253 | |
Nachiket Kukade | 2fb1fdb | 2019-01-08 15:35:27 +0530 | [diff] [blame] | 1254 | ifeq ($(CONFIG_QCACLD_FEATURE_NAN), y) |
Qiwei Cai | dcb73b0 | 2018-09-17 19:58:29 +0800 | [diff] [blame] | 1255 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_nan_api.o |
| 1256 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_nan_tlv.o |
| 1257 | endif |
| 1258 | |
| 1259 | ifeq ($(CONFIG_CONVERGED_P2P_ENABLE), y) |
| 1260 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_p2p_api.o |
| 1261 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_p2p_tlv.o |
| 1262 | endif |
| 1263 | |
| 1264 | ifeq ($(CONFIG_WMI_ROAM_SUPPORT), y) |
| 1265 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_roam_api.o |
| 1266 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_roam_tlv.o |
| 1267 | endif |
| 1268 | |
| 1269 | ifeq ($(CONFIG_WMI_CONCURRENCY_SUPPORT), y) |
| 1270 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_concurrency_api.o |
| 1271 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_concurrency_tlv.o |
| 1272 | endif |
| 1273 | |
| 1274 | ifeq ($(CONFIG_WMI_STA_SUPPORT), y) |
| 1275 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_sta_api.o |
| 1276 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_sta_tlv.o |
| 1277 | endif |
| 1278 | |
Harprit Chhabada | 253e36a | 2018-12-11 15:29:55 -0800 | [diff] [blame] | 1279 | ifeq ($(CONFIG_WMI_BCN_OFFLOAD), y) |
| 1280 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_bcn_api.o |
Liangwei Dong | 03e080c | 2019-07-02 17:06:39 +0800 | [diff] [blame] | 1281 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_bcn_tlv.o |
Harprit Chhabada | 253e36a | 2018-12-11 15:29:55 -0800 | [diff] [blame] | 1282 | endif |
| 1283 | |
Paul Zhang | c9dbaee | 2019-06-23 22:07:31 +0800 | [diff] [blame] | 1284 | ifeq ($(CONFIG_WLAN_FW_OFFLOAD), y) |
| 1285 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_fwol_api.o |
| 1286 | WMI_OBJS += $(WMI_OBJ_DIR)/wmi_unified_fwol_tlv.o |
| 1287 | endif |
| 1288 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1289 | ########### FWLOG ########### |
Srinivas Girigowda | c1bb1bd | 2017-01-10 16:56:54 -0800 | [diff] [blame] | 1290 | FWLOG_DIR := $(WLAN_COMMON_ROOT)/utils/fwlog |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1291 | |
| 1292 | FWLOG_INC := -I$(WLAN_ROOT)/$(FWLOG_DIR) |
| 1293 | |
| 1294 | FWLOG_OBJS := $(FWLOG_DIR)/dbglog_host.o |
| 1295 | |
| 1296 | ############ TXRX ############ |
| 1297 | TXRX_DIR := core/dp/txrx |
| 1298 | TXRX_INC := -I$(WLAN_ROOT)/$(TXRX_DIR) |
| 1299 | |
Saket Jha | 9953150 | 2019-08-21 15:00:49 -0700 | [diff] [blame] | 1300 | ifneq ($(CONFIG_LITHIUM), y) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1301 | TXRX_OBJS := $(TXRX_DIR)/ol_txrx.o \ |
Saket Jha | 9953150 | 2019-08-21 15:00:49 -0700 | [diff] [blame] | 1302 | $(TXRX_DIR)/ol_cfg.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1303 | $(TXRX_DIR)/ol_rx.o \ |
| 1304 | $(TXRX_DIR)/ol_rx_fwd.o \ |
| 1305 | $(TXRX_DIR)/ol_txrx.o \ |
| 1306 | $(TXRX_DIR)/ol_rx_defrag.o \ |
| 1307 | $(TXRX_DIR)/ol_tx_desc.o \ |
| 1308 | $(TXRX_DIR)/ol_tx.o \ |
Tiger Yu | 81a8073 | 2019-10-17 18:03:38 +0800 | [diff] [blame] | 1309 | $(TXRX_DIR)/ol_rx_reorder_timeout.o \ |
| 1310 | $(TXRX_DIR)/ol_rx_reorder.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1311 | $(TXRX_DIR)/ol_rx_pn.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1312 | $(TXRX_DIR)/ol_txrx_peer_find.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1313 | $(TXRX_DIR)/ol_txrx_encap.o \ |
Nirav Shah | 52d85aa | 2018-04-26 14:03:00 +0530 | [diff] [blame] | 1314 | $(TXRX_DIR)/ol_tx_send.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1315 | |
Nirav Shah | bb8e47c | 2018-05-17 16:56:41 +0530 | [diff] [blame] | 1316 | ifeq ($(CONFIG_WDI_EVENT_ENABLE), y) |
Saket Jha | 9953150 | 2019-08-21 15:00:49 -0700 | [diff] [blame] | 1317 | TXRX_OBJS += $(TXRX_DIR)/ol_txrx_event.o |
Nirav Shah | bb8e47c | 2018-05-17 16:56:41 +0530 | [diff] [blame] | 1318 | endif |
| 1319 | |
Nirav Shah | 52d85aa | 2018-04-26 14:03:00 +0530 | [diff] [blame] | 1320 | ifeq ($(CONFIG_LL_DP_SUPPORT), y) |
| 1321 | |
| 1322 | TXRX_OBJS += $(TXRX_DIR)/ol_tx_ll.o |
| 1323 | |
| 1324 | ifeq ($(CONFIG_WLAN_FASTPATH), y) |
| 1325 | TXRX_OBJS += $(TXRX_DIR)/ol_tx_ll_fastpath.o |
| 1326 | else |
| 1327 | TXRX_OBJS += $(TXRX_DIR)/ol_tx_ll_legacy.o |
| 1328 | endif |
| 1329 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1330 | ifeq ($(CONFIG_WLAN_TX_FLOW_CONTROL_V2), y) |
| 1331 | TXRX_OBJS += $(TXRX_DIR)/ol_txrx_flow_control.o |
| 1332 | endif |
| 1333 | |
Nirav Shah | 52d85aa | 2018-04-26 14:03:00 +0530 | [diff] [blame] | 1334 | endif #CONFIG_LL_DP_SUPPORT |
| 1335 | |
| 1336 | ifeq ($(CONFIG_HL_DP_SUPPORT), y) |
| 1337 | TXRX_OBJS += $(TXRX_DIR)/ol_tx_hl.o |
| 1338 | TXRX_OBJS += $(TXRX_DIR)/ol_tx_classify.o |
| 1339 | TXRX_OBJS += $(TXRX_DIR)/ol_tx_sched.o |
| 1340 | TXRX_OBJS += $(TXRX_DIR)/ol_tx_queue.o |
| 1341 | endif #CONFIG_HL_DP_SUPPORT |
| 1342 | |
Nirav Shah | c4aa1ab | 2018-04-21 12:38:44 +0530 | [diff] [blame] | 1343 | ifeq ($(CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY), y) |
| 1344 | TXRX_OBJS += $(TXRX_DIR)/ol_txrx_legacy_flow_control.o |
| 1345 | endif |
| 1346 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1347 | ifeq ($(CONFIG_IPA_OFFLOAD), y) |
Yun Park | b4f591d | 2017-03-29 15:51:01 -0700 | [diff] [blame] | 1348 | TXRX_OBJS += $(TXRX_DIR)/ol_txrx_ipa.o |
| 1349 | endif |
| 1350 | |
Nirav Shah | 46fc630 | 2018-04-21 12:49:28 +0530 | [diff] [blame] | 1351 | ifeq ($(CONFIG_QCA_SUPPORT_TX_THROTTLE), y) |
| 1352 | TXRX_OBJS += $(TXRX_DIR)/ol_tx_throttle.o |
| 1353 | endif |
Saket Jha | 9953150 | 2019-08-21 15:00:49 -0700 | [diff] [blame] | 1354 | endif #LITHIUM |
Nirav Shah | 46fc630 | 2018-04-21 12:49:28 +0530 | [diff] [blame] | 1355 | |
Mohit Khanna | 7032200 | 2018-05-15 19:21:32 -0700 | [diff] [blame] | 1356 | ############ TXRX 3.0 ############ |
| 1357 | TXRX3.0_DIR := core/dp/txrx3.0 |
| 1358 | TXRX3.0_INC := -I$(WLAN_ROOT)/$(TXRX3.0_DIR) |
| 1359 | TXRX3.0_OBJS := $(TXRX3.0_DIR)/dp_txrx.o \ |
| 1360 | $(TXRX3.0_DIR)/dp_rx_thread.o |
Tushnim Bhattacharyya | a2c18de | 2018-03-27 15:00:00 -0700 | [diff] [blame] | 1361 | ifeq ($(CONFIG_LITHIUM), y) |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1362 | ############ DP 3.0 ############ |
Venkata Sharath Chandra Manchala | 9220e32 | 2018-07-09 17:20:57 -0700 | [diff] [blame] | 1363 | DP_INC := -I$(WLAN_COMMON_INC)/dp/inc \ |
| 1364 | -I$(WLAN_COMMON_INC)/dp/wifi3.0 \ |
| 1365 | -I$(WLAN_COMMON_INC)/target_if/dp/inc |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1366 | |
| 1367 | DP_SRC := $(WLAN_COMMON_ROOT)/dp/wifi3.0 |
| 1368 | DP_OBJS := $(DP_SRC)/dp_main.o \ |
| 1369 | $(DP_SRC)/dp_tx.o \ |
| 1370 | $(DP_SRC)/dp_tx_desc.o \ |
| 1371 | $(DP_SRC)/dp_rx.o \ |
| 1372 | $(DP_SRC)/dp_rx_err.o \ |
| 1373 | $(DP_SRC)/dp_htt.o \ |
| 1374 | $(DP_SRC)/dp_peer.o \ |
Debashis Dutt | 237c614 | 2017-01-04 11:28:59 -0800 | [diff] [blame] | 1375 | $(DP_SRC)/dp_rx_desc.o \ |
Ravi Joshi | 12665a0 | 2017-03-08 16:35:04 -0800 | [diff] [blame] | 1376 | $(DP_SRC)/dp_reo.o \ |
| 1377 | $(DP_SRC)/dp_rx_mon_dest.o \ |
Ravi Joshi | c4a4108 | 2017-01-09 22:27:58 -0800 | [diff] [blame] | 1378 | $(DP_SRC)/dp_rx_mon_status.o \ |
Venkata Sharath Chandra Manchala | bcdfdb1 | 2017-03-29 19:25:45 -0700 | [diff] [blame] | 1379 | $(DP_SRC)/dp_rx_defrag.o \ |
Sravan Kumar Kairam | b8bdf52 | 2018-05-30 22:14:50 +0530 | [diff] [blame] | 1380 | $(DP_SRC)/dp_stats.o \ |
| 1381 | $(WLAN_COMMON_ROOT)/target_if/dp/src/target_if_dp.o |
Manjunathappa Prakash | 6c54736 | 2017-03-30 20:11:47 -0700 | [diff] [blame] | 1382 | ifeq ($(CONFIG_WLAN_TX_FLOW_CONTROL_V2), y) |
| 1383 | DP_OBJS += $(DP_SRC)/dp_tx_flow_control.o |
| 1384 | endif |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1385 | endif |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1386 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1387 | ifeq ($(CONFIG_IPA_OFFLOAD), y) |
Yun Park | b4f591d | 2017-03-29 15:51:01 -0700 | [diff] [blame] | 1388 | DP_OBJS += $(DP_SRC)/dp_ipa.o |
| 1389 | endif |
| 1390 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1391 | ifeq ($(CONFIG_WDI_EVENT_ENABLE), y) |
Venkata Sharath Chandra Manchala | 1240fc7 | 2017-10-26 17:32:29 -0700 | [diff] [blame] | 1392 | DP_OBJS += $(DP_SRC)/dp_wdi_event.o |
| 1393 | endif |
| 1394 | |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1395 | ############ CFG ############ |
Ravi Joshi | d55b18a | 2017-02-17 10:48:14 -0800 | [diff] [blame] | 1396 | WCFG_DIR := wlan_cfg |
| 1397 | WCFG_INC := -I$(WLAN_COMMON_INC)/$(WCFG_DIR) |
| 1398 | WCFG_SRC := $(WLAN_COMMON_ROOT)/$(WCFG_DIR) |
Nirav Shah | 9272dbb | 2018-07-18 12:01:39 +0530 | [diff] [blame] | 1399 | |
| 1400 | ifeq ($(CONFIG_LITHIUM), y) |
Ravi Joshi | d55b18a | 2017-02-17 10:48:14 -0800 | [diff] [blame] | 1401 | WCFG_OBJS := $(WCFG_SRC)/wlan_cfg.o |
Nirav Shah | 9272dbb | 2018-07-18 12:01:39 +0530 | [diff] [blame] | 1402 | endif |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1403 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1404 | ############ OL ############ |
| 1405 | OL_DIR := core/dp/ol |
| 1406 | OL_INC := -I$(WLAN_ROOT)/$(OL_DIR)/inc |
| 1407 | |
Dhanashri Atre | 12a0839 | 2016-02-17 13:10:34 -0800 | [diff] [blame] | 1408 | ############ CDP ############ |
| 1409 | CDP_ROOT_DIR := dp |
| 1410 | CDP_INC_DIR := $(CDP_ROOT_DIR)/inc |
| 1411 | CDP_INC := -I$(WLAN_COMMON_INC)/$(CDP_INC_DIR) |
| 1412 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1413 | ############ PKTLOG ############ |
Srinivas Girigowda | c1bb1bd | 2017-01-10 16:56:54 -0800 | [diff] [blame] | 1414 | PKTLOG_DIR := $(WLAN_COMMON_ROOT)/utils/pktlog |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1415 | PKTLOG_INC := -I$(WLAN_ROOT)/$(PKTLOG_DIR)/include |
| 1416 | |
| 1417 | PKTLOG_OBJS := $(PKTLOG_DIR)/pktlog_ac.o \ |
| 1418 | $(PKTLOG_DIR)/pktlog_internal.o \ |
| 1419 | $(PKTLOG_DIR)/linux_ac.o |
| 1420 | |
| 1421 | ############ HTT ############ |
| 1422 | HTT_DIR := core/dp/htt |
| 1423 | HTT_INC := -I$(WLAN_ROOT)/$(HTT_DIR) |
| 1424 | |
| 1425 | HTT_OBJS := $(HTT_DIR)/htt_tx.o \ |
| 1426 | $(HTT_DIR)/htt.o \ |
| 1427 | $(HTT_DIR)/htt_t2h.o \ |
| 1428 | $(HTT_DIR)/htt_h2t.o \ |
| 1429 | $(HTT_DIR)/htt_fw_stats.o \ |
| 1430 | $(HTT_DIR)/htt_rx.o |
| 1431 | |
Nirav Shah | 73713f7 | 2018-05-17 14:50:41 +0530 | [diff] [blame] | 1432 | ifeq ($(CONFIG_FEATURE_MONITOR_MODE_SUPPORT), y) |
| 1433 | HTT_OBJS += $(HTT_DIR)/htt_monitor_rx.o |
| 1434 | endif |
Rajeev Kumar | 97767a0 | 2016-11-30 11:20:40 -0800 | [diff] [blame] | 1435 | |
Nirav Shah | 6ebfe24 | 2018-05-09 15:56:12 +0530 | [diff] [blame] | 1436 | ifeq ($(CONFIG_LL_DP_SUPPORT), y) |
| 1437 | HTT_OBJS += $(HTT_DIR)/htt_rx_ll.o |
| 1438 | endif |
| 1439 | |
| 1440 | ifeq ($(CONFIG_HL_DP_SUPPORT), y) |
| 1441 | HTT_OBJS += $(HTT_DIR)/htt_rx_hl.o |
| 1442 | endif |
| 1443 | |
Rajeev Kumar | 97767a0 | 2016-11-30 11:20:40 -0800 | [diff] [blame] | 1444 | ############## INIT-DEINIT ########### |
| 1445 | INIT_DEINIT_DIR := init_deinit/dispatcher |
| 1446 | INIT_DEINIT_INC_DIR := $(INIT_DEINIT_DIR)/inc |
| 1447 | INIT_DEINIT_SRC_DIR := $(INIT_DEINIT_DIR)/src |
| 1448 | INIT_DEINIT_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(INIT_DEINIT_SRC_DIR) |
| 1449 | INIT_DEINIT_INC := -I$(WLAN_COMMON_INC)/$(INIT_DEINIT_INC_DIR) |
| 1450 | INIT_DEINIT_OBJS := $(INIT_DEINIT_OBJ_DIR)/dispatcher_init_deinit.o |
| 1451 | |
Kiran Kumar Lokere | 3fbafbc | 2017-01-10 12:57:52 -0800 | [diff] [blame] | 1452 | ############## REGULATORY ########### |
| 1453 | REGULATORY_DIR := umac/regulatory |
| 1454 | REGULATORY_CORE_INC_DIR := $(REGULATORY_DIR)/core/inc |
| 1455 | REGULATORY_CORE_SRC_DIR := $(REGULATORY_DIR)/core/src |
| 1456 | REG_DISPATCHER_INC_DIR := $(REGULATORY_DIR)/dispatcher/inc |
| 1457 | REG_DISPATCHER_SRC_DIR := $(REGULATORY_DIR)/dispatcher/src |
| 1458 | REG_CORE_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(REGULATORY_CORE_SRC_DIR) |
| 1459 | REG_DISPATCHER_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(REG_DISPATCHER_SRC_DIR) |
| 1460 | REGULATORY_INC := -I$(WLAN_COMMON_INC)/$(REGULATORY_CORE_INC_DIR) |
| 1461 | REGULATORY_INC += -I$(WLAN_COMMON_INC)/$(REG_DISPATCHER_INC_DIR) |
Ashish Kumar Dhanotiya | aa9fdbb | 2018-12-14 15:29:14 +0530 | [diff] [blame] | 1462 | REGULATORY_OBJS := $(REG_CORE_OBJ_DIR)/reg_build_chan_list.o \ |
| 1463 | $(REG_CORE_OBJ_DIR)/reg_callbacks.o \ |
| 1464 | $(REG_CORE_OBJ_DIR)/reg_db.o \ |
| 1465 | $(REG_CORE_OBJ_DIR)/reg_db_parser.o \ |
Ashish Kumar Dhanotiya | ddeb4d7 | 2019-01-08 21:25:30 +0530 | [diff] [blame] | 1466 | $(REG_CORE_OBJ_DIR)/reg_utils.o \ |
Ashish Kumar Dhanotiya | aa9fdbb | 2018-12-14 15:29:14 +0530 | [diff] [blame] | 1467 | $(REG_CORE_OBJ_DIR)/reg_lte.o \ |
Ashish Kumar Dhanotiya | ddeb4d7 | 2019-01-08 21:25:30 +0530 | [diff] [blame] | 1468 | $(REG_CORE_OBJ_DIR)/reg_offload_11d_scan.o \ |
Ashish Kumar Dhanotiya | aa9fdbb | 2018-12-14 15:29:14 +0530 | [diff] [blame] | 1469 | $(REG_CORE_OBJ_DIR)/reg_opclass.o \ |
| 1470 | $(REG_CORE_OBJ_DIR)/reg_priv_objs.o \ |
| 1471 | $(REG_DISPATCHER_OBJ_DIR)/wlan_reg_services_api.o \ |
| 1472 | $(REG_CORE_OBJ_DIR)/reg_services_common.o \ |
| 1473 | $(REG_DISPATCHER_OBJ_DIR)/wlan_reg_tgt_api.o \ |
| 1474 | $(REG_DISPATCHER_OBJ_DIR)/wlan_reg_ucfg_api.o |
Liangwei Dong | 2fce716 | 2018-08-24 01:07:22 -0400 | [diff] [blame] | 1475 | ifeq ($(CONFIG_HOST_11D_SCAN), y) |
| 1476 | REGULATORY_OBJS += $(REG_CORE_OBJ_DIR)/reg_host_11d.o |
| 1477 | endif |
Kiran Kumar Lokere | 3fbafbc | 2017-01-10 12:57:52 -0800 | [diff] [blame] | 1478 | |
Rajeev Kumar | 1705fc2 | 2016-11-30 16:12:16 -0800 | [diff] [blame] | 1479 | ############## Control path common scheduler ########## |
Rajeev Kumar | ebb0a73 | 2016-12-24 19:05:44 -0800 | [diff] [blame] | 1480 | SCHEDULER_DIR := scheduler |
| 1481 | SCHEDULER_INC_DIR := $(SCHEDULER_DIR)/inc |
| 1482 | SCHEDULER_SRC_DIR := $(SCHEDULER_DIR)/src |
| 1483 | SCHEDULER_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(SCHEDULER_SRC_DIR) |
| 1484 | SCHEDULER_INC := -I$(WLAN_COMMON_INC)/$(SCHEDULER_INC_DIR) |
| 1485 | SCHEDULER_OBJS := $(SCHEDULER_OBJ_DIR)/scheduler_api.o \ |
| 1486 | $(SCHEDULER_OBJ_DIR)/scheduler_core.o |
Rajeev Kumar | 1705fc2 | 2016-11-30 16:12:16 -0800 | [diff] [blame] | 1487 | |
Varun Reddy Yeturu | 269eca1 | 2017-01-03 06:32:07 -0800 | [diff] [blame] | 1488 | ###### UMAC SERIALIZATION ######## |
| 1489 | UMAC_SER_DIR := umac/cmn_services/serialization |
| 1490 | UMAC_SER_INC_DIR := $(UMAC_SER_DIR)/inc |
| 1491 | UMAC_SER_SRC_DIR := $(UMAC_SER_DIR)/src |
| 1492 | UMAC_SER_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(UMAC_SER_SRC_DIR) |
Rajeev Kumar | 97767a0 | 2016-11-30 11:20:40 -0800 | [diff] [blame] | 1493 | |
Varun Reddy Yeturu | 269eca1 | 2017-01-03 06:32:07 -0800 | [diff] [blame] | 1494 | UMAC_SER_INC := -I$(WLAN_COMMON_INC)/$(UMAC_SER_INC_DIR) |
Jianmin Zhu | c2eae9c | 2018-08-24 16:59:09 +0800 | [diff] [blame] | 1495 | UMAC_SER_OBJS := $(UMAC_SER_OBJ_DIR)/wlan_serialization_main.o \ |
Varun Reddy Yeturu | 269eca1 | 2017-01-03 06:32:07 -0800 | [diff] [blame] | 1496 | $(UMAC_SER_OBJ_DIR)/wlan_serialization_api.o \ |
| 1497 | $(UMAC_SER_OBJ_DIR)/wlan_serialization_utils.o \ |
Varun Reddy Yeturu | 35c07f9 | 2017-02-28 10:35:00 -0800 | [diff] [blame] | 1498 | $(UMAC_SER_OBJ_DIR)/wlan_serialization_legacy_api.o \ |
Jianmin Zhu | c2eae9c | 2018-08-24 16:59:09 +0800 | [diff] [blame] | 1499 | $(UMAC_SER_OBJ_DIR)/wlan_serialization_rules.o \ |
| 1500 | $(UMAC_SER_OBJ_DIR)/wlan_serialization_internal.o \ |
| 1501 | $(UMAC_SER_OBJ_DIR)/wlan_serialization_non_scan.o \ |
| 1502 | $(UMAC_SER_OBJ_DIR)/wlan_serialization_queue.o \ |
| 1503 | $(UMAC_SER_OBJ_DIR)/wlan_serialization_scan.o |
Naveen Rawat | 4e2c256 | 2017-03-06 10:47:02 -0800 | [diff] [blame] | 1504 | |
| 1505 | ###### WIFI POS ######## |
Naveen Rawat | 4e2c256 | 2017-03-06 10:47:02 -0800 | [diff] [blame] | 1506 | WIFI_POS_OS_IF_DIR := $(WLAN_COMMON_ROOT)/os_if/linux/wifi_pos/src |
| 1507 | WIFI_POS_OS_IF_INC := -I$(WLAN_COMMON_INC)/os_if/linux/wifi_pos/inc |
| 1508 | WIFI_POS_TGT_DIR := $(WLAN_COMMON_ROOT)/target_if/wifi_pos/src |
| 1509 | WIFI_POS_TGT_INC := -I$(WLAN_COMMON_INC)/target_if/wifi_pos/inc |
| 1510 | WIFI_POS_CORE_DIR := $(WLAN_COMMON_ROOT)/umac/wifi_pos/src |
| 1511 | WIFI_POS_API_INC := -I$(WLAN_COMMON_INC)/umac/wifi_pos/inc |
| 1512 | |
| 1513 | |
| 1514 | ifeq ($(CONFIG_WIFI_POS_CONVERGED), y) |
| 1515 | WIFI_POS_OBJS := $(WIFI_POS_CORE_DIR)/wifi_pos_api.o \ |
| 1516 | $(WIFI_POS_CORE_DIR)/wifi_pos_main.o \ |
| 1517 | $(WIFI_POS_CORE_DIR)/wifi_pos_ucfg.o \ |
| 1518 | $(WIFI_POS_CORE_DIR)/wifi_pos_utils.o \ |
| 1519 | $(WIFI_POS_OS_IF_DIR)/os_if_wifi_pos.o \ |
| 1520 | $(WIFI_POS_TGT_DIR)/target_if_wifi_pos.o |
| 1521 | endif |
| 1522 | |
Naveen Rawat | 73e1ca9 | 2018-01-12 15:26:14 -0800 | [diff] [blame] | 1523 | ###### CP STATS ######## |
Naveen Rawat | 96a77d3 | 2018-01-12 15:26:14 -0800 | [diff] [blame] | 1524 | CP_STATS_OS_IF_SRC := $(WLAN_COMMON_ROOT)/os_if/linux/cp_stats/src |
| 1525 | CP_STATS_TGT_SRC := $(WLAN_COMMON_ROOT)/target_if/cp_stats/src |
| 1526 | CP_STATS_CORE_SRC := $(WLAN_COMMON_ROOT)/umac/cp_stats/core/src |
| 1527 | CP_STATS_DISPATCHER_SRC := $(WLAN_COMMON_ROOT)/umac/cp_stats/dispatcher/src |
| 1528 | |
Naveen Rawat | 73e1ca9 | 2018-01-12 15:26:14 -0800 | [diff] [blame] | 1529 | CP_STATS_OS_IF_INC := -I$(WLAN_COMMON_INC)/os_if/linux/cp_stats/inc |
| 1530 | CP_STATS_TGT_INC := -I$(WLAN_COMMON_INC)/target_if/cp_stats/inc |
| 1531 | CP_STATS_DISPATCHER_INC := -I$(WLAN_COMMON_INC)/umac/cp_stats/dispatcher/inc |
| 1532 | |
Naveen Rawat | 96a77d3 | 2018-01-12 15:26:14 -0800 | [diff] [blame] | 1533 | ifeq ($(CONFIG_CP_STATS), y) |
| 1534 | CP_STATS_OBJS := $(CP_STATS_TGT_SRC)/target_if_mc_cp_stats.o \ |
| 1535 | $(CP_STATS_CORE_SRC)/wlan_cp_stats_comp_handler.o \ |
| 1536 | $(CP_STATS_CORE_SRC)/wlan_cp_stats_obj_mgr_handler.o \ |
Naveen Rawat | 96a77d3 | 2018-01-12 15:26:14 -0800 | [diff] [blame] | 1537 | $(CP_STATS_CORE_SRC)/wlan_cp_stats_ol_api.o \ |
| 1538 | $(CP_STATS_OS_IF_SRC)/wlan_cfg80211_mc_cp_stats.o \ |
| 1539 | $(CP_STATS_DISPATCHER_SRC)/wlan_cp_stats_utils_api.o \ |
| 1540 | $(CP_STATS_DISPATCHER_SRC)/wlan_cp_stats_mc_tgt_api.o \ |
| 1541 | $(CP_STATS_DISPATCHER_SRC)/wlan_cp_stats_mc_ucfg_api.o |
| 1542 | endif |
| 1543 | |
hqu | ff302a9 | 2019-07-18 00:06:11 +0800 | [diff] [blame] | 1544 | ###### COMPONENT CP STATS ######## |
| 1545 | COMP_CP_STATS_DISPATCHER_INC := -I$(WLAN_ROOT)/components/cp_stats/dispatcher/inc |
| 1546 | |
Paul Zhang | 3718567 | 2019-05-14 11:20:14 +0800 | [diff] [blame] | 1547 | ###### INTEROP ISSUES AP ######## |
| 1548 | INTEROP_ISSUES_AP_OS_IF_SRC := os_if/interop_issues_ap/src |
| 1549 | INTEROP_ISSUES_AP_TGT_SRC := components/target_if/interop_issues_ap/src |
| 1550 | INTEROP_ISSUES_AP_CORE_SRC := components/interop_issues_ap/core/src |
| 1551 | INTEROP_ISSUES_AP_DISPATCHER_SRC := components/interop_issues_ap/dispatcher/src |
| 1552 | |
| 1553 | INTEROP_ISSUES_AP_OS_IF_INC := -I$(WLAN_ROOT)/os_if/interop_issues_ap/inc |
| 1554 | INTEROP_ISSUES_AP_TGT_INC := -I$(WLAN_ROOT)/components/target_if/interop_issues_ap/inc |
| 1555 | INTEROP_ISSUES_AP_DISPATCHER_INC := -I$(WLAN_ROOT)/components/interop_issues_ap/dispatcher/inc |
| 1556 | INTEROP_ISSUES_AP_CORE_INC := -I$(WLAN_ROOT)/components/interop_issues_ap/core/inc |
| 1557 | |
| 1558 | ifeq ($(CONFIG_FEATURE_INTEROP_ISSUES_AP), y) |
| 1559 | INTEROP_ISSUES_AP_OBJS := $(INTEROP_ISSUES_AP_TGT_SRC)/target_if_interop_issues_ap.o \ |
| 1560 | $(INTEROP_ISSUES_AP_CORE_SRC)/wlan_interop_issues_ap_api.o \ |
| 1561 | $(INTEROP_ISSUES_AP_OS_IF_SRC)/wlan_cfg80211_interop_issues_ap.o \ |
| 1562 | $(INTEROP_ISSUES_AP_DISPATCHER_SRC)/wlan_interop_issues_ap_tgt_api.o \ |
| 1563 | $(INTEROP_ISSUES_AP_DISPATCHER_SRC)/wlan_interop_issues_ap_ucfg_api.o |
| 1564 | endif |
| 1565 | |
Naveen Rawat | 6d2bf18 | 2017-03-22 10:18:00 -0700 | [diff] [blame] | 1566 | ######################### NAN ######################### |
Nachiket Kukade | 63bb63d | 2018-11-21 14:42:14 +0530 | [diff] [blame] | 1567 | NAN_CORE_DIR := components/nan/core/src |
| 1568 | NAN_CORE_INC := -I$(WLAN_ROOT)/components/nan/core/inc |
| 1569 | NAN_UCFG_DIR := components/nan/dispatcher/src |
| 1570 | NAN_UCFG_INC := -I$(WLAN_ROOT)/components/nan/dispatcher/inc |
| 1571 | NAN_TGT_DIR := components/target_if/nan/src |
| 1572 | NAN_TGT_INC := -I$(WLAN_ROOT)/components/target_if/nan/inc |
| 1573 | |
| 1574 | NAN_OS_IF_DIR := os_if/nan/src |
| 1575 | NAN_OS_IF_INC := -I$(WLAN_ROOT)/os_if/nan/inc |
Naveen Rawat | 6d2bf18 | 2017-03-22 10:18:00 -0700 | [diff] [blame] | 1576 | |
Nachiket Kukade | 2fb1fdb | 2019-01-08 15:35:27 +0530 | [diff] [blame] | 1577 | ifeq ($(CONFIG_QCACLD_FEATURE_NAN), y) |
Naveen Rawat | 6d2bf18 | 2017-03-22 10:18:00 -0700 | [diff] [blame] | 1578 | WLAN_NAN_OBJS := $(NAN_CORE_DIR)/nan_main.o \ |
| 1579 | $(NAN_CORE_DIR)/nan_api.o \ |
Naveen Rawat | 6d2bf18 | 2017-03-22 10:18:00 -0700 | [diff] [blame] | 1580 | $(NAN_UCFG_DIR)/nan_ucfg_api.o \ |
Manikandan Mohan | dcd0fdf | 2018-08-02 18:13:37 -0700 | [diff] [blame] | 1581 | $(NAN_UCFG_DIR)/cfg_nan.o \ |
Naveen Rawat | 6d2bf18 | 2017-03-22 10:18:00 -0700 | [diff] [blame] | 1582 | $(NAN_TGT_DIR)/target_if_nan.o \ |
| 1583 | $(NAN_OS_IF_DIR)/os_if_nan.o |
| 1584 | endif |
| 1585 | ####################################################### |
| 1586 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1587 | ############## HTC ########## |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1588 | HTC_DIR := htc |
| 1589 | HTC_INC := -I$(WLAN_COMMON_INC)/$(HTC_DIR) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1590 | |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1591 | HTC_OBJS := $(WLAN_COMMON_ROOT)/$(HTC_DIR)/htc.o \ |
| 1592 | $(WLAN_COMMON_ROOT)/$(HTC_DIR)/htc_send.o \ |
| 1593 | $(WLAN_COMMON_ROOT)/$(HTC_DIR)/htc_recv.o \ |
| 1594 | $(WLAN_COMMON_ROOT)/$(HTC_DIR)/htc_services.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1595 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1596 | ifeq ($(CONFIG_FEATURE_HTC_CREDIT_HISTORY), y) |
Rachit Kankane | b103562 | 2018-01-24 18:41:35 +0530 | [diff] [blame] | 1597 | HTC_OBJS += $(WLAN_COMMON_ROOT)/$(HTC_DIR)/htc_credit_history.o |
| 1598 | endif |
| 1599 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1600 | ########### HIF ########### |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1601 | HIF_DIR := hif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1602 | HIF_CE_DIR := $(HIF_DIR)/src/ce |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1603 | |
| 1604 | HIF_DISPATCHER_DIR := $(HIF_DIR)/src/dispatcher |
| 1605 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1606 | HIF_PCIE_DIR := $(HIF_DIR)/src/pcie |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1607 | HIF_SNOC_DIR := $(HIF_DIR)/src/snoc |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 1608 | HIF_USB_DIR := $(HIF_DIR)/src/usb |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1609 | HIF_SDIO_DIR := $(HIF_DIR)/src/sdio |
| 1610 | |
| 1611 | HIF_SDIO_NATIVE_DIR := $(HIF_SDIO_DIR)/native_sdio |
| 1612 | HIF_SDIO_NATIVE_INC_DIR := $(HIF_SDIO_NATIVE_DIR)/include |
| 1613 | HIF_SDIO_NATIVE_SRC_DIR := $(HIF_SDIO_NATIVE_DIR)/src |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1614 | |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1615 | HIF_INC := -I$(WLAN_COMMON_INC)/$(HIF_DIR)/inc \ |
tfyu | 350d9f7 | 2017-08-10 15:13:06 +0800 | [diff] [blame] | 1616 | -I$(WLAN_COMMON_INC)/$(HIF_DIR)/src |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1617 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1618 | ifeq ($(CONFIG_HIF_PCI), y) |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1619 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_DISPATCHER_DIR) |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1620 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_PCIE_DIR) |
tfyu | 350d9f7 | 2017-08-10 15:13:06 +0800 | [diff] [blame] | 1621 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_CE_DIR) |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1622 | endif |
| 1623 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1624 | ifeq ($(CONFIG_HIF_SNOC), y) |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1625 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_DISPATCHER_DIR) |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1626 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_SNOC_DIR) |
tfyu | 350d9f7 | 2017-08-10 15:13:06 +0800 | [diff] [blame] | 1627 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_CE_DIR) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1628 | endif |
| 1629 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1630 | ifeq ($(CONFIG_HIF_USB), y) |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 1631 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_DISPATCHER_DIR) |
| 1632 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_USB_DIR) |
Guisen Yang | 260fd08 | 2019-09-24 16:55:54 +0800 | [diff] [blame] | 1633 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_CE_DIR) |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 1634 | endif |
| 1635 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1636 | ifeq ($(CONFIG_HIF_SDIO), y) |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1637 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_DISPATCHER_DIR) |
| 1638 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_SDIO_DIR) |
| 1639 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_SDIO_NATIVE_INC_DIR) |
Guisen Yang | 260fd08 | 2019-09-24 16:55:54 +0800 | [diff] [blame] | 1640 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_CE_DIR) |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1641 | endif |
| 1642 | |
| 1643 | HIF_COMMON_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/ath_procfs.o \ |
Guisen Yang | 260fd08 | 2019-09-24 16:55:54 +0800 | [diff] [blame] | 1644 | $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/hif_main.o \ |
| 1645 | $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/hif_exec.o |
Nirav Shah | eb017be | 2018-02-15 11:20:58 +0530 | [diff] [blame] | 1646 | |
Nirav Shah | 3422e03 | 2018-10-12 14:48:31 +0530 | [diff] [blame] | 1647 | ifneq ($(CONFIG_LITHIUM), y) |
| 1648 | HIF_COMMON_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/hif_main_legacy.o |
| 1649 | endif |
| 1650 | |
Nirav Shah | eb017be | 2018-02-15 11:20:58 +0530 | [diff] [blame] | 1651 | ifeq ($(CONFIG_WLAN_NAPI), y) |
Nirav Shah | eb017be | 2018-02-15 11:20:58 +0530 | [diff] [blame] | 1652 | HIF_COMMON_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/hif_irq_affinity.o |
| 1653 | endif |
| 1654 | |
Qiwei Cai | a01a962 | 2018-07-11 10:02:03 +0800 | [diff] [blame] | 1655 | HIF_CE_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_CE_DIR)/ce_diag.o \ |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1656 | $(WLAN_COMMON_ROOT)/$(HIF_CE_DIR)/ce_main.o \ |
| 1657 | $(WLAN_COMMON_ROOT)/$(HIF_CE_DIR)/ce_service.o \ |
| 1658 | $(WLAN_COMMON_ROOT)/$(HIF_CE_DIR)/ce_tasklet.o \ |
Nirav Shah | ef7edb9 | 2018-07-18 11:54:13 +0530 | [diff] [blame] | 1659 | $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/mp_dev.o \ |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1660 | $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/regtable.o |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1661 | |
Qiwei Cai | a01a962 | 2018-07-11 10:02:03 +0800 | [diff] [blame] | 1662 | ifeq ($(CONFIG_WLAN_FEATURE_BMI), y) |
| 1663 | HIF_CE_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_CE_DIR)/ce_bmi.o |
| 1664 | endif |
| 1665 | |
Tushnim Bhattacharyya | a2c18de | 2018-03-27 15:00:00 -0700 | [diff] [blame] | 1666 | ifeq ($(CONFIG_LITHIUM), y) |
Venkata Sharath Chandra Manchala | 27a4296 | 2018-06-08 17:51:44 -0700 | [diff] [blame] | 1667 | ifeq ($(CONFIG_CNSS_QCA6290), y) |
| 1668 | HIF_CE_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/qca6290def.o |
Houston Hoffman | a0f9349 | 2016-11-18 13:42:12 -0800 | [diff] [blame] | 1669 | endif |
| 1670 | |
Venkata Sharath Chandra Manchala | 27a4296 | 2018-06-08 17:51:44 -0700 | [diff] [blame] | 1671 | ifeq ($(CONFIG_CNSS_QCA6390), y) |
| 1672 | HIF_CE_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/qca6390def.o |
| 1673 | endif |
| 1674 | |
Manjunathappa Prakash | 458f6fe | 2019-05-13 18:33:01 -0700 | [diff] [blame] | 1675 | ifeq ($(CONFIG_CNSS_QCA6490), y) |
| 1676 | HIF_CE_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/qca6490def.o |
| 1677 | endif |
| 1678 | |
Venkata Sharath Chandra Manchala | 27a4296 | 2018-06-08 17:51:44 -0700 | [diff] [blame] | 1679 | HIF_CE_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_CE_DIR)/ce_service_srng.o |
Nirav Shah | af1260f | 2018-09-13 23:28:13 +0530 | [diff] [blame] | 1680 | else |
| 1681 | HIF_CE_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_CE_DIR)/ce_service_legacy.o |
Venkata Sharath Chandra Manchala | 27a4296 | 2018-06-08 17:51:44 -0700 | [diff] [blame] | 1682 | endif |
Houston Hoffman | b4d4567 | 2017-04-24 11:56:50 -0700 | [diff] [blame] | 1683 | |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 1684 | HIF_USB_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_USB_DIR)/usbdrv.o \ |
| 1685 | $(WLAN_COMMON_ROOT)/$(HIF_USB_DIR)/hif_usb.o \ |
| 1686 | $(WLAN_COMMON_ROOT)/$(HIF_USB_DIR)/if_usb.o \ |
| 1687 | $(WLAN_COMMON_ROOT)/$(HIF_USB_DIR)/regtable_usb.o |
| 1688 | |
Qiwei Cai | a01a962 | 2018-07-11 10:02:03 +0800 | [diff] [blame] | 1689 | HIF_SDIO_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_diag_reg_access.o \ |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1690 | $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_sdio_dev.o \ |
| 1691 | $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_sdio.o \ |
Sriram Madhvapathi | 82ec8e3 | 2018-06-07 10:20:15 +0530 | [diff] [blame] | 1692 | $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/regtable_sdio.o \ |
| 1693 | $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/transfer/transfer.o |
Qiwei Cai | a01a962 | 2018-07-11 10:02:03 +0800 | [diff] [blame] | 1694 | |
| 1695 | ifeq ($(CONFIG_WLAN_FEATURE_BMI), y) |
| 1696 | HIF_SDIO_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_bmi_reg_access.o |
| 1697 | endif |
| 1698 | |
Sriram Madhvapathi | 82ec8e3 | 2018-06-07 10:20:15 +0530 | [diff] [blame] | 1699 | ifeq ($(CONFIG_SDIO_TRANSFER), adma) |
| 1700 | HIF_SDIO_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/transfer/adma.o |
| 1701 | else |
| 1702 | HIF_SDIO_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/transfer/mailbox.o |
| 1703 | endif |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1704 | |
| 1705 | HIF_SDIO_NATIVE_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_SDIO_NATIVE_SRC_DIR)/hif.o \ |
Sriram Madhvapathi | 82ec8e3 | 2018-06-07 10:20:15 +0530 | [diff] [blame] | 1706 | $(WLAN_COMMON_ROOT)/$(HIF_SDIO_NATIVE_SRC_DIR)/hif_scatter.o \ |
| 1707 | $(WLAN_COMMON_ROOT)/$(HIF_SDIO_NATIVE_SRC_DIR)/dev_quirks.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1708 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1709 | ifeq ($(CONFIG_WLAN_NAPI), y) |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1710 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/hif_napi.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1711 | endif |
| 1712 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1713 | ifeq ($(CONFIG_FEATURE_UNIT_TEST_SUSPEND), y) |
Dustin Brown | 0f8dc3d | 2017-06-01 14:37:26 -0700 | [diff] [blame] | 1714 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/hif_unit_test_suspend.o |
| 1715 | endif |
| 1716 | |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1717 | HIF_PCIE_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_PCIE_DIR)/if_pci.o |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1718 | HIF_SNOC_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_SNOC_DIR)/if_snoc.o |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1719 | HIF_SDIO_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/if_sdio.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1720 | |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1721 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DISPATCHER_DIR)/multibus.o |
Houston Hoffman | b61b9b1 | 2016-03-03 20:04:16 -0800 | [diff] [blame] | 1722 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DISPATCHER_DIR)/dummy.o |
Srinivas Girigowda | c7a1b0a | 2017-12-08 12:00:00 -0800 | [diff] [blame] | 1723 | HIF_OBJS += $(HIF_COMMON_OBJS) |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1724 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1725 | ifeq ($(CONFIG_HIF_PCI), y) |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1726 | HIF_OBJS += $(HIF_PCIE_OBJS) |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1727 | HIF_OBJS += $(HIF_CE_OBJS) |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1728 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DISPATCHER_DIR)/multibus_pci.o |
| 1729 | endif |
| 1730 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1731 | ifeq ($(CONFIG_HIF_SNOC), y) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1732 | HIF_OBJS += $(HIF_SNOC_OBJS) |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1733 | HIF_OBJS += $(HIF_CE_OBJS) |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1734 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DISPATCHER_DIR)/multibus_snoc.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1735 | endif |
| 1736 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1737 | ifeq ($(CONFIG_HIF_SDIO), y) |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1738 | HIF_OBJS += $(HIF_SDIO_OBJS) |
| 1739 | HIF_OBJS += $(HIF_SDIO_NATIVE_OBJS) |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1740 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DISPATCHER_DIR)/multibus_sdio.o |
| 1741 | endif |
| 1742 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1743 | ifeq ($(CONFIG_HIF_USB), y) |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 1744 | HIF_OBJS += $(HIF_USB_OBJS) |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 1745 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DISPATCHER_DIR)/multibus_usb.o |
| 1746 | endif |
| 1747 | |
Tushnim Bhattacharyya | a2c18de | 2018-03-27 15:00:00 -0700 | [diff] [blame] | 1748 | ifeq ($(CONFIG_LITHIUM), y) |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1749 | ############ HAL ############ |
| 1750 | HAL_DIR := hal |
| 1751 | HAL_INC := -I$(WLAN_COMMON_INC)/$(HAL_DIR)/inc \ |
| 1752 | -I$(WLAN_COMMON_INC)/$(HAL_DIR)/wifi3.0 |
| 1753 | |
| 1754 | HAL_OBJS := $(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/hal_srng.o \ |
Debashis Dutt | 237c614 | 2017-01-04 11:28:59 -0800 | [diff] [blame] | 1755 | $(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/hal_reo.o |
Venkata Sharath Chandra Manchala | 9220e32 | 2018-07-09 17:20:57 -0700 | [diff] [blame] | 1756 | |
| 1757 | ifeq ($(CONFIG_CNSS_QCA6290), y) |
| 1758 | HAL_INC += -I$(WLAN_COMMON_INC)/$(HAL_DIR)/wifi3.0/qca6290 |
Venkata Sharath Chandra Manchala | c06175d | 2018-08-23 15:29:56 -0700 | [diff] [blame] | 1759 | HAL_OBJS += $(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/qca6290/hal_6290.o |
Venkata Sharath Chandra Manchala | 9220e32 | 2018-07-09 17:20:57 -0700 | [diff] [blame] | 1760 | else ifeq ($(CONFIG_CNSS_QCA6390), y) |
| 1761 | HAL_INC += -I$(WLAN_COMMON_INC)/$(HAL_DIR)/wifi3.0/qca6390 |
Venkata Sharath Chandra Manchala | c06175d | 2018-08-23 15:29:56 -0700 | [diff] [blame] | 1762 | HAL_OBJS += $(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/qca6390/hal_6390.o |
Manjunathappa Prakash | 458f6fe | 2019-05-13 18:33:01 -0700 | [diff] [blame] | 1763 | else ifeq ($(CONFIG_CNSS_QCA6490), y) |
| 1764 | HAL_INC += -I$(WLAN_COMMON_INC)/$(HAL_DIR)/wifi3.0/qca6490 |
| 1765 | HAL_OBJS += $(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/qca6490/hal_6490.o |
Venkata Sharath Chandra Manchala | 9220e32 | 2018-07-09 17:20:57 -0700 | [diff] [blame] | 1766 | else |
| 1767 | #error "Not 11ax" |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1768 | endif |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1769 | |
Venkata Sharath Chandra Manchala | 9220e32 | 2018-07-09 17:20:57 -0700 | [diff] [blame] | 1770 | endif #####CONFIG_LITHIUM#### |
| 1771 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1772 | ############ WMA ############ |
| 1773 | WMA_DIR := core/wma |
| 1774 | |
| 1775 | WMA_INC_DIR := $(WMA_DIR)/inc |
| 1776 | WMA_SRC_DIR := $(WMA_DIR)/src |
| 1777 | |
| 1778 | WMA_INC := -I$(WLAN_ROOT)/$(WMA_INC_DIR) \ |
| 1779 | -I$(WLAN_ROOT)/$(WMA_SRC_DIR) |
| 1780 | |
Nachiket Kukade | 2fb1fdb | 2019-01-08 15:35:27 +0530 | [diff] [blame] | 1781 | ifeq ($(CONFIG_QCACLD_FEATURE_NAN), y) |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 1782 | WMA_NDP_OBJS += $(WMA_SRC_DIR)/wma_nan_datapath.o |
| 1783 | endif |
| 1784 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1785 | WMA_OBJS := $(WMA_SRC_DIR)/wma_main.o \ |
| 1786 | $(WMA_SRC_DIR)/wma_scan_roam.o \ |
| 1787 | $(WMA_SRC_DIR)/wma_dev_if.o \ |
| 1788 | $(WMA_SRC_DIR)/wma_mgmt.o \ |
| 1789 | $(WMA_SRC_DIR)/wma_power.o \ |
| 1790 | $(WMA_SRC_DIR)/wma_data.o \ |
| 1791 | $(WMA_SRC_DIR)/wma_utils.o \ |
| 1792 | $(WMA_SRC_DIR)/wma_features.o \ |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 1793 | $(WMA_SRC_DIR)/wlan_qct_wma_legacy.o\ |
| 1794 | $(WMA_NDP_OBJS) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1795 | |
Wu Gao | 10300f9 | 2019-05-28 19:08:06 +0800 | [diff] [blame] | 1796 | #######DIRECT_BUFFER_RX######### |
| 1797 | ifeq ($(CONFIG_DIRECT_BUF_RX_ENABLE), y) |
| 1798 | DBR_DIR = $(WLAN_COMMON_ROOT)/target_if/direct_buf_rx |
| 1799 | UMAC_DBR_INC := -I$(WLAN_COMMON_INC)/target_if/direct_buf_tx/inc |
| 1800 | UMAC_DBR_OBJS := $(DBR_DIR)/src/target_if_direct_buf_rx_api.o \ |
| 1801 | $(DBR_DIR)/src/target_if_direct_buf_rx_main.o \ |
| 1802 | $(WLAN_COMMON_ROOT)/wmi/src/wmi_unified_dbr_api.o \ |
| 1803 | $(WLAN_COMMON_ROOT)/wmi/src/wmi_unified_dbr_tlv.o |
| 1804 | endif |
| 1805 | |
Agrawal Ashish | b141b09 | 2016-09-02 19:59:26 +0530 | [diff] [blame] | 1806 | ifeq ($(CONFIG_WLAN_FEATURE_DSRC), y) |
Jeff Johnson | b90ab57 | 2017-01-31 15:57:35 -0800 | [diff] [blame] | 1807 | WMA_OBJS+= $(WMA_SRC_DIR)/wma_ocb.o |
Agrawal Ashish | b141b09 | 2016-09-02 19:59:26 +0530 | [diff] [blame] | 1808 | endif |
Jeff Johnson | 6136fb9 | 2017-03-30 15:21:49 -0700 | [diff] [blame] | 1809 | ifeq ($(CONFIG_WLAN_FEATURE_FIPS), y) |
| 1810 | WMA_OBJS+= $(WMA_SRC_DIR)/wma_fips_api.o |
| 1811 | endif |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1812 | ifeq ($(CONFIG_MPC_UT_FRAMEWORK), y) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1813 | WMA_OBJS += $(WMA_SRC_DIR)/wma_utils_ut.o |
| 1814 | endif |
Krishna Kumaar Natarajan | d0bbb3c | 2017-03-13 17:04:58 -0700 | [diff] [blame] | 1815 | ifeq ($(CONFIG_WLAN_FEATURE_11AX), y) |
| 1816 | WMA_OBJS+= $(WMA_SRC_DIR)/wma_he.o |
| 1817 | endif |
Varun Reddy Yeturu | d33033f | 2018-06-11 10:58:30 -0700 | [diff] [blame] | 1818 | ifeq ($(CONFIG_WLAN_FEATURE_TWT), y) |
| 1819 | WMA_OBJS += $(WMA_SRC_DIR)/wma_twt.o |
| 1820 | endif |
Qun Zhang | ef65562 | 2019-02-25 10:48:10 +0800 | [diff] [blame] | 1821 | ifeq ($(CONFIG_QCACLD_FEATURE_FW_STATE), y) |
| 1822 | WMA_OBJS += $(WMA_SRC_DIR)/wma_fw_state.o |
| 1823 | endif |
Arun Kumar Khandavalli | deda5a8 | 2019-03-11 15:32:19 +0530 | [diff] [blame] | 1824 | ifeq ($(CONFIG_WLAN_MWS_INFO_DEBUGFS), y) |
| 1825 | WMA_OBJS += $(WMA_SRC_DIR)/wma_coex.o |
| 1826 | endif |
Yuanyuan Liu | d9f7a36 | 2016-01-22 14:27:12 -0800 | [diff] [blame] | 1827 | ############## PLD ########## |
| 1828 | PLD_DIR := core/pld |
| 1829 | PLD_INC_DIR := $(PLD_DIR)/inc |
| 1830 | PLD_SRC_DIR := $(PLD_DIR)/src |
| 1831 | |
| 1832 | PLD_INC := -I$(WLAN_ROOT)/$(PLD_INC_DIR) \ |
| 1833 | -I$(WLAN_ROOT)/$(PLD_SRC_DIR) |
| 1834 | |
| 1835 | PLD_OBJS := $(PLD_SRC_DIR)/pld_common.o |
| 1836 | |
Naman Padhiar | c52e7fd | 2019-06-23 01:21:42 +0530 | [diff] [blame] | 1837 | ifeq ($(CONFIG_PCIE_FW_SIM), y) |
| 1838 | PLD_OBJS += $(PLD_SRC_DIR)/pld_pcie_fw_sim.o |
| 1839 | else ifeq ($(CONFIG_HIF_PCI), y) |
| 1840 | PLD_OBJS += $(PLD_SRC_DIR)/pld_pcie.o |
Yuanyuan Liu | d9f7a36 | 2016-01-22 14:27:12 -0800 | [diff] [blame] | 1841 | endif |
Naman Padhiar | c52e7fd | 2019-06-23 01:21:42 +0530 | [diff] [blame] | 1842 | ifeq ($(CONFIG_SNOC_FW_SIM),y) |
| 1843 | PLD_OBJS += $(PLD_SRC_DIR)/pld_snoc_fw_sim.o |
| 1844 | else ifeq ($(CONFIG_ICNSS),y) |
| 1845 | PLD_OBJS += $(PLD_SRC_DIR)/pld_snoc.o |
Yuanyuan Liu | d9f7a36 | 2016-01-22 14:27:12 -0800 | [diff] [blame] | 1846 | endif |
Naman Padhiar | c52e7fd | 2019-06-23 01:21:42 +0530 | [diff] [blame] | 1847 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1848 | ifeq ($(CONFIG_QCA_WIFI_SDIO), y) |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1849 | PLD_OBJS += $(PLD_SRC_DIR)/pld_sdio.o |
| 1850 | endif |
Ajit Pal Singh | 6c6e81c | 2018-06-13 15:26:37 +0530 | [diff] [blame] | 1851 | ifeq ($(CONFIG_HIF_USB), y) |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 1852 | PLD_OBJS += $(PLD_SRC_DIR)/pld_usb.o |
| 1853 | endif |
Yuanyuan Liu | d9f7a36 | 2016-01-22 14:27:12 -0800 | [diff] [blame] | 1854 | |
Yu Wang | 6c4599c | 2018-10-09 10:18:14 +0800 | [diff] [blame] | 1855 | TARGET_INC := -I$(WLAN_FW_API)/fw |
Venkata Sharath Chandra Manchala | 36199cb | 2018-07-18 12:27:54 -0700 | [diff] [blame] | 1856 | |
| 1857 | ifeq ($(CONFIG_CNSS_QCA6290), y) |
psimha | 0b6bb89 | 2017-10-10 14:28:34 -0700 | [diff] [blame] | 1858 | ifeq ($(CONFIG_QCA6290_11AX), y) |
Yu Wang | 6c4599c | 2018-10-09 10:18:14 +0800 | [diff] [blame] | 1859 | TARGET_INC += -I$(WLAN_FW_API)/hw/qca6290/11ax/v2 |
psimha | 0b6bb89 | 2017-10-10 14:28:34 -0700 | [diff] [blame] | 1860 | else |
Yu Wang | 6c4599c | 2018-10-09 10:18:14 +0800 | [diff] [blame] | 1861 | TARGET_INC += -I$(WLAN_FW_API)/hw/qca6290/v2 |
Venkata Sharath Chandra Manchala | 36199cb | 2018-07-18 12:27:54 -0700 | [diff] [blame] | 1862 | endif |
| 1863 | endif |
| 1864 | |
| 1865 | ifeq ($(CONFIG_CNSS_QCA6390), y) |
Yu Wang | 6c4599c | 2018-10-09 10:18:14 +0800 | [diff] [blame] | 1866 | TARGET_INC += -I$(WLAN_FW_API)/hw/qca6390/v1 |
psimha | 0b6bb89 | 2017-10-10 14:28:34 -0700 | [diff] [blame] | 1867 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1868 | |
Manjunathappa Prakash | 458f6fe | 2019-05-13 18:33:01 -0700 | [diff] [blame] | 1869 | ifeq ($(CONFIG_CNSS_QCA6490), y) |
| 1870 | TARGET_INC += -I$(WLAN_FW_API)/hw/qca6490/v1 |
| 1871 | endif |
| 1872 | |
Dustin Brown | 0bec9a9 | 2017-08-17 15:44:34 -0700 | [diff] [blame] | 1873 | LINUX_INC := -Iinclude |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1874 | |
| 1875 | INCS := $(HDD_INC) \ |
Dustin Brown | a17cace | 2019-02-01 14:53:47 -0800 | [diff] [blame] | 1876 | $(SYNC_INC) \ |
Dustin Brown | 6099ddc | 2018-07-06 14:32:53 -0700 | [diff] [blame] | 1877 | $(DSC_INC) \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1878 | $(EPPING_INC) \ |
| 1879 | $(LINUX_INC) \ |
| 1880 | $(MAC_INC) \ |
| 1881 | $(SAP_INC) \ |
| 1882 | $(SME_INC) \ |
| 1883 | $(SYS_INC) \ |
Ashish Kumar Dhanotiya | 9c331b9 | 2018-08-09 20:25:02 +0530 | [diff] [blame] | 1884 | $(QAL_INC) \ |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1885 | $(QDF_INC) \ |
Rakshith Suresh Patkar | d9f4e61 | 2018-09-12 12:10:38 +0530 | [diff] [blame] | 1886 | $(WBUFF_INC) \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1887 | $(CDS_INC) \ |
Dustin Brown | 84f46ea | 2018-02-15 11:57:36 -0800 | [diff] [blame] | 1888 | $(CFG_INC) \ |
Mukul Sharma | c3e7a78 | 2017-02-03 12:16:11 +0530 | [diff] [blame] | 1889 | $(DFS_INC) \ |
Mukul Sharma | dad267e | 2017-02-04 13:25:34 +0530 | [diff] [blame] | 1890 | $(TARGET_IF_INC) \ |
Mukul Sharma | d75a667 | 2017-06-22 15:40:53 +0530 | [diff] [blame] | 1891 | $(CLD_TARGET_IF_INC) \ |
Sandeep Puligilla | fdd201e | 2017-02-02 18:43:46 -0800 | [diff] [blame] | 1892 | $(OS_IF_INC) \ |
Ryan Hsu | c8b27a4 | 2018-01-02 13:57:56 -0800 | [diff] [blame] | 1893 | $(GLOBAL_LMAC_IF_INC) \ |
| 1894 | $(FTM_INC) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1895 | |
| 1896 | INCS += $(WMA_INC) \ |
| 1897 | $(UAPI_INC) \ |
| 1898 | $(COMMON_INC) \ |
| 1899 | $(WMI_INC) \ |
| 1900 | $(FWLOG_INC) \ |
| 1901 | $(TXRX_INC) \ |
| 1902 | $(OL_INC) \ |
Dhanashri Atre | 12a0839 | 2016-02-17 13:10:34 -0800 | [diff] [blame] | 1903 | $(CDP_INC) \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1904 | $(PKTLOG_INC) \ |
| 1905 | $(HTT_INC) \ |
Rajeev Kumar | 97767a0 | 2016-11-30 11:20:40 -0800 | [diff] [blame] | 1906 | $(INIT_DEINIT_INC) \ |
Rajeev Kumar | ebb0a73 | 2016-12-24 19:05:44 -0800 | [diff] [blame] | 1907 | $(SCHEDULER_INC) \ |
Kiran Kumar Lokere | 3fbafbc | 2017-01-10 12:57:52 -0800 | [diff] [blame] | 1908 | $(REGULATORY_INC) \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1909 | $(HTC_INC) \ |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1910 | $(DFS_INC) \ |
Mohit Khanna | 7032200 | 2018-05-15 19:21:32 -0700 | [diff] [blame] | 1911 | $(WCFG_INC) \ |
| 1912 | $(TXRX3.0_INC) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1913 | |
| 1914 | INCS += $(HIF_INC) \ |
Ashish Kumar Dhanotiya | 94ffbd1 | 2019-08-08 18:00:59 +0530 | [diff] [blame] | 1915 | $(BMI_INC) \ |
| 1916 | $(CMN_SYS_INC) |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1917 | |
Tushnim Bhattacharyya | a2c18de | 2018-03-27 15:00:00 -0700 | [diff] [blame] | 1918 | ifeq ($(CONFIG_LITHIUM), y) |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1919 | INCS += $(HAL_INC) \ |
| 1920 | $(DP_INC) |
| 1921 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1922 | |
Naveen Rawat | 4e2c256 | 2017-03-06 10:47:02 -0800 | [diff] [blame] | 1923 | ################ WIFI POS ################ |
| 1924 | INCS += $(WIFI_POS_API_INC) |
| 1925 | INCS += $(WIFI_POS_TGT_INC) |
| 1926 | INCS += $(WIFI_POS_OS_IF_INC) |
Naveen Rawat | 73e1ca9 | 2018-01-12 15:26:14 -0800 | [diff] [blame] | 1927 | ################ CP STATS ################ |
| 1928 | INCS += $(CP_STATS_OS_IF_INC) |
| 1929 | INCS += $(CP_STATS_TGT_INC) |
| 1930 | INCS += $(CP_STATS_DISPATCHER_INC) |
hqu | ff302a9 | 2019-07-18 00:06:11 +0800 | [diff] [blame] | 1931 | INCS += $(COMP_CP_STATS_DISPATCHER_INC) |
Paul Zhang | 3718567 | 2019-05-14 11:20:14 +0800 | [diff] [blame] | 1932 | ################ INTEROP ISSUES AP ################ |
| 1933 | INCS += $(INTEROP_ISSUES_AP_OS_IF_INC) |
| 1934 | INCS += $(INTEROP_ISSUES_AP_TGT_INC) |
| 1935 | INCS += $(INTEROP_ISSUES_AP_DISPATCHER_INC) |
| 1936 | INCS += $(INTEROP_ISSUES_AP_CORE_INC) |
Naveen Rawat | 6d2bf18 | 2017-03-22 10:18:00 -0700 | [diff] [blame] | 1937 | ################ NAN POS ################ |
| 1938 | INCS += $(NAN_CORE_INC) |
| 1939 | INCS += $(NAN_UCFG_INC) |
| 1940 | INCS += $(NAN_TGT_INC) |
| 1941 | INCS += $(NAN_OS_IF_INC) |
| 1942 | ########################################## |
Selvaraj, Sridhar | 0672a12 | 2016-12-29 16:11:48 +0530 | [diff] [blame] | 1943 | INCS += $(UMAC_OBJMGR_INC) |
Himanshu Agarwal | 2fdf77a | 2016-12-29 11:41:00 +0530 | [diff] [blame] | 1944 | INCS += $(UMAC_MGMT_TXRX_INC) |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 1945 | INCS += $(PMO_INC) |
Wu Gao | 637d58a | 2018-12-08 10:37:34 +0800 | [diff] [blame] | 1946 | INCS += $(P2P_INC) |
Wu Gao | d6b5e40 | 2018-12-03 22:09:24 +0800 | [diff] [blame] | 1947 | INCS += $(POLICY_MGR_INC) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1948 | INCS += $(TARGET_INC) |
Wu Gao | 5f79340 | 2018-12-08 11:04:00 +0800 | [diff] [blame] | 1949 | INCS += $(TDLS_INC) |
Varun Reddy Yeturu | 269eca1 | 2017-01-03 06:32:07 -0800 | [diff] [blame] | 1950 | INCS += $(UMAC_SER_INC) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1951 | INCS += $(NLINK_INC) \ |
| 1952 | $(PTT_INC) \ |
| 1953 | $(WLAN_LOGGING_INC) |
| 1954 | |
Yuanyuan Liu | d9f7a36 | 2016-01-22 14:27:12 -0800 | [diff] [blame] | 1955 | INCS += $(PLD_INC) |
Zhang Qian | 47e22ce | 2018-01-04 15:38:38 +0800 | [diff] [blame] | 1956 | INCS += $(OCB_INC) |
Yuanyuan Liu | d9f7a36 | 2016-01-22 14:27:12 -0800 | [diff] [blame] | 1957 | |
Sravan Kumar Kairam | 4af61cf | 2018-02-22 17:53:44 +0530 | [diff] [blame] | 1958 | INCS += $(IPA_INC) |
Abhishek Singh | ed19748 | 2018-09-05 13:22:02 +0530 | [diff] [blame] | 1959 | INCS += $(UMAC_SM_INC) |
| 1960 | INCS += $(UMAC_MLME_INC) |
Sandeep Puligilla | c5609d5 | 2018-05-17 19:23:41 -0700 | [diff] [blame] | 1961 | INCS += $(MLME_INC) |
Sourav Mohapatra | 113685f | 2018-08-29 14:21:55 +0530 | [diff] [blame] | 1962 | INCS += $(FWOL_INC) |
gaurank kathpalia | 3ebc17b | 2019-05-29 10:25:09 +0530 | [diff] [blame] | 1963 | INCS += $(BLM_INC) |
Sravan Kumar Kairam | 4af61cf | 2018-02-22 17:53:44 +0530 | [diff] [blame] | 1964 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 1965 | ifeq ($(CONFIG_REMOVE_PKT_LOG), n) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1966 | INCS += $(PKTLOG_INC) |
| 1967 | endif |
| 1968 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1969 | INCS += $(HOST_DIAG_LOG_INC) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1970 | |
Nachiket Kukade | 98f562a | 2017-12-15 12:18:07 +0530 | [diff] [blame] | 1971 | INCS += $(DISA_INC) |
Rajeev Kumar Sirasanagandla | 4725ae4 | 2018-05-24 22:33:34 +0530 | [diff] [blame] | 1972 | INCS += $(ACTION_OUI_INC) |
Nachiket Kukade | 98f562a | 2017-12-15 12:18:07 +0530 | [diff] [blame] | 1973 | |
Frank Liu | 65b17d9 | 2016-11-23 15:58:44 +0800 | [diff] [blame] | 1974 | INCS += $(UMAC_DISP_INC) |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 1975 | INCS += $(UMAC_SCAN_INC) |
Abhishek Singh | 8dfbd69 | 2017-02-21 11:11:10 +0530 | [diff] [blame] | 1976 | INCS += $(UMAC_TARGET_SCAN_INC) |
Himanshu Agarwal | b229a14 | 2017-12-21 10:16:45 +0530 | [diff] [blame] | 1977 | INCS += $(UMAC_GREEN_AP_INC) |
| 1978 | INCS += $(UMAC_TARGET_GREEN_AP_INC) |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 1979 | INCS += $(UMAC_COMMON_INC) |
Sandeep Puligilla | 342d2a6 | 2017-12-12 15:40:00 -0800 | [diff] [blame] | 1980 | INCS += $(UMAC_SPECTRAL_INC) |
| 1981 | INCS += $(UMAC_TARGET_SPECTRAL_INC) |
Wu Gao | 10300f9 | 2019-05-28 19:08:06 +0800 | [diff] [blame] | 1982 | INCS += $(UMAC_DBR_INC) |
Varun Reddy Yeturu | 29044cd | 2018-06-28 14:03:10 -0700 | [diff] [blame] | 1983 | INCS += $(UMAC_CRYPTO_INC) |
Frank Liu | 65b17d9 | 2016-11-23 15:58:44 +0800 | [diff] [blame] | 1984 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1985 | OBJS := $(HDD_OBJS) \ |
Dustin Brown | a17cace | 2019-02-01 14:53:47 -0800 | [diff] [blame] | 1986 | $(SYNC_OBJS) \ |
Dustin Brown | 6099ddc | 2018-07-06 14:32:53 -0700 | [diff] [blame] | 1987 | $(DSC_OBJS) \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1988 | $(MAC_OBJS) \ |
| 1989 | $(SAP_OBJS) \ |
| 1990 | $(SME_OBJS) \ |
| 1991 | $(SYS_OBJS) \ |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1992 | $(QDF_OBJS) \ |
Rakshith Suresh Patkar | d9f4e61 | 2018-09-12 12:10:38 +0530 | [diff] [blame] | 1993 | $(WBUFF_OBJS) \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1994 | $(CDS_OBJS) \ |
Dustin Brown | 84f46ea | 2018-02-15 11:57:36 -0800 | [diff] [blame] | 1995 | $(CFG_OBJS) \ |
Ryan Hsu | c8b27a4 | 2018-01-02 13:57:56 -0800 | [diff] [blame] | 1996 | $(FTM_OBJS) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1997 | |
| 1998 | OBJS += $(WMA_OBJS) \ |
| 1999 | $(TXRX_OBJS) \ |
| 2000 | $(WMI_OBJS) \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2001 | $(HTC_OBJS) \ |
Rajeev Kumar | 97767a0 | 2016-11-30 11:20:40 -0800 | [diff] [blame] | 2002 | $(INIT_DEINIT_OBJS) \ |
Rajeev Kumar | ebb0a73 | 2016-12-24 19:05:44 -0800 | [diff] [blame] | 2003 | $(SCHEDULER_OBJS) \ |
Wen Gong | 01a2c63 | 2018-04-11 18:34:55 +0800 | [diff] [blame] | 2004 | $(REGULATORY_OBJS) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2005 | |
| 2006 | OBJS += $(HIF_OBJS) \ |
| 2007 | $(BMI_OBJS) \ |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 2008 | $(OS_IF_OBJ) \ |
Mukul Sharma | dad267e | 2017-02-04 13:25:34 +0530 | [diff] [blame] | 2009 | $(TARGET_IF_OBJ) \ |
Mukul Sharma | d75a667 | 2017-06-22 15:40:53 +0530 | [diff] [blame] | 2010 | $(CLD_TARGET_IF_OBJ) \ |
Mukul Sharma | dad267e | 2017-02-04 13:25:34 +0530 | [diff] [blame] | 2011 | $(GLOBAL_LMAC_IF_OBJ) |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 2012 | |
Saket Jha | 9953150 | 2019-08-21 15:00:49 -0700 | [diff] [blame] | 2013 | ifneq ($(CONFIG_LITHIUM), y) |
| 2014 | OBJS += $(HTT_OBJS) |
| 2015 | endif |
| 2016 | |
Tushnim Bhattacharyya | a2c18de | 2018-03-27 15:00:00 -0700 | [diff] [blame] | 2017 | ifeq ($(CONFIG_LITHIUM), y) |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 2018 | OBJS += $(HAL_OBJS) |
Saket Jha | 9953150 | 2019-08-21 15:00:49 -0700 | [diff] [blame] | 2019 | OBJS += $(TXRX_DIR)/ol_txrx_event.o |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 2020 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2021 | |
Wen Gong | 9976890 | 2018-04-25 12:07:49 +0800 | [diff] [blame] | 2022 | ifeq ($(CONFIG_FEATURE_FW_LOG_PARSING), y) |
| 2023 | OBJS += $(FWLOG_OBJS) |
| 2024 | endif |
| 2025 | |
Nirav Shah | 459bebf | 2018-01-17 16:59:14 +0530 | [diff] [blame] | 2026 | ifeq ($(CONFIG_FEATURE_EPPING), y) |
| 2027 | OBJS += $(EPPING_OBJS) |
| 2028 | endif |
| 2029 | |
Wen Gong | 01a2c63 | 2018-04-11 18:34:55 +0800 | [diff] [blame] | 2030 | ifeq ($(CONFIG_WLAN_DFS_MASTER_ENABLE), y) |
| 2031 | OBJS += $(DFS_OBJS) |
| 2032 | endif |
Nirav Shah | 459bebf | 2018-01-17 16:59:14 +0530 | [diff] [blame] | 2033 | |
Selvaraj, Sridhar | 0672a12 | 2016-12-29 16:11:48 +0530 | [diff] [blame] | 2034 | OBJS += $(UMAC_OBJMGR_OBJS) |
Naveen Rawat | 4e2c256 | 2017-03-06 10:47:02 -0800 | [diff] [blame] | 2035 | OBJS += $(WIFI_POS_OBJS) |
Naveen Rawat | 96a77d3 | 2018-01-12 15:26:14 -0800 | [diff] [blame] | 2036 | OBJS += $(CP_STATS_OBJS) |
Paul Zhang | 3718567 | 2019-05-14 11:20:14 +0800 | [diff] [blame] | 2037 | OBJS += $(INTEROP_ISSUES_AP_OBJS) |
Naveen Rawat | 6d2bf18 | 2017-03-22 10:18:00 -0700 | [diff] [blame] | 2038 | OBJS += $(WLAN_NAN_OBJS) |
Himanshu Agarwal | 2fdf77a | 2016-12-29 11:41:00 +0530 | [diff] [blame] | 2039 | OBJS += $(UMAC_MGMT_TXRX_OBJS) |
Wu Gao | 5f79340 | 2018-12-08 11:04:00 +0800 | [diff] [blame] | 2040 | OBJS += $(TDLS_OBJS) |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 2041 | OBJS += $(PMO_OBJS) |
Wu Gao | 637d58a | 2018-12-08 10:37:34 +0800 | [diff] [blame] | 2042 | OBJS += $(P2P_OBJS) |
Wu Gao | d6b5e40 | 2018-12-03 22:09:24 +0800 | [diff] [blame] | 2043 | OBJS += $(POLICY_MGR_OBJS) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2044 | OBJS += $(WLAN_LOGGING_OBJS) |
| 2045 | OBJS += $(NLINK_OBJS) |
| 2046 | OBJS += $(PTT_OBJS) |
Varun Reddy Yeturu | 269eca1 | 2017-01-03 06:32:07 -0800 | [diff] [blame] | 2047 | OBJS += $(UMAC_SER_OBJS) |
Yuanyuan Liu | d9f7a36 | 2016-01-22 14:27:12 -0800 | [diff] [blame] | 2048 | OBJS += $(PLD_OBJS) |
Abhishek Singh | ed19748 | 2018-09-05 13:22:02 +0530 | [diff] [blame] | 2049 | OBJS += $(UMAC_SM_OBJS) |
| 2050 | OBJS += $(UMAC_MLME_OBJS) |
Sandeep Puligilla | c5609d5 | 2018-05-17 19:23:41 -0700 | [diff] [blame] | 2051 | OBJS += $(MLME_OBJS) |
Paul Zhang | c9dbaee | 2019-06-23 22:07:31 +0800 | [diff] [blame] | 2052 | ifeq ($(CONFIG_WLAN_FW_OFFLOAD), y) |
Sourav Mohapatra | 113685f | 2018-08-29 14:21:55 +0530 | [diff] [blame] | 2053 | OBJS += $(FWOL_OBJS) |
Paul Zhang | c9dbaee | 2019-06-23 22:07:31 +0800 | [diff] [blame] | 2054 | endif |
gaurank kathpalia | 3ebc17b | 2019-05-29 10:25:09 +0530 | [diff] [blame] | 2055 | OBJS += $(BLM_OBJS) |
Yuanyuan Liu | d9f7a36 | 2016-01-22 14:27:12 -0800 | [diff] [blame] | 2056 | |
Zhang Qian | 47e22ce | 2018-01-04 15:38:38 +0800 | [diff] [blame] | 2057 | ifeq ($(CONFIG_WLAN_FEATURE_DSRC), y) |
| 2058 | OBJS += $(OCB_OBJS) |
| 2059 | endif |
| 2060 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2061 | ifeq ($(CONFIG_IPA_OFFLOAD), y) |
Sravan Kumar Kairam | 4af61cf | 2018-02-22 17:53:44 +0530 | [diff] [blame] | 2062 | OBJS += $(IPA_OBJS) |
| 2063 | endif |
| 2064 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2065 | ifeq ($(CONFIG_REMOVE_PKT_LOG), n) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2066 | OBJS += $(PKTLOG_OBJS) |
| 2067 | endif |
| 2068 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2069 | ifeq ($(BUILD_DIAG_VERSION), y) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2070 | OBJS += $(HOST_DIAG_LOG_OBJS) |
| 2071 | endif |
| 2072 | |
Nachiket Kukade | 98f562a | 2017-12-15 12:18:07 +0530 | [diff] [blame] | 2073 | ifeq ($(CONFIG_WLAN_FEATURE_DISA), y) |
| 2074 | OBJS += $(DISA_OBJS) |
| 2075 | endif |
| 2076 | |
Rajeev Kumar Sirasanagandla | 4725ae4 | 2018-05-24 22:33:34 +0530 | [diff] [blame] | 2077 | ifeq ($(CONFIG_WLAN_FEATURE_ACTION_OUI), y) |
| 2078 | OBJS += $(ACTION_OUI_OBJS) |
| 2079 | endif |
| 2080 | |
Frank Liu | 65b17d9 | 2016-11-23 15:58:44 +0800 | [diff] [blame] | 2081 | OBJS += $(UMAC_DISP_OBJS) |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 2082 | OBJS += $(UMAC_SCAN_OBJS) |
Abhishek Singh | 8dfbd69 | 2017-02-21 11:11:10 +0530 | [diff] [blame] | 2083 | OBJS += $(UMAC_COMMON_OBJS) |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 2084 | OBJS += $(WCFG_OBJS) |
Sandeep Puligilla | 8e89d57 | 2018-04-02 18:07:45 -0700 | [diff] [blame] | 2085 | |
Sandeep Puligilla | 342d2a6 | 2017-12-12 15:40:00 -0800 | [diff] [blame] | 2086 | OBJS += $(UMAC_SPECTRAL_OBJS) |
Wu Gao | 10300f9 | 2019-05-28 19:08:06 +0800 | [diff] [blame] | 2087 | OBJS += $(UMAC_DBR_OBJS) |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 2088 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2089 | ifeq ($(CONFIG_QCACLD_FEATURE_GREEN_AP), y) |
Himanshu Agarwal | b229a14 | 2017-12-21 10:16:45 +0530 | [diff] [blame] | 2090 | OBJS += $(UMAC_GREEN_AP_OBJS) |
| 2091 | endif |
| 2092 | |
Varun Reddy Yeturu | 29044cd | 2018-06-28 14:03:10 -0700 | [diff] [blame] | 2093 | ifeq ($(CONFIG_CRYPTO_COMPONENT), y) |
| 2094 | OBJS += $(UMAC_CRYPTO_OBJS) |
| 2095 | endif |
| 2096 | |
Tushnim Bhattacharyya | a2c18de | 2018-03-27 15:00:00 -0700 | [diff] [blame] | 2097 | ifeq ($(CONFIG_LITHIUM), y) |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 2098 | OBJS += $(DP_OBJS) |
| 2099 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2100 | |
Mohit Khanna | 7032200 | 2018-05-15 19:21:32 -0700 | [diff] [blame] | 2101 | ifeq ($(CONFIG_WLAN_FEATURE_DP_RX_THREADS), y) |
| 2102 | OBJS += $(TXRX3.0_OBJS) |
| 2103 | endif |
| 2104 | |
Jeff Johnson | 3a7a9c6 | 2018-04-07 18:30:05 -0700 | [diff] [blame] | 2105 | ccflags-y += $(INCS) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2106 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2107 | cppflags-y += -DANI_OS_TYPE_ANDROID=6 \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2108 | -Wall\ |
| 2109 | -Werror\ |
Jeff Johnson | a63a9b6 | 2018-04-12 15:30:45 -0700 | [diff] [blame] | 2110 | -D__linux__ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2111 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2112 | cppflags-$(CONFIG_PTT_SOCK_SVC_ENABLE) += -DPTT_SOCK_SVC_ENABLE |
| 2113 | cppflags-$(CONFIG_FEATURE_WLAN_WAPI) += -DFEATURE_WLAN_WAPI |
| 2114 | cppflags-$(CONFIG_FEATURE_WLAN_WAPI) += -DATH_SUPPORT_WAPI |
| 2115 | cppflags-$(CONFIG_AGEIE_ON_SCAN_RESULTS) += -DWLAN_ENABLE_AGEIE_ON_SCAN_RESULTS |
| 2116 | cppflags-$(CONFIG_SOFTAP_CHANNEL_RANGE) += -DSOFTAP_CHANNEL_RANGE |
| 2117 | cppflags-$(CONFIG_FEATURE_WLAN_SCAN_PNO) += -DFEATURE_WLAN_SCAN_PNO |
| 2118 | cppflags-$(CONFIG_WLAN_FEATURE_PACKET_FILTERING) += -DWLAN_FEATURE_PACKET_FILTERING |
Jeff Johnson | e77641e | 2019-02-15 09:00:41 -0800 | [diff] [blame] | 2119 | cppflags-$(CONFIG_DHCP_SERVER_OFFLOAD) += -DDHCP_SERVER_OFFLOAD |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2120 | cppflags-$(CONFIG_WLAN_NS_OFFLOAD) += -DWLAN_NS_OFFLOAD |
| 2121 | cppflags-$(CONFIG_FEATURE_WLAN_RA_FILTERING) += -DFEATURE_WLAN_RA_FILTERING |
| 2122 | cppflags-$(CONFIG_FEATURE_WLAN_LPHB) += -DFEATURE_WLAN_LPHB |
| 2123 | cppflags-$(CONFIG_QCA_SUPPORT_TX_THROTTLE) += -DQCA_SUPPORT_TX_THROTTLE |
| 2124 | cppflags-$(CONFIG_WMI_INTERFACE_EVENT_LOGGING) += -DWMI_INTERFACE_EVENT_LOGGING |
| 2125 | cppflags-$(CONFIG_WLAN_FEATURE_LINK_LAYER_STATS) += -DWLAN_FEATURE_LINK_LAYER_STATS |
tinlin | 9abd17f | 2019-08-14 13:29:44 +0800 | [diff] [blame] | 2126 | cppflags-$(CONFIG_WLAN_FEATURE_MIB_STATS) += -DWLAN_FEATURE_MIB_STATS |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2127 | cppflags-$(CONFIG_FEATURE_WLAN_EXTSCAN) += -DFEATURE_WLAN_EXTSCAN |
| 2128 | cppflags-$(CONFIG_160MHZ_SUPPORT) += -DCONFIG_160MHZ_SUPPORT |
| 2129 | cppflags-$(CONFIG_MCL) += -DCONFIG_MCL |
bings | 2f0f9f0 | 2019-03-08 10:59:15 +0800 | [diff] [blame] | 2130 | cppflags-$(CONFIG_REG_CLIENT) += -DCONFIG_REG_CLIENT |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2131 | cppflags-$(CONFIG_WLAN_PMO_ENABLE) += -DWLAN_PMO_ENABLE |
| 2132 | cppflags-$(CONFIG_CONVERGED_P2P_ENABLE) += -DCONVERGED_P2P_ENABLE |
| 2133 | cppflags-$(CONFIG_WLAN_POLICY_MGR_ENABLE) += -DWLAN_POLICY_MGR_ENABLE |
gaurank kathpalia | 3ebc17b | 2019-05-29 10:25:09 +0530 | [diff] [blame] | 2134 | cppflags-$(CONFIG_FEATURE_BLACKLIST_MGR) += -DFEATURE_BLACKLIST_MGR |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2135 | cppflags-$(CONFIG_SUPPORT_11AX) += -DSUPPORT_11AX |
| 2136 | cppflags-$(CONFIG_HDD_INIT_WITH_RTNL_LOCK) += -DCONFIG_HDD_INIT_WITH_RTNL_LOCK |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2137 | cppflags-$(CONFIG_WLAN_CONV_SPECTRAL_ENABLE) += -DWLAN_CONV_SPECTRAL_ENABLE |
Wu Gao | 10300f9 | 2019-05-28 19:08:06 +0800 | [diff] [blame] | 2138 | cppflags-$(CONFIG_DIRECT_BUF_RX_ENABLE) += -DDIRECT_BUF_RX_ENABLE |
| 2139 | cppflags-$(CONFIG_WMI_DBR_SUPPORT) += -DWMI_DBR_SUPPORT |
| 2140 | cppflags-$(CONFIG_DIRECT_BUF_RX_ENABLE) += -DDBR_MULTI_SRNG_ENABLE |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2141 | cppflags-$(CONFIG_WMI_CMD_STRINGS) += -DWMI_CMD_STRINGS |
Varun Reddy Yeturu | d33033f | 2018-06-11 10:58:30 -0700 | [diff] [blame] | 2142 | cppflags-$(CONFIG_WLAN_FEATURE_TWT) += -DWLAN_SUPPORT_TWT |
Jeff Johnson | 8daf768 | 2018-04-11 07:42:56 -0700 | [diff] [blame] | 2143 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2144 | cppflags-$(CONFIG_WLAN_DISABLE_EXPORT_SYMBOL) += -DWLAN_DISABLE_EXPORT_SYMBOL |
| 2145 | cppflags-$(CONFIG_WIFI_POS_CONVERGED) += -DWIFI_POS_CONVERGED |
| 2146 | cppflags-$(CONFIG_WIFI_POS_LEGACY) += -DFEATURE_OEM_DATA_SUPPORT |
| 2147 | cppflags-$(CONFIG_FEATURE_HTC_CREDIT_HISTORY) += -DFEATURE_HTC_CREDIT_HISTORY |
| 2148 | cppflags-$(CONFIG_WLAN_FEATURE_P2P_DEBUG) += -DWLAN_FEATURE_P2P_DEBUG |
Rachit Kankane | 0dc3e85 | 2018-05-07 17:33:42 +0530 | [diff] [blame] | 2149 | cppflags-$(CONFIG_WLAN_WEXT_SUPPORT_ENABLE) += -DWLAN_WEXT_SUPPORT_ENABLE |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2150 | cppflags-$(CONFIG_WLAN_LOGGING_SOCK_SVC) += -DWLAN_LOGGING_SOCK_SVC_ENABLE |
Rachit Kankane | 0868f8f | 2018-06-22 18:52:03 +0530 | [diff] [blame] | 2151 | cppflags-$(CONFIG_WLAN_LOGGING_BUFFERS_DYNAMICALLY) += -DWLAN_LOGGING_BUFFERS_DYNAMICALLY |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2152 | cppflags-$(CONFIG_WLAN_FEATURE_FILS) += -DWLAN_FEATURE_FILS_SK |
Naveen Rawat | 96a77d3 | 2018-01-12 15:26:14 -0800 | [diff] [blame] | 2153 | cppflags-$(CONFIG_CP_STATS) += -DQCA_SUPPORT_CP_STATS |
Paul Zhang | 3718567 | 2019-05-14 11:20:14 +0800 | [diff] [blame] | 2154 | cppflags-$(CONFIG_FEATURE_INTEROP_ISSUES_AP) += -DWLAN_FEATURE_INTEROP_ISSUES_AP |
Wen Gong | 3f00338 | 2018-05-14 14:26:37 +0800 | [diff] [blame] | 2155 | cppflags-$(CONFIG_FEATURE_MEMDUMP_ENABLE) += -DWLAN_FEATURE_MEMDUMP_ENABLE |
Wen Gong | 9976890 | 2018-04-25 12:07:49 +0800 | [diff] [blame] | 2156 | cppflags-$(CONFIG_FEATURE_FW_LOG_PARSING) += -DFEATURE_FW_LOG_PARSING |
Paul Zhang | da2970b | 2019-06-23 18:16:38 +0800 | [diff] [blame] | 2157 | cppflags-$(CONFIG_FEATURE_OEM_DATA) += -DFEATURE_OEM_DATA |
Visweswara Tanuku | 322348d | 2019-08-05 12:24:58 +0530 | [diff] [blame] | 2158 | cppflags-$(CONFIG_FEATURE_MOTION_DETECTION) += -DWLAN_FEATURE_MOTION_DETECTION |
Paul Zhang | c9dbaee | 2019-06-23 22:07:31 +0800 | [diff] [blame] | 2159 | cppflags-$(CONFIG_WLAN_FW_OFFLOAD) += -DWLAN_FW_OFFLOAD |
| 2160 | cppflags-$(CONFIG_WLAN_FEATURE_ELNA) += -DWLAN_FEATURE_ELNA |
Sridhar Selvaraj | 8c6f5e8 | 2017-08-21 14:53:46 +0530 | [diff] [blame] | 2161 | |
Nirav Shah | 1575dd7 | 2018-06-24 13:46:39 +0530 | [diff] [blame] | 2162 | cppflags-$(CONFIG_PLD_SDIO_CNSS_FLAG) += -DCONFIG_PLD_SDIO_CNSS |
Naman Padhiar | c52e7fd | 2019-06-23 01:21:42 +0530 | [diff] [blame] | 2163 | |
| 2164 | ifeq ($(CONFIG_PLD_PCIE_CNSS_FLAG), y) |
| 2165 | ifeq ($(CONFIG_PCIE_FW_SIM), y) |
| 2166 | cppflags-y += -DCONFIG_PLD_PCIE_FW_SIM |
| 2167 | else |
| 2168 | cppflags-y += -DCONFIG_PLD_PCIE_CNSS |
| 2169 | endif |
| 2170 | endif |
| 2171 | |
Nirav Shah | 1575dd7 | 2018-06-24 13:46:39 +0530 | [diff] [blame] | 2172 | cppflags-$(CONFIG_PLD_PCIE_INIT_FLAG) += -DCONFIG_PLD_PCIE_INIT |
Mohit Khanna | 7032200 | 2018-05-15 19:21:32 -0700 | [diff] [blame] | 2173 | cppflags-$(CONFIG_WLAN_FEATURE_DP_RX_THREADS) += -DFEATURE_WLAN_DP_RX_THREADS |
Mohit Khanna | d02e9b8 | 2019-03-22 16:36:15 -0700 | [diff] [blame] | 2174 | cppflags-$(CONFIG_WLAN_FEATURE_RX_SOFTIRQ_TIME_LIMIT) += -DWLAN_FEATURE_RX_SOFTIRQ_TIME_LIMIT |
Ajit Pal Singh | 6f5f589 | 2018-07-19 14:08:20 +0530 | [diff] [blame] | 2175 | cppflags-$(CONFIG_PLD_USB_CNSS) += -DCONFIG_PLD_USB_CNSS |
Sriram Madhvapathi | ecb0bcd | 2018-07-04 14:48:41 +0530 | [diff] [blame] | 2176 | cppflags-$(CONFIG_PLD_SDIO_CNSS2) += -DCONFIG_PLD_SDIO_CNSS2 |
Alok Kumar | 6894692 | 2019-09-11 17:44:57 +0530 | [diff] [blame] | 2177 | cppflags-$(CONFIG_WLAN_RECORD_RX_PADDR) += -DHIF_RECORD_RX_PADDR |
Yue Ma | e6a7a32 | 2016-08-31 11:09:23 -0700 | [diff] [blame] | 2178 | |
Lin Bai | de6c553 | 2019-03-19 11:03:59 +0800 | [diff] [blame] | 2179 | #For both legacy and lithium chip's monitor mode config |
| 2180 | ifeq ($(CONFIG_FEATURE_MONITOR_MODE_SUPPORT), y) |
| 2181 | cppflags-y += -DFEATURE_MONITOR_MODE_SUPPORT |
| 2182 | else |
| 2183 | cppflags-y += -DDISABLE_MON_CONFIG |
| 2184 | endif |
| 2185 | |
Lin Bai | 59b7976 | 2017-09-01 16:18:55 +0800 | [diff] [blame] | 2186 | #Enable NL80211 test mode |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2187 | cppflags-$(CONFIG_NL80211_TESTMODE) += -DWLAN_NL80211_TESTMODE |
Lin Bai | 59b7976 | 2017-09-01 16:18:55 +0800 | [diff] [blame] | 2188 | |
Yue Ma | 2b09131 | 2017-02-15 15:56:47 -0800 | [diff] [blame] | 2189 | # Flag to enable bus auto suspend |
Jeff Johnson | fe6f0b0 | 2018-04-11 09:27:04 -0700 | [diff] [blame] | 2190 | ifeq ($(CONFIG_HIF_PCI), y) |
Yue Ma | 2b09131 | 2017-02-15 15:56:47 -0800 | [diff] [blame] | 2191 | ifeq ($(CONFIG_BUS_AUTO_SUSPEND), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2192 | cppflags-y += -DFEATURE_RUNTIME_PM |
Yue Ma | 2b09131 | 2017-02-15 15:56:47 -0800 | [diff] [blame] | 2193 | endif |
| 2194 | endif |
| 2195 | |
Naman Padhiar | c52e7fd | 2019-06-23 01:21:42 +0530 | [diff] [blame] | 2196 | ifeq ($(CONFIG_ICNSS), y) |
| 2197 | ifeq ($(CONFIG_SNOC_FW_SIM), y) |
| 2198 | cppflags-y += -DCONFIG_PLD_SNOC_FW_SIM |
| 2199 | else |
| 2200 | cppflags-y += -DCONFIG_PLD_SNOC_ICNSS |
| 2201 | endif |
| 2202 | endif |
Yuanyuan Liu | 11f526a | 2016-05-18 10:22:07 -0700 | [diff] [blame] | 2203 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2204 | cppflags-$(CONFIG_WIFI_3_0_ADRASTEA) += -DQCA_WIFI_3_0_ADRASTEA |
Nirav Shah | 93b3235 | 2018-09-05 13:21:18 +0530 | [diff] [blame] | 2205 | cppflags-$(CONFIG_WIFI_3_0_ADRASTEA) += -DQCA_WIFI_3_0 |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2206 | cppflags-$(CONFIG_ADRASTEA_SHADOW_REGISTERS) += -DADRASTEA_SHADOW_REGISTERS |
| 2207 | cppflags-$(CONFIG_ADRASTEA_RRI_ON_DDR) += -DADRASTEA_RRI_ON_DDR |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2208 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2209 | ifeq ($(CONFIG_QMI_SUPPORT), n) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2210 | cppflags-y += -DCONFIG_BYPASS_QMI |
Yuanyuan Liu | f45ab3d | 2017-12-14 11:00:09 -0800 | [diff] [blame] | 2211 | endif |
| 2212 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2213 | cppflags-$(CONFIG_WLAN_FASTPATH) += -DWLAN_FEATURE_FASTPATH |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2214 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2215 | cppflags-$(CONFIG_FEATURE_PKTLOG) += -DFEATURE_PKTLOG |
Poddar, Siddarth | eefe348 | 2016-09-21 18:12:59 +0530 | [diff] [blame] | 2216 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2217 | ifeq ($(CONFIG_WLAN_NAPI), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2218 | cppflags-y += -DFEATURE_NAPI |
| 2219 | cppflags-y += -DHIF_IRQ_AFFINITY |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2220 | ifeq ($(CONFIG_WLAN_NAPI_DEBUG), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2221 | cppflags-y += -DFEATURE_NAPI_DEBUG |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2222 | endif |
| 2223 | endif |
| 2224 | |
Yue Ma | df224b8 | 2016-04-21 12:46:04 -0700 | [diff] [blame] | 2225 | ifeq (y,$(findstring y,$(CONFIG_ARCH_MSM) $(CONFIG_ARCH_QCOM))) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2226 | cppflags-y += -DMSM_PLATFORM |
Yuanyuan Liu | 5af4436 | 2016-04-01 21:57:06 -0700 | [diff] [blame] | 2227 | endif |
| 2228 | |
Tiger Yu | 8b119e9 | 2019-04-09 13:55:07 +0800 | [diff] [blame] | 2229 | cppflags-$(CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH) += -DWLAN_FEATURE_DP_BUS_BANDWIDTH |
| 2230 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2231 | cppflags-y += -DQCA_SUPPORT_TXRX_LOCAL_PEER_ID |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2232 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2233 | cppflags-$(CONFIG_WLAN_TX_FLOW_CONTROL_V2) += -DQCA_LL_TX_FLOW_CONTROL_V2 |
| 2234 | cppflags-$(CONFIG_WLAN_TX_FLOW_CONTROL_V2) += -DQCA_LL_TX_FLOW_GLOBAL_MGMT_POOL |
| 2235 | cppflags-$(CONFIG_WLAN_TX_FLOW_CONTROL_LEGACY) += -DQCA_LL_LEGACY_TX_FLOW_CONTROL |
hangtian | b9c9136 | 2019-06-07 10:39:38 +0800 | [diff] [blame] | 2236 | cppflags-$(CONFIG_WLAN_PDEV_TX_FLOW_CONTROL) += -DQCA_LL_PDEV_TX_FLOW_CONTROL |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2237 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2238 | ifeq ($(BUILD_DEBUG_VERSION), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2239 | cppflags-y += -DWLAN_DEBUG |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2240 | ifeq ($(CONFIG_TRACE_RECORD_FEATURE), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2241 | cppflags-y += -DTRACE_RECORD \ |
Rachit Kankane | 0baf6e7 | 2018-01-19 15:01:50 +0530 | [diff] [blame] | 2242 | -DLIM_TRACE_RECORD \ |
| 2243 | -DSME_TRACE_RECORD \ |
| 2244 | -DHDD_TRACE_RECORD |
| 2245 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2246 | endif |
Dustin Brown | 0ea8d3b | 2018-07-06 13:58:49 -0700 | [diff] [blame] | 2247 | cppflags-$(CONFIG_UNIT_TEST) += -DWLAN_UNIT_TEST |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2248 | cppflags-$(CONFIG_WLAN_DEBUG_CRASH_INJECT) += -DCONFIG_WLAN_DEBUG_CRASH_INJECT |
| 2249 | cppflags-$(CONFIG_FEATURE_UNIT_TEST_SUSPEND) += -DWLAN_SUSPEND_RESUME_TEST |
Krunal Soni | f9ba53d | 2019-01-03 21:44:41 -0800 | [diff] [blame] | 2250 | cppflags-$(CONFIG_FEATURE_WLM_STATS) += -DFEATURE_WLM_STATS |
Dustin Brown | 0f8dc3d | 2017-06-01 14:37:26 -0700 | [diff] [blame] | 2251 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2252 | ifeq ($(CONFIG_LEAK_DETECTION), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2253 | cppflags-y += \ |
Dustin Brown | 63ef318 | 2018-04-02 10:57:18 -0700 | [diff] [blame] | 2254 | -DCONFIG_HALT_KMEMLEAK \ |
| 2255 | -DCONFIG_LEAK_DETECTION \ |
| 2256 | -DMEMORY_DEBUG \ |
| 2257 | -DNBUF_MEMORY_DEBUG \ |
Dustin Brown | f39413a | 2018-07-05 14:01:23 -0700 | [diff] [blame] | 2258 | -DNBUF_MAP_UNMAP_DEBUG \ |
Dustin Brown | c279631 | 2019-03-13 16:43:36 -0700 | [diff] [blame] | 2259 | -DTIMER_MANAGER \ |
Dustin Brown | 4a93bb5 | 2019-03-13 11:46:34 -0700 | [diff] [blame] | 2260 | -DWLAN_DELAYED_WORK_DEBUG \ |
| 2261 | -DWLAN_PERIODIC_WORK_DEBUG |
Dustin Brown | 21a761d | 2017-11-15 16:37:00 -0800 | [diff] [blame] | 2262 | endif |
| 2263 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2264 | cppflags-y += -DWLAN_FEATURE_P2P |
| 2265 | cppflags-y += -DWLAN_FEATURE_WFD |
Wu Gao | 10300f9 | 2019-05-28 19:08:06 +0800 | [diff] [blame] | 2266 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2267 | ifeq ($(CONFIG_QCOM_VOWIFI_11R), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2268 | cppflags-y += -DKERNEL_SUPPORT_11R_CFG80211 |
| 2269 | cppflags-y += -DUSE_80211_WMMTSPEC_FOR_RIC |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2270 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2271 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2272 | ifeq ($(CONFIG_QCOM_ESE), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2273 | cppflags-y += -DFEATURE_WLAN_ESE |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2274 | endif |
| 2275 | |
| 2276 | #normally, TDLS negative behavior is not needed |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2277 | cppflags-$(CONFIG_QCOM_TDLS) += -DFEATURE_WLAN_TDLS |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2278 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2279 | cppflags-$(CONFIG_QCACLD_WLAN_LFR3) += -DWLAN_FEATURE_ROAM_OFFLOAD |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2280 | |
Sandeep Puligilla | 1952217 | 2019-01-10 19:53:45 -0800 | [diff] [blame] | 2281 | cppflags-$(CONFIG_WLAN_FEATURE_MBSSID) += -DWLAN_FEATURE_MBSSID |
| 2282 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2283 | cppflags-$(CONFIG_CNSS_GENL) += -DCNSS_GENL |
Selvaraj, Sridhar | 046d77d | 2017-03-07 14:53:13 +0530 | [diff] [blame] | 2284 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2285 | cppflags-$(CONFIG_QCACLD_WLAN_LFR2) += -DWLAN_FEATURE_HOST_ROAM |
Varun Reddy Yeturu | bbbbe23 | 2016-02-29 14:01:57 -0800 | [diff] [blame] | 2286 | |
Qiwei Cai | d96c021 | 2018-06-15 11:12:49 +0800 | [diff] [blame] | 2287 | cppflags-$(CONFIG_FEATURE_ROAM_DEBUG) += -DFEATURE_ROAM_DEBUG |
| 2288 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2289 | cppflags-$(CONFIG_WLAN_POWER_DEBUGFS) += -DWLAN_POWER_DEBUGFS |
Sridhar Selvaraj | dc400d2 | 2016-10-18 17:18:03 +0530 | [diff] [blame] | 2290 | |
Arun Kumar Khandavalli | deda5a8 | 2019-03-11 15:32:19 +0530 | [diff] [blame] | 2291 | cppflags-$(CONFIG_WLAN_MWS_INFO_DEBUGFS) += -DWLAN_MWS_INFO_DEBUGFS |
| 2292 | |
Rajeev Kumar | 69d7d49 | 2017-02-13 21:48:16 -0800 | [diff] [blame] | 2293 | # Enable object manager reference count debug infrastructure |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2294 | cppflags-$(CONFIG_WLAN_OBJMGR_DEBUG) += -DWLAN_OBJMGR_DEBUG |
Pragaspathi Thilagaraj | ab5cc6e | 2018-08-15 21:53:49 +0530 | [diff] [blame] | 2295 | cppflags-$(CONFIG_WLAN_OBJMGR_DEBUG) += -DWLAN_OBJMGR_REF_ID_DEBUG |
Rajeev Kumar | 69d7d49 | 2017-02-13 21:48:16 -0800 | [diff] [blame] | 2296 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2297 | cppflags-$(CONFIG_WLAN_FEATURE_SAE) += -DWLAN_FEATURE_SAE |
Padma, Santhosh Kumar | 07eb80b | 2017-07-05 16:10:06 +0530 | [diff] [blame] | 2298 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2299 | ifeq ($(BUILD_DIAG_VERSION), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2300 | cppflags-y += -DFEATURE_WLAN_DIAG_SUPPORT |
| 2301 | cppflags-y += -DFEATURE_WLAN_DIAG_SUPPORT_CSR |
| 2302 | cppflags-y += -DFEATURE_WLAN_DIAG_SUPPORT_LIM |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2303 | ifeq ($(CONFIG_HIF_PCI), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2304 | cppflags-y += -DCONFIG_ATH_PROCFS_DIAG_SUPPORT |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2305 | endif |
| 2306 | endif |
| 2307 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2308 | ifeq ($(CONFIG_HIF_USB), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2309 | cppflags-y += -DCONFIG_ATH_PROCFS_DIAG_SUPPORT |
| 2310 | cppflags-y += -DQCA_SUPPORT_OL_RX_REORDER_TIMEOUT |
| 2311 | cppflags-y += -DCONFIG_ATH_PCIE_MAX_PERF=0 -DCONFIG_ATH_PCIE_AWAKE_WHILE_DRIVER_LOAD=0 -DCONFIG_DISABLE_CDC_MAX_PERF_WAR=0 |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2312 | endif |
| 2313 | |
Tiger Yu | e40e783 | 2019-04-25 10:46:53 +0800 | [diff] [blame] | 2314 | cppflags-$(CONFIG_QCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK) += -DQCA_SUPPORT_TXRX_DRIVER_TCP_DEL_ACK |
| 2315 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2316 | cppflags-$(CONFIG_WLAN_FEATURE_11W) += -DWLAN_FEATURE_11W |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2317 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2318 | cppflags-$(CONFIG_QCA_TXDESC_SANITY_CHECKS) += -DQCA_SUPPORT_TXDESC_SANITY_CHECKS |
gbian | e55c956 | 2016-11-01 14:47:47 +0800 | [diff] [blame] | 2319 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2320 | cppflags-$(CONFIG_QCOM_LTE_COEX) += -DFEATURE_WLAN_CH_AVOID |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2321 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2322 | cppflags-$(CONFIG_WLAN_FEATURE_LPSS) += -DWLAN_FEATURE_LPSS |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2323 | |
Nirav Shah | a72db1d | 2018-06-06 17:11:07 +0530 | [diff] [blame] | 2324 | cppflags-$(CONFIG_DESC_DUP_DETECT_DEBUG) += -DDESC_DUP_DETECT_DEBUG |
| 2325 | cppflags-$(CONFIG_DEBUG_RX_RING_BUFFER) += -DDEBUG_RX_RING_BUFFER |
Nirav Shah | 7629196 | 2016-04-25 10:50:37 +0530 | [diff] [blame] | 2326 | |
Rakshith Suresh Patkar | 384a28a | 2018-11-02 16:43:43 +0530 | [diff] [blame] | 2327 | cppflags-$(CONFIG_DESC_TIMESTAMP_DEBUG_INFO) += -DDESC_TIMESTAMP_DEBUG_INFO |
| 2328 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2329 | cppflags-$(PANIC_ON_BUG) += -DPANIC_ON_BUG |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2330 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2331 | cppflags-$(WLAN_WARN_ON_ASSERT) += -DWLAN_WARN_ON_ASSERT |
Dustin Brown | 0634ba3 | 2018-03-22 13:00:44 -0700 | [diff] [blame] | 2332 | |
Rajeev Kumar | 6bdee8e | 2018-04-18 17:36:05 -0700 | [diff] [blame] | 2333 | ccflags-$(CONFIG_POWER_MANAGEMENT_OFFLOAD) += -DWLAN_POWER_MANAGEMENT_OFFLOAD |
| 2334 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2335 | cppflags-$(CONFIG_WLAN_LOG_FATAL) += -DWLAN_LOG_FATAL |
| 2336 | cppflags-$(CONFIG_WLAN_LOG_ERROR) += -DWLAN_LOG_ERROR |
| 2337 | cppflags-$(CONFIG_WLAN_LOG_WARN) += -DWLAN_LOG_WARN |
| 2338 | cppflags-$(CONFIG_WLAN_LOG_INFO) += -DWLAN_LOG_INFO |
| 2339 | cppflags-$(CONFIG_WLAN_LOG_DEBUG) += -DWLAN_LOG_DEBUG |
Nirav Shah | d6fa0f8 | 2018-07-06 15:52:25 +0530 | [diff] [blame] | 2340 | cppflags-$(CONFIG_WLAN_LOG_ENTER) += -DWLAN_LOG_ENTER |
| 2341 | cppflags-$(CONFIG_WLAN_LOG_EXIT) += -DWLAN_LOG_EXIT |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2342 | cppflags-$(WLAN_OPEN_SOURCE) += -DWLAN_OPEN_SOURCE |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2343 | cppflags-$(CONFIG_FEATURE_STATS_EXT) += -DWLAN_FEATURE_STATS_EXT |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2344 | cppflags-$(CONFIG_QCACLD_FEATURE_NAN) += -DWLAN_FEATURE_NAN |
Wu Gao | 18596ae | 2019-08-13 17:33:14 +0800 | [diff] [blame] | 2345 | cppflags-$(CONFIG_NDP_SAP_CONCURRENCY_ENABLE) += -DNDP_SAP_CONCURRENCY_ENABLE |
Abhishek Ambure | 995ab5a | 2019-09-27 19:06:02 +0530 | [diff] [blame] | 2346 | |
| 2347 | ifeq ($(CONFIG_QCA_IBSS_SUPPORT), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2348 | cppflags-$(CONFIG_QCA_IBSS_SUPPORT) += -DQCA_IBSS_SUPPORT |
Abhishek Ambure | 995ab5a | 2019-09-27 19:06:02 +0530 | [diff] [blame] | 2349 | endif |
| 2350 | |
Kai Liu | aa88d2f | 2018-08-13 11:30:11 +0800 | [diff] [blame] | 2351 | cppflags-$(CONFIG_WLAN_SYSFS) += -DWLAN_SYSFS |
Rachit Kankane | ee1735c | 2018-08-02 13:19:34 +0530 | [diff] [blame] | 2352 | cppflags-$(CONFIG_FEATURE_WLAN_RMC) += -DFEATURE_WLAN_RMC |
Arunk Khandavalli | ca56d4b | 2018-11-29 15:46:00 +0530 | [diff] [blame] | 2353 | cppflags-$(CONFIG_FEATURE_BECN_STATS) += -DWLAN_FEATURE_BEACON_RECEPTION_STATS |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2354 | |
hangtian | 2b9856f | 2019-01-25 11:50:39 +0800 | [diff] [blame] | 2355 | #Set RX_PERFORMANCE |
| 2356 | cppflags-$(CONFIG_RX_PERFORMANCE) += -DRX_PERFORMANCE |
hangtian | cd2b286 | 2019-01-16 12:43:05 +0800 | [diff] [blame] | 2357 | |
Hangtian Zhu | c764260 | 2019-09-11 17:47:43 +0800 | [diff] [blame] | 2358 | #Set MULTI_IF_LOG |
| 2359 | cppflags-$(CONFIG_MULTI_IF_LOG) += -DMULTI_IF_LOG |
| 2360 | |
Hangtian Zhu | 39e2e21 | 2019-09-02 13:34:57 +0800 | [diff] [blame] | 2361 | #Set SLUB_MEM_OPTIMIZE |
| 2362 | cppflags-$(CONFIG_SLUB_MEM_OPTIMIZE) += -DSLUB_MEM_OPTIMIZE |
hangtian | 1c37fb9 | 2019-04-10 11:15:20 +0800 | [diff] [blame] | 2363 | |
Hangtian Zhu | 9a28ed0 | 2019-09-24 12:18:20 +0800 | [diff] [blame] | 2364 | #Set DFS_PRI_MULTIPLIER |
| 2365 | cppflags-$(CONFIG_DFS_PRI_MULTIPLIER) += -DDFS_PRI_MULTIPLIER |
| 2366 | |
| 2367 | #Set DFS_OVERRIDE_RF_THRESHOLD |
| 2368 | cppflags-$(CONFIG_DFS_OVERRIDE_RF_THRESHOLD) += -DDFS_OVERRIDE_RF_THRESHOLD |
| 2369 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2370 | #Enable OL debug and wmi unified functions |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2371 | cppflags-$(CONFIG_ATH_PERF_PWR_OFFLOAD) += -DATH_PERF_PWR_OFFLOAD |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2372 | |
| 2373 | #Disable packet log |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2374 | cppflags-$(CONFIG_REMOVE_PKT_LOG) += -DREMOVE_PKT_LOG |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2375 | |
| 2376 | #Enable 11AC TX |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2377 | cppflags-$(CONFIG_ATH_11AC_TXCOMPACT) += -DATH_11AC_TXCOMPACT |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2378 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2379 | #Enable PCI specific APIS (dma, etc) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2380 | cppflags-$(CONFIG_HIF_PCI) += -DHIF_PCI |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2381 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2382 | cppflags-$(CONFIG_HIF_SNOC) += -DHIF_SNOC |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 2383 | |
Nirav Shah | 52d85aa | 2018-04-26 14:03:00 +0530 | [diff] [blame] | 2384 | cppflags-$(CONFIG_HL_DP_SUPPORT) += -DCONFIG_HL_SUPPORT |
Nirav Shah | 6ebfe24 | 2018-05-09 15:56:12 +0530 | [diff] [blame] | 2385 | cppflags-$(CONFIG_HL_DP_SUPPORT) += -DWLAN_PARTIAL_REORDER_OFFLOAD |
Qiwei Cai | 36bd9de | 2018-09-03 10:45:47 +0800 | [diff] [blame] | 2386 | cppflags-$(CONFIG_HL_DP_SUPPORT) += -DQCA_COMPUTE_TX_DELAY |
| 2387 | cppflags-$(CONFIG_HL_DP_SUPPORT) += -DQCA_COMPUTE_TX_DELAY_PER_TID |
Nirav Shah | 52d85aa | 2018-04-26 14:03:00 +0530 | [diff] [blame] | 2388 | cppflags-$(CONFIG_LL_DP_SUPPORT) += -DCONFIG_LL_DP_SUPPORT |
Nirav Shah | 6ebfe24 | 2018-05-09 15:56:12 +0530 | [diff] [blame] | 2389 | cppflags-$(CONFIG_LL_DP_SUPPORT) += -DWLAN_FULL_REORDER_OFFLOAD |
Nirav Shah | 52d85aa | 2018-04-26 14:03:00 +0530 | [diff] [blame] | 2390 | |
Ajit Pal Singh | 9c09885 | 2019-08-19 17:48:19 +0530 | [diff] [blame] | 2391 | # For OOB testing |
| 2392 | cppflags-$(CONFIG_WLAN_FEATURE_WOW_PULSE) += -DWLAN_FEATURE_WOW_PULSE |
| 2393 | |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 2394 | #Enable High Latency related Flags |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2395 | ifeq ($(CONFIG_QCA_WIFI_SDIO), y) |
Nirav Shah | 52d85aa | 2018-04-26 14:03:00 +0530 | [diff] [blame] | 2396 | cppflags-y += -DCONFIG_AR6320_SUPPORT \ |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 2397 | -DSDIO_3_0 \ |
| 2398 | -DHIF_SDIO \ |
| 2399 | -DCONFIG_DISABLE_CDC_MAX_PERF_WAR=0 \ |
| 2400 | -DCONFIG_ATH_PROCFS_DIAG_SUPPORT \ |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 2401 | -DHIF_MBOX_SLEEP_WAR \ |
| 2402 | -DDEBUG_HL_LOGGING \ |
| 2403 | -DQCA_BAD_PEER_TX_FLOW_CL \ |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 2404 | -DCONFIG_SDIO \ |
| 2405 | -DFEATURE_WLAN_FORCE_SAP_SCC |
Sriram Madhvapathi | 82ec8e3 | 2018-06-07 10:20:15 +0530 | [diff] [blame] | 2406 | |
| 2407 | ifeq ($(CONFIG_SDIO_TRANSFER), adma) |
| 2408 | cppflags-y += -DCONFIG_SDIO_TRANSFER_ADMA |
| 2409 | else |
| 2410 | cppflags-y += -DCONFIG_SDIO_TRANSFER_MAILBOX |
| 2411 | endif |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 2412 | endif |
| 2413 | |
Agrawal Ashish | b141b09 | 2016-09-02 19:59:26 +0530 | [diff] [blame] | 2414 | ifeq ($(CONFIG_WLAN_FEATURE_DSRC), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2415 | cppflags-y += -DWLAN_FEATURE_DSRC |
Zhang Qian | 47e22ce | 2018-01-04 15:38:38 +0800 | [diff] [blame] | 2416 | |
| 2417 | ifeq ($(CONFIG_OCB_UT_FRAMEWORK), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2418 | cppflags-y += -DWLAN_OCB_UT |
Zhang Qian | 47e22ce | 2018-01-04 15:38:38 +0800 | [diff] [blame] | 2419 | endif |
| 2420 | |
Agrawal Ashish | b141b09 | 2016-09-02 19:59:26 +0530 | [diff] [blame] | 2421 | endif |
| 2422 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2423 | cppflags-$(CONFIG_FEATURE_SKB_PRE_ALLOC) += -DFEATURE_SKB_PRE_ALLOC |
bings | 7762da1 | 2017-03-06 07:21:04 +0800 | [diff] [blame] | 2424 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2425 | #Enable USB specific APIS |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2426 | ifeq ($(CONFIG_HIF_USB), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2427 | cppflags-y += -DHIF_USB \ |
Nirav Shah | 52d85aa | 2018-04-26 14:03:00 +0530 | [diff] [blame] | 2428 | -DDEBUG_HL_LOGGING |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2429 | endif |
| 2430 | |
Ajit Pal Singh | 0bd748a | 2018-06-19 11:48:02 +0530 | [diff] [blame] | 2431 | #Enable Genoa specific features. |
| 2432 | cppflags-$(CONFIG_QCA_HL_NETDEV_FLOW_CONTROL) += -DQCA_HL_NETDEV_FLOW_CONTROL |
| 2433 | cppflags-$(CONFIG_FEATURE_HL_GROUP_CREDIT_FLOW_CONTROL) += -DFEATURE_HL_GROUP_CREDIT_FLOW_CONTROL |
| 2434 | cppflags-$(CONFIG_FEATURE_HL_DBS_GROUP_CREDIT_SHARING) += -DFEATURE_HL_DBS_GROUP_CREDIT_SHARING |
| 2435 | cppflags-$(CONFIG_CREDIT_REP_THROUGH_CREDIT_UPDATE) += -DCONFIG_CREDIT_REP_THROUGH_CREDIT_UPDATE |
Ajit Pal Singh | 17634e1 | 2019-04-12 11:17:36 +0530 | [diff] [blame] | 2436 | cppflags-$(CONFIG_RX_PN_CHECK_OFFLOAD) += -DCONFIG_RX_PN_CHECK_OFFLOAD |
Ajit Pal Singh | 0bd748a | 2018-06-19 11:48:02 +0530 | [diff] [blame] | 2437 | |
Paul Zhang | faa929c | 2019-11-12 10:10:44 +0800 | [diff] [blame] | 2438 | cppflags-$(CONFIG_WLAN_SYNC_TSF_TIMER) += -DWLAN_FEATURE_TSF_TIMER_SYNC |
Subrat Dash | 5f36fbe | 2019-02-12 16:28:14 +0530 | [diff] [blame] | 2439 | cppflags-$(CONFIG_WLAN_SYNC_TSF_PTP) += -DWLAN_FEATURE_TSF_PTP |
| 2440 | cppflags-$(CONFIG_WLAN_SYNC_TSF_PLUS_EXT_GPIO_IRQ) += -DWLAN_FEATURE_TSF_PLUS_EXT_GPIO_IRQ |
Subrat Dash | b1e61b2 | 2019-07-22 14:09:34 +0530 | [diff] [blame] | 2441 | cppflags-$(CONFIG_WLAN_SYNC_TSF_PLUS_EXT_GPIO_SYNC) += -DWLAN_FEATURE_TSF_PLUS_EXT_GPIO_SYNC |
Ajit Pal Singh | cf33f96 | 2018-07-19 17:50:47 +0530 | [diff] [blame] | 2442 | cppflags-$(CONFIG_TX_DESC_HI_PRIO_RESERVE) += -DCONFIG_TX_DESC_HI_PRIO_RESERVE |
Ajit Pal Singh | cf33f96 | 2018-07-19 17:50:47 +0530 | [diff] [blame] | 2443 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2444 | #Enable FW logs through ini |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2445 | cppflags-y += -DCONFIG_FW_LOGS_BASED_ON_INI |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2446 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2447 | #Enable power management suspend/resume functionality |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2448 | cppflags-$(CONFIG_ATH_BUS_PM) += -DATH_BUS_PM |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2449 | |
| 2450 | #Enable FLOWMAC module support |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2451 | cppflags-$(CONFIG_ATH_SUPPORT_FLOWMAC_MODULE) += -DATH_SUPPORT_FLOWMAC_MODULE |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2452 | |
| 2453 | #Enable spectral support |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2454 | cppflags-$(CONFIG_ATH_SUPPORT_SPECTRAL) += -DATH_SUPPORT_SPECTRAL |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2455 | |
Tiger Yu | be6e775 | 2019-09-09 13:14:20 +0800 | [diff] [blame] | 2456 | #Enable legacy pktlog |
| 2457 | cppflags-$(CONFIG_PKTLOG_LEGACY) += -DPKTLOG_LEGACY |
| 2458 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2459 | #Enable WDI Event support |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2460 | cppflags-$(CONFIG_WDI_EVENT_ENABLE) += -DWDI_EVENT_ENABLE |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2461 | |
Tiger Yu | bf14ba8 | 2019-09-09 12:46:22 +0800 | [diff] [blame] | 2462 | #Enable the type_specific_data in the struct ath_pktlog_arg |
| 2463 | cppflags-$(CONFIG_PKTLOG_HAS_SPECIFIC_DATA) += -DPKTLOG_HAS_SPECIFIC_DATA |
| 2464 | |
Jeff Johnson | 3a7a9c6 | 2018-04-07 18:30:05 -0700 | [diff] [blame] | 2465 | #Endianness selection |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2466 | ifeq ($(CONFIG_LITTLE_ENDIAN), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2467 | cppflags-y += -DANI_LITTLE_BYTE_ENDIAN |
| 2468 | cppflags-y += -DANI_LITTLE_BIT_ENDIAN |
| 2469 | cppflags-y += -DDOT11F_LITTLE_ENDIAN_HOST |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2470 | else |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2471 | cppflags-y += -DANI_BIG_BYTE_ENDIAN |
| 2472 | cppflags-y += -DBIG_ENDIAN_HOST |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2473 | endif |
| 2474 | |
Dundi Raviteja | eab3b8d | 2018-07-17 18:10:41 +0530 | [diff] [blame] | 2475 | #Enable MWS COEX support for 4G quick TDM and 5G NR pwr limit |
| 2476 | cppflags-y += -DMWS_COEX |
| 2477 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2478 | #Enable TX reclaim support |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2479 | cppflags-$(CONFIG_TX_CREDIT_RECLAIM_SUPPORT) += -DTX_CREDIT_RECLAIM_SUPPORT |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2480 | |
| 2481 | #Enable FTM support |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2482 | cppflags-$(CONFIG_QCA_WIFI_FTM) += -DQCA_WIFI_FTM |
Ryan Hsu | 6e9db0b | 2018-06-01 10:45:51 -0700 | [diff] [blame] | 2483 | cppflags-$(CONFIG_NL80211_TESTMODE) += -DQCA_WIFI_FTM_NL80211 |
| 2484 | cppflags-$(CONFIG_LINUX_QCMBR) += -DLINUX_QCMBR -DQCA_WIFI_FTM_IOCTL |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2485 | |
| 2486 | #Enable Checksum Offload support |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2487 | cppflags-$(CONFIG_CHECKSUM_OFFLOAD) += -DCHECKSUM_OFFLOAD |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2488 | |
Sravan Kumar Kairam | 7efc013 | 2019-03-25 16:13:46 +0530 | [diff] [blame] | 2489 | #Enable IPA Offload support |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2490 | cppflags-$(CONFIG_IPA_OFFLOAD) += -DIPA_OFFLOAD |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2491 | |
Sravan Kumar Kairam | 7efc013 | 2019-03-25 16:13:46 +0530 | [diff] [blame] | 2492 | cppflags-$(CONFIG_WDI3_IPA_OVER_GSI) += -DIPA_WDI3_GSI |
| 2493 | |
anisha agarwal | 188d254 | 2017-03-21 13:15:58 -0700 | [diff] [blame] | 2494 | ifeq ($(CONFIG_ARCH_SDX20), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2495 | cppflags-y += -DSYNC_IPA_READY |
bings | 7762da1 | 2017-03-06 07:21:04 +0800 | [diff] [blame] | 2496 | endif |
| 2497 | |
Tiger Yu | 24ca336 | 2018-11-05 16:49:11 +0800 | [diff] [blame] | 2498 | ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y) |
Tiger Yu | 287056c | 2018-11-13 16:34:43 +0800 | [diff] [blame] | 2499 | CONFIG_FEATURE_SG := y |
| 2500 | endif |
| 2501 | |
| 2502 | ifeq ($(CONFIG_ARCH_MSM8996), y) |
Ajit Pal Singh | 4c8f672 | 2019-11-14 15:39:26 +0530 | [diff] [blame] | 2503 | ifneq ($(CONFIG_QCN7605_SUPPORT), y) |
Tiger Yu | 287056c | 2018-11-13 16:34:43 +0800 | [diff] [blame] | 2504 | CONFIG_FEATURE_SG := y |
Tiger Yu | 13cdcc4 | 2018-11-29 18:11:22 +0800 | [diff] [blame] | 2505 | CONFIG_RX_THREAD_PRIORITY := y |
Tiger Yu | 287056c | 2018-11-13 16:34:43 +0800 | [diff] [blame] | 2506 | endif |
Ajit Pal Singh | 4c8f672 | 2019-11-14 15:39:26 +0530 | [diff] [blame] | 2507 | endif |
Tiger Yu | 287056c | 2018-11-13 16:34:43 +0800 | [diff] [blame] | 2508 | |
| 2509 | ifeq ($(CONFIG_FEATURE_SG), y) |
Tiger Yu | 24ca336 | 2018-11-05 16:49:11 +0800 | [diff] [blame] | 2510 | cppflags-y += -DFEATURE_SG |
| 2511 | endif |
| 2512 | |
Tiger Yu | 13cdcc4 | 2018-11-29 18:11:22 +0800 | [diff] [blame] | 2513 | ifeq ($(CONFIG_RX_THREAD_PRIORITY), y) |
| 2514 | cppflags-y += -DRX_THREAD_PRIORITY |
| 2515 | endif |
| 2516 | |
Wu Gao | 0bdcbed | 2018-12-27 12:12:08 +0800 | [diff] [blame] | 2517 | ifeq ($(CONFIG_SUPPORT_P2P_BY_ONE_INTF_WLAN), y) |
| 2518 | #sta support to tx P2P action frames |
| 2519 | cppflags-y += -DSUPPORT_P2P_BY_ONE_INTF_WLAN |
| 2520 | else |
| 2521 | #Open P2P device interface only for non-Mobile router use cases |
| 2522 | cppflags-$(CONFIG_WLAN_OPEN_P2P_INTERFACE) += -DWLAN_OPEN_P2P_INTERFACE |
| 2523 | endif |
Tiger Yu | 13cdcc4 | 2018-11-29 18:11:22 +0800 | [diff] [blame] | 2524 | |
Liangwei Dong | 03e080c | 2019-07-02 17:06:39 +0800 | [diff] [blame] | 2525 | cppflags-$(CONFIG_WMI_BCN_OFFLOAD) += -DWLAN_WMI_BCN |
| 2526 | |
Rakshith Suresh Patkar | d9f4e61 | 2018-09-12 12:10:38 +0530 | [diff] [blame] | 2527 | #Enable wbuff |
| 2528 | cppflags-$(CONFIG_WLAN_WBUFF) += -DWLAN_FEATURE_WBUFF |
| 2529 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2530 | #Enable GTK Offload |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2531 | cppflags-$(CONFIG_GTK_OFFLOAD) += -DWLAN_FEATURE_GTK_OFFLOAD |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2532 | |
Jeff Johnson | b8b3976 | 2018-04-06 20:08:10 -0700 | [diff] [blame] | 2533 | #Enable External WoW |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2534 | cppflags-$(CONFIG_EXT_WOW) += -DWLAN_FEATURE_EXTWOW_SUPPORT |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2535 | |
| 2536 | #Mark it as SMP Kernel |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2537 | cppflags-$(CONFIG_SMP) += -DQCA_CONFIG_SMP |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2538 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2539 | cppflags-$(CONFIG_CHNL_MATRIX_RESTRICTION) += -DWLAN_ENABLE_CHNL_MATRIX_RESTRICTION |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2540 | |
Zhu Jianmin | 04392c4 | 2017-05-12 16:34:53 +0800 | [diff] [blame] | 2541 | #Enable ICMP packet disable powersave feature |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2542 | cppflags-$(CONFIG_ICMP_DISABLE_PS) += -DWLAN_ICMP_DISABLE_PS |
Zhu Jianmin | 04392c4 | 2017-05-12 16:34:53 +0800 | [diff] [blame] | 2543 | |
Sandeep Puligilla | 0e64b61 | 2016-08-26 13:20:58 -0700 | [diff] [blame] | 2544 | #Enable OBSS feature |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2545 | cppflags-y += -DQCA_HT_2040_COEX |
Sandeep Puligilla | 0e64b61 | 2016-08-26 13:20:58 -0700 | [diff] [blame] | 2546 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2547 | #enable MCC TO SCC switch |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2548 | cppflags-$(CONFIG_FEATURE_WLAN_MCC_TO_SCC_SWITCH) += -DFEATURE_WLAN_MCC_TO_SCC_SWITCH |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2549 | |
| 2550 | #enable wlan auto shutdown feature |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2551 | cppflags-$(CONFIG_FEATURE_WLAN_AUTO_SHUTDOWN) += -DFEATURE_WLAN_AUTO_SHUTDOWN |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2552 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2553 | #enable AP-AP ACS Optimization |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2554 | cppflags-$(CONFIG_FEATURE_WLAN_AP_AP_ACS_OPTIMIZE) += -DFEATURE_WLAN_AP_AP_ACS_OPTIMIZE |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2555 | |
| 2556 | #Enable 4address scheme |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2557 | cppflags-$(CONFIG_FEATURE_WLAN_STA_4ADDR_SCHEME) += -DFEATURE_WLAN_STA_4ADDR_SCHEME |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2558 | |
Zhu Jianmin | 35fcd0d | 2017-08-30 10:47:31 +0800 | [diff] [blame] | 2559 | #enable MDM/SDX special config |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2560 | cppflags-$(CONFIG_MDM_PLATFORM) += -DMDM_PLATFORM |
Zhu Jianmin | 35fcd0d | 2017-08-30 10:47:31 +0800 | [diff] [blame] | 2561 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2562 | #Disable STA-AP Mode DFS support |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2563 | cppflags-$(CONFIG_FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE) += -DFEATURE_WLAN_STA_AP_MODE_DFS_DISABLE |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2564 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2565 | #Enable 2.4 GHz social channels in 5 GHz only mode for p2p usage |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2566 | cppflags-$(CONFIG_WLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY) += -DWLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2567 | |
| 2568 | #Green AP feature |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2569 | cppflags-$(CONFIG_QCACLD_FEATURE_GREEN_AP) += -DWLAN_SUPPORT_GREEN_AP |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2570 | |
Nachiket Kukade | d0dd62e | 2018-05-21 18:39:22 +0530 | [diff] [blame] | 2571 | cppflags-$(CONFIG_QCACLD_FEATURE_APF) += -DFEATURE_WLAN_APF |
Jeff Johnson | fcc29d4 | 2018-07-17 20:36:45 -0700 | [diff] [blame] | 2572 | |
| 2573 | cppflags-$(CONFIG_WLAN_FEATURE_SARV1_TO_SARV2) += -DWLAN_FEATURE_SARV1_TO_SARV2 |
Varun Reddy Yeturu | 29044cd | 2018-06-28 14:03:10 -0700 | [diff] [blame] | 2574 | #CRYPTO Coverged Component |
| 2575 | cppflags-$(CONFIG_CRYPTO_COMPONENT) += -DWLAN_CONV_CRYPTO_SUPPORTED \ |
Kiran Kumar Lokere | 8dbd85a | 2018-11-14 17:51:41 -0800 | [diff] [blame] | 2576 | -DCRYPTO_SET_KEY_CONVERGED \ |
| 2577 | -DWLAN_CONV_CRYPTO_IE_SUPPORT \ |
Varun Reddy Yeturu | 29044cd | 2018-06-28 14:03:10 -0700 | [diff] [blame] | 2578 | -DWLAN_CRYPTO_WEP_OS_DERIVATIVE \ |
| 2579 | -DWLAN_CRYPTO_TKIP_OS_DERIVATIVE \ |
| 2580 | -DWLAN_CRYPTO_CCMP_OS_DERIVATIVE \ |
| 2581 | -DWLAN_CRYPTO_GCMP_OS_DERIVATIVE \ |
| 2582 | -DWLAN_CRYPTO_WAPI_OS_DERIVATIVE \ |
| 2583 | -DWLAN_CRYPTO_GCM_OS_DERIVATIVE \ |
| 2584 | -DWLAN_CRYPTO_FILS_OS_DERIVATIVE \ |
| 2585 | -DWLAN_CRYPTO_OMAC1_OS_DERIVATIVE |
Nachiket Kukade | d0dd62e | 2018-05-21 18:39:22 +0530 | [diff] [blame] | 2586 | |
Rachit Kankane | 2a3fd39 | 2018-12-06 14:03:57 +0530 | [diff] [blame] | 2587 | cppflags-$(CONFIG_FEATURE_WLAN_FT_IEEE8021X) += -DFEATURE_WLAN_FT_IEEE8021X |
| 2588 | cppflags-$(CONFIG_FEATURE_WLAN_FT_PSK) += -DFEATURE_WLAN_FT_PSK |
| 2589 | |
Liangwei Dong | 2fce716 | 2018-08-24 01:07:22 -0400 | [diff] [blame] | 2590 | #Enable host 11d scan |
| 2591 | cppflags-$(CONFIG_HOST_11D_SCAN) += -DHOST_11D_SCAN |
| 2592 | |
Yun Park | 637d648 | 2016-10-05 10:51:33 -0700 | [diff] [blame] | 2593 | #Stats & Quota Metering feature |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2594 | ifeq ($(CONFIG_IPA_OFFLOAD), y) |
| 2595 | ifeq ($(CONFIG_QCACLD_FEATURE_METERING), y) |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2596 | cppflags-y += -DFEATURE_METERING |
Yun Park | 637d648 | 2016-10-05 10:51:33 -0700 | [diff] [blame] | 2597 | endif |
Yun Park | b4f591d | 2017-03-29 15:51:01 -0700 | [diff] [blame] | 2598 | endif |
Yun Park | 637d648 | 2016-10-05 10:51:33 -0700 | [diff] [blame] | 2599 | |
Chaoli Zhou | b11e18a | 2019-07-08 15:14:20 +0800 | [diff] [blame] | 2600 | #Define Max IPA interface |
| 2601 | ifeq ($(CONFIG_IPA_OFFLOAD), y) |
| 2602 | ifdef CONFIG_NUM_IPA_IFACE |
| 2603 | cppflags-y += -DMAX_IPA_IFACE=$(CONFIG_NUM_IPA_IFACE) |
| 2604 | else |
| 2605 | NUM_IPA_IFACE ?= 3 |
| 2606 | cppflags-y += -DMAX_IPA_IFACE=$(NUM_IPA_IFACE) |
| 2607 | endif |
| 2608 | endif |
| 2609 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2610 | cppflags-$(CONFIG_TUFELLO_DUAL_FW_SUPPORT) += -DCONFIG_TUFELLO_DUAL_FW_SUPPORT |
| 2611 | cppflags-$(CONFIG_CHANNEL_HOPPING_ALL_BANDS) += -DCHANNEL_HOPPING_ALL_BANDS |
gaolez | 76d2a16 | 2017-03-21 19:23:58 +0800 | [diff] [blame] | 2612 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2613 | #Enable Signed firmware support for split binary format |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2614 | cppflags-$(CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT) += -DQCA_SIGNED_SPLIT_BINARY_SUPPORT |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2615 | |
| 2616 | #Enable single firmware binary format |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2617 | cppflags-$(CONFIG_QCA_SINGLE_BINARY_SUPPORT) += -DQCA_SINGLE_BINARY_SUPPORT |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2618 | |
| 2619 | #Enable collecting target RAM dump after kernel panic |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2620 | cppflags-$(CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC) += -DTARGET_RAMDUMP_AFTER_KERNEL_PANIC |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2621 | |
| 2622 | #Enable/disable secure firmware feature |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2623 | cppflags-$(CONFIG_FEATURE_SECURE_FIRMWARE) += -DFEATURE_SECURE_FIRMWARE |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2624 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2625 | cppflags-$(CONFIG_ATH_PCIE_ACCESS_DEBUG) += -DCONFIG_ATH_PCIE_ACCESS_DEBUG |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2626 | |
Jeff Johnson | 69ba6d0 | 2018-04-12 16:05:32 -0700 | [diff] [blame] | 2627 | # Enable feature support for Linux version QCMBR |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2628 | cppflags-$(CONFIG_LINUX_QCMBR) += -DLINUX_QCMBR |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2629 | |
yuanl | 2746f07 | 2018-09-21 19:19:16 +0800 | [diff] [blame] | 2630 | # Enable feature sync tsf between multi devices |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2631 | cppflags-$(CONFIG_WLAN_SYNC_TSF) += -DWLAN_FEATURE_TSF |
| 2632 | cppflags-$(CONFIG_WLAN_SYNC_TSF_PLUS) += -DWLAN_FEATURE_TSF_PLUS |
yuanl | 2746f07 | 2018-09-21 19:19:16 +0800 | [diff] [blame] | 2633 | # Enable feature sync tsf for chips based on Adrastea arch |
| 2634 | cppflags-$(CONFIG_WLAN_SYNC_TSF_PLUS_NOIRQ) += -DWLAN_FEATURE_TSF_PLUS_NOIRQ |
Yu Wang | 000dc2f | 2017-05-26 17:38:48 +0800 | [diff] [blame] | 2635 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2636 | cppflags-$(CONFIG_ATH_PROCFS_DIAG_SUPPORT) += -DCONFIG_ATH_PROCFS_DIAG_SUPPORT |
Nirav Shah | e8ac340 | 2017-12-31 15:36:32 +0530 | [diff] [blame] | 2637 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2638 | cppflags-$(CONFIG_HELIUMPLUS) += -DHELIUMPLUS |
Manjunathappa Prakash | 7b0ad46 | 2018-04-15 00:37:16 -0700 | [diff] [blame] | 2639 | cppflags-$(CONFIG_RX_OL) += -DRECEIVE_OFFLOAD |
chenguo | 0f3636b | 2018-05-10 14:24:49 +0800 | [diff] [blame] | 2640 | cppflags-$(CONFIG_TX_TID_OVERRIDE) += -DATH_TX_PRI_OVERRIDE |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2641 | cppflags-$(CONFIG_AR900B) += -DAR900B |
| 2642 | cppflags-$(CONFIG_HTT_PADDR64) += -DHTT_PADDR64 |
| 2643 | cppflags-$(CONFIG_OL_RX_INDICATION_RECORD) += -DOL_RX_INDICATION_RECORD |
| 2644 | cppflags-$(CONFIG_TSOSEG_DEBUG) += -DTSOSEG_DEBUG |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2645 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2646 | cppflags-$(CONFIG_ENABLE_DEBUG_ADDRESS_MARKING) += -DENABLE_DEBUG_ADDRESS_MARKING |
| 2647 | cppflags-$(CONFIG_FEATURE_TSO) += -DFEATURE_TSO |
| 2648 | cppflags-$(CONFIG_FEATURE_TSO_DEBUG) += -DFEATURE_TSO_DEBUG |
Venkata Sharath Chandra Manchala | cf57262 | 2019-07-29 11:50:57 -0700 | [diff] [blame] | 2649 | cppflags-$(CONFIG_FEATURE_TSO_STATS) += -DFEATURE_TSO_STATS |
Venkata Sharath Chandra Manchala | 06f1f12 | 2019-10-29 13:22:15 -0700 | [diff] [blame] | 2650 | cppflags-$(CONFIG_FEATURE_FORCE_WAKE) += -DFORCE_WAKE |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2651 | cppflags-$(CONFIG_WLAN_LRO) += -DFEATURE_LRO |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2652 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2653 | cppflags-$(CONFIG_FEATURE_AP_MCC_CH_AVOIDANCE) += -DFEATURE_AP_MCC_CH_AVOIDANCE |
Tushnim Bhattacharyya | a2c18de | 2018-03-27 15:00:00 -0700 | [diff] [blame] | 2654 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2655 | cppflags-$(CONFIG_MPC_UT_FRAMEWORK) += -DMPC_UT_FRAMEWORK |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2656 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2657 | cppflags-$(CONFIG_FEATURE_EPPING) += -DWLAN_FEATURE_EPPING |
Nirav Shah | 459bebf | 2018-01-17 16:59:14 +0530 | [diff] [blame] | 2658 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2659 | cppflags-$(CONFIG_WLAN_OFFLOAD_PACKETS) += -DWLAN_FEATURE_OFFLOAD_PACKETS |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2660 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2661 | cppflags-$(CONFIG_WLAN_FEATURE_DISA) += -DWLAN_FEATURE_DISA |
Padma, Santhosh Kumar | d7cc079 | 2016-06-28 18:54:12 +0530 | [diff] [blame] | 2662 | |
Rajeev Kumar Sirasanagandla | 4725ae4 | 2018-05-24 22:33:34 +0530 | [diff] [blame] | 2663 | cppflags-$(CONFIG_WLAN_FEATURE_ACTION_OUI) += -DWLAN_FEATURE_ACTION_OUI |
| 2664 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2665 | cppflags-$(CONFIG_WLAN_FEATURE_FIPS) += -DWLAN_FEATURE_FIPS |
Jeff Johnson | 7869aad | 2017-05-15 15:46:36 -0700 | [diff] [blame] | 2666 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2667 | cppflags-$(CONFIG_LFR_SUBNET_DETECTION) += -DFEATURE_LFR_SUBNET_DETECTION |
Ravi Joshi | 61c3c7a | 2015-11-09 18:41:20 -0800 | [diff] [blame] | 2668 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2669 | cppflags-$(CONFIG_MCC_TO_SCC_SWITCH) += -DFEATURE_WLAN_MCC_TO_SCC_SWITCH |
Chandrasekaran Manishekar | 068e25e | 2016-03-07 11:51:07 +0530 | [diff] [blame] | 2670 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2671 | cppflags-$(CONFIG_FEATURE_WLAN_D0WOW) += -DFEATURE_WLAN_D0WOW |
Will Huang | 3cd2b7c | 2017-11-17 13:16:56 +0800 | [diff] [blame] | 2672 | |
Yue Ma | 91e1c00 | 2018-05-24 11:18:36 -0700 | [diff] [blame] | 2673 | cppflags-$(CONFIG_QCA_WIFI_NAPIER_EMULATION) += -DQCA_WIFI_NAPIER_EMULATION |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2674 | cppflags-$(CONFIG_SHADOW_V2) += -DCONFIG_SHADOW_V2 |
| 2675 | cppflags-$(CONFIG_QCA6290_HEADERS_DEF) += -DQCA6290_HEADERS_DEF |
| 2676 | cppflags-$(CONFIG_QCA_WIFI_QCA6290) += -DQCA_WIFI_QCA6290 |
Venkata Sharath Chandra Manchala | 27a4296 | 2018-06-08 17:51:44 -0700 | [diff] [blame] | 2677 | cppflags-$(CONFIG_QCA6390_HEADERS_DEF) += -DQCA6390_HEADERS_DEF |
| 2678 | cppflags-$(CONFIG_QCA_WIFI_QCA6390) += -DQCA_WIFI_QCA6390 |
Manjunathappa Prakash | 458f6fe | 2019-05-13 18:33:01 -0700 | [diff] [blame] | 2679 | cppflags-$(CONFIG_QCA6490_HEADERS_DEF) += -DQCA6490_HEADERS_DEF |
| 2680 | cppflags-$(CONFIG_QCA_WIFI_QCA6490) += -DQCA_WIFI_QCA6490 |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2681 | cppflags-$(CONFIG_QCA_WIFI_QCA8074) += -DQCA_WIFI_QCA8074 |
Venkata Sharath Chandra Manchala | 1619b73 | 2018-10-04 10:52:58 -0700 | [diff] [blame] | 2682 | cppflags-$(CONFIG_SCALE_INCLUDES) += -DSCALE_INCLUDES |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2683 | cppflags-$(CONFIG_QCA_WIFI_QCA8074_VP) += -DQCA_WIFI_QCA8074_VP |
| 2684 | cppflags-$(CONFIG_DP_INTR_POLL_BASED) += -DDP_INTR_POLL_BASED |
| 2685 | cppflags-$(CONFIG_TX_PER_PDEV_DESC_POOL) += -DTX_PER_PDEV_DESC_POOL |
| 2686 | cppflags-$(CONFIG_DP_TRACE) += -DCONFIG_DP_TRACE |
| 2687 | cppflags-$(CONFIG_FEATURE_TSO) += -DFEATURE_TSO |
| 2688 | cppflags-$(CONFIG_TSO_DEBUG_LOG_ENABLE) += -DTSO_DEBUG_LOG_ENABLE |
| 2689 | cppflags-$(CONFIG_DP_LFR) += -DDP_LFR |
Saket Jha | 8d70a68 | 2019-07-10 19:57:27 -0700 | [diff] [blame] | 2690 | cppflags-$(CONFIG_DUP_RX_DESC_WAR) += -DDUP_RX_DESC_WAR |
Saket Jha | 9953150 | 2019-08-21 15:00:49 -0700 | [diff] [blame] | 2691 | cppflags-$(CONFIG_DP_TXRX_SOC_ATTACH) += -DDP_TXRX_SOC_ATTACH |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2692 | cppflags-$(CONFIG_HTT_PADDR64) += -DHTT_PADDR64 |
Qiwei Cai | a01a962 | 2018-07-11 10:02:03 +0800 | [diff] [blame] | 2693 | cppflags-$(CONFIG_WLAN_FEATURE_BMI) += -DWLAN_FEATURE_BMI |
Visweswara Tanuku | 2e839e5 | 2019-06-11 10:16:30 +0530 | [diff] [blame] | 2694 | cppflags-$(CONFIG_QCA_TX_PADDING_CREDIT_SUPPORT) += -DQCA_TX_PADDING_CREDIT_SUPPORT |
Ajit Pal Singh | 25caf99 | 2018-10-15 15:10:18 +0530 | [diff] [blame] | 2695 | cppflags-$(CONFIG_QCN7605_SUPPORT) += -DQCN7605_SUPPORT -DPLATFORM_GENOA |
Nirav Shah | b34413a | 2018-07-31 14:26:35 +0530 | [diff] [blame] | 2696 | cppflags-$(CONFIG_HIF_REG_WINDOW_SUPPORT) += -DHIF_REG_WINDOW_SUPPORT |
Qiwei Cai | 50a2108 | 2018-08-07 14:30:09 +0800 | [diff] [blame] | 2697 | cppflags-$(CONFIG_WLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY) += -DWLAN_ALLOCATE_GLOBAL_BUFFERS_DYNAMICALLY |
Venkata Sharath Chandra Manchala | eb2d258 | 2019-05-01 13:57:11 -0700 | [diff] [blame] | 2698 | cppflags-$(CONFIG_HIF_CE_DEBUG_DATA_BUF) += -DHIF_CE_DEBUG_DATA_BUF |
Nirav Shah | c8047a8 | 2018-06-22 16:39:01 +0530 | [diff] [blame] | 2699 | ccflags-$(CONFIG_QCA_LL_TX_FLOW_CONTROL_RESIZE) += -DQCA_LL_TX_FLOW_CONTROL_RESIZE |
Nirav Shah | af1260f | 2018-09-13 23:28:13 +0530 | [diff] [blame] | 2700 | ccflags-$(CONFIG_HIF_PCI) += -DCE_SVC_CMN_INIT |
| 2701 | ccflags-$(CONFIG_HIF_SNOC) += -DCE_SVC_CMN_INIT |
Nirav Shah | c8047a8 | 2018-06-22 16:39:01 +0530 | [diff] [blame] | 2702 | |
psimha | 0b6bb89 | 2017-10-10 14:28:34 -0700 | [diff] [blame] | 2703 | ifeq ($(CONFIG_QCA6290_11AX), y) |
Vevek Venkatesan | aa66a19 | 2019-06-19 15:15:15 +0530 | [diff] [blame] | 2704 | cppflags-y += -DQCA_WIFI_QCA6290_11AX -DQCA_WIFI_QCA6290_11AX_MU_UL |
chenguo | ac840e5 | 2018-12-21 13:47:53 +0800 | [diff] [blame] | 2705 | endif |
| 2706 | |
| 2707 | ifeq ($(CONFIG_LITHIUM), y) |
chenguo | 5958e5a | 2018-09-27 19:19:57 +0800 | [diff] [blame] | 2708 | cppflags-$(CONFIG_WLAN_TX_FLOW_CONTROL_V2) += -DQCA_AC_BASED_FLOW_CONTROL |
psimha | 0b6bb89 | 2017-10-10 14:28:34 -0700 | [diff] [blame] | 2709 | endif |
| 2710 | |
Manjunathappa Prakash | eb1ec86 | 2019-07-28 00:01:18 -0700 | [diff] [blame] | 2711 | cppflags-$(CONFIG_WLAN_CLD_PM_QOS) += -DCLD_PM_QOS |
Nisha Menon | d6c2c37 | 2019-11-01 20:02:56 -0700 | [diff] [blame] | 2712 | cppflags-$(CONFIG_REO_DESC_DEFER_FREE) += -DREO_DESC_DEFER_FREE |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2713 | cppflags-$(CONFIG_WLAN_FEATURE_11AX) += -DWLAN_FEATURE_11AX |
| 2714 | cppflags-$(CONFIG_WLAN_FEATURE_11AX) += -DWLAN_FEATURE_11AX_BSS_COLOR |
Kiran Kumar Lokere | 1f96b4a | 2018-08-22 14:47:11 -0700 | [diff] [blame] | 2715 | cppflags-$(CONFIG_WLAN_FEATURE_11AX) += -DSUPPORT_11AX_D3 |
Krishna Kumaar Natarajan | 639c6ff | 2017-02-13 14:01:04 -0800 | [diff] [blame] | 2716 | |
Sravan Kumar Kairam | 7bca07e | 2018-07-05 18:32:22 +0530 | [diff] [blame] | 2717 | cppflags-$(CONFIG_LITHIUM) += -DFEATURE_AST |
Sravan Kumar Kairam | 87cd08e | 2018-09-05 19:29:12 +0530 | [diff] [blame] | 2718 | cppflags-$(CONFIG_LITHIUM) += -DPEER_PROTECTED_ACCESS |
Sravan Kumar Kairam | 782f9c1 | 2019-03-25 23:03:20 +0530 | [diff] [blame] | 2719 | cppflags-$(CONFIG_LITHIUM) += -DSERIALIZE_QUEUE_SETUP |
Jinwei Chen | deb9936 | 2019-07-17 16:04:05 +0800 | [diff] [blame] | 2720 | cppflags-$(CONFIG_LITHIUM) += -DDP_RX_PKT_NO_PEER_DELIVER |
Krunal Soni | 888d401 | 2019-02-25 16:47:21 -0800 | [diff] [blame] | 2721 | cppflags-$(CONFIG_VERBOSE_DEBUG) += -DENABLE_VERBOSE_DEBUG |
Mohit Khanna | cf139fe | 2019-01-28 12:22:14 -0800 | [diff] [blame] | 2722 | cppflags-$(CONFIG_RX_DESC_DEBUG_CHECK) += -DRX_DESC_DEBUG_CHECK |
Jinwei Chen | 795728d | 2019-11-07 16:23:20 +0800 | [diff] [blame] | 2723 | cppflags-$(CONFIG_REGISTER_OP_DEBUG) += -DHAL_REGISTER_WRITE_DEBUG |
Jinwei Chen | 230918f | 2019-11-14 13:41:16 +0800 | [diff] [blame] | 2724 | cppflags-$(CONFIG_ENABLE_QDF_PTR_HASH_DEBUG) += -DENABLE_QDF_PTR_HASH_DEBUG |
Abhishek Singh | ed19748 | 2018-09-05 13:22:02 +0530 | [diff] [blame] | 2725 | #Enable STATE MACHINE HISTORY |
| 2726 | cppflags-$(CONFIG_SM_ENG_HIST) += -DSM_ENG_HIST_ENABLE |
sandeep puligilla | 4afcb11 | 2019-04-23 13:42:51 -0700 | [diff] [blame] | 2727 | cppflags-$(CONFIG_FEATURE_VDEV_RSP_WAKELOCK) += -DFEATURE_VDEV_RSP_WAKELOCK |
Abhishek Singh | ed19748 | 2018-09-05 13:22:02 +0530 | [diff] [blame] | 2728 | |
Qiwei Cai | e689a26 | 2018-07-26 15:50:22 +0800 | [diff] [blame] | 2729 | # Vendor Commands |
| 2730 | cppflags-$(CONFIG_FEATURE_RSSI_MONITOR) += -DFEATURE_RSSI_MONITOR |
| 2731 | cppflags-$(CONFIG_FEATURE_BSS_TRANSITION) += -DFEATURE_BSS_TRANSITION |
| 2732 | cppflags-$(CONFIG_FEATURE_STATION_INFO) += -DFEATURE_STATION_INFO |
| 2733 | cppflags-$(CONFIG_FEATURE_TX_POWER) += -DFEATURE_TX_POWER |
| 2734 | cppflags-$(CONFIG_FEATURE_OTA_TEST) += -DFEATURE_OTA_TEST |
| 2735 | cppflags-$(CONFIG_FEATURE_ACTIVE_TOS) += -DFEATURE_ACTIVE_TOS |
| 2736 | cppflags-$(CONFIG_FEATURE_SAR_LIMITS) += -DFEATURE_SAR_LIMITS |
| 2737 | cppflags-$(CONFIG_FEATURE_CONCURRENCY_MATRIX) += -DFEATURE_CONCURRENCY_MATRIX |
| 2738 | cppflags-$(CONFIG_FEATURE_SAP_COND_CHAN_SWITCH) += -DFEATURE_SAP_COND_CHAN_SWITCH |
Rachit Kankane | 026e77a | 2018-07-31 16:21:09 +0530 | [diff] [blame] | 2739 | |
| 2740 | #if converged p2p is enabled |
| 2741 | ifeq ($(CONFIG_CONVERGED_P2P_ENABLE), y) |
Qiwei Cai | e689a26 | 2018-07-26 15:50:22 +0800 | [diff] [blame] | 2742 | cppflags-$(CONFIG_FEATURE_P2P_LISTEN_OFFLOAD) += -DFEATURE_P2P_LISTEN_OFFLOAD |
Rachit Kankane | 026e77a | 2018-07-31 16:21:09 +0530 | [diff] [blame] | 2743 | endif |
Qiwei Cai | e689a26 | 2018-07-26 15:50:22 +0800 | [diff] [blame] | 2744 | |
Sourav Mohapatra | 2a67b0e | 2019-10-15 17:59:59 +0530 | [diff] [blame] | 2745 | #Enable support to get ANI value |
| 2746 | ifeq ($(CONFIG_ANI_LEVEL_REQUEST), y) |
| 2747 | cppflags-y += -DFEATURE_ANI_LEVEL_REQUEST |
| 2748 | endif |
| 2749 | |
Qiwei Cai | dcb73b0 | 2018-09-17 19:58:29 +0800 | [diff] [blame] | 2750 | #Flags to enable/disable WMI APIs |
| 2751 | cppflags-$(CONFIG_WMI_ROAM_SUPPORT) += -DWMI_ROAM_SUPPORT |
| 2752 | cppflags-$(CONFIG_WMI_CONCURRENCY_SUPPORT) += -DWMI_CONCURRENCY_SUPPORT |
| 2753 | cppflags-$(CONFIG_WMI_STA_SUPPORT) += -DWMI_STA_SUPPORT |
| 2754 | |
Vevek Venkatesan | 6230c33 | 2019-06-28 18:27:05 +0530 | [diff] [blame] | 2755 | cppflags-y += -DWMI_MULTI_MAC_SVC |
| 2756 | |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 2757 | # Dummy flag for WIN/MCL converged data path compilation |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2758 | cppflags-y += -DDP_PRINT_ENABLE=0 |
| 2759 | cppflags-y += -DATH_SUPPORT_WRAP=0 |
| 2760 | cppflags-y += -DQCA_HOST2FW_RXBUF_RING |
Vevek Venkatesan | dba9bc0 | 2019-06-18 18:16:22 +0530 | [diff] [blame] | 2761 | cppflags-y += -DDP_FLOW_CTL |
| 2762 | cppflags-y += -DDP_PEER_EXTENDED_API |
| 2763 | cppflags-y += -DDP_POWER_SAVE |
| 2764 | cppflags-y += -DDP_CON_MON |
| 2765 | cppflags-y += -DDP_MOB_DEFS |
| 2766 | cppflags-y += -DDP_PRINT_NO_CONSOLE |
| 2767 | cppflags-y += -DDP_INTR_POLL_BOTH |
| 2768 | cppflags-y += -DDP_INVALID_PEER_ASSERT |
Yeshwanth Sriram Guntuka | 4382d42 | 2019-11-14 12:19:11 +0530 | [diff] [blame] | 2769 | |
| 2770 | ifdef CONFIG_HIF_LARGE_CE_RING_HISTORY |
| 2771 | ccflags-y += -DHIF_CE_HISTORY_MAX=$(CONFIG_HIF_LARGE_CE_RING_HISTORY) |
| 2772 | endif |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 2773 | #endof dummy flags |
| 2774 | |
Nirav Shah | 8ba94a5 | 2018-06-07 09:06:25 +0530 | [diff] [blame] | 2775 | ccflags-$(CONFIG_ENABLE_SIZE_OPTIMIZE) += -Os |
| 2776 | |
Arif Hussain | 757b45f | 2017-02-11 16:47:06 -0800 | [diff] [blame] | 2777 | # DFS component |
Rachit Kankane | b57ea61 | 2018-09-10 12:36:20 +0530 | [diff] [blame] | 2778 | cppflags-$(CONFIG_WLAN_DFS_STATIC_MEM_ALLOC) += -DWLAN_DFS_STATIC_MEM_ALLOC |
Wen Gong | 01a2c63 | 2018-04-11 18:34:55 +0800 | [diff] [blame] | 2779 | cppflags-$(CONFIG_WLAN_DFS_MASTER_ENABLE) += -DQCA_MCL_DFS_SUPPORT |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 2780 | ifeq ($(CONFIG_WLAN_FEATURE_DFS_OFFLOAD), y) |
Wen Gong | 01a2c63 | 2018-04-11 18:34:55 +0800 | [diff] [blame] | 2781 | cppflags-$(CONFIG_WLAN_DFS_MASTER_ENABLE) += -DWLAN_DFS_FULL_OFFLOAD |
Arif Hussain | 02c2b63 | 2018-03-08 23:09:21 -0800 | [diff] [blame] | 2782 | else |
Wen Gong | 01a2c63 | 2018-04-11 18:34:55 +0800 | [diff] [blame] | 2783 | cppflags-$(CONFIG_WLAN_DFS_MASTER_ENABLE) += -DWLAN_DFS_PARTIAL_OFFLOAD |
Arif Hussain | 02c2b63 | 2018-03-08 23:09:21 -0800 | [diff] [blame] | 2784 | endif |
Wen Gong | 01a2c63 | 2018-04-11 18:34:55 +0800 | [diff] [blame] | 2785 | cppflags-$(CONFIG_WLAN_DFS_MASTER_ENABLE) += -DDFS_COMPONENT_ENABLE |
| 2786 | cppflags-$(CONFIG_WLAN_DFS_MASTER_ENABLE) += -DQCA_DFS_USE_POLICY_MANAGER |
| 2787 | cppflags-$(CONFIG_WLAN_DFS_MASTER_ENABLE) += -DQCA_DFS_NOL_PLATFORM_DRV_SUPPORT |
Arif Hussain | 757b45f | 2017-02-11 16:47:06 -0800 | [diff] [blame] | 2788 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2789 | cppflags-$(CONFIG_WLAN_DEBUGFS) += -DWLAN_DEBUGFS |
Mahesh Kumar Kalikot Veetil | c0233a7 | 2016-10-27 15:06:05 -0700 | [diff] [blame] | 2790 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2791 | cppflags-$(CONFIG_DYNAMIC_DEBUG) += -DFEATURE_MULTICAST_HOST_FW_MSGS |
Zhu Jianmin | 35fcd0d | 2017-08-30 10:47:31 +0800 | [diff] [blame] | 2792 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2793 | cppflags-$(CONFIG_ENABLE_SMMU_S1_TRANSLATION) += -DENABLE_SMMU_S1_TRANSLATION |
Himanshu Agarwal | edf30dc | 2017-06-05 15:54:27 +0530 | [diff] [blame] | 2794 | |
Ashish Kumar Dhanotiya | 2af7f56 | 2018-07-24 15:52:46 +0530 | [diff] [blame] | 2795 | #Flag to enable/disable MTRACE feature |
| 2796 | cppflags-$(CONFIG_ENABLE_MTRACE_LOG) += -DENABLE_MTRACE_LOG |
| 2797 | |
Pragaspathi Thilagaraj | 1f3f99f | 2019-04-24 23:48:47 +0530 | [diff] [blame] | 2798 | #Flag to enable/disable Adaptive 11r feature |
| 2799 | cppflags-$(CONFIG_ADAPTIVE_11R) += -DWLAN_ADAPTIVE_11R |
| 2800 | |
Alok Kumar | b64650c | 2018-03-23 17:05:11 +0530 | [diff] [blame] | 2801 | #Flag to enable NUD tracking |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 2802 | cppflags-$(CONFIG_WLAN_NUD_TRACKING) += -DWLAN_NUD_TRACKING |
| 2803 | |
Ashish Kumar Dhanotiya | 3f78e68 | 2018-03-14 11:19:27 +0530 | [diff] [blame] | 2804 | #Flag to enable set and get disable channel list feature |
| 2805 | cppflags-$(CONFIG_DISABLE_CHANNEL_LIST) += -DDISABLE_CHANNEL_LIST |
| 2806 | |
Abhinav Kumar | dbbfd2c | 2019-05-07 12:22:06 +0530 | [diff] [blame] | 2807 | #Flag to enable/disable WIPS feature |
| 2808 | cppflags-$(CONFIG_WLAN_BCN_RECV_FEATURE) += -DWLAN_BCN_RECV_FEATURE |
| 2809 | |
Ashish Kumar Dhanotiya | aa9fdbb | 2018-12-14 15:29:14 +0530 | [diff] [blame] | 2810 | #Flag to enable/disable LTE COEX support |
Ashish Kumar Dhanotiya | ddeb4d7 | 2019-01-08 21:25:30 +0530 | [diff] [blame] | 2811 | cppflags-$(CONFIG_LTE_COEX) += -DLTE_COEX |
Ashish Kumar Dhanotiya | aa9fdbb | 2018-12-14 15:29:14 +0530 | [diff] [blame] | 2812 | |
| 2813 | #Flag to enable/disable HOST_OPCLASS |
| 2814 | cppflags-$(CONFIG_HOST_OPCLASS) += -DHOST_OPCLASS |
| 2815 | |
Ashish Kumar Dhanotiya | ddeb4d7 | 2019-01-08 21:25:30 +0530 | [diff] [blame] | 2816 | #Flag to enable/disable TARGET_11D_SCAN |
| 2817 | cppflags-$(CONFIG_TARGET_11D_SCAN) += -DTARGET_11D_SCAN |
| 2818 | |
Ashish Kumar Dhanotiya | 2168aad | 2019-06-12 20:51:36 +0530 | [diff] [blame] | 2819 | #Flag to enable/disable avoid acs frequency list feature |
| 2820 | cppflags-$(CONFIG_SAP_AVOID_ACS_FREQ_LIST) += -DSAP_AVOID_ACS_FREQ_LIST |
| 2821 | |
Rachit Kankane | f6834c4 | 2018-08-02 18:47:50 +0530 | [diff] [blame] | 2822 | #Flag to enable Dynamic Voltage WDCVS (Config Voltage Mode) |
| 2823 | cppflags-$(CONFIG_WLAN_DYNAMIC_CVM) += -DFEATURE_WLAN_DYNAMIC_CVM |
| 2824 | |
Qun Zhang | ef65562 | 2019-02-25 10:48:10 +0800 | [diff] [blame] | 2825 | #Flag to enable get firmware state feature |
| 2826 | cppflags-$(CONFIG_QCACLD_FEATURE_FW_STATE) += -DFEATURE_FW_STATE |
| 2827 | |
Jiani Liu | a5f1722 | 2019-03-04 16:22:33 +0800 | [diff] [blame] | 2828 | #Flag to enable set coex configuration feature |
| 2829 | cppflags-$(CONFIG_QCACLD_FEATURE_COEX_CONFIG) += -DFEATURE_COEX_CONFIG |
| 2830 | |
stonez | 2d68648 | 2019-03-12 14:54:26 +0800 | [diff] [blame] | 2831 | #Flag to enable MPTA helper feature |
| 2832 | cppflags-$(CONFIG_QCACLD_FEATURE_MPTA_HELPER) += -DFEATURE_MPTA_HELPER |
| 2833 | |
guangde | 4853c40 | 2019-05-06 15:54:04 +0800 | [diff] [blame] | 2834 | #Flag to enable get hw capability |
| 2835 | cppflags-$(CONFIG_QCACLD_FEATURE_HW_CAPABILITY) += -DFEATURE_HW_CAPABILITY |
| 2836 | |
Nirav Shah | 6f26133 | 2019-03-04 12:29:52 +0530 | [diff] [blame] | 2837 | cppflags-$(CONFIG_DATA_CE_SW_INDEX_NO_INLINE_UPDATE) += -DDATA_CE_SW_INDEX_NO_INLINE_UPDATE |
| 2838 | |
Varun Reddy Yeturu | cbaa004 | 2019-05-16 14:10:02 -0700 | [diff] [blame] | 2839 | #Flag to enable Multi page memory allocation for RX descriptor pool |
| 2840 | cppflags-$(CONFIG_QCACLD_RX_DESC_MULTI_PAGE_ALLOC) += -DRX_DESC_MULTI_PAGE_ALLOC |
| 2841 | |
Rakesh Pillai | f41fe0c | 2019-06-05 01:10:05 +0530 | [diff] [blame] | 2842 | cppflags-$(CONFIG_WLAN_FEATURE_DP_EVENT_HISTORY) += -DWLAN_FEATURE_DP_EVENT_HISTORY |
Venkata Sharath Chandra Manchala | af9e44a | 2019-06-18 18:10:16 -0700 | [diff] [blame] | 2843 | cppflags-$(CONFIG_WLAN_DP_PER_RING_TYPE_CONFIG) += -DWLAN_DP_PER_RING_TYPE_CONFIG |
Nirav Shah | a43f6dc | 2019-07-24 14:32:25 +0530 | [diff] [blame] | 2844 | cppflags-$(CONFIG_SAP_DHCP_FW_IND) += -DSAP_DHCP_FW_IND |
Jinwei Chen | 5423579 | 2019-10-11 10:36:47 +0800 | [diff] [blame] | 2845 | cppflags-$(CONFIG_WLAN_DP_PENDING_MEM_FLUSH) += -DWLAN_DP_PENDING_MEM_FLUSH |
Alok Kumar | a6bdc6f | 2019-11-08 11:52:38 +0530 | [diff] [blame] | 2846 | cppflags-$(CONFIG_WLAN_SUPPORT_DATA_STALL) += -DWLAN_SUPPORT_DATA_STALL |
Nirav Shah | fb9b1df | 2019-11-15 11:40:52 +0530 | [diff] [blame] | 2847 | cppflags-$(CONFIG_WLAN_SUPPORT_TXRX_HL_BUNDLE) += -DWLAN_SUPPORT_TXRX_HL_BUNDLE |
Rakesh Pillai | f41fe0c | 2019-06-05 01:10:05 +0530 | [diff] [blame] | 2848 | |
Dustin Brown | 93abc2c | 2018-10-22 13:56:01 -0700 | [diff] [blame] | 2849 | ifdef CONFIG_MAX_LOGS_PER_SEC |
| 2850 | ccflags-y += -DWLAN_MAX_LOGS_PER_SEC=$(CONFIG_MAX_LOGS_PER_SEC) |
| 2851 | endif |
| 2852 | |
Dustin Brown | 099048b | 2018-08-30 15:04:29 -0700 | [diff] [blame] | 2853 | ifdef CONFIG_SCHED_HISTORY_SIZE |
| 2854 | ccflags-y += -DWLAN_SCHED_HISTORY_SIZE=$(CONFIG_SCHED_HISTORY_SIZE) |
| 2855 | endif |
| 2856 | |
Nirav Shah | 997e083 | 2018-06-06 17:49:12 +0530 | [diff] [blame] | 2857 | # configure log buffer size |
| 2858 | ifdef CONFIG_CFG_NUM_DP_TRACE_RECORD |
| 2859 | ccflags-y += -DMAX_QDF_DP_TRACE_RECORDS=$(CONFIG_CFG_NUM_DP_TRACE_RECORD) |
| 2860 | endif |
| 2861 | |
| 2862 | ifdef CONFIG_CFG_NUM_HTC_CREDIT_HISTORY |
| 2863 | ccflags-y += -DHTC_CREDIT_HISTORY_MAX=$(CONFIG_CFG_NUM_HTC_CREDIT_HISTORY) |
| 2864 | endif |
| 2865 | |
| 2866 | ifdef CONFIG_CFG_NUM_WMI_EVENT_HISTORY |
| 2867 | ccflags-y += -DWMI_EVENT_DEBUG_MAX_ENTRY=$(CONFIG_CFG_NUM_WMI_EVENT_HISTORY) |
| 2868 | endif |
| 2869 | |
| 2870 | ifdef CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY |
| 2871 | ccflags-y += -DWMI_MGMT_EVENT_DEBUG_MAX_ENTRY=$(CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY) |
| 2872 | endif |
| 2873 | |
| 2874 | ifdef CONFIG_CFG_NUM_TX_RX_HISTOGRAM |
| 2875 | ccflags-y += -DNUM_TX_RX_HISTOGRAM=$(CONFIG_CFG_NUM_TX_RX_HISTOGRAM) |
| 2876 | endif |
| 2877 | |
| 2878 | ifdef CONFIG_CFG_NUM_RX_IND_RECORD |
| 2879 | ccflags-y += -DOL_RX_INDICATION_MAX_RECORDS=$(CONFIG_CFG_NUM_RX_IND_RECORD) |
| 2880 | endif |
| 2881 | |
Qiwei Cai | ad9b01c | 2018-07-09 17:21:31 +0800 | [diff] [blame] | 2882 | ifdef CONFIG_CFG_NUM_ROAM_DEBUG_RECORD |
| 2883 | ccflags-y += -DWLAN_ROAM_DEBUG_MAX_REC=$(CONFIG_CFG_NUM_ROAM_DEBUG_RECORD) |
| 2884 | endif |
| 2885 | |
Rachit Kankane | 8863cba | 2018-06-05 17:31:48 +0530 | [diff] [blame] | 2886 | ifdef CONFIG_CFG_PMO_WOW_FILTERS_MAX |
| 2887 | ccflags-y += -DPMO_WOW_FILTERS_MAX=$(CONFIG_CFG_PMO_WOW_FILTERS_MAX) |
| 2888 | endif |
Nirav Shah | 997e083 | 2018-06-06 17:49:12 +0530 | [diff] [blame] | 2889 | |
jsreekum | ac44b92 | 2018-06-12 20:18:39 +0530 | [diff] [blame] | 2890 | ifdef CONFIG_CFG_GTK_OFFLOAD_MAX_VDEV |
| 2891 | ccflags-y += -DCFG_TGT_DEFAULT_GTK_OFFLOAD_MAX_VDEV=$(CONFIG_CFG_GTK_OFFLOAD_MAX_VDEV) |
| 2892 | endif |
| 2893 | |
Ajit Pal Singh | a70e315 | 2019-01-03 17:13:41 +0530 | [diff] [blame] | 2894 | ifdef CONFIG_TGT_NUM_MSDU_DESC |
| 2895 | ccflags-y += -DCFG_TGT_NUM_MSDU_DESC=$(CONFIG_TGT_NUM_MSDU_DESC) |
| 2896 | endif |
| 2897 | |
Ajit Pal Singh | 7fef54a | 2019-10-09 18:32:16 +0530 | [diff] [blame] | 2898 | ifdef CONFIG_HTC_MAX_MSG_PER_BUNDLE_TX |
| 2899 | ccflags-y += -DCFG_HTC_MAX_MSG_PER_BUNDLE_TX=$(CONFIG_HTC_MAX_MSG_PER_BUNDLE_TX) |
| 2900 | endif |
| 2901 | |
jsreekum | ac44b92 | 2018-06-12 20:18:39 +0530 | [diff] [blame] | 2902 | ifdef CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV |
| 2903 | ccflags-y += -DCFG_TGT_DEFAULT_ROAM_OFFLOAD_MAX_VDEV=$(CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV) |
| 2904 | endif |
| 2905 | |
| 2906 | ifdef CONFIG_CFG_MAX_PERIODIC_TX_PTRNS |
| 2907 | ccflags-y += -DWMA_MAXNUM_PERIODIC_TX_PTRNS=$(CONFIG_CFG_MAX_PERIODIC_TX_PTRNS) |
| 2908 | endif |
| 2909 | |
| 2910 | ifdef CONFIG_CFG_MAX_STA_VDEVS |
| 2911 | ccflags-y += -DCFG_TGT_DEFAULT_MAX_STA_VDEVS=$(CONFIG_CFG_MAX_STA_VDEVS) |
| 2912 | endif |
| 2913 | |
Rachit Kankane | 0106e38 | 2018-05-16 18:59:28 +0530 | [diff] [blame] | 2914 | ifdef CONFIG_CFG_NUM_OF_ADDITIONAL_FW_PEERS |
| 2915 | ccflags-y += -DNUM_OF_ADDITIONAL_FW_PEERS=$(CONFIG_CFG_NUM_OF_ADDITIONAL_FW_PEERS) |
| 2916 | endif |
| 2917 | |
jsreekum | ac44b92 | 2018-06-12 20:18:39 +0530 | [diff] [blame] | 2918 | ifdef CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES |
| 2919 | ccflags-y += -DCFG_TGT_NUM_TDLS_CONN_TABLE_ENTRIES=$(CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES) |
| 2920 | endif |
| 2921 | |
Nirav Shah | d1fce91 | 2019-10-24 10:12:23 +0530 | [diff] [blame] | 2922 | ifdef CONFIG_CFG_TGT_AST_SKID_LIMIT |
| 2923 | ccflags-y += -DCFG_TGT_AST_SKID_LIMIT=$(CONFIG_CFG_TGT_AST_SKID_LIMIT) |
| 2924 | endif |
| 2925 | |
Nirav Shah | 2b3843e | 2019-10-24 15:10:46 +0530 | [diff] [blame] | 2926 | ifdef CONFIG_TX_RESOURCE_HIGH_TH_IN_PER |
| 2927 | ccflags-y += -DTX_RESOURCE_HIGH_TH_IN_PER=$(CONFIG_TX_RESOURCE_HIGH_TH_IN_PER) |
| 2928 | endif |
| 2929 | |
| 2930 | ifdef CONFIG_TX_RESOURCE_LOW_TH_IN_PER |
| 2931 | ccflags-y += -DTX_RESOURCE_LOW_TH_IN_PER=$(CONFIG_TX_RESOURCE_LOW_TH_IN_PER) |
| 2932 | endif |
| 2933 | |
Dustin Brown | a19834b | 2019-02-04 14:40:26 -0800 | [diff] [blame] | 2934 | CONFIG_WLAN_MAX_PSOCS ?= 1 |
| 2935 | ccflags-y += -DWLAN_MAX_PSOCS=$(CONFIG_WLAN_MAX_PSOCS) |
| 2936 | |
| 2937 | CONFIG_WLAN_MAX_PDEVS ?= 1 |
| 2938 | ccflags-y += -DWLAN_MAX_PDEVS=$(CONFIG_WLAN_MAX_PDEVS) |
| 2939 | |
| 2940 | CONFIG_WLAN_MAX_VDEVS ?= 5 |
| 2941 | ccflags-y += -DWLAN_MAX_VDEVS=$(CONFIG_WLAN_MAX_VDEVS) |
| 2942 | |
Pragaspathi Thilagaraj | 6c88d40 | 2019-07-02 18:41:34 +0530 | [diff] [blame] | 2943 | #Maximum pending commands for a vdev is calculated in vdev create handler |
| 2944 | #by WLAN_SER_MAX_PENDING_CMDS/WLAN_SER_MAX_VDEVS. For SAP case, we will need |
| 2945 | #to accommodate 32 Pending commands to handle multiple STA sending |
| 2946 | #deauth/disassoc at the same time and for STA vdev,4 non scan pending commands |
| 2947 | #are supported. So calculate WLAN_SER_MAX_PENDING_COMMANDS based on the SAP |
| 2948 | #modes supported and no of STA vdev total non scan pending queue. Reserve |
| 2949 | #additional 3 pending commands for WLAN_SER_MAX_PENDING_CMDS_AP to account for |
| 2950 | #other commands like hardware mode change. |
| 2951 | |
| 2952 | ifdef CONFIG_SIR_SAP_MAX_NUM_PEERS |
| 2953 | CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP ?=$(CONFIG_SIR_SAP_MAX_NUM_PEERS) |
| 2954 | else |
| 2955 | CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP ?=32 |
| 2956 | endif |
| 2957 | ccflags-y += -DWLAN_SER_MAX_PENDING_CMDS_AP=$(CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP)+3 |
| 2958 | |
| 2959 | CONFIG_WLAN_SER_MAX_PENDING_CMDS_STA ?= 4 |
| 2960 | ccflags-y += -DWLAN_SER_MAX_PENDING_CMDS_STA=$(CONFIG_WLAN_SER_MAX_PENDING_CMDS_STA) |
| 2961 | |
| 2962 | CONFIG_WLAN_MAX_PENDING_CMDS ?= $(CONFIG_WLAN_SER_MAX_PENDING_CMDS_AP)*3+$(CONFIG_WLAN_SER_MAX_PENDING_CMDS_STA)*2 |
| 2963 | |
| 2964 | ccflags-y += -DWLAN_SER_MAX_PENDING_CMDS=$(CONFIG_WLAN_MAX_PENDING_CMDS) |
| 2965 | |
Dustin Brown | a19834b | 2019-02-04 14:40:26 -0800 | [diff] [blame] | 2966 | CONFIG_WLAN_PDEV_MAX_VDEVS ?= $(CONFIG_WLAN_MAX_VDEVS) |
| 2967 | ccflags-y += -DWLAN_PDEV_MAX_VDEVS=$(CONFIG_WLAN_PDEV_MAX_VDEVS) |
| 2968 | |
| 2969 | CONFIG_WLAN_PSOC_MAX_VDEVS ?= $(CONFIG_WLAN_MAX_VDEVS) |
| 2970 | ccflags-y += -DWLAN_PSOC_MAX_VDEVS=$(CONFIG_WLAN_PSOC_MAX_VDEVS) |
Rachit Kankane | 154559c | 2018-07-12 14:02:30 +0530 | [diff] [blame] | 2971 | |
Harprit Chhabada | 3946d61 | 2019-03-07 16:49:18 -0800 | [diff] [blame] | 2972 | CONFIG_MAX_SCAN_CACHE_SIZE ?= 300 |
| 2973 | ccflags-y += -DMAX_SCAN_CACHE_SIZE=$(CONFIG_MAX_SCAN_CACHE_SIZE) |
| 2974 | CONFIG_SCAN_MAX_REST_TIME ?= 0 |
| 2975 | ccflags-y += -DSCAN_MAX_REST_TIME=$(CONFIG_SCAN_MAX_REST_TIME) |
| 2976 | CONFIG_SCAN_MIN_REST_TIME ?= 0 |
| 2977 | ccflags-y += -DSCAN_MIN_REST_TIME=$(CONFIG_SCAN_MIN_REST_TIME) |
| 2978 | CONFIG_SCAN_BURST_DURATION ?= 0 |
| 2979 | ccflags-y += -DSCAN_BURST_DURATION=$(CONFIG_SCAN_BURST_DURATION) |
| 2980 | CONFIG_SCAN_PROBE_SPACING_TIME ?= 0 |
| 2981 | ccflags-y += -DSCAN_PROBE_SPACING_TIME=$(CONFIG_SCAN_PROBE_SPACING_TIME) |
| 2982 | CONFIG_SCAN_PROBE_DELAY ?= 0 |
| 2983 | ccflags-y += -DSCAN_PROBE_DELAY=$(CONFIG_SCAN_PROBE_DELAY) |
| 2984 | CONFIG_SCAN_MAX_SCAN_TIME ?= 30000 |
| 2985 | ccflags-y += -DSCAN_MAX_SCAN_TIME=$(CONFIG_SCAN_MAX_SCAN_TIME) |
| 2986 | CONFIG_SCAN_NETWORK_IDLE_TIMEOUT ?= 0 |
| 2987 | ccflags-y += -DSCAN_NETWORK_IDLE_TIMEOUT=$(CONFIG_SCAN_NETWORK_IDLE_TIMEOUT) |
Jianmin Zhu | 0332a6c | 2019-04-16 16:43:36 +0800 | [diff] [blame] | 2988 | CONFIG_HIDDEN_SSID_TIME ?= 0xFFFFFFFF |
Harprit Chhabada | 3946d61 | 2019-03-07 16:49:18 -0800 | [diff] [blame] | 2989 | ccflags-y += -DHIDDEN_SSID_TIME=$(CONFIG_HIDDEN_SSID_TIME) |
| 2990 | CONFIG_SCAN_CHAN_STATS_EVENT_ENAB ?= false |
| 2991 | ccflags-y += -DSCAN_CHAN_STATS_EVENT_ENAB=$(CONFIG_SCAN_CHAN_STATS_EVENT_ENAB) |
Tushnim Bhattacharyya | 72d8120 | 2019-07-23 15:15:58 -0700 | [diff] [blame] | 2992 | CONFIG_MAX_BCN_PROBE_IN_SCAN_QUEUE ?= 150 |
| 2993 | ccflags-y += -DMAX_BCN_PROBE_IN_SCAN_QUEUE=$(CONFIG_MAX_BCN_PROBE_IN_SCAN_QUEUE) |
Harprit Chhabada | 3946d61 | 2019-03-07 16:49:18 -0800 | [diff] [blame] | 2994 | |
| 2995 | |
Tushnim Bhattacharyya | c55e9a7 | 2019-07-23 14:23:33 -0700 | [diff] [blame] | 2996 | CONFIG_MGMT_DESC_POOL_MAX ?= 64 |
| 2997 | ccflags-y += -DMGMT_DESC_POOL_MAX=$(CONFIG_MGMT_DESC_POOL_MAX) |
| 2998 | |
Rachit Kankane | 154559c | 2018-07-12 14:02:30 +0530 | [diff] [blame] | 2999 | ifdef CONFIG_SIR_SAP_MAX_NUM_PEERS |
| 3000 | ccflags-y += -DSIR_SAP_MAX_NUM_PEERS=$(CONFIG_SIR_SAP_MAX_NUM_PEERS) |
| 3001 | endif |
| 3002 | |
Ajit Pal Singh | 7210044 | 2018-12-04 17:04:36 +0530 | [diff] [blame] | 3003 | ifdef CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV |
| 3004 | ccflags-y += -DCFG_TGT_DEFAULT_BEACON_TX_OFFLOAD_MAX_VDEV=$(CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV) |
| 3005 | endif |
| 3006 | |
Rajeev Kumar | 4a8d264 | 2018-09-07 17:29:28 -0700 | [diff] [blame] | 3007 | ifdef CONFIG_LOCK_STATS_ON |
| 3008 | ccflags-y += -DQDF_LOCK_STATS=1 |
| 3009 | ccflags-y += -DQDF_LOCK_STATS_DESTROY_PRINT=0 |
Lihua Liu | e98a135 | 2019-06-18 18:38:08 +0800 | [diff] [blame] | 3010 | ifneq ($(CONFIG_ARCH_SDXPRAIRIE), y) |
Rajeev Kumar | 4a8d264 | 2018-09-07 17:29:28 -0700 | [diff] [blame] | 3011 | ccflags-y += -DQDF_LOCK_STATS_BUG_ON=1 |
Lihua Liu | e98a135 | 2019-06-18 18:38:08 +0800 | [diff] [blame] | 3012 | endif |
Rajeev Kumar | 4a8d264 | 2018-09-07 17:29:28 -0700 | [diff] [blame] | 3013 | ccflags-y += -DQDF_LOCK_STATS_LIST=1 |
| 3014 | ccflags-y += -DQDF_LOCK_STATS_LIST_SIZE=256 |
| 3015 | endif |
| 3016 | |
Visweswara Tanuku | 0b2e5e8 | 2019-03-18 14:39:54 +0530 | [diff] [blame] | 3017 | ifdef CONFIG_FW_THERMAL_THROTTLE |
| 3018 | ccflags-y += -DFW_THERMAL_THROTTLE_SUPPORT |
| 3019 | endif |
| 3020 | |
Sravan Kumar Kairam | d68f27c | 2019-03-22 18:25:50 +0530 | [diff] [blame] | 3021 | cppflags-y += -DFEATURE_NBUFF_REPLENISH_TIMER |
Sravan Kumar Kairam | 0c3f732 | 2019-04-26 16:22:28 +0530 | [diff] [blame] | 3022 | cppflags-y += -DPEER_CACHE_RX_PKTS |
Sravan Kumar Kairam | 42cedde | 2019-07-10 12:57:17 +0530 | [diff] [blame] | 3023 | cppflags-y += -DPCIE_REG_WINDOW_LOCAL_NO_CACHE |
Sravan Kumar Kairam | d68f27c | 2019-03-22 18:25:50 +0530 | [diff] [blame] | 3024 | |
Jianmin Zhu | bc99999 | 2019-10-22 23:32:56 +0800 | [diff] [blame] | 3025 | cppflags-y += -DSERIALIZE_VDEV_RESP |
Abhishek Ambure | 2ac5dec | 2019-05-27 14:56:56 +0530 | [diff] [blame] | 3026 | cppflags-y += -DTGT_IF_VDEV_MGR_CONV |
Abhishek Ambure | 2ac5dec | 2019-05-27 14:56:56 +0530 | [diff] [blame] | 3027 | |
Amar Singhal | 40dd519 | 2019-08-21 12:19:25 -0700 | [diff] [blame] | 3028 | cppflags-y += -DCONFIG_CHAN_NUM_API |
| 3029 | cppflags-y += -DCONFIG_CHAN_FREQ_API |
| 3030 | |
| 3031 | cppflags-$(CONFIG_BAND_6GHZ) += -DCONFIG_BAND_6GHZ |
Sandeep Puligilla | 425a583 | 2019-11-15 18:32:22 -0800 | [diff] [blame] | 3032 | cppflags-$(CONFIG_6G_SCAN_CHAN_SORT_ALGO) += -DFEATURE_6G_SCAN_CHAN_SORT_ALGO |
Amar Singhal | 40dd519 | 2019-08-21 12:19:25 -0700 | [diff] [blame] | 3033 | |
Jeff Johnson | 0187c62 | 2019-01-04 06:39:44 -0800 | [diff] [blame] | 3034 | ccflags-$(CONFIG_HASTINGS_BT_WAR) += -DHASTINGS_BT_WAR |
| 3035 | |
Vevek Venkatesan | 8b579f4 | 2019-06-28 18:08:52 +0530 | [diff] [blame] | 3036 | cppflags-$(CONFIG_SLUB_DEBUG_ON) += -DHIF_CONFIG_SLUB_DEBUG_ON |
Venkata Sharath Chandra Manchala | 9173dd5 | 2019-11-14 17:01:55 -0800 | [diff] [blame] | 3037 | cppflags-$(CONFIG_SLUB_DEBUG_ON) += -DHAL_CONFIG_SLUB_DEBUG_ON |
Vevek Venkatesan | 8b579f4 | 2019-06-28 18:08:52 +0530 | [diff] [blame] | 3038 | |
Jianmin Zhu | fa587a8 | 2019-07-11 16:43:04 +0800 | [diff] [blame] | 3039 | ccflags-$(CONFIG_FOURTH_CONNECTION) += -DFEATURE_FOURTH_CONNECTION |
Manikandan Mohan | 1baadae | 2019-08-23 08:32:56 -0700 | [diff] [blame] | 3040 | ccflags-$(CONFIG_WMI_SEND_RECV_QMI) += -DWLAN_FEATURE_WMI_SEND_RECV_QMI |
Jianmin Zhu | fa587a8 | 2019-07-11 16:43:04 +0800 | [diff] [blame] | 3041 | |
Sravan Kumar Kairam | 3bc886d | 2019-08-22 23:46:27 +0530 | [diff] [blame] | 3042 | cppflags-$(CONFIG_WDI3_STATS_UPDATE) += -DWDI3_STATS_UPDATE |
| 3043 | |
Jeff Johnson | ee86984 | 2018-04-17 11:14:03 -0700 | [diff] [blame] | 3044 | KBUILD_CPPFLAGS += $(cppflags-y) |
Alok Kumar | b64650c | 2018-03-23 17:05:11 +0530 | [diff] [blame] | 3045 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3046 | # Currently, for versions of gcc which support it, the kernel Makefile |
| 3047 | # is disabling the maybe-uninitialized warning. Re-enable it for the |
Jeff Johnson | 3a7a9c6 | 2018-04-07 18:30:05 -0700 | [diff] [blame] | 3048 | # WLAN driver. Note that we must use ccflags-y here so that it |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3049 | # will override the kernel settings. |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 3050 | ifeq ($(call cc-option-yn, -Wmaybe-uninitialized), y) |
Jeff Johnson | 3a7a9c6 | 2018-04-07 18:30:05 -0700 | [diff] [blame] | 3051 | ccflags-y += -Wmaybe-uninitialized |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 3052 | ifneq (y,$(CONFIG_ARCH_MSM)) |
Jeff Johnson | 3a7a9c6 | 2018-04-07 18:30:05 -0700 | [diff] [blame] | 3053 | ccflags-y += -Wframe-larger-than=4096 |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 3054 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3055 | endif |
Jeff Johnson | 3a7a9c6 | 2018-04-07 18:30:05 -0700 | [diff] [blame] | 3056 | ccflags-y += -Wmissing-prototypes |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3057 | |
Jeff Johnson | eadeb93 | 2018-04-07 15:32:36 -0700 | [diff] [blame] | 3058 | ifeq ($(call cc-option-yn, -Wheader-guard), y) |
Jeff Johnson | 3a7a9c6 | 2018-04-07 18:30:05 -0700 | [diff] [blame] | 3059 | ccflags-y += -Wheader-guard |
Srinivas Girigowda | 0a85ccd | 2016-12-01 14:58:08 -0800 | [diff] [blame] | 3060 | endif |
Samuel Ahn | c9c48ca | 2016-09-19 15:46:36 +0530 | [diff] [blame] | 3061 | # If the module name is not "wlan", then the define MULTI_IF_NAME to be the |
Yu Wang | 66e4ff2 | 2017-02-15 19:09:24 +0800 | [diff] [blame] | 3062 | # same a the QCA CHIP name. The host driver will then append MULTI_IF_NAME to |
Samuel Ahn | c9c48ca | 2016-09-19 15:46:36 +0530 | [diff] [blame] | 3063 | # any string that must be unique for all instances of the driver on the system. |
| 3064 | # This allows multiple instances of the driver with different module names. |
| 3065 | # If the module name is wlan, leave MULTI_IF_NAME undefined and the code will |
| 3066 | # treat the driver as the primary driver. |
Yu Wang | 7d866f6 | 2019-03-13 17:55:44 +0800 | [diff] [blame] | 3067 | # |
| 3068 | # If DYNAMIC_SINGLE_CHIP is defined, which means there are multiple possible |
| 3069 | # drivers, but only 1 driver will be loaded at a time(WLAN dynamic detect), |
| 3070 | # leave MULTI_IF_NAME undefined, no matter what the module name is, then |
| 3071 | # host driver will only append DYNAMIC_SINGLE_CHIP to the path of |
| 3072 | # firmware/mac/ini file. |
| 3073 | ifneq ($(DYNAMIC_SINGLE_CHIP),) |
| 3074 | ccflags-y += -DDYNAMIC_SINGLE_CHIP=\"$(DYNAMIC_SINGLE_CHIP)\" |
| 3075 | else |
| 3076 | |
Samuel Ahn | c9c48ca | 2016-09-19 15:46:36 +0530 | [diff] [blame] | 3077 | ifneq ($(MODNAME), wlan) |
Yu Wang | 66e4ff2 | 2017-02-15 19:09:24 +0800 | [diff] [blame] | 3078 | CHIP_NAME ?= $(MODNAME) |
Jeff Johnson | b4e2d82 | 2018-04-12 15:53:24 -0700 | [diff] [blame] | 3079 | ccflags-y += -DMULTI_IF_NAME=\"$(CHIP_NAME)\" |
Samuel Ahn | c9c48ca | 2016-09-19 15:46:36 +0530 | [diff] [blame] | 3080 | endif |
| 3081 | |
Yu Wang | 7d866f6 | 2019-03-13 17:55:44 +0800 | [diff] [blame] | 3082 | endif #DYNAMIC_SINGLE_CHIP |
| 3083 | |
Samuel Ahn | c9c48ca | 2016-09-19 15:46:36 +0530 | [diff] [blame] | 3084 | # WLAN_HDD_ADAPTER_MAGIC must be unique for all instances of the driver on the |
| 3085 | # system. If it is not defined, then the host driver will use the first 4 |
| 3086 | # characters (including NULL) of MULTI_IF_NAME to construct |
| 3087 | # WLAN_HDD_ADAPTER_MAGIC. |
| 3088 | ifdef WLAN_HDD_ADAPTER_MAGIC |
Jeff Johnson | b4e2d82 | 2018-04-12 15:53:24 -0700 | [diff] [blame] | 3089 | ccflags-y += -DWLAN_HDD_ADAPTER_MAGIC=$(WLAN_HDD_ADAPTER_MAGIC) |
Samuel Ahn | c9c48ca | 2016-09-19 15:46:36 +0530 | [diff] [blame] | 3090 | endif |
Srinivas Girigowda | 0a85ccd | 2016-12-01 14:58:08 -0800 | [diff] [blame] | 3091 | |
sheenam monga | 7082387 | 2019-05-22 18:37:03 +0530 | [diff] [blame] | 3092 | # Max no of Serialization msg queue depth for MCL. If it is not |
| 3093 | # defined, then SCHEDULER_CORE_MAX_MESSAGES will be 4000 for |
| 3094 | # WIN. |
| 3095 | |
| 3096 | ccflags-y += -DSCHEDULER_CORE_MAX_MESSAGES=1000 |
| 3097 | |
sheenam monga | fa3cb43 | 2019-05-24 13:55:05 +0530 | [diff] [blame] | 3098 | # Defining Reduction Limit 0 for MCL. If it is not defined, |
| 3099 | #then WLAN_SCHED_REDUCTION_LIMIT will be 32 for |
| 3100 | # WIN. |
| 3101 | ccflags-y += -DWLAN_SCHED_REDUCTION_LIMIT=0 |
| 3102 | |
Dustin Brown | 9b217c0 | 2018-03-29 11:17:53 -0700 | [diff] [blame] | 3103 | # Determine if we are building against an arm architecture host |
| 3104 | ifeq ($(findstring arm, $(ARCH)),) |
Jeff Johnson | b4e2d82 | 2018-04-12 15:53:24 -0700 | [diff] [blame] | 3105 | ccflags-y += -DWLAN_HOST_ARCH_ARM=0 |
Dustin Brown | 9b217c0 | 2018-03-29 11:17:53 -0700 | [diff] [blame] | 3106 | else |
Jeff Johnson | b4e2d82 | 2018-04-12 15:53:24 -0700 | [diff] [blame] | 3107 | ccflags-y += -DWLAN_HOST_ARCH_ARM=1 |
Dustin Brown | 9b217c0 | 2018-03-29 11:17:53 -0700 | [diff] [blame] | 3108 | endif |
| 3109 | |
Naveen Rawat | 9383625 | 2017-06-20 16:30:59 -0700 | [diff] [blame] | 3110 | # inject some build related information |
Dustin Brown | 96cd963 | 2017-11-13 12:45:04 -0800 | [diff] [blame] | 3111 | ifeq ($(CONFIG_BUILD_TAG), y) |
Dustin Brown | 0e769d0 | 2017-11-14 12:52:32 -0800 | [diff] [blame] | 3112 | CLD_CHECKOUT = $(shell cd "$(WLAN_ROOT)" && \ |
Dustin Brown | b0c53a8 | 2018-09-10 13:59:38 -0700 | [diff] [blame] | 3113 | git reflog | grep -vm1 "}: cherry-pick: " | grep -oE ^[0-f]+) |
Dustin Brown | 0e769d0 | 2017-11-14 12:52:32 -0800 | [diff] [blame] | 3114 | CLD_IDS = $(shell cd "$(WLAN_ROOT)" && \ |
Dustin Brown | b0c53a8 | 2018-09-10 13:59:38 -0700 | [diff] [blame] | 3115 | git log -50 $(CLD_CHECKOUT)~..HEAD | \ |
Dustin Brown | 0e769d0 | 2017-11-14 12:52:32 -0800 | [diff] [blame] | 3116 | sed -nE 's/^\s*Change-Id: (I[0-f]{10})[0-f]{30}\s*$$/\1/p' | \ |
| 3117 | paste -sd "," -) |
| 3118 | |
| 3119 | CMN_CHECKOUT = $(shell cd "$(WLAN_COMMON_INC)" && \ |
Dustin Brown | b0c53a8 | 2018-09-10 13:59:38 -0700 | [diff] [blame] | 3120 | git reflog | grep -vm1 "}: cherry-pick: " | grep -oE ^[0-f]+) |
Dustin Brown | 0e769d0 | 2017-11-14 12:52:32 -0800 | [diff] [blame] | 3121 | CMN_IDS = $(shell cd "$(WLAN_COMMON_INC)" && \ |
Dustin Brown | b0c53a8 | 2018-09-10 13:59:38 -0700 | [diff] [blame] | 3122 | git log -50 $(CMN_CHECKOUT)~..HEAD | \ |
Dustin Brown | 0e769d0 | 2017-11-14 12:52:32 -0800 | [diff] [blame] | 3123 | sed -nE 's/^\s*Change-Id: (I[0-f]{10})[0-f]{30}\s*$$/\1/p' | \ |
| 3124 | paste -sd "," -) |
| 3125 | |
Dustin Brown | 96cd963 | 2017-11-13 12:45:04 -0800 | [diff] [blame] | 3126 | TIMESTAMP = $(shell date -u +'%Y-%m-%dT%H:%M:%SZ') |
Dustin Brown | 0e769d0 | 2017-11-14 12:52:32 -0800 | [diff] [blame] | 3127 | BUILD_TAG = "$(TIMESTAMP); cld:$(CLD_IDS); cmn:$(CMN_IDS);" |
Mahesh Kumar Kalikot Veetil | 48af32b | 2018-02-23 11:50:19 -0800 | [diff] [blame] | 3128 | # It's assumed that BUILD_TAG is used only in wlan_hdd_main.c |
| 3129 | CFLAGS_wlan_hdd_main.o += -DBUILD_TAG=\"$(BUILD_TAG)\" |
Naveen Rawat | 9383625 | 2017-06-20 16:30:59 -0700 | [diff] [blame] | 3130 | endif |
| 3131 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3132 | # Module information used by KBuild framework |
| 3133 | obj-$(CONFIG_QCA_CLD_WLAN) += $(MODNAME).o |
| 3134 | $(MODNAME)-y := $(OBJS) |
Srinivas Girigowda | c7a1b0a | 2017-12-08 12:00:00 -0800 | [diff] [blame] | 3135 | OBJS_DIRS := $(dir $(OBJS)) \ |
| 3136 | $(WLAN_COMMON_ROOT)/$(HIF_CE_DIR)/ \ |
| 3137 | $(QDF_OBJ_DIR)/ \ |
| 3138 | $(WLAN_COMMON_ROOT)/$(HIF_PCIE_DIR)/ \ |
| 3139 | $(WLAN_COMMON_ROOT)/$(HIF_SNOC_DIR)/ \ |
| 3140 | $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/ |
| 3141 | CLEAN_DIRS := $(addsuffix *.o,$(sort $(OBJS_DIRS))) \ |
| 3142 | $(addsuffix .*.o.cmd,$(sort $(OBJS_DIRS))) |
| 3143 | clean-files := $(CLEAN_DIRS) |