/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa_ie.c | 110 static int wpa_gen_wpa_ie_rsn(u8 *rsn_ie, size_t rsn_ie_len, in wpa_gen_wpa_ie_rsn() argument 128 hdr = (struct rsn_ie_hdr *) rsn_ie; in wpa_gen_wpa_ie_rsn() 222 hdr->len = (pos - rsn_ie) - 2; in wpa_gen_wpa_ie_rsn() 224 WPA_ASSERT((size_t) (pos - rsn_ie) <= rsn_ie_len); in wpa_gen_wpa_ie_rsn() 226 return pos - rsn_ie; in wpa_gen_wpa_ie_rsn() 390 ie->rsn_ie = pos; in wpa_supplicant_parse_ies() 393 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_parse_ies()
|
D | peerkey.c | 199 if (kde.rsn_ie == NULL || kde.mac_addr == NULL || in wpa_supplicant_process_smk_m2() 215 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_supplicant_process_smk_m2() 243 os_memcpy(peerkey->rsnie_i, kde.rsn_ie, kde.rsn_ie_len); in wpa_supplicant_process_smk_m2() 475 if (kde->rsn_ie == NULL || kde->rsn_ie_len > PEERKEY_MAX_IE_LEN || in wpa_supplicant_process_smk_m5() 476 wpa_parse_wpa_ie_rsn(kde->rsn_ie, kde->rsn_ie_len, &ie) < 0) { in wpa_supplicant_process_smk_m5() 495 os_memcpy(peerkey->rsnie_p, kde->rsn_ie, kde->rsn_ie_len); in wpa_supplicant_process_smk_m5() 794 kde.pmkid == NULL || kde.rsn_ie == NULL) { in wpa_supplicant_process_stk_2_of_4() 806 os_memcmp(kde.rsn_ie, peerkey->rsnie_p, kde.rsn_ie_len) != 0) { in wpa_supplicant_process_stk_2_of_4() 812 kde.rsn_ie, kde.rsn_ie_len); in wpa_supplicant_process_stk_2_of_4() 851 os_memcmp(kde.rsn_ie, peerkey->rsnie_i, kde.rsn_ie_len) != 0) { in wpa_supplicant_process_stk_3_of_4() [all …]
|
D | tdls.c | 1441 if (kde.rsn_ie) { in wpa_tdls_process_tpk_m1() 1451 kde.rsn_ie == NULL) { in wpa_tdls_process_tpk_m1() 1464 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_tdls_process_tpk_m1() 1576 os_memcpy(peer->rsnie_i, kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m1() 1589 hdr = (struct rsn_ie_hdr *) kde.rsn_ie; in wpa_tdls_process_tpk_m1() 1783 kde.rsn_ie == NULL) { in wpa_tdls_process_tpk_m2() 1789 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2() 1798 os_memcmp(peer->rsnie_i, kde.rsn_ie, peer->rsnie_i_len) != 0) { in wpa_tdls_process_tpk_m2() 1804 kde.rsn_ie, kde.rsn_ie_len); in wpa_tdls_process_tpk_m2() 1809 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_tdls_process_tpk_m2() [all …]
|
D | wpa_ie.h | 17 const u8 *rsn_ie; member
|
D | wpa.c | 784 const u8 *rsn_ie, size_t rsn_ie_len) in wpa_report_ie_mismatch() argument 806 if (rsn_ie) { in wpa_report_ie_mismatch() 812 rsn_ie, rsn_ie_len); in wpa_report_ie_mismatch() 886 if (!ie->rsn_ie) in ft_validate_rsnie() 893 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 || in ft_validate_rsnie() 969 if (ie->wpa_ie == NULL && ie->rsn_ie == NULL && in wpa_supplicant_validate_ie() 974 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 981 (ie->rsn_ie && sm->ap_rsn_ie && in wpa_supplicant_validate_ie() 984 ie->rsn_ie, ie->rsn_ie_len))) { in wpa_supplicant_validate_ie() 988 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
D | wpa_ie.c | 254 static int wpa_gen_wpa_ie_rsn(u8 *rsn_ie, size_t rsn_ie_len, in wpa_gen_wpa_ie_rsn() argument 272 hdr = (struct rsn_ie_hdr *) rsn_ie; in wpa_gen_wpa_ie_rsn() 364 hdr->len = (pos - rsn_ie) - 2; in wpa_gen_wpa_ie_rsn() 366 WPA_ASSERT((size_t) (pos - rsn_ie) <= rsn_ie_len); in wpa_gen_wpa_ie_rsn() 368 return pos - rsn_ie; in wpa_gen_wpa_ie_rsn() 514 ie->rsn_ie = pos; in wpa_supplicant_parse_ies()
|
D | peerkey.c | 204 if (kde.rsn_ie == NULL || kde.mac_addr == NULL || in wpa_supplicant_process_smk_m2() 220 if (wpa_parse_wpa_ie_rsn(kde.rsn_ie, kde.rsn_ie_len, &ie) < 0) { in wpa_supplicant_process_smk_m2() 248 os_memcpy(peerkey->rsnie_i, kde.rsn_ie, kde.rsn_ie_len); in wpa_supplicant_process_smk_m2() 480 if (kde->rsn_ie == NULL || kde->rsn_ie_len > PEERKEY_MAX_IE_LEN || in wpa_supplicant_process_smk_m5() 481 wpa_parse_wpa_ie_rsn(kde->rsn_ie, kde->rsn_ie_len, &ie) < 0) { in wpa_supplicant_process_smk_m5() 500 os_memcpy(peerkey->rsnie_p, kde->rsn_ie, kde->rsn_ie_len); in wpa_supplicant_process_smk_m5() 797 kde.pmkid == NULL || kde.rsn_ie == NULL) { in wpa_supplicant_process_stk_2_of_4() 809 os_memcmp(kde.rsn_ie, peerkey->rsnie_p, kde.rsn_ie_len) != 0) { in wpa_supplicant_process_stk_2_of_4() 815 kde.rsn_ie, kde.rsn_ie_len); in wpa_supplicant_process_stk_2_of_4() 854 os_memcmp(kde.rsn_ie, peerkey->rsnie_i, kde.rsn_ie_len) != 0) { in wpa_supplicant_process_stk_3_of_4() [all …]
|
D | wpa_ie.h | 21 const u8 *rsn_ie; member
|
D | wpa.c | 783 const u8 *rsn_ie, size_t rsn_ie_len) in wpa_report_ie_mismatch() argument 805 if (rsn_ie) { in wpa_report_ie_mismatch() 811 rsn_ie, rsn_ie_len); in wpa_report_ie_mismatch() 834 if (ie->wpa_ie == NULL && ie->rsn_ie == NULL && in wpa_supplicant_validate_ie() 839 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 846 (ie->rsn_ie && sm->ap_rsn_ie && in wpa_supplicant_validate_ie() 848 os_memcmp(ie->rsn_ie, sm->ap_rsn_ie, ie->rsn_ie_len) != 0))) { in wpa_supplicant_validate_ie() 852 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie() 857 ie->rsn_ie && sm->ap_rsn_ie == NULL && sm->rsn_enabled) { in wpa_supplicant_validate_ie() 863 ie->rsn_ie, ie->rsn_ie_len); in wpa_supplicant_validate_ie()
|
/external/wpa_supplicant_8/src/ap/ |
D | peerkey_auth.c | 95 if (kde.rsn_ie == NULL || kde.mac_addr == NULL || in wpa_smk_m1() 122 os_memcpy(buf, kde.rsn_ie, kde.rsn_ie_len); in wpa_smk_m1() 224 os_memcpy(buf, kde->rsn_ie, kde->rsn_ie_len); in wpa_send_smk_m5() 268 if (kde.rsn_ie == NULL || in wpa_smk_m3()
|
D | wpa_auth_ie.h | 15 const u8 *rsn_ie; member
|
D | drv_callbacks.c | 63 } else if (elems.rsn_ie) { in hostapd_notif_assoc() 64 ie = elems.rsn_ie - 2; in hostapd_notif_assoc()
|
/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
D | ieee802_11_common.h | 42 u8 *rsn_ie; member
|
D | ieee802_11_common.c | 210 elems->rsn_ie = pos; in ieee802_11_parse_elems()
|
D | wpa_common.c | 243 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len, in wpa_parse_wpa_ie_rsn() argument 277 hdr = (const struct rsn_ie_hdr *) rsn_ie; in wpa_parse_wpa_ie_rsn()
|
D | wpa_common.h | 332 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len,
|
/external/wpa_supplicant_8/src/common/ |
D | ieee802_11_common.h | 25 const u8 *rsn_ie; member
|
D | ieee802_11_common.c | 220 elems->rsn_ie = pos; in ieee802_11_parse_elems()
|
D | wpa_common.h | 340 int wpa_parse_wpa_ie_rsn(const u8 *rsn_ie, size_t rsn_ie_len,
|
/external/wpa_supplicant_6/wpa_supplicant/ |
D | events.c | 285 const u8 *rsn_ie, *wpa_ie; in wpa_supplicant_ssid_bss_match() local 292 rsn_ie = wpa_scan_get_ie(bss, WLAN_EID_RSN); in wpa_supplicant_ssid_bss_match() 293 while ((ssid->proto & WPA_PROTO_RSN) && rsn_ie) { in wpa_supplicant_ssid_bss_match() 296 if (wpa_parse_wpa_ie(rsn_ie, 2 + rsn_ie[1], &ie)) { in wpa_supplicant_ssid_bss_match()
|
D | mlme.c | 71 u8 *rsn_ie; member 1258 os_free(bss->rsn_ie); in ieee80211_bss_free() 1474 if (elems.rsn_ie && in ieee80211_bss_info() 1475 (bss->rsn_ie == NULL || bss->rsn_ie_len != elems.rsn_ie_len || in ieee80211_bss_info() 1476 os_memcmp(bss->rsn_ie, elems.rsn_ie, elems.rsn_ie_len))) { in ieee80211_bss_info() 1477 os_free(bss->rsn_ie); in ieee80211_bss_info() 1478 bss->rsn_ie = os_malloc(elems.rsn_ie_len + 2); in ieee80211_bss_info() 1479 if (bss->rsn_ie) { in ieee80211_bss_info() 1480 os_memcpy(bss->rsn_ie, elems.rsn_ie - 2, in ieee80211_bss_info() 1485 } else if (!elems.rsn_ie && bss->rsn_ie) { in ieee80211_bss_info() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | driver_ralink.c | 700 UCHAR rsn_ie[40]; in wpa_driver_ralink_event_wireless() member 725 os_memcpy(wpa_s->scan_results[0].rsn_ie, pApInfo->rsn_ie, pApInfo->rsn_ie_len); in wpa_driver_ralink_event_wireless() 1146 os_memcpy(results[ap_num].rsn_ie, pos, ielen); in wpa_driver_ralink_get_scan_results()
|
D | driver.h | 70 u8 rsn_ie[SSID_MAX_WPA_IE_LEN]; member
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_madwifi.c | 852 ie.rsn_ie, IEEE80211_MAX_OPT_IE); in madwifi_new_sta() 853 if (iebuf[1] == 0 && ie.rsn_ie[1] > 0) { in madwifi_new_sta() 856 iebuf = ie.rsn_ie; in madwifi_new_sta()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | events.c | 329 const u8 *rsn_ie, *wpa_ie; in wpa_supplicant_ssid_bss_match() local 343 rsn_ie = wpa_scan_get_ie(bss, WLAN_EID_RSN); in wpa_supplicant_ssid_bss_match() 344 while ((ssid->proto & WPA_PROTO_RSN) && rsn_ie) { in wpa_supplicant_ssid_bss_match() 347 if (wpa_parse_wpa_ie(rsn_ie, 2 + rsn_ie[1], &ie)) { in wpa_supplicant_ssid_bss_match()
|