Преглед изворни кода

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
Krishna Kumaar Natarajan пре 9 година
родитељ
комит
79a2a083ae
2 измењених фајлова са 14 додато и 1 уклоњено
  1. 13 0
      target/inc/wmi_unified.h
  2. 1 1
      target/inc/wmi_version.h

+ 13 - 0
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
  */

+ 1 - 1
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