UPSTREAM: mwifiex: block scan request during heavy Tx traffic
authorBing Zhao <bzhao@marvell.com>
Fri, 21 Sep 2012 19:35:58 +0000 (12:35 -0700)
committerGerrit <chrome-bot@google.com>
Mon, 24 Sep 2012 23:28:58 +0000 (16:28 -0700)
commitd26c98aa4defd5c1820260cffe4f05de4e321501
treece8873f3ade2fb9340bb0a8538a550139067b21e
parent951e1c85e05750e9fd4d40264f7cc43716d8f607
UPSTREAM: mwifiex: block scan request during heavy Tx traffic

Currently scan operation is delayed/aborted based on Tx traffic
consistency. This decision is taken after receiving scan
response of first scan command from FW. But when heavy traffic
is running, we can not even afford to send first scan command
and go off channel for 30msec. We will block scan request in
this case.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
BUG=chrome-os-partner:13861
TEST=Build and run autotest suites

Change-Id: I2ee6eb31dcc22099088bc58ba98f99943ff4e4c4
Reviewed-on: https://gerrit.chromium.org/gerrit/33851
Reviewed-by: Gary Morain <gmorain@chromium.org>
Commit-Ready: Bing Zhao <bzhao@marvell.com>
Tested-by: Bing Zhao <bzhao@marvell.com>
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/mwifiex/main.h