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

Change-Id: Ice552f8b689099ae124fa409df00bc10a2fb8a4f
WMI: add config_roam_trigger_param TLV in ROAM TRIGGER_REASON msg
CRs-Fixed: 2262693
Cette révision appartient à :
spuligil
2020-07-01 18:00:45 -07:00
révisé par Gerrit - the friendly Code Review server
Parent 5984a09bec
révision 39a5c37181
4 fichiers modifiés avec 51 ajouts et 2 suppressions

Voir le fichier

@@ -446,6 +446,7 @@ typedef enum {
WMI_SERVICE_TPC_STATS_EVENT = 251, /* FW support to dump the TPC tables */
WMI_SERVICE_NO_INTERBAND_MCC_SUPPORT = 252, /* Indicates FW doesn't support interband MCC */
WMI_SERVICE_MBSS_PARAM_IN_VDEV_START_SUPPORT = 253, /* FW supports VDEV's MBSS param exchange in VDEV start command */
WMI_SERVICE_CONFIGURE_ROAM_TRIGGER_PARAM_SUPPORT = 254, /* FW supports ROAM trigger configuration param TLV */
/******* ADD NEW SERVICES UP TO 256 HERE *******/

Voir le fichier

@@ -1097,6 +1097,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_roam_initial_info_tlv_param,
WMITLV_TAG_STRUC_wmi_pdev_twt_session_stats_event_fixed_param,
WMITLV_TAG_STRUC_wmi_twt_session_stats_info,
WMITLV_TAG_STRUC_wmi_configure_roam_trigger_parameters,
} WMITLV_TAG_ID;
/*
@@ -3287,7 +3288,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_IDLE_TRIGGER_MONITOR_CMDID);
/* Enable or disable roaming trigger reason */
#define WMITLV_TABLE_WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_enable_disable_trigger_reason_fixed_param, wmi_roam_enable_disable_trigger_reason_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_enable_disable_trigger_reason_fixed_param, wmi_roam_enable_disable_trigger_reason_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_configure_roam_trigger_parameters, config_roam_trigger_param, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID);
/* DSM filter parameters */

Voir le fichier

@@ -14868,6 +14868,43 @@ typedef struct {
**/
} wmi_roam_subnet_change_config_fixed_param;
typedef enum {
/** No change in scan mode, use legacy modes */
ROAM_TRIGGER_SCAN_MODE_NONE = 0,
/** Trigger only partial roam scan */
ROAM_TRIGGER_SCAN_MODE_PARTIAL,
/** Trigger only FULL roam scan */
ROAM_TRIGGER_SCAN_MODE_FULL,
/** Don't trigger any roam scan and disconnect from AP */
ROAM_TRIGGER_SCAN_MODE_NO_SCAN_DISCONNECTION,
} WMI_ROAM_TRIGGER_SCAN_MODE;
typedef struct {
A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_configure_roam_trigger_parameters */
A_UINT32 trigger_reason; /** Roam trigger reason from WMI_ROAM_TRIGGER_REASON_ID */
A_UINT32 enable; /** 0 - Disable, non-zero - enable */
A_UINT32 scan_mode; /** Scan mode from WMI_ROAM_TRIGGER_SCAN_MODE */
/** consider roam trigger if connected AP rssi is worse than trigger_rssi_threshold */
A_INT32 trigger_rssi_threshold; /* Units in dbm*/
/*
* Consider AP as roam candidate only if AP rssi is better than
* cand_ap_min_rssi_threshold
*/
A_INT32 cand_ap_min_rssi_threshold; /* Units in dbm */
/* Roam score delta in %.
* Consider AP as roam candidate only if AP score is at least
* roam_score_delta % better than connected AP score.
* Ex: roam_score_delta = 20, and connected AP score is 4000,
* then consider candidate AP only if its score is at least
* 4800 (= 4000 * 120%)
*/
A_UINT32 roam_score_delta_percentage;
/* Reason code to be filled in the response frame from STA.
Ex: Reason code in the BTM response frame
Valid values are 0 - 255 */
A_UINT32 reason_code;
} wmi_configure_roam_trigger_parameters;
/**
* WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON:
* Enable or disable roaming triggers in FW.
@@ -14883,6 +14920,15 @@ typedef struct {
* bit value equal 0x0.
*/
A_UINT32 trigger_reason_bitmask;
/**
* The following TLVs will follow this fixed_param TLV:
*
* wmi_configure_roam_trigger_parameters config_roam_trigger_param[]
* Roam trigger configuration per roam trigger.
* The number of elements in this TLV array is limited to
* WMI_ROAM_TRIGGER_EXT_REASON_MAX
*/
} wmi_roam_enable_disable_trigger_reason_fixed_param;
/** WMI_PROFILE_MATCH_EVENT: offload scan

Voir le fichier

@@ -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_ 859
#define __WMI_REVISION_ 860
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work