summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-02-15 13:05:46 -0700
committerLinux Build Service Account <lnxbuild@localhost>2017-02-15 13:05:46 -0700
commitb051561d95525f3a4e27323c369c1cc04cc2d50e (patch)
tree6d52bab9f2826e3a5015d9589165973b327791c6
parent12823d5b041436250a5b298cbb2868863296d81c (diff)
parentd9702b02466bec3be3f3d32fea49edec9de9d7ff (diff)
Promotion of wlan-api.lnx.1.1-00004.
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1107600 I1c6d7401e675247bb4afbcb877c587ce42d22c79 fw-api: CL 2842375 - update fw common interface files 1107600 I91470a3a9226e9968f91a78dffd28f596ac05c82 fw-api: CL 2836872 - update fw common interface files 1107600 I108505f0947669502548e08057890c902a763323 fw-api: CL 2844914 - update fw common interface files Change-Id: Ia5fa836a38e5b1c95638f530a22cffc626f186ef CRs-Fixed: 1107600
-rwxr-xr-xfw/wmi_services.h3
-rwxr-xr-xfw/wmi_tlv_defs.h16
-rwxr-xr-xfw/wmi_tlv_helper.h5
-rwxr-xr-xfw/wmi_unified.h60
-rwxr-xr-xfw/wmi_version.h2
5 files changed, 83 insertions, 3 deletions
diff --git a/fw/wmi_services.h b/fw/wmi_services.h
index 928bda196e9e..4f709b0c0f78 100755
--- a/fw/wmi_services.h
+++ b/fw/wmi_services.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -186,6 +186,7 @@ typedef enum {
WMI_SERVICE_REGULATORY_DB=117, /* support regulatory database in FW */
WMI_SERVICE_11D_OFFLOAD=118, /* support 11D scan offload in FW */
WMI_SERVICE_HW_DATA_FILTERING=119,
+ WMI_SERVICE_MULTIPLE_VDEV_RESTART=120, /* Support for single command for multiple vdev restart */
/******* ADD NEW SERVICES HERE UNTIL ALL VALUES UP TO 128 ARE USED *******/
diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h
index 4fe83245c4c1..a2dcd421a82c 100755
--- a/fw/wmi_tlv_defs.h
+++ b/fw/wmi_tlv_defs.h
@@ -796,6 +796,8 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_connected_nlo_bss_band_rssi_pref,
WMITLV_TAG_STRUC_wmi_peer_oper_mode_change_event_fixed_param,
WMITLV_TAG_STRUC_wmi_chip_power_save_failure_detected_fixed_param,
+ WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_restart_request_cmd_fixed_param,
+ WMITLV_TAG_STRUC_wmi_pdev_csa_switch_count_status_event_fixed_param,
} WMITLV_TAG_ID;
/*
@@ -1116,6 +1118,7 @@ typedef enum {
OP(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID) \
OP(WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID) \
OP(WMI_HW_DATA_FILTER_CMDID) \
+ OP(WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID) \
/* add new CMD_LIST elements above this line */
@@ -1292,6 +1295,7 @@ typedef enum {
OP(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENTID) \
OP(WMI_PEER_OPER_MODE_CHANGE_EVENTID) \
OP(WMI_PDEV_CHIP_POWER_SAVE_FAILURE_DETECTED_EVENTID) \
+ OP(WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID) \
/* add new EVT_LIST elements above this line */
@@ -3199,6 +3203,13 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_hw_data_filter_cmd_fixed_param, wmi_hw_data_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_HW_DATA_FILTER_CMDID);
+/* Multiple vdev restart request cmd */
+#define WMITLV_TABLE_WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID(id,op,buf,len) \
+ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_restart_request_cmd_fixed_param, wmi_pdev_multiple_vdev_restart_request_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
+ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids, WMITLV_SIZE_VAR) \
+ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX)
+WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID);
+
/************************** TLV definitions of WMI events *******************************/
@@ -4268,6 +4279,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PKGID_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_add_mac_addr_to_rx_filter_status_event_fixed_param, wmi_vdev_add_mac_addr_to_rx_filter_status_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENTID);
+#define WMITLV_TABLE_WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID(id,op,buf,len) \
+ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_csa_switch_count_status_event_fixed_param, wmi_pdev_csa_switch_count_status_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
+ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids, WMITLV_SIZE_VAR)
+WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID);
+
#ifdef __cplusplus
}
diff --git a/fw/wmi_tlv_helper.h b/fw/wmi_tlv_helper.h
index ca04d0865762..1930a27b4686 100755
--- a/fw/wmi_tlv_helper.h
+++ b/fw/wmi_tlv_helper.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -105,6 +105,9 @@ void
wmitlv_set_static_param_tlv_buf(void *param_tlv_buf, A_UINT32 max_tlvs_accomodated);
void
+wmitlv_set_static_param_tlv_buf_ext(void *param_tlv_buf, A_UINT32 max_tlvs_accomodated, A_UINT32 indx);
+
+void
wmitlv_free_allocated_command_tlvs(
A_UINT32 cmd_id,
void **wmi_cmd_struct_ptr);
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index cea84c441c40..01defb7f7ac8 100755
--- a/fw/wmi_unified.h
+++ b/fw/wmi_unified.h
@@ -356,6 +356,8 @@ typedef enum {
WMI_PDEV_GET_CHIP_POWER_STATS_CMDID,
/** set stats reporting thresholds - see WMI_REPORT_STATS_EVENTID */
WMI_PDEV_SET_STATS_THRESHOLD_CMDID,
+ /** vdev restart request for multiple vdevs */
+ WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID,
/* VDEV (virtual device) specific commands */
/** vdev create */
@@ -1093,6 +1095,9 @@ typedef enum {
/** Power Save Failure Detected */
WMI_PDEV_CHIP_POWER_SAVE_FAILURE_DETECTED_EVENTID,
+ /* Event to report the switch count in csa of one or more VDEVs */
+ WMI_PDEV_CSA_SWITCH_COUNT_STATUS_EVENTID,
+
/* VDEV specific events */
/** VDEV started event in response to VDEV_START request */
WMI_VDEV_START_RESP_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_VDEV),
@@ -6674,6 +6679,14 @@ typedef struct {
A_UINT32 tim_ie_offset;
/** beacon buffer length. data is in TLV data[] */
A_UINT32 buf_len;
+ /** CSA IE switch count offset from the beginning of data[]
+ * Value 0 indicates CSA IE is not present in beacon template.
+ */
+ A_UINT32 csa_switch_count_offset; /* units = bytes */
+ /** Extended CSA IE switch count offset from the beginning of data[]
+ * Value 0 indicates CSA IE is not present in beacon template.
+ */
+ A_UINT32 ext_csa_switch_count_offset; /* units = bytes */
/*
* The TLVs follows:
@@ -11453,6 +11466,7 @@ typedef struct
#define LPI_IE_BITMAP_CHRE_ESS 0x010000000 /* ESS capability info for CHRE */
#define LPI_IE_BITMAP_CHRE_SEC_MODE 0x020000000 /* Security capability info for CHRE */
#define LPI_IE_BITMAP_CHRE_SUPPORTED_RATE 0x040000000 /* Hightest MCS corresponding NCC for TX and RX */
+#define LPI_IE_BITMAP_COUNTRY_STRING 0x080000000 /* send country string inside Country IE to LOWI LP */
#define LPI_IE_BITMAP_ALL 0xFFFFFFFF
typedef struct {
@@ -17685,6 +17699,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
WMI_RETURN_STRING(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_CMDID);
WMI_RETURN_STRING(WMI_BPF_SET_VDEV_ACTIVE_MODE_CMDID);
WMI_RETURN_STRING(WMI_HW_DATA_FILTER_CMDID);
+ WMI_RETURN_STRING(MI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID);
}
return "Invalid WMI cmd";
@@ -17882,6 +17897,51 @@ typedef struct {
A_UINT32 hw_filter_bitmap; /* see WMI_HW_DATA_FILTER_BITMAP_TYPE */
} wmi_hw_data_filter_cmd_fixed_param;
+/* This command is used whenever host wants to restart multiple
+ * VDEVs using single command and the VDEV that are restarted will
+ * need to have same properties they had before restart except for the
+ * operating channel
+ */
+typedef struct {
+ A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_restart_request_cmd_fixed_param */
+ /** pdev_id for identifying the MAC
+ * See macros starting with WMI_PDEV_ID_ for values.
+ * In non-DBDC case host should set it to 0
+ */
+ A_UINT32 pdev_id;
+ /** unique id identifying the module, generated by the caller */
+ A_UINT32 requestor_id;
+ /** Disable H/W ack.
+ * During CAC, Our HW shouldn't ack directed frames
+ */
+ A_UINT32 disable_hw_ack;
+ /* Determine the duration of CAC on the given channel 'chan' */
+ A_UINT32 cac_duration_ms;
+ A_UINT32 num_vdevs;
+
+ /* The TLVs follows this structure:
+ * A_UINT32 vdev_ids[]; <--- Array of VDEV ids.
+ * wmi_channel chan; <------ WMI channel
+ */
+} wmi_pdev_multiple_vdev_restart_request_cmd_fixed_param;
+
+typedef struct {
+ /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_csa_switch_count_status_event_fixed_param */
+ A_UINT32 tlv_header;
+ /** pdev_id for identifying the MAC
+ * See macros starting with WMI_PDEV_ID_ for values.
+ * In non-DBDC case host should set it to 0
+ */
+ A_UINT32 pdev_id;
+ /** CSA switch count value in the last transmitted beacon */
+ A_UINT32 current_switch_count;
+ A_UINT32 num_vdevs;
+
+ /* The TLVs follows this structure:
+ * A_UINT32 vdev_ids[]; <--- Array of VDEV ids.
+ */
+} wmi_pdev_csa_switch_count_status_event_fixed_param;
+
/* ADD NEW DEFS HERE */
diff --git a/fw/wmi_version.h b/fw/wmi_version.h
index 1764902f7356..bbaaf7653bf6 100755
--- a/fw/wmi_version.h
+++ b/fw/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_ 342
+#define __WMI_REVISION_ 344
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work