Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c2647 u16 wsc_len; in wpas_wps_nfc_rx_handover_sel() local
2667 wsc_len = WPA_GET_BE16(pos); in wpas_wps_nfc_rx_handover_sel()
2668 if (wsc_len > wpabuf_len(wps) - 2) { in wpas_wps_nfc_rx_handover_sel()
2677 pos, wsc_len); in wpas_wps_nfc_rx_handover_sel()
2681 pos + wsc_len, wpabuf_len(wps) - 2 - wsc_len); in wpas_wps_nfc_rx_handover_sel()
2684 wpabuf_set(&msg, pos, wsc_len); in wpas_wps_nfc_rx_handover_sel()
2786 u16 wsc_len; in wpas_er_wps_nfc_report_handover() local
2808 wsc_len = WPA_GET_BE16(pos); in wpas_er_wps_nfc_report_handover()
2818 pos, wsc_len); in wpas_er_wps_nfc_report_handover()
2822 pos + wsc_len, wpabuf_len(wps) - 2 - wsc_len); in wpas_er_wps_nfc_report_handover()
[all …]
H A Dp2p_supplicant.c8993 size_t wsc_len; in wpas_p2p_nfc_handover() local
9001 wsc_len = wsc ? wpabuf_len(wsc) : 0; in wpas_p2p_nfc_handover()
9002 ret = wpabuf_alloc(2 + wsc_len + 2 + wpabuf_len(p2p)); in wpas_p2p_nfc_handover()
9009 wpabuf_put_be16(ret, wsc_len); in wpas_p2p_nfc_handover()
9290 params.wsc_len = len; in wpas_p2p_nfc_connection_handover()
9310 params.wsc_attr, params.wsc_len); in wpas_p2p_nfc_connection_handover()
/freebsd/contrib/wpa/src/ap/
H A Dwps_hostapd.c2131 u16 wsc_len; in hostapd_wps_nfc_report_handover() local
2153 wsc_len = WPA_GET_BE16(pos); in hostapd_wps_nfc_report_handover()
2154 if (wsc_len > wpabuf_len(wps) - 2) { in hostapd_wps_nfc_report_handover()
2156 "in rt Wi-Fi Handover Request Message", wsc_len); in hostapd_wps_nfc_report_handover()
2163 pos, wsc_len); in hostapd_wps_nfc_report_handover()
2164 if (wsc_len < wpabuf_len(wps) - 2) { in hostapd_wps_nfc_report_handover()
2167 pos + wsc_len, wpabuf_len(wps) - 2 - wsc_len); in hostapd_wps_nfc_report_handover()
2170 wpabuf_set(&msg, pos, wsc_len); in hostapd_wps_nfc_report_handover()
/freebsd/contrib/wpa/src/p2p/
H A 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()
H A Dp2p_i.h713 int p2p_parse_ies_separate(const u8 *wsc, size_t wsc_len, const u8 *p2p,
H A Dp2p.h2344 size_t wsc_len; member
H A Dp2p.c5373 if (p2p_parse_ies_separate(params->wsc_attr, params->wsc_len, in p2p_process_nfc_connection_handover()