mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
29cbe68c51
Instead of tying mesh activity to interface up, add join and leave commands for mesh. Since we must be backward compatible, let cfg80211 handle joining a mesh if a mesh ID was pre-configured when the device goes up. Note that this therefore must modify mac80211 as well since mac80211 needs to lose the logic to start the mesh on interface up. We now allow querying mesh parameters before the mesh is connected, which simply returns defaults. Setting them (internally renamed to "update") is only allowed while connected. Specify them with the new mesh join command instead where needed. In mac80211, beaconing must now also follow the mesh enabled/not enabled state, which is done by testing the mesh ID. Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
24 lines
858 B
Makefile
24 lines
858 B
Makefile
obj-$(CONFIG_CFG80211) += cfg80211.o
|
|
obj-$(CONFIG_LIB80211) += lib80211.o
|
|
obj-$(CONFIG_LIB80211_CRYPT_WEP) += lib80211_crypt_wep.o
|
|
obj-$(CONFIG_LIB80211_CRYPT_CCMP) += lib80211_crypt_ccmp.o
|
|
obj-$(CONFIG_LIB80211_CRYPT_TKIP) += lib80211_crypt_tkip.o
|
|
|
|
obj-$(CONFIG_WEXT_CORE) += wext-core.o
|
|
obj-$(CONFIG_WEXT_PROC) += wext-proc.o
|
|
obj-$(CONFIG_WEXT_SPY) += wext-spy.o
|
|
obj-$(CONFIG_WEXT_PRIV) += wext-priv.o
|
|
|
|
cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o scan.o nl80211.o
|
|
cfg80211-y += mlme.o ibss.o sme.o chan.o ethtool.o mesh.o
|
|
cfg80211-$(CONFIG_CFG80211_DEBUGFS) += debugfs.o
|
|
cfg80211-$(CONFIG_CFG80211_WEXT) += wext-compat.o wext-sme.o
|
|
cfg80211-$(CONFIG_CFG80211_INTERNAL_REGDB) += regdb.o
|
|
|
|
ccflags-y += -D__CHECK_ENDIAN__
|
|
|
|
$(obj)/regdb.c: $(src)/db.txt $(src)/genregdb.awk
|
|
@$(AWK) -f $(srctree)/$(src)/genregdb.awk < $< > $@
|
|
|
|
clean-files := regdb.c
|