]> 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)
commit6b9c8bc5a8b95af81754ef11b598cd810ef5adc6
tree53e96fe26ffb80ee36c3af42ff2f5fe93134b7c3
parent0ba6c07e25b66364ce844c9b44f4d4d8f7dcd9a8
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