Re: [PATCH 2/3] mac80211: Add support to trigger sta disconnect on hardware restart

From: Johannes Berg
Date: Fri Sep 24 2021 - 05:21:04 EST


Hi,


> We thought sending the delba would solve the problem as earlier thought
> but the actual problem is with TX PN in a secure mode.
> It is not because of delba that the Seq number and TX PN are reset to
> zero.
> It’s because of the HW restart, these parameters are reset to zero.
> Since FW/HW is the one which decides the TX PN, when it goes through
> SSR, all these parameters are reset.

Right, we solved this problem too - in a sense the driver reads the
database (not just TX PN btw, also RX replay counters) when the firmware
crashes, and sending it back after the restart. mac80211 has some hooks
for that.

johannes