Эх сурвалжийг харах

fw-api: CL 26661427 - update fw common interface files

Change-Id: I642f33bf012856aba80c9270397c40dd8fff8c01
CRs-Fixed: 2262693
spuligil 1 жил өмнө
parent
commit
63fb6de36e

+ 2 - 0
fw/wmi_services.h

@@ -666,6 +666,8 @@ typedef  enum  {
     WMI_SERVICE_EPM = 412, /* FW supports enhanced power management */
     WMI_SERVICE_EPM = 412, /* FW supports enhanced power management */
     WMI_SERVICE_CHIPSET_LOGGING_SUPPORT = 413, /* FW supports chipset logging feature */
     WMI_SERVICE_CHIPSET_LOGGING_SUPPORT = 413, /* FW supports chipset logging feature */
     WMI_SERVICE_SUPPORT_AP_SUSPEND_RESUME = 414, /* FW supports SAP suspend feature */
     WMI_SERVICE_SUPPORT_AP_SUSPEND_RESUME = 414, /* FW supports SAP suspend feature */
+    WMI_SERVICE_STA_P2P_NDP_CONCURRENCY_SUPPORT = 415, /* FW supports STA + P2P + NAN concurrency */
+    WMI_SERVICE_USE_STA_VDEV_FOR_P2P_DEVICE = 416, /* FW supports use of sta vdev to be repurposed for p2p device */
 
 
 
 
     WMI_MAX_EXT2_SERVICE
     WMI_MAX_EXT2_SERVICE

+ 11 - 0
fw/wmi_unified.h

@@ -6141,6 +6141,7 @@ typedef enum {
 #define WMI_SCAN_FLAG_EXT_FAST_SCAN           0x00020000
 #define WMI_SCAN_FLAG_EXT_FAST_SCAN           0x00020000
 #define WMI_SCAN_FLAG_EXT_LOW_POWER_SCAN      0x00040000
 #define WMI_SCAN_FLAG_EXT_LOW_POWER_SCAN      0x00040000
 #define WMI_SCAN_FLAG_EXT_STOP_IF_BSSID_FOUND 0x00080000
 #define WMI_SCAN_FLAG_EXT_STOP_IF_BSSID_FOUND 0x00080000
+#define WMI_SCAN_FLAG_EXT_P2P_SCAN            0x00100000
 
 
 
 
 /**
 /**
@@ -6346,6 +6347,11 @@ enum wmi_scan_completion_reason {
     WMI_SCAN_REASON_MAX,
     WMI_SCAN_REASON_MAX,
 };
 };
 
 
+#define WMI_SCAN_EVT_IS_SCAN_TYPE_P2P_FLAG_SET(flag, value) \
+    WMI_SET_BITS(flag, 0, 1, value)
+#define WMI_SCAN_EVT_IS_SCAN_TYPE_P2P_FLAG_GET(flag) \
+    WMI_GET_BITS(flag, 0, 1)
+
 typedef struct {
 typedef struct {
     A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_scan_event_fixed_param */
     A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_scan_event_fixed_param */
     /** scan event (wmi_scan_event_type) */
     /** scan event (wmi_scan_event_type) */
@@ -6366,6 +6372,11 @@ typedef struct {
      * In case of STA not connected it will be the free running HW timer
      * In case of STA not connected it will be the free running HW timer
      */
      */
     A_UINT32 tsf_timestamp;
     A_UINT32 tsf_timestamp;
+    /** flags:
+     * Bit[0]    - indicate if scan type is for p2p
+     * Bit[1:31] - reserved
+     */
+    A_UINT32 flags;
 } wmi_scan_event_fixed_param;
 } wmi_scan_event_fixed_param;
 
 
 /* WMI Diag event */
 /* WMI Diag event */

+ 1 - 1
fw/wmi_version.h

@@ -37,7 +37,7 @@
 #define __WMI_VER_MINOR_    0
 #define __WMI_VER_MINOR_    0
 /** WMI revision number has to be incremented when there is a
 /** WMI revision number has to be incremented when there is a
  *  change that may or may not break compatibility. */
  *  change that may or may not break compatibility. */
-#define __WMI_REVISION_ 1483
+#define __WMI_REVISION_ 1484
 
 
 /** The Version Namespace should not be normally changed. Only
 /** The Version Namespace should not be normally changed. Only
  *  host and firmware of the same WMI namespace will work
  *  host and firmware of the same WMI namespace will work