qcacld-3.0: Add new field for N-link MLO connection in wmi_service

Extends the wmi_service_ready_ext2_event_fixed_param
structure with a new field to support N-link MLO
connections.

The host will now calculate the maximum number of
links per MLD value by intersecting the firmware
capability and the ini value present in MLME component.
And this calculated value will be stored in the MLME
component.

Change-Id: I89bf3553781cd809cdb5496fbf0f68e59569033a
CRs-Fixed: 3512343
Цей коміт міститься в:
Deeksha Gupta
2023-05-23 17:12:54 +05:30
зафіксовано Rahul Choudhary
джерело cf1271629f
коміт e6770d16fb
7 змінених файлів з 72 додано та 0 видалено

Переглянути файл

@@ -1140,6 +1140,16 @@ wlan_mlme_send_ch_width_update_with_notify(struct wlan_objmgr_psoc *psoc,
QDF_STATUS mlme_update_tgt_eht_caps_in_cfg(struct wlan_objmgr_psoc *psoc,
struct wma_tgt_cfg *cfg);
/**
* mlme_update_tgt_mlo_caps_in_cfg() - Update tgt MLO cap in mlme component
* @psoc: pointer to psoc object
*
* This api to be used by callers to update MLO caps in mlme.
*
* Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
*/
QDF_STATUS mlme_update_tgt_mlo_caps_in_cfg(struct wlan_objmgr_psoc *psoc);
/**
* wlan_mlme_convert_eht_op_bw_to_phy_ch_width() - convert channel width in eht
* operation IE to phy_ch_width

Переглянути файл

@@ -3723,6 +3723,12 @@ ucfg_mlme_update_tgt_eht_cap(struct wlan_objmgr_psoc *psoc,
return mlme_update_tgt_eht_caps_in_cfg(psoc, cfg);
}
static inline QDF_STATUS
ucfg_mlme_update_tgt_mlo_cap(struct wlan_objmgr_psoc *psoc)
{
return mlme_update_tgt_mlo_caps_in_cfg(psoc);
}
/**
* ucfg_mlme_get_usr_disable_sta_eht() - Get user disable sta eht flag
* @psoc: psoc object
@@ -3749,6 +3755,12 @@ void ucfg_mlme_set_usr_disable_sta_eht(struct wlan_objmgr_psoc *psoc,
wlan_mlme_set_usr_disable_sta_eht(psoc, disable);
}
#else
static inline QDF_STATUS
ucfg_mlme_update_tgt_mlo_cap(struct wlan_objmgr_psoc *psoc)
{
return QDF_STATUS_SUCCESS;
}
static inline
bool ucfg_mlme_get_usr_disable_sta_eht(struct wlan_objmgr_psoc *psoc)
{