Lines Matching refs:rxcb
1773 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(first); in ath12k_dp_rx_msdu_coalesce() local
1793 rxcb->is_first_msdu = ath12k_dp_rx_h_first_msdu(ab, ldesc); in ath12k_dp_rx_msdu_coalesce()
1794 rxcb->is_last_msdu = ath12k_dp_rx_h_last_msdu(ab, ldesc); in ath12k_dp_rx_msdu_coalesce()
1806 ath12k_dp_rx_desc_end_tlv_copy(ab, rxcb->rx_desc, ldesc); 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()
1825 rxcb = ATH12K_SKB_RXCB(skb); in ath12k_dp_rx_msdu_coalesce()
1826 if (rxcb->is_continuation) in ath12k_dp_rx_msdu_coalesce()
1844 if (!rxcb->is_continuation) in ath12k_dp_rx_msdu_coalesce()
1855 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(first); in ath12k_dp_rx_get_msdu_last_buf() local
1857 if (!rxcb->is_continuation) in ath12k_dp_rx_get_msdu_last_buf()
1861 rxcb = ATH12K_SKB_RXCB(skb); in ath12k_dp_rx_get_msdu_last_buf()
1862 if (!rxcb->is_continuation) in ath12k_dp_rx_get_msdu_last_buf()
1871 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_csum_offload() local
1875 ip_csum_fail = ath12k_dp_rx_h_ip_cksum_fail(ab, rxcb->rx_desc); in ath12k_dp_rx_h_csum_offload()
1876 l4_csum_fail = ath12k_dp_rx_h_l4_cksum_fail(ab, rxcb->rx_desc); in ath12k_dp_rx_h_csum_offload()
1968 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_undecap_nwifi() local
1986 qos_ctl = rxcb->tid; in ath12k_dp_rx_h_undecap_nwifi()
1988 if (ath12k_dp_rx_h_mesh_ctl_present(ab, rxcb->rx_desc)) in ath12k_dp_rx_h_undecap_nwifi()
2000 rxcb->rx_desc, crypto_hdr, in ath12k_dp_rx_h_undecap_nwifi()
2015 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_undecap_raw() local
2020 if (!rxcb->is_first_msdu || in ath12k_dp_rx_h_undecap_raw()
2021 !(rxcb->is_first_msdu && rxcb->is_last_msdu)) { in ath12k_dp_rx_h_undecap_raw()
2070 struct ath12k_skb_rxcb *rxcb, in ath12k_get_dot11_hdr_from_rx_desc() argument
2074 struct hal_rx_desc *rx_desc = rxcb->rx_desc; in ath12k_get_dot11_hdr_from_rx_desc()
2097 if (rxcb->is_mcbc) in ath12k_get_dot11_hdr_from_rx_desc()
2102 qos_ctl = rxcb->tid; in ath12k_get_dot11_hdr_from_rx_desc()
2121 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_undecap_eth() local
2131 ath12k_get_dot11_hdr_from_rx_desc(ar, msdu, rxcb, status, enctype); in ath12k_dp_rx_h_undecap_eth()
2186 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_find_peer() local
2187 struct hal_rx_desc *rx_desc = rxcb->rx_desc; in ath12k_dp_rx_h_find_peer()
2192 if (rxcb->peer_id) in ath12k_dp_rx_h_find_peer()
2193 peer = ath12k_peer_find_by_id(ab, rxcb->peer_id); in ath12k_dp_rx_h_find_peer()
2214 struct ath12k_skb_rxcb *rxcb; in ath12k_dp_rx_h_mpdu() local
2222 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_mpdu()
2224 rxcb->is_mcbc = fill_crypto_hdr; in ath12k_dp_rx_h_mpdu()
2226 if (rxcb->is_mcbc) in ath12k_dp_rx_h_mpdu()
2227 rxcb->peer_id = ath12k_dp_rx_h_peer_id(ar->ab, rx_desc); in ath12k_dp_rx_h_mpdu()
2232 if (rxcb->is_mcbc) in ath12k_dp_rx_h_mpdu()
2410 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_deliver_msdu() local
2412 bool is_mcbc = rxcb->is_mcbc; in ath12k_dp_rx_deliver_msdu()
2413 bool is_eapol = rxcb->is_eapol; in ath12k_dp_rx_deliver_msdu()
2423 decap = ath12k_dp_rx_h_decap_type(ab, rxcb->rx_desc); in ath12k_dp_rx_deliver_msdu()
2437 rxcb->tid, in ath12k_dp_rx_deliver_msdu()
2439 ath12k_dp_rx_h_seq_no(ab, rxcb->rx_desc), in ath12k_dp_rx_deliver_msdu()
2483 struct ath12k_skb_rxcb *rxcb; in ath12k_dp_rx_process_msdu() local
2506 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_process_msdu()
2507 rxcb->rx_desc = rx_desc; in ath12k_dp_rx_process_msdu()
2511 if (rxcb->is_frag) { in ath12k_dp_rx_process_msdu()
2513 } else if (!rxcb->is_continuation) { in ath12k_dp_rx_process_msdu()
2551 struct ath12k_skb_rxcb *rxcb; in ath12k_dp_rx_process_received_packets() local
2563 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_process_received_packets()
2564 mac_id = rxcb->mac_id; in ath12k_dp_rx_process_received_packets()
2600 struct ath12k_skb_rxcb *rxcb; in ath12k_dp_rx_process() local
2650 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_process()
2651 dma_unmap_single(ab->dev, rxcb->paddr, in ath12k_dp_rx_process()
2666 rxcb->is_first_msdu = !!(le32_to_cpu(desc->rx_msdu_info.info0) & in ath12k_dp_rx_process()
2668 rxcb->is_last_msdu = !!(le32_to_cpu(desc->rx_msdu_info.info0) & in ath12k_dp_rx_process()
2670 rxcb->is_continuation = !!(le32_to_cpu(desc->rx_msdu_info.info0) & in ath12k_dp_rx_process()
2672 rxcb->mac_id = mac_id; in ath12k_dp_rx_process()
2673 rxcb->peer_id = le32_get_bits(desc->rx_mpdu_info.peer_meta_data, in ath12k_dp_rx_process()
2675 rxcb->tid = le32_get_bits(desc->rx_mpdu_info.info0, in ath12k_dp_rx_process()
2680 if (!rxcb->is_continuation) { in ath12k_dp_rx_process()
3315 struct ath12k_skb_rxcb *rxcb; in ath12k_dp_process_rx_err_buf() local
3344 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_process_rx_err_buf()
3345 dma_unmap_single(ar->ab->dev, rxcb->paddr, in ath12k_dp_process_rx_err_buf()
3501 struct ath12k_skb_rxcb *rxcb; in ath12k_dp_rx_null_q_desc_sg_drop() local
3508 rxcb = ATH12K_SKB_RXCB(skb); in ath12k_dp_rx_null_q_desc_sg_drop()
3509 if (rxcb->err_rel_src == HAL_WBM_REL_SRC_MODULE_REO && in ath12k_dp_rx_null_q_desc_sg_drop()
3510 rxcb->err_code == HAL_REO_DEST_RING_ERROR_CODE_DESC_ADDR_ZERO) { in ath12k_dp_rx_null_q_desc_sg_drop()
3528 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_null_q_desc() local
3543 if (!rxcb->is_frag && ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE)) { in ath12k_dp_rx_h_null_q_desc()
3554 if (rxcb->is_continuation) in ath12k_dp_rx_h_null_q_desc()
3573 if (rxcb->is_frag) { in ath12k_dp_rx_h_null_q_desc()
3588 rxcb->tid = ath12k_dp_rx_h_tid(ab, desc); in ath12k_dp_rx_h_null_q_desc()
3601 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_reo_err() local
3604 ar->ab->soc_stats.reo_error[rxcb->err_code]++; in ath12k_dp_rx_h_reo_err()
3606 switch (rxcb->err_code) { in ath12k_dp_rx_h_reo_err()
3635 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_tkip_mic_err() local
3638 rxcb->is_first_msdu = ath12k_dp_rx_h_first_msdu(ab, desc); in ath12k_dp_rx_h_tkip_mic_err()
3639 rxcb->is_last_msdu = ath12k_dp_rx_h_last_msdu(ab, desc); in ath12k_dp_rx_h_tkip_mic_err()
3659 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_rxdma_err() local
3664 ar->ab->soc_stats.rxdma_error[rxcb->err_code]++; in ath12k_dp_rx_h_rxdma_err()
3666 switch (rxcb->err_code) { in ath12k_dp_rx_h_rxdma_err()
3691 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_wbm_err() local
3695 switch (rxcb->err_rel_src) { in ath12k_dp_rx_wbm_err()
3725 struct ath12k_skb_rxcb *rxcb; in ath12k_dp_rx_process_wbm_err() local
3781 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_process_wbm_err()
3782 dma_unmap_single(ab->dev, rxcb->paddr, in ath12k_dp_rx_process_wbm_err()
3797 rxcb->err_rel_src = err_info.err_rel_src; in ath12k_dp_rx_process_wbm_err()
3798 rxcb->err_code = err_info.err_code; in ath12k_dp_rx_process_wbm_err()
3799 rxcb->rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_dp_rx_process_wbm_err()
3802 rxcb->is_first_msdu = err_info.first_msdu; in ath12k_dp_rx_process_wbm_err()
3803 rxcb->is_last_msdu = err_info.last_msdu; in ath12k_dp_rx_process_wbm_err()
3804 rxcb->is_continuation = err_info.continuation; in ath12k_dp_rx_process_wbm_err()