qcacmn: Place pktlog specific code under BE_PKTLOG_SUPPORT

Introduce a new flag "BE_PKTLOG_SUPPORT" for beryllium specific
pktlog support.

Change-Id: If91156541b322905ad5d97cf2d9d7ae687290ecb
CRs-Fixed: 3115832
This commit is contained in:
Adwait Nayak
2022-01-25 22:20:12 +05:30
gecommit door Madan Koyyalamudi
bovenliggende a1f2c00c65
commit df88a8bdc9
13 gewijzigde bestanden met toevoegingen van 80 en 89 verwijderingen

Bestand weergeven

@@ -578,7 +578,7 @@ struct dp_mon_ops {
void (*mon_filter_reset_rx_pkt_log_lite)(struct dp_pdev *pdev);
void (*mon_filter_setup_rx_pkt_log_cbf)(struct dp_pdev *pdev);
void (*mon_filter_reset_rx_pkt_log_cbf)(struct dp_pdev *pdev);
#ifdef QCA_WIFI_QCN9224
#ifdef BE_PKTLOG_SUPPORT
void (*mon_filter_setup_pktlog_hybrid)(struct dp_pdev *pdev);
void (*mon_filter_reset_pktlog_hybrid)(struct dp_pdev *pdev);
#endif
@@ -773,8 +773,8 @@ struct dp_mon_pdev {
/* Enable pktlog logging cbf */
bool rx_pktlog_cbf;
#ifdef BE_PKTLOG_SUPPORT
/* Enable pktlog logging hybrid */
#ifdef QCA_WIFI_QCN9224
bool pktlog_hybrid_mode;
#endif
bool tx_sniffer_enable;