qcacmn: umac: Add mapping for WMI to Host TWT nudge status
Add mapping for WMI_NUDGE_TWT_STATUS_ALREADY_PAUSED on host side. Change-Id: Ia7bcd78cfc709677b9b28a9fc2703e30f3cb2b7b CRs-Fixed: 3181119
This commit is contained in:

committed by
Madan Koyyalamudi

parent
14d0e0cd79
commit
52945c51a9
@@ -767,6 +767,7 @@ enum HOST_TWT_NUDGE_STATUS {
|
|||||||
HOST_TWT_NUDGE_STATUS_NO_RESOURCE,
|
HOST_TWT_NUDGE_STATUS_NO_RESOURCE,
|
||||||
HOST_TWT_NUDGE_STATUS_NO_ACK,
|
HOST_TWT_NUDGE_STATUS_NO_ACK,
|
||||||
HOST_TWT_NUDGE_STATUS_UNKNOWN_ERROR,
|
HOST_TWT_NUDGE_STATUS_UNKNOWN_ERROR,
|
||||||
|
HOST_TWT_NUDGE_STATUS_ALREADY_PAUSED,
|
||||||
HOST_TWT_NUDGE_STATUS_CHAN_SW_IN_PROGRESS,
|
HOST_TWT_NUDGE_STATUS_CHAN_SW_IN_PROGRESS,
|
||||||
HOST_TWT_NUDGE_STATUS_ROAM_IN_PROGRESS,
|
HOST_TWT_NUDGE_STATUS_ROAM_IN_PROGRESS,
|
||||||
HOST_TWT_NUDGE_STATUS_SCAN_IN_PROGRESS,
|
HOST_TWT_NUDGE_STATUS_SCAN_IN_PROGRESS,
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2018-2021 The Linux Foundation. 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
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -586,6 +587,7 @@ struct wmi_twt_pause_dialog_complete_event_param {
|
|||||||
* request/response frame
|
* request/response frame
|
||||||
* @WMI_HOST_NUDGE_TWT_STATUS_UNKNOWN_ERROR: nudge TWT dialog failed with an
|
* @WMI_HOST_NUDGE_TWT_STATUS_UNKNOWN_ERROR: nudge TWT dialog failed with an
|
||||||
* unknown reason
|
* unknown reason
|
||||||
|
* @WMI_HOST_NUDGE_TWT_STATUS_ALREADY_PAUSED: TWT dialog already in paused state
|
||||||
* @WMI_HOST_NUDGE_TWT_STATUS_CHAN_SW_IN_PROGRESS: Channel switch in progress
|
* @WMI_HOST_NUDGE_TWT_STATUS_CHAN_SW_IN_PROGRESS: Channel switch in progress
|
||||||
* @WMI_HOST_NUDGE_TWT_STATUS_ROAM_IN_PROGRESS: Roaming in progress
|
* @WMI_HOST_NUDGE_TWT_STATUS_ROAM_IN_PROGRESS: Roaming in progress
|
||||||
* @WMI_HOST_NUDGE_TWT_STATUS_SCAN_IN_PROGRESS: Scan is in progress
|
* @WMI_HOST_NUDGE_TWT_STATUS_SCAN_IN_PROGRESS: Scan is in progress
|
||||||
@@ -598,6 +600,7 @@ enum WMI_HOST_NUDGE_TWT_STATUS {
|
|||||||
WMI_HOST_NUDGE_TWT_STATUS_NO_RESOURCE,
|
WMI_HOST_NUDGE_TWT_STATUS_NO_RESOURCE,
|
||||||
WMI_HOST_NUDGE_TWT_STATUS_NO_ACK,
|
WMI_HOST_NUDGE_TWT_STATUS_NO_ACK,
|
||||||
WMI_HOST_NUDGE_TWT_STATUS_UNKNOWN_ERROR,
|
WMI_HOST_NUDGE_TWT_STATUS_UNKNOWN_ERROR,
|
||||||
|
WMI_HOST_NUDGE_TWT_STATUS_ALREADY_PAUSED,
|
||||||
WMI_HOST_NUDGE_TWT_STATUS_CHAN_SW_IN_PROGRESS,
|
WMI_HOST_NUDGE_TWT_STATUS_CHAN_SW_IN_PROGRESS,
|
||||||
WMI_HOST_NUDGE_TWT_STATUS_ROAM_IN_PROGRESS,
|
WMI_HOST_NUDGE_TWT_STATUS_ROAM_IN_PROGRESS,
|
||||||
WMI_HOST_NUDGE_TWT_STATUS_SCAN_IN_PROGRESS,
|
WMI_HOST_NUDGE_TWT_STATUS_SCAN_IN_PROGRESS,
|
||||||
|
@@ -802,6 +802,8 @@ wmi_twt_nudge_status_to_host_twt_status(WMI_TWT_NUDGE_STATUS_T status)
|
|||||||
return HOST_TWT_NUDGE_STATUS_NO_RESOURCE;
|
return HOST_TWT_NUDGE_STATUS_NO_RESOURCE;
|
||||||
case WMI_NUDGE_TWT_STATUS_NO_ACK:
|
case WMI_NUDGE_TWT_STATUS_NO_ACK:
|
||||||
return HOST_TWT_NUDGE_STATUS_NO_ACK;
|
return HOST_TWT_NUDGE_STATUS_NO_ACK;
|
||||||
|
case WMI_NUDGE_TWT_STATUS_ALREADY_PAUSED:
|
||||||
|
return HOST_TWT_NUDGE_STATUS_ALREADY_PAUSED;
|
||||||
case WMI_NUDGE_TWT_STATUS_CHAN_SW_IN_PROGRESS:
|
case WMI_NUDGE_TWT_STATUS_CHAN_SW_IN_PROGRESS:
|
||||||
return HOST_TWT_NUDGE_STATUS_CHAN_SW_IN_PROGRESS;
|
return HOST_TWT_NUDGE_STATUS_CHAN_SW_IN_PROGRESS;
|
||||||
case WMI_NUDGE_TWT_STATUS_ROAM_IN_PROGRESS:
|
case WMI_NUDGE_TWT_STATUS_ROAM_IN_PROGRESS:
|
||||||
@@ -1924,6 +1926,8 @@ wmi_twt_nudge_status_to_host_twt_status(WMI_TWT_NUDGE_STATUS_T status)
|
|||||||
return WMI_HOST_NUDGE_TWT_STATUS_NO_ACK;
|
return WMI_HOST_NUDGE_TWT_STATUS_NO_ACK;
|
||||||
case WMI_NUDGE_TWT_STATUS_UNKNOWN_ERROR:
|
case WMI_NUDGE_TWT_STATUS_UNKNOWN_ERROR:
|
||||||
return WMI_HOST_NUDGE_TWT_STATUS_UNKNOWN_ERROR;
|
return WMI_HOST_NUDGE_TWT_STATUS_UNKNOWN_ERROR;
|
||||||
|
case WMI_NUDGE_TWT_STATUS_ALREADY_PAUSED:
|
||||||
|
return WMI_HOST_NUDGE_TWT_STATUS_ALREADY_PAUSED;
|
||||||
case WMI_NUDGE_TWT_STATUS_CHAN_SW_IN_PROGRESS:
|
case WMI_NUDGE_TWT_STATUS_CHAN_SW_IN_PROGRESS:
|
||||||
return WMI_HOST_NUDGE_TWT_STATUS_CHAN_SW_IN_PROGRESS;
|
return WMI_HOST_NUDGE_TWT_STATUS_CHAN_SW_IN_PROGRESS;
|
||||||
case WMI_NUDGE_TWT_STATUS_ROAM_IN_PROGRESS:
|
case WMI_NUDGE_TWT_STATUS_ROAM_IN_PROGRESS:
|
||||||
|
Reference in New Issue
Block a user