From a456d7e5c1d3a992e1a0703af491741e23beb49a Mon Sep 17 00:00:00 2001 From: spuligil Date: Wed, 2 Dec 2020 05:20:23 -0800 Subject: [PATCH] fw-api: CL 12225966 - update fw common interface files Change-Id: Ie28d2dab1c02e3715c0b440ed73df3950790618b WMI: max/min limits for wake interval and duration for TWT add dialog CRs-Fixed: 2262693 --- fw/wmi_unified.h | 22 ++++++++++++++++++++++ fw/wmi_version.h | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index bdf251966bde..5419da70e2d5 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -28316,6 +28316,26 @@ typedef struct { * "9.4.2.199 TWT element" of latest 11ax draft */ A_UINT32 b_twt_recommendation; + + /* Min tolerance limit of wake interval. + * If this variable is set to 0 by host, FW will ignore it. + */ + A_UINT32 min_wake_intvl_us; + + /* Max tolerance limit of wake interval. + * If this variable is set to 0 by host, FW will ignore it. + */ + A_UINT32 max_wake_intvl_us; + + /* Min tolerance limit of wake duration. + * If this variable is set to 0 by host, FW will ignore it. + */ + A_UINT32 min_wake_dura_us; + + /* Max tolerance limit of wake duration. + * If this variable is set to 0 by host, FW will ignore it. + */ + A_UINT32 max_wake_dura_us; } wmi_twt_add_dialog_cmd_fixed_param; /* status code of adding TWT dialog */ @@ -28330,6 +28350,8 @@ typedef enum _WMI_ADD_TWT_STATUS_T { WMI_ADD_TWT_STATUS_NO_RESPONSE, /* peer AP did not send the response frame */ WMI_ADD_TWT_STATUS_DENIED, /* AP did not accept the request */ WMI_ADD_TWT_STATUS_UNKNOWN_ERROR, /* adding TWT dialog failed with an unknown reason */ + WMI_ADD_TWT_STATUS_AP_PARAMS_NOT_IN_RANGE, /* peer AP wake interval, duration not in range */ + WMI_ADD_TWT_STATUS_AP_IE_VALIDATION_FAILED, /* peer AP IE Validation Failed */ } WMI_ADD_TWT_STATUS_T; typedef struct { diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 5f9a21f1bede..33e7d9704155 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -36,7 +36,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 922 +#define __WMI_REVISION_ 923 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work