瀏覽代碼

qcacld-3.0: CL 1686562 - update fw common interface files

NAN NDP channel config type and NAN20 responder policy defs.

Change-Id: I0a2415ad0651ea93c3907e0a7fa2f59d2cb7ed05
CRs-Fixed: 865207
Nishank Aggarwal 8 年之前
父節點
當前提交
9a415a8567
共有 2 個文件被更改,包括 15 次插入1 次删除
  1. 14 0
      target/inc/wmi_unified.h
  2. 1 1
      target/inc/wmi_version.h

+ 14 - 0
target/inc/wmi_unified.h

@@ -12578,6 +12578,16 @@ typedef enum {
 
 #define wmi_ndp_rsp_code wmi_ndp_rsp_code_PROTOTYPE
 
+/**
+* NDP Channel configuration type
+*/
+typedef enum {
+	WMI_NDP_CHANNEL_NOT_REQUESTED = 0, /* Channel will not configured */
+	WMI_NDP_REQUEST_CHANNEL_SETUP = 1, /* Channel will be provided and is optional/hint */
+	WMI_NDP_FORCE_CHANNEL_SETUP = 2/* NDP must start on the provided channel */
+} wmi_ndp_channel_cfg_PROTOTYPE;
+
+#define wmi_ndp_channel_cfg wmi_ndp_channel_cfg_PROTOTYPE
 /**
  * NDP Initiator requesting a data session
  */
@@ -12599,6 +12609,8 @@ typedef struct {
 	A_UINT32 ndp_cfg_len;
 	/* Actual number of bytes in TLV ndp_app_info */
 	A_UINT32 ndp_app_info_len;
+	/** NDP channel configuration type defined in wmi_ndp_channel_cfg */
+	A_UINT32 ndp_channel_cfg;
 	/**
 	 * TLV (tag length value ) parameters follow the ndp_initiator_req
 	 * structure. The TLV's are:
@@ -12782,6 +12794,8 @@ typedef struct {
 	A_UINT32 ndp_instance_id;
 	/* NDI mac address of the peer */
 	wmi_mac_addr peer_ndi_mac_addr;
+	/** Host can create peer if this entry is TRUE */
+	A_UINT32 create_peer;
 } wmi_ndp_responder_rsp_event_fixed_param_PROTOTYPE;
 
 #define wmi_ndp_responder_rsp_event_fixed_param wmi_ndp_responder_rsp_event_fixed_param_PROTOTYPE

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