qcacmn: Add support for UL_RU26 WMI service

Add support for UL_RU26 WMI service which will notify the host if
the target has allowed UL_RU26

Change-Id: I639c0872f541cf30776c9f76b87c4b950c1e17f4
CRs-Fixed: 2390350
This commit is contained in:
Aditya Sathish 2019-02-08 17:21:34 +05:30 • committed by nshrivas
commit 73d452f3d2
4 changed files with 7 additions and 0 deletions

View file

@ -110,6 +110,9 @@ static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
if (wmi_service_enabled(wmi_handle, wmi_service_bss_color_offload))
target_if_debug(" BSS COLOR OFFLOAD supported");
if (wmi_service_enabled(wmi_handle, wmi_service_ul_ru26_allowed))
wlan_psoc_nif_fw_ext_cap_set(psoc, WLAN_SOC_CEXT_OBSS_NBW_RU);
target_if_debug(" TT support %d, Wide BW Scan %d, SW cal %d",
wlan_psoc_nif_fw_ext_cap_get(psoc, WLAN_SOC_CEXT_TT_SUPPORT),
wlan_psoc_nif_fw_ext_cap_get(psoc, WLAN_SOC_CEXT_WIDEBAND_SCAN),

View file

@ -127,6 +127,8 @@
#define WLAN_SOC_CEXT_TWT_RESPONDER 0x00004000
/* HW DB2DBM CAPABLE */
#define WLAN_SOC_CEXT_HW_DB2DBM 0x00008000
/* OBSS Narrow Bandwidth RU Tolerance */
#define WLAN_SOC_CEXT_OBSS_NBW_RU 0x00010000
/* feature_flags */
/* CONF: ATH FF enabled */

View file

@ -5196,6 +5196,7 @@ typedef enum {
wmi_service_nan_disable_support,
wmi_service_hw_db2dbm_support,
wmi_service_wlm_stats_support,
wmi_service_ul_ru26_allowed,
wmi_services_max,
} wmi_conv_service_ids;
#define WMI_SERVICE_UNAVAILABLE 0xFFFF

View file

@ -11691,6 +11691,7 @@ static void populate_tlv_service(uint32_t *wmi_service)
WMI_SERVICE_HW_DB2DBM_CONVERSION_SUPPORT;
wmi_service[wmi_service_wlm_stats_support] =
WMI_SERVICE_WLM_STATS_REQUEST;
wmi_service[wmi_service_ul_ru26_allowed] = WMI_SERVICE_UL_RU26_ALLOWED;
}
#ifndef CONFIG_MCL