Wifi module driver issue

Hi,

The Tx1’s wifi module works properly after system boots and connected to my AP, I also can see all of the AP routes on the Ubuntu → system Settings → Network → Wireless.

But if try to turn off and turn on the wireless switch immediately for several times. The wireless network failure and those AP routes do not show up on the “Wirless” windows.

Here is the kernel log when I try to switch the Wireless switch. Is there any suggestions on this issue?

[  107.904087] WLC_E_IF: NO_IF set, event Ignored
[  107.904106] CFG80211-ERROR) wl_cfg80211_disconnect : Reason 3
[  107.914733] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[  107.904087] WLC_E_IF: NO_IF set, even[  107.921837] CFG80211-ERROR) wl_notify_connect_status : t Ignored
[  107.904106] CFG80link down if wlan0 may call cfg80211_disconnected. event : 16, reason=2 from ac:37:43:a1:12:bd
211-ERROR) wl_cfg80211_disconnect : Reason 3
[  107.914733] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[  107.921837] CFG80211-ERROR) wl_notify_connect_status : link down if wlan0 may call cfg80211_disconnected. event : 16, reason=2 from ac:37:43:a1:12:bd
[  108.222253] CFG80211-ERROR) wl_cfg80211_disconnect : Link down event is not received
[  108.222253] CFG80211-ERROR) wl_cfg80211_disconnect : Link down event is not received
[  108.259672] wl_android_wifi_off in
[  108.263294] tegra_sysfs_off
[  108.266130] tegra_sysfs_rf_test_disable
[  108.259672] wl_android_wifi_off in
[  108.263294] tegra_sysf[  108.273761] dhd_wlfc_deinit():3438, maintain HOST RXRERODER flag in tvl
s_off
[  108.266130] tegra_sysfs_rf_test_disable
[  108.273761] dhd_wlfc_deinit()[  108.287509] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 107
:3438, maintain HOST RXRERODER flag in tvl
[  108.300424] wifi_platform_set_power = 0
[  108.287509] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 107
[  108.300424] wifi_platform_set_power = 0
[  108.639780] CFGP2P-ERROR) wl_cfgp2p_del_p2p_disc_if : P2P interface unregistered
[  108.639780] CFGP2P-ERROR) wl_cfgp2p_del_p2p_disc_if : P2P interface unregistered
[  108.656015] cfg80211: World regulatory domain updated:
[  108.661295] cfg80211:  DFS Master region: unset[  108.656015] cfg80211: World regulator
y domain updated:
[  108.665902] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[  108.680610] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[  108.661295] cfg80211:  DFS Master reg[  108.689066] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
ion: unset
[  108.665902] cfg80211:   (start_freq - end_freq @ bandwidth), (max[  108.704140] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
_antenna_gain, max_eirp), (dfs_c[  108.715077] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
ac_time)
[  108.680610] cfg8021[  108.727299] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
1:   (2402000 KHz - 2472000 KHz [  108.739533] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
@ 40000 KHz), (N/A, 2000 mBm), ([  108.750366] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
N/A)
[  108.689066] cfg80211:  [  108.761120] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
 (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[  108.704140] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[  108.715077] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[  108.727299] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[  108.739533] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[  108.750366] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[  108.761120] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[  109.750093]
[  109.750093] Dongle Host Driver, version 1.201.82 (r)
[  109.750093] Compiled in drivers/net/wireless/bcmdhd on Mar  1 2018 at 20:43:08
[  109.764024] wl_android_wifi_on in
[  109.767338] wifi_platform_set_power = 1
[  109.750093]
               Dongle Host Driver, version 1.201.82 (r)
               Compiled in drivers/net/wireless/bcmdhd on Mar  1 2018 at 20:43:08
[  109.764024] wl_android_wifi_on in
[  109.767338] wifi_platform_set_power = 1
[  110.042533] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[  110.042533] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[  110.139428] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 107
[  110.139428] sdhci-tegra sdhci-tegra.1[  110.148657] F1 signature read @0x18000000=0x17214354
: Tuning already done, restoring the best tap value : 107
[  110.148657] F1 signature read @0x1[  110.161644] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2
8000000=0x17214354
[  110.171960] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[  110.161644] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2
[  110.171960] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[  110.242111] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[  110.242111] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[  110.291390] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[  110.291390] dhd_bus_init: enable 0x06, ready [  110.298405] wifi_platform_get_mac_addr
0x06 (waited 0us)
[  110.298405] wifi_platform_get_mac_add[  110.307323] Firmware up: op_mode=0x0005, MAC=00:04:4b:a1:2c:b6
r
[  110.307323] Firmware up: op_mode=0x0005, MAC=00:04:4b:a1:2c:b6
[  110.323110] dhd_preinit_ioctls pspretend_threshold for HostAPD failed  -23
[  110.323110] dhd_preinit_ioctls pspretend_threshold for HostAP[  110.336243] Firmware version = wl0: Dec 12 2017 15:09:35 version 7.35.221.34 (r679642) FWID 01-8f1f4763
D failed  -23
[  110.336243] Firmware version = wl0: Dec 12 2017 15:09[  110.351765] dhd_interworking_enable: failed to set WNM info, ret=-23
:35 version 7.35.221.34 (r679642) FWID 0[  110.361362] tegra_sysfs_on
1-8f1f4763
[  110.351765] dhd_interworking_enable: failed to set WNM info, ret=-23
[  110.361362] tegra_sysfs_on
[  110.518954] CFGP2P-ERROR) wl_cfgp2p_add_p2p_disc_if : P2P interface registered
[  110.518954] CFGP2P-ERROR) wl_cfgp2p_add_p2p_disc_if : P2P interface registered
[  110.545678] WLC_E_IF: NO_IF set, event Ignored
[  110.545678] WLC_E_IF: NO_IF set, event Ignored
[  111.437635] WLC_E_IF: NO_IF set, event Ignored
[  111.437635] WLC_E_IF: NO_IF set, event Ignored
[  111.447202] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev ffffffc07a30c000 drv_status 0x0 e_type 69 e_states 4
[  111.447202] CFG80211-ERROR) w[  111.460896] wl_android_wifi_off in
l_escan_handler : escan is not r[  111.467050] tegra_sysfs_off
eady ndev ffffffc07a30c000 drv_s[  111.472676] tegra_sysfs_rf_test_disable
tatus 0x0 e_type 69 e_states 4
[  111.4[  111.480006] dhd_wlfc_deinit():3438, maintain HOST RXRERODER flag in tvl
60896] wl_android_wifi_off in
[  111.46[  111.489949] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 107
7050] tegra_sysfs_off
[  111.472676] tegra_sysf[  111.502403] wifi_platform_set_power = 0
s_rf_test_disable
[  111.480006] dhd_wlfc_deinit():3438, maintain HOST RXRERODER flag in tvl
[  111.489949] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 107
[  111.502403] wifi_platform_set_power = 0
[  111.781746] CFGP2P-ERROR) wl_cfgp2p_del_p2p_disc_if : P2P interface unregistered
[  111.781746] CFGP2P-ERROR) wl_cfgp2p_del_p2p_disc_if : P2P interface unregistered
[  113.083474]
[  113.083474] Dongle Host Driver, version 1.201.82 (r)
[  113.083474] Compiled in drivers/net/wireless/bcmdhd on Mar  1 2018 at 20:43:08
[  113.097258] wl_android_wifi_on in
[  113.100635] wifi_platform_set_power = 1
[  113.083474]
               Dongle Host Driver, version 1.201.82 (r)
               Compiled in drivers/net/wireless/bcmdhd on Mar  1 2018 at 20:43:08
