qcacmn: Define umac reset API under 11BE MLO compile time macro
dp_umac_reset_is_inprogress() unknown symbol issue is seen for the customer profile. The definition of this API is present in dp_mlo.c file which is complied when WLAN_MLO_MULTI_CHIP compile time macro is enabled. For the customer profile, DP_UMAC_HW_RESET_SUPPORT is enabled and WLAN_MLO_MULTI_CHIP is disabled. Hence unknown symbol issue is seen. To fix this issue, call dp_umac_reset_is_inprogress() defined in dp_mlo.c file if DP_UMAC_HW_RESET_SUPPORT, WLAN_MLO_MULTI_CHIP and WLAN_FEATURE_11BE_MLO are defined. Change-Id: Ibc91ff73595bc502e970375f59515a2a523e19b2 CRs-Fixed: 3512322
This commit is contained in:

committed by
Rahul Choudhary

parent
b7ad8efcf9
commit
925a2a3d1c
@@ -2807,15 +2807,7 @@ QDF_STATUS dp_mlo_umac_reset_stats_print(struct dp_soc *soc)
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS dp_umac_reset_notify_asserted_soc(struct dp_soc *soc);
|
||||
#else
|
||||
static inline
|
||||
QDF_STATUS dp_umac_reset_notify_asserted_soc(struct dp_soc *soc)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef DP_UMAC_HW_RESET_SUPPORT
|
||||
/**
|
||||
* dp_umac_reset_is_inprogress() - Check if umac reset is in progress
|
||||
* @psoc: dp soc handle
|
||||
@@ -2824,6 +2816,12 @@ QDF_STATUS dp_umac_reset_notify_asserted_soc(struct dp_soc *soc)
|
||||
*/
|
||||
bool dp_umac_reset_is_inprogress(struct cdp_soc_t *psoc);
|
||||
#else
|
||||
static inline
|
||||
QDF_STATUS dp_umac_reset_notify_asserted_soc(struct dp_soc *soc)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline
|
||||
bool dp_umac_reset_is_inprogress(struct cdp_soc_t *psoc)
|
||||
{
|
||||
|
Reference in New Issue
Block a user