[PATCH ath-next v2 0/2] wifi: ath12k: set proper key flags and MIC space for CCMP256 and GCMP ciphers
Rameshkumar Sundaram
rameshkumar.sundaram at oss.qualcomm.com
Tue Apr 15 12:58:10 PDT 2025
Currently for CCMP256, GCMP128 and GCMP256 ciphers, Management key flags
are not set properly and MIC space is not added based on the cipher used.
This results in unexpected drop of protected management frames in case
either of above 3 ciphers is used.
Fix this by setting IEEE80211_KEY_FLAG_GENERATE_IV_MGMT flag for above
ciphers and by reserving proper MIC length for those ciphers.
*v2:
- Rebased on ToT
Rameshkumar Sundaram (2):
wifi: ath12k: fix wrong handling of CCMP256 and GCMP ciphers
wifi: ath12k: avoid multiple skb_cb fetch in ath12k_mac_mgmt_tx_wmi()
drivers/net/wireless/ath/ath12k/dp_rx.c | 3 +--
drivers/net/wireless/ath/ath12k/dp_rx.h | 3 +++
drivers/net/wireless/ath/ath12k/mac.c | 22 +++++++++++++---------
3 files changed, 17 insertions(+), 11 deletions(-)
base-commit: d0bcc5eaaa611aacbffe6b2cc2fb64bfc3bdfcbc
--
2.34.1
More information about the ath12k
mailing list