summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsodi T,Venkateswara Reddy <vasodi@codeaurora.org>2017-01-31 19:48:52 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-01-31 07:55:37 -0800
commit06e72229097359d2b86f970b1fed690e65e81539 (patch)
tree869c64913b18637351ef77b59372d4796dfa05a3
parentd88721a45b7f167617de72feb44f7c666a8096a7 (diff)
qcacld-2.0: CL 2826987 - update fw common interface files
WMI ROAM_REASON_SCAN_MODE PASS/FAIL Change-Id: I3f7484f84f69d38360828ed6619f943bf044ae23 CRs-Fixed: 865207
-rw-r--r--CORE/SERVICES/COMMON/wmi_unified.h18
-rw-r--r--CORE/SERVICES/COMMON/wmi_version.h2
2 files changed, 14 insertions, 6 deletions
diff --git a/CORE/SERVICES/COMMON/wmi_unified.h b/CORE/SERVICES/COMMON/wmi_unified.h
index 7ab8e8ef51e3..3fa065ceb319 100644
--- a/CORE/SERVICES/COMMON/wmi_unified.h
+++ b/CORE/SERVICES/COMMON/wmi_unified.h
@@ -8199,6 +8199,10 @@ typedef struct{
* and to look for a matching AP profile from a list of
* configured profiles. */
+/* flags for roam_scan_mode_cmd
+ * indicate the status (success/fail) of wmi_roam_scan_mode cmd through WMI_ROAM_EVENTID */
+#define WMI_ROAM_SCAN_MODE_FLAG_REPORT_STATUS 0x1
+
/**
* WMI_ROAM_SCAN_MODE: Set Roam Scan mode
* the roam scan mode is one of the periodic, rssi change, both, none.
@@ -8211,8 +8215,9 @@ typedef struct{
*/
typedef struct {
A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_scan_mode_fixed_param */
- A_UINT32 roam_scan_mode;
+ A_UINT32 roam_scan_mode;
A_UINT32 vdev_id;
+ A_UINT32 flags; /* see WMI_ROAM_SCAN_MODE_FLAG defs */
} wmi_roam_scan_mode_fixed_param;
#define WMI_ROAM_SCAN_MODE_NONE 0x0
@@ -8650,6 +8655,7 @@ typedef struct {
* WMI_ROAM_REASON_HO_FAILED no matter WMI_ROAM_INVOKE_CMDID is called or not.
*/
#define WMI_ROAM_REASON_INVOKE_ROAM_FAIL 0x6
+#define ROAM_REASON_RSO_STATUS 0x7
/* reserved up through 0xF */
/* subnet status: bits 4-5 */
@@ -8674,10 +8680,12 @@ typedef enum {
WMI_ROAM_SUBNET_CHANGE_STATUS_SHIFT)
/* roaming notification */
-#define WMI_ROAM_NOTIF_INVALID 0x0 /** invalid notification. Do not interpret notif field */
-#define WMI_ROAM_NOTIF_ROAM_START 0x1 /** indicate that roaming is started. sent only in non WOW state */
-#define WMI_ROAM_NOTIF_ROAM_ABORT 0x2 /** indicate that roaming is aborted. sent only in non WOW state */
-#define WMI_ROAM_NOTIF_ROAM_REASSOC 0x3 /** indicate that reassociation is done. sent only in non WOW state */
+#define WMI_ROAM_NOTIF_INVALID 0x0 /** invalid notification. Do not interpret notif field */
+#define WMI_ROAM_NOTIF_ROAM_START 0x1 /** indicate that roaming is started. sent only in non WOW state */
+#define WMI_ROAM_NOTIF_ROAM_ABORT 0x2 /** indicate that roaming is aborted. sent only in non WOW state */
+#define WMI_ROAM_NOTIF_ROAM_REASSOC 0x3 /** indicate that reassociation is done. sent only in non WOW state */
+#define WMI_ROAM_NOTIF_SCAN_MODE_SUCCESS 0x4 /** indicate that roaming scan mode is successful */
+#define WMI_ROAM_NOTIF_SCAN_MODE_FAIL 0x5 /** indicate that roaming scan mode is failed due to internal roaming state */
/**whenever RIC request information change, host driver should pass all ric related information to firmware (now only support tsepc)
* Once, 11r roaming happens, firmware can generate RIC request in reassoc request based on these informations
diff --git a/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h
index 194e4922149d..a4807529df8c 100644
--- a/CORE/SERVICES/COMMON/wmi_version.h
+++ b/CORE/SERVICES/COMMON/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_ 339
+#define __WMI_REVISION_ 340
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work