]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: mac80211_hwsim: claim HT STBC capability
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 May 2026 09:32:32 +0000 (11:32 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 May 2026 09:42:12 +0000 (11:42 +0200)
This is already claimed for VHT and HE, so it doesn't really
make sense to not claim it for HT, and this causes sigma-dut
failures since it assumes VHT support implies HT support.

Link: https://patch.msgid.link/20260506093231.155762-2-johannes@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/virtual/mac80211_hwsim_main.c

index a214a3a18841bae26350b5e4c447cad9ec221885..dc9775cd9f5406dce129ddd2c687e5eefb06de21 100644 (file)
@@ -5954,7 +5954,9 @@ static int mac80211_hwsim_new_radio(struct genl_info *info,
                                            IEEE80211_HT_CAP_GRN_FLD |
                                            IEEE80211_HT_CAP_SGI_20 |
                                            IEEE80211_HT_CAP_SGI_40 |
-                                           IEEE80211_HT_CAP_DSSSCCK40;
+                                           IEEE80211_HT_CAP_DSSSCCK40 |
+                                           IEEE80211_HT_CAP_TX_STBC |
+                                           IEEE80211_HT_CAP_RX_STBC;
                        sband->ht_cap.ampdu_factor = 0x3;
                        sband->ht_cap.ampdu_density = 0x6;
                        memset(&sband->ht_cap.mcs, 0,