Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1035446ybb; Wed, 25 Mar 2020 14:25:29 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsWAtY2mTar+8oOgmn6XMZmpXQmMyxVQW1Ql1n10unu39yRGZBwFAhDJUZrFGT5b4GQeulD X-Received: by 2002:a05:6830:20d5:: with SMTP id z21mr3869981otq.237.1585171529177; Wed, 25 Mar 2020 14:25:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585171529; cv=none; d=google.com; s=arc-20160816; b=f0vtXO5nZwcXOwpAAnCbhxw8UXONQ8nFK2hIZ1+OWv7xfuNFkOJ/3FUxbtIYnzoWAc fUqKWwb8B6VgtEUMunUrTu3wyrbi87EVKN3mZdj7oJv/x/nUJYWItqfngixhfuMpxyXg 5MOwfxU3Zru13yRk4Qc+Re4uWUU+c5wbsHmE8QDFgkS7T3q34S+7Kk/Tnr5ySnZGlvGj W+IER9A2qob5NCUXg7IzAqYrEeB4gxoczwhVfF07EPRvbXayE3omzU/4r5PDBJdiJ9fO tMC1OXTtlXJgA+whaq+Qg8HpSioLKvXWEpvdgj1735kiLE56EjmxQOywEvKqYrgghogJ 313w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=kBnwY65H2xDhXKZvQoxIpWxws5SkQzjhHitPl4irhE8=; b=lAsfrhhDMfXsVYMvkQppNkA7MAAImTCiwfxMLupV5hUUWrhVVi+XOaU0On4UEmmCga AQNtS+0lpri9/6ilqG5xrbn3b5fMeyBDysOZ8mYX38n7Zhbdz+8D89PNLoRBKfR+G3L0 UoCaZrRWtl+EE3qXP1H51NCiBnxJbGFxEQEhnDHR2Wbcom7zhEWIZ9fP/Rujp4VTKLMM gcV5vs7mh6wqkY4lisEq/JExqcvWxjGWtgEb6+j3PT8Q1wIirf7rh8XJOuADOyj2vqdV hdD7ioPON9vbTCJASk+yps67SY8yfOHO+ZiRnPbbVamEY1WvlIrHMMJV8JNuQ2uwhgLq VOpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x25si98965oic.180.2020.03.25.14.25.14; Wed, 25 Mar 2020 14:25:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727358AbgCYVZK convert rfc822-to-8bit (ORCPT + 99 others); Wed, 25 Mar 2020 17:25:10 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:40174 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727351AbgCYVZK (ORCPT ); Wed, 25 Mar 2020 17:25:10 -0400 Received: from marcel-macbook.fritz.box (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id 0BEE0CECD6; Wed, 25 Mar 2020 22:34:40 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [BlueZ PATCH v4 1/5] mgmt: Update docs for Add Device From: Marcel Holtmann In-Reply-To: <20200319185000.BlueZ.v4.1.Idb4f0444e40064a861ee73b098264abd30114aaa@changeid> Date: Wed, 25 Mar 2020 22:25:07 +0100 Cc: Luiz Augusto von Dentz , alainm@chromium.org, chromeos-bluetooth-upstreaming@chromium.org, linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: References: <20200320015023.85896-1-abhishekpandit@chromium.org> <20200319185000.BlueZ.v4.1.Idb4f0444e40064a861ee73b098264abd30114aaa@changeid> To: Abhishek Pandit-Subedi X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Abhishek, > Update the docs for Add Device with information on flags mask and value. > Add information on the Wakeable flag that can be set to allow the device > to wake the system from suspend. > --- > > Changes in v4: > * Newly added support in Add Device for flags > > Changes in v3: None > Changes in v2: None > > doc/mgmt-api.txt | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt > index 27a41f334..e99c23710 100644 > --- a/doc/mgmt-api.txt > +++ b/doc/mgmt-api.txt > @@ -1997,6 +1997,8 @@ Add Device Command > Command Parameters: Address (6 Octets) > Address_Type (1 Octet) > Action (1 Octet) > + Flags Mask (1 Octet) > + Flags Value (1 Octet) so we can actually not do that. This is not backwards compatible since the current kernel version have a strict size check for the command parameter size of Add Device. Is there a problem to just introduce action 3 as I mentioned before? Regards Marcel