qcacld-3.0: Add INI for TPE preference

When the TPE IE comes to driver, there could be information for both
local and regulatory. Add an INI for preference in the case that both
sets are present.

Change-Id: I4b37123569f422863fc805063974c65878a9baea
CRs-fixed: 2854774
This commit is contained in:
Lincoln Tran
2021-01-13 15:18:39 -08:00
committed by snandini
parent c6fcb33313
commit e0db05e0fd
5 changed files with 49 additions and 2 deletions

View File

@@ -3068,4 +3068,15 @@ mlme_is_twt_enabled(struct wlan_objmgr_psoc *psoc)
return false;
}
#endif /* WLAN_SUPPORT_TWT */
/**
* wlan_mlme_is_local_tpe_pref() - Get preference to use local TPE or
* regulatory TPE values
* @psoc: pointer to psoc object
*
* Return: True if there is local preference, false if there is regulatory
* preference
*/
bool wlan_mlme_is_local_tpe_pref(struct wlan_objmgr_psoc *psoc);
#endif /* _WLAN_MLME_API_H_ */