[  113.097258] wl_android_wifi_on in
[  113.100635] wifi_platform_set_power = 1
[  113.399272] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[  113.399272] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[  113.513239] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 107
[  113.513239] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 107
[  113.529186] F1 signature read @0x18000000=0x17214354
[  113.529186] F1 signature read @0x18000000=0x17214354
[  113.545388] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2
[  113.552475] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[  113.545388] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2
[  113.552475] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[  113.605737] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[  113.605737] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[  113.654834] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[  113.661770] wifi_platform_get_mac_addr
[  113.654834] dhd_bus_init: enable 0x06, ready 0x06 (wa[  113.667752] Firmware up: op_mode=0x0005, MAC=00:04:4b:a1:2c:b6
ited 0us)
[  113.661770] wifi_platform_get_mac_addr
[  113.667752] Firmware up: op_mode=0x0005, MAC=00:04:4b[  113.682940] dhd_preinit_ioctls pspretend_threshold for HostAPD failed  -23
:a1:2c:b6
[  113.682940] dhd_preinit_ioctls pspretend_threshold for HostAPD failed  -23
[  113.698861] Firmware version = wl0: Dec 12 2017 15:09:35 version 7.35.221.34 (r679642) FWID 01-8f1f4763
[  113.713589] dhd_interworking_enable: failed to set WNM info, ret=-23
[  113.698861] Firmware version [  113.720123] tegra_sysfs_on
= wl0: Dec 12 2017 15:09:35 version 7.35.221.34 (r679642) FWID 01-8f1f4763
[  113.713589] dhd_interworking_enable: failed to set WNM info, ret=-23
[  113.720123] tegra_sysfs_on
[  113.832443] CFGP2P-ERROR) wl_cfgp2p_add_p2p_disc_if : P2P interface registered
[  113.832443] CFGP2P-ERROR) wl_cfgp2p_add_p2p_disc_if : P2P interface registered
[  113.853524] WLC_E_IF: NO_IF set, event Ignored
[  113.853524] WLC_E_IF: NO_IF set, event Ignored
[  114.763194] WLC_E_IF: NO_IF set, event Ignored
[  114.763194] WLC_E_IF: NO_IF set, event Ignored
[  114.784145] wl_android_wifi_off in
[  114.787547] tegra_sysfs_off
[  114.790349] tegra_sysfs_rf_test_disable
[  114.784145] wl_android_wifi_off in
[[  114.794927] dhd_wlfc_deinit():3438, maintain HOST RXRERODER flag in tvl
  114.787547] tegra_sysfs_off
