Lines Matching refs:rxcb

1761 	struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(first);  in ath12k_dp_rx_msdu_coalesce()  local
1781 rxcb->is_first_msdu = ath12k_dp_rx_h_first_msdu(ab, ldesc); in ath12k_dp_rx_msdu_coalesce()
1782 rxcb->is_last_msdu = ath12k_dp_rx_h_last_msdu(ab, ldesc); in ath12k_dp_rx_msdu_coalesce()
1794 ath12k_dp_rx_desc_end_tlv_copy(ab, rxcb->rx_desc, ldesc); in ath12k_dp_rx_msdu_coalesce()
1801 rxcb = ATH12K_SKB_RXCB(skb); in ath12k_dp_rx_msdu_coalesce()
1802 if (!rxcb->is_continuation) { in ath12k_dp_rx_msdu_coalesce()
1813 rxcb = ATH12K_SKB_RXCB(skb); in ath12k_dp_rx_msdu_coalesce()
1814 if (rxcb->is_continuation) in ath12k_dp_rx_msdu_coalesce()
1832 if (!rxcb->is_continuation) in ath12k_dp_rx_msdu_coalesce()
1843 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(first); in ath12k_dp_rx_get_msdu_last_buf() local
1845 if (!rxcb->is_continuation) in ath12k_dp_rx_get_msdu_last_buf()
1849 rxcb = ATH12K_SKB_RXCB(skb); in ath12k_dp_rx_get_msdu_last_buf()
1850 if (!rxcb->is_continuation) in ath12k_dp_rx_get_msdu_last_buf()
1859 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_csum_offload() local
1863 ip_csum_fail = ath12k_dp_rx_h_ip_cksum_fail(ab, rxcb->rx_desc); in ath12k_dp_rx_h_csum_offload()
1864 l4_csum_fail = ath12k_dp_rx_h_l4_cksum_fail(ab, rxcb->rx_desc); in ath12k_dp_rx_h_csum_offload()
1956 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_undecap_nwifi() local
1974 qos_ctl = rxcb->tid; in ath12k_dp_rx_h_undecap_nwifi()
1976 if (ath12k_dp_rx_h_mesh_ctl_present(ab, rxcb->rx_desc)) in ath12k_dp_rx_h_undecap_nwifi()
1988 rxcb->rx_desc, crypto_hdr, in ath12k_dp_rx_h_undecap_nwifi()
2003 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_undecap_raw() local
2008 if (!rxcb->is_first_msdu || in ath12k_dp_rx_h_undecap_raw()
2009 !(rxcb->is_first_msdu && rxcb->is_last_msdu)) { in ath12k_dp_rx_h_undecap_raw()
2058 struct ath12k_skb_rxcb *rxcb, in ath12k_get_dot11_hdr_from_rx_desc() argument
2062 struct hal_rx_desc *rx_desc = rxcb->rx_desc; in ath12k_get_dot11_hdr_from_rx_desc()
2085 if (rxcb->is_mcbc) in ath12k_get_dot11_hdr_from_rx_desc()
2090 qos_ctl = rxcb->tid; in ath12k_get_dot11_hdr_from_rx_desc()
2109 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_undecap_eth() local
2119 ath12k_get_dot11_hdr_from_rx_desc(ar, msdu, rxcb, status, enctype); in ath12k_dp_rx_h_undecap_eth()
2174 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_find_peer() local
2175 struct hal_rx_desc *rx_desc = rxcb->rx_desc; in ath12k_dp_rx_h_find_peer()
2180 if (rxcb->peer_id) in ath12k_dp_rx_h_find_peer()
2181 peer = ath12k_peer_find_by_id(ab, rxcb->peer_id); in ath12k_dp_rx_h_find_peer()
2202 struct ath12k_skb_rxcb *rxcb; in ath12k_dp_rx_h_mpdu() local
2210 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_mpdu()
2212 rxcb->is_mcbc = fill_crypto_hdr; in ath12k_dp_rx_h_mpdu()
2214 if (rxcb->is_mcbc) in ath12k_dp_rx_h_mpdu()
2215 rxcb->peer_id = ath12k_dp_rx_h_peer_id(ar->ab, rx_desc); in ath12k_dp_rx_h_mpdu()
2220 if (rxcb->is_mcbc) in ath12k_dp_rx_h_mpdu()
2398 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_deliver_msdu() local
2400 bool is_mcbc = rxcb->is_mcbc; in ath12k_dp_rx_deliver_msdu()
2401 bool is_eapol = rxcb->is_eapol; in ath12k_dp_rx_deliver_msdu()
2411 decap = ath12k_dp_rx_h_decap_type(ab, rxcb->rx_desc); in ath12k_dp_rx_deliver_msdu()
2425 rxcb->tid, in ath12k_dp_rx_deliver_msdu()
2427 ath12k_dp_rx_h_seq_no(ab, rxcb->rx_desc), in ath12k_dp_rx_deliver_msdu()
2471 struct ath12k_skb_rxcb *rxcb; in ath12k_dp_rx_process_msdu() local
2494 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_process_msdu()
2495 rxcb->rx_desc = rx_desc; in ath12k_dp_rx_process_msdu()
2499 if (rxcb->is_frag) { in ath12k_dp_rx_process_msdu()
2501 } else if (!rxcb->is_continuation) { in ath12k_dp_rx_process_msdu()
2539 struct ath12k_skb_rxcb *rxcb; in ath12k_dp_rx_process_received_packets() local
2551 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_process_received_packets()
2552 mac_id = rxcb->mac_id; in ath12k_dp_rx_process_received_packets()
2588 struct ath12k_skb_rxcb *rxcb; in ath12k_dp_rx_process() local
2638 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_process()
2639 dma_unmap_single(ab->dev, rxcb->paddr, in ath12k_dp_rx_process()
2654 rxcb->is_first_msdu = !!(le32_to_cpu(desc->rx_msdu_info.info0) & in ath12k_dp_rx_process()
2656 rxcb->is_last_msdu = !!(le32_to_cpu(desc->rx_msdu_info.info0) & in ath12k_dp_rx_process()
2658 rxcb->is_continuation = !!(le32_to_cpu(desc->rx_msdu_info.info0) & in ath12k_dp_rx_process()
2660 rxcb->mac_id = mac_id; in ath12k_dp_rx_process()
2661 rxcb->peer_id = le32_get_bits(desc->rx_mpdu_info.peer_meta_data, in ath12k_dp_rx_process()
2663 rxcb->tid = le32_get_bits(desc->rx_mpdu_info.info0, in ath12k_dp_rx_process()
2668 if (!rxcb->is_continuation) { in ath12k_dp_rx_process()
3298 struct ath12k_skb_rxcb *rxcb; in ath12k_dp_process_rx_err_buf() local
3327 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_process_rx_err_buf()
3328 dma_unmap_single(ar->ab->dev, rxcb->paddr, in ath12k_dp_process_rx_err_buf()
3479 struct ath12k_skb_rxcb *rxcb; in ath12k_dp_rx_null_q_desc_sg_drop() local
3486 rxcb = ATH12K_SKB_RXCB(skb); in ath12k_dp_rx_null_q_desc_sg_drop()
3487 if (rxcb->err_rel_src == HAL_WBM_REL_SRC_MODULE_REO && in ath12k_dp_rx_null_q_desc_sg_drop()
3488 rxcb->err_code == HAL_REO_DEST_RING_ERROR_CODE_DESC_ADDR_ZERO) { in ath12k_dp_rx_null_q_desc_sg_drop()
3506 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_null_q_desc() local
3521 if (!rxcb->is_frag && ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE)) { in ath12k_dp_rx_h_null_q_desc()
3532 if (rxcb->is_continuation) in ath12k_dp_rx_h_null_q_desc()
3551 if (rxcb->is_frag) { in ath12k_dp_rx_h_null_q_desc()
3566 rxcb->tid = ath12k_dp_rx_h_tid(ab, desc); in ath12k_dp_rx_h_null_q_desc()
3579 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_reo_err() local
3582 ar->ab->soc_stats.reo_error[rxcb->err_code]++; in ath12k_dp_rx_h_reo_err()
3584 switch (rxcb->err_code) { in ath12k_dp_rx_h_reo_err()
3613 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_tkip_mic_err() local
3616 rxcb->is_first_msdu = ath12k_dp_rx_h_first_msdu(ab, desc); in ath12k_dp_rx_h_tkip_mic_err()
3617 rxcb->is_last_msdu = ath12k_dp_rx_h_last_msdu(ab, desc); in ath12k_dp_rx_h_tkip_mic_err()
3637 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_rxdma_err() local
3642 ar->ab->soc_stats.rxdma_error[rxcb->err_code]++; in ath12k_dp_rx_h_rxdma_err()
3644 switch (rxcb->err_code) { in ath12k_dp_rx_h_rxdma_err()
3669 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_wbm_err() local
3673 switch (rxcb->err_rel_src) { in ath12k_dp_rx_wbm_err()
3703 struct ath12k_skb_rxcb *rxcb; in ath12k_dp_rx_process_wbm_err() local
3759 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_process_wbm_err()
3760 dma_unmap_single(ab->dev, rxcb->paddr, in ath12k_dp_rx_process_wbm_err()
3775 rxcb->err_rel_src = err_info.err_rel_src; in ath12k_dp_rx_process_wbm_err()
3776 rxcb->err_code = err_info.err_code; in ath12k_dp_rx_process_wbm_err()
3777 rxcb->rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_dp_rx_process_wbm_err()
3780 rxcb->is_first_msdu = err_info.first_msdu; in ath12k_dp_rx_process_wbm_err()
3781 rxcb->is_last_msdu = err_info.last_msdu; in ath12k_dp_rx_process_wbm_err()
3782 rxcb->is_continuation = err_info.continuation; in ath12k_dp_rx_process_wbm_err()