Re: wifi: iwlwifi: SAE fails when AP sends confirm before STA

Jan Hendrik Farr <[email protected]> Tue, 13 May 2025 13:56:05 +0200
Newsgroups dev.linux.lists.iwd,org.kernel.vger.linux-wireless
Message-ID <aCMzVUJlLfuhupzm@archlinux>
On 13 13:46:51, Johannes Berg wrote:
> On Tue, 2025-05-13 at 13:29 +0200, Jan Hendrik Farr wrote:
> > 
> > There is a an SAE confirm sent by the AP. It's frame 170 in
> > capture2.pcapng. It's also retried a number of times after that.
> 
> Oops, yes, I didn't catch the different seqno and thought it was all
> retries of a single frame.
> 
> > There is however no ACK from the client in response to it and it also never
> > shows up in iwd.
> 
> Right. Clearly this is because we actually leave the channel when we get
> the response to the auth frame.
> 
> I guess most cases we have the client much faster than the AP, so this
> might never be an issue. I guess here you were saying the client wasn't
> all that fast in responding.
> 
> In fact the AP seems to take ~17.1ms from one frame to the other, and
> the client ~20.4ms, though the client has some propagation delay through
> the software stack too.
> 
> I don't think this is really the right fix, but it might help:
> https://p.sipsolutions.net/e852565303ad878b.txt

Thanks for the help! I'll test the patch this evening.

> 
> johannes