Re: [ath5k-devel] [PATCH 10/10] ath5k: Adaptive Noise Immunity (ANI) Implementation

2010-03-28 Thread Bruno Randolf
On Monday 29 March 2010 11:02:12 Bob Copeland wrote: > On Thu, Mar 25, 2010 at 02:49:52PM +0900, Bruno Randolf wrote: > > + } else if (strncmp(buf, "noise-low", 8) == 0) { > > + ath5k_ani_set_noise_immunity_level(sc->ah, 0); > > + } else if (strncmp(buf, "noise-high", 9) == 0) { > >

Re: [ath5k-devel] [PATCH 10/10] ath5k: Adaptive Noise Immunity (ANI) Implementation

2010-03-28 Thread Bob Copeland
On Thu, Mar 25, 2010 at 02:49:52PM +0900, Bruno Randolf wrote: > + } else if (strncmp(buf, "noise-low", 8) == 0) { > + ath5k_ani_set_noise_immunity_level(sc->ah, 0); > + } else if (strncmp(buf, "noise-high", 9) == 0) { The number of characters here is off-by-one. I also tried

[ath5k-devel] [PATCH 10/10] ath5k: Adaptive Noise Immunity (ANI) Implementation

2010-03-24 Thread Bruno Randolf
This is an Adaptive Noise Imunity (ANI) implementation for ath5k. I have looked at both ath9k and HAL sources (they are nearly the same), and even though i have implemented some things differently, the basic algorithm is practically the same, for now. I hope that this can serve as a clean start to