qcacmn: Do not subscribe for MC/BC frames for kiwi/peach

MC/BC frames are routed to FW ring based on routing config for MC/BC
data as SRC: FW2RXDMA and DST: RXDMA2DFW.
Data offload features in FW will take care of routing the MC/BC frames
to FW in both active and low power modes.

Make this change only for kiwi/peach using hal ops.

Change-Id: Id8665261a512c9db3e808f95082ff82b47f01ade
CRs-Fixed: 3464036
This commit is contained in:
Prakash Manjunathappa
2023-04-11 23:22:43 -07:00
committed by Madan Koyyalamudi
parent bbd8a57b8e
commit 50c9ab56a1
5 changed files with 47 additions and 2 deletions

View File

@@ -2012,6 +2012,17 @@ static QDF_STATUS hal_rx_reo_ent_get_src_link_id_kiwi(hal_rxdma_desc_t rx_desc,
return QDF_STATUS_SUCCESS;
}
/**
* hal_rx_en_mcast_fp_data_filter_kiwi() - Is mcast filter pass enabled
*
* Return: false for BE MCC
*/
static inline
bool hal_rx_en_mcast_fp_data_filter_kiwi(void)
{
return false;
}
#ifdef QCA_WIFI_KIWI_V2
/**
* hal_srng_dst_hw_init_misc_1_kiwi() - Function to initialize MISC_1 register
@@ -2343,6 +2354,8 @@ static void hal_hw_txrx_ops_attach_kiwi(struct hal_soc *hal_soc)
#ifdef FEATURE_DIRECT_LINK
hal_soc->ops->hal_srng_set_msi_config = hal_srng_set_msi_config;
#endif
hal_soc->ops->hal_rx_en_mcast_fp_data_filter =
hal_rx_en_mcast_fp_data_filter_kiwi;
};
struct hal_hw_srng_config hw_srng_table_kiwi[] = {