Lines Matching refs:msdu_len
1749 u8 l3pad_bytes, int msdu_len) in ath12k_dp_rx_msdu_coalesce() argument
1766 if (WARN_ON_ONCE(msdu_len <= buf_first_len)) { in ath12k_dp_rx_msdu_coalesce()
1767 skb_put(first, buf_first_hdr_len + msdu_len); in ath12k_dp_rx_msdu_coalesce()
1788 space_extra = msdu_len - (buf_first_len + skb_tailroom(first)); in ath12k_dp_rx_msdu_coalesce()
1803 rem_len = msdu_len - buf_first_len; in ath12k_dp_rx_msdu_coalesce()
2466 u16 msdu_len; in ath12k_dp_rx_process_msdu() local
2488 msdu_len = ath12k_dp_rx_h_msdu_len(ab, lrx_desc); in ath12k_dp_rx_process_msdu()
2494 if ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE) { in ath12k_dp_rx_process_msdu()
2496 ath12k_warn(ab, "invalid msdu len %u\n", msdu_len); in ath12k_dp_rx_process_msdu()
2501 skb_put(msdu, hal_rx_desc_sz + l3_pad_bytes + msdu_len); in ath12k_dp_rx_process_msdu()
2506 l3_pad_bytes, msdu_len); in ath12k_dp_rx_process_msdu()
2885 int msdu_len = 0; in ath12k_dp_rx_h_defrag() local
2918 msdu_len += skb->len; in ath12k_dp_rx_h_defrag()
2921 extra_space = msdu_len - (DP_RX_BUFFER_SIZE + skb_tailroom(first_frag)); in ath12k_dp_rx_h_defrag()
3287 u16 msdu_len; in ath12k_dp_process_rx_err_buf() local
3336 msdu_len = ath12k_dp_rx_h_msdu_len(ar->ab, rx_desc); in ath12k_dp_process_rx_err_buf()
3337 if ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE) { in ath12k_dp_process_rx_err_buf()
3338 ath12k_warn(ar->ab, "invalid msdu leng %u", msdu_len); in ath12k_dp_process_rx_err_buf()
3345 skb_put(msdu, hal_rx_desc_sz + msdu_len); in ath12k_dp_process_rx_err_buf()
3460 int msdu_len, in ath12k_dp_rx_null_q_desc_sg_drop() argument
3467 n_buffs = DIV_ROUND_UP(msdu_len, in ath12k_dp_rx_null_q_desc_sg_drop()
3488 u16 msdu_len, peer_id; in ath12k_dp_rx_h_null_q_desc() local
3494 msdu_len = ath12k_dp_rx_h_msdu_len(ab, desc); in ath12k_dp_rx_h_null_q_desc()
3503 if (!rxcb->is_frag && ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE)) { in ath12k_dp_rx_h_null_q_desc()
3505 msdu_len = msdu_len - (DP_RX_BUFFER_SIZE - hal_rx_desc_sz); in ath12k_dp_rx_h_null_q_desc()
3506 ath12k_dp_rx_null_q_desc_sg_drop(ar, msdu_len, msdu_list); in ath12k_dp_rx_h_null_q_desc()
3538 if ((hal_rx_desc_sz + l3pad_bytes + msdu_len) > DP_RX_BUFFER_SIZE) in ath12k_dp_rx_h_null_q_desc()
3541 skb_put(msdu, hal_rx_desc_sz + l3pad_bytes + msdu_len); in ath12k_dp_rx_h_null_q_desc()
3592 u16 msdu_len; in ath12k_dp_rx_h_tkip_mic_err() local
3602 msdu_len = ath12k_dp_rx_h_msdu_len(ab, desc); in ath12k_dp_rx_h_tkip_mic_err()
3603 skb_put(msdu, hal_rx_desc_sz + l3pad_bytes + msdu_len); in ath12k_dp_rx_h_tkip_mic_err()