qcacld-3.0: Add ini to retain the NOL across reg domain change
Currently driver sets the NOL state of the channels to false on every regulatory updated, which indicates the channel is not in NOL. Which may lead to some issues where the channel is actually in NOL but host treats it as non-NOL channel. Ideally NOL list should be maintained throughout the driver lifetime and across the regulatory changes. To address this issue add a logic to not update the NOL state of the channels whenever the regulatory update is received. CRs-Fixed: 2744916 Change-Id: If96b22ab29a60a2aa752bbf01aaae46fc37362eb
This commit is contained in:

committed by
snandini

orang tua
9ea15e9db6
melakukan
e20db7ae44
@@ -1609,6 +1609,22 @@ ucfg_mlme_get_scan_11d_interval(struct wlan_objmgr_psoc *psoc,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
ucfg_mlme_get_nol_across_regdmn(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) {
|
||||
*value = cfg_default(CFG_RETAIN_NOL_ACROSS_REG_DOMAIN);
|
||||
mlme_legacy_err("Failed to get MLME Obj");
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
*value = mlme_obj->cfg.reg.retain_nol_across_regdmn_update;
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
ucfg_mlme_get_valid_channel_freq_list(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *channel_list,
|
||||
|
Reference in New Issue
Block a user