From 424a29be96d325ab0e8fbb53f8a12e51b7e3feba Mon Sep 17 00:00:00 2001 From: Prabhu Dass Mahalingam Date: Sun, 23 Apr 2023 23:39:24 -0700 Subject: [PATCH] Revert "qcacmn: Add MSD support in multi link ie" This reverts Change-Id: If5c2955a7bf8638d8725c753bfbe1e50a4836e40 Change-Id: I0783ec1c5ec7633237b888a57b5165295bd01f07 CRs-Fixed: 3436404 --- .../init_deinit/inc/service_ready_param.h | 2 -- wmi/src/wmi_unified_tlv.c | 24 ------------------- 2 files changed, 26 deletions(-) diff --git a/target_if/init_deinit/inc/service_ready_param.h b/target_if/init_deinit/inc/service_ready_param.h index c48f515797..3c39b5e723 100644 --- a/target_if/init_deinit/inc/service_ready_param.h +++ b/target_if/init_deinit/inc/service_ready_param.h @@ -278,7 +278,6 @@ struct wlan_psoc_host_hw_mode_caps { * @eht_ppet5G: 5G EHT PPET info * @emlcap: EML Capabilities info * @mldcap: MLD Capabilities info - * @msdcap: MSD Capabilities info */ struct wlan_psoc_host_mac_phy_caps_ext2 { uint32_t hw_mode_id; @@ -301,7 +300,6 @@ struct wlan_psoc_host_mac_phy_caps_ext2 { #ifdef WLAN_FEATURE_11BE_MLO struct wlan_mlo_eml_cap emlcap; struct wlan_mlo_mld_cap mldcap; - struct wlan_mlo_msd_cap msdcap; #endif }; diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 510b00201b..d1354dcfd5 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -14636,24 +14636,6 @@ static void extract_mac_phy_mldcap(struct wlan_psoc_host_mac_phy_caps_ext2 *para param->mldcap.str_freq_sep = WMI_FREQ_SEPERATION_STR_GET(mac_phy_caps->mld_capability); param->mldcap.aar_support = WMI_SUPPORT_AAR_GET(mac_phy_caps->mld_capability); } - -/** - * extract_mac_phy_msdcap() - API to extract MSD Capabilities - * @param: host ext2 mac phy capabilities - * @mac_phy_caps: ext mac phy capabilities - * - * Return: void - */ -static void extract_mac_phy_msdcap(struct wlan_psoc_host_mac_phy_caps_ext2 *param, - WMI_MAC_PHY_CAPABILITIES_EXT *mac_phy_caps) -{ - if (!param || !mac_phy_caps) - return; - - param->msdcap.medium_sync_duration = 251; /* FW has to provide values*/ - param->msdcap.medium_sync_ofdm_ed_thresh = 11; - param->msdcap.medium_sync_max_txop_num = 14; -} #else static void extract_mac_phy_emlcap(struct wlan_psoc_host_mac_phy_caps_ext2 *param, WMI_MAC_PHY_CAPABILITIES_EXT *mac_phy_caps) @@ -14664,11 +14646,6 @@ static void extract_mac_phy_mldcap(struct wlan_psoc_host_mac_phy_caps_ext2 *para WMI_MAC_PHY_CAPABILITIES_EXT *mac_phy_caps) { } - -static void extract_mac_phy_msdcap(struct wlan_psoc_host_mac_phy_caps_ext2 *param, - WMI_MAC_PHY_CAPABILITIES_EXT *mac_phy_caps) -{ -} #endif /** @@ -14804,7 +14781,6 @@ static QDF_STATUS extract_mac_phy_cap_service_ready_ext2_tlv( extract_mac_phy_cap_ehtcaps(param, mac_phy_caps); extract_mac_phy_emlcap(param, mac_phy_caps); extract_mac_phy_mldcap(param, mac_phy_caps); - extract_mac_phy_msdcap(param, mac_phy_caps); return QDF_STATUS_SUCCESS; }