From owner-freebsd-net@FreeBSD.ORG Sat Feb 20 21:51:28 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAFA0106568B; Sat, 20 Feb 2010 21:51:28 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 8DF4C8FC1E; Sat, 20 Feb 2010 21:51:28 +0000 (UTC) Received: from ice.local ([10.0.0.115]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id o1KLpRcc021461 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 20 Feb 2010 13:51:28 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <4B80595F.2050406@errno.com> Date: Sat, 20 Feb 2010 13:51:27 -0800 From: Sam Leffler User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Alexander Egorenkov References: <2d3b7e441002100446k36493e24ldef6d4e335092b7f@mail.gmail.com> <4B73274E.1050902@freebsd.org> <2d3b7e441002101401x2f6f5f28i5ee3b63c18e6b1ed@mail.gmail.com> In-Reply-To: <2d3b7e441002101401x2f6f5f28i5ee3b63c18e6b1ed@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-x.dcc-servers-Metrics: ebb.errno.com; whitelist Cc: freebsd-net@freebsd.org, Rui Paulo Subject: Re: net80211 and PPI header X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2010 21:51:28 -0000 Alexander Egorenkov wrote: >> What exactly do you need? We should be able to extend radiotap. >> > > 1. Not only one RSSI but for every antenna (also in dBm) > 2. HT greenfield/HT mixed indicator > 4. Number of spatial streams (STBC) > 3. A-MPDU support (MPDU density, A-MPDU reassembly) > > The most important one is A-MPDU support, i think. > > Wireshark supports PPI header and can handle A-MPDUs very nicely. > > That's it for now :-) I discussed integrating PPI w/ radiotap back when I did the existing 11n support but never got anywhere (>3 years ago?). The PPI stuff was done under contract to Intel and the folks involved never contacted anyone about doing it within radiotap instead. It looked entirely possible to leverage the PPI decoder in wireshark to handle AMPDU reassembly from the radiotap decoder but I never got to it. As to the other state Greenfield was nonexistent (and unclear if it'd make it out of draft status) when I did stuff or I'd have reserved a bit for it. The # of streams can be implied from the MCS unless I misunderstand. I do want the per-antenna/chain state (rssi, nf, evm) but was looking for things to stabilize before adding to radiotap--each device/driver exports different data and I wanted something that was enough of a superset to handle the most devices. Adopting PPI data structures would be reasonable. I would prefer to not emit PPI but instead augment radiotap. We've standardized on radiotap for 802.11 and all the drivers now use it (or should use it). I'll leave it to others to deal w/ the politics of the radiotap noobs; the technical details of doing this are straightforward. Sam