root@linaro-alip:/# nmcli radio wifi on
root@linaro-alip:/# nmcli device wifi rescan
Error: Scanning not allowed while unavailable or activating.
root@linaro-alip:/# nmcli device wifi rescan
Error: Scanning not allowed while unavailable or activating.
root@linaro-alip:/# nmcli dev wifi list
*  SSID  MODE  CHAN  RATE  SIGNAL  BARS  SECURITY
root@linaro-alip:/# nmcli radio wifi on
root@linaro-alip:/# nmcli connection show -active
NAME  UUID  TYPE  DEVICE
root@linaro-alip:/# nmcli dev status
DEVICE  TYPE      STATE        CONNECTION
eth0    ethernet  unavailable  --
wlan0   wifi      unavailable  --
lo      loopback  unmanaged    --
root@linaro-alip:/# lsb-release -a
-bash: lsb-release: command not found
root@linaro-alip:/# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.6 (stretch)
Release:        9.6
Codename:       stretch
root@linaro-alip:/# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether f2:70:3e:e4:10:50  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 24

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@linaro-alip:/# ifconfig wlan0 up
[  816.121752] dhd_open: Enter ffffffc0f1955000
[  816.122176] dhd_open : no mutex held. set lock
[  816.122598] dhd_init_logstrs_array: Failed to open the file /installmedia/logstrs.bin
[  816.123438]
[  816.123438] Dongle Host Driver, version 1.579.77.41.9 (r)
[  816.124053] wl_ext_iapsta_attach_netdev: bssidx=0
[  816.124550] wl_android_wifi_on in 1
[  816.127929] wl_android_wifi_on in 2: g_wifi_on=0
[  816.128419] wifi_platform_set_power = 1
[  816.128770] ======== PULL WL_REG_ON(-1) HIGH! ========
[  816.129357] [WLAN_RFKILL]: rockchip_wifi_power: 1
[  816.129798] [WLAN_RFKILL]: wifi turn on power. -1
[  816.431231] sdio_reset_comm():
[  816.446465] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[  816.464246] mmc_host mmc1: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[  816.504105] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[  816.507804] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[  816.511475] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[  816.517665] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[  816.525727] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[  816.631312] mmc_host mmc1: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[  817.123045] dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 230
[  817.123801] sdioh_start: set sd_f2_blocksize 256
[  817.124856]
[  817.124856]
[  817.124856] dhd_bus_devreset: == WLAN ON ==
[  817.125869] F1 signature read @0x18000000=0x15294345
[  817.131167] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x9 pkg:0x2
[  817.132800] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000
[  817.133589] dhd_bus_set_default_min_res_mask: Unhandled chip id
[  817.134633] dhd_conf_read_config: Ignore config file /system/etc/firmware/config.txt
[  817.135492] Final fw_path=/system/etc/firmware/fw_bcm43456c5_ag.bin
[  817.136054] Final nv_path=/system/etc/firmware/nvram_ap6256.txt
[  817.136672] Final clm_path=/system/etc/firmware/clm.blob
[  817.137233] Final conf_path=/system/etc/firmware/config.txt
[  817.138447] dhdsdio_download_code_file: Open firmware file failed /system/etc/firmware/fw_bcm43456c5_ag.bin
[  817.139354] _dhdsdio_download_firmware: dongle image file download failed
[  817.139999] dhd_bus_devreset Failed to download binary to the dongle
[  817.140719] dhd_net_bus_devreset: dhd_bus_devreset: -35
[  817.141225] dhd_wl_ioctl: returning as busstate=0
[  817.141659] dhd_dbg_detach_pkt_monitor, 2204
[  817.142046] dhd_net_bus_devreset: dhd_bus_devreset: -35
[  817.142979] wifi_platform_set_power = 0
[  817.143520] ======== PULL WL_REG_ON(-1) LOW! ========
[  817.143980] [WLAN_RFKILL]: rockchip_wifi_power: 0
[  817.144589] [WLAN_RFKILL]: wifi shut off power.
[  817.145030] wl_android_wifi_on: Failed
[  817.145536] dhd_open : wl_android_wifi_on failed (-35)
[  817.146016] dhd_stop: Enter ffffffc0f1955000
[  817.146484] wl_android_wifi_off in 1
[  817.146936] wl_android_wifi_off in 2: g_wifi_on=0, on_failure=1
[  817.147597] dhd_wl_ioctl: returning as busstate=0
[  817.148032] dhd_dbg_detach_pkt_monitor, 2204
[  817.148502] dhd_net_bus_devreset: dhd_bus_devreset: -35
[  817.149276] sdioh_disable_func_intr: error for read SDIO_CCCR_IENx : 0xffffff92
[  817.149939] wifi_platform_set_power = 0
[  817.150373] ======== PULL WL_REG_ON(-1) LOW! ========
[  817.150831] [WLAN_RFKILL]: rockchip_wifi_power: 0
[  817.151428] [WLAN_RFKILL]: wifi shut off power.
[  817.151867] wl_android_wifi_off out
[  817.152282] wl_ext_iapsta_dettach_netdev: Enter
[  817.152814] dhd_stop: Exit
[  817.153101] dhd_open : the lock is released.
[  817.153575] dhd_open: Exit ret=-1
SIOCSIFFLAGS: Operation not permitted
root@linaro-alip:/# nmcli device status
DEVICE  TYPE      STATE        CONNECTION
eth0    ethernet  unavailable  --
wlan0   wifi      unavailable  --
lo      loopback  unmanaged    --
