wifi: mt76: mt7915: improve hardware restart reliability

[ Upstream commit 328e35c7bf ]

- use reconfig_complete to restart mac_work / queues
- reset full wtbl after firmware init
- clear wcid and vif mask to avoid leak
- fix sta poll list corruption

Link: https://patch.msgid.link/20240827093011.18621-19-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Stable-dep-of: cd043bbba6 ("wifi: mt76: mt7915: fix omac index assignment after hardware reset")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Felix Fietkau 2024-08-27 11:30:06 +02:00 • committed by Greg Kroah-Hartman
commit c71d2db21f
3 changed files with 27 additions and 12 deletions