From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Greear Date: Fri, 15 Oct 2010 09:26:00 -0700 Subject: [ath9k-devel] RE : [AR9280] unable to get noise level In-Reply-To: <12429_1287146103_4CB84A77_12429_44117_1_47271B538B94C245B47E389DBCBE1D8F3F24E766F6@PUEXCB2C.nanterre.francetelecom.fr> References: <19254_1286977542_4CB5B806_19254_6925_2_47271B538B94C245B47E389DBCBE1D8F3F24E766EB@PUEXCB2C.nanterre.francetelecom.fr>, <12429_1287146103_4CB84A77_12429_44117_1_47271B538B94C245B47E389DBCBE1D8F3F24E766F6@PUEXCB2C.nanterre.francetelecom.fr> Message-ID: <4CB88098.9070304@candelatech.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 10/15/2010 05:35 AM, mickael.masson at orange-ftgroup.com wrote: > Hi Mohammed, Hi all, > > We tried with the latest compat-wireless tree (as explained in http://wireless.kernel.org/en/users/Download/hacking#Git_trees_you_will_need) and we got same results with the command: > $ cat /proc/net/wireless > Inter-| sta-| Quality | Discarded packets | Missed | WE > face | tus | link level noise | nwid crypt frag retry misc | beacon | 22 > wlan1: 0000 30. -80. -256 0 0 0 14 18 0 > wlan2: 0000 0 0 0 0 0 0 0 0 0 > mon.wlan2: 0000 0 0 0 0 0 0 0 0 0 > > Noise is always equal to -256. > We knew that API changed when tool was released (and consequently was deprecated) but we thougth that read /proc/net/wireless would still provide reliable information. It seems that we were wrong! I'm attaching patches to make this work, but the maintainers are not interested in these patches upstream last I checked, so you'll have to apply them yourself. The status/flags part of the patch is a real hack (exposes internal flags field with no translation), but it can show you if the interfaces are scanning or not, etc. This patch also shows current rate as a new field in /proc/net/wireless. Please let me know if you have any questions. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 0001-wext-Add-noise-flags-and-rate-to-proc-net-wireless.patch Url: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20101015/cb330057/attachment-0001.txt