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:
@@ -1096,6 +1096,16 @@ QDF_STATUS wmi_unified_vdev_set_fwtest_param_cmd_send(void *wmi_hdl,
|
|||||||
QDF_STATUS wmi_unified_vdev_config_ratemask_cmd_send(void *wmi_hdl,
|
QDF_STATUS wmi_unified_vdev_config_ratemask_cmd_send(void *wmi_hdl,
|
||||||
struct config_ratemask_params *param);
|
struct config_ratemask_params *param);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* wmi_unified_vdev_set_custom_aggr_size_cmd_send() - WMI set custom aggr
|
||||||
|
* size command
|
||||||
|
* @param wmi_hdl : handle to WMI.
|
||||||
|
* @param param : pointer to hold custom aggr size param
|
||||||
|
*
|
||||||
|
* @return QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||||
|
*/
|
||||||
|
QDF_STATUS wmi_unified_vdev_set_custom_aggr_size_cmd_send(void *wmi_hdl,
|
||||||
|
struct set_custom_aggr_size_params *param);
|
||||||
|
|
||||||
QDF_STATUS wmi_unified_pdev_set_regdomain_cmd_send(void *wmi_hdl,
|
QDF_STATUS wmi_unified_pdev_set_regdomain_cmd_send(void *wmi_hdl,
|
||||||
struct pdev_set_regdomain_params *param);
|
struct pdev_set_regdomain_params *param);
|
||||||
|
@@ -3747,6 +3747,37 @@ struct set_fwtest_params {
|
|||||||
uint32_t value;
|
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
|
* struct config_ratemask_params - ratemask config parameters
|
||||||
* @vdev_id: vdev id
|
* @vdev_id: vdev id
|
||||||
@@ -5668,6 +5699,7 @@ typedef enum {
|
|||||||
wmi_vdev_param_set_heop,
|
wmi_vdev_param_set_heop,
|
||||||
wmi_vdev_param_disable_cabq,
|
wmi_vdev_param_disable_cabq,
|
||||||
|
|
||||||
|
wmi_vdev_param_rate_dropdown_bmap,
|
||||||
wmi_vdev_param_max,
|
wmi_vdev_param_max,
|
||||||
} wmi_conv_vdev_param_id;
|
} wmi_conv_vdev_param_id;
|
||||||
|
|
||||||
|
@@ -895,6 +895,8 @@ QDF_STATUS (*send_vdev_set_fwtest_param_cmd)(wmi_unified_t wmi_handle,
|
|||||||
QDF_STATUS (*send_vdev_config_ratemask_cmd)(wmi_unified_t wmi_handle,
|
QDF_STATUS (*send_vdev_config_ratemask_cmd)(wmi_unified_t wmi_handle,
|
||||||
struct config_ratemask_params *param);
|
struct config_ratemask_params *param);
|
||||||
|
|
||||||
|
QDF_STATUS (*send_vdev_set_custom_aggr_size_cmd)(wmi_unified_t wmi_handle,
|
||||||
|
struct set_custom_aggr_size_params *param);
|
||||||
|
|
||||||
QDF_STATUS (*send_wow_wakeup_cmd)(wmi_unified_t wmi_handle);
|
QDF_STATUS (*send_wow_wakeup_cmd)(wmi_unified_t wmi_handle);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user