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.c2642 u16 wsc_len; in wpas_wps_nfc_rx_handover_sel() local
2662 wsc_len = WPA_GET_BE16(pos); in wpas_wps_nfc_rx_handover_sel()
2663 if (wsc_len > wpabuf_len(wps) - 2) { in wpas_wps_nfc_rx_handover_sel()
2665 "in Wi-Fi Handover Select Message", wsc_len); in wpas_wps_nfc_rx_handover_sel()
2672 pos, wsc_len); in wpas_wps_nfc_rx_handover_sel()
2673 if (wsc_len < wpabuf_len(wps) - 2) { in wpas_wps_nfc_rx_handover_sel()
2676 pos + wsc_len, wpabuf_len(wps) - 2 - wsc_len); in wpas_wps_nfc_rx_handover_sel()
2679 wpabuf_set(&msg, pos, wsc_len); in wpas_wps_nfc_rx_handover_sel()
2781 u16 wsc_len; in wpas_er_wps_nfc_report_handover() local
2803 wsc_len = WPA_GET_BE16(pos); in wpas_er_wps_nfc_report_handover()
[all …]
Dp2p_supplicant.c8794 size_t wsc_len; in wpas_p2p_nfc_handover() local
8802 wsc_len = wsc ? wpabuf_len(wsc) : 0; in wpas_p2p_nfc_handover()
8803 ret = wpabuf_alloc(2 + wsc_len + 2 + wpabuf_len(p2p)); in wpas_p2p_nfc_handover()
8810 wpabuf_put_be16(ret, wsc_len); in wpas_p2p_nfc_handover()
9091 params.wsc_len = len; in wpas_p2p_nfc_connection_handover()
9111 params.wsc_attr, params.wsc_len); in wpas_p2p_nfc_connection_handover()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c2119 u16 wsc_len; in hostapd_wps_nfc_report_handover() local
2141 wsc_len = WPA_GET_BE16(pos); in hostapd_wps_nfc_report_handover()
2142 if (wsc_len > wpabuf_len(wps) - 2) { in hostapd_wps_nfc_report_handover()
2144 "in rt Wi-Fi Handover Request Message", wsc_len); in hostapd_wps_nfc_report_handover()
2151 pos, wsc_len); in hostapd_wps_nfc_report_handover()
2152 if (wsc_len < wpabuf_len(wps) - 2) { in hostapd_wps_nfc_report_handover()
2155 pos + wsc_len, wpabuf_len(wps) - 2 - wsc_len); in hostapd_wps_nfc_report_handover()
2158 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.h719 int p2p_parse_ies_separate(const u8 *wsc, size_t wsc_len, const u8 *p2p,
Dp2p.h2340 size_t wsc_len; member
Dp2p.c5365 if (p2p_parse_ies_separate(params->wsc_attr, params->wsc_len, in p2p_process_nfc_connection_handover()