Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1686823ybj; Wed, 6 May 2020 03:27:42 -0700 (PDT) X-Google-Smtp-Source: APiQypLhNEb9wPvCHB108J+83C5PYSikkmHhchdcLcuRhZoF+uuWagrWKpYVvIKd5UsVYWyYWcFr X-Received: by 2002:a17:906:5e41:: with SMTP id b1mr6389346eju.278.1588760862234; Wed, 06 May 2020 03:27:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588760862; cv=none; d=google.com; s=arc-20160816; b=dR4IeWUimqoXBQ3iVgiHCcoQaG9qmjqWNCDfP+X22WWuJWLKIVUAvKc5ZaZ9rFbHWL R+/Qp4DDg7aAsizl24dYy8MlvTxp5DGPhL6eATQUHZCXp74vxmtwrjPSNudw5EY9y36f jDCJbcfgLAX3bkLRIlo2Y1CPnmBHQug4/fIs55y19mjPH1P+72Ipt0RrRJfIve/11Y3h PooYc7hVvqCypOpL39TuNfqjIyQTf7KuXwGXk89mQPtEUw2m7MhbdxRLMYokbI8pkOVd sc8iJi4ycebU6sg4qJiNfpVoPQH7aVFaoEPhxnsPlI7INs5k/TqgsyYTMC91e1EBiUZM uw0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature; bh=XndLN8jaaSAJEDCCR9V4qqYQ7R6KFmJOO4so8dJk5/4=; b=wReqDe07ps9c7L2MyCoeKQ8L5ocEgUnmxS1Mo4ecSSKhSJhoNH0jSdbmHzwVNmRaNy MkXK2299eRJ2toKqZdLX1m9EXxLEJ1qzu7RVKmjypKfplDMFuijx5STRMhzLiYSn86wA JKd86dJ7/y9v4Q0g+XfDc0gqD9VvAT0p/hoMLM0yUxMOqpTnyvQUmxgSklMymvaUjK8F 9jDaxOx5Yj0tq5Jo759xr0qh8OPyxqJv2+hf8T8tTQERW4VS7KnXaUklD3GqmPk/2Qnf 1dPL8FxV/6iv0ZkZnC6ufUJBCmCY55IhqRmje//hyuLoztp6sfY88WqRCG5p/87SFByv mv5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=U2CZNUW6; 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 c21si926919ejk.82.2020.05.06.03.27.09; Wed, 06 May 2020 03:27:42 -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=@mg.codeaurora.org header.s=smtp header.b=U2CZNUW6; 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 S1728338AbgEFKYs (ORCPT + 99 others); Wed, 6 May 2020 06:24:48 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:55321 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726354AbgEFKYs (ORCPT ); Wed, 6 May 2020 06:24:48 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1588760687; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=XndLN8jaaSAJEDCCR9V4qqYQ7R6KFmJOO4so8dJk5/4=; b=U2CZNUW6mR6jKbsaIENIrMuWJHibVO1OpHnthz4KEn8M0aFnARrBjfO+QNyMwXxKc61G8R7A W+Y1R56tOSo04M3oYm+V8t4bdLV2bPF36nOHtaenetdhNB1gLELSJnDYu01leAybvPwfntym Zz0TV9/Wtqs1UQZCWQI3fs9SIoM= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5eb2906f.7fd1ce5a2d18-smtp-out-n05; Wed, 06 May 2020 10:24:47 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 41EFFC432C2; Wed, 6 May 2020 10:24:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from pradeepc2-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pradeepc) by smtp.codeaurora.org (Postfix) with ESMTPSA id 98A24C433D2; Wed, 6 May 2020 10:24:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 98A24C433D2 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=pradeepc@codeaurora.org From: Pradeep Kumar Chitrapu To: Johannes Berg Cc: linux-wireless@vger.kernel.org, Pradeep Kumar Chitrapu Subject: [PATCH] ieee80211: Fix incorrect mask for default PE duration Date: Wed, 6 May 2020 03:24:30 -0700 Message-Id: <20200506102430.5153-1-pradeepc@codeaurora.org> X-Mailer: git-send-email 2.17.1 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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 --- include/linux/ieee80211.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 2a92f498be1b..f31d2c79f204 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -2110,7 +2110,7 @@ ieee80211_he_ppe_size(u8 ppe_thres_hdr, const u8 *phy_cap_info) } /* 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 -- 2.17.1