Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp945633pxb; Thu, 31 Mar 2022 23:50:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymI359UAq5v9+CXfyJOm00qnSyapPv0a1ZUFxiTidTYopRhl0SfwntMLxiS6Cl8IewmdHb X-Received: by 2002:a17:90a:c595:b0:1c7:bb62:4487 with SMTP id l21-20020a17090ac59500b001c7bb624487mr10256510pjt.190.1648795842758; Thu, 31 Mar 2022 23:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648795842; cv=none; d=google.com; s=arc-20160816; b=MBJBYjg5HOy4GJaeNUjkpA4cQZuc9bBQGBSn3+hlstkX+cT4+aOaxlm5zU7THI8Nps SoLawKkCT/bC9xVCBeB5Q31HLuBabZ6skomZ9g9MUKiRaVyxKdxSQIyczWSfL76ErYKc CK3AJxoucfskTnbXiCQOvG0Gmgg+QK4FokIhd5DkV8ksATXWq8d2heUS9o6jQyUVsp8+ MWDOlrtUJ/MmLogjPnW/u2lo+2gb4YDCIOYNMU4sE9Jh0P2QD97twCd/KO1uIjsfQ7HF jMsTHK77VXn1N8M/0EXpu8Cl3qLSq/u/q4wHuxxcZcJjjYmJF9dwpkCjes+kynkmdL1S ss6w== 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=sed+B14MEdys4a3Kl5IRYsGrpWnbGqu0C4n3nLZoefE=; b=m90BPOgLJGog6kGD/hmN3Atjg79G7euCVk7+L47kTYWbMbAp3PtP204bVMNlnC1lkW R6XXU4HdZWD+iW0UDQlg75DeiNpT3jjGOAwPyhlMzhiqmxYSgWc0E3eEPYWUA5awrLNy E0b7nsI1CNeBj6ie075QIt/Gcv2kvllVxxHOA9cw2ryJ7nHEIUGXfI/lYfu3grIPVBFb /4kSjXQ/rRXPX6HSPGfDmHVtVee+uhiNEkRdBMtMvRTygrAYdGtNWzoBBGK0UKAEoAkb R+sHV4bR78mssTLBDThUzdEGymVucpggZI1AvPtFl+nXeiwMMIA4YRTKBo+tP8U05hLA VmLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="VbYj/P6X"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rm13-20020a17090b3ecd00b001ca14079c7fsi1607132pjb.70.2022.03.31.23.50.17; Thu, 31 Mar 2022 23:50:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="VbYj/P6X"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233537AbiCaSJs (ORCPT + 99 others); Thu, 31 Mar 2022 14:09:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232396AbiCaSJs (ORCPT ); Thu, 31 Mar 2022 14:09:48 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7256F7F70 for ; Thu, 31 Mar 2022 11:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648750080; x=1680286080; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=V2miUM0n5Cl+3i8ZDJR2btVC9Re4DhSw6auDQ6Krmb0=; b=VbYj/P6X9e2Hb4KqTmq37BHZddcOMgKYNr4Di49Jf2GwVL4qJEkL3gVS sIvGPPqorP1fF5eq8Jia4yjpq8jT2UIGuRQfQbawKff1HsI9oETQB0gwU mYKGgiJ6CRquNZPdbblkRqDCqgZTcCPDFFJVV57xQjDGOay5R5kSPasiB cz6BHOX8R5QPlLRJIKVxNHGGT9BWMS2uRAy7DoZC6+OViPExI8WH/N2Kq ZSZcv00pxZVti/2BGPIhFkN66ltR2+sq6EHvEM6BMLjNUNOeBvt/rj/rQ OzORIr+5FpKu4qgU2B3LxZuB3ohi1KHA9FUYFt6q/oZ5GPKQY9Y8Jssz9 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10302"; a="257495895" X-IronPort-AV: E=Sophos;i="5.90,225,1643702400"; d="scan'208";a="257495895" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2022 11:08:00 -0700 X-IronPort-AV: E=Sophos;i="5.90,225,1643702400"; d="scan'208";a="840896152" Received: from coletonb-mobl.amr.corp.intel.com (HELO bgi1-mobl2.amr.corp.intel.com) ([10.209.6.25]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2022 11:08:00 -0700 From: Brian Gix To: linux-bluetooth@vger.kernel.org Cc: marcel@holtmann.org, luiz.dentz@gmail.com, brian.gix@intel.com Subject: [PATCH 0/3] Add Mesh functionality to net/bluetooth Date: Thu, 31 Mar 2022 11:07:46 -0700 Message-Id: <20220331180749.456913-1-brian.gix@intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Housekeeping and implementation. Brian Gix (3): Bluetooth: Keep MGMT pending queue ordered FIFO Bluetooth: Implement support for Mesh Bluetooth: Add experimental wrapper for MGMT based mesh include/net/bluetooth/hci.h | 4 + include/net/bluetooth/hci_core.h | 18 +- include/net/bluetooth/hci_sync.h | 3 + include/net/bluetooth/mgmt.h | 51 +++ net/bluetooth/hci_conn.c | 2 +- net/bluetooth/hci_core.c | 1 + net/bluetooth/hci_event.c | 61 ++-- net/bluetooth/hci_request.c | 115 +++++-- net/bluetooth/hci_sync.c | 104 ++++-- net/bluetooth/mgmt.c | 532 ++++++++++++++++++++++++++++++- net/bluetooth/mgmt_util.c | 60 +++- net/bluetooth/mgmt_util.h | 17 + 12 files changed, 884 insertions(+), 84 deletions(-) -- 2.35.1