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 := \ |
Johannes Berg | 2c8dccc | 2008-04-08 15:14:40 -0400 | [diff] [blame] | 13 | main.o \ |
| 14 | wext.o \ |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 15 | sta_info.o \ |
| 16 | wep.o \ |
| 17 | wpa.o \ |
Johannes Berg | 2c8dccc | 2008-04-08 15:14:40 -0400 | [diff] [blame] | 18 | mlme.o \ |
| 19 | iface.o \ |
| 20 | rate.o \ |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 21 | michael.o \ |
Jiri Benc | f0706e8 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 22 | tkip.o \ |
| 23 | aes_ccm.o \ |
Johannes Berg | fa5fea7 | 2007-09-18 17:29:20 -0400 | [diff] [blame] | 24 | cfg.o \ |
Johannes Berg | 571ecf6 | 2007-07-27 15:43:22 +0200 | [diff] [blame] | 25 | rx.o \ |
Johannes Berg | e2ebc74 | 2007-07-27 15:43:22 +0200 | [diff] [blame] | 26 | tx.o \ |
Johannes Berg | 1f5a7e4 | 2007-07-27 15:43:23 +0200 | [diff] [blame] | 27 | key.o \ |
Johannes Berg | c2d1560 | 2007-07-27 15:43:23 +0200 | [diff] [blame] | 28 | util.o \ |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 29 | event.o |
| 30 | |
Johannes Berg | 2c8dccc | 2008-04-08 15:14:40 -0400 | [diff] [blame] | 31 | mac80211-$(CONFIG_MAC80211_LEDS) += led.o |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 32 | mac80211-$(CONFIG_NET_SCHED) += wme.o |
| 33 | mac80211-$(CONFIG_MAC80211_DEBUGFS) += \ |
| 34 | debugfs.o \ |
| 35 | debugfs_sta.o \ |
| 36 | debugfs_netdev.o \ |
| 37 | debugfs_key.o |
| 38 | |
Johannes Berg | 2f5ce79 | 2008-02-23 15:17:21 +0100 | [diff] [blame] | 39 | mac80211-$(CONFIG_MAC80211_MESH) += \ |
| 40 | mesh.o \ |
| 41 | mesh_pathtbl.o \ |
| 42 | mesh_plink.o \ |
| 43 | mesh_hwmp.o |
| 44 | |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 45 | |
| 46 | # Build rate control algorithm(s) |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 47 | CFLAGS_rc80211_pid_algo.o += -DRC80211_PID_COMPILE |
Johannes Berg | 4b47589 | 2008-01-02 15:17:03 +0100 | [diff] [blame] | 48 | mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc-pid-$(CONFIG_MAC80211_RC_PID)) |
| 49 | |
| 50 | # Modular rate algorithms are assigned to mac80211-m - make separate modules |
| 51 | obj-m += $(mac80211-m) |