diff --git a/wmi/src/wmi_unified.c b/wmi/src/wmi_unified.c index f41120cdb3..bfd02bc071 100644 --- a/wmi/src/wmi_unified.c +++ b/wmi/src/wmi_unified.c @@ -1612,6 +1612,7 @@ uint16_t wmi_get_max_msg_len(wmi_unified_t wmi_handle) } qdf_export_symbol(wmi_get_max_msg_len); +#ifdef CONFIG_MCL #ifndef WMI_CMD_STRINGS static uint8_t *wmi_id_to_name(uint32_t wmi_command) { @@ -1620,7 +1621,6 @@ static uint8_t *wmi_id_to_name(uint32_t wmi_command) #endif -#ifdef CONFIG_MCL static inline void wmi_log_cmd_id(uint32_t cmd_id, uint32_t tag) { WMI_LOGD("Send WMI command:%s command_id:%d htc_tag:%d\n", diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 23ce94e7fe..19a17b511c 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -3636,6 +3636,7 @@ static QDF_STATUS send_peer_rate_report_cmd_tlv(wmi_unified_t wmi_handle, return status; } +#ifdef CONFIG_MCL /** * send_bcn_buf_ll_cmd_tlv() - prepare and send beacon buffer to fw for LL * @wmi_handle: wmi handle @@ -3678,6 +3679,7 @@ static QDF_STATUS send_bcn_buf_ll_cmd_tlv(wmi_unified_t wmi_handle, return ret; } +#endif /* CONFIG_MCL */ /** * send_process_update_edca_param_cmd_tlv() - update EDCA params @@ -5209,7 +5211,7 @@ send_dfs_phyerr_filter_offload_en_cmd_tlv(wmi_unified_t wmi_handle, return QDF_STATUS_SUCCESS; } -#if !defined(REMOVE_PKT_LOG) +#if !defined(REMOVE_PKT_LOG) && defined(CONFIG_MCL) /** * send_pktlog_wmi_send_cmd_tlv() - send pktlog enable/disable command to target * @wmi_handle: wmi handle @@ -5292,7 +5294,7 @@ wmi_send_failed: wmi_buf_free(buf); return QDF_STATUS_E_FAILURE; } -#endif /* REMOVE_PKT_LOG */ +#endif /* !REMOVE_PKT_LOG && CONFIG_MCL*/ /** * send_stats_ext_req_cmd_tlv() - request ext stats from fw