[  114.79[  114.805091] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 107
0349] tegra_sysfs_rf_test_disable
[  114.794927[  114.817495] wifi_platform_set_power = 0
] dhd_wlfc_deinit():3438, maintain HOST RXRERODER flag in tvl
[  114.805091] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 107
[  114.817495] wifi_platform_set_power = 0
[  115.104558] CFGP2P-ERROR) wl_cfgp2p_del_p2p_disc_if : P2P interface unregistered
[  115.104558] CFGP2P-ERROR) wl_cfgp2p_del_p2p_disc_if : P2P interface unregistered
[  120.598971] CFG80211-ERROR) wl_scan_timeout : timer expired but no scan request
[  120.598971] CFG80211-ERROR) wl_scan_timeout : timer expired but no scan request
[  231.141605]
[  231.141605] Dongle Host Driver, version 1.201.82 (r)
[  231.141605] Compiled in drivers/net/wireless/bcmdhd on Mar  1 2018 at 20:43:08
[  231.141605]
               Dongle Host Driver, vers[  231.158540] wl_android_wifi_on in
ion 1.201.82 (r)
               Compiled in drivers/net/wireles[  231.167817] wifi_platform_set_power = 1
s/bcmdhd on Mar  1 2018 at 20:43:08
[  231.158540] wl_android_wifi_on in
[  231.167817] wifi_platform_set_power = 1
[  231.468998] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[  231.468998] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[  231.584034] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 107
[  231.584034] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap va[  231.598462] F1 signature read @0x18000000=0x17214354
lue : 107
[  231.598462] F1 signature read @0x18000000=0x17214354
[  231.621012] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2
[  231.621012] F1 signature OK, socitype[  231.629476] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
:0x1 chip:0x4354 rev:0x1 pkg:0x2
[  231.629476] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[  231.726453] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[  231.726453] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[  231.775971] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[  231.783035] wifi_platform_get_mac_addr
[  231.775971] dhd_bus_init: enable 0x06, ready 0x06 (wa[  231.788757] Firmware up: op_mode=0x0005, MAC=00:04:4b:a1:2c:b6
ited 0us)
[  231.783035] wifi_platform_get_mac_addr
[  231.804732] dhd_preinit_ioctls pspretend_threshold for HostAPD failed  -23

[  231.804732] dhd_preinit_ioctls pspretend_threshold for HostAPD failed  -23
[  231.820811] Firmware version = wl0: Dec 12 2017 15:09:35 version 7.35.221.34 (r679642) FWID 01-8f1f4763
[  231.837077] dhd_interworking_enable: failed to set WNM info, ret=-23
[  231.820811] Firmware version [  231.843605] tegra_sysfs_on
= wl0: Dec 12 2017 15:09:35 version 7.35.221.34 (r679642) FWID 01-8f1f4763
[  231.837077] dhd_interworking_enable: failed to set WNM info, ret=-23
[  231.843605] tegra_sysfs_on
[  231.971446] CFGP2P-ERROR) wl_cfgp2p_add_p2p_disc_if : P2P interface registered
[  231.971446] CFGP2P-ERROR) wl_cfgp2p_add_p2p_disc_if : P2P interface registered
[  231.992716] WLC_E_IF: NO_IF set, event Ignored
[  231.992716] WLC_E_IF: NO_IF set, event Ignored

jjc_0115,

But if try to turn off and turn on the wireless switch immediately for several times. The wireless network failure and those AP routes do not show up on the “Wirless” windows.

What is the “wireless switch” here? Is it the GUI button on ubuntu desktop?

How frequent on/off is your usecase requiring?

Please share the version of BSP and if you can repro this issue on nvidia devkit?

Hi Wayne,

Yes, it is GUI button on Ubuntu → system Settings → Network → Wireless

within 1 second.

tegra-l4t-r28.2 with customize carries board, Our devkit of micro-USB port failure, therefore I can not reproduce this issue on nvidia devkit. Since, the wifi is build-into tx1 module, you should be get the same result on devkit.

jjc_0115,

I can reproduce your issue. We need to know what kind of usecase requires such frequently turn on/off. May I have your share?

