freeindy
Posts: 1
Joined: Fri May 10, 2019 12:36 pm

BCM43438 with Access point failes with: "association request to driver failed"

Fri May 10, 2019 12:55 pm

Hi,

I running rPi 3B (a02082) with Raspbian Stretch:
version: 9
kernel: 4.19.20-v7+

I have setup and wlan0 and uap0 (AP) interfaces and can connect to the AP without problem. However, when I try to connect wlan0 to an AP using wpa_cli, it keeps failing.

Can someone tell me why this is happening and point me to the right direction for a solution.

Thanks!
Indy

ifconfig:

Code: Select all

uap0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.3.141.1  netmask 255.255.255.0  broadcast 10.3.141.255
        inet6 fe80::baee:1133:8671:1b00  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:d9:6e:a3  txqueuelen 1000  (Ethernet)
        RX packets 2231  bytes 202923 (198.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 851  bytes 121985 (119.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether b8:27:eb:d9:6e:a3  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
iwconfig:

Code: Select all

wlan0     IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=31 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          
uap0      IEEE 802.11  Mode:Master  Tx-Power=31 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off


wpa_cli:

Code: Select all

wpa_cli v2.6

Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi> and contributors

This software may be distributed under the terms of the BSD license.
See README for more details.

Interactive mode

> add_network
0
set_network 0 ssid "SSID-NAME"
> OK
> set_network 0 psk "password"
OK
> enable_network 0
OK
> <3>Trying to associate with SSID 'SSID-NAME'
<3>Association request to the driver failed
<3>CTRL-EVENT-SCAN-STARTED 
> 

And the dmesg output it:

Code: Select all

[    4.357233] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[    4.364367] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    4.364662] usbcore: registered new interface driver brcmfmac
[    4.593961] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    4.594108] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[    4.594813] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
[    5.371201] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    5.371238] brcmfmac: power management disabled
[    6.274248] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    6.275000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.281061] IPv6: ADDRCONF(NETDEV_UP): uap0: link is not ready
[   69.577462] brcmfmac: power management disabled
[   69.587932] brcmfmac: power management disabled
[   69.923344] IPv6: ADDRCONF(NETDEV_CHANGE): uap0: link becomes ready
[   97.347741] random: crng init done
[   97.347753] random: 7 urandom warning(s) missed due to ratelimiting
[  186.984698] brcmfmac: brcmf_c_set_joinpref_default: Set join_pref error (-52)
[  186.985489] brcmfmac: brcmf_cfg80211_connect: BRCMF_C_SET_SSID failed (-52)
[  187.922383] brcmfmac: brcmf_c_set_joinpref_default: Set join_pref error (-52)
[  187.923437] brcmfmac: brcmf_cfg80211_connect: BRCMF_C_SET_SSID failed (-52)
[  188.849136] brcmfmac: brcmf_c_set_joinpref_default: Set join_pref error (-52)
[  188.850206] brcmfmac: brcmf_cfg80211_connect: BRCMF_C_SET_SSID failed (-52)
[  190.189224] brcmfmac: brcmf_c_set_joinpref_default: Set join_pref error (-52)
[  190.190244] brcmfmac: brcmf_cfg80211_connect: BRCMF_C_SET_SSID failed (-52)
[  191.515312] brcmfmac: brcmf_c_set_joinpref_default: Set join_pref error (-52)
[  191.516415] brcmfmac: brcmf_cfg80211_connect: BRCMF_C_SET_SSID failed (-52)
[  193.344569] brcmfmac: brcmf_c_set_joinpref_default: Set join_pref error (-52)
[  193.345588] brcmfmac: brcmf_cfg80211_connect: BRCMF_C_SET_SSID failed (-52)
[  195.180322] brcmfmac: brcmf_c_set_joinpref_default: Set join_pref error (-52)
[  195.181426] brcmfmac: brcmf_cfg80211_connect: BRCMF_C_SET_SSID failed (-52)

epoch1970
Posts: 2772
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: BCM43438 with Access point failes with: "association request to driver failed"

Fri May 10, 2019 4:04 pm

freeindy wrote:
Fri May 10, 2019 12:55 pm
Can someone tell me why this is happening and point me to the right direction for a solution.
I surmise the cause lies in using the unofficial virtual AP feature, and wlan0 connects ok if uap0 is not configured, as with a clean copy of Raspbian.

I don't think there is any satisfactory solution to this problem. There are many threads in the forum related to the virtual AP, they make for an interesting read.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Return to “Networking and servers”