|
@@ -9359,7 +9359,7 @@ QDF_STATUS send_pdev_set_hw_mode_cmd_tlv(wmi_unified_t wmi_handle,
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * send_soc_set_dual_mac_config_cmd_tlv() - Set dual mac config to FW
|
|
|
+ * send_pdev_set_dual_mac_config_cmd_tlv() - Set dual mac config to FW
|
|
|
* @wmi_handle: wmi handle
|
|
|
* @msg: Dual MAC config parameters
|
|
|
*
|
|
@@ -9367,10 +9367,10 @@ QDF_STATUS send_pdev_set_hw_mode_cmd_tlv(wmi_unified_t wmi_handle,
|
|
|
*
|
|
|
* Return: QDF_STATUS. 0 on success.
|
|
|
*/
|
|
|
-QDF_STATUS send_soc_set_dual_mac_config_cmd_tlv(wmi_unified_t wmi_handle,
|
|
|
+QDF_STATUS send_pdev_set_dual_mac_config_cmd_tlv(wmi_unified_t wmi_handle,
|
|
|
struct wmi_dual_mac_config *msg)
|
|
|
{
|
|
|
- wmi_soc_set_dual_mac_config_cmd_fixed_param *cmd;
|
|
|
+ wmi_pdev_set_mac_config_cmd_fixed_param *cmd;
|
|
|
wmi_buf_t buf;
|
|
|
uint32_t len;
|
|
|
|
|
@@ -9382,19 +9382,21 @@ QDF_STATUS send_soc_set_dual_mac_config_cmd_tlv(wmi_unified_t wmi_handle,
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
|
|
|
|
- cmd = (wmi_soc_set_dual_mac_config_cmd_fixed_param *) wmi_buf_data(buf);
|
|
|
+ cmd = (wmi_pdev_set_mac_config_cmd_fixed_param *) wmi_buf_data(buf);
|
|
|
WMITLV_SET_HDR(&cmd->tlv_header,
|
|
|
- WMITLV_TAG_STRUC_wmi_soc_set_dual_mac_config_cmd_fixed_param,
|
|
|
+ WMITLV_TAG_STRUC_wmi_pdev_set_mac_config_cmd_fixed_param,
|
|
|
WMITLV_GET_STRUCT_TLVLEN(
|
|
|
- wmi_soc_set_dual_mac_config_cmd_fixed_param));
|
|
|
+ wmi_pdev_set_mac_config_cmd_fixed_param));
|
|
|
+
|
|
|
+ cmd->pdev_id = WMI_PDEV_ID_SOC;
|
|
|
cmd->concurrent_scan_config_bits = msg->scan_config;
|
|
|
cmd->fw_mode_config_bits = msg->fw_mode_config;
|
|
|
WMI_LOGI("%s: scan_config:%x fw_mode_config:%x",
|
|
|
__func__, msg->scan_config, msg->fw_mode_config);
|
|
|
|
|
|
if (wmi_unified_cmd_send(wmi_handle, buf, len,
|
|
|
- WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID)) {
|
|
|
- WMI_LOGE("%s: Failed to send WMI_SOC_SET_DUAL_MAC_CONFIG_CMDID",
|
|
|
+ WMI_PDEV_SET_MAC_CONFIG_CMDID)) {
|
|
|
+ WMI_LOGE("%s: Failed to send WMI_PDEV_SET_MAC_CONFIG_CMDID",
|
|
|
__func__);
|
|
|
qdf_nbuf_free(buf);
|
|
|
}
|
|
@@ -10491,8 +10493,8 @@ struct wmi_ops tlv_ops = {
|
|
|
.send_flush_logs_to_fw_cmd = send_flush_logs_to_fw_cmd_tlv,
|
|
|
.send_pdev_set_pcl_cmd = send_pdev_set_pcl_cmd_tlv,
|
|
|
.send_pdev_set_hw_mode_cmd = send_pdev_set_hw_mode_cmd_tlv,
|
|
|
- .send_soc_set_dual_mac_config_cmd =
|
|
|
- send_soc_set_dual_mac_config_cmd_tlv,
|
|
|
+ .send_pdev_set_dual_mac_config_cmd =
|
|
|
+ send_pdev_set_dual_mac_config_cmd_tlv,
|
|
|
.send_enable_arp_ns_offload_cmd =
|
|
|
send_enable_arp_ns_offload_cmd_tlv,
|
|
|
.send_app_type1_params_in_fw_cmd =
|