3 Replies Latest reply on Jun 3, 2016 12:05 PM by Intel Corporation

    Wifi error connection with Intel Edison board

    Rahmadi

      Dear All,

       

      I'm trying to connect my Intel Edison board with our Wifi network here, but I am getting the following errors printed in dmesg. Could someone please help out?

       

      Thank you very much! Any help is appreciated!

       

      [   26.093465] Dongle Host Driver, version 1.141.59 (r)

      [   26.093465] Compiled in drivers/staging/edison-bcm43340 on Jun  1 2016 at 17:26:55

      [   26.093642] wl_android_wifi_on in

      [   26.101719] wifi_platform_set_power = 1

      [   26.652712] F1 signature OK, socitype:0x1 chip:0xa94c rev:0x2 pkg:0x0

      [   26.660541] DHD: dongle ram size is set to 524288(orig 524288) at 0x0

      [   26.669274] dhdsdio_download_firmware: firmware path=/vendor/firmware/bcm43340/fw_bcmdhd_apsta.bin, nvram path=/vendor/firmware/bcm43340/bcmdhd.cal

      [   26.860835] sdioh_request_buffer: [1] doing memory copy buf=f5771000, len=18

      [   26.871488] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

      [   27.039944] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)

      [   27.050777] wifi_platform_get_mac_addr

      [   27.050886] wifi_get_mac_addr_intel: unable to open /config/wifi/mac.txt

      [   27.063409] Firmware up: op_mode=0x0002, MAC=90:b6:86:0e:96:41

      [   27.085033] Firmware version = wl0: Jan 30 2015 19:22:32 version 6.20.190.3 (r530911) FWID 01-5b07cccc

      [   27.088281] dhd_preinit_ioctls wl ampdu_hostreorder failed -23

      [   27.091969] dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79

      [   27.092952] dhd_wlfc_init(): wlfc_mode=0x0, ret=-23

      [   27.178927] CFG80211-ERROR) wl_update_wiphybands : bw_cap failed, -23

      [   27.315854] CFG80211-ERROR) __wl_cfg80211_scan : Invalid Scan Command at SoftAP mode

      [   27.315989] CFG80211-ERROR) wl_cfg80211_scan : scan error (-22)

      [   27.511787] dhd_set_mcast_list_handler: interface info not available/down

      [   27.511915] dhd_set_mcast_list_handler: interface info not available/down

      [   27.512214] wl_android_wifi_off in

      [   27.534833] dhd_wlfc_deinit():3248, ampdu_hostreorder get failed Err = -23

      [   27.535672] dhd_wlfc_deinit():3268 successfully disabled bdcv2 tlv signaling, 0

      [   27.536512] wifi_platform_set_power = 0

      [   27.947326]

      [   27.947326] Dongle Host Driver, version 1.141.59 (r)

      [   27.947326] Compiled in drivers/staging/edison-bcm43340 on Jun  1 2016 at 17:26:55

      [   27.966456] wl_android_wifi_on in

      [   27.966522] wifi_platform_set_power = 1

      [   28.522501] F1 signature OK, socitype:0x1 chip:0xa94c rev:0x2 pkg:0x0

      [   28.530313] DHD: dongle ram size is set to 524288(orig 524288) at 0x0

      [   28.538892] dhdsdio_download_firmware: firmware path=system/vendor/firmware/bcm43340/fw_bcmdhd_apsta.bin, nvram path=system/vendor/firmware/bcm43340/bcmdhd.cal

      [   28.661968] sdioh_request_buffer: [1] doing memory copy buf=f5771000, len=18

      [   28.672243] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

      [   28.840699] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)

      [   28.851358] wifi_platform_get_mac_addr

      [   28.851462] wifi_get_mac_addr_intel: unable to open /config/wifi/mac.txt

      [   28.864077] Firmware up: op_mode=0x0002, MAC=90:b6:86:0e:96:41

      [   28.884619] Firmware version = wl0: Jan 30 2015 19:22:32 version 6.20.190.3 (r530911) FWID 01-5b07cccc

      [   28.888018] dhd_preinit_ioctls wl ampdu_hostreorder failed -23

      [   28.897380] dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79

      [   28.898363] dhd_wlfc_init(): wlfc_mode=0x0, ret=-23

      [   28.998804] CFG80211-ERROR) wl_update_wiphybands : bw_cap failed, -23

      [   29.054361] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3

      [   29.068527] CFG80211-ERROR) wl_cfg80211_set_channel : netdev_ifidx(3), chan_width(0) target channel(6)

      [   29.124961] CFG80211-ERROR) wl_cfg80211_parse_ies : No WPSIE in beacon

      [   29.125075] CFG80211-ERROR) wl_cfg80211_parse_ies : No WPSIE in beacon

      [   29.162030] _dhd_wlfc_mac_entry_update():1644, entry(32)

      [  274.598218] CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DISASSOC_IND(12) status 0 reason 8

      [  274.600956] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : 60:f1:89:96:45:f6 scb_val.val 3

      [  275.504445] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3

      [  275.626218] _dhd_wlfc_mac_entry_update():1644, entry(32)

      [  275.701838] dhd_rx_frame: net device is NOT registered yet. drop packet

      [  275.710895] wl_android_wifi_off in

      [  275.718854] dhd_wlfc_deinit():3248, ampdu_hostreorder get failed Err = -23

      [  275.726262] dhd_wlfc_deinit():3268 successfully disabled bdcv2 tlv signaling, 0

      [  275.734202] wifi_platform_set_power = 0

      [  275.741203] hostapd (214) used greatest stack depth: 4768 bytes left

      [  275.804467]

      [  275.804467] Dongle Host Driver, version 1.141.59 (r)

      [  275.804467] Compiled in drivers/staging/edison-bcm43340 on Jun  1 2016 at 17:26:55

      [  275.804650] wl_android_wifi_on in

      [  275.813683] wifi_platform_set_power = 1

      [  276.388340] F1 signature OK, socitype:0x1 chip:0xa94c rev:0x2 pkg:0x0

      [  276.396196] DHD: dongle ram size is set to 524288(orig 524288) at 0x0

      [  276.404913] dhdsdio_download_firmware: firmware path=/vendor/firmware/bcm43340/fw_bcmdhd_sta.bin, nvram path=/vendor/firmware/bcm43340/bcmdhd.cal

      [  276.527124] sdioh_request_buffer: [1] doing memory copy buf=f5774000, len=18

      [  276.537770] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

      [  276.706135] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)

      [  276.717017] wifi_platform_get_mac_addr

      [  276.717146] wifi_get_mac_addr_intel: unable to open /config/wifi/mac.txt

      [  276.731857] Firmware up: op_mode=0x0015, MAC=90:b6:86:0e:96:41

      [  276.753994] Firmware version = wl0: Jan 30 2015 19:22:32 version 6.20.190.3 (r530911) FWID 01-5b07cccc

      [  276.755049] dhd_preinit_ioctls wl ampdu_hostreorder failed -23

      [  276.854950] CFG80211-ERROR) wl_update_wiphybands : bw_cap failed, -23

      [  277.289447] CFGP2P-ERROR) wl_cfgp2p_add_p2p_disc_if : P2P interface registered

      [  277.300337] WLC_E_IF: NO_IF set, event Ignored

      [  282.448480] CFG80211-ERROR) wl_cfg80211_connect : Connectting with74:da:38:68:72:84 channel (11) ssid "OpenWrt", len (7)

      [  282.448480]

      [  282.529504] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  282.544386] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  286.532862] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH_IND

      [  286.532996] link down if wlan0 may call cfg80211_disconnected. event : 6, reason=2 from 74:da:38:68:72:84

      [  286.535531] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK

      [  286.544300] cfg80211: Calling CRDA to update world regulatory domain

      [  290.899567] CFG80211-ERROR) wl_cfg80211_connect : Connectting with74:da:38:68:72:84 channel (11) ssid "OpenWrt", len (7)

      [  290.899567]

      [  290.977548] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  291.042816] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  294.981597] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH_IND

      [  294.981731] link down if wlan0 may call cfg80211_disconnected. event : 6, reason=2 from 74:da:38:68:72:84

      [  294.984165] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK

      [  294.993142] cfg80211: Calling CRDA to update world regulatory domain

      [  295.196241] CFG80211-ERROR) wl_cfg80211_connect : Connectting with74:da:38:68:72:84 channel (11) ssid "OpenWrt", len (7)

      [  295.196241]

      [  295.214627] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  295.240484] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  299.231046] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH_IND

      [  299.231178] link down if wlan0 may call cfg80211_disconnected. event : 6, reason=2 from 74:da:38:68:72:84

      [  299.236268] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK

      [  299.252508] cfg80211: Calling CRDA to update world regulatory domain

      [  303.664249] CFG80211-ERROR) wl_cfg80211_connect : Connectting with74:da:38:68:72:84 channel (11) ssid "OpenWrt", len (7)

      [  303.664249]

      [  303.736005] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  303.748327] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  307.749533] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH_IND

      [  307.749667] link down if wlan0 may call cfg80211_disconnected. event : 6, reason=2 from 74:da:38:68:72:84

      [  307.752136] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK

      [  307.761395] cfg80211: Calling CRDA to update world regulatory domain

      [  307.954438] CFG80211-ERROR) wl_cfg80211_connect : Connectting with74:da:38:68:72:84 channel (11) ssid "OpenWrt", len (7)

      [  307.954438]

      [  307.992304] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  308.038551] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  312.009373] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH_IND

      [  312.009506] link down if wlan0 may call cfg80211_disconnected. event : 6, reason=2 from 74:da:38:68:72:84

      [  312.014134] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK

      [  312.037923] cfg80211: Calling CRDA to update world regulatory domain

      [  316.392996] CFG80211-ERROR) wl_cfg80211_connect : Connectting with74:da:38:68:72:84 channel (11) ssid "OpenWrt", len (7)

      [  316.392996]

      [  316.464844] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  316.554308] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  320.478234] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH_IND

      [  320.478368] link down if wlan0 may call cfg80211_disconnected. event : 6, reason=2 from 74:da:38:68:72:84

      [  320.481526] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK

      [  320.499585] cfg80211: Calling CRDA to update world regulatory domain

      [  324.728574] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  336.189349] CFG80211-ERROR) wl_cfg80211_connect : Connectting with74:da:38:68:72:84 channel (11) ssid "OpenWrt", len (7)

      [  336.189349]

      [  336.282154] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  336.297706] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  340.275575] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH_IND

      [  340.275708] link down if wlan0 may call cfg80211_disconnected. event : 6, reason=2 from 74:da:38:68:72:84

      [  340.278186] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK

      [  340.303730] cfg80211: Calling CRDA to update world regulatory domain

      [  344.541473] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  358.674866] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  368.152900] CFG80211-ERROR) wl_cfg80211_connect : Connectting with74:da:38:68:72:84 channel (11) ssid "OpenWrt", len (7)

      [  368.152900]

      [  368.257601] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  368.357166] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  372.271108] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH_IND

      [  372.271241] link down if wlan0 may call cfg80211_disconnected. event : 6, reason=2 from 74:da:38:68:72:84

      [  372.273786] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK

      [  372.292426] cfg80211: Calling CRDA to update world regulatory domain

      [  376.482943] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  390.736987] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  404.860464] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  418.963315] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  432.221346] CFG80211-ERROR) wl_cfg80211_connect : Connectting with74:da:38:68:72:84 channel (11) ssid "OpenWrt", len (7)

      [  432.221346]

      [  432.298133] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  432.337066] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  436.301849] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH_IND

      [  436.301981] link down if wlan0 may call cfg80211_disconnected. event : 6, reason=2 from 74:da:38:68:72:84

      [  436.304518] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK

      [  436.334470] cfg80211: Calling CRDA to update world regulatory domain

      [  440.502206] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  454.624594] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  468.752301] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  482.855453] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  547.080449] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  560.242329] CFG80211-ERROR) wl_cfg80211_connect : Connectting with74:da:38:68:72:84 channel (11) ssid "OpenWrt", len (7)

      [  560.242329]

      [  560.341378] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  560.440743] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  564.334772] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH_IND

      [  564.334906] link down if wlan0 may call cfg80211_disconnected. event : 6, reason=2 from 74:da:38:68:72:84

      [  564.337425] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK

      [  564.363370] cfg80211: Calling CRDA to update world regulatory domain

      [  568.535049] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  582.778587] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  596.959281] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  611.236626] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  675.376919] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  739.517142] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  803.668300] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  816.096872] CFG80211-ERROR) wl_cfg80211_connect : Connectting with74:da:38:68:72:84 channel (11) ssid "OpenWrt", len (7)

      [  816.096872]

      [  816.175389] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  816.187531] wl_bss_connect_done succeeded with 74:da:38:68:72:84

      [  820.189510] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH_IND

      [  820.189644] link down if wlan0 may call cfg80211_disconnected. event : 6, reason=2 from 74:da:38:68:72:84

      [  820.194221] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK

      [  820.210798] cfg80211: Calling CRDA to update world regulatory domain

      [  824.449056] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  838.790719] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  852.962452] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  867.152224] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  931.448313] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [  995.641785] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [ 1059.758450] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [ 1123.936938] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [ 1188.132323] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

      [ 1252.387232] CFG80211-ERROR) wl_cfg80211_sched_scan_start : Invalid sched scan req!! n_ssids:0

        • 1. Re: Wifi error connection with Intel Edison board
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hi,

          Could you let us know more about the configuration you are using?
          1.    Which image are you using? What is the output of running uname -a?
          2.    Are you changing a service or are you using the default configuration?
          3.    Are you setting the WiFi network with configure_edison --setup or connman? If you are not using these services, please let us know how you are configuring it.
          4.    What is the output of running systemctl status wpa_supplicant and systemctl status connman?
          5.    Please let us know as much you can related to the hardware and configuration you are using so we could identify the root of the problems you have.

          I suggest you to flash the board with the latest image (3.0 release) using the flashall script:
          https://communities.intel.com/docs/DOC-25154
          https://software.intel.com/en-us/iot/hardware/edison/downloads 
          Then configure the WiFi network with configure_edison --setup and attach a screenshot of what you get on console after setting the password, name and WiFi, we could identify a problem there or if something is right.

          Regards,
          -Charlie

          • 2. Re: Wifi error connection with Intel Edison board
            Rahmadi

            Hi Charlie,

             

            Here are the answers. In short, I am using Intel Edison board for Google Brillo.

             

            1.    Which image are you using? What is the output of running uname -a?

            Linux localhost 3.10.89-brillo-edison #1 SMP PREEMPT Wed Jun 1 17:30:09 PDT 2016 i686

             

            2.    Are you changing a service or are you using the default configuration?

            I am using the default configuration.

             

            3.    Are you setting the WiFi network with configure_edison --setup or connman? If you are not using these services, please let us know how you are configuring it.

            This version of Linux for Brillo seems to not have configure_edison (I checked it on forums that we can use this command but I couldn't find it (see the following). We are using the Weave Device Manager application (Android app) to configure this Edison-Brillo board.

            # configure_edison

            /system/bin/sh: configure_edison: not found

             

            4.    What is the output of running systemctl status wpa_supplicant and systemctl status connman?

            Unfortunately the two commands are missing too:

            # systemctl status wpa_supplicant

            /system/bin/sh: systemctl: not found

            # systemctl status connman

            /system/bin/sh: systemctl: not found

             

            5.    Please let us know as much you can related to the hardware and configuration you are using so we could identify the root of the problems you have.

            I am trying to connect to a router that I created using RaspberryPi2 running OpenWrt OS (OpenWrt ). This RaspberryPi router is using the Wifi module Edimax EW-7811Un. Additionally, I tried to debug it using other routers/AP that I have and my conclusion was that when I didn't use any encryption on the router (previously it's using WPA PSK2 with key paraphrase), I could connect the Intel Edison board to my router/AP, including the RaspberryPi2 that's running OpenWrt. But, of course, this is not safe so I would like to reactivate the security again.

            • 3. Re: Wifi error connection with Intel Edison board
              Intel Corporation
              This message was posted on behalf of Intel Corporation

              Hi,

              The reason you are not able to run the commands is due that you are not running Yocto.
              If you are using Brillo on the board, I suggest you to contact Google for more information: 
              https://developer.android.com/support.html?hl=es
              https://developers.google.com/brillo/

              Regards,
              -Charlie