Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3166313pxb; Mon, 9 Nov 2020 04:33:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbhxE8o7BeE/TIvXQxex6fTw+unJ1WBzu8v8g14123oeVRt4KrvCw1gD/to4Gs9GEV9OJv X-Received: by 2002:a17:906:52c6:: with SMTP id w6mr14059713ejn.199.1604925238605; Mon, 09 Nov 2020 04:33:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604925238; cv=none; d=google.com; s=arc-20160816; b=uMco6+pJ3AFAH1dSUCTHqTXkKQla0dnZ0uUTYR6l1lKSkd/RsFM3Jamr0LIgymlyFI apPXxoa8xmlANMb0hq7U0DV33fMZA1AqbIsuSli/UHoTmxEmSS3pWEIPjk0VyQeIHz7M D/Gzo71lmqxTO57cF9OQJq6TJgXhx7k22yRJ5Mmj+GFNJfaJKDXenDV+nFua16YYbbrD VnrdNkP5N4p2u457XjD+2/to9XeP+cq/BU2+HyoF99Hr8xe78twJcWGHYsry9pbYIA5H LiYNOz1N7H/bhz3DXm+l9HbLeaH+BvSsZk//WWY2FadGtwvRmgIQeY4Tu3kMy2QWY+nU 7kfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=2X0b0BHHAWSGmnCILdMcGI+1PUbhISjwwiLmfEQ0+cc=; b=UyIgocBI0Q0Zat7nfXye3F4e7pYV8/8nAxlMRbb2wajErH2GHBx778tS/OO2IFzjxY G8/swdfSVV7d4g4CBw54+1IB9zPxKC+Ahoe3VGP/h79Z4Tiz6zPEsQv7Tld+2mtp+Ptl xfKLTi55wN4rEMI4oaK88aX206R24e8D/ZZEkop3lf3Lh53HZ0Z6jnNMu/ng0iXFPv0Z ED9PoKlGBRnmz3341ira0FUjlq0rVA7feuGhv8YQB1nxZHy3bKRW88KEpuD2+BkNcu14 gj9GrOLpNhkucWbXiNGkjAArGWnQzI/sQI/X21laIpgnv3/KamdAZReUNTwATxqk3PU2 2v3w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mh10si6484910ejb.704.2020.11.09.04.33.34; Mon, 09 Nov 2020 04:33:58 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727774AbgKIMdS (ORCPT + 99 others); Mon, 9 Nov 2020 07:33:18 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:44582 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726410AbgKIMdS (ORCPT ); Mon, 9 Nov 2020 07:33:18 -0500 Received: from marcel-macbook.fritz.box (p4fefcf0f.dip0.t-ipconnect.de [79.239.207.15]) by mail.holtmann.org (Postfix) with ESMTPSA id 427FDCECC5; Mon, 9 Nov 2020 13:40:25 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: [PATCH] Bluetooth: Resume advertising after LE connection From: Marcel Holtmann In-Reply-To: <20201106151937.1.I8362b4cedb0f34b7a88b8dbd3a62155085e02ea7@changeid> Date: Mon, 9 Nov 2020 13:33:16 +0100 Cc: Bluez mailing list , CrosBT Upstreaming , Abhishek Pandit-Subedi , "David S. Miller" , Jakub Kicinski , Johan Hedberg , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <7EEBEC7D-DC35-461E-A51A-4507AC690960@holtmann.org> References: <20201106151937.1.I8362b4cedb0f34b7a88b8dbd3a62155085e02ea7@changeid> To: Daniel Winkler X-Mailer: Apple Mail (2.3608.120.23.2.4) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Daniel, > When an LE connection request is made, advertising is disabled and never > resumed. When a client has an active advertisement, this is disruptive. > This change adds resume logic for client-configured (non-directed) > advertisements after the connection attempt. > > The patch was tested by registering an advertisement, initiating an LE > connection from a remote peer, and verifying that the advertisement is > re-activated after the connection is established. This is performed on > Hatch and Kukui Chromebooks. > > Reviewed-by: Abhishek Pandit-Subedi > Signed-off-by: Daniel Winkler in the future, please sure that the originator Signed-off-by comes first and the Reviewed-by lines after it > --- > > net/bluetooth/hci_conn.c | 12 ++++++++++-- > net/bluetooth/hci_request.c | 21 ++++++++++++++++----- > net/bluetooth/hci_request.h | 2 ++ > 3 files changed, 28 insertions(+), 7 deletions(-) Patch has been applied to bluetooth-next tree. Regards Marcel