Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1980547rdb; Mon, 9 Oct 2023 08:48:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEARPMGUzn/H71ksuFJYoedupdvgS4spFXUiurGjOxV914TlOq+ktHIcExyfn1ytC2aVvMK X-Received: by 2002:a17:90b:4387:b0:270:b961:1c3d with SMTP id in7-20020a17090b438700b00270b9611c3dmr12997528pjb.22.1696866529904; Mon, 09 Oct 2023 08:48:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696866529; cv=none; d=google.com; s=arc-20160816; b=SdJqb5hDXwVeo6M74j24P6Wefe8xknhRjaVIMuZDuVX5oqyeyw1DFFvceQU+kqbMNW xpXXnJeN+8WNXPhk63DpJBRm9pg9o4302vIZcpdSbk0e2zy390bYpkdkcGGpXLvoJXqw HQygzRKeWfTUfCmkpRUzPhiujD8WNqeKQKCihv38KSxySY3cSZQnj/lOUYMjZP0vYMGX We+taEop8lSTfQRgF3wlf3L0LkELWu3woOkUp+Fq6sx3EA0Dz4lZVjgMBOhhufrr+ahO YpSADdhWkSOKl9s9mQT16VE3eG/+SL+4jYTYp1mtPQxgCSmKpmglvY9guep6R/G2jpE8 R4pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=qvmMxpidy+ngOcPeaz4a6tEod5cfiIoDKN82PomQRGg=; fh=aFVrf4/rlaPYgKq1ZdHTx3X1lOFXymq11zCjrQM5GOs=; b=zisAe5auBKT9SIMIOr9N9630ZeuXKypy+4wawkhDGgyTehHWWHlY5etsUu9k3CiFXH ZEgpDW424FnljBs5WtYub7OnTMaZ5/L7JgZ2id1eMamux8D1YO6Y+q3mH6thRTFRY68l cgaCZ63bOUcjLBQy+84b5YOOceAhap/8ZdHQ7qviYAQtXINJXobQX+vKP4xRZqZrEMQV 3KiTXYzHrkDAEZilkJdoo2vVAFtY2D4q6tHK/5+cJD9hOzGBgyVc22Nfcd9v6hG1oOmZ 2zxqPSaTuN5HrolDuqlu8B4mFKmVZGpluB6lQtrVXc5HQqxvQntdo5h8iwyotAcbMhmL 5jcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=PuTKrrhS; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id p12-20020a17090a74cc00b002791e9b60f9si9589108pjl.48.2023.10.09.08.48.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 08:48:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=PuTKrrhS; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 75E2A8044353; Mon, 9 Oct 2023 08:48:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376985AbjJIPsn (ORCPT + 52 others); Mon, 9 Oct 2023 11:48:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376789AbjJIPsm (ORCPT ); Mon, 9 Oct 2023 11:48:42 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:242:246e::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99BE699 for ; Mon, 9 Oct 2023 08:48:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=qvmMxpidy+ngOcPeaz4a6tEod5cfiIoDKN82PomQRGg=; t=1696866520; x=1698076120; b=PuTKrrhS78j+o6375uRKSwhBbzDsJK8AuP0vT0I6sVGekm2 nMtzpftdqN2faWkIhMz7gYVHmARdETe2h9IfKDX3vsRYlH8oWB9uubxnHQxL+r505jIqb50oct4uy 9Qihtr3AhzR+QZ7oNopLmbXLJ6T0najsGH12P8JGOVTr4OEjQREnb75FNtBqSzk8DfBGfHhJ4Z+ya lmWM1RHEXF7dZ8pkuOgJV5uAIemlIGYaOAXfx6cpRXa7qLeQxmVrx+0+XuwUcLzQTKuvoG6paEAL4 EkUUAv06i68xdLRwoa2Rr5XYPhvG8e4E+aS4luXMe9ZObyJuNyC47XmlfEqrKOsw==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97-RC1) (envelope-from ) id 1qpsUn-0000000Fmsz-0B9v; Mon, 09 Oct 2023 17:48:37 +0200 Message-ID: Subject: Re: [PATCH 5/6] wifi: radiotap: add bandwidth definition of EHT U-SIG From: Johannes Berg To: Ping-Ke Shih , kvalo@kernel.org Cc: linux-wireless@vger.kernel.org Date: Mon, 09 Oct 2023 17:48:36 +0200 In-Reply-To: <20231006131327.16806-6-pkshih@realtek.com> References: <20231006131327.16806-1-pkshih@realtek.com> <20231006131327.16806-6-pkshih@realtek.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-malware-bazaar: not-scanned X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 09 Oct 2023 08:48:46 -0700 (PDT) X-Spam-Level: ** On Fri, 2023-10-06 at 21:13 +0800, Ping-Ke Shih wrote: > https://www.radiotap.org/fields/U-SIG.html defines bandwidth field but > no enumerators there, so reference to the values defined by wireshark [1]= . >=20 > [1] https://github.com/wireshark/wireshark/blob/master/epan/dissectors/pa= cket-ieee80211-radiotap.c#L2466 >=20 Well. The entries here should be coming from the spec, see Table 36-28 "U-SIG field of an EHT MU PPDU" in 802.11be (D3.0) (or 36-31, it's the same since it's U-SIG-1 common part). So maybe we should define them in ieee80211.h? But at the very least I think the patch description (and perhaps comments in the code) should reference that, rather than wireshark sources :) johannes