The 2.4G wifi of tx1 is probabilistically dropped, and 5g cannot search for ssid.

1,The 2.4G wifi of tx1 is probabilistically dropped, and 5g cannot search for ssid.

2,The iw command that comes with the ubuntu file system cannot be used:
$ iwlist wlan0 scanning
wlan0 Interface doesn’t support scanning.

Probabilistic disconnection log:

nvidia@rabbit-9ca00e:~$ [ 1751.950566] dhd_ndo_remove_ip: ndo ip addr remove failed, retcode = -23
[ 1751.958148] dhd_inet6_work_handler: Removing host ip for NDO failed -23
[ 1751.975430] CFG80211-ERROR) wl_cfg80211_disconnect : Reason 3
[ 1751.985112] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[ 1751.992322] CFG80211-ERROR) wl_notify_connect_status : link down if wlan0 may call cfg80211_disconnected. event : 16, reason=2 from 50:fa:84:5f:aca
[ 1752.289298] CFG80211-ERROR) wl_cfg80211_disconnect : Link down event is not received
[ 1752.314297] cfg80211: World regulatory domain updated:
[ 1752.320267] cfg80211: DFS Master region: unset
[ 1752.325048] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 1752.335537] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 1752.343637] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 1752.353084] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 1752.361132] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 1752.370642] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 1752.380214] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 1752.388356] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 1752.396391] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 1752.409854] cfg80211: World regulatory domain updated:
[ 1752.415022] cfg80211: DFS Master region: unset
[ 1752.419501] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 1752.429255] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 1752.437600] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 1752.447055] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 1752.455067] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 1752.464590] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 1752.474070] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 1752.482155] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 1752.490152] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 1753.843822] CFG80211-ERROR) wl_cfg80211_connect : Connectting with50:fa:84:5f:ac:ba channel (6) ssid “Penguinsinnovate”, len (16)

[ 1754.023677] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 50:fa:84:5f:ac:ba
[ 1754.049689] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection succeeded
[ 1754.059373] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 50:fa:84:5f:ac:ba
[ 1754.309475] dhd_ndo_add_ip: ndo ip addr add failed, retcode = -23
[ 1754.315986] dhd_inet6_work_handler: Adding host ip for NDO failed -23

Hi wangxiaojunfuture,

Which BSP you’re using? Any change made in kernel to cause this issue?

Thanks

Hi wangxiaojunfuture,

Please try to update the NetworkManager and try again.

sudo apt-get --only-upgrade install network-manager

You can refer this topic: https://devtalk.nvidia.com/default/topic/1036350

BSP version?
cat /etc/nv_tegra_release

R28 (release), REVISION: 2.1, GCID: 11272647, BOARD: t186ref, EABI: aarch64, DATE: Thu May 17 07:29:06 UTC 2018

Hi carolyuu,

The NetworkManager version is now as follows:
$sudo NetworkManager --version
1.2.6

power_save miode is off:
$ iw dev wlan0 get power_save
Power save: off

Hi wangxiaojunfuture,

cat /etc/nv_tegra_release

R28 (release), REVISION: 2.1, GCID: 11272647, BOARD: t186ref, EABI: aarch64, DATE: Thu May 17 07:29:06 UTC 2018

From your #5 comments is test on TX2.
Is the issue reproduced on tx1 or tx2? And which JetPack version are you testing?

Thanks!

Hi carolyuu,

Sorry,since our product uses tx1 and tx2, the #5 comments is posted incorrectly.

The following is the TX1 device information:

$ sudo NetworkManager --version
1.2.6

nvidia@rabbit-9ca00e:~$ cat /etc/nv_tegra_release

R28 (release), REVISION: 2.0, GCID: 10567845, BOARD: t210ref, EABI: aarch64, DATE: Fri Mar 2 04:58:16 UTC 2018

