Home
last modified time | relevance | path

Searched refs:wps2 (Results 1 – 6 of 6) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_validate.c97 static int valid_config_methods(u16 val, int wps2) in valid_config_methods() argument
99 if (wps2) { in valid_config_methods()
128 static int wps_validate_config_methods(const u8 *config_methods, int wps2, in wps_validate_config_methods() argument
143 if (!valid_config_methods(val, wps2)) { in wps_validate_config_methods()
152 static int wps_validate_ap_config_methods(const u8 *config_methods, int wps2, in wps_validate_ap_config_methods() argument
157 if (wps_validate_config_methods(config_methods, wps2, mandatory) < 0) in wps_validate_ap_config_methods()
501 int wps2, int mandatory) in wps_validate_sel_reg_config_methods() argument
515 if (!valid_config_methods(val, wps2)) { in wps_validate_sel_reg_config_methods()
1086 int wps2, sel_reg; in wps_validate_beacon() local
1098 wps2 = attr.version2 != NULL; in wps_validate_beacon()
[all …]
Dwps.h955 int wps_validate_m4_encr(const struct wpabuf *tlvs, int wps2);
957 int wps_validate_m5_encr(const struct wpabuf *tlvs, int wps2);
959 int wps_validate_m6_encr(const struct wpabuf *tlvs, int wps2);
961 int wps_validate_m7_encr(const struct wpabuf *tlvs, int ap, int wps2);
963 int wps_validate_m8_encr(const struct wpabuf *tlvs, int ap, int wps2);
1020 static inline int wps_validate_m4_encr(const struct wpabuf *tlvs, int wps2) in wps_validate_m4_encr() argument
1030 static inline int wps_validate_m5_encr(const struct wpabuf *tlvs, int wps2) in wps_validate_m5_encr() argument
1040 static inline int wps_validate_m6_encr(const struct wpabuf *tlvs, int wps2) in wps_validate_m6_encr() argument
1051 int wps2) in wps_validate_m7_encr() argument
1062 int wps2) in wps_validate_m8_encr() argument
Dwps_enrollee.c705 size_t cred_len, int wps2) in wps_process_cred_e() argument
732 if (wps2) { in wps_process_cred_e()
767 u16 cred_len[], unsigned int num_cred, int wps2) in wps_process_creds() argument
783 res = wps_process_cred_e(wps, cred[i], cred_len[i], wps2); in wps_process_creds()
804 struct wpabuf *attrs, int wps2) in wps_process_ap_settings_e() argument
832 if (wps2) { in wps_process_ap_settings_e()
855 if (wps2) { in wps_process_ap_settings_e()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_validate.c97 static int valid_config_methods(u16 val, int wps2) in valid_config_methods() argument
99 if (wps2) { in valid_config_methods()
128 static int wps_validate_config_methods(const u8 *config_methods, int wps2, in wps_validate_config_methods() argument
143 if (!valid_config_methods(val, wps2)) { in wps_validate_config_methods()
152 static int wps_validate_ap_config_methods(const u8 *config_methods, int wps2, in wps_validate_ap_config_methods() argument
157 if (wps_validate_config_methods(config_methods, wps2, mandatory) < 0) in wps_validate_ap_config_methods()
501 int wps2, int mandatory) in wps_validate_sel_reg_config_methods() argument
515 if (!valid_config_methods(val, wps2)) { in wps_validate_sel_reg_config_methods()
1086 int wps2, sel_reg; in wps_validate_beacon() local
1098 wps2 = attr.version2 != NULL; in wps_validate_beacon()
[all …]
Dwps.h968 int wps_validate_m4_encr(const struct wpabuf *tlvs, int wps2);
970 int wps_validate_m5_encr(const struct wpabuf *tlvs, int wps2);
972 int wps_validate_m6_encr(const struct wpabuf *tlvs, int wps2);
974 int wps_validate_m7_encr(const struct wpabuf *tlvs, int ap, int wps2);
976 int wps_validate_m8_encr(const struct wpabuf *tlvs, int ap, int wps2);
1033 static inline int wps_validate_m4_encr(const struct wpabuf *tlvs, int wps2) in wps_validate_m4_encr() argument
1043 static inline int wps_validate_m5_encr(const struct wpabuf *tlvs, int wps2) in wps_validate_m5_encr() argument
1053 static inline int wps_validate_m6_encr(const struct wpabuf *tlvs, int wps2) in wps_validate_m6_encr() argument
1064 int wps2) in wps_validate_m7_encr() argument
1075 int wps2) in wps_validate_m8_encr() argument
Dwps_enrollee.c705 size_t cred_len, int wps2) in wps_process_cred_e() argument
732 if (wps2) { in wps_process_cred_e()
767 u16 cred_len[], unsigned int num_cred, int wps2) in wps_process_creds() argument
783 res = wps_process_cred_e(wps, cred[i], cred_len[i], wps2); in wps_process_creds()
804 struct wpabuf *attrs, int wps2) in wps_process_ap_settings_e() argument
832 if (wps2) { in wps_process_ap_settings_e()
855 if (wps2) { in wps_process_ap_settings_e()