mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x2: add rx statistics registers
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -446,6 +446,18 @@
|
||||
#define MT_PROT_AUTO_TX_CFG_PROT_PADJ GENMASK(11, 8)
|
||||
#define MT_PROT_AUTO_TX_CFG_AUTO_PADJ GENMASK(27, 24)
|
||||
|
||||
#define MT_RX_STAT_0 0x1700
|
||||
#define MT_RX_STAT_0_CRC_ERRORS GENMASK(15, 0)
|
||||
#define MT_RX_STAT_0_PHY_ERRORS GENMASK(31, 16)
|
||||
|
||||
#define MT_RX_STAT_1 0x1704
|
||||
#define MT_RX_STAT_1_CCA_ERRORS GENMASK(15, 0)
|
||||
#define MT_RX_STAT_1_PLCP_ERRORS GENMASK(31, 16)
|
||||
|
||||
#define MT_RX_STAT_2 0x1708
|
||||
#define MT_RX_STAT_2_DUP_ERRORS GENMASK(15, 0)
|
||||
#define MT_RX_STAT_2_OVERFLOW_ERRORS GENMASK(31, 16)
|
||||
|
||||
#define MT_TX_STAT_FIFO 0x1718
|
||||
#define MT_TX_STAT_FIFO_VALID BIT(0)
|
||||
#define MT_TX_STAT_FIFO_SUCCESS BIT(5)
|
||||
|
||||
Reference in New Issue
Block a user