Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp616971ybl; Wed, 11 Dec 2019 05:00:49 -0800 (PST) X-Google-Smtp-Source: APXvYqweT1V2S9MW7JOKyZ0bh0X/MdLpUPZOBLqLsf64LmB0RXKKAoiik8OQ0EID4YsTSMaFpnQR X-Received: by 2002:a9d:6181:: with SMTP id g1mr2250745otk.104.1576069249033; Wed, 11 Dec 2019 05:00:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576069249; cv=none; d=google.com; s=arc-20160816; b=LSyEO4Q1U4MchGVnyEJDG67NbKnjSJrVhSEJLQpCxuVyxsKwmezSAlUQr69v3y5d/k cM3t1MSGYIGAyzEw672pT6fUxJQB6RmYeaBF8AZTl1BuzjaJWGP+SzCYqX5YVF6FVgyb WKw77wedsQepdRP7JhP9JobQZrdmpYiXx6pUzs3PP9IuMXEz6MF6IO03s9G8he+S9ZRV xa4swrbRmyaWFowYONSjE+Z8H3RCBAHv1eBKcjjASILlTA83O0juVLKbaa4rS3aUrX8t 43ZzkiGHbs6qnLAC+ejrT1uJQl4W9py6KhaVXSHrzMZXpJLKya80drMsWBoU6ZShxFK1 20Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=32e2BFIFQQ6uoCf9o2t/DWT/+8p8lIi4cE5ayEuXOLY=; b=syUbt/YZ0JGCG66kZgAOrmW2rM0mHuscWvAicbjcNeL/S8YKhuszQSJtaFVJinDoNd LtiAXQqKasP7fnA8F0LRR6rwtwSLNfxs4vkAa+mtT5GO/TeOrfbcl40ocoSU8WvkltoO huOX3U7nfnxsd7vsiqVM9atR/UOCVzpGL13HEFa/zwhowYQyJNLJgf7DWRUKJJlOVTgD EnS4u60RKCvczeXGLIOxH6rul1O8DcJhmfNGrdsYze2fa5R2RBUrkauILa9jH044qB+7 7fTEInHU3bfrHwGqiyN5Ln29BVlD52oB6+5tziKlaTkolTIRTE16OdcI3TMKj7k8SrDj MlZw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 10si1030208oin.212.2019.12.11.05.00.26; Wed, 11 Dec 2019 05:00:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729131AbfLKM6I (ORCPT + 99 others); Wed, 11 Dec 2019 07:58:08 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:52958 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728128AbfLKM6I (ORCPT ); Wed, 11 Dec 2019 07:58:08 -0500 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.92.3) (envelope-from ) id 1if1Z2-0042bv-Dj; Wed, 11 Dec 2019 13:58:00 +0100 Message-ID: <8f7c0c22c9732cc831686df4b93dedf37e72d219.camel@sipsolutions.net> Subject: Re: Correct radiotap header for 802.11ad From: Johannes Berg To: Krishna Chaitanya Cc: Guy Harris , "radiotap@netbsd.org" , Simon Barber , Richard Sharpe , linux-wireless , Maya Erez , wil6210@qti.qualcomm.com Date: Wed, 11 Dec 2019 13:57:58 +0100 In-Reply-To: (sfid-20191211_103932_224888_F0B0909C) 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> (sfid-20191211_103932_224888_F0B0909C) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 (3.34.2-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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! > > 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. johannes