e5f5e7339c
The old infrastructure was: - the default algorithm is built into mac80211 - other algorithms get into their own modules The implementation of this complicated scheme was horrible (just look at net/mac80211/Makefile), and anyone adding a new algorithm would most likely not get it right at his first attempt. This patch therefore builds all enabled algorithms into the mac80211 module. The user interface for the rate control algorithms changes as follows: - first the user can choose which algorithms to enable (currently only MAC80211_RC_PID is available) - if more than one algorithm is enabled (currently not possible since only one algorithm is present) the user then chooses the default one Note: - MAC80211_RC_PID is always enables for CONFIG_EMBEDDED=n Technical changes: - all selected algorithms get into the mac80211 module - net/mac80211/Makefile can now become much less complicated - support for rc80211_pid_algo.c being modular is no longer required - this includes unexporting mesh_plink_broken Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
41 lines
716 B
Makefile
41 lines
716 B
Makefile
obj-$(CONFIG_MAC80211) += mac80211.o
|
|
|
|
# mac80211 objects
|
|
mac80211-y := \
|
|
main.o \
|
|
wext.o \
|
|
sta_info.o \
|
|
wep.o \
|
|
wpa.o \
|
|
mlme.o \
|
|
iface.o \
|
|
rate.o \
|
|
michael.o \
|
|
tkip.o \
|
|
aes_ccm.o \
|
|
cfg.o \
|
|
rx.o \
|
|
tx.o \
|
|
key.o \
|
|
util.o \
|
|
event.o
|
|
|
|
mac80211-$(CONFIG_MAC80211_LEDS) += led.o
|
|
mac80211-$(CONFIG_MAC80211_QOS) += wme.o
|
|
mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
|
|
debugfs.o \
|
|
debugfs_sta.o \
|
|
debugfs_netdev.o \
|
|
debugfs_key.o
|
|
|
|
mac80211-$(CONFIG_MAC80211_MESH) += \
|
|
mesh.o \
|
|
mesh_pathtbl.o \
|
|
mesh_plink.o \
|
|
mesh_hwmp.o
|
|
|
|
# objects for PID algorithm
|
|
rc80211_pid-y := rc80211_pid_algo.o
|
|
rc80211_pid-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o
|
|
|
|
mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc80211_pid-y)
|