diff options
author | Lorenzo Bianconi | 2018-10-15 11:33:12 +0200 |
---|---|---|
committer | Felix Fietkau | 2018-11-30 12:21:39 +0100 |
commit | 7dd735883dec1c0e8d64e22b56dda3848c0d48e3 (patch) | |
tree | f6a33c23f8f65a4366b3c72211462cc96a6ad51b /drivers/net/wireless/mediatek/mt76/mt76x02.h | |
parent | mt76x0: pci: add get_survey support (diff) | |
download | kernel-qcow2-linux-7dd735883dec1c0e8d64e22b56dda3848c0d48e3.tar.gz kernel-qcow2-linux-7dd735883dec1c0e8d64e22b56dda3848c0d48e3.tar.xz kernel-qcow2-linux-7dd735883dec1c0e8d64e22b56dda3848c0d48e3.zip |
mt76: move mt76x02_mac_work routine in mt76x02-lib module
Move mt76x02_mac_work routine in mt76x02_mac.c in order to be reused by
mt76x0 driver to read device statistics
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02.h b/drivers/net/wireless/mediatek/mt76/mt76x02.h index 47c42c607964..189c697973bd 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02.h +++ b/drivers/net/wireless/mediatek/mt76/mt76x02.h @@ -26,6 +26,8 @@ #include "mt76x02_dfs.h" #include "mt76x02_dma.h" +#define MT_CALIBRATE_INTERVAL HZ + struct mt76x02_mac_stats { u64 rx_stat[6]; u64 tx_stat[6]; |