ath10k: set peer MFP flag in peer assoc command
authorTamizh chelvam <c_traja@qti.qualcomm.com>
Thu, 29 Oct 2015 12:27:42 +0000 (14:27 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 4 Nov 2015 17:30:20 +0000 (19:30 +0200)
commit90eceb3b5fb0d0f413f475165314d4578c3a46c4
tree383be57aa4349777dc89dda8b617ef6ab3472d65
parent3fab30f7e8f31a06702ee6b03a902caffa5bc724
ath10k: set peer MFP flag in peer assoc command

Set peer's management frame protection flag in peer assoc command,
this setting will enable/disable encrytion of management frames in fw.

Setting of this flag is based on whether MFP is enabled/disabled at STA
and a firmware feature flag ATH10K_FW_FEATURE_MFP_SUPPORT. This is because
only firmwares 10.1.561 and above have support for MFP.

Signed-off-by: Tamizh chelvam <c_traja@qti.qualcomm.com>
Signed-off-by: Manikanta pubbisetty <c_mpubbi@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/htt_tx.c
drivers/net/wireless/ath/ath10k/mac.c