[Feature][T106][task-view-74]Based on baseline p56u06 first and fifth patch WiFi part and patch caused mac failure and gpio setting input low failure modification
Only Configure: Yes
Affected branch: master
Affected module: wifi
Is it affected on both ZXIC and MTK:only ZXIC
Self-test: Yes
Doc Update:No
Change-Id: I06a6b61b6e229f4f9f4e949e98c0454110be810c
diff --git a/ap/app/include/wifi_msg.h b/ap/app/include/wifi_msg.h
index ab6aac6..a148d67 100755
--- a/ap/app/include/wifi_msg.h
+++ b/ap/app/include/wifi_msg.h
@@ -133,6 +133,7 @@
MSG_CMD_WIFI_CFG_PWD_REQ,
MSG_CMD_WIFI_CFG_PWD_RSP,
/***************wifi OPENCPUÏûÏ¢****************/
+
MSG_CMD_AP_STA_CONNECTED,
MSG_CMD_AP_STA_DISCONNECTED,
@@ -158,6 +159,11 @@
MSG_CMD_CAP_WIFI_SET_AUTH, //wpa
MSG_CMD_CAP_WIFI_AP_ENABLE, //ap on off
+ MSG_CMD_CAP_WIFI_TEST_ENABLE, //wifi²âÊÔģʽÇý¶¯³õʼ»¯, 1 insmod/0 rmmod
+
+ //for cap sync API
+ MSG_CMD_CAP_WIFI_STA_STAT_REQ,
+ MSG_CMD_CAP_WIFI_STA_STAT_RSP,
};
@@ -515,8 +521,11 @@
//cap:api->wlan_proxy->ap:wlan_server
typedef enum
{
- IN_WIFI_STATUS_DEV_INIT_FAIL = 0,
- IN_WIFI_STATUS_INVALID_MAC
+ IN_WIFI_STATUS_DISABLED = 0,
+ IN_WIFI_STATUS_ENABLED,
+ IN_WIFI_STATUS_INVALID_MAC,
+ IN_WIFI_STATUS_DEV_INIT_FAIL,
+ IN_WIFI_STATUS_FIRMWARE_CRASH,
} inner_wifi_status_e;
//nei bu zhuan huan yong
@@ -597,6 +606,7 @@
IN_WIFI_WORK_MODE_MIN = -1,
IN_WIFI_WORK_MODE_AP0 = 0, //2.4G single ap / ap+sta
IN_WIFI_WORK_MODE_AP1, //5G single ap / ap+sta
+ IN_WIFI_WORK_MODE_STA,
IN_WIFI_WORK_MODE_MAX
} inner_wifi_work_mode_e;
@@ -694,6 +704,11 @@
} wlan_sta_status_t;
typedef struct {
+ int rssi;
+} wlan_sta_stat_sync_t;
+
+
+typedef struct {
int result;
wlan_sta_status_t status;
} scwifi_sta_stat_res_t;
@@ -734,7 +749,7 @@
} wlan_sta_scan_list_t;
typedef struct {
- int work_mode;
+ int work_mode; //inner_wifi_work_mode_e
} wlan_work_mode_t;//scwifi_workmode_t
#endif