All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] ath11k: Fix downlink MU-MIMO
@ 2019-05-01  2:41 Miles Hu
  2019-05-06 13:07 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Miles Hu @ 2019-05-01  2:41 UTC (permalink / raw)
  To: ath11k; +Cc: Miles Hu

In vdev start command, prefer tx and rx streams are mandatory to enable DL MU-MIMO.
Tested only on 11ac mode.

Signed-off-by: Miles Hu <milehu@codeaurora.org>
---
V2:
 - remove 11ac mode from the subject.

V3:
 - clarify the fix for downlink mu-mimo and mention the consequence of not set the 
   value in the comment.

 drivers/net/wireless/ath/ath11k/mac.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index ddb8beb..3f888c0 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -3863,6 +3863,9 @@ ath11k_mac_vdev_start_restart(struct ath11k_vif *arvif,
 	arg.channel.max_reg_power = chandef->chan->max_reg_power * 2;
 	arg.channel.max_antenna_gain = chandef->chan->max_antenna_gain * 2;
 
+	arg.pref_tx_streams = ar->num_tx_chains;
+	arg.pref_rx_streams = ar->num_rx_chains;
+
 	if (arvif->vdev_type == WMI_VDEV_TYPE_AP) {
 		arg.ssid = arvif->u.ap.ssid;
 		arg.ssid_len = arvif->u.ap.ssid_len;
-- 
2.7.4


_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-06 13:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-01  2:41 [PATCH v3] ath11k: Fix downlink MU-MIMO Miles Hu
2019-05-06 13:07 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.