From: Amitkumar Karwar Date: Thu, 7 Jun 2012 04:12:42 +0000 (-0700) Subject: mwifiex: scan less channels per scan command to improve Tx traffic X-Git-Tag: v3.6-rc1~125^2~559^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=658f37b736ce335edcdf1425228e8652ec6adf24;p=pandora-kernel.git mwifiex: scan less channels per scan command to improve Tx traffic Currently 4 channels are scanned per scan command. if scan request is issued by user during Tx traffic, radio will be out of channel for "4 * per_chan_scan_time" for each scan command and will not be able to receive Rx packets. This adds delay in data traffic. We can minimize it by reducing number of channels scanned per scan command in this scenario. We can not always scan 1 channel per scan command due to limitation of number of command buffers. So we add code to decide number of channels scanned per scan command in associated state. Signed-off-by: Amitkumar Karwar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed