]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: Resolve multicast packet drop by populating key_cipher in ath12k_instal...
authorAaradhana Sahu <aaradhana.sahu@oss.qualcomm.com>
Thu, 3 Apr 2025 08:22:06 +0000 (13:52 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Sat, 12 Apr 2025 04:19:28 +0000 (21:19 -0700)
commitd61c0b3c63462d17e63e5a2b4815e0f1ad17f57e
tree1492006d155a87307645063f686f798908b4ccfb
parent6177c97fb6f05bf0473a2806e3bece7e77693209
wifi: ath12k: Resolve multicast packet drop by populating key_cipher in ath12k_install_key()

Currently, the key_cipher in the ath12k_vif structure, which represents the
group cipher of the MLD AP, is populated when the link address matches the
ieee80211_vif address within ath12k_install_key().

However, in MLD AP, the link address and ieee80211_vif address can differ.
Due to this key_cipher is not populated and multicast packets don't get the
correct cipher information and resulting multicast packets drop.

To fix this, compare the link address with the arvif->bssid instead of the
ieee80211_vif address.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00209-QCAHKSWPL_SILICONZ-1

Fixes: 3dd2c68f206ef ("wifi: ath12k: prepare vif data structure for MLO handling")
Signed-off-by: Aaradhana Sahu <aaradhana.sahu@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250403082207.3323938-2-aaradhana.sahu@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/mac.c