On 6/1/07, Larry Finger <[EMAIL PROTECTED]> wrote: > Bin Zhang wrote: > > On 5/31/07, Bin Zhang <[EMAIL PROTECTED]> wrote: > >> I have a 4306 card: > >> 0001:10:12.0 Network controller: Broadcom Corporation BCM4306 > >> 802.11b/g Wireless LAN Controller (rev 03) > >> > >> bcm43xx_mac80211 stops working with wireless-dev git 29 May 2007. > >> bcm43xx works. > > > > With today's wireless-dev, maybe my problem is in dhcp-client. > > > > Using dhcp, can't connect: > > ------------------------------- > > Jun 1 09:39:12 localhost kernel: PCI: Enabling device 0001:10:12.0 > > (0004 -> 0006) > > Jun 1 09:39:12 localhost kernel: ssb: Core 0 found: ChipCommon (cc > > 0x800, rev 0x04, vendor 0x4243) > > Jun 1 09:39:12 localhost kernel: ssb: Core 1 found: IEEE 802.11 (cc > > 0x812, rev 0x05, vendor 0x4243) > > Jun 1 09:39:12 localhost kernel: ssb: Core 2 found: PCMCIA (cc 0x80D, > > rev 0x02, vendor 0x4243) > > Jun 1 09:39:12 localhost kernel: ssb: Core 3 found: V90 (cc 0x807, > > rev 0x02, vendor 0x4243) > > Jun 1 09:39:12 localhost kernel: ssb: Core 4 found: PCI (cc 0x804, > > rev 0x09, vendor 0x4243) > > Jun 1 09:39:12 localhost kernel: ssb: Switching to ChipCommon core, index 0 > > Jun 1 09:39:12 localhost kernel: ssb: Switching to PCI core, index 4 > > Jun 1 09:39:12 localhost kernel: ssb: Sonics Silicon Backplane found > > on PCI device 0001:10:12.0 > > Jun 1 09:39:12 localhost kernel: bcm43xx_mac80211: Broadcom 4306 WLAN found > > Jun 1 09:39:12 localhost kernel: ssb: Switching to IEEE 802.11 core, index > > 1 > > Jun 1 09:39:12 localhost kernel: bcm43xx_mac80211: Found PHY: Analog > > 2, Type 2, Revision 2 > > Jun 1 09:39:12 localhost kernel: bcm43xx_mac80211: Found Radio: Manuf > > 0x17F, Version 0x2050, Revision 2 > > Jun 1 09:39:12 localhost kernel: bcm43xx_mac80211: Radio turned off > > Jun 1 09:39:12 localhost kernel: Device driver phy0 lacks bus and > > class support for being resumed. > > Jun 1 09:39:12 localhost kernel: Device driver wmaster0 lacks bus and > > class support for being resumed. > > Jun 1 09:39:12 localhost kernel: wmaster0: Selected rate control > > algorithm 'simple' > > Jun 1 09:39:12 localhost kernel: Device driver wlan0 lacks bus and > > class support for being resumed. > > Jun 1 09:39:13 localhost kernel: bcm43xx_mac80211: Adding Interface type 2 > > Jun 1 09:39:13 localhost kernel: ssb: Switching to PCI core, index 4 > > Jun 1 09:39:13 localhost kernel: ssb: Switching to IEEE 802.11 core, index > > 1 > > Jun 1 09:39:13 localhost kernel: Device driver ssb0:0 lacks bus and > > class support for being resumed. > > Jun 1 09:39:13 localhost last message repeated 3 times > > Jun 1 09:39:14 localhost kernel: bcm43xx_mac80211: Loading firmware > > version 351.126 (2006-07-29 05:54:02) > > Jun 1 09:39:14 localhost kernel: ssb: Switching to ChipCommon core, index 0 > > Jun 1 09:39:14 localhost kernel: ssb: Switching to IEEE 802.11 core, index > > 1 > > Jun 1 09:39:14 localhost kernel: bcm43xx_mac80211: Radio turned on > > Jun 1 09:39:14 localhost kernel: bcm43xx_mac80211: Radio enabled by > > hardware > > Jun 1 09:39:14 localhost kernel: bcm43xx_mac80211: !WARNING! > > Idle-TSSI phy->cur_idle_tssi measuring failed. (cur=0, tgt=62). > > Disabling TX power adjustment. > > Jun 1 09:39:14 localhost kernel: bcm43xx_mac80211: Chip initialized > > Jun 1 09:39:14 localhost kernel: bcm43xx_mac80211: 30-bit DMA initialized > > Jun 1 09:39:14 localhost kernel: bcm43xx_mac80211: Wireless interface > > started > > Jun 1 09:39:14 localhost kernel: ADDRCONF(NETDEV_UP): wlan0: link is not > > ready > > Jun 1 09:39:15 localhost dhclient: Internet Systems Consortium DHCP > > Client V3.0.4 > > Jun 1 09:39:15 localhost dhclient: Copyright 2004-2006 Internet > > Systems Consortium. > > Jun 1 09:39:15 localhost dhclient: All rights reserved. > > Jun 1 09:39:15 localhost dhclient: For info, please visit > > http://www.isc.org/sw/dhcp/ > > Jun 1 09:39:15 localhost dhclient: > > Jun 1 09:39:15 localhost dhclient: wmaster0: unknown hardware address type > > 801 > > Jun 1 09:39:16 localhost kernel: wlan0: Initial auth_alg=0 > > Jun 1 09:39:16 localhost kernel: wlan0: authenticate with AP > > 00:11:95:36:fc:f7 > > Jun 1 09:39:16 localhost kernel: wlan0: RX authentication from > > 00:11:95:36:fc:f7 (alg=0 transaction=2 status=0) > > Jun 1 09:39:16 localhost kernel: wlan0: authenticated > > Jun 1 09:39:16 localhost kernel: wlan0: associate with AP 00:11:95:36:fc:f7 > > Jun 1 09:39:16 localhost kernel: wlan0: RX AssocResp from > > 00:11:95:36:fc:f7 (capab=0x471 status=0 aid=1) > > Jun 1 09:39:16 localhost kernel: wlan0: associated > > Jun 1 09:39:16 localhost kernel: ADDRCONF(NETDEV_CHANGE): wlan0: link > > becomes ready > > Jun 1 09:39:16 localhost dhclient: wmaster0: unknown hardware address type > > 801 > > Jun 1 09:39:16 localhost dhclient: Listening on LPF/wlan0/00:11:24:22:f5:04 > > Jun 1 09:39:16 localhost dhclient: Sending on LPF/wlan0/00:11:24:22:f5:04 > > Jun 1 09:39:16 localhost dhclient: Sending on Socket/fallback > > Jun 1 09:39:16 localhost dhclient: DHCPDISCOVER on wlan0 to > > 255.255.255.255 port 67 interval 5 > > Jun 1 09:39:21 localhost dhclient: DHCPDISCOVER on wlan0 to > > 255.255.255.255 port 67 interval 5 > > Jun 1 09:39:26 localhost dhclient: DHCPDISCOVER on wlan0 to > > 255.255.255.255 port 67 interval 8 > > Jun 1 09:39:26 localhost kernel: wlan0: no IPv6 routers present > > Jun 1 09:39:34 localhost dhclient: DHCPDISCOVER on wlan0 to > > 255.255.255.255 port 67 interval 15 > > Jun 1 09:39:49 localhost dhclient: DHCPDISCOVER on wlan0 to > > 255.255.255.255 port 67 interval 8 > > Jun 1 09:39:57 localhost dhclient: DHCPDISCOVER on wlan0 to > > 255.255.255.255 port 67 interval 12 > > Jun 1 09:40:09 localhost dhclient: DHCPDISCOVER on wlan0 to > > 255.255.255.255 port 67 interval 8 > > Jun 1 09:40:17 localhost dhclient: No DHCPOFFERS received. > > Jun 1 09:40:17 localhost dhclient: No working leases in persistent > > database - sleeping. > > ------------------------------------------- > > > > Using ip static, the driver works fine. > > A test using http://mire.ipadsl.net/speedtest.php : > > ethernet: 446.961 Ko/sec > > bcm43xx: 459.84 Ko/sec > > bcm43xx-mac80211: 478.147 Ko/sec > > You certainly do a lot better than I do with mac80211 - your interface is > driving the line at full > rate. With bcm43xx-mac80211, I get 47 Ko/sec. >
Yes. iwconfig gives me Rate=54 Mb/s. I think the driver can do better, I am limited by my adsl line. > Your problem is one of signal strength. The reason that a static IP works and > DHCP does not is that > mac80211 sets the initial transmit rate at 54 Mbs. Yes, it does have a rate > adjustment algorithm, > but by the time the rate gets down to 1 Mbs, DHCP has already given up. > > Since no one ever goes back to read the archives of this list, I will point > you at a previous > posting that has relevance: > http://lists.berlios.de/pipermail/bcm43xx-dev/2007-April/004640.html. In > that message, you will find a patch that sets the initial rate to 1 Mbs, > which will allow your > interface to make a DHCP connection. That change will never be put into > mac80211, as it will not be > needed once the bcm43xx driver is debugged. > Thank you for the recall. I already read this message, but I forgot it. Best regards, Bin > Larry > _______________________________________________ Bcm43xx-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
