Lines Matching full:rx_desc

274 	struct ath12k_rx_desc_info *rx_desc;  in ath12k_dp_rx_bufs_replenish()  local
319 rx_desc = list_first_entry_or_null(&dp->rx_desc_free_list, in ath12k_dp_rx_bufs_replenish()
322 if (!rx_desc) { in ath12k_dp_rx_bufs_replenish()
327 rx_desc->skb = skb; in ath12k_dp_rx_bufs_replenish()
328 cookie = rx_desc->cookie; in ath12k_dp_rx_bufs_replenish()
329 list_del(&rx_desc->list); in ath12k_dp_rx_bufs_replenish()
330 list_add_tail(&rx_desc->list, &dp->rx_desc_used_list); in ath12k_dp_rx_bufs_replenish()
366 list_del(&rx_desc->list); in ath12k_dp_rx_bufs_replenish()
367 list_add_tail(&rx_desc->list, &dp->rx_desc_free_list); in ath12k_dp_rx_bufs_replenish()
368 rx_desc->skb = NULL; in ath12k_dp_rx_bufs_replenish()
1806 ath12k_dp_rx_desc_end_tlv_copy(ab, rxcb->rx_desc, ldesc); in ath12k_dp_rx_msdu_coalesce()
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()
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()
2074 struct hal_rx_desc *rx_desc = rxcb->rx_desc; in ath12k_get_dot11_hdr_from_rx_desc() local
2085 ath12k_dp_rx_desc_get_crypto_header(ab, rx_desc, crypto_hdr, enctype); in ath12k_get_dot11_hdr_from_rx_desc()
2088 fc = cpu_to_le16(ath12k_dp_rxdesc_get_mpdu_frame_ctrl(ab, rx_desc)); in ath12k_get_dot11_hdr_from_rx_desc()
2094 /* Get wifi header from rx_desc */ in ath12k_get_dot11_hdr_from_rx_desc()
2095 ath12k_dp_rx_desc_get_dot11_hdr(ab, rx_desc, hdr); in ath12k_get_dot11_hdr_from_rx_desc()
2103 if (ath12k_dp_rx_h_mesh_ctl_present(ab, rx_desc)) in ath12k_get_dot11_hdr_from_rx_desc()
2142 struct hal_rx_desc *rx_desc, in ath12k_dp_rx_h_undecap() argument
2151 decap = ath12k_dp_rx_h_decap_type(ab, rx_desc); in ath12k_dp_rx_h_undecap()
2187 struct hal_rx_desc *rx_desc = rxcb->rx_desc; in ath12k_dp_rx_h_find_peer() local
2198 if (!rx_desc || !(ath12k_dp_rxdesc_mac_addr2_valid(ab, rx_desc))) in ath12k_dp_rx_h_find_peer()
2203 rx_desc)); in ath12k_dp_rx_h_find_peer()
2209 struct hal_rx_desc *rx_desc, in ath12k_dp_rx_h_mpdu() argument
2223 fill_crypto_hdr = ath12k_dp_rx_h_is_da_mcbc(ar->ab, rx_desc); 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()
2241 err_bitmap = ath12k_dp_rx_h_mpdu_err(ab, rx_desc); in ath12k_dp_rx_h_mpdu()
2243 is_decrypted = ath12k_dp_rx_h_is_decrypted(ab, rx_desc); in ath12k_dp_rx_h_mpdu()
2269 ath12k_dp_rx_h_undecap(ar, msdu, rx_desc, in ath12k_dp_rx_h_mpdu()
2275 if (ath12k_dp_rx_h_decap_type(ar->ab, rx_desc) != in ath12k_dp_rx_h_mpdu()
2282 static void ath12k_dp_rx_h_rate(struct ath12k *ar, struct hal_rx_desc *rx_desc, in ath12k_dp_rx_h_rate() argument
2293 pkt_type = ath12k_dp_rx_h_pkt_type(ab, rx_desc); in ath12k_dp_rx_h_rate()
2294 bw = ath12k_dp_rx_h_rx_bw(ab, rx_desc); in ath12k_dp_rx_h_rate()
2295 rate_mcs = ath12k_dp_rx_h_rate_mcs(ab, rx_desc); in ath12k_dp_rx_h_rate()
2296 nss = ath12k_dp_rx_h_nss(ab, rx_desc); in ath12k_dp_rx_h_rate()
2297 sgi = ath12k_dp_rx_h_sgi(ab, rx_desc); in ath12k_dp_rx_h_rate()
2350 void ath12k_dp_rx_h_ppdu(struct ath12k *ar, struct hal_rx_desc *rx_desc, in ath12k_dp_rx_h_ppdu() argument
2367 meta_data = ath12k_dp_rx_h_freq(ab, rx_desc); in ath12k_dp_rx_h_ppdu()
2386 ath12k_dbg_dump(ar->ab, ATH12K_DBG_DATA, NULL, "rx_desc: ", in ath12k_dp_rx_h_ppdu()
2387 rx_desc, sizeof(*rx_desc)); in ath12k_dp_rx_h_ppdu()
2393 ath12k_dp_rx_h_rate(ar, rx_desc, rx_status); in ath12k_dp_rx_h_ppdu()
2423 decap = ath12k_dp_rx_h_decap_type(ab, rxcb->rx_desc); in ath12k_dp_rx_deliver_msdu()
2439 ath12k_dp_rx_h_seq_no(ab, rxcb->rx_desc), in ath12k_dp_rx_deliver_msdu()
2482 struct hal_rx_desc *rx_desc, *lrx_desc; in ath12k_dp_rx_process_msdu() local
2498 rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_dp_rx_process_msdu()
2507 rxcb->rx_desc = rx_desc; in ath12k_dp_rx_process_msdu()
2517 ath12k_dbg_dump(ab, ATH12K_DBG_DATA, NULL, "", rx_desc, in ath12k_dp_rx_process_msdu()
2518 sizeof(*rx_desc)); in ath12k_dp_rx_process_msdu()
2534 ath12k_dp_rx_h_ppdu(ar, rx_desc, rx_status); in ath12k_dp_rx_process_msdu()
2535 ath12k_dp_rx_h_mpdu(ar, msdu, rx_desc, rx_status); in ath12k_dp_rx_process_msdu()
2693 * get rx_desc NULL. Give the read another try with updated cached in ath12k_dp_rx_process()
2813 struct hal_rx_desc *rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_dp_rx_h_verify_tkip_mic() local
2824 if (ath12k_dp_rx_h_enctype(ab, rx_desc) != HAL_ENCRYPT_TYPE_TKIP_MIC) in ath12k_dp_rx_h_verify_tkip_mic()
2857 ath12k_dp_rx_h_ppdu(ar, rx_desc, rxs); in ath12k_dp_rx_h_verify_tkip_mic()
2858 ath12k_dp_rx_h_undecap(ar, msdu, rx_desc, in ath12k_dp_rx_h_verify_tkip_mic()
2901 struct hal_rx_desc *rx_desc; in ath12k_dp_rx_h_defrag() local
2915 rx_desc = (struct hal_rx_desc *)skb->data; in ath12k_dp_rx_h_defrag()
2918 enctype = ath12k_dp_rx_h_enctype(ab, rx_desc); in ath12k_dp_rx_h_defrag()
2921 rx_desc); in ath12k_dp_rx_h_defrag()
2970 struct hal_rx_desc *rx_desc = (struct hal_rx_desc *)defrag_skb->data; in ath12k_dp_rx_h_defrag_reo_reinject() local
3016 ath12k_dp_rxdesc_set_msdu_len(ab, rx_desc, defrag_skb->len - hal_rx_desc_sz); in ath12k_dp_rx_h_defrag_reo_reinject()
3196 struct hal_rx_desc *rx_desc; in ath12k_dp_rx_frag_h_mpdu() local
3206 rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_dp_rx_frag_h_mpdu()
3207 peer_id = ath12k_dp_rx_h_peer_id(ab, rx_desc); in ath12k_dp_rx_frag_h_mpdu()
3208 tid = ath12k_dp_rx_h_tid(ab, rx_desc); in ath12k_dp_rx_frag_h_mpdu()
3209 seqno = ath12k_dp_rx_h_seq_no(ab, rx_desc); in ath12k_dp_rx_frag_h_mpdu()
3213 if (!ath12k_dp_rx_h_seq_ctrl_valid(ab, rx_desc) || in ath12k_dp_rx_frag_h_mpdu()
3214 !ath12k_dp_rx_h_fc_valid(ab, rx_desc) || in ath12k_dp_rx_frag_h_mpdu()
3316 struct hal_rx_desc *rx_desc; in ath12k_dp_process_rx_err_buf() local
3365 rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_dp_process_rx_err_buf()
3366 msdu_len = ath12k_dp_rx_h_msdu_len(ar->ab, rx_desc); in ath12k_dp_process_rx_err_buf()
3369 ath12k_dbg_dump(ar->ab, ATH12K_DBG_DATA, NULL, "", rx_desc, in ath12k_dp_process_rx_err_buf()
3370 sizeof(*rx_desc)); in ath12k_dp_process_rx_err_buf()
3660 struct hal_rx_desc *rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_dp_rx_h_rxdma_err() local
3669 err_bitmap = ath12k_dp_rx_h_mpdu_err(ab, rx_desc); in ath12k_dp_rx_h_rxdma_err()
3726 void *rx_desc; in ath12k_dp_rx_process_wbm_err() local
3743 rx_desc = ath12k_hal_srng_dst_get_next_entry(ab, srng); in ath12k_dp_rx_process_wbm_err()
3744 if (!rx_desc) in ath12k_dp_rx_process_wbm_err()
3747 ret = ath12k_hal_wbm_desc_parse_err(ab, rx_desc, &err_info); in ath12k_dp_rx_process_wbm_err()
3755 desc_info = (struct ath12k_rx_desc_info *)err_info.rx_desc; in ath12k_dp_rx_process_wbm_err()
3799 rxcb->rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_dp_rx_process_wbm_err()
3971 * and modify the rx_desc struct in ath12k_dp_rxdma_ring_sel_config_qcn9274()
4009 * and modify the rx_desc struct in ath12k_dp_rxdma_ring_sel_config_wcn7850()