qcacmn: Hook the UMAC reset in the target attach path
Call UMAC reset initialization API from soc_attach_target(). FW exposes a service bit for this feature, use that to conditionally enable this feature. Also, add default log levels for this feature. CRs-Fixed: 3253464 Change-Id: Ia7c9cf07a7ab7b000ebe452ab074a82173b70129
This commit is contained in:

کامیت شده توسط
Madan Koyyalamudi

والد
53537c67e1
کامیت
8641a158f3
@@ -1704,6 +1704,25 @@ static inline void cdp_txrx_intr_detach(ol_txrx_soc_handle soc)
|
||||
soc->ops->cmn_drv_ops->txrx_intr_detach(soc);
|
||||
}
|
||||
|
||||
/**
|
||||
* cdp_txrx_umac_reset_deinit(): De-initialize UMAC HW reset module
|
||||
* @soc: soc handle
|
||||
*/
|
||||
static inline void cdp_txrx_umac_reset_deinit(ol_txrx_soc_handle soc)
|
||||
{
|
||||
if (!soc || !soc->ops) {
|
||||
dp_cdp_debug("Invalid Instance:");
|
||||
QDF_BUG(0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!soc->ops->cmn_drv_ops ||
|
||||
!soc->ops->cmn_drv_ops->txrx_umac_reset_deinit)
|
||||
return;
|
||||
|
||||
soc->ops->cmn_drv_ops->txrx_umac_reset_deinit(soc);
|
||||
}
|
||||
|
||||
/**
|
||||
* cdp_display_stats(): function to map to dump stats
|
||||
* @soc: soc handle
|
||||
|
مرجع در شماره جدید
Block a user