From 608e889bf356241bde171921ccca4dd9ca43c219 Mon Sep 17 00:00:00 2001 From: Govind Singh Date: Sat, 16 Apr 2016 19:24:23 -0700 Subject: [PATCH] qcacmn: Replace mac_id with pdev_id in WMI PDEV commands Replace mac_id with pdev_id for WMI pdev commands and vdev start response handler to support multi-radio in converged firmware. In order to maintain backward compatibility with old fw, host needs to check WMI_SERVICE_DEPRECATED_REPLACE service id in service bitmap and needs to fill pdev id or mac id accordingly. Change-Id: I7e6b40b4c0bd20e967dc0a383b480068e256486f CRs-Fixed: 994415 --- wmi_unified_api.h | 3 ++- wmi_unified_priv.h | 3 ++- wmi_unified_tlv.h | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/wmi_unified_api.h b/wmi_unified_api.h index 9fb1386a88..a4c4132f97 100644 --- a/wmi_unified_api.h +++ b/wmi_unified_api.h @@ -448,7 +448,8 @@ QDF_STATUS wmi_unified_set_mcc_channel_time_latency_cmd uint32_t mcc_channel_freq, uint32_t mcc_channel_time_latency); QDF_STATUS wmi_unified_set_enable_disable_mcc_adaptive_scheduler_cmd( - void *wmi_hdl, uint32_t mcc_adaptive_scheduler); + void *wmi_hdl, uint32_t mcc_adaptive_scheduler, + uint32_t pdev_id); #ifndef WMI_NON_TLV_SUPPORT QDF_STATUS wmi_unified_bcn_buf_ll_cmd(void *wmi_hdl, diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h index 6957008a9f..0c23798fa8 100644 --- a/wmi_unified_priv.h +++ b/wmi_unified_priv.h @@ -249,7 +249,8 @@ QDF_STATUS (*send_set_mcc_channel_time_latency_cmd) uint32_t mcc_channel_freq, uint32_t mcc_channel_time_latency); QDF_STATUS (*send_set_enable_disable_mcc_adaptive_scheduler_cmd)( - wmi_unified_t wmi_handle, uint32_t mcc_adaptive_scheduler); + wmi_unified_t wmi_handle, uint32_t mcc_adaptive_scheduler, + uint32_t pdev_id); QDF_STATUS (*send_p2p_go_set_beacon_ie_cmd)(wmi_unified_t wmi_handle, A_UINT32 vdev_id, uint8_t *p2p_ie); diff --git a/wmi_unified_tlv.h b/wmi_unified_tlv.h index e5ad2ffdea..d6bff6f690 100644 --- a/wmi_unified_tlv.h +++ b/wmi_unified_tlv.h @@ -200,7 +200,8 @@ QDF_STATUS send_set_mcc_channel_time_latency_cmd_tlv uint32_t mcc_channel_freq, uint32_t mcc_channel_time_latency); QDF_STATUS send_set_enable_disable_mcc_adaptive_scheduler_cmd_tlv( - wmi_unified_t wmi_handle, uint32_t mcc_adaptive_scheduler); + wmi_unified_t wmi_handle, uint32_t mcc_adaptive_scheduler, + uint32_t pdev_id); QDF_STATUS send_p2p_go_set_beacon_ie_cmd_tlv(wmi_unified_t wmi_handle, A_UINT32 vdev_id, uint8_t *p2p_ie);