qcacld-3.0: Add new INI to separate scan policy for rest of world users
Currently host drops an AP from scan list if host country is set to US and AP country is non-US. This implementation violates our standard regulatory scan policy. To address this issue, introduce a new INI to differentiate between our standard regulatory policy with others. Change-Id: Ie6bd2d1925048aef427136b34d00d361955f40b2 CRs-Fixed: 3377242
This commit is contained in:

committed by
Madan Koyyalamudi

parent
e6dff08dac
commit
dee1c76bd6
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -464,11 +464,31 @@ static void mlme_init_relaxed_6ghz_conn_policy(struct wlan_objmgr_psoc *psoc,
|
||||
gen->relaxed_6ghz_conn_policy =
|
||||
cfg_default(CFG_RELAXED_6GHZ_CONN_POLICY);
|
||||
}
|
||||
|
||||
/**
|
||||
* mlme_init_standard_6ghz_conn_policy() - initialize standard 6GHz
|
||||
* policy connection flag
|
||||
* @psoc: Pointer to PSOC
|
||||
* @gen: pointer to generic CFG items
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
static void mlme_init_standard_6ghz_conn_policy(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_mlme_generic *gen)
|
||||
{
|
||||
gen->std_6ghz_conn_policy =
|
||||
cfg_get(psoc, CFG_6GHZ_STANDARD_CONNECTION_POLICY);
|
||||
}
|
||||
#else
|
||||
static void mlme_init_relaxed_6ghz_conn_policy(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_mlme_generic *gen)
|
||||
{
|
||||
}
|
||||
|
||||
static void mlme_init_standard_6ghz_conn_policy(struct wlan_objmgr_psoc *psoc,
|
||||
struct wlan_mlme_generic *gen)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
@@ -641,6 +661,7 @@ static void mlme_init_generic_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
mlme_init_relaxed_6ghz_conn_policy(psoc, gen);
|
||||
mlme_init_emlsr_mode(psoc, gen);
|
||||
mlme_init_tl2m_negotiation_support(psoc, gen);
|
||||
mlme_init_standard_6ghz_conn_policy(psoc, gen);
|
||||
}
|
||||
|
||||
static void mlme_init_edca_ani_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
|
Reference in New Issue
Block a user