That is the testing requirement from our verification team.

jjc_0115,

After some investigation, there is no fatal error in kernel log, so we guess the cause of this error is from NetworkManager UI. Could you try to remove/disable network manager and try other network manager GUI first?

Hi Wanyne,

I’m not sure if the root cause is related to the NetworkManager UI. Maybe the NetworkManager will re-init the wifi driver when it startups.

I tried to reload the wifi driver by following commands when the wifi failure :
$sudo rmmod bcmdhd

and the kernel log:

[ 2404.625708] dhd_prot_ioctl : bus is down. we have nothing to do
[ 2404.631633] dhd_wl_ioctl_get_intiovar: get int iovar ampdu_hostreorder failed, ERR -1
[ 2404.639496] dhd_prot_ioctl : bus is down. we have nothing to do
[ 2404.645422] dhd_wl_ioctl_set_intiovar: set int iovar tlv failed, ERR -1
[ 2404.625708] dhd_prot_ioctl : bus is down. we have nothing to do
[ 2404.631633] dhd_wl_ioctl_get_intiovar: get int iovar ampdu_hostreorder failed, ERR -1
[ [ 2404.662841] wl_android_wifi_off in
2404.639496] dhd_prot_io[ 2404.669289] tegra_sysfs_off
ctl : bus is down. we have nothi[ 2404.674151] tegra_sysfs_rf_test_disable
ng to do
[ 2404.645422][ 2404.680746] dhd_prot_ioctl : bus is down. we have nothing to do
 dhd_wl_ioctl_set_intiovar: set int iova[ 2404.688927] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 43
r tlv failed, ERR -1
[ 2404.662841] wl_android_[ 2404.701735] wifi_platform_set_power = 0
wifi_off in
[ 2404.669289] tegra_sysfs_off
[ 2404.674151] tegra_sysfs_rf_test_disable
[ 2404.680746] dhd_prot_ioctl : bus is down. we have nothing to do
[ 2404.688927] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 43
[ 2404.701735] wifi_platform_set_power = 0
[ 2404.972781] dhd_detach(): thread:dhd_watchdog_thread:e32 terminated OK
[ 2404.979776] dhd_detach(): thread:dhd_rxf:e34 terminated OK
[ 2404.972781] dhd_detach(): thread:dhd_watchdog[ 2404.986813] dhd_dpc_thread: Unexpected up_cnt 0
_thread:e32 terminated OK
[ 2404.979776[ 2404.994367] dhd_detach(): thread:dhd_dpc:e33 terminated OK
] dhd_detach(): thread:dhd_rxf:e34 terminated OK
[ 2404.986813] dhd_dpc_thread: Unexpected up_cnt 0
[ 2404.994367] dhd_detach(): thread:dhd_dpc:e33 terminated OK
[ 2405.026803] CFGP2P-ERROR) wl_cfgp2p_del_p2p_disc_if : P2P interface unregistered
[ 2405.035308] CFG80211-ERROR) wl_event_handler : [ 2405.026803] CFGP2P-ERROR) wl_cfgp2p_dwas terminated
el_p2p_disc_if : P2P interface unregiste[ 2405.044728] wl_destroy_event_handler(): thread:wl_event_handler:e2e terminated OK
red
[ 2405.035308] CFG80211-ERROR) wl_event_handler : was terminated
[ 2405.044728] wl_destroy_event_handler(): thread:wl_event_handler:e2e terminated OK
[ 2415.087336] mmc1: Timeout waiting for hardware interrupt.
[ 2415.092847] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 2415.098768] sdhci: Sys addr: 0x00000000 | Version:  0x00000303
[ 2415.104673] sdhci: Blk size: 0x00000000 | Blk cnt:  0x00000000
[ 2415.110574] sdhci: Argument: 0x00000800 | Trn mode: 0x00000000
[ 2415.116473] sdhci: Present:  0x01fb00f1 | Host ctl: 0x00000000
[ 2415.122368] sdhci: Power:    0x00000000 | Blk gap:  0x00000000
[ 2415.128264] sdhci: Wake-up:  0x00000000 | Clock:    0x00000803
[ 2415.134160] sdhci: Timeout:  0x00000000 | Int stat: 0x00000000
[ 2415.140060] sdhci: Int enab: 0x00ff0003 | Sig enab: 0x00fc0003
[ 2415.145957] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 2415.151858] sdhci: Caps:     0x376cd08c | Caps_1:   0x10006f73
[ 2415.157756] sdhci: Cmd:      0x0000341a | Max curr: 0x00000000
[ 2415.163647] sdhci: Host ctl2: 0x00003000
[ 2415.167639] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000fdd00010
[ 2415.174222] sdhci: ===========================================
[ 2415.087336] mmc1: Timeout waiting for[ 2415.181834] wifi_platform_prealloc: failed to alloc static mem section 7
 hardware interrupt.
