Hello!
This patch to bcm43xx_d80211 makes my bcm4312 associate with 802.11g
access points immediately:
diff --git a/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
b/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
index e101ed5..1470c5b 100644
--- a/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
+++ b/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
@@ -135,7 +135,7 @@ static struct ieee80211_rate __bcm43xx_ratetable[] = {
#define bcm43xx_b_ratetable (__bcm43xx_ratetable + 0)
#define bcm43xx_b_ratetable_size 4
#define bcm43xx_g_ratetable (__bcm43xx_ratetable + 0)
-#define bcm43xx_g_ratetable_size 12
+#define bcm43xx_g_ratetable_size 4
#define CHANTAB_ENT(_chanid, _freq) \
{ \
As I wrote before, my card has a problem with 802.11g APs under
bcm43xx_d80211 driver. It would associate once given all parameters
(channel, ap, essid), and it would even show a non-zero link quality,
but no data packets would go through for at least several minutes.
Note that even with this patch, the driver is still telling the d80211
stack that is supports 802.11g and has an 802.11g PHY. It just doesn't
provide any OFDM rates.
iperf over TCP shows rates around 4 Mbps, which is pretty decent,
although less than 6 Mbps measured with the softmac driver in the same
setup.
I tried to enable rates 6, 9 and 12. In this case, it takes a few
seconds (but not minutes) before ping starts working. The speed was
much lower, about 800 kbps. When trying to measure it again, the driver
started printing this:
bcm43xx_d80211: DMA queue
overflow
printk: 6645842 messages
suppressed.
bcm43xx_d80211: DMA queue
overflow
printk: 6687948 messages
suppressed.
bcm43xx_d80211: DMA queue
overflow
printk: 6699076 messages
suppressed.
bcm43xx_d80211: DMA queue
overflow
printk: 6686516 messages
suppressed.
The system became unresponsive and I had to reboot it. I've never seen
this problem if all OFDM rates are disabled.
--
Regards,
Pavel Roskin
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev