qcacld-3.0: Add pairwise key for all the link
Currently, we are storing all the keys based on vdev object. However, with n link mlo there is a need to add all the keys based on psoc level. This change is to add pairwise key based on psoc level. Change-Id: Ib2b53f800eeec0694514239a5d87052accadbc33 CRs-Fixed: 3565190
这个提交包含在:
@@ -1642,12 +1642,6 @@ cm_install_link_vdev_keys(struct wlan_objmgr_vdev *vdev)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!mlo_get_keys_saved(vdev, wlan_peer_get_macaddr(peer))) {
|
||||
mlo_debug("keys are not saved for vdev_id %d", vdev_id);
|
||||
wlan_objmgr_peer_release_ref(peer, WLAN_MLME_CM_ID);
|
||||
return;
|
||||
}
|
||||
|
||||
for (i = 0; i < max_key_index; i++) {
|
||||
crypto_key = wlan_crypto_get_key(vdev, i);
|
||||
if (!crypto_key)
|
||||
@@ -1659,9 +1653,7 @@ cm_install_link_vdev_keys(struct wlan_objmgr_vdev *vdev)
|
||||
mlme_cm_osif_send_keys(vdev, i, pairwise,
|
||||
crypto_key->cipher_type);
|
||||
}
|
||||
mlo_set_keys_saved(vdev,
|
||||
(struct qdf_mac_addr *)wlan_peer_get_macaddr(peer),
|
||||
false);
|
||||
|
||||
wlan_objmgr_peer_release_ref(peer, WLAN_MLME_CM_ID);
|
||||
}
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户