From: Chaitanya T K Date: Sat, 6 Oct 2018 17:34:59 +0000 (+0200) Subject: mac80211: minstrel: Enable STBC and LDPC for VHT Rates X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=commitdiff_plain;h=32092b48edac35ff22684badf91eb929f63db96c;hp=03c82a92f6f41dccc4865ab50c2b48241b586bfe mac80211: minstrel: Enable STBC and LDPC for VHT Rates If peer support reception of STBC and LDPC, enable them for better performance. Signed-off-by: Chaitanya TK Signed-off-by: Felix Fietkau Signed-off-by: Johannes Berg Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 13dc01b..dc71644 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -1689,6 +1689,7 @@ struct ieee80211_mu_edca_param_set { #define IEEE80211_VHT_CAP_RXSTBC_3 0x00000300 #define IEEE80211_VHT_CAP_RXSTBC_4 0x00000400 #define IEEE80211_VHT_CAP_RXSTBC_MASK 0x00000700 +#define IEEE80211_VHT_CAP_RXSTBC_SHIFT 8 #define IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE 0x00000800 #define IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE 0x00001000 #define IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT 13