Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp690146ybg; Mon, 1 Jun 2020 11:46:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsHoIVSg+EbekWpspmVvoH8L/XEzCwtlB5yr1E5KxLXV8bA+G0Ml3rV/TBJ4y4PG0/ZEf1 X-Received: by 2002:aa7:d042:: with SMTP id n2mr23472338edo.226.1591037176853; Mon, 01 Jun 2020 11:46:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591037176; cv=none; d=google.com; s=arc-20160816; b=i7+Bak9ooUYsmQrZ8DK6q126lahwHeW3dIyRmCOmjdOuW46Zp2jXBLfLfcCM57QgqV ptkSfcSCg4tIpq48Ky+e/pbYU2X+6MYcx+PCqNQbEyFc5BikC6w4RB9BoMDQoHwlWD2A 2mpEp3rBczu8uCCbT0A3N9ueUj67UwGFS83/nTT1aFxo0sQHV9cu8Z8p+wFwgkfj23Dv jJT6TtQSZzZCBHBYU4leYaJ6ZmrViGwoBiOF5hliG2WJfNLQdKHvm7AbhtXWCLjsBLL1 g2NS6Lpgy76qH+y5J8p2KZEBT8YbmXO3HqR1Xvm7lz6b1P6X42yBpea9wCYPIZbUnLjy KHPA== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xXJKKYXmW7spFZZIyo7ejr672kay70LHc02gTPzohPg=; b=jFGyu8/V4tokLR7ZveAHlPGr69SwVsCIwuVRNu3rvgq1RnMGaE51iEZKfZ5gkmnV7Q dPlwwcf8naseGlWujtiaQ1XIGUIKd1WVz0PSgM3VBsyiyG7Lr/yiqAQyv6vk5xlM38AE 4ZJGIu/1xK8Ecy3g0x233FiZ3FPx+sFflR249VmYQ7UtR39/gYJdhwThYCoH0b7IJu/n BXddBZYu19/CLKCFWcMAXyNEemFlYHyj0waAgUywXQzLeWCVGQCaTUbDJols25el+zBi IGIuLTUkM09mmixg4khmCzUg4guopvl0zDqiOIdTPSx8guuUY9w3/Y+6c2AAPj0XcUz/ USuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ioJFRD4u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 y6si118893edu.513.2020.06.01.11.45.53; Mon, 01 Jun 2020 11:46:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ioJFRD4u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728939AbgFASoP (ORCPT + 99 others); Mon, 1 Jun 2020 14:44:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:57772 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731019AbgFASKr (ORCPT ); Mon, 1 Jun 2020 14:10:47 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 33E52206E2; Mon, 1 Jun 2020 18:10:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591035046; bh=aWBdeAHuipsS1CnF7kn+2xqGIexF4Oyd6pLqcmDBPpw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ioJFRD4uU/pyCd3O5jBj9tAH12kEIb2EYL1PSmHiG/gKrnxYbdaCVbJ+had3X2duf zdHV1lJj4Mh7KqMwvenJHKK42CKhlZaJK4AP84ZAzZu9NJvbEwiGpoV/by/ObBUHMx 31qY+9koXhvtlSUw6bTwm9r76ybJaNNukO7lcrSE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Pradeep Kumar Chitrapu , Johannes Berg Subject: [PATCH 5.4 128/142] ieee80211: Fix incorrect mask for default PE duration Date: Mon, 1 Jun 2020 19:54:46 +0200 Message-Id: <20200601174051.050371315@linuxfoundation.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200601174037.904070960@linuxfoundation.org> References: <20200601174037.904070960@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pradeep Kumar Chitrapu commit d031781bdabe1027858a3220f868866586bf6e7c upstream. Fixes bitmask for HE opration's default PE duration. Fixes: daa5b83513a7 ("mac80211: update HE operation fields to D3.0") Signed-off-by: Pradeep Kumar Chitrapu Link: https://lore.kernel.org/r/20200506102430.5153-1-pradeepc@codeaurora.org Signed-off-by: Johannes Berg Signed-off-by: Greg Kroah-Hartman --- include/linux/ieee80211.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -2047,7 +2047,7 @@ ieee80211_he_ppe_size(u8 ppe_thres_hdr, } /* HE Operation defines */ -#define IEEE80211_HE_OPERATION_DFLT_PE_DURATION_MASK 0x00000003 +#define IEEE80211_HE_OPERATION_DFLT_PE_DURATION_MASK 0x00000007 #define IEEE80211_HE_OPERATION_TWT_REQUIRED 0x00000008 #define IEEE80211_HE_OPERATION_RTS_THRESHOLD_MASK 0x00003ff0 #define IEEE80211_HE_OPERATION_RTS_THRESHOLD_OFFSET 4