qcacmn: HAL Changes for RX packet capture

Add HAL apis for populate RX packet capture params.

CRs-Fixed: 2891049
Change-Id: I0befd3001a40fd286704699f4ec682f7c390fbda
Цей коміт міститься в:
Mohit Khanna
2021-02-28 20:34:45 -08:00
зафіксовано Rakesh Pillai
джерело 477928661c
коміт f3e19b41d3
3 змінених файлів з 42 додано та 1 видалено

Переглянути файл

@@ -21,6 +21,7 @@
#include <hal_api.h>
#include "hal_rx_hw_defines.h"
#include "hal_hw_headers.h"
/*************************************
* Ring desc offset/shift/masks
@@ -2697,6 +2698,17 @@ hal_rx_tlv_csum_err_get(hal_soc_handle_t hal_soc_hdl, uint8_t *rx_tlv_hdr,
tcp_udp_csum_err);
}
static inline void
hal_rx_tlv_get_pkt_capture_flags(hal_soc_handle_t hal_soc_hdl,
uint8_t *rx_tlv_hdr,
struct hal_rx_pkt_capture_flags *flags)
{
struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl;
return hal_soc->ops->hal_rx_tlv_get_pkt_capture_flags(rx_tlv_hdr,
flags);
}
static inline uint8_t
hal_rx_err_status_get(hal_soc_handle_t hal_soc_hdl, hal_ring_desc_t rx_desc)
{