Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2234389rda; Tue, 24 Oct 2023 17:28:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGPDKMpXAled79Ll2U6a1A3Y7VOTvBEU/XyG6A7TCEH1v3aOfJ9UvjEWpkvvHAgGUJsXF0Z X-Received: by 2002:a05:6a00:a27:b0:6bf:83d1:da6e with SMTP id p39-20020a056a000a2700b006bf83d1da6emr11161348pfh.22.1698193714246; Tue, 24 Oct 2023 17:28:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698193714; cv=none; d=google.com; s=arc-20160816; b=ceVAkdnmBtQA373vrU7Pzu+5rfxNwUpkxGwNI3qQ33W+1USrSNeXOhonhKdYmTrdEv HtGwg2atWmbDcvty9wuJ214zfwafAYKMNEWpVcOKbPc0rgC1c7cyy5Hrpz8UuBhAcu7j BRQwNowOgcFlO0vH0QMtybqdRRxYGtKEagSRe4yWh4/y+3d/7QkkFGp2q5dBFIKkiyU9 GWXU49xoGkJzPVgQeG/gCH5EAx/jgBSQsPqyLtCNEiQr41UxbhzAfBQoHsAkTwKJQaYf cfJHZPA4MYMol64B2oaAaIfq33lGV63e5xeFr0CKk6lZacO0FIPT1moiGrPzIRoerlrk Iexw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Hf/mJKG+cM9PUZ37Ntd+jIGUOXThng+0dMJXTU4/tlk=; fh=AKS04aPRGHvKuduc10NlFiCeDquy3K02NvofUIpU264=; b=t/13bGzkPPqYg2PJ544+i6mL92wsRER4jgQTOrx9KWgb5QCFUpA+eKF+TkSX5xRBt9 Jt9xZfCCqupvgHZSvCaJe3yaR1XSwHixV3bEKnWjsiPu1MBSB6L9F8uwLFcO2jJ9/bEn wF/nPgkh9LXVjZ9B8FMSkEnJ48rUz7/U58RwOsw/sG714I5Ke+lFBOqy5hHDUw1aWQQF QXhoYnM8WRqVpRRcjhugZoHKejM0lwt87swLVyAawwrkxnxzcce+kF5qej3+43enda2w 4o02Py3scruP9Gm+pJ+GWLzAHe57pLfe47eKJxb4pe2f7Pj3WR6OhzE9+gmmidjbq3To 6Y0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@morsemicro-com.20230601.gappssmtp.com header.s=20230601 header.b="jN/FJ9Hs"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id r2-20020aa79882000000b0068780155ddbsi9031121pfl.131.2023.10.24.17.28.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 17:28:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@morsemicro-com.20230601.gappssmtp.com header.s=20230601 header.b="jN/FJ9Hs"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id ECAD8801D98A; Tue, 24 Oct 2023 17:28:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344751AbjJYA2a (ORCPT + 52 others); Tue, 24 Oct 2023 20:28:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344743AbjJYA23 (ORCPT ); Tue, 24 Oct 2023 20:28:29 -0400 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43A1AD7D for ; Tue, 24 Oct 2023 17:28:28 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-6b1e46ca282so5042326b3a.2 for ; Tue, 24 Oct 2023 17:28:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=morsemicro-com.20230601.gappssmtp.com; s=20230601; t=1698193708; x=1698798508; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Hf/mJKG+cM9PUZ37Ntd+jIGUOXThng+0dMJXTU4/tlk=; b=jN/FJ9HsvcV8MWJpTt2qEbd6BaeL6n9sWD0x4wMogV5w97FinLBxgiFQ9elcwqqAox PdbQJvNJUtIAMq9yiaIZYcayKX6zBw/HfXDraXJg9Ctqti1JiL6+RlbgAgURrcBytcqS FfMbgUFDrcRrc45ruoi8dj2ik+qXoML5BkOudUVXnagxyWaVvi981OXVvn41YrATGCtQ jKsDhqw9fvuWKQ73X/9TawvLoI9wV8eAVEvZ12Vid38VaOkzIXmPxiQSpHiyW7UTKOwm BOY71ZPZTVb0ldP8fSe/vZzsQN4dtXtrVgnpPYjknA1iuHrH/hdoAy+6eFhh665mXxnG 32LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698193708; x=1698798508; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Hf/mJKG+cM9PUZ37Ntd+jIGUOXThng+0dMJXTU4/tlk=; b=fhnC8D3yDUdM48in0fK0b37hvwjyLrLiR3sL7OhTb5ZEi8bTYxa4DFtGpVTiAxE787 EWpdhkaOUGNgafZQSMhkPyR4LImvYlErBdjTwV4lsXfdAk38dfmL854kqcPLTd0akMPH SdGXJu72WMt+bGjKMoNQz4342mPkViW/1ggHcaaHsg7HKK9KK3e/zuTZ3qNJfaaXJD+O J5W2WzVf0lzhrg8u4VtGdm/X7NTlqvwn3GZZpUxqOoq35GFgyr2iKQAAKwwcl5wnbJGv 2aY72WZLPwVztgZK+xmcxC6bgJYqzEpir3TFz74P6QTHWtSm5I0uHokwbWtArLMdBFnt DzXg== X-Gm-Message-State: AOJu0YyNeFSPHN2IzzBSyX3bd0uQ6cs2gL+tk3SEyEBik+1UXzQa5z7d pu/eCPFGx+KFKNEVz4ENCHeSq8Hn8Y9cIIFZ8+ftkY/x X-Received: by 2002:a05:6a20:258e:b0:14c:3218:c1bd with SMTP id k14-20020a056a20258e00b0014c3218c1bdmr4730809pzd.11.1698193707731; Tue, 24 Oct 2023 17:28:27 -0700 (PDT) Received: from liam-xps.sydney.mm.lcl (60-242-93-14.static.tpgi.com.au. [60.242.93.14]) by smtp.googlemail.com with ESMTPSA id ix21-20020a170902f81500b001c0a414695dsm7982258plb.62.2023.10.24.17.28.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 17:28:27 -0700 (PDT) From: Liam Kearney To: johannes@sipsolutions.net Cc: Liam Kearney , linux-wireless@vger.kernel.org, Jeff Johnson Subject: [PATCH v3] wifi: ieee80211: fix PV1 frame control field name Date: Wed, 25 Oct 2023 11:27:55 +1100 Message-Id: <20231025002755.1752983-1-liam.kearney@morsemicro.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 24 Oct 2023 17:28:31 -0700 (PDT) Update PV1 frame control field TODS to FROMDS to match 802.11 standard Signed-off-by: Liam Kearney --- v3: add signed-off-by line missed in v2 v2: update comment to reference 2020 version of the standard include/linux/ieee80211.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index bd2f6e19c357..d8e878167385 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -172,11 +172,11 @@ #define IEEE80211_SN_MODULO (IEEE80211_MAX_SN + 1) -/* PV1 Layout 11ah 9.8.3.1 */ +/* PV1 Layout IEEE 802.11-2020 9.8.3.1 */ #define IEEE80211_PV1_FCTL_VERS 0x0003 #define IEEE80211_PV1_FCTL_FTYPE 0x001c #define IEEE80211_PV1_FCTL_STYPE 0x00e0 -#define IEEE80211_PV1_FCTL_TODS 0x0100 +#define IEEE80211_PV1_FCTL_FROMDS 0x0100 #define IEEE80211_PV1_FCTL_MOREFRAGS 0x0200 #define IEEE80211_PV1_FCTL_PM 0x0400 #define IEEE80211_PV1_FCTL_MOREDATA 0x0800 -- 2.39.2