Home
last modified time | relevance | path

Searched refs:tlvs (Results 1 – 16 of 16) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps.h912 int wps_validate_m1(const struct wpabuf *tlvs);
913 int wps_validate_m2(const struct wpabuf *tlvs);
914 int wps_validate_m2d(const struct wpabuf *tlvs);
915 int wps_validate_m3(const struct wpabuf *tlvs);
916 int wps_validate_m4(const struct wpabuf *tlvs);
917 int wps_validate_m4_encr(const struct wpabuf *tlvs, int wps2);
918 int wps_validate_m5(const struct wpabuf *tlvs);
919 int wps_validate_m5_encr(const struct wpabuf *tlvs, int wps2);
920 int wps_validate_m6(const struct wpabuf *tlvs);
921 int wps_validate_m6_encr(const struct wpabuf *tlvs, int wps2);
[all …]
Dwps_validate.c1285 int wps_validate_m1(const struct wpabuf *tlvs) in wps_validate_m1() argument
1290 if (tlvs == NULL) { in wps_validate_m1()
1294 if (wps_parse_msg(tlvs, &attr) < 0) { in wps_validate_m1()
1341 int wps_validate_m2(const struct wpabuf *tlvs) in wps_validate_m2() argument
1346 if (tlvs == NULL) { in wps_validate_m2()
1350 if (wps_parse_msg(tlvs, &attr) < 0) { in wps_validate_m2()
1396 int wps_validate_m2d(const struct wpabuf *tlvs) in wps_validate_m2d() argument
1401 if (tlvs == NULL) { in wps_validate_m2d()
1405 if (wps_parse_msg(tlvs, &attr) < 0) { in wps_validate_m2d()
1448 int wps_validate_m3(const struct wpabuf *tlvs) in wps_validate_m3() argument
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant_sd.c690 u16 update_indic, const u8 *tlvs, size_t tlvs_len) in wpas_sd_request() argument
693 const u8 *pos = tlvs; in wpas_sd_request()
694 const u8 *end = tlvs + tlvs_len; in wpas_sd_request()
703 tlvs, tlvs_len); in wpas_sd_request()
707 wpa_snprintf_hex(buf, buf_len, tlvs, tlvs_len); in wpas_sd_request()
717 update_indic, tlvs, tlvs_len); in wpas_sd_request()
806 update_indic, tlvs, tlvs_len); in wpas_sd_request()
889 const u8 *tlvs, size_t tlvs_len) in wpas_sd_response() argument
892 const u8 *pos = tlvs; in wpas_sd_response()
893 const u8 *end = tlvs + tlvs_len; in wpas_sd_response()
[all …]
Dnotify.h105 u16 update_indic, const u8 *tlvs,
109 const u8 *tlvs, size_t tlvs_len);
Dp2p_supplicant.h84 const struct wpabuf *tlvs);
113 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
115 const u8 *tlvs, size_t tlvs_len);
Dnotify.c628 u16 update_indic, const u8 *tlvs, in wpas_notify_p2p_sd_request() argument
632 update_indic, tlvs, tlvs_len); in wpas_notify_p2p_sd_request()
638 const u8 *tlvs, size_t tlvs_len) in wpas_notify_p2p_sd_response() argument
641 tlvs, tlvs_len); in wpas_notify_p2p_sd_response()
Dctrl_iface.c5173 struct wpabuf *tlvs; in p2p_ctrl_serv_disc_req() local
5241 tlvs = wpabuf_alloc(len); in p2p_ctrl_serv_disc_req()
5242 if (tlvs == NULL) in p2p_ctrl_serv_disc_req()
5244 if (hexstr2bin(pos, wpabuf_put(tlvs, len), len) < 0) { in p2p_ctrl_serv_disc_req()
5245 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req()
5249 ref = wpas_p2p_sd_request(wpa_s, dst, tlvs); in p2p_ctrl_serv_disc_req()
5250 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req()
/external/wpa_supplicant_8/src/eap_common/
Deap_common.c209 int erp_parse_tlvs(const u8 *pos, const u8 *end, struct erp_tlvs *tlvs, in erp_parse_tlvs() argument
212 os_memset(tlvs, 0, sizeof(*tlvs)); in erp_parse_tlvs()
247 if (tlvs->keyname) { in erp_parse_tlvs()
252 tlvs->keyname = pos; in erp_parse_tlvs()
253 tlvs->keyname_len = tlv_len; in erp_parse_tlvs()
257 tlvs->domain = pos; in erp_parse_tlvs()
258 tlvs->domain_len = tlv_len; in erp_parse_tlvs()
Deap_common.h30 int erp_parse_tlvs(const u8 *pos, const u8 *end, struct erp_tlvs *tlvs,
/external/wpa_supplicant_8/src/p2p/
Dp2p_sd.c152 wpabuf_free(q->tlvs); in p2p_free_sd_query()
172 struct wpabuf *tlvs) in p2p_build_sd_query() argument
177 buf = gas_anqp_build_initial_req(0, 100 + wpabuf_len(tlvs)); in p2p_build_sd_query()
185 wpabuf_put_buf(buf, tlvs); in p2p_build_sd_query()
215 const struct wpabuf *tlvs) in p2p_build_sd_response() argument
222 100 + (tlvs ? wpabuf_len(tlvs) : 0)); in p2p_build_sd_response()
226 if (tlvs) { in p2p_build_sd_response()
232 wpabuf_put_buf(buf, tlvs); in p2p_build_sd_response()
303 req = p2p_build_sd_query(p2p->srv_update_indic, query->tlvs); in p2p_start_sd()
869 const struct wpabuf *tlvs) in p2p_sd_request() argument
[all …]
Dp2p.h820 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
836 const u8 *tlvs, size_t tlvs_len);
1381 const struct wpabuf *tlvs);
1385 const struct wpabuf *tlvs);
Dp2p_i.h158 struct wpabuf *tlvs; member
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.h213 u16 update_indic, const u8 *tlvs,
217 const u8 *tlvs, size_t tlvs_len);
460 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_request() argument
467 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_response() argument
Ddbus_new.c1607 u16 update_indic, const u8 *tlvs, in wpas_dbus_signal_p2p_sd_request() argument
1652 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_request()
1676 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_response() argument
1717 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_response()
/external/libnfc-nci/src/nfc/nfc/
Dnfc_main.c1223 UINT8 tlvs[12]; in NFC_UpdateRFCommParams() local
1224 UINT8 *p = tlvs; in NFC_UpdateRFCommParams()
1266 return nci_snd_parameter_update_cmd (tlvs, (UINT8) (p - tlvs)); in NFC_UpdateRFCommParams()
/external/wpa_supplicant_8/src/eap_server/
Deap_server.c786 const u8 *pos, *end, *start, *tlvs, *hdr; in SM_STATE() local
823 tlvs = pos; in SM_STATE()
831 if (erp_parse_tlvs(tlvs, end, &parse, 1) < 0) in SM_STATE()
963 tlvs, end - tlvs); in SM_STATE()
964 if (erp_parse_tlvs(tlvs, end, &parse, 0) < 0) in SM_STATE()