HomeFreeBSD

LinuxKPI: 802.11: change ic_parent() to not call mo_stop()/mo_start()

Description

LinuxKPI: 802.11: change ic_parent() to not call mo_stop()/mo_start()

Driven by net80211 we may call mac80211 ops stop() and start() mostly
when toggling a first VAP. While this is FreeBSD behaviour the firmware
based LinuxKPI drivers seem to possibly clear state in the case of stop()
triggering further errors down the line.
We call mo_start() when starting the VAP and mo_stop() when destroying
it now only. In the future (e.g., in multi-VAP setups) we may need to
re-address some of this so keep the code under #ifdef.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 8d58a0578635dc7dd1025ab08b0479f2b383e1a4)

Details

Provenance
bzAuthored on Sep 21 2023, 12:25 PM
Parents
rG8614ae463a1e: LinuxKPI: 802.11: adjust code to new structure layout
Branches
Unknown
Tags
Unknown