mt76: fix 5 GHz connection regression on mt76x0/mt76x2
PATCH 1/1 mt76: fix 5 GHz connection regression on mt76x0/mt76x2
Some users have reported being unable to connect to MT76x0 APs running mt76 after a commit enabling the VHT extneded NSS BW feature.
Fix this regression by ensuring that this feature only gets enabled on drivers that support it
--- drivers/net/wireless/mediatek/mt76/mac80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/mediatek/mt76/mac80211.c +2 -1
@@ -267,7 +267,8 @@ static void mt76_init_stream_cap(struct mt76_phy *phy, } vht_cap->vht_mcs.rx_mcs_map =cpu_to_le16 (mcs_map); vht_cap->vht_mcs.tx_mcs_map =cpu_to_le16 (mcs_map); - vht_cap->vht_mcs.tx_highest |= +if (ieee80211_hw_check (phy->hw,SUPPORTS_VHT_EXT_NSS_BW )) + vht_cap->vht_mcs.tx_highest |=cpu_to_le16 (IEEE80211_VHT_EXT_NSS_BW_CAPABLE ); }
Signature · 1 line
2.36.1
Quoted 8 lines · Felix Fietkau
Some users have reported being unable to connect to MT76x0 APs running mt76 after a commit enabling the VHT extneded NSS BW feature.
Fix this regression by ensuring that this feature only gets enabled on drivers that support itFixes d9fcfc1424aa ("mt76: enable the VHT extended NSS BW feature")Signed-off-by Felix Fietkau <[email protected]>
I assigned this to me on patchwork and I'll queue this to v6.0.
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Re: [6.0] wifi: mt76: fix 5 GHz connection regression on mt76x0/mt76x2
In reply to Felix FietkauQuoted 8 lines · Felix Fietkau
Some users have reported being unable to connect to MT76x0 APs running mt76 after a commit enabling the VHT extneded NSS BW feature.
Fix this regression by ensuring that this feature only gets enabled on drivers that support itFixes d9fcfc1424aa ("mt76: enable the VHT extended NSS BW feature")Signed-off-by Felix Fietkau <[email protected]>
Patch applied to wireless.git, thanks.
781b80f452fc wifi: mt76: fix 5 GHz connection regression on mt76x0/mt76x2
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches