bgscan_simple: Time out short scan interval
authorPaul Stewart <pstew@google.com>
Thu, 31 Mar 2011 15:04:48 +0000 (18:04 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 31 Mar 2011 15:04:48 +0000 (18:04 +0300)
commit6d21d4112509da37982809817e8f83ffedb55d3b
tree63094dd07e1aeec6c3f0cd08e33a7b4964eb98a6
parentdb03ddacffb7fadc5949b2fc37cdbd1aac5b3f6d
bgscan_simple: Time out short scan interval

We gain diminishing returns by the short scan interval. The short
scan interval is used to hunt for a better AP if the RSSI of the
current AP drops. However, if we never roam, and the AP continues
to have low RSSI, at some point we should give up and return to
the slow background scan rate, otherwise we waste a lot of power.

Signed-off-by: Paul Stewart <pstew@google.com>
wpa_supplicant/bgscan_simple.c