复现了手动连接失败的log:
tleriver6539ece767f":~$ sudo nmcli dev wifi con “Penguinsinnovate” password "litt
[ 5158.607303] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[ 5158.614437] CFG80211-ERROR) wl_notify_connect_status : link down if wlan0 may call cfg80211_disconnected. event : 16, reason=2 from 50:fa:84:5f:aca
[ 5158.633617] CFG80211-ERROR) wl_cfg80211_connect : Connectting with50:fa:84:5f:ac:ba channel (6) ssid “Penguinsinnovate”, len (16)

[ 5158.653348] cfg80211: World regulatory domain updated:
[ 5158.658541] cfg80211: DFS Master region: unset
[ 5158.663920] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 5158.675057] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 5158.684461] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5158.694315] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 5158.702330] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5158.706619] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 50:fa:84:5f:ac:ba
[ 5158.721044] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection succeeded
[ 5158.721053] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 50:fa:84:5f:ac:ba
[ 5158.739881] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 5158.749358] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 5158.757445] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 5158.765453] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 5158.773653] ------------[ cut here ]------------
[ 5158.778265] WARNING: at net/wireless/sme.c:714
[ 5158.782697] Modules linked in: bcmdhd bluedroid_pm
[ 5158.787497]
[ 5158.788984] CPU: 2 PID: 2291 Comm: kworker/u8:1 Tainted: G W 4.4.38-tegra #11
[ 5158.797228] Hardware name: jetson_tx1 (DT)
[ 5158.801318] Workqueue: cfg80211 cfg80211_event_work
[ 5158.806189] task: ffffffc0f950e400 ti: ffffffc0d6970000 task.ti: ffffffc0d6970000
[ 5158.813658] PC is at __cfg80211_connect_result+0x1a8/0x234
[ 5158.819130] LR is at __cfg80211_connect_result+0xf0/0x234
[ 5158.824515] pc : [] lr : [] pstate: 40000145
[ 5158.831893] sp : ffffffc0d6973c90
[ 5158.835196] x29: ffffffc0d6973ca0 x28: ffffffc0fb014818
[ 5158.840509] x27: ffffffc0fb014ae0 x26: ffffffc001460378
[ 5158.845822] x25: ffffffc06335b018 x24: ffffffc000d70740
[ 5158.851133] x23: ffffffc07cef58b0 x22: ffffffc06335b018
[ 5158.856445] x21: 0000000000000000 x20: 0000000000000000
[ 5158.861755] x19: ffffffc07cef5800 x18: 0000000001576c20
[ 5158.867066] x17: 0000007f8b2e2a40 x16: 0000007f8b51c000
[ 5158.872376] x15: 0000000000000255 x14: 0000000000000000
[ 5158.877686] x13: 0000000000000000 x12: 000000050406163d
[ 5158.882996] x11: 0000000000000000 x10: 0000000000000001
[ 5158.888305] x9 : 0000000000000010 x8 : ffffffbffc09b070
[ 5158.893616] x7 : 0000000000000001 x6 : 0000000000000002
[ 5158.898926] x5 : 00000000fffffffe x4 : 0000000000000000
[ 5158.904236] x3 : ffffffc001498700 x2 : ffffffc0d6973be0
[ 5158.909547] x1 : 0000000000000000 x0 : 0000000000000000
[ 5158.914857]
[ 5158.916507] —[ end trace 48d2bdd0fbddb313 ]—
[ 5158.921113] Call trace:
[ 5158.923553] [] __cfg80211_connect_result+0x1a8/0x234
[ 5158.930066] [] cfg80211_process_wdev_events+0xe8/0x1a8
[ 5158.936751] [] cfg80211_process_rdev_events+0x4c/0x68
[ 5158.943350] [] cfg80211_event_work+0x1c/0x28
[ 5158.949172] [] process_one_work+0x234/0x45c
[ 5158.954905] [] worker_thread+0x248/0x428
[ 5158.960377] [] kthread+0xf8/0x100
[ 5158.965243] [] ret_from_fork+0x10/0x30
[ 5158.979561] cfg80211: World regulatory domain updated:
[ 5158.984903] cfg80211: DFS Master region: unset
[ 5158.989317] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 5158.999260] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 5159.007370] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5159.016780] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 5159.024958] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5159.034554] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 5159.044031] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 5159.052119] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 5159.060114] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 5159.180582] _dhd_pno_enable Legacy PNO mode cannot be enabled in assoc mode , ignore it
[ 5159.188633] dhd_pno_set_for_ssid : failed to enable PNO
[ 5159.194054] CFG80211-ERROR) wl_cfg80211_sched_scan_start : PNO setup failed!! ret=-3

