UPSTREAM?: mwifiex: shorten per channel scan time
authorBing Zhao <bzhao@marvell.com>
Thu, 7 Jun 2012 04:12:40 +0000 (21:12 -0700)
committerOlof Johansson <olofj@chromium.org>
Wed, 20 Jun 2012 19:08:03 +0000 (12:08 -0700)
commit1d81b8d44321e7edf9e25f2b6150c825faaed931
treee081de83ea3dd01359ed94fd8f7c22081ecc603b
parent87de73ccb56cc19691299f059ca1afda6e5ffddc
UPSTREAM?: mwifiex: shorten per channel scan time

Currently the scan time per channel for active scanning is set to
200ms. It takes quite a while to finsh scanning on all channels,
especially with a dual band configuration.

Change the per channel scan time settings to the following values:

passive scan: 110ms
active scan: 30ms
specific scan: 30ms

Above settings have been tested on x86 and arm platforms.

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
BUG=chrome-os-partner:8707
TEST=ping+scan test

Change-Id: Ib85bf163378268b9453cb329ccae603bfb70eeaa
Reviewed-on: https://gerrit-int.chromium.org/19350
Commit-Ready: Sam Leffler <sleffler@google.com>
Reviewed-by: Sam Leffler <sleffler@google.com>
Tested-by: Sam Leffler <sleffler@google.com>
drivers/net/wireless/mwifiex/main.h