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()
2530 u16 msdu_len; in ath11k_dp_rx_process_msdu() local
2559 msdu_len = ath11k_dp_rx_h_msdu_start_msdu_len(ab, rx_desc); in ath11k_dp_rx_process_msdu()
2565 if ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE) { in ath11k_dp_rx_process_msdu()
2568 ath11k_warn(ab, "invalid msdu len %u\n", msdu_len); in ath11k_dp_rx_process_msdu()
2575 skb_put(msdu, hal_rx_desc_sz + l3_pad_bytes + msdu_len); in ath11k_dp_rx_process_msdu()
2580 l3_pad_bytes, msdu_len); in ath11k_dp_rx_process_msdu()
3309 int msdu_len = 0; in ath11k_dp_rx_h_defrag() local
3343 msdu_len += skb->len; in ath11k_dp_rx_h_defrag()
3346 extra_space = msdu_len - (DP_RX_BUFFER_SIZE + skb_tailroom(first_frag)); in ath11k_dp_rx_h_defrag()
3702 u16 msdu_len; in ath11k_dp_process_rx_err_buf() local
3739 msdu_len = ath11k_dp_rx_h_msdu_start_msdu_len(ar->ab, rx_desc); in ath11k_dp_process_rx_err_buf()
3740 if ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE) { in ath11k_dp_process_rx_err_buf()
3742 ath11k_warn(ar->ab, "invalid msdu leng %u", msdu_len); in ath11k_dp_process_rx_err_buf()
3751 skb_put(msdu, hal_rx_desc_sz + msdu_len); in ath11k_dp_process_rx_err_buf()
3877 int msdu_len, in ath11k_dp_rx_null_q_desc_sg_drop() argument
3884 n_buffs = DIV_ROUND_UP(msdu_len, in ath11k_dp_rx_null_q_desc_sg_drop()
3904 u16 msdu_len; in ath11k_dp_rx_h_null_q_desc() local
3911 msdu_len = ath11k_dp_rx_h_msdu_start_msdu_len(ar->ab, desc); in ath11k_dp_rx_h_null_q_desc()
3913 if (!rxcb->is_frag && ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE)) { in ath11k_dp_rx_h_null_q_desc()
3915 msdu_len = msdu_len - (DP_RX_BUFFER_SIZE - hal_rx_desc_sz); in ath11k_dp_rx_h_null_q_desc()
3916 ath11k_dp_rx_null_q_desc_sg_drop(ar, msdu_len, msdu_list); in ath11k_dp_rx_h_null_q_desc()
3945 if ((hal_rx_desc_sz + l3pad_bytes + msdu_len) > DP_RX_BUFFER_SIZE) in ath11k_dp_rx_h_null_q_desc()
3948 skb_put(msdu, hal_rx_desc_sz + l3pad_bytes + msdu_len); in ath11k_dp_rx_h_null_q_desc()
3998 u16 msdu_len; in ath11k_dp_rx_h_tkip_mic_err() local
4008 msdu_len = ath11k_dp_rx_h_msdu_start_msdu_len(ar->ab, desc); in ath11k_dp_rx_h_tkip_mic_err()
4009 skb_put(msdu, hal_rx_desc_sz + l3pad_bytes + msdu_len); in ath11k_dp_rx_h_tkip_mic_err()
4578 msdu_list->msdu_info[i].msdu_len = in ath11k_hal_rx_msdu_list_get()
4617 *total_len = info->msdu_len; in ath11k_dp_mon_get_buf_len()
4627 *frag_len = info->msdu_len; in ath11k_dp_mon_get_buf_len()