Brcmsmac Broadcom BMC4313 installation “Device is not active” and “Wireless is not associated”

Hello

I am trying install in LUCI brcmsmac drivers for Broadcom BMC4313 mini pcie wifi adapter
on x64 openwrt 19.07.3

but after reboot it says Device is not active

VfMY.png)

first I tried to install this packages

brcmsmac-firmware	20190416-1
kmod-brcmsmac	4.14.180+4.19.120-1-1

but they complain complain each-other
because of firmware files bcm43xx_hdr-0.fw and bcm43xx-0.fw

so I installed only kmod-brcmsmac 4.14.180+4.19.120-1-1

but got Device is not active
and scan dont give results

than trough WinSCP changed bcm43xx_hdr-0.fw and bcm43xx-0.fw in /lib/firmware/brcm
with new ones from
brcmsmac-firmware 20190416-1

after reboot scan started give results

but did not connect to networks
and everything looks like on screenshot above

I am installing brcmsmac to have AP mode

please help me to configure my adapter

thank you

PS

in other linux forum I googled that enabling
Networking Support->Wireless->cfg80211 wireless extensions compatibility

helped some people (forum is not about openwrt)

PSS

kmod-brcmsmac installs
kmod-cfg80211 and kmod-mac80211



/etc/config/wireless

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '11'
	option hwmode '11g'
	option path 'pci0000:00/0000:00:1c.0/0000:05:00.0/bcma0:1'
	option htmode 'HT20'
	option country 'US'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'OpenWrt'
	option encryption 'none'

Click the edit button (in the picture you posted) and then the enable button to switch on the radio device (or remove option disabled '1')

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '11'
	option hwmode '11g'
	option path 'pci0000:00/0000:00:1c.0/0000:05:00.0/bcma0:1'
	option htmode 'HT20'
	option country 'US'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'OpenWrt'
	option encryption 'none'

here is config
I make mistake coping that one

I pressed enable

same history as above
here is another screenshot

please help :slight_smile:

OK, so now it is "on", you need to link/bridge it to LAN under Network...Interfaces...Physical settings

Configuration file looks right. It may be on the air now but APs will show "not associated" if no clients are connected.

it is done by system automatically at the begining

there is nothing at air :frowning:
look at radio0 ` Device is not active

so devaice is not started
and restarting did not help

it even did not connect as client

I think there is some driver configuration issue

because

kmod-brcmsmac	4.14.180+4.19.120-1-1

did not have new firmware from
brcmsmac-firmware 20190416-1

it can not correctly configure it

can you help me configure it manually? please :slight_smile:

Any movement? I also have problems with bcm43225. Whatever I do I cannot get it to work with any driver other than b43.
With kmod-brcm-wl-mini I get "wl0: 5.10.56.27 driver failed with code 11"
And with brcmsmac I have the same problem with brcmsmac-firmware and kmod-brcmsmac. And wifi config doesn't output anything.

brcmsmac does not support AP mode.

Good afternoon.
Today I tried to replace the BCM4313 firmware which is located in / lib / firmware / brcm and now my wifi has worked without problems.
Downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-e4379d14549cd9b29988cf3c5b74b29d2051dd09.tar.gz
Original driver installed by kmod-brcmsmac.
Don't forget to restart your device.