Re: [lp-wan] draft-ietf-lpwan-schc-over-lorawan review

Olivier Gimenez <ogimenez@semtech.com> Thu, 02 July 2020 19:54 UTC

Return-Path: <ogimenez@semtech.com>
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 7442A3A0869; Thu, 2 Jul 2020 12:54:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=semtech.com
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 I09RN5Ic2fIN; Thu, 2 Jul 2020 12:54:01 -0700 (PDT)
Received: from mail1.bemta24.messagelabs.com (mail1.bemta24.messagelabs.com [67.219.250.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 174A43A0917; Thu, 2 Jul 2020 12:53:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semtech.com; s=k1; t=1593719629; i=@semtech.com; bh=7NV7UCk6djxBV1mqJ4FKOuFd6R1IyJ1YdGyowE9R0KY=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=LJv/kcIEPf8lKReNu2zCax1aNSXJJmpFyPa0zEB7byFE2ZmZI3qoa8IWnuFgX8mEH G9+hhO8s2JJivrhHqMMcicj4Vdz572SfcaoBTx58rC5fAFMzxMTYTDDh6avoGYjQ8s VXdsdWKye0fG+bth2++fZn1QwE3ztUMke0gs/K0OJmI7ddsJ8Mp3dBxlnh7+y4Wj/v cVMofyFQq7TgeysZ5KtwvgoMwUCNGgjQ6rYP10nLJw6kkeOsFs4A4j1tIQyCNXPvkc az9wE9/KNwg1xCUH5Hwejz3Rv6wHW6HZRBJw9S9DO9jqBbA4kc49YF6beUxpjK6RnP bKmUSIbMWntCQ==
Received: from [100.112.132.166] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-1.bemta.az-b.us-west-2.aws.symcld.net id E0/AC-29381-C4B3EFE5; Thu, 02 Jul 2020 19:53:48 +0000
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHKsWRWlGSWpSXmKPExsXiofbjsa6P9b8 4g/83RSwO7LzKZvF65TFGi89NnUwWb2bZO7B4LFnyk8nj6Z8pbAFMUayZeUn5FQmsGV/+zWcu uNnDWLGsdS1rA+PDLsYuRi4OIYH7jBI//89l7WLkBHKeM0rs2JAFkdjBKPF88gk2kASbgI7E/ +ezWEESIgJTmSQWTz8E1iEsYC/x/ttCdhBbRMBB4vfyo8xdjBxAtpHEnm0eIGEWARWJ3n/rmE BsXgEriUOPprOAlAgJ2Eqc+aEPEuYUsJNYMq+ZGcRmFBCT+H5qDVg5s4C4xK0n88FsCQEBiSV 7zjND2KISLx//AztHQmAas8SEXdPYIRL8EvMOX2eFsBUkmro3s0IMSpR4v+kLM8QNghInZz5h gXhYUaJ12kLmCYxis5Dsm4WkZRaSlllAZzMLaEqs36UPUaIoMaX7ITuErSHROmcuO7L4Akb2V YwWSUWZ6RkluYmZObqGBga6hoZGuobGJrqGJsZ6iVW6SXqlxbrlqcUlukZ6ieXFesWVuck5KX p5qSWbGIGRnVLQ1r+Dcf2bD3qHGCU5mJREef8b/4sT4kvKT6nMSCzOiC8qzUktPsQow8GhJMG 7xQIoJ1iUmp5akZaZA0wyMGkJDh4lEV53kDRvcUFibnFmOkTqFKM3x4SXcxcxcxw8Og9Ivvu5 GEh+XLUESH4Hk0fmLl3ELMSSl5+XKiXO22YJNEIAZERGaR7cAliyvMQoKyXMy8jAwCDEU5Bal JtZgir/ilGcg1FJmNcBZApPZl4J3B2vgE5kAjrRSx7sxJJEhJRUAxPP1Eufq1UqSuU+R6uUBM j4Rciqvjub9lObYdaGc2UPq12M3Kdt19238VjhNWm3mLI10zgnLD7K+2Sax9KH/y5cmGq2azI /T6RfzY2P94JsNfcZB35cFrD+/qxft6KZa+smPX88U3bBVivu2kcFCdFbTm2KKL3g+PQm07ac BSePbwzsPilz9PWceZKdG651K6041Kf/bJlpxPPHZbUv760549ojvqGhahWfSe/y3WWKobFbO 43ufp868Rl3q8/WeX+qanfHelS+vFLdynfwmbBp9KdDe/dM2L406dZbKYONTteUZN5sd3+Wfv PTRQG+E9M1Ko5sOHf60+3pBUytgXsPO9g+WdUfcja+zy/ygcc/XiWW4oxEQy3mouJEABe+GvM RBAAA
X-Env-Sender: ogimenez@semtech.com
X-Msg-Ref: server-26.tower-345.messagelabs.com!1593719626!11596!1
X-Originating-IP: [72.38.248.227]
X-SYMC-ESS-Client-Auth: outbound-route-from=pass
X-StarScan-Received:
X-StarScan-Version: 9.50.2; banners=semtech.com,-,-
X-VirusChecked: Checked
Received: (qmail 13645 invoked from network); 2 Jul 2020 19:53:47 -0000
Received: from s72-38-248-227.static.datacom.cgocable.net (HELO ca01exedge1.semnet.dom) (72.38.248.227) by server-26.tower-345.messagelabs.com with ECDHE-RSA-AES256-SHA384 encrypted SMTP; 2 Jul 2020 19:53:47 -0000
Received: from CA01MAIL1.semnet.dom (10.2.50.40) by ca01exedge1.semnet.dom (10.2.110.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1034.26; Thu, 2 Jul 2020 15:53:39 -0400
Received: from ca01mail2.semnet.dom (10.2.50.41) by CA01MAIL1.semnet.dom (10.2.50.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.26; Thu, 2 Jul 2020 15:53:44 -0400
Received: from ca01mail2.semnet.dom ([fe80::fdc8:c457:b09e:605d]) by ca01mail2.semnet.dom ([fe80::fdc8:c457:b09e:605d%22]) with mapi id 15.01.1034.026; Thu, 2 Jul 2020 15:53:39 -0400
From: Olivier Gimenez <ogimenez@semtech.com>
To: Julien CATALANO <j.catalano@kerlink.fr>, lp-wan <lp-wan@ietf.org>, "draft-ietf-lpwan-schc-over-lorawan@ietf.org" <draft-ietf-lpwan-schc-over-lorawan@ietf.org>, "draft-ietf-lpwan-schc-over-lorawan.shepherd@ietf.org" <draft-ietf-lpwan-schc-over-lorawan.shepherd@ietf.org>
Thread-Topic: [lp-wan] draft-ietf-lpwan-schc-over-lorawan review
Thread-Index: AQHWT5Kzk/ZCruwLBk+Oa6I2Aytjt6j0b2yw
Date: Thu, 02 Jul 2020 19:53:38 +0000
Message-ID: <91245855eeb34ea79979297349d20b45@semtech.com>
References: <2b451bcf-9f93-53e4-5326-0ab322a90b11@kerlink.fr>
In-Reply-To: <2b451bcf-9f93-53e4-5326-0ab322a90b11@kerlink.fr>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5Lmh0bWwiIHA9ImM6XHVzZXJzXG9naW1lbmV6XGFwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0YmEyOWUzNWJcbXNnc1xtc2ctYjUzMjc4ODYtYmM5ZC0xMWVhLWI3MGEtZTRiMzE4NjYzZWUxXGFtZS10ZXN0XGI1MzI3ODg3LWJjOWQtMTFlYS1iNzBhLWU0YjMxODY2M2VlMWJvZHkuaHRtbCIgc3o9IjkyMjQiIHQ9IjEzMjM4MTkzMjEzNTIxOTU4MyIgaD0iV29tNHhNS2l2Wk9nSlBLV2psOVQ1UlZqT3ZnPSIgaWQ9IiIgYmw9IjAiIGJvPSIxIi8+PC9tZXRhPg==
x-dg-rorf: true
x-originating-ip: [10.136.88.69]
Content-Type: multipart/alternative; boundary="_000_91245855eeb34ea79979297349d20b45semtechcom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/jj24ewwbK0pj9z5mAHerAFHm4Zk>
Subject: Re: [lp-wan] draft-ietf-lpwan-schc-over-lorawan review
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 02 Jul 2020 19:54:04 -0000

Hi Julien,



Thank you for this review and positive comments!

I answered in your email



> -----Original Message-----

> From: lp-wan <lp-wan-bounces@ietf.org> On Behalf Of Julien CATALANO

> Sent: 01 July 2020 12:31

> One comment concerning the downlink fragmentation in LoRaWAN ClassB or

> ClassC: Using ACK-Always seems overkill there. It is necessary for ClassA end-

> devices to trigger receive windows as we go, but for classB/C the receive

> windows are more frequent (or permanent) and do not need an uplink. I

> wonder if we could move the downlink fragmentation in those classes to Ack-

> on-error?

>

> My reasoning is that it is more efficient on the radio link, do not load the

> medium for nothing and actually will allow faster fragmentation session (no

> need to wait for the uplink).



[OG] Technically yes, but it add more complexity on the Device and SCHC gateway as the device can switch between class A and B at any time because of the beacon tracking acquisition/loss. What happens to the current SCHC fragmentation session in such case ? So we proposed this approach at the beginning to keep it simple, and it still work well with class B & C devices.



>  - "LoRaWAN device": either use "Device (Dev)" (uppercase 'D', SCHC

> Terminology) or "LoRaWAN end-device". A LoRaWAN device is not clear (can

> be a gateway, an end-device or anything in between).



[OG] Ok, I propose the changes in this commit<https://github.com/Acklio/schc-over-lorawan/commit/362f813b2b88ac1f91111d6d3f200670d15fae09>, please update if you think it can be improved



>  - "network" is poorly defined (used several times in section 4.1): Use either

> "Network Gateway", "Radio Gateway", SCHC Gateway" or "LoRaWAN Network

> Server"



[OG] Thank you, I made those changes<https://github.com/Acklio/schc-over-lorawan/commit/e980ddcd6f4b21de4450cb2a71e50b371902c242>, again, please feel free to update them



>  - "SCHC Gateway" is also weakly defined, but used in many places: Add the

> definition in the Terminology section (now it is defined only between

> parenthesis in section 4 intro)



[OG] Added here<https://github.com/Acklio/schc-over-lorawan/commit/bf19fa6cbcd2f29b18ec1302da732567831a63b8>



>  - I would advice to define in the LoRaWAN section what is an "empty frame" an

> use it elsewhere (No FPort, No FRMPayload)



[OG] That is a great idea, implemented here<https://github.com/Acklio/schc-over-lorawan/commit/3d18df081095ab821bf2dd9977410d990007b1e3>



>  - Section 4.3: rename to "General Frame Types" and explicitly name

> "LoRaWAN Confirmed message" and "LoRaWAN Unconfirmed message"



[OG] Done here<https://github.com/Acklio/schc-over-lorawan/commit/dc12dc97155851d9537fbd491165ef77625bc024>



> Some typos, here and there:

>

>  - an device => a Device

>  - devEui, devEUI => DevEUI (as per Terminology section)

>  - Figure 5 table borders are not aligned

>  - Figure 10 does not fit in document width

>  - You list bitmap value in section 5.6.2.3: 63 is not listed but referenced.



[OG] Thank you, fixed all of them here<https://github.com/Acklio/schc-over-lorawan/commit/7e18006f5a09f8ff86aa09c6cb506cba3e7a0b68>



> I will be happy to edit the text on Github if you agree with my comments.



[OG] I saw the last sentence after making the corrections, but if you see any other you can submit a PR ☺ Thank you again for this review





Olivier

To view our privacy policy, including the types of personal information we collect, process and share, and the rights and options you have in this respect, see www.semtech.com/legal.