1 # Helper makefile for building Broadcom wl device driver
2 # This file maps wl driver feature flags (import) to WLFLAGS and WLFILES_SRC (export).
4 # Copyright (C) 2012, Broadcom Corporation. All Rights Reserved.
6 # Permission to use, copy, modify, and/or distribute this software for any
7 # purpose with or without fee is hereby granted, provided that the above
8 # copyright notice and this permission notice appear in all copies.
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
13 # SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
15 # OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
16 # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 # $Id: wl.mk 355911 2012-09-10 11:44:52Z $
23 WLFLAGS
+= -DBCMDBG
-DWLTEST
-DRWL_WIFI
-DWIFI_ACT_FRAME
-DWLRWL
25 else ifeq ($(WLDEBUG
),1)
28 WLFLAGS
+= -DBCMDBG
-DWLTEST
-DWIFI_ACT_FRAME
49 WLFLAGS
+= -DENABLE_ACPHY
56 WLFLAGS
+= -DWL11AC
-DWL_BEAMFORMING
70 # CPU debug traps (lomem access, divide by 0, etc) are enabled except when mogrified out for
72 WLFLAGS
+= -DBCMDBG_TRAP
85 ## iff one of WLC_LOW and WLC_HIGH is defined, SPLIT is true
96 ifeq ($(RPC_NOCOPY
),1)
97 WLFLAGS
+= -DBCM_RPC_NOCOPY
99 ifeq ($(RPC_RXNOCOPY
),1)
100 WLFLAGS
+= -DBCM_RPC_RXNOCOPY
102 ifeq ($(RPC_TXNOCOPY
),1)
103 WLFLAGS
+= -DBCM_RPC_TXNOCOPY
106 WLFLAGS
+= -DBCM_RPC_TOC
109 WLFLAGS
+= -DBCM_RPC_ROC
111 ifeq ($(BMAC_ENABLE_LINUX_HOST_RPCAGG
),1)
112 WLFLAGS
+= -DBMAC_ENABLE_LINUX_HOST_RPCAGG
114 ifeq ($(DBUS_LINUX_RXDPC
),1)
115 WLFLAGS
+= -DDBUS_LINUX_RXDPC
117 ifneq ($(BCM_RPC_TP_DBUS_NTXQ
),)
118 WLFLAGS
+= -DBCM_RPC_TP_DBUS_NTXQ
=$(BCM_RPC_TP_DBUS_NTXQ
)
120 ifneq ($(BCM_RPC_TP_DBUS_NRXQ
),)
121 WLFLAGS
+= -DBCM_RPC_TP_DBUS_NRXQ
=$(BCM_RPC_TP_DBUS_NRXQ
)
123 ifeq ($(BCMUSBDEV_EP_FOR_RPCRETURN
),1)
124 WLFLAGS
+= -DBCMUSBDEV_EP_FOR_RPCRETURN
132 ifneq ($(BCM_RPC_TP_FLOWCTL_QWM_HIGH
),)
133 WLFLAGS
+= -DBCM_RPC_TP_FLOWCTL_QWM_HIGH
=$(BCM_RPC_TP_FLOWCTL_QWM_HIGH
)
139 WLFLAGS
+= -DWLC_HIGH
142 ifeq ($(GTK_RESET
),1)
143 WLFLAGS
+= -DGTK_RESET
148 WLFLAGS
+= -DEHCI_FASTPATH_TX
-DEHCI_FASTPATH_RX
151 # split driver infrastructure files
153 WLFILES_SRC
+= src
/shared
/bcm_xdr.c
154 WLFILES_SRC
+= src
/shared
/bcm_rpc.c
156 WLFILES_SRC_HI
+= src
/shared
/nvramstubs.c
159 WLFILES_SRC_HI
+= src
/shared
/linux_rpc_osl.c
163 WLFILES_SRC_HI
+= src
/shared
/ndis_rpc_osl.c
167 WLFILES_SRC_HI
+= src
/shared
/bcm_rpc_tp_dbus.c
170 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_bmac_stubs.c
171 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_rpctx.c
172 WLFILES_SRC_LO
+= src
/wl
/sys
/wlc_high_stubs.c
174 WLFILES_SRC_HI
+= src
/wl
/phy
/wlc_ppr.c
178 ifneq ($(WLVISTA
)$(WLWIN7
)$(WLWIN8
),)
179 WLFILES_SRC_HI
+= src
/shared
/sdh_ndis.c
182 WLFLAGS
+= -DBCMBUSTYPE
=RPC_BUS
183 WLFLAGS
+= -DOSLREGOPS
189 WLFLAGS
+= -DPREATTACH_NORECLAIM
194 # WLFILES_SRC += src/shared/bcmwifi/src/bcmwifi_channels.c
195 WLFILES_SRC
+= src
/shared
/bcmwifi_channels.c
196 WLFILES_SRC
+= src
/shared
/bcmevent.c
197 WLFILES_SRC
+= src
/shared
/bcm_mpool.c
198 WLFILES_SRC
+= src
/shared
/bcm_notif.c
199 WLFILES_SRC
+= src
/wl
/sys
/wlc_alloc.c
200 WLFILES_SRC
+= src
/wl
/sys
/wlc_intr.c
201 WLFILES_SRC
+= src
/wl
/sys
/wlc_hw.c
203 WLFILES_SRC_LO
+= src
/shared
/qmath.c
204 WLFILES_SRC_LO
+= src
/wl
/sys
/d11ucode_gt15.c
205 WLFILES_SRC_LO
+= src
/wl
/sys
/d11ucode_ge24.c
206 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_ppr.c
207 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phy_cmn.c
208 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phy_ssn.c
209 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phy_n.c
210 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phy_radio_n.c
211 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phytbl_n.c
212 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phytbl_ssn.c
213 WLFILES_SRC_LO
+= src
/wl
/sys
/wlc_phy_shim.c
214 WLFILES_SRC_LO
+= src
/wl
/sys
/wlc_bmac.c
217 WLFILES_SRC_LO
+= src
/wl
/sys
/d11ucode_ge40.c
218 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phytbl_ac.c
219 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phy_ac.c
220 WLFILES_SRC_LO
+= src
/wl
/sys
/d11ucode_le15.c
221 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phy_ht.c
222 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phytbl_ht.c
223 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phy_lcn40.c
224 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phytbl_lcn40.c
225 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phy_lcn.c
226 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phytbl_lcn.c
227 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phy_lp.c
228 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phytbl_lp.c
229 WLFILES_SRC_LO
+= src
/wl
/phy
/wlc_phy_abg.c
232 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc.c
233 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_utils.c
234 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_prot.c
235 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_prot_g.c
236 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_prot_n.c
237 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_assoc.c
238 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_rate.c
239 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_stf.c
240 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_lq.c
243 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_security.c
244 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_key.c
246 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_scb.c
247 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_rate_sel.c
248 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_scb_ratesel.c
253 WLFILES_SRC_LO
+= src
/wl
/sys
/wlc_power_sel.c
254 WLFILES_SRC_LO
+= src
/wl
/sys
/wlc_scb_powersel.c
256 ifeq ($(LP_P2P_SOFTAP
),1)
257 WLFLAGS
+= -DLP_P2P_SOFTAP
262 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_antsel.c
263 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_bsscfg.c
264 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_vndr_ie_list.c
265 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_scan.c
266 WLFILES_SRC_HI
+= src
/wl
/phy
/wlc_phy_iovar.c
267 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_rm.c
268 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_tso.c
270 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_vht.c
271 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_txbf.c
276 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_11h.c
278 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_csa.c
280 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_quiet.c
283 # tpc module is shared by 11h tpc and wl tx power control */
287 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_tpc.c
289 ifeq ($(WL_AP_TPC
),1)
290 WLFLAGS
+= -DWL_AP_TPC
294 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_dfs.c
298 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_11d.c
301 # cntry module is shared by 11h/11d and wl channel */
305 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_cntry.c
307 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_event.c
308 ifeq ($(WLCHANNEL_DUMMY
),1)
309 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_channel_dummy.c
311 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_channel.c
312 WLFILES_SRC_HI
+= src
/wl
/clm
/src
/wlc_clm.c
313 WLFILES_SRC_HI
+= src
/wl
/clm
/src
/wlc_clm_data.c
315 WLFILES_SRC_HI
+= src
/wl
/clm
/src
/wlc_clm_data_inc.c
318 WLFILES_SRC_HI
+= src
/shared
/bcmwpa.c
320 ifneq ($(LINUX_CRYPTO
),1)
321 WLFILES_SRC_HI
+= src
/bcmcrypto
/rc4.c
322 WLFILES_SRC_HI
+= src
/bcmcrypto
/tkhash.c
323 WLFILES_SRC_HI
+= src
/bcmcrypto
/tkmic.c
324 WLFILES_SRC_HI
+= src
/bcmcrypto
/wep.c
326 #endif /* LINUX_CRYPTO */
329 WLFLAGS
+= -DWLEXTLOG
330 WLFILES_SRC
+= src
/wl
/sys
/wlc_extlog.c
334 ifeq ($(WLSCANCACHE
),1)
335 WLFLAGS
+= -DWLSCANCACHE
336 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_scandb.c
339 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_hrt.c
346 WLFILES_SRC
+= src
/shared
/dbus.c
349 WLFLAGS
+= -DBCMTRXV2
354 WLFILES_SRC_HI
+= src
/shared
/siutils.c
355 WLFILES_SRC_HI
+= src
/shared
/bcmotp.c
356 WLFILES_SRC_HI
+= src
/shared
/sbutils.c
357 WLFILES_SRC_HI
+= src
/shared
/aiutils.c
358 WLFILES_SRC_HI
+= src
/shared
/hndpmu.c
364 WLFILES_SRC
+= src
/shared
/dbus_sdh.c
365 WLFILES_SRC
+= src
/shared
/dbus_sdh_linux.c
367 WLFILES_SRC
+= src
/shared
/dbus_usb.c
368 WLFILES_SRC
+= src
/shared
/dbus_usb_linux.c
373 ifneq ($(WLWIN7
)$(WLWIN8
),)
374 WLFILES_SRC
+= src
/shared
/dbus_sdio.c
375 WLFILES_SRC
+= src
/shared
/dbus_sdio_ndis.c
377 WLFILES_SRC
+= src
/shared
/dbus_sdh.c
378 WLFILES_SRC
+= src
/shared
/dbus_sdh_ndis.c
381 WLFILES_SRC
+= src
/shared
/dbus_usb.c
382 WLFILES_SRC
+= src
/shared
/dbus_usb_ndis.c
390 ifeq ($(BCM_DNGL_EMBEDIMAGE
),1)
391 WLFLAGS
+= -DBCM_DNGL_EMBEDIMAGE
395 # For USBAP to select which images to embed
396 ifeq ($(EMBED_IMAGE_4319usb
),1)
397 WLFLAGS
+= -DEMBED_IMAGE_4319usb
399 ifeq ($(EMBED_IMAGE_4319sd
),1)
400 WLFLAGS
+= -DEMBED_IMAGE_4319sd
402 ifeq ($(EMBED_IMAGE_4322
),1)
403 WLFLAGS
+= -DEMBED_IMAGE_4322
406 ifeq ($(EMBED_IMAGE_43236b
),1)
407 WLFLAGS
+= -DEMBED_IMAGE_43236b
409 ifeq ($(EMBED_IMAGE_4325sd
),1)
410 WLFLAGS
+= -DEMBED_IMAGE_4325sd
413 ifeq ($(DNGL_WD_KEEP_ALIVE
),1)
414 WLFLAGS
+= -DDNGL_WD_KEEP_ALIVE
420 WLFILES_SRC
+= src
/wl
/sys
/wl_vx.c
421 WLFILES_SRC
+= src
/shared
/bcmstdlib.c
422 WLFLAGS
+= -DSEC_TXC_ENABLED
428 WLFILES_SRC
+= src
/wl
/sys
/wl_bsd.c
435 WLFILES_SRC_LO
+= src
/wl
/sys
/wl_linux_bmac.c
436 WLFILES_SRC_LO
+= src
/shared
/bcm_rpc_char.c
439 WLFILES_SRC_HI
+= src
/wl
/sys
/wl_linux.c
445 WLFILES_SRC_HI
+= src
/wl
/sys
/wl_iw.c
451 ifdef ($(WLLXCFG80211
),1)
452 WLFILES_SRC_HI
+= src
/wl
/sys
/wl_cfg80211_hybrid.c
456 ifeq ($(BCM_STA_CFG80211
),1)
457 WLFILES_SRC_HI
+= src
/wl
/sys
/wl_cfg80211.c
458 WLFILES_SRC_HI
+= src
/wl
/sys
/wl_cfgp2p.c
459 WLFILES_SRC_HI
+= src
/wl
/sys
/wldev_common.c
460 WLFILES_SRC_HI
+= src
/wl
/sys
/wl_linux_mon.c
465 WLFILES_SRC
+= src
/wl
/sys
/wl_cfe.c
471 WLFILES_SRC
+= src
/wl
/sys
/wl_rte.c
473 WLFILES_SRC_LO
+= src
/shared
/bcm_rpc_tp_rte.c
478 ifeq ($(BCMECICOEX
),1)
479 WLFLAGS
+= -DBCMECICOEX
482 ifeq ($(DNGL_WD_KEEP_ALIVE
),1)
483 WLFLAGS
+= -DDNGL_WD_KEEP_ALIVE
487 ifeq ($(TRAFFIC_MGMT
),1)
488 WLFLAGS
+= -DTRAFFIC_MGMT
489 WLFILES_SRC
+= src
/wl
/sys
/wlc_traffic_mgmt.c
491 ifeq ($(TRAFFIC_SHAPING
),1)
492 WLFLAGS
+= -DTRAFFIC_SHAPING
495 ifeq ($(TRAFFIC_MGMT_RSSI_POLICY
),1)
496 WLFLAGS
+= -DTRAFFIC_MGMT_RSSI_POLICY
=$(AP
)
502 # anything Windows/NDIS specific for 2k/xp/vista/windows7
504 WLFILES_SRC
+= src
/wl
/sys
/wl_ndis.c
506 ifeq ($(WLNDIS_DHD
),)
507 WLFILES_SRC
+= src
/wl
/sys
/nhd_ndis.c
510 WLFLAGS
+= -DMEMORY_TAG
="'7034'"
512 WLFLAGS
+= -DMEMORY_TAG
='DWMB'
516 WLFLAGS
+= -DMEMORY_TAG
="'7034'"
518 WLFLAGS
+= -DMEMORY_TAG
='NWMB'
522 WLFILES_SRC
+= src
/dhd
/sys
/dhd_ndis.c
524 WLFLAGS
+= -DMEMORY_TAG
="'7034'"
526 WLFLAGS
+= -DMEMORY_TAG
='DWMB'
530 WLFILES_SRC
+= src
/wl
/sys
/wl_ndconfig.c
531 # WLFILES_SRC += src/shared/bcmwifi/src/bcmwifi_channels.c
532 WLFILES_SRC
+= src
/shared
/bcmwifi_channels.c
533 WLFILES_SRC
+= src
/shared
/bcmstdlib.c
535 # support host supplied nvram variables
537 ifeq ($(WLHOSTVARS
), 1)
538 WLFLAGS
+= -DBCMHOSTVARS
541 ifeq ($(BCMEXTNVM
),1)
542 ifeq ($(WLHOSTVARS
), 1)
543 WLFLAGS
+= -DBCMHOSTVARS
548 ifneq ($(WLVISTA
)$(WLWIN7
)$(WLWIN8
),)
550 WLFLAGS
+= -DWL_MONITOR
551 WLFLAGS
+= -DIBSS_PEER_GROUP_KEY
552 WLFLAGS
+= -DIBSS_PEER_DISCOVERY_EVENT
553 WLFLAGS
+= -DIBSS_PEER_MGMT
556 ifneq ($(WLWIN7
)$(WLWIN8
),)
561 WLFLAGS
+= -DWLNOEIND
568 # HIGH driver for BMAC ?? any ndis/xp/vista ?
572 # DHD host: ?? to clean up and to support all other DHD OSes
573 ifeq ($(WLNDIS_DHD
),1)
574 WLFLAGS
+= -DSHOW_EVENTS
-DBCMPERFSTATS
575 WLFLAGS
+= -DBDC
-DBCMDONGLEHOST
579 WLFLAGS
+= -DBCMDHDUSB
580 WLFLAGS
+= -DBCM4328
-DBCM4322
583 WLFILES_SRC
+= src
/shared
/bcmevent.c
584 WLFILES_SRC
+= src
/dhd
/sys
/dhd_cdc.c
585 WLFILES_SRC
+= src
/dhd
/sys
/dhd_common.c
590 WLFILES_SRC
+= src
/dhd
/sys
/dhd_usb_ndis.c
593 ifneq ($(WLVISTA
)$(WLWIN7
)$(WLWIN8
),)
594 WLFILES_SRC
+= src
/wl
/sys
/wlc_rate.c
597 ifneq ($(WLWIN7
)$(WLWIN8
),)
598 WLFILES_SRC
+= src
/wl
/sys
/wlc_ap.c
599 WLFILES_SRC
+= src
/wl
/sys
/wlc_apps.c
603 WLFLAGS
+= -DNDIS_DMAWAR
604 # move these non-wl flag to makefiles
605 WLFLAGS
+= -DBINARY_COMPATIBLE
-DWIN32_LEAN_AND_MEAN
=1
612 ifeq ($(ADV_PS_POLL
),1)
613 WLFLAGS
+= -DADV_PS_POLL
618 WLFLAGS
+= -DWLC_HOSTOID
619 WLFILES_SRC
+= src
/wl
/sys
/wlc_hostoid.c
631 # ACCONF -- 0 is remove from code, else bit mask of supported acphy revs
633 WLFLAGS
+= -DACCONF
=$(ACCONF
)
636 # NCONF -- 0 is remove from code, else bit mask of supported nphy revs
638 WLFLAGS
+= -DNCONF
=$(NCONF
)
641 # HTCONF -- 0 is remove from code, else bit mask of supported htphy revs
643 WLFLAGS
+= -DHTCONF
=$(HTCONF
)
646 # ACONF -- 0 is remove from code, else bit mask of supported aphy revs
648 WLFLAGS
+= -DACONF
=$(ACONF
)
651 # GCONF -- 0 is remove from code, else bit mask of supported gphy revs
653 WLFLAGS
+= -DGCONF
=$(GCONF
)
656 # LPCONF -- 0 is remove from code, else bit mask of supported lpphy revs
658 WLFLAGS
+= -DLPCONF
=$(LPCONF
)
661 # SSLPNCONF -- 0 is remove from code, else bit mask of supported sslpnphy revs
662 ifneq ($(SSLPNCONF
),)
663 WLFLAGS
+= -DSSLPNCONF
=$(SSLPNCONF
)
666 # LCNCONF -- 0 is remove from code, else bit mask of supported lcnphy revs
668 WLFLAGS
+= -DLCNCONF
=$(LCNCONF
)
680 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_ap.c
681 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_apps.c
698 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_apcs.c
702 # WME_PER_AC_TX_PARAMS
703 ifeq ($(WME_PER_AC_TX_PARAMS
),1)
704 WLFLAGS
+= -DWME_PER_AC_TX_PARAMS
708 ifeq ($(WME_PER_AC_TUNING
),1)
709 WLFLAGS
+= -DWME_PER_AC_TUNING
722 #ifdef EXT_STA_DONGLE
723 # Microsoft Extensible STA for Dongle
724 ifeq ($(EXT_STA_DONGLE
),1)
726 WLFLAGS
+= -DIBSS_PEER_GROUP_KEY
727 WLFLAGS
+= -DIBSS_PEER_DISCOVERY_EVENT
728 WLFLAGS
+= -DIBSS_PEER_MGMT
744 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_wet.c
748 #ifdef RXCHAIN_PWRSAVE
749 ifeq ($(RXCHAIN_PWRSAVE
), 1)
750 WLFLAGS
+= -DRXCHAIN_PWRSAVE
755 ifeq ($(RADIO_PWRSAVE
), 1)
756 WLFLAGS
+= -DRADIO_PWRSAVE
762 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_wmf.c
765 ifeq ($(IGMP_UCQUERY
), 1)
766 WLFLAGS
+= -DWL_IGMP_UCQUERY
771 ifeq ($(MCAST_REGEN
), 1)
772 WLFLAGS
+= -DMCAST_REGEN
777 ifeq ($(ROUTER_COMA
), 1)
778 WLFILES_SRC_HI
+= src
/shared
/hndmips.c
779 WLFILES_SRC_HI
+= src
/shared
/hndchipc.c
780 WLFLAGS
+= -DROUTER_COMA
785 #ifdef WLOVERTHRUSTER
786 ifeq ($(WLOVERTHRUSTER
), 1)
787 WLFLAGS
+= -DWLOVERTHRUSTER
793 ifeq ($(MAC_SPOOF
),1)
794 WLFLAGS
+= -DMAC_SPOOF
801 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_psta.c
814 # Router IBSS Security Support
815 ifeq ($(ROUTER_SECURE_IBSS
),1)
816 WLFLAGS
+= -DIBSS_PEER_GROUP_KEY
817 WLFLAGS
+= -DIBSS_PSK
818 WLFLAGS
+= -DIBSS_PEER_MGMT
819 WLFLAGS
+= -DIBSS_PEER_DISCOVERY_EVENT
827 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_led.c
833 ifeq ($(WL_MONITOR
),1)
834 WLFLAGS
+= -DWL_MONITOR
841 WLFLAGS
+= -DWL_PROMISC
845 ifeq ($(WL_ALL_PASSIVE
),1)
846 WLFLAGS
+= -DWL_ALL_PASSIVE
849 #ifdef ND_ALL_PASSIVE
850 ifeq ($(ND_ALL_PASSIVE
),1)
851 WLFLAGS
+= -DND_ALL_PASSIVE
862 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_cac.c
872 WLFILES_SRC_LO
+= src
/wl
/sys
/wlc_pio.c
883 #ifdef WL11N_20MHZONLY
884 # 11N 20MHz only optimization
885 ifeq ($(WL11N_20MHZONLY
),1)
886 WLFLAGS
+= -DWL11N_20MHZONLY
890 #ifdef WL11N_SINGLESTREAM
891 # 11N single stream optimization
892 ifeq ($(WL11N_SINGLESTREAM
),1)
893 WLFLAGS
+= -DWL11N_SINGLESTREAM
914 WLFLAGS
+= -DWL11U
-DWIFI_ACT_FRAME
915 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_11u.c
921 ifeq ($(WLPROBRESP_SW
),1)
922 WLFLAGS
+= -DWLPROBRESP_SW
923 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_probresp.c
959 ifeq ($(DELTASTATS
),1)
960 WLFLAGS
+= -DDELTASTATS
966 WLFLAGS
+= -DWLCHANIM
973 WLFLAGS
+= -DWLCNTSCB
986 # external linux supplicant
988 ifeq ($(LINUX_CRYPTO
), 1)
989 WLFLAGS
+= -DLINUX_CRYPTO
1002 # in-driver supplicant
1003 ifeq ($(BCMSUP_PSK
),1)
1004 WLFLAGS
+= -DBCMSUP_PSK
-DBCMINTSUP
1005 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_sup.c
1006 WLFILES_SRC_HI
+= src
/bcmcrypto
/aes.c
1007 WLFILES_SRC_HI
+= src
/bcmcrypto
/aeskeywrap.c
1008 WLFILES_SRC_HI
+= src
/bcmcrypto
/hmac.c
1009 WLFILES_SRC_HI
+= src
/bcmcrypto
/prf.c
1010 WLFILES_SRC_HI
+= src
/bcmcrypto
/sha1.c
1012 WLFILES_SRC_HI
+= src
/bcmcrypto
/hmac_sha256.c
1013 WLFILES_SRC_HI
+= src
/bcmcrypto
/sha256.c
1015 # NetBSD 2.0 has MD5 and AES built in
1017 WLFILES_SRC_HI
+= src
/bcmcrypto
/md5.c
1018 WLFILES_SRC_HI
+= src
/bcmcrypto
/rijndael-alg-fst.c
1020 WLFILES_SRC_HI
+= src
/bcmcrypto
/passhash.c
1026 # in-driver authenticator
1027 ifeq ($(BCMAUTH_PSK
),1)
1028 WLFLAGS
+= -DBCMAUTH_PSK
1029 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_auth.c
1036 WLFILES_SRC_HI
+= src
/bcmcrypto
/sha256.c
1037 WLFILES_SRC_HI
+= src
/bcmcrypto
/hmac_sha256.c
1045 WLFLAGS
+= -DBCMCCMP
1046 WLFILES_SRC_HI
+= src
/bcmcrypto
/aes.c
1047 # BSD has AES built in
1049 WLFILES_SRC_HI
+= src
/bcmcrypto
/rijndael-alg-fst.c
1055 # Management Frame Protection
1058 WLFILES_SRC_HI
+= src
/bcmcrypto
/aes.c
1059 WLFILES_SRC_HI
+= src
/bcmcrypto
/sha256.c
1060 WLFILES_SRC_HI
+= src
/bcmcrypto
/hmac_sha256.c
1061 # BSD has AES built in
1063 WLFILES_SRC_HI
+= src
/bcmcrypto
/rijndael-alg-fst.c
1070 #ifdef WIFI_ACT_FRAME
1072 ifeq ($(WIFI_ACT_FRAME
),1)
1073 WLFLAGS
+= -DWIFI_ACT_FRAME
1078 ifeq ($(BCMDMA32
),1)
1079 WLFLAGS
+= -DBCMDMA32
1082 ifeq ($(BCMDMA64OSL
),1)
1083 WLFLAGS
+= -DBCMDMA64OSL
1086 ifeq ($(BCMDMASGLISTOSL
),1)
1087 WLFLAGS
+= -DBCMDMASGLISTOSL
1090 # Early DMA TX Free for LOW driver
1091 ifeq ($(WL_DMA_TX_FREE
),1)
1092 ifneq ($(WL_HIGH
),1)
1093 ifeq ($(PT_GIANT
),1)
1094 WLFLAGS
+= -DDMA_TX_FREE
1102 WLFLAGS
+= -DBCMJTAG
-DBCMSLTGT
1103 WLFILES_SRC
+= src
/shared
/bcmjtag.c
1104 WLFILES_SRC
+= src
/shared
/bcmjtag_linux.c
1105 WLFILES_SRC
+= src
/shared
/ejtag.c
1106 WLFILES_SRC
+= src
/shared
/jtagm.c
1112 WLFLAGS
+= -DWLAMSDU
1113 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_amsdu.c
1117 #ifdef WLAMSDU_SWDEAGG
1118 ifeq ($(WLAMSDU_SWDEAGG
),1)
1119 WLFLAGS
+= -DWLAMSDU_SWDEAGG
1125 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_nar.c
1132 WLFLAGS
+= -DWLAMPDU
1133 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_ampdu.c
1134 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_ampdu_rx.c
1135 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_ampdu_cmn.c
1136 ifeq ($(WLAMPDU_UCODE
),1)
1137 WLFLAGS
+= -DWLAMPDU_UCODE
-DWLAMPDU_MAC
1139 ifeq ($(WLAMPDU_HW
),1)
1140 WLFLAGS
+= -DWLAMPDU_HW
-DWLAMPDU_MAC
1142 ifeq ($(WLAMPDU_PRECEDENCE
),1)
1143 WLFLAGS
+= -DWLAMPDU_PRECEDENCE
1151 WLFILES_SRC_HI
+= src
/wl
/sys
/d11ucode_wowl.c
1152 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_wowl.c
1153 WLFILES_SRC_HI
+= src
/wl
/sys
/wowlaestbls.c
1158 ifeq ($(BTC2WIRE
),1)
1159 WLFLAGS
+= -DBTC2WIRE
1160 WLFILES_SRC_LO
+= src
/wl
/sys
/d11ucode_2w.c
1164 #ifdef WL_ASSOC_RECREATE
1165 ifeq ($(WL_ASSOC_RECREATE
),1)
1167 WLFLAGS
+= -DWL_ASSOC_RECREATE
1174 ifeq ($(TDLS_TESTBED
), 1)
1175 WLFLAGS
+= -DTDLS_TESTBED
1179 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_tdls.c
1186 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_dls.c
1192 ifeq ($(WLBSSLOAD
),1)
1193 WLFLAGS
+= -DWLBSSLOAD
1194 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_bssload.c
1199 ifeq ($(L2_FILTER
),1)
1200 WLFLAGS
+= -DL2_FILTER
1201 ifeq ($(L2_FILTER_STA
),1)
1202 WLFLAGS
+= -DL2_FILTER_STA
1204 WLFILES_SRC
+= src
/wl
/sys
/wlc_l2_filter.c
1211 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_p2p.c
1212 WLFLAGS
+= -DWL_BSSCFG_TX_SUPR
-DWIFI_ACT_FRAME
1221 ifeq ($(WL_SPLIT
),0)
1222 WLFLAGS
+= -DWLOFFLD
1223 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_offloads.c
1224 WLFILES_SRC_HI
+= src
/shared
/bcm_ol_msg.c
1227 #endif /* WLOFFLD */
1230 WLFLAGS
+= -DWLP2P_UCODE
1231 WLFILES_SRC_LO
+= src
/wl
/sys
/d11ucode_p2p.c
1233 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_mcnx.c
1236 ifeq ($(WLP2P_UCODE_ONLY
),1)
1237 WLFLAGS
+= -DWLP2P_UCODE_ONLY
1242 WLFLAGS
+= -DWLMCHAN
1243 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_mchan.c
1248 #endif /* WLMCHAN */
1251 ifeq ($(WLMULTIQUEUE
), 1)
1252 WLFLAGS
+= -DWL_MULTIQUEUE
1254 #endif /* WLMULTIQUEUE */
1256 ifeq ($(WLMCHAN
), 1)
1257 ifeq ($(WL_SPLIT
), 1)
1262 ifeq ($(CCA_STATS
),1)
1263 WLFLAGS
+= -DCCA_STATS
1264 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_cca.c
1265 ifeq ($(ISID_STATS
),1)
1266 WLFLAGS
+= -DISID_STATS
1267 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_interfere.c
1273 WLFLAGS
+= -DWLRWL
-DRWL_WIFI
1274 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_rwl.c
1278 ifneq ($(WLNDIS_DHD
),1)
1284 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_plt.c
1292 WLFLAGS
+= -DWLMEDIA_EN
1293 WLFLAGS
+= -DWLMEDIA_RATESTATS
1294 WLFLAGS
+= -DWLMEDIA_MULTIQUEUE
1295 WLFLAGS
+= -DWLMEDIA_TXFIFO_FLUSH_SCB
1296 WLFLAGS
+= -DWLMEDIA_AMPDUSTATS
1297 WLFLAGS
+= -DWLMEDIA_TXFAILEVENT
1298 WLFLAGS
+= -DWLMEDIA_LQSTATS
1299 WLFLAGS
+= -DWLMEDIA_CALDBG
1300 WLFLAGS
+= -DWLMEDIA_EXT
1301 WLFLAGS
+= -DWLMEDIA_TXFILTER_OVERRIDE
1302 WLFLAGS
+= -DWLMEDIA_TSF
1303 WLFLAGS
+= -DWLMEDIA_PEAKRATE
1308 ifeq ($(WLPKTDLYSTAT
),1)
1309 WLFLAGS
+= -DWLPKTDLYSTAT
1318 ifeq ($(BCMSIBUS
),1)
1319 WLFLAGS
+= -DBCMBUSTYPE
=SI_BUS
1325 WLFLAGS
+= -DBCMCHIPTYPE
=SOCI_SB
1328 WLFLAGS
+= -DBCMCHIPTYPE
=SOCI_AI
1334 #ifndef LINUX_HYBRID
1335 # AP/ROUTER with SDSTD
1336 ifeq ($(WLAPSDSTD
),1)
1337 WLFILES_SRC
+= src
/shared
/nvramstubs.c
1338 WLFILES_SRC
+= src
/shared
/bcmsrom.c
1342 ## --- basic shared files
1345 ifeq ($(BCMHIGHSDIO
),1)
1346 WLFLAGS
+= -DBCMHIGHSDIO
1351 ifeq ($(BCMLOSDIO
),1)
1352 WLFLAGS
+= -DBCMLOSDIO
1357 ifeq ($(BCMHIGHUSB
),1)
1358 WLFLAGS
+= -DBCMHIGHUSB
1363 ifeq ($(BCMLOUSB
),1)
1364 WLFLAGS
+= -DBCMLOUSB
1370 WLFILES_SRC_LO
+= src
/shared
/hnddma.c
1375 ifeq ($(MSGTRACE
),1)
1376 WLFILES_SRC
+= src
/shared
/msgtrace.c
1377 WLFLAGS
+= -DMSGTRACE
1382 ifeq ($(BCMUTILS
),1)
1383 WLFILES_SRC
+= src
/shared
/bcmutils.c
1392 WLFILES_SRC_HI
+= src
/shared
/bcmsrom.c
1393 WLFILES_SRC_HI
+= src
/shared
/bcmotp.c
1396 WLFILES_SRC_LO
+= src
/shared
/bcmsrom.c
1397 WLFILES_SRC_LO
+= src
/shared
/bcmotp.c
1403 WLFILES_SRC_LO
+= src
/shared
/bcmotp.c
1404 WLFLAGS
+= -DBCMNVRAMR
1410 WLFILES_SRC_LO
+= src
/shared
/siutils.c
1411 WLFILES_SRC_LO
+= src
/shared
/sbutils.c
1412 WLFILES_SRC_LO
+= src
/shared
/aiutils.c
1413 WLFILES_SRC_LO
+= src
/shared
/hndpmu.c
1414 ifneq ($(BCMPCI
), 0)
1415 WLFILES_SRC_LO
+= src
/shared
/nicpci.c
1418 #endif /* SIUTILS */
1422 WLFLAGS
+= -DBCMMIPS
1423 WLFILES_SRC_LO
+= src
/shared
/hndmips.c
1424 WLFILES_SRC_LO
+= src
/shared
/hndchipc.c
1430 WLFILES_SRC_LO
+= src
/shared
/hndpci.c
1436 WLFILES_SRC_LO
+= src
/shared
/sflash.c
1441 ifeq ($(FLASHUTL
),1)
1442 WLFILES_SRC_LO
+= src
/shared
/flashutl.c
1450 WLFILES_SRC
+= src
/shared
/linux_osl.c
1457 WLFILES_SRC
+= src
/shared
/vx_osl.c
1458 WLFILES_SRC
+= src
/shared
/bcmallocache.c
1465 WLFILES_SRC
+= src
/shared
/bsd_osl.c
1466 WLFILES_SRC
+= src
/shared
/nvramstubs.c
1472 WLFILES_SRC
+= src
/shared
/cfe_osl.c
1478 WLFILES_SRC
+= src
/shared
/hndrte_osl.c
1484 WLFILES_SRC
+= src
/shared
/ndshared.c
1485 WLFILES_SRC
+= src
/shared
/ndis_osl.c
1489 #ifndef LINUX_HYBRID
1490 ifeq ($(CONFIG_USBRNDIS_RETAIL
),1)
1491 WLFLAGS
+= -DCONFIG_USBRNDIS_RETAIL
1492 WLFILES_SRC
+= src
/wl
/sys
/wl_ndconfig.c
1493 # WLFILES_SRC += src/shared/bcmwifi/src/bcmwifi_channels.c
1494 WLFILES_SRC
+= src
/shared
/bcmwifi_channels.c
1498 WLFILES_SRC_LO
+= src
/dongle
/rte
/test/nvram.c
1499 WLFILES_SRC_LO
+= src
/dongle
/rte
/sim
/nvram.c
1500 WLFILES_SRC_LO
+= src
/shared
/nvram.c
1504 WLFILES_SRC_LO
+= src
/shared
/nvram_rw.c
1506 #endif /* LINUX_HYBRID */
1509 ifeq ($(BCMNVRAMR
),1)
1510 WLFILES_SRC_LO
+= src
/shared
/nvram_ro.c
1511 WLFILES_SRC_LO
+= src
/shared
/sflash.c
1512 WLFILES_SRC_LO
+= src
/shared
/bcmotp.c
1513 WLFLAGS
+= -DBCMNVRAMR
1515 #else /* !BCMNVRAMR */
1516 ifneq ($(BCMNVRAMR
),1)
1517 ifeq ($(WLLXNOMIPSEL
),1)
1519 WLFILES_SRC
+= src
/shared
/nvramstubs.c
1523 WLFILES_SRC
+= src
/shared
/nvramstubs.c
1525 ifeq ($(BCMNVRAMW
),1)
1526 WLFILES_SRC_LO
+= src
/shared
/nvram_ro.c
1527 WLFILES_SRC_LO
+= src
/shared
/sflash.c
1531 ifeq ($(BCMNVRAMW
),1)
1532 WLFILES_SRC_LO
+= src
/shared
/bcmotp.c
1533 WLFLAGS
+= -DBCMNVRAMW
1536 #endif /* !BCMNVRAMR */
1538 # Define one OTP mechanism, or none to support all dynamically
1539 ifeq ($(BCMHNDOTP
),1)
1540 WLFLAGS
+= -DBCMHNDOTP
1542 ifeq ($(BCMIPXOTP
),1)
1543 WLFLAGS
+= -DBCMIPXOTP
1550 WLFILES_SRC_LO
+= src
/wl
/sys
/wlc_diag.c
1556 ifeq ($(WLTINYDUMP
),1)
1557 WLFLAGS
+= -DWLTINYDUMP
1564 # Set flag to indicate emulated chip
1565 WLFLAGS
+= -DBCMSLTGT
-DBCMQT
1567 # Use of RTE implies embedded (CPU emulated)
1568 WLFLAGS
+= -DBCMQT_CPU
1576 WLFILES_SRC
+= src
/wl
/sys
/wl_pfn.c
1577 ifeq ($(WLPFN_AUTO_CONNECT
),1)
1578 WLFLAGS
+= -DWLPFN_AUTO_CONNECT
1586 WLFILES_SRC
+= src
/wl
/sys
/wl_toe.c
1593 WLFILES_SRC
+= src
/wl
/sys
/wl_arpoe.c
1600 WLFILES_SRC
+= src
/wl
/sys
/wl_nwoe.c
1601 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/def.c
1602 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/dns.c
1603 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/mem.c
1604 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/netif.c
1605 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/raw.c
1606 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/stats.c
1607 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/tcp.c
1608 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/tcp_out.c
1609 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/udp.c
1610 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/dhcp.c
1611 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/init.c
1612 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/memp.c
1613 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/pbuf.c
1614 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/sys.c
1615 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/tcp_in.c
1616 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/timers.c
1617 WLFILES_SRC
+= src
/wl
/lwip
/src
/netif
/etharp.c
1618 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/ipv4
/autoip.c
1619 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/ipv4
/icmp.c
1620 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/ipv4
/igmp.c
1621 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/ipv4
/inet.c
1622 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/ipv4
/inet_chksum.c
1623 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/ipv4
/ip_addr.c
1624 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/ipv4
/ip.c
1625 WLFILES_SRC
+= src
/wl
/lwip
/src
/core
/ipv4
/ip_frag.c
1632 WLFILES_SRC
+= src
/wl
/sys
/wl_ndoe.c
1636 #ifdef PCOEM_LINUXSTA
1637 ifeq ($(PCOEM_LINUXSTA
),1)
1638 WLFLAGS
+= -DPCOEM_LINUXSTA
1643 ifeq ($(LINUXSTA_PS
),1)
1644 WLFLAGS
+= -DLINUXSTA_PS
1648 #ifndef LINUX_HYBRID
1649 ifeq ($(KEEP_ALIVE
),1)
1650 WLFLAGS
+= -DKEEP_ALIVE
1651 WLFILES_SRC
+= src
/wl
/sys
/wl_keep_alive.c
1654 #ifdef OPENSRC_IOV_IOCTL
1655 ifeq ($(OPENSRC_IOV_IOCTL
),1)
1656 WLFLAGS
+= -DOPENSRC_IOV_IOCTL
1660 ifeq ($(PACKET_FILTER
),1)
1661 WLFLAGS
+= -DPACKET_FILTER
1662 WLFILES_SRC
+= src
/wl
/sys
/wlc_pkt_filter.c
1665 ifeq ($(SEQ_CMDS
),1)
1666 WLFLAGS
+= -DSEQ_CMDS
1667 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_seq_cmds.c
1670 ifeq ($(RECEIVE_THROTTLE
),1)
1671 WLFLAGS
+= -DWL_PM2_RCV_DUR_LIMIT
1674 ifeq ($(ASYNC_TSTAMPED_LOGS
),1)
1675 WLFLAGS
+= -DBCMTSTAMPEDLOGS
1680 WLFILES_SRC
+= src
/wl
/sys
/wlc_rrm.c
1684 WLFILES_SRC
+= src
/wl
/sys
/wlc_wnm.c
1688 # Sort and remove duplicates from WLFILES*
1690 WLFILES_SRC
+= $(sort $(WLFILES_SRC_LO
))
1693 WLFILES_SRC
+= $(sort $(WLFILES_SRC_HI
))
1697 ifneq ($(WLPATCHFILE
), )
1698 WLFLAGS
+= -DWLC_PATCH
1699 WLC_PATCH_IOCTL ?
= 1
1700 ifeq ($(WLC_PATCH_IOCTL
),1)
1701 WLFLAGS
+= -DWLC_PATCH_IOCTL
1703 WLFILES_SRC
+= $(WLPATCHFILE
)
1706 ifeq ($(SAMPLE_COLLECT
),1)
1707 WLFLAGS
+= -DSAMPLE_COLLECT
1710 ifeq ($(SMF_STATS
),1)
1711 WLFLAGS
+= -DSMF_STATS
1722 WLFLAGS
+= -DUSBSHIM
1728 WLFLAGS
+= -DBCM_DCS
1732 ifeq ($(WLMCHAN
), 1)
1733 ifeq ($(WL_SPLIT
), 1)
1739 ifeq ($(WL_THREAD
),1)
1740 WLFLAGS
+= -DWL_THREAD
1743 ifneq ($(WL_THREADNICE
),)
1744 WLFLAGS
+= -DWL_THREADNICE
=$(WL_THREADNICE
)
1747 ifeq ($(USBOS_THREAD
),1)
1748 WLFLAGS
+= -DUSBOS_THREAD
1750 ifeq ($(WL_NVRAM_FILE
),1)
1751 WLFLAGS
+= -DWL_NVRAM_FILE
1754 ifeq ($(WL_FW_DECOMP
),1)
1755 WLFLAGS
+= -DWL_FW_DECOMP
1756 WLFILES_SRC_HI
+= src
/shared
/zlib
/adler32.c
1757 WLFILES_SRC_HI
+= src
/shared
/zlib
/inffast.c
1758 WLFILES_SRC_HI
+= src
/shared
/zlib
/inflate.c
1759 WLFILES_SRC_HI
+= src
/shared
/zlib
/infcodes.c
1760 WLFILES_SRC_HI
+= src
/shared
/zlib
/infblock.c
1761 WLFILES_SRC_HI
+= src
/shared
/zlib
/inftrees.c
1762 WLFILES_SRC_HI
+= src
/shared
/zlib
/infutil.c
1763 WLFILES_SRC_HI
+= src
/shared
/zlib
/zutil.c
1764 WLFILES_SRC_HI
+= src
/shared
/zlib
/crc32.c
1767 ifeq ($(WL_WOWL_MEDIA
),1)
1768 WLFLAGS
+= -DWL_WOWL_MEDIA
1771 ifeq ($(WL_USB_ZLP_PAD
),1)
1772 WLFLAGS
+= -DWL_USB_ZLP_PAD
1775 ifeq ($(WL_URB_ZPKT
),1)
1776 WLFLAGS
+= -DWL_URB_ZPKT
1780 ifeq ($(SAVERESTORE
),1)
1781 WLFLAGS
+= -DSAVERESTORE
1782 WLFILES_SRC_LO
+= src
/shared
/sr_array.c
1783 WLFILES_SRC_LO
+= src
/shared
/saverestore.c
1787 #ifdef BCM_REQUEST_FW
1788 ifeq ($(BCM_REQUEST_FW
), 1)
1789 WLFLAGS
+= -DBCM_REQUEST_FW
1793 # HW CSO support (D11 rev40 feature)
1798 # add a flag to indicate the split to linux kernels
1799 WLFLAGS
+= -DPHY_HAL
1802 ifeq ($(WET_TUNNEL
),1)
1803 WLFLAGS
+= -DWET_TUNNEL
1804 WLFILES_SRC_HI
+= src
/wl
/sys
/wlc_wet_tunnel.c
1808 #ifdef WL_BCN_COALESCING
1809 ifeq ($(WL_BCN_COALESCING
),1)
1810 WLFLAGS
+= -DWL_BCN_COALESCING
1811 WLFILES_SRC
+= src
/wl
/sys
/wlc_bcn_clsg.c
1817 # Legacy WLFILES pathless definition, please use new src relative path
1819 WLFILES
:= $(sort $(notdir $(WLFILES_SRC
)))