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
parent b97b53d237
commit a63f950985
5 changed files with 33 additions and 26 deletions

View File

@@ -2795,6 +2795,22 @@ QDF_STATUS
wlan_mlme_get_roam_bmiss_first_bcnt(struct wlan_objmgr_psoc *psoc,
uint8_t *val);
/**
* wlan_mlme_adaptive_11r_enabled() - check if adaptive 11r feature is enaled
* or not
* @psoc: pointer to psoc object
*
* Return: bool
*/
#ifdef WLAN_ADAPTIVE_11R
bool wlan_mlme_adaptive_11r_enabled(struct wlan_objmgr_psoc *psoc);
#else
static inline bool wlan_mlme_adaptive_11r_enabled(struct wlan_objmgr_psoc *psoc)
{
return false;
}
#endif
/**
* wlan_mlme_get_mawc_enabled() - Get mawc enabled status
* @psoc: pointer to psoc object