summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorService qcabuildsw <qcabuildsw@localhost>2016-07-14 15:46:27 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-07-14 15:46:27 -0700
commit22cac5453cfdf2b138ffd8c922eb153cd821ede4 (patch)
tree2d44c64ad6784fbc71aaa2ffd941af6c4e24c84c
parentc1e0c79e9dfc99788336214e1f5980b52c95f328 (diff)
parent5de1cf8de294e2c8a5543f236617ada849ce1457 (diff)
Merge "qcacld-3.0: CL 1534810 - update fw common interface files" into wlan-cld3.driver.lnx.1.1-dev
-rw-r--r--target/inc/wmi_tlv_defs.h14
-rw-r--r--target/inc/wmi_unified.h48
-rw-r--r--target/inc/wmi_version.h2
3 files changed, 62 insertions, 2 deletions
diff --git a/target/inc/wmi_tlv_defs.h b/target/inc/wmi_tlv_defs.h
index 7adc99efc397..2874780660ab 100644
--- a/target/inc/wmi_tlv_defs.h
+++ b/target/inc/wmi_tlv_defs.h
@@ -720,6 +720,8 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_mgmt_tx_compl_bundle_event_fixed_param,
WMITLV_TAG_STRUC_wmi_read_data_from_flash_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_read_data_from_flash_event_fixed_param,
+ WMITLV_TAG_STRUC_wmi_pdev_set_reorder_timeout_val_cmd_fixed_param,
+ WMITLV_TAG_STRUC_wmi_peer_set_rx_blocksize_cmd_fixed_param,
} WMITLV_TAG_ID;
/*
@@ -1013,6 +1015,8 @@ typedef enum {
OP(WMI_PEER_REORDER_QUEUE_REMOVE_CMDID) \
OP(WMI_SET_MULTIPLE_MCAST_FILTER_CMDID) \
OP(WMI_READ_DATA_FROM_FLASH_CMDID) \
+ OP(WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID) \
+ OP(WMI_PEER_SET_RX_BLOCKSIZE_CMDID) \
/* add new CMD_LIST elements above this line */
/*
@@ -2894,6 +2898,16 @@ WMITLV_CREATE_PARAM_STRUC(WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID);
WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, args, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_WAL_POWER_DEBUG_CMDID);
+/* pdev set reorder timeout val */
+#define WMITLV_TABLE_WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID(id, op, buf, len) \
+ WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_pdev_set_reorder_timeout_val_cmd_fixed_param, wmi_pdev_set_reorder_timeout_val_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
+WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID);
+
+/* peer set rx blocksize cmd */
+#define WMITLV_TABLE_WMI_PEER_SET_RX_BLOCKSIZE_CMDID(id, op, buf, len) \
+ WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_peer_set_rx_blocksize_cmd_fixed_param, wmi_peer_set_rx_blocksize_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
+WMITLV_CREATE_PARAM_STRUC(WMI_PEER_SET_RX_BLOCKSIZE_CMDID);
+
/* Bandwidth Fairness (BWF) peer configure commands */
#define WMITLV_TABLE_WMI_PEER_BWF_REQUEST_CMDID(id, op, buf, len) \
WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_peer_bwf_request_fixed_param, wmi_peer_bwf_request_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
diff --git a/target/inc/wmi_unified.h b/target/inc/wmi_unified.h
index eecc52a5370e..ab77598ea878 100644
--- a/target/inc/wmi_unified.h
+++ b/target/inc/wmi_unified.h
@@ -345,8 +345,10 @@ typedef enum {
WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID,
/** WMI command for power debug framework */
WMI_PDEV_WAL_POWER_DEBUG_CMDID,
+ /** set per-AC rx reorder timeouts */
+ WMI_PDEV_SET_REORDER_TIMEOUT_VAL_CMDID,
- /* VDEV(virtual device) specific commands */
+ /* VDEV (virtual device) specific commands */
/** vdev create */
WMI_VDEV_CREATE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_VDEV),
/** vdev delete */
@@ -447,6 +449,8 @@ typedef enum {
WMI_PEER_REORDER_QUEUE_SETUP_CMDID,
/** rx reorder queue remove for peer/tid */
WMI_PEER_REORDER_QUEUE_REMOVE_CMDID,
+ /** specify a limit for rx A-MPDU block size */
+ WMI_PEER_SET_RX_BLOCKSIZE_CMDID,
/* beacon/management specific commands */
@@ -6578,6 +6582,24 @@ typedef struct {
} wmi_peer_delete_cmd_fixed_param;
typedef struct {
+ /**
+ * TLV tag and len; tag equals
+ * WMITLV_TAG_STRUC_wmi_peer_set_rx_blocksize_cmd_fixed_param
+ */
+ A_UINT32 tlv_header;
+ /** unique id identifying the VDEV, generated by the caller */
+ A_UINT32 vdev_id;
+ /** peer MAC address */
+ wmi_mac_addr peer_macaddr;
+ /**
+ * maximum block ack window size to use during a rx block ack
+ * negotiation, i.e. the maximum number of MPDUs per A-MPDU
+ * that will be received
+ */
+ A_UINT32 rx_block_ack_win_limit;
+} wmi_peer_set_rx_blocksize_cmd_fixed_param;
+
+typedef struct {
A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_peer_flush_tids_cmd_fixed_param */
/** unique id identifying the VDEV, generated by the caller */
A_UINT32 vdev_id;
@@ -15843,6 +15865,30 @@ typedef struct {
**/
} wmi_pdev_wal_power_debug_cmd_fixed_param;
+typedef struct {
+ /*
+ * TLV tag and len; tag equals
+ * WMITLV_TAG_STRUC_wmi_pdev_set_reorder_timeout_val_cmd_fixed_param
+ */
+ A_UINT32 tlv_header;
+ /**
+ * @brief rx_timeout_pri - what rx reorder timeout (ms) to use
+ * for the AC
+ * @details
+ * Each WMM access category (voice, video, best-effort,
+ * background) will have its own timeout value to dictate
+ * how long to wait for missing rx MPDUs to arrive before
+ * releasing subsequent MPDUs that have already been
+ * received.
+ * This parameter specifies the timeout in milliseconds
+ * for each access category.
+ * The array elements are indexed by the WMI_AC enum to
+ * identify which array element corresponds to which AC /
+ * traffic type.
+ */
+ A_UINT32 rx_timeout_pri[WMI_AC_MAX];
+} wmi_pdev_set_reorder_timeout_val_cmd_fixed_param;
+
typedef enum {
WLAN_2G_CAPABILITY = 0x1,
WLAN_5G_CAPABILITY = 0x2,
diff --git a/target/inc/wmi_version.h b/target/inc/wmi_version.h
index c5e4e9aac2e8..8e13428134e2 100644
--- a/target/inc/wmi_version.h
+++ b/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_ 268
+#define __WMI_REVISION_ 269
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work