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
Approved by: re (gjb)

(cherry picked from commit 8d58a0578635dc7dd1025ab08b0479f2b383e1a4)
(cherry picked from commit 753730087671551425554a28d64c898997f9bbdd)

Details

Provenance
bzAuthored on Sep 21 2023, 12:25 PM
Parents
rGda24b50552e7: LinuxKPI: 802.11: inialize tx queue params
Branches
Unknown
Tags
Unknown