diff options
| author | spuligil <spuligil@codeaurora.org> | 2017-12-14 17:01:12 -0800 |
|---|---|---|
| committer | spuligil <spuligil@codeaurora.org> | 2017-12-14 17:01:12 -0800 |
| commit | 3102bb579775fccb456c8349baa49a6bc246c508 (patch) | |
| tree | 6e824cbc7afcfaae3d0b056de8ab79c8043c8f6e | |
| parent | c94786d83d3c2ef39cc328378b1991532509156d (diff) | |
fw-api: CL 3897491 - update fw common interface files
Change-Id: Id8f5681e97b2ef60bc38f941eefd9891bca89cc6
WMI: add timeout fields to the BTM config message
CRs-Fixed: 1107600
| -rwxr-xr-x | fw/wmi_unified.h | 23 | ||||
| -rwxr-xr-x | fw/wmi_version.h | 2 |
2 files changed, 23 insertions, 2 deletions
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 6d1b2330ab50..2e50a827e38a 100755 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -9960,7 +9960,8 @@ typedef struct { * BIT 0 : Enable/Disable the BTM offload. * BIT 1-2 : Action on non matching candidate with cache. Used WMI_ROAM_BTM_OFLD_NON_MATCHING_CND_XXX * BIT 3-5 : Roaming handoff decisions. Use WMI_ROAM_BTM_OFLD_CNDS_MATCH_XXX - * BIT 6-31 : Reserved + * BIT 6 : Enable/Disable solicited BTM + * BIT 7-31 : Reserved */ #define WMI_ROAM_BTM_SET_ENABLE(flags, val) WMI_SET_BITS(flags, 0, 1, val) #define WMI_ROAM_BTM_GET_ENABLE(flags) WMI_GET_BITS(flags, 0, 1) @@ -9968,6 +9969,8 @@ typedef struct { #define WMI_ROAM_BTM_GET_NON_MATCHING_CND_ACTION(flags) WMI_GET_BITS(flags, 1, 2) #define WMI_ROAM_BTM_SET_CNDS_MATCH_CONDITION(flags, val) WMI_SET_BITS(flags, 3, 3, val) #define WMI_ROAM_BTM_GET_CNDS_MATCH_CONDITION(flags) WMI_GET_BITS(flags, 3, 3) +#define WMI_ROAM_BTM_SET_SOLICITED_BTM_ENABLE(flags, val) WMI_SET_BITS(flags, 6, 1, val) +#define WMI_ROAM_BTM_GET_SOLICITED_BTM_ENABLE(flags) WMI_GET_BITS(flags, 6, 1) /** WMI_ROAM_BTM_SET_NON_MATCHING_CNDS_ACTION definition: When BTM candidate is not matched with cache by WMI_ROAM_BTM_SET_CNDS_MATCH_CONDITION, determine what to do */ #define WMI_ROAM_BTM_NON_MATCHING_CNDS_SCAN_CONSUME 0 /** Invoke roam scan and consume within firmware. Applicable only when ROAM_SCAN_MODE is enabled. If ROAM_SCAN_MODE is disabled, firmware won't scan and forward it to host */ @@ -9986,6 +9989,24 @@ typedef struct { A_UINT32 vdev_id; /** BTM configuration control flags */ A_UINT32 flags; + /* BTM query timeout, unit: milliseconds + * valid value range: 1-10000, + * default value: 100 will be set if invalid value is given + */ + A_UINT32 solicited_timeout_ms; + /* Maximum attempt of solicited BTM + * If continuous failure reach to this value, solicited BTM to current + * ESS will be disabled. + * valid value range: 1 - (2^32-1). (2^32)-1 means sending forever + * Default value: 3 will be set if invalid value is given + */ + A_UINT32 max_attempt_cnt; + /* Time to stick to current AP after BTM, unit: seconds + * valid value range: 0 -(2^16-1). + * Either 0 or (2^16)-1 means stick to AP forever. + * Default value: 300 will be set if invalid value is given + */ + A_UINT32 stick_time_seconds; } wmi_btm_config_fixed_param; #define WMI_ROAM_5G_BOOST_PENALIZE_ALGO_FIXED 0x0 diff --git a/fw/wmi_version.h b/fw/wmi_version.h index ef8fc5256f95..2479fcc69fed 100755 --- 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_ 479 +#define __WMI_REVISION_ 480 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work |
