Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp7234035rwn; Tue, 13 Sep 2022 16:42:42 -0700 (PDT) X-Google-Smtp-Source: AA6agR7v3w6UoIl1Y2zWe0WXsRR2dvd3udY0g1VcgVi2eR3hfXSga0SqBTlpa6UGGQHIdU4LYSE4 X-Received: by 2002:a17:902:f604:b0:172:75a4:33ea with SMTP id n4-20020a170902f60400b0017275a433eamr33510357plg.7.1663112562742; Tue, 13 Sep 2022 16:42:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663112562; cv=none; d=google.com; s=arc-20160816; b=yeP4d9TXSs7yoEDJCnVA/q0uFv1krhvjAxayMaMxtBW5aWP6J6CJRuY7XOnjhB+z1D QSxwUS7axG/arGIxT7TVtDOFZFGpEoa9tQnaQ+YMbDrPDLSb35S8vZ4GB0QKjk0eQyXn hq+b+QJIK/eTdRyKgNib6LkcrAuCO7eqdVQe+jWWabt5fqZYv+pVxmsel9zIY8DCHLJ1 G0GRwWIKpi9qRO83Ps9BdVvjYV0pIgg+EQFBN3ywjfPKkq900rWHPHUYmDuApwLX5c7D p5pHXGa0FKMRToF9znp1vZoYH9vIzl/SLqc7J+AhWFAMQi9oyfL2K3KeDdDbs+0lplVx qyqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:mime-version:date :dkim-signature; bh=NwGQODpxaIQjq2Q9i7xww6BX9L+zJmLaZqsIG4X4HwQ=; b=x4o+U7avlOCVjvQVVAyB39faKhJq+HltT0i1BnYI1FSn9amecKYfP3qRw7rt4qJUgh EdEzxCEi1Iw8lDkAyitgbqDjNB7i626wUmzyMZHvQIGOv0wTxaOlEDvpENyH/tpi1Boz NgV8Oh4JZibinDj6tBnBOuWoq/ueDQ+m1+Ns2cZNGYU1yzlf+6SkDi0QEu0oOTElf+Ps YFWiZRGIjUq0dzCp0upEPkpboT3WP0BCUJ5mh78K5oVGylG4HmDPR4z4UlT6SV1Cbhqp W9MF2XH8xVGsVHDA6uaMJ8aYiB7CyIE2y23RlooDSTuR1YW8RzR0BJB7m214hpT+XJkr Fk3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=o4kOxYov; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l11-20020a170902d34b00b00178431e09bdsi4095697plk.230.2022.09.13.16.42.31; Tue, 13 Sep 2022 16:42:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=o4kOxYov; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229850AbiIMXhY (ORCPT + 99 others); Tue, 13 Sep 2022 19:37:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229853AbiIMXhW (ORCPT ); Tue, 13 Sep 2022 19:37:22 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58E2671BF2 for ; Tue, 13 Sep 2022 16:37:19 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id b14-20020a056902030e00b006a827d81fd8so11440894ybs.17 for ; Tue, 13 Sep 2022 16:37:19 -0700 (PDT) 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; bh=NwGQODpxaIQjq2Q9i7xww6BX9L+zJmLaZqsIG4X4HwQ=; b=o4kOxYovTq8PJdbtLFHNsCuRZnYOxfFbUklDCum1if7Egy/oOVrLZccjBiHzq5BXuR HQFB4ufGVJe1EForw5n8XYdu13KQ21Jwpy0r8gcfLeBszXy1Phx3faimJZyxO37aXLOp YUYAH3/1WvyO3nP8fCCVDCpiVONvC+o2oLf+5sLG/VvnPA8UotxYhrM4nCJ4+/Z1GEz7 XkEDwRlsiGrs8TsCQbv0cdQm8Oz6ibzUN3tKMehKP02NX/iFzuc8K6BUYYwhuF/pOyKD xwc/6jQHuSnUGzzuBLKblrDN9Xv0hArYEZKA2TvN7tKApcijJ5Fd2qwZO6MBZy6cuSMN nggQ== 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; bh=NwGQODpxaIQjq2Q9i7xww6BX9L+zJmLaZqsIG4X4HwQ=; b=C32CJSwd76p+tTJJSU2d0sBVeoM0bjPh2eUcnuAD2FUcMMhieFysEg9vFPnk0zMVP1 hTlKZSMeZNk9jS/IRYaXRQYJ5cZbBJe92Y6umhYsHpHC+qtIzGEEQU/KC+FYuCh8iZZ8 il24yvokD+AJOIVnFPWVDZc9HXbCmgX3X0oc/dsbHnzpjnizJNn4HxTbpklrhDObYAka ywR44hPmocUJy6qPIN8m4nMK1nCyMCQ9haQgRkZzvPxmv1NUEh90BjxmEApClKNjRFF1 5IYkSNxrr5KmgESm+RrvL45iQ2lNDlOs51TdrGSig8Gropi1NspnwPqADgxZh5cBQNx9 K7kQ== X-Gm-Message-State: ACgBeo138Ccj5zPjxbjqL6HG66SCCWVf9479zZGX80GVeXujGaixvNkZ DvEVvvD+RkYM+ulx+06ZWi350wbTguXdDohbM3/OUDDBuNZKHq9pJRuD+AVAjhfnZaX4aZMpw6H 5Xuda4ARddTDbk+G1IybnXlirSCXeFU+lMtw/R3gfCmZ0fBIIqLNXPaezJUmqimNz7NPS4H4cK7 /k X-Received: from jiangzp-glinux-dev.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:4c52]) (user=jiangzp job=sendgmr) by 2002:a81:1353:0:b0:345:34b5:ad29 with SMTP id 80-20020a811353000000b0034534b5ad29mr27724101ywt.17.1663112238498; Tue, 13 Sep 2022 16:37:18 -0700 (PDT) Date: Tue, 13 Sep 2022 16:37:14 -0700 Mime-Version: 1.0 X-Mailer: git-send-email 2.37.2.789.g6183377224-goog Message-ID: <20220913233715.3323089-1-jiangzp@google.com> Subject: [kernel PATCH v2 0/1] Bluetooth: hci_sync: allow advertise when scan without RPA From: Zhengping Jiang To: linux-bluetooth@vger.kernel.org, marcel@holtmann.org Cc: Zhengping Jiang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Johan Hedberg , Luiz Augusto von Dentz , Paolo Abeni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patch allows the device to keep advertising during active scan when ll privacy is enabled, if the device is not using privacy mode. Changes in v2: - Modify title to reduce length within limit Changes in v1: - Check privacy flag when disable advertising Zhengping Jiang (1): Bluetooth: hci_sync: allow advertise when scan without RPA net/bluetooth/hci_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.37.2.789.g6183377224-goog