Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp411970ybl; Wed, 11 Dec 2019 01:42:04 -0800 (PST) X-Google-Smtp-Source: APXvYqzm6jzZM4fUTNuFG7lMa9oRGF9MsgmYxjVLZ7nBydkNqbObDkjtMaI5RY0BUMqHxZKAcR3O X-Received: by 2002:a05:6830:594:: with SMTP id c20mr413907oth.166.1576057324451; Wed, 11 Dec 2019 01:42:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576057324; cv=none; d=google.com; s=arc-20160816; b=tjrhmYp4DJOus2cLljhc6+TAm6w+F2+HW8HJ9Zfu70JF34nD2UJ5fYumYtClvnIKP5 KgLhRbwZPbc2yINK+Npff75RoS34nh+UFMBgkixAzj5hs+O6YyoT2bxDc5cg2vn1D9o9 zbtkUmmJCguxZ+/2KOmsL3S06ErRdJ0Dg/tqRLrSulCtm797+NtOy1DlOFKKM+VS8dee ieqqv9wdsUdTvg4RWaqo2uSg4EfSSkNyFn2lRNk91ElY9He1VwgZuK0FclMHTZLE7Iol 1zSHl6reBIlDVA/W6hYN04eQZvBguWF82abgyvyd0dhNMifx6uraoIRYhNXCHoHrvGgp P8uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8x+Y+g7D+wywTIuCCRndpwe4hjsPYQiM40tzg3LPGjM=; b=u3j7Z3ESCOysFtkn8LHxwRprjc0k7HkdfsCSNKHYrhXYDqOqmJxfChberxYMSeQBwz 351mjjmJaIngC4woYbAkR0L9sO1sK8FZeOwRVBY/qMRXxZRRBaJcbxPMgvJGQ1GkkV14 n+NfdPu1LokrG6AlirW9YvURUPv0kVn6aIUbnBo5VlEElohx7tMTiS6lIk95YqyyAHFR 93bve9xZUsoTTQJi7nBjRVTZM9L16UFd1HXFysjglUUJBWUYD+PxmJOkLodh+ypY/vQ6 MGAPLsWDlLDll1SGDJ6EqR+d7Ck4azSTNyHPq29OfrQVQbHNANjenV+AcmBoa1qh3xW+ ncBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FoBmU3OL; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d199si796723oib.226.2019.12.11.01.41.41; Wed, 11 Dec 2019 01:42:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FoBmU3OL; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728636AbfLKJjb (ORCPT + 99 others); Wed, 11 Dec 2019 04:39:31 -0500 Received: from mail-yw1-f67.google.com ([209.85.161.67]:43826 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727318AbfLKJjb (ORCPT ); Wed, 11 Dec 2019 04:39:31 -0500 Received: by mail-yw1-f67.google.com with SMTP id s187so8697874ywe.10 for ; Wed, 11 Dec 2019 01:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8x+Y+g7D+wywTIuCCRndpwe4hjsPYQiM40tzg3LPGjM=; b=FoBmU3OLb5+JeiqmEMULFWny9uAu9+oYzKP5uz8LtC+4oaeCwwcCw2U9OrU9gCFKYf 9Qt/1y4oMgs+/xb0aebkudFXteHFg6fUAl8106JyPVf/A6jZEKjKTwAOpYKPVHoGX47x gPH+Kxq7mPUEWTQHI1FmQ3eYy8VONLXwO8LMUd70iaH2gNt2cp+n2DGUdsZn0HjU2AUK BNH4Z7x22ipo3Y0sK51FhERdykWqY64DrYm8+2O3ym9DIq4y/YgRm8XZUQUQbRw3ZNTx 1jXwwrY/YEIXvvixn6YqdieJp5S6pdnNvegHtmsnQvMPFSKYWqGl52+mfjaqrMyGLQP9 KyAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8x+Y+g7D+wywTIuCCRndpwe4hjsPYQiM40tzg3LPGjM=; b=hhCfMmGCaRKCEwgQava+GSJ5lcgqEKgywLXq4yoEdR+bwiz6E2yHhjXBPyY7DvvDya 3nEFEN31UnEXWywgWJmofbtGWCbxyZ4TLCZeLH6YO5WoTNRcM5TJ/PlZ8+pOdFhWxHil f8fHVbm5gKmivdmrgcc2aUz/11V99/tu1CmUXkLgq7B3gEvi6M2Iebu4BuZcU1gDjmpp pHsU+jkmQmkO9bz5v8oOfc9bukBGq+tZe3BAyFn8Y+C3oUWEMoIGVixn2FaswHIphESz MSRnCgaFHgMR36Zqmze02yDu0EDrlGfBHdwSwFhvF8R/Jpq+wukBzBF4n3FfAnfxNvYt qs7Q== X-Gm-Message-State: APjAAAWBRvTIsupbYRhznz3epCtmi7pBW4a7KblJuaPcLXPQP7zz24Fl rv8V82LS3oym2Ac/BgBA9mtlYuWJ4QEXXPLu+10= X-Received: by 2002:a81:d549:: with SMTP id l9mr1569378ywj.58.1576057170296; Wed, 11 Dec 2019 01:39:30 -0800 (PST) MIME-Version: 1.0 References: <38F46E1D-1C4A-48DC-A906-9522006E8474@alum.mit.edu> <1606812C-649C-4C06-ABE0-AE2F4474BCD0@alum.mit.edu> <1440402013.3735.1.camel@sipsolutions.net> <55DE44EB.6080603@superduper.net> <126B842D-05EA-4510-BC9B-DB1A4AABEC12@alum.mit.edu> <1135A126-6A5A-4C84-A52D-13C0387609CC@alum.mit.edu> <1442507879.2821.9.camel@sipsolutions.net> <4cf0c2a4a2d1cd92dff4f1a791d74523e446cf01.camel@sipsolutions.net> In-Reply-To: <4cf0c2a4a2d1cd92dff4f1a791d74523e446cf01.camel@sipsolutions.net> From: Krishna Chaitanya Date: Wed, 11 Dec 2019 15:09:19 +0530 Message-ID: Subject: Re: Correct radiotap header for 802.11ad To: Johannes Berg Cc: Guy Harris , "radiotap@netbsd.org" , Simon Barber , Richard Sharpe , linux-wireless , Maya Erez , wil6210@qti.qualcomm.com Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, Dec 11, 2019 at 2:02 PM Johannes Berg wrote: > > ++ for the DMG discussion > > On Tue, 2019-12-10 at 15:51 -0800, Guy Harris wrote: > > On Sep 17, 2015, at 9:37 AM, Johannes Berg wrote: > > Reviving an old thread :-) > > > > Not being familiar with DMG, I can't really comment on this. > > > > > > It does sound like we need *some* new field though, be it either a DMG > > > field or a PLCP SIGNAL field, or perhaps even both. > > > > > > Going back to the original thread though, I think using the MCS field > > > is quite wrong. > > > > But a presumably-Linux system does appear to use it; see Wireshark bug > > > > https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=16272 > > > > For now, I'll throw a hack into Wireshark to treat a signal >= 60 GHz > > as meaning 11ad, > > I don't think that's quite right - you'll need to do something like >= > 56 GHz. > > > but, again, should there be additional fields for 11ad? > > I would think so. > > On the one hand I think (and looking at the spec seems to confirm this) > that basically DMG uses an MCS index. Now, the MCS radiotap field was > designed for HT and has a lot of things that are not applicable (GI, > STBC, etc.) > > OTOH, there are DMG-specific things that probably ought to be captured > by a proper sniffer, like the PPDU type, training length, etc. Also, > there's the thing with the "Extended SC MCS Indication field", which > really also ought to be captured. > > Sadly, the only Linux implementation didn't bother adjusting any of this > even in the Linux general stack (and I didn't pay enough attention to it > at the beginning), so even the rate reporting to userspace is just the > MCS index. This might actually be sufficient for the current uses > (there's a conversion function to bandwidth too), though it doesn't seem > quite applicable to the whole spec. > > For both the Linux userspace reporting and radiotap then, this > completely ignores the existence of the MCSes 9.1 and 12.1-12.6, which > cannot be captured in either format right now. Maybe the extended SC > MCSes are just not used by equipment in the field? > They are used. Unfortunately, Linux-wireless doesn't have native support for DMG wil6210 and our driver has to workaround by using HT IE's (ieee80211_supported_band). > > > In any case, to capture DMG properly I'd say we need a new radiotap > field with at least > * (base) MCS > * Extended SC MCS bit > and it should probably optionally cover the other possible fields as > well > * Scrambler Initialization > * Length (?) > * Additional PPDU bit > * PPDU type bit > * Training Length > * Beam Tracking Request > * Last RSSI > * Turnaround yes, we definitely need this, there are some additional fields in 11ay, but I guess that discussion is for another time.