From patchwork Tue Oct 19 16:25:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1543514 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 4HYfKb4Zfvz9sR4 for ; Wed, 20 Oct 2021 03:27:31 +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 1mcrxT-0007NP-8B; Tue, 19 Oct 2021 16:27:23 +0000 Received: from mail-pg1-f178.google.com ([209.85.215.178]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1mcrwk-0006da-PG for kernel-team@lists.ubuntu.com; Tue, 19 Oct 2021 16:26:38 +0000 Received: by mail-pg1-f178.google.com with SMTP id t7so5411695pgl.9 for ; Tue, 19 Oct 2021 09:26:25 -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=jDCHTdBVvmwkQBKlN6ZWon+ac/mWTKmn1Zzar9q5eV4=; b=jZldDBnY1GK7RDAnWGTqKhvbW2bl2P3O2+IywDuVaq3WRzsy05zw0sr0UFw0IFio+Q 141HPhdWE8azNujL+tgzIRWagTlPMrlkvLbXfDTf9P7MqlzY9167vbj71d0VUGWujqqa FP42j0lfv2fN1Rv4tcellVD5paV0BQ0gokD2GhiU/A8wl9nNNKqCsrC1dP1WRNLAYfrR z88H7v9vaZelWCOfZlz16mq0w4ohwSGyihjkDwZaHM2fCCtrDHnf3gOtYZxi1uS+EQxG r7XvTMkUVPcsTpYdFDMLWR6eI1bofUJip4BmoCAa18fJk9fAQjF8Oqgp1N0ESd1pPUkZ CVMg== X-Gm-Message-State: AOAM531csHUFR7ZYjU7SYyFqi0Lx93x0+f8RwgvTJ9STWXjbpG4cKPe5 CrkHrupUw+Nnw1zm5mWG6HmF2THmTYI= X-Google-Smtp-Source: ABdhPJx3OmUc8r/aUeQ2V7DM+5BKAhLVkGVK82VEsct0MZXFhu3NuUSbaitPszq5p2gReGyuUxIdyw== X-Received: by 2002:a62:ed01:0:b0:44d:6aa6:30eb with SMTP id u1-20020a62ed01000000b0044d6aa630ebmr824746pfh.53.1634660782901; Tue, 19 Oct 2021 09:26:22 -0700 (PDT) Received: from localhost (220-142-196-159.dynamic-ip.hinet.net. [220.142.196.159]) by smtp.gmail.com with ESMTPSA id i128sm16661872pfc.47.2021.10.19.09.26.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 09:26:22 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 19/33][SRU][OEM-5.13] ieee80211: Add new A-MPDU factor macro for HE 6 GHz peer caps Date: Wed, 20 Oct 2021 00:25:34 +0800 Message-Id: <20211019162548.1408217-20-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211019162548.1408217-1-vicamo.yang@canonical.com> References: <20211019162548.1408217-1-vicamo.yang@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.215.178; envelope-from=vicamo@gmail.com; helo=mail-pg1-f178.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: Pradeep Kumar Chitrapu BugLink: https://bugs.launchpad.net/bugs/1939528 Add IEEE80211_HE_6GHZ_MAX_AMPDU_FACTOR as per IEEE Std 802.11ax-2021, 9.4.2.263 to use for peer max A-MPDU factor in 6 GHz band. Signed-off-by: Pradeep Kumar Chitrapu Signed-off-by: Jouni Malinen Acked-by: Johannes Berg Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/20210913175510.193005-1-jouni@codeaurora.org (cherry picked from commit 62b8963cd84df1fc04986cd9b27586acce758f36) Signed-off-by: You-Sheng Yang --- include/linux/ieee80211.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index ba50f6467147a..60e1a6774d947 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -2038,6 +2038,7 @@ int ieee80211_get_vht_max_nss(struct ieee80211_vht_cap *cap, #define IEEE80211_HE_VHT_MAX_AMPDU_FACTOR 20 #define IEEE80211_HE_HT_MAX_AMPDU_FACTOR 16 +#define IEEE80211_HE_6GHZ_MAX_AMPDU_FACTOR 13 /* 802.11ax HE PHY capabilities */ #define IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_40MHZ_IN_2G 0x02