* [PATCH] ath11k: fix PMF config during peer assoc
@ 2019-06-07 9:53 Manikanta Pubbisetty
2019-06-12 11:09 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Manikanta Pubbisetty @ 2019-06-07 9:53 UTC (permalink / raw)
To: ath11k; +Cc: Manikanta Pubbisetty
Currently, PMF config for peers is not being sent to the
firmware in peer assoc command. As a result, in cases where
PMF is enabled, there would be mismatch in configuration
between host software and the firmware, eventually leading
to packet drops in mac80211.
Fix it by setting appropriate PMF flags during peer assoc.
Signed-off-by: Manikanta Pubbisetty <mpubbise@codeaurora.org>
---
drivers/net/wireless/ath/ath11k/wmi.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c
index 2fb9941..0f875ed 100644
--- a/drivers/net/wireless/ath/ath11k/wmi.c
+++ b/drivers/net/wireless/ath/ath11k/wmi.c
@@ -1683,6 +1683,10 @@ ath11k_wmi_copy_peer_flags(struct wmi_peer_assoc_complete_cmd *cmd,
if (param->safe_mode_enabled)
cmd->peer_flags &= ~(WMI_PEER_NEED_PTK_4_WAY |
WMI_PEER_NEED_GTK_2_WAY);
+
+ if (param->is_pmf_enabled)
+ cmd->peer_flags |= WMI_PEER_PMF;
+
/* Disable AMSDU for station transmit, if user configures it */
/* Disable AMSDU for AP transmit to 11n Stations, if user configures
* it
--
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-06-12 11:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-07 9:53 [PATCH] ath11k: fix PMF config during peer assoc Manikanta Pubbisetty
2019-06-12 11:09 ` 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.