Modify

Opened 9 years ago

Closed 9 years ago

#3866 closed defect (fixed)

brcm47xx-2.6 - b43 doesn't work in AP mode with hostapd

Reported by: raver@… Owned by: developers
Priority: high Milestone:
Component: kernel Version:
Keywords: b43 brcm47xx hostapd Cc:

Description

Environment

Kamikaze: r12244
Kernel: 2.6.25.15
Arch: brcm47xx
Router: Asus WL-500gP (V1)
Wifi: BCM4318/4306

Hostapd config

driver=nl80211
interface=wlan0
bridge=br-lan
ssid=OpenWrt
hw_mode=g
channel=5
wpa=0

Running Hostapd

root@OpenWrt:~# hostapd -B /etc/hostapd-wlan0.conf 
Configuration file: /etc/hostapd-wlan0.conf
root@OpenWrt:~# br-lan: port 2(wlan0) entering disabled state
input: b43-phy0 as /devices/virtual/input/input2
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
Registered led device: b43-phy0::radio
br-lan: port 2(wlan0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 2(wlan0) entering forwarding state

Errors only occur when trying to connect to AP

Dmesg dump

b43-phy0: Broadcom 4306 WLAN found
Broadcom 43xx driver loaded [ Features: NLR, Firmware-ID: FW13 ]
...
input: b43-phy0 as /devices/virtual/input/input0
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
Registered led device: b43-phy0::radio
device wlan0 entered promiscuous mode
input: b43-phy0 as /devices/virtual/input/input1
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
Registered led device: b43-phy0::radio
...
b43-phy0 debug: Set beacon interval to 1000
b43-phy0 debug: Updated beacon template
...
SKB BUG: Invalid truesize (240) len=71, sizeof(sk_buff)=176
------------[ cut here ]------------
WARNING: at kernel/softirq.c:141 ()
Modules linked in: cdc_acm option usb_storage usbserial ehci_hcd uhci_hcd sd_mod ipt_ULOG nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_TTL xt_MARK ipt_ECN xt_CLASSIFY ipt_ttl xt_time ipt_time xt_tcpmss xt_statistic xt_mark xt_mac xt_length ipt_ecn xt_DSCP xt_dscp ipt_LOG xt_CHAOS xt_DELUDE xt_TARPIT xt_quota xt_portscan xt_pkttype iptable_raw xt_NOTRACK xt_CONNMARK ipt_recent xt_helper xt_conntrack xt_connmark xt_connbytes ppp_async ppp_generic slhc crc_ccitt vfat fat b43 nls_iso8859_1 nls_cp437 usbcore scsi_mod nls_base mac80211 cfg80211 arc4 aes_generic deflate ecb cbc crypto_blkcipher crypto_hash cryptomgr crypto_algapi switch_robo switch_core diag [last unloaded: cdc_acm]
Call Trace:[<80109780>][<800090fc>][<800090fc>][<80022964>][<8001bf10>][<8003e5a0>][<8003e578>][<802009a4>][<802004fc>][<8003f24c>][<8003f084>][<8004ddac>][<80200e70>][<8016c534>][<8008cfa0>][<801efbe4>][<8008d974>][<8008d748>][<80029640>][<8008e0a4>][<8001d30c>][<80029a20>][<c00e3454>][<c00e3f68>][<c00f2b0c>][<c009e10c>][<c009e0c0>][<80190d24>][<8005196c>][<8018cf10>][<80190bc8>][<8018d244>][<80085ad8>][<801f2090>][<80190fd0>][<8001d69c>][<8018cd78>][<80169760>][<8018de6c>][<8001d2bc>][<80046044>][<80160ff4>][<8003e5a0>][<8003e578>][<80165e00>][<8003af18>][<8016b744>][<8015fe80>][<80085d90>][<801611b4>][<80162e64>][<801d3354>][<801c8cac>][<80095318>][<80095658>][<80095650>][<801600bc>][<800925b8>][<80161e8c>][<8007e43c>][<8008c7dc>][<8007ab84>][<8007ab7c>][<8008c85c>][<8007c574>][<8000b110>]
---[ end trace cf0f812daee69b33 ]---
b43-phy0 debug: Set beacon interval to 1000
b43-phy0 debug: Updated beacon template
SKB BUG: Invalid truesize (240) len=71, sizeof(sk_buff)=176
b43-phy0 debug: Set beacon interval to 1000
b43-phy0 debug: Updated beacon template
SKB BUG: Invalid truesize (240) len=71, sizeof(sk_buff)=176
SKB BUG: Invalid truesize (240) len=71, sizeof(sk_buff)=176
SKB BUG: Invalid truesize (240) len=71, sizeof(sk_buff)=176
b43-phy0 debug: Set beacon interval to 1000
b43-phy0 debug: Updated beacon template
b43-phy0 debug: Set beacon interval to 1000
b43-phy0 debug: Updated beacon template
SKB BUG: Invalid truesize (240) len=71, sizeof(sk_buff)=176
b43-phy0 debug: Updated beacon template
b43-phy0 debug: Updated beacon template
SKB BUG: Invalid truesize (240) len=71, sizeof(sk_buff)=176
b43-phy0 debug: Set beacon interval to 1000
b43-phy0 debug: Updated beacon template
b43-phy0 debug: Set beacon interval to 1000
b43-phy0 debug: Updated beacon template
SKB BUG: Invalid truesize (240) len=71, sizeof(sk_buff)=176
SKB BUG: Invalid truesize (240) len=71, sizeof(sk_buff)=176
SKB BUG: Invalid truesize (240) len=71, sizeof(sk_buff)=176
b43-phy0 debug: Set beacon interval to 1000
b43-phy0 debug: Updated beacon template

Attachments (0)

Change History (2)

comment:2 Changed 9 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Applied in [12298], [12299] and [12300]. Huge thanks !

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.