Lines Matching refs:mandatory
22 static int wps_validate_version(const u8 *version, int mandatory) in wps_validate_version() argument
25 if (mandatory) { in wps_validate_version()
41 static int wps_validate_version2(const u8 *version2, int mandatory) in wps_validate_version2() argument
44 if (mandatory) { in wps_validate_version2()
60 static int wps_validate_request_type(const u8 *request_type, int mandatory) in wps_validate_request_type() argument
63 if (mandatory) { in wps_validate_request_type()
79 static int wps_validate_response_type(const u8 *response_type, int mandatory) in wps_validate_response_type() argument
82 if (mandatory) { in wps_validate_response_type()
118 int mandatory) in wps_validate_config_methods() argument
123 if (mandatory) { in wps_validate_config_methods()
142 int mandatory) in wps_validate_ap_config_methods() argument
146 if (wps_validate_config_methods(config_methods, wps2, mandatory) < 0) in wps_validate_ap_config_methods()
162 static int wps_validate_uuid_e(const u8 *uuid_e, int mandatory) in wps_validate_uuid_e() argument
165 if (mandatory) { in wps_validate_uuid_e()
176 static int wps_validate_uuid_r(const u8 *uuid_r, int mandatory) in wps_validate_uuid_r() argument
179 if (mandatory) { in wps_validate_uuid_r()
191 int mandatory) in wps_validate_primary_dev_type() argument
194 if (mandatory) { in wps_validate_primary_dev_type()
205 static int wps_validate_rf_bands(const u8 *rf_bands, int mandatory) in wps_validate_rf_bands() argument
208 if (mandatory) { in wps_validate_rf_bands()
225 static int wps_validate_assoc_state(const u8 *assoc_state, int mandatory) in wps_validate_assoc_state() argument
229 if (mandatory) { in wps_validate_assoc_state()
246 static int wps_validate_config_error(const u8 *config_error, int mandatory) in wps_validate_config_error() argument
251 if (mandatory) { in wps_validate_config_error()
269 int mandatory) in wps_validate_dev_password_id() argument
274 if (mandatory) { in wps_validate_dev_password_id()
292 int mandatory) in wps_validate_manufacturer() argument
295 if (mandatory) { in wps_validate_manufacturer()
312 int mandatory) in wps_validate_model_name() argument
315 if (mandatory) { in wps_validate_model_name()
332 int mandatory) in wps_validate_model_number() argument
335 if (mandatory) { in wps_validate_model_number()
352 int mandatory) in wps_validate_serial_number() argument
355 if (mandatory) { in wps_validate_serial_number()
373 int mandatory) in wps_validate_dev_name() argument
376 if (mandatory) { in wps_validate_dev_name()
393 int mandatory) in wps_validate_request_to_enroll() argument
396 if (mandatory) { in wps_validate_request_to_enroll()
413 int mandatory) in wps_validate_req_dev_type() argument
416 if (mandatory) { in wps_validate_req_dev_type()
427 static int wps_validate_wps_state(const u8 *wps_state, int mandatory) in wps_validate_wps_state() argument
430 if (mandatory) { in wps_validate_wps_state()
448 int mandatory) in wps_validate_ap_setup_locked() argument
451 if (mandatory) { in wps_validate_ap_setup_locked()
468 int mandatory) in wps_validate_selected_registrar() argument
471 if (mandatory) { in wps_validate_selected_registrar()
488 int wps2, int mandatory) in wps_validate_sel_reg_config_methods() argument
493 if (mandatory) { in wps_validate_sel_reg_config_methods()
513 int mandatory) in wps_validate_authorized_macs() argument
516 if (mandatory) { in wps_validate_authorized_macs()
532 static int wps_validate_msg_type(const u8 *msg_type, int mandatory) in wps_validate_msg_type() argument
535 if (mandatory) { in wps_validate_msg_type()
551 static int wps_validate_mac_addr(const u8 *mac_addr, int mandatory) in wps_validate_mac_addr() argument
554 if (mandatory) { in wps_validate_mac_addr()
570 static int wps_validate_enrollee_nonce(const u8 *enrollee_nonce, int mandatory) in wps_validate_enrollee_nonce() argument
573 if (mandatory) { in wps_validate_enrollee_nonce()
585 int mandatory) in wps_validate_registrar_nonce() argument
588 if (mandatory) { in wps_validate_registrar_nonce()
600 int mandatory) in wps_validate_public_key() argument
603 if (mandatory) { in wps_validate_public_key()
628 static int wps_validate_auth_type_flags(const u8 *flags, int mandatory) in wps_validate_auth_type_flags() argument
633 if (mandatory) { in wps_validate_auth_type_flags()
650 static int wps_validate_auth_type(const u8 *type, int mandatory) in wps_validate_auth_type() argument
655 if (mandatory) { in wps_validate_auth_type()
674 static int wps_validate_encr_type_flags(const u8 *flags, int mandatory) in wps_validate_encr_type_flags() argument
679 if (mandatory) { in wps_validate_encr_type_flags()
696 static int wps_validate_encr_type(const u8 *type, int mandatory) in wps_validate_encr_type() argument
701 if (mandatory) { in wps_validate_encr_type()
719 static int wps_validate_conn_type_flags(const u8 *flags, int mandatory) in wps_validate_conn_type_flags() argument
722 if (mandatory) { in wps_validate_conn_type_flags()
739 static int wps_validate_os_version(const u8 *os_version, int mandatory) in wps_validate_os_version() argument
742 if (mandatory) { in wps_validate_os_version()
753 static int wps_validate_authenticator(const u8 *authenticator, int mandatory) in wps_validate_authenticator() argument
756 if (mandatory) { in wps_validate_authenticator()
767 static int wps_validate_e_hash1(const u8 *hash, int mandatory) in wps_validate_e_hash1() argument
770 if (mandatory) { in wps_validate_e_hash1()
781 static int wps_validate_e_hash2(const u8 *hash, int mandatory) in wps_validate_e_hash2() argument
784 if (mandatory) { in wps_validate_e_hash2()
795 static int wps_validate_r_hash1(const u8 *hash, int mandatory) in wps_validate_r_hash1() argument
798 if (mandatory) { in wps_validate_r_hash1()
809 static int wps_validate_r_hash2(const u8 *hash, int mandatory) in wps_validate_r_hash2() argument
812 if (mandatory) { in wps_validate_r_hash2()
824 int mandatory) in wps_validate_encr_settings() argument
827 if (mandatory) { in wps_validate_encr_settings()
843 static int wps_validate_settings_delay_time(const u8 *delay, int mandatory) in wps_validate_settings_delay_time() argument
846 if (mandatory) { in wps_validate_settings_delay_time()
857 static int wps_validate_r_snonce1(const u8 *nonce, int mandatory) in wps_validate_r_snonce1() argument
860 if (mandatory) { in wps_validate_r_snonce1()
871 static int wps_validate_r_snonce2(const u8 *nonce, int mandatory) in wps_validate_r_snonce2() argument
874 if (mandatory) { in wps_validate_r_snonce2()
885 static int wps_validate_e_snonce1(const u8 *nonce, int mandatory) in wps_validate_e_snonce1() argument
888 if (mandatory) { in wps_validate_e_snonce1()
899 static int wps_validate_e_snonce2(const u8 *nonce, int mandatory) in wps_validate_e_snonce2() argument
902 if (mandatory) { in wps_validate_e_snonce2()
913 static int wps_validate_key_wrap_auth(const u8 *auth, int mandatory) in wps_validate_key_wrap_auth() argument
916 if (mandatory) { in wps_validate_key_wrap_auth()
927 static int wps_validate_ssid(const u8 *ssid, size_t ssid_len, int mandatory) in wps_validate_ssid() argument
930 if (mandatory) { in wps_validate_ssid()
946 static int wps_validate_network_key_index(const u8 *idx, int mandatory) in wps_validate_network_key_index() argument
949 if (mandatory) { in wps_validate_network_key_index()
960 static int wps_validate_network_idx(const u8 *idx, int mandatory) in wps_validate_network_idx() argument
963 if (mandatory) { in wps_validate_network_idx()
975 const u8 *encr_type, int mandatory) in wps_validate_network_key() argument
978 if (mandatory) { in wps_validate_network_key()
996 static int wps_validate_network_key_shareable(const u8 *val, int mandatory) in wps_validate_network_key_shareable() argument
999 if (mandatory) { in wps_validate_network_key_shareable()
1063 int mandatory) in wps_validate_credential() argument
1068 if (mandatory) { in wps_validate_credential()