Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/wps/
Dwps.h902 int wps_validate_m1(const struct wpabuf *tlvs);
903 int wps_validate_m2(const struct wpabuf *tlvs);
904 int wps_validate_m2d(const struct wpabuf *tlvs);
905 int wps_validate_m3(const struct wpabuf *tlvs);
906 int wps_validate_m4(const struct wpabuf *tlvs);
907 int wps_validate_m4_encr(const struct wpabuf *tlvs, int wps2);
908 int wps_validate_m5(const struct wpabuf *tlvs);
909 int wps_validate_m5_encr(const struct wpabuf *tlvs, int wps2);
910 int wps_validate_m6(const struct wpabuf *tlvs);
911 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.h104 u16 update_indic, const u8 *tlvs,
108 const u8 *tlvs, size_t tlvs_len);
Dnotify.c596 u16 update_indic, const u8 *tlvs, in wpas_notify_p2p_sd_request() argument
600 update_indic, tlvs, tlvs_len); in wpas_notify_p2p_sd_request()
606 const u8 *tlvs, size_t tlvs_len) in wpas_notify_p2p_sd_response() argument
609 tlvs, tlvs_len); in wpas_notify_p2p_sd_response()
Dp2p_supplicant.h70 const struct wpabuf *tlvs);
98 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
100 const u8 *tlvs, size_t tlvs_len);
Dctrl_iface.c4962 struct wpabuf *tlvs; in p2p_ctrl_serv_disc_req() local
5030 tlvs = wpabuf_alloc(len); in p2p_ctrl_serv_disc_req()
5031 if (tlvs == NULL) in p2p_ctrl_serv_disc_req()
5033 if (hexstr2bin(pos, wpabuf_put(tlvs, len), len) < 0) { in p2p_ctrl_serv_disc_req()
5034 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req()
5038 ref = wpas_p2p_sd_request(wpa_s, dst, tlvs); in p2p_ctrl_serv_disc_req()
5039 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()
295 req = p2p_build_sd_query(p2p->srv_update_indic, query->tlvs); in p2p_start_sd()
849 const struct wpabuf *tlvs) in p2p_sd_request() argument
[all …]
Dp2p.h761 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
777 const u8 *tlvs, size_t tlvs_len);
1293 const struct wpabuf *tlvs);
1297 const struct wpabuf *tlvs);
Dp2p_i.h155 struct wpabuf *tlvs; member
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.h210 u16 update_indic, const u8 *tlvs,
214 const u8 *tlvs, size_t tlvs_len);
447 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_request() argument
454 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_response() argument
Ddbus_new.c1603 u16 update_indic, const u8 *tlvs, in wpas_dbus_signal_p2p_sd_request() argument
1648 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_request()
1672 const u8 *tlvs, size_t tlvs_len) in wpas_dbus_signal_p2p_sd_response() argument
1713 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_response()
/external/libnfc-nci/src/nfc/nfc/
Dnfc_main.c1217 UINT8 tlvs[12]; in NFC_UpdateRFCommParams() local
1218 UINT8 *p = tlvs; in NFC_UpdateRFCommParams()
1260 return nci_snd_parameter_update_cmd (tlvs, (UINT8) (p - tlvs)); in NFC_UpdateRFCommParams()
/external/wpa_supplicant_8/src/eap_server/
Deap_server.c785 const u8 *pos, *end, *start, *tlvs, *hdr; in SM_STATE() local
822 tlvs = pos; in SM_STATE()
830 if (erp_parse_tlvs(tlvs, end, &parse, 1) < 0) in SM_STATE()
962 tlvs, end - tlvs); in SM_STATE()
963 if (erp_parse_tlvs(tlvs, end, &parse, 0) < 0) in SM_STATE()