qcacmn: Add callback api to send stored keys

For STA MLO connection, the AP can send M1 right after assoc
response on assoc link, which will trigger sending keys to FW
for mlo links, but it can happen that wmi_peer_assoc is not
sent for mlo link until this time.
Current code does not have handling for this case.

To solve this, store the link vdev keys and send them once
link vdev is connected.

Change-Id: I882da96280711ca9cfa4d6ba852fda4a8b6d7a77
CRs-Fixed: 3293692
This commit is contained in:
Amruta Kulkarni
2022-09-15 15:35:39 -07:00
committed by Madan Koyyalamudi
szülő 3bdf954afc
commit 319456fee7
9 fájl változott, egészen pontosan 196 új sor hozzáadva és 40 régi sor törölve

Fájl megtekintése

@@ -50,6 +50,7 @@ void wlan_cfg80211_translate_key(struct wlan_objmgr_vdev *vdev,
qdf_mem_copy(&crypto_key->keyval[0], params->key, params->key_len);
qdf_mem_copy(&crypto_key->keyrsc[0], params->seq, params->seq_len);
crypto_key->key_type = key_type;
crypto_key->cipher_type = osif_nl_to_crypto_cipher_type(params->cipher);
if (IS_WEP_CIPHER(crypto_key->cipher_type) && !mac_addr) {
/*