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.c2683 u16 wsc_len; in wpas_wps_nfc_rx_handover_sel() local
2703 wsc_len = WPA_GET_BE16(pos); in wpas_wps_nfc_rx_handover_sel()
2704 if (wsc_len > wpabuf_len(wps) - 2) { in wpas_wps_nfc_rx_handover_sel()
2706 "in Wi-Fi Handover Select Message", wsc_len); in wpas_wps_nfc_rx_handover_sel()
2713 pos, wsc_len); in wpas_wps_nfc_rx_handover_sel()
2714 if (wsc_len < wpabuf_len(wps) - 2) { in wpas_wps_nfc_rx_handover_sel()
2717 pos + wsc_len, wpabuf_len(wps) - 2 - wsc_len); in wpas_wps_nfc_rx_handover_sel()
2720 wpabuf_set(&msg, pos, wsc_len); in wpas_wps_nfc_rx_handover_sel()
2822 u16 wsc_len; in wpas_er_wps_nfc_report_handover() local
2844 wsc_len = WPA_GET_BE16(pos); in wpas_er_wps_nfc_report_handover()
[all …]
H A Dp2p_supplicant.c9124 size_t wsc_len; in wpas_p2p_nfc_handover() local
9132 wsc_len = wsc ? wpabuf_len(wsc) : 0; in wpas_p2p_nfc_handover()
9133 ret = wpabuf_alloc(2 + wsc_len + 2 + wpabuf_len(p2p)); in wpas_p2p_nfc_handover()
9140 wpabuf_put_be16(ret, wsc_len); in wpas_p2p_nfc_handover()
9421 params.wsc_len = len; in wpas_p2p_nfc_connection_handover()
9441 params.wsc_attr, params.wsc_len); in wpas_p2p_nfc_connection_handover()
/freebsd/contrib/wpa/src/ap/
H A Dwps_hostapd.c2132 u16 wsc_len; in hostapd_wps_nfc_report_handover() local
2154 wsc_len = WPA_GET_BE16(pos); in hostapd_wps_nfc_report_handover()
2155 if (wsc_len > wpabuf_len(wps) - 2) { in hostapd_wps_nfc_report_handover()
2157 "in rt Wi-Fi Handover Request Message", wsc_len); in hostapd_wps_nfc_report_handover()
2164 pos, wsc_len); in hostapd_wps_nfc_report_handover()
2165 if (wsc_len < wpabuf_len(wps) - 2) { in hostapd_wps_nfc_report_handover()
2168 pos + wsc_len, wpabuf_len(wps) - 2 - wsc_len); in hostapd_wps_nfc_report_handover()
2171 wpabuf_set(&msg, pos, wsc_len); in hostapd_wps_nfc_report_handover()
/freebsd/contrib/wpa/src/p2p/
H A Dp2p_parse.c615 int p2p_parse_ies_separate(const u8 *wsc, size_t wsc_len, const u8 *p2p, in p2p_parse_ies_separate() argument
620 msg->wps_attributes = wpabuf_alloc_copy(wsc, wsc_len); in p2p_parse_ies_separate()
H A Dp2p_i.h715 int p2p_parse_ies_separate(const u8 *wsc, size_t wsc_len, const u8 *p2p,
H A Dp2p.h2349 size_t wsc_len; member
H A Dp2p.c5409 if (p2p_parse_ies_separate(params->wsc_attr, params->wsc_len, in p2p_process_nfc_connection_handover()