Hi, I'm trying to debug HWSIM mesh_forwarding_secure test case failure. This test case always returns fail with non-changed upstream hostap code.I'm also using untouched example-wpa_supplicant.config and example-hostapd.config.
--- commit c773c7d5ddbc8ca031614e1c999b05bec43778aa Author: Jouni Malinen <j@xxxxx> Date: Mon Aug 6 19:22:40 2018 +0300 tests: WPA2-PSK/TKIP and MIC=0 in msg 3/4 --- Tx parts says success, but Rx is never called.peter@peter-linux-dell:~/hostap/tests/hwsim$ sudo ./run-tests.py mesh_forwarding_secure
DEV: wlan0: 02:00:00:00:00:00 DEV: wlan1: 02:00:00:00:01:00 DEV: wlan2: 02:00:00:00:02:00 APDEV: wlan3 APDEV: wlan4 START mesh_forwarding_secure 1/1 Test: Mesh with two stations that can't reach each other directly (RSN) dev1->dev2 unicast data delivery failed Traceback (most recent call last): File "./run-tests.py", line 468, in main t(dev)File "/home/peter/hostap/tests/hwsim/test_wpas_mesh.py", line 2367, in test_mesh_forwarding_secure
hwsim_utils.test_connectivity(dev[0], dev[1])File "/home/peter/hostap/tests/hwsim/hwsim_utils.py", line 184, in test_connectivity
raise Exception(last_err) Exception: dev1->dev2 unicast data delivery failed FAIL mesh_forwarding_secure 6.248478 2018-08-21 21:27:57.016154 passed 0 test case(s) skipped 0 test case(s) failed tests: mesh_forwarding_secure -- tx -- 1534910242.893245: wlan0: Control interface command 'DATA_TEST_CONFIG 1' 1534910242.893279: wpas_ctrl_iface_data_test_config: enabled = 11534910242.893283: wpas_ctrl_iface_data_test_config: ifname = wlan0, own_addr = 02:00:00:00:00:00
1534910242.903226: wlan0: test data: Enabled 1534910242.903257: wpas_ctrl_iface_data_test_config: test data: Enabled1534910242.903261: CTRL-DEBUG: ctrl_sock-sendto: sock=16 sndbuf=212992 outq=0 send_len=3 1534910242.915589: wlan0: Control interface command 'DATA_TEST_TX 02:00:00:00:01:00 02:00:00:00:00:00 0' 1534910242.915621: wpas_ctrl_iface_data_test_tx: sending packet from 02:00:00:00:00:00 to 02:00:00:00:01:00
1534910242.915638: ../src/l2_packet/l2_packet_linux.c:l2_packet_send() 1534910242.915665: [poh]l2_packet_send: sent 15001534910242.915679: wlan0: test data: TX dst=02:00:00:00:01:00 src=02:00:00:00:00:00 tos=0x0 1534910242.915684: wpas_ctrl_iface_data_test_tx: test data: TX dst=02:00:00:00:01:00 src=02:00:00:00:00:00 tos=0x0
-- rx -- 1534910242.903664: wlan1: Control interface command 'DATA_TEST_CONFIG 1' 1534910242.903698: wpas_ctrl_iface_data_test_config: enabled = 11534910242.903706: wpas_ctrl_iface_data_test_config: ifname = wlan1, own_addr = 02:00:00:00:01:00
1534910242.915196: wlan1: test data: Enabled 1534910242.915227: wpas_ctrl_iface_data_test_config: test data: Enabled1534910242.915231: CTRL-DEBUG: ctrl_sock-sendto: sock=15 sndbuf=212992 outq=0 send_len=3
1534910247.931981: wlan1: Control interface command 'DATA_TEST_CONFIG 0' 1534910247.932094: wpas_ctrl_iface_data_test_config: enabled = 0The packets are also shown in pcap. The destination address is in multicast format. I'm not sure if it's expected.
This is hwsim defconfig in backports-4.4.2-1 and kernel version. CPTCFG_CFG80211=m CPTCFG_CFG80211_DEFAULT_PS=y CPTCFG_CFG80211_DEBUGFS=y CPTCFG_CFG80211_WEXT=y CPTCFG_MAC80211=m # CPTCFG_MAC80211_RC_PID is not set # CPTCFG_MAC80211_RC_MINSTREL is not set # CPTCFG_MAC80211_RC_DEFAULT_MINSTREL is not set CPTCFG_MAC80211_DEBUGFS=y CPTCFG_MAC80211_MESSAGE_TRACING=y CPTCFG_WLAN=y CPTCFG_MAC80211_HWSIM=m BACKPORTS_VERSION="v4.4.2-1-0-gbec4037" BACKPORTED_KERNEL_VERSION="v4.4.2-0-g1cb8570" Any advices will be appreciated. Thanks, Peter
Attachment:
mesh_forwarding_secure.hwsim0.pcapng
Description: application/pcapng
_______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap