Lines Matching refs:rx_desc

255 						struct hal_rx_desc *rx_desc)
259 rx_pkt_hdr = ab->hw_params.hw_ops->rx_desc_get_msdu_payload(rx_desc);
265 struct hal_rx_desc *rx_desc)
269 tlv_tag = ab->hw_params.hw_ops->rx_desc_get_mpdu_start_tag(rx_desc);
275 struct hal_rx_desc *rx_desc)
277 return ab->hw_params.hw_ops->rx_desc_get_mpdu_ppdu_id(rx_desc);
1803 ath11k_dp_rx_desc_end_tlv_copy(ab, rxcb->rx_desc, ldesc);
1872 rx_attention = ath11k_dp_rx_get_attention(ar->ab, rxcb->rx_desc);
2005 if (ath11k_dp_rx_h_msdu_start_mesh_ctl_present(ar->ab, rxcb->rx_desc))
2109 hdr = (struct ieee80211_hdr *)ath11k_dp_rx_h_80211_hdr(ar->ab, rxcb->rx_desc);
2174 struct hal_rx_desc *rx_desc,
2183 first_hdr = ath11k_dp_rx_h_80211_hdr(ar->ab, rx_desc);
2184 decap = ath11k_dp_rx_h_msdu_start_decap_type(ar->ab, rx_desc);
2223 struct hal_rx_desc *rx_desc = rxcb->rx_desc;
2234 if (!rx_desc || !(ath11k_dp_rxdesc_mac_addr2_valid(ab, rx_desc)))
2238 ath11k_dp_rxdesc_mpdu_start_addr2(ab, rx_desc));
2244 struct hal_rx_desc *rx_desc,
2258 fill_crypto_hdr = ath11k_dp_rx_h_attn_is_mcbc(ar->ab, rx_desc);
2262 rxcb->peer_id = ath11k_dp_rx_h_mpdu_start_peer_id(ar->ab, rx_desc);
2263 rxcb->seq_no = ath11k_dp_rx_h_mpdu_start_seq_no(ar->ab, rx_desc);
2274 enctype = ath11k_dp_rx_h_mpdu_start_enctype(ar->ab, rx_desc);
2278 rx_attention = ath11k_dp_rx_get_attention(ar->ab, rx_desc);
2307 ath11k_dp_rx_h_undecap(ar, msdu, rx_desc,
2313 if (ath11k_dp_rx_h_msdu_start_decap_type(ar->ab, rx_desc) !=
2320 static void ath11k_dp_rx_h_rate(struct ath11k *ar, struct hal_rx_desc *rx_desc,
2330 pkt_type = ath11k_dp_rx_h_msdu_start_pkt_type(ar->ab, rx_desc);
2331 bw = ath11k_dp_rx_h_msdu_start_rx_bw(ar->ab, rx_desc);
2332 rate_mcs = ath11k_dp_rx_h_msdu_start_rate_mcs(ar->ab, rx_desc);
2333 nss = ath11k_dp_rx_h_msdu_start_nss(ar->ab, rx_desc);
2334 sgi = ath11k_dp_rx_h_msdu_start_sgi(ar->ab, rx_desc);
2370 is_ldpc = ath11k_dp_rx_h_msdu_start_ldpc_support(ar->ab, rx_desc);
2390 static void ath11k_dp_rx_h_ppdu(struct ath11k *ar, struct hal_rx_desc *rx_desc,
2405 meta_data = ath11k_dp_rx_h_msdu_start_freq(ar->ab, rx_desc);
2426 ath11k_dbg_dump(ar->ab, ATH11K_DBG_DATA, NULL, "rx_desc: ",
2427 rx_desc, sizeof(struct hal_rx_desc));
2434 ath11k_dp_rx_h_rate(ar, rx_desc, rx_status);
2464 decap = ath11k_dp_rx_h_msdu_start_decap_type(ar->ab, rxcb->rx_desc);
2522 struct hal_rx_desc *rx_desc, *lrx_desc;
2540 rx_desc = (struct hal_rx_desc *)msdu->data;
2541 if (ath11k_dp_rx_h_attn_msdu_len_err(ab, rx_desc)) {
2556 rxcb->rx_desc = rx_desc;
2557 msdu_len = ath11k_dp_rx_h_msdu_start_msdu_len(ab, rx_desc);
2564 hdr_status = ath11k_dp_rx_h_80211_hdr(ab, rx_desc);
2569 ath11k_dbg_dump(ab, ATH11K_DBG_DATA, NULL, "", rx_desc,
2586 ath11k_dp_rx_h_ppdu(ar, rx_desc, rx_status);
2587 ath11k_dp_rx_h_mpdu(ar, msdu, rx_desc, rx_status);
2734 * get rx_desc NULL. Give the read another try with updated cached
3213 struct hal_rx_desc *rx_desc = (struct hal_rx_desc *)msdu->data;
3224 if (ath11k_dp_rx_h_mpdu_start_enctype(ar->ab, rx_desc) !=
3258 ath11k_dp_rx_h_ppdu(ar, rx_desc, rxs);
3259 ath11k_dp_rx_h_undecap(ar, msdu, rx_desc,
3301 struct hal_rx_desc *rx_desc;
3316 rx_desc = (struct hal_rx_desc *)skb->data;
3319 enctype = ath11k_dp_rx_h_mpdu_start_enctype(ar->ab, rx_desc);
3321 rx_attention = ath11k_dp_rx_get_attention(ar->ab, rx_desc);
3372 struct hal_rx_desc *rx_desc = (struct hal_rx_desc *)defrag_skb->data;
3406 ath11k_dp_rxdesc_set_msdu_len(ab, rx_desc, defrag_skb->len - hal_rx_desc_sz);
3565 struct hal_rx_desc *rx_desc;
3576 rx_desc = (struct hal_rx_desc *)msdu->data;
3577 peer_id = ath11k_dp_rx_h_mpdu_start_peer_id(ar->ab, rx_desc);
3578 tid = ath11k_dp_rx_h_mpdu_start_tid(ar->ab, rx_desc);
3579 seqno = ath11k_dp_rx_h_mpdu_start_seq_no(ar->ab, rx_desc);
3582 is_mcbc = ath11k_dp_rx_h_attn_is_mcbc(ar->ab, rx_desc);
3588 if (!ath11k_dp_rx_h_mpdu_start_seq_ctrl_valid(ar->ab, rx_desc) ||
3589 !ath11k_dp_rx_h_mpdu_start_fc_valid(ar->ab, rx_desc) ||
3698 struct hal_rx_desc *rx_desc;
3736 rx_desc = (struct hal_rx_desc *)msdu->data;
3737 msdu_len = ath11k_dp_rx_h_msdu_start_msdu_len(ar->ab, rx_desc);
3739 hdr_status = ath11k_dp_rx_h_80211_hdr(ar->ab, rx_desc);
3743 ath11k_dbg_dump(ar->ab, ATH11K_DBG_DATA, NULL, "", rx_desc,
4082 u32 *rx_desc;
4098 rx_desc = ath11k_hal_srng_dst_get_next_entry(ab, srng);
4099 if (!rx_desc)
4102 ret = ath11k_hal_wbm_desc_parse_err(ab, rx_desc, &err_info);
4145 rxcb->rx_desc = (struct hal_rx_desc *)msdu->data;
4642 struct hal_rx_desc *rx_desc;
4740 rx_desc = (struct hal_rx_desc *)msdu->data;
4743 l2_hdr_offset = ath11k_dp_rx_h_msdu_end_l3pad(ar->ab, rx_desc);
4746 if (!ath11k_dp_rxdesc_mpdu_valid(ar->ab, rx_desc)) {
4755 ath11k_dp_rxdesc_get_ppduid(ar->ab, rx_desc);
4842 struct hal_rx_desc *rx_desc;
4852 rx_desc = (struct hal_rx_desc *)head_msdu->data;
4853 rx_attention = ath11k_dp_rx_get_attention(ab, rx_desc);
4862 decap_format = ath11k_dp_rx_h_msdu_start_decap_type(ab, rx_desc);
4864 ath11k_dp_rx_h_ppdu(ar, rx_desc, rxs);
4885 rx_desc = (struct hal_rx_desc *)head_msdu->data;
4886 hdr_desc = ath11k_dp_rxdesc_get_80211hdr(ab, rx_desc);
5282 struct hal_rx_desc *rx_desc;
5367 rx_desc = (struct hal_rx_desc *)msdu->data;
5370 l2_hdr_offset = ath11k_dp_rx_h_msdu_end_l3pad(ar->ab, rx_desc);
5373 if (!ath11k_dp_rxdesc_mpdu_valid(ar->ab, rx_desc)) {