Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp644935ybl; Wed, 11 Dec 2019 05:23:28 -0800 (PST) X-Google-Smtp-Source: APXvYqwwCQIETCvaZxlI9rL+MSQIzyLpeg/++kxkBodxYU2rf5GUNXDbru0KJy3Bnr4zB3REvXsw X-Received: by 2002:aca:48cd:: with SMTP id v196mr2824133oia.102.1576070608358; Wed, 11 Dec 2019 05:23:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576070608; cv=none; d=google.com; s=arc-20160816; b=JUPQP0uG3dEmA2DUIlrRsfOkt+SXYJx45wV+hRQU5Ur1oI+9mdgiWxYAJRu6XK1YiK do/ke3/CZG7UNbXtpHXB39DpoTTL5dAZLCwcKYNIH6vMHjzcNCCI/OAH/WfWUzRaT2m4 /TGEysucE7zUiGnpTDGuHCtMSwpwu7EGlJC10oqixK87QX0QyWTQeC34aL9tecHL729J 5aVXZWun50yrwn+vpoeUY1lj/dgvqAogAguDFRZ4ZIMd7PPSdnfl7gu3v0u6iYt7GWMd oEOd/aKRQlXmIQ36US5RWpecCH4vzHR++wekQN4cfeKkUi0cZ16oaRFgbNxQt/H4Kcbk mpUA== 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=tRXn05EvZDJbwUzyXT6y9YLR6uAiKpjp/2mFYSI5pjc=; b=NGm6PE7LkwLfqBVC6dLg8BcWtOQTd0PB70iwAu66pL0kA95nOJiE2xZD4GCd1iV+od HV5IkOjIp5Qfv04cre+fOuJLCtcrfS51zKv1fujtdnRGmQK7Hu3JGPFcP4JJm/lxmzsq wFBs5XwAvXQThP/y1395h0k6KQuhaJ9bd2GXMcd8MslpKzlYu5EWU2MY4flEHsObt7ru lrnF1/rirgy6JxmUmQ5fXXMKkID1qkr+Y+eUT0RYZ+ig+zHrwtverhT55WLLgUsvusge SKENWZZ92bV+IaI1r2A1oq/PwmFjwYAuvNqz3qdqpmBgK3Tdgk7rG8yTPrEi+jtAyB5A tQ9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=F2iFnpn2; 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 i8si1195984oia.137.2019.12.11.05.23.10; Wed, 11 Dec 2019 05:23:28 -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=F2iFnpn2; 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 S1729370AbfLKNU7 (ORCPT + 99 others); Wed, 11 Dec 2019 08:20:59 -0500 Received: from mail-yw1-f66.google.com ([209.85.161.66]:43256 "EHLO mail-yw1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728976AbfLKNU6 (ORCPT ); Wed, 11 Dec 2019 08:20:58 -0500 Received: by mail-yw1-f66.google.com with SMTP id s187so8896648ywe.10 for ; Wed, 11 Dec 2019 05:20:58 -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=tRXn05EvZDJbwUzyXT6y9YLR6uAiKpjp/2mFYSI5pjc=; b=F2iFnpn2BspGC//2MtJ+JBClm87TvWCjt2MkbLMkO6IPhbqOQoo8y59byM5sfea+Oy kMTZaz8VdVPp0Gt7NB7RZ71rtl5E1Hpi3hkRkR1x4LlIBDBwroM00828A0K7iQZMgz7l I0fM1XWVplZJ3l+FehUfP1YKZRSr3kVqLdOLeMk1EHNW0pd0GYz+RpVj5rDLAqT7uFHi vXxC17DhuTfTf6kZaZUOFnivYulr9NSQNkIvFBCASK4RPhuvX/IvOoG6P9pcyB8oOn0O U9BAPfOFG3o8/JbeIc5wwtLIWYDCgCicUANlNCjaxbpvrWkEcSVCvqZ5CdLwvWGTlbxQ jIow== 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=tRXn05EvZDJbwUzyXT6y9YLR6uAiKpjp/2mFYSI5pjc=; b=YLcSXBE2JMmxmmtOvKy+uHcE+hoZOiwn1b7shQBWLUnCvLg8z7M3YwusvwrGQMvZfy jzzlVplQykdYIBLcMi4lGu6P0vrLdZLGqqizDyrNGmC9p+bQF+/K5WRYgEfnskJx/vUm i7IrM5ZXcHXAfVvI2Khd8aGP49is+890a8uuv/rks8oi9uADk7lpar+5YwTaraxE/H48 ku4y2yAzcwmvmpDrLnXVpFE/Dd6GiPgw28ZHuz/BRB3bVf1I52VGFK3b70pO+wyfAncJ V/P9daAUwnAWPlN+v1tUDoumOlSTKPdfVu4HLnXwz/UFCP7n5xkHCc0NL40COEaZwTd5 dZeg== X-Gm-Message-State: APjAAAX+Hujzh9aAlqplV9y1b8Ke7fJSzdh0Dx6hcE5Nwxjx7yGs7uD3 HMe/lNWDKUibMVXbUeRSVUB+8sV4zodC4nVyQNc= X-Received: by 2002:a0d:d994:: with SMTP id b142mr2404670ywe.148.1576070457717; Wed, 11 Dec 2019 05:20:57 -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> <8f7c0c22c9732cc831686df4b93dedf37e72d219.camel@sipsolutions.net> In-Reply-To: <8f7c0c22c9732cc831686df4b93dedf37e72d219.camel@sipsolutions.net> From: Krishna Chaitanya Date: Wed, 11 Dec 2019 18:50:46 +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 6:28 PM Johannes Berg wrote: > > On Wed, 2019-12-11 at 15:09 +0530, Krishna Chaitanya wrote: > > > > > 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). > > You make it sound like that some sort of thing that Linux cannot really > do better. That's far from the truth! We keep extending this (HT, VHT, > HE recently) and there's no fundamental reason we couldn't do extensions > for DMG. It's just that nobody who actually has a driver for Linux > bothered doing so! Sorry, that wasn't my intent, as there is a single upstream driver I guess it was easier to workaround than to properly add support. I agree that it shouldn't be hard, may be we can do it properly for 11ay. > > > 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. > > Somebody (@QCA I guess, I don't have any functioning driver/hardware for > Linux for this) really should sit down and define the extensions to > cfg80211/nl80211 to capture the data properly, and a radiotap extension. > None of that is hard, I've done it for VHT before and HE recently.