Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2410092pxk; Mon, 14 Sep 2020 12:33:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWk1osOA1U3f9rK00Q9z58P0JqJTs0Bgal56HkZnf7Q4RKE2i9UEGtBVpBmkGd6PejrBtC X-Received: by 2002:a05:6402:1612:: with SMTP id f18mr18445472edv.166.1600112000406; Mon, 14 Sep 2020 12:33:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600112000; cv=none; d=google.com; s=arc-20160816; b=fnX51iTM7jsT6/tEy4qgRYIZKEi7ZnJ4MPKYVHP4RUxX1DxQmn1XjS720akQeg2z6u gYmnrauf84gQ8L59oIH4Ak/zJslAogeMgLCAyo/qe/s9WwHAUT8F79VDdBxnPmpxbjkH h83urLooYDTGk+oG8tAh5VdemqX4UioQP8X1q5BcszWeFYsEvshQ5T+dhwT5mjQf1H+H WPI9PBKNMXeLdxtHO0n8joKmjOEMUKuYjLRd+SJJNhSFGIqYyN7z+PY2j5rmNkqGaeC1 teKYFxdUmPRx9R3KFbBFStBS3AiukMUm5IHle8r5JF9T4L8M5CXkBl5oX4yJdACNE9v4 vgVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=klkmiZuflFnynmQu7+bx3xxH+rD82oKvx4CnHuw6du8=; b=ey86nxY0bJh21xQBDUkRzchuDUMvrGyQpWlBizgHVir9zUE2KBBo3yxrUYYWmH3N5k IM+MAXb6vvFDzY9u/SzrRHq5LrJtKYbSnVTuDzMIf3etvuExZYCcy6KA4WFhDqtQE/Tb gy/aE37IaMe6jL0hB+hn1n/g3W2zEf0V3gMs5IGsc5q6xqhXw+RNk2/F4pS0O1B78BWU HCSFN6yknioMk0kq5d1VZE+qd48SpouSbbMy6ECO4QDa7I3n1wGOIivi8abeNdOJzTVi 4G0B9JZ55JFhpd3TSZCbmA+WktCKkVgS85LUma9OO/S9jVz9VIv2zktbFxIqdPa7YSsl P8iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YdTd919W; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rh6si7502351ejb.709.2020.09.14.12.32.39; Mon, 14 Sep 2020 12:33:20 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YdTd919W; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725961AbgINTci (ORCPT + 99 others); Mon, 14 Sep 2020 15:32:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725953AbgINTcg (ORCPT ); Mon, 14 Sep 2020 15:32:36 -0400 Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA806C06174A for ; Mon, 14 Sep 2020 12:32:35 -0700 (PDT) Received: by mail-oi1-x232.google.com with SMTP id d189so1053396oig.12 for ; Mon, 14 Sep 2020 12:32:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=klkmiZuflFnynmQu7+bx3xxH+rD82oKvx4CnHuw6du8=; b=YdTd919WQh8TI0cn+Uzmz+bFN1nZce8+7WNgw+E1Bs55Nu8L4KOD7+V+KbZvp9xOrz ELDXsrHLnZk9UofBpEuiRCmvltjTdLBsggBKvpbieOX/rwnGMNiiD+K9pytP+u9EsSPU HS9D3yR7z1JZJPpi+AcmHIl1GUCKe3ZyT8314ZsmE/Mpq8wtWHjrgpdGfOds3sX8S/HL oWPsgJNB80+v3L66MICzTl4dOU+SRKSuoHy3+eXTLHZcvtVw39sWJXRCpKC7EkfvYMBh j1fOSWoZKMuZmJhoZURfyj2VyGMz28XWeyradUS0dMz3o5ZcmbL+iJHNQnX05KEcRpvH OTmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=klkmiZuflFnynmQu7+bx3xxH+rD82oKvx4CnHuw6du8=; b=OxhTS92x85wyhSg5jeN2kEK+21LKQwgvLFTmNs+LXfXHUxFj04A7JWMSwn7N5tPcN/ ajl248UirPOPa0OPz67gYA0UEfDdNvMsfpZfrhkwLf97Arp+KK001sWI0TEuDqP8WC0Q 7ha8wIxM5kLl9Ib1WLp2Yb3JiIPysukAvpn+NXHoYRhyYoq6qyym5JsgIBDzGrbBGi4t OIIP5h6uzKSEMTOdgXAwNniDViyaj5O16UL4RZ+OMZX+jZx5khuuouvaWYGte6BXFaX9 LlphEj5N0QxXEpYE8f+MlZTHDqH536asbzhvCbnVCvVfw7HLeH+kdbxoUCoZ3u2e9H8I 4BSw== X-Gm-Message-State: AOAM531mLxkhMJxlwQCG8WGjrYEkoVufxjJoPLgsnI1o8UXlyqZMyyxS Z+4En8iaj83Zu88ll2G4068VBz25s2XrBvS6iusXBMM7 X-Received: by 2002:aca:a9c9:: with SMTP id s192mr626656oie.152.1600111954835; Mon, 14 Sep 2020 12:32:34 -0700 (PDT) MIME-Version: 1.0 References: <20200829000803.20286-1-tedd.an@intel.com> In-Reply-To: <20200829000803.20286-1-tedd.an@intel.com> From: Luiz Augusto von Dentz Date: Mon, 14 Sep 2020 12:32:23 -0700 Message-ID: Subject: Re: [V3 1/3] btp: Update connect event structure To: "An, Tedd" Cc: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Tedd, On Fri, Aug 28, 2020 at 5:12 PM wrote: > > From: Tedd Ho-Jeong An > > This patch updates the connect event struct to align withe the btp spec. > > Opcode 0x82 - Device Connected event > Controller Index: > Event parameters: Address_Type (1 octet) > Address (6 octets) > Connection Interval (2 octets) > Connection Latency (2 octets) > Supervision Timeout (2 octets) > --- > src/shared/btp.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/shared/btp.h b/src/shared/btp.h > index f0ac3a1ee..cc71a71df 100644 > --- a/src/shared/btp.h > +++ b/src/shared/btp.h > @@ -259,6 +259,9 @@ struct btp_device_found_ev { > struct btp_gap_device_connected_ev { > uint8_t address_type; > bdaddr_t address; > + uint16_t connection_interval; > + uint16_t connection_latency; > + uint16_t supervision_timeout; > } __packed; > > #define BTP_EV_GAP_DEVICE_DISCONNECTED 0x83 > -- > 2.25.4 > Applied, thanks. -- Luiz Augusto von Dentz