qca-wifi: Fix compilation errors for smart antenna disable case

Smart antenna feature is disabled for 256M config. This change
fixes the compilation errors.

Change-Id: Ie43a5ddf0a88d8a022e052490601ac57e184b8ac
CRs-Fixed: 2494385
diff --git a/wmi/src/wmi_unified_smart_ant_api.c b/wmi/src/wmi_unified_smart_ant_api.c
index 4402224..41a75f2 100644
--- a/wmi/src/wmi_unified_smart_ant_api.c
+++ b/wmi/src/wmi_unified_smart_ant_api.c
@@ -20,6 +20,7 @@
 #include "wmi_unified_param.h"
 #include "qdf_module.h"
 
+#ifdef WMI_SMART_ANT_SUPPORT
 QDF_STATUS wmi_unified_set_ant_switch_tbl_cmd_send(
 		wmi_unified_t wmi_handle,
 		struct ant_switch_tbl_params *param)
@@ -88,3 +89,4 @@
 
 	return QDF_STATUS_E_FAILURE;
 }
+#endif
diff --git a/wmi/src/wmi_unified_smart_ant_tlv.c b/wmi/src/wmi_unified_smart_ant_tlv.c
index 67addad..64b5c3b 100644
--- a/wmi/src/wmi_unified_smart_ant_tlv.c
+++ b/wmi/src/wmi_unified_smart_ant_tlv.c
@@ -22,6 +22,7 @@
 #include "wmi_unified_smart_ant_param.h"
 #include "wmi_unified_smart_ant_api.h"
 
+#ifdef UNIFIED_SMARTANTENNA
 /**
  *  send_smart_ant_enable_cmd_tlv() - WMI smart ant enable function
  *
@@ -563,3 +564,4 @@
 	ops->send_set_ant_switch_tbl_cmd = send_set_ant_switch_tbl_cmd_tlv;
 	ops->extract_peer_ratecode_list_ev = extract_peer_ratecode_list_ev_tlv;
 }
+#endif