|
@@ -3917,6 +3917,20 @@ int wma_rx_service_ready_event(void *handle, uint8_t *cmd_param_info,
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
|
+ /* mac_id is replaced with pdev_id in converged firmware to have
|
|
|
+ * multi-radio support. In order to maintain backward compatibility
|
|
|
+ * with old fw, host needs to check WMI_SERVICE_DEPRECATED_REPLACE
|
|
|
+ * in service bitmap from FW and host needs to set use_pdev_id in
|
|
|
+ * wmi_resource_config to true. If WMI_SERVICE_DEPRECATED_REPLACE
|
|
|
+ * service is not set, then host shall not expect MAC ID from FW in
|
|
|
+ * VDEV START RESPONSE event and host shall use PDEV ID.
|
|
|
+ */
|
|
|
+ if (WMI_SERVICE_IS_ENABLED(wma_handle->wmi_service_bitmap,
|
|
|
+ WMI_SERVICE_DEPRECATED_REPLACE))
|
|
|
+ wma_handle->wlan_resource_config.use_pdev_id = true;
|
|
|
+ else
|
|
|
+ wma_handle->wlan_resource_config.use_pdev_id = false;
|
|
|
+
|
|
|
/* register the Enhanced Green AP event handler */
|
|
|
wma_register_egap_event_handle(wma_handle);
|
|
|
|