HomeFreeBSD

LinuxKPI: 802.11: move ieee80211_chanctx_conf into lkpi private struct

Description

LinuxKPI: 802.11: move ieee80211_chanctx_conf into lkpi private struct

Factor out ieee80211_chanctx_conf into struct lkpi_chanctx in order to
keep local state as well. In first instance that is added_to_drv
only. For now we stay single-chanctx only but this paves the path
to make it a list.
Use the new information to implement ieee80211_iter_chan_contexts_atomic().

Sponsored by: The FreeBSD Foundation
Approved by: re (gjb)

(cherry picked from commit c5e257985085bd987b1dddffd0455c2230df2d1d)
(cherry picked from commit b6628a233e8e6407a504172a562ba14a66c7e7da)

Details

Provenance
bzAuthored on Sep 25 2023, 4:57 PM
Parents
rGa5c1eed2a2a0: LinuxKPI: 802.11: change ic_parent() to not call mo_stop()/mo_start()
Branches
Unknown
Tags
Unknown