Unstable wireless

Greetings,

My first experience with Banana Pi. After installing armbian, I am unable to maintain a stable wireless connection. Here’s a dmesg output from boot. Around 1500-2000s in the wireless drops out. This happens every boot.

Sometimes it will boot and the wireless device will not be in the list of NICs.

[   16.592177] wl_iw_event: Link UP with BSSID=02:25:00:00:95:83
[   16.592236] wl_bss_connect_done succeeded with 02:25:9c:13:95:83
[   16.626963] wl_bss_connect_done succeeded with 02:25:9c:13:95:83
[ 1540.020135] CFG80211-ERROR) wl_scan_timeout : timer expired
[ 1540.020333] CFG80211-ERROR) wl_escan_handler : WLC_E_STATUS_TIMEOUT : scan_request[d7003ec0]
[ 1540.020400] CFG80211-ERROR) wl_escan_handler : reason[0xffffffff]
[ 2135.794165] INTERNAL ERROR: FIRMWARE HALTED : set BUS DOWN
[ 2135.797889] CONSOLE: claim section 1: Returned 78856 bytes to the heap
[ 2135.797977] CONSOLE: 000000.055 wl0: wlc_enable_probe_req: state down, deferring setting of host flags
[ 2135.798047] CONSOLE: 000008.220 wl0: wl_open
[ 2135.798098] CONSOLE: 000008.243 wl0: wlc_enable_probe_req: state down, deferring setting of host flags
[ 2135.798164] CONSOLE: 000010.019 wl_nd_ra_filter_clear_cache: Enter..
[ 2135.798227] CONSOLE: 002129.067 internal error, 3707023888/2129067
[ 2135.798279] CONSOLE: 002129.067 
[ 2135.798326] CONSOLE: FWID 01-3621395e
[ 2135.798375] CONSOLE: flags 1
[ 2135.798424] CONSOLE: 002129.068 
[ 2135.798484] CONSOLE: TRAP c(7fd30): pc 1106e, lr 1104f, sp 7fd84, cpsr 6000000c, spsr 61000010
[ 2135.798570] CONSOLE: 002129.068   r0 2e, r1 7dab4, r2 1, r3 0, r4 7ad68, r5 dcf4b210, r6 4c67a
[ 2135.798647] CONSOLE: 002129.068   r7 9f, r8 1, r9 50490, r10 50490, r11 0, r12 0
[ 2135.798705] CONSOLE: 002129.068 
[ 2135.798744] CONSOLE:    sp+0 0000002e 0007dab4 00000001 00000000
[ 2135.798795] CONSOLE: 002129.068   sp+10 00000000 0001104f 0001106e 61000010
[ 2135.798844] CONSOLE: 
[ 2135.798880] CONSOLE: 002129.068 sp+14 0001104f
[ 2135.798918] CONSOLE: 002129.068 sp+54 00011671
[ 2135.798978] CONSOLE: 002129.068 sp+15c 0001d61b
[ 2135.799027] CONSOLE: 002129.068 sp+194 0002305d
[ 2135.799065] CONSOLE: 002129.068 sp+1bc 00008121
[ 2135.799102] CONSOLE: 002129.068 sp+1dc 000026fd
[ 2135.799140] CONSOLE: 002129.068 sp+1ec 00002041
[ 2135.799177] CONSOLE: 002129.068 sp+238 000029db
[ 2135.799216] CONSOLE: 002129.068 sp+258 000029db
[ 2135.799273] CONSOLE: 002129.068 sp+268 00002223
[ 2135.799318] CONSOLE: 002129.068 sp+270 00003031
[ 2135.799373] dhdsdio_checkdied: msgtrace address : 0x00000000
[ 2135.799404] console address  : 0x0007DEBC
[ 2135.799427] Assrt not built in dongle
[ 2135.799444] Dongle trap type 0xc @ epc 0x1106e, cpsr 0x6000000c, spsr 0x61000010, sp 0x7fd84,lp 0x1104f, rpc 0x1106e Trap offset 0x7fd30, r0 0x2e, r1 0x7dab4, r2 0x1, r3 0x0, r4 0x7ad68, r5 0xdcf4b210, r6 0x4c67a, r7 0x9f


[ 2135.799700] dhdsdio_dpc: failed backplane access over SDIO, halting operation
[ 2136.325935] dhd_start_xmit: xmit rejected pub.up=1 busstate=0 
[ 2136.325986] dhd_start_xmit: Event HANG sent up
[ 2136.326220] CFG80211-ERROR) wl_cfg80211_disconnect : Reason 3
[ 2136.326300] dhd_prot_ioctl : bus is down. we have nothing to do
[ 2136.326351] dhd_check_hang: Event HANG send up due to  re=0 te=0 e=-1 s=0
[ 2136.326401] dhd_check_hang: Event HANG send up due to  re=0 te=0 e=-1 s=0
[ 2136.326449] CFG80211-ERROR) wl_cfg80211_disconnect : error (-1)
[ 2136.326793] dhd_stop: Enter d7b9a000
[ 2136.326850] dhd_prot_ioctl : bus is down. we have nothing to do
[ 2136.326894] CFGP2P-ERROR) wl_cfgp2p_bss_isup : 'cfg bss -C 0' failed: -1
[ 2136.326945] CFGP2P-ERROR) wl_cfgp2p_bss_isup : NOTE: this ioctl error is normal when the BSS has not been created yet.
[ 2136.327087] dhd_prot_ioctl : bus is down. we have nothing to do
[ 2136.327132] CFG80211-ERROR) wl_notifier_change_state : wlan0:error(-1)
[ 2136.327199] dhd_prot_ioctl : bus is down. we have nothing to do
[ 2136.327383] dhd_prot_ioctl : bus is down. we have nothing to do
[ 2136.327427] CFG80211-ERROR) wl_dongle_down : WLC_DOWN error (-1)
[ 2136.327479] dhd_stop: Exit
[ 2136.339141] CFG80211-ERROR) wl_cfg80211_hang : In : chip crash eventing
[ 2136.345252] cfg80211: Calling CRDA to update world regulatory domain
[ 2136.404653] cfg80211: World regulatory domain updated:
[ 2136.404678] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 2136.404697] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2136.404715] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[ 2136.404730] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[ 2136.404744] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 2136.404759] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 2136.404773] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm)
[ 2136.404788] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 2136.404803] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[ 2140.020153] CFG80211-ERROR) wl_scan_timeout : timer expired but no scan request