qcacmn: Move TX 2.0 code under WLAN_PKT_CAPTURE_TX_2_0 macro

Move TX 2.0 specific code under WLAN_PKT_CAPTURE_TX_2_0 macro.

Change-Id: I20bb1e49a902ec085fbc3df6828fef94a7c577d6
CRs-Fixed: 3415780
这个提交包含在:
Srinivas Girigowda
2022-12-14 17:02:55 -08:00
提交者 Madan Koyyalamudi
父节点 f5321447c2
当前提交 0419d28f6e
修改 14 个文件,包含 31 行新增32 行删除

查看文件

@@ -19,7 +19,7 @@
#define _HAL_BE_API_MON_H_
#include "hal_be_hw_headers.h"
#ifdef QCA_MONITOR_2_0_SUPPORT
#ifdef WLAN_PKT_CAPTURE_TX_2_0
#include <mon_ingress_ring.h>
#include <mon_destination_ring.h>
#include <mon_drop.h>
@@ -30,7 +30,7 @@
#include <hal_generic_api.h>
#include <hal_api_mon.h>
#if defined(QCA_MONITOR_2_0_SUPPORT) || \
#if defined(WLAN_PKT_CAPTURE_TX_2_0) || \
defined(QCA_SINGLE_WIFI_3_0)
#define HAL_MON_BUFFER_ADDR_INFO_0_BUFFER_ADDR_31_0_OFFSET 0x00000000
#define HAL_MON_BUFFER_ADDR_INFO_0_BUFFER_ADDR_31_0_LSB 0
@@ -707,7 +707,7 @@ struct hal_mon_buf_addr_status {
uint32_t tlv64_padding;
};
#ifdef QCA_MONITOR_2_0_SUPPORT
#ifdef WLAN_PKT_CAPTURE_TX_2_0
/**
* hal_be_get_mon_dest_status() - Get monitor descriptor status
* @hal_soc: HAL Soc handle
@@ -949,7 +949,7 @@ hal_update_frame_type_cnt(hal_rx_mon_mpdu_start_t *rx_mpdu_start,
}
#endif
#ifdef QCA_MONITOR_2_0_SUPPORT
#ifdef WLAN_PKT_CAPTURE_TX_2_0
/**
* hal_mon_buff_addr_info_set() - set desc address in cookie
* @hal_soc_hdl: HAL Soc handle