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

Jan Hendrik Farr <[email protected]> Tue, 13 May 2025 18:33:18 +0200
Newsgroups dev.linux.lists.iwd,org.kernel.vger.linux-wireless
Message-ID <aCN0Tjwu-yS2mzi_@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

Unfortunately this does not fix it.

Attached another capture (and trace, etc) created with this patch
applied. This one shows the retries of the clients confirm that
you and Denis were discussing.


Best Regards
Jan

> 
> johannes
capture3.tar (application/x-tar, 741.1 KB) - not displayed