HomeFreeBSD

LinuxKPI: 802.11: switch vif station list to a linux list

Description

LinuxKPI: 802.11: switch vif station list to a linux list

We ran into problems with locking the VIF for the lsta tailq on and
off. Switch from a native tailq to the LinuxKPI list.
This allows us to implement the "rcu" part in
linuxkpi_ieee80211_iterate_keys() which we could not before.
Further using either rcu or the wiphy lock we no longer run into
problems with the lock not being sleepable.
The last case was rtw89 debugfs which was doing a sleepable alloc
in the iterator callback of linuxkpi_ieee80211_iterate_stations_atomic().

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Details

Provenance
bzAuthored on Jan 25 2025, 11:39 PM
Parents
rG12a511c84470: LinuxKPI: 802.11: make (unsupported) cipher suite prints user friendly
Branches
Unknown
Tags
Unknown