qcacmn: Read EML and MLD Cap from target

Extract EML and MLD Capabilities from Target via
wmi_service_ready_ext2_event. These values can be
used while advertising EML and MLD Capabilities.

Add helper function to get EML related delays in
Micro Secs from values got from EML and MLD advertisments.

Send EML Capabilities received from node to Target
via WMI_PEER_ASSOC.

CRs-Fixed: 3225495
Change-Id: Ibfa2ff8dbf11d4293125331376a7986e611d5f63
This commit is contained in:
Shreedhar Parande
2022-06-21 15:31:42 +05:30
committed by Madan Koyyalamudi
parent 3262a03a31
commit e6b1ed7180
5 changed files with 114 additions and 11 deletions

View File

@@ -28,6 +28,9 @@
#ifdef WLAN_SUPPORT_RF_CHARACTERIZATION
#include "wmi_unified_param.h"
#endif
#ifdef WLAN_FEATURE_11BE_MLO
#include "wlan_mlo_mgr_public_structs.h"
#endif
/**
@@ -267,6 +270,8 @@ struct wlan_psoc_host_hw_mode_caps {
* @eht_supp_mcs_ext_5G: 5G EHT Supported MCS Set for Rx/Tx as per 11be D1.2
* @eht_ppet2G: 2G EHT PPET info
* @eht_ppet5G: 5G EHT PPET info
* @emlcap: EML Capabilities info
* @mldcap: MLD Capabilities info
*/
struct wlan_psoc_host_mac_phy_caps_ext2 {
uint32_t hw_mode_id;
@@ -286,6 +291,10 @@ struct wlan_psoc_host_mac_phy_caps_ext2 {
struct wlan_psoc_host_ppe_threshold eht_ppet2G;
struct wlan_psoc_host_ppe_threshold eht_ppet5G;
#endif
#ifdef WLAN_FEATURE_11BE_MLO
struct wlan_mlo_eml_cap emlcap;
struct wlan_mlo_mld_cap mldcap;
#endif
};
/*