CHROMIUMOS: mac80211: Use different probe counts on resume
authorPaul Stewart <pstew@chromium.org>
Thu, 10 May 2012 00:40:11 +0000 (00:40 +0000)
committerOlof Johansson <olof@lixom.net>
Fri, 1 Jun 2012 07:03:18 +0000 (00:03 -0700)
commitc861d1b997f6182b2e7af467ef1bf6efa33dd2d1
tree836c351d56b2fb8ad653af51dc71c941afb8b584
parent570f9dd9bddbd28e8d1f84870235837648cc60c7
CHROMIUMOS: mac80211: Use different probe counts on resume

We recently increased the probe retry count for beacon monitoring
in order to make challenging channel conditions less volatile.  In
doing so, we made the system slower to respond to a lost AP when the
system resumes from suspend.  Mitigate this by using a different
try-count for the resume-from-suspend case.

BUG=chromium-os:28576
TEST=Manual: Suspend, unplug AP, resume.  Observe disconnection in < 1sec

Change-Id: I206d4b2838da2ce7da00739412e5fcda63a27a2c
Signed-off-by: Paul Stewart <pstew@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/19234
Reviewed-by: Gary Morain <gmorain@chromium.org>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c