diff mbox series

[3/4] ath11k: fix multicast txrx for secure 11s mesh support

Message ID 1559080376-26817-4-git-send-email-pradeepc@codeaurora.org (mailing list archive)
State Accepted
Commit 28c2a93e7c416e7413635c58be56beda8807b97c
Delegated to: Kalle Valo
Headers show
Series ath11k: enable 11s secured mesh support | expand

Commit Message

Pradeep Kumar Chitrapu May 28, 2019, 9:52 p.m. UTC
setting MESH_MCAST_ENABLE wmi param is necessary for txrx of multicast
action frames in 11s mesh.

Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/mac.c | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index c78c1481fe7f..9730c077149a 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -3373,6 +3373,14 @@  static int ath11k_start(struct ieee80211_hw *hw)
 		goto err;
 	}
 
+	ret = ath11k_wmi_pdev_set_param(ar, WMI_PDEV_PARAM_MESH_MCAST_ENABLE,
+					1, pdev->pdev_id);
+
+	if (ret) {
+		ath11k_err(ar->ab, "failed to enable MESH MCAST ENABLE: (%d\n", ret);
+		goto err;
+	}
+
 	__ath11k_set_antenna(ar, ar->cfg_tx_chainmask, ar->cfg_rx_chainmask);
 
 	/* TODO: Do we need to enable ANI? */