Ping hang and re-connection to the network issue

Hi @Loic ,

We are working on a product based on APQ8016E and using WCN3660B (Linaro-20.07)

Issue description:
After connecting to any network using WiFi and trying to ping over the network, ping got hanged and network got reconnected after that.
logs:

64 bytes from 192.168.1.1: icmp_seq=225 ttl=64 time=1.57 ms
64 bytes from 192.168.1.1: icmp_seq=226 ttl=64 time=1.52 ms
[ 9794.082357] wlan0: deauthenticating from 5c:b1:3e:5a:f2:86 by local choice (Reason: 3=DEAUTH_LEAVING)
From 192.168.1.33 icmp_seq=227 Destination Host Unreachable
From 192.168.1.33 icmp_seq=228 Destination Host Unreachable
From 192.168.1.33 icmp_seq=229 Destination Host Unreachable
From 192.168.1.33 icmp_seq=230 Destination Host Unreachable
From 192.168.1.33 icmp_seq=231 Destination Host Unreachable
From 192.168.1.33 icmp_seq=232 Destination Host Unreachable
[ 9802.217265] wlan0: authenticate with 5c:b1:3e:5a:f2:86
[ 9802.278856] wlan0: send auth to 5c:b1:3e:5a:f2:86 (try 1/3)
[ 9802.281689] wlan0: authenticated
[ 9802.289793] wlan0: associate with 5c:b1:3e:5a:f2:86 (try 1/3)
[ 9802.293440] wlan0: RX AssocResp from 5c:b1:3e:5a:f2:86 (capab=0x411 status=0 aid=3)
[ 9802.326930] wlan0: associated
[ 9802.365103] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
64 bytes from 192.168.1.1: icmp_seq=233 ttl=64 time=2153 ms
64 bytes from 192.168.1.1: icmp_seq=234 ttl=64 time=1152 ms
64 bytes from 192.168.1.1: icmp_seq=235 ttl=64 time=138 ms
64 bytes from 192.168.1.1: icmp_seq=236 ttl=64 time=2.59 ms

64 bytes from 192.168.43.1: icmp_seq=335 ttl=64 time=140 ms
64 bytes from 192.168.43.1: icmp_seq=336 ttl=64 time=135 ms
64 bytes from 192.168.43.1: icmp_seq=337 ttl=64 time=137 ms
64 bytes from 192.168.43.1: icmp_seq=338 ttl=64 time=126 ms
64 bytes from 192.168.43.1: icmp_seq=339 ttl=64 time=137 ms
64 bytes from 192.168.43.1: icmp_seq=340 ttl=64 time=6.48 ms
[ 8965.107233] wlan0: deauthenticating from 8e:b8:4a:db:b0:4d by local choice (Reason: 3=DEAUTH_LEAVING)
From 192.168.43.94 icmp_seq=342 Destination Host Unreachable

We will provide you sniffer for the same. Please look into the logs as this issue is very critical for us and update.

Regards,
Parth Y Shah

Hi @Loic ,

Observation till now:
Issue happens when the device is connected to the router’s channel #1. Please see logs as below.
AP: PARTH_WIFI

Connected to channel#1.

[2020-10-13 18:57:43] bssid / frequency / signal level / flags / ssid
[2020-10-13 18:57:43] d8:0d:17:c1:84:2c 2462 -43 [WPA2-PSK-CCMP+TKIP][ESS] M@rgeshR@j
[2020-10-13 18:57:43] 50:d4:f7:47:78:0e 2462 -64 [WPA2-PSK-CCMP+TKIP][ESS] R-virus
[2020-10-13 18:57:43] d8:47:32:91:e1:ae 2412 -38 [WPA2-PSK-CCMP][ESS] PARTH_WIFI

[2020-10-13 18:59:41] 64 bytes from 192.168.0.1: icmp_seq=45 ttl=64 time=0.574 ms
[2020-10-13 18:59:42] 64 bytes from 192.168.0.1: icmp_seq=46 ttl=64 time=1.17 ms
[2020-10-13 18:59:43] 64 bytes from 192.168.0.1: icmp_seq=47 ttl=64 time=11.3 ms
[2020-10-13 18:59:44] 64 bytes from 192.168.0.1: icmp_seq=48 ttl=64 time=1.38 ms
[2020-10-13 18:59:45] 64 bytes from 192.168.0.1: icmp_seq=49 ttl=64 time=0.748 ms
[2020-10-13 18:59:46] 64 bytes from 192.168.0.1: icmp_seq=50 ttl=64 time=3.45 ms
[2020-10-13 18:59:47] 64 bytes from 192.168.0.1: icmp_seq=51 ttl=64 time=0.687 ms
[2020-10-13 18:59:48] 64 bytes from 192.168.0.1: icmp_seq=52 ttl=64 time=1.07 ms
[2020-10-13 19:00:08] ping: sendmsg: Network is unreachable
[2020-10-13 19:00:09] ping: sendmsg: Network is unreachable
[2020-10-13 19:00:10] ping: sendmsg: Network is unreachable
[2020-10-13 19:00:11] [ 3366.365089] wlan0: authenticate with d8:47:32:91:e1:ae
[2020-10-13 19:00:11] [ 3366.430430] wlan0: send auth to d8:47:32:91:e1:ae (try 1/3)
[2020-10-13 19:00:11] [ 3366.435326] wlan0: authenticated
[2020-10-13 19:00:11] [ 3366.436000] wlan0: associate with d8:47:32:91:e1:ae (try 1/3)
[2020-10-13 19:00:11] [ 3366.448028] wlan0: RX AssocResp from d8:47:32:91:e1:ae (capab=0x411 status=0 aid=2)
[2020-10-13 19:00:11] ping: sendmsg: Network is unreachable
[2020-10-13 19:00:11] [ 3366.480226] wlan0: associated

[2020-10-13 19:02:46] 64 bytes from 192.168.0.1: icmp_seq=229 ttl=64 time=0.757 ms
[2020-10-13 19:02:47] 64 bytes from 192.168.0.1: icmp_seq=230 ttl=64 time=0.647 ms
[2020-10-13 19:02:48] 64 bytes from 192.168.0.1: icmp_seq=231 ttl=64 time=0.555 ms
[2020-10-13 19:02:49] 64 bytes from 192.168.0.1: icmp_seq=232 ttl=64 time=0.939 ms
[2020-10-13 19:02:50] 64 bytes from 192.168.0.1: icmp_seq=233 ttl=64 time=0.973 ms
[2020-10-13 19:02:51] 64 bytes from 192.168.0.1: icmp_seq=234 ttl=64 time=10.5 ms
[2020-10-13 19:03:10] ping: sendmsg: Network is unreachable
[2020-10-13 19:03:11] ping: sendmsg: Network is unreachable
[2020-10-13 19:03:12] ping: sendmsg: Network is unreachable
[2020-10-13 19:03:13] ping: sendmsg: Network is unreachable
[2020-10-13 19:03:13] [ 3548.361124] wlan0: authenticate with d8:47:32:91:e1:ae
[2020-10-13 19:03:13] [ 3548.426219] wlan0: send auth to d8:47:32:91:e1:ae (try 1/3)
[2020-10-13 19:03:13] [ 3548.429533] wlan0: authenticated
[2020-10-13 19:03:13] [ 3548.432026] wlan0: associate with d8:47:32:91:e1:ae (try 1/3)
[2020-10-13 19:03:13] [ 3548.436657] wlan0: RX AssocResp from d8:47:32:91:e1:ae (capab=0x411 status=0 aid=2)
[2020-10-13 19:03:13] [ 3548.472724] wlan0: associated
[2020-10-13 19:03:14] ping: sendmsg: Network is unreachable
[2020-10-13 19:03:15] 64 bytes from 192.168.0.1: icmp_seq=257 ttl=64 time=17.1 ms
[2020-10-13 19:03:16] 64 bytes from 192.168.0.1: icmp_seq=258 ttl=64 time=2.83 ms
[2020-10-13 19:03:17] 64 bytes from 192.168.0.1: icmp_seq=259 ttl=64 time=0.928 ms
[2020-10-13 19:03:18] 64 bytes from 192.168.0.1: icmp_seq=260 ttl=64 time=2.56 ms
[2020-10-13 19:03:20] 64 bytes from 192.168.0.1: icmp_seq=261 ttl=64 time=859 ms
[2020-10-13 19:03:21] ^C
[2020-10-13 19:03:21] — 192.168.0.1 ping statistics —
[2020-10-13 19:03:21] 262 packets transmitted, 216 received, +1 duplicates, 17.5573% packet loss, time 610ms
[2020-10-13 19:03:21] rtt min/avg/max/mdev = 0.465/18.487/1039.441/100.158 ms, pipe 2

