diff --git a/patches.suse/wcn36xx-Specify-ieee80211_rx_status.nss.patch b/patches.suse/wcn36xx-Specify-ieee80211_rx_status.nss.patch new file mode 100644 index 0000000..0ce20ac --- /dev/null +++ b/patches.suse/wcn36xx-Specify-ieee80211_rx_status.nss.patch @@ -0,0 +1,38 @@ +From 1af05d43b9bef43ef71387b0d467c6c7aa6641a0 Mon Sep 17 00:00:00 2001 +From: Bryan O'Donoghue +Date: Sat, 29 Aug 2020 04:38:42 +0100 +Subject: [PATCH] wcn36xx: Specify ieee80211_rx_status.nss +Git-commit: 1af05d43b9bef43ef71387b0d467c6c7aa6641a0 +References: git-fixes +Patch-mainline: v5.10-rc1 + +Specify the number of spatial streams in ieee80211_rx_status. For non VHT +data-rates the wireless core doesn't care about this field, however for VHT +data-rates it does. + +Every version of wcn36xx has one spatial stream, so specify nss for +wcn3620, wcn3660 and wcn3680 now. + +Signed-off-by: Bryan O'Donoghue +Signed-off-by: Kalle Valo +Link: https://lore.kernel.org/r/20200829033846.2167619-7-bryan.odonoghue@linaro.org +Signed-off-by: Oliver Neukum +--- + drivers/net/wireless/ath/wcn36xx/txrx.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/net/wireless/ath/wcn36xx/txrx.c b/drivers/net/wireless/ath/wcn36xx/txrx.c +index 19f5e306848b..1b831157ede1 100644 +--- a/drivers/net/wireless/ath/wcn36xx/txrx.c ++++ b/drivers/net/wireless/ath/wcn36xx/txrx.c +@@ -272,6 +272,7 @@ int wcn36xx_rx_skb(struct wcn36xx *wcn, struct sk_buff *skb) + status.bw = rate->bw; + status.rate_idx = rate->mcs_or_legacy_index; + sband = wcn->hw->wiphy->bands[status.band]; ++ status.nss = 1; + + if (status.band == NL80211_BAND_5GHZ && + status.encoding == RX_ENC_LEGACY && +-- +2.40.1 + diff --git a/series.conf b/series.conf index 5fe46aa..4a36b5c 100644 --- a/series.conf +++ b/series.conf @@ -58511,6 +58511,7 @@ patches.suse/wcn36xx-Fix-software-driven-scan.patch patches.suse/wcn36xx-Disable-bmps-when-encryption-is-disabled.patch patches.suse/wcn36xx-Fix-warning-due-to-bad-rate_idx.patch + patches.suse/wcn36xx-Specify-ieee80211_rx_status.nss.patch patches.suse/gve-Get-and-set-Rx-copybreak-via-ethtool.patch patches.suse/gve-Add-stats-for-gve.patch patches.suse/gve-Use-dev_info-err-instead-of-netif_info-err.patch