mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-20 14:16:02 +00:00
![Johannes Berg](/assets/img/avatar_default.png)
This patch creates new cfg80211 wiphy API for channel and bitrate registration and converts mac80211 and drivers to the new API. The old mac80211 API is completely ripped out. All drivers (except ath5k) are updated to the new API, in many cases I expect that optimisations can be done. Along with the regulatory code I've also ripped out the IEEE80211_HW_DEFAULT_REG_DOMAIN_CONFIGURED flag, I believe it to be unnecessary if the hardware simply gives us whatever channels it wants to support and we then enable/disable them as required, which is pretty much required for travelling. Additionally, the patch adds proper "basic" rate handling for STA mode interface, AP mode interface will have to have new API added to allow userspace to set the basic rate set, currently it'll be empty... However, the basic rate handling will need to be moved to the BSS conf stuff. I do expect there to be bugs in this, especially wrt. transmit power handling where I'm basically clueless about how it should work. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
obj-$(CONFIG_MAC80211) += mac80211.o
|
|
|
|
# objects for PID algorithm
|
|
rc80211_pid-y := rc80211_pid_algo.o
|
|
rc80211_pid-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o
|
|
|
|
# build helper for PID algorithm
|
|
rc-pid-y := $(rc80211_pid-y)
|
|
rc-pid-m := rc80211_pid.o
|
|
|
|
# mac80211 objects
|
|
mac80211-y := \
|
|
ieee80211.o \
|
|
ieee80211_ioctl.o \
|
|
sta_info.o \
|
|
wep.o \
|
|
wpa.o \
|
|
ieee80211_sta.o \
|
|
ieee80211_iface.o \
|
|
ieee80211_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) += ieee80211_led.o
|
|
mac80211-$(CONFIG_NET_SCHED) += wme.o
|
|
mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
|
|
debugfs.o \
|
|
debugfs_sta.o \
|
|
debugfs_netdev.o \
|
|
debugfs_key.o
|
|
|
|
|
|
# Build rate control algorithm(s)
|
|
CFLAGS_rc80211_simple.o += -DRC80211_SIMPLE_COMPILE
|
|
CFLAGS_rc80211_pid_algo.o += -DRC80211_PID_COMPILE
|
|
mac80211-$(CONFIG_MAC80211_RC_SIMPLE) += rc80211_simple.o
|
|
mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc-pid-$(CONFIG_MAC80211_RC_PID))
|
|
|
|
# Modular rate algorithms are assigned to mac80211-m - make separate modules
|
|
obj-m += $(mac80211-m)
|