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

Commit 1eb33580 authored by Gururaj Pandurangi's avatar Gururaj Pandurangi Committed by snandini
Browse files

qcacmn: Add service bit to support backward compatibility

The host will send TPC power to FW via the new WMI cmd
WMI_VDEV_SET_TPC_POWER_CMDID going forward instead of
WMI_VDEV_PARAM_TX_PWRLIMIT to accommodate 6GHz channels.
But, to support backward compatibility for New Host+old FW
the TPC power will be sent to FW via legacy WMI cmds
WMI_VDEV_SET_PARAM_CMDID (during initial connection) or
WMI_VDEV_PARAM_TX_PWRLIMIT (power value change during RRM
req/bcn processing from connected AP) with the help of a
service bit WMI_SERVICE_EXT_TPC_REG_SUPPORT.

Change-Id: Iea1ecb62841c539c13a804ae9c475831b2d4c89c
CRs-Fixed: 2874250
parent e4bc45cf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5387,6 +5387,7 @@ typedef enum {
	wmi_service_wapi_concurrency_supported,
	wmi_service_sap_connected_d3_wow,
	wmi_service_go_connected_d3_wow,
	wmi_service_ext_tpc_reg_support,
	wmi_service_ndi_txbf_support,
	wmi_services_max,
} wmi_conv_service_ids;
+2 −0
Original line number Diff line number Diff line
@@ -15794,6 +15794,8 @@ static void populate_tlv_service(uint32_t *wmi_service)
			WMI_SERVICE_SAP_CONNECTED_D3WOW;
	wmi_service[wmi_service_go_connected_d3_wow] =
			WMI_SERVICE_SAP_CONNECTED_D3WOW;
	wmi_service[wmi_service_ext_tpc_reg_support] =
			WMI_SERVICE_EXT_TPC_REG_SUPPORT;
	wmi_service[wmi_service_ndi_txbf_support] =
			WMI_SERVICE_NDI_TXBF_SUPPORT;
}