qcacmn: Use flag RX_PEER_INVALID_ENH for invalid peer handling

Use the flag RX_PEER_INVALID_ENH for invalid peer
event instead of FEATURE_NAC_RSSI

Change-Id: I87e301a48b1ccdcd28f8e2eb0ba80b215efa384c
CRs-Fixed: 2969193
This commit is contained in:
Pavankumar Nandeshwar
2022-12-07 02:26:10 -08:00
committed by Madan Koyyalamudi
parent 602db0a0df
commit 4c86eb5e8a
3 changed files with 13 additions and 2 deletions

View File

@@ -1345,7 +1345,7 @@ struct ol_if_ops {
void (*update_dp_stats)(void *soc, void *stats, uint16_t id, void (*update_dp_stats)(void *soc, void *stats, uint16_t id,
uint8_t type); uint8_t type);
#ifdef FEATURE_NAC_RSSI #ifdef RX_PEER_INVALID_ENH
uint8_t (*rx_invalid_peer)(struct cdp_ctrl_objmgr_psoc *soc, uint8_t (*rx_invalid_peer)(struct cdp_ctrl_objmgr_psoc *soc,
uint8_t pdev_id, void *msg); uint8_t pdev_id, void *msg);
#else #else

View File

@@ -1347,7 +1347,7 @@ QDF_STATUS dp_rx_filter_mesh_packets(struct dp_vdev *vdev, qdf_nbuf_t nbuf,
#endif #endif
#ifdef FEATURE_NAC_RSSI #ifdef RX_PEER_INVALID_ENH
/** /**
* dp_rx_process_invalid_peer(): Function to pass invalid peer list to umac * dp_rx_process_invalid_peer(): Function to pass invalid peer list to umac
* @soc: DP SOC handle * @soc: DP SOC handle

View File

@@ -1633,6 +1633,11 @@ static inline QDF_STATUS dp_monitor_drop_inv_peer_pkts(struct dp_vdev *vdev)
return QDF_STATUS_E_FAILURE; return QDF_STATUS_E_FAILURE;
} }
#else
static inline QDF_STATUS dp_monitor_drop_inv_peer_pkts(struct dp_vdev *vdev)
{
return QDF_STATUS_E_FAILURE;
}
#endif #endif
/* /*
@@ -3408,6 +3413,12 @@ static inline QDF_STATUS dp_monitor_filter_neighbour_peer(struct dp_pdev *pdev,
return monitor_ops->mon_filter_neighbour_peer(pdev, rx_pkt_hdr); return monitor_ops->mon_filter_neighbour_peer(pdev, rx_pkt_hdr);
} }
#else
static inline QDF_STATUS dp_monitor_filter_neighbour_peer(struct dp_pdev *pdev,
uint8_t *rx_pkt_hdr)
{
return QDF_STATUS_E_FAILURE;
}
#endif #endif
static inline static inline