From 6020bd52619d1bcf1794b557eb7a36f431533eb8 Mon Sep 17 00:00:00 2001 From: zhangyanjiao Date: Thu, 8 Aug 2019 17:44:14 +0800 Subject: [PATCH 1/2] wifi: fix wifi bugs for authmode and multi ssid --- components/esp32/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp32/lib b/components/esp32/lib index c3e419fabd..7754eebce0 160000 --- a/components/esp32/lib +++ b/components/esp32/lib @@ -1 +1 @@ -Subproject commit c3e419fabd79487315ee2c04a75d87a6829391b3 +Subproject commit 7754eebce0b62139cfeb650cf2954cec3f507187 From adf6ed9c8c3748dd4dddab3aef9ce24c21a23f5a Mon Sep 17 00:00:00 2001 From: zhangyanjiao Date: Thu, 8 Aug 2019 17:45:28 +0800 Subject: [PATCH 2/2] modify WIFI_CONN_0101 case for wrong authmode of AP --- .../idf_test/integration_test/TC_IT_WIFI_CONN.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/idf_test/integration_test/TC_IT_WIFI_CONN.yml b/components/idf_test/integration_test/TC_IT_WIFI_CONN.yml index 649148b4ca..8b1eb237f9 100644 --- a/components/idf_test/integration_test/TC_IT_WIFI_CONN.yml +++ b/components/idf_test/integration_test/TC_IT_WIFI_CONN.yml @@ -28,20 +28,20 @@ test cases: - - SSC SSC2 sta -C -s -p - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - SSC SSC1 ap -S -s -p -t 1 - - - R SSC1 C +SAP:OK + - - R SSC1 C +SAP:ERROR - - SSC SSC2 sta -D - - R SSC2 C +QAP:OK - - SSC SSC2 sta -S - - R SSC2 RE "\+SCAN:%%s,.+,0,\d+"%%() C +SCANDONE - - - SSC SSC1 ap -S -s -p -t 5 - - - R SSC1 C +SAP:OK + - - SSC SSC1 ap -S -s -p -t 6 + - - R SSC1 C +SAP:ERROR - - SSC SSC2 sta -S - - R SSC2 RE "\+SCAN:%%s,.+,0,\d+"%%() C +SCANDONE execution time: 0.0 expected result: "1.target1 set AP,open, \n2.target 2 jap succeed\n3.target1 set AP,wpa_psk \n4.target 2 jap succeed\n5.target1 set AP, wpa2_psk \n6.target 2 jap succeed\n7.target1 set AP,wap_wpa2_psk\n8.target 2 jap succeed\n9.target1 set - AP,加密方式为t 1\n10.target 2 上查询到target_ssid\n11.target1 set AP,加密方式为t 5\n12.target + AP,加密方式为t 1\n10.target 2 上查询到target_ssid\n11.target1 set AP,加密方式为t 6\n12.target 2 上查询到target_ssid" initial condition: T2_1 level: Integration @@ -50,7 +50,7 @@ test cases: 和pwd,加密方式 wpa_psk \n4.target2 jap target1\n5.target1下设置ssid 和pwd,加密方式 wpa2_psk \n6.target 2 jap target1\n7.target1下设置ssid 和pwd,加密方式 wap_wpa2_psk\n8.target2 jap target1\n9.target1下设置ssid 和pwd,加密方式 wep \n10.target2上查询target_ssid\n11.target1下设置ssid - 和pwd,加密方式 t 5 错误的加密方式\n12.target2上查询 target_ssid" + 和pwd,加密方式 t 6 错误的加密方式\n12.target2上查询 target_ssid" sub module: WIFI Connect summary: station SAP+JAP test, different encryption test environment: SSC_T2_5