From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Cc: patrik.flykt@linux.intel.com, linux-wpan@vger.kernel.org
Subject: [PATCH v2 0/7] 6LoWPAN userspace support
Date: Thu, 26 Oct 2017 12:30:19 +0300 [thread overview]
Message-ID: <20171026093026.27952-1-luiz.dentz@gmail.com> (raw)
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This introduces support for 6LoWPAN userspace interface creation along
with IPSP plugin which takes care of L2CAP channel creation.
The bt_6lo instance handles all the details to create the network
interface and also attach channels to it so any io is automatically
forward to the right path. The plugin make use of bt_6lo and create
interfaces for each adapter available using "bt" as prefix followed by
adapter index.
At the current stage only router/central role is supported since
peripheral role may actually need to be enabled via advertisement which
perhaps will require a D-Bus to be triggered on demand.
Since the IPSP plugins does actually register a proper profile driver
Device.Connect can now attempt to connect the IPSP channel and then
proceed to attach the channel to interface, so it is well integrated
with existing D-Bus APIs.
Note that this all depends on TUN/TAP changes proposed here:
http://www.spinics.net/lists/linux-bluetooth/msg72471.html
v2: Fix not setting protocol type as ETHERTYPE_IPV6
Luiz Augusto von Dentz (7):
shared/io: Add io_recv
shared: Add initial code for 6LoWPAN
unit: Add initial test for bt_6lo
uuid: Add IPSP UUID
build: Add IPSP plugin
ipsp: Connect to IPSP PSM
ipsp: Add support for bt_6lo
Makefile.am | 8 +-
Makefile.plugins | 5 +
configure.ac | 4 +
lib/uuid.h | 2 +
profiles/network/ipsp.c | 318 ++++++++++++++++++++++++++++
src/shared/6lo.c | 540 ++++++++++++++++++++++++++++++++++++++++++++++++
src/shared/6lo.h | 40 ++++
src/shared/io-glib.c | 20 ++
src/shared/io.h | 1 +
unit/test-6lo.c | 271 ++++++++++++++++++++++++
10 files changed, 1208 insertions(+), 1 deletion(-)
create mode 100644 profiles/network/ipsp.c
create mode 100644 src/shared/6lo.c
create mode 100644 src/shared/6lo.h
create mode 100644 unit/test-6lo.c
--
2.13.6
next reply other threads:[~2017-10-26 9:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-26 9:30 Luiz Augusto von Dentz [this message]
2017-10-26 9:30 ` [PATCH v2 1/7] shared/io: Add io_recv Luiz Augusto von Dentz
2017-10-26 9:30 ` [PATCH v2 2/7] shared: Add initial code for 6LoWPAN Luiz Augusto von Dentz
2017-10-26 9:30 ` [PATCH v2 3/7] unit: Add initial test for bt_6lo Luiz Augusto von Dentz
2017-10-26 9:30 ` [PATCH v2 4/7] uuid: Add IPSP UUID Luiz Augusto von Dentz
2017-10-26 9:30 ` [PATCH v2 5/7] build: Add IPSP plugin Luiz Augusto von Dentz
2017-10-26 9:30 ` [PATCH v2 6/7] ipsp: Connect to IPSP PSM Luiz Augusto von Dentz
2017-10-26 9:30 ` [PATCH v2 7/7] ipsp: Add support for bt_6lo Luiz Augusto von Dentz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171026093026.27952-1-luiz.dentz@gmail.com \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-wpan@vger.kernel.org \
--cc=patrik.flykt@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).