ath11k: fix wmi peer flags in peer assoc command
authorVenkateswara Naralasetty <vnaralas@codeaurora.org>
Thu, 11 Jun 2020 05:09:55 +0000 (08:09 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 15 Jun 2020 14:34:12 +0000 (17:34 +0300)
commit01e34233c6456ff61f2caab450860f1462acf78e
treeb32aae8eb2842717d93311f4f6193ae1fbe3ed5f
parent71fbc847978f51629856d0ef7d3645d9322fb340
ath11k: fix wmi peer flags in peer assoc command

Currently need ptk/gtk wmi peer flags in wmi peer assoc cmd
are set based on the rsnie and wpaie of the bss from the bss list.
Since this bss list is not updated with current BSSID for AP mode,
we may not find bss from the bss list. Which results in ptk/gtk peer
flags are not set in the wmi peer assoc cmd. Due to this EAPOL frames
are going in data rates instead of management rates.

Tested-on: IPQ8074 WLAN.HK.2.1.0.1-01228-QCAHKSWPL_SILICONZ-1

Signed-off-by: Venkateswara Naralasetty <vnaralas@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1591771841-25503-1-git-send-email-vnaralas@codeaurora.org
drivers/net/wireless/ath/ath11k/core.h
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath11k/wmi.c