Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[linux-2.6.git] / net / mac80211 / Makefile
1 obj-$(CONFIG_MAC80211) += mac80211.o
2
3 # mac80211 objects
4 mac80211-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
29 mac80211-$(CONFIG_MAC80211_LEDS) += led.o
30 mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
31         debugfs.o \
32         debugfs_sta.o \
33         debugfs_netdev.o \
34         debugfs_key.o
35
36 mac80211-$(CONFIG_MAC80211_MESH) += \
37         mesh.o \
38         mesh_pathtbl.o \
39         mesh_plink.o \
40         mesh_hwmp.o
41
42 mac80211-$(CONFIG_PM) += pm.o
43
44 mac80211-$(CONFIG_MAC80211_DRIVER_API_TRACER) += driver-trace.o
45 CFLAGS_driver-trace.o := -I$(src)
46
47 # objects for PID algorithm
48 rc80211_pid-y := rc80211_pid_algo.o
49 rc80211_pid-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o
50
51 rc80211_minstrel-y := rc80211_minstrel.o
52 rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_debugfs.o
53
54 rc80211_minstrel_ht-y := rc80211_minstrel_ht.o
55 rc80211_minstrel_ht-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_ht_debugfs.o
56
57 mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc80211_pid-y)
58 mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
59 mac80211-$(CONFIG_MAC80211_RC_MINSTREL_HT) += $(rc80211_minstrel_ht-y)
60
61 ccflags-y += -D__CHECK_ENDIAN__