Home
last modified time | relevance | path

Searched refs:frame_tlv (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/dev/athk/ath12k/
H A Dwmi.c765 struct wmi_tlv *frame_tlv; in ath12k_wmi_mgmt_send() local
772 len = sizeof(*cmd) + sizeof(*frame_tlv) + roundup(buf_len, 4); in ath12k_wmi_mgmt_send()
790 frame_tlv = (struct wmi_tlv *)(skb->data + sizeof(*cmd)); in ath12k_wmi_mgmt_send()
791 frame_tlv->header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_BYTE, buf_len); in ath12k_wmi_mgmt_send()
793 memcpy(frame_tlv->value, frame->data, buf_len); in ath12k_wmi_mgmt_send()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dwmi.c705 struct wmi_tlv *frame_tlv; in ath11k_wmi_mgmt_send() local
713 len = sizeof(*cmd) + sizeof(*frame_tlv) + roundup(buf_len, 4); in ath11k_wmi_mgmt_send()
731 frame_tlv = (struct wmi_tlv *)(skb->data + sizeof(*cmd)); in ath11k_wmi_mgmt_send()
732 frame_tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_BYTE) | in ath11k_wmi_mgmt_send()
735 memcpy(frame_tlv->value, frame->data, buf_len); in ath11k_wmi_mgmt_send()
737 ath11k_ce_byte_swap(frame_tlv->value, buf_len); in ath11k_wmi_mgmt_send()