Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
B43 only has 54Mbits/s link speed in hostapd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Chili0_
n00b
n00b


Joined: 09 Oct 2017
Posts: 17

PostPosted: Sat Nov 25, 2017 4:19 am    Post subject: B43 only has 54Mbits/s link speed in hostapd Reply with quote

I think the link speed should be 450Mbits/s. but now only 54Mbits/s.


Mac mini (late 2012)
kernel: Linux mini 4.14.0-gentoo

my hostapd.conf, if add ieee80211n=1 hostapd service will crash.

Code:

XXX@mini ~ $ sudo cat /etc/hostapd/hostapd.conf
interface=wlan0
hw_mode=g
wmm_enabled=1

ssid=my_ssid
auth_algs=1
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
wpa_passphrase=XXXXXXXX

ctrl_interface_group=0



Code:

XXX@mini ~ $ sudo lspci |grep -i bcm
01:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM57766 Gigabit Ethernet PCIe (rev 01)
01:00.1 SD Host controller: Broadcom Limited BCM57765/57785 SDXC/MMC Card Reader (rev 01)
02:00.0 Network controller: Broadcom Limited BCM4331 802.11a/b/g/n (rev 02)


Code:

XXX@mini ~ $ dmesg|grep -i b43
[    2.817811] b43-phy0: Broadcom 4331 WLAN found (core revision 29)
[    2.818356] b43-phy0: Found PHY: Analog 9, Type 7 (HT), Revision 1
[    2.818365] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2059, Revision 0, Version 1
[    2.818365] b43-phy0 warning: 5 GHz band is unsupported on this PHY
[    5.992135] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[    7.960145] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)


Code:

XXXX@mini ~ $ lsmod
Module                  Size  Used by
xt_nat                 16384  1
iptable_nat            16384  1
nf_nat_ipv4            16384  1 iptable_nat
nf_nat                 24576  2 xt_nat,nf_nat_ipv4
snd_intel_sst_pci      16384  0
snd_intel_sst_core     28672  1 snd_intel_sst_pci
snd_soc_sst_atom_hifi2_platform    73728  1 snd_intel_sst_core
lib80211_crypt_tkip    20480  0
lib80211               16384  1 lib80211_crypt_tkip
brcmsmac              507904  0
brcmutil               16384  1 brcmsmac
btusb                  40960  0
b43                   389120  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
ssb                    49152  1 b43
btintel                16384  1 btusb
wl                   6348800  0
firewire_ohci          36864  0
bluetooth             315392  5 btrtl,btintel,btbcm,btusb
x86_pkg_temp_thermal    16384  0
ecdh_generic           24576  1 bluetooth
firewire_core          53248  1 firewire_ohci
crc_itu_t              16384  1 firewire_core
efivarfs               16384  1


Here is my installation process:

On kernel config, I have:
Quote:

1497 CONFIG_EXTRA_FIRMWARE="b43"
1498 CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"


Code:

XXX@mini ~ $ eix broadcom
[I] net-wireless/broadcom-firmware-downloader [1]
     Available versions:  ~0.1-r2^s (~)0.2^s {+b43 +b43legacy}
     Installed versions:  0.2^s(11时16分26秒 2017年11月25日)(b43 b43legacy)
     Homepage:            http://linuxwireless.org/en/users/Drivers/b43
     Description:         Closed Broadcom Commercial Firmware Downloader

[I] net-wireless/broadcom-firmware-installer [1]
     Available versions:  ~0.1-r3 (~)0.2 {+b43 +b43legacy +reload}
     Installed versions:  0.2(11时16分32秒 2017年11月25日)(b43 b43legacy reload)
     Homepage:            http://linuxwireless.org/en/users/Drivers/b43
     Description:         Closed Broadcom Commercial Firmware Installer

* net-wireless/broadcom-sta
     Available versions:  (~)6.30.223.271-r4^m {KERNEL="linux"}
     Homepage:            https://www.broadcom.com/support/802.11
     Description:         Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver

[1] "pentoo" /var/lib/layman/pentoo
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 4539

PostPosted: Sat Nov 25, 2017 8:58 pm    Post subject: Reply with quote

Make sure ht_capab= in hostapd.conf is set to a value your card supports. Having [HT40+] or [HT40-] in the string when the card picks a too low or high channel (causing the secondary channel to be outside allowed range) will usually make hostapd fail to start. You could try setting it to a blank value and see if that works, enabling syslog would help to see exactly what's wrong too.
_________________
*.ebuild // /etc/service/*
Back to top
View user's profile Send private message
Chili0_
n00b
n00b


Joined: 09 Oct 2017
Posts: 17

PostPosted: Sun Nov 26, 2017 3:27 am    Post subject: Reply with quote

After add ieee80211n=1, I got,

Code:

Driver does not support configured HT capability [HT40*]


Well, seems the kernel driver does not support more line speed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum