wifi: cfg80211: move puncturing validation code
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jan 2024 18:34:44 +0000 (19:34 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Feb 2024 12:07:37 +0000 (13:07 +0100)
commit719036ae06d4bfdb65139e3947a8404dec298bc5
treee0e3baa34de749b22aa6f0610ee4297884f64794
parent6bc574a7cd27ba0c8d77425055a8fd672ec928f2
wifi: cfg80211: move puncturing validation code

Upcoming patches will move the puncturing bitmap into the
chandef, so chandef validation will need to check for correct
puncturing. Purely move the code first so later changes are
easier to review.

Link: https://msgid.link/20240129194108.1ca184427c76.I077deb8d52c4648eac145b63f88b6c5a3b920ddc@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/chan.c