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

(cherry picked from commit 878fb1e5754cc5bfbec57bc24859b07936f82a41)

Details

Provenance
bzAuthored on Mar 24 2022, 3:34 PM
Parents
rG471a438a007e: LinuxKPI: 802.11: rework sta state machine compatibility
Branches
Unknown
Tags
Unknown