Lines Matching full:rx_desc
936 static void rtw8822b_query_rx_desc(struct rtw_dev *rtwdev, u8 *rx_desc,
946 pkt_stat->phy_status = GET_RX_DESC_PHYST(rx_desc);
947 pkt_stat->icv_err = GET_RX_DESC_ICV_ERR(rx_desc);
948 pkt_stat->crc_err = GET_RX_DESC_CRC32(rx_desc);
949 pkt_stat->decrypted = !GET_RX_DESC_SWDEC(rx_desc) &&
950 GET_RX_DESC_ENC_TYPE(rx_desc) != RX_DESC_ENC_NONE;
951 pkt_stat->is_c2h = GET_RX_DESC_C2H(rx_desc);
952 pkt_stat->pkt_len = GET_RX_DESC_PKT_LEN(rx_desc);
953 pkt_stat->drv_info_sz = GET_RX_DESC_DRV_INFO_SIZE(rx_desc);
954 pkt_stat->shift = GET_RX_DESC_SHIFT(rx_desc);
955 pkt_stat->rate = GET_RX_DESC_RX_RATE(rx_desc);
956 pkt_stat->cam_id = GET_RX_DESC_MACID(rx_desc);
957 pkt_stat->ppdu_cnt = GET_RX_DESC_PPDU_CNT(rx_desc);
958 pkt_stat->tsf_low = GET_RX_DESC_TSFL(rx_desc);
967 hdr = (struct ieee80211_hdr *)(rx_desc + desc_sz + pkt_stat->shift +
970 phy_status = rx_desc + desc_sz + pkt_stat->shift;