Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp90512iof; Sun, 5 Jun 2022 22:04:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiT5VlWWkhw8weCbBW25h4o6N7QkQPjNu/uML44YO4iGOv8egZpn7sdfEk0Iflu7p+7SC9 X-Received: by 2002:a63:6901:0:b0:3f9:caa5:cffc with SMTP id e1-20020a636901000000b003f9caa5cffcmr19880774pgc.324.1654491845707; Sun, 05 Jun 2022 22:04:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654491845; cv=none; d=google.com; s=arc-20160816; b=qOL1KovvebIa96X1vvA7ImMY2z0r4w6ehLHvDJViZ+JvjECa2Gh3S1f+Fmfr9QmTEa HDHzLE5TU2sEgbm6tEm3d9rM62Z3OcqJeOxv32Z5BF9/yZAYsG0JRZ2ms0Bq2oNjItjv r3nVupHWktfKJwF9v712GnLtlwKZc8T+V29ulbv6Pph8EiQizdgnNbRbdr/eA0NOf3P0 4ul7lhPt46geW2aijk8LPzuunzUdsRopkyODH4pKex+2fV0v9tWWM7AcqTyTfCghGMdt HZql9h8DdT6a0E2dbHBtLv5KluQJy24SutHPFKcZL8ofMaeM/3wm7HUhG+zgJo4FmAkv HHtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=CthkhlRxZHKfmVUvwmEZ1uekjvuetDlWmyTRyQCf7Zc=; b=DluMqhQi6CWnxlxaO3nbMOKjm/LLevfkAvDw1miGBrODdc0n0gPI60ZMiMkuXuDiYJ g18RzGvPC5z/Fzz48p3iCCmyH4uGwz97FTHc7/kyWMxNK0REFUPJGZ6i60m3mijHUuh3 7FIfJ8h+jP7bGi83yZULBhCsEna7kPIRhYctwfF9qu3e30oqyfX7Yq4fQe6XeqE2ibBA MRM8ynkGCslFKVZkywI8J2moTFgVP7PN+B+SSADhhXoHfrElz/FbJdlmo3lUXLA8iqAO LdmOn1pQqKcnWyuwTJ1frpAzlVlSTKQsTHVDEw1WjMVwQ6wZ17pbglj/mxM09DfqYDzF nRlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SQ7PUshq; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j62-20020a638b41000000b003daf5a335bcsi19790393pge.12.2022.06.05.22.04.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 22:04:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SQ7PUshq; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DB5F9737A3; Sun, 5 Jun 2022 21:12:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348860AbiFCWcq (ORCPT + 99 others); Fri, 3 Jun 2022 18:32:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231882AbiFCWcq (ORCPT ); Fri, 3 Jun 2022 18:32:46 -0400 Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EF9D29CBB for ; Fri, 3 Jun 2022 15:32:45 -0700 (PDT) Received: by mail-il1-x12f.google.com with SMTP id h7so819951ila.10 for ; Fri, 03 Jun 2022 15:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CthkhlRxZHKfmVUvwmEZ1uekjvuetDlWmyTRyQCf7Zc=; b=SQ7PUshqEhXGPH/5m6qMrxb99LYLyHk7cp0jrCv+HnFeSpOT7SAzo/HDOrdKTd9L10 6hUKXqYdIjLBN3/f2aWY+U91CS02RuUmc0gFVdnoxgfqo7lIIjlnUMZ37Svht2Smk3hw SqdQI73WHaMi3kRspxRYFHiv1kkTkl8uC2v1y+ws8Z1qBT47OtzwjBrIcFx+aveNnx9P MrCBRZMiGyHuSgHJgBlp50oie5GGkhHlcBUROtho7SvzplZnixrvbmX8VJrDIszVjuku xr2IXgzKQXZ3glWFCypsSCr3ll1rsAnmdvb9t7kvQ6KtFnv+vcuVogC+AmdMeeb9mu3d 6mJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CthkhlRxZHKfmVUvwmEZ1uekjvuetDlWmyTRyQCf7Zc=; b=4nk1wLlrQRev/BCaUzuYwPFF+nEeIIZ9CvuPYasnk9JItZ6f6bVQ0ngfUtw296D42I +QZDgXSQZ0FELT0cbplh72NB07unZNh5bpB0ZHH/0EqM4RGlDC280jYECnnyb6Qbg7ic 3ZmMcjXk34lLX9e4Rvp+Zi1t1VRj6zxu/gInhxp2nDAHus45+zj9Mwz0B4F2DW+Y6BjQ lK/JWFLxqBIiRj0H4rxEuR5I0XyOBxvJSHhK1ZfVmgCrg7BoNxg+HHdzbrEy8oRMeDQT ShDmUTPxj5xdnfqvlvZ6fzW3ne+oUEzU24sDl5zEHJAF2KN8VW7M02eEJmZsEYXzKPma urcQ== X-Gm-Message-State: AOAM532vdO/9/U+Jy2NSOvs96AxNnyypKpd7M85gHlgaib4rmVeKcVEx HA3B70mDfRsujbv1rfxiUICSMgOZgfA= X-Received: by 2002:a05:6e02:16cc:b0:2d1:9a4c:db79 with SMTP id 12-20020a056e0216cc00b002d19a4cdb79mr7184509ilx.175.1654295564699; Fri, 03 Jun 2022 15:32:44 -0700 (PDT) Received: from localhost.localdomain (c-68-47-51-143.hsd1.mn.comcast.net. [68.47.51.143]) by smtp.gmail.com with ESMTPSA id f2-20020a02b782000000b003315c00e885sm2825352jam.0.2022.06.03.15.32.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 15:32:44 -0700 (PDT) From: Michael Brudevold To: linux-bluetooth@vger.kernel.org Cc: Michael Brudevold Subject: [PATCH 0/3] LE OOB pairing support Date: Fri, 3 Jun 2022 17:32:22 -0500 Message-Id: <20220603223225.20296-1-puffy.taco@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Michael Brudevold This patch series implements userspace support for LE OOB pairing. It was tested against an nRF52 dev kit with Nordic's NFC pairing example. Support is only for reading a tag; generating and sending back OOB information was not implemented. Overall, LE EIR data is not dissimilar to BREDR, but the OOB blob starts off slightly differently necessitating a different code path before reaching the EIR parser. Michael Brudevold (3): eir: parse data types for LE OOB pairing Accept LE formatted EIR data with neard plugin neard: Update D-Bus path and interface plugins/neard.c | 64 +++++++++++++++++++++++++++++++++++++++++++------ src/adapter.c | 3 ++- src/adapter.h | 2 +- src/eir.c | 21 ++++++++++++++++ src/eir.h | 4 ++++ 5 files changed, 85 insertions(+), 9 deletions(-) -- 2.25.1