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
This commit is contained in:
Vinod Kumar Myadam 2021-06-23 23:22:43 +05:30 • committed by Madan Koyyalamudi
commit c187263d12
2 changed files with 8 additions and 1 deletions

View file

@ -1,6 +1,6 @@
/*
* 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

View file

@ -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
}
/**