From nobody Mon Jan 20 19:29:15 2025 X-Original-To: bluetooth@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YcL4X2c91z5kpsy for ; Mon, 20 Jan 2025 19:29:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YcL4X18dSz3v2N for ; Mon, 20 Jan 2025 19:29:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737401356; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GwV7zmUwhGnXAhgyrwjsqFY7S5lU54xQg2c+DgMfk2M=; b=r4H4HZGvwyaMCTtMCeVLxPCpAQDMk9jH0ge4DHBnEndUQ4/gFAsc0FR/JRiXYYp+QNS61V RbBUJrMrPsmjx3HoynxjoFZqUjKT5ml6stXMR2CqyFI6E4KN8xLfFEQA8f2B+2pa9lJLOK PWTzxHbvIXZqYXcluaAabQArikygTtLS5zOoXUWGTxTttDueIechw3yTO86CVUl+ImL8w/ Ij4rp29kPFmnUpgBmbC8E2iq7ri6uMlM10C+KlHMFzZiZn+CMY3+8Gy07xi2a7tZSsLX0B am3/il5zaIvYeNl+SFNRigPtkoMaMXZKvqPmr0v40ANYueK2z7Rg7TbBbrKBMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737401356; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GwV7zmUwhGnXAhgyrwjsqFY7S5lU54xQg2c+DgMfk2M=; b=T1cqEhgtjZ9kcpbFXe39iufXSsiUaJsE1NuKdKM5IDqesbF2lGmL1ZPeyfgAw8gbAA6kRN vcYKoB6MxRAkktIgxaT/2UgtrGIsXKfdmrDROKcjfTE+TFe8Y1b3PpZetigMFopLWCFPD9 uy4T9K1cOGUjVUC7JMCs7bgQuhPBmtWdoS+lRtFiWhQVpidesE4LHke4pR2zWYwgyqTBAm r/0jkgXYqQ0huQJ5nKt0VY23J9GHAWw1OyT4Scup4cu7SDlvD3um31/sDx+kKOpD/KRAEn ui1tMJccokBoHqeMWS1JnX4NWAWtFMe6CYzdYySv6nuiwQPNLuFVRL97bE8akw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737401356; a=rsa-sha256; cv=none; b=FGlR4Fb6p0pqEuDLP2yZt24mpmHSod7mb4uhu5OyU7umb3LM+D482VpO/JkjK8/Obx9TfS 3nCv9GC1rLZfLguJWNxb4aCY1Uh5TeqAdoWhBXu2Fkj+/xNDKEjQWDsMeyXlQTIxRthDq6 DXDR42Aq5TLHnavmL+gk/oU8uH9jrpMa8q/Ob14rig3VzGEfTioqsJoAqmTwTQPOuDz02n XVM+7KlHB9sIAXcwOkhGkpmcQ70Bo2skrnVAMt4NtWeghLk5+4YqFdl6vaqmbnz8hTCb0w tQOVCXFIUzWXtpfDivuGVKKy0KcgiaOs7M4zRWa5nDnF1pBP7vTL21gOvgcnbQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YcL4X0SLpzZl7 for ; Mon, 20 Jan 2025 19:29:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50KJTFV5078076 for ; Mon, 20 Jan 2025 19:29:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50KJTFC2078075 for bluetooth@FreeBSD.org; Mon, 20 Jan 2025 19:29:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bluetooth@FreeBSD.org Subject: [Bug 265066] ng_hci: Add support for Bluetooth secure simple pairing Date: Mon, 20 Jan 2025 19:29:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using Bluetooth in FreeBSD environments List-Archive: https://lists.freebsd.org/archives/freebsd-bluetooth List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bluetooth@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265066 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|wireless@FreeBSD.org |bz@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Mon Jan 20 19:37:37 2025 X-Original-To: bluetooth@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YcLGB5vdlz5kq6B for ; Mon, 20 Jan 2025 19:37:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YcLGB02RGz3wVp for ; Mon, 20 Jan 2025 19:37:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737401858; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xyT1VV2rLORTQM8ITIBoAB873twcW0A4jcqL2v1gYz8=; b=a6CjKnOqwgBccaunph2T3H73ilZs6CsDuCg4qE1Dmx2PQNlpxiISla8hABl8nuxQONXWUw TMaV9cU/mbI2i/IoXN+Aopr4c0pp2sDYNb/19GnN6IRzCdQFX1o7PSO5EfcZjvylIZQ2nO fbV6LYQYqYr1p9XfAi98MVpOry8SnvF/+F/A4myEDMQwfSEjmrTL9FJgLCEEVwD8nxyz3I wm/47fsedLwPbdoYtKBCJvhMfBnkuXKZmvCdzlZ+3WulfDhIHg1jXkLRSGeqef3zWn6K0p 2hBlBy2vFT3k/OBXB5G4ExBp0KSKtTba6A2UDsfABRZ8tcduGNBUR+4I0K80SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737401858; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xyT1VV2rLORTQM8ITIBoAB873twcW0A4jcqL2v1gYz8=; b=rS0XL6mciFJeR+wtV+RFgHyYK+kQPXYo3qd2X9meyoWVBqplLMzXthrW/Oe8Y5uLn8VP0v cvcVGEjIjBcxgW/x5ph4S/7HmoLx6qskEvuZsEJBrEwRAQIMOcWVAuIzJtTfxLg3YLWVhY wEKyZJau2X4g61TLWOkdezlax6atNS8gOd3NlOMxA6rEzPg5+YtpN1gaI7NzvwYYIU0hth fp2slNJrVe4jAtJLPD0iu+Q5yU3qd5YQRT55v7+x0pcUvqYai8fQKGJ9ol0OWfquRsg02Q AzJNPtm7FBJFL8NpiP7BFvkjjKYE0D5/WzjyKl1YA55p9t0kh2kGd1hPgMxYjQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737401858; a=rsa-sha256; cv=none; b=el6vYudWvPbE8rNfonpRNRaitHmZUIWXF8AmQWw3GwuH6c0amUSBJ0yI/YEdfIBEztak37 9oQzJxRo6H0bB4XFu4Eg3cZdQZ+RXd5fyCq0TmvixAQLxnYmiLVTrjHpc0vMDE5tApar3O 6aysTBxD8/U9zHhEJcp+2s5GrlbU82P21+U7NnwMK6utdccoKza5rgeD631JzsMi/s5oO3 THrnNtR2kLq7pBXJJRp7GILQrIorC8p84UM27Bk8PdyTh8Zren6HrkVvWw9T28mkMXgT6u eZDKhr62LPeDIBwo23jlhx09xa0lz0iP7RHtymDVtqgeJgpzuMm7BtaVMSAxKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YcLG96gvhzb7n for ; Mon, 20 Jan 2025 19:37:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50KJbbfp093568 for ; Mon, 20 Jan 2025 19:37:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50KJbb8k093567 for bluetooth@FreeBSD.org; Mon, 20 Jan 2025 19:37:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bluetooth@FreeBSD.org Subject: [Bug 265066] ng_hci: Add support for Bluetooth secure simple pairing Date: Mon, 20 Jan 2025 19:37:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using Bluetooth in FreeBSD environments List-Archive: https://lists.freebsd.org/archives/freebsd-bluetooth List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bluetooth@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265066 --- Comment #7 from Bjoern A. Zeeb --- Andreas: I just went through the patch; why did you name: Secure Simple Pairing (Controller Support) as NG_HCI_LMP_SIMPLE_SECURE_CONNECT ? I think that's really the only thing I spotted that confused me; otherwise = I'd be happy to commit the patch. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Jan 24 20:07:03 2025 X-Original-To: bluetooth@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YfpkH2ZNxz5lrQQ for ; Fri, 24 Jan 2025 20:07:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YfpkG6kYGz3YX6 for ; Fri, 24 Jan 2025 20:07:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737749223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KSmhWH7nr69XMAt7bHwYp15Fey18U7zlTqMRiOjYATc=; b=yUxnkyzKbfwJsxpdhvy4xhDbUcsfAG1FzXSW4QEBoHkHFfH2dqDunbvcy+1loO3oBZJXr/ aIslUJwNwqJkFWgcD8Wmfa4VhxG0FYfhrY/aPgDbDzx8GBxal4gijsZYLyM4MkDOq1OxtK Shx+PuE4vXSmt4fOG0tTwmmbv9a/XFkwYYBXoisjJTryXdTr0XZlxoQF92h9EkjKZPaePn X7IyxteGRACq1a/mPJ4kt8WvMhGKgRMhXzl2O6OmdOHMao0Ggth8nasz6HQXXWVh81CFIe DnAo6hJxCASLI8yHzIKQXWfkcKMwD5xeSnCZnXSF4Zb8ZjibT1LSud9e+6FJHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737749223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KSmhWH7nr69XMAt7bHwYp15Fey18U7zlTqMRiOjYATc=; b=w2G3f5SL5h7ofK3rvVJwNZP3p4ezJ5ktueutIkyAbJq1zU/afyG5osqYGMWjk0iGVoDfJI vBbf/CmS5TCIitqogvt4ZU06UIV65YT+UFs5q1l/ya/6Viwsn23vvXBpJ25WoPKpDgjz/R KfGbKWeMZuqxPri71K+P5dlAgVzh1mbEAMJug4MmPnCGzfgvCizXgt895tISJp1ssQVN3S z7cc6VLbdvWrlXXrqLmaEykouIQe5IYoA4RrF/kgpuEAykqhz395LYw2v9oA2JSRp5p3az ZgMzIANEop69IOY6Z+GfzwHzce4x1Fuo5LcBBA59rBCzn2t5jP9iNp41GjAMyQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737749223; a=rsa-sha256; cv=none; b=k+ICGzOvgLgXEegMJeX15ritrvhdmO45jIcr7I8EvKeFFjaj52zYEb6LSoMPCE7PN/bjTn xSmMcim1SlrU8s+TguQ+lNadhtzkiqsqcbaS9Rd4rzMzGaW2oqKaR24/8qDZpFFJIepN97 vaVIqj+i6DUT2t8pq0tHVsHLwnMI5zVSMH6cr04WVDam6woiDCh4lt0nvhHAzxZRh2kUKk 7wRmrVd4Irih6ptFFlubM7H3jfre1vRIMQ111uN+rTlWdAVhOEvrHKgHX1zAQJA3tfkUcy JGLeiBq8upd2nuxeJCw1lUeRpcdPc5TyToW+Tiny9ZyKNi7MLfVWTLCNppjmnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YfpkG6H1Rzgc4 for ; Fri, 24 Jan 2025 20:07:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50OK72M2084567 for ; Fri, 24 Jan 2025 20:07:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50OK72Bu084566 for bluetooth@FreeBSD.org; Fri, 24 Jan 2025 20:07:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bluetooth@FreeBSD.org Subject: [Bug 265066] ng_hci: Add support for Bluetooth secure simple pairing Date: Fri, 24 Jan 2025 20:07:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kempe@lysator.liu.se X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using Bluetooth in FreeBSD environments List-Archive: https://lists.freebsd.org/archives/freebsd-bluetooth List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bluetooth@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265066 --- Comment #8 from Andreas Kempe --- (In reply to Bjoern A. Zeeb from comment #7) It has been a while since I actively worked with this so I am afraid I can't remember my reasoning. I would be fine with changing it to whatever. I also noticed that I have a spelling mistake with ng_hcy_write_simple_pairing_rp. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Jan 24 23:06:34 2025 X-Original-To: bluetooth@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YftjQ1PfGz5lY1N for ; Fri, 24 Jan 2025 23:06:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YftjQ0tQbz3tMd for ; Fri, 24 Jan 2025 23:06:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737759994; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+qb6jpDInYji2LF2gLZX4TOtFTk0s4qQ90YA+6b/W8M=; b=lLQVcWlxGJ9VUsXTTd6+q0T+99+NvBQaVpoEQI3ET0PixG9OUNNFAk8bIOJDhyWJpK48WM mjZZd1hSP+fE+b8kVmqbKJVxDapgfudA3K4gg7lH1Swtnxi1mSJpbiPhge4IS7jjvlxSdR rZCSKJ+diSv/FThf2ITL7j1ti4qlsx1ysgT341QI4fQF79GVURjIRA3gNXGIL+LgIjdJwx Xpps35NTa5IqCE9GFmgCUjvfYq/JCCskjG6Y/q+Cer09vC8UlHVYnC2oorC3lQQBdWcXZd lQl12vXyYb/NIzyASL1t+ExnIbfwaHvZfEZBRSYHM4D9Sb1vTk2XSQamZZ1Z0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737759994; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+qb6jpDInYji2LF2gLZX4TOtFTk0s4qQ90YA+6b/W8M=; b=n9ScIFyzYVkUUeJpnFFB9rItOtCIYoXfgp1pDJHTltUcEPV0NEKKMpGk5WmMCTpWWg2pVg GOwbtw7cyoAO1jtypoMx9BuqeiPy6Zkb+P6eH1tBBV6qyUS0ecvjhOwyuouvlp0lPDYJrK ERqnWBW96sm+b3E2N8nvDIG0F2CdWIcSVIQAMRNY1+0CaOx2UpQ5VGpV3SXnIGSMxSZ7cN QgR3rwoLAS2groMCKo9YkNFhB1M28iHPwFNajtrllmex0w9Ge3X7L3llVyyA0ORNNBZSSH J0RIzM5E9YXkR3L2OrFvRxQntdhOR7M53ofc6jlDhvUU0XsWgNb9TxqVlwH6wQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737759994; a=rsa-sha256; cv=none; b=OALvEKfJ28wNc/LF0wd5z0OzL9Lam4JS0y5fEMnILrhS5wXVRa0uIpZD30BQYzN5ipiZuI KuFJLIMGSZhhatri8VIPOshmHNL4IYP0syg+xnk9+Pwqcm0KcNebohc7yy/3uBrPm2W1Hr uw6O8NoikQXFJ3wpLF0u/bq3FsFunx51HYqULA+/42rGeaS+VsOBaMEcbMhkyY8QOnyrsH 2bkWup7M63j6KMpkIx5rI33coAmYtLskp6+Cbr3KL0jqy52F0YPmuUMMppi+Ci1ApUxsm4 S0Tqz/x4chaDZYy5Unf3HV2CQ6nOQ8np/pu78GaVe2lVgOUTFx18WoQSgyKyoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YftjQ0BMNzly6 for ; Fri, 24 Jan 2025 23:06:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50ON6XGP039692 for ; Fri, 24 Jan 2025 23:06:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50ON6Xps039690 for bluetooth@FreeBSD.org; Fri, 24 Jan 2025 23:06:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bluetooth@FreeBSD.org Subject: [Bug 265066] ng_hci: Add support for Bluetooth secure simple pairing Date: Fri, 24 Jan 2025 23:06:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using Bluetooth in FreeBSD environments List-Archive: https://lists.freebsd.org/archives/freebsd-bluetooth List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bluetooth@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265066 --- Comment #9 from Bjoern A. Zeeb --- (In reply to Andreas Kempe from comment #8) Thanks for the reply. There's a bit of traction with BT/BLE with the Laptop Desktop Working Group= [1] where this came up. Robin Haberkorn mentioned it. Sorry no one looked at it for so long. I'll fix the spelling, and given you seem to be ok, rename the define to NG_HCI_LMP_SECURE_SIMPLE_PAIRING if that's alright and get it in. [1] https://wiki.freebsd.org/LaptopDesktopWorkingGroup --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Jan 25 01:40:25 2025 X-Original-To: bluetooth@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Yfy6x0mclz5lkJC for ; Sat, 25 Jan 2025 01:40:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yfy6x0C2Dz3Z2M for ; Sat, 25 Jan 2025 01:40:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737769225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xJJ9g/LVlG3JwBOjFGeaqJeehZ3o5LLMuDh5zY2Xv20=; b=kGmYxCIuZ9lKzCowv4QyTKszIsZukrgwUS5N0srLh49YNgeFTSRfrcCiWY3sth0MOs8ed9 eU3/Y6GwY/iPS3vtxXQXnLFHwciptsku7VFHugL6+4F2ObKjShr7j154srCqtwsvNzognY tbdhjI9ItYiQD5SJ3brYIu3wOERy/eLoFCQwhSlMc4y7qwrQ7i2pfM0igm3pR+n4mdug58 23yzC+rq0atxVY4P/oM1nsFYahlJJkajB/9xvOojbFCpL50z3c9xRCYs9aqL4GuNF9bmUw n39PzfSgO+eFEnAsyYzcc7qTs0bVIkURBmV4fgCMcQFakTV8AoWVbJpQvXnNFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737769225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xJJ9g/LVlG3JwBOjFGeaqJeehZ3o5LLMuDh5zY2Xv20=; b=kgl+kErqnd+vhYLJPM5+PwUSwFA25LWvwxvig7mW7CE7KKzF7JIwg8sq+4+rRbzQcVDp4M HToAErh4UUatDJwid82WjXn7ODz6U+NRcxRoGSvA5k2yaANP8959y5GXAjOH6c0S3gck5P so4Jxs4VPa+0FJ6rFuasjy7WrApXpRdDNqBlC/01/nW/p3jkvbah4lh4390KMJsAiv8qOD 0lYL2r7SFnpBu1MnLvxU5QVM1WtuX2DPtwUswcpdeihZ0JJ83laJwBIeYevRsaztxoPdFx +i7YxbppnTePDVof/UQV40Sj2LY3oeU8noNe5Mp852DfbsADOrEtpZx238v6kg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737769225; a=rsa-sha256; cv=none; b=AyVXdq/YlS50TFo+RNRxi1MjTgfH/wxJ458KKJVLUyfqsNHLnAycUQ+bapkRmpkhHGqt6D qMgvGe/OC6WBrRWGXoWkQF4sG98Sa/c56qMbDJ5cX/LmFeDu1K1WtMWVRoFriIja3W/Adg BH2MftKTgEn4tP9usuk5fai38Qs3xxJbg+uOru8jyBDvGz4B1BwpTejHcn7NsHCZFyZAfR 7SFxTbE+cGjqaXXEOU4QiXLAruXdiwVm35SEYMFqlr0r5du5nOePiKHXEiIVY6HbkHg/K2 Z7Lu0PSxsQV6dlZLn73fs7bt3nq7Bt9XCYJ+I9iy+SI4cGBWTvATyO+DzpnMiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Yfy6w6vRczr8g for ; Sat, 25 Jan 2025 01:40:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50P1eOZk037033 for ; Sat, 25 Jan 2025 01:40:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50P1eOLE037032 for bluetooth@FreeBSD.org; Sat, 25 Jan 2025 01:40:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bluetooth@FreeBSD.org Subject: [Bug 265066] ng_hci: Add support for Bluetooth secure simple pairing Date: Sat, 25 Jan 2025 01:40:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kempe@lysator.liu.se X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using Bluetooth in FreeBSD environments List-Archive: https://lists.freebsd.org/archives/freebsd-bluetooth List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bluetooth@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265066 --- Comment #10 from Andreas Kempe --- Created attachment 256976 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D256976&action= =3Dedit Updated patch with extre messages and name change. (In reply to Bjoern A. Zeeb from comment #9) Thank you for looking at this! I checked and actually have an updated versi= on of the patch where I added a few more messages that I noticed I had missed while working on blued. I am uploading the newest version of the patch I ha= ve with your suggested name change. It is good to hear some work might get done. I have been meaning to share s= ome of my thoughts but never got around to it, because I lost all my steam when= I realised the task was too big for me to have time to undertake alone. I think the Bluetooth infrastructure needs a good looking over. The current split between kernel and user space makes some things difficult. HCI connections being handled in user space gave me difficulties with correctly handling the interplay between l2cap connections that have proper socket support, the HCI connection and authentication. Unfortunately, I can't reme= mber the details and would have to dive back into the core specification to refr= esh my memory. Another issue with how HCI connections are handled is that a crash of the daemon loses track of what connections were active if state is not saved in persistent memory. If you lose the handle, there is no easy way to cause the connection to disconnect from software without resetting the host controlle= r or the Bluetooth device. I think it would probably be desirable to either put the entire implementat= ion in the kernel or user space, not splitting it like it is now. Maybe even looking at doing for Bluetooth what is currently being done for WiFi by importing driver infrastructure from Linux. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Jan 25 02:01:22 2025 X-Original-To: bluetooth@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Yfyb75LYxz5llfy for ; Sat, 25 Jan 2025 02:01:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yfyb73wMbz3jTD for ; Sat, 25 Jan 2025 02:01:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737770483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uhKWFcfE6PEF/SKFUkDDEt3so3FVhi6n7ArJw5tn7Rs=; b=LSMDHBdWBJISXbnLu4TYlMW7hNPF53N0/M7HXJ2uoPkNILbcD2NEWrzhDN1rzPywicHp2h UC1Fly4Cs2+CrmIZE35Q1i6PYAx+HA3sor6G5YEQj/nYS/EpkA/CkbHm0SMV6pBlG/euEa SK835JWhGwtlG78aTEXktPXeYORYVRnroF+CgvNkHMauZ8MMmyKbfJIF0NVzA1zTT2z9yE jq8vPjdiL/1UWTp1UEQe2nf6wP5yv6DzLKcpyXXTWf0nvmJYFitGMLvUssl6t7JNrp/3ah IluzeJFobCwUnW5X2WQu4iCVHcy4n5HSDi8SJezQyxT1Uy10PpOE+x7I8c2Jmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737770483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uhKWFcfE6PEF/SKFUkDDEt3so3FVhi6n7ArJw5tn7Rs=; b=yAjH47hJtV7Bgm6rKAWz9hmgj6ZR0bnIm/UomWVywidn3CUXV8gpN4kl9hDvfwmVVpkVS5 BhFC5+CGhcEMHra3KJmSrQsjc06l5f0/xflM6UPpaM6fnRO3WTsCJcA3ZgZ/LvJPTl3bko xDxAzQYEiXAxNHmUWuaeILZrjMJKsh4kBXtjhAb0InU3ejffBDqw37nYA6+1iSN0NPea3D qKmbCIPuEseB/EW16WazarAzddpq/xSmZJl0IXR9VI4RB7FOievxsvOFFzPedbkXQZmsyT TkKkVsEBnFliZwZ5MPKYdKyUJWCbSPW5CANBJ/4NoO0p2pq5BPB4hIt2Za2Zdg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737770483; a=rsa-sha256; cv=none; b=Slwap0MrDO/iNPA9QNiqZ/KrvdmQZMPLsm3zObzOa7PnDjO9lKiVAvzPPWnjkwJJja/qzs Abb750L7xoc8dYmfK1dIjnc5oo+eACHwX3fb5hCnhWdlwfde09cJIP39ukemCezLQp6cHp Q+4+tC3u48fSvG26uiWIVXr4CV5Do6z9gTBmzjl0Oowlzo84r5riX109SW7DRNkr5az5op tKSxmEk+ZYJOBd6bg26IWvfTW/KvHQuGy6bakypFqyagad+5FyALjqKAlGs4YVRodnNbAM YZ+QNAlkEREQuKN0TQBngu2kJS7x+Btgyz3rIPxS4hgpInGLex1MLxQepMNDRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Yfyb7389xzrty for ; Sat, 25 Jan 2025 02:01:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50P21Nfi074663 for ; Sat, 25 Jan 2025 02:01:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50P21NsC074662 for bluetooth@FreeBSD.org; Sat, 25 Jan 2025 02:01:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bluetooth@FreeBSD.org Subject: [Bug 265066] ng_hci: Add support for Bluetooth secure simple pairing Date: Sat, 25 Jan 2025 02:01:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using Bluetooth in FreeBSD environments List-Archive: https://lists.freebsd.org/archives/freebsd-bluetooth List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bluetooth@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265066 --- Comment #11 from Bjoern A. Zeeb --- (In reply to Andreas Kempe from comment #10) Thanks a lot. I'll try to get through with it during the weekend. It's in = the middle of the night here too now :) What I do for WiFi drivers is possible because they are permissibly license= d.=20 I've heard the idea of doing the same with BT more than once but I do not t= hink that's possible to simply take them in accordance with the projects license policy [1]. [1] https://www.freebsd.org/internal/software-license/ --=20 You are receiving this mail because: You are on the CC list for the bug.=