diff mbox series

[v3] ath11k: Fix downlink MU-MIMO

Message ID 1556678516-12844-1-git-send-email-milehu@codeaurora.org (mailing list archive)
State Accepted
Commit cc5c8c29fcaab52ffcf9f546c317ed7b8516dc23
Delegated to: Kalle Valo
Headers show
Series [v3] ath11k: Fix downlink MU-MIMO | expand

Commit Message

Miles Hu May 1, 2019, 2:41 a.m. UTC
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(+)

Comments

Kalle Valo May 6, 2019, 1:07 p.m. UTC | #1
Miles Hu <milehu@codeaurora.org> wrote:

> 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>

Patch applied to ath.git, thanks.

cc5c8c29fcaa ath11k: Fix downlink MU-MIMO
diff mbox series

Patch

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;