wil6210: interrupt moderation
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Wed, 8 Jan 2014 09:50:47 +0000 (11:50 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 9 Jan 2014 15:56:38 +0000 (10:56 -0500)
commit83982cbe2bf095d258dcb1687b70622cab18347d
tree8ad3c6fc13705d38e4c2c3516d2d42c345537d43
parent11e69c36eefd625db543a109789358be14d4cd5c
wil6210: interrupt moderation

Use hardware capabilities to limit IRQ generation to about 15 per msec
It corresponds to about 7 packets/IRQ when running iperf with default
parameters at 1.3Gbps

Do not enable this feature in the sniffer (monitor)  mode, because
interrupt moderation cause timestamp accuracy deterioration.
For the sniffer flow, it is important to get precise timestamp.

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/wil6210/interrupt.c
drivers/net/wireless/ath/wil6210/wil6210.h