From d0c80a3e18e7eda44ba2c759398d1e7d2b54c2de Mon Sep 17 00:00:00 2001 From: Govind Singh Date: Mon, 1 Feb 2016 17:57:48 +0530 Subject: [PATCH] qcacld-3.0: CL 1449912 update fw common interface files Add wmi interface for MBO(MultiBand Operation) feature Change-Id: I81370b40c0d8232b57699cc6cfb0ef5113e33058 CRs-Fixed: 865207 --- target/inc/wmi_unified.h | 14 +++++++++++++- target/inc/wmi_version.h | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/target/inc/wmi_unified.h b/target/inc/wmi_unified.h index abf417ebaa1c..5b7ac98b1353 100644 --- a/target/inc/wmi_unified.h +++ b/target/inc/wmi_unified.h @@ -6956,6 +6956,16 @@ typedef struct { WMI_ROAM_AP_PROFILE, found during scan triggered upon FINAL_BMISS **/ #define WMI_ROAM_REASON_HO_FAILED 0x5 /** LFR3.0 roaming failed, indicate the disconnection to host */ + +/* + * WMI_ROAM_REASON_INVOKE_ROAM_FAIL: + * Result code of WMI_ROAM_INVOKE_CMDID. + * Any roaming failure before reassociation will be indicated to host + * with this reason. + * Any roaming failure after reassociation will be indicated to host with + * WMI_ROAM_REASON_HO_FAILED no matter WMI_ROAM_INVOKE_CMDID is called or not. + */ +#define WMI_ROAM_REASON_INVOKE_ROAM_FAIL 0x6 /* reserved up through 0xF */ /* subnet status: bits 4-5 */ @@ -7019,7 +7029,9 @@ typedef struct { /* flags for roam_invoke_cmd */ /* add this channel into roam cache channel list after this command is finished */ #define WMI_ROAM_INVOKE_FLAG_ADD_CH_TO_CACHE 0 -/* from bit 1 to bit 31 are reserved */ +/* indicate to host of failure if WMI_ROAM_INVOKE_CMDID. */ +#define WMI_ROAM_INVOKE_FLAG_REPORT_FAILURE 1 +/* from bit 2 to bit 31 are reserved */ #define WMI_SET_ROAM_INVOKE_ADD_CH_TO_CACHE(flag) do { \ (flag) |= (1 << WMI_SET_ROAM_INVOKE_ADD_CH_TO_CACHE); \ diff --git a/target/inc/wmi_version.h b/target/inc/wmi_version.h index 17e0d10c0a27..5c6a7c5b03f4 100644 --- a/target/inc/wmi_version.h +++ b/target/inc/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_ 202 +#define __WMI_REVISION_ 203 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work