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.c2555 u16 wsc_len; in wpas_wps_nfc_rx_handover_sel() local
2575 wsc_len = WPA_GET_BE16(pos); in wpas_wps_nfc_rx_handover_sel()
2576 if (wsc_len > wpabuf_len(wps) - 2) { in wpas_wps_nfc_rx_handover_sel()
2578 "in Wi-Fi Handover Select Message", wsc_len); in wpas_wps_nfc_rx_handover_sel()
2585 pos, wsc_len); in wpas_wps_nfc_rx_handover_sel()
2586 if (wsc_len < wpabuf_len(wps) - 2) { in wpas_wps_nfc_rx_handover_sel()
2589 pos + wsc_len, wpabuf_len(wps) - 2 - wsc_len); in wpas_wps_nfc_rx_handover_sel()
2592 wpabuf_set(&msg, pos, wsc_len); in wpas_wps_nfc_rx_handover_sel()
2694 u16 wsc_len; in wpas_er_wps_nfc_report_handover() local
2716 wsc_len = WPA_GET_BE16(pos); in wpas_er_wps_nfc_report_handover()
[all …]
Dp2p_supplicant.c8191 size_t wsc_len; in wpas_p2p_nfc_handover() local
8199 wsc_len = wsc ? wpabuf_len(wsc) : 0; in wpas_p2p_nfc_handover()
8200 ret = wpabuf_alloc(2 + wsc_len + 2 + wpabuf_len(p2p)); in wpas_p2p_nfc_handover()
8207 wpabuf_put_be16(ret, wsc_len); in wpas_p2p_nfc_handover()
8485 params.wsc_len = len; in wpas_p2p_nfc_connection_handover()
8505 params.wsc_attr, params.wsc_len); in wpas_p2p_nfc_connection_handover()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c1875 u16 wsc_len; in hostapd_wps_nfc_report_handover() local
1897 wsc_len = WPA_GET_BE16(pos); in hostapd_wps_nfc_report_handover()
1898 if (wsc_len > wpabuf_len(wps) - 2) { in hostapd_wps_nfc_report_handover()
1900 "in rt Wi-Fi Handover Request Message", wsc_len); in hostapd_wps_nfc_report_handover()
1907 pos, wsc_len); in hostapd_wps_nfc_report_handover()
1908 if (wsc_len < wpabuf_len(wps) - 2) { in hostapd_wps_nfc_report_handover()
1911 pos + wsc_len, wpabuf_len(wps) - 2 - wsc_len); in hostapd_wps_nfc_report_handover()
1914 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.h2307 size_t wsc_len; member
Dp2p_i.h711 int p2p_parse_ies_separate(const u8 *wsc, size_t wsc_len, const u8 *p2p,
Dp2p.c5315 if (p2p_parse_ies_separate(params->wsc_attr, params->wsc_len, in p2p_process_nfc_connection_handover()