[ 5161.695274] _dhd_pno_enable Legacy PNO mode cannot be enabled in assoc mode , ignore it
[ 5161.703563] dhd_pno_set_for_ssid : failed to enable PNO
[ 5161.709067] CFG80211-ERROR) wl_cfg80211_sched_scan_start : PNO setup failed!! ret=-3

[ 5168.338413] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[ 5168.345340] CFG80211-ERROR) wl_notify_connect_status : link down if wlan0 may call cfg80211_disconnected. event : 16, reason=2 from 50:fa:84:5f:aca
[ 5168.364450] CFG80211-ERROR) wl_cfg80211_connect : Connectting with50:fa:84:5f:ac:ba channel (6) ssid “Penguinsinnovate”, len (16)

[ 5168.433237] cfg80211: World regulatory domain updated:
[ 5168.438384] cfg80211: DFS Master region: unset
[ 5168.442741] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 5168.451095] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 50:fa:84:5f:ac:ba
[ 5168.462275] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 5168.465339] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection succeeded
[ 5168.478913] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5168.488432] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 5168.496452] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5168.505936] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 5168.515415] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 5168.523517] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 5168.531519] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 5168.539723] ------------[ cut here ]------------
[ 5168.544334] WARNING: at net/wireless/sme.c:714
[ 5168.548765] Modules linked in: bcmdhd bluedroid_pm
[ 5168.553565]
[ 5168.555051] CPU: 0 PID: 2291 Comm: kworker/u8:1 Tainted: G W 4.4.38-tegra #11
[ 5168.563296] Hardware name: jetson_tx1 (DT)
[ 5168.567386] Workqueue: cfg80211 cfg80211_event_work
[ 5168.572257] task: ffffffc0f950e400 ti: ffffffc0d6970000 task.ti: ffffffc0d6970000
[ 5168.579724] PC is at __cfg80211_connect_result+0x1a8/0x234
[ 5168.585194] LR is at __cfg80211_connect_result+0xf0/0x234
[ 5168.590578] pc : [] lr : [] pstate: 40000145
[ 5168.597956] sp : ffffffc0d6973c90
[ 5168.601259] x29: ffffffc0d6973ca0 x28: ffffffc0fb014818
[ 5168.606570] x27: ffffffc0fb014ae0 x26: ffffffc001460378
[ 5168.611880] x25: ffffffc0f1fe4618 x24: ffffffc000d70740
[ 5168.617191] x23: ffffffc07cef58b0 x22: ffffffc0f1fe4618
[ 5168.622501] x21: 0000000000000000 x20: 0000000000000000
[ 5168.627811] x19: ffffffc07cef5800 x18: 0000000000000000
[ 5168.633121] x17: 0000000000000000 x16: 0000000000000000
[ 5168.638431] x15: 0000000000000000 x14: 0000000000000000
[ 5168.643740] x13: 0000000000000000 x12: 000000050406163d
[ 5168.649050] x11: 0000000000000000 x10: 0000000000000001
[ 5168.654360] x9 : 0000000000000010 x8 : ffffffbffc09b070
[ 5168.659670] x7 : 0000000000000001 x6 : 0000000000000002
[ 5168.664980] x5 : 00000000fffffffe x4 : 0000000000000000
[ 5168.670290] x3 : ffffffc001498700 x2 : ffffffc0d6973be0
[ 5168.675600] x1 : 0000000000000000 x0 : 0000000000000000
[ 5168.680909]
[ 5168.682563] —[ end trace 48d2bdd0fbddb314 ]—
[ 5168.687168] Call trace:
[ 5168.689608] [] _cfg80211_connect_result+0x1a8/0x234
[ 5168.696120] [] cfg80211_process_wdev_events+0xe8/0x1a8
[ 5168.702805] [] cfg80211_process_rdev_events+0x4c/0x68
[ 5168.709403] [] cfg80211_event_work+0x1c/0x28
[ 5168.715224] [] process_one_work+0x234/0x45c
[ 5168.720955] [] worker_thread+0x248/0x428
[ 5168.726428] [] kthread+0xf8/0x100
[ 5168.731294] [] ret_from_fork+0x10/0x30
[ 5168.741290] CFG80211-ERROR) wl_notify_connect_status : [ 5168.742586] cfg80211: World regulatory domain updated:
[ 5168.742588] cfg80211: DFS Master region: unset[ 5168.742589] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs
)
[ 5168.742593] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 5168.742596] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5168.742598] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 5168.742601] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5168.742603] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 5168.742606] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 5168.742608] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 5168.742610] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)

