Page MenuHomeFreeBSD

LinuxKPI 802.11 / rtw88: make packets flow again
ClosedPublic

Authored by bz on Dec 20 2024, 2:31 PM.
Tags
None
Referenced Files
F109570686: D48161.diff
Thu, Feb 6, 8:51 PM
Unknown Object (File)
Mon, Feb 3, 4:48 PM
Unknown Object (File)
Fri, Jan 31, 12:40 AM
Unknown Object (File)
Fri, Jan 31, 12:38 AM
Unknown Object (File)
Fri, Jan 31, 12:37 AM
Unknown Object (File)
Mon, Jan 27, 7:46 PM
Unknown Object (File)
Mon, Jan 27, 6:52 AM
Unknown Object (File)
Mon, Jan 27, 6:48 AM

Details

Summary

In 886653492945f we added checks for packets to only go out if the
station is known to the firmware (amongst others) as there are
implications in drivers.
Unfortunately rtw88 does not support the mac80211 (*sta_state)() KPI
but only the fallback (*sta_add/remove)() in which case the station is
only added to firmware when going from AUTH to ASSOC. That means we
had no chance to get ever authenticated anymore.

The problem has existed since June in main and stable/14 but only now
was noticed in December which makes me wonder.

I am not sure what implications the missing checks have on all the other
drivers using (*sta_state)() as I hav enot done the full due-diiigens
on that yet. For the moment I want to get the patch out so that rtw88
users can test (or auth/assoc) and use rtw88 again.

PR: 283142
Fixes: 886653492945f (make sure we can send DISASSOC or DEAUTH frames)
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable