qcacmn: Add support for custom aggr size cmd and rate dropdown vdev param

Add support for configuring aggregate size for A-MSDU and A-MPDU
aggregations.

Add support for rate dropdown vdev param to dropdown rates for SU, MU
and MGMT packets.

Change-Id: I033693e1c21c05d06acd7df36eac580be19fe20b
CRs-Fixed: 2138655
Acked-by: Aditya Sathish <asathish@qti.qualcomm.com>
This commit is contained in:
Sathish Kumar
2017-11-08 14:49:58 +05:30
committed by snandini
parent e0784daae6
commit 6190e773e0
3 changed files with 44 additions and 0 deletions

View File

@@ -3747,6 +3747,37 @@ struct set_fwtest_params {
uint32_t value;
};
/**
* struct set_custom_aggr_size_params - custom aggr size params
* @vdev_id : vdev id
* @tx_aggr_size : TX aggr size
* @rx_aggr_size : RX aggr size
* @enable_bitmap: Bitmap for aggr size check
*/
struct set_custom_aggr_size_params {
uint32_t vdev_id;
uint32_t tx_aggr_size;
uint32_t rx_aggr_size;
uint32_t ac:2,
aggr_type:1,
tx_aggr_size_disable:1,
rx_aggr_size_disable:1,
tx_ac_enable:1,
reserved:26;
};
/**
* enum wmi_host_custom_aggr_type_t: custon aggregate type
* @WMI_HOST_CUSTOM_AGGR_TYPE_AMPDU: A-MPDU aggregation
* @WMI_HOST_CUSTOM_AGGR_TYPE_AMSDU: A-MSDU aggregation
* @WMI_HOST_CUSTOM_AGGR_TYPE_MAX: Max type
*/
enum wmi_host_custom_aggr_type_t {
WMI_HOST_CUSTOM_AGGR_TYPE_AMPDU = 0,
WMI_HOST_CUSTOM_AGGR_TYPE_AMSDU = 1,
WMI_HOST_CUSTOM_AGGR_TYPE_MAX,
};
/**
* struct config_ratemask_params - ratemask config parameters
* @vdev_id: vdev id
@@ -5668,6 +5699,7 @@ typedef enum {
wmi_vdev_param_set_heop,
wmi_vdev_param_disable_cabq,
wmi_vdev_param_rate_dropdown_bmap,
wmi_vdev_param_max,
} wmi_conv_vdev_param_id;