Hey guys, I'm afraid I hit another brcmfmac bug. First of all, I implemented a trivial workaround for the previous bug reported in the: brcmfmac: one faulty "iw interface add" command breaks in-firmware BSS state See my workaround in OpenWrt git: http://git.openwrt.org/?p=openwrt.git;a=commitdiff;h=0e6c9bd9556eea98b476ad371d64d8d16e3a9f9c So now OpenWrt's user space calls using "iw" tool don't trigger brcmfmac BSSes bug anymore. I can successfully use one AP interface per device. The problem appears when trying to use more than 1 interface. It gets created correctly, but setting its MAC fails. It results in wlan0-1 having the same MAC as wlan0 and finally having two networks (SSIDs) using the same MAC. That obviously doesn't work. The error I see is: brcmfmac: _brcmf_set_mac_address: Setting cur_etheraddr failed, -52 with -52 meaning BCME_IE_NOTFOUND. -- Rafał
[ 17.014251] brcmfmac 0000:01:00.0: enabling device (0140 -> 0142) [ 17.028974] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 17.036950] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 17.044939] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 17.052922] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 17.062363] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 17.071805] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 17.079859] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 17.087842] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 17.867533] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2 [ 17.877408] brcmfmac 0000:01:00.0: Falling back to user helper [ 17.892499] firmware brcm!brcmfmac43602-pcie.txt: firmware_loading_store: map pages failed [ 17.901084] brcmfmac: brcmf_fw_request_nvram_done: Found platform NVRAM (19204 B) [ 18.163675] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar 3 2015 04:46:51 version 7.35.177.33 (r538052) FWID 01-c8317c80 [ 18.184345] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code [ 203.691845] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists [ 203.698361] brcmfmac: brcmf_add_if: ignore IF event [ 203.866214] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists [ 203.872750] brcmfmac: brcmf_add_if: ignore IF event [ 203.932492] brcmfmac: _brcmf_set_mac_address: Setting cur_etheraddr failed, -52 [ 204.088635] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists [ 204.095205] brcmfmac: brcmf_add_if: ignore IF event
Attachment:
hostapd.conf
Description: Binary data