On Wed, Jul 8, 2009 at 5:57 AM, John W. Linville<linville@xxxxxxxxxxxxx> wrote: > On Wed, Jul 08, 2009 at 10:30:29AM +0300, Valentin Manea wrote: >> >> >> On 07/07/2009 07:15 PM, Luis R. Rodriguez wrote: >>> On Tue, Jul 7, 2009 at 7:48 AM, John W. Linville<linville@xxxxxxxxxxxxx> wrote: >>>> On Tue, Jul 07, 2009 at 09:10:52PM +1000, David Ross wrote: >>>>> Actually it is required to be a mutual BASIC rate (not extended rates) - >>>>> not necessarily the "lowest possible" - David. >>>> True, but FWIW I think all of our rate scaling algorithms choose the >>>> lowest rate. >>> >>> And then iwlwifi and ath9k have their own rate control algo, and at >>> least ath9k uses the lowest valid rate IIRC. >>> >>> Luis >> >> >> I've found the code in ath9k and you are right, it always chooses the >> lowest rate. >> So, basically to transmit multicast frames at a better bitrate I have >> to hack the rate control algorithm, right? > > Yes. Feel free to suggest patches for all of the available (i.e. both > generic and device-dependent) algorithms as well. BTW all this code is very generic between all drivers right now. The rate control patches I sent a while back generalize all this and add *one helper* routine which is used by all drivers for figuring the rate for broadcasts. Once those patches are applied you can then just focus on improving that one helper and then *every* driver will benefit from your work. The reason for this being a common helper instead of just embedded directly into mac80211 was that in the future some rate control algorithms may want to user higher rates for broadcast later. If there is a way to make this generic and still use a higher rate the generic helper can be extended. If rate control algorithms disagree with that implementation or want to change it they can simply drop the helper and implement their own solution. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html