Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1142621pxf; Fri, 2 Apr 2021 02:20:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzElMU4gJSedar9y5e2sN17s+h9/ilQ06OJlDzWJsSZhm6qMLJHvhYZPvA8CUtm+UhDGqtg X-Received: by 2002:a05:6402:438f:: with SMTP id o15mr14607386edc.123.1617355248167; Fri, 02 Apr 2021 02:20:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617355248; cv=none; d=google.com; s=arc-20160816; b=ddNYTbDZbUxoiGBbRvmb9ehAyaZW+GuS9P0Ro31ckD8rLh2hfP9GyPrq4m57a4VdNX Maw1Sv2ouMtEfwosDs70SEb4oHPvX2xT5DudNjjJxVdL2BUaoqLm7xG2l/ERFdUfQh9l d4+HUb5b+NzieLqNyWiqVfyJBqZB5EEg9J3oiyJvdTkvmL6ZAaB9HmDa+hAqM/z+r4y2 xkKNTkYp8uqJm/eEmOiqYScaww2L0wqC4ELYRhpFAGJscrBeyOgboagkNxfFGOaf/K55 1x482OLPbtRQ4nhkBvooNOHrtCCO9eWviovftiIofCFZsiqC7Qk5aeGbp3uvL/pUUFW/ FZ9g== 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=ypKBnSXhXH+nds/6Mz5bcvS5RgAxYTPN2InWN4gLrV0=; b=JTT3FU4RgvpQHkoBjOpc+dW27VJERPYKvvTddjvMAzT7fFsm7gurDUtEvd9V12hH0h 9XxHjDvYSOJANBbc/LFyIH+f1J2Dubhw+Etrk39wG0v8ORwYrk0CF63K8WVZ234mlZFD x8JLTg+1JVgLGoa94W3xkbZ0XcqD3ZMH3g41wVlYSLn1QsWxkkDf5SKSVhPhbi8rlawo ItrxTdsWt/QTaQeNDv/dsQZ8JA1QwwBI+40Hcpp1KjT+i3AGBWh6HxeLu3RZaDiHBQY8 lsr2LmoxG7zToD4hdoZmcMxyJJTUXdbeWxx4i61ZFWSQpLp9ddXNY5dNuHNIwvrEf7yW Wmag== 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 a21si5923405ejr.620.2021.04.02.02.20.24; Fri, 02 Apr 2021 02:20:48 -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; 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 S234479AbhDBJS5 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 2 Apr 2021 05:18:57 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:60574 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234430AbhDBJS5 (ORCPT ); Fri, 2 Apr 2021 05:18:57 -0400 Received: from marcel-macbook.holtmann.net (p5b3d2269.dip0.t-ipconnect.de [91.61.34.105]) by mail.holtmann.org (Postfix) with ESMTPSA id 62D61CED23; Fri, 2 Apr 2021 11:26:37 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: [RFC PATCH v3] doc/mgmt-api - Return connection direction in Device Connected Event From: Marcel Holtmann In-Reply-To: <20210326094845.RFC.v3.1.I530e1c3e621abd34c342d657df119e12e576d8a7@changeid> Date: Fri, 2 Apr 2021 11:18:55 +0200 Cc: linux-bluetooth , CrosBT Upstreaming , Miao-chen Chou , Alain Michaud Content-Transfer-Encoding: 8BIT Message-Id: References: <20210326094845.RFC.v3.1.I530e1c3e621abd34c342d657df119e12e576d8a7@changeid> To: Yu Liu X-Mailer: Apple Mail (2.3654.60.0.2.21) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@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 v3: > - Reserve it in Device Found event > > Changes in v2: > - Use next free bit > > Changes in v1: > - Initial change > > doc/mgmt-api.txt | 2 ++ > 1 file changed, 2 insertions(+) patch looks good and I am happy for Luiz to apply it and you send the kernel changes for it. However for userspace we don’t use Signed-off-by. Regards Marcel