Lines Matching refs:tlv_len
580 int tlv_len, bin_len, num_bins; in ath11k_spectral_process_fft() local
594 tlv_len = FIELD_GET(SPECTRAL_TLV_HDR_LEN, __le32_to_cpu(tlv->header)); in ath11k_spectral_process_fft()
596 tlv_len *= ATH11K_SPECTRAL_DWORD_SIZE; in ath11k_spectral_process_fft()
597 bin_len = tlv_len - ab->hw_params.spectral.fft_hdr_len; in ath11k_spectral_process_fft()
681 int tlv_len, sample_sz; in ath11k_spectral_process_data() local
720 tlv_len = FIELD_GET(SPECTRAL_TLV_HDR_LEN, in ath11k_spectral_process_data()
723 tlv_len *= ATH11K_SPECTRAL_DWORD_SIZE; in ath11k_spectral_process_data()
724 if ((i + sizeof(*tlv) + tlv_len) > data_len) { in ath11k_spectral_process_data()
726 i, tlv_len, data_len); in ath11k_spectral_process_data()
740 tlv_len = sizeof(*summary) - sizeof(*tlv) + in ath11k_spectral_process_data()
743 if (tlv_len < (sizeof(*summary) - sizeof(*tlv))) { in ath11k_spectral_process_data()
745 i, tlv_len); in ath11k_spectral_process_data()
755 if (tlv_len < (sizeof(struct spectral_search_fft_report) - in ath11k_spectral_process_data()
776 i += sizeof(*tlv) + tlv_len; in ath11k_spectral_process_data()