From: Luis R. Rodriguez Date: Wed, 14 Oct 2009 18:18:12 -0700 Subject: [ath9k-devel] ath9k rate control - rc.c In-Reply-To: References: <20091014222856.GB19352@tux> Message-ID: <43e72e890910141818j7ef893cdtdd69b3bcefa2ef7b@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Wed, Oct 14, 2009 at 6:11 PM, Rakesh Kumar wrote: >> > Do they represent change of directions during the development of rc.c >> > code? >> I don't think I understand your question. >> > > I mean, you develop the basic stuff to implement an algorithm and then end > up not using those parameters. Ah, got it. Yeah this probably more like code was added eons ago, used eons ago and never wiped clean after it stopped being used. At least that is my speculation. Care to point out exactly what variables you see are unused? If they are definitely not used just send a patch and remove them, if one of us does not complain then it'll get merged. >> Well I stay away from it because IMHO its pretty convoluted. But I should >> note >> that it was designed to be simple but more importantly to run really well >> on low end MIPS APs. > > It is convoluted primarily because it contains all these lines of code > corresponding to RSSI measurement that are not being used. Also, these parts > of code would be causing unnecessary slowing of the MIPS APs that you have > in mind. But all these arguments are futile if someone can point out that it > is crucial stuff and may be used for future development. Sure -- since I am still not 100% clear it may be better for you to just send a patch to remove this stuff, test it and see where it goes from there. > I must mention that > I am using compat-wireless-2.31-rc4 code, maybe there has been more > development on this stuff after that? You mean 2.6.32-rc4? I think we did some major cleanups on rate control code, but I do think those went in. Either way if you are doing development you should *always* use wireless-testing. No ifs or buts. >> Another reason I stay away is I believe minstrel can >> eventually be made MCS aware and it may work better. But someone has to >> work on that first. >> > > I can potentially hack minstrel and tailor it for ath9k but I really need to > be sure if that would be useful to the project that I am working on right > now, i.e. my Masters thesis. :) That would be swell. Luis