On Fri, Jun 27, 2008 at 12:35 AM, Luis R. Rodriguez <mcgrof@xxxxxxxxx> wrote: > On Tue, Jun 24, 2008 at 2:12 PM, John W. Linville > <linville@xxxxxxxxxxxxx> wrote: >> On Tue, Jun 24, 2008 at 03:43:14PM +0300, Adrian Bunk wrote: >> >>> Can we get one of either: >>> - all selected mac80211 algorithms are built into the mac80211 module or >> >> This seems fine to me. > > OK so just to be clear -- moving forward we strive to not allow driver > specific rate control algorithms and push out current ones into > mac80211? This would mean we don't have to *cleanup* support for > driver specific RCs but instead just have them stashed in as part of > the build. The difficulty here lies in ensuring they do work for well > for other drivers but I do agree it strives to cleanup RC code. I > think vendors also tend to use a few driver specific tweaks to boost > their own throughput in their own RCs though. Can't say for sure right > now of specific details but I'll try to get back to you with them. > Perhaps Tomas can say more about that for iwl's RCs. > Annual talk about rate scaling algorithm :) I understand of need of clean framework however: Our rate scaling algorithm has intimate knowledge of iwlwifi firmware and hardware and I'm currently not seeing any benefit for it for other HW. I'm also pretty much sure that no other algorithm can do same job for iwlwifi driver. For example the rate is not attached to each frame but supplied out of band in a form of 16 steps rate sale table. I've explained already benefits of this. Detaching algorithm form the driver would at minimum require opening another API for rate scaling not usable by others. And this is not the end. This just doesn't worth the sweat if no other algorithm can be used for iwlwifi and this algorithm cannot be used by others. This would be cleaning code for sake of cleaning code without any benefits. If there be finally some other 11n card in Linux we can see the new picture and reevaluate. I'm not the Kconfig expert but desalinizing the current iwlwifi driver for prize of removing MAC80211_RC_DEFAULT_NONE just doesn't feel OK. Thanks Tomas -- 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