[Feature][ZXW-292]merge P56U06 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: I922cf7b03b256d7dd5b0a6b73c3eac813f9512eb
diff --git a/ap/app/include/wifi_msg.h b/ap/app/include/wifi_msg.h
index a445b23..ab6aac6 100755
--- a/ap/app/include/wifi_msg.h
+++ b/ap/app/include/wifi_msg.h
@@ -657,6 +657,26 @@
 	IN_WIFI_REASON_CODE_DHCP_FAILED
 } in_wifi_reason_code_e;
 
+typedef struct
+{
+	char addr[16]; //255.255.255.255 16 IPV4ADDLEN_MAX
+	char netmask[16];
+	unsigned char subnet_bits; //255.255.255.0 is 24
+	char gateway[16];
+	char dnsp[16]; //primary DNS
+	char dnss[16]; //secondary DNS
+} in_wifi_net_addr_t;
+
+typedef struct
+{
+	char addr[48]; //0001:0002:0003:0004:0001:0002:0003:0004 40 (+8:, 48)
+	char prefix[48];
+	unsigned char prefix_bits;
+	char gateway[48];
+	char dnsp[48]; //primary DNS
+	char dnss[48]; //secondary DNS
+} in_wifi_net_addr6_t;
+
 //same as sc_wifi_sta_status_t
 typedef struct {
 	int pre_status; //proxy record
@@ -664,12 +684,12 @@
 	int status; //in_wifi_sta_status_e
 	char ifname[32];
 	char ap_bssid[18]; //cur ap mac
-	//int rssi;
+	int rssi;
 	unsigned char signal_level;
 	unsigned char has_addr;
-	char str_addr[16]; //255.255.255.255 16
+	in_wifi_net_addr_t addr;
 	unsigned char has_addr6;
-	char str_addr6[48]; //0001:0002:0003:0004:0001:0002:0003:0004 40 (+8:, 48)
+	in_wifi_net_addr6_t addr6;
 	int reason_code; //in_wifi_reason_code_e	
 } wlan_sta_status_t;