2007-10-28 07:17:44 -06:00
|
|
|
obj-$(CONFIG_MAC80211) += mac80211.o
|
2007-05-05 12:45:53 -06:00
|
|
|
|
2008-01-02 07:17:03 -07:00
|
|
|
# mac80211 objects
|
|
|
|
mac80211-y := \
|
2009-11-18 10:42:47 -07:00
|
|
|
main.o status.o \
|
2007-05-05 12:45:53 -06:00
|
|
|
sta_info.o \
|
|
|
|
wep.o \
|
|
|
|
wpa.o \
|
2009-12-23 05:15:40 -07:00
|
|
|
scan.o offchannel.o \
|
2009-02-10 13:25:46 -07:00
|
|
|
ht.o agg-tx.o agg-rx.o \
|
2012-10-10 05:33:04 -06:00
|
|
|
vht.o \
|
2009-02-15 04:44:28 -07:00
|
|
|
ibss.o \
|
2008-04-08 13:14:40 -06:00
|
|
|
iface.o \
|
|
|
|
rate.o \
|
2007-05-05 12:45:53 -06:00
|
|
|
michael.o \
|
|
|
|
tkip.o \
|
|
|
|
aes_ccm.o \
|
2015-01-24 10:52:06 -07:00
|
|
|
aes_gcm.o \
|
2009-01-08 04:32:01 -07:00
|
|
|
aes_cmac.o \
|
2015-01-24 10:52:09 -07:00
|
|
|
aes_gmac.o \
|
2007-09-18 15:29:20 -06:00
|
|
|
cfg.o \
|
2014-06-04 09:31:56 -06:00
|
|
|
ethtool.o \
|
2007-07-27 07:43:22 -06:00
|
|
|
rx.o \
|
2008-09-09 06:49:03 -06:00
|
|
|
spectmgmt.o \
|
2007-07-27 07:43:22 -06:00
|
|
|
tx.o \
|
2007-07-27 07:43:23 -06:00
|
|
|
key.o \
|
2007-07-27 07:43:23 -06:00
|
|
|
util.o \
|
2008-07-15 04:34:57 -06:00
|
|
|
wme.o \
|
cfg80211/mac80211: better channel handling
Currently (all tested with hwsim) you can do stupid
things like setting up an AP on a certain channel,
then adding another virtual interface and making
that associate on another channel -- this will make
the beaconing to move channel but obviously without
the necessary IEs data update.
In order to improve this situation, first make the
configuration APIs (cfg80211 and nl80211) aware of
multi-channel operation -- we'll eventually need
that in the future anyway. There's one userland API
change and one API addition. The API change is that
now SET_WIPHY must be called with virtual interface
index rather than only wiphy index in order to take
effect for that interface -- luckily all current
users (hostapd) do that. For monitor interfaces, the
old setting is preserved, but monitors are always
slaved to other devices anyway so no guarantees.
The second userland API change is the introduction
of a per virtual interface SET_CHANNEL command, that
hostapd should use going forward to make it easier
to understand what's going on (it can automatically
detect a kernel with this command).
Other than mac80211, no existing cfg80211 drivers
are affected by this change because they only allow
a single virtual interface.
mac80211, however, now needs to be aware that the
channel settings are per interface now, and needs
to disallow (for now) real multi-channel operation,
which is another important part of this patch.
One of the immediate benefits is that you can now
start hostapd to operate on a hardware that already
has a connection on another virtual interface, as
long as you specify the same channel.
Note that two things are left unhandled (this is an
improvement -- not a complete fix):
* different HT/no-HT modes
currently you could start an HT AP and then
connect to a non-HT network on the same channel
which would configure the hardware for no HT;
that can be fixed fairly easily
* CSA
An AP we're connected to on a virtual interface
might indicate switching channels, and in that
case we would follow it, regardless of how many
other interfaces are operating; this requires
more effort to fix but is pretty rare after all
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-05-05 07:25:02 -06:00
|
|
|
event.o \
|
2011-11-25 05:31:53 -07:00
|
|
|
chan.o \
|
2014-05-01 01:17:28 -06:00
|
|
|
trace.o mlme.o \
|
2014-11-03 02:33:19 -07:00
|
|
|
tdls.o \
|
|
|
|
ocb.o
|
2008-01-02 07:17:03 -07:00
|
|
|
|
2008-04-08 13:14:40 -06:00
|
|
|
mac80211-$(CONFIG_MAC80211_LEDS) += led.o
|
2008-01-02 07:17:03 -07:00
|
|
|
mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
|
|
|
|
debugfs.o \
|
|
|
|
debugfs_sta.o \
|
|
|
|
debugfs_netdev.o \
|
|
|
|
debugfs_key.o
|
|
|
|
|
2008-02-23 07:17:21 -07:00
|
|
|
mac80211-$(CONFIG_MAC80211_MESH) += \
|
|
|
|
mesh.o \
|
|
|
|
mesh_pathtbl.o \
|
|
|
|
mesh_plink.o \
|
2012-03-31 12:31:32 -06:00
|
|
|
mesh_hwmp.o \
|
2013-01-30 10:14:08 -07:00
|
|
|
mesh_sync.o \
|
|
|
|
mesh_ps.o
|
2008-02-23 07:17:21 -07:00
|
|
|
|
2009-01-19 09:20:53 -07:00
|
|
|
mac80211-$(CONFIG_PM) += pm.o
|
|
|
|
|
2012-06-22 04:55:52 -06:00
|
|
|
CFLAGS_trace.o := -I$(src)
|
2009-07-07 05:46:22 -06:00
|
|
|
|
2008-10-05 10:07:45 -06:00
|
|
|
rc80211_minstrel-y := rc80211_minstrel.o
|
|
|
|
rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_debugfs.o
|
|
|
|
|
2010-05-13 08:48:03 -06:00
|
|
|
rc80211_minstrel_ht-y := rc80211_minstrel_ht.o
|
|
|
|
rc80211_minstrel_ht-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_ht_debugfs.o
|
|
|
|
|
2008-10-05 10:07:45 -06:00
|
|
|
mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
|
2010-05-13 08:48:03 -06:00
|
|
|
mac80211-$(CONFIG_MAC80211_RC_MINSTREL_HT) += $(rc80211_minstrel_ht-y)
|
2008-12-09 04:39:52 -07:00
|
|
|
|
2012-06-22 03:29:50 -06:00
|
|
|
ccflags-y += -D__CHECK_ENDIAN__ -DDEBUG
|