summaryrefslogtreecommitdiff
path: root/crypto/algif_hash.c
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2012-06-07 04:12:41 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2012-06-11 18:59:43 (GMT)
commit3249ba7376caa93af387d8e6b5e41b290934f88c (patch)
tree7c4c762095bbb0e77261b9b1399d688aea04eeb4 /crypto/algif_hash.c
parent38e8b7d977786b0059c02744e4b96bc1e206d891 (diff)
downloadlinux-fsl-qoriq-3249ba7376caa93af387d8e6b5e41b290934f88c.tar.xz
mwifiex: fix simultaneous scan and Tx traffic problem
If scan operation is started when Tx traffic is already running, driver locks Tx queue until it gets completed. With this logic there is a delay for Tx packets. This patch implements new approach to give Tx path higher priority in this case. Driver internally sends multiple synchronous scan commands to firmware when scan is requested by user. Now we will make sure that Tx queue is empty everytime before sending next scan command. If Tx queue isn't empty scan command will be postponsed by 20msec. This rule will be followed until Tx queue becomes empty or timeout of 1 second happens. In case of timeout scan operation will be aborted. 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>
Diffstat (limited to 'crypto/algif_hash.c')
0 files changed, 0 insertions, 0 deletions