qcacld-3.0: Add vendor handoff service bit caps support
Add vendor handoff service bit capability support WLAN_SOC_VENDOR_HANDOFF_CONTROL to check whether the FW supports vendor handoff feature or not. Change-Id: Ifdf541761716df9ca5b764c05714a8b501642354 CRs-Fixed: 3224573
This commit is contained in:

committed by
Madan Koyyalamudi

parent
0216c8b79a
commit
4a19256692
@@ -288,6 +288,23 @@ wlan_mlme_get_wlm_multi_client_ll_caps(struct wlan_objmgr_psoc *psoc)
|
||||
QDF_STATUS wlan_mlme_set_band_capability(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t band_capability);
|
||||
|
||||
#ifdef WLAN_VENDOR_HANDOFF_CONTROL
|
||||
/**
|
||||
* wlan_mlme_get_vendor_handoff_control_caps() - Get the vendor handoff control
|
||||
* capability flag
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* Return: True if vendor handoff control caps present
|
||||
*/
|
||||
bool wlan_mlme_get_vendor_handoff_control_caps(struct wlan_objmgr_psoc *psoc);
|
||||
#else
|
||||
static inline bool
|
||||
wlan_mlme_get_vendor_handoff_control_caps(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* wlan_mlme_set_dual_sta_policy() - Set the dual sta config
|
||||
* @psoc: pointer to psoc object
|
||||
|
@@ -292,6 +292,23 @@ QDF_STATUS ucfg_mlme_set_band_capability(struct wlan_objmgr_psoc *psoc,
|
||||
return wlan_mlme_set_band_capability(psoc, band_capability);
|
||||
}
|
||||
|
||||
#ifdef WLAN_VENDOR_HANDOFF_CONTROL
|
||||
/**
|
||||
* ucfg_mlme_get_vendor_handoff_control_caps() - Get vendor handoff control
|
||||
* capability of FW
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* Return: true if vendor handoff feature supported
|
||||
*/
|
||||
bool ucfg_mlme_get_vendor_handoff_control_caps(struct wlan_objmgr_psoc *psoc);
|
||||
#else
|
||||
static inline
|
||||
bool ucfg_mlme_get_vendor_handoff_control_caps(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* ucfg_mlme_set_dual_sta_policy() - Configures the Concurrent STA policy
|
||||
* value
|
||||
|
@@ -242,6 +242,14 @@ QDF_STATUS wlan_mlme_set_band_capability(struct wlan_objmgr_psoc *psoc,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
#ifdef WLAN_VENDOR_HANDOFF_CONTROL
|
||||
bool wlan_mlme_get_vendor_handoff_control_caps(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return wlan_psoc_nif_fw_ext2_cap_get(psoc,
|
||||
WLAN_SOC_VENDOR_HANDOFF_CONTROL);
|
||||
}
|
||||
#endif
|
||||
|
||||
QDF_STATUS wlan_mlme_set_dual_sta_policy(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t dual_sta_config)
|
||||
|
||||
|
@@ -1067,6 +1067,13 @@ ucfg_mlme_cfg_get_multi_client_ll_ini_support(struct wlan_objmgr_psoc *psoc,
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_VENDOR_HANDOFF_CONTROL
|
||||
bool ucfg_mlme_get_vendor_handoff_control_caps(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
return wlan_mlme_get_vendor_handoff_control_caps(psoc);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef FEATURE_WLAN_ESE
|
||||
QDF_STATUS
|
||||
ucfg_mlme_is_ese_enabled(struct wlan_objmgr_psoc *psoc, bool *val)
|
||||
|
Reference in New Issue
Block a user