]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: split out and decrease probe wait time
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 12 May 2009 18:11:26 +0000 (20:11 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 May 2009 19:44:45 +0000 (15:44 -0400)
commit735bee91440dd0f8276fcf3d23954ec2c60f9bac
tree64fd2f5de67268d8a8fc6605911ff28cc9949c67
parenta5d76294fdc87b7a588e46a82d061801e313ac2a
mac80211: split out and decrease probe wait time

The time we wait for a probe response after probing an AP due to
beacon loss is currently the same as the monitoring interval, 2s.
This is far too long, APs should respond to probes within a
fraction of that time. To be able to adjust both values, add a
new constant IEEE80211_PROBE_WAIT, use it for checking the probe
response, and adjust it down to 200ms instead of 2 seconds.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c