]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: block scan request during heavy Tx traffic
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 21 Sep 2012 03:23:18 +0000 (20:23 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Sep 2012 19:02:07 +0000 (15:02 -0400)
commit6a320bf3a280c40fef3f51a18d9da1750f935498
tree53e96fe26ffb80ee36c3af42ff2f5fe93134b7c3
parente51a99b9ee0bb6b8a496b3be6917f7f70fdd1831
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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/mwifiex/main.h