[ 2415.092[ 2415.191355] dhd_os_prealloc: failed to alloc memory, section: 7, size: 0bytes847] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 2415.098768] sdhci: Sys addr: 0x00000000 | Version:  0x00000303
[ 2415.104673] sdhci: Blk si
ze: 0x00[ 2415.211248] mmc1: Controller never released inhibit bit(s).
000000 | Blk cnt[ 2415.220506] sdhci: =========== REGISTER DUMP (mmc1)===========
:  0x00000000
[[ 2415.227709] sdhci: Sys addr: 0x00000000 | Version:  0x00000303
 2415.110574] sd[ 2415.234908] sdhci: Blk size: 0x00000000 | Blk cnt:  0x00000000
hci: Argument: 0[ 2415.242107] sdhci: Argument: 0x00000800 | Trn mode: 0x00000000
x00000800 | Trn [ 2415.249305] sdhci: Present:  0x01fb00f1 | Host ctl: 0x00000000
mode: 0x00000000[ 2415.256504] sdhci: Power:    0x00000000 | Blk gap:  0x00000000

[ 2415.116473][ 2415.263704] sdhci: Wake-up:  0x00000000 | Clock:    0x00000803
 sdhci: Present:[ 2415.270902] sdhci: Timeout:  0x00000000 | Int stat: 0x00000000
  0x01fb00f1 | H[ 2415.278102] sdhci: Int enab: 0x00ff0003 | Sig enab: 0x00fc0003
ost ctl: 0x00000[ 2415.285301] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
000
[ 2415.1223[ 2415.292499] sdhci: Caps:     0x376cd08c | Caps_1:   0x10006f73
68] sdhci: Power[ 2415.299698] sdhci: Cmd:      0x0000341a | Max curr: 0x00000000
:    0x00000000 [ 2415.306895] sdhci: Host ctl2: 0x00003000
| Blk gap:  0x00[ 2415.312190] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000fdd00010
000000
[ 2415.1[ 2415.320076] sdhci: ===========================================
28264] sdhci: Wake-up:  0x00000000 | Clock:    0x00000803
[ 2415.134160] sdhci: Timeout:  0x00000000 | Int stat: 0x00000000
[ 2415.140060] sdhci: Int [ 2415.337666] mmc1: Controller never released inhibit bit(s).
enab: 0x[ 2415.346002] sdhci: =========== REGISTER DUMP (mmc1)===========
00ff0003 | Sig e[ 2415.352513] sdhci: Sys addr: 0x00000000 | Version:  0x00000303
[ 2415.359711] sdhci: Blk size: 0x00000000 | Blk cnt:  0x00000000

[ 2415.145957] [ 2415.366909] sdhci: Argument: 0x00000800 | Trn mode: 0x00000000
sdhci: AC12 err:[ 2415.374109] sdhci: Present:  0x01fb00f1 | Host ctl: 0x00000000
 0x00000000 | Sl[ 2415.381308] sdhci: Power:    0x00000000 | Blk gap:  0x00000000
ot int: 0x000000[ 2415.388508] sdhci: Wake-up:  0x00000000 | Clock:    0x00000803
00
[ 2415.15185[ 2415.395708] sdhci: Timeout:  0x00000000 | Int stat: 0x00000000
8] sdhci: Caps: [ 2415.402908] sdhci: Int enab: 0x00ff0003 | Sig enab: 0x00fc0003
    0x376cd08c |[ 2415.410106] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
 Caps_1:   0x100[ 2415.417304] sdhci: Caps:     0x376cd08c | Caps_1:   0x10006f73
06f73
[ 2415.15[ 2415.424505] sdhci: Cmd:      0x0000341a | Max curr: 0x00000000
7756] sd[ 2415.431704] sdhci: Host ctl2: 0x00003000
hci: Cmd:      0[ 2415.436307] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000fdd00010
x0000341[ 2415.444193] sdhci: ===========================================
a | Max curr: 0x00000000
[ 2415.163647][ 2415.451367] mmc1: Got command interrupt 0x00010001 even though no command operation was in progress.
[ 2415.463273] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 2415.469095] sdhci: Sys addr: 0x00000000 | Version:  0x00000303
[ 2415.474917] sdhci: Blk size: 0x00000000 | Blk cnt:  0x00000000
[ 2415.480739] sdhci: Argument: 0x00000800 | Trn mode: 0x00000000
[ 2415.486559] sdhci: Present:  0x01fb00f0 | Host ctl: 0x00000000
[ 2415.492381] sdhci: Power:    0x00000001 | Blk gap:  0x00000000
[ 2415.498202] sdhci: Wake-up:  0x00000000 | Clock:    0x00000807
[ 2415.504023] sdhci: Timeout:  0x00000000 | Int stat: 0x00000000
[ 2415.509845] sdhci: Int enab: 0x00ff0003 | Sig enab: 0x00fc0003
[ 2415.515666] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 2415.521486] sdhci: Caps:     0x376cd08c | Caps_1:   0x10006f73
[ 2415.527307] sdhci: Cmd:      0x0000341a | Max curr: 0x00000000
[ 2415.533125] sdhci: Host ctl2: 0x00003008
[ 2415.537041] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000fdd00010
[ 2415.543551] sdhci: ===========================================
 sdhci: Host ctl2: 0x00003000
