mbox series

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

Message ID 20250406092214.3602182-1-rameshkumar.sundaram@oss.qualcomm.com (mailing list archive)
Headers show
Series wifi: ath12k: set proper key flags and MIC space for CCMP256 and GCMP ciphers | expand

Message

Rameshkumar Sundaram April 6, 2025, 9:22 a.m. UTC
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