Lines Matching refs:msdu_len
1768 u8 l3pad_bytes, int msdu_len) in ath11k_dp_rx_msdu_coalesce() argument
1785 if (WARN_ON_ONCE(msdu_len <= buf_first_len)) { in ath11k_dp_rx_msdu_coalesce()
1786 skb_put(first, buf_first_hdr_len + msdu_len); in ath11k_dp_rx_msdu_coalesce()
1807 space_extra = msdu_len - (buf_first_len + skb_tailroom(first)); in ath11k_dp_rx_msdu_coalesce()
1822 rem_len = msdu_len - buf_first_len; in ath11k_dp_rx_msdu_coalesce()
2527 u16 msdu_len; in ath11k_dp_rx_process_msdu() local
2556 msdu_len = ath11k_dp_rx_h_msdu_start_msdu_len(ab, rx_desc); in ath11k_dp_rx_process_msdu()
2562 if ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE) { in ath11k_dp_rx_process_msdu()
2565 ath11k_warn(ab, "invalid msdu len %u\n", msdu_len); in ath11k_dp_rx_process_msdu()
2572 skb_put(msdu, hal_rx_desc_sz + l3_pad_bytes + msdu_len); in ath11k_dp_rx_process_msdu()
2577 l3_pad_bytes, msdu_len); in ath11k_dp_rx_process_msdu()
3305 int msdu_len = 0; in ath11k_dp_rx_h_defrag() local
3339 msdu_len += skb->len; in ath11k_dp_rx_h_defrag()
3342 extra_space = msdu_len - (DP_RX_BUFFER_SIZE + skb_tailroom(first_frag)); in ath11k_dp_rx_h_defrag()
3691 u16 msdu_len; in ath11k_dp_process_rx_err_buf() local
3728 msdu_len = ath11k_dp_rx_h_msdu_start_msdu_len(ar->ab, rx_desc); in ath11k_dp_process_rx_err_buf()
3729 if ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE) { in ath11k_dp_process_rx_err_buf()
3731 ath11k_warn(ar->ab, "invalid msdu leng %u", msdu_len); in ath11k_dp_process_rx_err_buf()
3740 skb_put(msdu, hal_rx_desc_sz + msdu_len); in ath11k_dp_process_rx_err_buf()
3866 int msdu_len, in ath11k_dp_rx_null_q_desc_sg_drop() argument
3873 n_buffs = DIV_ROUND_UP(msdu_len, in ath11k_dp_rx_null_q_desc_sg_drop()
3893 u16 msdu_len; in ath11k_dp_rx_h_null_q_desc() local
3900 msdu_len = ath11k_dp_rx_h_msdu_start_msdu_len(ar->ab, desc); in ath11k_dp_rx_h_null_q_desc()
3902 if (!rxcb->is_frag && ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE)) { in ath11k_dp_rx_h_null_q_desc()
3904 msdu_len = msdu_len - (DP_RX_BUFFER_SIZE - hal_rx_desc_sz); in ath11k_dp_rx_h_null_q_desc()
3905 ath11k_dp_rx_null_q_desc_sg_drop(ar, msdu_len, msdu_list); in ath11k_dp_rx_h_null_q_desc()
3934 if ((hal_rx_desc_sz + l3pad_bytes + msdu_len) > DP_RX_BUFFER_SIZE) in ath11k_dp_rx_h_null_q_desc()
3937 skb_put(msdu, hal_rx_desc_sz + l3pad_bytes + msdu_len); in ath11k_dp_rx_h_null_q_desc()
3987 u16 msdu_len; in ath11k_dp_rx_h_tkip_mic_err() local
3997 msdu_len = ath11k_dp_rx_h_msdu_start_msdu_len(ar->ab, desc); in ath11k_dp_rx_h_tkip_mic_err()
3998 skb_put(msdu, hal_rx_desc_sz + l3pad_bytes + msdu_len); in ath11k_dp_rx_h_tkip_mic_err()
4567 msdu_list->msdu_info[i].msdu_len = in ath11k_hal_rx_msdu_list_get()
4606 *total_len = info->msdu_len; in ath11k_dp_mon_get_buf_len()
4616 *frag_len = info->msdu_len; in ath11k_dp_mon_get_buf_len()