[ 2415.167639] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000fdd00010
[ 2415.174222] sdhci: ===========================================
[ 2415.181834] wifi_platform_prealloc: failed to alloc static mem section 7
[ 2415.191355] dhd_os_[ 2415.570132] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 43
prealloc: failed to alloc memory, section: 7, si[ 2415.582670] found wifi platform device bcmdhd_wlan
ze: 0bytes
[ 2415.211248] mmc1: Control[ 2415.591215] unregister wifi platform drivers
ler never released inhibit bit(s).
[ 2415.220506] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 2415.227709] sdhci: Sys addr: 0x00000000 | Version:  0x00000303
[ 2415.234908] sdhci: Blk size: 0x00000000 | Blk cnt:  0x00000000
[ 2415.242107] sdhci: Argument: 0x00000800 | Trn mode: 0x00000000
[ 2415.249305] sdhci: Present:  0x01fb00f1 | Host ctl: 0x00000000
[ 2415.256504] sdhci: Power:    0x00000000 | Blk gap:  0x00000000
[ 2415.263704] sdhci: Wake-up:  0x00000000 | Clock:    0x00000803
[ 2415.270902] sdhci: Timeout:  0x00000000 | Int stat: 0x00000000
[ 2415.278102] sdhci: Int enab: 0x00ff0003 | Sig enab: 0x00fc0003
[ 2415.285301] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 2415.292499] sdhci: Caps:     0x376cd08c | Caps_1:   0x10006f73
[ 2415.299698] sdhci: Cmd:      0x0000341a | Max curr: 0x00000000
[ 2415.306895] sdhci: Host ctl2: 0x00003000
[ 2415.312190] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000fdd00010
[ 2415.320076] sdhci: ===========================================
[ 2415.337666] mmc1: Controller never released inhibit bit(s).
[ 2415.346002] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 2415.352513] sdhci: Sys addr: 0x00000000 | Version:  0x00000303
[ 2415.359711] sdhci: Blk size: 0x00000000 | Blk cnt:  0x00000000
[ 2415.366909] sdhci: Argument: 0x00000800 | Trn mode: 0x00000000
[ 2415.374109] sdhci: Present:  0x01fb00f1 | Host ctl: 0x00000000
[ 2415.381308] sdhci: Power:    0x00000000 | Blk gap:  0x00000000
[ 2415.388508] sdhci: Wake-up:  0x00000000 | Clock:    0x00000803
[ 2415.395708] sdhci: Timeout:  0x00000000 | Int stat: 0x00000000
[ 2415.402908] sdhci: Int enab: 0x00ff0003 | Sig enab: 0x00fc0003
[ 2415.410106] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 2415.417304] sdhci: Caps:     0x376cd08c | Caps_1:   0x10006f73
[ 2415.424505] sdhci: Cmd:      0x0000341a | Max curr: 0x00000000
[ 2415.431704] sdhci: Host ctl2: 0x00003000
[ 2415.436307] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000fdd00010
[ 2415.444193] sdhci: ===========================================
[ 2415.451367] mmc1: Got command interrupt 0x00010001 even though no command operation was in progress.
[ 2415.463273] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 2415.469095] sdhci: Sys addr: 0x00000000 | Version:  0x00000303
[ 2415.474917] sdhci: Blk size: 0x00000000 | Blk cnt:  0x00000000
[ 2415.480739] sdhci: Argument: 0x00000800 | Trn mode: 0x00000000
[ 2415.486559] sdhci: Present:  0x01fb00f0 | Host ctl: 0x00000000
[ 2415.492381] sdhci: Power:    0x00000001 | Blk gap:  0x00000000
[ 2415.498202] sdhci: Wake-up:  0x00000000 | Clock:    0x00000807
[ 2415.504023] sdhci: Timeout:  0x00000000 | Int stat: 0x00000000
[ 2415.509845] sdhci: Int enab: 0x00ff0003 | Sig enab: 0x00fc0003
[ 2415.515666] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 2415.521486] sdhci: Caps:     0x376cd08c | Caps_1:   0x10006f73
[ 2415.527307] sdhci: Cmd:      0x0000341a | Max curr: 0x00000000
[ 2415.533125] sdhci: Host ctl2: 0x00003008
[ 2415.537041] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000fdd00010
[ 2415.543551] sdhci: ===========================================
[ 2415.570132] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 43
[ 2415.582670] found wifi platform device bcmdhd_wlan
[ 2415.591215] unregister wifi platform drivers

