From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 30 17:17:02 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 EE05016A41F for ; Tue, 30 Aug 2005 17:17:02 +0000 (GMT) (envelope-from samuel.pierson@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7004A43D45 for ; Tue, 30 Aug 2005 17:17:02 +0000 (GMT) (envelope-from samuel.pierson@gmail.com) Received: by wproxy.gmail.com with SMTP id i21so768958wra for ; Tue, 30 Aug 2005 10:17:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hsmvwBV1P87K+V66k1KytQjlo6khlzBtd3ng/fqoxGREHyzRke4DLd8dgoYWpwAsYkCS7crQEn6qRER3kx5+VaognqnDGGxQ28C12QE2EWo5KtjmGglBhEb0wHyyrjnOPsiObkqm/1chjrOjiqbBV7KGdNSFdtie3azAlmoQdts= Received: by 10.54.37.50 with SMTP id k50mr3286785wrk; Tue, 30 Aug 2005 10:17:01 -0700 (PDT) Received: by 10.54.144.1 with HTTP; Tue, 30 Aug 2005 10:17:01 -0700 (PDT) Message-ID: Date: Tue, 30 Aug 2005 12:17:01 -0500 From: Sam Pierson To: Sam Leffler In-Reply-To: <4313A2EC.5070300@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4313A2EC.5070300@errno.com> Cc: FreeBSD Hackers Subject: Re: Atheros driver and radiotap reliability 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: Tue, 30 Aug 2005 17:17:03 -0000 On 8/29/05, Sam Leffler wrote: > Sam Pierson wrote: > >I had some correspondence with the ethereal developers and David Young > > and apparently there is a bug in how ethereal handles the radiotap head= er. >=20 > News to me; the last time I checked it looked correct. I'm not sure. David told me this: FYI, ethereal's radiotap dissector was broken the last time I checked. :-( It does not obey the alignment rules for radiotap fields: the radiotap producer (usually, the kernel) inserts zeroes to ensure natural alignment of all multi-byte fields. Ethereal does not account for this. The tcpdump sources get this right. > The radiotap header includes the rssi returned by the hardware for rx'd > frames. > sc->sc_rx_th.wr_antsignal =3D ds->ds_rxstat.rs_r= ssi; I get (slightly) different values for the RSSI displayed in ethereal (if it= 's=20 correctly being displayed, still looking) than the SS displayed in dB by=20 tcpdump. Is the SSI displayed by ethereal the sc->sc_rx_th.wr_antsignal being passed through? =20 =20 > Nothing is recorded for tx frames. You can typically treat it as being > in .5dBm units relative to the current noise floor. =20 *it*, referring to the rssi value above? Thanks for the help, Sam