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

(cherry picked from commit c5e257985085bd987b1dddffd0455c2230df2d1d)

Details

Provenance
bzAuthored on Sep 25 2023, 4:57 PM
Parents
rGc18ead9cb26d: LinuxKPI: 802.11: setup a default link[0] and adjust related needs
Branches
Unknown
Tags
Unknown