blob: 54f46bc80cfed4574f22d4dfa4e6cefbfaadf1b4 [file] [log] [blame]
Johannes Bergac71c692007-10-28 14:17:44 +01001obj-$(CONFIG_MAC80211) += mac80211.o
Jiri Bencf0706e82007-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 Bencf0706e82007-05-05 11:45:53 -070010
Johannes Berg4b475892008-01-02 15:17:03 +010011# mac80211 objects
12mac80211-y := \
Jiri Bencf0706e82007-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 \
Daniel Drakefd8bacc2007-06-09 19:07:14 +010022 regdomain.o \
Jiri Bencf0706e82007-05-05 11:45:53 -070023 tkip.o \
24 aes_ccm.o \
Johannes Bergfa5fea72007-09-18 17:29:20 -040025 cfg.o \
Johannes Berg571ecf62007-07-27 15:43:22 +020026 rx.o \
Johannes Berge2ebc742007-07-27 15:43:22 +020027 tx.o \
Johannes Berg1f5a7e472007-07-27 15:43:23 +020028 key.o \
Johannes Bergc2d15602007-07-27 15:43:23 +020029 util.o \
Johannes Berg4b475892008-01-02 15:17:03 +010030 event.o
31
32mac80211-$(CONFIG_MAC80211_LEDS) += ieee80211_led.o
33mac80211-$(CONFIG_NET_SCHED) += wme.o
34mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
35 debugfs.o \
36 debugfs_sta.o \
37 debugfs_netdev.o \
38 debugfs_key.o
39
40
41# Build rate control algorithm(s)
42CFLAGS_rc80211_simple.o += -DRC80211_SIMPLE_COMPILE
43CFLAGS_rc80211_pid_algo.o += -DRC80211_PID_COMPILE
44mac80211-$(CONFIG_MAC80211_RC_SIMPLE) += rc80211_simple.o
45mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc-pid-$(CONFIG_MAC80211_RC_PID))
46
47# Modular rate algorithms are assigned to mac80211-m - make separate modules
48obj-m += $(mac80211-m)