linux/net/mac80211
Johannes Berg 99c84cb069 mac80211: improve scan timing
The call to ieee80211_hw_config() is supposed to apply changes
synchronously, so once it returns the parameters are applied to
the hardware. Thus, there really is no need to delay the probing
by the channel switch time again since the channel switch has
already happened once we get to this code.

Additionally, there is no need to wait for a NAV update (probe
delay) when the channel is passively scanned. Remove that extra
time too.

This cuts scanning time from over 7 seconds to under 4 on ar9170,
which is due to the number of channels scanned and ar9170's switch
time being advertised as 135ms (my test now indicates it is about
77ms with the current driver, but the difference might also be due
to using a different machine with different USB controllers).

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-05-11 15:23:56 -04:00
..
aes_ccm.c
aes_ccm.h
aes_cmac.c
aes_cmac.h
agg-rx.c mac80211: Add a timeout for frames in the RX reorder buffer 2009-05-06 15:15:04 -04:00
agg-tx.c
cfg.c nl80211 : Add support for configuring MFP 2009-05-11 15:23:54 -04:00
cfg.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c
debugfs_netdev.h
debugfs_sta.c
debugfs_sta.h
debugfs.c
debugfs.h
driver-ops.h
event.c
ht.c
ibss.c
ieee80211_i.h
iface.c mac80211: fix scan channel race 2009-05-11 15:23:54 -04:00
Kconfig
key.c
key.h
led.c
led.h
main.c mac80211: fix scan channel race 2009-05-11 15:23:54 -04:00
Makefile
mesh_hwmp.c
mesh_pathtbl.c
mesh_plink.c
mesh.c
mesh.h
michael.c
michael.h
mlme.c mac80211: set default QoS values according to spec 2009-05-11 15:23:54 -04:00
pm.c
rate.c
rate.h
rc80211_minstrel_debugfs.c
rc80211_minstrel.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2009-05-08 12:46:17 -07:00
rc80211_minstrel.h
rc80211_pid_algo.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2009-05-08 12:46:17 -07:00
rc80211_pid_debugfs.c
rc80211_pid.h
rx.c mac80211: MFP - Drop unprotected Action frames prior key setup 2009-05-11 15:23:55 -04:00
scan.c mac80211: improve scan timing 2009-05-11 15:23:56 -04:00
spectmgmt.c
sta_info.c
sta_info.h mac80211: Add a timeout for frames in the RX reorder buffer 2009-05-06 15:15:04 -04:00
tkip.c
tkip.h
tx.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2009-05-08 12:46:17 -07:00
util.c mac80211: set default QoS values according to spec 2009-05-11 15:23:54 -04:00
wep.c
wep.h
wext.c mac80211: report operating frequency rather than current 2009-05-06 15:15:02 -04:00
wme.c
wme.h
wpa.c
wpa.h