/linux-5.19.10/drivers/staging/r8188eu/core/ |
D | rtw_p2p.c | 802 u8 *p2p_ie; in process_assoc_req_p2p_ie() local 819 p2p_ie = rtw_get_p2p_ie(ies, ies_len, NULL, &p2p_ielen); in process_assoc_req_p2p_ie() 821 if (!p2p_ie) in process_assoc_req_p2p_ie() 824 while (p2p_ie) { in process_assoc_req_p2p_ie() 826 …if (rtw_get_p2p_attr_content(p2p_ie, p2p_ielen, P2P_ATTR_CAPABILITY, (u8 *)&le_tmp, (uint *)&attr_… in process_assoc_req_p2p_ie() 834 …if (rtw_get_p2p_attr_content(p2p_ie, p2p_ielen, P2P_ATTR_DEVICE_INFO, NULL, (uint *)&attr_contentl… in process_assoc_req_p2p_ie() 841 …rtw_get_p2p_attr_content(p2p_ie, p2p_ielen, P2P_ATTR_DEVICE_INFO, pattr_content, (uint *)&attr_con… in process_assoc_req_p2p_ie() 887 …p2p_ie = rtw_get_p2p_ie(p2p_ie + p2p_ielen, ies_len - (p2p_ie - ies + p2p_ielen), NULL, &p2p_ielen… in process_assoc_req_p2p_ie() 900 u8 *p2p_ie; in process_p2p_devdisc_req() local 908 …p2p_ie = rtw_get_p2p_ie(frame_body + _PUBLIC_ACTION_IE_OFFSET_, len - _PUBLIC_ACTION_IE_OFFSET_, N… in process_p2p_devdisc_req() [all …]
|
D | rtw_ieee80211.c | 876 u8 *rtw_get_p2p_ie(u8 *in_ie, int in_len, u8 *p2p_ie, uint *p2p_ielen) in rtw_get_p2p_ie() argument 894 if (p2p_ie) in rtw_get_p2p_ie() 895 memcpy(p2p_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in rtw_get_p2p_ie() 915 u8 *rtw_get_p2p_attr(u8 *p2p_ie, uint p2p_ielen, u8 target_attr_id, u8 *buf_attr, u32 *len_attr) in rtw_get_p2p_attr() argument 924 if (!p2p_ie || (p2p_ie[0] != _VENDOR_SPECIFIC_IE_) || in rtw_get_p2p_attr() 925 memcmp(p2p_ie + 2, p2p_oui, 4)) in rtw_get_p2p_attr() 929 attr_ptr = p2p_ie + 6; /* goto first attr */ in rtw_get_p2p_attr() 931 while (attr_ptr - p2p_ie < p2p_ielen) { in rtw_get_p2p_attr() 961 u8 *rtw_get_p2p_attr_content(u8 *p2p_ie, uint p2p_ielen, u8 target_attr_id, u8 *buf_content, uint *… in rtw_get_p2p_attr_content() argument 969 attr_ptr = rtw_get_p2p_attr(p2p_ie, p2p_ielen, target_attr_id, NULL, &attr_len); in rtw_get_p2p_attr_content() [all …]
|
D | rtw_mlme_ext.c | 3512 u8 *p2p_ie; in on_action_public_p2p() local 3599 …p2p_ie = rtw_get_p2p_ie(frame_body + _PUBLIC_ACTION_IE_OFFSET_, len - _PUBLIC_ACTION_IE_OFFSET_, N… in on_action_public_p2p() 3600 if (p2p_ie) { in on_action_public_p2p() 3608 …rtw_get_p2p_attr_content(p2p_ie, p2p_ielen, P2P_ATTR_INVITATION_FLAGS, &invitation_flag, &attr_con… in on_action_public_p2p() 3610 …rtw_get_p2p_attr_content(p2p_ie, p2p_ielen, P2P_ATTR_GROUP_BSSID, pwdinfo->p2p_peer_interface_addr… in on_action_public_p2p() 3621 … rtw_get_p2p_attr_content(p2p_ie, p2p_ielen, P2P_ATTR_GROUP_ID, (u8 *)&group_id, &attr_contentlen); in on_action_public_p2p() 3632 …if (rtw_get_p2p_attr_content(p2p_ie, p2p_ielen, P2P_ATTR_OPERATING_CH, operatingch_info, &attr_con… in on_action_public_p2p() 3668 … rtw_get_p2p_attr_content(p2p_ie, p2p_ielen, P2P_ATTR_GROUP_ID, (u8 *)&group_id, &attr_contentlen); in on_action_public_p2p() 3703 …p2p_ie = rtw_get_p2p_ie(frame_body + _PUBLIC_ACTION_IE_OFFSET_, len - _PUBLIC_ACTION_IE_OFFSET_, N… in on_action_public_p2p() 3704 if (p2p_ie) { in on_action_public_p2p() [all …]
|
/linux-5.19.10/drivers/staging/r8188eu/include/ |
D | ieee80211.h | 796 u8 *rtw_get_p2p_ie(u8 *in_ie, int in_len, u8 *p2p_ie, uint *p2p_ielen); 797 u8 *rtw_get_p2p_attr(u8 *p2p_ie, uint p2p_ielen, u8 target_attr_id, 799 u8 *rtw_get_p2p_attr_content(u8 *p2p_ie, uint p2p_ielen, u8 target_attr_id,
|
/linux-5.19.10/drivers/net/wireless/ath/ath10k/ |
D | wmi-ops.h | 170 const u8 *p2p_ie); 1308 ath10k_wmi_p2p_go_bcn_ie(struct ath10k *ar, u32 vdev_id, const u8 *p2p_ie) in ath10k_wmi_p2p_go_bcn_ie() argument 1315 skb = ar->wmi.ops->gen_p2p_go_bcn_ie(ar, vdev_id, p2p_ie); in ath10k_wmi_p2p_go_bcn_ie()
|
D | wmi-tlv.c | 3412 const u8 *p2p_ie) in ath10k_wmi_tlv_op_gen_p2p_go_bcn_ie() argument 3421 sizeof(*tlv) + roundup(p2p_ie[1] + 2, 4); in ath10k_wmi_tlv_op_gen_p2p_go_bcn_ie() 3432 cmd->ie_len = __cpu_to_le32(p2p_ie[1] + 2); in ath10k_wmi_tlv_op_gen_p2p_go_bcn_ie() 3439 tlv->len = __cpu_to_le16(roundup(p2p_ie[1] + 2, 4)); in ath10k_wmi_tlv_op_gen_p2p_go_bcn_ie() 3440 memcpy(tlv->value, p2p_ie, p2p_ie[1] + 2); in ath10k_wmi_tlv_op_gen_p2p_go_bcn_ie() 3443 ptr += roundup(p2p_ie[1] + 2, 4); in ath10k_wmi_tlv_op_gen_p2p_go_bcn_ie()
|
D | mac.c | 1563 const u8 *p2p_ie; in ath10k_mac_setup_bcn_p2p_ie() local 1570 p2p_ie = cfg80211_find_vendor_ie(WLAN_OUI_WFA, WLAN_OUI_TYPE_WFA_P2P, in ath10k_mac_setup_bcn_p2p_ie() 1574 if (!p2p_ie) in ath10k_mac_setup_bcn_p2p_ie() 1577 ret = ath10k_wmi_p2p_go_bcn_ie(ar, arvif->vdev_id, p2p_ie); in ath10k_mac_setup_bcn_p2p_ie()
|