Hi,

I was happy to see this post since I've been wanting to move away from
tbe brcm-2.4 build for quite some time.

Unfortunately I have not been able to fix mine using this method.  I
am on a WRT54GS.

I tried:
iw dev wlan0 set bitrates legacy-2.4 6 9 12 18 24 36 48 54

It seems to got a little longer before hanging, but a large file copy
will still cause the wireless to hang after a few minutes.
Of course "wifi up" will still revive the wireless.

Should I be making the equivalent "iw set bitrates" on the client
machine as well (I have a laptop connected to the router)?
If so that may not be practical since not all of my client machines
are on linux (my wife's windows laptop, and my tivo doesn't expose
advanced wireless config).

Also, you mention putting "wifi up" in a cron script.  Does doing that
sever already extablished connections?  So if I did this in the middle
of a large file copy, would it break the connection?

I wonder if a temporary solution might be to hack the b43 driver such
that it would refuse to change from g to b speeds regardless of client
settings. I'm no kernel dev, but it might be worth toying with.

One more question:  What build of openwrt are you using?  I am on
Backfire 10.03.1, r29592.  Perhaps I should be trying this trick on a
development snapshot instead.

Thanks for the work investigating this, Bastion.


> wifi up will reanimate and our freifunk-cron.minutely-check
> will do this automagically. (read further, this is not the solution)
>
> we tried to limit the rateset to e.g. lower rates, but this does NOT change
> the behaviour. what works is: define a rateset on BOTH router which makes
> it impossible to change the band, e.g.:
>
>iw dev $WIFIDEV set bitrates legacy-2.4 1 2 5.5 11
>OR
>iw dev $WIFIDEV set bitrates legacy-2.4 6 9 12 18 24 36 48 54
>
>now we had a great performance, 10 Gigabytes of wireless transfer,
>no stopping TX anymore and an empty box of beer. three things to do now:
>
>1) why does a band change (can be seen through minstrel) is a problem?
>
>2) we have to make in config-option to force a band, or a rateset:
>       e.g. uci set wireless.radio0.hwmode=11g
>       e.g. uci set wireless.radio0.bitrates='6 9 12 18 24 36 48 54'
>
>3) spread to word:
>   there is a great frustration in the community about b43,
>   but the old drivers _have_ to die, it's about time - really.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to