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

Jan Hendrik Farr <[email protected]> Tue, 13 May 2025 19:36:19 +0200
Newsgroups dev.linux.lists.iwd,org.kernel.vger.linux-wireless
Message-ID <aCODE231NMCQ48xu@archlinux>
On 13 19:07:30, Johannes Berg wrote:
> On Tue, 2025-05-13 at 18:33 +0200, Jan Hendrik Farr wrote:
> > > 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) 
> 
> Hm. Yeah, I missed the second path that goes there in this case ...
> 
> https://p.sipsolutions.net/0c145f72fdec3cf5.txt

This work!

Interestingly though, now the order is always:
1. client commit
2. AP commit
3. client confirm
4. AP confirm

It is now only ~5.3 ms between AP commit and client confirm vs
~21.2 ms before.

Do you have an explanation why this patch would change the timing?

So this test doesn't proof that it would work with the order the other way
around. Maybe I should try making iwd sleep while generating the commit.

Best Regards
Jan

> 
> johannes