Re: [lp-wan] Working Group Adoption of draft-farrell-lpwan-overview

Stephen Farrell <stephen.farrell@cs.tcd.ie> Mon, 27 February 2017 09:06 UTC

Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: lp-wan@ietfa.amsl.com
Delivered-To: lp-wan@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 57806129C63 for <lp-wan@ietfa.amsl.com>; Mon, 27 Feb 2017 01:06:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level:
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yMuGiqXxgD_P for <lp-wan@ietfa.amsl.com>; Mon, 27 Feb 2017 01:06:18 -0800 (PST)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 46ABE129428 for <lp-wan@ietf.org>; Mon, 27 Feb 2017 01:06:17 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id DF743BE56; Mon, 27 Feb 2017 09:06:15 +0000 (GMT)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KU0Lq5_zuPa4; Mon, 27 Feb 2017 09:06:12 +0000 (GMT)
Received: from [10.87.48.75] (95-45-153-252-dynamic.agg2.phb.bdt-fng.eircom.net [95.45.153.252]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 7E724BE49; Mon, 27 Feb 2017 09:06:11 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1488186372; bh=VQahgk7JzsqwDkBHQpX2UMwMEqnegpki1TNMkvdg+h4=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=lybGGmTx1/IHB7P1QBHtyT8ud6Z1JunX14pzsW0FdTtxeY5J/wUdCw3NmIwkEbw1n 9juuXhGXsULcHK7ehUCddvmmmACX3VE2RN9IWsS5r7igJkpKatlLplFpu6Qg/05qPr ruNwYtNEuiUVBvy+s1nRrE1d7VEn9z/mpZ3P6kew=
To: lp-wan <lp-wan@ietf.org>
References: <389AB048-B621-48B5-9222-2E00F566C8A3@ackl.io> <9C91D5DE-39AB-4077-AE79-6CFA70451ADC@cisco.com> <CAMRmHq5hVtV25KEXzZAytnEzzgcVL22UpVn-R86vHwjw_j5LFQ@mail.gmail.com> <0171298e-d6e2-920c-d7c1-c2beca46250f@cs.tcd.ie>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <956043af-876f-78be-9eba-b1e0f696b381@cs.tcd.ie>
Date: Mon, 27 Feb 2017 09:06:10 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <0171298e-d6e2-920c-d7c1-c2beca46250f@cs.tcd.ie>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="tCxbP3tjgHCxUbAgPwqNAnSAimcnAlQ2q"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/mkDs7YaLmUYvDBXSumpIJL9DQMM>
Cc: Ivan Di Giusto <ivan@digiusto.com>
Subject: Re: [lp-wan] Working Group Adoption of draft-farrell-lpwan-overview
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Low-Power Wide Area Networking \(LP-WAN\), also known as LPWA or Low-Rate WAN \(LR-WAN\)" <lp-wan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lp-wan/>
List-Post: <mailto:lp-wan@ietf.org>
List-Help: <mailto:lp-wan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Feb 2017 09:06:20 -0000

And Ivan did indeed submit a PR [1] (thanks!) that
I'll look at this morning. At first glance those do
seem like fine changes and essentially editorial so
that being the case I won't wait for a positive ack
from the WG chairs to accept if that's ok. I will
send mail here though if (or when:-) I do accept
the PR.

Cheers,
S.

[1] https://github.com/sftcd/lpwan-ov/pull/1

On 26/02/17 22:34, Stephen Farrell wrote:
> 
> Hi Ivan,
> 
> I'm working towards a -01 of the WG draft as I said a while
> back, so wanted to respond to your comments on the list as
> part of that.
> 
> I've an editor's copy of what'll end up as -01 at [1], plan
> is to publish that as -01 in the next few days.
> 
> 
> On 24/11/16 02:30, Ivan Di Giusto wrote:
>> Hi All,
>>
>> This is a well written summary of different LPWA technologies.
>>
>> There are a few points that need to be corrected in the LoraWAN section
>> before the document is adopted.
>>
>>    1. Page 6 para 1 - Discussion about the smallest frame size is not
>>    relevant to a lot of regions and may prejudice readers to a limitation that
>>    does not exist in many cases. 
> 
> I still disagree (as I said before) - I do think that this document
> ought try identify the worst-case MTU with which IP will have to
> live for each of the relevant technologies.
> 
>> It would be better to discuss the number of
>>    bytes required for particular types of messages.
>>    CHANGE FROM
>>    Note that in the case ...
>>    TO
> 
> Sorry, I'm not clear how much text you're suggesting to replace
> with that below. Your text btw seems correct to me, so I'd not
> have any particular issue with it being included.
> 
> Would it be possible to get you to do those changes as PR for
> the github repo? (If not, let's chat off list to determine
> how such a PR would look.)
> 
> Cheers,
> S.
> 
> [1]
> https://github.com/sftcd/lpwan-ov/blob/master/draft-ietf-lpwan-overview.txt
> [2] https://github.com/sftcd/lpwan-ov
> 
> 
>>    Every LoRaWAN DATA packet consists of a Message Type (1 octet), Frame
>>    Header (7 octets), Frame Options (optional, from 0 to 15 octets), Frame
>>    Port (1 octet) and a Message Integrity Check (4 octets), along with a
>>    variable-length data payload.    Therefore, to send any number of data
>>    packets, LoRaWAN requires a fixed overhead of 13 octets that are used as
>>    packet header/integrity check.  Data payload can be up to 242 octets long.
>>    Local regulations and the choice of data rates may further limit the
>>    maximum number of data octets.
>>
>>    Other types of LoRaWAN packets (Join-Request, Join-Response) are of
>>    fixed length (23 octets and 17 octets, respectively) and are usually used
>>    once in the lifetime of the device, during initial connection to the
>>    network.
>>
>>    The Frame Port field (1 octet) is required when data payload is being
>>    transported.  Valid values for this octet in the case of data payload are 1
>>    to 223.
>>
>>    There is a concept of MAC commands, which are exchanged between the
>>    Network Server and the device.  Some are initiated by the device, while
>>    others are initiated by the Network Server.  Their purpose is primarily to
>>    manage the network parameters (channel frequencies, receive windows, duty
>>    cycle rules, etc).  Others are used for ADR (Active Data Rate) management
>>    which allows the Network Server to instruct the device to use a
>>    higher/lower data rate/transmission power.
>>
>>    MAC commands can be transferred in two different ways.  Firstly, they
>>    can be placed inside Frame Options, which can carry up to 15 octets.  In
>>    this configuration, MAC commands are not encrypted, but are authenticated,
>>    prevent spoofing attempts.  Secondly, MAC commands can be carried as data
>>    packet with Frame Port setting of 0.  In this configuration, MAC commands
>>    are encrypted using the network session key (NwkSKey).
>>
>>    2. Page 6
>>    DELETE para 2 as it is incorrect (JOIN procedure does not use ports)
>>    DELETE para 3-5 as this information is explained in the above text
>>
>>    3. Page 7 para 4 starting with
>>    End-devices are assumed to work ...
>>    SHOULD have the sentence
>>    This is achievable in many cases ...
>>    CHANGED TO
>>    This is called Activation By Personalization (ABP) and programmed into
>>    the device.  The network server is provided the relevant keys by
>>    out-of-band means.
>>
>>    4. Page 8 para 1 that starts with
>>    As an alternative, end-devices can use the ...
>>    SHOULD change to
>>    As an alternative to ABP activation, end-devices can use
>>    Over-The-Air-Activation (OTAA) join procedure in order to setup some of
>>    these values and dynamically gain access to the network. To use the OTAA
>>    join procedure, an end-device must still know the AppEUI, and in addition,
>>    a different (long-term) symmetric key that is bound to the AppEUI - this is
>>    the application key (AppKey), and is distinct from the application session
>>    key (AppSKey).  The AppKey is required to be specific to the device, that
>>    is, each end-device should have a different AppKey value.  And finally the
>>    end-device also needs a long-term identifier for itself, syntactically also
>>    an EUI-64, and known as the device EUI or DevEUI.
>>
>> Feel free to provide feedback on the recommended changes.
>>
>> Regards,
>> Ivan Di Giusto
>>
>> On 24 November 2016 at 02:15, Patrick Wetterwald (pwetterw) <
>> pwetterw@cisco.com> wrote:
>>
>>> Yes for adoption.
>>>
>>>
>>>
>>> Patrick
>>>
>>>
>>>
>>> *From: *lp-wan <lp-wan-bounces@ietf.org> on behalf of Alexander Pelov <
>>> a@ackl.io>
>>> *Date: *Wednesday, 16 November 2016 at 23:55
>>> *To: *lp-wan <lp-wan@ietf.org>
>>> *Subject: *[lp-wan] Working Group Adoption of draft-farrell-lpwan-overview
>>>
>>>
>>>
>>> Dear all,
>>>
>>>
>>> (This is the call for adoption for the *LPWAN overview* document.)
>>>
>>>
>>> During the Monday meeting of the WG, we’ve discussed three main drafts,
>>> which address the two items we have in our charter. We’ve had three call
>>> for adoption in the room, with clear support for the adoption of the
>>> documents. You can find the minutes at the following address:
>>> https://datatracker.ietf.org/doc/minutes-97-lpwan/
>>>
>>> We are now moving the call for adoption to the mailing list and will be
>>> closing the call in two weeks (on *December 2nd, 2016*).
>>>
>>> This is the call for adoption for "LPWAN Overview" draft
>>> (draft-farrell-lpwan-overview):
>>> https://datatracker.ietf.org/doc//draft-farrell-lpwan-overview/
>>> <https://datatracker.ietf.org/doc/draft-farrell-lpwan-overview/>
>>>
>>> Please read the draft and reply to the list with your comments, remarks,
>>> suggestions and votes on the adoption of this document.
>>>
>>> Best,
>>> Pascal and Alexander
>>>
>>>
>>>
>>> _______________________________________________
>>> lp-wan mailing list
>>> lp-wan@ietf.org
>>> https://www.ietf.org/mailman/listinfo/lp-wan
>>>
>>>
>>
> 
> 
> 
> _______________________________________________
> lp-wan mailing list
> lp-wan@ietf.org
> https://www.ietf.org/mailman/listinfo/lp-wan
>