Hi,now we find a issue in R28.2 on all my tx1 board.
The wifi module disconnect in two or three hours after poweron and get ip-address. In dmesg,I can see wifi module restart,but cannot get ipaddress success. If i “nmcli dev wifi con” or restart network-mananger , it can connect wifi.
This is dmesg log:
nvidia@tegra-ubuntu:~$ dmesg
[ 3377.628985] CFG80211-ERROR) wl_cfg80211_disconnect : Reason 3
[ 3377.638770] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[ 3377.645734] CFG80211-ERROR) wl_notify_connect_status : link down if wlan0 may call cfg80211_disconnected. event : 16, reason=2 from 50:fa:84:5f:ac:ba
[ 3377.942078] CFG80211-ERROR) wl_cfg80211_disconnect : Link down event is not received
[ 3377.982213] wl_android_wifi_off in
[ 3377.985931] tegra_sysfs_off
[ 3377.988762] tegra_sysfs_rf_test_disable
[ 3377.996091] dhd_wlfc_deinit():3438, maintain HOST RXRERODER flag in tvl
[ 3378.004357] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 45
[ 3378.014601] wifi_platform_set_power = 0
[ 3378.352073] cfg80211: World regulatory domain updated:
[ 3378.357231] cfg80211: DFS Master region: unset
[ 3378.361600] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 3378.371346] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 3378.379351] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 3378.387349] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 3378.395349] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 3378.404864] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 3378.414368] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 3378.422456] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 3378.430451] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 3389.789549]
Dongle Host Driver, version 1.201.82 (r)
Compiled in drivers/net/wireless/bcmdhd on Mar 1 2018 at 20:43:08
[ 3389.803354] wl_android_wifi_on in
[ 3389.806926] wifi_platform_set_power = 1
[ 3390.098447] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[ 3390.203461] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 45
[ 3390.219998] F1 signature read @0x18000000=0x17214354
[ 3390.243047] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2
[ 3390.251842] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 3390.351759] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 3390.401296] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 3390.408258] wifi_platform_get_mac_addr
[ 3390.414300] Firmware up: op_mode=0x0005, MAC=00:04:4b:9b:ba:39
[ 3390.427302] dhd_preinit_ioctls pspretend_threshold for HostAPD failed -23
[ 3390.440493] Firmware version = wl0: Dec 12 2017 15:09:35 version 7.35.221.34 (r679642) FWID 01-8f1f4763
[ 3390.453832] dhd_interworking_enable: failed to set WNM info, ret=-23
[ 3390.460353] tegra_sysfs_on
[ 3392.070303] CFGx0211-ERROR) wl_cfg80211_connect : Connectting with50:fa:84:5f:ac:ba channel (6) ssid "Penguinsinnovate", len (16)
[ 3392.337566] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 50:fa:84:5f:ac:ba
[ 3392.366061] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection succeeded
[ 3392.427908] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 50:fa:84:5f:ac:ba
[16176.623908] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[16176.632074] CFG80211-ERROR) wl_notify_connect_status : link down if wlan0 may call cfg80211_disconnected. event : 16, reason=2 from 50:fa:84:5f:ac:ba
[16176.657909] CFG80211-ERROR) wl_cfg80211_conngct : Connectting with48:7d:2e:fa:36:2e channel (11) ssid "Penguinsinnovate", len (16)
[16176.773997] CFG80211-ERROR) wl_run_escan : Escan set error (-16)
[16176.780116] CFG80211-ERROR) wl_run_escan : error (-16)
[16176.785421] CFG80211-ERROR) __wl_cfg80211_scan : Scan err = (-16), busy?-16
[16176.792319] CFG80211-ERROR) wl_cfg80211_scan :
[16176.796878] scan error (-16)
[16176.798639] cfg80211: World regulatory domain updated:
[16176.803876] cfg80211: DFS Master region: unset
[16176.808329] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[16176.822011] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[16176.830022] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[16176.838032] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 48:7d:2e:fa:36:2e
[16176.843132] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[16176.843135] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[16176.843137] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[16176.843140] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[16176.843142] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[16176.843144] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[16176.912875] ------------[ cut here ]------------
[16176.917486] WARNING: at /dvs/git/dirty/git-master_linux/kernel/kernel-4.4/net/wireless/sme.c:714
[16176.926252] Modules linked in: xt_addrtype br_netfilter bcmdhd bluedroid_pm
[16176.934724۠CPU: 1 PID: 6075 Comm: kworker/u8:1 Tainted: G W 4.4.38-tegra #1
[16176.942883] Hardware name: jetson_tx1 (DT)
[16176.946973] Workqueue: cfg80211 cfg80211_event_work
[16176.951844] task: ffffffc067e91900 ti: ffffffc07d034000 task.ti: ffffffc07d034000
[16176.959314] PC is at __cfg80211_connect_result+0x1a8/0x234
[16176.964786] LR is at __cfg80211_connect_result+0xf0/0x234
[16176.970170] pc : [<ffffffc000b05580>] lr : [<ffffffc000b054c8>] pstate: 40000145
[16176.977548] sp : ffffffc07d037c90
[16176.980852] x29: ffffffc07d037ca0 x28: 0000000000000000
[16176.986164] x27: 0000000000000000 x26: ffffffc001481278
[16176.991475] x25: ffffffc067e30218 x24: ffffffc000d73a40
[16176.996786] x23: ffffffc07b4dfeb0 x22: ffffffc067e30218
[16177.002097] x21: 0000000000000000 x20: 0000000000000000
[16177.007409] x19: ffffffc07b4dfe00 x18: 0000000000000000
[16177.012721] x17: 0000000000000000 x16: 0000000000000001
[16177.018033] x15: 0000000000000002 x14: 00000001000000f0
[16177.023344] x13: fd8c09dd002f3262 x12: 005e43420000a427
[16177.028657] x11: 0000a40300800101 x10: 0000000000000001
[16177.033970] x9 : 0000000000000010 x8 : ffffffbffc09c388
[16177.039282] x7 : ffffffc0f1257a88 x6 : 0000000000000002
[16177.044594] x5 : 00000000fffffffe x4 : 0000000000000000
[16177.049906] x3 : ffffffc0014ba700 x2 : ffffffc07d037be0
[16177.055216] x1 : 0000000000000000 x0 : 0000000000000000
[16177.062240] ---[ end trace a0a29de90eef4a83 ]---
[16177.066846] Call trace:
[16177.069288] [<ffffffc000b05580>] __cfg80211_connect_result+0x1a8/0x234
[16177.075802] [<ffffffc000adf3d0>] cfg80211_process_wdev_events+0xe8/0x1a8
[16177.082487] [<ffffffc000adf4dc>] cfg80211_process_rdev_events+0x4c/0x68
[16177.089087] [<ffffffc000ad9fbc>] cfg80211_event_work+0x1c/0x28
[16177.094908] [<ffffffc0000ba7c0>] process_one_work+0x234/0x45c
[16177.100641] [<ffffffc0000bac30>] worker_thread+0x248/0x428
[16177.106113] [<ffffffc0000c0888>] kthread+0xf8/0x100
[16177.110979] [<ffffffc0000847a0>] ret_from_fork+0x10/0x30
[16177.116350] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection succeeded
[16177.122015] cfg80211: World regulatory domain updated:
[16177.122019] cfg80211: DFS Master region: unset
[16177.122019] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[16177.122023] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[16177.122025] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[16177.122027] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[16177.122030] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[16177.122033] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[16177.122035] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[16177.122037] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[16177.122039] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[16177.211763] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 48:7d:2e:fa:36:2e
[16179.795392] IPVS: Creating netns size=1424 id=4
[16179.803125] qtaguid: iface_stat: iface_check_stats_reset_and_adjust(lo): iface reset its stats unexpectedly
[16204.467313] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[16204.474511] CFG80211-ERROR) wl_notify_connect_status : link down if wlan0 may call cfg80211_disconnected. event : 16, reason=2 from 48:7d:2e:fa:36:2e
[16204.501718] CFG80211-ERROR) wl_cfw80211_connect : Connectting with50:fa:84:5f:ac:ba channel (6) ssid "Penguinsinnovate", len (16)
[16204.616102] CFG80211-ERROR) wl_run_escan : Escan set error (-16)
[16204.622232] CFG80211-ERROR) wl_run_escan : error (-16)
[16204.632712] CFG80211-ERROR) __wl_cfg80211_scan : Scan err = (-16), busy?-16
[16204.639578] CFG80211-ERROR) wl_cfg80211_scan :
[16204.648694] scan error (-16)
[16204.657487] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 50:fa:84:5f:ac:ba
[16204.681548] ------------[ cut here ]------------
[16204.686161] WARNING: at /dvs/git/dirty/git-master_linux/kernel/kernel-4.4/net/wireless/sme.c:714
[16204.694926] Modules linked in: xt_addrtype br_netfilter bcmdhd bluedroid_pm
[16284.703397] CPU: 2 PID: 5966 Comm: kworker/u8:2 Tainted: G W 4.4.38-tegra #1
[16204.711556] Hardware name: jetson_tx1 (DT)
[16204.715647] Workqueue: cfg80211 cfg80211_event_work
[16204.720518] task: ffffffc07b3f0000 ti: ffffffc07ba18000 task.ti: ffffffc07ba18000
[16204.727987] PC is at __cfg80211_connect_result+0x1a8/0x234
[16204.733460] LR is at __cfg80211_connect_result+0xf0/0x234
[16204.738845] pc : [<ffffffc000b05580>] lr : [<ffffffc000b054c8>] pstate: 40000145
[16204.746224] sp : ffffffc07ba1bc90
[16204.749528] x29: ffffffc07ba1bca0 x28: ffffffc0fb014818
[16204.754841] x27: ffffffc0fb014ae0 x26: ffffffc001481278
[16204.760154] x25: ffffffc06d993018 x24: ffffffc000d73a40
[16204.765466] x23: ffffffc07b4dfeb0 x22: ffffffc06d993018
[16204.770777] x21: 0000000000000000 x20: 0000000000000000
[16204.776088] x19: ffffffc07b4dfe00 x18: 0000000000000000
[16204.781401] x17: 0000000000000001 x16: 0000000000000001
[16204.786718] x15: 0000000000000002 x14: 0000000000000000
[16204.792036] x13: 0000000000000000 x12: 000000050406163d
[16204.797352] x11: 0000000000000000 x10: 0000000000000001
[16204.802670] x9 : 0000000000000010 x8 : ffffffbffc09c0c8
[16204.807987] x7 : ffffffc0f1257a88 x6 : 0000000000000002
[16204.813304] x5 : 00000000fffffffe x4 : 0000000000000000
[16204.818621] x3 : ffffffc0014ba700 x2 : ffffffc07ba1bbe0
[16204.823939] x1 : 0000000000000000 x0 : 0000000000000000
[16204.831131] ---[ end trace a0a29de90eef4a84 ]---
[16204.835741] Call trace:
[16204.838189] [<ffffffc000b05580>] __cfg80211_connect_result+0x1a8/0x234
[16204.844708] [<ffffffc000adf3d0>] cfg80211_process_wdev_events+0xe8/0x1a8
[16204.851400] [<ffffffc000adf4dc>] cfg80211_process_rdev_events+0x4c/0x68
[16204.858004] [<ffffffc000ad9fbc>] cfg80211_event_work+0x1c/0x28
[16204.863831] [<ffffffc0000ba7c0>] process_one_work+0x234/0x45c
[16204.869569] [<ffffffc0000bac30>] worker_thread+0x248/0x428
[16204.875046] [<ffffffc0000c0888>] kthread+0xf8/0x100
[16204.879918] [<ffffffc0000847a0>] ret_from_fork+0x10/0x30
[16204.886304] CFG80211-ERROR) wl_bss_connect_done :
[16204.888493] cfg80211: World regulatory domain updated:
[16204.888496] cfg80211: DFS Master region: unset
[16204.888497] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[16204.888502] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[16204.888505] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[16204.888508] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[16204.888511] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[16204.888515] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[16204.888518] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[16204.888521] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[16204.888523] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[16204.977331] Report connect result - connection succeeded
[16204.982851] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 50:fa:84:5f:ac:ba
[16204.990627] cfg80211: World regulatory domain updated:
[16204.990631] cfg80211: DFS Master region: unset
[16204.990631] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[16204.990635] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[16204.990637] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[16204.990639] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[16204.990642] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[16204.990644] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[16204.990647] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[16204.990649] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[16204.990651] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[END] 2018/6/27 19:50:09
---------------------------------------------------------------------------
And i restart network-manager:
$ sudo /etc/init.d/network-manager restart
[sudo] password for nvidia:
Restarting network-manager (via systemctl): network-manager.service[20306.797349] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[20306.826871] wl_android_wifi_off in
[20306.830272] tegra_sysfs_off
[20306.833290] tegra_sysfs_rf_test_disable
[20306.847824] dhd_wlfc_deinit():3438, maintain HOST RXRERODER flag in tvl
[20306.857865] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 45
[20306.868787] wifi_platform_set_power = 0
[20307.130740] CFGP2P-ERROR) wl_cfgp2p_del_p2p_disc_if : P2P interface unregistered
.
nvidia@tegra-ubuntu:~$ [20307.382234] IPVS: Creating netns size=1424 id=5
[20307.466482] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[20307.472628]
[20307.472628] Dongle Host Driver, version 1.201.82 (r)
[20307.472628] Compiled in drivers/net/wireless/bcmdhd on Mar 1 2018 at 20:43:08
[20307.486348] wl_android_wifi_on in
[20307.489726] wifi_platform_set_power =`1
[20307.795702] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[20307.920086] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 45
[20307.936050] F1 signature read @0x18000000=0x17214354
[20307.957791] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2
[20307.966326] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[20308.068246] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[20308.118487] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[20308.125145] wifi_platform_get_mac_addr
[20308.131214] Firmware up: op_mode=0x0005, MAC=00:04:4b:9b:ba:39
[20308.144572] dhd_preinit_ioctls pspretend_threshold for HostAPD failed -23
[20308.157726] Firmware version = wl0: Dec 12 2017 15:09:35 version 7.35.221.34 (r679642) FWID 01-8f1f4763
[20308.170204] dhd_interworking_enable: failed to set WNM info, ret=-23
[20308.176820] tegra_sysfs_on
[20308.336242] IPv6: ADDRCONF(NETÅV_UP): eth0: link is not ready
[20308.355593] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[20308.641996] CFGP2P-ERROR) wl_cfgp2p_add_p2p_disc_if : P2P interface registered
[20308.659336] WLC_E_IF: NO_IF set, event Ignored
[20310.349207] CFG80211-ERROR) wl_cfg80211_connect : Connectting with50:fa:84:5f:ac:ba channel (6) ssid "Penguinsinnovate", len (16)
[20310.490675] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 50:fa:84:5f:ac:ba
[20310.517859] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection succeeded
[20310.565408] dhd_ndo_add_ip: ndo ip addr add failed, retcode = -23
[20310.571610] dhd_inet6_work_handler: Adding host ip for NDO failed -23
[20310.717222] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 50:fa:84:5f:ac:ba
So please help me . thanks.