[ 5168.833936] wl_bss_connect_done succeeded with 50:fa:84:5f:ac:ba
[ 5168.952435] _dhd_pno_enable Legacy PNO mode cannot be enabled in assoc mode , ignore it
[ 5168.960525] dhd_pno_set_for_ssid : failed to enable PNO
[ 5168.965882] CFG80211-ERROR) wl_cfg80211_sched_scan_start : PNO setup failed!! ret=-3
[ 5171.463724] _dhd_pno_enable Legacy PNO mode cannot be enabled in assoc mode , ignore it
[ 5171.472017] dhd_pno_set_for_ssid : failed to enable PNO
[ 5171.477520] CFG80211-ERROR) wl_cfg80211_sched_scan_start : PNO setup failed!! ret=-3

^[[A

[ 5178.104588] _dhd_pno_enable Legacy PNO mode cannot be enabled in assoc mode , ignore it
[ 5178.112594] dhd_pno_set_for_ssid : failed to enable PNO
[ 5178.117819] CFG80211-ERROR) wl_cfg80211_sched_scan_start : PNO setup failed!! ret=-3
[ 5181.099962] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH_IND
[ 5181.107408] CFG80211-ERROR) wl_notify_connect_status : link down if wlan0 may call cfg80211_disconnected. event : 6, reason=6 from 50:fa:84:5f:ac:a
[ 5181.132030] cfg80211: World regulatory domain updated:
[ 5181.137180] cfg80211: DFS Master region: unset
[ 5181.141537] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 5181.151285] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 5181.159285] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5181.168672] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 5181.176667] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5181.186366] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 5181.196114] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 5181.205247] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 5181.213441] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 5181.228730] cfg80211: World regulatory domain updated:
[ 5181.233967] cfg80211: DFS Master region: unset
[ 5181.238399] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 5181.248143] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 5181.256252] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5181.265637] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 5181.273636] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5181.283114] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 5181.292662] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 5181.300850] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 5181.308923] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Error: Connection activation failed: (7) Secrets were required, but not provided.

Hi wangxiaojunfuture,

How long are you reproduce wifi disconnected issue?
Are you put device at idle or moving state?

Thanks!

Hi carolyuu,

The device is in a fixed position。
power_save mode is off.
NetworkManager version is 1.2.6.

High probability of recurrence when the network is unstable,

log(No automatic connection after disconnecting from the network):
nvidia@rabbit-9ca00e:~$ [10449.766917] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[10449.773813] CFG80211-ERROR) wl_notify_connect_status : link down if wlan0 may call cfg80211_disconnected. event : 16, reason=2 from 50:fa:84:5f:aca
[10449.795511] CFG80211-ERROR) wl_cfg80211_connect : Connectting withe8:fc:af:f8:9a:2c channel (1) ssid “Penguinsinnovate”, len (16)

