blob: 829ce4256b76135a48621b6021f4c620aab55a48 [file] [log] [blame]
Johannes Bergac71c692007-10-28 14:17:44 +01001obj-$(CONFIG_MAC80211) += mac80211.o
Jiri Bencf0706e822007-05-05 11:45:53 -07002
Johannes Berg4b475892008-01-02 15:17:03 +01003# objects for PID algorithm
4rc80211_pid-y := rc80211_pid_algo.o
5rc80211_pid-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o
Mattias Nissler12446c62007-12-19 01:27:18 +01006
Johannes Berg4b475892008-01-02 15:17:03 +01007# build helper for PID algorithm
8rc-pid-y := $(rc80211_pid-y)
9rc-pid-m := rc80211_pid.o
Jiri Bencf0706e822007-05-05 11:45:53 -070010
Johannes Berg4b475892008-01-02 15:17:03 +010011# mac80211 objects
12mac80211-y := \
Jiri Bencf0706e822007-05-05 11:45:53 -070013 ieee80211.o \
14 ieee80211_ioctl.o \
15 sta_info.o \
16 wep.o \
17 wpa.o \
18 ieee80211_sta.o \
19 ieee80211_iface.o \
20 ieee80211_rate.o \
21 michael.o \
Jiri Bencf0706e822007-05-05 11:45:53 -070022 tkip.o \
23 aes_ccm.o \
Johannes Bergfa5fea72007-09-18 17:29:20 -040024 cfg.o \
Johannes Berg571ecf62007-07-27 15:43:22 +020025 rx.o \
Johannes Berge2ebc742007-07-27 15:43:22 +020026 tx.o \
Johannes Berg1f5a7e42007-07-27 15:43:23 +020027 key.o \
Johannes Bergc2d15602007-07-27 15:43:23 +020028 util.o \
Johannes Berg4b475892008-01-02 15:17:03 +010029 event.o
30
31mac80211-$(CONFIG_MAC80211_LEDS) += ieee80211_led.o
32mac80211-$(CONFIG_NET_SCHED) += wme.o
33mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
34 debugfs.o \
35 debugfs_sta.o \
36 debugfs_netdev.o \
37 debugfs_key.o
38
Johannes Berg2f5ce792008-02-23 15:17:21 +010039mac80211-$(CONFIG_MAC80211_MESH) += \
40 mesh.o \
41 mesh_pathtbl.o \
42 mesh_plink.o \
43 mesh_hwmp.o
44
Johannes Berg4b475892008-01-02 15:17:03 +010045
46# Build rate control algorithm(s)
47CFLAGS_rc80211_simple.o += -DRC80211_SIMPLE_COMPILE
48CFLAGS_rc80211_pid_algo.o += -DRC80211_PID_COMPILE
49mac80211-$(CONFIG_MAC80211_RC_SIMPLE) += rc80211_simple.o
50mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc-pid-$(CONFIG_MAC80211_RC_PID))
51
52# Modular rate algorithms are assigned to mac80211-m - make separate modules
53obj-m += $(mac80211-m)