[EMAIL PROTECTED] wrote:
> Hello,
> 
> By "1s freeze", I mean that all packets are dropped for a duration of 1
> second. It happens at a period of 121 seconds.
> 
> I have an Asus A6Tc-AP014H laptop running Debian/Sid/x86_64.
> The wifi card is:
> 03:03.0 Network controller: Broadcom Corporation BCM4318 [AirForce One
> 54g] 802.11g Wireless LAN Controller (rev 02)
> 
> The bug is in b43 driver. I tried both 2.6.24.X and 2.6.25-rc5 with old
> and new v4 firmware.
> There is no freeze with bcm43xx and v3 firmware.
> 
> At the beginning, I suspected my access point so I filled a bug report
> at madwifi.org: http://madwifi.org/ticket/1791
> I rewrite the testcase in this email:
>  * ap$ nc -u client 2000 < /dev/zero
>  * client$ nc -ul 2000 > /dev/null
>  * rate: 1Mbps to maximize reliability
>  * I read /proc/net/dev (column: Receive/bytes) every 100ms.
> I also attach the result to this mail:
>  * 1 vert px = 1000 bytes
>  * 1 horz px = 100 ms
>  * there is a green line every second
>  * and a red one every minute
>  * ~ 100 ko/s almost all the time
> 
> The bug is really annoying because it breaks most media streamings.

The only thing that happens on a 120-second cycle is the following 
routine from drivers/net/wireless/main.c:

static void b43_periodic_every120sec(struct b43_wldev *dev)
{
         struct b43_phy *phy = &dev->phy;

         if (phy->type != B43_PHYTYPE_G || phy->rev < 2)
                 return;

         b43_mac_suspend(dev);
         b43_lo_g_measure(dev);
         b43_mac_enable(dev);
         if (b43_has_hardware_pctl(phy))
                 b43_lo_g_ctl_mark_all_unused(dev);
}

To test if this routine is the problem, replace it with a simple 
return. If that cures the problem, try commenting out the 
b43_lo_g_measure(dev) and b43_lo_g_ctl_mark_all_unused(dev) lines.

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

Reply via email to