Lines Matching refs:pl_hdr
26 struct ath_pktlog_hdr pl_hdr; in process_offload_pktlog_wifi3() local
45 pl_hdr.flags = (*(pl_tgt_hdr + ATH_PKTLOG_HDR_FLAGS_OFFSET) & in process_offload_pktlog_wifi3()
48 pl_hdr.missed_cnt = (*(pl_tgt_hdr + ATH_PKTLOG_HDR_MISSED_CNT_OFFSET) & in process_offload_pktlog_wifi3()
51 pl_hdr.log_type = (*(pl_tgt_hdr + ATH_PKTLOG_HDR_LOG_TYPE_OFFSET) & in process_offload_pktlog_wifi3()
54 pl_hdr.size = (*(pl_tgt_hdr + ATH_PKTLOG_HDR_SIZE_OFFSET) & in process_offload_pktlog_wifi3()
56 pl_hdr.timestamp = *(pl_tgt_hdr + ATH_PKTLOG_HDR_TIMESTAMP_OFFSET); in process_offload_pktlog_wifi3()
58 pktlog_hdr_set_specific_data(&pl_hdr, in process_offload_pktlog_wifi3()
61 if (pl_hdr.size > MAX_PKTLOG_RECV_BUF_SIZE) { in process_offload_pktlog_wifi3()
71 log_size = pl_hdr.size; in process_offload_pktlog_wifi3()
73 (void *)pktlog_getbuf(pl_dev, pl_info, log_size, &pl_hdr); in process_offload_pktlog_wifi3()
80 qdf_assert(pl_hdr->size < PKTLOG_MAX_TX_WORDS * sizeof(u_int32_t)); in process_offload_pktlog_wifi3()
83 pl_hdr.size); in process_offload_pktlog_wifi3()
84 cds_pkt_stats_to_logger_thread(&pl_hdr, NULL, txdesc_hdr_ctl); in process_offload_pktlog_wifi3()
92 struct ath_pktlog_hdr pl_hdr; in process_rx_desc_remote_wifi3() local
104 qdf_mem_zero(&pl_hdr, sizeof(pl_hdr)); in process_rx_desc_remote_wifi3()
105 pl_hdr.flags = (1 << PKTLOG_FLG_FRM_TYPE_REMOTE_S); in process_rx_desc_remote_wifi3()
106 pl_hdr.missed_cnt = 0; in process_rx_desc_remote_wifi3()
107 pl_hdr.log_type = PKTLOG_TYPE_RX_STATBUF; in process_rx_desc_remote_wifi3()
108 pl_hdr.size = qdf_nbuf_len(log_nbuf); in process_rx_desc_remote_wifi3()
109 pl_hdr.timestamp = 0; in process_rx_desc_remote_wifi3()
110 log_size = pl_hdr.size; in process_rx_desc_remote_wifi3()
112 log_size, &pl_hdr); in process_rx_desc_remote_wifi3()
120 qdf_mem_copy(rxstat_log.rx_desc, qdf_nbuf_data(log_nbuf), pl_hdr.size); in process_rx_desc_remote_wifi3()
121 cds_pkt_stats_to_logger_thread(&pl_hdr, NULL, in process_rx_desc_remote_wifi3()
132 struct ath_pktlog_hdr pl_hdr; in process_pktlog_lite_wifi3() local
143 qdf_mem_zero(&pl_hdr, sizeof(pl_hdr)); in process_pktlog_lite_wifi3()
144 pl_hdr.flags = (1 << PKTLOG_FLG_FRM_TYPE_REMOTE_S); in process_pktlog_lite_wifi3()
145 pl_hdr.missed_cnt = 0; in process_pktlog_lite_wifi3()
146 pl_hdr.log_type = log_type; in process_pktlog_lite_wifi3()
147 pl_hdr.size = qdf_nbuf_len(log_nbuf); in process_pktlog_lite_wifi3()
148 pl_hdr.timestamp = 0; in process_pktlog_lite_wifi3()
149 log_size = pl_hdr.size; in process_pktlog_lite_wifi3()
151 log_size, &pl_hdr); in process_pktlog_lite_wifi3()
158 qdf_mem_copy(rxstat_log.rx_desc, qdf_nbuf_data(log_nbuf), pl_hdr.size); in process_pktlog_lite_wifi3()
160 cds_pkt_stats_to_logger_thread(&pl_hdr, NULL, rxstat_log.rx_desc); in process_pktlog_lite_wifi3()