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)
commit381e9fffe6b8343c2479939178ef7ded50bf32d3
treeea54a1b46200f445ba3026652f5da6dfbfabbb4c
parent798ea8eec16d33e0553b6be7175a23e8ddf60eee
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