• Home
  • Raw
  • Download

Lines Matching refs:mandatory

21 static int wps_validate_version(const u8 *version, int mandatory)  in wps_validate_version()  argument
24 if (mandatory) { in wps_validate_version()
40 static int wps_validate_version2(const u8 *version2, int mandatory) in wps_validate_version2() argument
43 if (mandatory) { in wps_validate_version2()
59 static int wps_validate_request_type(const u8 *request_type, int mandatory) in wps_validate_request_type() argument
62 if (mandatory) { in wps_validate_request_type()
78 static int wps_validate_response_type(const u8 *response_type, int mandatory) in wps_validate_response_type() argument
81 if (mandatory) { in wps_validate_response_type()
129 int mandatory) in wps_validate_config_methods() argument
134 if (mandatory) { in wps_validate_config_methods()
153 int mandatory) in wps_validate_ap_config_methods() argument
157 if (wps_validate_config_methods(config_methods, wps2, mandatory) < 0) in wps_validate_ap_config_methods()
173 static int wps_validate_uuid_e(const u8 *uuid_e, int mandatory) in wps_validate_uuid_e() argument
176 if (mandatory) { in wps_validate_uuid_e()
187 static int wps_validate_uuid_r(const u8 *uuid_r, int mandatory) in wps_validate_uuid_r() argument
190 if (mandatory) { in wps_validate_uuid_r()
202 int mandatory) in wps_validate_primary_dev_type() argument
205 if (mandatory) { in wps_validate_primary_dev_type()
216 static int wps_validate_rf_bands(const u8 *rf_bands, int mandatory) in wps_validate_rf_bands() argument
219 if (mandatory) { in wps_validate_rf_bands()
236 static int wps_validate_assoc_state(const u8 *assoc_state, int mandatory) in wps_validate_assoc_state() argument
240 if (mandatory) { in wps_validate_assoc_state()
257 static int wps_validate_config_error(const u8 *config_error, int mandatory) in wps_validate_config_error() argument
262 if (mandatory) { in wps_validate_config_error()
280 int mandatory) in wps_validate_dev_password_id() argument
285 if (mandatory) { in wps_validate_dev_password_id()
303 int mandatory) in wps_validate_manufacturer() argument
306 if (mandatory) { in wps_validate_manufacturer()
323 int mandatory) in wps_validate_model_name() argument
326 if (mandatory) { in wps_validate_model_name()
343 int mandatory) in wps_validate_model_number() argument
346 if (mandatory) { in wps_validate_model_number()
363 int mandatory) in wps_validate_serial_number() argument
366 if (mandatory) { in wps_validate_serial_number()
384 int mandatory) in wps_validate_dev_name() argument
387 if (mandatory) { in wps_validate_dev_name()
404 int mandatory) in wps_validate_request_to_enroll() argument
407 if (mandatory) { in wps_validate_request_to_enroll()
424 int mandatory) in wps_validate_req_dev_type() argument
427 if (mandatory) { in wps_validate_req_dev_type()
438 static int wps_validate_wps_state(const u8 *wps_state, int mandatory) in wps_validate_wps_state() argument
441 if (mandatory) { in wps_validate_wps_state()
459 int mandatory) in wps_validate_ap_setup_locked() argument
462 if (mandatory) { in wps_validate_ap_setup_locked()
479 int mandatory) in wps_validate_selected_registrar() argument
482 if (mandatory) { in wps_validate_selected_registrar()
499 int wps2, int mandatory) in wps_validate_sel_reg_config_methods() argument
504 if (mandatory) { in wps_validate_sel_reg_config_methods()
524 int mandatory) in wps_validate_authorized_macs() argument
527 if (mandatory) { in wps_validate_authorized_macs()
543 static int wps_validate_msg_type(const u8 *msg_type, int mandatory) in wps_validate_msg_type() argument
546 if (mandatory) { in wps_validate_msg_type()
562 static int wps_validate_mac_addr(const u8 *mac_addr, int mandatory) in wps_validate_mac_addr() argument
565 if (mandatory) { in wps_validate_mac_addr()
581 static int wps_validate_enrollee_nonce(const u8 *enrollee_nonce, int mandatory) in wps_validate_enrollee_nonce() argument
584 if (mandatory) { in wps_validate_enrollee_nonce()
596 int mandatory) in wps_validate_registrar_nonce() argument
599 if (mandatory) { in wps_validate_registrar_nonce()
611 int mandatory) in wps_validate_public_key() argument
614 if (mandatory) { in wps_validate_public_key()
639 static int wps_validate_auth_type_flags(const u8 *flags, int mandatory) in wps_validate_auth_type_flags() argument
644 if (mandatory) { in wps_validate_auth_type_flags()
661 static int wps_validate_auth_type(const u8 *type, int mandatory) in wps_validate_auth_type() argument
666 if (mandatory) { in wps_validate_auth_type()
685 static int wps_validate_encr_type_flags(const u8 *flags, int mandatory) in wps_validate_encr_type_flags() argument
690 if (mandatory) { in wps_validate_encr_type_flags()
707 static int wps_validate_encr_type(const u8 *type, int mandatory) in wps_validate_encr_type() argument
712 if (mandatory) { in wps_validate_encr_type()
730 static int wps_validate_conn_type_flags(const u8 *flags, int mandatory) in wps_validate_conn_type_flags() argument
733 if (mandatory) { in wps_validate_conn_type_flags()
750 static int wps_validate_os_version(const u8 *os_version, int mandatory) in wps_validate_os_version() argument
753 if (mandatory) { in wps_validate_os_version()
764 static int wps_validate_authenticator(const u8 *authenticator, int mandatory) in wps_validate_authenticator() argument
767 if (mandatory) { in wps_validate_authenticator()
778 static int wps_validate_e_hash1(const u8 *hash, int mandatory) in wps_validate_e_hash1() argument
781 if (mandatory) { in wps_validate_e_hash1()
792 static int wps_validate_e_hash2(const u8 *hash, int mandatory) in wps_validate_e_hash2() argument
795 if (mandatory) { in wps_validate_e_hash2()
806 static int wps_validate_r_hash1(const u8 *hash, int mandatory) in wps_validate_r_hash1() argument
809 if (mandatory) { in wps_validate_r_hash1()
820 static int wps_validate_r_hash2(const u8 *hash, int mandatory) in wps_validate_r_hash2() argument
823 if (mandatory) { in wps_validate_r_hash2()
835 int mandatory) in wps_validate_encr_settings() argument
838 if (mandatory) { in wps_validate_encr_settings()
854 static int wps_validate_settings_delay_time(const u8 *delay, int mandatory) in wps_validate_settings_delay_time() argument
857 if (mandatory) { in wps_validate_settings_delay_time()
868 static int wps_validate_r_snonce1(const u8 *nonce, int mandatory) in wps_validate_r_snonce1() argument
871 if (mandatory) { in wps_validate_r_snonce1()
882 static int wps_validate_r_snonce2(const u8 *nonce, int mandatory) in wps_validate_r_snonce2() argument
885 if (mandatory) { in wps_validate_r_snonce2()
896 static int wps_validate_e_snonce1(const u8 *nonce, int mandatory) in wps_validate_e_snonce1() argument
899 if (mandatory) { in wps_validate_e_snonce1()
910 static int wps_validate_e_snonce2(const u8 *nonce, int mandatory) in wps_validate_e_snonce2() argument
913 if (mandatory) { in wps_validate_e_snonce2()
924 static int wps_validate_key_wrap_auth(const u8 *auth, int mandatory) in wps_validate_key_wrap_auth() argument
927 if (mandatory) { in wps_validate_key_wrap_auth()
938 static int wps_validate_ssid(const u8 *ssid, size_t ssid_len, int mandatory) in wps_validate_ssid() argument
941 if (mandatory) { in wps_validate_ssid()
957 static int wps_validate_network_key_index(const u8 *idx, int mandatory) in wps_validate_network_key_index() argument
960 if (mandatory) { in wps_validate_network_key_index()
971 static int wps_validate_network_idx(const u8 *idx, int mandatory) in wps_validate_network_idx() argument
974 if (mandatory) { in wps_validate_network_idx()
986 const u8 *encr_type, int mandatory) in wps_validate_network_key() argument
989 if (mandatory) { in wps_validate_network_key()
1007 static int wps_validate_network_key_shareable(const u8 *val, int mandatory) in wps_validate_network_key_shareable() argument
1010 if (mandatory) { in wps_validate_network_key_shareable()
1059 int mandatory) in wps_validate_credential() argument
1064 if (mandatory) { in wps_validate_credential()