qcacld-3.0: Add INI to configure MGMT frame HW retry count

Add INI - mgmt_frame_hw_tx_retry_count to configure MGMT
frame HW tx retry count for certain frame types.
The INI String format:
frame_hw_tx_retry_count="<frame type>,<retry count>,..."

The supported frame types are defined by enum mlme_cfg_frame_type.
Retry count max value is 127.
For example:
mgmt_frame_hw_tx_retry_count="0,64,2,32"
The above input string means:
For p2p go negotiation request fame, hw retry count 64
For p2p provision discovery request, hw retry count 32

Change-Id: I32f6c7d83ede9b28484c7a0b29824bde32e06422
CRs-Fixed: 3082532
This commit is contained in:
Liangwei Dong
2021-11-23 11:09:03 +08:00
committed by Madan Koyyalamudi
parent b93d2939d0
commit a185d29d1b
6 changed files with 199 additions and 3 deletions

View File

@@ -3397,6 +3397,18 @@ wlan_mlme_get_p2p_p2p_conc_support(struct wlan_objmgr_psoc *psoc)
*/
enum phy_ch_width mlme_get_vht_ch_width(void);
/**
* wlan_mlme_get_mgmt_hw_tx_retry_count() - Get mgmt frame hw tx retry count
*
* @psoc: pointer to psoc object
* @frm_type: frame type of the query
*
* Return: hw tx retry count
*/
uint8_t
wlan_mlme_get_mgmt_hw_tx_retry_count(struct wlan_objmgr_psoc *psoc,
enum mlme_cfg_frame_type frm_type);
/**
* wlan_mlme_get_tx_retry_multiplier() - Get the tx retry multiplier percentage
*