Forráskód Böngészése

qcacld-3.0: CL 1426046 update fw common interface files

qcacld-2.0 to qcacld-3.0 propagation

WMI event update for SMPS complete

Change-Id: Ifb8583d96bc634c5570b538aac2cc93de9f9efcd
CRs-fixed: 865207
Manikandan Mohan 9 éve
szülő
commit
55c94d666f
3 módosított fájl, 27 hozzáadás és 2 törlés
  1. 7 1
      target/inc/wmi_tlv_defs.h
  2. 19 0
      target/inc/wmi_unified.h
  3. 1 1
      target/inc/wmi_version.h

+ 7 - 1
target/inc/wmi_tlv_defs.h

@@ -604,6 +604,7 @@ typedef enum {
 	WMITLV_TAG_STRUC_wmi_transfer_data_to_flash_complete_event_fixed_param,
 	WMITLV_TAG_STRUC_wmi_scpc_event_fixed_param,
 	WMITLV_TAG_STRUC_wmi_ap_ps_egap_info_chainmask_list,
+	WMITLV_TAG_STRUC_wmi_sta_smps_force_mode_complete_event_fixed_param,
 } WMITLV_TAG_ID;
 
 /*
@@ -961,7 +962,8 @@ typedef enum {
 	OP(WMI_AP_PS_EGAP_INFO_EVENTID) \
 	OP(WMI_TRANSFER_DATA_TO_FLASH_COMPLETE_EVENTID) \
 	OP(WMI_OEM_RESPONSE_EVENTID) \
-	OP(WMI_PDEV_UTF_SCPC_EVENTID)
+	OP(WMI_PDEV_UTF_SCPC_EVENTID) \
+	OP(WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID)
 
 /* TLV definitions of WMI commands */
 
@@ -3022,6 +3024,10 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PACKET_FILTER_ENABLE_CMDID);
 	WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_mawc_enable_sensor_event_fixed_param, wmi_mawc_enable_sensor_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
 WMITLV_CREATE_PARAM_STRUC(WMI_MAWC_ENABLE_SENSOR_EVENTID);
 
+/* SMPS force mode complete Event */
+#define WMITLV_TABLE_WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID(id, op, buf, len) \
+	WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_sta_smps_force_mode_complete_event_fixed_param, wmi_sta_smps_force_mode_complete_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
+WMITLV_CREATE_PARAM_STRUC(WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID);
 
 #ifdef __cplusplus
 }

+ 19 - 0
target/inc/wmi_unified.h

@@ -1144,6 +1144,11 @@ typedef enum {
 	/* TDLS Event */
 	WMI_TDLS_PEER_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_TDLS),
 
+	/* STA SMPS Event */
+	/* force SMPS mode */
+	WMI_STA_SMPS_FORCE_MODE_COMPLETE_EVENTID =
+					WMI_EVT_GRP_START_ID(WMI_GRP_STA_SMPS),
+
 	/*location scan event */
 	/*report the firmware's capability of batch scan */
 	WMI_BATCH_SCAN_ENABLED_EVENTID =
@@ -12332,6 +12337,20 @@ typedef struct {
 	A_UINT32 status;
 } wmi_transfer_data_to_flash_complete_event_fixed_param;
 
+/*
+ * This structure is used to report SMPS force mode set complete to host.
+ */
+typedef struct {
+	/* TLV tag and len; tag equals
+	 * WMITLV_TAG_STRUC_wmi_sta_smps_force_mode_complete_event_fixed_param
+	 */
+	A_UINT32 tlv_header;
+	/* Unique id identifying the VDEV */
+	A_UINT32 vdev_id;
+	/* Return status. 0 for success, non-zero otherwise */
+	A_UINT32 status;
+} wmi_sta_smps_force_mode_complete_event_fixed_param;
+
 /*
  * This structure is used to report SCPC calibrated data to host.
  */

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