[10449.864562] CFG80211-ERROR) wl_notify_connect_status : [10449.868493] cfg80211: World regulatory domain updated:
[10449.868496] cfg80211: DFS Master region: unset[10449.868497] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_)
[10449.868501] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[10449.868504] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[10449.868506] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[10449.868509] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[10449.868511] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[10449.868513] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[10449.868515] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[10449.868517] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[10449.878385] cfg80211: World regulatory domain updated:
[10449.878387] cfg80211: DFS Master region: unset[10449.878389] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_)
[10449.878393] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[10449.878396] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[10449.878398] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[10449.878401] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[10449.878403] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[10449.878406] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[10449.878408] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[10449.878410] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)

[10450.053094] wl_bss_connect_done succeeded with e8:fc:af:f8:9a:2c
[10450.076875] CFG80211-ERROR) wl_bss_connect_done : [10450.076961] ------------[ cut here ]------------
[10450.076964] WARNING: at net/wireless/sme.c:714
[10450.076965] Modules linked in: bcmdhd bluedroid_pm
[10450.076968]
[10450.076972] CPU: 2 PID: 3141 Comm: kworker/u8:2 Tainted: G W 4.4.38-tegra #11
[10450.076973] Hardware name: jetson_tx1 (DT)
[10450.076981] Workqueue: cfg80211 cfg80211_event_work
[10450.076982] task: ffffffc05dded780 ti: ffffffc062eb0000 task.ti: ffffffc062eb0000
[10450.076986] PC is at __cfg80211_connect_result+0x1a8/0x234
[10450.076988] LR is at __cfg80211_connect_result+0xf0/0x234
[10450.076990] pc : [] lr : [] pstate: 40000145
[10450.076991] sp : ffffffc062eb3c90
[10450.076992] x29: ffffffc062eb3ca0 x28: 0000000000000000
[10450.076994] x27: 0000000000000000 x26: ffffffc001460378
[10450.076996] x25: ffffffc07b938018 x24: ffffffc000d70740
[10450.076998] x23: ffffffc07cef58b0 x22: ffffffc07b938018
[10450.077000] x21: 0000000000000000 x20: 0000000000000000
[10450.077002] x19: ffffffc07cef5800 x18: 0000000000000000
[10450.077004] x17: 0000000000000000 x16: 0000000000000000
[10450.077006] x15: 0000000000000000 x14: 04f2500018dd4000
[10450.077008] x13: 000000000005087f x12: 00190005001400c8
[10450.077010] x11: 012c000a00140e4a x10: 0000000000000001
[10450.077012] x9 : 0000000000000010 x8 : ffffffbffc09b370
[10450.077014] x7 : ffffffc07bb43a88 x6 : 0000000000000002
[10450.077016] x5 : 00000000fffffffe x4 : 0000000000000000
[10450.077017] x3 : ffffffc001498700 x2 : ffffffc062eb3be0
[10450.077019] x1 : 0000000000000000 x0 : 0000000000000000
[10450.077021]
[10450.077192] —[ end trace 48d2bdd0fbddb318 ]—
[10450.077193] Call trace:
[10450.077196] [] __cfg80211_connect_result+0x1a8/0x234
[10450.077199] [] cfg80211_process_wdev_events+0xe8/0x1a8
[10450.077201] [] cfg80211_process_rdev_events+0x4c/0x68
[10450.077204] [] cfg80211_event_work+0x1c/0x28
[10450.077208] [] process_one_work+0x234/0x45c
[10450.077211] [] worker_thread+0x248/0x428
[10450.077214] [] kthread+0xf8/0x100
[10450.077217] [] ret_from_fork+0x10/0x30

