qcacmn: Add dependent macros for dp_rx_update_protocol_tag

The function dp_rx_update_protocol_tag is called from
dp_rx_mon_update_protocol_flow_tag which is enabled when either
WLAN_SUPPORT_RX_PROTOCOL_TYPE_TAG or WLAN_SUPPORT_RX_PROTOCOL_TYPE_TAG
is enabled.

However the prototype and definition is enabled only when
WLAN_SUPPORT_RX_PROTOCOL_TYPE_TAG is enabled.

So adding the dependent macro to the prototype and definition
of dp_rx_update_protocol_tag

Change-Id: Ic1120b77d527dc8ceeb981bb6516816e4658bdcb
CRs-Fixed: 3022319
This commit is contained in:
Vivek
2021-08-27 14:45:48 +05:30
gecommit door Madan Koyyalamudi
bovenliggende 5c22ca493e
commit 307546f6f9

Bestand weergeven

@@ -1256,7 +1256,8 @@ static inline bool check_qwrap_multicast_loopback(struct dp_vdev *vdev,
#include "dp_rx_tag.h"
#endif
#ifndef WLAN_SUPPORT_RX_PROTOCOL_TYPE_TAG
#if !defined(WLAN_SUPPORT_RX_PROTOCOL_TYPE_TAG) &&\
!defined(WLAN_SUPPORT_RX_FLOW_TAG)
/**
* dp_rx_update_protocol_tag() - Reads CCE metadata from the RX MSDU end TLV
* and set the corresponding tag in QDF packet
@@ -1276,7 +1277,9 @@ dp_rx_update_protocol_tag(struct dp_soc *soc, struct dp_vdev *vdev,
bool is_reo_exception, bool is_update_stats)
{
}
#endif
#ifndef WLAN_SUPPORT_RX_PROTOCOL_TYPE_TAG
/**
* dp_rx_err_cce_drop() - Reads CCE metadata from the RX MSDU end TLV
* and returns whether cce metadata matches