Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c187263d authored by Vinod Kumar Myadam's avatar Vinod Kumar Myadam Committed by Madan Koyyalamudi
Browse files

qcacmn: Add P2P_P2P_CONCURRENCY_SUPPORT wmi service support

Add P2P_P2P_CONCURRENCY_SUPPORT service capablity to
validate whether fw can support p2p concurrency
support or not. when firmware advertises this flag it
can support MCC,SCC, DBS for p2p-GO/GC + p2p-GO/GC.

Change-Id: Ifec4bf984595b06374be9024601733c8537a9c3e
CRs-Fixed: 2984165
parent a4166727
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for
 * any purpose with or without fee is hereby granted, provided that the
@@ -5276,6 +5276,9 @@ typedef enum {
	wmi_service_thermal_stats_temp_range_supported,
#endif
	wmi_service_pno_scan_conf_per_ch_support,
#ifdef WLAN_FEATURE_P2P_P2P_STA
	wmi_service_p2p_p2p_cc_support,
#endif
	wmi_services_max,
} wmi_conv_service_ids;
#define WMI_SERVICE_UNAVAILABLE 0xFFFF
+4 −0
Original line number Diff line number Diff line
@@ -15963,6 +15963,10 @@ static void populate_tlv_service(uint32_t *wmi_service)
#endif
	wmi_service[wmi_service_pno_scan_conf_per_ch_support] =
			WMI_SERVICE_PNO_SCAN_CONFIG_PER_CHANNEL;
#ifdef WLAN_FEATURE_P2P_P2P_STA
	wmi_service[wmi_service_p2p_p2p_cc_support] =
			WMI_SERVICE_P2P_P2P_CONCURRENCY_SUPPORT;
#endif
}

/**