]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: cfg80211: default S1G chandef width to 1MHz
authorLachlan Hodges <lachlan.hodges@morsemicro.com>
Tue, 21 Oct 2025 06:12:01 +0000 (17:12 +1100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 27 Oct 2025 08:18:08 +0000 (09:18 +0100)
commitbca76b875d0530658f3ba1bc946dbae1974f14c3
treed4446ab7e014569aa7bafcaf7fd086f6c3c17e55
parentad55aa3ad8f843b2600db322d312f9f28d79568e
wifi: cfg80211: default S1G chandef width to 1MHz

When management frames are passed down to be transmitted by usermode, often
times the NL80211_ATTR_CHANNEL_WIDTH is not used as its implied to be
transmitted on the control width. This can lead to errors during chandef
validation as the offsets from the channel center are wrong. Ensure we
initialise S1G chandefs to a width of 1MHz rather then 20MHz.

Signed-off-by: Lachlan Hodges <lachlan.hodges@morsemicro.com>
Link: https://patch.msgid.link/20251021061201.235754-1-lachlan.hodges@morsemicro.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c