qcacmn: Identify WIN/MCC specific features

Identify the WIN/MCC specific features. Move the features under feature
specific flags. Get rid of WIN/MCC specific code.

Change-Id: Iaf4e5befd7d574a20bea5c078201adbeac3b762c
This commit is contained in:
Pranita Solanke
2019-01-09 11:39:29 +05:30
committed by nshrivas
parent 409a3b2c53
commit 05862964ab
10 changed files with 26 additions and 107 deletions

View File

@@ -30,12 +30,7 @@
#include "dp_rx_mon.h"
#include "dp_ipa.h"
#ifdef CONFIG_WIN
static inline bool dp_rx_check_ap_bridge(struct dp_vdev *vdev)
{
return vdev->ap_bridge_enabled;
}
#else
#ifdef CONFIG_MCL
static inline bool dp_rx_check_ap_bridge(struct dp_vdev *vdev)
{
if (vdev->opmode != wlan_op_mode_sta)
@@ -43,6 +38,11 @@ static inline bool dp_rx_check_ap_bridge(struct dp_vdev *vdev)
else
return false;
}
#else
static inline bool dp_rx_check_ap_bridge(struct dp_vdev *vdev)
{
return vdev->ap_bridge_enabled;
}
#endif
#ifdef ATH_RX_PRI_SAVE
@@ -691,7 +691,7 @@ QDF_STATUS dp_rx_filter_mesh_packets(struct dp_vdev *vdev, qdf_nbuf_t nbuf,
#endif
#ifdef CONFIG_WIN
#ifdef FEATURE_NAC_RSSI
/**
* dp_rx_nac_filter(): Function to perform filtering of non-associated
* clients