From patchwork Tue Jan 24 14:54:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaewan Kim X-Patchwork-Id: 13114293 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E95BBC25B4E for ; Tue, 24 Jan 2023 14:54:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235138AbjAXOyi (ORCPT ); Tue, 24 Jan 2023 09:54:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235132AbjAXOyg (ORCPT ); Tue, 24 Jan 2023 09:54:36 -0500 Received: from mail-pg1-x54a.google.com (mail-pg1-x54a.google.com [IPv6:2607:f8b0:4864:20::54a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F417EB45 for ; Tue, 24 Jan 2023 06:54:36 -0800 (PST) Received: by mail-pg1-x54a.google.com with SMTP id t185-20020a6381c2000000b004d2570e675bso6439071pgd.9 for ; Tue, 24 Jan 2023 06:54:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=D+RETE+69kvrgycMfRIlSWQ8SLcXQgvebrqZZkcm/1I=; b=dcOa8mBrB2R3fBeIf6EfIgUc/9jOM9PcYvS5oPT4bvUf85CAE+DAqMyMfWkPbwRyvB 4bE87wnIjd5s+1aavNWMoS7ya9kgdpQWY1kOfrReamVa7r7CvqFi1koO4FkT9J50cPUW L+n7olUVcNUc48mHWXAI0uPS2ICdDgkj1CWoqaOZSwUab5LXcVe8QKfDE7Y532Ss/lLj ZSgyY22LvRYQf/GrYPZ1e4icOF63lPeW+nCqDqM47zBbnKJG4ZElzAjc0xfGLx0rtUut zUmvii5hQ6ZoRPLwVf81KYka1DMtP/WW807VD0WFadgB+/GOeeFa//o/YhZ20v2VqM+H Ri8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=D+RETE+69kvrgycMfRIlSWQ8SLcXQgvebrqZZkcm/1I=; b=xEIZ/K7uLoSkrlKWzv//Fvdm+V3HUMLXDWLoMmoT7Ae22gg+k8lDuMWk4GULwfk5DR tEpKffmPYP/nAFMZRj0abHtlqA8qo914P/CZ+MjYWwEO5DavjkUjZGwvQ0xrBY+cYGnv FzXWsAFfX/J5Rs1NGgjSIauAkZJ5N9XPG0bJv9mLHFTftGa3ZMtmqcUeFI3Wzosp1Cx9 zgWXJQfj+2MCTev7lQiUtU3qAeQmrd4+Xg1+00Ap9be/hZVdHVTSOgITo2/lpYi3xFmQ si4f68l75KJuFgvRwhzLJclA1tpy7MB0a7xjDaQqqlRmkkGCRRkFnbsDOc1U5cWmVDPw 566g== X-Gm-Message-State: AO0yUKXg8VVZWJ+9JEHukA0KSliie6H/mujKXAAEWu58C9nibWcJt+1p vgvhLl0TV9v/FI4WawbQYVrma3voR7Q= X-Google-Smtp-Source: AK7set+yUN/11i5xH7MygJRSyExHDAD18x9cvVt4hkR9XZaD35jB5irY5QYZ5IcXeALmfVx7NlGKu6o7LNs= X-Received: from jaewan1.c.googlers.com ([fda3:e722:ac3:cc00:3:22c1:c0a8:e59]) (user=jaewan job=sendgmr) by 2002:a17:90a:a205:b0:229:f43c:4049 with SMTP id u5-20020a17090aa20500b00229f43c4049mr37838pjp.0.1674572075382; Tue, 24 Jan 2023 06:54:35 -0800 (PST) Date: Tue, 24 Jan 2023 14:54:28 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.39.0.246.g2a6d74b583-goog Message-ID: <20230124145430.365495-1-jaewan@google.com> Subject: [PATCH v6 0/2] mac80211_hwsim: Add PMSR support From: Jaewan Kim To: gregkh@linuxfoundation.org, johannes@sipsolutions.net, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Cc: kernel-team@android.com, adelva@google.com, Jaewan Kim Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Dear Kernel maintainers, First of all, thank you for spending your precious time for reviewing my changes, and also sorry for my mistakes in previous patchsets. Let me propose series of CLs for adding PMSR support in the mac80211_hwsim. PMSR (peer measurement) is generalized measurement between STAs, and currently FTM (fine time measurement or flight time measurement) is the one and only measurement. FTM measures the RTT (round trip time) and FTM can be used to measure distances between two STAs. RTT is often referred as 'measuring distance' as well. Kernel had already defined protocols for PMSR in the include/uapi/linux/nl80211.h and relevant parsing/sending code are in the net/wireless/pmsr.c, but they are only used in intel's iwlwifi driver. CLs are tested with iw tool on Virtual Android device (a.k.a. Cuttlefish). Hope this explains my CLs. Many Thanks,