Home
last modified time | relevance | path

Searched refs:wps_ie (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/components/wpa_supplicant/src/wps/
Dwps.h854 int wps_validate_beacon(const struct wpabuf *wps_ie);
855 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe,
857 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr);
858 int wps_validate_assoc_req(const struct wpabuf *wps_ie);
859 int wps_validate_assoc_resp(const struct wpabuf *wps_ie);
879 static inline int wps_validate_beacon(const struct wpabuf *wps_ie){ in wps_validate_beacon() argument
883 static inline int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, in wps_validate_beacon_probe_resp() argument
889 static inline int wps_validate_probe_req(const struct wpabuf *wps_ie, in wps_validate_probe_req() argument
895 static inline int wps_validate_assoc_req(const struct wpabuf *wps_ie) in wps_validate_assoc_req() argument
900 static inline int wps_validate_assoc_resp(const struct wpabuf *wps_ie) in wps_validate_assoc_resp() argument
Dwps_validate.c1085 int wps_validate_beacon(const struct wpabuf *wps_ie) in wps_validate_beacon() argument
1097 if (wps_ie == NULL) { in wps_validate_beacon()
1102 if (wps_parse_msg(wps_ie, attr) < 0) { in wps_validate_beacon()
1138 int wps_validate_beacon_probe_resp(const struct wpabuf *wps_ie, int probe, in wps_validate_beacon_probe_resp() argument
1151 if (wps_ie == NULL) { in wps_validate_beacon_probe_resp()
1157 if (wps_parse_msg(wps_ie, attr) < 0) { in wps_validate_beacon_probe_resp()
1214 int wps_validate_probe_req(const struct wpabuf *wps_ie, const u8 *addr) in wps_validate_probe_req() argument
1226 if (wps_ie == NULL) { in wps_validate_probe_req()
1232 if (wps_parse_msg(wps_ie, attr) < 0) { in wps_validate_probe_req()
1276 int wps_validate_assoc_req(const struct wpabuf *wps_ie) in wps_validate_assoc_req() argument
[all …]
/hal_espressif-3.6.0/components/wpa_supplicant/esp_supplicant/src/
Desp_wps.c503 struct wpabuf *wps_ie; in wps_build_ic_appie_wps_pr() local
509 wps_ie = (struct wpabuf *)wps_build_probe_req_ie(DEV_PW_PUSHBUTTON, in wps_build_ic_appie_wps_pr()
514 wps_ie = (struct wpabuf *)wps_build_probe_req_ie(DEV_PW_DEFAULT, in wps_build_ic_appie_wps_pr()
520 if (!wps_ie) { in wps_build_ic_appie_wps_pr()
524 if (wpabuf_resize(&extra_ie, wpabuf_len(wps_ie)) == 0) { in wps_build_ic_appie_wps_pr()
525 wpabuf_put_buf(extra_ie, wps_ie); in wps_build_ic_appie_wps_pr()
527 wpabuf_free(wps_ie); in wps_build_ic_appie_wps_pr()
530 wpabuf_free(wps_ie); in wps_build_ic_appie_wps_pr()