mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x02: improve mac error check/reset reliability
On AP mode devices, check beacon tx counters to detect MAC errors. When an error is detected, stop the MAC before resetting it Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -571,6 +571,8 @@
|
||||
#define MT_RX_STAT_2_OVERFLOW_ERRORS GENMASK(31, 16)
|
||||
|
||||
#define MT_TX_STA_0 0x170c
|
||||
#define MT_TX_STA_0_BEACONS GENMASK(31, 16)
|
||||
|
||||
#define MT_TX_STA_1 0x1710
|
||||
#define MT_TX_STA_2 0x1714
|
||||
|
||||
|
||||
Reference in New Issue
Block a user