Channel 2:

[2020-10-13 19:05:29] bssid / frequency / signal level / flags / ssid
[2020-10-13 19:05:29] d8:0d:17:c1:84:2c 2462 -51 [WPA2-PSK-CCMP+TKIP][ESS] M@rgeshR@j
[2020-10-13 19:05:29] 50:d4:f7:47:78:0e 2462 -64 [WPA2-PSK-CCMP+TKIP][ESS] R-virus
[2020-10-13 19:05:29] e2:37:bf:07:11:27 2437 -73 [WPA2-PSK-CCMP][ESS][P2P] DIRECT-kM
[2020-10-13 19:05:29] d8:47:32:91:e1:ae 2417 -35 [WPA2-PSK-CCMP][ESS] PARTH_WIFI

[2020-10-13 19:11:54] 64 bytes from 192.168.0.1: icmp_seq=374 ttl=64 time=0.696 ms
[2020-10-13 19:11:55] 64 bytes from 192.168.0.1: icmp_seq=375 ttl=64 time=3.44 ms
[2020-10-13 19:11:56] 64 bytes from 192.168.0.1: icmp_seq=376 ttl=64 time=0.850 ms
[2020-10-13 19:11:57] ^C
[2020-10-13 19:11:57] — 192.168.0.1 ping statistics —
[2020-10-13 19:11:57] 376 packets transmitted, 376 received, 0% packet loss, time 1197ms
[2020-10-13 19:11:57] rtt min/avg/max/mdev = 0.523/8.237/212.264/28.643 ms

Please help here to debug further.

Regards,
Parth Y Shah

Hi @loic,

Any update over here?

Regards,
Parth Y Shah

Hi @loic,

When connected to Wi-Fi network on 2.4GHz 1 channel and performing active scan, the communication stops and after scan finishes, reconnection to the network occurs.

Steps to reproduce:

  1. Connect to Wi-Fi network on 1 channel
  2. Send pings to 8.8.8.8
  3. Perform scan with “wpa_cli scan”
  4. Pings start to fail
  5. After 15 seconds reassociation occurs

64 bytes from 8.8.8.8: icmp_seq=35 ttl=115 time=17.9 ms
64 bytes from 8.8.8.8: icmp_seq=37 ttl=115 time=14.6 ms
64 bytes from 8.8.8.8: icmp_seq=38 ttl=115 time=13.6 ms
64 bytes from 8.8.8.8: icmp_seq=39 ttl=115 time=23.5 ms
64 bytes from 8.8.8.8: icmp_seq=40 ttl=115 time=20.1 ms

root@tytodev:~# ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
[ 271.336080] wlan0: authenticate with d8:47:32:91:e1:ae
[ 271.401010] wlan0: send auth to d8:47:32:91:e1:ae (try 1/3)
[ 271.404471] wlan0: authenticated
[ 271.406928] wlan0: associate with d8:47:32:91:e1:ae (try 1/3)
[ 271.411607] wlan0: RX AssocResp from d8:47:32:91:e1:ae (capab=0x411 status=0 aid=5)
[ 271.447068] wlan0: associated
ping: sendmsg: Network is unreachable
64 bytes from 8.8.8.8: icmp_seq=65 ttl=115 time=16.5 ms
64 bytes from 8.8.8.8: icmp_seq=66 ttl=115 time=20.8 ms
64 bytes from 8.8.8.8: icmp_seq=67 ttl=115 time=14.2 ms
64 bytes from 8.8.8.8: icmp_seq=68 ttl=115 time=15.3 ms