[10450.278469] Report connect result - connection succeeded
[10450.284909] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with e8:fc:af:f8:9a:2c
[10450.360328] dhd_ndo_remove_ip: ndo ip addr remove failed, retcode = -23
[10450.367898] dhd_inet6_work_handler: Removing host ip for NDO failed -23
[11824.850044] CFG80211-ERROR) wl_bss_roaming_done : wl_bss_roaming_done succeeded to 50:fa:84:5f:ac:ba (ch:6)
[11824.859884] ------------[ cut here ]------------
[11824.864492] WARNING: at net/wireless/sme.c:850
[11824.868922] Modules linked in: bcmdhd bluedroid_pm
[11824.873722]
[11824.875209] CPU: 0 PID: 530 Comm: wl_event_handle Tainted: G W 4.4.38-tegra #11
[11824.883627] Hardware name: jetson_tx1 (DT)
[11824.887713] task: ffffffc07b8c0000 ti: ffffffc0f2630000 task.ti: ffffffc0f2630000
[11824.895182] PC is at cfg80211_roamed+0x58/0x90
[11824.899613] LR is at cfg80211_roamed+0x4c/0x90
[11824.904045] pc : [] lr : [] pstate: 40000145
[11824.911421] sp : ffffffc0f2633c40
[11824.914724] x29: ffffffc0f2633c40 x28: ffffffbffc09b070
[11824.920038] x27: ffffffc07cdc7e5d x26: ffffffc07cdc7e18
[11824.925348] x25: ffffffc0f0911ee9 x24: ffffffc0f0911720
[11824.930660] x23: ffffffc0f0901260 x22: 000000000000007a
[11824.935971] x21: ffffffc0f0901664 x20: 0000000000000078
[11824.941281] x19: ffffffc0f190e000 x18: 0000000000000000
[11824.946591] x17: 0000000000000000 x16: 0000000000000000
[11824.951902] x15: 0000000000000000 x14: 6565636375732065
[11824.957212] x13: 6e6f645f676e696d x12: 616f725f7373625f
[11824.962522] x11: 0000000000000003 x10: 0000000000000001
[11824.967834] x9 : 0000000000000010 x8 : ffffffbffc09b1b0
[11824.973145] x7 : 00000000024000c0 x6 : 0000000000000002
[11824.978456] x5 : 00000000fffffffe x4 : 0000000000000000
[11824.983764] x3 : ffffffc001498700 x2 : ffffffc0f2633b90
[11824.989074] x1 : 0000000000000000 x0 : 0000000000000000
[11824.994384]
[11824.996036] —[ end trace 48d2bdd0fbddb319 ]—
[11825.000642] Call trace:
[11825.003081] [] cfg80211_roamed+0x58/0x90
[11825.008705] [] wl_bss_roaming_done.isra.25+0x228/0x330 [bcmdhd]
[11825.016317] [] wl_notify_connect_status+0x814/0x1488 [bcmdhd]
[11825.023748] [] wl_event_handler+0x138/0x258 [bcmdhd]
[11825.030263] [] kthread+0xf8/0x100
[11825.035128] [] ret_from_fork+0x10/0x30
[11825.051282] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 50:fa:84:5f:ac:ba
[11825.061798] CFG80211-ERROR) wl_bss_roaming_done : BSS already present, Skipping roamed event to upper layer
[12124.860924] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DISASSOC_IND
[12124.868545] CFG80211-ERROR) wl_notify_connect_status : link down if wlan0 may call cfg80211_disconnected. event : 12, reason=4 from 50:fa:84:5f:aca
[12124.892125] cfg80211: World regulatory domain updated:
[12124.897278] cfg80211: DFS Master region: unset
[12124.901634] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[12124.911371] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[12124.919409] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[12124.928791] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[12124.936856] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[12124.946329] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[12124.955797] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[12124.963878] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[12124.971872] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[12124.986101] cfg80211: World regulatory domain updated:
[12124.991270] cfg80211: DFS Master region: unset
[12124.995627] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[12125.005426] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[12125.013450] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[12125.022841] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[12125.030866] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[12125.040334] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[12125.053741] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[12125.061850] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[12125.069844] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)

To clarify issue, could you flash the device with jetpack3.1 with bsp rel-28.1 and see if it can work?

