Browse Source

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

qcacld-2.0 to qcacld-3.0 propagation.

WMI change to enable Custom aggregation size for ADDBA request and
response through WMI command WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID.

Change-Id: I0fb54e8f32344b209787239ed64d7ecb13ea56fb
CRs-Fixed: 865207
Krishna Kumaar Natarajan 9 years ago
parent
commit
ea0a796e9e
3 changed files with 35 additions and 2 deletions
  1. 9 1
      target/inc/wmi_tlv_defs.h
  2. 25 0
      target/inc/wmi_unified.h
  3. 1 1
      target/inc/wmi_version.h

+ 9 - 1
target/inc/wmi_tlv_defs.h

@@ -691,6 +691,7 @@ typedef enum {
 	WMITLV_TAG_STRUC_wmi_config_enhanced_mcast_filter_fixed_param,
 	WMITLV_TAG_STRUC_WMI_CHAN_AVOID_RPT_ALLOW_CMD_fixed_param,
 	WMITLV_TAG_STRUC_wmi_set_periodic_channel_stats_config_fixed_param,
+	WMITLV_TAG_STRUC_wmi_vdev_set_custom_aggr_size_cmd_fixed_param,
 } WMITLV_TAG_ID;
 
 /*
@@ -970,7 +971,8 @@ typedef enum {
 	OP(WMI_COEX_CONFIG_CMDID) \
 	OP(WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID) \
 	OP(WMI_CHAN_AVOID_RPT_ALLOW_CMDID) \
-	OP(WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID)
+	OP(WMI_SET_PERIODIC_CHANNEL_STATS_CONFIG_CMDID) \
+	OP(WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID)
 
 /*
  * IMPORTANT: Please add _ALL_ WMI Events Here.
@@ -1999,6 +2001,12 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_QUIET_MODE_CMDID);
 
 WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_QUIET_MODE_CMDID);
 
+/* Setting custom aggregation size using command */
+#define WMITLV_TABLE_WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID(id, op, buf, len) \
+	WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_vdev_set_custom_aggr_size_cmd_fixed_param, wmi_vdev_set_custom_aggr_size_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
+
+WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID);
+
 /* Vdev create Cmd */
 #define WMITLV_TABLE_WMI_VDEV_CREATE_CMDID(id, op, buf, len) \
 	WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_vdev_create_cmd_fixed_param, wmi_vdev_create_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \

+ 25 - 0
target/inc/wmi_unified.h

@@ -390,6 +390,8 @@ typedef enum {
 	WMI_VDEV_FILTER_NEIGHBOR_RX_PACKETS_CMDID,
 	/** set quiet ie parameters. primarily used in AP mode */
 	WMI_VDEV_SET_QUIET_MODE_CMDID,
+	/** To set custom aggregation size for per vdev */
+	WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID,
 
 	/* peer specific commands */
 
@@ -3160,6 +3162,29 @@ typedef struct {
 	A_UINT32 enabled;    /* enable/disable */
 } wmi_vdev_set_quiet_cmd_fixed_param;
 
+typedef struct {
+	/*
+	 * TLV tag and len; tag equals
+	 * WMITLV_TAG_STRUC_wmi_vdev_set_custom_aggr_size_cmd_fixed_param
+	 */
+	A_UINT32 tlv_header;
+	/*
+	 * vdev id indicating to which the vdev custom aggregation size
+	 * will be applied.
+	 */
+	A_UINT32 vdev_id;
+	/*
+	 * Size for tx aggregation (max MPDUs per A-MPDU) for the vdev
+	 * mentioned in vdev id
+	 */
+	A_UINT32 tx_aggr_size;
+	/*
+	 * Size for rx aggregation (block ack window size limit) for
+	 * the vdev mentioned in vdev id
+	 */
+	A_UINT32 rx_aggr_size;
+} wmi_vdev_set_custom_aggr_size_cmd_fixed_param;
+
 /*
  * Command to enable/disable Green AP Power Save.
  * This helps conserve power during AP operation. When the AP has no

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