1
0

qcacmn: Add buffer window for umac reset in progress

When the peer delete timer/vdev manager response timer expires, host checks
if the umac reset is in progress. If so, host will retrigger the timer.
It is possible that the umac reset is just completed and either of these
two timers got expired. In this case, host will assert saying that the peer
delete response/vdev manager response is not received from FW. FW may take
a few milliseconds to send the peer delete/vdev manager response to the
host after the umac recovery completes.

Hence, to avoid the crash, check if the umac reset was in progress during
the umac reset buffer window.

Add the below changes as well,
1) INI support to get the umac reset buffer window value.
2) Renamed the API dp_umac_reset_is_inprogress as
   dp_get_umac_reset_in_progress_state to return either
   CDP_UMAC_RESET_IN_PROGRESS or
   CDP_UMAC_RESET_IN_PROGRESS_DURING_BUFFER_WINDOW.

Change-Id: Ie15ef0731bad4b0ed955a479f00e297b7ba10729
CRs-Fixed: 3522665
Este cometimento está contido em:
Shashikala Prabhu
2023-06-28 17:26:35 +05:30
cometido por Rahul Choudhary
ascendente 0d36189af1
cometimento 7f898dfcc2
9 ficheiros modificados com 165 adições e 23 eliminações

Ver ficheiro

@@ -954,12 +954,15 @@ struct cdp_ctrl_ops {
uint32_t *mask,
uint32_t *mask_cont);
#endif
bool (*umac_reset_is_inprogress)(struct cdp_soc_t *psoc);
#ifdef WLAN_SUPPORT_RX_FISA
QDF_STATUS (*txrx_fisa_config)(struct cdp_soc_t *soc, uint8_t pdev_id,
enum cdp_fisa_config_id config_id,
union cdp_fisa_config *cfg);
#endif
#ifdef DP_UMAC_HW_RESET_SUPPORT
enum cdp_umac_reset_state (*get_umac_reset_in_progress_state)(
struct cdp_soc_t *psoc);
#endif
};
struct cdp_me_ops {