Lines Matching full:rx_desc

256 	struct ath12k_rx_desc_info *rx_desc;  in ath12k_dp_list_cut_nodes()  local
268 rx_desc = list_entry(cur, struct ath12k_rx_desc_info, list); in ath12k_dp_list_cut_nodes()
269 rx_desc->in_use = true; in ath12k_dp_list_cut_nodes()
283 struct ath12k_rx_desc_info *rx_desc, *safe; in ath12k_dp_rx_enqueue_free() local
286 list_for_each_entry_safe(rx_desc, safe, used_list, list) in ath12k_dp_rx_enqueue_free()
287 rx_desc->in_use = false; in ath12k_dp_rx_enqueue_free()
308 struct ath12k_rx_desc_info *rx_desc; in ath12k_dp_rx_bufs_replenish() local
358 rx_desc = list_first_entry_or_null(used_list, in ath12k_dp_rx_bufs_replenish()
361 if (!rx_desc) in ath12k_dp_rx_bufs_replenish()
364 rx_desc->skb = skb; in ath12k_dp_rx_bufs_replenish()
365 cookie = rx_desc->cookie; in ath12k_dp_rx_bufs_replenish()
371 list_del(&rx_desc->list); in ath12k_dp_rx_bufs_replenish()
1854 ath12k_dp_rx_desc_end_tlv_copy(ab, rxcb->rx_desc, ldesc); in ath12k_dp_rx_msdu_coalesce()
1923 ip_csum_fail = ath12k_dp_rx_h_ip_cksum_fail(ab, rxcb->rx_desc); in ath12k_dp_rx_h_csum_offload()
1924 l4_csum_fail = ath12k_dp_rx_h_l4_cksum_fail(ab, rxcb->rx_desc); in ath12k_dp_rx_h_csum_offload()
2036 if (ath12k_dp_rx_h_mesh_ctl_present(ab, rxcb->rx_desc)) in ath12k_dp_rx_h_undecap_nwifi()
2048 rxcb->rx_desc, crypto_hdr, in ath12k_dp_rx_h_undecap_nwifi()
2122 struct hal_rx_desc *rx_desc = rxcb->rx_desc; in ath12k_get_dot11_hdr_from_rx_desc() local
2133 ath12k_dp_rx_desc_get_crypto_header(ab, rx_desc, crypto_hdr, enctype); in ath12k_get_dot11_hdr_from_rx_desc()
2136 fc = cpu_to_le16(ath12k_dp_rxdesc_get_mpdu_frame_ctrl(ab, rx_desc)); in ath12k_get_dot11_hdr_from_rx_desc()
2142 /* Get wifi header from rx_desc */ in ath12k_get_dot11_hdr_from_rx_desc()
2143 ath12k_dp_rx_desc_get_dot11_hdr(ab, rx_desc, hdr); in ath12k_get_dot11_hdr_from_rx_desc()
2151 if (ath12k_dp_rx_h_mesh_ctl_present(ab, rx_desc)) in ath12k_get_dot11_hdr_from_rx_desc()
2190 struct hal_rx_desc *rx_desc, in ath12k_dp_rx_h_undecap() argument
2199 decap = ath12k_dp_rx_h_decap_type(ab, rx_desc); in ath12k_dp_rx_h_undecap()
2235 struct hal_rx_desc *rx_desc = rxcb->rx_desc; in ath12k_dp_rx_h_find_peer() local
2246 if (!rx_desc || !(ath12k_dp_rxdesc_mac_addr2_valid(ab, rx_desc))) in ath12k_dp_rx_h_find_peer()
2251 rx_desc)); in ath12k_dp_rx_h_find_peer()
2257 struct hal_rx_desc *rx_desc, in ath12k_dp_rx_h_mpdu() argument
2271 fill_crypto_hdr = ath12k_dp_rx_h_is_da_mcbc(ar->ab, rx_desc); in ath12k_dp_rx_h_mpdu()
2275 rxcb->peer_id = ath12k_dp_rx_h_peer_id(ar->ab, rx_desc); in ath12k_dp_rx_h_mpdu()
2289 err_bitmap = ath12k_dp_rx_h_mpdu_err(ab, rx_desc); in ath12k_dp_rx_h_mpdu()
2291 is_decrypted = ath12k_dp_rx_h_is_decrypted(ab, rx_desc); in ath12k_dp_rx_h_mpdu()
2317 ath12k_dp_rx_h_undecap(ar, msdu, rx_desc, in ath12k_dp_rx_h_mpdu()
2323 if (ath12k_dp_rx_h_decap_type(ar->ab, rx_desc) != in ath12k_dp_rx_h_mpdu()
2330 static void ath12k_dp_rx_h_rate(struct ath12k *ar, struct hal_rx_desc *rx_desc, in ath12k_dp_rx_h_rate() argument
2341 pkt_type = ath12k_dp_rx_h_pkt_type(ab, rx_desc); in ath12k_dp_rx_h_rate()
2342 bw = ath12k_dp_rx_h_rx_bw(ab, rx_desc); in ath12k_dp_rx_h_rate()
2343 rate_mcs = ath12k_dp_rx_h_rate_mcs(ab, rx_desc); in ath12k_dp_rx_h_rate()
2344 nss = ath12k_dp_rx_h_nss(ab, rx_desc); in ath12k_dp_rx_h_rate()
2345 sgi = ath12k_dp_rx_h_sgi(ab, rx_desc); in ath12k_dp_rx_h_rate()
2398 void ath12k_dp_rx_h_ppdu(struct ath12k *ar, struct hal_rx_desc *rx_desc, in ath12k_dp_rx_h_ppdu() argument
2415 meta_data = ath12k_dp_rx_h_freq(ab, rx_desc); in ath12k_dp_rx_h_ppdu()
2436 ath12k_dbg_dump(ar->ab, ATH12K_DBG_DATA, NULL, "rx_desc: ", in ath12k_dp_rx_h_ppdu()
2437 rx_desc, sizeof(*rx_desc)); in ath12k_dp_rx_h_ppdu()
2444 ath12k_dp_rx_h_rate(ar, rx_desc, rx_status); in ath12k_dp_rx_h_ppdu()
2474 decap = ath12k_dp_rx_h_decap_type(ab, rxcb->rx_desc); in ath12k_dp_rx_deliver_msdu()
2495 ath12k_dp_rx_h_seq_no(ab, rxcb->rx_desc), in ath12k_dp_rx_deliver_msdu()
2534 struct hal_rx_desc *rx_desc, in ath12k_dp_rx_check_nwifi_hdr_len_valid() argument
2541 decap_type = ath12k_dp_rx_h_decap_type(ab, rx_desc); in ath12k_dp_rx_check_nwifi_hdr_len_valid()
2562 struct hal_rx_desc *rx_desc, *lrx_desc; in ath12k_dp_rx_process_msdu() local
2578 rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_dp_rx_process_msdu()
2587 rxcb->rx_desc = rx_desc; in ath12k_dp_rx_process_msdu()
2597 ath12k_dbg_dump(ab, ATH12K_DBG_DATA, NULL, "", rx_desc, in ath12k_dp_rx_process_msdu()
2598 sizeof(*rx_desc)); in ath12k_dp_rx_process_msdu()
2614 if (unlikely(!ath12k_dp_rx_check_nwifi_hdr_len_valid(ab, rx_desc, msdu))) { in ath12k_dp_rx_process_msdu()
2619 ath12k_dp_rx_h_ppdu(ar, rx_desc, rx_status); in ath12k_dp_rx_process_msdu()
2620 ath12k_dp_rx_h_mpdu(ar, msdu, rx_desc, rx_status); in ath12k_dp_rx_process_msdu()
2829 * get rx_desc NULL. Give the read another try with updated cached in ath12k_dp_rx_process()
2965 struct hal_rx_desc *rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_dp_rx_h_verify_tkip_mic() local
2976 if (ath12k_dp_rx_h_enctype(ab, rx_desc) != HAL_ENCRYPT_TYPE_TKIP_MIC) in ath12k_dp_rx_h_verify_tkip_mic()
3009 if (unlikely(!ath12k_dp_rx_check_nwifi_hdr_len_valid(ab, rx_desc, msdu))) in ath12k_dp_rx_h_verify_tkip_mic()
3012 ath12k_dp_rx_h_ppdu(ar, rx_desc, rxs); in ath12k_dp_rx_h_verify_tkip_mic()
3013 ath12k_dp_rx_h_undecap(ar, msdu, rx_desc, in ath12k_dp_rx_h_verify_tkip_mic()
3056 struct hal_rx_desc *rx_desc; in ath12k_dp_rx_h_defrag() local
3070 rx_desc = (struct hal_rx_desc *)skb->data; in ath12k_dp_rx_h_defrag()
3073 enctype = ath12k_dp_rx_h_enctype(ab, rx_desc); in ath12k_dp_rx_h_defrag()
3076 rx_desc); in ath12k_dp_rx_h_defrag()
3125 struct hal_rx_desc *rx_desc = (struct hal_rx_desc *)defrag_skb->data; in ath12k_dp_rx_h_defrag_reo_reinject() local
3167 ath12k_dp_rxdesc_set_msdu_len(ab, rx_desc, defrag_skb->len - hal_rx_desc_sz); in ath12k_dp_rx_h_defrag_reo_reinject()
3345 struct hal_rx_desc *rx_desc; in ath12k_dp_rx_frag_h_mpdu() local
3355 rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_dp_rx_frag_h_mpdu()
3356 peer_id = ath12k_dp_rx_h_peer_id(ab, rx_desc); in ath12k_dp_rx_frag_h_mpdu()
3357 tid = ath12k_dp_rx_h_tid(ab, rx_desc); in ath12k_dp_rx_frag_h_mpdu()
3358 seqno = ath12k_dp_rx_h_seq_no(ab, rx_desc); in ath12k_dp_rx_frag_h_mpdu()
3362 if (!ath12k_dp_rx_h_seq_ctrl_valid(ab, rx_desc) || in ath12k_dp_rx_frag_h_mpdu()
3363 !ath12k_dp_rx_h_fc_valid(ab, rx_desc) || in ath12k_dp_rx_frag_h_mpdu()
3474 struct hal_rx_desc *rx_desc; in ath12k_dp_process_rx_err_buf() local
3523 rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_dp_process_rx_err_buf()
3524 msdu_len = ath12k_dp_rx_h_msdu_len(ar->ab, rx_desc); in ath12k_dp_process_rx_err_buf()
3527 ath12k_dbg_dump(ar->ab, ATH12K_DBG_DATA, NULL, "", rx_desc, in ath12k_dp_process_rx_err_buf()
3528 sizeof(*rx_desc)); in ath12k_dp_process_rx_err_buf()
3837 struct hal_rx_desc *rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_dp_rx_h_rxdma_err() local
3846 err_bitmap = ath12k_dp_rx_h_mpdu_err(ab, rx_desc); in ath12k_dp_rx_h_rxdma_err()
3905 void *rx_desc; in ath12k_dp_rx_process_wbm_err() local
3927 rx_desc = ath12k_hal_srng_dst_get_next_entry(ab, srng); in ath12k_dp_rx_process_wbm_err()
3928 if (!rx_desc) in ath12k_dp_rx_process_wbm_err()
3931 ret = ath12k_hal_wbm_desc_parse_err(ab, rx_desc, &err_info); in ath12k_dp_rx_process_wbm_err()
3939 desc_info = err_info.rx_desc; in ath12k_dp_rx_process_wbm_err()
3994 rxcb->rx_desc = msdu_data; in ath12k_dp_rx_process_wbm_err()
4264 * and modify the rx_desc struct in ath12k_dp_rxdma_ring_sel_config_wcn7850()