Select one of the symbols to view example projects that use it.
 
Outline
#include "includes.h"
#include "common.h"
#include "eap_peer/eap_defs.h"
#include "eap_peer/eap_common.h"
#include "wps/wps.h"
#include "eap_wsc_common.h"
eap_wsc_build_frag_ack(u8, u8)
Files
loading (4/5)...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/wpa_supplicant/src/eap_common/eap_wsc_common.c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * EAP-WSC common routines for Wi-Fi Protected Setup * Copyright (c) 2007, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. *//* ... */ #include "includes.h" #include "common.h" #include "eap_peer/eap_defs.h" #include "eap_peer/eap_common.h" #include "wps/wps.h" #include "eap_wsc_common.h"6 includes struct wpabuf * eap_wsc_build_frag_ack(u8 id, u8 code) { struct wpabuf *msg; msg = eap_msg_alloc(EAP_VENDOR_WFA, EAP_VENDOR_TYPE_WSC, 2, code, id); if (msg == NULL) { wpa_printf(MSG_ERROR, "EAP-WSC: Failed to allocate memory for " "FRAG_ACK"); return NULL; }{...} wpa_printf(MSG_DEBUG, "EAP-WSC: Send WSC/FRAG_ACK"); wpabuf_put_u8(msg, WSC_FRAG_ACK); /* Op-Code */ wpabuf_put_u8(msg, 0); /* Flags */ return msg; }{ ... }
Details
Show:
from
Types: Columns: