From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis R. Rodriguez Date: Fri, 15 Oct 2010 10:58:21 -0700 Subject: [ath9k-devel] RE : [AR9280] unable to get noise level In-Reply-To: <4CB88098.9070304@candelatech.com> References: <19254_1286977542_4CB5B806_19254_6925_2_47271B538B94C245B47E389DBCBE1D8F3F24E766EB@PUEXCB2C.nanterre.francetelecom.fr> <12429_1287146103_4CB84A77_12429_44117_1_47271B538B94C245B47E389DBCBE1D8F3F24E766F6@PUEXCB2C.nanterre.francetelecom.fr> <4CB88098.9070304@candelatech.com> Message-ID: <20101015175821.GA30740@tux> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Fri, Oct 15, 2010 at 09:26:00AM -0700, Ben Greear wrote: > 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. there is no interest in furthering wireless extensions, the focus should developing new stuff only for nl80211, users and distributions should be using nl80211 now that wext is completely replacable. Luis