1 /*
2  * Copyright (C) 2015-2018 Alibaba Group Holding Limited
3  */
4 
5 #ifndef __AWSS_WPS_H__
6 #define __AWSS_WPS_H__
7 
8 #ifdef AWSS_SUPPORT_SMARTCONFIG_WPS
9 
10 #include <stdint.h>
11 
12 #include "os.h"
13 #include "zconfig_ieee80211.h"
14 
15 #if defined(__cplusplus) /* If this is a C++ compiler, use C linkage */
16 extern "C" {
17 #endif
18 
19 #define WLAN_OUI_MICROSOFT          (0x0050F2)
20 #define WLAN_OUI_WPS                (0x0050F2)
21 #define WLAN_OUI_TYPE_MICROSOFT_WPA (1)
22 #define WLAN_OUI_TYPE_WPS           (4)
23 
24 int awss_recv_callback_wps(struct parser_res *res);
25 int awss_ieee80211_wps_process(uint8_t *mgmt_header, int len, int link_type,
26                                struct parser_res *res, signed char rssi);
27 
28 #if defined(__cplusplus) /* If this is a C++ compiler, use C linkage */
29 }
30 #endif
31 #endif /* end AWSS_SUPPORT_SMARTCONFIG_WPS */
32 #endif
33