|
@@ -994,6 +994,8 @@ typedef enum {
|
|
|
WMI_P2P_LISTEN_OFFLOAD_START_CMDID,
|
|
|
/** set listen offload stop related parameters */
|
|
|
WMI_P2P_LISTEN_OFFLOAD_STOP_CMDID,
|
|
|
+ /** set DFS master AP configuration */
|
|
|
+ WMI_P2P_GO_DFS_AP_CONFIG_CMDID,
|
|
|
|
|
|
/** AP power save specific config */
|
|
|
/** set AP power save specific param */
|
|
@@ -2090,6 +2092,9 @@ typedef enum {
|
|
|
/** send p2p listen offload stopped event with different reason */
|
|
|
WMI_P2P_LISTEN_OFFLOAD_STOPPED_EVENTID,
|
|
|
|
|
|
+ /** send event to AP assisted P2P GO to change current DFS channel */
|
|
|
+ WMI_P2P_CLI_DFS_AP_BMISS_DETECTED_EVENTID,
|
|
|
+
|
|
|
/** Send EGAP Info to host */
|
|
|
WMI_AP_PS_EGAP_INFO_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_AP_PS),
|
|
|
|
|
@@ -6141,6 +6146,7 @@ typedef enum {
|
|
|
#define WMI_SCAN_FLAG_EXT_FAST_SCAN 0x00020000
|
|
|
#define WMI_SCAN_FLAG_EXT_LOW_POWER_SCAN 0x00040000
|
|
|
#define WMI_SCAN_FLAG_EXT_STOP_IF_BSSID_FOUND 0x00080000
|
|
|
+#define WMI_SCAN_FLAG_EXT_P2P_SCAN 0x00100000
|
|
|
|
|
|
|
|
|
/**
|
|
@@ -6346,6 +6352,11 @@ enum wmi_scan_completion_reason {
|
|
|
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 {
|
|
|
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_scan_event_fixed_param */
|
|
|
/** scan event (wmi_scan_event_type) */
|
|
@@ -6366,6 +6377,11 @@ typedef struct {
|
|
|
* In case of STA not connected it will be the free running HW timer
|
|
|
*/
|
|
|
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 Diag event */
|
|
@@ -9632,6 +9648,11 @@ typedef enum {
|
|
|
*/
|
|
|
WMI_PDEV_PARAM_SCAN_MODE,
|
|
|
|
|
|
+ /** configure datastall consecutive no ack interval (units = ms) */
|
|
|
+ WMI_PDEV_PARAM_DSTALL_CONSECUTIVE_TX_NO_ACK_INTERVAL,
|
|
|
+ /** configure datastall consecutive no ack threshold */
|
|
|
+ WMI_PDEV_PARAM_DSTALL_CONSECUTIVE_TX_NO_ACK_THRESHOLD,
|
|
|
+
|
|
|
} WMI_PDEV_PARAM;
|
|
|
|
|
|
#define WMI_PDEV_ONLY_BSR_TRIG_IS_ENABLED(trig_type) WMI_GET_BITS(trig_type, 0, 1)
|
|
@@ -17544,6 +17565,25 @@ typedef struct {
|
|
|
A_UINT32 vdev_id;
|
|
|
} wmi_vdev_delete_cmd_fixed_param;
|
|
|
|
|
|
+typedef struct {
|
|
|
+ A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_p2p_go_dfs_ap_config_fixed_param */
|
|
|
+ /** unique id identifying the VDEV, generated by the caller */
|
|
|
+ A_UINT32 vdev_id;
|
|
|
+ /** "set" field:
|
|
|
+ * HOST to specify a non-zero value if DFS master AP config is to be added,
|
|
|
+ * or a zero value if it is to be removed.
|
|
|
+ */
|
|
|
+ A_UINT32 set;
|
|
|
+ /* The TLVs follows this structure:
|
|
|
+ * wmi_mac_addr bssid; <-- bssid for P2P GO's STA's connected AP,
|
|
|
+ * STA's connected AP is DFS master
|
|
|
+ * optional TLV used for bssid
|
|
|
+ * wmi_mac_addr non_tx_bssid; <-- bssid for P2P GO's STA's connected AP,
|
|
|
+ * if connected to non TX VAP
|
|
|
+ * optional TLV used for bssid
|
|
|
+ */
|
|
|
+} wmi_p2p_go_dfs_ap_config_fixed_param;
|
|
|
+
|
|
|
enum WMI_VDEV_UP_FLAGS {
|
|
|
/** EMA_MBSSID_AP
|
|
|
* Valid only for STA VDEV.
|
|
@@ -19643,12 +19683,20 @@ typedef struct {
|
|
|
A_UINT32 cu_vdev_map_cat2_hi; /* bits 63:32 */
|
|
|
} wmi_prb_resp_tmpl_ml_info;
|
|
|
|
|
|
+/** indicates P2P GO only case not replay probe req */
|
|
|
+#define WMI_PRB_TMPL_IGNORE_NONP2P_PRB_REQ 0x1
|
|
|
+
|
|
|
typedef struct {
|
|
|
A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_prb_tmpl_cmd_fixed_param */
|
|
|
/** unique id identifying the VDEV, generated by the caller */
|
|
|
A_UINT32 vdev_id;
|
|
|
/** beacon buffer length. data is in TLV data[] */
|
|
|
A_UINT32 buf_len;
|
|
|
+ /** flags to control probe tmpl:
|
|
|
+ * Bit 0: If set, FW should ignore non-P2P probe req
|
|
|
+ * Bits 31-1: Reserved
|
|
|
+ */
|
|
|
+ A_UINT32 flags;
|
|
|
/*
|
|
|
* The TLVs follows:
|
|
|
* wmi_bcn_prb_info bcn_prb_info; <-- beacon probe capabilities and IEs
|
|
@@ -27321,7 +27369,6 @@ typedef struct
|
|
|
A_UINT32 scan_req_id;
|
|
|
} wmi_lpi_status_event_fixed_param;
|
|
|
|
|
|
-
|
|
|
typedef struct
|
|
|
{
|
|
|
A_UINT32 tlv_header;
|
|
@@ -27331,6 +27378,7 @@ typedef struct
|
|
|
A_UINT32 rssi;
|
|
|
A_UINT32 vdev_id;
|
|
|
} wmi_lpi_handoff_event_fixed_param;
|
|
|
+
|
|
|
typedef struct
|
|
|
{
|
|
|
A_UINT32 tlv_header;
|
|
@@ -27339,6 +27387,19 @@ typedef struct
|
|
|
A_UINT32 isLastResult; /*is this event a last event of the whole batch scan*/
|
|
|
} wmi_batch_scan_result_event_fixed_param;
|
|
|
|
|
|
+typedef enum {
|
|
|
+ /** beacons not received from P2P GO */
|
|
|
+ WMI_P2P_GO_BMISS = 0,
|
|
|
+ /** beacons not received from P2 GO's STA's connected AP */
|
|
|
+ WMI_DFS_AP_BMISS = 1,
|
|
|
+} wmi_dfs_ap_bmiss_reason;
|
|
|
+
|
|
|
+typedef struct {
|
|
|
+ A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_p2p_cli_dfs_ap_bmiss_fixed_param*/
|
|
|
+ A_UINT32 vdev_id;
|
|
|
+ A_UINT32 reason_code; /* contains a wmi_dfs_ap_bmiss_reason value */
|
|
|
+} wmi_p2p_cli_dfs_ap_bmiss_fixed_param;
|
|
|
+
|
|
|
typedef struct {
|
|
|
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_p2p_noa_event_fixed_param */
|
|
|
A_UINT32 vdev_id;
|
|
@@ -37809,6 +37870,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
|
|
|
WMI_RETURN_STRING(WMI_REQUEST_OPM_STATS_CMDID);
|
|
|
WMI_RETURN_STRING(WMI_SOC_TX_PACKET_CUSTOM_CLASSIFY_CMDID);
|
|
|
WMI_RETURN_STRING(WMI_SET_AP_SUSPEND_RESUME_CMDID);
|
|
|
+ WMI_RETURN_STRING(WMI_P2P_GO_DFS_AP_CONFIG_CMDID);
|
|
|
}
|
|
|
|
|
|
return (A_UINT8 *) "Invalid WMI cmd";
|