Re: [ath5k-devel] [PATCH] ath5k: ANI Implementation

2010-03-18 Thread Derek Smithies
Hi, On Thu, 18 Mar 2010, Bruno Randolf wrote: > another question is how to name the manual controls. ANI is pretty un- > intuitive and actually means "Adaptive Noise Immunity", but has been refered > to as "Ambient Noise Immunity" and even "Anti Noise Immunity" (i got this > wrong before), so woul

Re: [ath5k-devel] [PATCH] ath5k: ANI Implementation

2010-03-17 Thread Bruno Randolf
On Thursday 18 March 2010 11:38:55 Derek Smithies wrote: > Some issues come to mind: > > + else if (strncmp(buf, "ofdm-off", 8) == 0) { > > + ath5k_ani_set_cck_weak_signal_detection(sc->ah, 0); > > + } > > + else if (strncmp(buf, "ofdm-on", 7) == 0) { > > + ath5k_ani_set_c

Re: [ath5k-devel] [PATCH] ath5k: ANI Implementation

2010-03-17 Thread Derek Smithies
Hi, On Wed, 17 Mar 2010, Bruno Randolf wrote: > hey! > > Here is a preliminary Ambient Noise Imunity (ANI) implementation for ath5k. it > works only for newer chips (MAC > 0x59) and i still have some little things to > fix, but it works well for my test cases here, giving me around 24Mbps > (comp

Re: [ath5k-devel] [PATCH] ath5k: ANI Implementation

2010-03-17 Thread Jorge Boncompte [DTI2]
Hi Bruno, El 17/03/2010 9:47, Bruno Randolf escribió: > + > +/*** ANI parameters ***/ > + > +void > +ath5k_ani_set_noise_immunity(struct ath5k_hw *ah, bool on) > +{ > + const int sz[] = { -55, -62 }; > + const int lo[] = { -64, -70 }; > + const int hi[] = { -14, -12 }; > +