Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.217.46 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794427635; b=vRy4UePH9GTRO1cPw192TKYIiQTobe/30RhwH1ZFcHIV9XKxu+m5bvpTz+KT4krvID+V akUOQ30lYWZV69khLETYqM4EBNO7ihR0zu6i2YanSem1YP3HKWVHcVZTvqZSaSozfMrg/ PQ+CqqNw7l6ks0yUplpeNt9t+Waq4NUiXq7mrsQa4sukEP8qWapZgnkEgLurTWc17arMO +EiPpooERlN0xDaKGrP4btoeBFZoqFoI8Fh8/31XG3/P2gvuUYk/V1DDKMPOIxNuiykea /EdTRykvbdmrmXLVycBkGwsrVZPN75lB4adS19HfWd5CwWvteCBSgvzkwvGId3dVnmg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794427635; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Subject:Date: Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=/FfwQCH4i0+38v+P30L2QteJvs1CJcxhJQN+M1Ui0Ck=; b=ZcSlq2qx/5CnunPYmerqEyQvgLYJp4N9Bm9uxhID7mYY+mt7gp3kIyG63+r28mG9xFvp jPi1LQW4A+WqPfbPuczd5/WxpJSQuXuZgNv+Mglb2lZVvAL6U5Cse6qV9uh3umKWsjEKp rG2MP3dxAAiM70VvUujfvrjrHmQlSEME/8v8BJf5faXFJFqgCvlukE8v/xQ76u12nfcnG jfEBIhvaWQ80mAIpqOkuUEU1sSYo0HtGb0FxnDbT8xoWdu3NK/OpyN+1sZK5QlcatJK+n wjeZvtHIVoCNWRLtYe9qKM4u/nA6xXI7KOBAQkkD2mifYQJ18KzUQ3r+F+sb62/D9ag== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=Dn3Gfs8q; arc=none smtp.remote-ip=209.85.217.46 Received: from mail-vs1-f46.google.com (mail-vs1-f46.google.com [209.85.217.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B2510606A324 for ; Wed, 11 Nov 2026 20:07:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B2510606A324 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=Dn3Gfs8q Received: by mail-vs1-f46.google.com with SMTP id ada2fe7eead31-7d2d1b4a83aso1090663137.3 for ; Wed, 11 Nov 2026 12:07:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1794427633; x=1795032433; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=/FfwQCH4i0+38v+P30L2QteJvs1CJcxhJQN+M1Ui0Ck=; b=Dn3Gfs8q4aykeURI8P+gDfN1O2uGR2t46p3grvI1+GNYbI2pVndoTW65XgVm9gjZFn oFEZyyRqPXLs4Db7R4fAw+jUWnI7FQEw1DVdii2C+hA/Pn2l6Lo56T+Q32dlSu4IfcwT 6OVbOOT27nZVrrRYH4UF0UBG+HmX6os2O80WjDJNQQiSKgHAFxqi3KRxMu6f3nWW/LmH vFmEZxF/TMOilq2mhJyXiJu/T2O0fnXIJDV5F76zwj401sDVmeg7h2u2WIflE6BBVENP JAsPtXihSjlQn4OuQ4pHsl9ztiPaEXg8TT0PYr3c4WrbRRuxIlPcjpLBJfyMrIZIFybR WVzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794427633; x=1795032433; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=/FfwQCH4i0+38v+P30L2QteJvs1CJcxhJQN+M1Ui0Ck=; b=D9sVIkjVixhVlhxzDEhfFi3Zq7FflVkAp4stYJW/kIvmadswlOV/xN1WFXj35lmJw+ 4gxI7+FLoy+sWZcpV4oKrCD41f0Vo2Tce1TNTRoDcxgvNomM6w69++5grJKhcw4J/MF3 u5FzsuVbasCBJvnVpMC1pQlDEIwVsF/GQLA866f0QbTkjcIf3gWBvlFD1oTwJy6DNk75 dwIIiSOP+Qb9BkX4SCp2AXIkBkVCntDIqG6eppDrvzSspuFOEWQ9DLzRD6hpu9mGiztr iFfBc8aD/01SZauWvUSEs2y6s/MLUwI96/54dEBWym0zUzQbM5TsvNG1KXlRFPXkVq4u 3Cig== X-Gm-Message-State: APuU4Z/rZoX1CwOf40OlKTI/+s/KMYp9PkSzAcsJLriM7oDFyfEZfx6S ZAPsTD2UOrL3Hv1+jG7+un/91JgLpoeQnHt7jrvSWmmju4I/BKY0CLXV6ADsXQ== X-Gm-Gg: AYBFou01kj8nxQAHDTPoJtURPVXeMboM1MmxbbOTZJHJ2DzlIAo1PfNnAfC4OYpGG1o 0G3wBC7n0hZxvsx4tf6aIYkMsqd5z6rlvenbM0N2JOx+AS3Ms8UL20Ew/rAo7TdIQC7vBU899J8 w3bd8lwSMVx8ITx+J5NLdhu1gKMHJpm4SphDM55xkIUrO7T7HIr6ET2w9Jp9BQPr76S+o5B0k5n tTc8lmCZDljTAUvw58XRvhINMj9867qqNmoyEA1ipXSgRV1Kan/jO34uMOt5yQQYb40IIwZkLP9 sOVkIk+7V/6djIrE9vntnY++vcSdjOZeLaWt9HQZQojeFm+rXi80v3S4Vr46EINu+wNOMMkv7JZ NSFIoLN3/77UhYHu0QxQdpEZV7pMA1i5a0fSuFS97Si2ggr1NJlxDNegzgBQ2f8IqRfzyJ0Cvt6 Rq0lYR/TCbQBuStkCIQfYUrNaornUECkW0HCa/bN8mazunQiKTvvkyVaRnJgL2tZk91Sg8xHg7s 5huZ2Ehld4UqjgDX1yCwQBO9vmPCU7aZhD8GlokpLc9jyS9bVbT9B4gn0AiqPWirOiWWPhmB0Bq DhOz8+kfJ1xa6ppOxNGNsAVd2p7xvO3vKWV6+4HPg63VUs3j4GGhwnOMT+JxK5AucgcKKDmArT7 19b9259YEURLH3Yuf+V4aNSgIJcKDCWxM6WksMuMBccBAQUXKAh5gasmmejaY9hRZQJFP3RfS0O kh9Y4= X-Received: by 2002:a05:6102:f10:b0:7cc:ccb:ce5a with SMTP id ada2fe7eead31-7d505805529mr1336256137.28.1794427633287; Wed, 11 Nov 2026 12:07:13 -0800 (PST) Received: from lvondent-mobl5.taila91cb8.ts.net ([72.188.211.115]) by smtp.gmail.com with ESMTPSA id ada2fe7eead31-7d30209ff97sm4954449137.0.2026.11.11.12.07.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2026 12:07:12 -0800 (PST) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ v10 05/11] monitor: Add LL decoding for HDT Date: Wed, 11 Nov 2026 15:06:58 -0500 Message-ID: <20261111200705.3802779-6-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261111200705.3802779-1-luiz.dentz@gmail.com> References: <20261111200705.3802779-1-luiz.dentz@gmail.com> X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Luiz Augusto von Dentz Decode the LL_ENC_ECDH_REQ/RSP, LL_HDT_CONFIG_REQ/RSP and LL_HDT_LQF_REPORTING_IND Link Layer PDUs introduced by HDT and EKS. The payload window sizes of these PDUs are encoded as one less than the size, so the size is printed along with the value in the PDU. --- monitor/ll.c | 278 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 273 insertions(+), 5 deletions(-) diff --git a/monitor/ll.c b/monitor/ll.c index 6c0f67b5dcae..c1c68d35ba3c 100644 --- a/monitor/ll.c +++ b/monitor/ll.c @@ -538,9 +538,18 @@ static const struct bitfield_data le_phys[] = { { 0, "LE 1M" }, { 1, "LE 2M" }, { 2, "LE Coded"}, + { 4, "LE HDT" }, { } }; +/* The payload window sizes of the HDT PDUs are encoded as one less than the + * size, print the size and the value as it is in the PDU. + */ +static void print_payload_window(const char *prefix, uint8_t val) +{ + print_field("%s: %u (0x%2.2x)", prefix, val + 1, val); +} + static void phy_req_rsp(const void *data, uint8_t size) { const struct bt_ll_phy *pdu = data; @@ -558,6 +567,24 @@ static void phy_req_rsp(const void *data, uint8_t size) if (mask) print_text(COLOR_UNKNOWN_OPTIONS_BIT, " Reserved" " (0x%2.2x)", mask); + + /* BLUETOOTH CORE SPECIFICATION Version 7.0 | Vol 6, Part B, + * Section 2.4.2.22: + * + * Refresh shall be set to 1 to require a key refresh. If the field + * is not included, then the value is 0. + * MIC_Length shall be set to 1 to request that the MIC_Length on the + * LE HDT PHY is 64 bits. If the field is not included, then the + * value is 0 (128 bits). + */ + if (size >= sizeof(*pdu) + sizeof(struct bt_ll_phy_v2)) { + const struct bt_ll_phy_v2 *v2 = (const void *) (pdu + 1); + + print_field("Refresh: %u", v2->flags & 0x01); + print_field("MIC Length: %s (%u)", + v2->flags & 0x02 ? "64 bits" : "128 bits", + (v2->flags >> 1) & 0x01); + } } static void phy_update_ind(const void *data, uint8_t size) @@ -580,6 +607,32 @@ static void phy_update_ind(const void *data, uint8_t size) " (0x%2.2x)", mask); print_field("Instant: 0x%4.4x", pdu->instant); + + /* BLUETOOTH CORE SPECIFICATION Version 7.0 | Vol 6, Part B, + * Section 2.4.2.23: + * + * Address shall be set to the Physical Channel Address for the PHY + * that will be used after the instant on the ACL (with the most + * significant octet set to 0x00 if the PCA is only 4 octets). + * Refresh shall be set to 1 if the encryption key will be refreshed. + * MIC_Length shall be set to 1 if the encryption key will be + * refreshed and the new key uses a 64-bit MIC. If the MIC_Length + * field is not included, then the value is 0 (128 bits). + */ + if (size >= sizeof(*pdu) + sizeof(struct bt_ll_phy_update_ind_v2)) { + const struct bt_ll_phy_update_ind_v2 *v2; + + v2 = (const void *) (pdu + 1); + + print_field("Address: %2.2x%2.2x%2.2x%2.2x%2.2x", + v2->address[4], v2->address[3], + v2->address[2], v2->address[1], + v2->address[0]); + print_field("Refresh: %u", v2->flags & 0x01); + print_field("MIC Length: %s (%u)", + v2->flags & 0x02 ? "64 bits" : "128 bits", + (v2->flags >> 1) & 0x01); + } } static void min_used_channels(const void *data, uint8_t size) @@ -648,6 +701,53 @@ static void clock_acc_req_rsp(const void *data, uint8_t size) print_field("SCA: 0x%2.2x", pdu->sca); } +static const struct bitfield_data coded_rates[] = { + { 0, "CODED S=8" }, + { 1, "CODED S=2" }, + { } +}; + +static const struct bitfield_data hdt_rates[] = { + { 0, "HDT 2M" }, + { 1, "HDT 3M" }, + { 2, "HDT 4M" }, + { 3, "HDT 6M" }, + { 4, "HDT 7.5M" }, + { } +}; + +/* BLUETOOTH CORE SPECIFICATION Version 7.0 | Vol 6, Part B, Table 2.27: + * + * Bit 0: For the LE Coded PHY, indicates use of the S=8 coding (possibly among + * others). For the LE HDT PHY, indicates use of the HDT2 rate (possibly among + * others). Otherwise, the bit is ignored. + * Bit 1: For the LE Coded PHY, indicates use of the S=2 coding (possibly among + * others). For the LE HDT PHY, indicates use of the HDT3 rate (possibly among + * others). Otherwise, the bit is ignored. + * Bits 2 to 4: For the LE HDT PHY, the HDT4, HDT6 and HDT7.5 rates. + * + * So the rates are those of the PHY set in phys, as defined in Table 2.24. + */ +static void print_rates(const char *prefix, uint8_t phys, uint16_t rates) +{ + const struct bitfield_data *fields = NULL; + + if (phys & BIT(4)) + fields = hdt_rates; + else if (phys & BIT(2)) + fields = coded_rates; + + print_field("%s: 0x%4.4x", prefix, rates); + + if (fields) { + uint16_t mask = print_bitfield(2, rates, fields); + + if (mask) + print_text(COLOR_UNKNOWN_OPTIONS_BIT, " Reserved" + " (0x%4.4x)", mask); + } +} + static void cis_req(const void *data, uint8_t size) { const struct bt_ll_cis_req *cmd = data; @@ -699,6 +799,38 @@ static void cis_req(const void *data, uint8_t size) print_field("CIS Offset Maximum: 0x%6.6x", le32_to_cpu(interval)); print_field("Connection Event Count: %u", cmd->conn_event_count); + + /* BLUETOOTH CORE SPECIFICATION Version 7.0 | Vol 6, Part B, + * Section 2.4.2.29: + * + * Rates_C_To_P and Rates_P_To_C are the bitmap of allowed contiguous + * rates, as specified in Table 2.27, of the PHY of that direction. + * Payload_Window_Size_C_To_P shall be set to one less than the size + * of the payload window. + * If the CIS is on the LE HDT PHY and encrypted and a 64-bit MIC is + * to be used, then MIC_Length shall be set to 1. Otherwise, + * MIC_Length shall be set to 0 (128 bits). + * SE_Length shall be set to the time, in microseconds, that needs to + * be reserved for the subevent. + */ + if (size >= sizeof(*cmd) + sizeof(struct bt_ll_cis_req_v2)) { + const struct bt_ll_cis_req_v2 *v2 = (const void *) (cmd + 1); + + print_rates("Central to Peripheral Rates", cmd->c_phys, + le16_to_cpu(v2->c_rates)); + print_rates("Peripheral To Central Rates", cmd->p_phys, + le16_to_cpu(v2->p_rates)); + print_field("Config ID: %u", v2->config_id); + print_field("TL Group ID: %u", v2->tl_group_id & 0x1f); + print_payload_window("Central to Peripheral Payload Window", + v2->flags & 0x03); + print_payload_window("Peripheral to Central Payload Window", + (v2->flags >> 2) & 0x03); + print_field("MIC Length: %s (%u)", + v2->flags & 0x10 ? "64 bits" : "128 bits", + (v2->flags >> 4) & 0x01); + print_field("SE Length: %u us", get_le24(v2->se_length)); + } } static void cis_rsp(const void *data, uint8_t size) @@ -730,6 +862,13 @@ static void cis_ind(const void *data, uint8_t size) print_field("CIS Synchronization Delay: %u us", le32_to_cpu(interval)); print_field("Connection Event Count: %u", ind->conn_event_count); + + /* [v2] */ + if (size >= sizeof(*ind) + sizeof(struct bt_ll_cis_ind_v2)) { + const struct bt_ll_cis_ind_v2 *v2 = (const void *) (ind + 1); + + print_field("PCA-H: 0x%2.2x", v2->pca_h); + } } static void cis_term_ind(const void *data, uint8_t size) @@ -759,6 +898,118 @@ static void feature_ext_rsp(const void *data, uint8_t size) packet_print_features_ext_ll(rsp->page, rsp->features); } +static const struct bitfield_data lqf_transports[] = { + { 0, "ACL" }, + { 1, "CIS" }, + { } +}; + +static void hdt_lqf_ind(const void *data, uint8_t size) +{ + const struct bt_ll_hdt_lqf_ind *pdu = data; + uint8_t mask; + + print_field("Transport: 0x%2.2x", pdu->transport); + + mask = print_bitfield(2, pdu->transport, lqf_transports); + if (mask) + print_text(COLOR_UNKNOWN_OPTIONS_BIT, " Reserved" + " (0x%2.2x)", mask); +} + +/* BLUETOOTH CORE SPECIFICATION Version 7.0 | Vol 6, Part B, + * Section 2.4.2.61: + * + * ACL_RX_Payload_Window_Size shall be set to one less than the value of + * PayloadWindowSize that will be used on the ACL connection in the direction + * received by the device sending this PDU. Max_CIS_TX_Payload_Window_Size and + * Max_CIS_RX_Payload_Window_Size shall be set to one less than the maximum + * payload window size that can be supported by the device on an associated CIS + * in the transmit and receive direction. ACL_RX_Rates shall be set to a bitmap + * of rates (as specified in Table 2.27) that the Controller is allowed to + * receive from the remote Controller on the ACL connection. A value of zero + * indicates all supported rates are allowed. + */ +static void hdt_config_req(const void *data, uint8_t size) +{ + const struct bt_ll_hdt_config_req *pdu = data; + + print_payload_window("ACL RX Payload Window Size", pdu->wincfg & 0x03); + print_payload_window("Max CIS TX Payload Window Size", + (pdu->wincfg >> 2) & 0x03); + print_payload_window("Max CIS RX Payload Window Size", + (pdu->wincfg >> 4) & 0x03); + print_rates("ACL RX Rates", BIT(4), le16_to_cpu(pdu->acl_rx_rates)); + print_field("Max ACL RX Packet Size: %u", + le16_to_cpu(pdu->acl_rx_mtu)); +} + +static void hdt_config_rsp(const void *data, uint8_t size) +{ + const struct bt_ll_hdt_config_rsp *pdu = data; + + print_payload_window("ACL RX Payload Window Size", pdu->wincfg & 0x03); + print_payload_window("Max CIS TX Payload Window Size", + (pdu->wincfg >> 2) & 0x03); + print_payload_window("Max CIS RX Payload Window Size", + (pdu->wincfg >> 4) & 0x03); + print_rates("ACL RX Rates", BIT(4), le16_to_cpu(pdu->acl_rx_rates)); + print_field("Max ACL RX Packet Size: %u", + le16_to_cpu(pdu->acl_rx_mtu)); +} + +static const struct bitfield_data ecdh_flags[] = { + { 0, "Allow 64-bit MIC length" }, + { 1, "Opportunistic encryption" }, + { } +}; + +static void print_key_type(const char *str, uint8_t type) +{ + switch (type) { + case 0x00: + print_field("%s: Public key P-256 (0x00)", str); + break; + default: + print_field("%s: Reserved (0x%2.2x)", str, type); + break; + } +} + +static void enc_ecdh_req(const void *data, uint8_t size) +{ + const struct bt_ll_enc_ecdh_req *cmd = data; + uint8_t mask; + + print_field("Flags: 0x%2.2x", cmd->flags); + + mask = print_bitfield(2, cmd->flags, ecdh_flags); + if (mask) + print_text(COLOR_UNKNOWN_OPTIONS_BIT, " Reserved" + " (0x%2.2x)", mask); + + print_hex_field("Rand", cmd->rand, 16); + print_key_type("Key Type", cmd->key_type); + print_hex_field("Public Key", cmd->pubkey, 64); +} + +static void enc_ecdh_rsp(const void *data, uint8_t size) +{ + const struct bt_ll_enc_ecdh_rsp *rsp = data; + uint8_t mask; + + print_field("Flags: 0x%2.2x", rsp->flags); + + mask = print_bitfield(2, rsp->flags, ecdh_flags); + if (mask) + print_text(COLOR_UNKNOWN_OPTIONS_BIT, " Reserved" + " (0x%2.2x)", mask); + + print_hex_field("Rand", rsp->rand, 16); + print_key_type("Key Type", rsp->key_type); + print_hex_field("Public Key", rsp->pubkey, 64); +} + struct llcp_data { uint8_t opcode; const char *str; @@ -767,6 +1018,12 @@ struct llcp_data { bool fixed; }; +#define LLCP_OP_VL(_op, _str, _func, _type) \ + { _op, _str, _func, sizeof(_type), false } + +#define LLCP_OP(_op, _str, _func, _type) \ + { _op, _str, _func, sizeof(_type), true } + static const struct llcp_data llcp_table[] = { { 0x00, "LL_CONNECTION_UPDATE_REQ", conn_update_req, 11, true }, { 0x01, "LL_CHANNEL_MAP_REQ", channel_map_req, 7, true }, @@ -790,9 +1047,9 @@ static const struct llcp_data llcp_table[] = { { 0x13, "LL_PING_RSP", null_pdu, 0, true }, { 0x14, "LL_LENGTH_REQ", length_req_rsp, 8, true }, { 0x15, "LL_LENGTH_RSP", length_req_rsp, 8, true }, - { 0x16, "LL_PHY_REQ", phy_req_rsp, 2, true }, - { 0x17, "LL_PHY_RSP", phy_req_rsp, 2, true }, - { 0x18, "LL_PHY_UPDATE_IND", phy_update_ind, 4, true }, + { 0x16, "LL_PHY_REQ", phy_req_rsp, 2, false }, + { 0x17, "LL_PHY_RSP", phy_req_rsp, 2, false }, + { 0x18, "LL_PHY_UPDATE_IND", phy_update_ind, 4, false }, { 0x19, "LL_MIN_USED_CHANNELS_IND", min_used_channels, 2, true }, { 0x1a, "LL_CTE_REQ", cte_req, 1, true }, { 0x1b, "LL_CTE_RSP", null_pdu, 0, true }, @@ -800,11 +1057,11 @@ static const struct llcp_data llcp_table[] = { { 0x1d, "LL_CLOCK_ACCURACY_REQ", clock_acc_req_rsp, 1, true }, { 0x1e, "LL_CLOCK_ACCURACY_RSP", clock_acc_req_rsp, 1, true }, { BT_LL_CIS_REQ, "LL_CIS_REQ", cis_req, - sizeof(struct bt_ll_cis_req), true }, + sizeof(struct bt_ll_cis_req), false }, { BT_LL_CIS_RSP, "LL_CIS_RSP", cis_rsp, sizeof(struct bt_ll_cis_rsp), true }, { BT_LL_CIS_IND, "LL_CIS_IND", cis_ind, - sizeof(struct bt_ll_cis_ind), true }, + sizeof(struct bt_ll_cis_ind), false }, { BT_LL_CIS_TERMINATE_IND, "LL_CIS_TERMINATE_IND", cis_term_ind, sizeof(struct bt_ll_cis_term_ind), true }, @@ -814,6 +1071,17 @@ static const struct llcp_data llcp_table[] = { { BT_LL_CIS_RSP, "LL_FEATURE_EXT_RSP", feature_ext_rsp, sizeof(struct bt_ll_feature_ext_rsp), true }, + /* HDT LLCP commands */ + LLCP_OP(BT_LL_HDT_LQF_REPORTING_IND, "LL_HDT_LQF_REPORTING_IND", + hdt_lqf_ind, struct bt_ll_hdt_lqf_ind), + LLCP_OP(BT_LL_HDT_CONFIG_REQ, "LL_HDT_CONFIG_REQ", hdt_config_req, + struct bt_ll_hdt_config_req), + LLCP_OP(BT_LL_HDT_CONFIG_RSP, "LL_HDT_CONFIG_RSP", hdt_config_rsp, + struct bt_ll_hdt_config_rsp), + LLCP_OP(BT_LL_ENC_ECDH_REQ, "LL_ENC_ECDH_REQ", enc_ecdh_req, + struct bt_ll_enc_ecdh_req), + LLCP_OP(BT_LL_ENC_ECDH_RSP, "LL_ENC_ECDH_RSP", enc_ecdh_rsp, + struct bt_ll_enc_ecdh_rsp), { } }; -- 2.56.0