Lines Matching refs:rx_desc

255 	struct ath12k_rx_desc_info *rx_desc;
267 rx_desc = list_entry(cur, struct ath12k_rx_desc_info, list);
268 rx_desc->in_use = true;
282 struct ath12k_rx_desc_info *rx_desc, *safe;
285 list_for_each_entry_safe(rx_desc, safe, used_list, list)
286 rx_desc->in_use = false;
307 struct ath12k_rx_desc_info *rx_desc;
357 rx_desc = list_first_entry_or_null(used_list,
360 if (!rx_desc)
363 rx_desc->skb = skb;
364 cookie = rx_desc->cookie;
370 list_del(&rx_desc->list);
1821 ath12k_dp_rx_desc_end_tlv_copy(ab, rxcb->rx_desc, ldesc);
1890 ip_csum_fail = ath12k_dp_rx_h_ip_cksum_fail(ab, rxcb->rx_desc);
1891 l4_csum_fail = ath12k_dp_rx_h_l4_cksum_fail(ab, rxcb->rx_desc);
2003 if (ath12k_dp_rx_h_mesh_ctl_present(ab, rxcb->rx_desc))
2015 rxcb->rx_desc, crypto_hdr,
2089 struct hal_rx_desc *rx_desc = rxcb->rx_desc;
2100 ath12k_dp_rx_desc_get_crypto_header(ab, rx_desc, crypto_hdr, enctype);
2103 fc = cpu_to_le16(ath12k_dp_rxdesc_get_mpdu_frame_ctrl(ab, rx_desc));
2109 /* Get wifi header from rx_desc */
2110 ath12k_dp_rx_desc_get_dot11_hdr(ab, rx_desc, hdr);
2118 if (ath12k_dp_rx_h_mesh_ctl_present(ab, rx_desc))
2157 struct hal_rx_desc *rx_desc,
2166 decap = ath12k_dp_rx_h_decap_type(ab, rx_desc);
2202 struct hal_rx_desc *rx_desc = rxcb->rx_desc;
2213 if (!rx_desc || !(ath12k_dp_rxdesc_mac_addr2_valid(ab, rx_desc)))
2218 rx_desc));
2224 struct hal_rx_desc *rx_desc,
2238 fill_crypto_hdr = ath12k_dp_rx_h_is_da_mcbc(ar->ab, rx_desc);
2242 rxcb->peer_id = ath12k_dp_rx_h_peer_id(ar->ab, rx_desc);
2256 err_bitmap = ath12k_dp_rx_h_mpdu_err(ab, rx_desc);
2258 is_decrypted = ath12k_dp_rx_h_is_decrypted(ab, rx_desc);
2284 ath12k_dp_rx_h_undecap(ar, msdu, rx_desc,
2290 if (ath12k_dp_rx_h_decap_type(ar->ab, rx_desc) !=
2297 static void ath12k_dp_rx_h_rate(struct ath12k *ar, struct hal_rx_desc *rx_desc,
2308 pkt_type = ath12k_dp_rx_h_pkt_type(ab, rx_desc);
2309 bw = ath12k_dp_rx_h_rx_bw(ab, rx_desc);
2310 rate_mcs = ath12k_dp_rx_h_rate_mcs(ab, rx_desc);
2311 nss = ath12k_dp_rx_h_nss(ab, rx_desc);
2312 sgi = ath12k_dp_rx_h_sgi(ab, rx_desc);
2365 void ath12k_dp_rx_h_ppdu(struct ath12k *ar, struct hal_rx_desc *rx_desc,
2382 meta_data = ath12k_dp_rx_h_freq(ab, rx_desc);
2401 ath12k_dbg_dump(ar->ab, ATH12K_DBG_DATA, NULL, "rx_desc: ",
2402 rx_desc, sizeof(*rx_desc));
2408 ath12k_dp_rx_h_rate(ar, rx_desc, rx_status);
2438 decap = ath12k_dp_rx_h_decap_type(ab, rxcb->rx_desc);
2454 ath12k_dp_rx_h_seq_no(ab, rxcb->rx_desc),
2498 struct hal_rx_desc *rx_desc, *lrx_desc;
2514 rx_desc = (struct hal_rx_desc *)msdu->data;
2523 rxcb->rx_desc = rx_desc;
2533 ath12k_dbg_dump(ab, ATH12K_DBG_DATA, NULL, "", rx_desc,
2534 sizeof(*rx_desc));
2550 ath12k_dp_rx_h_ppdu(ar, rx_desc, rx_status);
2551 ath12k_dp_rx_h_mpdu(ar, msdu, rx_desc, rx_status);
2708 * get rx_desc NULL. Give the read another try with updated cached
2828 struct hal_rx_desc *rx_desc = (struct hal_rx_desc *)msdu->data;
2839 if (ath12k_dp_rx_h_enctype(ab, rx_desc) != HAL_ENCRYPT_TYPE_TKIP_MIC)
2872 ath12k_dp_rx_h_ppdu(ar, rx_desc, rxs);
2873 ath12k_dp_rx_h_undecap(ar, msdu, rx_desc,
2916 struct hal_rx_desc *rx_desc;
2930 rx_desc = (struct hal_rx_desc *)skb->data;
2933 enctype = ath12k_dp_rx_h_enctype(ab, rx_desc);
2936 rx_desc);
2985 struct hal_rx_desc *rx_desc = (struct hal_rx_desc *)defrag_skb->data;
3026 ath12k_dp_rxdesc_set_msdu_len(ab, rx_desc, defrag_skb->len - hal_rx_desc_sz);
3206 struct hal_rx_desc *rx_desc;
3216 rx_desc = (struct hal_rx_desc *)msdu->data;
3217 peer_id = ath12k_dp_rx_h_peer_id(ab, rx_desc);
3218 tid = ath12k_dp_rx_h_tid(ab, rx_desc);
3219 seqno = ath12k_dp_rx_h_seq_no(ab, rx_desc);
3223 if (!ath12k_dp_rx_h_seq_ctrl_valid(ab, rx_desc) ||
3224 !ath12k_dp_rx_h_fc_valid(ab, rx_desc) ||
3335 struct hal_rx_desc *rx_desc;
3383 rx_desc = (struct hal_rx_desc *)msdu->data;
3384 msdu_len = ath12k_dp_rx_h_msdu_len(ar->ab, rx_desc);
3387 ath12k_dbg_dump(ar->ab, ATH12K_DBG_DATA, NULL, "", rx_desc,
3388 sizeof(*rx_desc));
3666 struct hal_rx_desc *rx_desc = (struct hal_rx_desc *)msdu->data;
3675 err_bitmap = ath12k_dp_rx_h_mpdu_err(ab, rx_desc);
3733 void *rx_desc;
3750 rx_desc = ath12k_hal_srng_dst_get_next_entry(ab, srng);
3751 if (!rx_desc)
3754 ret = ath12k_hal_wbm_desc_parse_err(ab, rx_desc, &err_info);
3762 desc_info = err_info.rx_desc;
3803 rxcb->rx_desc = msdu_data;
4054 * and modify the rx_desc struct