From owner-freebsd-hackers@FreeBSD.ORG Sun Dec 4 23:00:07 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAD9C16A41F for ; Sun, 4 Dec 2005 23:00:07 +0000 (GMT) (envelope-from tlang@csu.edu.au) Received: from csunb.mit.csu.edu.au (csunb.csu.edu.au [137.166.4.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68FFF43D62 for ; Sun, 4 Dec 2005 23:00:04 +0000 (GMT) (envelope-from tlang@csu.edu.au) Received: from ESBA01.CSUMain.csu.edu.au (ESBA01.CSUMain.csu.edu.au [137.166.5.27]) by csunb.mit.csu.edu.au (8.12.11/8.12.11) with ESMTP id jB4MxkJA017866 for ; Mon, 5 Dec 2005 10:00:00 +1100 (EST) Received: from ESWW02.CSUMain.csu.edu.au ([137.166.69.126]) by ESBA01.CSUMain.csu.edu.au with Microsoft SMTPSVC(6.0.3790.1830); Mon, 5 Dec 2005 09:59:59 +1100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Mon, 5 Dec 2005 09:59:58 +1100 Message-ID: <0C7AF4692D7A6143A72AD00E5681D7E5ADA454@ESWW02.CSUMain.csu.edu.au> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: noise level measurement with Atheros driver Thread-Index: AcX5JnNIeB89wNbYSbGC8f/sfW468Q== From: "Lang, Tanja" To: X-OriginalArrivalTime: 04 Dec 2005 22:59:59.0159 (UTC) FILETIME=[737D4470:01C5F926] X-Mailman-Approved-At: Mon, 05 Dec 2005 05:35:25 +0000 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: noise level measurement with Atheros driver X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2005 23:00:07 -0000 Hi, =20 I would like to record signal strength and noise level for each client packet received on a wireless access point. I found the fields IEEE80211_RADIOTAP_DBM_ANTSIGNAL and IEEE80211_RADIOTAP_DBM_ANTNOISE in the radiotap header which should give me this information.=20 =20 The 'wi' interface sets both of these values in if_wi.c=20 if_wi.c: sc->sc_rx_th.wr_antnoise =3D = frmhdr.wi_rx_silence; if_wi.c: sc->sc_rx_th.wr_antsignal =3D = frmhdr.wi_rx_signal; =20 While the 'ath' interface only provides signal strength information. if_ath.c sc->sc_rx_th.wr_antsignal =3D = ds->ds_rxstat.rs_rssi; =20 Is the Atheros driver (which my current wireless card in the AP uses) capable of providing noise information? If yes, which line needs to be added in if_ath.c? =20 Thanks, Tanja =20