5 #ifndef WPS_ATTR_PARSE_H
6 #define WPS_ATTR_PARSE_H
15 const u8 *enrollee_nonce;
16 const u8 *registrar_nonce;
19 const u8 *auth_type_flags;
20 const u8 *encr_type_flags;
21 const u8 *conn_type_flags;
22 const u8 *config_methods;
23 const u8 *sel_reg_config_methods;
24 const u8 *primary_dev_type;
26 const u8 *assoc_state;
27 const u8 *config_error;
28 const u8 *dev_password_id;
31 const u8 *authenticator;
40 const u8 *key_wrap_auth;
43 const u8 *network_idx;
44 const u8 *network_key_idx;
46 const u8 *selected_registrar;
47 const u8 *request_type;
48 const u8 *response_type;
49 const u8 *ap_setup_locked;
50 const u8 *settings_delay_time;
51 const u8 *network_key_shareable;
52 const u8 *request_to_enroll;
54 const u8 *registrar_configuration_methods;
57 const u8 *manufacturer;
59 const u8 *model_number;
60 const u8 *serial_number;
63 const u8 *encr_settings;
65 const u8 *network_key;
66 const u8 *authorized_macs;
67 const u8 *sec_dev_type_list;
68 const u8 *oob_dev_password;
72 u16 serial_number_len;
75 u16 encr_settings_len;
78 u16 authorized_macs_len;
79 u16 sec_dev_type_list_len;
80 u16 oob_dev_password_len;
83 #define MAX_CRED_COUNT 10
84 #define MAX_REQ_DEV_TYPE_COUNT 10
86 unsigned int num_cred;
87 unsigned int num_req_dev_type;
88 unsigned int num_vendor_ext;
90 u16 cred_len[MAX_CRED_COUNT];
91 u16 vendor_ext_len[MAX_WPS_PARSE_VENDOR_EXT];
93 const u8 *cred[MAX_CRED_COUNT];
94 const u8 *req_dev_type[MAX_REQ_DEV_TYPE_COUNT];
95 const u8 *vendor_ext[MAX_WPS_PARSE_VENDOR_EXT];
Definition: wps_attr_parse.h:10