]> 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)
commit73727359be33c647f48efa356e3d0631b3d71361
tree9ad1cc84659893fee0cf94711939508527a53000
parentfbd84a2828e595ebc7b78886132d352438c2f685
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