Lines Matching defs:pmkid
765 ie.num_pmkid != 1 || ie.pmkid == NULL) {
771 os_memcpy(sm->sup_pmk_r1_name, ie.pmkid, PMKID_LEN);
2008 u8 buf[2 + RSN_SELECTOR_LEN + PMKID_LEN], *pmkid = NULL;
2026 * TODO: Could add PMKID even with WPA2-PSK, but only if there is only
2032 pmkid = buf;
2034 pmkid[0] = WLAN_EID_VENDOR_SPECIFIC;
2035 pmkid[1] = RSN_SELECTOR_LEN + PMKID_LEN;
2036 RSN_SELECTOR_PUT(&pmkid[2], RSN_KEY_DATA_PMKID);
2038 os_memcpy(&pmkid[2 + RSN_SELECTOR_LEN],
2039 sm->pmksa->pmkid, PMKID_LEN);
2041 /* No KCK available to derive PMKID */
2042 pmkid = NULL;
2045 * Calculate PMKID since no PMKSA cache entry was
2046 * available with pre-calculated PMKID.
2049 sm->addr, &pmkid[2 + RSN_SELECTOR_LEN],
2055 sm->ANonce, pmkid, pmkid_len, 0, 0);
3844 const u8 *pmk, const u8 *pmkid)
3849 if (pmksa_cache_auth_add(wpa_auth->pmksa, pmk, PMK_LEN, pmkid,
3906 const u8 *pmkid, int expiration)
3911 entry = pmksa_cache_auth_create_entry(pmk, PMK_LEN, pmkid, NULL, 0, aa,
3945 const u8 *pmkid)
3949 return pmksa_cache_auth_get(wpa_auth->pmksa, sta_addr, pmkid);
3956 u8 *pmkid, u8 *pmk)
3963 os_memcpy(pmkid, pmksa->pmkid, PMKID_LEN);
3964 os_memcpy(wpa_auth->dot11RSNAPMKIDUsed, pmksa->pmkid, PMKID_LEN);