new_func_wifi_1

Change-Id: Ie23b919a0d154becb37e1e6b27ecc98a8377e3b9
diff --git a/mbtk/libmbtk_lib/Makefile b/mbtk/libmbtk_lib/Makefile
old mode 100755
new mode 100644
index 679250b..ebd38d9
--- a/mbtk/libmbtk_lib/Makefile
+++ b/mbtk/libmbtk_lib/Makefile
@@ -16,11 +16,12 @@
 	-I$(LOCAL_PATH)/mqtt/MQTTPacket \
 	-I$(LOCAL_PATH)/net \
 	-I$(LOCAL_PATH)/tcpip \
-	-I$(LOCAL_PATH)/ril
+	-I$(LOCAL_PATH)/ril \
+    -I$(LOCAL_PATH)/wifi
 
 LIB_DIR +=
 
-LIBS += -llog -lubus -lubox -luci -lprop2uci -lrilutil -lblobmsg_json -ldl -lcutils -laudio-apu  -lssl -lcrypto
+LIBS += -llog -lubus -lubox -luci -lprop2uci -lrilutil -lblobmsg_json -ldl -lcutils -laudio-apu  -lssl -lcrypto -lwpa_client
 
 ifeq ($(BUILD_LIB_TYPE), shared)
 CFLAGS += -shared -Wl,-shared,-Bsymbolic
@@ -135,6 +136,11 @@
 # tcpip
 LOCAL_SRC_FILES += \
     tcpip/mbtk_tcpip_at.c
+    
+#wifi
+LOCAL_SRC_FILES += \
+    wifi/sta_cli.c \
+	wifi/sta_ctrl.c 
 
 
 OBJS = $(patsubst %.c, %.o, $(patsubst %.cpp, %.o, $(LOCAL_SRC_FILES)))