NetworkManager on rel-28.1 is a stable one.

Hi WayneWWW,

What version of NetworkManager on bsp rel-28.1?

Should be 1.2.0.

Hi WayneWWW,

jetpack3.1
bsp rel-28.1
NetworkManaget
kernel4.4
rootfs

The file system(rootfs),jetpack(jetpack-3.2.1) and kernel(4.4) we are using now are all modified based on the NVIDIA release version.

cat /etc/nv_tegra_release

R28 (release), REVISION: 2.0

This version code refers to the kernel version?

Sorry, I don’t get what you wanted to point out…

Different BSP revision (28.2/28.1) indicates different kernel content and different rootfs.
Although kernel version may both be 4.4, the contents are different.

Hi WayneWWW,

Refer this topic: https://devtalk.nvidia.com/default/topic/1036350
This topic says that upgrading the network manager solves the problem,but there is no mention of the upgraded network manager version.

So ,which version of the network manager is working properly?

I will test this issue with the r28.1 version on the nvidia development board(model:p2597).
But I can’t test r28.1 on our product board because we are based on r28.2 development.

Can you analyze the cause of the problem from the uploaded log?

Thanks a lot!

I’ve never seen error as your log before. Better figuring out if this error is from sw/hw or wifi environment.

Could you try to put your tx1 into different environment and test again? You could also try to use different wifi AP.

As for hw, do you have other tx1 that can do the test?

Hi WayneWWW,

The following log has an error?
nvidia@tegra-ubuntu:~$ [ 594.195254] CFG80211-ERROR) wl_cfg80211_disconnect : Reason 3
[ 594.201527] dhd_ndo_remove_ip: ndo ip addr remove failed, retcode = -23
[ 594.208187] dhd_inet6_work_handler: Removing host ip for NDO failed -23
[ 594.216825] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[ 594.223894] CFG80211-ERROR) wl_notify_connect_status : link down if wlan0 may call cfg80211_disconnected. event : 16, reason=2 from e8:fc:af:f8:9ac
[ 594.515741] CFG80211-ERROR) wl_cfg80211_disconnect : Link down event is not received
[ 594.641299] cfg80211: World regulatory domain updated:
[ 594.646550] cfg80211: DFS Master region: unset
[ 594.651011] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 594.660900] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 594.669079] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 594.677179] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 594.685342] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 594.695030] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 594.704688] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 594.712836] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 594.720897] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 594.824534] cfg80211: World regulatory domain updated:
[ 594.829885] cfg80211: DFS Master region: unset
[ 594.834263] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 594.844326] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 594.852805] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 594.861042] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 594.869099] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 594.878812] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 594.888627] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 594.896981] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 594.905116] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 596.085347] CFG80211-ERROR) wl_cfg80211_connect : Connectting withe8:fc:af:f8:9a:2c channel (6) ssid “Penguinsinnovate”, len (16)

[ 596.164241] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with e8:fc:af:f8:9a:2c
[ 596.191022] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection succeeded
[ 596.241432] dhd_ndo_add_ip: ndo ip addr add failed, retcode = -23
[ 596.247590] dhd_inet6_work_handler: Adding host ip for NDO failed -23
[ 596.312204] cfg80211: Regulatory domain changed to country: CN
[ 596.318061] cfg80211: DFS Master region: FCC
[ 596.322246] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 596.331994] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 596.340019] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (N/A)
[ 596.344415] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with e8:fc:af:f8:9a:2c
[ 596.359496] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
[ 596.369087] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 596.377312] cfg80211: (57240000 KHz - 59400000 KHz @ 2160000 KHz), (N/A, 2800 mBm), (N/A)
[ 596.385692] cfg80211: (59400000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4400 mBm), (N/A)
[ 596.394077] cfg80211: (63720000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 2800 mBm), (N/A)

I saw your device keeps disconnecting and reconnecting. Have you connected the antenna on tx2?

As I asked, could you try different WIFI ap or environment for test?