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),) |
| 4 | KERNEL_BUILD := 1 |
| 5 | else |
| 6 | KERNEL_BUILD := 0 |
| 7 | endif |
| 8 | |
Leo Chang | 395cbb5 | 2016-11-11 14:35:03 -0800 | [diff] [blame] | 9 | ifeq ($(CONFIG_CNSS_QCA6290), y) |
| 10 | CONFIG_LITHIUM := y |
Krishna Kumaar Natarajan | 639c6ff | 2017-02-13 14:01:04 -0800 | [diff] [blame] | 11 | CONFIG_WLAN_FEATURE_11AX := y |
Leo Chang | 395cbb5 | 2016-11-11 14:35:03 -0800 | [diff] [blame] | 12 | endif |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 13 | |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 14 | ifeq ($(CONFIG_CLD_HL_SDIO_CORE), y) |
| 15 | CONFIG_QCA_WIFI_SDIO := 1 |
| 16 | endif |
| 17 | |
| 18 | ifeq ($(CONFIG_QCA_WIFI_SDIO), 1) |
| 19 | CONFIG_ROME_IF = sdio |
| 20 | endif |
| 21 | |
Houston Hoffman | 57d10c2 | 2016-03-08 13:04:20 -0800 | [diff] [blame] | 22 | ifdef CONFIG_ICNSS |
| 23 | CONFIG_ROME_IF = snoc |
| 24 | endif |
| 25 | |
Yue Ma | e6a7a32 | 2016-08-31 11:09:23 -0700 | [diff] [blame] | 26 | ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS2))) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 27 | ifndef CONFIG_ROME_IF |
| 28 | #use pci as default interface |
| 29 | CONFIG_ROME_IF = pci |
| 30 | endif |
| 31 | endif |
| 32 | |
| 33 | ifeq ($(KERNEL_BUILD),1) |
| 34 | # These are provided in external module based builds |
| 35 | # Need to explicitly define for Kernel-based builds |
| 36 | MODNAME := wlan |
| 37 | WLAN_ROOT := drivers/staging/qcacld-3.0 |
Houston Hoffman | 52ec669 | 2016-04-21 16:36:45 -0700 | [diff] [blame] | 38 | WLAN_COMMON_ROOT := ../qca-wifi-host-cmn |
| 39 | WLAN_COMMON_INC := $(WLAN_ROOT)/$(WLAN_COMMON_ROOT) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 40 | endif |
| 41 | |
| 42 | # Make WLAN as open-source driver by default |
| 43 | WLAN_OPEN_SOURCE := 1 |
| 44 | |
| 45 | ifeq ($(KERNEL_BUILD), 0) |
| 46 | # These are configurable via Kconfig for kernel-based builds |
| 47 | # Need to explicitly configure for Android-based builds |
| 48 | |
| 49 | ifeq ($(CONFIG_ARCH_MDM9630), y) |
| 50 | CONFIG_MOBILE_ROUTER := y |
| 51 | endif |
| 52 | |
| 53 | ifeq ($(CONFIG_ARCH_MDM9640), y) |
| 54 | CONFIG_MOBILE_ROUTER := y |
| 55 | endif |
| 56 | |
bings | 7762da1 | 2017-03-06 07:21:04 +0800 | [diff] [blame] | 57 | ifeq ($(CONFIG_ARCH_SDXHEDGEHOG), y) |
| 58 | CONFIG_MOBILE_ROUTER := y |
| 59 | endif |
| 60 | |
Chandrasekaran, Manishekar | b2d9fa1 | 2016-04-07 12:00:10 +0530 | [diff] [blame] | 61 | # As per target team, build is done as follows: |
| 62 | # Defconfig : build with default flags |
| 63 | # Slub : defconfig + CONFIG_SLUB_DEBUG=y + |
| 64 | # CONFIG_SLUB_DEBUG_ON=y + CONFIG_PAGE_POISONING=y |
| 65 | # Perf : Using appropriate msmXXXX-perf_defconfig |
| 66 | # |
| 67 | # Shipment builds (user variants) should not have any debug feature |
| 68 | # enabled. This is identified using 'TARGET_BUILD_VARIANT'. Slub builds |
| 69 | # are identified using the CONFIG_SLUB_DEBUG_ON configuration. Since |
| 70 | # there is no other way to identify defconfig builds, QCOMs internal |
| 71 | # representation of perf builds (identified using the string 'perf'), |
| 72 | # is used to identify if the build is a slub or defconfig one. This |
| 73 | # way no critical debug feature will be enabled for perf and shipment |
| 74 | # builds. Other OEMs are also protected using the TARGET_BUILD_VARIANT |
| 75 | # config. |
| 76 | ifneq ($(TARGET_BUILD_VARIANT),user) |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 77 | ifeq ($(CONFIG_LITHIUM), y) |
Ravi Joshi | fc2ed78 | 2016-11-22 17:36:50 -0800 | [diff] [blame] | 78 | CONFIG_FEATURE_PKTLOG := n |
| 79 | else |
| 80 | CONFIG_FEATURE_PKTLOG := y |
| 81 | endif |
Chandrasekaran, Manishekar | b2d9fa1 | 2016-04-07 12:00:10 +0530 | [diff] [blame] | 82 | endif |
| 83 | |
Varun Reddy Yeturu | bbbbe23 | 2016-02-29 14:01:57 -0800 | [diff] [blame] | 84 | #Flag to enable Legacy Fast Roaming2(LFR2) |
| 85 | CONFIG_QCACLD_WLAN_LFR2 := y |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 86 | #Flag to enable Legacy Fast Roaming3(LFR3) |
| 87 | CONFIG_QCACLD_WLAN_LFR3 := y |
| 88 | |
Sridhar Selvaraj | dc400d2 | 2016-10-18 17:18:03 +0530 | [diff] [blame] | 89 | #Enable Power debugfs feature only if debug_fs is enabled |
| 90 | ifeq ($(CONFIG_DEBUG_FS), y) |
| 91 | CONFIG_WLAN_POWER_DEBUGFS := y |
| 92 | endif |
| 93 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 94 | # JB kernel has CPU enablement patches, so enable |
| 95 | ifeq ($(CONFIG_ROME_IF),pci) |
| 96 | CONFIG_PRIMA_WLAN_11AC_HIGH_TP := y |
| 97 | endif |
| 98 | ifeq ($(CONFIG_ROME_IF),usb) |
| 99 | CONFIG_PRIMA_WLAN_11AC_HIGH_TP := n |
| 100 | endif |
| 101 | ifeq ($(CONFIG_ROME_IF),sdio) |
| 102 | CONFIG_PRIMA_WLAN_11AC_HIGH_TP := n |
| 103 | endif |
| 104 | |
| 105 | ifneq ($(CONFIG_MOBILE_ROUTER), y) |
| 106 | #Flag to enable TDLS feature |
| 107 | CONFIG_QCOM_TDLS := y |
| 108 | endif |
| 109 | |
| 110 | ifeq ($(CONFIG_MOBILE_ROUTER), y) |
| 111 | CONFIG_QCACLD_FEATURE_GREEN_AP := y |
| 112 | endif |
Ashwini Muduganti | 7964982 | 2016-11-16 11:29:50 -0800 | [diff] [blame] | 113 | ifeq ($(CONFIG_ARCH_MSM8998), y) |
Jeff Johnson | a630025 | 2016-09-28 15:58:55 -0700 | [diff] [blame] | 114 | CONFIG_QCACLD_FEATURE_GREEN_AP := y |
Yun Park | 637d648 | 2016-10-05 10:51:33 -0700 | [diff] [blame] | 115 | CONFIG_QCACLD_FEATURE_METERING := y |
Jeff Johnson | a630025 | 2016-09-28 15:58:55 -0700 | [diff] [blame] | 116 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 117 | |
Poddar, Siddarth | 1bec7ae | 2017-01-24 18:02:31 +0530 | [diff] [blame] | 118 | ifeq ($(CONFIG_ARCH_SDM660), y) |
Ashish Kumar Dhanotiya | 5e6cfc0 | 2017-03-16 16:51:01 +0530 | [diff] [blame] | 119 | CONFIG_QCACLD_FEATURE_GREEN_AP := y |
Poddar, Siddarth | 1bec7ae | 2017-01-24 18:02:31 +0530 | [diff] [blame] | 120 | CONFIG_QCACLD_FEATURE_METERING := y |
| 121 | endif |
| 122 | |
| 123 | ifeq ($(CONFIG_ARCH_SDM630), y) |
| 124 | CONFIG_QCACLD_FEATURE_METERING := y |
| 125 | endif |
| 126 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 127 | #Flag to enable Fast Transition (11r) feature |
| 128 | CONFIG_QCOM_VOWIFI_11R := y |
| 129 | |
| 130 | ifneq ($(CONFIG_QCA_CLD_WLAN),) |
Yue Ma | e6a7a32 | 2016-08-31 11:09:23 -0700 | [diff] [blame] | 131 | ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS2) $(CONFIG_ICNSS))) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 132 | #Flag to enable Protected Managment Frames (11w) feature |
| 133 | CONFIG_WLAN_FEATURE_11W := y |
| 134 | #Flag to enable LTE CoEx feature |
| 135 | CONFIG_QCOM_LTE_COEX := y |
| 136 | ifneq ($(CONFIG_MOBILE_ROUTER), y) |
| 137 | #Flag to enable LPSS feature |
| 138 | CONFIG_WLAN_FEATURE_LPSS := y |
| 139 | endif |
| 140 | endif |
| 141 | endif |
| 142 | |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 143 | #Flag to enable Protected Managment Frames (11w) feature |
| 144 | ifeq ($(CONFIG_ROME_IF),usb) |
| 145 | CONFIG_WLAN_FEATURE_11W := y |
| 146 | endif |
| 147 | ifeq ($(CONFIG_ROME_IF),sdio) |
| 148 | CONFIG_WLAN_FEATURE_11W := y |
| 149 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 150 | |
gbian | e55c956 | 2016-11-01 14:47:47 +0800 | [diff] [blame] | 151 | #Flag to enable the tx desc sanity check |
| 152 | ifeq ($(CONFIG_ROME_IF),usb) |
| 153 | CONFIG_QCA_TXDESC_SANITY_CHECKS := y |
| 154 | endif |
| 155 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 156 | ifneq ($(CONFIG_MOBILE_ROUTER), y) |
| 157 | #Flag to enable NAN |
| 158 | CONFIG_QCACLD_FEATURE_NAN := y |
| 159 | endif |
| 160 | |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 161 | ifneq ($(CONFIG_MOBILE_ROUTER), y) |
| 162 | #Flag to enable NAN Data path |
| 163 | CONFIG_WLAN_FEATURE_NAN_DATAPATH := y |
Naveen Rawat | 3cb5981 | 2017-03-28 16:59:08 -0700 | [diff] [blame] | 164 | CONFIG_NAN_CONVERGENCE := y |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 165 | endif |
| 166 | |
| 167 | #Flag to enable Linux QCMBR feature as default feature |
| 168 | ifeq ($(CONFIG_ROME_IF),usb) |
| 169 | CONFIG_LINUX_QCMBR :=y |
| 170 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 171 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 172 | CONFIG_MPC_UT_FRAMEWORK := y |
| 173 | |
| 174 | #Flag to enable offload packets feature |
| 175 | CONFIG_WLAN_OFFLOAD_PACKETS := y |
| 176 | |
Manikandan Mohan | 5356c2b | 2016-04-03 15:51:35 -0700 | [diff] [blame] | 177 | #enable TSF get feature |
| 178 | CONFIG_WLAN_SYNC_TSF := y |
Agrawal Ashish | b141b09 | 2016-09-02 19:59:26 +0530 | [diff] [blame] | 179 | #Enable DSRC feature |
| 180 | |
| 181 | ifeq ($(CONFIG_QCA_WIFI_SDIO), 1) |
| 182 | CONFIG_WLAN_FEATURE_DSRC := y |
| 183 | endif |
Manikandan Mohan | 5356c2b | 2016-04-03 15:51:35 -0700 | [diff] [blame] | 184 | |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 185 | ifneq ($(CONFIG_ROME_IF),sdio) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 186 | #Flag to enable memdump feature |
Krishna Kumaar Natarajan | e42bb17 | 2016-06-09 18:24:04 -0700 | [diff] [blame] | 187 | CONFIG_WLAN_FEATURE_MEMDUMP := n |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 188 | |
Padma, Santhosh Kumar | d7cc079 | 2016-06-28 18:54:12 +0530 | [diff] [blame] | 189 | #Flag to enable DISA |
| 190 | CONFIG_WLAN_FEATURE_DISA := y |
| 191 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 192 | #Flag to enable Fast Path feature |
| 193 | CONFIG_WLAN_FASTPATH := y |
| 194 | |
| 195 | # Flag to enable NAPI |
Leo Chang | 395cbb5 | 2016-11-11 14:35:03 -0800 | [diff] [blame] | 196 | ifeq (y,$(CONFIG_LITHIUM)) |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 197 | CONFIG_WLAN_NAPI := n |
| 198 | CONFIG_WLAN_NAPI_DEBUG := n |
| 199 | else |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 200 | CONFIG_WLAN_NAPI := y |
| 201 | CONFIG_WLAN_NAPI_DEBUG := n |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 202 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 203 | # Flag to enable FW based TX Flow control |
Nirav Shah | 9d7f2e8 | 2015-09-28 11:09:09 -0700 | [diff] [blame] | 204 | ifeq ($(CONFIG_CNSS_EOS),y) |
| 205 | CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y |
| 206 | else |
| 207 | CONFIG_WLAN_TX_FLOW_CONTROL_V2 := n |
| 208 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 209 | |
| 210 | # Flag to enable LRO (Large Receive Offload) |
Manjunathappa Prakash | beeacb1 | 2016-06-17 18:18:32 -0700 | [diff] [blame] | 211 | ifeq ($(CONFIG_INET_LRO), y) |
Manjunathappa Prakash | 4282a01 | 2017-05-23 19:06:46 -0700 | [diff] [blame] | 212 | CONFIG_WLAN_LRO := y |
| 213 | else |
| 214 | CONFIG_WLAN_LRO := n |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 215 | endif |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 216 | endif |
Ravi Joshi | 61c3c7a | 2015-11-09 18:41:20 -0800 | [diff] [blame] | 217 | |
Manjunathappa Prakash | fa34599 | 2016-04-21 16:45:40 -0700 | [diff] [blame] | 218 | ifeq ($(CONFIG_ROME_IF), snoc) |
| 219 | CONFIG_WLAN_TX_FLOW_CONTROL_V2 := y |
| 220 | endif |
| 221 | |
Ravi Joshi | 61c3c7a | 2015-11-09 18:41:20 -0800 | [diff] [blame] | 222 | # Flag to enable LFR Subnet Detection |
| 223 | CONFIG_LFR_SUBNET_DETECTION := y |
Chandrasekaran Manishekar | 068e25e | 2016-03-07 11:51:07 +0530 | [diff] [blame] | 224 | |
| 225 | # Flag to enable MCC to SCC switch feature |
| 226 | CONFIG_MCC_TO_SCC_SWITCH := y |
Mahesh Kumar Kalikot Veetil | c0233a7 | 2016-10-27 15:06:05 -0700 | [diff] [blame] | 227 | |
| 228 | ifeq ($(CONFIG_DEBUG_FS), y) |
| 229 | # Flag to enable debugfs. Depends on CONFIG_DEBUG_FS in kernel |
| 230 | # configuration. |
| 231 | CONFIG_WLAN_DEBUGFS := y |
| 232 | endif |
| 233 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 234 | endif |
| 235 | |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 236 | # If not set, assume, Common driver is with in the build tree |
Yu Wang | c8a6c49 | 2017-02-13 14:20:15 +0800 | [diff] [blame] | 237 | WLAN_COMMON_ROOT ?= ../qca-wifi-host-cmn |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 238 | WLAN_COMMON_INC ?= $(WLAN_ROOT)/$(WLAN_COMMON_ROOT) |
| 239 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 240 | ifneq ($(CONFIG_MOBILE_ROUTER), y) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 241 | CONFIG_QCOM_ESE := y |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 242 | endif |
| 243 | |
| 244 | # Feature flags which are not (currently) configurable via Kconfig |
| 245 | |
| 246 | #Whether to build debug version |
| 247 | BUILD_DEBUG_VERSION := 1 |
| 248 | |
| 249 | #Enable this flag to build driver in diag version |
| 250 | BUILD_DIAG_VERSION := 1 |
| 251 | |
| 252 | #Do we panic on bug? default is to warn |
| 253 | PANIC_ON_BUG := 1 |
| 254 | |
| 255 | #Enable OL debug and wmi unified functions |
| 256 | CONFIG_ATH_PERF_PWR_OFFLOAD := 1 |
| 257 | |
| 258 | #Disable packet log |
| 259 | CONFIG_REMOVE_PKT_LOG := 0 |
| 260 | |
| 261 | #Enable 11AC TX |
| 262 | ifeq ($(CONFIG_ROME_IF),pci) |
| 263 | CONFIG_ATH_11AC_TXCOMPACT := 1 |
| 264 | endif |
| 265 | ifeq ($(CONFIG_ROME_IF),usb) |
| 266 | CONFIG_ATH_11AC_TXCOMPACT := 0 |
| 267 | endif |
| 268 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 269 | #Enable OS specific IRQ abstraction |
| 270 | CONFIG_ATH_SUPPORT_SHARED_IRQ := 1 |
| 271 | |
| 272 | #Enable message based HIF instead of RAW access in BMI |
| 273 | ifeq ($(CONFIG_QCA_WIFI_SDIO), 1) |
| 274 | CONFIG_HIF_MESSAGE_BASED := 0 |
| 275 | else |
| 276 | CONFIG_HIF_MESSAGE_BASED := 1 |
| 277 | endif |
| 278 | |
| 279 | #Enable PCI specific APIS (dma, etc) |
| 280 | ifeq ($(CONFIG_ROME_IF),pci) |
| 281 | CONFIG_HIF_PCI := 1 |
| 282 | endif |
| 283 | |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 284 | #Enable USB specific APIS |
| 285 | ifeq ($(CONFIG_ROME_IF),usb) |
| 286 | CONFIG_HIF_USB := 1 |
Mohit Khanna | e7a4357 | 2016-10-10 17:34:21 -0700 | [diff] [blame] | 287 | CONFIG_PLD_USB_CNSS := y |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 288 | endif |
| 289 | |
Yu Wang | 58e1cad | 2017-02-10 17:43:15 +0800 | [diff] [blame] | 290 | #Enable SDIO specific APIS |
| 291 | ifeq ($(CONFIG_ROME_IF),sdio) |
| 292 | CONFIG_HIF_SDIO := 1 |
| 293 | endif |
| 294 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 295 | #Enable pci read/write config functions |
| 296 | ifeq ($(CONFIG_ROME_IF),pci) |
| 297 | CONFIG_ATH_PCI := 1 |
| 298 | endif |
Houston Hoffman | 52ec669 | 2016-04-21 16:36:45 -0700 | [diff] [blame] | 299 | |
| 300 | ifeq ($(CONFIG_ROME_IF),snoc) |
| 301 | CONFIG_HIF_SNOC:= 1 |
| 302 | endif |
| 303 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 304 | ifneq ($(CONFIG_MOBILE_ROUTER), y) |
| 305 | #Enable IBSS support on CLD |
| 306 | CONFIG_QCA_IBSS_SUPPORT := 1 |
| 307 | endif |
| 308 | |
| 309 | #Enable power management suspend/resume functionality to PCI |
| 310 | CONFIG_ATH_BUS_PM := 1 |
| 311 | |
| 312 | #Enable FLOWMAC module support |
| 313 | CONFIG_ATH_SUPPORT_FLOWMAC_MODULE := 0 |
| 314 | |
| 315 | #Enable spectral support |
| 316 | CONFIG_ATH_SUPPORT_SPECTRAL := 0 |
| 317 | |
| 318 | #Enable HOST statistics support |
| 319 | CONFIG_SUPPORT_HOST_STATISTICS := 0 |
| 320 | |
| 321 | #Enable WDI Event support |
| 322 | CONFIG_WDI_EVENT_ENABLE := 1 |
| 323 | |
| 324 | #Endianess selection |
| 325 | CONFIG_LITTLE_ENDIAN := 1 |
| 326 | |
| 327 | #Enable TX reclaim support |
| 328 | CONFIG_TX_CREDIT_RECLAIM_SUPPORT := 0 |
| 329 | |
| 330 | #Enable FTM support |
| 331 | CONFIG_QCA_WIFI_FTM := 1 |
| 332 | |
| 333 | #Enable Checksum Offload |
| 334 | CONFIG_CHECKSUM_OFFLOAD := 1 |
| 335 | |
| 336 | #Enable GTK offload |
| 337 | CONFIG_GTK_OFFLOAD := 1 |
| 338 | |
| 339 | #Enable EXT WOW |
| 340 | ifeq ($(CONFIG_ROME_IF),pci) |
| 341 | CONFIG_EXT_WOW := 1 |
| 342 | endif |
| 343 | |
| 344 | #Set this to 1 to catch erroneous Target accesses during debug. |
| 345 | CONFIG_ATH_PCIE_ACCESS_DEBUG := 0 |
| 346 | |
| 347 | #Enable IPA offload |
| 348 | ifeq ($(CONFIG_IPA), y) |
| 349 | CONFIG_IPA_OFFLOAD := 1 |
| 350 | endif |
| 351 | |
| 352 | #Enable Signed firmware support for split binary format |
| 353 | CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT := 0 |
| 354 | |
| 355 | #Enable single firmware binary format |
| 356 | CONFIG_QCA_SINGLE_BINARY_SUPPORT := 0 |
| 357 | |
| 358 | #Enable collecting target RAM dump after kernel panic |
| 359 | CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC := 1 |
| 360 | |
| 361 | #Flag to enable/disable secure firmware feature |
| 362 | CONFIG_FEATURE_SECURE_FIRMWARE := 0 |
| 363 | |
| 364 | #Flag to enable Stats Ext implementation |
| 365 | CONFIG_FEATURE_STATS_EXT := 1 |
| 366 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 367 | ifeq ($(CONFIG_CFG80211),y) |
| 368 | HAVE_CFG80211 := 1 |
| 369 | else |
| 370 | ifeq ($(CONFIG_CFG80211),m) |
| 371 | HAVE_CFG80211 := 1 |
| 372 | else |
| 373 | HAVE_CFG80211 := 0 |
| 374 | endif |
| 375 | endif |
| 376 | |
| 377 | ############ UAPI ############ |
| 378 | UAPI_DIR := uapi |
| 379 | UAPI_INC := -I$(WLAN_ROOT)/$(UAPI_DIR)/linux |
| 380 | |
| 381 | ############ COMMON ############ |
| 382 | COMMON_DIR := core/common |
| 383 | COMMON_INC := -I$(WLAN_ROOT)/$(COMMON_DIR) |
| 384 | |
| 385 | ############ HDD ############ |
| 386 | HDD_DIR := core/hdd |
| 387 | HDD_INC_DIR := $(HDD_DIR)/inc |
| 388 | HDD_SRC_DIR := $(HDD_DIR)/src |
| 389 | |
| 390 | HDD_INC := -I$(WLAN_ROOT)/$(HDD_INC_DIR) \ |
| 391 | -I$(WLAN_ROOT)/$(HDD_SRC_DIR) |
| 392 | |
| 393 | HDD_OBJS := $(HDD_SRC_DIR)/wlan_hdd_assoc.o \ |
| 394 | $(HDD_SRC_DIR)/wlan_hdd_cfg.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 395 | $(HDD_SRC_DIR)/wlan_hdd_driver_ops.o \ |
| 396 | $(HDD_SRC_DIR)/wlan_hdd_ftm.o \ |
| 397 | $(HDD_SRC_DIR)/wlan_hdd_hostapd.o \ |
| 398 | $(HDD_SRC_DIR)/wlan_hdd_ioctl.o \ |
| 399 | $(HDD_SRC_DIR)/wlan_hdd_main.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 400 | $(HDD_SRC_DIR)/wlan_hdd_oemdata.o \ |
| 401 | $(HDD_SRC_DIR)/wlan_hdd_power.o \ |
Amar Singhal | e4f28ee | 2015-10-21 14:36:56 -0700 | [diff] [blame] | 402 | $(HDD_SRC_DIR)/wlan_hdd_regulatory.o \ |
Jeff Johnson | a2d9bb3 | 2017-01-18 13:23:24 -0800 | [diff] [blame] | 403 | $(HDD_SRC_DIR)/wlan_hdd_request_manager.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 404 | $(HDD_SRC_DIR)/wlan_hdd_scan.o \ |
| 405 | $(HDD_SRC_DIR)/wlan_hdd_softap_tx_rx.o \ |
| 406 | $(HDD_SRC_DIR)/wlan_hdd_tx_rx.o \ |
| 407 | $(HDD_SRC_DIR)/wlan_hdd_trace.o \ |
| 408 | $(HDD_SRC_DIR)/wlan_hdd_wext.o \ |
| 409 | $(HDD_SRC_DIR)/wlan_hdd_wmm.o \ |
Rajeev Kumar | 699debf | 2017-01-06 14:17:00 -0800 | [diff] [blame] | 410 | $(HDD_SRC_DIR)/wlan_hdd_wowl.o \ |
| 411 | $(HDD_SRC_DIR)/wlan_hdd_object_manager.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 412 | |
Mahesh Kumar Kalikot Veetil | c0233a7 | 2016-10-27 15:06:05 -0700 | [diff] [blame] | 413 | ifeq ($(CONFIG_WLAN_DEBUGFS), y) |
| 414 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_debugfs.o |
| 415 | endif |
| 416 | |
Agrawal Ashish | b141b09 | 2016-09-02 19:59:26 +0530 | [diff] [blame] | 417 | ifeq ($(CONFIG_WLAN_FEATURE_DSRC), y) |
| 418 | HDD_OBJS+= $(HDD_SRC_DIR)/wlan_hdd_ocb.o |
| 419 | endif |
Amar Singhal | e4f28ee | 2015-10-21 14:36:56 -0700 | [diff] [blame] | 420 | |
Jeff Johnson | 2b0a7b8 | 2016-05-18 15:08:02 -0700 | [diff] [blame] | 421 | ifeq ($(CONFIG_WLAN_FEATURE_LPSS),y) |
| 422 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_lpass.o |
| 423 | endif |
| 424 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 425 | ifeq ($(CONFIG_WLAN_LRO), y) |
| 426 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_lro.o |
| 427 | endif |
| 428 | |
| 429 | ifeq ($(CONFIG_WLAN_NAPI), y) |
| 430 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_napi.o |
| 431 | endif |
| 432 | |
| 433 | ifeq ($(CONFIG_IPA_OFFLOAD), 1) |
| 434 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_ipa.o |
| 435 | endif |
| 436 | |
| 437 | ifeq ($(HAVE_CFG80211),1) |
| 438 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_cfg80211.o \ |
| 439 | $(HDD_SRC_DIR)/wlan_hdd_ext_scan.o \ |
| 440 | $(HDD_SRC_DIR)/wlan_hdd_stats.o \ |
| 441 | $(HDD_SRC_DIR)/wlan_hdd_p2p.o |
| 442 | endif |
| 443 | |
| 444 | ifeq ($(CONFIG_QCACLD_FEATURE_GREEN_AP),y) |
| 445 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_green_ap.o |
| 446 | endif |
| 447 | |
| 448 | ifeq ($(CONFIG_QCACLD_FEATURE_NAN),y) |
| 449 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_nan.o |
| 450 | endif |
| 451 | |
| 452 | ifeq ($(CONFIG_QCOM_TDLS),y) |
| 453 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_tdls.o |
| 454 | endif |
| 455 | |
Manikandan Mohan | dcc21ba | 2016-03-15 14:31:56 -0700 | [diff] [blame] | 456 | ifeq ($(CONFIG_WLAN_SYNC_TSF),y) |
| 457 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_tsf.o |
| 458 | endif |
| 459 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 460 | ifeq ($(CONFIG_MPC_UT_FRAMEWORK),y) |
| 461 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_conc_ut.o |
| 462 | endif |
| 463 | |
| 464 | ifeq ($(CONFIG_WLAN_FEATURE_MEMDUMP),y) |
| 465 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_memdump.o |
| 466 | endif |
| 467 | |
Padma, Santhosh Kumar | d7cc079 | 2016-06-28 18:54:12 +0530 | [diff] [blame] | 468 | ifeq ($(CONFIG_WLAN_FEATURE_DISA),y) |
| 469 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_disa.o |
| 470 | endif |
| 471 | |
Ravi Joshi | 61c3c7a | 2015-11-09 18:41:20 -0800 | [diff] [blame] | 472 | ifeq ($(CONFIG_LFR_SUBNET_DETECTION), y) |
| 473 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_subnet_detect.o |
| 474 | endif |
| 475 | |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 476 | ifeq ($(CONFIG_WLAN_FEATURE_NAN_DATAPATH), y) |
| 477 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_nan_datapath.o |
| 478 | endif |
| 479 | |
Krishna Kumaar Natarajan | ed1efd9 | 2016-09-24 18:05:47 -0700 | [diff] [blame] | 480 | ifeq ($(CONFIG_WLAN_FEATURE_11AX),y) |
| 481 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_he.o |
| 482 | endif |
| 483 | |
Ravi Joshi | 1c2cfb6 | 2017-01-18 14:40:08 -0800 | [diff] [blame] | 484 | ifeq ($(CONFIG_LITHIUM), y) |
| 485 | HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_rx_monitor.o |
| 486 | endif |
| 487 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 488 | ########### HOST DIAG LOG ########### |
Srinivas Girigowda | c1bb1bd | 2017-01-10 16:56:54 -0800 | [diff] [blame] | 489 | HOST_DIAG_LOG_DIR := $(WLAN_COMMON_ROOT)/utils/host_diag_log |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 490 | |
| 491 | HOST_DIAG_LOG_INC_DIR := $(HOST_DIAG_LOG_DIR)/inc |
| 492 | HOST_DIAG_LOG_SRC_DIR := $(HOST_DIAG_LOG_DIR)/src |
| 493 | |
| 494 | HOST_DIAG_LOG_INC := -I$(WLAN_ROOT)/$(HOST_DIAG_LOG_INC_DIR) \ |
| 495 | -I$(WLAN_ROOT)/$(HOST_DIAG_LOG_SRC_DIR) |
| 496 | |
| 497 | HOST_DIAG_LOG_OBJS += $(HOST_DIAG_LOG_SRC_DIR)/host_diag_log.o |
| 498 | |
| 499 | ############ EPPING ############ |
Srinivas Girigowda | c1bb1bd | 2017-01-10 16:56:54 -0800 | [diff] [blame] | 500 | EPPING_DIR := $(WLAN_COMMON_ROOT)/utils/epping |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 501 | EPPING_INC_DIR := $(EPPING_DIR)/inc |
| 502 | EPPING_SRC_DIR := $(EPPING_DIR)/src |
| 503 | |
| 504 | EPPING_INC := -I$(WLAN_ROOT)/$(EPPING_INC_DIR) |
| 505 | |
| 506 | EPPING_OBJS := $(EPPING_SRC_DIR)/epping_main.o \ |
| 507 | $(EPPING_SRC_DIR)/epping_txrx.o \ |
| 508 | $(EPPING_SRC_DIR)/epping_tx.o \ |
| 509 | $(EPPING_SRC_DIR)/epping_rx.o \ |
| 510 | $(EPPING_SRC_DIR)/epping_helper.o \ |
| 511 | |
| 512 | |
| 513 | ############ MAC ############ |
| 514 | MAC_DIR := core/mac |
| 515 | MAC_INC_DIR := $(MAC_DIR)/inc |
| 516 | MAC_SRC_DIR := $(MAC_DIR)/src |
| 517 | |
| 518 | MAC_INC := -I$(WLAN_ROOT)/$(MAC_INC_DIR) \ |
| 519 | -I$(WLAN_ROOT)/$(MAC_SRC_DIR)/dph \ |
| 520 | -I$(WLAN_ROOT)/$(MAC_SRC_DIR)/include \ |
| 521 | -I$(WLAN_ROOT)/$(MAC_SRC_DIR)/pe/include \ |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 522 | -I$(WLAN_ROOT)/$(MAC_SRC_DIR)/pe/lim \ |
| 523 | -I$(WLAN_ROOT)/$(MAC_SRC_DIR)/pe/nan |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 524 | |
| 525 | MAC_CFG_OBJS := $(MAC_SRC_DIR)/cfg/cfg_api.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 526 | $(MAC_SRC_DIR)/cfg/cfg_param_name.o \ |
| 527 | $(MAC_SRC_DIR)/cfg/cfg_proc_msg.o \ |
| 528 | $(MAC_SRC_DIR)/cfg/cfg_send_msg.o |
| 529 | |
| 530 | MAC_DPH_OBJS := $(MAC_SRC_DIR)/dph/dph_hash_table.o |
| 531 | |
| 532 | MAC_LIM_OBJS := $(MAC_SRC_DIR)/pe/lim/lim_aid_mgmt.o \ |
| 533 | $(MAC_SRC_DIR)/pe/lim/lim_admit_control.o \ |
| 534 | $(MAC_SRC_DIR)/pe/lim/lim_api.o \ |
| 535 | $(MAC_SRC_DIR)/pe/lim/lim_assoc_utils.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 536 | $(MAC_SRC_DIR)/pe/lim/lim_ft.o \ |
| 537 | $(MAC_SRC_DIR)/pe/lim/lim_ibss_peer_mgmt.o \ |
| 538 | $(MAC_SRC_DIR)/pe/lim/lim_link_monitoring_algo.o \ |
| 539 | $(MAC_SRC_DIR)/pe/lim/lim_p2p.o \ |
| 540 | $(MAC_SRC_DIR)/pe/lim/lim_process_action_frame.o \ |
| 541 | $(MAC_SRC_DIR)/pe/lim/lim_process_assoc_req_frame.o \ |
| 542 | $(MAC_SRC_DIR)/pe/lim/lim_process_assoc_rsp_frame.o \ |
| 543 | $(MAC_SRC_DIR)/pe/lim/lim_process_auth_frame.o \ |
| 544 | $(MAC_SRC_DIR)/pe/lim/lim_process_beacon_frame.o \ |
| 545 | $(MAC_SRC_DIR)/pe/lim/lim_process_cfg_updates.o \ |
| 546 | $(MAC_SRC_DIR)/pe/lim/lim_process_deauth_frame.o \ |
| 547 | $(MAC_SRC_DIR)/pe/lim/lim_process_disassoc_frame.o \ |
| 548 | $(MAC_SRC_DIR)/pe/lim/lim_process_message_queue.o \ |
| 549 | $(MAC_SRC_DIR)/pe/lim/lim_process_mlm_req_messages.o \ |
| 550 | $(MAC_SRC_DIR)/pe/lim/lim_process_mlm_rsp_messages.o \ |
| 551 | $(MAC_SRC_DIR)/pe/lim/lim_process_probe_req_frame.o \ |
| 552 | $(MAC_SRC_DIR)/pe/lim/lim_process_probe_rsp_frame.o \ |
| 553 | $(MAC_SRC_DIR)/pe/lim/lim_process_sme_req_messages.o \ |
| 554 | $(MAC_SRC_DIR)/pe/lim/lim_prop_exts_utils.o \ |
| 555 | $(MAC_SRC_DIR)/pe/lim/lim_scan_result_utils.o \ |
| 556 | $(MAC_SRC_DIR)/pe/lim/lim_security_utils.o \ |
| 557 | $(MAC_SRC_DIR)/pe/lim/lim_send_management_frames.o \ |
| 558 | $(MAC_SRC_DIR)/pe/lim/lim_send_messages.o \ |
| 559 | $(MAC_SRC_DIR)/pe/lim/lim_send_sme_rsp_messages.o \ |
| 560 | $(MAC_SRC_DIR)/pe/lim/lim_ser_des_utils.o \ |
| 561 | $(MAC_SRC_DIR)/pe/lim/lim_session.o \ |
| 562 | $(MAC_SRC_DIR)/pe/lim/lim_session_utils.o \ |
| 563 | $(MAC_SRC_DIR)/pe/lim/lim_sme_req_utils.o \ |
| 564 | $(MAC_SRC_DIR)/pe/lim/lim_sta_hash_api.o \ |
| 565 | $(MAC_SRC_DIR)/pe/lim/lim_timer_utils.o \ |
| 566 | $(MAC_SRC_DIR)/pe/lim/lim_trace.o \ |
| 567 | $(MAC_SRC_DIR)/pe/lim/lim_utils.o |
| 568 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 569 | ifeq ($(CONFIG_QCOM_TDLS),y) |
| 570 | MAC_LIM_OBJS += $(MAC_SRC_DIR)/pe/lim/lim_process_tdls.o |
| 571 | endif |
| 572 | |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 573 | ifeq ($(CONFIG_WLAN_FEATURE_NAN_DATAPATH), y) |
| 574 | MAC_NDP_OBJS += $(MAC_SRC_DIR)/pe/nan/nan_datapath.o |
| 575 | endif |
| 576 | |
Varun Reddy Yeturu | bbbbe23 | 2016-02-29 14:01:57 -0800 | [diff] [blame] | 577 | ifeq ($(CONFIG_QCACLD_WLAN_LFR2),y) |
| 578 | MAC_LIM_OBJS += $(MAC_SRC_DIR)/pe/lim/lim_process_mlm_host_roam.o \ |
| 579 | $(MAC_SRC_DIR)/pe/lim/lim_send_frames_host_roam.o \ |
| 580 | $(MAC_SRC_DIR)/pe/lim/lim_roam_timer_utils.o \ |
| 581 | $(MAC_SRC_DIR)/pe/lim/lim_ft_preauth.o \ |
| 582 | $(MAC_SRC_DIR)/pe/lim/lim_reassoc_utils.o |
| 583 | endif |
| 584 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 585 | MAC_SCH_OBJS := $(MAC_SRC_DIR)/pe/sch/sch_api.o \ |
| 586 | $(MAC_SRC_DIR)/pe/sch/sch_beacon_gen.o \ |
| 587 | $(MAC_SRC_DIR)/pe/sch/sch_beacon_process.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 588 | $(MAC_SRC_DIR)/pe/sch/sch_message.o |
| 589 | |
| 590 | MAC_RRM_OBJS := $(MAC_SRC_DIR)/pe/rrm/rrm_api.o |
| 591 | |
| 592 | MAC_OBJS := $(MAC_CFG_OBJS) \ |
| 593 | $(MAC_DPH_OBJS) \ |
| 594 | $(MAC_LIM_OBJS) \ |
| 595 | $(MAC_SCH_OBJS) \ |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 596 | $(MAC_RRM_OBJS) \ |
| 597 | $(MAC_NDP_OBJS) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 598 | |
| 599 | ############ SAP ############ |
| 600 | SAP_DIR := core/sap |
| 601 | SAP_INC_DIR := $(SAP_DIR)/inc |
| 602 | SAP_SRC_DIR := $(SAP_DIR)/src |
| 603 | |
| 604 | SAP_INC := -I$(WLAN_ROOT)/$(SAP_INC_DIR) \ |
| 605 | -I$(WLAN_ROOT)/$(SAP_SRC_DIR) |
| 606 | |
| 607 | SAP_OBJS := $(SAP_SRC_DIR)/sap_api_link_cntl.o \ |
| 608 | $(SAP_SRC_DIR)/sap_ch_select.o \ |
| 609 | $(SAP_SRC_DIR)/sap_fsm.o \ |
| 610 | $(SAP_SRC_DIR)/sap_module.o |
| 611 | |
| 612 | ############ DFS ############ 350 |
Arif Hussain | 757b45f | 2017-02-11 16:47:06 -0800 | [diff] [blame] | 613 | DFS_DIR := $(WLAN_COMMON_ROOT)/umac/dfs |
| 614 | DFS_CORE_INC_DIR := $(DFS_DIR)/core/inc |
| 615 | DFS_CORE_SRC_DIR := $(DFS_DIR)/core/src |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 616 | |
Arif Hussain | 757b45f | 2017-02-11 16:47:06 -0800 | [diff] [blame] | 617 | DFS_DISP_INC_DIR := $(DFS_DIR)/dispatcher/inc |
| 618 | DFS_DISP_SRC_DIR := $(DFS_DIR)/dispatcher/src |
| 619 | DFS_TARGET_INC_DIR := $(WLAN_COMMON_ROOT)/target_if/dfs/inc |
| 620 | 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] | 621 | |
Arif Hussain | 757b45f | 2017-02-11 16:47:06 -0800 | [diff] [blame] | 622 | DFS_INC := -I$(WLAN_ROOT)/$(DFS_DISP_INC_DIR) \ |
| 623 | -I$(WLAN_ROOT)/$(DFS_TARGET_INC_DIR) \ |
| 624 | -I$(WLAN_ROOT)/$(DFS_CMN_SERVICES_INC_DIR) |
| 625 | |
| 626 | DFS_OBJS := $(DFS_CORE_SRC_DIR)/filtering/dfs_bindetects.o \ |
| 627 | $(DFS_CORE_SRC_DIR)/filtering/dfs_debug.o\ |
| 628 | $(DFS_CORE_SRC_DIR)/filtering/dfs_fcc_bin5.o\ |
| 629 | $(DFS_CORE_SRC_DIR)/filtering/dfs_init.o\ |
| 630 | $(DFS_CORE_SRC_DIR)/filtering/dfs_misc.o\ |
| 631 | $(DFS_CORE_SRC_DIR)/filtering/dfs_radar.o\ |
| 632 | $(DFS_CORE_SRC_DIR)/filtering/dfs_ar.o\ |
| 633 | $(DFS_CORE_SRC_DIR)/filtering/ar5416_radar.o\ |
| 634 | $(DFS_CORE_SRC_DIR)/filtering/ar9300_radar.o\ |
| 635 | $(DFS_CORE_SRC_DIR)/filtering/ar5212_radar.o\ |
| 636 | $(DFS_CORE_SRC_DIR)/filtering/dfs_phyerr_tlv.o\ |
| 637 | $(DFS_CORE_SRC_DIR)/filtering/dfs_process_phyerr.o\ |
| 638 | $(DFS_CORE_SRC_DIR)/filtering/dfs_process_radarevent.o\ |
| 639 | $(DFS_CORE_SRC_DIR)/filtering/dfs_staggered.o \ |
| 640 | $(DFS_CORE_SRC_DIR)/misc/dfs.o \ |
| 641 | $(DFS_CORE_SRC_DIR)/misc/dfs_cac.o\ |
| 642 | $(DFS_CORE_SRC_DIR)/misc/dfs_nol.o\ |
| 643 | $(DFS_CORE_SRC_DIR)/misc/dfs_nol.o\ |
| 644 | $(DFS_CORE_SRC_DIR)/misc/dfs_zero_cac.o\ |
| 645 | $(DFS_CORE_SRC_DIR)/misc/dfs_random_chan_sel.o\ |
| 646 | $(DFS_CORE_SRC_DIR)/misc/dfs_process_radar_found_ind.o\ |
| 647 | $(DFS_DISP_SRC_DIR)/wlan_dfs_init_deinit_api.o\ |
| 648 | $(DFS_DISP_SRC_DIR)/wlan_dfs_lmac_api.o\ |
| 649 | $(DFS_DISP_SRC_DIR)/wlan_dfs_mlme_api.o\ |
| 650 | $(DFS_DISP_SRC_DIR)/wlan_dfs_tgt_api.o\ |
| 651 | $(DFS_DISP_SRC_DIR)/wlan_dfs_ucfg_api.o\ |
| 652 | $(DFS_DISP_SRC_DIR)/wlan_dfs_tgt_api.o\ |
| 653 | $(DFS_DISP_SRC_DIR)/wlan_dfs_utils_api.o\ |
| 654 | $(WLAN_COMMON_ROOT)/target_if/dfs/src/target_if_dfs.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 655 | |
| 656 | ############ SME ############ |
| 657 | SME_DIR := core/sme |
| 658 | SME_INC_DIR := $(SME_DIR)/inc |
| 659 | SME_SRC_DIR := $(SME_DIR)/src |
| 660 | |
| 661 | SME_INC := -I$(WLAN_ROOT)/$(SME_INC_DIR) \ |
| 662 | -I$(WLAN_ROOT)/$(SME_SRC_DIR)/csr |
| 663 | |
| 664 | SME_CSR_OBJS := $(SME_SRC_DIR)/csr/csr_api_roam.o \ |
| 665 | $(SME_SRC_DIR)/csr/csr_api_scan.o \ |
| 666 | $(SME_SRC_DIR)/csr/csr_cmd_process.o \ |
| 667 | $(SME_SRC_DIR)/csr/csr_link_list.o \ |
| 668 | $(SME_SRC_DIR)/csr/csr_neighbor_roam.o \ |
Varun Reddy Yeturu | 86459d6 | 2016-02-22 10:07:02 -0800 | [diff] [blame] | 669 | $(SME_SRC_DIR)/csr/csr_util.o \ |
Varun Reddy Yeturu | bbbbe23 | 2016-02-29 14:01:57 -0800 | [diff] [blame] | 670 | |
| 671 | |
| 672 | ifeq ($(CONFIG_QCACLD_WLAN_LFR2),y) |
| 673 | SME_CSR_OBJS += $(SME_SRC_DIR)/csr/csr_roam_preauth.o \ |
Varun Reddy Yeturu | 86459d6 | 2016-02-22 10:07:02 -0800 | [diff] [blame] | 674 | $(SME_SRC_DIR)/csr/csr_host_scan_roam.o |
Varun Reddy Yeturu | bbbbe23 | 2016-02-29 14:01:57 -0800 | [diff] [blame] | 675 | endif |
| 676 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 677 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 678 | ifeq ($(CONFIG_QCOM_TDLS),y) |
| 679 | SME_CSR_OBJS += $(SME_SRC_DIR)/csr/csr_tdls_process.o |
| 680 | endif |
| 681 | |
| 682 | SME_QOS_OBJS := $(SME_SRC_DIR)/qos/sme_qos.o |
| 683 | |
| 684 | SME_CMN_OBJS := $(SME_SRC_DIR)/common/sme_api.o \ |
| 685 | $(SME_SRC_DIR)/common/sme_ft_api.o \ |
| 686 | $(SME_SRC_DIR)/common/sme_power_save.o \ |
| 687 | $(SME_SRC_DIR)/common/sme_trace.o |
| 688 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 689 | SME_P2P_OBJS = $(SME_SRC_DIR)/p2p/p2p_api.o |
| 690 | |
| 691 | SME_RRM_OBJS := $(SME_SRC_DIR)/rrm/sme_rrm.o |
| 692 | |
| 693 | ifeq ($(CONFIG_QCACLD_FEATURE_NAN),y) |
| 694 | SME_NAN_OBJS = $(SME_SRC_DIR)/nan/nan_api.o |
| 695 | endif |
| 696 | |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 697 | ifeq ($(CONFIG_WLAN_FEATURE_NAN_DATAPATH), y) |
| 698 | SME_NDP_OBJS += $(SME_SRC_DIR)/nan/nan_datapath_api.o |
| 699 | endif |
| 700 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 701 | SME_OBJS := $(SME_CMN_OBJS) \ |
| 702 | $(SME_CSR_OBJS) \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 703 | $(SME_P2P_OBJS) \ |
| 704 | $(SME_QOS_OBJS) \ |
| 705 | $(SME_RRM_OBJS) \ |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 706 | $(SME_NAN_OBJS) \ |
| 707 | $(SME_NDP_OBJS) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 708 | |
| 709 | ############ NLINK ############ |
Srinivas Girigowda | c1bb1bd | 2017-01-10 16:56:54 -0800 | [diff] [blame] | 710 | NLINK_DIR := $(WLAN_COMMON_ROOT)/utils/nlink |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 711 | NLINK_INC_DIR := $(NLINK_DIR)/inc |
| 712 | NLINK_SRC_DIR := $(NLINK_DIR)/src |
| 713 | |
| 714 | NLINK_INC := -I$(WLAN_ROOT)/$(NLINK_INC_DIR) |
| 715 | NLINK_OBJS := $(NLINK_SRC_DIR)/wlan_nlink_srv.o |
| 716 | |
| 717 | ############ PTT ############ |
Srinivas Girigowda | c1bb1bd | 2017-01-10 16:56:54 -0800 | [diff] [blame] | 718 | PTT_DIR := $(WLAN_COMMON_ROOT)/utils/ptt |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 719 | PTT_INC_DIR := $(PTT_DIR)/inc |
| 720 | PTT_SRC_DIR := $(PTT_DIR)/src |
| 721 | |
| 722 | PTT_INC := -I$(WLAN_ROOT)/$(PTT_INC_DIR) |
| 723 | PTT_OBJS := $(PTT_SRC_DIR)/wlan_ptt_sock_svc.o |
| 724 | |
| 725 | ############ WLAN_LOGGING ############ |
Srinivas Girigowda | c1bb1bd | 2017-01-10 16:56:54 -0800 | [diff] [blame] | 726 | WLAN_LOGGING_DIR := $(WLAN_COMMON_ROOT)/utils/logging |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 727 | WLAN_LOGGING_INC_DIR := $(WLAN_LOGGING_DIR)/inc |
| 728 | WLAN_LOGGING_SRC_DIR := $(WLAN_LOGGING_DIR)/src |
| 729 | |
| 730 | WLAN_LOGGING_INC := -I$(WLAN_ROOT)/$(WLAN_LOGGING_INC_DIR) |
| 731 | WLAN_LOGGING_OBJS := $(WLAN_LOGGING_SRC_DIR)/wlan_logging_sock_svc.o |
| 732 | |
| 733 | ############ SYS ############ |
| 734 | SYS_DIR := core/mac/src/sys |
| 735 | |
| 736 | SYS_INC := -I$(WLAN_ROOT)/$(SYS_DIR)/common/inc \ |
| 737 | -I$(WLAN_ROOT)/$(SYS_DIR)/legacy/src/platform/inc \ |
| 738 | -I$(WLAN_ROOT)/$(SYS_DIR)/legacy/src/system/inc \ |
| 739 | -I$(WLAN_ROOT)/$(SYS_DIR)/legacy/src/utils/inc |
| 740 | |
| 741 | SYS_COMMON_SRC_DIR := $(SYS_DIR)/common/src |
| 742 | SYS_LEGACY_SRC_DIR := $(SYS_DIR)/legacy/src |
| 743 | SYS_OBJS := $(SYS_COMMON_SRC_DIR)/wlan_qct_sys.o \ |
| 744 | $(SYS_LEGACY_SRC_DIR)/platform/src/sys_wrapper.o \ |
| 745 | $(SYS_LEGACY_SRC_DIR)/system/src/mac_init_api.o \ |
| 746 | $(SYS_LEGACY_SRC_DIR)/system/src/sys_entry_func.o \ |
| 747 | $(SYS_LEGACY_SRC_DIR)/utils/src/dot11f.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 748 | $(SYS_LEGACY_SRC_DIR)/utils/src/mac_trace.o \ |
| 749 | $(SYS_LEGACY_SRC_DIR)/utils/src/parser_api.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 750 | $(SYS_LEGACY_SRC_DIR)/utils/src/utils_parser.o |
| 751 | |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 752 | ############ Qca-wifi-host-cmn ############ |
| 753 | QDF_OS_DIR := qdf |
| 754 | QDF_OS_INC_DIR := $(QDF_OS_DIR)/inc |
| 755 | QDF_OS_SRC_DIR := $(QDF_OS_DIR)/linux/src |
| 756 | QDF_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(QDF_OS_SRC_DIR) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 757 | |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 758 | QDF_INC := -I$(WLAN_COMMON_INC)/$(QDF_OS_INC_DIR) \ |
| 759 | -I$(WLAN_COMMON_INC)/$(QDF_OS_SRC_DIR) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 760 | |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 761 | QDF_OBJS := $(QDF_OBJ_DIR)/qdf_defer.o \ |
| 762 | $(QDF_OBJ_DIR)/qdf_event.o \ |
| 763 | $(QDF_OBJ_DIR)/qdf_list.o \ |
| 764 | $(QDF_OBJ_DIR)/qdf_lock.o \ |
| 765 | $(QDF_OBJ_DIR)/qdf_mc_timer.o \ |
| 766 | $(QDF_OBJ_DIR)/qdf_mem.o \ |
| 767 | $(QDF_OBJ_DIR)/qdf_nbuf.o \ |
| 768 | $(QDF_OBJ_DIR)/qdf_threads.o \ |
| 769 | $(QDF_OBJ_DIR)/qdf_trace.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 770 | |
Mahesh Kumar Kalikot Veetil | c0233a7 | 2016-10-27 15:06:05 -0700 | [diff] [blame] | 771 | ifeq ($(CONFIG_WLAN_DEBUGFS), y) |
| 772 | QDF_OBJS += $(QDF_OBJ_DIR)/qdf_debugfs.o |
| 773 | endif |
| 774 | |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 775 | |
| 776 | ##########OS_IF ####### |
| 777 | OS_IF_DIR := $(WLAN_COMMON_ROOT)/os_if |
| 778 | |
| 779 | OS_IF_INC := -I$(WLAN_COMMON_INC)/os_if/linux \ |
| 780 | -I$(WLAN_COMMON_INC)/os_if/linux/scan/inc \ |
Kabilan Kannan | 6d7a411 | 2017-04-20 14:37:09 -0700 | [diff] [blame] | 781 | -I$(WLAN_COMMON_INC)/os_if/linux/p2p/inc \ |
| 782 | -I$(WLAN_COMMON_INC)/os_if/linux/tdls/inc |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 783 | |
| 784 | OS_IF_OBJ := $(OS_IF_DIR)/linux/p2p/src/wlan_cfg80211_p2p.o |
Sandeep Puligilla | fdd201e | 2017-02-02 18:43:46 -0800 | [diff] [blame] | 785 | |
Frank Liu | 65b17d9 | 2016-11-23 15:58:44 +0800 | [diff] [blame] | 786 | ############ UMAC_DISP ############ |
| 787 | UMAC_DISP_DIR := umac/global_umac_dispatcher/lmac_if |
| 788 | UMAC_DISP_INC_DIR := $(UMAC_DISP_DIR)/inc |
| 789 | UMAC_DISP_SRC_DIR := $(UMAC_DISP_DIR)/src |
| 790 | UMAC_DISP_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(UMAC_DISP_SRC_DIR) |
| 791 | |
| 792 | UMAC_DISP_INC := -I$(WLAN_COMMON_INC)/$(UMAC_DISP_INC_DIR) |
| 793 | |
| 794 | UMAC_DISP_OBJS := $(UMAC_DISP_OBJ_DIR)/wlan_lmac_if.o |
| 795 | |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 796 | ############# UMAC_SCAN ############ |
| 797 | UMAC_SCAN_DIR := umac/scan |
| 798 | UMAC_SCAN_DISP_INC_DIR := $(UMAC_SCAN_DIR)/dispatcher/inc |
| 799 | UMAC_SCAN_CORE_DIR := $(WLAN_COMMON_ROOT)/$(UMAC_SCAN_DIR)/core/src |
| 800 | UMAC_SCAN_DISP_DIR := $(WLAN_COMMON_ROOT)/$(UMAC_SCAN_DIR)/dispatcher/src |
Abhishek Singh | 8dfbd69 | 2017-02-21 11:11:10 +0530 | [diff] [blame] | 801 | UMAC_TARGET_SCAN_INC := -I$(WLAN_COMMON_INC)/target_if/scan/inc |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 802 | |
| 803 | UMAC_SCAN_INC := -I$(WLAN_COMMON_INC)/$(UMAC_SCAN_DISP_INC_DIR) |
| 804 | UMAC_SCAN_OBJS := $(UMAC_SCAN_CORE_DIR)/wlan_scan_cache_db.o \ |
| 805 | $(UMAC_SCAN_CORE_DIR)/wlan_scan_cache_db_ops.o \ |
| 806 | $(UMAC_SCAN_CORE_DIR)/wlan_scan_main.o \ |
| 807 | $(UMAC_SCAN_CORE_DIR)/wlan_scan_manager.o \ |
| 808 | $(UMAC_SCAN_DISP_DIR)/wlan_scan_tgt_api.o \ |
| 809 | $(UMAC_SCAN_DISP_DIR)/wlan_scan_ucfg_api.o \ |
Abhishek Singh | 310503c | 2017-03-07 11:19:10 +0530 | [diff] [blame] | 810 | $(UMAC_SCAN_DISP_DIR)/wlan_scan_utils_api.o \ |
| 811 | $(WLAN_COMMON_ROOT)/os_if/linux/scan/src/wlan_cfg80211_scan.o \ |
| 812 | $(WLAN_COMMON_ROOT)/os_if/linux/wlan_cfg80211.o \ |
| 813 | $(WLAN_COMMON_ROOT)/target_if/scan/src/target_if_scan.o |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 814 | |
| 815 | ############# UMAC_CMN_SERVICES ############ |
Abhishek Singh | 8dfbd69 | 2017-02-21 11:11:10 +0530 | [diff] [blame] | 816 | UMAC_COMMON_INC := -I$(WLAN_COMMON_INC)/umac/cmn_services/cmn_defs/inc \ |
| 817 | -I$(WLAN_COMMON_INC)/umac/cmn_services/utils/inc |
| 818 | 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] | 819 | |
Dhanashri Atre | 170855e | 2016-12-15 13:26:54 -0800 | [diff] [blame] | 820 | ifeq ($(CONFIG_WLAN_LRO), y) |
| 821 | QDF_OBJS += $(QDF_OBJ_DIR)/qdf_lro.o |
| 822 | endif |
| 823 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 824 | ############ CDS (Connectivity driver services) ############ |
| 825 | CDS_DIR := core/cds |
| 826 | CDS_INC_DIR := $(CDS_DIR)/inc |
| 827 | CDS_SRC_DIR := $(CDS_DIR)/src |
| 828 | |
| 829 | CDS_INC := -I$(WLAN_ROOT)/$(CDS_INC_DIR) \ |
| 830 | -I$(WLAN_ROOT)/$(CDS_SRC_DIR) |
| 831 | |
| 832 | CDS_OBJS := $(CDS_SRC_DIR)/cds_api.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 833 | $(CDS_SRC_DIR)/cds_reg_service.o \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 834 | $(CDS_SRC_DIR)/cds_packet.o \ |
| 835 | $(CDS_SRC_DIR)/cds_regdomain.o \ |
| 836 | $(CDS_SRC_DIR)/cds_sched.o \ |
Krunal Soni | d32c6bc | 2016-10-18 18:00:21 -0700 | [diff] [blame] | 837 | $(CDS_SRC_DIR)/cds_utils.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 838 | |
| 839 | |
Selvaraj, Sridhar | 0672a12 | 2016-12-29 16:11:48 +0530 | [diff] [blame] | 840 | ###### UMAC OBJMGR ######## |
| 841 | UMAC_OBJMGR_DIR := $(WLAN_COMMON_ROOT)/umac/cmn_services/obj_mgr |
| 842 | |
| 843 | UMAC_OBJMGR_INC := -I$(WLAN_COMMON_INC)/umac/cmn_services/obj_mgr/inc \ |
| 844 | -I$(WLAN_COMMON_INC)/umac/cmn_services/obj_mgr/src \ |
| 845 | -I$(WLAN_COMMON_INC)/umac/cmn_services/inc \ |
| 846 | -I$(WLAN_COMMON_INC)/umac/global_umac_dispatcher/lmac_if/inc |
| 847 | |
| 848 | UMAC_OBJMGR_OBJS := $(UMAC_OBJMGR_DIR)/src/wlan_objmgr_global_obj.o \ |
| 849 | $(UMAC_OBJMGR_DIR)/src/wlan_objmgr_pdev_obj.o \ |
| 850 | $(UMAC_OBJMGR_DIR)/src/wlan_objmgr_peer_obj.o \ |
| 851 | $(UMAC_OBJMGR_DIR)/src/wlan_objmgr_psoc_obj.o \ |
Rajeev Kumar | b32b8a9 | 2017-02-01 14:35:54 -0800 | [diff] [blame] | 852 | $(UMAC_OBJMGR_DIR)/src/wlan_objmgr_psoc_service_ready_api.o \ |
Selvaraj, Sridhar | 0672a12 | 2016-12-29 16:11:48 +0530 | [diff] [blame] | 853 | $(UMAC_OBJMGR_DIR)/src/wlan_objmgr_vdev_obj.o |
| 854 | |
Himanshu Agarwal | 2fdf77a | 2016-12-29 11:41:00 +0530 | [diff] [blame] | 855 | ########### UMAC MGMT TXRX ########## |
| 856 | UMAC_MGMT_TXRX_DIR := $(WLAN_COMMON_ROOT)/umac/cmn_services/mgmt_txrx |
| 857 | |
Himanshu Agarwal | 795b7f7 | 2017-01-17 21:19:43 +0530 | [diff] [blame] | 858 | 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] | 859 | |
| 860 | UMAC_MGMT_TXRX_OBJS := $(UMAC_MGMT_TXRX_DIR)/core/src/wlan_mgmt_txrx_main.o \ |
| 861 | $(UMAC_MGMT_TXRX_DIR)/dispatcher/src/wlan_mgmt_txrx_utils_api.o \ |
| 862 | $(UMAC_MGMT_TXRX_DIR)/dispatcher/src/wlan_mgmt_txrx_tgt_api.o |
| 863 | |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 864 | ########## POWER MANAGEMENT OFFLOADS (PMO) ########## |
Rajeev Kumar | 07c7769 | 2017-05-10 12:58:20 -0700 | [diff] [blame] | 865 | PMO_DIR := $(WLAN_COMMON_ROOT)/pmo |
| 866 | PMO_INC := -I$(WLAN_COMMON_INC)/pmo/core/inc \ |
| 867 | -I$(WLAN_COMMON_INC)/pmo/dispatcher/inc \ |
| 868 | -I$(WLAN_COMMON_INC)/pmo/core/src \ |
| 869 | -I$(WLAN_COMMON_INC)/pmo/dispatcher/src |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 870 | |
| 871 | PMO_OBJS := $(PMO_DIR)/core/src/wlan_pmo_main.o \ |
| 872 | $(PMO_DIR)/core/src/wlan_pmo_arp.o \ |
| 873 | $(PMO_DIR)/core/src/wlan_pmo_ns.o \ |
| 874 | $(PMO_DIR)/core/src/wlan_pmo_gtk.o \ |
| 875 | $(PMO_DIR)/core/src/wlan_pmo_mc_addr_filtering.o \ |
| 876 | $(PMO_DIR)/core/src/wlan_pmo_static_config.o \ |
| 877 | $(PMO_DIR)/core/src/wlan_pmo_wow.o \ |
Mukul Sharma | 4c60a7e | 2017-03-06 19:42:18 +0530 | [diff] [blame] | 878 | $(PMO_DIR)/core/src/wlan_pmo_lphb.o \ |
| 879 | $(PMO_DIR)/core/src/wlan_pmo_suspend_resume.o \ |
Dustin Brown | 1224e21 | 2017-05-12 14:02:12 -0700 | [diff] [blame] | 880 | $(PMO_DIR)/core/src/wlan_pmo_hw_filter.o \ |
Ravi Kumar Bokka | 0b9ead3 | 2017-05-11 17:01:43 +0530 | [diff] [blame] | 881 | $(PMO_DIR)/core/src/wlan_pmo_pkt_filter.o \ |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 882 | $(PMO_DIR)/dispatcher/src/wlan_pmo_obj_mgmt_api.o \ |
| 883 | $(PMO_DIR)/dispatcher/src/wlan_pmo_ucfg_api.o \ |
| 884 | $(PMO_DIR)/dispatcher/src/wlan_pmo_tgt_arp.o \ |
| 885 | $(PMO_DIR)/dispatcher/src/wlan_pmo_tgt_ns.o \ |
| 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 \ |
Ravi Kumar Bokka | 0b9ead3 | 2017-05-11 17:01:43 +0530 | [diff] [blame] | 893 | $(PMO_DIR)/dispatcher/src/wlan_pmo_tgt_pkt_filter.o |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 894 | |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 895 | ############## UMAC P2P ########### |
| 896 | P2P_DIR := umac/p2p |
| 897 | P2P_CORE_DIR := $(P2P_DIR)/core |
| 898 | P2P_CORE_SRC_DIR := $(P2P_CORE_DIR)/src |
| 899 | P2P_CORE_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(P2P_CORE_SRC_DIR) |
| 900 | P2P_DISPATCHER_DIR := $(P2P_DIR)/dispatcher |
| 901 | P2P_DISPATCHER_INC_DIR := $(P2P_DISPATCHER_DIR)/inc |
| 902 | P2P_DISPATCHER_SRC_DIR := $(P2P_DISPATCHER_DIR)/src |
| 903 | P2P_DISPATCHER_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(P2P_DISPATCHER_SRC_DIR) |
| 904 | UMAC_P2P_INC := -I$(WLAN_COMMON_INC)/$(P2P_DISPATCHER_INC_DIR) \ |
| 905 | -I$(WLAN_COMMON_INC)/umac/scan/dispatcher/inc |
| 906 | UMAC_P2P_OBJS := $(P2P_DISPATCHER_OBJ_DIR)/wlan_p2p_ucfg_api.o \ |
| 907 | $(P2P_DISPATCHER_OBJ_DIR)/wlan_p2p_tgt_api.o \ |
| 908 | $(P2P_CORE_OBJ_DIR)/wlan_p2p_main.o \ |
| 909 | $(P2P_CORE_OBJ_DIR)/wlan_p2p_roc.o \ |
| 910 | $(P2P_CORE_OBJ_DIR)/wlan_p2p_off_chan_tx.o |
| 911 | |
Tushnim Bhattacharyya | 44939d4 | 2017-02-15 17:08:12 -0800 | [diff] [blame] | 912 | ###### UMAC POLICY MGR ######## |
| 913 | UMAC_POLICY_MGR_DIR := $(WLAN_COMMON_ROOT)/umac/cmn_services/policy_mgr |
| 914 | |
| 915 | UMAC_POLICY_MGR_INC := -I$(WLAN_COMMON_INC)/umac/cmn_services/policy_mgr/inc \ |
| 916 | -I$(WLAN_COMMON_INC)/umac/cmn_services/policy_mgr/src |
| 917 | |
| 918 | UMAC_POLICY_MGR_OBJS := $(UMAC_POLICY_MGR_DIR)/src/wlan_policy_mgr_action.o \ |
| 919 | $(UMAC_POLICY_MGR_DIR)/src/wlan_policy_mgr_core.o \ |
| 920 | $(UMAC_POLICY_MGR_DIR)/src/wlan_policy_mgr_get_set_utils.o \ |
| 921 | $(UMAC_POLICY_MGR_DIR)/src/wlan_policy_mgr_init_deinit.o \ |
| 922 | $(UMAC_POLICY_MGR_DIR)/src/wlan_policy_mgr_pcl.o \ |
| 923 | |
Kabilan Kannan | 6d7a411 | 2017-04-20 14:37:09 -0700 | [diff] [blame] | 924 | ###### UMAC TDLS ######## |
| 925 | UMAC_TDLS_DIR := $(WLAN_COMMON_ROOT)/umac/tdls |
| 926 | |
| 927 | UMAC_TDLS_INC := -I$(WLAN_COMMON_INC)/umac/tdls/dispatcher/inc |
| 928 | |
| 929 | UMAC_TDLS_OBJS := $(UMAC_TDLS_DIR)/core/src/wlan_tdls_main.o \ |
| 930 | $(UMAC_TDLS_DIR)/core/src/wlan_tdls_cmds_process.o \ |
| 931 | $(UMAC_TDLS_DIR)/core/src/wlan_tdls_peer.o \ |
| 932 | $(UMAC_TDLS_DIR)/core/src/wlan_tdls_mgmt.o \ |
| 933 | $(UMAC_TDLS_DIR)/core/src/wlan_tdls_ct.o \ |
| 934 | $(UMAC_TDLS_DIR)/dispatcher/src/wlan_tdls_tgt_api.o \ |
| 935 | $(UMAC_TDLS_DIR)/dispatcher/src/wlan_tdls_ucfg_api.o \ |
| 936 | $(UMAC_TDLS_DIR)/dispatcher/src/wlan_tdls_utils_api.o \ |
| 937 | $(WLAN_COMMON_ROOT)/os_if/linux/tdls/src/wlan_cfg80211_tdls.o |
| 938 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 939 | ########### BMI ########### |
| 940 | BMI_DIR := core/bmi |
| 941 | |
| 942 | BMI_INC := -I$(WLAN_ROOT)/$(BMI_DIR)/inc |
| 943 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 944 | BMI_OBJS := $(BMI_DIR)/src/bmi.o \ |
Poddar, Siddarth | ef1f302 | 2016-05-10 20:10:43 +0530 | [diff] [blame] | 945 | $(BMI_DIR)/src/ol_fw.o \ |
| 946 | $(BMI_DIR)/src/ol_fw_common.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 947 | BMI_OBJS += $(BMI_DIR)/src/bmi_1.o |
Govind Singh | 0fea23a | 2016-03-18 12:59:27 +0530 | [diff] [blame] | 948 | |
Mukul Sharma | c3e7a78 | 2017-02-03 12:16:11 +0530 | [diff] [blame] | 949 | ########## TARGET_IF ####### |
| 950 | TARGET_IF_DIR := $(WLAN_COMMON_ROOT)/target_if |
| 951 | |
| 952 | TARGET_IF_INC := -I$(WLAN_COMMON_INC)/target_if/core/inc \ |
Rajeev Kumar | da2444c | 2017-01-10 22:42:07 -0800 | [diff] [blame] | 953 | -I$(WLAN_COMMON_INC)/target_if/core/src \ |
Mukul Sharma | 0cdf8b3 | 2017-02-04 14:27:56 +0530 | [diff] [blame] | 954 | -I$(WLAN_COMMON_INC)/target_if/init_deinit/inc \ |
| 955 | -I$(WLAN_COMMON_INC)/target_if/pmo/inc \ |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 956 | -I$(WLAN_COMMON_INC)/target_if/pmo/src \ |
Kiran Kumar Lokere | 3fbafbc | 2017-01-10 12:57:52 -0800 | [diff] [blame] | 957 | -I$(WLAN_COMMON_INC)/target_if/p2p/inc \ |
Kabilan Kannan | 6d7a411 | 2017-04-20 14:37:09 -0700 | [diff] [blame] | 958 | -I$(WLAN_COMMON_INC)/target_if/regulatory/inc \ |
| 959 | -I$(WLAN_COMMON_INC)/target_if/tdls/inc |
Mukul Sharma | c3e7a78 | 2017-02-03 12:16:11 +0530 | [diff] [blame] | 960 | |
Rajeev Kumar | da2444c | 2017-01-10 22:42:07 -0800 | [diff] [blame] | 961 | TARGET_IF_OBJ := $(TARGET_IF_DIR)/core/src/target_if_main.o \ |
Mukul Sharma | 0cdf8b3 | 2017-02-04 14:27:56 +0530 | [diff] [blame] | 962 | $(TARGET_IF_DIR)/init_deinit/src/service_ready_event_handler.o \ |
| 963 | $(TARGET_IF_DIR)/pmo/src/target_if_pmo_main.o \ |
| 964 | $(TARGET_IF_DIR)/pmo/src/target_if_pmo_arp.o \ |
| 965 | $(TARGET_IF_DIR)/pmo/src/target_if_pmo_ns.o \ |
| 966 | $(TARGET_IF_DIR)/pmo/src/target_if_pmo_gtk.o \ |
| 967 | $(TARGET_IF_DIR)/pmo/src/target_if_pmo_wow.o \ |
Dustin Brown | 1224e21 | 2017-05-12 14:02:12 -0700 | [diff] [blame] | 968 | $(TARGET_IF_DIR)/pmo/src/target_if_pmo_hw_filter.o \ |
Mukul Sharma | 0cdf8b3 | 2017-02-04 14:27:56 +0530 | [diff] [blame] | 969 | $(TARGET_IF_DIR)/pmo/src/target_if_pmo_mc_addr_filtering.o \ |
Mukul Sharma | 4c60a7e | 2017-03-06 19:42:18 +0530 | [diff] [blame] | 970 | $(TARGET_IF_DIR)/pmo/src/target_if_pmo_static_config.o \ |
| 971 | $(TARGET_IF_DIR)/pmo/src/target_if_pmo_lphb.o \ |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 972 | $(TARGET_IF_DIR)/pmo/src/target_if_pmo_suspend_resume.o \ |
Ravi Kumar Bokka | 0b9ead3 | 2017-05-11 17:01:43 +0530 | [diff] [blame] | 973 | $(TARGET_IF_DIR)/pmo/src/target_if_pmo_pkt_filter.o \ |
Kiran Kumar Lokere | 3fbafbc | 2017-01-10 12:57:52 -0800 | [diff] [blame] | 974 | $(TARGET_IF_DIR)/p2p/src/target_if_p2p.o \ |
Kabilan Kannan | 6d7a411 | 2017-04-20 14:37:09 -0700 | [diff] [blame] | 975 | $(TARGET_IF_DIR)/regulatory/src/target_if_reg.o \ |
| 976 | $(TARGET_IF_DIR)/tdls/src/target_if_tdls.o |
Mukul Sharma | c3e7a78 | 2017-02-03 12:16:11 +0530 | [diff] [blame] | 977 | |
Mukul Sharma | dad267e | 2017-02-04 13:25:34 +0530 | [diff] [blame] | 978 | ########### GLOBAL_LMAC_IF ########## |
| 979 | GLOBAL_LMAC_IF_DIR := $(WLAN_COMMON_ROOT)/global_lmac_if |
| 980 | |
| 981 | GLOBAL_LMAC_IF_INC := -I$(WLAN_COMMON_INC)/global_lmac_if/inc \ |
| 982 | -I$(WLAN_COMMON_INC)/global_lmac_if/src |
| 983 | |
| 984 | GLOBAL_LMAC_IF_OBJ := $(GLOBAL_LMAC_IF_DIR)/src/wlan_global_lmac_if.o |
| 985 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 986 | ########### WMI ########### |
Govind Singh | 0fea23a | 2016-03-18 12:59:27 +0530 | [diff] [blame] | 987 | WMI_ROOT_DIR := wmi |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 988 | |
Govind Singh | 0fea23a | 2016-03-18 12:59:27 +0530 | [diff] [blame] | 989 | WMI_SRC_DIR := $(WMI_ROOT_DIR)/src |
| 990 | WMI_INC_DIR := $(WMI_ROOT_DIR)/inc |
| 991 | WMI_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(WMI_SRC_DIR) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 992 | |
Govind Singh | 0fea23a | 2016-03-18 12:59:27 +0530 | [diff] [blame] | 993 | WMI_INC := -I$(WLAN_COMMON_INC)/$(WMI_INC_DIR) |
| 994 | |
| 995 | WMI_OBJS := $(WMI_OBJ_DIR)/wmi_unified.o \ |
| 996 | $(WMI_OBJ_DIR)/wmi_tlv_helper.o \ |
| 997 | $(WMI_OBJ_DIR)/wmi_unified_tlv.o \ |
| 998 | $(WMI_OBJ_DIR)/wmi_unified_api.o \ |
Mukul Sharma | 0cdf8b3 | 2017-02-04 14:27:56 +0530 | [diff] [blame] | 999 | $(WMI_OBJ_DIR)/wmi_unified_pmo_api.o \ |
Kiran Kumar Lokere | 3fbafbc | 2017-01-10 12:57:52 -0800 | [diff] [blame] | 1000 | $(WMI_OBJ_DIR)/wmi_unified_reg_api.o \ |
Arif Hussain | 757b45f | 2017-02-11 16:47:06 -0800 | [diff] [blame] | 1001 | $(WMI_OBJ_DIR)/wmi_unified_dfs_api.o \ |
Govind Singh | 0fea23a | 2016-03-18 12:59:27 +0530 | [diff] [blame] | 1002 | $(WMI_OBJ_DIR)/wmi_unified_non_tlv.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1003 | |
| 1004 | ########### FWLOG ########### |
Srinivas Girigowda | c1bb1bd | 2017-01-10 16:56:54 -0800 | [diff] [blame] | 1005 | FWLOG_DIR := $(WLAN_COMMON_ROOT)/utils/fwlog |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1006 | |
| 1007 | FWLOG_INC := -I$(WLAN_ROOT)/$(FWLOG_DIR) |
| 1008 | |
| 1009 | FWLOG_OBJS := $(FWLOG_DIR)/dbglog_host.o |
| 1010 | |
| 1011 | ############ TXRX ############ |
| 1012 | TXRX_DIR := core/dp/txrx |
| 1013 | TXRX_INC := -I$(WLAN_ROOT)/$(TXRX_DIR) |
| 1014 | |
| 1015 | TXRX_OBJS := $(TXRX_DIR)/ol_txrx.o \ |
| 1016 | $(TXRX_DIR)/ol_cfg.o \ |
| 1017 | $(TXRX_DIR)/ol_rx.o \ |
| 1018 | $(TXRX_DIR)/ol_rx_fwd.o \ |
| 1019 | $(TXRX_DIR)/ol_txrx.o \ |
| 1020 | $(TXRX_DIR)/ol_rx_defrag.o \ |
| 1021 | $(TXRX_DIR)/ol_tx_desc.o \ |
| 1022 | $(TXRX_DIR)/ol_tx.o \ |
| 1023 | $(TXRX_DIR)/ol_rx_reorder_timeout.o \ |
| 1024 | $(TXRX_DIR)/ol_rx_reorder.o \ |
| 1025 | $(TXRX_DIR)/ol_rx_pn.o \ |
| 1026 | $(TXRX_DIR)/ol_tx_queue.o \ |
| 1027 | $(TXRX_DIR)/ol_txrx_peer_find.o \ |
| 1028 | $(TXRX_DIR)/ol_txrx_event.o \ |
| 1029 | $(TXRX_DIR)/ol_txrx_encap.o \ |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1030 | $(TXRX_DIR)/ol_tx_send.o \ |
| 1031 | $(TXRX_DIR)/ol_tx_sched.o \ |
| 1032 | $(TXRX_DIR)/ol_tx_classify.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1033 | |
| 1034 | ifeq ($(CONFIG_WLAN_TX_FLOW_CONTROL_V2), y) |
| 1035 | TXRX_OBJS += $(TXRX_DIR)/ol_txrx_flow_control.o |
| 1036 | endif |
| 1037 | |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1038 | ifeq ($(CONFIG_LITHIUM), y) |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1039 | ############ DP 3.0 ############ |
| 1040 | DP_INC := -I$(WLAN_COMMON_ROOT)/dp/inc \ |
| 1041 | -I$(WLAN_COMMON_ROOT)/dp/wifi3.0 |
| 1042 | |
| 1043 | DP_SRC := $(WLAN_COMMON_ROOT)/dp/wifi3.0 |
| 1044 | DP_OBJS := $(DP_SRC)/dp_main.o \ |
| 1045 | $(DP_SRC)/dp_tx.o \ |
| 1046 | $(DP_SRC)/dp_tx_desc.o \ |
| 1047 | $(DP_SRC)/dp_rx.o \ |
| 1048 | $(DP_SRC)/dp_rx_err.o \ |
| 1049 | $(DP_SRC)/dp_htt.o \ |
| 1050 | $(DP_SRC)/dp_peer.o \ |
Debashis Dutt | 237c614 | 2017-01-04 11:28:59 -0800 | [diff] [blame] | 1051 | $(DP_SRC)/dp_rx_desc.o \ |
Ravi Joshi | 12665a0 | 2017-03-08 16:35:04 -0800 | [diff] [blame] | 1052 | $(DP_SRC)/dp_reo.o \ |
| 1053 | $(DP_SRC)/dp_rx_mon_dest.o \ |
Ravi Joshi | c4a4108 | 2017-01-09 22:27:58 -0800 | [diff] [blame] | 1054 | $(DP_SRC)/dp_rx_mon_status.o \ |
Venkata Sharath Chandra Manchala | bcdfdb1 | 2017-03-29 19:25:45 -0700 | [diff] [blame] | 1055 | $(DP_SRC)/dp_rx_defrag.o \ |
| 1056 | $(DP_SRC)/dp_stats.o |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1057 | endif |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1058 | |
| 1059 | ############ CFG ############ |
Ravi Joshi | d55b18a | 2017-02-17 10:48:14 -0800 | [diff] [blame] | 1060 | WCFG_DIR := wlan_cfg |
| 1061 | WCFG_INC := -I$(WLAN_COMMON_INC)/$(WCFG_DIR) |
| 1062 | WCFG_SRC := $(WLAN_COMMON_ROOT)/$(WCFG_DIR) |
| 1063 | WCFG_OBJS := $(WCFG_SRC)/wlan_cfg.o |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1064 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1065 | ############ OL ############ |
| 1066 | OL_DIR := core/dp/ol |
| 1067 | OL_INC := -I$(WLAN_ROOT)/$(OL_DIR)/inc |
| 1068 | |
Dhanashri Atre | 12a0839 | 2016-02-17 13:10:34 -0800 | [diff] [blame] | 1069 | ############ CDP ############ |
| 1070 | CDP_ROOT_DIR := dp |
| 1071 | CDP_INC_DIR := $(CDP_ROOT_DIR)/inc |
| 1072 | CDP_INC := -I$(WLAN_COMMON_INC)/$(CDP_INC_DIR) |
| 1073 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1074 | ############ PKTLOG ############ |
Srinivas Girigowda | c1bb1bd | 2017-01-10 16:56:54 -0800 | [diff] [blame] | 1075 | PKTLOG_DIR := $(WLAN_COMMON_ROOT)/utils/pktlog |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1076 | PKTLOG_INC := -I$(WLAN_ROOT)/$(PKTLOG_DIR)/include |
| 1077 | |
| 1078 | PKTLOG_OBJS := $(PKTLOG_DIR)/pktlog_ac.o \ |
| 1079 | $(PKTLOG_DIR)/pktlog_internal.o \ |
| 1080 | $(PKTLOG_DIR)/linux_ac.o |
| 1081 | |
| 1082 | ############ HTT ############ |
| 1083 | HTT_DIR := core/dp/htt |
| 1084 | HTT_INC := -I$(WLAN_ROOT)/$(HTT_DIR) |
| 1085 | |
| 1086 | HTT_OBJS := $(HTT_DIR)/htt_tx.o \ |
| 1087 | $(HTT_DIR)/htt.o \ |
| 1088 | $(HTT_DIR)/htt_t2h.o \ |
| 1089 | $(HTT_DIR)/htt_h2t.o \ |
| 1090 | $(HTT_DIR)/htt_fw_stats.o \ |
| 1091 | $(HTT_DIR)/htt_rx.o |
| 1092 | |
Rajeev Kumar | 97767a0 | 2016-11-30 11:20:40 -0800 | [diff] [blame] | 1093 | |
| 1094 | ############## INIT-DEINIT ########### |
| 1095 | INIT_DEINIT_DIR := init_deinit/dispatcher |
| 1096 | INIT_DEINIT_INC_DIR := $(INIT_DEINIT_DIR)/inc |
| 1097 | INIT_DEINIT_SRC_DIR := $(INIT_DEINIT_DIR)/src |
| 1098 | INIT_DEINIT_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(INIT_DEINIT_SRC_DIR) |
| 1099 | INIT_DEINIT_INC := -I$(WLAN_COMMON_INC)/$(INIT_DEINIT_INC_DIR) |
| 1100 | INIT_DEINIT_OBJS := $(INIT_DEINIT_OBJ_DIR)/dispatcher_init_deinit.o |
| 1101 | |
Kiran Kumar Lokere | 3fbafbc | 2017-01-10 12:57:52 -0800 | [diff] [blame] | 1102 | ############## REGULATORY ########### |
| 1103 | REGULATORY_DIR := umac/regulatory |
| 1104 | REGULATORY_CORE_INC_DIR := $(REGULATORY_DIR)/core/inc |
| 1105 | REGULATORY_CORE_SRC_DIR := $(REGULATORY_DIR)/core/src |
| 1106 | REG_DISPATCHER_INC_DIR := $(REGULATORY_DIR)/dispatcher/inc |
| 1107 | REG_DISPATCHER_SRC_DIR := $(REGULATORY_DIR)/dispatcher/src |
| 1108 | REG_CORE_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(REGULATORY_CORE_SRC_DIR) |
| 1109 | REG_DISPATCHER_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(REG_DISPATCHER_SRC_DIR) |
| 1110 | REGULATORY_INC := -I$(WLAN_COMMON_INC)/$(REGULATORY_CORE_INC_DIR) |
| 1111 | REGULATORY_INC += -I$(WLAN_COMMON_INC)/$(REG_DISPATCHER_INC_DIR) |
| 1112 | REGULATORY_OBJS := $(REG_CORE_OBJ_DIR)/reg_db.o \ |
| 1113 | $(REG_CORE_OBJ_DIR)/reg_services.o \ |
Amar Singhal | eac6413 | 2017-05-05 13:02:37 -0700 | [diff] [blame] | 1114 | $(REG_CORE_OBJ_DIR)/reg_db_parser.o \ |
Kiran Kumar Lokere | 3fbafbc | 2017-01-10 12:57:52 -0800 | [diff] [blame] | 1115 | $(REG_DISPATCHER_OBJ_DIR)/wlan_reg_services_api.o \ |
| 1116 | $(REG_DISPATCHER_OBJ_DIR)/wlan_reg_tgt_api.o \ |
| 1117 | $(REG_DISPATCHER_OBJ_DIR)/wlan_reg_ucfg_api.o |
| 1118 | |
Rajeev Kumar | 1705fc2 | 2016-11-30 16:12:16 -0800 | [diff] [blame] | 1119 | ############## Control path common scheduler ########## |
Rajeev Kumar | ebb0a73 | 2016-12-24 19:05:44 -0800 | [diff] [blame] | 1120 | SCHEDULER_DIR := scheduler |
| 1121 | SCHEDULER_INC_DIR := $(SCHEDULER_DIR)/inc |
| 1122 | SCHEDULER_SRC_DIR := $(SCHEDULER_DIR)/src |
| 1123 | SCHEDULER_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(SCHEDULER_SRC_DIR) |
| 1124 | SCHEDULER_INC := -I$(WLAN_COMMON_INC)/$(SCHEDULER_INC_DIR) |
| 1125 | SCHEDULER_OBJS := $(SCHEDULER_OBJ_DIR)/scheduler_api.o \ |
| 1126 | $(SCHEDULER_OBJ_DIR)/scheduler_core.o |
Rajeev Kumar | 1705fc2 | 2016-11-30 16:12:16 -0800 | [diff] [blame] | 1127 | |
Varun Reddy Yeturu | 269eca1 | 2017-01-03 06:32:07 -0800 | [diff] [blame] | 1128 | ###### UMAC SERIALIZATION ######## |
| 1129 | UMAC_SER_DIR := umac/cmn_services/serialization |
| 1130 | UMAC_SER_INC_DIR := $(UMAC_SER_DIR)/inc |
| 1131 | UMAC_SER_SRC_DIR := $(UMAC_SER_DIR)/src |
| 1132 | UMAC_SER_OBJ_DIR := $(WLAN_COMMON_ROOT)/$(UMAC_SER_SRC_DIR) |
Rajeev Kumar | 97767a0 | 2016-11-30 11:20:40 -0800 | [diff] [blame] | 1133 | |
Varun Reddy Yeturu | 269eca1 | 2017-01-03 06:32:07 -0800 | [diff] [blame] | 1134 | UMAC_SER_INC := -I$(WLAN_COMMON_INC)/$(UMAC_SER_INC_DIR) |
| 1135 | UMAC_SER_OBJS := $(UMAC_SER_OBJ_DIR)/wlan_serialization_dequeue.o \ |
| 1136 | $(UMAC_SER_OBJ_DIR)/wlan_serialization_enqueue.o \ |
| 1137 | $(UMAC_SER_OBJ_DIR)/wlan_serialization_main.o \ |
| 1138 | $(UMAC_SER_OBJ_DIR)/wlan_serialization_api.o \ |
| 1139 | $(UMAC_SER_OBJ_DIR)/wlan_serialization_utils.o \ |
Varun Reddy Yeturu | 35c07f9 | 2017-02-28 10:35:00 -0800 | [diff] [blame] | 1140 | $(UMAC_SER_OBJ_DIR)/wlan_serialization_legacy_api.o \ |
Varun Reddy Yeturu | 269eca1 | 2017-01-03 06:32:07 -0800 | [diff] [blame] | 1141 | $(UMAC_SER_OBJ_DIR)/wlan_serialization_rules.o |
Naveen Rawat | 4e2c256 | 2017-03-06 10:47:02 -0800 | [diff] [blame] | 1142 | |
| 1143 | ###### WIFI POS ######## |
Naveen Rawat | 91a27b7 | 2017-03-20 18:49:57 -0700 | [diff] [blame] | 1144 | CONFIG_WIFI_POS_CONVERGED := y |
Naveen Rawat | 4e2c256 | 2017-03-06 10:47:02 -0800 | [diff] [blame] | 1145 | |
| 1146 | WIFI_POS_OS_IF_DIR := $(WLAN_COMMON_ROOT)/os_if/linux/wifi_pos/src |
| 1147 | WIFI_POS_OS_IF_INC := -I$(WLAN_COMMON_INC)/os_if/linux/wifi_pos/inc |
| 1148 | WIFI_POS_TGT_DIR := $(WLAN_COMMON_ROOT)/target_if/wifi_pos/src |
| 1149 | WIFI_POS_TGT_INC := -I$(WLAN_COMMON_INC)/target_if/wifi_pos/inc |
| 1150 | WIFI_POS_CORE_DIR := $(WLAN_COMMON_ROOT)/umac/wifi_pos/src |
| 1151 | WIFI_POS_API_INC := -I$(WLAN_COMMON_INC)/umac/wifi_pos/inc |
| 1152 | |
| 1153 | |
| 1154 | ifeq ($(CONFIG_WIFI_POS_CONVERGED), y) |
| 1155 | WIFI_POS_OBJS := $(WIFI_POS_CORE_DIR)/wifi_pos_api.o \ |
| 1156 | $(WIFI_POS_CORE_DIR)/wifi_pos_main.o \ |
| 1157 | $(WIFI_POS_CORE_DIR)/wifi_pos_ucfg.o \ |
| 1158 | $(WIFI_POS_CORE_DIR)/wifi_pos_utils.o \ |
| 1159 | $(WIFI_POS_OS_IF_DIR)/os_if_wifi_pos.o \ |
| 1160 | $(WIFI_POS_TGT_DIR)/target_if_wifi_pos.o |
| 1161 | endif |
| 1162 | |
Naveen Rawat | 6d2bf18 | 2017-03-22 10:18:00 -0700 | [diff] [blame] | 1163 | ######################### NAN ######################### |
| 1164 | NAN_CORE_DIR := $(WLAN_COMMON_ROOT)/umac/nan/core/src |
| 1165 | NAN_CORE_INC := -I$(WLAN_COMMON_INC)/umac/nan/core/inc |
| 1166 | NAN_UCFG_DIR := $(WLAN_COMMON_ROOT)/umac/nan/dispatcher/src |
| 1167 | NAN_UCFG_INC := -I$(WLAN_COMMON_INC)/umac/nan/dispatcher/inc |
| 1168 | NAN_TGT_DIR := $(WLAN_COMMON_ROOT)/target_if/nan/src |
| 1169 | NAN_TGT_INC := -I$(WLAN_COMMON_INC)/target_if/nan/inc |
| 1170 | NAN_OS_IF_DIR := $(WLAN_COMMON_ROOT)/os_if/linux/nan/src |
| 1171 | NAN_OS_IF_INC := -I$(WLAN_COMMON_INC)/os_if/linux/nan/inc |
| 1172 | |
| 1173 | ifeq ($(CONFIG_NAN_CONVERGENCE), y) |
| 1174 | WLAN_NAN_OBJS := $(NAN_CORE_DIR)/nan_main.o \ |
| 1175 | $(NAN_CORE_DIR)/nan_api.o \ |
| 1176 | $(NAN_CORE_DIR)/nan_utils.o \ |
| 1177 | $(NAN_UCFG_DIR)/nan_ucfg_api.o \ |
| 1178 | $(NAN_TGT_DIR)/target_if_nan.o \ |
| 1179 | $(NAN_OS_IF_DIR)/os_if_nan.o |
| 1180 | endif |
| 1181 | ####################################################### |
| 1182 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1183 | ############## HTC ########## |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1184 | HTC_DIR := htc |
| 1185 | HTC_INC := -I$(WLAN_COMMON_INC)/$(HTC_DIR) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1186 | |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1187 | HTC_OBJS := $(WLAN_COMMON_ROOT)/$(HTC_DIR)/htc.o \ |
| 1188 | $(WLAN_COMMON_ROOT)/$(HTC_DIR)/htc_send.o \ |
| 1189 | $(WLAN_COMMON_ROOT)/$(HTC_DIR)/htc_recv.o \ |
| 1190 | $(WLAN_COMMON_ROOT)/$(HTC_DIR)/htc_services.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1191 | |
| 1192 | ########### HIF ########### |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1193 | HIF_DIR := hif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1194 | HIF_CE_DIR := $(HIF_DIR)/src/ce |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1195 | |
| 1196 | HIF_DISPATCHER_DIR := $(HIF_DIR)/src/dispatcher |
| 1197 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1198 | HIF_PCIE_DIR := $(HIF_DIR)/src/pcie |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1199 | HIF_SNOC_DIR := $(HIF_DIR)/src/snoc |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 1200 | HIF_USB_DIR := $(HIF_DIR)/src/usb |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1201 | HIF_SDIO_DIR := $(HIF_DIR)/src/sdio |
| 1202 | |
| 1203 | HIF_SDIO_NATIVE_DIR := $(HIF_SDIO_DIR)/native_sdio |
| 1204 | HIF_SDIO_NATIVE_INC_DIR := $(HIF_SDIO_NATIVE_DIR)/include |
| 1205 | HIF_SDIO_NATIVE_SRC_DIR := $(HIF_SDIO_NATIVE_DIR)/src |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1206 | |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1207 | HIF_INC := -I$(WLAN_COMMON_INC)/$(HIF_DIR)/inc \ |
| 1208 | -I$(WLAN_COMMON_INC)/$(HIF_DIR)/src \ |
Yuanyuan Liu | 9135361 | 2016-05-04 12:02:00 -0700 | [diff] [blame] | 1209 | -I$(WLAN_COMMON_INC)/$(HIF_CE_DIR) |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1210 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1211 | ifeq ($(CONFIG_HIF_PCI), 1) |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1212 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_DISPATCHER_DIR) |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1213 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_PCIE_DIR) |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1214 | endif |
| 1215 | |
| 1216 | ifeq ($(CONFIG_HIF_SNOC), 1) |
| 1217 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_DISPATCHER_DIR) |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1218 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_SNOC_DIR) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1219 | endif |
| 1220 | |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 1221 | ifeq ($(CONFIG_HIF_USB), 1) |
| 1222 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_DISPATCHER_DIR) |
| 1223 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_USB_DIR) |
| 1224 | endif |
| 1225 | |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1226 | ifeq ($(CONFIG_HIF_SDIO), 1) |
| 1227 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_DISPATCHER_DIR) |
| 1228 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_SDIO_DIR) |
| 1229 | HIF_INC += -I$(WLAN_COMMON_INC)/$(HIF_SDIO_NATIVE_INC_DIR) |
| 1230 | endif |
| 1231 | |
| 1232 | HIF_COMMON_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/ath_procfs.o \ |
| 1233 | $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/hif_main.o \ |
| 1234 | $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/mp_dev.o |
| 1235 | |
| 1236 | HIF_CE_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_CE_DIR)/ce_bmi.o \ |
| 1237 | $(WLAN_COMMON_ROOT)/$(HIF_CE_DIR)/ce_diag.o \ |
| 1238 | $(WLAN_COMMON_ROOT)/$(HIF_CE_DIR)/ce_main.o \ |
| 1239 | $(WLAN_COMMON_ROOT)/$(HIF_CE_DIR)/ce_service.o \ |
| 1240 | $(WLAN_COMMON_ROOT)/$(HIF_CE_DIR)/ce_tasklet.o \ |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1241 | $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/regtable.o |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1242 | |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1243 | ifeq ($(CONFIG_LITHIUM), y) |
| 1244 | HIF_CE_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/qca6290def.o \ |
| 1245 | $(WLAN_COMMON_ROOT)/$(HIF_CE_DIR)/ce_service_srng.o |
Houston Hoffman | a0f9349 | 2016-11-18 13:42:12 -0800 | [diff] [blame] | 1246 | endif |
| 1247 | |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 1248 | HIF_USB_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_USB_DIR)/usbdrv.o \ |
| 1249 | $(WLAN_COMMON_ROOT)/$(HIF_USB_DIR)/hif_usb.o \ |
| 1250 | $(WLAN_COMMON_ROOT)/$(HIF_USB_DIR)/if_usb.o \ |
| 1251 | $(WLAN_COMMON_ROOT)/$(HIF_USB_DIR)/regtable_usb.o |
| 1252 | |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1253 | HIF_SDIO_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_sdio_send.o \ |
| 1254 | $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_bmi_reg_access.o \ |
| 1255 | $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_diag_reg_access.o \ |
| 1256 | $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_sdio_dev.o \ |
| 1257 | $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_sdio.o \ |
| 1258 | $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/hif_sdio_recv.o \ |
| 1259 | $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/regtable_sdio.o |
| 1260 | |
| 1261 | HIF_SDIO_NATIVE_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_SDIO_NATIVE_SRC_DIR)/hif.o \ |
| 1262 | $(WLAN_COMMON_ROOT)/$(HIF_SDIO_NATIVE_SRC_DIR)/hif_scatter.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1263 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1264 | ifeq ($(CONFIG_WLAN_NAPI), y) |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1265 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DIR)/src/hif_napi.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1266 | endif |
| 1267 | |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1268 | HIF_PCIE_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_PCIE_DIR)/if_pci.o |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1269 | HIF_SNOC_OBJS := $(WLAN_COMMON_ROOT)/$(HIF_SNOC_DIR)/if_snoc.o |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1270 | HIF_SDIO_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_SDIO_DIR)/if_sdio.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1271 | |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1272 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DISPATCHER_DIR)/multibus.o |
Houston Hoffman | b61b9b1 | 2016-03-03 20:04:16 -0800 | [diff] [blame] | 1273 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DISPATCHER_DIR)/dummy.o |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1274 | |
| 1275 | ifeq ($(CONFIG_HIF_PCI), 1) |
| 1276 | HIF_OBJS += $(HIF_PCIE_OBJS) |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1277 | HIF_OBJS += $(HIF_COMMON_OBJS) |
| 1278 | HIF_OBJS += $(HIF_CE_OBJS) |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1279 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DISPATCHER_DIR)/multibus_pci.o |
| 1280 | endif |
| 1281 | |
| 1282 | ifeq ($(CONFIG_HIF_SNOC), 1) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1283 | HIF_OBJS += $(HIF_SNOC_OBJS) |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1284 | HIF_OBJS += $(HIF_COMMON_OBJS) |
| 1285 | HIF_OBJS += $(HIF_CE_OBJS) |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1286 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DISPATCHER_DIR)/multibus_snoc.o |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1287 | endif |
| 1288 | |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1289 | ifeq ($(CONFIG_HIF_SDIO), 1) |
| 1290 | HIF_OBJS += $(HIF_SDIO_OBJS) |
| 1291 | HIF_OBJS += $(HIF_SDIO_NATIVE_OBJS) |
| 1292 | HIF_OBJS += $(HIF_COMMON_OBJS) |
| 1293 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DISPATCHER_DIR)/multibus_sdio.o |
| 1294 | endif |
| 1295 | |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 1296 | ifeq ($(CONFIG_HIF_USB), 1) |
| 1297 | HIF_OBJS += $(HIF_USB_OBJS) |
| 1298 | HIF_OBJS += $(HIF_COMMON_OBJS) |
| 1299 | HIF_OBJS += $(WLAN_COMMON_ROOT)/$(HIF_DISPATCHER_DIR)/multibus_usb.o |
| 1300 | endif |
| 1301 | |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1302 | ifeq ($(CONFIG_LITHIUM), y) |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1303 | ############ HAL ############ |
| 1304 | HAL_DIR := hal |
| 1305 | HAL_INC := -I$(WLAN_COMMON_INC)/$(HAL_DIR)/inc \ |
| 1306 | -I$(WLAN_COMMON_INC)/$(HAL_DIR)/wifi3.0 |
| 1307 | |
| 1308 | HAL_OBJS := $(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/hal_srng.o \ |
| 1309 | $(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/hal_rx.o \ |
Debashis Dutt | 237c614 | 2017-01-04 11:28:59 -0800 | [diff] [blame] | 1310 | $(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/hal_wbm.o \ |
| 1311 | $(WLAN_COMMON_ROOT)/$(HAL_DIR)/wifi3.0/hal_reo.o |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1312 | endif |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1313 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1314 | ############ WMA ############ |
| 1315 | WMA_DIR := core/wma |
| 1316 | |
| 1317 | WMA_INC_DIR := $(WMA_DIR)/inc |
| 1318 | WMA_SRC_DIR := $(WMA_DIR)/src |
| 1319 | |
| 1320 | WMA_INC := -I$(WLAN_ROOT)/$(WMA_INC_DIR) \ |
| 1321 | -I$(WLAN_ROOT)/$(WMA_SRC_DIR) |
| 1322 | |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 1323 | ifeq ($(CONFIG_WLAN_FEATURE_NAN_DATAPATH), y) |
| 1324 | WMA_NDP_OBJS += $(WMA_SRC_DIR)/wma_nan_datapath.o |
| 1325 | endif |
| 1326 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1327 | WMA_OBJS := $(WMA_SRC_DIR)/wma_main.o \ |
| 1328 | $(WMA_SRC_DIR)/wma_scan_roam.o \ |
| 1329 | $(WMA_SRC_DIR)/wma_dev_if.o \ |
| 1330 | $(WMA_SRC_DIR)/wma_mgmt.o \ |
| 1331 | $(WMA_SRC_DIR)/wma_power.o \ |
| 1332 | $(WMA_SRC_DIR)/wma_data.o \ |
| 1333 | $(WMA_SRC_DIR)/wma_utils.o \ |
| 1334 | $(WMA_SRC_DIR)/wma_features.o \ |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 1335 | $(WMA_SRC_DIR)/wlan_qct_wma_legacy.o\ |
| 1336 | $(WMA_NDP_OBJS) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1337 | |
Agrawal Ashish | b141b09 | 2016-09-02 19:59:26 +0530 | [diff] [blame] | 1338 | ifeq ($(CONFIG_WLAN_FEATURE_DSRC), y) |
Jeff Johnson | b90ab57 | 2017-01-31 15:57:35 -0800 | [diff] [blame] | 1339 | WMA_OBJS+= $(WMA_SRC_DIR)/wma_ocb.o |
Agrawal Ashish | b141b09 | 2016-09-02 19:59:26 +0530 | [diff] [blame] | 1340 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1341 | ifeq ($(CONFIG_MPC_UT_FRAMEWORK),y) |
| 1342 | WMA_OBJS += $(WMA_SRC_DIR)/wma_utils_ut.o |
| 1343 | endif |
Krishna Kumaar Natarajan | d0bbb3c | 2017-03-13 17:04:58 -0700 | [diff] [blame] | 1344 | ifeq ($(CONFIG_WLAN_FEATURE_11AX), y) |
| 1345 | WMA_OBJS+= $(WMA_SRC_DIR)/wma_he.o |
| 1346 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1347 | |
Yuanyuan Liu | d9f7a36 | 2016-01-22 14:27:12 -0800 | [diff] [blame] | 1348 | ############## PLD ########## |
| 1349 | PLD_DIR := core/pld |
| 1350 | PLD_INC_DIR := $(PLD_DIR)/inc |
| 1351 | PLD_SRC_DIR := $(PLD_DIR)/src |
| 1352 | |
| 1353 | PLD_INC := -I$(WLAN_ROOT)/$(PLD_INC_DIR) \ |
| 1354 | -I$(WLAN_ROOT)/$(PLD_SRC_DIR) |
| 1355 | |
| 1356 | PLD_OBJS := $(PLD_SRC_DIR)/pld_common.o |
| 1357 | |
| 1358 | ifeq ($(CONFIG_PCI), y) |
| 1359 | PLD_OBJS += $(PLD_SRC_DIR)/pld_pcie.o |
| 1360 | endif |
| 1361 | ifeq ($(CONFIG_ICNSS),y) |
| 1362 | PLD_OBJS += $(PLD_SRC_DIR)/pld_snoc.o |
| 1363 | endif |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1364 | ifeq ($(CONFIG_CNSS_SDIO),y) |
| 1365 | PLD_OBJS += $(PLD_SRC_DIR)/pld_sdio.o |
| 1366 | endif |
Mohit Khanna | e7a4357 | 2016-10-10 17:34:21 -0700 | [diff] [blame] | 1367 | ifeq ($(CONFIG_PLD_USB_CNSS), y) |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 1368 | PLD_OBJS += $(PLD_SRC_DIR)/pld_usb.o |
| 1369 | endif |
Yuanyuan Liu | d9f7a36 | 2016-01-22 14:27:12 -0800 | [diff] [blame] | 1370 | |
Dhanashri Atre | f067b58 | 2017-04-14 16:56:24 -0700 | [diff] [blame] | 1371 | TARGET_INC := -I$(WLAN_ROOT)/../fw-api/hw/qca6290/v2 \ |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1372 | -I$(WLAN_ROOT)/../fw-api/fw |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1373 | |
| 1374 | LINUX_INC := -Iinclude/linux |
| 1375 | |
| 1376 | INCS := $(HDD_INC) \ |
| 1377 | $(EPPING_INC) \ |
| 1378 | $(LINUX_INC) \ |
| 1379 | $(MAC_INC) \ |
| 1380 | $(SAP_INC) \ |
| 1381 | $(SME_INC) \ |
| 1382 | $(SYS_INC) \ |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1383 | $(QDF_INC) \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1384 | $(CDS_INC) \ |
Mukul Sharma | c3e7a78 | 2017-02-03 12:16:11 +0530 | [diff] [blame] | 1385 | $(DFS_INC) \ |
Mukul Sharma | dad267e | 2017-02-04 13:25:34 +0530 | [diff] [blame] | 1386 | $(TARGET_IF_INC) \ |
Sandeep Puligilla | fdd201e | 2017-02-02 18:43:46 -0800 | [diff] [blame] | 1387 | $(OS_IF_INC) \ |
Mukul Sharma | dad267e | 2017-02-04 13:25:34 +0530 | [diff] [blame] | 1388 | $(GLOBAL_LMAC_IF_INC) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1389 | |
| 1390 | INCS += $(WMA_INC) \ |
| 1391 | $(UAPI_INC) \ |
| 1392 | $(COMMON_INC) \ |
| 1393 | $(WMI_INC) \ |
| 1394 | $(FWLOG_INC) \ |
| 1395 | $(TXRX_INC) \ |
| 1396 | $(OL_INC) \ |
Dhanashri Atre | 12a0839 | 2016-02-17 13:10:34 -0800 | [diff] [blame] | 1397 | $(CDP_INC) \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1398 | $(PKTLOG_INC) \ |
| 1399 | $(HTT_INC) \ |
Rajeev Kumar | 97767a0 | 2016-11-30 11:20:40 -0800 | [diff] [blame] | 1400 | $(INIT_DEINIT_INC) \ |
Rajeev Kumar | ebb0a73 | 2016-12-24 19:05:44 -0800 | [diff] [blame] | 1401 | $(SCHEDULER_INC) \ |
Kiran Kumar Lokere | 3fbafbc | 2017-01-10 12:57:52 -0800 | [diff] [blame] | 1402 | $(REGULATORY_INC) \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1403 | $(HTC_INC) \ |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1404 | $(DFS_INC) \ |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1405 | $(WCFG_INC) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1406 | |
| 1407 | INCS += $(HIF_INC) \ |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1408 | $(BMI_INC) |
| 1409 | |
| 1410 | ifeq ($(CONFIG_LITHIUM), y) |
| 1411 | INCS += $(HAL_INC) \ |
| 1412 | $(DP_INC) |
| 1413 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1414 | |
Naveen Rawat | 4e2c256 | 2017-03-06 10:47:02 -0800 | [diff] [blame] | 1415 | ################ WIFI POS ################ |
| 1416 | INCS += $(WIFI_POS_API_INC) |
| 1417 | INCS += $(WIFI_POS_TGT_INC) |
| 1418 | INCS += $(WIFI_POS_OS_IF_INC) |
| 1419 | ########################################## |
| 1420 | |
Naveen Rawat | 6d2bf18 | 2017-03-22 10:18:00 -0700 | [diff] [blame] | 1421 | ################ NAN POS ################ |
| 1422 | INCS += $(NAN_CORE_INC) |
| 1423 | INCS += $(NAN_UCFG_INC) |
| 1424 | INCS += $(NAN_TGT_INC) |
| 1425 | INCS += $(NAN_OS_IF_INC) |
| 1426 | ########################################## |
Selvaraj, Sridhar | 0672a12 | 2016-12-29 16:11:48 +0530 | [diff] [blame] | 1427 | INCS += $(UMAC_OBJMGR_INC) |
Himanshu Agarwal | 2fdf77a | 2016-12-29 11:41:00 +0530 | [diff] [blame] | 1428 | INCS += $(UMAC_MGMT_TXRX_INC) |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 1429 | INCS += $(PMO_INC) |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 1430 | INCS += $(UMAC_P2P_INC) |
Tushnim Bhattacharyya | 44939d4 | 2017-02-15 17:08:12 -0800 | [diff] [blame] | 1431 | INCS += $(UMAC_POLICY_MGR_INC) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1432 | INCS += $(TARGET_INC) |
Kabilan Kannan | 6d7a411 | 2017-04-20 14:37:09 -0700 | [diff] [blame] | 1433 | INCS += $(UMAC_TDLS_INC) |
Varun Reddy Yeturu | 269eca1 | 2017-01-03 06:32:07 -0800 | [diff] [blame] | 1434 | INCS += $(UMAC_SER_INC) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1435 | INCS += $(NLINK_INC) \ |
| 1436 | $(PTT_INC) \ |
| 1437 | $(WLAN_LOGGING_INC) |
| 1438 | |
Yuanyuan Liu | d9f7a36 | 2016-01-22 14:27:12 -0800 | [diff] [blame] | 1439 | INCS += $(PLD_INC) |
| 1440 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1441 | ifeq ($(CONFIG_REMOVE_PKT_LOG), 0) |
| 1442 | INCS += $(PKTLOG_INC) |
| 1443 | endif |
| 1444 | |
| 1445 | ifeq ($(BUILD_DIAG_VERSION), 1) |
| 1446 | INCS += $(HOST_DIAG_LOG_INC) |
| 1447 | endif |
| 1448 | |
Frank Liu | 65b17d9 | 2016-11-23 15:58:44 +0800 | [diff] [blame] | 1449 | INCS += $(UMAC_DISP_INC) |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 1450 | INCS += $(UMAC_SCAN_INC) |
Abhishek Singh | 8dfbd69 | 2017-02-21 11:11:10 +0530 | [diff] [blame] | 1451 | INCS += $(UMAC_TARGET_SCAN_INC) |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 1452 | INCS += $(UMAC_COMMON_INC) |
Frank Liu | 65b17d9 | 2016-11-23 15:58:44 +0800 | [diff] [blame] | 1453 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1454 | OBJS := $(HDD_OBJS) \ |
| 1455 | $(EPPING_OBJS) \ |
| 1456 | $(MAC_OBJS) \ |
| 1457 | $(SAP_OBJS) \ |
| 1458 | $(SME_OBJS) \ |
| 1459 | $(SYS_OBJS) \ |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1460 | $(QDF_OBJS) \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1461 | $(CDS_OBJS) \ |
| 1462 | $(DFS_OBJS) |
| 1463 | |
| 1464 | OBJS += $(WMA_OBJS) \ |
| 1465 | $(TXRX_OBJS) \ |
| 1466 | $(WMI_OBJS) \ |
| 1467 | $(FWLOG_OBJS) \ |
| 1468 | $(HTC_OBJS) \ |
Rajeev Kumar | 97767a0 | 2016-11-30 11:20:40 -0800 | [diff] [blame] | 1469 | $(INIT_DEINIT_OBJS) \ |
Rajeev Kumar | ebb0a73 | 2016-12-24 19:05:44 -0800 | [diff] [blame] | 1470 | $(SCHEDULER_OBJS) \ |
Kiran Kumar Lokere | 3fbafbc | 2017-01-10 12:57:52 -0800 | [diff] [blame] | 1471 | $(REGULATORY_OBJS) \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1472 | $(DFS_OBJS) |
| 1473 | |
| 1474 | OBJS += $(HIF_OBJS) \ |
| 1475 | $(BMI_OBJS) \ |
Mukul Sharma | c3e7a78 | 2017-02-03 12:16:11 +0530 | [diff] [blame] | 1476 | $(HTT_OBJS) \ |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 1477 | $(OS_IF_OBJ) \ |
Mukul Sharma | dad267e | 2017-02-04 13:25:34 +0530 | [diff] [blame] | 1478 | $(TARGET_IF_OBJ) \ |
| 1479 | $(GLOBAL_LMAC_IF_OBJ) |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1480 | |
| 1481 | ifeq ($(CONFIG_LITHIUM), y) |
| 1482 | OBJS += $(HAL_OBJS) |
| 1483 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1484 | |
Selvaraj, Sridhar | 0672a12 | 2016-12-29 16:11:48 +0530 | [diff] [blame] | 1485 | OBJS += $(UMAC_OBJMGR_OBJS) |
Naveen Rawat | 4e2c256 | 2017-03-06 10:47:02 -0800 | [diff] [blame] | 1486 | OBJS += $(WIFI_POS_OBJS) |
Naveen Rawat | 6d2bf18 | 2017-03-22 10:18:00 -0700 | [diff] [blame] | 1487 | OBJS += $(WLAN_NAN_OBJS) |
Himanshu Agarwal | 2fdf77a | 2016-12-29 11:41:00 +0530 | [diff] [blame] | 1488 | OBJS += $(UMAC_MGMT_TXRX_OBJS) |
Kabilan Kannan | 6d7a411 | 2017-04-20 14:37:09 -0700 | [diff] [blame] | 1489 | OBJS += $(UMAC_TDLS_OBJS) |
Mukul Sharma | c5de677 | 2017-01-05 14:32:36 +0530 | [diff] [blame] | 1490 | OBJS += $(PMO_OBJS) |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 1491 | OBJS += $(UMAC_P2P_OBJS) |
Tushnim Bhattacharyya | 44939d4 | 2017-02-15 17:08:12 -0800 | [diff] [blame] | 1492 | OBJS += $(UMAC_POLICY_MGR_OBJS) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1493 | OBJS += $(WLAN_LOGGING_OBJS) |
| 1494 | OBJS += $(NLINK_OBJS) |
| 1495 | OBJS += $(PTT_OBJS) |
Varun Reddy Yeturu | 269eca1 | 2017-01-03 06:32:07 -0800 | [diff] [blame] | 1496 | OBJS += $(UMAC_SER_OBJS) |
Yuanyuan Liu | d9f7a36 | 2016-01-22 14:27:12 -0800 | [diff] [blame] | 1497 | OBJS += $(PLD_OBJS) |
| 1498 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1499 | ifeq ($(CONFIG_REMOVE_PKT_LOG), 0) |
| 1500 | OBJS += $(PKTLOG_OBJS) |
| 1501 | endif |
| 1502 | |
| 1503 | ifeq ($(BUILD_DIAG_VERSION), 1) |
| 1504 | OBJS += $(HOST_DIAG_LOG_OBJS) |
| 1505 | endif |
| 1506 | |
Frank Liu | 65b17d9 | 2016-11-23 15:58:44 +0800 | [diff] [blame] | 1507 | OBJS += $(UMAC_DISP_OBJS) |
Abhishek Singh | 9be07e2 | 2017-02-21 10:59:57 +0530 | [diff] [blame] | 1508 | OBJS += $(UMAC_SCAN_OBJS) |
Abhishek Singh | 8dfbd69 | 2017-02-21 11:11:10 +0530 | [diff] [blame] | 1509 | OBJS += $(UMAC_COMMON_OBJS) |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 1510 | OBJS += $(WCFG_OBJS) |
| 1511 | |
| 1512 | ifeq ($(CONFIG_LITHIUM), y) |
| 1513 | OBJS += $(DP_OBJS) |
| 1514 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1515 | |
| 1516 | EXTRA_CFLAGS += $(INCS) |
| 1517 | |
| 1518 | CDEFINES := -DANI_LITTLE_BYTE_ENDIAN \ |
| 1519 | -DANI_LITTLE_BIT_ENDIAN \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1520 | -DDOT11F_LITTLE_ENDIAN_HOST \ |
| 1521 | -DANI_COMPILER_TYPE_GCC \ |
| 1522 | -DANI_OS_TYPE_ANDROID=6 \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1523 | -DPTT_SOCK_SVC_ENABLE \ |
| 1524 | -Wall\ |
| 1525 | -Werror\ |
| 1526 | -D__linux__ \ |
| 1527 | -DHAL_SELF_STA_PER_BSS=1 \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1528 | -DFEATURE_WLAN_WAPI \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1529 | -DSOFTAP_CHANNEL_RANGE \ |
| 1530 | -DWLAN_AP_STA_CONCURRENCY \ |
| 1531 | -DFEATURE_WLAN_SCAN_PNO \ |
| 1532 | -DWLAN_FEATURE_PACKET_FILTERING \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1533 | -DWLAN_FEATURE_P2P_DEBUG \ |
| 1534 | -DWLAN_ENABLE_AGEIE_ON_SCAN_RESULTS \ |
| 1535 | -DWLANTL_DEBUG\ |
| 1536 | -DWLAN_NS_OFFLOAD \ |
| 1537 | -DWLAN_SOFTAP_VSTA_FEATURE \ |
| 1538 | -DWLAN_FEATURE_GTK_OFFLOAD \ |
| 1539 | -DWLAN_WAKEUP_EVENTS \ |
| 1540 | -DFEATURE_WLAN_RA_FILTERING\ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1541 | -DWLAN_NL80211_TESTMODE \ |
| 1542 | -DFEATURE_WLAN_LPHB \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1543 | -DQCA_SUPPORT_TX_THROTTLE \ |
| 1544 | -DWMI_INTERFACE_EVENT_LOGGING \ |
| 1545 | -DATH_SUPPORT_WAPI \ |
| 1546 | -DWLAN_FEATURE_LINK_LAYER_STATS \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1547 | -DFEATURE_WLAN_EXTSCAN \ |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1548 | -DWLAN_FEATURE_MBSSID \ |
Prashanth Bhatta | 7e58dd3 | 2016-02-16 15:46:46 -0800 | [diff] [blame] | 1549 | -DCONFIG_160MHZ_SUPPORT \ |
Mukul Sharma | 0cdf8b3 | 2017-02-04 14:27:56 +0530 | [diff] [blame] | 1550 | -DCONFIG_MCL \ |
Sandeep Puligilla | 1fcdb77 | 2017-02-22 21:14:59 -0800 | [diff] [blame] | 1551 | -DNAPIER_SCAN \ |
Wu Gao | 64b3148 | 2017-03-10 15:16:10 +0800 | [diff] [blame] | 1552 | -DWLAN_PMO_ENABLE \ |
Wu Gao | 5491e52 | 2017-03-20 20:32:32 +0800 | [diff] [blame] | 1553 | -DCONVERGED_P2P_ENABLE \ |
Krishna Kumaar Natarajan | 4f1d772 | 2017-03-03 21:12:51 -0800 | [diff] [blame] | 1554 | -DWLAN_POLICY_MGR_ENABLE \ |
Kabilan Kannan | 6d7a411 | 2017-04-20 14:37:09 -0700 | [diff] [blame] | 1555 | -DSUPPORT_11AX \ |
| 1556 | -DCONVERGED_TDLS_ENABLE |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1557 | |
Naveen Rawat | 4e2c256 | 2017-03-06 10:47:02 -0800 | [diff] [blame] | 1558 | |
| 1559 | ############ WIFI POS ############## |
| 1560 | ifeq ($(CONFIG_WIFI_POS_CONVERGED), y) |
| 1561 | CDEFINES += -DWIFI_POS_CONVERGED |
| 1562 | else |
| 1563 | CDEFINES += -DFEATURE_OEM_DATA_SUPPORT |
| 1564 | endif |
| 1565 | #################################### |
| 1566 | |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 1567 | ifneq ($(CONFIG_HIF_USB), 1) |
| 1568 | CDEFINES += -DWLAN_LOGGING_SOCK_SVC_ENABLE |
| 1569 | endif |
| 1570 | |
Yuanyuan Liu | 11f526a | 2016-05-18 10:22:07 -0700 | [diff] [blame] | 1571 | ifeq ($(CONFIG_CNSS), y) |
| 1572 | ifeq ($(CONFIG_CNSS_SDIO), y) |
| 1573 | CDEFINES += -DCONFIG_PLD_SDIO_CNSS |
| 1574 | else |
| 1575 | CDEFINES += -DCONFIG_PLD_PCIE_CNSS |
| 1576 | endif |
| 1577 | endif |
| 1578 | |
Yue Ma | e6a7a32 | 2016-08-31 11:09:23 -0700 | [diff] [blame] | 1579 | ifeq ($(CONFIG_CNSS2), y) |
| 1580 | CDEFINES += -DCONFIG_PLD_PCIE_CNSS |
Houston Hoffman | 435cd44 | 2016-11-23 14:20:42 -0800 | [diff] [blame] | 1581 | CDEFINES += -DCONFIG_PLD_PCIE_INIT |
Yue Ma | e6a7a32 | 2016-08-31 11:09:23 -0700 | [diff] [blame] | 1582 | endif |
| 1583 | |
Yue Ma | 2b09131 | 2017-02-15 15:56:47 -0800 | [diff] [blame] | 1584 | # Flag to enable bus auto suspend |
| 1585 | ifeq ($(CONFIG_ROME_IF),pci) |
| 1586 | ifeq ($(CONFIG_BUS_AUTO_SUSPEND), y) |
| 1587 | CDEFINES += -DFEATURE_RUNTIME_PM |
| 1588 | endif |
| 1589 | endif |
| 1590 | |
Yuanyuan Liu | 11f526a | 2016-05-18 10:22:07 -0700 | [diff] [blame] | 1591 | ifeq ($(CONFIG_ICNSS), y) |
| 1592 | CDEFINES += -DCONFIG_PLD_SNOC_ICNSS |
| 1593 | endif |
| 1594 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1595 | ifeq (y,$(filter y,$(CONFIG_CNSS_EOS) $(CONFIG_ICNSS))) |
| 1596 | CDEFINES += -DQCA_WIFI_3_0 |
| 1597 | CDEFINES += -DQCA_WIFI_3_0_EMU |
| 1598 | endif |
| 1599 | |
| 1600 | ifeq (y,$(filter y,$(CONFIG_CNSS_ADRASTEA) $(CONFIG_ICNSS))) |
| 1601 | CDEFINES += -DQCA_WIFI_3_0_ADRASTEA |
| 1602 | CDEFINES += -DADRASTEA_SHADOW_REGISTERS |
Sanjay Devnani | cdab59e | 2015-11-12 14:43:58 -0800 | [diff] [blame] | 1603 | CDEFINES += -DADRASTEA_RRI_ON_DDR |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1604 | endif |
| 1605 | |
| 1606 | ifeq ($(CONFIG_WLAN_FASTPATH), y) |
| 1607 | CDEFINES += -DWLAN_FEATURE_FASTPATH |
| 1608 | endif |
| 1609 | |
Poddar, Siddarth | eefe348 | 2016-09-21 18:12:59 +0530 | [diff] [blame] | 1610 | ifeq ($(CONFIG_FEATURE_PKTLOG), y) |
| 1611 | CDEFINES += -DFEATURE_PKTLOG |
| 1612 | endif |
| 1613 | |
Nirav Shah | cc1f1ae | 2016-04-26 11:41:29 +0530 | [diff] [blame] | 1614 | CDEFINES += -DFEATURE_DP_TRACE |
Nirav Shah | cc1f1ae | 2016-04-26 11:41:29 +0530 | [diff] [blame] | 1615 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1616 | ifeq ($(CONFIG_WLAN_NAPI), y) |
| 1617 | CDEFINES += -DFEATURE_NAPI |
| 1618 | ifeq ($(CONFIG_WLAN_NAPI_DEBUG), y) |
| 1619 | CDEFINES += -DFEATURE_NAPI_DEBUG |
| 1620 | endif |
| 1621 | endif |
| 1622 | |
Yue Ma | df224b8 | 2016-04-21 12:46:04 -0700 | [diff] [blame] | 1623 | ifeq (y,$(findstring y,$(CONFIG_ARCH_MSM) $(CONFIG_ARCH_QCOM))) |
Yuanyuan Liu | 5af4436 | 2016-04-01 21:57:06 -0700 | [diff] [blame] | 1624 | CDEFINES += -DMSM_PLATFORM |
| 1625 | endif |
| 1626 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1627 | CDEFINES += -DQCA_SUPPORT_TXRX_LOCAL_PEER_ID |
| 1628 | |
| 1629 | ifeq ($(CONFIG_WLAN_TX_FLOW_CONTROL_V2), y) |
| 1630 | CDEFINES += -DQCA_LL_TX_FLOW_CONTROL_V2 |
| 1631 | CDEFINES += -DQCA_LL_TX_FLOW_GLOBAL_MGMT_POOL |
| 1632 | else |
| 1633 | ifeq ($(CONFIG_ROME_IF),pci) |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1634 | ifneq ($(CONFIG_LITHIUM),y) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1635 | CDEFINES += -DQCA_LL_LEGACY_TX_FLOW_CONTROL |
| 1636 | endif |
| 1637 | endif |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 1638 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1639 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1640 | ifneq ($(CONFIG_QCA_CLD_WLAN),) |
| 1641 | CDEFINES += -DWCN_PRONTO |
| 1642 | CDEFINES += -DWCN_PRONTO_V1 |
| 1643 | endif |
| 1644 | |
| 1645 | ifeq ($(BUILD_DEBUG_VERSION),1) |
| 1646 | CDEFINES += -DWLAN_DEBUG \ |
| 1647 | -DTRACE_RECORD \ |
| 1648 | -DLIM_TRACE_RECORD \ |
| 1649 | -DSME_TRACE_RECORD \ |
| 1650 | -DHDD_TRACE_RECORD \ |
| 1651 | -DPE_DEBUG_LOGW \ |
Srinivas Girigowda | 6147c58 | 2016-10-18 12:26:15 -0700 | [diff] [blame] | 1652 | -DPE_DEBUG_LOGE |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1653 | endif |
| 1654 | |
| 1655 | ifeq ($(CONFIG_SLUB_DEBUG_ON),y) |
| 1656 | CDEFINES += -DTIMER_MANAGER |
| 1657 | CDEFINES += -DMEMORY_DEBUG |
Rajeev Kumar | 0422305 | 2017-04-07 20:44:15 -0700 | [diff] [blame] | 1658 | CDEFINES += -DCONFIG_HALT_KMEMLEAK |
Dustin Brown | 8b28e08 | 2016-12-06 15:37:34 -0800 | [diff] [blame] | 1659 | CDEFINES += -DWLAN_SUSPEND_RESUME_TEST |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1660 | endif |
| 1661 | |
| 1662 | ifeq ($(HAVE_CFG80211),1) |
| 1663 | CDEFINES += -DWLAN_FEATURE_P2P |
| 1664 | CDEFINES += -DWLAN_FEATURE_WFD |
| 1665 | ifeq ($(CONFIG_QCOM_VOWIFI_11R),y) |
| 1666 | CDEFINES += -DKERNEL_SUPPORT_11R_CFG80211 |
| 1667 | CDEFINES += -DUSE_80211_WMMTSPEC_FOR_RIC |
| 1668 | endif |
| 1669 | endif |
| 1670 | |
| 1671 | ifeq ($(CONFIG_QCOM_ESE),y) |
| 1672 | CDEFINES += -DFEATURE_WLAN_ESE |
| 1673 | CDEFINES += -DQCA_COMPUTE_TX_DELAY |
| 1674 | CDEFINES += -DQCA_COMPUTE_TX_DELAY_PER_TID |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1675 | endif |
| 1676 | |
| 1677 | #normally, TDLS negative behavior is not needed |
| 1678 | ifeq ($(CONFIG_QCOM_TDLS),y) |
| 1679 | CDEFINES += -DFEATURE_WLAN_TDLS |
| 1680 | endif |
| 1681 | |
| 1682 | ifeq ($(CONFIG_QCACLD_WLAN_LFR3),y) |
| 1683 | CDEFINES += -DWLAN_FEATURE_ROAM_OFFLOAD |
| 1684 | endif |
| 1685 | |
Selvaraj, Sridhar | 046d77d | 2017-03-07 14:53:13 +0530 | [diff] [blame] | 1686 | ifeq ($(CONFIG_CNSS_GENL), y) |
| 1687 | CDEFINES += -DCNSS_GENL |
| 1688 | endif |
| 1689 | |
Varun Reddy Yeturu | bbbbe23 | 2016-02-29 14:01:57 -0800 | [diff] [blame] | 1690 | ifeq ($(CONFIG_QCACLD_WLAN_LFR2),y) |
| 1691 | CDEFINES += -DWLAN_FEATURE_HOST_ROAM |
| 1692 | endif |
| 1693 | |
Sridhar Selvaraj | dc400d2 | 2016-10-18 17:18:03 +0530 | [diff] [blame] | 1694 | ifeq ($(CONFIG_WLAN_POWER_DEBUGFS), y) |
| 1695 | CDEFINES += -DWLAN_POWER_DEBUGFS |
| 1696 | endif |
| 1697 | |
Rajeev Kumar | 69d7d49 | 2017-02-13 21:48:16 -0800 | [diff] [blame] | 1698 | # Enable object manager reference count debug infrastructure |
| 1699 | CDEFINES += -DWLAN_OBJMGR_DEBUG |
| 1700 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1701 | ifeq ($(BUILD_DIAG_VERSION),1) |
| 1702 | CDEFINES += -DFEATURE_WLAN_DIAG_SUPPORT |
| 1703 | CDEFINES += -DFEATURE_WLAN_DIAG_SUPPORT_CSR |
| 1704 | CDEFINES += -DFEATURE_WLAN_DIAG_SUPPORT_LIM |
| 1705 | ifeq ($(CONFIG_HIF_PCI), 1) |
| 1706 | CDEFINES += -DCONFIG_ATH_PROCFS_DIAG_SUPPORT |
| 1707 | endif |
| 1708 | endif |
| 1709 | |
| 1710 | ifeq ($(CONFIG_HIF_USB), 1) |
| 1711 | CDEFINES += -DCONFIG_ATH_PROCFS_DIAG_SUPPORT |
| 1712 | CDEFINES += -DQCA_SUPPORT_OL_RX_REORDER_TIMEOUT |
| 1713 | CDEFINES += -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] | 1714 | endif |
| 1715 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1716 | ifeq ($(CONFIG_WLAN_FEATURE_11W),y) |
| 1717 | CDEFINES += -DWLAN_FEATURE_11W |
| 1718 | endif |
| 1719 | |
gbian | e55c956 | 2016-11-01 14:47:47 +0800 | [diff] [blame] | 1720 | ifeq ($(CONFIG_QCA_TXDESC_SANITY_CHECKS), 1) |
| 1721 | CDEFINES += -DQCA_SUPPORT_TXDESC_SANITY_CHECKS |
| 1722 | endif |
| 1723 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1724 | ifeq ($(CONFIG_QCOM_LTE_COEX),y) |
| 1725 | CDEFINES += -DFEATURE_WLAN_CH_AVOID |
| 1726 | endif |
| 1727 | |
| 1728 | ifeq ($(CONFIG_WLAN_FEATURE_LPSS),y) |
| 1729 | CDEFINES += -DWLAN_FEATURE_LPSS |
| 1730 | endif |
| 1731 | |
Nirav Shah | 7629196 | 2016-04-25 10:50:37 +0530 | [diff] [blame] | 1732 | ifneq ($(TARGET_BUILD_VARIANT),user) |
| 1733 | CDEFINES += -DDESC_DUP_DETECT_DEBUG |
Manjunathappa Prakash | c8e7564 | 2016-06-03 19:32:27 -0700 | [diff] [blame] | 1734 | CDEFINES += -DDEBUG_RX_RING_BUFFER |
Nirav Shah | 7629196 | 2016-04-25 10:50:37 +0530 | [diff] [blame] | 1735 | endif |
| 1736 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1737 | ifeq ($(PANIC_ON_BUG),1) |
| 1738 | CDEFINES += -DPANIC_ON_BUG |
| 1739 | endif |
| 1740 | |
| 1741 | ifeq ($(WLAN_OPEN_SOURCE), 1) |
| 1742 | CDEFINES += -DWLAN_OPEN_SOURCE |
| 1743 | endif |
| 1744 | |
| 1745 | ifeq ($(CONFIG_FEATURE_STATS_EXT), 1) |
| 1746 | CDEFINES += -DWLAN_FEATURE_STATS_EXT |
| 1747 | endif |
| 1748 | |
| 1749 | ifeq ($(CONFIG_QCACLD_FEATURE_NAN),y) |
| 1750 | CDEFINES += -DWLAN_FEATURE_NAN |
| 1751 | endif |
| 1752 | |
| 1753 | ifeq ($(CONFIG_QCA_IBSS_SUPPORT), 1) |
| 1754 | CDEFINES += -DQCA_IBSS_SUPPORT |
| 1755 | endif |
| 1756 | |
| 1757 | #Enable OL debug and wmi unified functions |
| 1758 | ifeq ($(CONFIG_ATH_PERF_PWR_OFFLOAD), 1) |
| 1759 | CDEFINES += -DATH_PERF_PWR_OFFLOAD |
| 1760 | endif |
| 1761 | |
| 1762 | #Disable packet log |
| 1763 | ifeq ($(CONFIG_REMOVE_PKT_LOG), 1) |
| 1764 | CDEFINES += -DREMOVE_PKT_LOG |
| 1765 | endif |
| 1766 | |
| 1767 | #Enable 11AC TX |
| 1768 | ifeq ($(CONFIG_ATH_11AC_TXCOMPACT), 1) |
| 1769 | CDEFINES += -DATH_11AC_TXCOMPACT |
| 1770 | endif |
| 1771 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1772 | #Enable OS specific IRQ abstraction |
| 1773 | ifeq ($(CONFIG_ATH_SUPPORT_SHARED_IRQ), 1) |
| 1774 | CDEFINES += -DATH_SUPPORT_SHARED_IRQ |
| 1775 | endif |
| 1776 | |
| 1777 | #Enable message based HIF instead of RAW access in BMI |
| 1778 | ifeq ($(CONFIG_HIF_MESSAGE_BASED), 1) |
| 1779 | CDEFINES += -DHIF_MESSAGE_BASED |
| 1780 | endif |
| 1781 | |
| 1782 | #Enable PCI specific APIS (dma, etc) |
| 1783 | ifeq ($(CONFIG_HIF_PCI), 1) |
| 1784 | CDEFINES += -DHIF_PCI |
| 1785 | endif |
| 1786 | |
Houston Hoffman | 1edffd3 | 2016-01-27 16:30:34 -0800 | [diff] [blame] | 1787 | ifeq ($(CONFIG_HIF_SNOC), 1) |
| 1788 | CDEFINES += -DHIF_SNOC |
| 1789 | endif |
| 1790 | |
Poddar, Siddarth | 29296fb | 2016-05-16 18:06:30 +0530 | [diff] [blame] | 1791 | #Enable High Latency related Flags |
| 1792 | ifeq ($(CONFIG_QCA_WIFI_SDIO), 1) |
| 1793 | CDEFINES += -DCONFIG_HL_SUPPORT \ |
| 1794 | -DCONFIG_AR6320_SUPPORT \ |
| 1795 | -DSDIO_3_0 \ |
| 1796 | -DHIF_SDIO \ |
| 1797 | -DCONFIG_DISABLE_CDC_MAX_PERF_WAR=0 \ |
| 1798 | -DCONFIG_ATH_PROCFS_DIAG_SUPPORT \ |
| 1799 | -DFEATURE_HL_GROUP_CREDIT_FLOW_CONTROL \ |
| 1800 | -DHIF_MBOX_SLEEP_WAR \ |
| 1801 | -DDEBUG_HL_LOGGING \ |
| 1802 | -DQCA_BAD_PEER_TX_FLOW_CL \ |
| 1803 | -DCONFIG_TX_DESC_HI_PRIO_RESERVE \ |
| 1804 | -DCONFIG_PER_VDEV_TX_DESC_POOL \ |
| 1805 | -DCONFIG_SDIO \ |
| 1806 | -DFEATURE_WLAN_FORCE_SAP_SCC |
| 1807 | endif |
| 1808 | |
Agrawal Ashish | b141b09 | 2016-09-02 19:59:26 +0530 | [diff] [blame] | 1809 | ifeq ($(CONFIG_WLAN_FEATURE_DSRC), y) |
| 1810 | CDEFINES += -DWLAN_FEATURE_DSRC |
| 1811 | endif |
| 1812 | |
bings | 7762da1 | 2017-03-06 07:21:04 +0800 | [diff] [blame] | 1813 | ifeq ($(CONFIG_ARCH_SDXHEDGEHOG), y) |
| 1814 | ifeq ($(CONFIG_QCA_WIFI_SDIO), 1) |
| 1815 | ifeq ($(CONFIG_WCNSS_SKB_PRE_ALLOC), y) |
| 1816 | CDEFINES += -DFEATURE_SKB_PRE_ALLOC |
| 1817 | endif |
| 1818 | endif |
| 1819 | endif |
| 1820 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1821 | #Enable USB specific APIS |
| 1822 | ifeq ($(CONFIG_HIF_USB), 1) |
Mohit Khanna | da4f443 | 2016-05-17 15:02:09 -0700 | [diff] [blame] | 1823 | CDEFINES += -DHIF_USB \ |
Mohit Khanna | e7a4357 | 2016-10-10 17:34:21 -0700 | [diff] [blame] | 1824 | -DCONFIG_PLD_USB_CNSS \ |
| 1825 | -DCONFIG_HL_SUPPORT |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1826 | endif |
| 1827 | |
| 1828 | #Enable FW logs through ini |
| 1829 | CDEFINES += -DCONFIG_FW_LOGS_BASED_ON_INI |
| 1830 | |
| 1831 | #Enable pci read/write config functions |
| 1832 | ifeq ($(CONFIG_ATH_PCI), 1) |
| 1833 | CDEFINES += -DATH_PCI |
| 1834 | endif |
| 1835 | |
| 1836 | #Enable power management suspend/resume functionality |
| 1837 | ifeq ($(CONFIG_ATH_BUS_PM), 1) |
| 1838 | CDEFINES += -DATH_BUS_PM |
| 1839 | endif |
| 1840 | |
| 1841 | #Enable FLOWMAC module support |
| 1842 | ifeq ($(CONFIG_ATH_SUPPORT_FLOWMAC_MODULE), 1) |
| 1843 | CDEFINES += -DATH_SUPPORT_FLOWMAC_MODULE |
| 1844 | endif |
| 1845 | |
| 1846 | #Enable spectral support |
| 1847 | ifeq ($(CONFIG_ATH_SUPPORT_SPECTRAL), 1) |
| 1848 | CDEFINES += -DATH_SUPPORT_SPECTRAL |
| 1849 | endif |
| 1850 | |
| 1851 | #Enable WDI Event support |
| 1852 | ifeq ($(CONFIG_WDI_EVENT_ENABLE), 1) |
| 1853 | CDEFINES += -DWDI_EVENT_ENABLE |
| 1854 | endif |
| 1855 | |
| 1856 | #Endianess selection |
| 1857 | ifeq ($(CONFIG_LITTLE_ENDIAN), 1) |
| 1858 | AH_LITTLE_ENDIAN=1234 |
| 1859 | CDEFINES += -DAH_BYTE_ORDER=$(AH_LITTLE_ENDIAN) |
| 1860 | else |
| 1861 | AH_BIG_ENDIAN=4321 |
| 1862 | CDEFINES += -DAH_BYTE_ORDER=$(AH_BIG_ENDIAN) |
| 1863 | CDEFINES += -DBIG_ENDIAN_HOST |
| 1864 | endif |
| 1865 | |
| 1866 | #Enable TX reclaim support |
| 1867 | ifeq ($(CONFIG_TX_CREDIT_RECLAIM_SUPPORT), 1) |
| 1868 | CDEFINES += -DTX_CREDIT_RECLAIM_SUPPORT |
| 1869 | endif |
| 1870 | |
| 1871 | #Enable FTM support |
| 1872 | ifeq ($(CONFIG_QCA_WIFI_FTM), 1) |
| 1873 | CDEFINES += -DQCA_WIFI_FTM |
| 1874 | endif |
| 1875 | |
| 1876 | #Enable Checksum Offload support |
| 1877 | ifeq ($(CONFIG_CHECKSUM_OFFLOAD), 1) |
| 1878 | CDEFINES += -DCHECKSUM_OFFLOAD |
| 1879 | endif |
| 1880 | |
| 1881 | #Enable Checksum Offload support |
| 1882 | ifeq ($(CONFIG_IPA_OFFLOAD), 1) |
| 1883 | CDEFINES += -DIPA_OFFLOAD |
| 1884 | endif |
| 1885 | |
bings | 7762da1 | 2017-03-06 07:21:04 +0800 | [diff] [blame] | 1886 | ifeq ($(CONFIG_ARCH_SDXHEDGEHOG), y) |
| 1887 | CDEFINES += -DSYNC_IPA_READY |
| 1888 | endif |
| 1889 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1890 | #Enable GTK Offload |
| 1891 | ifeq ($(CONFIG_GTK_OFFLOAD), 1) |
| 1892 | CDEFINES += -DWLAN_FEATURE_GTK_OFFLOAD |
| 1893 | CDEFINES += -DIGTK_OFFLOAD |
| 1894 | endif |
| 1895 | |
| 1896 | #Enable GTK Offload |
| 1897 | ifeq ($(CONFIG_EXT_WOW), 1) |
| 1898 | CDEFINES += -DWLAN_FEATURE_EXTWOW_SUPPORT |
| 1899 | endif |
| 1900 | |
| 1901 | #Mark it as SMP Kernel |
| 1902 | ifeq ($(CONFIG_SMP),y) |
| 1903 | CDEFINES += -DQCA_CONFIG_SMP |
| 1904 | endif |
| 1905 | |
Sandeep Puligilla | 2111d3c | 2016-02-03 01:46:15 -0800 | [diff] [blame] | 1906 | #Enable Channel Matrix restriction for all Rome only targets |
| 1907 | ifneq (y,$(filter y,$(CONFIG_CNSS_EOS) $(CONFIG_ICNSS))) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1908 | CDEFINES += -DWLAN_ENABLE_CHNL_MATRIX_RESTRICTION |
Sandeep Puligilla | 2111d3c | 2016-02-03 01:46:15 -0800 | [diff] [blame] | 1909 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1910 | |
Sandeep Puligilla | 0e64b61 | 2016-08-26 13:20:58 -0700 | [diff] [blame] | 1911 | #Enable OBSS feature |
| 1912 | CDEFINES += -DQCA_HT_2040_COEX |
| 1913 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1914 | #features specific to mobile router use case |
| 1915 | ifeq ($(CONFIG_MOBILE_ROUTER), y) |
| 1916 | |
| 1917 | #enable MCC TO SCC switch |
| 1918 | CDEFINES += -DFEATURE_WLAN_MCC_TO_SCC_SWITCH |
| 1919 | |
| 1920 | #enable wlan auto shutdown feature |
| 1921 | CDEFINES += -DFEATURE_WLAN_AUTO_SHUTDOWN |
| 1922 | |
| 1923 | #enable for MBSSID |
| 1924 | CDEFINES += -DWLAN_FEATURE_MBSSID |
| 1925 | |
| 1926 | #enable AP-AP ACS Optimization |
| 1927 | CDEFINES += -DFEATURE_WLAN_AP_AP_ACS_OPTIMIZE |
| 1928 | |
| 1929 | #Enable 4address scheme |
| 1930 | CDEFINES += -DFEATURE_WLAN_STA_4ADDR_SCHEME |
| 1931 | |
| 1932 | #Disable STA-AP Mode DFS support |
| 1933 | CDEFINES += -DFEATURE_WLAN_STA_AP_MODE_DFS_DISABLE |
| 1934 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1935 | else #CONFIG_MOBILE_ROUTER |
| 1936 | |
| 1937 | #Open P2P device interface only for non-Mobile router use cases |
| 1938 | CDEFINES += -DWLAN_OPEN_P2P_INTERFACE |
| 1939 | |
| 1940 | #Enable 2.4 GHz social channels in 5 GHz only mode for p2p usage |
| 1941 | CDEFINES += -DWLAN_ENABLE_SOCIAL_CHANNELS_5G_ONLY |
| 1942 | |
| 1943 | endif #CONFIG_MOBILE_ROUTER |
| 1944 | |
| 1945 | #Green AP feature |
| 1946 | ifeq ($(CONFIG_QCACLD_FEATURE_GREEN_AP),y) |
| 1947 | CDEFINES += -DFEATURE_GREEN_AP |
| 1948 | endif |
| 1949 | |
Yun Park | 637d648 | 2016-10-05 10:51:33 -0700 | [diff] [blame] | 1950 | #Stats & Quota Metering feature |
| 1951 | ifeq ($(CONFIG_QCACLD_FEATURE_METERING),y) |
| 1952 | CDEFINES += -DFEATURE_METERING |
| 1953 | endif |
| 1954 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1955 | #Enable RX Full re-order OL feature only "LL and NON-MDM9630 platform" |
| 1956 | ifneq ($(CONFIG_ARCH_MDM9630), y) |
| 1957 | ifeq ($(CONFIG_HIF_PCI), 1) |
| 1958 | CDEFINES += -DWLAN_FEATURE_RX_FULL_REORDER_OL |
| 1959 | endif |
| 1960 | endif |
| 1961 | |
Yu Wang | 66e4ff2 | 2017-02-15 19:09:24 +0800 | [diff] [blame] | 1962 | ifeq ($(CONFIG_ARCH_MDM9607), y) |
| 1963 | CDEFINES += -DCONFIG_TUFELLO_DUAL_FW_SUPPORT |
| 1964 | endif |
| 1965 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1966 | #Enable Signed firmware support for split binary format |
| 1967 | ifeq ($(CONFIG_QCA_SIGNED_SPLIT_BINARY_SUPPORT), 1) |
| 1968 | CDEFINES += -DQCA_SIGNED_SPLIT_BINARY_SUPPORT |
| 1969 | endif |
| 1970 | |
| 1971 | #Enable single firmware binary format |
| 1972 | ifeq ($(CONFIG_QCA_SINGLE_BINARY_SUPPORT), 1) |
| 1973 | CDEFINES += -DQCA_SINGLE_BINARY_SUPPORT |
| 1974 | endif |
| 1975 | |
| 1976 | #Enable collecting target RAM dump after kernel panic |
| 1977 | ifeq ($(CONFIG_TARGET_RAMDUMP_AFTER_KERNEL_PANIC), 1) |
| 1978 | CDEFINES += -DTARGET_RAMDUMP_AFTER_KERNEL_PANIC |
| 1979 | endif |
| 1980 | |
| 1981 | #Enable/disable secure firmware feature |
| 1982 | ifeq ($(CONFIG_FEATURE_SECURE_FIRMWARE), 1) |
| 1983 | CDEFINES += -DFEATURE_SECURE_FIRMWARE |
| 1984 | endif |
| 1985 | |
| 1986 | ifeq ($(CONFIG_ATH_PCIE_ACCESS_DEBUG), 1) |
| 1987 | CDEFINES += -DCONFIG_ATH_PCIE_ACCESS_DEBUG |
| 1988 | endif |
| 1989 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1990 | # Enable feature support fo Linux version QCMBR |
| 1991 | ifeq ($(CONFIG_LINUX_QCMBR),y) |
| 1992 | CDEFINES += -DLINUX_QCMBR |
| 1993 | endif |
| 1994 | |
Manikandan Mohan | dcc21ba | 2016-03-15 14:31:56 -0700 | [diff] [blame] | 1995 | # Enable featue sync tsf between multi devices |
| 1996 | ifeq ($(CONFIG_WLAN_SYNC_TSF), y) |
| 1997 | CDEFINES += -DWLAN_FEATURE_TSF |
| 1998 | endif |
Rajeev Kumar | e0fd9dd | 2015-11-16 13:33:07 -0800 | [diff] [blame] | 1999 | |
| 2000 | # Enable full rx re-order offload for adrastea |
| 2001 | ifeq (y, $(filter y, $(CONFIG_CNSS_ADRASTEA) $(CONFIG_ICNSS))) |
| 2002 | CDEFINES += -DWLAN_FEATURE_RX_FULL_REORDER_OL |
| 2003 | endif |
| 2004 | |
Rajeev Kumar | 321a19a | 2015-12-08 12:54:46 -0800 | [diff] [blame] | 2005 | # Enable athdiag procfs debug support for adrastea |
| 2006 | ifeq (y, $(filter y, $(CONFIG_CNSS_ADRASTEA) $(CONFIG_ICNSS))) |
| 2007 | CDEFINES += -DCONFIG_ATH_PROCFS_DIAG_SUPPORT |
| 2008 | endif |
| 2009 | |
Rajeev Kumar | 9c4809e | 2016-01-13 18:32:40 -0800 | [diff] [blame] | 2010 | # Enable 11AC TX compact feature for adrastea |
| 2011 | ifeq (y, $(filter y, $(CONFIG_CNSS_ADRASTEA) $(CONFIG_ICNSS))) |
| 2012 | CDEFINES += -DATH_11AC_TXCOMPACT |
| 2013 | endif |
| 2014 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2015 | # NOTE: CONFIG_64BIT_PADDR requires CONFIG_HELIUMPLUS |
| 2016 | ifeq (y,$(filter y,$(CONFIG_CNSS_EOS) $(CONFIG_ICNSS))) |
| 2017 | CONFIG_HELIUMPLUS := y |
| 2018 | CONFIG_64BIT_PADDR := y |
| 2019 | CONFIG_FEATURE_TSO := y |
| 2020 | CONFIG_FEATURE_TSO_DEBUG := y |
Mohit Khanna | 3c4262d | 2017-05-24 17:32:22 -0700 | [diff] [blame] | 2021 | ifneq ($(CONFIG_FORCE_ALLOC_FROM_DMA_ZONE), y) |
Poddar, Siddarth | d63954e | 2017-02-24 15:37:49 +0530 | [diff] [blame] | 2022 | CONFIG_ENABLE_DEBUG_ADDRESS_MARKING := y |
| 2023 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2024 | ifeq ($(CONFIG_HELIUMPLUS),y) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2025 | CDEFINES += -DHELIUMPLUS |
Dhanashri Atre | 48c2ae6 | 2015-12-15 18:07:10 -0800 | [diff] [blame] | 2026 | CDEFINES += -DAR900B |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2027 | ifeq ($(CONFIG_64BIT_PADDR),y) |
| 2028 | CDEFINES += -DHTT_PADDR64 |
| 2029 | endif |
Himanshu Agarwal | 8e89ce7 | 2017-03-06 17:09:25 +0530 | [diff] [blame] | 2030 | |
| 2031 | ifeq ($(CONFIG_SLUB_DEBUG_ON),y) |
| 2032 | CDEFINES += -DOL_RX_INDICATION_RECORD |
| 2033 | endif |
| 2034 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2035 | endif |
| 2036 | endif |
| 2037 | |
Poddar, Siddarth | d63954e | 2017-02-24 15:37:49 +0530 | [diff] [blame] | 2038 | ifeq ($(CONFIG_ENABLE_DEBUG_ADDRESS_MARKING),y) |
| 2039 | CDEFINES += -DENABLE_DEBUG_ADDRESS_MARKING |
| 2040 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2041 | ifeq ($(CONFIG_FEATURE_TSO),y) |
| 2042 | CDEFINES += -DFEATURE_TSO |
| 2043 | endif |
| 2044 | ifeq ($(CONFIG_FEATURE_TSO_DEBUG),y) |
| 2045 | CDEFINES += -DFEATURE_TSO_DEBUG |
| 2046 | endif |
| 2047 | |
| 2048 | ifeq ($(CONFIG_WLAN_LRO), y) |
| 2049 | CDEFINES += -DFEATURE_LRO |
| 2050 | endif |
| 2051 | |
| 2052 | ifeq ($(CONFIG_MOBILE_ROUTER), y) |
| 2053 | CDEFINES += -DFEATURE_AP_MCC_CH_AVOIDANCE |
| 2054 | endif |
| 2055 | |
| 2056 | ifeq ($(CONFIG_MPC_UT_FRAMEWORK), y) |
| 2057 | CDEFINES += -DMPC_UT_FRAMEWORK |
| 2058 | endif |
| 2059 | |
| 2060 | ifeq ($(CONFIG_WLAN_OFFLOAD_PACKETS),y) |
| 2061 | CDEFINES += -DWLAN_FEATURE_OFFLOAD_PACKETS |
| 2062 | endif |
| 2063 | |
| 2064 | ifeq ($(CONFIG_WLAN_FEATURE_MEMDUMP),y) |
| 2065 | CDEFINES += -DWLAN_FEATURE_MEMDUMP |
| 2066 | endif |
| 2067 | |
Padma, Santhosh Kumar | d7cc079 | 2016-06-28 18:54:12 +0530 | [diff] [blame] | 2068 | ifeq ($(CONFIG_WLAN_FEATURE_DISA),y) |
| 2069 | CDEFINES += -DWLAN_FEATURE_DISA |
| 2070 | endif |
| 2071 | |
Ravi Joshi | 61c3c7a | 2015-11-09 18:41:20 -0800 | [diff] [blame] | 2072 | ifeq ($(CONFIG_LFR_SUBNET_DETECTION), y) |
| 2073 | CDEFINES += -DFEATURE_LFR_SUBNET_DETECTION |
| 2074 | endif |
| 2075 | |
Chandrasekaran Manishekar | 068e25e | 2016-03-07 11:51:07 +0530 | [diff] [blame] | 2076 | ifeq ($(CONFIG_MCC_TO_SCC_SWITCH), y) |
| 2077 | CDEFINES += -DFEATURE_WLAN_MCC_TO_SCC_SWITCH |
| 2078 | endif |
| 2079 | |
Ravi Joshi | a063dd9 | 2016-05-25 16:43:13 -0700 | [diff] [blame] | 2080 | ifeq ($(CONFIG_WLAN_FEATURE_NAN_DATAPATH), y) |
| 2081 | CDEFINES += -DWLAN_FEATURE_NAN_DATAPATH |
| 2082 | endif |
| 2083 | |
Naveen Rawat | 6d2bf18 | 2017-03-22 10:18:00 -0700 | [diff] [blame] | 2084 | ifeq ($(CONFIG_NAN_CONVERGENCE), y) |
| 2085 | CDEFINES += -DWLAN_FEATURE_NAN_CONVERGENCE |
| 2086 | endif |
| 2087 | |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 2088 | ifeq ($(CONFIG_LITHIUM),y) |
Houston Hoffman | 06fd566 | 2017-02-08 21:41:20 -0800 | [diff] [blame] | 2089 | CDEFINES += -DCONFIG_SHADOW_V2 |
Aravind Narasimhan | 4ed314d | 2016-11-14 16:56:42 -0800 | [diff] [blame] | 2090 | CDEFINES += -DQCA6290_HEADERS_DEF |
Venkata Sharath Chandra Manchala | 5d714d8 | 2017-01-18 14:56:32 -0800 | [diff] [blame] | 2091 | CDEFINES += -DQCA_WIFI_QCA6290 |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 2092 | CDEFINES += -DQCA_WIFI_QCA8074 |
Leo Chang | 395cbb5 | 2016-11-11 14:35:03 -0800 | [diff] [blame] | 2093 | CDEFINES += -DQCA_WIFI_NAPIER_EMULATION |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 2094 | CDEFINES += -DQCA_WIFI_QCA8074_VP |
Ravi Joshi | fc2ed78 | 2016-11-22 17:36:50 -0800 | [diff] [blame] | 2095 | CDEFINES += -DDP_INTR_POLL_BASED |
Ravi Joshi | fa5536f | 2017-02-14 12:25:09 -0800 | [diff] [blame] | 2096 | CDEFINES += -DTX_PER_PDEV_DESC_POOL |
Dhanashri Atre | 2f507a7 | 2017-03-28 13:52:29 -0700 | [diff] [blame] | 2097 | CDEFINES += -DWLAN_RX_HASH |
Pramod Simha | 707a356 | 2017-03-22 13:15:37 -0700 | [diff] [blame] | 2098 | CDEFINES += -DDP_LFR |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 2099 | endif |
| 2100 | |
Krishna Kumaar Natarajan | 639c6ff | 2017-02-13 14:01:04 -0800 | [diff] [blame] | 2101 | ifeq ($(CONFIG_WLAN_FEATURE_11AX),y) |
| 2102 | CDEFINES += -DWLAN_FEATURE_11AX |
| 2103 | endif |
| 2104 | |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 2105 | # Dummy flag for WIN/MCL converged data path compilation |
| 2106 | CDEFINES += -DDP_PRINT_ENABLE=0 |
| 2107 | CDEFINES += -DATH_SUPPORT_WRAP=0 |
Dhanashri Atre | 33e147e | 2017-01-20 14:52:18 -0800 | [diff] [blame] | 2108 | CDEFINES += -DQCA_HOST2FW_RXBUF_RING |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 2109 | #endof dummy flags |
| 2110 | |
Arif Hussain | 757b45f | 2017-02-11 16:47:06 -0800 | [diff] [blame] | 2111 | # DFS component |
| 2112 | CDEFINES += -DQCA_MCL_DFS_SUPPORT |
| 2113 | CDEFINES += -DDFS_COMPONENT_ENABLE |
| 2114 | CDEFINES += -DQCA_DFS_USE_POLICY_MANAGER |
| 2115 | CDEFINES += -DQCA_DFS_NOL_PLATFORM_DRV_SUPPORT |
| 2116 | |
Mahesh Kumar Kalikot Veetil | c0233a7 | 2016-10-27 15:06:05 -0700 | [diff] [blame] | 2117 | ifeq ($(CONFIG_WLAN_DEBUGFS), y) |
| 2118 | CDEFINES += -DWLAN_DEBUGFS |
| 2119 | endif |
| 2120 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2121 | KBUILD_CPPFLAGS += $(CDEFINES) |
| 2122 | |
| 2123 | # Currently, for versions of gcc which support it, the kernel Makefile |
| 2124 | # is disabling the maybe-uninitialized warning. Re-enable it for the |
| 2125 | # WLAN driver. Note that we must use EXTRA_CFLAGS here so that it |
| 2126 | # will override the kernel settings. |
| 2127 | ifeq ($(call cc-option-yn, -Wmaybe-uninitialized),y) |
| 2128 | EXTRA_CFLAGS += -Wmaybe-uninitialized |
Leo Chang | 5f7a1e0 | 2016-11-04 14:04:26 -0700 | [diff] [blame] | 2129 | ifneq (y,$(CONFIG_ARCH_MSM)) |
| 2130 | EXTRA_CFLAGS += -Wframe-larger-than=4096 |
| 2131 | endif |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2132 | endif |
Jeff Johnson | 522db00 | 2016-10-05 16:30:41 -0700 | [diff] [blame] | 2133 | EXTRA_CFLAGS += -Wmissing-prototypes |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2134 | |
Srinivas Girigowda | 0a85ccd | 2016-12-01 14:58:08 -0800 | [diff] [blame] | 2135 | ifeq ($(call cc-option-yn, -Wheader-guard),y) |
| 2136 | EXTRA_CFLAGS += -Wheader-guard |
| 2137 | endif |
Samuel Ahn | c9c48ca | 2016-09-19 15:46:36 +0530 | [diff] [blame] | 2138 | # 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] | 2139 | # 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] | 2140 | # any string that must be unique for all instances of the driver on the system. |
| 2141 | # This allows multiple instances of the driver with different module names. |
| 2142 | # If the module name is wlan, leave MULTI_IF_NAME undefined and the code will |
| 2143 | # treat the driver as the primary driver. |
| 2144 | ifneq ($(MODNAME), wlan) |
Yu Wang | 66e4ff2 | 2017-02-15 19:09:24 +0800 | [diff] [blame] | 2145 | CHIP_NAME ?= $(MODNAME) |
| 2146 | CDEFINES += -DMULTI_IF_NAME=\"$(CHIP_NAME)\" |
Samuel Ahn | c9c48ca | 2016-09-19 15:46:36 +0530 | [diff] [blame] | 2147 | endif |
| 2148 | |
| 2149 | # WLAN_HDD_ADAPTER_MAGIC must be unique for all instances of the driver on the |
| 2150 | # system. If it is not defined, then the host driver will use the first 4 |
| 2151 | # characters (including NULL) of MULTI_IF_NAME to construct |
| 2152 | # WLAN_HDD_ADAPTER_MAGIC. |
| 2153 | ifdef WLAN_HDD_ADAPTER_MAGIC |
| 2154 | CDEFINES += -DWLAN_HDD_ADAPTER_MAGIC=$(WLAN_HDD_ADAPTER_MAGIC) |
| 2155 | endif |
Srinivas Girigowda | 0a85ccd | 2016-12-01 14:58:08 -0800 | [diff] [blame] | 2156 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 2157 | # Module information used by KBuild framework |
| 2158 | obj-$(CONFIG_QCA_CLD_WLAN) += $(MODNAME).o |
| 2159 | $(MODNAME)-y := $(OBJS) |