Additional information:
Reproduced on Linaro 18.01 with backported WCN36xx driver ( https://cdn.kernel.org/pub/linux/kernel/projects/backports/stable/v5.8/backports-5.8-1.tar.xz). We are mainly using Linaro-18.01 release and for WCN36xx, we use above mentioned wcn36xx backports (i.e. wcn36xx, mac80211, cfg80211 repos are inlined with Linaro-20.07)
We have also tested this issue on Linaro 20.07, it reproduces here also but not on every test.

Hi @loic,

Any update over here?

Regards,
Parth Y Shah

I suggest you to add debug in the scan code, especially to check if the channel is restored to channel 1 as operating channel at the end of the scan. Simply add printk info in the channel change code path.

Hi @Loic

I have enabled WCN36XX_DBG_MAC and shared the logs with you for channel#1. Please look into it and update.
https://drive.google.com/file/d/10_B9AKe-5k6F29-dQ4I_kFgIrZpULj-9/view?usp=sharing
https://drive.google.com/file/d/11p4xXd-V-kWQYlAya4j47pdLIrgnjZXp/view?usp=sharing

Hi @ParthShah

Just as a reminder you are seeking help for your unsupported product on a community forum for the 96Boards Dragonboard 410C SBC! If you are seeking help from a community support forum is not acceptable to share logs files with access permissions enabled. You are preventing other community members from both contributing and from benefiting. That is an abuse of the community.

Hi @Loic

Any update here?

Regards,
Parth Y Shah

Please refer to my earlier comment. It is not acceptable to require a password to read the log messages (or apply any other technique to conceal logs from search engines).

Community support is expected to be searchable by future developers who see similar problems.

Logs for channel #1

root@linaro-alip:/home/linaro/bp_20_07# wpa_cli scan_results
Selected interface ‘wlan0’
bssid / frequency / signal level / flags / ssid
d8:47:32:91:e1:ae 2412 -61 [WPA2-PSK-CCMP][WPS][ESS] PARTH_WIFI
root@linaro-alip:/home/linaro/bp_20_07#
root@linaro-alip:/home/linaro/bp_20_07#
root@linaro-alip:/home/linaro/bp_20_07#
root@linaro-alip:/home/linaro/bp_20_07# ping 8.8.8.8 &
[1] 2752
root@linaro-alip:/home/linaro/bp_20_07# PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=26.1 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=116 time=28.2 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=116 time=18.5 ms

root@linaro-alip:/home/linaro/bp_20_07# 64 bytes from 8.8.8.8: icmp_seq=4 ttl=116 time=28.3 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=116 time=18.2 ms
(reverse-i-search)`sca’: wpa_cli 64 bytes from 8.8.8.8: icmp_seq=6 ttl=116 time=22.2 ms
-iwlan0 64 bytes from 8.8.8.8: icmp_seq=7 ttl=116 time=21.9 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=116 time=27.9 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=116 time=28.2 ms
^C
root@linaro-alip:/home/linaro/bp_20_07# 64 bytes from 8.8.8.8: icmp_seq=10 ttl=116 time=28.7 ms
wpa_64 bytes from 8.8.8.8: icmp_seq=11 ttl=116 time=18.4 ms
cli -64 bytes from 8.8.8.8: icmp_seq=12 ttl=116 time=19.1 ms
iwlan64 bytes from 8.8.8.8: icmp_seq=13 ttl=116 time=37.3 ms
0 sca64 bytes from 8.8.8.8: icmp_seq=14 ttl=116 time=20.0 ms
n
[ 1064.136097] wcn36xx: mac prepare multicast list
[ 1064.136128] wcn36xx: mac configure filter
OK
[ 1064.143793] wcn36xx: mac config changed 0x00000040
[ 1064.143813] wcn36xx: wcn36xx_config channel switch=1
root@linaro-alip:/home/linaro/bp_20_07# [ 1064.218651] wcn36xx: mac config changed 0x00000040
[ 1064.218700] wcn36xx: wcn36xx_config channel switch=1
[ 1064.534744] wcn36xx: mac config changed 0x00000040
[ 1064.534792] wcn36xx: wcn36xx_config channel switch=2
[ 1064.610896] wcn36xx: mac config changed 0x00000040
[ 1064.610945] wcn36xx: wcn36xx_config channel switch=1
[ 1064.930632] wcn36xx: mac config changed 0x00000040
[ 1064.930686] wcn36xx: wcn36xx_config channel switch=3
[ 1065.006744] wcn36xx: mac config changed 0x00000040
[ 1065.006791] wcn36xx: wcn36xx_config channel switch=1
[ 1065.326745] wcn36xx: mac config changed 0x00000040
[ 1065.326793] wcn36xx: wcn36xx_config channel switch=4
[ 1065.402735] wcn36xx: mac config changed 0x00000040
[ 1065.402782] wcn36xx: wcn36xx_config channel switch=1
[ 1065.722736] wcn36xx: mac config changed 0x00000040
[ 1065.722785] wcn36xx: wcn36xx_config channel switch=5
[ 1065.798871] wcn36xx: mac config changed 0x00000040
[ 1065.798920] wcn36xx: wcn36xx_config channel switch=1
[ 1066.118739] wcn36xx: mac config changed 0x00000040
[ 1066.118788] wcn36xx: wcn36xx_config channel switch=6
[ 1066.194693] wcn36xx: mac config changed 0x00000040
[ 1066.194742] wcn36xx: wcn36xx_config channel switch=1
[ 1066.514740] wcn36xx: mac config changed 0x00000040
[ 1066.514789] wcn36xx: wcn36xx_config channel switch=7
[ 1066.590682] wcn36xx: mac config changed 0x00000040
[ 1066.590730] wcn36xx: wcn36xx_config channel switch=1
[ 1066.910578] wcn36xx: mac config changed 0x00000040
[ 1066.910629] wcn36xx: wcn36xx_config channel switch=8
[ 1066.986743] wcn36xx: mac config changed 0x00000040
[ 1066.986792] wcn36xx: wcn36xx_config channel switch=1
[ 1067.306736] wcn36xx: mac config changed 0x00000040
[ 1067.306784] wcn36xx: wcn36xx_config channel switch=9
[ 1067.382741] wcn36xx: mac config changed 0x00000040
[ 1067.382791] wcn36xx: wcn36xx_config channel switch=1
[ 1067.702737] wcn36xx: mac config changed 0x00000040
[ 1067.702785] wcn36xx: wcn36xx_config channel switch=10
[ 1067.778863] wcn36xx: mac config changed 0x00000040
[ 1067.778911] wcn36xx: wcn36xx_config channel switch=1
[ 1068.098754] wcn36xx: mac config changed 0x00000040
[ 1068.098802] wcn36xx: wcn36xx_config channel switch=11
[ 1068.174746] wcn36xx: mac config changed 0x00000040
[ 1068.174794] wcn36xx: wcn36xx_config channel switch=1
[ 1068.494749] wcn36xx: mac config changed 0x00000040
[ 1068.494798] wcn36xx: wcn36xx_config channel switch=12
[ 1068.570674] wcn36xx: mac config changed 0x00000040
[ 1068.570722] wcn36xx: wcn36xx_config channel switch=1
[ 1068.890810] wcn36xx: mac config changed 0x00000040
[ 1068.890859] wcn36xx: wcn36xx_config channel switch=13
[ 1069.014693] wcn36xx: mac config changed 0x00000040
[ 1069.014743] wcn36xx: wcn36xx_config channel switch=1
[ 1069.334739] wcn36xx: mac config changed 0x00000040
[ 1069.334787] wcn36xx: wcn36xx_config channel switch=14
[ 1069.458563] wcn36xx: mac config changed 0x00000040
[ 1069.458612] wcn36xx: wcn36xx_config channel switch=1
[ 1069.778740] wcn36xx: mac config changed 0x00000040
[ 1069.778788] wcn36xx: wcn36xx_config channel switch=36
[ 1069.902819] wcn36xx: mac config changed 0x00000040
[ 1069.902868] wcn36xx: wcn36xx_config channel switch=1
[ 1070.222737] wcn36xx: mac config changed 0x00000040
[ 1070.222786] wcn36xx: wcn36xx_config channel switch=40
[ 1070.346758] wcn36xx: mac config changed 0x00000040
[ 1070.346805] wcn36xx: wcn36xx_config channel switch=1
[ 1070.666549] wcn36xx: mac config changed 0x00000040
[ 1070.666598] wcn36xx: wcn36xx_config channel switch=44
[ 1070.790753] wcn36xx: mac config changed 0x00000040
[ 1070.790800] wcn36xx: wcn36xx_config channel switch=1
[ 1071.110735] wcn36xx: mac config changed 0x00000040
[ 1071.110784] wcn36xx: wcn36xx_config channel switch=48
[ 1071.234749] wcn36xx: mac config changed 0x00000040
[ 1071.234796] wcn36xx: wcn36xx_config channel switch=1
[ 1071.554738] wcn36xx: mac config changed 0x00000040
[ 1071.554787] wcn36xx: wcn36xx_config channel switch=52
[ 1071.678744] wcn36xx: mac config changed 0x00000040
[ 1071.678792] wcn36xx: wcn36xx_config channel switch=1
[ 1071.998740] wcn36xx: mac config changed 0x00000040
[ 1071.998790] wcn36xx: wcn36xx_config channel switch=56
[ 1072.122500] wcn36xx: mac config changed 0x00000040
[ 1072.122548] wcn36xx: wcn36xx_config channel switch=1
[ 1072.442738] wcn36xx: mac config changed 0x00000040
[ 1072.442787] wcn36xx: wcn36xx_config channel switch=60
[ 1072.566742] wcn36xx: mac config changed 0x00000040
[ 1072.566790] wcn36xx: wcn36xx_config channel switch=1
[ 1072.886680] wcn36xx: mac config changed 0x00000040
[ 1072.886730] wcn36xx: wcn36xx_config channel switch=64
[ 1073.010687] wcn36xx: mac config changed 0x00000040
[ 1073.010735] wcn36xx: wcn36xx_config channel switch=1
[ 1073.330734] wcn36xx: mac config changed 0x00000040
[ 1073.330782] wcn36xx: wcn36xx_config channel switch=100
[ 1073.454745] wcn36xx: mac config changed 0x00000040
[ 1073.454793] wcn36xx: wcn36xx_config channel switch=1
[ 1073.774739] wcn36xx: mac config changed 0x00000040
[ 1073.774788] wcn36xx: wcn36xx_config channel switch=104
[ 1073.898797] wcn36xx: mac config changed 0x00000040
[ 1073.898844] wcn36xx: wcn36xx_config channel switch=1
[ 1074.218737] wcn36xx: mac config changed 0x00000040
[ 1074.218787] wcn36xx: wcn36xx_config channel switch=108
[ 1074.342748] wcn36xx: mac config changed 0x00000040
[ 1074.342796] wcn36xx: wcn36xx_config channel switch=1
[ 1074.662743] wcn36xx: mac config changed 0x00000040
[ 1074.662794] wcn36xx: wcn36xx_config channel switch=112
[ 1074.786751] wcn36xx: mac config changed 0x00000040
[ 1074.786799] wcn36xx: wcn36xx_config channel switch=1
[ 1075.106862] wcn36xx: mac config changed 0x00000040
[ 1075.106913] wcn36xx: wcn36xx_config channel switch=116
[ 1075.230742] wcn36xx: mac config changed 0x00000040
[ 1075.230790] wcn36xx: wcn36xx_config channel switch=1
[ 1075.550736] wcn36xx: mac config changed 0x00000040
[ 1075.550784] wcn36xx: wcn36xx_config channel switch=120
[ 1075.674751] wcn36xx: mac config changed 0x00000040
[ 1075.674798] wcn36xx: wcn36xx_config channel switch=1
[ 1075.994742] wcn36xx: mac config changed 0x00000040
[ 1075.994791] wcn36xx: wcn36xx_config channel switch=124
[ 1076.118748] wcn36xx: mac config changed 0x00000040
[ 1076.118796] wcn36xx: wcn36xx_config channel switch=1
[ 1076.438732] wcn36xx: mac config changed 0x00000040
[ 1076.438780] wcn36xx: wcn36xx_config channel switch=128
[ 1076.562744] wcn36xx: mac config changed 0x00000040
[ 1076.562791] wcn36xx: wcn36xx_config channel switch=1
[ 1076.882729] wcn36xx: mac config changed 0x00000040
[ 1076.882779] wcn36xx: wcn36xx_config channel switch=132
[ 1077.006557] wcn36xx: mac config changed 0x00000040
[ 1077.006604] wcn36xx: wcn36xx_config channel switch=1
[ 1077.326733] wcn36xx: mac config changed 0x00000040
[ 1077.326783] wcn36xx: wcn36xx_config channel switch=140
[ 1077.450749] wcn36xx: mac config changed 0x00000040
[ 1077.450797] wcn36xx: wcn36xx_config channel switch=1
[ 1077.770739] wcn36xx: mac config changed 0x00000040
[ 1077.770788] wcn36xx: wcn36xx_config channel switch=149
[ 1077.894793] wcn36xx: mac config changed 0x00000040
[ 1077.894840] wcn36xx: wcn36xx_config channel switch=1
[ 1078.214548] wcn36xx: mac config changed 0x00000040
[ 1078.214598] wcn36xx: wcn36xx_config channel switch=153
[ 1078.338749] wcn36xx: mac config changed 0x00000040
[ 1078.338797] wcn36xx: wcn36xx_config channel switch=1
[ 1078.658739] wcn36xx: mac config changed 0x00000040
[ 1078.658788] wcn36xx: wcn36xx_config channel switch=157
[ 1078.782757] wcn36xx: mac config changed 0x00000040
[ 1078.782807] wcn36xx: wcn36xx_config channel switch=1
[ 1079.102740] wcn36xx: mac config changed 0x00000040
[ 1079.102789] wcn36xx: wcn36xx_config channel switch=161
[ 1079.226744] wcn36xx: mac config changed 0x00000040
[ 1079.226792] wcn36xx: wcn36xx_config channel switch=1
[ 1079.546735] wcn36xx: mac config changed 0x00000040
[ 1079.546784] wcn36xx: wcn36xx_config channel switch=165
[ 1079.662769] wcn36xx: mac config changed 0x00000040
[ 1079.662819] wcn36xx: wcn36xx_config channel switch=1
[ 1079.675602] wcn36xx: mac prepare multicast list
[ 1079.675623] wcn36xx: mac configure filter
[ 1083.410550] wcn36xx: mac ampdu action action 1 tid 0
[ 1083.442679] wcn36xx: mac ampdu action action 4 tid 0
[ 1083.478812] wcn36xx: mac80211 set key
[ 1083.478869] wcn36xx: Key: cmd=0x1 algo:0xfac04, id:0, len:16 flags 0x8
[ 1083.481508] wcn36xx: KEY: 00000000: 0b 77 c9 c7 b2 5d 7a ab 67 f7 80 e0 84 e8 be 1f
[ 1083.488945] wcn36xx: mac sta remove vif ffff80002a461240 sta d8:47:32:91:e1:ae index 1
[ 1083.497565] wcn36xx: mac bss info changed vif ffff80002a461240 changed 0x0080309f
[ 1083.503475] wcn36xx: mac bss changed_bssid 00:00:00:00:00:00
[ 1083.528468] wcn36xx: disassociated bss 00:00:00:00:00:00 vif 62:65:74:61:2a:2a AID=7
[ 1083.531123] wcn36xx: mac bss info changed vif ffff80002a461240 changed 0x00004000
[ 1083.535384] wcn36xx: mac config changed 0x00000040
[ 1083.542704] wcn36xx: wcn36xx_config channel switch=1
[ 1083.554301] wcn36xx: mac config changed 0x00000100
[ 1083.554407] wcn36xx: mac80211 set key
[ 1083.557967] wcn36xx: Key: cmd=0x1 algo:0xfac04, id:1, len:16 flags 0x0
[ 1083.561929] wcn36xx: KEY: 00000000: 29 d1 e8 db 96 ca b8 2b 43 dd 37 89 0b 19 97 8e
[ 1083.655670] wcn36xx: mac config changed 0x00000100
[ 1083.655735] wcn36xx: mac prepare multicast list
[ 1083.659541] wcn36xx: mac configure filter
[ 1083.664211] wcn36xx: mac config changed 0x00000040
[ 1083.667978] wcn36xx: wcn36xx_config channel switch=1
[ 1083.738684] wcn36xx: mac config changed 0x00000040
[ 1083.738732] wcn36xx: wcn36xx_config channel switch=2
[ 1083.810754] wcn36xx: mac config changed 0x00000040
[ 1083.810802] wcn36xx: wcn36xx_config channel switch=3
[ 1083.882487] wcn36xx: mac config changed 0x00000040
[ 1083.882535] wcn36xx: wcn36xx_config channel switch=4
[ 1083.954736] wcn36xx: mac config changed 0x00000040
[ 1083.954785] wcn36xx: wcn36xx_config channel switch=5
[ 1084.026646] wcn36xx: mac config changed 0x00000040
[ 1084.026696] wcn36xx: wcn36xx_config channel switch=6
[ 1084.098869] wcn36xx: mac config changed 0x00000040
[ 1084.098920] wcn36xx: wcn36xx_config channel switch=7
[ 1084.170691] wcn36xx: mac config changed 0x00000040
[ 1084.170739] wcn36xx: wcn36xx_config channel switch=8
[ 1084.242740] wcn36xx: mac config changed 0x00000040
[ 1084.242788] wcn36xx: wcn36xx_config channel switch=9
[ 1084.314739] wcn36xx: mac config changed 0x00000040
[ 1084.314787] wcn36xx: wcn36xx_config channel switch=10
[ 1084.386530] wcn36xx: mac config changed 0x00000040
[ 1084.386578] wcn36xx: wcn36xx_config channel switch=11
[ 1084.458737] wcn36xx: mac config changed 0x00000040
[ 1084.458787] wcn36xx: wcn36xx_config channel switch=12
[ 1084.578748] wcn36xx: mac config changed 0x00000040
[ 1084.578799] wcn36xx: wcn36xx_config channel switch=13
[ 1084.698781] wcn36xx: mac config changed 0x00000040
[ 1084.698829] wcn36xx: wcn36xx_config channel switch=14
[ 1084.818796] wcn36xx: mac config changed 0x00000040
[ 1084.818846] wcn36xx: wcn36xx_config channel switch=36
[ 1084.942791] wcn36xx: mac config changed 0x00000040
[ 1084.942840] wcn36xx: wcn36xx_config channel switch=40
[ 1085.062743] wcn36xx: mac config changed 0x00000040
[ 1085.062793] wcn36xx: wcn36xx_config channel switch=44
[ 1085.182748] wcn36xx: mac config changed 0x00000040
[ 1085.182796] wcn36xx: wcn36xx_config channel switch=48
[ 1085.302750] wcn36xx: mac config changed 0x00000040
[ 1085.302799] wcn36xx: wcn36xx_config channel switch=52
[ 1085.422752] wcn36xx: mac config changed 0x00000040
[ 1085.422802] wcn36xx: wcn36xx_config channel switch=56
[ 1085.542753] wcn36xx: mac config changed 0x00000040
[ 1085.542802] wcn36xx: wcn36xx_config channel switch=60
[ 1085.662563] wcn36xx: mac config changed 0x00000040
[ 1085.662613] wcn36xx: wcn36xx_config channel switch=64
[ 1085.782751] wcn36xx: mac config changed 0x00000040
[ 1085.782800] wcn36xx: wcn36xx_config channel switch=100
[ 1085.902794] wcn36xx: mac config changed 0x00000040
[ 1085.902844] wcn36xx: wcn36xx_config channel switch=104
[ 1086.022743] wcn36xx: mac config changed 0x00000040
[ 1086.022792] wcn36xx: wcn36xx_config channel switch=108
[ 1086.142752] wcn36xx: mac config changed 0x00000040
[ 1086.142801] wcn36xx: wcn36xx_config channel switch=112
[ 1086.262753] wcn36xx: mac config changed 0x00000040
[ 1086.262801] wcn36xx: wcn36xx_config channel switch=116
[ 1086.382752] wcn36xx: mac config changed 0x00000040
[ 1086.382800] wcn36xx: wcn36xx_config channel switch=120
[ 1086.502743] wcn36xx: mac config changed 0x00000040
[ 1086.502792] wcn36xx: wcn36xx_config channel switch=124
[ 1086.626750] wcn36xx: mac config changed 0x00000040
[ 1086.626798] wcn36xx: wcn36xx_config channel switch=128
[ 1086.746751] wcn36xx: mac config changed 0x00000040
[ 1086.746800] wcn36xx: wcn36xx_config channel switch=132
[ 1086.866814] wcn36xx: mac config changed 0x00000040
[ 1086.866862] wcn36xx: wcn36xx_config channel switch=140
[ 1086.986750] wcn36xx: mac config changed 0x00000040
[ 1086.986800] wcn36xx: wcn36xx_config channel switch=149
[ 1087.106742] wcn36xx: mac config changed 0x00000040
[ 1087.106791] wcn36xx: wcn36xx_config channel switch=153
[ 1087.226752] wcn36xx: mac config changed 0x00000040
[ 1087.226802] wcn36xx: wcn36xx_config channel switch=157
[ 1087.346747] wcn36xx: mac config changed 0x00000040
[ 1087.346796] wcn36xx: wcn36xx_config channel switch=161
[ 1087.466752] wcn36xx: mac config changed 0x00000040
[ 1087.466801] wcn36xx: wcn36xx_config channel switch=165
[ 1087.586775] wcn36xx: mac config changed 0x00000040
[ 1087.586823] wcn36xx: wcn36xx_config channel switch=1
[ 1087.590758] wlan0: authenticate with d8:47:32:91:e1:ae
[ 1087.598676] wcn36xx: mac prepare multicast list
[ 1087.600530] wcn36xx: mac configure filter
[ 1087.615004] wcn36xx: mac config changed 0x00000100
[ 1087.615194] wcn36xx: mac config changed 0x00000100
[ 1087.618712] wcn36xx: mac config changed 0x00000040
[ 1087.623487] wcn36xx: wcn36xx_config channel switch=1
[ 1087.635343] wcn36xx: mac bss info changed vif ffff80002a461240 changed 0x00004000
[ 1087.635367] wcn36xx: mac bss info changed vif ffff80002a461240 changed 0x000000e0
[ 1087.642026] wcn36xx: mac bss changed_bssid d8:47:32:91:e1:ae
[ 1087.687013] wlan0: send auth to d8:47:32:91:e1:ae (try 1/3)
[ 1087.689508] wlan0: authenticated
[ 1087.694489] wlan0: associate with d8:47:32:91:e1:ae (try 1/3)
[ 1087.698234] wlan0: RX AssocResp from d8:47:32:91:e1:ae (capab=0x411 status=0 aid=7)
[ 1087.700552] wcn36xx: mac sta add vif ffff80002a461240 sta d8:47:32:91:e1:ae
[ 1087.708317] wcn36xx: mac bss info changed vif ffff80002a461240 changed 0x0010300b
[ 1087.714950] wcn36xx: mac bss changed dtim period 1
[ 1087.722611] wcn36xx: mac assoc bss d8:47:32:91:e1:ae vif 62:65:74:61:2a:2a AID=7
[ 1087.760156] wlan0: associated
[ 1087.803090] wcn36xx: mac80211 set key
[ 1087.803151] wcn36xx: Key: cmd=0x0 algo:0xfac04, id:0, len:16 flags 0x8
[ 1087.805764] wcn36xx: KEY: 00000000: 5c dc 2e 59 c3 a3 dd ce 31 73 5d e7 85 33 70 50
[ 1087.833838] wcn36xx: mac80211 set key
[ 1087.833897] wcn36xx: Key: cmd=0x0 algo:0xfac04, id:1, len:16 flags 0x0
[ 1087.836723] wcn36xx: KEY: 00000000: 29 d1 e8 db 96 ca b8 2b 43 dd 37 89 0b 19 97 8e
64 bytes from 8.8.8.8: icmp_seq=38 ttl=116 time=20.0 ms
[ 1088.284917] wcn36xx: mac ampdu action action 0 tid 0
64 bytes from 8.8.8.8: icmp_seq=39 ttl=116 time=23.0 ms
64 bytes from 8.8.8.8: icmp_seq=40 ttl=116 time=87.6 ms
64 bytes from 8.8.8.8: icmp_seq=41 ttl=116 time=18.9 ms
64 bytes from 8.8.8.8: icmp_seq=42 ttl=116 time=19.5 ms
64 bytes from 8.8.8.8: icmp_seq=43 ttl=116 time=19.6 ms
64 bytes from 8.8.8.8: icmp_seq=44 ttl=116 time=20.4 ms
64 bytes from 8.8.8.8: icmp_seq=45 ttl=116 time=18.6 ms
64 bytes from 8.8.8.8: icmp_seq=46 ttl=116 time=19.3 ms
64 bytes from 8.8.8.8: icmp_seq=47 ttl=116 time=18.3 ms
64 bytes from 8.8.8.8: icmp_seq=48 ttl=116 time=18.2 ms
64 bytes from 8.8.8.8: icmp_seq=49 ttl=116 time=18.0 ms
64 bytes from 8.8.8.8: icmp_seq=50 ttl=116 time=18.1 ms
64 bytes from 8.8.8.8: icmp_seq=51 ttl=116 time=18.2 ms
64 bytes from 8.8.8.8: icmp_seq=52 ttl=116 time=79.8 ms
64 bytes from 8.8.8.8: icmp_seq=53 ttl=116 time=18.3 ms
64 bytes from 8.8.8.8: icmp_seq=54 ttl=116 time=17.9 ms
64 bytes from 8.8.8.8: icmp_seq=55 ttl=116 time=18.0 ms
[ 1106.306646] wcn36xx: mac ampdu action action 2 tid 0
[ 1106.308413] wcn36xx: mac ampdu action action 6 tid 0
64 bytes from 8.8.8.8: icmp_seq=56 ttl=116 time=20.2 ms
64 bytes from 8.8.8.8: icmp_seq=57 ttl=116 time=18.7 ms

root@linaro-alip:/home/linaro/bp_20_07# 64 bytes from 8.8.8.8: icmp_seq=58 ttl=116 time=18.1 ms
fg64 bytes from 8.8.8.8: icmp_seq=59 ttl=116 time=20.8 ms

ping 8.8.8.8
^C
— 8.8.8.8 ping statistics —
59 packets transmitted, 36 received, 38% packet loss, time 58620ms
rtt min/avg/max/mdev = 17.984/24.846/87.611/14.956 ms
root@linaro-alip:/home/linaro/bp_20_07#
root@linaro-alip:/home/linaro/bp_20_07#

Logs for channel #2

root@linaro-alip:/home/linaro/bp_20_07#
root@linaro-alip:/home/linaro/bp_20_07# wpa_cli scan_results
Selected interface ‘wlan0’
bssid / frequency / signal level / flags / ssid
d8:47:32:91:e1:ae 2417 -65 [WPA2-PSK-CCMP][WPS][ESS] PARTH_WIFI
e4:47:b3:97:b7:5e 2437 -63 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] Manan
d8:0d:17:c1:84:2c 2412 -77 [WPA2-PSK-CCMP+TKIP][WPS][ESS] M@rgeshR@j
50:d4:f7:47:78:0e 2462 -87 [WPA2-PSK-CCMP+TKIP][WPS][ESS] R-virus
00:1e:a6:af:4c:64 2427 -87 [WPA-PSK-CCMP][WPA2-PSK-CCMP][WPS][ESS] Darsh
root@linaro-alip:/home/linaro/bp_20_07#
root@linaro-alip:/home/linaro/bp_20_07#
root@linaro-alip:/home/linaro/bp_20_07#
root@linaro-alip:/home/linaro/bp_20_07#
root@linaro-alip:/home/linaro/bp_20_07# ping 8.8.8.8 &
[1] 2765
root@linaro-alip:/home/linaro/bp_20_07# PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=84.0 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=116 time=18.8 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=116 time=19.0 ms

(reverse-i-search)`’: 64 bytes from 8.8.8.8: icmp_seq=4 ttl=116 time=18.4 ms
s’: wpa_cli scan_rescaults 64 bytes from 8.8.8.8: icmp_seq=5 ttl=116 time=19.2 ms
-iwlan0 64 bytes from 8.8.8.8: icmp_seq=6 ttl=116 time=18.3 ms
root@linaro-alip:/home/linaro/bp_20_07#
[ 2043.496176] wcn36xx: mac prepare multicast list
[ 2043.496204] wcn36xx: mac configure filter
OK
[ 2043.503860] wcn36xx: mac config changed 0x00000040
[ 2043.503878] wcn36xx: wcn36xx_config channel switch=1
root@linaro-alip:/home/linaro/bp_20_07# [ 2043.578469] wcn36xx: mac config changed 0x00000040
[ 2043.578521] wcn36xx: wcn36xx_config channel switch=2
64 bytes from 8.8.8.8: icmp_seq=7 ttl=116 time=18.9 ms
[ 2043.898953] wcn36xx: mac config changed 0x00000040
[ 2043.899003] wcn36xx: wcn36xx_config channel switch=2
[ 2043.970870] wcn36xx: mac config changed 0x00000040
[ 2043.970921] wcn36xx: wcn36xx_config channel switch=2
[ 2044.286746] wcn36xx: mac config changed 0x00000040
[ 2044.286794] wcn36xx: wcn36xx_config channel switch=3
[ 2044.362661] wcn36xx: mac config changed 0x00000040
[ 2044.362710] wcn36xx: wcn36xx_config channel switch=2
[ 2044.682550] wcn36xx: mac config changed 0x00000040
[ 2044.682599] wcn36xx: wcn36xx_config channel switch=4
[ 2044.758770] wcn36xx: mac config changed 0x00000040
[ 2044.758820] wcn36xx: wcn36xx_config channel switch=2
64 bytes from 8.8.8.8: icmp_seq=8 ttl=116 time=23.7 ms
[ 2045.078750] wcn36xx: mac config changed 0x00000040
[ 2045.078801] wcn36xx: wcn36xx_config channel switch=5
[ 2045.154744] wcn36xx: mac config changed 0x00000040
[ 2045.154793] wcn36xx: wcn36xx_config channel switch=2
[ 2045.474738] wcn36xx: mac config changed 0x00000040
[ 2045.474787] wcn36xx: wcn36xx_config channel switch=6
[ 2045.550879] wcn36xx: mac config changed 0x00000040
[ 2045.550928] wcn36xx: wcn36xx_config channel switch=2
[ 2045.870750] wcn36xx: mac config changed 0x00000040
[ 2045.870800] wcn36xx: wcn36xx_config channel switch=7
[ 2045.946651] wcn36xx: mac config changed 0x00000040
[ 2045.946700] wcn36xx: wcn36xx_config channel switch=2
64 bytes from 8.8.8.8: icmp_seq=9 ttl=116 time=195 ms
[ 2046.266761] wcn36xx: mac config changed 0x00000040
[ 2046.266810] wcn36xx: wcn36xx_config channel switch=8
[ 2046.342755] wcn36xx: mac config changed 0x00000040
[ 2046.342806] wcn36xx: wcn36xx_config channel switch=2
[ 2046.662549] wcn36xx: mac config changed 0x00000040
[ 2046.662599] wcn36xx: wcn36xx_config channel switch=9
[ 2046.738745] wcn36xx: mac config changed 0x00000040
[ 2046.738795] wcn36xx: wcn36xx_config channel switch=2
64 bytes from 8.8.8.8: icmp_seq=10 ttl=116 time=18.0 ms
[ 2047.058751] wcn36xx: mac config changed 0x00000040
[ 2047.058802] wcn36xx: wcn36xx_config channel switch=10
[ 2047.134752] wcn36xx: mac config changed 0x00000040
[ 2047.134800] wcn36xx: wcn36xx_config channel switch=2
[ 2047.454742] wcn36xx: mac config changed 0x00000040
[ 2047.454791] wcn36xx: wcn36xx_config channel switch=11
[ 2047.530902] wcn36xx: mac config changed 0x00000040
[ 2047.530951] wcn36xx: wcn36xx_config channel switch=2
[ 2047.850800] wcn36xx: mac config changed 0x00000040
[ 2047.850850] wcn36xx: wcn36xx_config channel switch=12
[ 2047.974755] wcn36xx: mac config changed 0x00000040
[ 2047.974803] wcn36xx: wcn36xx_config channel switch=2
64 bytes from 8.8.8.8: icmp_seq=11 ttl=116 time=212 ms
[ 2048.294751] wcn36xx: mac config changed 0x00000040
[ 2048.294803] wcn36xx: wcn36xx_config channel switch=13
[ 2048.418751] wcn36xx: mac config changed 0x00000040
[ 2048.418801] wcn36xx: wcn36xx_config channel switch=2
[ 2048.738733] wcn36xx: mac config changed 0x00000040
[ 2048.738781] wcn36xx: wcn36xx_config channel switch=14
[ 2048.858841] wcn36xx: mac config changed 0x00000040
[ 2048.858893] wcn36xx: wcn36xx_config channel switch=2
64 bytes from 8.8.8.8: icmp_seq=12 ttl=116 time=94.7 ms
[ 2049.178741] wcn36xx: mac config changed 0x00000040
[ 2049.178793] wcn36xx: wcn36xx_config channel switch=36
[ 2049.302759] wcn36xx: mac config changed 0x00000040
[ 2049.302808] wcn36xx: wcn36xx_config channel switch=2
[ 2049.622740] wcn36xx: mac config changed 0x00000040
[ 2049.622790] wcn36xx: wcn36xx_config channel switch=40
[ 2049.746558] wcn36xx: mac config changed 0x00000040
[ 2049.746608] wcn36xx: wcn36xx_config channel switch=2
64 bytes from 8.8.8.8: icmp_seq=13 ttl=116 time=19.7 ms
[ 2050.066704] wcn36xx: mac config changed 0x00000040
[ 2050.066754] wcn36xx: wcn36xx_config channel switch=44
[ 2050.190754] wcn36xx: mac config changed 0x00000040
[ 2050.190802] wcn36xx: wcn36xx_config channel switch=2
[ 2050.510739] wcn36xx: mac config changed 0x00000040
[ 2050.510788] wcn36xx: wcn36xx_config channel switch=48
[ 2050.634751] wcn36xx: mac config changed 0x00000040
[ 2050.634800] wcn36xx: wcn36xx_config channel switch=2
64 bytes from 8.8.8.8: icmp_seq=14 ttl=116 time=17.9 ms
[ 2050.954558] wcn36xx: mac config changed 0x00000040
[ 2050.954608] wcn36xx: wcn36xx_config channel switch=52
[ 2051.078453] wcn36xx: mac config changed 0x00000040
[ 2051.078481] wcn36xx: wcn36xx_config channel switch=2
[ 2051.398684] wcn36xx: mac config changed 0x00000040
[ 2051.398734] wcn36xx: wcn36xx_config channel switch=56
[ 2051.522747] wcn36xx: mac config changed 0x00000040
[ 2051.522795] wcn36xx: wcn36xx_config channel switch=2
[ 2051.842919] wcn36xx: mac config changed 0x00000040
[ 2051.842968] wcn36xx: wcn36xx_config channel switch=60
[ 2051.966484] wcn36xx: mac config changed 0x00000040
[ 2051.966503] wcn36xx: wcn36xx_config channel switch=2
64 bytes from 8.8.8.8: icmp_seq=15 ttl=116 time=201 ms
[ 2052.286747] wcn36xx: mac config changed 0x00000040
[ 2052.286795] wcn36xx: wcn36xx_config channel switch=64
[ 2052.410762] wcn36xx: mac config changed 0x00000040
[ 2052.410810] wcn36xx: wcn36xx_config channel switch=2
[ 2052.730696] wcn36xx: mac config changed 0x00000040
[ 2052.730744] wcn36xx: wcn36xx_config channel switch=100
[ 2052.854805] wcn36xx: mac config changed 0x00000040
[ 2052.854855] wcn36xx: wcn36xx_config channel switch=2
64 bytes from 8.8.8.8: icmp_seq=16 ttl=116 time=85.7 ms
[ 2053.174746] wcn36xx: mac config changed 0x00000040
[ 2053.174795] wcn36xx: wcn36xx_config channel switch=104
[ 2053.298759] wcn36xx: mac config changed 0x00000040
[ 2053.298808] wcn36xx: wcn36xx_config channel switch=2
[ 2053.618744] wcn36xx: mac config changed 0x00000040
[ 2053.618794] wcn36xx: wcn36xx_config channel switch=108
[ 2053.742746] wcn36xx: mac config changed 0x00000040
[ 2053.742795] wcn36xx: wcn36xx_config channel switch=2
64 bytes from 8.8.8.8: icmp_seq=17 ttl=116 time=17.7 ms
[ 2054.062743] wcn36xx: mac config changed 0x00000040
[ 2054.062793] wcn36xx: wcn36xx_config channel switch=112
[ 2054.186757] wcn36xx: mac config changed 0x00000040
[ 2054.186804] wcn36xx: wcn36xx_config channel switch=2
[ 2054.506740] wcn36xx: mac config changed 0x00000040
[ 2054.506789] wcn36xx: wcn36xx_config channel switch=116
[ 2054.630750] wcn36xx: mac config changed 0x00000040
[ 2054.630797] wcn36xx: wcn36xx_config channel switch=2
64 bytes from 8.8.8.8: icmp_seq=18 ttl=116 time=20.1 ms
[ 2054.950747] wcn36xx: mac config changed 0x00000040
[ 2054.950795] wcn36xx: wcn36xx_config channel switch=120
[ 2055.074758] wcn36xx: mac config changed 0x00000040
[ 2055.074806] wcn36xx: wcn36xx_config channel switch=2
[ 2055.394741] wcn36xx: mac config changed 0x00000040
[ 2055.394791] wcn36xx: wcn36xx_config channel switch=124
[ 2055.518746] wcn36xx: mac config changed 0x00000040
[ 2055.518795] wcn36xx: wcn36xx_config channel switch=2
[ 2055.838748] wcn36xx: mac config changed 0x00000040
[ 2055.838798] wcn36xx: wcn36xx_config channel switch=128
[ 2055.962757] wcn36xx: mac config changed 0x00000040
[ 2055.962806] wcn36xx: wcn36xx_config channel switch=2
[ 2055.990824] wcn36xx: mac ampdu action action 2 tid 0
64 bytes from 8.8.8.8: icmp_seq=19 ttl=116 time=189 ms
[ 2056.282753] wcn36xx: mac config changed 0x00000040
[ 2056.282802] wcn36xx: wcn36xx_config channel switch=132
[ 2056.406757] wcn36xx: mac config changed 0x00000040
[ 2056.406806] wcn36xx: wcn36xx_config channel switch=2
[ 2056.726734] wcn36xx: mac config changed 0x00000040
[ 2056.726784] wcn36xx: wcn36xx_config channel switch=140
[ 2056.850802] wcn36xx: mac config changed 0x00000040
[ 2056.850852] wcn36xx: wcn36xx_config channel switch=2
[ 2057.010670] wcn36xx: mac ampdu action action 3 tid 0
64 bytes from 8.8.8.8: icmp_seq=20 ttl=116 time=220 ms
[ 2057.170757] wcn36xx: mac config changed 0x00000040
[ 2057.170808] wcn36xx: wcn36xx_config channel switch=149
[ 2057.294751] wcn36xx: mac config changed 0x00000040
[ 2057.294797] wcn36xx: wcn36xx_config channel switch=2
[ 2057.614747] wcn36xx: mac config changed 0x00000040
[ 2057.614797] wcn36xx: wcn36xx_config channel switch=153
[ 2057.690748] wcn36xx: mac config changed 0x00000040
[ 2057.690799] wcn36xx: wcn36xx_config channel switch=2
64 bytes from 8.8.8.8: icmp_seq=21 ttl=116 time=125 ms
[ 2058.010909] wcn36xx: mac config changed 0x00000040
[ 2058.010958] wcn36xx: wcn36xx_config channel switch=157
[ 2058.134770] wcn36xx: mac config changed 0x00000040
[ 2058.134823] wcn36xx: wcn36xx_config channel switch=2
[ 2058.454655] wcn36xx: mac config changed 0x00000040
[ 2058.454706] wcn36xx: wcn36xx_config channel switch=161
[ 2058.578758] wcn36xx: mac config changed 0x00000040
[ 2058.578806] wcn36xx: wcn36xx_config channel switch=2
[ 2058.898756] wcn36xx: mac config changed 0x00000040
[ 2058.898805] wcn36xx: wcn36xx_config channel switch=165
[ 2059.022778] wcn36xx: mac config changed 0x00000040
[ 2059.022828] wcn36xx: wcn36xx_config channel switch=2
[ 2059.036396] wcn36xx: mac prepare multicast list
[ 2059.036417] wcn36xx: mac configure filter
64 bytes from 8.8.8.8: icmp_seq=22 ttl=116 time=254 ms
64 bytes from 8.8.8.8: icmp_seq=23 ttl=116 time=17.6 ms
64 bytes from 8.8.8.8: icmp_seq=24 ttl=116 time=19.4 ms
64 bytes from 8.8.8.8: icmp_seq=25 ttl=116 time=18.0 ms
64 bytes from 8.8.8.8: icmp_seq=26 ttl=116 time=17.4 ms
64 bytes from 8.8.8.8: icmp_seq=27 ttl=116 time=18.3 ms
64 bytes from 8.8.8.8: icmp_seq=28 ttl=116 time=18.2 ms
64 bytes from 8.8.8.8: icmp_seq=29 ttl=116 time=18.2 ms
64 bytes from 8.8.8.8: icmp_seq=30 ttl=116 time=18.3 ms
64 bytes from 8.8.8.8: icmp_seq=31 ttl=116 time=18.4 ms
64 bytes from 8.8.8.8: icmp_seq=32 ttl=116 time=18.2 ms
64 bytes from 8.8.8.8: icmp_seq=33 ttl=116 time=18.2 ms
64 bytes from 8.8.8.8: icmp_seq=34 ttl=116 time=18.1 ms
64 bytes from 8.8.8.8: icmp_seq=35 ttl=116 time=18.3 ms
64 bytes from 8.8.8.8: icmp_seq=36 ttl=116 time=18.2 ms
64 bytes from 8.8.8.8: icmp_seq=37 ttl=116 time=18.7 ms
64 bytes from 8.8.8.8: icmp_seq=38 ttl=116 time=17.8 ms
[ 2075.858646] wcn36xx: mac ampdu action action 2 tid 0
[ 2075.860416] wcn36xx: mac ampdu action action 6 tid 0
64 bytes from 8.8.8.8: icmp_seq=39 ttl=116 time=20.6 ms
64 bytes from 8.8.8.8: icmp_seq=40 ttl=116 time=18.0 ms
64 bytes from 8.8.8.8: icmp_seq=41 ttl=116 time=37.6 ms
64 bytes from 8.8.8.8: icmp_seq=42 ttl=116 time=20.1 ms
64 bytes from 8.8.8.8: icmp_seq=43 ttl=116 time=18.9 ms
64 bytes from 8.8.8.8: icmp_seq=44 ttl=116 time=18.4 ms
64 bytes from 8.8.8.8: icmp_seq=45 ttl=116 time=18.1 ms
64 bytes from 8.8.8.8: icmp_seq=46 ttl=116 time=17.4 ms
64 bytes from 8.8.8.8: icmp_seq=47 ttl=116 time=18.2 ms
64 bytes from 8.8.8.8: icmp_seq=48 ttl=116 time=17.8 ms
64 bytes from 8.8.8.8: icmp_seq=49 ttl=116 time=29.7 ms
64 bytes from 8.8.8.8: icmp_seq=50 ttl=116 time=17.7 ms
64 bytes from 8.8.8.8: icmp_seq=51 ttl=116 time=18.5 ms
64 bytes from 8.8.8.8: icmp_seq=52 ttl=116 time=18.2 ms
64 bytes from 8.8.8.8: icmp_seq=53 ttl=116 time=17.7 ms
64 bytes from 8.8.8.8: icmp_seq=54 ttl=116 time=18.1 ms
64 bytes from 8.8.8.8: icmp_seq=55 ttl=116 time=18.2 ms
64 bytes from 8.8.8.8: icmp_seq=56 ttl=116 time=17.4 ms
64 bytes from 8.8.8.8: icmp_seq=57 ttl=116 time=18.4 ms
64 bytes from 8.8.8.8: icmp_seq=58 ttl=116 time=18.4 ms
64 bytes from 8.8.8.8: icmp_seq=59 ttl=116 time=18.0 ms
64 bytes from 8.8.8.8: icmp_seq=60 ttl=116 time=18.3 ms
64 bytes from 8.8.8.8: icmp_seq=61 ttl=116 time=25.0 ms
64 bytes from 8.8.8.8: icmp_seq=62 ttl=116 time=19.4 ms
64 bytes from 8.8.8.8: icmp_seq=63 ttl=116 time=34.8 ms
64 bytes from 8.8.8.8: icmp_seq=64 ttl=116 time=17.6 ms
64 bytes from 8.8.8.8: icmp_seq=65 ttl=116 time=20.1 ms
64 bytes from 8.8.8.8: icmp_seq=66 ttl=116 time=18.2 ms
64 bytes from 8.8.8.8: icmp_seq=67 ttl=116 time=18.5 ms
64 bytes from 8.8.8.8: icmp_seq=68 ttl=116 time=20.3 ms
64 bytes from 8.8.8.8: icmp_seq=69 ttl=116 time=17.9 ms
64 bytes from 8.8.8.8: icmp_seq=70 ttl=116 time=17.8 ms
64 bytes from 8.8.8.8: icmp_seq=71 ttl=116 time=20.7 ms
64 bytes from 8.8.8.8: icmp_seq=72 ttl=116 time=17.9 ms
64 bytes from 8.8.8.8: icmp_seq=73 ttl=116 time=18.0 ms
64 bytes from 8.8.8.8: icmp_seq=74 ttl=116 time=18.1 ms
64 bytes from 8.8.8.8: icmp_seq=75 ttl=116 time=18.1 ms
64 bytes from 8.8.8.8: icmp_seq=76 ttl=116 time=17.6 ms

root@linaro-alip:/home/linaro/bp_20_07# 64 bytes from 8.8.8.8: icmp_seq=77 ttl=116 time=18.1 ms
fg
ping 8.8.8.8
64 bytes from 8.8.8.8: icmp_seq=78 ttl=116 time=38.3 ms
^C
— 8.8.8.8 ping statistics —
78 packets transmitted, 78 received, 0% packet loss, time 77138ms
rtt min/avg/max/mdev = 17.418/38.457/254.314/53.693 ms
root@linaro-alip:/home/linaro/bp_20_07#
root@linaro-alip:/home/linaro/bp_20_07#
root@linaro-alip:/home/linaro/bp_20_07#

Hi @danielt I have uploaded the logs above.

Hi @Loic, any update ?

Hi @loic,

Observations from the sniffer for channel#1:

1.

  • Observed Block Ack request from the AP side, #65125

  • After that authentication and association (reconnection of the network) sequence can be observed on channel #1, which is the main issue over here.

2.

  • Observed the same sequence as above #1, starting from sequence number #95979

3.

  • Observed the same sequence as above #1, starting from sequence number #120379

In all above 3 observations, It can be observed that there is a BA request from the AP side and then there is no BA response from the DUT side and hence AP needs to perform the re-connection sequence.

When the same scenario checked with Linaro-18.01(SW-scan), we have not observed this issue with that.

Please suggest.

Regards,
Parth Y Shah

Thanks.

I tweaked them to use the details feature to make them a bit less cumbersome when scrolling:

[details=“Summary of collapsible info”]
> Line1
> …
> LineN
[/details]

On the technical side I hope someone is able to suggest something that can help you solve your issue… although I think the logs show the issue is unique to wcn3660 (db410c/wcn3620 would be using hardware scan IIUC) which does mean there’s rather few people with experience that can help you.

Hi @Loic

Is there any update?

I don’t think this is the issue since AFAIU this is the DTU that tries to reconnect for any reason to the AP. The point comes after the DUT did not reply for a long time (e.g no block ack). So the DUT is probably not listening? on an other channel due to scanning?

In case you can check action on dut side in the following code (but as I said that does not seem to be the root cause):
You should check internally in mac80211 core if block ack requests are actually received: iface.c - net/mac80211/iface.c - Linux source code (v5.10-rc1) - Bootlin
And also in the wcn36xx driver: main.c - drivers/net/wireless/ath/wcn36xx/main.c - Linux source code (v5.10-rc1) - Bootlin