[Feature][ZXW-88]merge P50 version

Only Configure: No
Affected branch: master
Affected module: unknown
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No

Change-Id: I34667719d9e0e7e29e8e4368848601cde0a48408
diff --git a/ap/app/zte_mdl/zte_mdl.c b/ap/app/zte_mdl/zte_mdl.c
index 2beb93f..1142fb0 100755
--- a/ap/app/zte_mdl/zte_mdl.c
+++ b/ap/app/zte_mdl/zte_mdl.c
@@ -86,6 +86,11 @@
 	sntp_main(0,NULL);
 	return;
 }
+void wlan_entry(char *arg)
+{
+	wlan_main(0,NULL);
+	return;
+}
 void fota_dm_entry(char *arg)
 {
 	fota_dm_main(0,NULL);
@@ -122,6 +127,12 @@
 		pthread_create(&zte_mainctrl_thread_tid, NULL, (void *)zte_mainctrl_entry, NULL);
 #endif		
 
+#ifdef _USE_VEHICLE_DC_REF
+		/* wifi_manager */
+		pthread_t wlan_thread_tid;
+		pthread_create(&wlan_thread_tid, NULL, (void *)wlan_entry, NULL);
+#endif
+
 		/* zte_audio_res_ctrl */
 		pthread_t zte_audio_res_ctrl_thread_tid;
 		pthread_create(&zte_audio_res_ctrl_thread_tid, NULL, (void *)zte_audio_res_ctrl_entry, NULL);