From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Aring Subject: Re: Bluetooth 6LoWPAN and routing Date: Mon, 4 Nov 2013 23:53:00 +0100 Message-ID: <20131104225259.GB25392@omega> References: <5268C214.2040307@linux.intel.com> <20131024122452.GA5491@omega> <52691711.3010909@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: Jukka Rissanen , netdev@vger.kernel.org To: Claudio Takahasi Return-path: Received: from mail-ea0-f181.google.com ([209.85.215.181]:55089 "EHLO mail-ea0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751842Ab3KDWxE (ORCPT ); Mon, 4 Nov 2013 17:53:04 -0500 Received: by mail-ea0-f181.google.com with SMTP id d10so3786886eaj.40 for ; Mon, 04 Nov 2013 14:53:02 -0800 (PST) Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Mon, Nov 04, 2013 at 07:46:06PM -0200, Claudio Takahasi wrote: > Hi Jukka, > > On Thu, Oct 24, 2013 at 9:48 AM, Jukka Rissanen > wrote: > > Hi Alexander, > > > > > > On 24.10.2013 15:25, Alexander Aring wrote: > >> > >> Hi Jukka, > >> > >> On Thu, Oct 24, 2013 at 09:45:40AM +0300, Jukka Rissanen wrote: > >>> > >>> Hi, > >>> > >>> I have been prototyping with BT 6LoWPAN support (using this draft > >>> http://tools.ietf.org/html/draft-ietf-6lowpan-btle-12 as a > >>> reference). I sent first version yesterday to linux-bluetooth ml > >>> http://thread.gmane.org/gmane.linux.bluez.kernel/39394 > >>> > >> I see you take many code from the 6lowpan ieee802154 implementation. > >> (Just notice you drop the original authors from there) > > > > > > Hmm, those got dropped, I am sorry about that. I will add the original > > authors information of course. > > > > > >> > >> I have a couple of patches to fix a lot of bugs in the current 6LoWPAN > >> ieee802154 implementation. > >> > >> Some bugs which I found: > >> > >> - Fix race conditions in fragmentation handling > >> - Fix UDP compression/uncompressionm, which is completly broken > >> - Fragmentation handling isn't rfc4944 compatible > >> > >> And some other improvements. I see your rfc has the same issues (e.g. > >> fragmentation race conditions). > >> > >> Currently I preparing these patches for mainlining. > > > > > > Excellent news! > > > Is it necessary to implement 6loWPAN fragmentation/reassembling? For > Bluetooth, I thought L2CAP FAR (Fragmentation and Reassembling) could > handle the transfer of IPv6 packets that doesn't fit in one single > BTLE PDU. > What am I missing here? > mhh, I look a little bit deeper in the 6LoWPAN bluetooth draft and indeed it can be handled via L2CAP FAR. I saw the fragmentation struct in the rfc implementation(struct lowpan_fragment) but it isn't used in any case so Jukka can drop this from the rfc implementation. Sorry about that. But I don't see udp compression/uncompression in Jukka's rfc implementation. But this is a part of rfc 6282 which should blte 6LoWPAN should use? So the 6LoWPAN fragmentation thing (rfc4944) is only ieee802154 specific. - Alex