fw-api: CL 3897491 - update fw common interface files

Change-Id: Id8f5681e97b2ef60bc38f941eefd9891bca89cc6
WMI: add timeout fields to the BTM config message
CRs-Fixed: 1107600
This commit is contained in:
spuligil
2017-12-14 17:01:12 -08:00
parent a262162eb3
commit 1396a9435c
2 changed files with 23 additions and 2 deletions

View File

@@ -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