Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp11851pxj; Tue, 1 Jun 2021 13:50:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuTGm9LrCGop5qLI7OOI51wsZEHMIOvsRsY2Zd91dlO79PNIP5rIfWoDmaT81mRhiFkGY1 X-Received: by 2002:a05:6e02:2192:: with SMTP id j18mr22491872ila.223.1622580651087; Tue, 01 Jun 2021 13:50:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622580651; cv=none; d=google.com; s=arc-20160816; b=rdU2l7+bkO1zxdTdpuv+x2+YsWT2BoCEBaPcMYjZMpR6rIpEAnL0emBvb96vKUbLNJ ZfZOK7dr56iZxRZYTV3vwfjVSoDbSiAeKAcTKQiFcQtXxtpFycgRjJ7ze47W0HUwvW+I bX/UPtZvk0b11v8mnDMipUWSicaZ3L3tnTjFc6AWIsqH+QxNOvNXneESrlPc8rUkpYmK G14GNcCZ9Y8bTKsNY6SHlvFGgoeiGnNQWoJ55NDi7JoyLkd23obyBdtfzDaaCeZBA1wZ KegY9YXza85te/Cb7UiekC1MPyaqhkurtQsOZ0wAY4RKMOidmXuuGZPTX52QGbZImqwj 8CSw== 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:to:from:dkim-signature; bh=CdJNU0zP86fQfsZY8fo8y9YbQomtTm+qfzfDCYZeLvc=; b=KWkimu/eaSHKPX2SYTwdyPLpyQSyD4L1NDhTJhEpDMKEl4/wMy+536NI6P2Z8VLyFC 5E0jWX6mifK9ZE+37vO/Slt2nIBXjvmR2KOJbcdPlezqPC1zK+kf4z9vqSNR7D3r+ZIa 5tjg4TJa8Rsn9UwLkGSsu0505G3SvpX0YKhwGdStqDA8nNtZe6TPrpwOUax1PQLlYQ/n vWANgr4cJrDubSIFmc+jiOg36vc9uICWPMz0BM9pXe0jU/1B3NmjNpOHoqXm4v8v8pCX uZty+QaF3f6GMgA6dQ5nELGmS/W/hcIWgLoAJKDpT0LyS+zOcUV12DxlMdNSMcRY/E2t 4K0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ufn8noxd; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x18si17426553iol.35.2021.06.01.13.50.32; Tue, 01 Jun 2021 13:50:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ufn8noxd; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234698AbhFAUvE (ORCPT + 99 others); Tue, 1 Jun 2021 16:51:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234756AbhFAUvD (ORCPT ); Tue, 1 Jun 2021 16:51:03 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1797FC061574 for ; Tue, 1 Jun 2021 13:49:21 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id f22so500489pfn.0 for ; Tue, 01 Jun 2021 13:49:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=CdJNU0zP86fQfsZY8fo8y9YbQomtTm+qfzfDCYZeLvc=; b=ufn8noxdawMKqHal66p+ZcdLa4+RQQ6yIxc+YL1YBJE0t9/4zg+G2GUlkwQwoFXrtR OZwOWuTjPBY3xyev7hOhAOflidF/5YPYF8qosWbCwGF+meIxZlSWxqEDdiCVL208IrGB lGEh2e04VyjzvJiRxMnv2II79yR2eAHGo5vUYZwL2RObAdcJRy4k/VGP8lV9/cgbZ/Vl 1UKGrZiEuGUkOokIyJiWDnejb1lR7/AtgMGQZKBKxNnreTuZ14OhIxl+vXq+/cT8AB0p D+EV+UX5Lv4Lo0ieX2UiF8GekHiX1FgEl8HI4Fdtr/l2osTVw6xXiHj1Xoe6vxBsNz7R O7IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=CdJNU0zP86fQfsZY8fo8y9YbQomtTm+qfzfDCYZeLvc=; b=MzkiYybrrb/HenKAMhjR0b5pdJJwF3A8+4IkYk6oO78mvqWWNi97/sbQyDQGFPuYwl DfZllCQnnnzrvS/SWePpSbUWM15saZFxte+RCxzxdG7fyr9P18w3c8TcYdLcoSjt4ab6 bRxXHP5jYvwvzQ4qicSpguJomkooaqFDlLfVEkEtdtvEp18cz1rwPPMCao8oaRNyTo43 J//0H1rBEXh9isFVIxf0+011CgfumnWCQkiTbSfEiEvqIsmTOLepKso8MOT0ULC11sjz tpyTbJ9cL45YBdBMUmMQ2n6xwNscXZUDz6xWXg62L12D2rgNKOJbriG0r0NRO3eLdUP7 Kc5Q== X-Gm-Message-State: AOAM530nrBjwhB3c9PygPzQkVbYWEakOkYyqWES0Xy1ys4bSfghfInNG OB46YSCjNLO3+HY4R8wH0lQZZEMovdo= X-Received: by 2002:a63:ae01:: with SMTP id q1mr29229956pgf.216.1622580560462; Tue, 01 Jun 2021 13:49:20 -0700 (PDT) Received: from han1-mobl3.intel.com ([2601:1c0:6a01:d830::512a]) by smtp.gmail.com with ESMTPSA id t20sm11435396pjs.11.2021.06.01.13.49.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Jun 2021 13:49:20 -0700 (PDT) From: Tedd Ho-Jeong An To: linux-bluetooth@vger.kernel.org Subject: [BlueZ PATCH V2 1/3] emulator/btdev: Enable LE Privacy feature Date: Tue, 1 Jun 2021 13:49:16 -0700 Message-Id: <20210601204918.903327-1-hj.tedd.an@gmail.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Tedd Ho-Jeong An This patch enables LE Privacy to support LL Privacy feature. --- emulator/btdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/emulator/btdev.c b/emulator/btdev.c index 692fabd71..13abad577 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -5415,6 +5415,7 @@ static void set_bredrle_features(struct btdev *btdev) btdev->features[4] |= 0x80; /* 3 slot EDR ACL packets */ btdev->features[5] |= 0x01; /* 5 slot EDR ACL packets */ + btdev->le_features[0] |= 0x40; /* LE PRIVACY */ btdev->le_features[1] |= 0x01; /* LE 2M PHY */ btdev->le_features[1] |= 0x08; /* LE Coded PHY */ btdev->le_features[1] |= 0x10; /* LE EXT ADV */ -- 2.26.3