Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp121626pxf; Wed, 24 Mar 2021 00:23:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwerjquwiukDAX+V0YFBT3llLkqBcvMy4Ob3pAmif3HIRbE8d/4O1xVA0XqkQj6AELrZIdU X-Received: by 2002:a17:907:2513:: with SMTP id y19mr2147046ejl.241.1616570632528; Wed, 24 Mar 2021 00:23:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616570632; cv=none; d=google.com; s=arc-20160816; b=MWnTrB+WOGFaFR0ZUjCt5HCSvj0pVtcm+VuMuHlhDMuexIZTQ8v6dK3dhpF/hqyEQm 2z/cf/7vtFJ4mktJIWDS2Fm4iGpOUauLUkqAzBOhPF2SGfpquFi5j4ndYVBJ6YdzqOQm 5yFtyT9/+wvXdVhN1rbcFpdXDEkTSbxT01J9uNb/XEu8/e43lEJDror3x35l7F9dWNNS kLLyPEIlHney05Wa0dVLSil9EAvLVOLeYpREI7zaKCP7nzJymAB5CVUr8x5NpOFmysAJ vlLuzTDoF+s2ZnuAa3HRg2vmSzmLbjVQomW/r9OmbKozRXKRH85+JhPo4inVUCaccOPs 16Yg== 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=DRrxL5H2ADea+3VkE2UeVO2Xc7TtX+NmxQ7y2ymsmbA=; b=roRNym0sRtTOXdv3q2Yd9cZkRk/Gz6/Rsnr16/8uuRqCM5/Gkw5s7rNPb6rcRYZ86n 9b6RfdezHp6lRR2bnR60IrRmT/nF5HXzOCovKpJhEU11OtrrOdUv+evfwrWeXnROG+qX BvdM8x9IHcml0qwy5LMvzzo8sD4Eey3h193MlDJe5JKAq206PKmPZKxo8FdaNTPqIAt+ NmQnN4gJ8CIhTRAmUObFWj8ei4/nklUp4Nonk18v3rYtZNucBN95nQpFiTJDQLT4topo YG8+mm+ddB2JuzbQjQlvcrOqTgz1upkJDMe5e7OqXoAtoSF9mCyMVJV0mhsp38omzW4E oWTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 t22si1038871ejj.746.2021.03.24.00.23.30; Wed, 24 Mar 2021 00:23:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233097AbhCWT14 (ORCPT + 99 others); Tue, 23 Mar 2021 15:27:56 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:43440 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232231AbhCWT1l (ORCPT ); Tue, 23 Mar 2021 15:27:41 -0400 Received: from mac-pro.holtmann.net (p4fefce19.dip0.t-ipconnect.de [79.239.206.25]) by mail.holtmann.org (Postfix) with ESMTPSA id A724ECECE9; Tue, 23 Mar 2021 20:35:18 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: [PATCH v1] Bluetooth: Return whether a connection is outbound From: Marcel Holtmann In-Reply-To: <20210323115459.v1.1.I3f19b22d6eaaa182123e373a9fa1fa85105aba07@changeid> Date: Tue, 23 Mar 2021 20:27:39 +0100 Cc: linux-bluetooth , CrosBT Upstreaming , Miao-chen Chou , Alain Michaud , "David S. Miller" , Jakub Kicinski , Johan Hedberg , Luiz Augusto von Dentz , LKML , netdev@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <3CE31319-DA8C-409E-852B-30C03D0C3174@holtmann.org> References: <20210323115459.v1.1.I3f19b22d6eaaa182123e373a9fa1fa85105aba07@changeid> To: Yu Liu X-Mailer: Apple Mail (2.3654.60.0.2.21) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yu, > When an MGMT_EV_DEVICE_CONNECTED event is reported back to the user > space we will set the flags to tell if the established connection is > outbound or not. This is useful for the user space to log better metrics > and error messages. > > Reviewed-by: Miao-chen Chou > Reviewed-by: Alain Michaud > > Signed-off-by: Yu Liu > --- > > Changes in v1: > - Initial change please send a patch to describe the API change in doc/mgmt-api.txt first. Regards Marcel