ath11k: fix PMF config during peer assoc
PATCH 1/1 ath11k: fix PMF config during peer assoc
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.
--- drivers/net/wireless/ath/ath11k/wmi.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/wireless/ath/ath11k/wmi.c +4 -0
@@ -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
Signature · 7 lines
2.7.4 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 10 lines · 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 <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath11k-bringup branch of ath.git, thanks.
819d9adcb7f7 ath11k: fix PMF config during peer assoc
Signature · 9 lines
https://patchwork.kernel.org/patch/10981261/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k