Home
last modified time | relevance | path

Searched refs:pmkid_cache (Results 1 – 5 of 5) sorted by relevance

/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/core/src/
H A Dwlan_cm_roam_fw_sync.c797 struct wlan_crypto_pmksa *pmkid_cache, *pmksa; in cm_process_roam_keys() local
812 pmkid_cache = qdf_mem_malloc(sizeof(*pmkid_cache)); in cm_process_roam_keys()
813 if (!pmkid_cache) { in cm_process_roam_keys()
819 wlan_vdev_get_bss_peer_mac_for_pmksa(vdev, &pmkid_cache->bssid); in cm_process_roam_keys()
823 QDF_MAC_ADDR_REF(pmkid_cache->bssid.bytes), akm); in cm_process_roam_keys()
831 pmkid_cache)) { in cm_process_roam_keys()
881 qdf_mem_zero(pmkid_cache, in cm_process_roam_keys()
882 sizeof(*pmkid_cache)); in cm_process_roam_keys()
883 qdf_mem_free(pmkid_cache); in cm_process_roam_keys()
908 qdf_mem_copy(pmkid_cache->pmkid, in cm_process_roam_keys()
[all …]
H A Dwlan_cm_roam_offload.c5687 struct wlan_crypto_pmksa *pmkid_cache, *roam_sync_pmksa; in cm_check_and_set_sae_single_pmk_cap() local
5742 pmkid_cache = qdf_mem_malloc(sizeof(*pmkid_cache)); in cm_check_and_set_sae_single_pmk_cap()
5743 if (!pmkid_cache) in cm_check_and_set_sae_single_pmk_cap()
5746 qdf_copy_macaddr(&pmkid_cache->bssid, &bssid); in cm_check_and_set_sae_single_pmk_cap()
5755 cm_lookup_pmkid_using_bssid(psoc, vdev_id, pmkid_cache); in cm_check_and_set_sae_single_pmk_cap()
5762 qdf_mem_zero(pmkid_cache, sizeof(*pmkid_cache)); in cm_check_and_set_sae_single_pmk_cap()
5763 qdf_mem_free(pmkid_cache); in cm_check_and_set_sae_single_pmk_cap()
5767 qdf_mem_copy(pmk_info->pmk, pmkid_cache->pmk, in cm_check_and_set_sae_single_pmk_cap()
5768 pmkid_cache->pmk_len); in cm_check_and_set_sae_single_pmk_cap()
5769 pmk_info->pmk_len = pmkid_cache->pmk_len; in cm_check_and_set_sae_single_pmk_cap()
[all …]
/wlan-driver/qcacld-3.0/core/sme/src/csr/
H A Dcsr_util.c1069 struct wlan_crypto_pmksa *pmkid_cache; in csr_is_pmkid_found_for_peer() local
1071 pmkid_cache = qdf_mem_malloc(sizeof(*pmkid_cache)); in csr_is_pmkid_found_for_peer()
1072 if (!pmkid_cache) in csr_is_pmkid_found_for_peer()
1075 qdf_mem_copy(pmkid_cache->bssid.bytes, peer_mac_addr, in csr_is_pmkid_found_for_peer()
1079 pmkid_cache)) { in csr_is_pmkid_found_for_peer()
1080 qdf_mem_free(pmkid_cache); in csr_is_pmkid_found_for_peer()
1084 session_pmkid = pmkid_cache->pmkid; in csr_is_pmkid_found_for_peer()
1088 qdf_mem_free(pmkid_cache); in csr_is_pmkid_found_for_peer()
1094 qdf_mem_free(pmkid_cache); in csr_is_pmkid_found_for_peer()
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
H A Dlim_process_assoc_req_frame.c2152 struct wlan_crypto_pmksa *pmkid_cache; in lim_is_pmkid_found_for_peer() local
2154 pmkid_cache = qdf_mem_malloc(sizeof(*pmkid_cache)); in lim_is_pmkid_found_for_peer()
2156 if (!pmkid_cache) in lim_is_pmkid_found_for_peer()
2159 qdf_mem_copy(pmkid_cache->bssid.bytes, peer_mac_addr, in lim_is_pmkid_found_for_peer()
2163 pmkid_cache)) { in lim_is_pmkid_found_for_peer()
2164 qdf_mem_free(pmkid_cache); in lim_is_pmkid_found_for_peer()
2168 session_pmkid = pmkid_cache->pmkid; in lim_is_pmkid_found_for_peer()
2172 qdf_mem_free(pmkid_cache); in lim_is_pmkid_found_for_peer()
2178 qdf_mem_free(pmkid_cache); in lim_is_pmkid_found_for_peer()
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/crypto/src/
H A Dwlan_crypto_global_api.c458 struct wlan_crypto_pmksa *pmkid_cache = NULL; in wlan_crypto_set_del_pmksa() local
480 pmkid_cache = wlan_crypto_get_pmksa(vdev, &pmksa->bssid); in wlan_crypto_set_del_pmksa()
481 if (pmkid_cache && (pmksa->pmk_len && in wlan_crypto_set_del_pmksa()
482 pmksa->pmk_len == pmkid_cache->pmk_len && in wlan_crypto_set_del_pmksa()
483 !qdf_mem_cmp(pmkid_cache->pmk, pmksa->pmk, in wlan_crypto_set_del_pmksa()
486 pmkid_cache = NULL; in wlan_crypto_set_del_pmksa()