Эх сурвалжийг харах

qcacmn: Add host support for db2dbm RSSI changes

Add host support for db2dbm RSSI changes. Firmware
indicates this capability when underlying hardware
has RSSI reporting feature. Based on this capability
host will know if firmware sends SNR or RSSI. If no
capablity is present then host will convert SNR to
rssi using a fixed offset of -96. If capability is
present host will directly use the rssi as it is.

Change-Id: I9058f16c6280d466feb96cf88a8a0d8cd7b02032
CRs-Fixed: 2364025
Yeshwanth Sriram Guntuka 6 жил өмнө
parent
commit
846d77bf4b

+ 2 - 0
wmi_unified_tlv.c

@@ -11974,6 +11974,8 @@ static void populate_tlv_service(uint32_t *wmi_service)
 	wmi_service[wmi_service_ndi_sap_support] = WMI_SERVICE_NDI_SAP_SUPPORT;
 	wmi_service[wmi_service_ndi_sap_support] = WMI_SERVICE_NDI_SAP_SUPPORT;
 	wmi_service[wmi_service_nan_disable_support] =
 	wmi_service[wmi_service_nan_disable_support] =
 			WMI_SERVICE_NAN_DISABLE_SUPPORT;
 			WMI_SERVICE_NAN_DISABLE_SUPPORT;
+	wmi_service[wmi_service_hw_db2dbm_support] =
+			WMI_SERVICE_HW_DB2DBM_CONVERSION_SUPPORT;
 }
 }
 #ifndef CONFIG_MCL
 #ifndef CONFIG_MCL