Johannes Berg | ac71c69 | 2007-10-28 14:17:44 +0100 | [diff] [blame] | 1 | obj-$(CONFIG_MAC80211) += mac80211.o |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 2 | |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 3 | # objects for PID algorithm |
| 4 | rc80211_pid-y := rc80211_pid_algo.o |
| 5 | rc80211_pid-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o |
Mattias Nissler | 12446c6 | 2007-12-19 01:27:18 +0100 | [diff] [blame] | 6 | |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 7 | # build helper for PID algorithm |
| 8 | rc-pid-y := $(rc80211_pid-y) |
| 9 | rc-pid-m := rc80211_pid.o |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 10 | |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 11 | # mac80211 objects |
| 12 | mac80211-y := \ |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 13 | 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 Drake | fd8bacc | 2007-06-09 19:07:14 +0100 | [diff] [blame] | 22 | regdomain.o \ |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 23 | tkip.o \ |
| 24 | aes_ccm.o \ |
Johannes Berg | fa5fea7 | 2007-09-18 17:29:20 -0400 | [diff] [blame] | 25 | cfg.o \ |
Johannes Berg | 571ecf6 | 2007-07-27 15:43:22 +0200 | [diff] [blame] | 26 | rx.o \ |
Johannes Berg | e2ebc74 | 2007-07-27 15:43:22 +0200 | [diff] [blame] | 27 | tx.o \ |
Johannes Berg | 1f5a7e47 | 2007-07-27 15:43:23 +0200 | [diff] [blame] | 28 | key.o \ |
Johannes Berg | c2d1560 | 2007-07-27 15:43:23 +0200 | [diff] [blame] | 29 | util.o \ |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 30 | event.o |
| 31 | |
| 32 | mac80211-$(CONFIG_MAC80211_LEDS) += ieee80211_led.o |
| 33 | mac80211-$(CONFIG_NET_SCHED) += wme.o |
| 34 | mac80211-$(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) |
| 42 | CFLAGS_rc80211_simple.o += -DRC80211_SIMPLE_COMPILE |
| 43 | CFLAGS_rc80211_pid_algo.o += -DRC80211_PID_COMPILE |
| 44 | mac80211-$(CONFIG_MAC80211_RC_SIMPLE) += rc80211_simple.o |
| 45 | mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc-pid-$(CONFIG_MAC80211_RC_PID)) |
| 46 | |
| 47 | # Modular rate algorithms are assigned to mac80211-m - make separate modules |
| 48 | obj-m += $(mac80211-m) |