Home
last modified time | relevance | path

Searched refs:wsc_len (Results 1 – 7 of 7) sorted by relevance

/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c2597 u16 wsc_len; in wpas_wps_nfc_rx_handover_sel() local
2617 wsc_len = WPA_GET_BE16(pos); in wpas_wps_nfc_rx_handover_sel()
2618 if (wsc_len > wpabuf_len(wps) - 2) { in wpas_wps_nfc_rx_handover_sel()
2620 "in Wi-Fi Handover Select Message", wsc_len); in wpas_wps_nfc_rx_handover_sel()
2627 pos, wsc_len); in wpas_wps_nfc_rx_handover_sel()
2628 if (wsc_len < wpabuf_len(wps) - 2) { in wpas_wps_nfc_rx_handover_sel()
2631 pos + wsc_len, wpabuf_len(wps) - 2 - wsc_len); in wpas_wps_nfc_rx_handover_sel()
2634 wpabuf_set(&msg, pos, wsc_len); in wpas_wps_nfc_rx_handover_sel()
2736 u16 wsc_len; in wpas_er_wps_nfc_report_handover() local
2758 wsc_len = WPA_GET_BE16(pos); in wpas_er_wps_nfc_report_handover()
[all …]
Dp2p_supplicant.c8490 size_t wsc_len; in wpas_p2p_nfc_handover() local
8498 wsc_len = wsc ? wpabuf_len(wsc) : 0; in wpas_p2p_nfc_handover()
8499 ret = wpabuf_alloc(2 + wsc_len + 2 + wpabuf_len(p2p)); in wpas_p2p_nfc_handover()
8506 wpabuf_put_be16(ret, wsc_len); in wpas_p2p_nfc_handover()
8785 params.wsc_len = len; in wpas_p2p_nfc_connection_handover()
8805 params.wsc_attr, params.wsc_len); in wpas_p2p_nfc_connection_handover()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c1937 u16 wsc_len; in hostapd_wps_nfc_report_handover() local
1959 wsc_len = WPA_GET_BE16(pos); in hostapd_wps_nfc_report_handover()
1960 if (wsc_len > wpabuf_len(wps) - 2) { in hostapd_wps_nfc_report_handover()
1962 "in rt Wi-Fi Handover Request Message", wsc_len); in hostapd_wps_nfc_report_handover()
1969 pos, wsc_len); in hostapd_wps_nfc_report_handover()
1970 if (wsc_len < wpabuf_len(wps) - 2) { in hostapd_wps_nfc_report_handover()
1973 pos + wsc_len, wpabuf_len(wps) - 2 - wsc_len); in hostapd_wps_nfc_report_handover()
1976 wpabuf_set(&msg, pos, wsc_len); in hostapd_wps_nfc_report_handover()
/external/wpa_supplicant_8/src/p2p/
Dp2p_parse.c594 int p2p_parse_ies_separate(const u8 *wsc, size_t wsc_len, const u8 *p2p, in p2p_parse_ies_separate() argument
599 msg->wps_attributes = wpabuf_alloc_copy(wsc, wsc_len); in p2p_parse_ies_separate()
Dp2p_i.h731 int p2p_parse_ies_separate(const u8 *wsc, size_t wsc_len, const u8 *p2p,
Dp2p.h2330 size_t wsc_len; member
Dp2p.c5414 if (p2p_parse_ies_separate(params->wsc_attr, params->wsc_len, in p2p_process_nfc_connection_handover()