Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp282098pxk; Wed, 9 Sep 2020 05:20:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQEWXx3tDa5NUWZ1f1sbZY85lS5uuPI6HOG6EkfxyZjAErKkPnMfh5PQ3V/buZY9yy+fHx X-Received: by 2002:a17:906:6682:: with SMTP id z2mr3514285ejo.434.1599654058836; Wed, 09 Sep 2020 05:20:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599654058; cv=none; d=google.com; s=arc-20160816; b=r5DhFkfko4o4rwHfAEQR9Iq8v69Srtrx03apBP36EuT2So2ppf1nmwKI0jAPZGkCF8 TsWkXzUpmiIxc9VjkcifaRE1Pr/aw1Temu/fqs7SvGCRtBg1PVJPvcaEvgsVVkc+oEt7 VusNE4+lmplQupZRCXDY2hsXnQdztmyaCFK0+Ot7KNSbL6XKRcjObJBG1pzR6KaJCIiG 6fde5SneH6OqttYkzshgVXSImb156+YGylokTCK8+wcV4D9KfhtTYVlu5Al4rTSrG1XR P3x5C1sFulKBXBcp5ynNIO3INCLUEQVmti1it9opv4fYguZBOTXKfsfO8ekfRbNV7jem q1Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=zKdS+fWxJiOd+OJt6Oi82IoE6jYeMq5QdSivlKAHLXA=; b=nQoyFspZggvJIwxtOY+tIlbPFBNz0BK5pXxpinLKfIj4w9An/Vj+anhpRbCvVGUWEd ZRhDydoyDGCfgndugU3S7JGaZ2RbTvPL750wY3YdF6UjztTjrCigG2M93GFCRq284SZz ZDsK0x2HaTAOBoTmPJo5tig8WkFv1uNWdS2+I0HipSm19MADd+6DF2Tns6P+XywsQ7wT Z1VlFLUY8+m10+XDx3KScHfkipKhjYKjcxOElbi4NTNrGWn9bdsUoGNzILbFfpkis3P9 o9k5mKib8wY11bK2OoTpmD8qXAlsjsZ+I+ivZbBNWKMpY8ouO0LLVdcfcHNPF8bskYYD ib5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=JVlyEiwV; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 64si1317843edm.423.2020.09.09.05.20.17; Wed, 09 Sep 2020 05:20:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=JVlyEiwV; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728709AbgIIMSU (ORCPT + 99 others); Wed, 9 Sep 2020 08:18:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729781AbgIIMND (ORCPT ); Wed, 9 Sep 2020 08:13:03 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32498C061755 for ; Wed, 9 Sep 2020 05:03:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zKdS+fWxJiOd+OJt6Oi82IoE6jYeMq5QdSivlKAHLXA=; b=JVlyEiwVBph/UOijhgAYpM1WbK YxpZsFta/liOeS4EQV45oKe+VkIRywryVHTz40tsMkV2vW6iNO76RmUbPZicCJ+sfCqyB5vg0WaJk qYqafc1SpM8OSKWAJYg6rYdpNHySFa0VaTAsjN1TFrjZSKjcvuYXvQ/INm1yEBawa8G4=; Received: from p4ff13fcb.dip0.t-ipconnect.de ([79.241.63.203] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1kFyp1-0006g0-EZ; Wed, 09 Sep 2020 14:03:31 +0200 Subject: Re: [PATCH 1/2] mac80211: Add new AMPDU factor macro for HE peer caps To: Tamizh Chelvam , ath11k@lists.infradead.org, johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org References: <1588611900-21185-1-git-send-email-tamizhr@codeaurora.org> From: Felix Fietkau Autocrypt: addr=nbd@nbd.name; prefer-encrypt=mutual; keydata= xsDiBEah5CcRBADIY7pu4LIv3jBlyQ/2u87iIZGe6f0f8pyB4UjzfJNXhJb8JylYYRzIOSxh ExKsdLCnJqsG1PY1mqTtoG8sONpwsHr2oJ4itjcGHfn5NJSUGTbtbbxLro13tHkGFCoCr4Z5 Pv+XRgiANSpYlIigiMbOkide6wbggQK32tC20QxUIwCg4k6dtV/4kwEeiOUfErq00TVqIiEE AKcUi4taOuh/PQWx/Ujjl/P1LfJXqLKRPa8PwD4j2yjoc9l+7LptSxJThL9KSu6gtXQjcoR2 vCK0OeYJhgO4kYMI78h1TSaxmtImEAnjFPYJYVsxrhay92jisYc7z5R/76AaELfF6RCjjGeP wdalulG+erWju710Bif7E1yjYVWeA/9Wd1lsOmx6uwwYgNqoFtcAunDaMKi9xVQW18FsUusM TdRvTZLBpoUAy+MajAL+R73TwLq3LnKpIcCwftyQXK5pEDKq57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ccc3b0c078@nbd.name> Date: Wed, 9 Sep 2020 14:03:30 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <1588611900-21185-1-git-send-email-tamizhr@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2020-05-04 19:04, Tamizh Chelvam wrote: > Add IEEE80211_HE_VHT_MAX_AMPDU_FACTOR and IEEE80211_HE_HT_MAX_AMPDU_FACTOR > as per spec to use for peer max ampdu factor. > > Signed-off-by: Tamizh Chelvam > --- > include/linux/ieee80211.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h > index a561db4..69e214c 100644 > --- a/include/linux/ieee80211.h > +++ b/include/linux/ieee80211.h > @@ -1821,6 +1821,8 @@ int ieee80211_get_vht_max_nss(struct ieee80211_vht_cap *cap, > #define IEEE80211_HE_MAC_CAP3_FLEX_TWT_SCHED 0x40 > #define IEEE80211_HE_MAC_CAP3_RX_CTRL_FRAME_TO_MULTIBSS 0x80 > > +#define IEEE80211_HE_MAC_CAP3_MAX_AMPDU_LEN_EXP_SHIFT 3 Can we please stop adding these redundant _MASK and _SHIFT combinations in places where having just the mask is enough when used with FIELD_GET? - Felix