Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2244616rdb; Mon, 9 Oct 2023 19:11:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG7XPRo1tOaEjlADl8rWSVR53ZrsZhOrNAiB+H3VE9kfr1VLwnfe23uc8USxqHzvXMQFk9E X-Received: by 2002:a05:6a20:6a2c:b0:16b:f586:3c4 with SMTP id p44-20020a056a206a2c00b0016bf58603c4mr12138481pzk.58.1696903866636; Mon, 09 Oct 2023 19:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696903866; cv=none; d=google.com; s=arc-20160816; b=RyLdA1cqnV5AneOd6gFHuoUIXzj/BUi2QN1tvxDgVna5pv144NVKDUNLjcl1h39RGn 4bHKoHsyuhH//N8x+HW6CtfEvUpJwpm/WBy72q7DYOmMQhcfUgvm2PL0pCiik2epU+xM uI69DnPPfb66MNdIGFiYOj0vNxjrQt2NiEzKbSXoo60NWfzTctnYkiu1/r0diewXnW3y LnZBAj4PwkaGkQgf8Wqi7nOYl39+AcZg3aDW6uB/TX6Mpahk6x9QPZmPZhoYTyjX0sX7 P1N/2tktmeVumTH2xBozzamVXV91X1ahGGCf5l37uYafIOJ3c3YHbmLj241WwvGC9c/X 9mbg== 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=9IvPSNPujLxtP6BMF4rRvnZXKRvz2q9NvP6GZZYrgYg=; fh=oKuxOziNuKIHRWEE7GwCapp1mTyfB2navqkSz/+SQhw=; b=lXspZWOTYF6loW5NdZjJLsIFuUIVsb9JDmfVWYuwH8SFpYdomQnnBxlAa9zua5cRRq NXayjuX9XkPjdJfqBfGrcQOwbH3GZgW4udMh7K7TENNgGAGE3vUVTimyygWnfRHJWCOs dpKHktM0Ajq9x0sARWcKPF+CcOHwdwnorlj8W8qprNyL1XavQQhkGKTrxAXkZ/ITFibv dh0gCr4E9aQe3LbZm8fKcL+/MubzRGFsFWEKSmidOWI7wK7ndbx4nSVJKiFN8OZ++slX Jlww7rqjUKu9Sx5GGitU24bUCOPBe/V5a/ZYPStL8uAEt345b8gc/RbPsA1xMN4ac8sX UXPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id q83-20020a632a56000000b00569161a1885si11018113pgq.288.2023.10.09.19.11.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 19:11:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id C5A5180A914E; Mon, 9 Oct 2023 19:10:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1441860AbjJJCKv (ORCPT + 52 others); Mon, 9 Oct 2023 22:10:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1441824AbjJJCKt (ORCPT ); Mon, 9 Oct 2023 22:10:49 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 320278F for ; Mon, 9 Oct 2023 19:10:47 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 39A2AaME22015418, 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 39A2AaME22015418 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 Oct 2023 10:10:36 +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; Tue, 10 Oct 2023 10:10:37 +0800 Received: from [127.0.1.1] (172.16.16.25) 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; Tue, 10 Oct 2023 10:10:36 +0800 From: Ping-Ke Shih To: , CC: Subject: [PATCH v2 5/6] wifi: radiotap: add bandwidth definition of EHT U-SIG Date: Tue, 10 Oct 2023 10:10:05 +0800 Message-ID: <20231010021006.6061-6-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231010021006.6061-1-pkshih@realtek.com> References: <20231010021006.6061-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.25] 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 agentk.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 (agentk.vger.email [0.0.0.0]); Mon, 09 Oct 2023 19:10:56 -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 --- 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