and startup the wifi driver by :
sudo insmod /lib/modules/4.4.38-tegra/kernel/drivers/net/wireless/bcmdhd/bcmdhd.ko

and the kernel log:

[ 2437.979347] dhd_module_init in
[ 2437.982971] found wifi platform device bcmdhd_wlan
[ 2437.979347] dhd_module_init in
[ 2437.982971[ 2437.988982] Power-up adapter 'DHD generic adapter'
] found wifi platform device bcmdhd_wlan
[ 2437.988982] Power-up adapter 'DHD generic adapter'
[ 2438.044996] dhd_mmc_power_restore_sdhci_host: mmc_restore fail
[ 2438.051184] wifi_platform_set_power = 1
[ 2438.044996] dhd_mmc_power_restore_sdhci_host: mmc_restore fail
[ 2438.051184] wifi_platform_set_power = 1
[ 2438.259293] wifi_platform_bus_enumerate device present 1
[ 2438.259293] wifi_platform_bus_enumerate devic[ 2438.268996] dummy_sdmmc: probe of mmc1:0001:1 failed with error -110
e present 1
[ 2438.278911] dummy_sdmmc: probe of mmc1:0001:2 failed with error -123
[ 2438.268996] dummy_sdmmc: probe of mmc1:0001:1 failed [ 2438.288510] mmc1: card 0001 removed
with error -110
[ 2438.278911] dummy_sdmmc: probe of mmc1:0001:2 failed with er[ 2438.299043] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 43
ror -123
[ 2438.288510] mmc1: card 0001 removed
[ 2438.299043] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 43
[ 2438.384939] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[ 2438.384939] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[ 2438.493011] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 43
[ 2438.493011] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 43
[ 2438.519747] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[ 2438.525427] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[ 2438.519747] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[ 2438.525427] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[ 2438.555601] wifi_platform_bus_enumerate device present 0
[ 2438.555601] wifi_platform_bus[ 2438.563372] F1 signature read @0x18000000=0x17214354
_enumerate device present 0
[ 2438.563372] F1 signature read @0x1800[ 2438.575401] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2
0000=0x17214354
[ 2438.585510] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 2438.575401] F1 signature OK, [ 2438.593510] wifi_platform_prealloc: failed to alloc static mem section 7
socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2[ 2438.603150] wifi_platform_get_mac_addr

[ 2438.585510] DHD: dongle ram size is[ 2438.610721] CFG80211-ERROR) wl_setup_wiphy :  set to 786432(orig 786432) at 0Registering Vendor80211
x180000
[ 2438.593510] wifi_platform_pr[ 2438.622940] wl_create_event_handler(): thread:wl_event_handler:162b started
ealloc: failed to alloc static m[ 2438.633207] CFG80211-ERROR) wl_event_handler : em section 7
[ 2438.603150] wiftsk Enter, tsk = 0xffffffc04e8a1a70
i_platform_get_mac_addr
[ 2438.[ 2438.640459] dhd_attach(): thread:dhd_watchdog_thread:162f started
610721] CFG80211-ERROR) wl_setup[ 2438.640491] dhd_attach(): thread:dhd_dpc:1630 started
_wiphy : Registering Vendor80211[ 2438.640535] dhd_attach(): thread:dhd_rxf:1631 started

[ 2438.622940] wl_create_event[ 2438.640541] dhd_deferred_work_init: work queue initialized
_handler(): thread:wl_event_handler:162b started
[ 2438.633207] CFG8021[ 2438.683230] Dongle Host Driver, version 1.201.82 (r)
[ 2438.683230] Compiled in drivers/net/wireless/bcmdhd on Mar  1 2018 at 20:43:08
1-ERROR) wl_event_handler : tsk Enter, t[ 2438.699241] tegra_sysfs_register
sk = 0xffffffc04e8a1a70
[ 2438.640459] dhd_atta[ 2438.706416] Register interface [wlan0]  MAC: 00:04:4b:a1:2d:28
[ 2438.706416]
ch(): thread:dhd_watchdog_thread:162f st[ 2438.716913] dhd_prot_ioctl : bus is down. we have nothing to do
arted
[ 2438.640491] dhd_attach(): thre[ 2438.726331] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 43
ad:dhd_dpc:1630 started
[ 2438.640535] dhd_attach(): th[ 2438.739702] wifi_platform_set_power = 0
read:dhd_rxf:1631 started
[ 2438.640541] dhd_deferred_work_init: work queue initialized
[ 2438.683230] Dongle Host Driver, version 1.201.82 (r)
               Compiled in drivers/net/wireless/bcmdhd on Mar  1 2018 at 20:43:08
