qcacld-3.0: Add config to ease scan/connection restriction in 6Ghz

Add new config to ease scan and connection restriction
in 6GHz band when bss is advertising different country.

Change-Id: I13bd0dbd52fad297b995add8fc8a71d7a058c25b
CRs-Fixed: 3135152
This commit is contained in:
nakul kachhwaha
2022-02-17 12:52:11 +05:30
committed by Madan Koyyalamudi
parent 24c0f1aa1b
commit 12c10fe176
7 changed files with 121 additions and 2 deletions

View File

@@ -3032,6 +3032,23 @@ wlan_mlme_set_rf_test_mode_enabled(struct wlan_objmgr_psoc *psoc, bool value)
return QDF_STATUS_SUCCESS;
}
#ifdef CONFIG_BAND_6GHZ
QDF_STATUS
wlan_mlme_is_relaxed_6ghz_conn_policy_enabled(struct wlan_objmgr_psoc *psoc,
bool *value)
{
struct wlan_mlme_psoc_ext_obj *mlme_obj;
mlme_obj = mlme_get_psoc_ext_obj(psoc);
if (!mlme_obj)
return QDF_STATUS_E_FAILURE;
*value = mlme_obj->cfg.gen.relaxed_6ghz_conn_policy;
return QDF_STATUS_SUCCESS;
}
#endif
QDF_STATUS
wlan_mlme_cfg_set_vht_chan_width(struct wlan_objmgr_psoc *psoc, uint8_t value)
{