Lines Matching refs:mandatory
27 static int wps_validate_version(const u8 *version, int mandatory) in wps_validate_version() argument
30 if (mandatory) { in wps_validate_version()
46 static int wps_validate_version2(const u8 *version2, int mandatory) in wps_validate_version2() argument
49 if (mandatory) { in wps_validate_version2()
65 static int wps_validate_request_type(const u8 *request_type, int mandatory) in wps_validate_request_type() argument
68 if (mandatory) { in wps_validate_request_type()
84 static int wps_validate_response_type(const u8 *response_type, int mandatory) in wps_validate_response_type() argument
87 if (mandatory) { in wps_validate_response_type()
135 int mandatory) in wps_validate_config_methods() argument
140 if (mandatory) { in wps_validate_config_methods()
159 int mandatory) in wps_validate_ap_config_methods() argument
163 if (wps_validate_config_methods(config_methods, wps2, mandatory) < 0) in wps_validate_ap_config_methods()
179 static int wps_validate_uuid_e(const u8 *uuid_e, int mandatory) in wps_validate_uuid_e() argument
182 if (mandatory) { in wps_validate_uuid_e()
193 static int wps_validate_uuid_r(const u8 *uuid_r, int mandatory) in wps_validate_uuid_r() argument
196 if (mandatory) { in wps_validate_uuid_r()
208 int mandatory) in wps_validate_primary_dev_type() argument
211 if (mandatory) { in wps_validate_primary_dev_type()
222 static int wps_validate_rf_bands(const u8 *rf_bands, int mandatory) in wps_validate_rf_bands() argument
225 if (mandatory) { in wps_validate_rf_bands()
242 static int wps_validate_assoc_state(const u8 *assoc_state, int mandatory) in wps_validate_assoc_state() argument
246 if (mandatory) { in wps_validate_assoc_state()
263 static int wps_validate_config_error(const u8 *config_error, int mandatory) in wps_validate_config_error() argument
268 if (mandatory) { in wps_validate_config_error()
286 int mandatory) in wps_validate_dev_password_id() argument
291 if (mandatory) { in wps_validate_dev_password_id()
309 int mandatory) in wps_validate_manufacturer() argument
312 if (mandatory) { in wps_validate_manufacturer()
329 int mandatory) in wps_validate_model_name() argument
332 if (mandatory) { in wps_validate_model_name()
349 int mandatory) in wps_validate_model_number() argument
352 if (mandatory) { in wps_validate_model_number()
369 int mandatory) in wps_validate_serial_number() argument
372 if (mandatory) { in wps_validate_serial_number()
390 int mandatory) in wps_validate_dev_name() argument
393 if (mandatory) { in wps_validate_dev_name()
410 int mandatory) in wps_validate_request_to_enroll() argument
413 if (mandatory) { in wps_validate_request_to_enroll()
430 int mandatory) in wps_validate_req_dev_type() argument
433 if (mandatory) { in wps_validate_req_dev_type()
444 static int wps_validate_wps_state(const u8 *wps_state, int mandatory) in wps_validate_wps_state() argument
447 if (mandatory) { in wps_validate_wps_state()
465 int mandatory) in wps_validate_ap_setup_locked() argument
468 if (mandatory) { in wps_validate_ap_setup_locked()
485 int mandatory) in wps_validate_selected_registrar() argument
488 if (mandatory) { in wps_validate_selected_registrar()
505 int wps2, int mandatory) in wps_validate_sel_reg_config_methods() argument
510 if (mandatory) { in wps_validate_sel_reg_config_methods()
530 int mandatory) in wps_validate_authorized_macs() argument
533 if (mandatory) { in wps_validate_authorized_macs()
549 static int wps_validate_msg_type(const u8 *msg_type, int mandatory) in wps_validate_msg_type() argument
552 if (mandatory) { in wps_validate_msg_type()
568 static int wps_validate_mac_addr(const u8 *mac_addr, int mandatory) in wps_validate_mac_addr() argument
571 if (mandatory) { in wps_validate_mac_addr()
587 static int wps_validate_enrollee_nonce(const u8 *enrollee_nonce, int mandatory) in wps_validate_enrollee_nonce() argument
590 if (mandatory) { in wps_validate_enrollee_nonce()
602 int mandatory) in wps_validate_registrar_nonce() argument
605 if (mandatory) { in wps_validate_registrar_nonce()
617 int mandatory) in wps_validate_public_key() argument
620 if (mandatory) { in wps_validate_public_key()
645 static int wps_validate_auth_type_flags(const u8 *flags, int mandatory) in wps_validate_auth_type_flags() argument
650 if (mandatory) { in wps_validate_auth_type_flags()
667 static int wps_validate_auth_type(const u8 *type, int mandatory) in wps_validate_auth_type() argument
672 if (mandatory) { in wps_validate_auth_type()
691 static int wps_validate_encr_type_flags(const u8 *flags, int mandatory) in wps_validate_encr_type_flags() argument
696 if (mandatory) { in wps_validate_encr_type_flags()
713 static int wps_validate_encr_type(const u8 *type, int mandatory) in wps_validate_encr_type() argument
718 if (mandatory) { in wps_validate_encr_type()
736 static int wps_validate_conn_type_flags(const u8 *flags, int mandatory) in wps_validate_conn_type_flags() argument
739 if (mandatory) { in wps_validate_conn_type_flags()
756 static int wps_validate_os_version(const u8 *os_version, int mandatory) in wps_validate_os_version() argument
759 if (mandatory) { in wps_validate_os_version()
770 static int wps_validate_authenticator(const u8 *authenticator, int mandatory) in wps_validate_authenticator() argument
773 if (mandatory) { in wps_validate_authenticator()
784 static int wps_validate_e_hash1(const u8 *hash, int mandatory) in wps_validate_e_hash1() argument
787 if (mandatory) { in wps_validate_e_hash1()
798 static int wps_validate_e_hash2(const u8 *hash, int mandatory) in wps_validate_e_hash2() argument
801 if (mandatory) { in wps_validate_e_hash2()
812 static int wps_validate_r_hash1(const u8 *hash, int mandatory) in wps_validate_r_hash1() argument
815 if (mandatory) { in wps_validate_r_hash1()
826 static int wps_validate_r_hash2(const u8 *hash, int mandatory) in wps_validate_r_hash2() argument
829 if (mandatory) { in wps_validate_r_hash2()
841 int mandatory) in wps_validate_encr_settings() argument
844 if (mandatory) { in wps_validate_encr_settings()
860 static int wps_validate_settings_delay_time(const u8 *delay, int mandatory) in wps_validate_settings_delay_time() argument
863 if (mandatory) { in wps_validate_settings_delay_time()
874 static int wps_validate_r_snonce1(const u8 *nonce, int mandatory) in wps_validate_r_snonce1() argument
877 if (mandatory) { in wps_validate_r_snonce1()
888 static int wps_validate_r_snonce2(const u8 *nonce, int mandatory) in wps_validate_r_snonce2() argument
891 if (mandatory) { in wps_validate_r_snonce2()
902 static int wps_validate_e_snonce1(const u8 *nonce, int mandatory) in wps_validate_e_snonce1() argument
905 if (mandatory) { in wps_validate_e_snonce1()
916 static int wps_validate_e_snonce2(const u8 *nonce, int mandatory) in wps_validate_e_snonce2() argument
919 if (mandatory) { in wps_validate_e_snonce2()
930 static int wps_validate_key_wrap_auth(const u8 *auth, int mandatory) in wps_validate_key_wrap_auth() argument
933 if (mandatory) { in wps_validate_key_wrap_auth()
944 static int wps_validate_ssid(const u8 *ssid, size_t ssid_len, int mandatory) in wps_validate_ssid() argument
947 if (mandatory) { in wps_validate_ssid()
963 static int wps_validate_network_key_index(const u8 *idx, int mandatory) in wps_validate_network_key_index() argument
966 if (mandatory) { in wps_validate_network_key_index()
977 static int wps_validate_network_idx(const u8 *idx, int mandatory) in wps_validate_network_idx() argument
980 if (mandatory) { in wps_validate_network_idx()
992 const u8 *encr_type, int mandatory) in wps_validate_network_key() argument
995 if (mandatory) { in wps_validate_network_key()
1013 static int wps_validate_network_key_shareable(const u8 *val, int mandatory) in wps_validate_network_key_shareable() argument
1016 if (mandatory) { in wps_validate_network_key_shareable()
1065 int mandatory) in wps_validate_credential() argument
1070 if (mandatory) { in wps_validate_credential()