< draft-ietf-lpwan-schc-yang-data-model-10.txt   draft-ietf-lpwan-schc-yang-data-model-11.txt >
lpwan Working Group A. Minaburo lpwan Working Group A. Minaburo
Internet-Draft Acklio Internet-Draft Acklio
Intended status: Standards Track L. Toutain Intended status: Standards Track L. Toutain
Expires: 20 November 2022 Institut MINES TELECOM; IMT Atlantique Expires: 20 November 2022 Institut MINES TELECOM; IMT Atlantique
19 May 2022 19 May 2022
Data Model for Static Context Header Compression (SCHC) Data Model for Static Context Header Compression (SCHC)
draft-ietf-lpwan-schc-yang-data-model-10 draft-ietf-lpwan-schc-yang-data-model-11
Abstract Abstract
This document describes a YANG data model for the SCHC (Static This document describes a YANG data model for the SCHC (Static
Context Header Compression) compression and fragmentation rules. Context Header Compression) compression and fragmentation rules.
Status of This Memo Status of This Memo
This Internet-Draft is submitted in full conformance with the This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79. provisions of BCP 78 and BCP 79.
skipping to change at page 15, line 10 skipping to change at page 15, line 10
* a Datagram Tag (Dtag) identifying the datagram being fragmented if * a Datagram Tag (Dtag) identifying the datagram being fragmented if
the fragmentation applies concurrently on several datagrams. This the fragmentation applies concurrently on several datagrams. This
field in optional and its length is defined by the rule. field in optional and its length is defined by the rule.
* a Window (W) used in Ack-Always and Ack-on-Error modes. In Ack- * a Window (W) used in Ack-Always and Ack-on-Error modes. In Ack-
Always, its size is 1. In Ack-on-Error, it depends on the rule. Always, its size is 1. In Ack-on-Error, it depends on the rule.
This field is not needed in No-Ack mode. This field is not needed in No-Ack mode.
* a Fragment Compressed Number (FCN) indicating the fragment/tile * a Fragment Compressed Number (FCN) indicating the fragment/tile
position on the window. This field is mandatory on all modes position within the window. This field is mandatory on all modes
defined in [RFC8724], its size is defined by the rule. defined in [RFC8724], its size is defined by the rule.
|-- SCHC Fragment Header ----| |-- SCHC Fragment Header ----|
|-- T --|-M-|-- N --| |-- T --|-M-|-- N --|
+-- ... -+- ... -+---+- ... -+--------...-------+~~~~~~~~~~~~~~~~~~~~ +-- ... -+- ... -+---+- ... -+--------...-------+~~~~~~~~~~~~~~~~~~~~
| RuleID | DTag | W | FCN | Fragment Payload | padding (as needed) | RuleID | DTag | W | FCN | Fragment Payload | padding (as needed)
+-- ... -+- ... -+---+- ... -+--------...-------+~~~~~~~~~~~~~~~~~~~~ +-- ... -+- ... -+---+- ... -+--------...-------+~~~~~~~~~~~~~~~~~~~~
Figure 16: Data fragment header from RFC8724 Figure 16: Data fragment header from RFC8724
skipping to change at page 25, line 24 skipping to change at page 25, line 24
leaf ticks-duration { leaf ticks-duration {
type uint8; type uint8;
default "20"; default "20";
description description
"duration of one tick in micro-seconds: "duration of one tick in micro-seconds:
2^ticks-duration/10^6 = 1.048s"; 2^ticks-duration/10^6 = 1.048s";
} }
leaf ticks-numbers { leaf ticks-numbers {
type uint16; type uint16;
description description
"timer duration = ticks-numbers * 2^ticks / 10^6"; "timer duration = ticks-numbers * 2^ticks-duration / 10^6";
} }
description description
"used by inactivity and retransmission timer. Allows a "used by inactivity and retransmission timer. Allows a
precision from micro-second to year by sending the precision from micro-second to year by sending the
tick-duration value. tick-duration value.
For instance: For instance:
tick-duration / smallest value highest value tick-duration / smallest value highest value
v v
20: 00y 000d 00h 00m 01s.048575<->00y 000d 19h 05m 18s.428159 20: 00y 000d 00h 00m 01s.048575<->00y 000d 19h 05m 18s.428159
skipping to change at page 41, line 39 skipping to change at page 41, line 39
identity cda-mapping-sent { identity cda-mapping-sent {
base cda-base-type; base cda-base-type;
description description
"mapping-sent CDA as defined in RFC 8724 (cf. 7.4)."; "mapping-sent CDA as defined in RFC 8724 (cf. 7.4).";
} }
identity cda-compute { identity cda-compute {
base cda-base-type; base cda-base-type;
description description
"compute-length CDA as defined in RFC 8724 (cf. 7.4)"; "compute-* CDA as defined in RFC 8724 (cf. 7.4)";
} }
identity cda-deviid { identity cda-deviid {
base cda-base-type; base cda-base-type;
description description
"deviid CDA as defined in RFC 8724 (cf. 7.4)"; "deviid CDA as defined in RFC 8724 (cf. 7.4)";
} }
identity cda-appiid { identity cda-appiid {
base cda-base-type; base cda-base-type;
skipping to change at page 45, line 47 skipping to change at page 45, line 47
leaf ticks-duration { leaf ticks-duration {
type uint8; type uint8;
default "20"; default "20";
description description
"duration of one tick in micro-seconds: "duration of one tick in micro-seconds:
2^ticks-duration/10^6 = 1.048s"; 2^ticks-duration/10^6 = 1.048s";
} }
leaf ticks-numbers { leaf ticks-numbers {
type uint16; type uint16;
description description
"timer duration = ticks-numbers * 2^ticks / 10^6"; "timer duration = ticks-numbers * 2^ticks-duration / 10^6";
} }
description description
"used by inactivity and retransmission timer. Allows a "used by inactivity and retransmission timer. Allows a
precision from micro-second to year by sending the precision from micro-second to year by sending the
tick-duration value. tick-duration value.
For instance: For instance:
tick-duration / smallest value highest value tick-duration / smallest value highest value
v v
20: 00y 000d 00h 00m 01s.048575<->00y 000d 19h 05m 18s.428159 20: 00y 000d 00h 00m 01s.048575<->00y 000d 19h 05m 18s.428159
 End of changes. 5 change blocks. 
5 lines changed or deleted 5 lines changed or added

This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/