qcacld-3.0: Add new cfg item to disable SP AP connection to VLP STA
Add a new cfg item to drop connection request if AP is operating in 6 GHz SP mode and STA doesn't support SP mode but supports VLP mode. Change-Id: I0f20d63f68b2424390ca424188f95f26971c9ada CRs-Fixed: 3470602
This commit is contained in:

committed by
Madan Koyyalamudi

szülő
275d59e9b4
commit
c7a8607129
@@ -717,6 +717,30 @@ static void mlme_init_wds_config_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BAND_6GHZ
|
||||
/**
|
||||
* mlme_init_disable_vlp_sta_conn_to_sp_ap() - initialize disable vlp STA
|
||||
* connection to sp AP flag
|
||||
* @psoc: Pointer to PSOC
|
||||
* @gen: pointer to generic CFG items
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
static void mlme_init_disable_vlp_sta_conn_to_sp_ap(
|
||||
struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_mlme_generic *gen)
|
||||
{
|
||||
gen->disable_vlp_sta_conn_to_sp_ap =
|
||||
cfg_default(CFG_DISABLE_VLP_STA_CONN_TO_SP_AP);
|
||||
}
|
||||
#else
|
||||
static void mlme_init_disable_vlp_sta_conn_to_sp_ap(
|
||||
struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_mlme_generic *gen)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BAND_6GHZ
|
||||
/**
|
||||
* mlme_init_standard_6ghz_conn_policy() - initialize standard 6GHz
|
||||
@@ -909,6 +933,7 @@ static void mlme_init_generic_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
mlme_init_emlsr_mode(psoc, gen);
|
||||
mlme_init_tl2m_negotiation_support(psoc, gen);
|
||||
mlme_init_standard_6ghz_conn_policy(psoc, gen);
|
||||
mlme_init_disable_vlp_sta_conn_to_sp_ap(psoc, gen);
|
||||
}
|
||||
|
||||
static void mlme_init_edca_ani_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
|
Reference in New Issue
Block a user