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:
Felix Fietkau
2022-01-31 12:16:26 +01:00
parent 553200cf63
commit 20d1fed838
3 changed files with 22 additions and 6 deletions
+1
View File
@@ -104,6 +104,7 @@ struct mt76x02_dev {
u32 tx_hang_reset;
u8 tx_hang_check;
u8 beacon_hang_check;
u8 mcu_timeout;
struct mt76x02_calibration cal;