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

@@ -4896,6 +4896,17 @@ bool wlan_mlme_is_local_tpe_pref(struct wlan_objmgr_psoc *psoc)
return mlme_obj->cfg.power.use_local_tpe;
}
bool wlan_mlme_skip_tpe(struct wlan_objmgr_psoc *psoc)
{
struct wlan_mlme_psoc_ext_obj *mlme_obj;
mlme_obj = mlme_get_psoc_ext_obj(psoc);
if (!mlme_obj)
return false;
return mlme_obj->cfg.power.skip_tpe;
}
#ifdef WLAN_FEATURE_11BE
QDF_STATUS mlme_cfg_get_eht_caps(struct wlan_objmgr_psoc *psoc,
tDot11fIEeht_cap *eht_cap)