HomeFreeBSD

LinuxKPI: 802.11: improve lkpi_80211_mo_sta_state() for non (*sta_state)

Description

LinuxKPI: 802.11: improve lkpi_80211_mo_sta_state() for non (*sta_state)

If a driver does not support (*sta_state)() we internally in
lkpi_80211_mo_sta_state() fall back to using (*sta_add/*sta_remove)().
In that case add tracking of both added_to_drv and state fields for the
lsta so that our state machine keeps working and assertions do not fire.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Details

Provenance
bzAuthored on Mar 24 2022, 3:34 PM
Parents
rG246c39814567: bhyve: Do not remove guest physical addresses from IOMMU host domain
Branches
Unknown
Tags
Unknown