]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: mac80211: add mandatory bitrate support for 6 GHz
authorSomashekhar Puttagangaiah <somashekhar.puttagangaiah@intel.com>
Mon, 9 Jun 2025 18:35:17 +0000 (21:35 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 9 Jul 2025 09:52:35 +0000 (11:52 +0200)
When a new station is added, ensure that mandatory bit-rates
are enabled for 6 GHz band.

Signed-off-by: Somashekhar Puttagangaiah <somashekhar.puttagangaiah@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250609213231.4aecd7f3b85b.I33a54872a3267c9f6155ce537d6c9c2a31c3f117@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c

index 89cf365b07e69a06ebee51de9f0fd7c7c9e36b98..8c550aab9bdce0d8ccb72ed5af2ddfffe6aa4fe3 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
  * Copyright 2013-2014  Intel Mobile Communications GmbH
  * Copyright (C) 2015 - 2017 Intel Deutschland GmbH
- * Copyright (C) 2018-2024 Intel Corporation
+ * Copyright (C) 2018-2025 Intel Corporation
  */
 
 #include <linux/module.h>
@@ -729,6 +729,7 @@ __sta_info_alloc(struct ieee80211_sub_if_data *sdata,
                                    IEEE80211_RATE_MANDATORY_G;
                        break;
                case NL80211_BAND_5GHZ:
+               case NL80211_BAND_6GHZ:
                        mandatory = IEEE80211_RATE_MANDATORY_A;
                        break;
                case NL80211_BAND_60GHZ: