소스 검색

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
Shashikala Prabhu 2 년 전
부모
커밋
925a2a3d1c
1개의 변경된 파일6개의 추가작업 그리고 8개의 파일을 삭제
  1. 6 8
      dp/wifi3.0/dp_internal.h

+ 6 - 8
dp/wifi3.0/dp_internal.h

@@ -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)
 {