Lines Matching refs:wsc_len
2683 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()
2845 if (wsc_len > wpabuf_len(wps) - 2) { in wpas_er_wps_nfc_report_handover()
2847 "in rt Wi-Fi Handover Request Message", wsc_len); in wpas_er_wps_nfc_report_handover()
2854 pos, wsc_len); in wpas_er_wps_nfc_report_handover()
2855 if (wsc_len < wpabuf_len(wps) - 2) { in wpas_er_wps_nfc_report_handover()
2858 pos + wsc_len, wpabuf_len(wps) - 2 - wsc_len); in wpas_er_wps_nfc_report_handover()
2861 wpabuf_set(&msg, pos, wsc_len); in wpas_er_wps_nfc_report_handover()