qcacld-3.0: Add INI to not consider TPE IE

Sometimes, the AP sends low values in the TPE IE resulting in low TX
power. This causes DUT to have throughput/connection issues. Add an INI
to skip over TPE IE only in 2g/5g case. TPE IE will always be considered
in 6G band.

Change-Id: Ia0750195bb0aabf304743e1ad89c8f6d0c9ef1a3
CRs-fixed: 2936492
This commit is contained in:
Lincoln Tran
2021-04-30 11:25:14 -07:00
committed by Madan Koyyalamudi
parent 41f350b6a2
commit 3dc6bd54f5
5 changed files with 51 additions and 1 deletions

View File

@@ -3190,6 +3190,16 @@ mlme_is_twt_enabled(struct wlan_objmgr_psoc *psoc)
*/
bool wlan_mlme_is_local_tpe_pref(struct wlan_objmgr_psoc *psoc);
/**
* wlan_mlme_skip_tpe() - Get preference to not consider TPE in 2G/5G case
*
* @psoc: pointer to psoc object
*
* Return: True if host should not consider TPE IE in TX power calculation when
* operating in 2G/5G bands, false if host should always consider TPE IE values
*/
bool wlan_mlme_skip_tpe(struct wlan_objmgr_psoc *psoc);
/**
* wlan_mlme_is_data_stall_recovery_fw_supported() - Check if data stall
* recovery is supported by fw