]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: skip delay main work logic for USB interface.
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 25 Nov 2014 14:43:04 +0000 (06:43 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Nov 2014 19:09:56 +0000 (14:09 -0500)
commit9d80a562dc2d3bf8ece2de7fe61183eb5788451a
treeea54a1b46200f445ba3026652f5da6dfbfabbb4c
parente5c8acd0da8bf364fe76b522014d7c502b2096be
mwifiex: skip delay main work logic for USB interface.

We had introduced delay main work logic to avoid processing
interrupts when Rx pending packet count reaches high threshold.
interrupt processing is restarted later when packet count
reduces lower threashold. This helped to reduce unnecessary
overhead and improve throughput for SD and PCIe chipsets.

As there are no interrupts for USB, we will skip this logic for
USB chipsets.

Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/main.c