From: Luis R. Rodriguez Date: Mon, 29 Dec 2008 10:24:10 -0800 Subject: [ath9k-devel] sensibility of driver In-Reply-To: <49589C30.10105@barbason.be> References: <49589C30.10105@barbason.be> Message-ID: <43e72e890812291024k60bd4a86s48774b173f570aa4@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 Mon, Dec 29, 2008 at 1:45 AM, AlainBB wrote: > Hi, > > I have a D-link DWA-547 wifi card and I try this on my debian/lenny. > I Compile a new kernel 2.6.27, and it ... works. > > But, the number of access point it's not the same with my windows XP. > I have 12 access points with windows, and only 4 with my linux (the 4 > better signal but not the access point I want) > I suppose what the limit of sensibility is not the same. But I don't > change the limit with the driver . > I try "iwconfig wlan0 sens -80 , but "sens" it's not recognize. > I change -95 to -150 in hw.c and core.h (and in other file in > /driver/net/wirelesse) but it didn't work. > > Have you a solution to change the thresold of sensibility ? We ignore SIOCSIWSENS in mac80211 and as such no mac80211 driver uses it. If you have small issues with ath9k on 2.6.27 and want to get an improved driver I would recommend to upgrade to the latest stable kernel, now 2.6.28, or get the very latest and greatest by using what's on wireless-testing directly or through compat-wireless: http://wireless.kernel.org/en/users/Download ath9k went into the kernel first on 2.6.27 and after that has received considerable updates. ath9k is only able to be advanced so much on 2.6.27 as that is a stable kernel and as such only bug fixes/oops will be accepted. This is an upstream policy to avoid regressions by introducing "new code". This is actually an old practice, it is just a bit more strict now and of course what is a bug is debatable but if you would like to address a specific issue with ath9k you should see if its present with the driver in wireless-testing/compat-wireless. If its not a panic and requires a lot of code changes chances are a "fix" will not go in to 2.6.27. To give you a more concerete example, although we had a patch to fix and enable aggregation on 2.6.27 [1] the patches are too intrusive to introduce for the 2.6.27 release, even after the release. Please consider trying out the latest and greatest. [1] http://www.kernel.org/pub/linux/kernel/people/mcgrof/patches/mac80211/aggrv9-2.6.27/ Luis