1# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_MAC80211) += mac80211.o
3
4# mac80211 objects
5mac80211-y := \
6	main.o status.o \
7	driver-ops.o \
8	sta_info.o \
9	wep.o \
10	aead_api.o \
11	wpa.o \
12	scan.o offchannel.o \
13	ht.o agg-tx.o agg-rx.o \
14	vht.o \
15	he.o \
16	ibss.o \
17	iface.o \
18	rate.o \
19	michael.o \
20	tkip.o \
21	aes_cmac.o \
22	aes_gmac.o \
23	fils_aead.o \
24	cfg.o \
25	ethtool.o \
26	rx.o \
27	spectmgmt.o \
28	tx.o \
29	key.o \
30	util.o \
31	wme.o \
32	chan.o \
33	trace.o mlme.o \
34	tdls.o \
35	ocb.o
36
37mac80211-$(CONFIG_MAC80211_LEDS) += led.o
38mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
39	debugfs.o \
40	debugfs_sta.o \
41	debugfs_netdev.o \
42	debugfs_key.o
43
44mac80211-$(CONFIG_MAC80211_MESH) += \
45	mesh.o \
46	mesh_pathtbl.o \
47	mesh_plink.o \
48	mesh_hwmp.o \
49	mesh_sync.o \
50	mesh_ps.o
51
52mac80211-$(CONFIG_PM) += pm.o
53
54CFLAGS_trace.o := -I$(src)
55
56rc80211_minstrel-y := rc80211_minstrel.o
57rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_debugfs.o
58
59rc80211_minstrel_ht-y := rc80211_minstrel_ht.o
60rc80211_minstrel_ht-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_ht_debugfs.o
61
62mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
63mac80211-$(CONFIG_MAC80211_RC_MINSTREL_HT) += $(rc80211_minstrel_ht-y)
64
65ccflags-y += -DDEBUG
66