qcacmn: Extend wmi_service for n-link MLO connection

Extend wmi_service for n-link MLO connection.

Change-Id: I269d1730eb59dcf492aca675b0fbfc3e56a0fbb7
CRs-Fixed: 3512375
Dieser Commit ist enthalten in:
Deeksha Gupta
2023-05-23 17:29:27 +05:30
committet von Rahul Choudhary
Ursprung 56a52faed0
Commit 589214a617
3 geänderte Dateien mit 55 neuen und 0 gelöschten Zeilen

Datei anzeigen

@@ -14349,6 +14349,25 @@ extract_multipass_sap_cap(struct wlan_psoc_host_service_ext2_param *param,
}
#endif
#if defined(WLAN_FEATURE_11BE_MLO_ADV_FEATURE)
static inline void
extract_num_max_mlo_link(wmi_service_ready_ext2_event_fixed_param *ev,
struct wlan_psoc_host_service_ext2_param *param)
{
param->num_max_mlo_link_per_ml_bss_supp =
ev->num_max_mlo_link_per_ml_bss_supp;
wmi_debug("Firmware Max MLO link support: %d",
param->num_max_mlo_link_per_ml_bss_supp);
}
#else
static inline void
extract_num_max_mlo_link(wmi_service_ready_ext2_event_fixed_param *ev,
struct wlan_psoc_host_service_ext2_param *param)
{
}
#endif
/**
* extract_service_ready_ext2_tlv() - extract service ready ext2 params from
* event
@@ -14427,6 +14446,8 @@ extract_service_ready_ext2_tlv(wmi_unified_t wmi_handle, uint8_t *event,
extract_hw_bdf_status(ev);
extract_num_max_mlo_link(ev, param);
return QDF_STATUS_SUCCESS;
}