qcacld-3.0: Add public API to get the adaptive 11r capability

Adds public API to get the adaptive 11r capability.

Change-Id: Idaa06d76b68cbce00c63d893dd2c99c8712afc48
CRs-Fixed: 2791138
This commit is contained in:
gaurank kathpalia
2020-10-05 18:04:01 +05:30
committed by snandini
父節點 b97b53d237
當前提交 a63f950985
共有 5 個文件被更改,包括 33 次插入26 次删除

查看文件

@@ -4281,6 +4281,19 @@ wlan_mlme_get_roam_bmiss_first_bcnt(struct wlan_objmgr_psoc *psoc,
return QDF_STATUS_SUCCESS;
}
#ifdef WLAN_ADAPTIVE_11R
bool wlan_mlme_adaptive_11r_enabled(struct wlan_objmgr_psoc *psoc)
{
struct wlan_mlme_psoc_ext_obj *mlme_obj;
mlme_obj = mlme_get_psoc_ext_obj(psoc);
if (!mlme_obj)
return cfg_default(CFG_ADAPTIVE_11R);
return mlme_obj->cfg.lfr.enable_adaptive_11r;
}
#endif
QDF_STATUS
wlan_mlme_get_mawc_enabled(struct wlan_objmgr_psoc *psoc, bool *val)
{