From 79a2a083ae7cb4d6d08b321a772e56d4213c219c Mon Sep 17 00:00:00 2001 From: Krishna Kumaar Natarajan Date: Fri, 25 Mar 2016 15:07:07 -0700 Subject: [PATCH] qcacld-3.0: CL 1481784 - update fw common interface files qcacld-2.0 to qcacld-3.0 propagation. Define ROAM_START and ROAM_ABORT WMI notifications. Change-Id: Idf0fec82a847f9c54fdad9daad30aaed6a7b590d CRs-Fixed: 865207 --- target/inc/wmi_unified.h | 13 +++++++++++++ target/inc/wmi_version.h | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/target/inc/wmi_unified.h b/target/inc/wmi_unified.h index c5a2716051ea..c2377cd91cf9 100644 --- a/target/inc/wmi_unified.h +++ b/target/inc/wmi_unified.h @@ -7468,10 +7468,15 @@ typedef struct { A_UINT32 reason; /** associated AP's rssi calculated by FW when reason code is WMI_ROAM_REASON_LOW_RSSI*/ A_UINT32 rssi; + /** roam notification */ + A_UINT32 notif; } wmi_roam_event_fixed_param; /* roam_reason: bits 0-3 */ + +/** invalid reason. Do not interpret reason field */ +#define WMI_ROAM_REASON_INVALID 0x0 #define WMI_ROAM_REASON_BETTER_AP 0x1 /** found a better AP */ #define WMI_ROAM_REASON_BMISS 0x2 /** beacon miss detected */ #define WMI_ROAM_REASON_DEAUTH 0x2 /** deauth/disassoc received */ @@ -7514,6 +7519,14 @@ typedef enum { (((roam_reason) & WMI_ROAM_SUBNET_CHANGE_STATUS_MASK) >> \ WMI_ROAM_SUBNET_CHANGE_STATUS_SHIFT) +/* roaming notification */ +/** invalid notification. Do not interpret notif field */ +#define WMI_ROAM_NOTIF_INVALID 0x0 +/** indicate that roaming is started. sent only in non WOW state */ +#define WMI_ROAM_NOTIF_ROAM_START 0x1 +/** indicate that roaming is aborted. sent only in non WOW state */ +#define WMI_ROAM_NOTIF_ROAM_ABORT 0x2 + /**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/target/inc/wmi_version.h b/target/inc/wmi_version.h index e50a15a22722..b9d3889c0d74 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_ 228 +#define __WMI_REVISION_ 229 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work