qcacmn: FW based DMS support for 11v DMS

In QCN9224, when 11v DMS feature is enabled use
FW based DMS support instead of SW based WAR.

Change-Id: Icc5b9740f71bd00862e06950e4fe49c663d513b4
CRs-Fixed: 3182547
This commit is contained in:
Sai Rupesh Chevuru
2022-05-05 11:03:11 +05:30
committed by Madan Koyyalamudi
parent f74f73dc68
commit c5550678a0
4 changed files with 19 additions and 20 deletions

View File

@@ -2646,9 +2646,8 @@ cdp_rx_get_pending(ol_txrx_soc_handle soc)
return 0;
}
#ifdef QCA_SUPPORT_WDS_EXTENDED
static inline uint16_t
cdp_wds_ext_get_peer_id(ol_txrx_soc_handle soc, uint8_t vdev_id, uint8_t *mac)
cdp_get_peer_id(ol_txrx_soc_handle soc, uint8_t vdev_id, uint8_t *mac)
{
if (!soc || !soc->ops) {
dp_cdp_debug("Invalid Instance");
@@ -2657,13 +2656,14 @@ cdp_wds_ext_get_peer_id(ol_txrx_soc_handle soc, uint8_t vdev_id, uint8_t *mac)
}
if (!soc->ops->cmn_drv_ops ||
!soc->ops->cmn_drv_ops->get_wds_ext_peer_id)
!soc->ops->cmn_drv_ops->get_peer_id)
return 0;
return soc->ops->cmn_drv_ops->get_wds_ext_peer_id
return soc->ops->cmn_drv_ops->get_peer_id
(soc, vdev_id, mac);
}
#ifdef QCA_SUPPORT_WDS_EXTENDED
static inline QDF_STATUS
cdp_wds_ext_set_peer_rx(ol_txrx_soc_handle soc, uint8_t vdev_id,
uint8_t *mac, ol_txrx_rx_fp rx,