forked from Minki/linux
2eb278e083
Redesign all the off-channel code, getting rid of the generic off-channel work concept, replacing it with a simple remain-on-channel list. This fixes a number of small issues with the ROC implementation: * offloaded remain-on-channel couldn't be queued, now we can queue it as well, if needed * in iwlwifi (the only user) offloaded ROC is mutually exclusive with scanning, use the new queue to handle that case -- I expect that it will later depend on a HW flag The bigger issue though is that there's a bad bug in the current implementation: if we get a mgmt TX request while HW roc is active, and this new request has a wait time, we actually schedule a software ROC instead since we can't guarantee the existing offloaded ROC will still be that long. To fix this, the queuing mechanism was needed. The queuing mechanism for offloaded ROC isn't yet optimal, ideally we should add API to have the HW extend the ROC if needed. We could add that later but for now use a software implementation. Overall, this unifies the behaviour between the offloaded and software-implemented case as much as possible. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
62 lines
1.3 KiB
Makefile
62 lines
1.3 KiB
Makefile
obj-$(CONFIG_MAC80211) += mac80211.o
|
|
|
|
# mac80211 objects
|
|
mac80211-y := \
|
|
main.o status.o \
|
|
sta_info.o \
|
|
wep.o \
|
|
wpa.o \
|
|
scan.o offchannel.o \
|
|
ht.o agg-tx.o agg-rx.o \
|
|
ibss.o \
|
|
iface.o \
|
|
rate.o \
|
|
michael.o \
|
|
tkip.o \
|
|
aes_ccm.o \
|
|
aes_cmac.o \
|
|
cfg.o \
|
|
rx.o \
|
|
spectmgmt.o \
|
|
tx.o \
|
|
key.o \
|
|
util.o \
|
|
wme.o \
|
|
event.o \
|
|
chan.o \
|
|
driver-trace.o mlme.o
|
|
|
|
mac80211-$(CONFIG_MAC80211_LEDS) += led.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 \
|
|
mesh_sync.o
|
|
|
|
mac80211-$(CONFIG_PM) += pm.o
|
|
|
|
CFLAGS_driver-trace.o := -I$(src)
|
|
|
|
# objects for PID algorithm
|
|
rc80211_pid-y := rc80211_pid_algo.o
|
|
rc80211_pid-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o
|
|
|
|
rc80211_minstrel-y := rc80211_minstrel.o
|
|
rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_debugfs.o
|
|
|
|
rc80211_minstrel_ht-y := rc80211_minstrel_ht.o
|
|
rc80211_minstrel_ht-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_ht_debugfs.o
|
|
|
|
mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc80211_pid-y)
|
|
mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
|
|
mac80211-$(CONFIG_MAC80211_RC_MINSTREL_HT) += $(rc80211_minstrel_ht-y)
|
|
|
|
ccflags-y += -D__CHECK_ENDIAN__
|