Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1357375pxj; Fri, 18 Jun 2021 05:33:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgRd8PR2XUNPl0fKAkA66XWosZHgahne3O7M73lVvvNPqJeQCoe41qv4y4PVddOhMZgxEy X-Received: by 2002:a17:906:c2cf:: with SMTP id ch15mr3312312ejb.517.1624019593023; Fri, 18 Jun 2021 05:33:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624019593; cv=none; d=google.com; s=arc-20160816; b=wicAPFsZ5z75lzoIUkYGXb4azFMnQjKeiuxEvicF82UkwWyxP4QeBwO76BLQWkXsA7 eX2FylS0kA3qXyA3FJQzS+UinV1/4gIIfPT3ImwSiU50Gr1b80vHDVd1Il3ihMduZKoL 8eStS1/NvS/2Tpq3jzOEpK68m2Qea+BsJubQTFwmGZVjFK1MRf6R/HUVB0mwchlpQqSU FSFAl6LOT+XE8RF4H05jt3tDskxegzrTtVTr9aob4OvZrbFtW2qWjE6+wq6SnRDdKuRb I4OW+4l14I3RE0JiP/RNbedMrScvWCS6UWrcGBQdWZYNd3hjRL3yjDgMVz3x927F4DD5 rASQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:cc:to:from; bh=q7jwXEhwV3d/M1DLu36lWD6ulnPJ2us5rvnisg1KdM0=; b=v2ock6Ip/7gZZd/hkJ5WXz+PObee0aYeEli8O7bAXMxpd9B8mlZmlfXM5jmDPoF5/w 5o42dIhNWPEs63wsbjFbUQGH1Sgou3f2E1DTWppAJrWSNpQubEeK6wLy6DkDmC+iSNzL XaYbr9DPmZQfvuwz+Z40cl6KzBZzx0s+ScGQ02gZOPwPUiMXyVqfdlsPcKSxayeaCfa2 H5mlEONgWnmr49TjX1gVmf0coe2pA9TFk7/naQe2gAEtQtiH3AQhgp6uFVlybEEo2Jq+ tdByNtwNimUfXkaPNK9+PXS/4kVdcGVn+wFo0+p8IJbDuJHhZL8HEkqTSjRYD3/huHPa qI+g== ARC-Authentication-Results: i=1; mx.google.com; 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 k3si5202871eds.175.2021.06.18.05.32.50; Fri, 18 Jun 2021 05:33:13 -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; 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 S233705AbhFRKoP (ORCPT + 99 others); Fri, 18 Jun 2021 06:44:15 -0400 Received: from paleale.coelho.fi ([176.9.41.70]:48132 "EHLO farmhouse.coelho.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233678AbhFRKoO (ORCPT ); Fri, 18 Jun 2021 06:44:14 -0400 Received: from 91-156-6-193.elisa-laajakaista.fi ([91.156.6.193] helo=kveik.lan) by farmhouse.coelho.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1luBwo-001YXx-JI; Fri, 18 Jun 2021 13:42:04 +0300 From: Luca Coelho To: johannes@sipsolutions.net Cc: luca@coelho.fi, linux-wireless@vger.kernel.org Date: Fri, 18 Jun 2021 13:41:28 +0300 Message-Id: X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210618104156.747775-1-luca@coelho.fi> References: <20210618104156.747775-1-luca@coelho.fi> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on farmhouse.coelho.fi X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, TVD_RCVD_IP autolearn=ham autolearn_force=no version=3.4.5-pre1 Subject: [PATCH 03/31] ieee80211: define timing measurement in extended capabilities IE Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Krishnanand Prabhu Define the bit used for timing measurement support in extended capabilities IE, used for time synchronization. Signed-off-by: Krishnanand Prabhu Signed-off-by: Luca Coelho --- include/linux/ieee80211.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 2967437f1b11..16a3a133cd20 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -9,7 +9,7 @@ * Copyright (c) 2006, Michael Wu * Copyright (c) 2013 - 2014 Intel Mobile Communications GmbH * Copyright (c) 2016 - 2017 Intel Deutschland GmbH - * Copyright (c) 2018 - 2020 Intel Corporation + * Copyright (c) 2018 - 2021 Intel Corporation */ #ifndef LINUX_IEEE80211_H @@ -3110,6 +3110,11 @@ enum ieee80211_tdls_actioncode { */ #define WLAN_EXT_CAPA3_MULTI_BSSID_SUPPORT BIT(6) +/* Timing Measurement protocol for time sync is set in the 7th bit of 3rd byte + * of the @WLAN_EID_EXT_CAPABILITY information element + */ +#define WLAN_EXT_CAPA3_TIMING_MEASUREMENT_SUPPORT BIT(7) + /* TDLS capabilities in the 4th byte of @WLAN_EID_EXT_CAPABILITY */ #define WLAN_EXT_CAPA4_TDLS_BUFFER_STA BIT(4) #define WLAN_EXT_CAPA4_TDLS_PEER_PSM BIT(5) -- 2.32.0