From patchwork Thu Jan 22 09:41:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Duda, Lukasz" X-Patchwork-Id: 431743 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 802A11402A5 for ; Thu, 22 Jan 2015 20:41:21 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 8200F28BDE6; Thu, 22 Jan 2015 10:38:55 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id C289C28013B for ; Thu, 22 Jan 2015 10:38:50 +0100 (CET) X-policyd-weight: using cached result; rate: -7.6 Received: from ironport01.nordicsemi.no (mail.nordicsemi.no [194.19.86.146]) by arrakis.dune.hu (Postfix) with ESMTP for ; Thu, 22 Jan 2015 10:38:50 +0100 (CET) X-IronPort-AV: E=Sophos;i="5.09,448,1418079600"; d="scan'208";a="2361755" Received: from unknown (HELO CAS01.nvlsi.no) ([192.9.200.205]) by ironport01.nordicsemi.no with ESMTP; 22 Jan 2015 10:41:11 +0100 Received: from MBX04.nvlsi.no ([fe80::6912:55af:448c:53f4]) by CAS01.nvlsi.no ([fe80::3dd1:adee:84bb:4a87%14]) with mapi id 14.03.0123.003; Thu, 22 Jan 2015 10:41:11 +0100 From: "Duda, Lukasz" To: "openwrt-devel@lists.openwrt.org" Thread-Topic: [PATCH v4] Adding support for 6LoWPAN over Bluetooth Low Energy in kernel 3.18. Thread-Index: AdA2J43vy7z/DOLfTTmpaIQ1Mm5zTA== Date: Thu, 22 Jan 2015 09:41:10 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.9.202.124] MIME-Version: 1.0 Subject: [OpenWrt-Devel] [PATCH v4] Adding support for 6LoWPAN over Bluetooth Low Energy in kernel 3.18. X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Adding support 6LoWPAN over Bluetooth Low Energy in kernel 3.18. Creating new bluetooth_6lowpan group with CONFIG_6LOWPAN and CONFIG_BT_6LOWPAN. Adding kernel object dependencies for 6LoWPAN over Bluetooth Low Energy. Signed-off-by: Lukasz Duda --- v2: *fix an issue with the mail formatting as mail client removed line breaks. v3: *fix an issue with html format. v4: *fix an issue with e-mail typo. --- --- Index: package/kernel/linux/modules/other.mk =================================================================== --- package/kernel/linux/modules/other.mk (revision 44059) +++ package/kernel/linux/modules/other.mk (working copy) @@ -70,6 +70,26 @@ $(eval $(call KernelPackage,bluetooth)) +define KernelPackage/bluetooth_6lowpan + SUBMENU:=$(OTHER_MENU) + TITLE:=Bluetooth 6LoWPAN support + DEPENDS:=+kmod-bluetooth @!(LINUX_3_3||LINUX_3_8||LINUX_3_10||LINUX_3_13||LINUX_3_14) + KCONFIG:= \ + CONFIG_6LOWPAN=m \ + CONFIG_BT_6LOWPAN=m + FILES:= \ + $(LINUX_DIR)/net/bluetooth/bluetooth_6lowpan.ko \ + $(LINUX_DIR)/net/6lowpan/6lowpan.ko + AUTOLOAD:=$(call AutoProbe,bluetooth) +endef + +define KernelPackage/bluetooth_6lowpan/description + Kernel support for 6LoWPAN over Bluetooth Low Energy devices +endef + +$(eval $(call KernelPackage,bluetooth_6lowpan)) + + define KernelPackage/bluetooth-hci-h4p SUBMENU:=$(OTHER_MENU) TITLE:=HCI driver with H4 Nokia extensions