Searched refs:TLV_HDR_SIZE (Results 1 – 5 of 5) sorted by relevance
/drivers/net/wireless/ath/ath11k/ |
D | wmi.c | 670 FIELD_PREP(WMI_TLV_LEN, sizeof(*cmd) - TLV_HDR_SIZE); in ath11k_wmi_mgmt_send() 715 len = sizeof(*cmd) + TLV_HDR_SIZE + in ath11k_wmi_vdev_create() 724 FIELD_PREP(WMI_TLV_LEN, sizeof(*cmd) - TLV_HDR_SIZE); in ath11k_wmi_vdev_create() 743 ptr += TLV_HDR_SIZE; in ath11k_wmi_vdev_create() 748 FIELD_PREP(WMI_TLV_LEN, len - TLV_HDR_SIZE); in ath11k_wmi_vdev_create() 758 FIELD_PREP(WMI_TLV_LEN, len - TLV_HDR_SIZE); in ath11k_wmi_vdev_create() 793 FIELD_PREP(WMI_TLV_LEN, sizeof(*cmd) - TLV_HDR_SIZE); in ath11k_wmi_vdev_delete() 821 FIELD_PREP(WMI_TLV_LEN, sizeof(*cmd) - TLV_HDR_SIZE); in ath11k_wmi_vdev_stop() 849 FIELD_PREP(WMI_TLV_LEN, sizeof(*cmd) - TLV_HDR_SIZE); in ath11k_wmi_vdev_down() 931 len = sizeof(*cmd) + sizeof(*chan) + TLV_HDR_SIZE; in ath11k_wmi_vdev_start() [all …]
|
D | testmode.c | 215 length = skb->len - TLV_HDR_SIZE; in ath11k_tm_wmi_event_segmented()
|
D | wmi.h | 52 #define TLV_HDR_SIZE sizeof_field(struct wmi_tlv, header) macro
|
/drivers/net/wireless/ath/ath12k/ |
D | wmi.c | 173 return ath12k_wmi_tlv_hdr(cmd, len - TLV_HDR_SIZE); in ath12k_wmi_tlv_cmd_hdr() 808 len = sizeof(*cmd) + TLV_HDR_SIZE + in ath12k_wmi_vdev_create() 833 ptr += TLV_HDR_SIZE; in ath12k_wmi_vdev_create() 1005 len = sizeof(*cmd) + sizeof(*chan) + TLV_HDR_SIZE; in ath12k_wmi_vdev_start() 1724 len = sizeof(*cmd) + sizeof(*bcn_prb_info) + TLV_HDR_SIZE + aligned_len; in ath12k_wmi_bcn_tmpl() 1777 len = sizeof(*cmd) + TLV_HDR_SIZE + key_len_aligned; in ath12k_wmi_vdev_install_key() 1925 TLV_HDR_SIZE + (peer_legacy_rates_align * sizeof(u8)) + in ath12k_wmi_send_peer_assoc_cmd() 1926 TLV_HDR_SIZE + (peer_ht_rates_align * sizeof(u8)) + in ath12k_wmi_send_peer_assoc_cmd() 1927 sizeof(*mcs) + TLV_HDR_SIZE + in ath12k_wmi_send_peer_assoc_cmd() 1929 TLV_HDR_SIZE + (sizeof(*eht_mcs) * arg->peer_eht_mcs_count) + in ath12k_wmi_send_peer_assoc_cmd() [all …]
|
D | wmi.h | 77 #define TLV_HDR_SIZE sizeof_field(struct wmi_tlv, header) macro
|