Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp755411rdg; Wed, 11 Oct 2023 04:53:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHA4Ze0jmMmbvOuHSRmJtHjF/6YKjnel2KogdPzewuGaDDTW6lf1pwRkvT0fL8gUp2+uh/0 X-Received: by 2002:a25:42c8:0:b0:d9a:6b1e:ef51 with SMTP id p191-20020a2542c8000000b00d9a6b1eef51mr3668927yba.2.1697025217770; Wed, 11 Oct 2023 04:53:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697025217; cv=none; d=google.com; s=arc-20160816; b=Ak60WpZ4qxkz06N5QKiuhJZJYKAamKbFMxpA7cGj1q219Nm5ZhctF5DEWUKsGWCi9m N5AqO+LLhiKfGknX4Cpa+eNGeyDln8u1uDvTtD+FFBBUWm7LfVanG/tf/V3pRcd8ELdk dE2TrRUScuOXtN6mOnXtvH95ngNeSotbKZA/N5Ni/D/Q6Ip6ghifeqkB3Z0pe+MSCjMj ukVq9HssJgl5DyPEAGQjxrAT3TldfGtGlnlp41PdALKwsAdoZOPzAGYBltbHoO0QfTeY wEm/OeZheV4PhnYPc1I+Mtf2R+u/cWrWBKNdl6U00S3BMlBUzBxsz74EvW4bsTjz2p/j /yQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dtSDgXOWUHJYCUJwbJvG3WvQDsYPa90eFh6+2+Gl3pY=; fh=oKuxOziNuKIHRWEE7GwCapp1mTyfB2navqkSz/+SQhw=; b=QDj9Ei174VjFA5ojrIQL2ZAh+GUCpcaSLUo2KZgV/EhJAAukNC7tMhJFMpRjHIEvU0 zn9XqZPkBn8IRqB9MoEav90bpy+4Ah89HxEn8XpsLTUbxmyQwS6DslNYvsphUpbaF7ji x7j6ajWXAjG5sUdUb3z9gQCkEGpew9/A7kpQQLG4E4IAa+I/QVy6IGZHe90zTxpYotMF /8tMUQzcE2QYMu3wxd8+5iFZh/64KoUlBJxFWy5iL3tdFFxG61BD+R7gnnmy4oEwnv1e 1PksepLVyRq134LcKq8SCDp5tL2n76rdSziGdQ6NFMZrwzl6+Qf5UsSOe8Hpsu7uvbNq yh+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id bt9-20020a056a00438900b006934390d0casi11839480pfb.36.2023.10.11.04.53.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 04:53:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id CA1CA802048D; Wed, 11 Oct 2023 04:53:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231807AbjJKLx3 (ORCPT + 52 others); Wed, 11 Oct 2023 07:53:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230232AbjJKLx3 (ORCPT ); Wed, 11 Oct 2023 07:53:29 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4AE08F for ; Wed, 11 Oct 2023 04:53:27 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 39BBrEVw93997474, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.92/5.92) with ESMTPS id 39BBrEVw93997474 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 11 Oct 2023 19:53:14 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Wed, 11 Oct 2023 19:53:14 +0800 Received: from [127.0.1.1] (172.16.16.120) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Wed, 11 Oct 2023 19:53:13 +0800 From: Ping-Ke Shih To: , CC: Subject: [PATCH v3 1/6] wifi: radiotap: add bandwidth definition of EHT U-SIG Date: Wed, 11 Oct 2023 19:52:51 +0800 Message-ID: <20231011115256.6121-2-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231011115256.6121-1-pkshih@realtek.com> References: <20231011115256.6121-1-pkshih@realtek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [172.16.16.120] X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) X-KSE-ServerInfo: RTEXMBS04.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=2.8 required=5.0 tests=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 howler.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 (howler.vger.email [0.0.0.0]); Wed, 11 Oct 2023 04:53:30 -0700 (PDT) X-Spam-Level: ** Define EHT U-SIG bandwidth used by radiotap according to Table 36-28 "U-SIG field of an EHT MU PPDU" in 802.11be (D3.0). Signed-off-by: Ping-Ke Shih --- v3: - move to be first one patch v2: - correct commit message about the source of bandwidth definition of EHT U-SIG suggested by Johannes --- include/net/ieee80211_radiotap.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/net/ieee80211_radiotap.h b/include/net/ieee80211_radiotap.h index 2338f8d2a8b3..925bac726a92 100644 --- a/include/net/ieee80211_radiotap.h +++ b/include/net/ieee80211_radiotap.h @@ -539,6 +539,12 @@ enum ieee80211_radiotap_eht_usig_common { IEEE80211_RADIOTAP_EHT_USIG_COMMON_VALIDATE_BITS_OK = 0x00000080, IEEE80211_RADIOTAP_EHT_USIG_COMMON_PHY_VER = 0x00007000, IEEE80211_RADIOTAP_EHT_USIG_COMMON_BW = 0x00038000, + IEEE80211_RADIOTAP_EHT_USIG_COMMON_BW_20MHZ = 0, + IEEE80211_RADIOTAP_EHT_USIG_COMMON_BW_40MHZ = 1, + IEEE80211_RADIOTAP_EHT_USIG_COMMON_BW_80MHZ = 2, + IEEE80211_RADIOTAP_EHT_USIG_COMMON_BW_160MHZ = 3, + IEEE80211_RADIOTAP_EHT_USIG_COMMON_BW_320MHZ_1 = 4, + IEEE80211_RADIOTAP_EHT_USIG_COMMON_BW_320MHZ_2 = 5, IEEE80211_RADIOTAP_EHT_USIG_COMMON_UL_DL = 0x00040000, IEEE80211_RADIOTAP_EHT_USIG_COMMON_BSS_COLOR = 0x01f80000, IEEE80211_RADIOTAP_EHT_USIG_COMMON_TXOP = 0xfe000000, -- 2.25.1