ath10k: fix TDLS peer TX data failure issue on encryped AP
authorYingying Tang <yintang@qti.qualcomm.com>
Wed, 28 Mar 2018 09:15:35 +0000 (12:15 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 29 Mar 2018 09:00:19 +0000 (12:00 +0300)
commit9cdd005750293c0e7e9276546e02b290d0bafeb0
tree072dcb0bb816f4d94fad4391dfafb7d164e5bce2
parentc3816c9ee12c235dde8f382619a38a5ce86fb548
ath10k: fix TDLS peer TX data failure issue on encryped AP

For WPA encryption, QCA6174 firmware(version: WLAN.RM.4.4) will unblock
data when M4 was sent successfully. For other encryption which didn't need
4-way handshake firmware will unblock the data when peer authorized. Since
TDLS is 3-way handshake host need send authorize cmd to firmware to unblock
data.

Signed-off-by: Yingying Tang <yintang@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c