qcacmn: Handle Umac reset for MLO case

1. Add an API to process trigger_umac_recovery T2H message.
2. Synchronize do_pre_reset, do_post_reset_start, do_post_reset_complete
   messages for all the SOCs and then process these messages in the host.
3. Synchronize pre_reset_done, post_reset_start_done,
   post_reset_complete_done for all the SOCs before sending it to FW.
4. Add a new state in host for trigger_umac_recovery message.
   Ignore back to back trigger_umac_recovery messages received from FW.

Change-Id: Id45d326d63e122834090844e83ad6cc7240f96af
CRs-Fixed: 3425833
This commit is contained in:
Pavankumar Nandeshwar
2023-02-20 01:54:25 -08:00
committed by Madan Koyyalamudi
parent ff85561570
commit 80d41dc9b4
12 changed files with 868 additions and 123 deletions

View File

@@ -1759,7 +1759,8 @@ void dp_mon_rx_update_rx_protocol_tag_stats(struct dp_pdev *pdev,
#ifdef QCA_ENHANCED_STATS_SUPPORT
static void
dp_enable_enhanced_stats_for_each_pdev(struct dp_soc *soc, void *arg) {
dp_enable_enhanced_stats_for_each_pdev(struct dp_soc *soc, void *arg,
int chip_id) {
uint8_t i = 0;
for (i = 0; i < MAX_PDEV_CNT; i++)
@@ -1781,7 +1782,8 @@ dp_enable_enhanced_stats_2_0(struct cdp_soc_t *soc, uint8_t pdev_id)
}
static void
dp_disable_enhanced_stats_for_each_pdev(struct dp_soc *soc, void *arg) {
dp_disable_enhanced_stats_for_each_pdev(struct dp_soc *soc, void *arg,
int chip_id) {
uint8_t i = 0;
for (i = 0; i < MAX_PDEV_CNT; i++)