Lines Matching refs:rxcb

1748 	struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(first);  in ath11k_dp_rx_msdu_coalesce()  local
1768 rxcb->is_first_msdu = ath11k_dp_rx_h_msdu_end_first_msdu(ab, ldesc); in ath11k_dp_rx_msdu_coalesce()
1769 rxcb->is_last_msdu = ath11k_dp_rx_h_msdu_end_last_msdu(ab, ldesc); in ath11k_dp_rx_msdu_coalesce()
1781 ath11k_dp_rx_desc_end_tlv_copy(ab, rxcb->rx_desc, ldesc); in ath11k_dp_rx_msdu_coalesce()
1788 rxcb = ATH11K_SKB_RXCB(skb); in ath11k_dp_rx_msdu_coalesce()
1789 if (!rxcb->is_continuation) { in ath11k_dp_rx_msdu_coalesce()
1800 rxcb = ATH11K_SKB_RXCB(skb); in ath11k_dp_rx_msdu_coalesce()
1801 if (rxcb->is_continuation) in ath11k_dp_rx_msdu_coalesce()
1819 if (!rxcb->is_continuation) in ath11k_dp_rx_msdu_coalesce()
1830 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(first); in ath11k_dp_rx_get_msdu_last_buf() local
1832 if (!rxcb->is_continuation) in ath11k_dp_rx_get_msdu_last_buf()
1836 rxcb = ATH11K_SKB_RXCB(skb); in ath11k_dp_rx_get_msdu_last_buf()
1837 if (!rxcb->is_continuation) in ath11k_dp_rx_get_msdu_last_buf()
1846 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_csum_offload() local
1850 rx_attention = ath11k_dp_rx_get_attention(ar->ab, rxcb->rx_desc); in ath11k_dp_rx_h_csum_offload()
1944 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_undecap_nwifi() local
1960 if (rxcb->is_first_msdu) { in ath11k_dp_rx_h_undecap_nwifi()
1981 qos_ctl = rxcb->tid; in ath11k_dp_rx_h_undecap_nwifi()
1983 if (ath11k_dp_rx_h_msdu_start_mesh_ctl_present(ar->ab, rxcb->rx_desc)) in ath11k_dp_rx_h_undecap_nwifi()
1999 if (!rxcb->is_first_msdu) { in ath11k_dp_rx_h_undecap_nwifi()
2022 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_undecap_raw() local
2027 if (!rxcb->is_first_msdu || in ath11k_dp_rx_h_undecap_raw()
2028 !(rxcb->is_first_msdu && rxcb->is_last_msdu)) { in ath11k_dp_rx_h_undecap_raw()
2080 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_find_rfc1042() local
2086 is_amsdu = !(rxcb->is_first_msdu && rxcb->is_last_msdu); in ath11k_dp_rx_h_find_rfc1042()
2087 hdr = (struct ieee80211_hdr *)ath11k_dp_rx_h_80211_hdr(ar->ab, rxcb->rx_desc); in ath11k_dp_rx_h_find_rfc1042()
2090 if (rxcb->is_first_msdu) { in ath11k_dp_rx_h_find_rfc1042()
2443 struct ath11k_skb_rxcb *rxcb; in ath11k_dp_rx_process_msdu() local
2469 rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_process_msdu()
2470 rxcb->rx_desc = rx_desc; in ath11k_dp_rx_process_msdu()
2474 if (rxcb->is_frag) { in ath11k_dp_rx_process_msdu()
2476 } else if (!rxcb->is_continuation) { in ath11k_dp_rx_process_msdu()
2524 struct ath11k_skb_rxcb *rxcb; in ath11k_dp_rx_process_received_packets() local
2536 rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_process_received_packets()
2537 mac_id = rxcb->mac_id; in ath11k_dp_rx_process_received_packets()
2571 struct ath11k_skb_rxcb *rxcb; in ath11k_dp_process_rx() local
2616 rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_process_rx()
2617 dma_unmap_single(ab->dev, rxcb->paddr, in ath11k_dp_process_rx()
2633 rxcb->is_first_msdu = !!(desc.rx_msdu_info.info0 & in ath11k_dp_process_rx()
2635 rxcb->is_last_msdu = !!(desc.rx_msdu_info.info0 & in ath11k_dp_process_rx()
2637 rxcb->is_continuation = !!(desc.rx_msdu_info.info0 & in ath11k_dp_process_rx()
2639 rxcb->mac_id = mac_id; in ath11k_dp_process_rx()
2640 rxcb->tid = FIELD_GET(HAL_REO_DEST_RING_INFO0_RX_QUEUE_NUM, in ath11k_dp_process_rx()
2645 if (total_msdu_reaped >= quota && !rxcb->is_continuation) { in ath11k_dp_process_rx()
2875 struct ath11k_skb_rxcb *rxcb; in ath11k_dp_rx_reap_mon_status_ring() local
2917 rxcb = ATH11K_SKB_RXCB(skb); in ath11k_dp_rx_reap_mon_status_ring()
2919 dma_unmap_single(ab->dev, rxcb->paddr, in ath11k_dp_rx_reap_mon_status_ring()
2945 rxcb = ATH11K_SKB_RXCB(skb); in ath11k_dp_rx_reap_mon_status_ring()
2950 ath11k_hal_rx_buf_addr_info_set(rx_mon_status_desc, rxcb->paddr, in ath11k_dp_rx_reap_mon_status_ring()
3592 struct ath11k_skb_rxcb *rxcb; in ath11k_dp_process_rx_err_buf() local
3610 rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_process_rx_err_buf()
3611 dma_unmap_single(ar->ab->dev, rxcb->paddr, in ath11k_dp_process_rx_err_buf()
3774 struct ath11k_skb_rxcb *rxcb; in ath11k_dp_rx_null_q_desc_sg_drop() local
3781 rxcb = ATH11K_SKB_RXCB(skb); in ath11k_dp_rx_null_q_desc_sg_drop()
3782 if (rxcb->err_rel_src == HAL_WBM_REL_SRC_MODULE_REO && in ath11k_dp_rx_null_q_desc_sg_drop()
3783 rxcb->err_code == HAL_REO_DEST_RING_ERROR_CODE_DESC_ADDR_ZERO) { in ath11k_dp_rx_null_q_desc_sg_drop()
3801 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_null_q_desc() local
3806 if (!rxcb->is_frag && ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE)) { in ath11k_dp_rx_h_null_q_desc()
3830 rxcb->is_first_msdu = ath11k_dp_rx_h_msdu_end_first_msdu(ar->ab, desc); in ath11k_dp_rx_h_null_q_desc()
3831 rxcb->is_last_msdu = ath11k_dp_rx_h_msdu_end_last_msdu(ar->ab, desc); in ath11k_dp_rx_h_null_q_desc()
3833 if (rxcb->is_frag) { in ath11k_dp_rx_h_null_q_desc()
3848 rxcb->tid = ath11k_dp_rx_h_mpdu_start_tid(ar->ab, desc); in ath11k_dp_rx_h_null_q_desc()
3861 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_reo_err() local
3864 ar->ab->soc_stats.reo_error[rxcb->err_code]++; in ath11k_dp_rx_h_reo_err()
3866 switch (rxcb->err_code) { in ath11k_dp_rx_h_reo_err()
3894 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_tkip_mic_err() local
3897 rxcb->is_first_msdu = ath11k_dp_rx_h_msdu_end_first_msdu(ar->ab, desc); in ath11k_dp_rx_h_tkip_mic_err()
3898 rxcb->is_last_msdu = ath11k_dp_rx_h_msdu_end_last_msdu(ar->ab, desc); in ath11k_dp_rx_h_tkip_mic_err()
3917 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_rxdma_err() local
3920 ar->ab->soc_stats.rxdma_error[rxcb->err_code]++; in ath11k_dp_rx_h_rxdma_err()
3922 switch (rxcb->err_code) { in ath11k_dp_rx_h_rxdma_err()
3942 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_wbm_err() local
3947 switch (rxcb->err_rel_src) { in ath11k_dp_rx_wbm_err()
3980 struct ath11k_skb_rxcb *rxcb; in ath11k_dp_rx_process_wbm_err() local
4027 rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_process_wbm_err()
4028 dma_unmap_single(ab->dev, rxcb->paddr, in ath11k_dp_rx_process_wbm_err()
4042 rxcb->err_rel_src = err_info.err_rel_src; in ath11k_dp_rx_process_wbm_err()
4043 rxcb->err_code = err_info.err_code; in ath11k_dp_rx_process_wbm_err()
4044 rxcb->rx_desc = (struct hal_rx_desc *)msdu->data; in ath11k_dp_rx_process_wbm_err()
4098 struct ath11k_skb_rxcb *rxcb; in ath11k_dp_process_rxdma_err() local
4153 rxcb = ATH11K_SKB_RXCB(skb); in ath11k_dp_process_rxdma_err()
4154 dma_unmap_single(ab->dev, rxcb->paddr, in ath11k_dp_process_rxdma_err()
4553 struct ath11k_skb_rxcb *rxcb; in ath11k_dp_rx_mon_mpdu_pop() local
4625 rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_mon_mpdu_pop()
4626 if (!rxcb->unmapped) { in ath11k_dp_rx_mon_mpdu_pop()
4627 dma_unmap_single(ar->ab->dev, rxcb->paddr, in ath11k_dp_rx_mon_mpdu_pop()
4631 rxcb->unmapped = 1; in ath11k_dp_rx_mon_mpdu_pop()