qcacld-3.0: Add cfg for t2lm negotiation supported
Changes to add cfg item for t2lm negotiation support Change-Id: I94992f5bc8142325434223c59ebbcedd86aa0ff9 CRs-Fixed: 3236628
This commit is contained in:

committed by
Madan Koyyalamudi

parent
1ef96b5fb6
commit
ad7dfc2ab6
@@ -527,11 +527,29 @@ static void mlme_init_emlsr_mode(struct wlan_objmgr_psoc *psoc,
|
||||
{
|
||||
gen->enable_emlsr_mode = cfg_default(CFG_EMLSR_MODE_ENABLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* mlme_init_tl2m_negotiation_support() - initialize t2lm support
|
||||
* @psoc: Pointer to PSOC
|
||||
* @gen: pointer to generic CFG items
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
static void mlme_init_tl2m_negotiation_support(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_mlme_generic *gen)
|
||||
{
|
||||
gen->t2lm_negotiation_support = cfg_default(CFG_T2LM_NEGOTIATION_SUPPORT);
|
||||
}
|
||||
#else
|
||||
static void mlme_init_emlsr_mode(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_mlme_generic *gen)
|
||||
{
|
||||
}
|
||||
|
||||
static void mlme_init_tl2m_negotiation_support(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_mlme_generic *gen)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(WLAN_FEATURE_SR)
|
||||
@@ -622,6 +640,7 @@ static void mlme_init_generic_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
mlme_init_mgmt_hw_tx_retry_count_cfg(psoc, gen);
|
||||
mlme_init_relaxed_6ghz_conn_policy(psoc, gen);
|
||||
mlme_init_emlsr_mode(psoc, gen);
|
||||
mlme_init_tl2m_negotiation_support(psoc, gen);
|
||||
}
|
||||
|
||||
static void mlme_init_edca_ani_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
|
Reference in New Issue
Block a user