[ 2438.699241] tegra_sysfs_register
[ 2438.706416] Register interface [wlan0]  MAC: 00:04:4b:a1:2d:28

[ 2438.716913] dhd_prot_ioctl : bus is down. we have nothing to do
[ 2438.726331] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 43
[ 2438.739702] wifi_platform_set_power = 0
[ 2439.005587] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2439.011701]
[ 2439.011701] Dongle Host Driver, version 1.201.82 (r)
[ 2439.011701] Compiled in drivers/net/wireless/bcmdhd on Mar  1 2018 at 20:43:08
[ 2439.025449] wl_android_wifi_on in
[ 2439.005587] IPv6: ADDRCONF(NE[ 2439.028797] wifi_platform_set_power = 1
TDEV_UP): wlan0: link is not ready
[ 2439.011701]
               Dongle Host Driver, version 1.201.82 (r)
               Compiled in drivers/net/wireless/bcmdhd on Mar  1 2018 at 20:43:08
[ 2439.025449] wl_android_wifi_on in
[ 2439.028797] wifi_platform_set_power = 1
[ 2439.323266] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[ 2439.323266] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[ 2439.436052] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 43
[ 2439.448318] F1 signature read @0x18000000=0x17214354
[ 2439.436052] sdhci-tegra sdhci-tegra.1: Tuning already done, restoring the best tap value : 43
[ 2439.448318] F1 signature read @0x18000000=0x17214354
[ 2439.464947] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2
[ 2439.464947] F1 signature OK, socitype:0x1 chi[ 2439.476136] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
p:0x4354 rev:0x1 pkg:0x2
[ 2439.476136] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 2439.548132] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 2439.548132] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 2439.597567] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 2439.604111] wifi_platform_get_mac_addr
[ 2439.597567] dhd_bus_init: enable 0x06, ready 0x06 (wa[ 2439.610056] Firmware up: op_mode=0x0005, MAC=00:04:4b:a1:2d:28
ited 0us)
[ 2439.604111] wifi_platform_get_mac_addr
[ 2439.610056] Firmware up: op_mode=0x0005, MAC=00:04:4b:a[ 2439.625466] dhd_preinit_ioctls pspretend_threshold for HostAPD failed  -23
1:2d:28
[ 2439.625466] dhd_preinit_ioctls pspretend_threshold fo[ 2439.641317] Firmware version = wl0: Dec 12 2017 15:09:35 version 7.35.221.34 (r679642) FWID 01-8f1f4763
r HostAPD failed  -23
[ 2439.641317] Firmware version = wl0: Dec 12 20[ 2439.656734] dhd_interworking_enable: failed to set WNM info, ret=-23
17 15:09:35 version 7.35.221.34 (r679642[ 2439.666089] tegra_sysfs_on
) FWID 01-8f1f4763
[ 2439.656734] dhd_interworking_enable: failed to set WNM info, ret=-23
[ 2439.666089] tegra_sysfs_on
[ 2439.781315] CFGP2P-ERROR) wl_cfgp2p_add_p2p_disc_if : P2P interface registered
[ 2439.781315] CFGP2P-ERROR) wl_cfgp2p_add_p2p_disc_if : P2P interface registered
[ 2439.804936] WLC_E_IF: NO_IF set, event Ignored
[ 2439.804936] WLC_E_IF: NO_IF set, event Ignored

and the wifi module seems works fine.

[ 2441.447435] CFG80211-ERROR) wl_cfg80211_connect : Connectting withac:37:43:a1:12:bd channel (6) ssid "AndroidAP", len (9)

[ 2441.447435] CFG80211-ERROR) wl_cfg80211_connect : Connectting withac:37:43:a1:12:bd channel (6) ssid "AndroidAP", len (9)

[ 2441.535147] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with ac:37:43:a1:12:bd
[ 2441.535147] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with ac:37:43:a1:12:bd
[ 2441.563663] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection succeeded
[ 2441.563663] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection succeeded
[ 2441.627438] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with ac:37:43:a1:12:bd
[ 2441.627438] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with ac:37:43:a1:12:bd
[ 2441.654711] dhd_ndo_add_ip: ndo ip addr add failed, retcode = -23
[ 2441.660973] dhd_inet6_work_handler: Adding host ip for NDO failed -23
[ 2441.654711] dhd_ndo_add_ip: ndo ip addr add failed, retcode = -23
[ 2441.660973] dhd_inet6_work_handler: Adding host ip for NDO failed -23

jjc_0115,

Have you tried other Network configuration GUI?

The issue seems to have disappeared. After updating to the newest version of network-manager via following command.

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