qcacld-3.0: Add cfg item to enable eMLSR mode
Add cfg item to enable/disable eMLSR mode for ML STA under 802.11be op mode. The cfg value 0 corresponds to default MLMR mode, 1 corresponds to eMLSR mode. Change-Id: Ib02516aac8ac44aee6b40a572a9f7469b10d0ac2 CRs-Fixed: 3184745
This commit is contained in:

committed by
Madan Koyyalamudi

parent
da89b752bc
commit
55f3afd6bf
@@ -2310,6 +2310,41 @@ wlan_mlme_set_relaxed_6ghz_conn_policy(struct wlan_objmgr_psoc *psoc,
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_11BE_MLO
|
||||
/**
|
||||
* wlan_mlme_get_emlsr_mode_enabled() - Get the eMLSR mode flag
|
||||
* @psoc: psoc context
|
||||
* @value: Enable/Disable value ptr.
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS
|
||||
wlan_mlme_get_emlsr_mode_enabled(struct wlan_objmgr_psoc *psoc, bool *value);
|
||||
|
||||
/**
|
||||
* wlan_mlme_set_emlsr_mode_enabled() - Set the eMLSR mode flag
|
||||
* @psoc: psoc context
|
||||
* @value: Enable/Disable value.
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS
|
||||
wlan_mlme_set_emlsr_mode_enabled(struct wlan_objmgr_psoc *psoc, bool value);
|
||||
#else
|
||||
static inline QDF_STATUS
|
||||
wlan_mlme_get_emlsr_mode_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
|
||||
{
|
||||
*value = false;
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline QDF_STATUS
|
||||
wlan_mlme_set_emlsr_mode_enabled(struct wlan_objmgr_psoc *psoc, bool value)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_sta_miracast_mcc_rest_time() - Get STA/MIRACAST MCC rest time
|
||||
* @psoc: pointer to psoc object
|
||||
|
Reference in New Issue
Block a user