wifi: mac80211: allow 320 MHz FTM measurements
authorAvraham Stern <avraham.stern@intel.com>
Sat, 8 Mar 2025 21:03:33 +0000 (23:03 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Mar 2025 09:53:10 +0000 (10:53 +0100)
Add 320 MHz to the list of allowed bandwidths for FTM measurements.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250308225541.91f4cbe66817.I9205c585fca6a54a2c5a9e4db98c7781bd1fc4e1@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c

index 15bbc9d06c9e98958cd8dc2a45a5fa4424c85b6c..52728527c6f52950b70bac89757f707fc8dd4410 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright 2006-2010         Johannes Berg <johannes@sipsolutions.net>
  * Copyright 2013-2014  Intel Mobile Communications GmbH
  * Copyright 2015-2017 Intel Deutschland GmbH
- * Copyright (C) 2018-2024 Intel Corporation
+ * Copyright (C) 2018-2025 Intel Corporation
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
@@ -793,6 +793,7 @@ int wiphy_register(struct wiphy *wiphy)
                                  BIT(NL80211_CHAN_WIDTH_80) |
                                  BIT(NL80211_CHAN_WIDTH_80P80) |
                                  BIT(NL80211_CHAN_WIDTH_160) |
+                                 BIT(NL80211_CHAN_WIDTH_320) |
                                  BIT(NL80211_CHAN_WIDTH_5) |
                                  BIT(NL80211_CHAN_WIDTH_10))))
                        return -EINVAL;