From 70ac77f8696f0684d22199a278aa80585ddcd1bc Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 4 Dec 2015 22:39:37 +0000 Subject: mac80211: update to 2015-12-03 Signed-off-by: Felix Fietkau SVN-Revision: 47771 --- ...-HT-VHT-MCS-rateset-only-for-configured-c.patch | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 package/kernel/mac80211/patches/311-ath10k-fill-HT-VHT-MCS-rateset-only-for-configured-c.patch (limited to 'package/kernel/mac80211/patches/311-ath10k-fill-HT-VHT-MCS-rateset-only-for-configured-c.patch') diff --git a/package/kernel/mac80211/patches/311-ath10k-fill-HT-VHT-MCS-rateset-only-for-configured-c.patch b/package/kernel/mac80211/patches/311-ath10k-fill-HT-VHT-MCS-rateset-only-for-configured-c.patch deleted file mode 100644 index b4ca9ca3ad..0000000000 --- a/package/kernel/mac80211/patches/311-ath10k-fill-HT-VHT-MCS-rateset-only-for-configured-c.patch +++ /dev/null @@ -1,37 +0,0 @@ -From: Rajkumar Manoharan -Date: Tue, 27 Oct 2015 17:51:12 +0530 -Subject: [PATCH] ath10k: fill HT/VHT MCS rateset only for configured - chainmask - -HT/VHT MCS rateset should be filled only for configured chainmask -rather that max supported chainmask. Fix that by checking configured -chainmask while filling HT/VHT MCS rate map. - -Signed-off-by: Rajkumar Manoharan -Signed-off-by: Kalle Valo ---- - ---- a/drivers/net/wireless/ath/ath10k/mac.c -+++ b/drivers/net/wireless/ath/ath10k/mac.c -@@ -6984,7 +6984,7 @@ static struct ieee80211_sta_vht_cap ath1 - - mcs_map = 0; - for (i = 0; i < 8; i++) { -- if (i < ar->num_rf_chains) -+ if ((i < ar->num_rf_chains) && (ar->cfg_tx_chainmask & BIT(i))) - mcs_map |= IEEE80211_VHT_MCS_SUPPORT_0_9 << (i*2); - else - mcs_map |= IEEE80211_VHT_MCS_NOT_SUPPORTED << (i*2); -@@ -7051,8 +7051,10 @@ static struct ieee80211_sta_ht_cap ath10 - if (ar->vht_cap_info & WMI_VHT_CAP_MAX_MPDU_LEN_MASK) - ht_cap.cap |= IEEE80211_HT_CAP_MAX_AMSDU; - -- for (i = 0; i < ar->num_rf_chains; i++) -- ht_cap.mcs.rx_mask[i] = 0xFF; -+ for (i = 0; i < ar->num_rf_chains; i++) { -+ if (ar->cfg_rx_chainmask & BIT(i)) -+ ht_cap.mcs.rx_mask[i] = 0xFF; -+ } - - ht_cap.mcs.tx_params |= IEEE80211_HT_MCS_TX_DEFINED; - -- cgit v1.2.3