]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix pmf for action frames
authorMarek Kwaczynski <marek.kwaczynski@tieto.com>
Wed, 14 May 2014 13:56:17 +0000 (16:56 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 16 May 2014 13:53:07 +0000 (16:53 +0300)
commit1e4f41de7a170962285a27efcd059f59bce48fc2
tree9ad1cc84659893fee0cf94711939508527a53000
parent6f1b34fb7f0d14cfd49793153dd55bf6cc0b03be
ath10k: fix pmf for action frames

Fix sending and receiveing protected managment frames.
Lack of protected flag for received protected action frames
causes report these frames as unprotected robust action frames.
If the driver in AP mode sent frame with protected flag and
CCMP header using IEEE80211_KEY_FLAG_SW_MGMT_TX flag,
the FW encrypted frames once again. From user side all
received SA Query Requests and Responses were skipped and
all protected action frames were sent as malformed packets.

Signed-off-by: Marek Kwaczynski <marek.kwaczynski@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi.c