Bandan wrote:
> Hi
> Thanks for the reply. I got the 32 bit drivers for the 4311 card from
> http://ftp.us.dell.com/network/R115321.EXE and then extracted the
> contents. Then I used fwcutter to extract the firmware.
> bcm43xx-fwcutter generated some message that extracting from and old
> driver is bad and that it is not possible to extract
> bcm43xx_microcode11.fw

You can ignore the above message.

> After that I issued:
> ifconfig wlan0 up
> iwconfig wlano essid "domp"
> dhclient wlan0
> 
> I got the following relevant lines in dmesg output :
> 
> *****************************************************************
> [  677.691258] bcm43xx_d80211: Broadcom 4311 WLAN found
> [  677.693203] bcm43xx_d80211: PHY connected
> [  677.693289] bcm43xx_d80211: Detected PHY: Version: 4, Type 2, Revision 8
> [  677.693365] bcm43xx_d80211: Detected Radio: ID: 2205017f (Manuf:
> 17f Ver: 2050 Rev: 2)
> [  677.693382] bcm43xx_d80211: Radio turned off
> [  677.693536] bcm43xx_d80211: Radio turned off
> [  677.693623] CLASS: registering class device: ID = 'phy0'
> [  677.693628] kobject phy0: registering. parent: ieee80211, set: class_obj
> [  677.693752] kobject_uevent
> [  677.693816] fill_kobj_path: path = '/class/ieee80211/phy0'

I find kobject debugging more distraction than help unless you are trying to 
debug kobjects.

> [  678.551520] bcm43xx_d80211: Radio turned on
> [  678.719768] bcm43xx_d80211: Chip initialized
> [  678.720054] bcm43xx_d80211: 32-bit DMA initialized
> [  678.720331] bcm43xx_d80211: Keys cleared
> [  678.736376] bcm43xx_d80211: Selected 802.11 core (phytype 2)
> [  678.736417] wmaster0: Does not support passive scan, disabled
> [  678.752719] bcm43xx_d80211: MAC suspend failed
> [  678.769186] bcm43xx_d80211: FATAL ERROR: BCM43xx_IRQ_XMIT_ERROR
> [  678.772239] wlan0: dropped data frame to not associated station
> 00:00:00:00:00:00
> [  678.875386] wlan0: dropped data frame to not associated station
> 00:00:00:00:00:00
> [  679.545451] wlan0: dropped data frame to not associated station
> 00:00:00:00:00:00
> [  680.545277] wlan0: dropped data frame to not associated station
> 00:00:00:00:00:00
> [  682.946571] wlan0: dropped data frame to not associated station
> 00:00:00:00:00:00
> [  684.544116] wlan0: dropped data frame to not associated station
> 00:00:00:00:00:00
> [  684.800011] wlan0: dropped data frame to not associated station
> 00:00:00:00:00:00
> [  688.542949] wlan0: dropped data frame to not associated station
> 00:00:00:00:00:00
> [  689.542657] wlan0: no IPv6 routers present
> [  690.981264] wlan0: dropped data frame to not associated station
> 00:00:00:00:00:00
> [  706.994627] wlan0: dropped data frame to not associated station
> 00:00:00:00:00:00
> [  738.769140] bcm43xx_d80211: MAC suspend failed
> [  738.769229] bcm43xx_d80211: FATAL ERROR: BCM43xx_IRQ_XMIT_ERROR
> [  738.870958] bcm43xx_d80211: Radio turned off
> [  738.871004] bcm43xx_d80211: DMA-32 0x0200 (RX) max used slots: 0/64
> [  738.871064] bcm43xx_d80211: DMA-32 0x02A0 (TX) max used slots: 0/128
> [  738.871373] bcm43xx_d80211: DMA-32 0x0280 (TX) max used slots: 0/128
> [  738.871681] bcm43xx_d80211: DMA-32 0x0260 (TX) max used slots: 0/128
> [  738.871989] bcm43xx_d80211: DMA-32 0x0240 (TX) max used slots: 0/128
> [  738.872297] bcm43xx_d80211: DMA-32 0x0220 (TX) max used slots: 0/128
> [  738.872606] bcm43xx_d80211: DMA-32 0x0200 (TX) max used slots: 0/128

If I read the above correctly, you never got any data transmitted. Michael, is 
that correct?

> [  738.872932] bcm43xx_d80211: Virtual interface removed (type:
> 0x00000002, ID: 8, MAC: 00:14:a5:e5:83:0d)
> ********************************************************
> 
> Can anyone suggest why I am getting the BCM43xx_IRQ_XMIT_ERROR ?

Others are getting the same sequence of MAC suspend 
failed/BCM43xx_IRQ_XMIT_ERROR. Some people have 
found that setting BADNESS_LIMIT to 0 makes them go away.

The following patch should be applied:

index d71d797..4e5ff6b 100644
--- a/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
+++ b/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
@@ -2518,8 +2518,7 @@ static void bcm43xx_periodic_work_handle
                 * be preemtible.
                 */
                mutex_lock(&bcm->mutex);
-               netif_stop_queue(bcm->net_dev);
-               synchronize_net();
+               netif_tx_disable(bcm->net_dev);
                spin_lock_irqsave(&bcm->irq_lock, flags);
                bcm43xx_mac_suspend(bcm);
                if (bcm43xx_using_pio(bcm))

This fix was found for bcm43xx-softmac, but has not yet propagated into -d80211 
in wireless-dev. It 
takes care of another error that has been seen, namely NETDEV WATCHDOG tx 
timeouts.

Larry
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to