]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: mac80211: clarify an 802.11 VHT spec reference
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 Apr 2026 12:51:57 +0000 (14:51 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 28 Apr 2026 07:30:12 +0000 (09:30 +0200)
Just saying "Table 9-250" isn't useful, without the version
of the spec. Fix the number according to the latest released
version (-2020) and add the table name.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260415145157.c85df460fc98.I350b4c290fb90977f62ed59ac0246afbacee1ebc@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c

index a2ca8fd0c78ab0533b8c44d6d5afead7917c440b..89e82d34ae48389ff370c774d8152a50920d05e5 100644 (file)
@@ -3149,7 +3149,9 @@ bool ieee80211_chandef_vht_oper(struct ieee80211_hw *hw, u32 vht_cap_info,
                ext_nss_bw_supp = 0;
 
        /*
-        * Cf. IEEE 802.11 Table 9-250
+        * Cf. IEEE 802.11-2020 Table 9-272 - Setting of the Supported Channel
+        * Width Set subfield and Extended NSS BW Support subfield at a STA
+        * transmitting the VHT Capabilities Information field
         *
         * We really just consider that because it's inefficient to connect
         * at a higher bandwidth than we'll actually be able to use.