qcacmn: Add Support for Setting MSDUQ Depth Parameters
Add host support to enable setting MSDUQ depth parameters per TID per peer. Parameters include MAC Address, TID number, update mask and Q depth threshold value. CRs-Fixed: 2162460 Change-Id: Ie947fd599278a04e13d6aa6c89f840187dbf17fa
This commit is contained in:

committed by
snandini

parent
3d3cf4f7a9
commit
81f40dcc87
@@ -3887,6 +3887,39 @@ enum wmi_host_custom_aggr_type_t {
|
||||
WMI_HOST_CUSTOM_AGGR_TYPE_MAX,
|
||||
};
|
||||
|
||||
/*
|
||||
* msduq_update_params - MSDUQ update param structure
|
||||
* @tid_num: TID number
|
||||
* @msduq_update_mask: update bit mask
|
||||
* @qdepth_thresh_value: threshold value for the queue depth
|
||||
*/
|
||||
|
||||
#define QDEPTH_THRESH_MAX_UPDATES 1
|
||||
|
||||
typedef struct {
|
||||
uint32_t tid_num;
|
||||
uint32_t msduq_update_mask;
|
||||
uint32_t qdepth_thresh_value;
|
||||
} msduq_update_params;
|
||||
|
||||
/**
|
||||
* struct set_qdepth_thresh_params - MSDU Queue Depth Threshold Params
|
||||
* @vdev_id: vdev id
|
||||
* @pdev_id: pdev id
|
||||
* @mac_addr: MAC address
|
||||
* @num_of_msduq_updates: holds the number of tid updates
|
||||
*/
|
||||
|
||||
struct set_qdepth_thresh_params {
|
||||
uint32_t pdev_id;
|
||||
uint32_t vdev_id;
|
||||
uint8_t mac_addr[IEEE80211_ADDR_LEN];
|
||||
uint32_t num_of_msduq_updates;
|
||||
msduq_update_params update_params[QDEPTH_THRESH_MAX_UPDATES];
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* struct config_ratemask_params - ratemask config parameters
|
||||
* @vdev_id: vdev id
|
||||
|
Reference in New Issue
Block a user