wil6210: ethtool ops
Provide ethtool support; with support for interrupt coalescing through get_coalesce/set_coalesce. Placeholders for begin/complete will be used by runtime PM to make sure target is powered up while performing ethtool operations Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
1abf676974
commit
b6b1b0ec05
@@ -157,17 +157,7 @@ void wil_unmask_irq(struct wil6210_priv *wil)
|
||||
offsetof(struct RGF_ICR, ICC));
|
||||
|
||||
/* interrupt moderation parameters */
|
||||
if (wil->wdev->iftype == NL80211_IFTYPE_MONITOR) {
|
||||
/* disable interrupt moderation for monitor
|
||||
* to get better timestamp precision
|
||||
*/
|
||||
iowrite32(0, wil->csr + HOSTADDR(RGF_DMA_ITR_CNT_CRL));
|
||||
} else {
|
||||
iowrite32(WIL6210_ITR_TRSH,
|
||||
wil->csr + HOSTADDR(RGF_DMA_ITR_CNT_TRSH));
|
||||
iowrite32(BIT_DMA_ITR_CNT_CRL_EN,
|
||||
wil->csr + HOSTADDR(RGF_DMA_ITR_CNT_CRL));
|
||||
}
|
||||
wil_set_itr_trsh(wil);
|
||||
|
||||
wil6210_unmask_irq_pseudo(wil);
|
||||
wil6210_unmask_irq_tx(wil);
|
||||
|
Reference in New Issue
Block a user