Home
last modified time | relevance | path

Searched refs:ftm_cmd (Results 1 – 3 of 3) sorted by relevance

/src/sys/contrib/dev/athk/ath12k/
H A Dtestmode.c211 struct ath12k_wmi_ftm_cmd *ftm_cmd; in ath12k_tm_cmd_process_ftm() local
252 ftm_cmd = (struct ath12k_wmi_ftm_cmd *)skb->data; in ath12k_tm_cmd_process_ftm()
254 ftm_cmd->tlv_header = ath12k_wmi_tlv_hdr(WMI_TAG_ARRAY_BYTE, aligned_len); in ath12k_tm_cmd_process_ftm()
255 ftm_cmd->seg_hdr.len = cpu_to_le32(total_bytes); in ath12k_tm_cmd_process_ftm()
256 ftm_cmd->seg_hdr.msgref = cpu_to_le32(ar->ftm_msgref); in ath12k_tm_cmd_process_ftm()
257 ftm_cmd->seg_hdr.segmentinfo = in ath12k_tm_cmd_process_ftm()
262 ftm_cmd->seg_hdr.pdev_id = cpu_to_le32(ar->pdev->pdev_id); in ath12k_tm_cmd_process_ftm()
264 memcpy(&ftm_cmd->data, bufpos, chunk_len); in ath12k_tm_cmd_process_ftm()
/src/sys/contrib/dev/athk/ath11k/
H A Dtestmode.c401 struct wmi_ftm_cmd *ftm_cmd; in ath11k_tm_cmd_wmi_ftm() local
443 ftm_cmd = (struct wmi_ftm_cmd *)skb->data; in ath11k_tm_cmd_wmi_ftm()
447 ftm_cmd->tlv_header = hdr_info; in ath11k_tm_cmd_wmi_ftm()
448 ftm_cmd->seg_hdr.len = total_bytes; in ath11k_tm_cmd_wmi_ftm()
449 ftm_cmd->seg_hdr.msgref = ar->ftm_msgref; in ath11k_tm_cmd_wmi_ftm()
452 ftm_cmd->seg_hdr.segmentinfo = seginfo; in ath11k_tm_cmd_wmi_ftm()
455 memcpy(&ftm_cmd->data, bufpos, chunk_len); in ath11k_tm_cmd_wmi_ftm()
/src/sys/contrib/dev/athk/ath10k/
H A Dtestmode.c571 struct wmi_ftm_cmd *ftm_cmd; in ath10k_tm_cmd_tlv() local
583 ftm_cmd = (struct wmi_ftm_cmd *)skb->data; in ath10k_tm_cmd_tlv()
587 ftm_cmd->tlv_header = __cpu_to_le32(hdr_info); in ath10k_tm_cmd_tlv()
588 ftm_cmd->seg_hdr.len = __cpu_to_le32(total_bytes); in ath10k_tm_cmd_tlv()
589 ftm_cmd->seg_hdr.msgref = __cpu_to_le32(ar->testmode.ftm_msgref); in ath10k_tm_cmd_tlv()
592 ftm_cmd->seg_hdr.segmentinfo = __cpu_to_le32(seginfo); in ath10k_tm_cmd_tlv()
595 memcpy(&ftm_cmd->data, bufpos, chunk_len); in ath10k_tm_cmd_tlv()