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
This commit is contained in:
Gururaj Pandurangi
2021-02-09 01:12:50 -08:00
committed by snandini
parent 901a17b4ae
commit 8492c0f971
2 changed files with 3 additions and 0 deletions

View File

@@ -15780,6 +15780,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;
}
/**