1 Reply Latest reply on Mar 20, 2015 6:41 PM by CMata_Intel

    WIFI drop (CFG80211-ERROR) Ubilinux

    rosenrot

      Using Ubilinux on the Intel Edison I get the random disconnects from wifi. This is the output from /var/log/messages.

       

      Can someone help me to solve this issue? Is it a driver issue? Kernel issue?

       

      I checked these lines for information:

       

      Jan  1 10:37:08 ubilinux kernel: [38216.258765] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH_IND

      Jan  1 10:37:08 ubilinux kernel: [38216.258808] link down if wlan0 may call cfg80211_disconnected. event : 6, reason=2 from 20:bb:c0:e6:b3:5b

       

      event 6 ->

      1. #define WLC_E_DEAUTH_IND 6 /* 802.11 DEAUTH indication */

      reason 2 ->

      1. #define WLC_E_REASON_DEAUTH 2 /* roamed due to DEAUTH indication */

      But why this should be initiated from the wifi?

       

       

      Jan  1 10:37:08 ubilinux kernel: [38216.258765] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_DEAUTH_IND
      Jan  1 10:37:08 ubilinux kernel: [38216.258808] link down if wlan0 may call cfg80211_disconnected. event : 6, reason=2 from 20:bb:c0:e6:b3:5b
      Jan  1 10:37:08 ubilinux kernel: [38216.261042] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
      Jan  1 10:37:08 ubilinux kernel: [38216.274748] cfg80211: Calling CRDA to update world regulatory domain
      Jan  1 10:37:08 ubilinux wpa_action: WPA_IFACE=wlan0 WPA_ACTION=DISCONNECTED
      Jan  1 10:37:08 ubilinux wpa_action: WPA_ID=1 WPA_ID_STR=MYWIFI
      WPA_CTRL_DIR=/var/run/wpa_supplicant
      Jan  1 10:37:08 ubilinux wpa_action: ifdown wlan0
      Jan  1 10:37:08 ubilinux kernel: [38216.610971] wl_android_wifi_off in
      Jan  1 10:37:08 ubilinux kernel: [38216.615454] CFG80211-ERROR) wl_escan_handler : escan is not ready ndev f5cf3000 drv_status 0x0 e_type 69 e_states 4
      Jan  1 10:37:08 ubilinux kernel: [38216.622017] wifi_platform_set_power = 0
      Jan  1 10:37:08 ubilinux wpa_action: removing sendsigs omission pidfile: /run/sendsigs.omit.d/wpasupplicant.wpa_supplicant.wlan0.pid
      Jan  1 10:37:08 ubilinux kernel: [38216.678860]
      Jan  1 10:37:08 ubilinux kernel: [38216.678860] Dongle Host Driver, version 1.141.59 (r)
      Jan  1 10:37:08 ubilinux kernel: [38216.678860] Compiled in /mnt/hddbuilds/build/dave/edison-src-44/edison-src/broadcom_cws/wlan/driver_bcm43x on Oct 29 2014 at 12:44:49
      Jan  1 10:37:08 ubilinux kernel: [38216.678896] wl_android_wifi_on in
      Jan  1 10:37:08 ubilinux kernel: [38216.678914] wifi_platform_set_power = 1
      Jan  1 10:37:09 ubilinux kernel: [38217.248487] F1 signature OK, socitype:0x1 chip:0xa94c rev:0x2 pkg:0x0
      Jan  1 10:37:09 ubilinux kernel: [38217.250206] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
      Jan  1 10:37:09 ubilinux kernel: [38217.252757] dhdsdio_download_firmware: firmware path=/lib/firmware/fw_bcmdhd.bin, nvram path=/lib/firmware/bcmdhd.cal
      Jan  1 10:37:09 ubilinux kernel: [38217.383202] sdioh_request_buffer: [1] doing memory copy buf=f573f000, len=2037
      Jan  1 10:37:09 ubilinux kernel: [38217.387726] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
      Jan  1 10:37:09 ubilinux kernel: [38217.548958] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
      Jan  1 10:37:09 ubilinux kernel: [38217.552155] wifi_platform_get_mac_addr
      Jan  1 10:37:09 ubilinux kernel: [38217.552201] wifi_get_mac_addr_intel: unable to open /config/wifi/mac.txt
      Jan  1 10:37:09 ubilinux kernel: [38217.557655] Firmware up: op_mode=0x0015, MAC=fc:c2:de:3b:16:45
      Jan  1 10:37:09 ubilinux kernel: [38217.580644] Firmware version = wl0: Aug 15 2014 15:09:17 version 6.20.190.2 (r497061) FWID 01-bb9bbd07
      Jan  1 10:37:09 ubilinux kernel: [38217.581632] dhd_preinit_ioctls wl ampdu_hostreorder failed -23
      Jan  1 10:37:09 ubilinux kernel: [38217.670154] CFG80211-ERROR) wl_update_wiphybands : bw_cap failed, -23
      Jan  1 10:37:18 ubilinux kernel: [38226.055350] CFG80211-ERROR) wl_cfg80211_connect : Connectting with20:bb:c0:e6:b3:5b channel (36) ssid "MYWIFI", len (13)
      Jan  1 10:37:18 ubilinux kernel: [38226.055350]
      Jan  1 10:37:18 ubilinux kernel: [38226.143216] wl_bss_connect_done succeeded with 20:bb:c0:e6:b3:5b
      Jan  1 10:37:18 ubilinux kernel: [38226.150317] wl_bss_connect_done succeeded with 20:bb:c0:e6:b3:5b
      Jan  1 10:37:18 ubilinux wpa_action: WPA_IFACE=wlan0 WPA_ACTION=CONNECTED
      Jan  1 10:37:18 ubilinux wpa_action: WPA_ID=1 WPA_ID_STR=MYWIFI
      WPA_CTRL_DIR=/var/run/wpa_supplicant
      Jan  1 10:37:18 ubilinux wpa_action: ifup wlan0=MYWIFI
      Jan  1 10:37:18 ubilinux vhusbdi386: Device 11 UNBOUND from connection 31
      Jan  1 10:37:18 ubilinux vhusbdi386: Connection 31 successfully removed
      Jan  1 10:37:19 ubilinux wpa_action: creating sendsigs omission pidfile: /run/sendsigs.omit.d/wpasupplicant.wpa_supplicant.wlan0.pid
      Jan  1 10:37:19 ubilinux wpa_action: bssid=20:bb:c0:e6:b3:5b
      Jan  1 10:37:19 ubilinux wpa_action: ssid=MYWIFI
      Jan  1 10:37:19 ubilinux wpa_action: id=1
      Jan  1 10:37:19 ubilinux wpa_action: id_str=MYWIFI
      Jan  1 10:37:19 ubilinux wpa_action: mode=station
      Jan  1 10:37:19 ubilinux wpa_action: pairwise_cipher=CCMP
      Jan  1 10:37:19 ubilinux wpa_action: group_cipher=CCMP
      Jan  1 10:37:19 ubilinux wpa_action: key_mgmt=WPA2-PSK
      Jan  1 10:37:19 ubilinux wpa_action: wpa_state=COMPLETED
      Jan  1 10:37:19 ubilinux wpa_action: ip_address=172.25.3.50
      Jan  1 10:37:19 ubilinux wpa_action: address=fc:c2:de:3b:16:45
      root@ubilinux:~#