Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1570400pxa; Fri, 28 Aug 2020 17:08:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdWz62axTndjrVu0c8Bc2hOqI44BH3Tun+DF17kzgdZpSWvomfJ5akNyLth3jNkdZdTpCx X-Received: by 2002:a05:6402:17a2:: with SMTP id j2mr1242742edy.79.1598659735751; Fri, 28 Aug 2020 17:08:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598659735; cv=none; d=google.com; s=arc-20160816; b=S61GsZrmb5TMovOopM0PQh4fBvfcsD4LG8VdNiwkCtLMv0X6iqaGbbvC6jFppYwOG5 wsM7t9FUFI5QUAF3WrpcsOE9f4iT+1dI1uXiOadkqd11oppT/RAE6gk4+SftR30kbtJm paO2tAZQCliYq5tHf6hwyOjmM9n7zRj2dfPHmeEahQF1hOZdAEBh1WThyZM3odnxf0B2 MYE6TBufO4UXJoGIl23rGT8bpgZWHwOGJu0xW5lcB37teXCCbcSqIzuokGpRGGuvbABT qz7pJJOmIVzPhSJAAUrVGIKu7fUDYij5MP1XCoyw6egnJIftxr+NO3yN+KXc0kS67ERz SS+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=J9sYiq2xASXCfSeR4uxqaKMqaAhWjbmXy3GmmHpGS1w=; b=Mtq8JjEwuQlXoQzo55NcwpfNXHgXZojfh2yWhcSuj+Sr7b2oCKFgOcppXrAZIzTlQV AcJK0mv2mN7koa0aBrHBYtcyGQaxHTViAKimPWPHFf+baJtig2hyQRc7So/QPvclQ1w8 gxM00Z/CmixC3cUKMqX4iew7d6Q4XD5z+NAUXLd/xDQjiVKGgVaM1pfucYtQZLikFlqH zumPAHYTLvEzWEqYEN67NIVnHfXY4Li08rRkdCh5xU7N+jRaL7qyFPFUkkjfdsZCe7lz EnQ30MBdmoYQ9I3qz64QNC2mqb7fQseW3bijsovt90sy1/XLhjFIVvbV1E8O7On6l4oE 6JTg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kt14si693178ejb.281.2020.08.28.17.08.12; Fri, 28 Aug 2020 17:08:55 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726797AbgH2AIL (ORCPT + 99 others); Fri, 28 Aug 2020 20:08:11 -0400 Received: from mga12.intel.com ([192.55.52.136]:10238 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726584AbgH2AIK (ORCPT ); Fri, 28 Aug 2020 20:08:10 -0400 IronPort-SDR: 9CuBcQL9z2hhli6pJJT4RLGYcHTdUMAsJPj5ICfZ6w4+6LqibHu8d3yUyZVJOciKZuKmfjO+ew n56Gjcz9uurg== X-IronPort-AV: E=McAfee;i="6000,8403,9727"; a="136305338" X-IronPort-AV: E=Sophos;i="5.76,365,1592895600"; d="scan'208";a="136305338" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Aug 2020 17:08:10 -0700 IronPort-SDR: nEwx05z0RX4CKRRMdNkSuFsRYZn45EVFAVGkWDmSerc2rh9RfXiVGxKQdhyjzBPNBjafAHjkbF dDZqWnHGsqtQ== X-IronPort-AV: E=Sophos;i="5.76,365,1592895600"; d="scan'208";a="324213872" Received: from asmit14x-mobl1.amr.corp.intel.com (HELO han1-mobl3.jf.intel.com) ([10.254.83.187]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Aug 2020 17:08:09 -0700 From: tedd.an@intel.com To: linux-bluetooth@vger.kernel.org Cc: Tedd Ho-Jeong An Subject: [V3 1/3] btp: Update connect event structure Date: Fri, 28 Aug 2020 17:08:01 -0700 Message-Id: <20200829000803.20286-1-tedd.an@intel.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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