[PATCH ath-next 0/2] wifi: ath12k: set proper key flags and MIC space for CCMP256 and GCMP ciphers

Rameshkumar Sundaram
2025-04-06T09:22:27Z

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.

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 | 2 ++
drivers/net/wireless/ath/ath12k/mac.c | 22 +++++++++++++---------
3 files changed, 16 insertions(+), 11 deletions(-)

base-commit: 12b93f7c6d101d22e0ea3bf4a240699746c79117
--
2.34.1