9 #ifndef WPS_ATTR_PARSE_H 10 #define WPS_ATTR_PARSE_H 19 const u8 *enrollee_nonce;
20 const u8 *registrar_nonce;
23 const u8 *auth_type_flags;
24 const u8 *encr_type_flags;
25 const u8 *conn_type_flags;
26 const u8 *config_methods;
27 const u8 *sel_reg_config_methods;
28 const u8 *primary_dev_type;
30 const u8 *assoc_state;
31 const u8 *config_error;
32 const u8 *dev_password_id;
35 const u8 *authenticator;
44 const u8 *key_wrap_auth;
47 const u8 *network_idx;
48 const u8 *network_key_idx;
50 const u8 *selected_registrar;
51 const u8 *request_type;
52 const u8 *response_type;
53 const u8 *ap_setup_locked;
54 const u8 *settings_delay_time;
55 const u8 *network_key_shareable;
56 const u8 *request_to_enroll;
58 const u8 *registrar_configuration_methods;
61 const u8 *manufacturer;
63 const u8 *model_number;
64 const u8 *serial_number;
67 const u8 *encr_settings;
69 const u8 *network_key;
70 const u8 *authorized_macs;
71 const u8 *sec_dev_type_list;
72 const u8 *oob_dev_password;
76 u16 serial_number_len;
79 u16 encr_settings_len;
82 u16 authorized_macs_len;
83 u16 sec_dev_type_list_len;
84 u16 oob_dev_password_len;
87 #define MAX_CRED_COUNT 10 88 #define MAX_REQ_DEV_TYPE_COUNT 10 90 unsigned int num_cred;
91 unsigned int num_req_dev_type;
92 unsigned int num_vendor_ext;
94 u16 cred_len[MAX_CRED_COUNT];
95 u16 vendor_ext_len[MAX_WPS_PARSE_VENDOR_EXT];
97 const u8 *cred[MAX_CRED_COUNT];
98 const u8 *req_dev_type[MAX_REQ_DEV_TYPE_COUNT];
99 const u8 *vendor_ext[MAX_WPS_PARSE_VENDOR_EXT];
Definition: wps_attr_parse.h:14