CHROMIUMOS: bgscan_simple: set maximum fast-scans

The maximum number of fast scans is currently computed by
counting the number of fast scans that can occur within
a long scan period.  ChromeOS can sometimes specify a very
lengthy long scan period.  To prevent this from causing us
to do a great number of background scans, provide an absolute
maximum for short scans.

BUG=chrome-os-partner:14041
TEST=Run on real machine starting off in a low-signal state,
observe backoff to long scan interval after 5 scans.

Change-Id: Ib9d408b0fe343fa1014f87cfc5a5c8a266d3515a
Reviewed-on: https://gerrit.chromium.org/gerrit/33236
Commit-Ready: Paul Stewart <pstew@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
1 file changed