Browse Source

qcacmn: Add new MLO teardown reason/status codes

Add teardown cleanup done and teardown status ongoing
definitions required for mode-1 target recovery feature.

CRs-Fixed: 3247410
Change-Id: Ifdbf7bac21303778f2dbfa34012f452c04e76405
Shwetha G K 3 năm trước cách đây
mục cha
commit
af37507eba
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      wmi/inc/wmi_unified_11be_param.h

+ 5 - 1
wmi/inc/wmi_unified_11be_param.h

@@ -1,7 +1,7 @@
 
 /*
  * Copyright (c) 2021, The Linux Foundation. All rights reserved.
- * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-2022 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,10 +47,12 @@ 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
  */
 enum wmi_mlo_teardown_reason {
 	WMI_MLO_TEARDOWN_REASON_DOWN,
 	WMI_MLO_TEARDOWN_REASON_SSR,
+	WMI_MLO_TEARDOWN_REASON_CLEANUP_DONE,
 };
 
 /** struct wmi_mlo_teardown_params - MLO teardown command params
@@ -84,10 +86,12 @@ struct wmi_mlo_setup_complete_params {
  *                                 event
  * @WMI_MLO_TEARDOWN_STATUS_SUCCESS: Success
  * @WMI_MLO_TEARDOWN_STATUS_FAILURE: Failure
+ * @WMI_MLO_TEARDOWN_STATUS_ONGOING: Ongoing
  */
 enum wmi_mlo_teardown_status {
 	WMI_MLO_TEARDOWN_STATUS_SUCCESS,
 	WMI_MLO_TEARDOWN_STATUS_FAILURE,
+	WMI_MLO_TEARDOWN_STATUS_ONGOING,
 };
 
 /** struct wmi_mlo_teardown_cmpl_params - MLO setup teardown event params