[Feature][ZXW-285]merge P56U05 version

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

Change-Id: Ied657102425a179a89ef41847170152e8a5d437c
diff --git a/ap/app/zte_comm/wlan/src/wlan-station.c b/ap/app/zte_comm/wlan/src/wlan-station.c
index 1be786d..ea2efcd 100755
--- a/ap/app/zte_comm/wlan/src/wlan-station.c
+++ b/ap/app/zte_comm/wlan/src/wlan-station.c
@@ -1607,6 +1607,14 @@
 

 		//channel

 #ifdef USE_CAP_SUPPORT

+		if (signal <= 0 && signal > -128) {

+			scan_result->signal_db = (signed char)signal;

+		}

+		else {

+			scan_result->signal_db = (signed char)(-128);

+		}

+		//scan_result->ch_freq = frequency;

+		

 		scan_result->channel = frequency_to_channel(frequency);

 #else

 		switch (frequency) {

@@ -2897,7 +2905,9 @@
 		scan_list.info[i].auth = transe_sta_auth_mode(g_scan_result_list_p[i]->auth_mode);

 		scan_list.info[i].cipher = transe_sta_encrypt_type(g_scan_result_list_p[i]->encrypt_type);

 		scan_list.info[i].channel = g_scan_result_list_p[i]->channel;

+		//scan_list.info[i].frequency = g_scan_result_list_p[i]->ch_freq;

 		scan_list.info[i].signal_level = g_scan_result_list_p[i]->signal;

+		scan_list.info[i].signal = g_scan_result_list_p[i]->signal_db;

 		strncpy(scan_list.info[i].essid, g_scan_result_list_p[i]->ssid, sizeof(scan_list.info[i].essid)-1);

 		strncpy(scan_list.info[i].bssid, g_scan_result_list_p[i]->mac, sizeof(scan_list.info[i].bssid)-1);

 		scan_list.cnt++;