This is a log with the debug setting.
For some reason, when the wifi has problem, our camera may return select timeout.(opencv v4l2 backend)
For our environment, temporary network lost is inconvenience but not too bad, but this camera problem is.
In the log, “restoring control 00000000-0000-0000-0000-000000000001/1/2” is the reinitialization of the camera. Our app level log returns select timeout.
[ 3362.959327] Avoid pkt processing if credit is low (<3)
[ 3362.965389] Avoid pkt processing if credit is low (<3)
[ 3362.972307] Avoid pkt processing if credit is low (<3)
[ 3362.978821] Avoid pkt processing if credit is low (<3)
[ 3362.985352] Avoid pkt processing if credit is low (<3)
[ 3362.991525] Avoid pkt processing if credit is low (<3)
[ 3362.998431] Avoid pkt processing if credit is low (<3)
[ 3363.004747] Avoid pkt processing if credit is low (<3)
[ 3363.011632] Avoid pkt processing if credit is low (<3)
[ 3392.695478] wl_host_event: Link event 11, flags 0, status 0
[ 3392.701763] MACEVENT: WLC_E_DISASSOC, MAC 56:xx:xx:92:xx:02
[ 3392.707884] wl_host_event: Link event 16, flags 0, status 0
[ 3392.714264] MACEVENT: WLC_E_LINK DOWN
[ 3392.718431] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[ 3392.725386] CFG80211-ERROR) wl_notify_connect_status : link down if wlan0 may call cfg80211_disconnected. event : 16, reason=2 from 56:xx:xx:92:xx:02
[ 3392.753687] CFG80211-ERROR) wl_cfg80211_connect : Connectting with92:xx:xx:18:xx:01 channel (44) ssid "my-ssid", len (14)
[ 3392.820804] MACEVENT: WLC_E_ASSOC_REQ_IE
[ 3392.825438] MACEVENT: WLC_E_AUTH, MAC 92:xx:xx:18:xx:01, Open System, SUCCESS
[ 3392.833959] MACEVENT: WLC_E_ASSOC_RESP_IE
[ 3392.838818] MACEVENT: WLC_E_ASSOC, MAC 92:xx:xx:18:xx:01, SUCCESS
[ 3392.846159] wl_host_event: Link event 16, flags 1, status 0
[ 3392.852849] MACEVENT: WLC_E_LINK UP
[ 3392.856986] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 92:xx:xx:18:xx:01
[ 3392.875155] SCV_DEBUG, wifi power_set, wldev_ioctl 67, set:0
[ 3392.901218] CFG80211-ERROR) wl_bss_connect_done :
[ 3392.901273] ------------[ cut here ]------------
[ 3392.901276] WARNING: at ffffffc000b3705c [verbose debug info unavailable]
[ 3392.901277] Modules linked in:
[ 3392.901279] fuse
[ 3392.901281] ipt_MASQUERADE
[ 3392.901282] nf_nat_masquerade_ipv4
[ 3392.901282] iptable_nat
[ 3392.901283] nf_nat_ipv4
[ 3392.901284] xt_addrtype
[ 3392.901285] iptable_filter
[ 3392.901286] ip_tables
[ 3392.901287] xt_conntrack
[ 3392.901288] nf_nat
[ 3392.901288] br_netfilter
[ 3392.901289] overlay
[ 3392.901290] leaf(O)
[ 3392.901291] kvcommon(O)
[ 3392.901292] snd_usb_audio
[ 3392.901293] snd_hwdep
[ 3392.901294] uvcvideo
[ 3392.901295] snd_usbmidi_lib
[ 3392.901296] xpad
[ 3392.901297] videobuf2_vmalloc
[ 3392.901297] xsens_mt
[ 3392.901298] bcmdhd
[ 3392.901299] pci_tegra
[ 3392.901300] bluedroid_pm
[ 3392.901305] CPU: 3 PID: 491 Comm: kworker/u12:2 Tainted: G W O 4.4.38+ #2
[ 3392.901306] Hardware name: quill (DT)
[ 3392.901314] Workqueue: cfg80211 cfg80211_event_work
[ 3392.901316] task: ffffffc1b9c73200 ti: ffffffc1868d0000 task.ti: ffffffc1868d0000
[ 3392.901319] PC is at __cfg80211_connect_result+0x220/0x254
[ 3392.901321] LR is at __cfg80211_connect_result+0xb8/0x254
[ 3392.901323] pc : [<ffffffc000b3705c>] lr : [<ffffffc000b36ef4>] pstate: 40000045
[ 3392.901323] sp : ffffffc1868d3c90
[ 3392.901324] x29: ffffffc1868d3ca0
[ 3392.901325] x28: 0000000000000000
[ 3392.901327] x27: 0000000000000000
[ 3392.901327] x26: ffffffc0013c66f8
[ 3392.901329] x25: ffffffc06ffdc218
[ 3392.901329] x24: ffffffc000d3ab54
[ 3392.901330] x23: ffffffc07a5ec6b0
[ 3392.901331] x22: ffffffc06ffdc218
[ 3392.901332] x21: 0000000000000000
[ 3392.901333] x20: 0000000000000000
[ 3392.901334] x19: ffffffc07a5ec600
[ 3392.901335] x18: 0000000000000000
[ 3392.901336] x17: ffffffc000b62a60
[ 3392.901336] x16: ffffffc000b62a60
[ 3392.901337] x15: ffffffc000b62a60
[ 3392.901338] x14: 0000000000000001
[ 3392.901339] x13: 0000667bc55858f7
[ 3392.901340] x12: 0000000000359c94
[ 3392.901341] x11: 0000000000359c94
[ 3392.901342] x10: 0000000000000001
[ 3392.901343] x9 : 0000000000000010
[ 3392.901343] x8 : ffffffbffc0b0bf8
[ 3392.901344] x7 : ffffffc1e0203a48
[ 3392.901345] x6 : 0000000000000002
[ 3392.901346] x5 : 00000000fffffffe
[ 3392.901347] x4 : 0000000000000000
[ 3392.901348] x3 : ffffffc001401700
[ 3392.901348] x2 : 0000000000000000
[ 3392.901349] x1 : 0000000000000000
[ 3392.901350] x0 : 0000000000000000
[ 3392.901564] ---[ end trace f6fc6841626edf6e ]---
[ 3392.901565] Call trace:
[ 3392.901570] [<ffffffc000b3705c>] __cfg80211_connect_result+0x220/0x254
[ 3392.901573] [<ffffffc000b112b4>] cfg80211_process_wdev_events+0x148/0x1a8
[ 3392.901576] [<ffffffc000b11344>] cfg80211_process_rdev_events+0x30/0x6c
[ 3392.901578] [<ffffffc000b0beb8>] cfg80211_event_work+0x1c/0x28
[ 3392.901582] [<ffffffc0000bc2d0>] process_one_work+0x154/0x434
[ 3392.901583] [<ffffffc0000bc6e4>] worker_thread+0x134/0x40c
[ 3392.901586] [<ffffffc0000c1f30>] kthread+0xe0/0xf4
[ 3392.901589] [<ffffffc000084f90>] ret_from_fork+0x10/0x40
[ 3392.904604] cfg80211: World regulatory domain updated:
[ 3392.904614] cfg80211: DFS Master region: unset
[ 3392.904620] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 3392.904637] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 3392.904650] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 3392.904658] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 3392.904668] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 3392.904679] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 3392.904688] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 3392.904696] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 3392.904704] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 3392.948433] cfg80211: World regulatory domain updated:
[ 3392.948441] cfg80211: DFS Master region: unset
[ 3392.948448] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 3392.948459] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 3392.948468] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 3392.948474] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 3392.948484] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 3392.948492] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 3392.948551] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 3392.948557] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 3392.948563] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 3393.078921] dhd_ndo_remove_ip: ndo ip addr remove failed, retcode = -23
[ 3393.078924] dhd_inet6_work_handler: Removing host ip for NDO failed -23
[ 3393.121339] MACEVENT: WLC_E_JOIN, MAC 92:xx:xx:18:xx:01
[ 3393.121375] MACEVENT: WLC_E_SET_SSID, MAC 92:xx:xx:18:xx:01
[ 3393.326734] Report connect result - connection succeeded
[ 3393.350477] CFG80211-ERROR) wl_notify_connect_status : wl_bss_connect_done succeeded with 92:xx:xx:18:xx:01
[ 3395.138819] CONSOLE: 003383.159 wl0.0: wlc_wsec_recvdata_enc_toss unsupported encrypted unicast frame from 92:xx:xx:18:xx:01
[ 3395.150206] CONSOLE: 003383.460 wl0.0: wlc_wsec_recvdata_enc_toss unsupported encrypted unicast frame from 92:xx:xx:18:xx:01
[ 3398.922810] CONSOLE: 003384.062 wl0.0: wlc_wsec_recvdata_enc_toss unsupported encrypted unicast frame from 92:xx:xx:18:xx:01
[ 3398.934189] CONSOLE: 003384.175 wl0.0: wlc_wsec_recvdata_enc_toss unsupported encrypted unicast frame from 92:xx:xx:18:xx:01
[ 3398.945503] CONSOLE: 003384.498 wl0.0: wlc_wsec_recvdata_enc_toss unsupported encrypted unicast frame from 92:xx:xx:18:xx:01
[ 3398.956778] CONSOLE: 003384.680 wl0.0: wlc_wsec_recvdata_enc_toss unsupported encrypted unicast frame from 92:xx:xx:18:xx:01
[ 3398.968187] CONSOLE: 003385.263 wl0.0: wlc_wsec_recvdata_enc_toss unsupported encrypted unicast frame from 92:xx:xx:18:xx:01
[ 3402.903281] SCV_DEBUG, wifi power_set, wldev_ioctl 67, set:2
[ 3403.819100] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 3403.878777] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 3403.983905] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 3407.872085] CONSOLE: e from 92:xx:xx:18:xx:01
[ 3409.088216] serial-tegra c280000.serial: configured rate out of supported range by -0.2 %
[ 3411.662839] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 3411.950095] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 3411.950489] restoring control 00000000-0000-0000-0000-000000000001/1/2
[ 3411.950498] restoring control 00000000-0000-0000-0000-000000000001/3/4
[ 3411.950505] restoring control 00000000-0000-0000-0000-000000000001/5/6
[ 3411.950513] restoring control 00000000-0000-0000-0000-000000000001/17/8
[ 3411.964860] restoring control 00000000-0000-0000-0000-000000000101/9/4
[ 3412.245034] restoring control 00000000-0000-0000-0000-000000000001/1/2
[ 3412.251764] restoring control 00000000-0000-0000-0000-000000000001/3/4
[ 3412.258524] restoring control 00000000-0000-0000-0000-000000000001/5/6
[ 3412.265153] restoring control 00000000-0000-0000-0000-000000000001/17/8
[ 3412.272668] restoring control 00000000-0000-0000-0000-000000000101/9/4
[ 3413.165054] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6