qcacmn: Read service capability for TDLS concurrencies

Read the new service capability:
WMI_SERVICE_TDLS_CONCURRENCY_SUPPORT for TDLS concurrencies
support. With this service capability below concurrencies are
supported:
STA+TDLS+P2P
STA+TDLS+P2P+P2P
STA+TDLS+P2P+SAP

Host driver will check this capability to disable TDLS
off channel when concurrent interface comes up. If this
service cap is not advertised by the firmware then
existing TDLS connection will be teared down when concurrent
interface is started.

Change-Id: I744775080a22ca8f3bc88894c349916eea27fd3a
CRs-Fixed: 3414266
Bu işleme şunda yer alıyor:
Pragaspathi Thilagaraj
2023-01-11 12:40:56 +05:30
işlemeyi yapan: Madan Koyyalamudi
ebeveyn 38f98d473f
işleme 381a41f67d
5 değiştirilmiş dosya ile 65 ekleme ve 1 silme

Dosyayı Görüntüle

@@ -181,6 +181,20 @@ init_deinit_update_vendor_handoff_control_caps(struct wmi_unified *wmi_handle,
{}
#endif
#ifdef FEATURE_WLAN_TDLS
static void init_deinit_update_tdls_caps(struct wmi_unified *wmi,
struct wlan_objmgr_psoc *psoc)
{
if (wmi_service_enabled(wmi, wmi_service_tdls_concurrency_support))
wlan_psoc_nif_fw_ext2_cap_set(psoc,
WLAN_TDLS_CONCURRENCIES_SUPPORT);
}
#else
static inline void init_deinit_update_tdls_caps(struct wmi_unified *wmi_handle,
struct wlan_objmgr_psoc *psoc)
{}
#endif
static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
uint8_t *event,
uint32_t data_len)
@@ -335,6 +349,7 @@ static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
init_deinit_update_roam_stats_cap(wmi_handle, psoc);
init_deinit_update_wifi_pos_caps(wmi_handle, psoc);
init_deinit_update_tdls_caps(wmi_handle, psoc);
/* override derived value, if it exceeds max peer count */
if ((wlan_psoc_get_max_peer_count(psoc) >