From patchwork Tue Oct 19 16:23:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1543469 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HYfFx3T5vz9sRR for ; Wed, 20 Oct 2021 03:24:21 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1mcruR-0004vm-HW; Tue, 19 Oct 2021 16:24:15 +0000 Received: from mail-pj1-f47.google.com ([209.85.216.47]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1mcruQ-0004vW-BG for kernel-team@lists.ubuntu.com; Tue, 19 Oct 2021 16:24:14 +0000 Received: by mail-pj1-f47.google.com with SMTP id nn3-20020a17090b38c300b001a03bb6c4ebso300539pjb.1 for ; Tue, 19 Oct 2021 09:24:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oHjivk3i7OCarjHCjVm2Lryq5hekuIfBTVPpN9q0950=; b=ozp+QbpBHeahpsQjUfAF7Yop4azIptVVNm/pdp4DcY+LZeXL7QSPVUnesIf4LV9r9+ f3RZN/HT77ZXhiW1QSn604/o2be3X4Kmtc9UxMvTqqNCRZzuSxaV/4ynD3/nllHlBI1i UwjuBMRaoHt9kMoqRjhR0/293NkC4gXSKe/gLSZaVec8AbaqK1zj/1O3jv0y0Kmj08en VfHEIM31/SLeQtqP/0Jj1MqqKEZDax0BMmHB1GqRDibvwylZFrxIbD95+31oSNCppjI7 yM+AGPUeWjLb9924lIOQfMkjlju5N4peTsgmJKs5/FMlizer4KggmnEVQbCZwgeC/8bp kPKA== X-Gm-Message-State: AOAM531P5aMq91Tx3MkY4WST6Xd4iEWOW1sOWct4v0RBZo6oTnyKHoEf 0bz0gaMVnELvmc8zQUZKzAekNIYXVag= X-Google-Smtp-Source: ABdhPJwTGbdm2bdOQYuQDiCSbCRjxz9Fug3ChdLBVgEEAzrRulfZiEr6F63vuWYfbRROpN8NHDJ3xw== X-Received: by 2002:a17:90b:3695:: with SMTP id mj21mr855753pjb.194.1634660652425; Tue, 19 Oct 2021 09:24:12 -0700 (PDT) Received: from localhost (220-142-196-159.dynamic-ip.hinet.net. [220.142.196.159]) by smtp.gmail.com with ESMTPSA id mi3sm212919pjb.41.2021.10.19.09.24.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 09:24:12 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 01/25][SRU][OEM-5.14] ieee80211: add definition of regulatory info in 6 GHz operation information Date: Wed, 20 Oct 2021 00:23:44 +0800 Message-Id: <20211019162408.1407525-2-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211019162408.1407525-1-vicamo.yang@canonical.com> References: <20211019162408.1407525-1-vicamo.yang@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.216.47; envelope-from=vicamo@gmail.com; helo=mail-pj1-f47.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Wen Gong BugLink: https://bugs.launchpad.net/bugs/1939528 IEEE Std 802.11ax™-2021 added regulatory info subfield in HE operation element, add it to the header file. Signed-off-by: Wen Gong Link: https://lore.kernel.org/r/20210820122041.12157-3-wgong@codeaurora.org Signed-off-by: Johannes Berg (cherry picked from commit a1ef61825469b874920f4afb889e1a92353680ff) Signed-off-by: You-Sheng Yang --- include/linux/ieee80211.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index a6730072d13a6..0415096055533 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -2266,6 +2266,9 @@ ieee80211_he_ppe_size(u8 ppe_thres_hdr, const u8 *phy_cap_info) #define IEEE80211_HE_OPERATION_PARTIAL_BSS_COLOR 0x40000000 #define IEEE80211_HE_OPERATION_BSS_COLOR_DISABLED 0x80000000 +#define IEEE80211_6GHZ_CTRL_REG_LPI_AP 0 +#define IEEE80211_6GHZ_CTRL_REG_SP_AP 1 + /** * ieee80211_he_6ghz_oper - HE 6 GHz operation Information field * @primary: primary channel @@ -2282,6 +2285,7 @@ struct ieee80211_he_6ghz_oper { #define IEEE80211_HE_6GHZ_OPER_CTRL_CHANWIDTH_80MHZ 2 #define IEEE80211_HE_6GHZ_OPER_CTRL_CHANWIDTH_160MHZ 3 #define IEEE80211_HE_6GHZ_OPER_CTRL_DUP_BEACON 0x4 +#define IEEE80211_HE_6GHZ_OPER_CTRL_REG_INFO 0x38 u8 control; u8 ccfs0; u8 ccfs1;