qcacmn: Trigger UMAC reset with mode1 SSR teardown
Add support to trigger UMAC reset with mode1 teardown request for mode1 target recovery SSR. Change-Id: Ib2d1679162a2084488081c76f6753287a6e4d5c4 CRs-Fixed: 3458369
This commit is contained in:

committed by
Madan Koyyalamudi

parent
351f4a79a7
commit
cb01519700
@@ -1,7 +1,7 @@
|
||||
|
||||
/*
|
||||
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -47,21 +47,23 @@ struct wmi_mlo_ready_params {
|
||||
/** enum wmi_mlo_teardown_reason - Reason code in WMI MLO teardown command
|
||||
* @WMI_MLO_TEARDOWN_REASON_DOWN: Wifi down
|
||||
* @WMI_MLO_TEARDOWN_REASON_SSR: Wifi Recovery
|
||||
* @WMI_MLO_TEARDOWN_REASON_CLEANUP_DONE: SSR related cleanup done
|
||||
* @WMI_MLO_TEARDOWN_REASON_MODE1_SSR: Recovery Mode1 SSR teardown
|
||||
*/
|
||||
enum wmi_mlo_teardown_reason {
|
||||
WMI_MLO_TEARDOWN_REASON_DOWN,
|
||||
WMI_MLO_TEARDOWN_REASON_SSR,
|
||||
WMI_MLO_TEARDOWN_REASON_CLEANUP_DONE,
|
||||
WMI_MLO_TEARDOWN_REASON_MODE1_SSR,
|
||||
};
|
||||
|
||||
/** struct wmi_mlo_teardown_params - MLO teardown command params
|
||||
* @pdev_id: pdev id of radio on which this command is sent
|
||||
* @reason: reason code from enum wmi_mlo_teardown_reason
|
||||
* @umac_reset: trigger umac reset for mode1 or not
|
||||
*/
|
||||
struct wmi_mlo_teardown_params {
|
||||
uint32_t pdev_id;
|
||||
enum wmi_mlo_teardown_reason reason;
|
||||
bool umac_reset;
|
||||
};
|
||||
|
||||
/** enum wmi_mlo_setup_status - Status code in WMI MLO setup completion event
|
||||
|
Reference in New Issue
Block a user