QCA9888 supports VHT80 with 2x2. But it only support 1x1 with VHT160 or VHT80+80. Inform userspace and the the QCA firmware about that limitation whenever VHT80+80 or VHT160 is configured. Signed-off-by: Sven Eckelmann <sven.eckelmann@xxxxxxxxxxxx> --- v2: - new patch drivers/net/wireless/ath/ath10k/mac.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 0752cf351b4a..75e90adc8fb4 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -4436,6 +4436,14 @@ static struct ieee80211_sta_vht_cap ath10k_create_vht_cap(struct ath10k *ar) vht_cap.vht_mcs.rx_highest = 1560; vht_cap.vht_mcs.tx_highest = 1560; break; + case QCA9888_2_0_DEVICE_ID: + /* Can do only 1x1 VHT160 or 80+80. + * 780Mbps is 2x2 80Mhz or 1x1 160Mhz, + * long-guard-interval + */ + vht_cap.vht_mcs.rx_highest = 780; + vht_cap.vht_mcs.tx_highest = 780; + break; } } -- 2.11.0