qcacmn: Disable monitor mode for QCA6390
Setup monitor mode rings and allocate descriptors only if QCA6390_MONITOR_MODE is defined. Change-Id: I9c9bdc1e325eda822a326d64d6445a7112083420 CRs-Fixed: 2271998
This commit is contained in:

committed by
nshrivas

parent
59ec405e49
commit
30e442b026
@@ -38,11 +38,37 @@
|
||||
void dp_rx_mon_dest_process(struct dp_soc *soc, uint32_t mac_id,
|
||||
uint32_t quota);
|
||||
|
||||
#ifndef QCA_WIFI_QCA6390
|
||||
QDF_STATUS dp_rx_pdev_mon_attach(struct dp_pdev *pdev);
|
||||
QDF_STATUS dp_rx_pdev_mon_detach(struct dp_pdev *pdev);
|
||||
|
||||
QDF_STATUS dp_rx_pdev_mon_status_attach(struct dp_pdev *pdev, int mac_id);
|
||||
QDF_STATUS dp_rx_pdev_mon_status_detach(struct dp_pdev *pdev, int mac_id);
|
||||
#else
|
||||
static inline
|
||||
QDF_STATUS dp_rx_pdev_mon_attach(struct dp_pdev *pdev)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline
|
||||
QDF_STATUS dp_rx_pdev_mon_detach(struct dp_pdev *pdev)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline
|
||||
QDF_STATUS dp_rx_pdev_mon_status_attach(struct dp_pdev *pdev, int mac_id)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline
|
||||
QDF_STATUS dp_rx_pdev_mon_status_detach(struct dp_pdev *pdev, int mac_id)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
uint32_t dp_mon_process(struct dp_soc *soc, uint32_t mac_id, uint32_t quota);
|
||||
QDF_STATUS dp_rx_mon_deliver(struct dp_soc *soc, uint32_t mac_id,
|
||||
|
Reference in New Issue
Block a user