Home
last modified time | relevance | path

Searched refs:tlvs (Results 26 - 50 of 67) sorted by relevance

123

/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A 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);
H A Dctrl_iface.c5892 struct wpabuf *tlvs; in p2p_ctrl_serv_disc_req() local
5960 tlvs = wpabuf_alloc(len); in p2p_ctrl_serv_disc_req()
5961 if (tlvs == NULL) in p2p_ctrl_serv_disc_req()
5963 if (hexstr2bin(pos, wpabuf_put(tlvs, len), len) < 0) { in p2p_ctrl_serv_disc_req()
5964 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req()
5968 ref = wpas_p2p_sd_request(wpa_s, dst, tlvs); in p2p_ctrl_serv_disc_req()
5969 wpabuf_free(tlvs); in p2p_ctrl_serv_disc_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dp2p_supplicant.h96 const struct wpabuf *tlvs);
125 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
127 const u8 *tlvs, size_t tlvs_len);
H A Dnotify.h165 u16 update_indic, const u8 *tlvs,
169 const u8 *tlvs, size_t tlvs_len);
H A Dnotify.c960 u16 update_indic, const u8 *tlvs, in wpas_notify_p2p_sd_request()
964 update_indic, tlvs, tlvs_len); in wpas_notify_p2p_sd_request()
970 const u8 *tlvs, size_t tlvs_len) in wpas_notify_p2p_sd_response()
973 tlvs, tlvs_len); in wpas_notify_p2p_sd_response()
958 wpas_notify_p2p_sd_request(struct wpa_supplicant *wpa_s, int freq, const u8 *sa, u8 dialog_token, u16 update_indic, const u8 *tlvs, size_t tlvs_len) wpas_notify_p2p_sd_request() argument
968 wpas_notify_p2p_sd_response(struct wpa_supplicant *wpa_s, const u8 *sa, u16 update_indic, const u8 *tlvs, size_t tlvs_len) wpas_notify_p2p_sd_response() argument
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dwl_cfgp2p.c66 static bool wl_cfgp2p_has_ie(const bcm_tlv_t *ie, const u8 **tlvs, u32 *tlvs_len,
1197 #define wl_cfgp2p_is_wpa_ie(ie, tlvs, len) wl_cfgp2p_has_ie(ie, tlvs, len, \
1200 #define wl_cfgp2p_is_wps_ie(ie, tlvs, len) wl_cfgp2p_has_ie(ie, tlvs, len, \
1203 #define wl_cfgp2p_is_p2p_ie(ie, tlvs, len) wl_cfgp2p_has_ie(ie, tlvs, len, \
1209 #define wl_cfgp2p_is_wfd_ie(ie, tlvs, len) wl_cfgp2p_has_ie(ie, tlvs, len, \
1212 /* Is any of the tlvs th
1216 wl_cfgp2p_has_ie(const bcm_tlv_t *ie, const u8 **tlvs, u32 *tlvs_len, const u8 *oui, u32 oui_len, u8 type) wl_cfgp2p_has_ie() argument
[all...]
H A Dwl_cfgscan.c2562 event_data->tlvs = NULL; in wl_cfg80211_sched_scan_start()
2564 event_data->tlvs = (tlv_log *)MALLOC(cfg->osh, tlv_len); in wl_cfg80211_sched_scan_start()
2565 if (!event_data->tlvs) { in wl_cfg80211_sched_scan_start()
2612 tlv_data = event_data->tlvs; in wl_cfg80211_sched_scan_start()
2633 MFREE(cfg->osh, event_data->tlvs, tlv_len); in wl_cfg80211_sched_scan_start()
2889 event_data->tlvs = (tlv_log *)MALLOC(cfg->osh, tlv_len); in wl_notify_sched_scan_results()
2890 if (!event_data->tlvs) { in wl_notify_sched_scan_results()
2947 tlv_data = event_data->tlvs; in wl_notify_sched_scan_results()
3056 event_data->tlvs = (tlv_log *)MALLOC(cfg->osh, tlv_len); in wl_notify_sched_scan_results()
3057 if (!event_data->tlvs) { in wl_notify_sched_scan_results()
[all...]
H A Ddhd_rtt.c652 status = bcm_unpack_xtlv_buf(p_proxd_iov, (uint8 *)p_iovresp->tlvs, in rtt_do_get_ioctl()
687 p_tlv = p_proxd_iov->tlvs; in rtt_alloc_getset_buf()
709 /* alloc mem for ioctl headr + reserved 0 bufsize for tlvs (initialize to zero) */ in dhd_rtt_common_get_handler()
1308 /* alloc mem for ioctl headr + reserved 0 bufsize for tlvs (initialize to zero) */ in dhd_rtt_ftm_config()
1329 p_tlv = &p_proxd_iov->tlvs[0]; in dhd_rtt_ftm_config()
3306 (uint8 *)&proxd_ev_data->tlvs[0], tlvs_len, in dhd_rtt_parse_result_event()
3526 if (ntoh32_ua((void *)&event->datalen) < OFFSETOF(wl_proxd_event_t, tlvs)) { in dhd_rtt_event_handler()
3560 if (ltoh16(p_event->len) < OFFSETOF(wl_proxd_event_t, tlvs)) { in dhd_rtt_event_handler()
3565 tlvs_len = ltoh16(p_event->len) - OFFSETOF(wl_proxd_event_t, tlvs); in dhd_rtt_event_handler()
3649 (uint8 *)&p_event->tlvs[ in dhd_rtt_event_handler()
[all...]
H A Ddhd_linux.h220 #define WL_FILTER_IE_IOV_HDR_SIZE OFFSETOF(wl_filter_ie_iov_v1_t, tlvs)
H A Dwl_iw.c1467 ie_is_wpa_ie(uint8 **wpaie, uint8 **tlvs, int *tlvs_len) in ie_is_wpa_ie() argument
1469 /* Is this body of this tlvs entry a WPA entry? If */ in ie_is_wpa_ie()
1470 /* not update the tlvs buffer pointer/length */ in ie_is_wpa_ie()
1482 *tlvs_len -= (int)(ie - *tlvs); in ie_is_wpa_ie()
1484 *tlvs = ie; in ie_is_wpa_ie()
1489 ie_is_wps_ie(uint8 **wpsie, uint8 **tlvs, int *tlvs_len) in ie_is_wps_ie() argument
1491 /* Is this body of this tlvs entry a WPS entry? If */ in ie_is_wps_ie()
1492 /* not update the tlvs buffer pointer/length */ in ie_is_wps_ie()
1504 *tlvs_len -= (int)(ie - *tlvs); in ie_is_wps_ie()
1506 *tlvs in ie_is_wps_ie()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
H A Dp2p.h815 * @tlvs: P2P Service Request TLV(s)
816 * @tlvs_len: Length of tlvs buffer in octets
827 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
834 * @tlvs: P2P Service Response TLV(s)
835 * @tlvs_len: Length of tlvs buffer in octets
843 const u8 *tlvs, size_t tlvs_len);
1381 * @tlvs: P2P Service Query TLV(s)
1388 const struct wpabuf *tlvs);
1392 const struct wpabuf *tlvs);
H A Dp2p_i.h158 struct wpabuf *tlvs; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
H A Dp2p.h837 * @tlvs: P2P Service Request TLV(s)
838 * @tlvs_len: Length of tlvs buffer in octets
849 u16 update_indic, const u8 *tlvs, size_t tlvs_len);
856 * @tlvs: P2P Service Response TLV(s)
857 * @tlvs_len: Length of tlvs buffer in octets
865 const u8 *tlvs, size_t tlvs_len);
1408 * @tlvs: P2P Service Query TLV(s)
1415 const struct wpabuf *tlvs);
1419 const struct wpabuf *tlvs);
H A Dp2p_i.h158 struct wpabuf *tlvs; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dwpa_auth_ft.c306 static size_t wpa_ft_tlv_len(const struct tlv_list *tlvs) in wpa_ft_tlv_len() argument
311 if (!tlvs) in wpa_ft_tlv_len()
314 for (i = 0; tlvs[i].type != FT_RRB_LAST_EMPTY; i++) { in wpa_ft_tlv_len()
316 tlv_len += tlvs[i].len; in wpa_ft_tlv_len()
323 static size_t wpa_ft_tlv_lin(const struct tlv_list *tlvs, u8 *start, in wpa_ft_tlv_lin() argument
331 if (!tlvs) in wpa_ft_tlv_lin()
336 for (i = 0; tlvs[i].type != FT_RRB_LAST_EMPTY; i++) { in wpa_ft_tlv_lin()
341 hdr->type = host_to_le16(tlvs[i].type); in wpa_ft_tlv_lin()
342 hdr->len = host_to_le16(tlvs[i].len); in wpa_ft_tlv_lin()
345 if (tlv_len + tlvs[ in wpa_ft_tlv_lin()
3730 wpa_ft_rrb_build_r0(const u8 *key, const size_t key_len, const struct tlv_list *tlvs, const struct wpa_ft_pmk_r0_sa *pmk_r0, const u8 *r1kh_id, const u8 *s1kh_id, const struct tlv_list *tlv_auth, const u8 *src_addr, u8 type, u8 **packet, size_t *packet_len) wpa_ft_rrb_build_r0() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dwpa_auth_ft.c305 static size_t wpa_ft_tlv_len(const struct tlv_list *tlvs) in wpa_ft_tlv_len() argument
310 if (!tlvs) in wpa_ft_tlv_len()
313 for (i = 0; tlvs[i].type != FT_RRB_LAST_EMPTY; i++) { in wpa_ft_tlv_len()
315 tlv_len += tlvs[i].len; in wpa_ft_tlv_len()
322 static size_t wpa_ft_tlv_lin(const struct tlv_list *tlvs, u8 *start, in wpa_ft_tlv_lin() argument
330 if (!tlvs) in wpa_ft_tlv_lin()
335 for (i = 0; tlvs[i].type != FT_RRB_LAST_EMPTY; i++) { in wpa_ft_tlv_lin()
340 hdr->type = host_to_le16(tlvs[i].type); in wpa_ft_tlv_lin()
341 hdr->len = host_to_le16(tlvs[i].len); in wpa_ft_tlv_lin()
344 if (tlv_len + tlvs[ in wpa_ft_tlv_lin()
3503 wpa_ft_rrb_build_r0(const u8 *key, const size_t key_len, const struct tlv_list *tlvs, const struct wpa_ft_pmk_r0_sa *pmk_r0, const u8 *r1kh_id, const u8 *s1kh_id, const struct tlv_list *tlv_auth, const u8 *src_addr, u8 type, u8 **packet, size_t *packet_len) wpa_ft_rrb_build_r0() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
H A Deap_server.c791 const u8 *pos, *end, *start, *tlvs, *hdr; in SM_STATE() local
828 tlvs = pos; in SM_STATE()
836 if (erp_parse_tlvs(tlvs, end, &parse, 1) < 0) in SM_STATE()
968 tlvs, end - tlvs); in SM_STATE()
969 if (erp_parse_tlvs(tlvs, end, &parse, 0) < 0) in SM_STATE()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Deap_server.c799 const u8 *pos, *end, *start, *tlvs, *hdr; in SM_STATE() local
837 tlvs = pos; in SM_STATE()
845 if (erp_parse_tlvs(tlvs, end, &parse, 1) < 0) in SM_STATE()
977 tlvs, end - tlvs); in SM_STATE()
978 if (erp_parse_tlvs(tlvs, end, &parse, 0) < 0) in SM_STATE()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dbcmtlv.h39 /* begin tlvs - used in 802.11 IEs etc. */
99 * Traverse tlvs and return pointer to the first tlv that
104 /* parse tlvs for dot11 - same as parse_tlvs but supports 802.11 id extension */
111 bcm_tlv_t *bcm_find_vendor_ie(const void *tlvs, uint tlvs_len, const char *voui,
130 /* end tlvs */
256 /* compute size needed for number of tlvs whose total data len is given */
278 /* unpack a set of tlvs from the buffer using provided xtlv descriptors */
282 /* pack a set of tlvs into buffer using provided xtlv descriptors */
292 /* callback to return next tlv id and len to pack, if there is more tlvs to come and
301 /* pack a set of tlvs int
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
H A Ddbus_new.c1817 * update indicator and it tlvs
1823 * @tlvs: service discovery request genrated byte array of tlvs
1824 * @tlvs_len: service discovery request tlvs length
1828 u16 update_indic, const u8 *tlvs, in wpas_dbus_signal_p2p_sd_request()
1872 !wpa_dbus_dict_append_byte_array(&dict_iter, "tlvs", in wpas_dbus_signal_p2p_sd_request()
1873 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_request()
1887 * tlvs
1892 * @tlvs: service discovery request genrated byte array of tlvs
1826 wpas_dbus_signal_p2p_sd_request(struct wpa_supplicant *wpa_s, int freq, const u8 *sa, u8 dialog_token, u16 update_indic, const u8 *tlvs, size_t tlvs_len) wpas_dbus_signal_p2p_sd_request() argument
1895 wpas_dbus_signal_p2p_sd_response(struct wpa_supplicant *wpa_s, const u8 *sa, u16 update_indic, const u8 *tlvs, size_t tlvs_len) wpas_dbus_signal_p2p_sd_response() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
H A Ddbus_new.c1916 * update indicator and it tlvs
1922 * @tlvs: service discovery request generated byte array of tlvs
1923 * @tlvs_len: service discovery request tlvs length
1927 u16 update_indic, const u8 *tlvs, in wpas_dbus_signal_p2p_sd_request()
1971 !wpa_dbus_dict_append_byte_array(&dict_iter, "tlvs", in wpas_dbus_signal_p2p_sd_request()
1972 (const char *) tlvs, in wpas_dbus_signal_p2p_sd_request()
1986 * tlvs
1991 * @tlvs: service discovery request generated byte array of tlvs
1925 wpas_dbus_signal_p2p_sd_request(struct wpa_supplicant *wpa_s, int freq, const u8 *sa, u8 dialog_token, u16 update_indic, const u8 *tlvs, size_t tlvs_len) wpas_dbus_signal_p2p_sd_request() argument
1994 wpas_dbus_signal_p2p_sd_response(struct wpa_supplicant *wpa_s, const u8 *sa, u16 update_indic, const u8 *tlvs, size_t tlvs_len) wpas_dbus_signal_p2p_sd_response() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A Dcmdevt.c1565 tlv = (void *)&hw_spec->tlvs + parsed_len; in mwifiex_ret_get_hw_spec()
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
H A Dcmdevt.c1574 tlv = (void *)&hw_spec->tlvs + parsed_len; in mwifiex_ret_get_hw_spec()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dwmi.h3219 u8 tlvs[0]; member
3225 struct wmi_start_scan_tlvs tlvs; member
3231 struct wmi_start_scan_tlvs tlvs; member
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dwmi.h3221 u8 tlvs[0]; member
3227 struct wmi_start_scan_tlvs tlvs; member
3233 struct wmi_start_scan_tlvs tlvs; member

Completed in 90 milliseconds

123