wifi: mac80211: disallow drivers with HT wider than HE
authorJohannes Berg <johannes.berg@intel.com>
Thu, 11 Jan 2024 16:17:43 +0000 (18:17 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Jan 2024 08:39:50 +0000 (09:39 +0100)
commitf04d2c247e0407ff8219395bef11ddc0837b7397
tree8f8999d1861a20d2b1e6e3ca0ce711f82e0c99a0
parent6593c7aec7fa15d59af4fbefdbb3d46d27d6e3ed
wifi: mac80211: disallow drivers with HT wider than HE

To simplify the code in the next patch, disallow drivers
supporting 40 MHz in HT but not HE, since we'd otherwise
have to track local maximum bandwidth per mode there.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240111181514.da15fe3214d2.I4df51ad2f4c844615c168bf9bdb498925b3c77d4@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/main.c