AP mode failed on wandboard with brcm4329 chip
Arend van Spriel
arend
Thu Mar 26 10:00:29 PDT 2015
On 03/26/15 12:55, Varka Bhadram wrote:
> On 03/25/2015 10:22 AM, Varka Bhadram wrote:
>> Hi,
>>
>> I am trying setup wandboard-quad as Access Point. It has BRCM4329 WiFi chip on it.
>>
>> As a client is working fine. But facing problem as a AP
>>
>> I did following steps...
>>
>> *1*. Linux kernel Configuration: Linux-3.19
>>
>> *i.**Device Drivers> Network device support> Wireless LAN*
>> <M> Broadcom IEEE802.11n embedded FullMAC WLAN driver
>> [*] SDIO bus interface support for FullMAC driver
>> [ ] USB bus interface support for FullMAC driver
>> [ ] PCIE bus interface support for FullMAC driver
>> [ ] Broadcom device tracing
>> [*] Broadcom driver debug functions
>> <*> IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)
>> [*] Support downloading firmware images with Host AP driver
>> [*] Support for non-volatile firmware download
>> < > Host AP driver for Prism2/2.5/3 in PLX9052 PCI adaptors
>> < > Host AP driver for Prism2.5 PCI adaptors
>>
>> *ii.** Networking support> Wireless*
>> <M> cfg80211 - wireless configuration API
>> [*] nl80211 testmode command
>> [*] enable developer warnings
>> [ ] cfg80211 regulatory debugging
>> [ ] cfg80211 certification onus
>> [ ] enable powersave by default
>> [ ] cfg80211 DebugFS entries
>> [ ] use statically compiled regulatory rules database
>> [ ] cfg80211 wireless extensions compatibility
>> [*] lib80211 debugging messages
>> < > Generic IEEE 802.11 Networking Stack (mac80211)
>>
>> *2*. Copied brcm4329 firmware and nvram txt file into lib/firmware/brcm/
>>
>> *3*. hostapd.conf
>> interface=wlan0
>> driver=nl80211
>> logger_stdout=-1
>> logger_stdout_level=2
>> ssid=Service_Location
>> hw_mode=g
>> channel=1
>> auth_algs=3
>> max_num_sta=5
>> wpa=2
>> wpa_passphrase=scient12
>> wpa_key_mgmt=WPA-PSK
>> wpa_pairwise=CCMP TKIP
>> rsn_pairwise=CCMP
>> #wme_enabled=1
>> #ieee80211n=1
>> #ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40]
>> *4*. After booting into the wandboard, did the following operations
>>
>> $ modprobe brcmfmac
>>
>> $ dmesg
>> [ 9.147276] cfg80211: Calling CRDA to update world regulatory domain
>> [ 9.171600] brcmfmac: F1 signature read @0x18000000=0x9934329
>> [ 9.172649] brcmfmac: brcmf_sdio_drivestrengthinit: No SDIO Drive strength init donefor chip 4329 rev 3 pmurev 6
>> [ 9.379309] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Sep 2 2011 14:48:19 version 4.220.48
>> [ 9.398690] brcmfmac: brcmf_setup_wiphybands: rxchain error (-52)
>>
>> $ hostapd -B hostapd.conf
>> Configuration file: hostapd.conf
>> Failed to create interface mon.wlan0: -95 (Operation not supported)
>> wlan0: Could not connect to kernel driver
>> Using interface wlan0 with hwaddr 40:2c:f4:ae:10:64 and ssid"Service_Location"
>> random: Cannot read from /dev/random: Resource temporarily unavailable
>> random: Only 0/20 bytes of strong random data available from /dev/random
>> random: Not enough entropy pool availablefor secure operations
>> WPA: Not enough entropy in random poolfor secure operations - update keys later when the first station connects
>> Failed to set beacon parameters
>> wlan0: Could not connect to kernel driver
>> Interface initialization failed
>> wlan0: interface state UNINITIALIZED->DISABLED
>> wlan0: AP-DISABLED
>> wlan0: Unable to setup interface.
>> wlan0: interface state DISABLED->DISABLED
>> wlan0: AP-DISABLED
>> hostapd_free_hapd_data: Interface wlan0 wasn't started
>> nl80211: deinit ifname=wlan0 disabled_11b_rates=0
>>
>> $ dmesg
>> [ 30.870671] brcmfmac: _brcmf_set_multicast_list: Setting BRCMF_C_SET_PROMISC failed, -52
>> [ 30.997372]*brcmfmac: brcmf_cfg80211_start_ap: setting AP mode failed -52*
>> [ 31.171152] brcmfmac: _brcmf_set_multicast_list: Setting BRCMF_C_SET_PROMISC failed, -52
>>
>>
>>
>> Thanks
>> --
>> Varka Bhadram
> Ping...? Am i missing anything...?
I am not sure what happened with the initial email, but I never received
it. My best bet is that the firmware is not supporting AP mode. Could
you execute the following:
$ hexdump /lib/firmware/brcm/brcmfmac4329-sdio.bin | tail -20
Where did this firmware come from?
Regards,
Arend
More information about the Hostap
mailing list