1obj-$(CONFIG_MAC80211) += mac80211.o
2
3# mac80211 objects
4mac80211-y := \
5	main.o status.o \
6	sta_info.o \
7	wep.o \
8	wpa.o \
9	scan.o offchannel.o \
10	ht.o agg-tx.o agg-rx.o \
11	ibss.o \
12	mlme.o work.o \
13	iface.o \
14	rate.o \
15	michael.o \
16	tkip.o \
17	aes_ccm.o \
18	aes_cmac.o \
19	cfg.o \
20	rx.o \
21	spectmgmt.o \
22	tx.o \
23	key.o \
24	util.o \
25	wme.o \
26	event.o \
27	chan.o \
28	driver-trace.o
29
30mac80211-$(CONFIG_MAC80211_LEDS) += led.o
31mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
32	debugfs.o \
33	debugfs_sta.o \
34	debugfs_netdev.o \
35	debugfs_key.o
36
37mac80211-$(CONFIG_MAC80211_MESH) += \
38	mesh.o \
39	mesh_pathtbl.o \
40	mesh_plink.o \
41	mesh_hwmp.o
42
43mac80211-$(CONFIG_PM) += pm.o
44
45CFLAGS_driver-trace.o := -I$(src)
46
47# objects for PID algorithm
48rc80211_pid-y := rc80211_pid_algo.o
49rc80211_pid-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o
50
51rc80211_minstrel-y := rc80211_minstrel.o
52rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_debugfs.o
53
54rc80211_minstrel_ht-y := rc80211_minstrel_ht.o
55rc80211_minstrel_ht-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_ht_debugfs.o
56
57mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc80211_pid-y)
58mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
59mac80211-$(CONFIG_MAC80211_RC_MINSTREL_HT) += $(rc80211_minstrel_ht-y)
60
61ccflags-y += -D__CHECK_ENDIAN__
62