Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp594282pxv; Thu, 22 Jul 2021 07:45:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEcx/57rXilh6eMW6ly7Bblj9odBSKRbZIFHA2OxJwIY6t5LjWSfPYB3sk56MZn8qyAuf+ X-Received: by 2002:a92:d388:: with SMTP id o8mr126775ilo.247.1626965150266; Thu, 22 Jul 2021 07:45:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626965150; cv=none; d=google.com; s=arc-20160816; b=V15U+tjzUrNun2jYuVDk7dMSCphmrw0NpvZZt6AXoIG3IpcPEXFP+TKbhUi47sX1eb 0oiOimIuWSLa9R1r4Ab7x0awDH9PhQXAIxJI6FB0uogLUArGd7tPd+YJt6lSZH5aetN0 yWg3MPFoGIgcj59jl2pRic7k3u01JliAMVugn653InxOBXEEGBDXVb5dRF6a4pub1mTt u6xFlgQlrCI01kF3lq3n90GU2Suqib6f6Ebs4SHD3FrS5ZOtoDN2LNrRn1aSN9x+iVvg YeDci4gkm3NQyR/eX3o3aQq4C1x5UuepWLxSyp4KbQ2v5F8thkOwsu37h/KprNbcIGNC cnwQ== 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=MuHXGyfvyNq8n50TOws8syU00ZrI74kW7rxgaA/66FM=; b=Zce+okRA7D/ruq/DjjJdGfxv5PlIfjpU/7DD+F+/ys5oep4W3/yWkkLsVKesTB8GLU 5pHxjbG2zRoOlOwm12UOG0xen8NIMDB3S0KXaB2iPlEEr/nyZT89BOIu0zReqt0HLMkE cPgfGIEsyfvozO5V9wEDhY9POkXZQndyf0CMphDX3fqcGgoxbwDcBpbtg3Hgn99aIjb1 +E7EKvhEXEQKI0Op79eLQHPk6Lfy/sytzERJGcdD0ukml7mZQoDoRFFuSpek+YIsqRSy 7cz9TJBlGIMzfEi2lnbykMwul2fNtYcEl8h7bq+UP2oIFrkXRBdC3RoyURIfrmNU+G4u bO8w== 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 k3si3504183iog.8.2021.07.22.07.45.37; Thu, 22 Jul 2021 07:45:50 -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 S232371AbhGVOEd convert rfc822-to-8bit (ORCPT + 99 others); Thu, 22 Jul 2021 10:04:33 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:40691 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232328AbhGVOEc (ORCPT ); Thu, 22 Jul 2021 10:04:32 -0400 Received: from smtpclient.apple (p5b3d2eb8.dip0.t-ipconnect.de [91.61.46.184]) by mail.holtmann.org (Postfix) with ESMTPSA id 4C575CECE2; Thu, 22 Jul 2021 16:45:06 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: [PATCH BlueZ 2/8] doc/mgmt-api: Add support for LE PHY Update Complete event From: Marcel Holtmann In-Reply-To: <20210722054951.8291-3-ayush.garg@samsung.com> Date: Thu, 22 Jul 2021 16:45:05 +0200 Cc: linux-bluetooth@vger.kernel.org, anupam.r@samsung.com, nitin.j@samsung.com Content-Transfer-Encoding: 8BIT Message-Id: <63C31A82-0E58-47DA-8F3D-9B1C484E5095@holtmann.org> References: <20210722054951.8291-1-ayush.garg@samsung.com> <20210722054951.8291-3-ayush.garg@samsung.com> To: Ayush Garg X-Mailer: Apple Mail (2.3654.100.0.2.22) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Ayush, > Reviewed-by: Anupam Roy > --- > doc/mgmt-api.txt | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt > index 5355fedb0..f7379fcd9 100644 > --- a/doc/mgmt-api.txt > +++ b/doc/mgmt-api.txt > @@ -4910,3 +4910,32 @@ Controller Resume Event > Address_Type. Otherwise, Address and Address_Type will both be zero. > > This event will be sent to all management sockets. > + > + > +LE PHY Update Complete Event > +=============================== > + > + Event Code: 0x002f > + Controller Index: > + Event Parameters: Address (6 Octets) > + Address_Type (1 Octet) > + Status (1 Octet) > + PHYs (4 Octets) > + > + This event indicates that LE PHYs have been changed for this > + connected device. > + > + The PHYs parameters are a bitmask with currently the > + following available bits: > + > + 9 LE 1M TX > + 10 LE 1M RX > + 11 LE 2M TX > + 12 LE 2M RX > + 13 LE Coded TX > + 14 LE Coded RX > + > + This event will be used in case of autonomous PHY update made > + by the controller or HCI_LE_SET_PHY command succeeded. > + > + This event will be sent to all management sockets. As mentioned in the code review, I don’t like doing it this way. Regards Marcel