wifi: mac80211: refactor puncturing bitmap extraction
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jan 2024 18:34:45 +0000 (19:34 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Feb 2024 12:07:37 +0000 (13:07 +0100)
commitc478db84c8544156b80c5e5d3a8c7840d557707a
treee9ffa13e0cb0a7c39e306a45add53b6ffec47492
parent719036ae06d4bfdb65139e3947a8404dec298bc5
wifi: mac80211: refactor puncturing bitmap extraction

Add a new inline helper function to ieee80211.h to
extract the disabled subchannels bitmap from an EHT
operation element, and use that in mac80211 where
we do that.

Link: https://msgid.link/20240129194108.d9f50dcec8d0.I8b08cbc2490a734fafcce0fa0fc328211ba6f10b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
net/mac80211/mlme.c