diff --git a/marked/J/T-REC-J.100-199006-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/J/T-REC-J.100-199006-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7155d2eb6cd660e324cddce7ac473bda7ee30cee --- /dev/null +++ b/marked/J/T-REC-J.100-199006-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c12f0f1a214f462caee5097527ab6e046f9119501315181ce51465a205daeb4 +size 8234 diff --git a/marked/J/T-REC-J.101-199006-I_PDF-E/raw.md b/marked/J/T-REC-J.101-199006-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..91d66e3efba825a2002b010d0eb0ec0cd13c3f06 --- /dev/null +++ b/marked/J/T-REC-J.101-199006-I_PDF-E/raw.md @@ -0,0 +1,172 @@ + + +![ITU logo](2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg) + +The logo of the International Telecommunication Union (ITU) features the letters 'ITU' in a bold, sans-serif font, superimposed on a stylized globe with intersecting lines. + +ITU logo + +INTERNATIONAL TELECOMMUNICATION UNION + +**ITU-T** + +**J.101** + +**(ex CMTT.720)** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +**(06/90)** + +**TELEVISION AND SOUND TRANSMISSION** + +--- + +**MEASUREMENT METHODS AND TEST +PROCEDURES FOR TELETEXT SIGNALS** + +**ITU-T Recommendation J.101** + +(Formerly Recommendation ITU-R CMTT.720) + +--- + +# FOREWORD + +The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the International Telecommunication Union. The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. + +The World Telecommunication Standardization Conference (WTSC), which meets every four years, established the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics. + +ITU-T Recommendation J.101 (formerly Recommendation ITU-R CMTT.720) was elaborated by the former ITU-R Study Group CMTT. See Note 1 below. + +# --- NOTES + +1 As a consequence of a reform process within the International Telecommunication Union (ITU), the CCITT ceased to exist as of 28 February 1993. In its place, the ITU Telecommunication Standardization Sector (ITU-T) was created as of 1 March 1993. Similarly, in this reform process, the CCIR and the IFRB have been replaced by the Radiocommunication Sector (ITU-R). + +Conforming to a joint decision by the World Telecommunication Standardization Conference (Helsinki, March 1993) and the Radiocommunication Assembly (Geneva, November 1993), the ITU-R Study Group CMTT was transferred to ITU-T as Study Group 9, except for the satellite news gathering (SNG) study area which was transferred to ITU-R Study Group 4. + +2 In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +# **MEASUREMENT METHODS AND TEST PROCEDURES FOR TELETEXT SIGNALS** (1990) + +The CCIR, + +# **CONSIDERING** + +- (a) that Report 956, Appendix I to Part 1, provides conceptual definitions to proposed data signal parameters; +- (b) that Report 969 is intended to identify measurement methods and test procedures for checking the impairment of special signals resulting from transmission over television circuits; +- (c) that operational measurements on teletext signals need no special test signals, because they can be made on the normal teletext lines; +- (d) that automatic measurement of teletext signals suits the requirements of operational staff and makes the analysis of results easier; +- (e) that the definitions given in this Recommendation may be applicable to other data services, + +## **UNANIMOUSLY RECOMMENDS,** + +that, when measuring equipment is used to make measurements on teletext signals, the definitions used in quantifying the parameters should be those given in Annex I. + +# **ANNEX I** + +## **1. Introduction** + +The need for each of the measurements described in this Recommendation (and possibly other measurements) will depend on the type of plant in use and the policy of the administrations. + +No special test signals are necessary to meet the requirements of this Recommendation. + +The definitions of parameters were specifically designed to meet the requirements of automatic measuring equipment. They are also suitable for manual measurements. + +To reduce the influence of non-linear distortions the signal shall be bandlimited prior to measurement to a frequency between the upper limit of the television system and the teletext clock frequency. + +Due to the random nature of the teletext signals, the results will exhibit some fluctuation between successive measurements. + +## **2. Definition of terms** + +This section defines terms which are used in § 3 to define the measurement parameters. + +### **2.1 *Mean value of clock run-in*** + +The mean value of clock run-in is defined as the mean level of the clock run-in waveform excluding the first two bits. + +### **2.2 *All-zeros level*** + +The all-zeros level is the level resulting from a continuous stream of “zero” pulses. For measuring purposes the all-zeros level is defined as the mean level of the back porch within the nominal duration of the colour burst. + +--- + +1) Formerly Recommendation ITU-R CMTT.720. + +### 2.3 All-ones level + +The all-ones level is the level resulting from a continuous stream of “one” pulses. For measuring purposes the all-ones level is defined as twice the mean value of clock run-in minus the all-zeros level. + +### 2.4 Basic amplitude + +The basic amplitude is the difference between the all-ones level and the all-zeros level. + +### 2.5 Nominal teletext signal amplitude + +The nominal teletext signal amplitude is defined as a fixed percentage of the luminance bar amplitude and represents the ideal binary “1” amplitude in any teletext system (Fig. 1). If no luminance bar signal is present, the nominal value of the luminance bar signal is used. + +*Note* – The luminance bar amplitude is defined in Recommendation 569. The relationship of the nominal teletext signal amplitude to the luminance bar amplitude is defined in Recommendation 653. + +![Figure 1: Teletext parameters. A waveform diagram showing signal levels and timing parameters. The diagram includes a 'Basic amplitude' measurement between a '0' and a '1' level. It also shows 'Waveform overshoots' on the rising and falling edges. A 'Peak-to-peak amplitude' is indicated for a rectangular pulse. On the right, the 'White level' and 'Black level' are marked, with the 'Nominal teletext signal amplitude' shown as the difference between them.](a30a7877bf2f45b837a9382e22067ad0_img.jpg) + +Figure 1: Teletext parameters. A waveform diagram showing signal levels and timing parameters. The diagram includes a 'Basic amplitude' measurement between a '0' and a '1' level. It also shows 'Waveform overshoots' on the rising and falling edges. A 'Peak-to-peak amplitude' is indicated for a rectangular pulse. On the right, the 'White level' and 'Black level' are marked, with the 'Nominal teletext signal amplitude' shown as the difference between them. + +FIGURE 1 – Teletext parameters + +d01-sc + +### 2.6 Timing reference + +The timing reference for each line is a uniform sequence of timing instants whose timing is derived only from the clock run-in of that line excluding the first two bits. + +The timing of these instants is such that they coincide with the average timing of the points where the clock run-in crosses the mean value defined in § 2.5. + +### 2.7 Sampling instants for decoding margin + +The sampling instants for decoding margin are half way between the timing instants defined in § 2.6. + +## 3. Definition of parameters + +### 3.1 Basic amplitude error + +This parameter is defined as the difference between the basic amplitude and the nominal teletext signal amplitude expressed as a percentage of the latter. In terms of abbreviations in Fig. 1 the basic amplitude error is: + +$$\frac{E - D}{D} \times 100\%$$ + +### 3.2 *Peak-to-peak amplitude* + +The peak-to-peak amplitude is defined as the sum of basic amplitude zero overshoots and ones overshoots. It is expressed as a percentage of the basic amplitude (see Fig. 1). + +### 3.3 *Decoding margin* + +The decoding margin is defined as the difference between the highest "0" bit level and the lowest "1" bit level measured at the sampling instants for a bit error ratio of $10^{-3}$ . The difference is expressed as percentage of the basic amplitude. + +### 3.4 *Number of run-in bits* + +This parameter counts the number of the "1" and "0" run-in bits present at the start of the teletext waveform prior to the framing code. The result will be always an even number because a "0" bit follows every "1" run-in bit. The counting starts with the first bit with amplitude exceeding the mean value of the clock run-in. + +### 3.5 *Data timing* + +In teletext System B the data timing is defined as the time difference between the peak of the penultimate "1" run-in bit and the line time datum (see Report 624). In teletex System A the data timing is defined as the time difference between the leading edge of the data signal and the line time datum (see Fig. 2). + +![Diagram illustrating data timing for teletext System A and System B. The diagram shows a waveform with a 'Line time datum' marked by a dot. A 'Colour burst' is shown as a shaded area. The 'Data timing (teletext System A)' is indicated by a horizontal arrow from the line time datum to the leading edge of the data signal. The 'Data timing (teletext System B)' is indicated by a horizontal arrow from the line time datum to the peak of the penultimate '1' run-in bit. The 'Timing reference (penultimate run-in bit)' is marked by a vertical dashed line. The waveform includes a 'Clock run-in' section followed by a 'Framing code' section.](bc04d002fc79e8a3637b1552ac3361e6_img.jpg) + +The diagram shows a composite video signal waveform. On the left, a vertical line marks the 'Line time datum'. A shaded region represents the 'Colour burst'. To the right of the burst, the waveform transitions into a digital signal. Two horizontal arrows indicate 'Data timing': one for 'teletext System A' starting at the line time datum and ending at the leading edge of the data, and another for 'teletext System B' starting at the line time datum and ending at the peak of the penultimate '1' run-in bit. A vertical dashed line marks the 'Timing reference (penultimate run-in bit)'. The digital signal is divided into 'Clock run-in' and 'Framing code' segments. + +Diagram illustrating data timing for teletext System A and System B. The diagram shows a waveform with a 'Line time datum' marked by a dot. A 'Colour burst' is shown as a shaded area. The 'Data timing (teletext System A)' is indicated by a horizontal arrow from the line time datum to the leading edge of the data signal. The 'Data timing (teletext System B)' is indicated by a horizontal arrow from the line time datum to the peak of the penultimate '1' run-in bit. The 'Timing reference (penultimate run-in bit)' is marked by a vertical dashed line. The waveform includes a 'Clock run-in' section followed by a 'Framing code' section. + +FIGURE 2 – *Data timing* + +d02-sc + +# BIBLIOGRAPHY + +CROLL, M. G. [1977] Ceefax measurement techniques. BBC Research Department Report RD 1977/6. + +DEAN, A. and HUTT, P.R. [September, 1980] NEMESIS – Numerical eye measuring equipment for surveillance of insertion signals. Proc. Eighth International Broadcasting Convention (IBC 80). IEE Conf. Publ. No. 191. + +## *CCIR Documents* + +[1986-90]: CMTT/34, CMTT/207 (Germany (Federal Republic of)). \ No newline at end of file diff --git a/marked/J/T-REC-J.1010-201609-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/J/T-REC-J.1010-201609-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..827609df9ad8667ae079f875841506349f063390 --- /dev/null +++ b/marked/J/T-REC-J.1010-201609-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0d2afb537db9f3588854962a991eb1178220b2bbb8ff3cea6712979a53a864b +size 4107 diff --git a/marked/J/T-REC-J.1010-201609-I_PDF-E/raw.md b/marked/J/T-REC-J.1010-201609-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..a8253665b3f98fed80a53b24a7b114ad7330caf6 --- /dev/null +++ b/marked/J/T-REC-J.1010-201609-I_PDF-E/raw.md @@ -0,0 +1,386 @@ + + +**ITU-T** + +**J.1010** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +(09/2016) + +SERIES J: CABLE NETWORKS AND TRANSMISSION +OF TELEVISION, SOUND PROGRAMME AND OTHER +MULTIMEDIA SIGNALS + +Conditional access and protection – Exchangeable +embedded conditional access and digital rights +management solutions + +--- + +**Embedded common interface for exchangeable +CA/DRM solutions; Use cases and requirements** + +Recommendation ITU-T J.1010 + + + +# Recommendation ITU-T J.1010 + +## Embedded common interface for exchangeable CA/DRM solutions; Use cases and requirements + +## Summary + +Recommendation ITU-T J.1010 specifies use cases and requirements for exchangeable, embedded conditional access/digital rights management (CA/DRM) solutions, enabling customer premises equipment (CPE), which are capable of receiving broadcast and broadband content, to download CA/DRM clients under a trusted environment. By utilizing downloadable multi-CA/DRM service, entitled consumers can consume broadcast and broadband content, which is controlled by DRM and/or conditional access (CA) systems, even though a CPE does not have a required content-related CA/DRM client available by downloading it from a trusted source into various types of CPEs including set-top-boxes (STBs), smart TVs, PCs, smart phones and/or smart tablets. + +## History + +| Edition | Recommendation | Approval | Study Group | Unique ID* | +|---------|----------------|------------|-------------|---------------------------------------------------------------------------| +| 1.0 | ITU-T J.1010 | 2016-09-02 | 9 | 11.1002/1000/12772 | + +## Keywords + +CA/DRM, exchangeable embedded common interface, retail CPE. + +--- + +\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, . + +## FOREWORD + +The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. + +The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics. + +The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1. + +In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. + +## NOTE + +In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party. + +## INTELLECTUAL PROPERTY RIGHTS + +ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. + +As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at . + +© ITU 2017 + +All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU. + +## Table of Contents + +| | Page | +|------------------------------------------------------------------|------| +| 1 Scope..... | 1 | +| 2 References..... | 1 | +| 3 Definitions ..... | 1 | +| 3.1 Terms defined elsewhere ..... | 1 | +| 3.2 Terms defined in this Recommendation..... | 1 | +| 4 Abbreviations and acronyms ..... | 2 | +| 5 Conventions ..... | 2 | +| 6 Requirements for exchangeable embedded CA/DRM solutions ..... | 3 | +| 6.1 General remarks..... | 3 | +| 6.2 Generic requirements..... | 4 | +| 6.3 Versatility related requirements ..... | 5 | +| 6.4 Practicability related requirements ..... | 5 | +| 6.5 ECI Client Swap related requirements ..... | 5 | +| 6.6 ECI System Security related requirements..... | 6 | +| Annex A – Use Cases..... | 8 | +| A.1 Use case 1 ..... | 8 | +| A.2 Use case 2 ..... | 8 | +| A.3 Use case 3 ..... | 9 | +| A.4 Use case 4 (Trusted third party (TTP) related use case)..... | 9 | +| Bibliography..... | 10 | + +# Introduction + +Service and content protection realized by conditional access (CA) and digital rights management (DRM) are essential in the rapidly developing area of digital broadcast and broadband, including content, services, networks and customer premises equipment (CPE), to protect business models of content owners, network operators and PayTV operators. While conceptually CA focuses on mechanisms to access protected content distributed by a service provider over a network, DRM originally describes type and extent of the usage rights, according to the subscriber's contract. + +PayTV operators have established digital TV platforms, which implement standards for basic functions, extended with proprietary elements. Most CA and DRM systems used for classical digital broadcasting, IPTV or new OTT (over-the-top) services capture consumer premises equipment by binding it with proprietary security related elements. As a result, consumer premises equipment configured for use in network or platform A cannot be used in network or platform B or vice versa. Thus, the consumer electronics (CE) market for digital TV is still fragmented, as specifications differ not only per country, but also per platform. Detachable CA/DRM modules only offer a partial solution: the modules are again proprietary to the CA/DRM system, they are not cheap either, and they are used primarily for cable or satellite TV and are not usable in modern-type equipment such as tablets due to lack of appropriate physical interfaces. + +Currently implemented solutions, whether embedded or as detachable hardware, result in "Lock-in" effects. This seriously restricts the freedom of many players in digital multimedia content markets. Due to technological advances, innovative, software-based CA/DRM solutions become feasible. Maximizing interoperability while maintaining a high level of security, they promise to meet upcoming demands in the market, allow for new businesses, and broaden consumer choice. + +It is in consumers' interest that they are able to continue using the CPEs they bought e.g., after a move or a change of network provider or even utilize devices for services of different commercial video portals. This can only be achieved by interoperability of CPEs regarding CA and DRM, based on an appropriate security architecture. Further fragmentation of the market for CPEs can only be prevented and competition encouraged by ensuring a consumer-friendly and context-sensitive exchangeability of CA and DRM systems. + +# Recommendation ITU-T J.1010 + +## Embedded common interface for exchangeable CA/DRM solutions; Use cases and requirements + +# 1 Scope + +The object of this Recommendation is a set of basic requirements for an exchangeable, embedded common interface, in order to download any necessary CA/DRM system to CPE. The download process is operated under a trusted environment and enables the consumption of protected content delivered via broadcast and/or broadband connections with various types of terminal equipment in line with the acquired content rights of the end-user. This Recommendation is one in a series of Recommendations, specifying the whole ECI eco-system. + +# 2 References + +The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation. The following referenced documents are necessary for the application of the present document. + +- [ETSI GS ECI 001-1] ETSI GS ECI 001-1: 2014, *Embedded Common Interface (ECI) for exchangeable CA/DRM solutions (ECI); Part 1: Architecture, Definitions and Overview.* +- [ETSI GS ECI 001-2] ETSI GS ECI 001-2: 2014, *Embedded Common Interface (ECI) for exchangeable CA/DRM solutions; Part 2: Use cases and requirements.* + +# 3 Definitions + +## 3.1 Terms defined elsewhere + +None. + +## 3.2 Terms defined in this Recommendation + +This Recommendation defines the following terms: + +**3.2.1 embedded common interface (ECI):** Architecture and system to be specified in the ETSI ISG "Embedded CI", which allows the development and implementation of software-based swappable ECI clients in customer premises equipment (CPE) and thus provides interoperability of CPE devices with respect to ECI. + +**3.2.2 embedded common interface client (ECI client):** Implementation of a CA/DRM client which is compliant with the planned Embedded CI specifications. Note that it is the software module in a CPE which provides all means to receive, in a protected manner, a consumer's entitlements and rights concerning the content that is distributed by a content distributor or operator. It also receives the conditions under which a right or an entitlement can be used by the consumer, and the keys to decrypt the various messages and content. An Embedded CI client may have an associated smart card. + +**3.2.3 embedded common interface (ECI) host:** Hardware and software system of a CPE, which covers ECI related functionalities and has interfaces to an ECI Client. Note that the ECI host is one part of the CPE firmware. + +**3.2.4 protected content:** All kinds of protected media, in particular A/V and associated metadata, delivered to the customer application either via linear or non-linear delivery means. + +**3.2.5 software container:** Set of software interfaces to the host and to the client, which strictly separates the CA/DRM client from the host. The provisioning of the interfaces enables the exchangeability of the CA/DRM clients. + +# 4 Abbreviations and acronyms + +This Recommendation uses the following abbreviations and acronyms: + +| | | +|--------|----------------------------------------------| +| AES | Advanced Encryption Standard | +| CA | Conditional Access | +| CA/DRM | Conditional Access/Digital Rights Management | +| CE | Consumer Electronics | +| CPE | Customer Premises Equipment | +| CSA | Common Scrambling Algorithm | +| DECE | Digital Entertainment Content Ecosystem | +| DRM | Digital Rights Management | +| DVB | Digital Video Broadcasting | +| ECI | Embedded Common Interface | +| IP | Internet Protocol | +| IPTV | TV using the Internet Protocol | +| OMA | Open Mobile Access | +| OTT | Over The Top (over the open Internet) | +| PVR | Personal Video Recorder | +| TTP | Trusted Third Party | +| URI | Usage Rights Information | +| VM | Virtual Machine | + +# 5 Conventions + +In this Recommendation: + +The keywords "**is required to**" indicate a requirement which must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed. + +The keywords "**is recommended**" indicate a requirement which is recommended but which is not absolutely required. Thus this requirement need not be present to claim conformance. + +The keywords "**is prohibited from**" indicate a requirement which must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed. + +The keywords "**can optionally**" indicate an optional requirement which is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's + +implementation must provide the option and the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformance with the specification. + +In the body of this document and its annexes, the words *shall*, *shall not*, *should*, and *may* sometimes appear, in which case they are to be interpreted, respectively, as *is required to*, *is prohibited from*, *is recommended*, and *can optionally*. The appearance of such phrases or keywords in an appendix or in material explicitly marked as *informative* are to be interpreted as having no normative intent. + +# 6 Requirements for exchangeable embedded CA/DRM solutions + +## 6.1 General remarks + +The Group Specification on **ECI** basic requirements, as covered by the present Recommendation, is part of a multi-part deliverable specifying a system architecture for general purpose, software-based, embedded and exchangeable CA/DRM systems which would be the most appropriate and future-proof solution for overcoming market fragmentation and enabling interoperability. Key benefits of the envisaged approach for content security are: + +- Flexibility and scalability due to software-based implementation. +- Exchangeability fostering future-proof solution and enabling innovation. +- Applicability to content distributed via broadcast and broadband, including OTT. +- Support of multi-screen environment. +- Stimulation of the market for platform operators, network/service providers, and consumers by avoiding "Lock-in". +- The specification of an open eco-system fostering market development. + +The **ECI** system aims at exchangeability of CA and DRM systems in CPEs on all relevant levels and aspects, at lowest possible costs for the consumers and at minimal restrictions for CA or DRM vendors to develop their target products for the PayTV market. Therefore, amongst others, the **ECI** has the following functionalities: + +- A software container for the CA respectively the DRM kernel – hereafter called **ECI Client** – with: + - standardized interfaces to all relevant functionalities of the CPE; + - a standardized **Virtual Machine (VM)** to run upon. +- Support of smartcard-less systems as well as use in smartcard-based systems. +- Inclusion of a multitude of such software containers in a CPE, each container running on its own instance of the **VM**. +- Installation of the **ECI Client** independently from other CPE software by a secure and standardized loader concept. +- **Advanced Security**, also known as Chip Set Security, to support content protection and to prevent unauthorized content access. +- Methods for the user to discover the right **ECI Client** to download. +- Methods for revocation of (parts of) the **ECI Client's** functionality and CPE's functionality. +- Suited for classical digital broadcasting, IPTV or modern OTT-based systems. + +Although **ECI** shows some similarity with already deployed solutions, there are substantial differences: + +- 1) The module is in software, no longer in hardware, hence no need for costs at the consumer side to swap a CA or DRM system. + +- 2) Several parallel **ECI Clients** can be implemented in one and the same CPE, without adding relevant cost. +- 3) These clients can run concurrently in one device. + +As a result, a CA or DRM component can be exchanged much easier, allowing the end-user to change operator or get services from a variety of operators on his CPE, without having to exchange expensive modules. + +The complete multi-part deliverable consists of a group of specifications, including a Group Specification on Use cases and requirements, in combination with the underlying specifications: + +- Part 1: Architecture, Definitions and Overview [ETSI GS ECI 001-1] +- Part 2: Use cases and requirements [ETSI GS ECI 001-2] +- Part 3: CA/DRM Container, Loader, Interfaces, Revocation [b-ETSI GS ECI 001-3] +- Part 4: The Virtual Machine (VM) [b-ETSI GS ECI 001-4] +- Part 5: The Advanced Security System [b-ETSI GS ECI 001-5] +- Part 6: Trust Environment [b-ETSI GS ECI 001-6] +- Part 7: Extended Requirements [b-ETSI GS ECI 001-7] + +which together describe a solution allowing replacement of **ECI Clients** at any time by just downloading the **ECI Clients** requested by an end customer. The **ECI Clients** are installed in a standard software container in the CPE by a separate loader, with separate security algorithms and keys to protect the **ECI Clients** against integrity and substitution attacks independently from all other software in the CPE. The container's interfaces with the CPE are generic and defined in GS ECI 001-3 [b-ETSI GS ECI 001-3], enabling the **ECI Client** to interact with the various functions in the CPE and beyond. + +The **ECI Clients** run upon a virtual machine instance that is defined in GS ECI 001-4 [b-ETSI GS ECI 001-4]. + +GS ECI 001-5 [b-ETSI GS ECI 001-5] specifies an Advanced Security mechanism to protect the key to the content during its travel into the CPE processor chip's content decryption facility. + +This Recommendation addresses use cases and requirements as the basis for the implementation of interoperable CA/DRM systems in CPEs. + +The **ECI** specification only applies to the reception and further processing of content which is controlled by a Conditional Access and/or Digital Rights Management system and has been scrambled by the service provider. Content that is not controlled by a Conditional Access and/or DRM system is not covered by this Recommendation. + +The **ECI** Group Specification is intended to be used in combination with a contractual framework (license agreement), compliance and robustness rules, and appropriate certification process (see Note), under control of a **Trust Authority**, GS ECI 001-6 [b-ETSI GS ECI 001-6]. + +The end-to-end security of an ECI compliant CA/DRM system is not subject to the technical specifications only. The ECI technology is only one element of an ECI compliant eco system, GS ECI 001-1 [ETSI GS ECI 001-1], which has to be created by a Trust Authority, also taking into account a legal framework, device certification and other issues. The following requirements are based on the use cases as given in Annex A: + +## 6.2 Generic requirements + +[R 01] **Embedded CI** shall be applicable to any broadcasting, broadband and hybrid (means a combination of broadcast and broadband) services, delivering Protected Content via any type of appropriate access network to any type of applicable device. + +- [R 02] **Embedded CI** shall define a **Software Container** for ECI kernel software and closely related CA/DRM software functionalities, clearly separated from the remaining software elements of a CPE. +- [R 03] **Embedded CI** shall provide Enhanced Security features comparable to those available with today's state of the art CA/DRM Systems. +- [R 04] **Embedded CI** shall allow the design of secure CA/DRM system implementations, which can be operated and maintained for a long period of time, in all cases for at least a 5 years period. + +## 6.3 Versatility related requirements + +- [R 05] **Embedded CI** shall support the implementation of more than one CA/DRM client in a CPE which provides a solution for the concurrent processing of at least two different **Protected Content** events. +- [R 06] The architecture shall enable that different ECI clients in a CPE are able to recognize each other, can establish trust between each other, and are able to transfer content and the associated **URI** from one to another. +- [R 07] The architecture shall enable that **ECI Clients** are able to establish trust to the **ECI Host** they are connected to and are able to securely transfer **URI** to the **ECI Host**. +- [R 08] Compliance with national legal and regulatory requirements e.g., data privacy protection and protection of minors shall be ensured by **Embedded CI**. +- [R 09] **Embedded CI** shall support the export of legally acquired **Protected Content** to other terminals (including mobile terminal devices) within a home domain or home network. This implies that the architecture provides the necessary interfaces that an ECI client in a CPE is able to talk to another ECI client in the same device. This shall only be possible in line with the usage rights issued by the respective content owners. +- [R 10] An ECI client may be implemented in such a way, that it can export **Protected Content** to a non-ECI-compliant device. This shall only be possible in line with the usage rights issued by the respective content owners. + +## 6.4 Practicability related requirements + +- [R 11] **Embedded CI** shall provide APIs for the implementation of user interfaces providing excellent usability and easy handling of user interactions. +- [R 12] **Embedded CI** should not add noticeable delay with respect to comparable CA/DRM solutions even if the affected two channels (services) use different CA/DRM systems. Note that it is not assumed that the CA/DRM system has to be swapped during a regular channel (service) change. +- [R 13] All ECI related activities (e.g., normal operation, download of an **ECI Client**) should not have noticeable **impact** on the user experience and performance. + +## 6.5 ECI Client Swap related requirements + +- [R 14] **Embedded CI** shall allow changing to a new service provider without a required consent of the CA/DRM manufacturer, device manufacturer, platform, or service operator. +- [R 15] In case of a swap of the ECI client the interruption of services shall be limited to a minimum. +- [R 16] Subsequent to the exchange of an **ECI Client** the consumption of **Protected Content** (e.g., scrambled PVR content) legally acquired before the swap shall be possible without the need for any complex actions to be performed by the user. + +- [R 17] **Embedded CI** shall not unreasonably restrict the possibilities of CA/DRM vendors to develop different interoperable/swappable **ECI Clients** according to the market requirements. + +## 6.6 ECI System Security related requirements + +- [R 18] It shall be possible to securely download, to install and to exchange the **ECI Client** for a CPE, and it shall be possible to do so in a standardized way. Downloading and installing the **ECI client** shall rely solely on standardized solutions. +- [R 19] The CPE shall provide a **Software Container**, which shall provide a unified abstraction layer to any ECI client. Note that the unified abstraction layer is what a virtual machine would provide to the ECI client. +- [R 20] The **ECI Clients** and the **Host** system shall be able to assert and prove its trustworthiness at any time. +- [R 21] **Embedded CI** shall support the development and establishment of a **Trust Authority**. +- [R 22] **Embedded CI** shall not depend on a specific hardware (component) or a specific operating system being present. This requirement does not generally prohibit advanced security features, as long as the specification of those features are publicly available and those features are compliant with today's security architectures of relevant CPE chip vendors. Note that advanced security systems specified in a publicly available document are not considered as a specific hardware. +- [R 23] The **Embedded CI** system shall allow the migration of existing DVB/ETSI compatible CA/DRM systems to this new **Embedded CI** System. Note that this implies that an operator can address with his existing CA/DRM system both the legacy devices as well as new ECI compliant devices running an ECI client compatible with the existing CA/DRM system. +- [R 24] **Embedded CI** shall provide hooks allowing the backwards compatible further development of **Embedded CI** and ECI implementations. It shall be possible that existing ECI implementations are able to handle usage rights introduced by future feature extensions of the CPE capabilities or ECI client capabilities. +- [R 25] **Embedded CI** shall support both system implementations with and without SmartCards as security devices and shall provide the resources for both types of solutions. +- [R 26] **Embedded CI** shall provide the necessary functionalities for all levels of content security required for the different CA/DRM system applications. It shall be applicable to mass markets and to the full range of pay products, from low end to premium products. +- [R 27] In case of an ECI client swap **Embedded CI** shall not require replacement of any hardware component. However, according to this requirement, the swap of a SmartCard of a SmartCard-based CA/DRM systems is generally not considered as a replacement of a hardware component. +- [R 28] **Embedded CI** shall not require significantly more resources (processing power, memory, etc.) of the CPE device than comparable, available today, embedded CA/DRM systems and the implementation of the system architecture shall not imply significant higher/additional cost. +- [R 29] **Embedded CI** shall support at least DVB CSA and advanced encryption standard (AES) scrambling systems and the Host shall support at least MPEG-Transport Stream (ISO/IEC 13818-1 [b-ITU-T H.222.0]) and ISOBMFF (ISO/IEC 14496-12 [b-ISO/IEC 14496-12:2012] including Amendment 3 and conforming to the signalling defined by the Common Encryption scheme as defined in ISO/IEC 23001-7 [b-ISO/IEC 23001-7:2011] file but potentially with a different encryption algorithm). Note that Support of this requirement would be compatible with DRMs used by digital entertainment content ecosystem (DECE) + +today and would provide a standard format for other DRMs to adopt for **Embedded CI** support. + +- [R 30] **Embedded CI** shall support a broad range of usage rights by providing the appropriate functionalities of the interface between the ECI container and the host. +- [R 31] Embedded CI shall be able to describe usage rights and usage capabilities to an ECI client or from one ECI client to another. +- [R 32] The Embedded CI shall provide a secure communication channel between ECI clients either on the same device or on different devices. + +# Annex A + +## Use Cases + +(This annex forms an integral part of this Recommendation.) + +The number of use cases covered in Annex A is not exhaustive. + +### A.1 Use case 1 + +In the digital TV business environment, different reasons might occur that require exchanging the CA/DRM system in CPE equipment. + +- A digital media content provider may decide to change the CA/DRM system of CPEs for its customers. Reasons may be: + - Different technical or commercial reasons, such as requirements of enhanced CA/DRM functionalities, higher security levels or higher system performance or in case of a deep hack of the current system. + - Acquisition of new customers in a certain network, which used to access services of a competitor. +- A platform operator may decide to change the CA/DRM system of CPEs in its platform. Reasons may be: + - Different technical or commercial reasons, such as requirements of enhanced CA/DRM functionalities, higher security levels or higher system performance or in case of a deep hack of the current system. + - Harmonization of technologies after acquisition of a network. +- A CA/DRM vendor acquires a new customer which operates a platform, where a competitor had already established its CA system, or a CA/DRM vendor takes over another CA/DRM vendor and wants to harmonize the security technologies. +- An end-user has bought a CPE in any shop and connects it to the network of access network provider A. One or more service providers offer their services over this network. The end-user can choose any of these services and download their CA/DRM system, if he is registered (including authentication and authorization) with the corresponding service provider. After some time, the same end-user decides to be connected to the network of access network provider B. He connects his CPE to this network. If his CPE supports the required reception technologies (e.g., DVB-C/C2, -S/S2, -T/T2, Ethernet, xDSL), one or more service providers offer their services over this network. The end-user can choose any of these services and exchange/swap the CA/DRM systems accordingly, if he is registered (including authentication and authorization) with the corresponding service provider. +- A CE manufacturer wants to bring CPEs to the retail market, which support both FreeTV and PayTV. The CPEs may however be adapted for use with specific PayTV services by software upgrade with consent of the end-user. + +### A.2 Use case 2 + +Today, if the CA-System of an installed base of CPEs of an operative CA platform has to be changed (for whatever reason), there are always four partners involved: + +- The current CA vendor. +- The platform operator or digital media content provider. +- The CPE manufacturer. +- The new CA vendor. + +The current CA vendor has to provide the new vendor with both the technical information to access the installed base of CPEs, as well as a licence to use certain hardware components, protocols or software elements implemented in those CPEs. In any case the new CA-vendor has to adapt its CA System to the functionalities, hardware/software limitations and protocols available in the CPEs in the field. The CPE manufacturers have to integrate the new CA-System into the software of the different installed CPEs. In the worst case the swap of the CA/DRM system may be even not a viable technical/commercial option. This situation should be changed in order to achieve more interoperability. + +As proprietary security modules are today an integral part of most state of the art CA systems, CPEs are mostly manufactured for dedicated CA systems. This may limit the level of security that can be provided by a swapped CA system for CPEs in the field. This situation should be changed in a way that any security enhancement should be completely transferrable. + +### A.3 Use case 3 + +The ECI system shall support consumption-only applications, including delivery of **Protected Content** to secondary devices. Two use cases are relevant for the support of secondary devices applications: + +- Centralized application: The gateway type, ECI compliant CPE is delivering usage rights information (URI) and encrypted content to the secondary device. +- Decentralized application: The gateway type, ECI compliant CPE is delivering only URI to the secondary device and the secondary device derives the encrypted content from the network. Note that the ECI system has no requirements with respect to the implementation of a DRM client in a secondary device. In order to deliver protected content from a gateway to a secondary device it is only necessary that the two DRM clients are able to securely communicate between each other and the content owner support the implemented DRM system. + +### A.4 Use case 4 (Trusted third party (TTP) related use case) + +Today, any required unique IDs or certificates are embedded in CPE in a proprietary way, defined by the provider of the CA/DRM system. With respect to interoperability this is not an appropriate solution, as vendors will most likely not disclose the mechanisms to access their unique IDs or certificates. For example, the CI plus consortium has demonstrated that it is feasible to transfer the secure handling of certificates to a "Trusted Third Party". Similar solutions will be required for interoperable CA/DRM systems. + +# Bibliography + +- [b-ITU-T H.222.0] Recommendation ITU-T H.222.0 (2006) | ISO/IEC 13818-1 (2007), *Information technology – Generic coding of moving pictures and associated audio information: Systems.* +- [b-ETSI GS ECI 001-3] ETSI GS ECI 001-3, *Embedded Common Interface (ECI) for exchangeable CA/DRM solutions; Part 3: The CA/DRM Container: Loader, Interfaces, Revocation.* +- [b-ETSI GS ECI 001-4] ETSI GS ECI 001-4, *Embedded Common Interface (ECI) for exchangeable CA/DRM solutions; Part 4: The Virtual Machine.* +- [b-ETSI GS ECI 001-5] ETSI GS ECI 001-5, *Embedded Common Interface (ECI) for exchangeable CA/DRM solutions; Part 5: The Advanced Security System.* +- [b-ETSI GS ECI 001-6] ETSI GS ECI 001-6, *Embedded Common Interface (ECI) for exchangeable CA/DRM solutions; Part 6: Trust Environment.* +- [b-ETSI GS ECI 001-7] ETSI GS ECI 001-7, *Embedded Common Interface (ECI) for exchangeable CA/DRM solutions; Part 7: Extended Requirements.* +- [b-ETSI ISG ECI] ETSI ISG ECI White Paper-v1\_20 (2014), *Industry Specification Group on Embedded Common Interface for exchangeable CA/DRM solutions.* +- [b-ISO/IEC 14496-12] ISO/IEC 14496-12:2012, *Information Technology – Coding of Audio-Visual Objects – Part 12: ISO Base Media file format.* +- [b-ISO/IEC 23001-7] ISO/IEC 23001-7:2011, *Information technology – MPEG systems technologies – Part 7: Common encryption in ISO base media file format files.* + + + +## SERIES OF ITU-T RECOMMENDATIONS + +| | | +|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------| +| Series A | Organization of the work of ITU-T | +| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues | +| Series E | Overall network operation, telephone service, service operation and human factors | +| Series F | Non-telephone telecommunication services | +| Series G | Transmission systems and media, digital systems and networks | +| Series H | Audiovisual and multimedia systems | +| Series I | Integrated services digital network | +| Series J | Cable networks and transmission of television, sound programme and other multimedia signals | +| Series K | Protection against interference | +| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant | +| Series M | Telecommunication management, including TMN and network maintenance | +| Series N | Maintenance: international sound programme and television transmission circuits | +| Series O | Specifications of measuring equipment | +| Series P | Telephone transmission quality, telephone installations, local line networks | +| Series Q | Switching and signalling, and associated measurements and tests | +| Series R | Telegraph transmission | +| Series S | Telegraph services terminal equipment | +| Series T | Terminals for telematic services | +| Series U | Telegraph switching | +| Series V | Data communication over the telephone network | +| Series X | Data networks, open system communications and security | +| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities | +| Series Z | Languages and general software aspects for telecommunication systems | \ No newline at end of file diff --git a/marked/J/T-REC-J.1011-201609-I_PDF-E/raw.md b/marked/J/T-REC-J.1011-201609-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..fcc30f0f983bcbe8ba2f1dcac2163452164211cc --- /dev/null +++ b/marked/J/T-REC-J.1011-201609-I_PDF-E/raw.md @@ -0,0 +1,618 @@ + + +**ITU-T** + +**J.1011** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +(09/2016) + +SERIES J: CABLE NETWORKS AND TRANSMISSION +OF TELEVISION, SOUND PROGRAMME AND OTHER +MULTIMEDIA SIGNALS + +Conditional access and protection – Exchangeable +embedded conditional access and digital rights +management solutions + +--- + +**Embedded common interface for exchangeable +CA/DRM solutions; Architecture, definitions and +overview** + +Recommendation ITU-T J.1011 + + + +# Recommendation ITU-T J.1011 + +# Embedded common interface for exchangeable CA/DRM solutions; Architecture, definitions and overview + +## Summary + +Recommendation ITU-T J.1011 specifies an architecture for exchangeable, embedded conditional access/digital rights management or CA/DRM solutions, enabling consumer premises equipment (CPE), which are capable of receiving broadcast and broadband content, to download CA/DRM clients under a trusted environment. By utilizing a downloadable multi-CA/DRM service, entitled consumers can consume broadcast and broadband content, which is controlled by digital rights management (DRM) and/or CA systems, even though a CPE does not have a required content-related CA/DRM client available, by downloading it from a trusted source into various types of CPEs including set-top boxes (STBs), smart TVs, PCs, smart phones and/or smart tablets. + +## History + +| Edition | Recommendation | Approval | Study Group | Unique ID* | +|---------|----------------|------------|-------------|---------------------------------------------------------------------------| +| 1.0 | ITU-T J.1011 | 2016-09-02 | 9 | 11.1002/1000/12773 | + +## Keywords + +CA/DRM, exchangeable embedded common interface, retail CPE. + +--- + +\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, . + +## FOREWORD + +The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. + +The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics. + +The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1. + +In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. + +## NOTE + +In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party. + +## INTELLECTUAL PROPERTY RIGHTS + +ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. + +As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at . + +© ITU 2017 + +All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU. + +## Table of Contents + +| | Page | +|--------------------------------------------------------------------|------| +| 1 Scope..... | 1 | +| 2 References..... | 1 | +| 3 Definitions ..... | 1 | +| 3.1 Terms defined elsewhere ..... | 1 | +| 3.2 Terms defined in this Recommendation..... | 1 | +| 4 Abbreviations and acronyms ..... | 2 | +| 5 Conventions ..... | 3 | +| 6 Architecture for exchangeable, embedded CA/DRM solutions ..... | 3 | +| 6.1 General remarks..... | 3 | +| 6.2 The technical concept of the ECI system ..... | 5 | +| 7 Trust environment..... | 11 | +| 7.1 Necessary operational workflows..... | 12 | +| Appendix I – Implementation of an ECI-compliant trust system ..... | 15 | +| Bibliography..... | 17 | + +# Introduction + +Service and content protection realized by conditional access (CA) and digital rights management (DRM) are essential in the rapidly developing area of digital broadcast and broadband, including content, services, networks and customer premises equipment (CPE), to protect business models of content owners, network operators and PayTV operators. While conceptually CA focuses on mechanisms to access protected content distributed by a service provider over a network, DRM originally describes type and extent of the usage rights, according to the subscriber's contract. + +PayTV operators have established digital TV platforms, which implement standards for basic functions, extended with proprietary elements. Most CA and DRM systems used for classical digital broadcasting, Internet protocol television (IPTV) or new over-the-top (OTT) services capture consumer premises equipment (CPE) by binding it with proprietary security related elements. As a result, consumer premises equipment configured for use in network or platform A cannot be used in network or platform B or vice versa. Thus, the consumer electronics market for digital TV is still fragmented, as specifications differ not only per country, but also per platform. Detachable CA/DRM modules only offer a partial solution; the modules are again proprietary to the CA/DRM system, they are not cheap either and they are used primarily for cable or satellite TV and are not usable in modern-type equipment such as tablets due to lack of appropriate physical interfaces. + +Currently implemented solutions, whether embedded or as detachable hardware, result in "lock-in" effects. This seriously restricts the freedom of many players in digital multimedia content markets. Due to technological advances, innovative, software-based CA/DRM solutions become feasible. Maximizing interoperability while maintaining a high level of security, they promise to meet upcoming demands in the market, allow for new businesses, and broaden consumer choice. + +It is in consumers' interest that they are able to continue using the CPEs they bought e.g., after a move or a change of network provider or even utilize devices for services of different commercial video portals. This can only be achieved by interoperability of CPEs regarding CA and DRM, based on an appropriate security architecture. Further fragmentation of the market for CPEs can only be prevented and competition encouraged by ensuring a consumer-friendly and context-sensitive exchangeability of CA and DRM systems. + +# Recommendation ITU-T J.1011 + +## Embedded common interface for exchangeable CA/DRM solutions; Architecture, definitions and overview + +# 1 Scope + +The object of this Recommendation is to specify functional entities of an architecture for an exchangeable, embedded common interface, in order to download any necessary CA/DRM system to CPE. The download process is operated under a trusted environment and enables the consumption of protected content delivered via broadcast and/or broadband connections with various types of terminal equipment in line with the acquired content rights of the end user. This Recommendation is one in a series of Recommendations, specifying the whole embedded common interface (ECI) eco-system. + +# 2 References + +The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation. + +[ETSI GS ECI 001-1] ETSI GS ECI 001-1 (2014), *Embedded Common Interface for exchangeable CA/DRM solutions (ECI); Part 1: Architecture, Definitions and Overview*. + +[ETSI GS ECI 001-2] ETSI GS ECI 001-2 (2014), *Embedded Common Interface (ECI) for exchangeable CA/DRM solutions; Part 2: Use cases and requirements*. + +# 3 Definitions + +## 3.1 Terms defined elsewhere + +None. + +## 3.2 Terms defined in this Recommendation + +This Recommendation defines the following terms: + +**3.2.1 advanced security:** Function of an ECI compliant CPE which provides enhanced security functions (hardware and software) for an ECI client. Note that the details are specified in [b-ETSI GS ECI 001-5]. + +**3.2.2 ECI (embedded CI):** The architecture and the system specified in the ETSI ISG "embedded CI", which allows the development and implementation of software-based swappable ECI clients in customer premises equipment (CPE) and thus provides interoperability of CPE devices with respect to ECI. + +**3.2.3 ECI client (embedded CI client):** Implementation of a CA/DRM client which is compliant with the embedded CI specifications. Note that it is the software module in a CPE which provides all means to receive, in a protected manner and to control execution of a consumer's entitlements and rights concerning the content that is distributed by a content distributor or operator. It also + +receives the conditions under which a right or an entitlement can be used by the consumer and the keys to decrypt the various messages and content. + +**3.2.4 ECI client loader:** Software module part of the ECI host which allows downloading, verification and installation of new ECI client software in an ECI container of the ECI host. + +**3.2.5 ECI container (embedded CI container):** Abstract concept which provides an isolated environment comprised of a virtual machine and a single ECI client. + +**3.2.6 ECI host:** Hardware and software system of a CPE, which covers ECI related functionalities and has interfaces to an ECI client. Note that the ECI host is one part of the CPE firmware. The ECI host is responsible for ensuring the isolation of each ECI container and provides authenticated loading of ECI clients. + +**3.2.7 ECI host loader:** Software module which allows downloading, verification and installation of (new) ECI host software into a CPE. Note that in a multi-stage loading configuration this term is used to refer to all security critical loading functions involved in loading the ECI host. + +**3.2.8 trust authority (TA):** Organization governing all rules and regulations that apply to implementations of ECI. Note that the trust authority has to be a legal entity to be able to achieve legal claims. The trust authority needs to be impartial to all players in the downloadable CA/DRM ecosystem. + +**3.2.9 trusted third party (TTP):** Technical service provider which issues certificates and keys to compliant manufacturers of the relevant components of an ECI-system under control of the trust authority (TA). + +# 4 Abbreviations and acronyms + +This Recommendation uses the following abbreviations and acronyms: + +| | | +|------|-----------------------------------| +| API | Application Programming Interface | +| CA | Conditional Access | +| CENC | Common Encryption | +| CI | Common Interface | +| CPE | Customer Premises Equipment | +| DRM | Digital Rights Management | +| DVB | Digital Video Broadcasting | +| ECI | Embedded Common Interface | +| HD | High Definition | +| HTTP | Hypertext Transfer Protocol | +| iDTV | integrated Digital TV | +| IP | Internet Protocol | +| IPTV | Internet Protocol Television | +| LA | License Agreement | +| MPEG | Motion Picture Experts Group | +| OS | Operating System | +| OSD | On Screen Display | +| OTT | Over-The-Top | + +| | | +|-----|--------------------------------| +| PIN | Personal Identification Number | +| PVR | Personal Video Recorder | +| ROM | Read Only Memory | +| SI | Service Information | +| STB | Set-Top Box | +| TA | Trust Authority | +| TTP | Trusted Third Party | +| TV | Television | +| UI | User Interface | +| VM | Virtual Machine | + +# 5 Conventions + +In this Recommendation: + +The keywords "is required to" indicate a requirement which must be strictly followed and from which no deviation is permitted if conformance to this Recommendation is to be claimed. + +The keywords "is recommended" indicate a requirement which is recommended but which is not absolutely required. Thus this requirement need not be present to claim conformance. + +The keywords "is prohibited from" indicate a requirement which must be strictly followed and from which no deviation is permitted if conformance to this Recommendation is to be claimed. + +The keywords "can optionally" indicate an optional requirement which is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option and the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformance with the specification. + +In the body of this Recommendation and its annexes, the words *shall*, *shall not*, *should*, and *may* sometimes appear, in which case they are to be interpreted, respectively, as *is required to*, *is prohibited from*, *is recommended*, and *can optionally*. The appearance of such phrases or keywords in an appendix or in material explicitly marked as *informative* are to be interpreted as having no normative intent. + +# 6 Architecture for exchangeable, embedded CA/DRM solutions + +## 6.1 General remarks + +ECI architecture, definitions and overview, as covered by this framework Recommendation, is part of a multi-part standard specifying a system architecture for general purpose, software-based, embedded and exchangeable CA/DRM systems which would be the most appropriate and future-proof solution for overcoming market fragmentation and enabling interoperability. Key benefits of the envisaged approach for content security are: + +- Flexibility and scalability due to software-based implementation +- Exchangeability fostering future-proof solutions and enabling innovation +- Applicability to content distributed via broadcast and broadband, including OTT +- Support of multi-screen environment + +- Stimulation of the market for platform operators, network/service providers and consumers by avoiding "lock-in" +- The specification of an open eco-system fostering market development. + +The ECI system aims at exchangeability of CA and DRM systems in CPEs on all relevant levels and aspects, at lowest possible costs for the consumers and at minimal restrictions for CA or DRM vendors to develop their target products for the PayTV market. The core element of ECI is to specify the interface between the software-based CA/DRM client and the host system. Therefore, amongst others, the ECI has the following functionalities: + +- A software container for the CA respectively the DRM kernel – hereafter called ECI client with: + - standardized interfaces to all relevant functionalities of the CPE + - a standardized virtual machine (VM) to run upon +- Support of smartcard-less systems as well as use in smartcard-based systems +- Inclusion of a multitude of such software containers in a CPE, each container running on its own instance of the VM +- Installation of the ECI client independently from other CPE software by a secure and standardized loader concept +- Advanced security, also known as chip set security, to support state-of-the-art content protection +- Provisions to leverage hardware-assisted security functionalities +- Methods for the user to discover the right ECI client to download +- Methods for revocation of (parts of) the ECI client's functionality and CPE's functionality +- Suited for classical digital broadcasting, IPTV or modern OTT-based systems. + +Although ECI shows some similarity with already deployed solutions, there are substantial differences: + +- (1) The CA/DRM client module is in software and no longer in hardware. Hence, no costs are incurred at the consumer side to swap a CA or DRM system. +- (2) Several parallel ECI clients can be implemented in one and the same CPE, without adding relevant cost. +- (3) These clients can run concurrently in the one device. + +As a result, a CA or DRM component can be exchanged much more easily, allowing the end user to change operators or get services from a variety of operators on his CPE, without having to exchange expensive modules. + +The complete multi-part standard consists of a group of specifications, including a framework specification, in combination with the underlying specifications: + +- Part 1: Architecture, definitions and overview [ETSI GS ECI 001-1] +- Part 2: Use cases and requirements [ETSI GS ECI 001-2] +- Part 3: CA/DRM container, loader, interfaces, revocation [b-ETSI GS ECI 001-3] +- Part 4: The virtual machine (VM) [b-ETSI GS ECI 001-4] +- Part 5: The advanced security system [b-ETSI GS ECI 001-5] +- Part 6: Trust environment [b-ETSI GS ECI 001-6] +- Part 7: Extended requirements [b-ETSI GS ECI 001-7] + +which together describe a solution allowing replacement of ECI clients at any time by just downloading the ECI clients requested by an end customer. The ECI clients are installed in a + +standard software container in the CPE by a separate loader, with separate security algorithms and keys to protect the ECI clients against integrity and substitution attacks independently from all other software in the CPE. The container's interfaces with the CPE are generic and defined in [b-ETSI GS ECI 001-3], enabling the ECI client to interact with the various functions in the CPE and beyond. + +The ECI clients run upon a virtual machine instance that is defined in [b-ETSI GS ECI 001-4]. + +[b-ETSI GS ECI 001-5] specifies an advanced security mechanism to protect the key to the content during its travel into the CPE processor chip's content decryption facility. + +This Recommendation addresses an architecture and an overview of the relevant interface specifications for the implementation of interoperable CA/DRM systems in CPEs. + +The ECI specification only applies to the reception and further processing of content which is controlled by a conditional access and/or digital rights management system and has been scrambled by the service provider. Content that is not controlled by a conditional access and/or DRM system is not covered by this Recommendation. + +The ECI group specification is intended to be used in combination with a contractual framework (license agreement), compliance and robustness rules, and appropriate certification process (see note), under control of a trust authority [b-ETSI GS ECI 001-6]. Note that contractual framework (license agreement), compliance and robustness rules and appropriate certification processes are not subject to the standardization work in ISG ECI. + +## 6.2 The technical concept of the ECI system + +### 6.2.1 Basic considerations + +This Recommendation, in combination with Parts 2 to 5 and 7 of the specifications ([ETSI GS ECI 001-2], [b-ETSI GS ECI 001-3], [b-ETSI GS ECI 001-4], [b-ETSI GS ECI 001-5] and [b-ETSI GS ECI 001-7]), specifies an architecture allowing downloading, installation, upgrading, removal and replacement of ECI clients at any time, independently from other ECI clients running on the same host, the host CPE's system software or applications running on that host. An ECI host shall be capable to accommodate and to provide the runtime environment for at least two or as many ECI clients as its resources can handle. The ECI clients in a host have to run in parallel, enabling simultaneous decryption or re-encryption of different content streams from different operators. + +The technical concept described in this Recommendation and specified in [ETSI GS ECI 001-2], [b-ETSI GS ECI 001-3], [b-ETSI GS ECI 001-4] and [b-ETSI GS ECI 001-5], is applicable to both DVB multicrypt compliant CA systems and common encryption (CENC) compatible DRM systems. + +The CPE hosts a special loader only for ECI clients with the necessary security functionality to protect the integrity and authenticity of the ECI clients. This loader can be called and operated at any time to download and verify another ECI client at any time. The loader with its associated security facilities is specified in [b-ETSI GS ECI 001-3]. + +Concerning this technical concept, each ECI client is installed in a separate software container, with an own virtual machine instance (VM instance), which is specified in [b-ETSI GS ECI 001-4]. The ECI container is specified for CA/DRM functionality only, which is reflected in [b-ETSI GS ECI 001-3]. The interface with the CPE, detailed in [b-ETSI GS ECI 001-3], enables the request and data exchange that is needed for the various CA/DRM functions. These requests and data exchanges may be performed between the ECI client and the host, between two ECI clients in the same host or two ECI clients in different hosts. + +TV-centric devices are defined as devices which include MPEG-2 transport stream processing inside the chip-set. ECI requires that those chip-sets implement ECI-compliant advanced security + +functionalities. [b-ETSI GS ECI 001-5] specifies provisions to leverage advanced security mechanisms in the chip-set, such as to protect the key associated with the content during its travel into the CPE processor chip's content decryption facility. This advanced security concept allows all ECI clients using the facility, if needed, to operate simultaneously and independently from each other. + +Devices for other environments, especially IPTV and tablets, smartphones, etc. typically implement more functionality in software and offer bidirectional IP-communication. This enables specific new types of security enhancement mechanisms. As chip-sets used in those devices include hardware for various processing security functions, ECI requires dedicated hardware-assisted security and robustness functionalities to be implemented in order to achieve ECI-compliance. Therefore, the specification [b-ETSI GS ECI 001-3] includes methods for the ECI client to obtain the relevant parameters of the host's technical capabilities and functionalities, as far as relevant, including possible support of the advanced security as specified in [b-ETSI GS ECI 001-5]. + +The advanced security functionalities are available simultaneously to any ECI client active in a CPE. ECI clients can also be deployed in platforms with DVB compliant CA systems or with CENC compliant DRM systems running in simulcrypt or multicrypt mode, as long as the server sides of those systems are compliant with the respective DVB/CENC backend standards. + +### **6.2.2 Architectural overview** + +The ECI allows CA/DRM providers to implement solutions for conditional access (CA) as well as for digital rights management (DRM) within the domain of an individual customer. Figure 1 shows a reference configuration which is fully supported by a complete ECI implementation. + +In order to support multi-screen environments within the individual consumer's domain, ECI clients within that domain may communicate with each other, and may make use of a bidirectional network with the provider, depending on the availability of appropriate networks and supporting functionalities in the CA/DRM systems and their ECI clients. [b-ETSI GS ECI 001-3] gives further details. + +An ECI client may be implemented in such a way that it is able to operate as a gateway also to non-ECI-conformant clients. The necessary hooks therefore are specified in [b-ETSI GS ECI 001-5]. The specific protocols and implementations of proprietary clients are out of scope of the ECI specifications. + +![Figure 1: Diagram showing ECI clients within a single customer's domain. A Content Distributor on the left is connected via Public networks to a Subscriber's domain on the right. Inside the domain, there is a Primary CPE containing ECI client 1 (gateway), ECI client 2, and ECI client 3 (gateway). ECI client 1 is connected to ECI client 2 and ECI client 3. ECI client 3 is connected to a Secondary CPE containing Proprietary CA/DRM. ECI client 4 (Secondary CPE) is also connected to the Proprietary CA/DRM.](af7916c89a458fdab6c3f443217388ae_img.jpg) + +J.1011(16)\_F01 + +Figure 1: Diagram showing ECI clients within a single customer's domain. A Content Distributor on the left is connected via Public networks to a Subscriber's domain on the right. Inside the domain, there is a Primary CPE containing ECI client 1 (gateway), ECI client 2, and ECI client 3 (gateway). ECI client 1 is connected to ECI client 2 and ECI client 3. ECI client 3 is connected to a Secondary CPE containing Proprietary CA/DRM. ECI client 4 (Secondary CPE) is also connected to the Proprietary CA/DRM. + +**Figure 1 – The ECI clients within a single customer's domain** + +The ECI specifications define, amongst others, the interface between an ECI container and the ECI host. Figure 2 shows a block diagram of a CPE with ECI containers and the other functions in the ECI host that the ECI containers communicate with or may communicate with. Some of these functions are optional. During the installation of an ECI client and during launch of an ECI client, the host specifies which relevant functions it has available to the ECI client. + +![Figure 2: Block diagram of a CPE with embedded ECI clients. The CPE contains a Smart-card (optional), Applications, middleware, system software, and a Browser. It also contains two ECI containers, each with an ECI client and a Virtual machine instance. The ECI host is shown below the containers, containing OS/Drivers, ECI-Advanced security, and Loaders. The entire system is built on top of the Hardware layer.](ff0952ef692c9d960ce5f6708bcc9711_img.jpg) + +J.1011(16)\_F02 + +Figure 2: Block diagram of a CPE with embedded ECI clients. The CPE contains a Smart-card (optional), Applications, middleware, system software, and a Browser. It also contains two ECI containers, each with an ECI client and a Virtual machine instance. The ECI host is shown below the containers, containing OS/Drivers, ECI-Advanced security, and Loaders. The entire system is built on top of the Hardware layer. + +**Figure 2 – Block diagram of a CPE with embedded ECI clients, each with their own ECI container and virtual machine instance** + +First of all the concept is based on a hierarchical loader concept (see Figure 3) consisting of a chip-based loader, the system software loader and the ECI client loader. + +The ECI host loader loads the ECI host software. This includes besides other elements the virtual machine, access to advanced security components and the ECI client loader. An ECI host can load multiple ECI clients into separate virtual machine instances, which run independently and are isolated from each other. + +When loading an ECI client into the system a virtual machine instance is being created in which the ECI client is loaded. This VM instance acts as a sandbox between the ECI client and the host. The interface between the ECI client and the VM instance is the key interface which the Group Specification (GS) is specifying. The interface specifies in addition the information flow/protocol between multiple instances of such an ECI client and to other functionality inside the CPE, like advanced security, display, etc. Note that the other ECI client needs not necessarily to be in the same ECI host. This interface and communication protocol is specified in [b-ETSI GS ECI 001-3]. + +The ECI host itself depends on the manufacturer implementation. It interfaces to the OS and the driver layer and provides all functionalities defined by the ECI client interface specification. The ECI-host is not specified by ECI, but it needs to be certified by the TA in order to ensure compliance with the ECI client interface specification. + +### 6.2.3 Mandatory functionality of ECI compliant devices + +ECI addresses a range of usage scenarios (see Figure 1). Hence, ECI has to deal with a broad range of devices such as iDTVs, STBs, personal video recorders (PVRs), IPTV, tablets, smartphones, etc. These devices vary in their capabilities while ECI provides a harmonized security framework. ECI distinguishes TV-centric devices from devices for other environments, including but not limited to IPTV and tablets. + +TV-centric devices are defined as devices which include MPEG-2 transport stream processing inside the chip-set. ECI requires that those chip-sets implement ECI-compliant advanced security functionalities. TV-centric ECI compliant CPEs shall be compliant with the functions as given in the specifications [b-ETSI GS ECI 001-3], [b-ETSI GS ECI 001-4] and [b-ETSI GS ECI 001-5]. + +Devices for other environments especially IPTV, computers and tablets typically implement more functionality in software and connect to a bidirectional IP-communication. This enables different types of security mechanisms. As chip-sets used in these devices include hardware for various security processing functions, ECI requires dedicated hardware-assisted security and robustness functionalities to be implemented in the chip-sets. [b-ETSI GS ECI 001-3], [b-ETSI GS ECI 001-4] and [b-ETSI GS ECI 001-5] specify the necessary mechanisms to leverage those functionalities. + +### 6.2.4 Necessary interfaces between ECI host and ECI client + +The ECI container is a technical concept combining the VM and the ECI client with the objective to isolate and to shield the VM and the ECI client from the rest of the CPE. The virtual machine is a functionality of the ECI host. By loading an ECI client the ECI host creates a virtual machine instance. The virtual machine provides the necessary interfaces to the ECI client and connects them to the ECI host. The ECI specification defines the interface between the VM and the ECI client, see also Figure 2 for a high level architecture on an ECI compliant device. The interface provides certain application programming interfaces (APIs) and also establishes a secure communication channel. + +The following list highlights important software interfaces: + +- Interface for capability information to ECI client from ECI host and vice versa +- Interface to the processing of input and outputs signals of the CPE +- Interface to the advanced security hardware/drivers block +- Interface to loader functionalities +- Interface to support user interaction + +- Interface to encryption and decryption functionality +- Interface to the optional smartcard reader +- Interface to specific security functionalities like fingerprinting and watermarking +- Interface to local storage + +All interfaces of the ECI client are provided by means of the virtual machine. + +There are in addition communication protocols on top of the interfaces allowing a secure communication. In particular a protocol to established communication between ECI clients, regardless if internal or external, is being specified. + +The CPE can be connected to any type of network and several networks concurrently, both unidirectional or bidirectional. It does not always need to be connected to any network (downloaded/stored content). + +### **6.2.5 A minimum user interface and display functionality** + +For communications with the user, a minimum user interface (UI) and on screen display (OSD) facility shall be available to the ECI containers. This is specified in [b-ETSI GS ECI 001-3]. It is used to display messages for the user that have been generated by or sent using the CA/DRM system. Also, it is used to allow the user entering inputs, such as a personal identification number (PIN). Details are specified in [b-ETSI GS ECI 001-3] as well. + +The user interacts locally with the CA/DRM system through the ECI client. + +### **6.2.6 The virtual machine** + +The ECI client runs upon a standardized virtual machine (VM). This component is specified in [b-ETSI GS ECI 001-4]. Each installed ECI client shall have its own instance of the VM. The VM instance provides a secured environment for executing conditional access kernel or digital rights management client applications. APIs are provided by the VM, where resources of the ECI host environment can be accessed in a standardized way. + +### **6.2.7 The advanced security facility** + +ECI defines minimum necessary security functionalities required to build a secure content protection system. ECI requires enhancements based on hardware-elements. In TV-centric devices this is delivered by TV-specific dedicated advanced security functions. It specifies what is usually referred to as a "key ladder block" in systems on chip (SoCs). An essential task of the advanced security facility is to protect the content protection keys during its transmission from the ECI client to the content decryption facility in a CPE or the transfer of protected content from one ECI client to another ECI client (see Figure 1). The advanced security system as specified in [b-ETSI GS ECI 001-5] supports different simultaneous control word streams and different ECI clients that are simultaneously requesting its services. Furthermore the advanced security facility plays a key role to verify the download of the software for the host and the ECI clients. + +Devices for other environments especially IPTV, computers and tablets typically implement more functionality in software and connect to a bidirectional IP-communication. ECI specifies the same advanced security concepts and mechanisms but will map them differently on the devices security architectures [b-ETSI GS ECI 001-3], [b-ETSI GS ECI 001-4] and [b-ETSI GS ECI 001-5]. + +The availability of advanced security in the CPE is communicated to the ECI client during its installation and during its launch. + +### **6.2.8 Re-scrambling** + +Protected content, which is been received by an ECI compliant CPE may not be consumed immediately. The following functionalities are available with ECI compliant devices: + +- Local storage: + - under control of the CPE + - under control of a CA- or DRM client +- Gateway: + - delivery of a protected content element to an external device under control of a DRM client + - delivery of a protected content element to another ECI client either inside the same CPE or running on another ECI compliant CPE. + +To support these functionalities the ECI compliant device is able to re-scramble content. The ECI system does not specify the transport mechanisms nor the available DRM functionalities for storage or delivery of protected content to other devices. In [b-ETSI GS ECI 001-5], the necessary interfaces between the ECI host and the ECI client are defined. + +### 6.2.9 The ECI loader functionalities + +An ECI compliant CPE shall provide loader functionalities, allowing loading and installation, as well as integrity and anti-substitution protection of the relevant software modules of the ECI system. + +Initially, the loader integrated into the chip loads the system software loader. This embedded loader is to ensure that only a certified system software loader can be installed and launched. The system software loader includes the ECI host loader and thus the system software loader needs to be signed by the trust authority. The system software loader may include loaders for other system software which is not relevant for ECI functionalities and has no relationship to the security related elements of the system. The ECI host software includes the ECI client loader, which then upon request can load the ECI client. + +During its installation in its ECI container as well as during its launch, the ECI client is informed by the ECI host about its facilities, such as recording facilities, HD facilities, a smart card reader, fingerprinting and watermarking facilities and networks, as well as compliance with the framework specification (this Recommendation) and [b-ETSI GS ECI 001-3], [b-ETSI GS ECI 001-4] and [b-ETSI GS ECI 001-5] and possibly [b-ETSI GS ECI 001-6]. + +The ECI loader with the related security facilities is specified in [b-ETSI GS ECI 001-3]. + +![Figure 3 – Hierarchical loader concept. The diagram illustrates a four-level hierarchy of loaders. At the top is a 'Chip' containing an 'Embedded loader' and a 'Certificate (public key) from TA'. A red arrow points down to the 'System software loader', which contains a 'Loader of additional elements' and an 'ECI host loader', and is associated with a 'Signature from TA'. From the 'System software loader', a green arrow points to 'Other system software' and a red arrow points down to the 'ECI-host'. The 'ECI-host' contains a list of components: VM, File system, Libraries for security, Protection system controls, ECI client loader, and '.....', and is associated with a 'Signature from TA'. A red arrow points down from the 'ECI-host' to the 'ECI-client', which is also associated with a 'Signature from TA'. The text 'J.1011(16)_F03' is located at the bottom right of the diagram.](8fbdfc3d17fb1dae7b2d8f5a287fa9fc_img.jpg) + +Figure 3 – Hierarchical loader concept. The diagram illustrates a four-level hierarchy of loaders. At the top is a 'Chip' containing an 'Embedded loader' and a 'Certificate (public key) from TA'. A red arrow points down to the 'System software loader', which contains a 'Loader of additional elements' and an 'ECI host loader', and is associated with a 'Signature from TA'. From the 'System software loader', a green arrow points to 'Other system software' and a red arrow points down to the 'ECI-host'. The 'ECI-host' contains a list of components: VM, File system, Libraries for security, Protection system controls, ECI client loader, and '.....', and is associated with a 'Signature from TA'. A red arrow points down from the 'ECI-host' to the 'ECI-client', which is also associated with a 'Signature from TA'. The text 'J.1011(16)\_F03' is located at the bottom right of the diagram. + +**Figure 3 – Hierarchical loader concept** + +### 6.2.10 Revocation + +The trust authority may decide to put a CPE, a range of CPEs, a type of CPEs or all CPEs from a specific manufacturer on a black list. The content provider or operator may revoke these concerned CPE or CPEs from their service distribution point. The methods used allow other operators and content distributors to continue their services to these CPEs if they wish to do so. + +Revocation can block all services from the operator or content provider to the CPE(s) concerned, or to a subset of services. This is subject to the functionality of the relevant CA or DRM system and out of the scope of the present Recommendation. + +The revocation process is specified in [b-ETSI GS ECI 001-3]. + +# 7 Trust environment + +In order to be able to establish a system based on embedded CI, a trust environment has to be set up. Details about the trust environment are out of scope of the ECI specifications. However, the principles, which are specified in [b-ETSI GS ECI 001-6], are essential in order to fully understand how ECI works. + +The trust authority (TA) is an organization governing all rules and regulations that apply to implementations of the ECI architecture. The trust authority has to be a legal entity to be able to + +achieve legal claims. The trust authority needs to be impartial to all players in the downloadable CA/DRM ecosystem. This includes: + +- CPE manufacturers +- CA/DRM (ECI client) manufacturers +- Chipset manufacturers, whose components include unchangeable secure processor keys and certificates, which are necessary for interaction between host and the compliant CA/DRM system +- Platform operators; the platform operator is the party that controls all necessary elements of a CA/DRM system. Platform operators are for example service providers or network operators +- Application providers, if applicable + +A trusted third party (TTP) is a technical service provider, which issues certificates and keys to compliant manufacturers of the relevant components of an ECI system. The trust of these keys and certificates is assured by the TA, which holds the root of trust. + +Trust authority and trusted third party form the basis for the chain of trust and thus have to be involved in the entire processes ranging from production (chips and CPEs), over operations (secure ECI client download and activation) to control measures (e.g., revocation). + +The trust authority as a legal entity ensures the functioning of the trust environment via a contractual framework also called license agreement, under which the various parties involved can assume their responsibilities and liabilities. Under the license agreement trust authority/trusted third party are generating and issuing key pairs, certificates, test credentials and operator IDs, etc. + +One TA establishes trust between all market participants. A second TA cannot exist to establish trust "a second time" for the same environment. However, there could be multiple TAs, e.g., per country or per region, segments, eco-systems. + +If multiple TAs exist in parallel there is a need that TA A and TA B trust each other as a prerequisite that devices registered in TA A can be used in the domain of TA B. + +## **7.1 Necessary operational workflows** + +This clause gives a first overview of the necessary operational workflows, which serve the needs of the different market participants in order to implement a business based on the ECI technology. Furthermore the indicated workflows are based on the essential technical elements which are necessary for implementation of an ECI system. Figure 4 shows these interactions between technical components and the relevant market participants. + +Remark: The description is generic and is not intended to reflect any existing proprietary solution or any actual running standardization activity. + +![Figure 4 – Necessary trust management between trust authority (TA) and the relevant market participants](b2d16e07bfa79d67a8adabf7e26c7764_img.jpg) + +``` + +graph TD + CPEM1[CPE manufacturer] --> ECI_CL[ECI-Client loader] + ECI_CL <--> TA[Trust authority] + ECI_H[ECI host] --- ECI_CL + ECI_CM[ECI-Client manufacturer] --> ECI_CF[ECI-Client firmware] + ECI_CF <--> TA + AN[Access network] --> PO[Platform operator] + PO <--> TA + TA <--> CL[Chip loader] + TA <--> FL[Firmware loader] + CL --- CPEC[CPE chipset] + FL --- CPEHF[CPE Hard-/Firmware] + CSM[Chipset manufacturer] --> CPEC + CPEM2[CPE manufacturer] --> CPEHF + + style TA fill:#add8e6 + style ECI_CL fill:#ffff00 + style CL fill:#ffff00 + style FL fill:#ffff00 + style CPEM1 fill:#ffc0cb + style ECI_CM fill:#ffc0cb + style PO fill:#ffc0cb + style CSM fill:#ffc0cb + style CPEM2 fill:#ffc0cb + linkStyle 1,4,7,8,9 stroke:red,stroke-width:2px; + +``` + +**Figure 4 – Necessary trust management between trust authority (TA) and +the relevant market participants** + +Figure 4 – Necessary trust management between trust authority (TA) and the relevant market participants + +The operational and related contractual issues (see red arrows in Figure 4) for the trust environment are: + +- Integrity + Integrity means the requirement that one market participant is able to verify whether a hardware/software component provided by another market participant has not been modified by any unauthorized party and is fulfilling the specifications and robustness rules. This requirement can be fulfilled by suitable credentials and signatures and testing procedures based on test credentials provided by the trust authority/trusted third party. + +- Authenticity + Authenticity means that any hardware/software component which originates from a TA contract partner of the trust authority and which has passed the necessary verification and certification steps can clearly be associated with the contract partner and thereby distinguished from any cloned component. Authenticity of any relevant hardware/software component is proven by any ECI system. + +- Contractual Framework + The contractual framework established by the trust authority as a legal entity shall encompass a compliance and robustness regime and certification procedures in order to provide the environment for the establishment of ECI systems. + +- Remedies + In the case where hardware/software components of an ECI system are no longer compliant, the trust authority establishes procedures for the provider of that component, targeting to re-establish the integrity of the eco-system in a reasonable timeframe. + +**Rec. ITU-T J.1011 (09/2016)**      13 + +Essential technical components (yellow boxes in Figure 4) are: + +### 1) CPE chipset + +The CPE chipset is the main component within CPE hardware which usually includes "system on chip" (SoC) due to existing requirements of platform operators and content providers. Furthermore usually the chip loader is included in the CPE chip. + +### 2) CPE hardware + +The secure CPE chipset implementation, prevention of any unauthorized access to storage elements (Flash, ROM) and protection of interfaces are essential issues. + +### 3) Different loaders + +The chip loader downloads different additional loaders, depending on the hardware/software configuration of the CPE. + +### 4) CPE firmware + +The CPE firmware has manifold interactions with the ECI client and all relevant CPE hardware interfaces. Security is ensured by detailed specifications and appropriate compliance and robustness rules. + +### 5) ECI client + +The ECI client extracts all CA and DRM related information delivered by the frontends of the CPE and initiates the corresponding settings within the CPE device (descrambler, interfaces), which obviously needs close and secure interaction with the CPE firmware. + +## Appendix I + +### Implementation of an ECI-compliant trust system + +(This appendix does not form an integral part of this Recommendation.) + +Appendix I gives a first overview of the necessary operational workflows, which serve the needs of the different market participants in order to implement a business based on the ECI technology. Figure I.1 shows an overview of the general workflow. Furthermore the indicated workflows are based on the essential technical elements which are necessary for implementation of an ECI system. Figure 4 in clause 7.1 shows the interactions between technical components and the relevant market participants. + +![Figure I.1 – General workflow overview. A flowchart showing the interactions between a Trust authority (TA), a Trusted third party (TTP), a Chipset manufacturer, a CPE manufacturer, a Platform operator, a CA/DRM provider, and a Test centre. The TA points to the TTP. The TTP has bidirectional arrows with each of the other five entities, labeled 'Credentials, keys legal arrangement'. The Chipset manufacturer, CPE manufacturer, Platform operator, and CA/DRM provider are connected vertically by downward arrows. The Chipset manufacturer and CPE manufacturer have bidirectional arrows with the Test centre labeled 'Device testing testing results'. The Platform operator and CA/DRM provider also have bidirectional arrows with the Test centre labeled 'Device testing testing results'. A dashed arrow points from the CPE manufacturer to the Platform operator, labeled 'Applicable only to OEM markets'. The diagram is labeled J.1011(16)_FI.1 at the bottom right.](a3472689858b068ef469213682965325_img.jpg) + +``` +graph LR + TA[Trust authority (TA)] --> TTP[Trusted third party (TTP)] + TTP <--> CM[Chipset manufacturer] + CM --> CPM[CPE manufacturer] + CPM --> PO[Platform operator] + PO --> CDRMP[CA/DRM provider] + TTP <--> CPM + TTP <--> PO + TTP <--> CDRMP + CM <--> TC[Test centre] + CPM <--> TC + PO <--> TC + CDRMP <--> TC + CPM -.-> PO : Applicable only to OEM markets +``` + +Figure I.1 – General workflow overview. A flowchart showing the interactions between a Trust authority (TA), a Trusted third party (TTP), a Chipset manufacturer, a CPE manufacturer, a Platform operator, a CA/DRM provider, and a Test centre. The TA points to the TTP. The TTP has bidirectional arrows with each of the other five entities, labeled 'Credentials, keys legal arrangement'. The Chipset manufacturer, CPE manufacturer, Platform operator, and CA/DRM provider are connected vertically by downward arrows. The Chipset manufacturer and CPE manufacturer have bidirectional arrows with the Test centre labeled 'Device testing testing results'. The Platform operator and CA/DRM provider also have bidirectional arrows with the Test centre labeled 'Device testing testing results'. A dashed arrow points from the CPE manufacturer to the Platform operator, labeled 'Applicable only to OEM markets'. The diagram is labeled J.1011(16)\_FI.1 at the bottom right. + +NOTE – Trusted third party (TTP) and test centre are contract partners of the trust authority (TA) for certification and key issuing process. + +**Figure I.1 – General workflow overview** + +### Legal/Contractual framework + +Secure trust management can only be carried out under a clearly defined legal and contractual framework, in which the license agreement (LA) constitutes the core element. The TA provides license agreements to anyone seeking to implement the specification(s), be they CPE manufacturers, CA/DRM system vendors, chip manufacturers, other technology providers, platform operators, etc. + +Therefore the license agreement is the essential instrument for the TA to create, maintain and make available to the horizontal market a secure but user friendly method to receive and make operative all required keys and other relevant security related material and information when connecting CPEs to providers of choice, that conform to the relevant usage rules. Similarly, the license agreement framework enables the TA to take proper care of revocation of all security material when a consumer is disconnected by the provider, as far as is technically and economically possible. + +The license agreement enables the coordinated and consistent application of the other elements of the contractual framework such as the technical specification, compliance and robustness rules, obligations and liabilities, testing and certification, implementation guidelines, etc. + +Figure I.2 shows components of the license agreement. + +![Flowchart showing the components of a license agreement. The top level is 'License, agreement'. It branches into three main components: 'Specification of technical elements 1)', 'Compliance and robustness rules', and 'Rights, obligations, liability of manufacturers'. Below 'Specification of technical elements 1)' are 'Implementation guidelines' and 'Certification of products'. Below 'Compliance and robustness rules' is 'Rights, obligations, liability of platform operators'. The text 'J.1011(16)_Fl.2' is in the bottom right corner.](e69b9188aa2c14ec6b21c83f711fef65_img.jpg) + +``` + +graph TD + LA[License, agreement] --> S[Specification of technical elements 1)] + LA --> C[Compliance and robustness rules] + LA --> R1[Rights, obligations, liability of manufacturers] + S --> IG[Implementation guidelines] + S --> CP[Certification of products] + C --> R2[Rights, obligations, liability of platform operators] + J101116Fl2[J.1011(16)_Fl.2] + +``` + +Flowchart showing the components of a license agreement. The top level is 'License, agreement'. It branches into three main components: 'Specification of technical elements 1)', 'Compliance and robustness rules', and 'Rights, obligations, liability of manufacturers'. Below 'Specification of technical elements 1)' are 'Implementation guidelines' and 'Certification of products'. Below 'Compliance and robustness rules' is 'Rights, obligations, liability of platform operators'. The text 'J.1011(16)\_Fl.2' is in the bottom right corner. + +**Figure I.2 – Components of the license agreement** + +These specifications will be developed in the ETSI ISG ECI as Group Specifications. + +# Bibliography + +- [b-ITU-T H.222.0] Recommendation ITU-T H.222.0 (2006) | ISO/IEC 13818-1:2007, *Information technology – Generic coding of moving pictures and associated audio information: Systems*. +- [b-CENELEC EN 50221] CENELEC EN 50221 (1997), *Common Interface Specification for Conditional Access and other Digital Video Broadcasting Decoder Applications*. +- [b-CI Plus Specification] CI Plus Specification (V1.3.1) (2011), *Content Security Extensions to the Common Interface*. +- [b-ETSI EN 300 468] ETSI EN 300 468 V1.13.1 (2012), *Digital Video Broadcasting (DVB); Specification for Service Information (SI) in DVB systems*. +- [b-ETSI ISG ECI] ETSI ISG ECI White Paper (2014), *Industry Specification Group on Embedded Common Interface for exchangeable CA/DRM solutions*. +[www.etsi.org/deliver/etsi.../ECI/.../gs\\_ECI00101v010101p.pdf](http://www.etsi.org/deliver/etsi.../ECI/.../gs_ECI00101v010101p.pdf) +- [b-ETSI TS 101 699] ETSI TS 101 699 V1.1.1 (1999), *Digital Video Broadcasting (DVB); Extensions to the Common Interface Specification*. + +- [b-ETSI TS 103 162] ETSI TS 103 162 V1.1.1 (2010), *Access, Terminals, Transmission and Multiplexing (ATTM); Integrated Broadband Cable and Television Networks; K-LAD Functional Specification*. +- [b-ETSI TS 103 205] ETSI TS 103 205 V1.1.1 (2014), *Digital Video Broadcasting (DVB); Extensions to the CI Plus™ Specification*. + + + + + +## SERIES OF ITU-T RECOMMENDATIONS + +| | | +|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------| +| Series A | Organization of the work of ITU-T | +| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues | +| Series E | Overall network operation, telephone service, service operation and human factors | +| Series F | Non-telephone telecommunication services | +| Series G | Transmission systems and media, digital systems and networks | +| Series H | Audiovisual and multimedia systems | +| Series I | Integrated services digital network | +| Series J | Cable networks and transmission of television, sound programme and other multimedia signals | +| Series K | Protection against interference | +| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant | +| Series M | Telecommunication management, including TMN and network maintenance | +| Series N | Maintenance: international sound programme and television transmission circuits | +| Series O | Specifications of measuring equipment | +| Series P | Telephone transmission quality, telephone installations, local line networks | +| Series Q | Switching and signalling, and associated measurements and tests | +| Series R | Telegraph transmission | +| Series S | Telegraph services terminal equipment | +| Series T | Terminals for telematic services | +| Series U | Telegraph switching | +| Series V | Data communication over the telephone network | +| Series X | Data networks, open system communications and security | +| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities | +| Series Z | Languages and general software aspects for telecommunication systems | \ No newline at end of file diff --git a/marked/J/T-REC-J.1042-202503-I_PDF-E/0538daaa5583c23e17db3a12f2281a55_img.jpg b/marked/J/T-REC-J.1042-202503-I_PDF-E/0538daaa5583c23e17db3a12f2281a55_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c1629394c02f697f60ae954ad36bf274fa8082cb --- /dev/null +++ b/marked/J/T-REC-J.1042-202503-I_PDF-E/0538daaa5583c23e17db3a12f2281a55_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3763acd7a0ed56aa30f3f90468c1fb0cb54573eb9045bca3eddf8976b4f0f41d +size 7219 diff --git a/marked/J/T-REC-J.1042-202503-I_PDF-E/16da2d7b436c26f2efc4b51b2aae0fed_img.jpg b/marked/J/T-REC-J.1042-202503-I_PDF-E/16da2d7b436c26f2efc4b51b2aae0fed_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8547edfe3a63ff13a81eb78abbbc1ad49827215c --- /dev/null +++ b/marked/J/T-REC-J.1042-202503-I_PDF-E/16da2d7b436c26f2efc4b51b2aae0fed_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ca468d9682bd54852fc30b2cce662cd9f33e1d8850bb9a2ea02d56adcb752b5 +size 94656 diff --git a/marked/J/T-REC-J.1042-202503-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg b/marked/J/T-REC-J.1042-202503-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..baedc5643d4b999530d3e03ecda560d96a1ce004 --- /dev/null +++ b/marked/J/T-REC-J.1042-202503-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7012d50d54cf410e00d68b0d7b933561a4b0f2e7aa42e14ee5fdc43b0026947e +size 101035 diff --git a/marked/J/T-REC-J.11-198811-I_PDF-E/raw.md b/marked/J/T-REC-J.11-198811-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..cbbc818989e68f07b32c81872ed5bff664134634 --- /dev/null +++ b/marked/J/T-REC-J.11-198811-I_PDF-E/raw.md @@ -0,0 +1,124 @@ + + +![ITU logo](2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg) + +The logo of the International Telecommunication Union (ITU) features a globe with a lightning bolt superimposed on it, and the letters 'ITU' in a bold, sans-serif font. + +ITU logo + +INTERNATIONAL TELECOMMUNICATION UNION + +**ITU-T** + +**J.11** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +**TELEVISION AND SOUND TRANSMISSION** + +--- + +**HYPOTHETICAL REFERENCE CIRCUITS FOR +SOUND-PROGRAMME TRANSMISSIONS** + +**ITU-T Recommendation J.11** + +(Extract from the *Blue Book*) + +--- + +# NOTES + +1 ITU-T Recommendation J.11 was published in Fascicle III.6 of the *Blue Book*. This file is an extract from the *Blue Book*. While the presentation and layout of the text might be slightly different from the *Blue Book* version, the contents of the file are identical to the *Blue Book* version and copyright conditions remain unchanged (see below). + +2 In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +## Recommendation J.11 + +# HYPOTHETICAL REFERENCE CIRCUITS FOR SOUND-PROGRAMME TRANSMISSIONS1), 2), 3) + +(Geneva, 1972; amended at Geneva, 1976, and at Melbourne, 1988) + +## Terrestrial systems and systems in the fixed-satellite service + +The CCITT, + +considering + +- (a) that there is a need to define a hypothetical reference circuit to enable design performance standards to be set; +- (b) that the hypothetical reference circuit should allow the different types of sound-programme circuits to be compared on a common basis, + +unanimously recommends + +- (1) that the main features of the hypothetical reference circuit for sound-programme transmissions over a terrestrial system (shown in a Figure 1/J.11), which may be provided by either radio or cable, should be: + - the overall length between audio points (B and C) is 2500 km, + - two intermediate audio points (M and M') which divide the circuit into three sections of equal lengths, + - the three sections which are lined up individually and then inter-connected without any form of overall adjustment or correction; +- (2) that the main features of the hypothetical reference circuit for sound-programme transmissions over a system in the fixed-satellite service (shown in Figure 2/J.11) should be: + - one link: earth station – satellite – earth station, + - one pair of modulation and demodulation equipments for translation from baseband to radio frequency, and from radio frequency to baseband, respectively. + +![Diagram of a hypothetical reference circuit for sound-programme transmissions over a terrestrial system. It shows a horizontal line representing the circuit, with four points marked by dots: B, M, M', and C. A dimension line below the line indicates the total length between B and C is 2500 km. The text 'CCITT - 15570' is written below the dimension line.](f89631cc38aa971e8d15cbffe28f1183_img.jpg) + +The diagram illustrates a horizontal line representing a terrestrial sound-programme transmission circuit. Four points are marked on the line with solid black dots, labeled from left to right as B, M, M', and C. A dimension line with vertical end-caps spans the distance between points B and C, with the text "2500 km" centered below it. To the right of the dimension line, the text "CCITT - 15570" is printed. + +Diagram of a hypothetical reference circuit for sound-programme transmissions over a terrestrial system. It shows a horizontal line representing the circuit, with four points marked by dots: B, M, M', and C. A dimension line below the line indicates the total length between B and C is 2500 km. The text 'CCITT - 15570' is written below the dimension line. + +FIGURE 1/J.11 + +**Hypothetical reference circuit for sound-programme transmissions over a terrestrial system** + +- 1) This Recommendation corresponds to CCIR Recommendation 502. +- 2) The hypothetical reference circuits defined in this Recommendation should apply for both analogue and digital systems. +- 3) For maintenance purposes there may be a need to define other circuits of which an illustration is shown in Annex A of this Recommendation. + +![Diagram of a hypothetical reference circuit for sound-programme transmissions over a system in the Fixed-Satellite Service. The diagram shows two earth stations (labeled 1) connected to a space station (labeled 2) via dashed lines. A horizontal line (labeled 3) connects the two earth stations, representing the hypothetical reference circuit. The text 'CCITT-15581' is visible near the right earth station. A legend below the diagram defines: 1: Earth station, 2: Space station, 3: Hypothetical reference circuit.](2763901b7a1fd1b5d704cdc450d12ed0_img.jpg) + +1 : Earth station +2 : Space station +3 : Hypothetical reference circuit + +Diagram of a hypothetical reference circuit for sound-programme transmissions over a system in the Fixed-Satellite Service. The diagram shows two earth stations (labeled 1) connected to a space station (labeled 2) via dashed lines. A horizontal line (labeled 3) connects the two earth stations, representing the hypothetical reference circuit. The text 'CCITT-15581' is visible near the right earth station. A legend below the diagram defines: 1: Earth station, 2: Space station, 3: Hypothetical reference circuit. + +FIGURE 2/J.11 +**Hypothetical reference circuit for sound-programme transmissions +over a system in the Fixed-Satellite Service** + +## ANNEX A + +(to Recommendation J.11) + +### **Illustration of an international sound-programme connection** + +Figure A-1/J.11 illustrates a typical international sound-programme connection in which: + +- point A, to be considered as the sending end of the international sound-programme connection, may be the point at which the programme originates (studio or outside location); +- point D, to be considered as the receiving end of the international sound-programme connection, may be a programme-mixing or recording centre or a broadcasting station; +- the local sound-programme circuit AB connects point A to the sending terminal station, point B, of the international sound-programme circuit BC; +- the local sound-programme circuit CD connects point C, the receiving terminal station of the international sound-programme circuit BC to the point D. + +The hypothetical reference circuit must not be considered identical to any of the sound-programme circuits illustrated above or to those defined for maintenance purposes in [1]. However, some of these circuits may display the same structure as the hypothetical reference circuit. Such types of circuits are: + +- an international sound-programme connection comprising three audio sections; +- a single sound-programme circuit made up of three audio sections. + +In this case, the performance standards set for the hypothetical reference circuit may be applied to these circuits. + +![Diagram of an international sound-programme connection showing local circuits (1), an international circuit (2), and the total international connection (3) between points A and D, with intermediate points B and C.](f9a14fbfecbd7d059226cc93677d721b_img.jpg) + +The diagram illustrates a horizontal line representing a sound transmission path. Points A, B, C, and D are marked along this line from left to right. Above the line, three double-headed arrows indicate different segments: '1' between A and B, '2' between B and C, and '1' between C and D. Below the line, a single long double-headed arrow labeled '3' spans from A to D. To the right of the diagram, the text 'CCITT - 15 760' is present. Below the diagram, a legend defines the segments: + +- 1 – local sound-programme circuits +- 2 – international sound-programme circuit +- 3 – international sound-programme connection + +Diagram of an international sound-programme connection showing local circuits (1), an international circuit (2), and the total international connection (3) between points A and D, with intermediate points B and C. + +FIGURE A-1/J.11 +**An international sound-programme connection** + +## **Reference** + +- [1] *Maintenance; international sound-programme and television transmission circuits.* Recommendations of the N Series. Fascicle IV.3. \ No newline at end of file diff --git a/marked/J/T-REC-J.1101-201206-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/J/T-REC-J.1101-201206-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0ad98c6e45b6c52f074f0054407ca88a640d8f1d --- /dev/null +++ b/marked/J/T-REC-J.1101-201206-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58019f38be268f19eaa80c6d56d0f6b39d5741569a8f3ccc04117fa95d9c6465 +size 4016 diff --git a/marked/J/T-REC-J.1101-201206-I_PDF-E/562f471e8153729557e6a4ee6343c32c_img.jpg b/marked/J/T-REC-J.1101-201206-I_PDF-E/562f471e8153729557e6a4ee6343c32c_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9eab00ea851aada9c7cc93ee7a8b4a58239ed83b --- /dev/null +++ b/marked/J/T-REC-J.1101-201206-I_PDF-E/562f471e8153729557e6a4ee6343c32c_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3099ee716991562836d35d51885911b3cbd20b308d5c5b92c0a9edb374e3306b +size 95006 diff --git a/marked/J/T-REC-J.1111-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/J/T-REC-J.1111-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1e32f9b8f1141bed243c16e02a6cd1411cbb87f1 --- /dev/null +++ b/marked/J/T-REC-J.1111-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c395c4bbde83b1e232652a43f51538278c116f51f710c37e20a073f7333726c8 +size 6134 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/022d1dc5699c55186a08a897cad90392_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/022d1dc5699c55186a08a897cad90392_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b9bba993f50091c200e7a4887bfa7f6b8f5838c2 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/022d1dc5699c55186a08a897cad90392_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8030f69ba243d34332ac30fa4953c6cbc9b44afd1215e1393a3af7ef1da3ffd +size 22482 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/02a799c1f5281fea2b73bdf67f128cff_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/02a799c1f5281fea2b73bdf67f128cff_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f2df0d3b58538f7e81e8d4a5690334bae9f4367e --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/02a799c1f5281fea2b73bdf67f128cff_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14b8efbc69fbec4393db50e8157571a50da7da4757985070659442549c3800ab +size 12056 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/04cfca33e3fc26513abe649d7474f733_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/04cfca33e3fc26513abe649d7474f733_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3c4dae3ed41537db57553bb0ed6e86ce45fc96c6 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/04cfca33e3fc26513abe649d7474f733_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26eeeeb2d945302e2d8688321f96dc342962a7a5a7ca9d86adf76f375e1f3579 +size 51422 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/07a8dab6afb9f88d7e6ee8a283b53094_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/07a8dab6afb9f88d7e6ee8a283b53094_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..75b5fd558102e9f3f78b4a8e7a917809642270db --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/07a8dab6afb9f88d7e6ee8a283b53094_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c6a4d8406d793da463ea1f722ffd3b3872f5fc8b941dbeca0feeb98d7a45175 +size 29913 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/0a73b03fba21af142d619a9a662e6490_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/0a73b03fba21af142d619a9a662e6490_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..186b7c571e7c9688f6b0b731907a949f668ca47a --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/0a73b03fba21af142d619a9a662e6490_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15d46f8ecfafc21fbdf70c2d2b0e1e08139de19946ad77d6333d71dd535c25d9 +size 16580 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/0b3d9fe35da3ee0c88f1420bb9ed7a03_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/0b3d9fe35da3ee0c88f1420bb9ed7a03_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..64e70a834af5078b2710e5080157a999a92bec23 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/0b3d9fe35da3ee0c88f1420bb9ed7a03_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64ab4189bdca710cd3cfea0f7e337f6d0a6e741438b98ade97d8140579241527 +size 25222 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/0e0257d43c47df039e9755c59674c2e5_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/0e0257d43c47df039e9755c59674c2e5_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..06cedc277731efd94d303b18c783159a259824e8 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/0e0257d43c47df039e9755c59674c2e5_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f250374193b49f291bb4cbd754f1023ea2f3eed3c9cc1acfc6ace96047c074d +size 16271 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/0ee9d674085524d589646a6c3fb21ec3_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/0ee9d674085524d589646a6c3fb21ec3_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e1a5f50f87ef2aeb1eb82cd3139d54c9fb3d89e5 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/0ee9d674085524d589646a6c3fb21ec3_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69bb18948327059a8b58a40b6e24dc63892e5d8a47f9de4772c25017e0c86c90 +size 16110 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/0f9ac2696d8775f168c8a2236752ca85_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/0f9ac2696d8775f168c8a2236752ca85_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a0e0c2bba020e8a2be0487b919d9751cb94c3bb9 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/0f9ac2696d8775f168c8a2236752ca85_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfa1d6b7a2c3729b59273135ea235098370b6ce66a766d0c5ef28770f6907caa +size 94071 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/0fec4b5689fcc9aa96a87f0c1bdaf200_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/0fec4b5689fcc9aa96a87f0c1bdaf200_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..32878f06dd43f2fa07f91ed56f8c741958b3bbf3 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/0fec4b5689fcc9aa96a87f0c1bdaf200_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:561d9bee6d31d8e205ce5bcd487d66086f7426b8bdc79aa77496d59844a3e84f +size 18442 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/1033ab90cd19fd4c5901966aeec07a86_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/1033ab90cd19fd4c5901966aeec07a86_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ce5e7310b59b39b31028967419f1ffcc7834d47d --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/1033ab90cd19fd4c5901966aeec07a86_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bdd98a7f04b02a70ef9259e072bbf797a40043f025a1637680e705bb0ff50d41 +size 6930 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/10dedc905646e219d866b9c66f68146c_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/10dedc905646e219d866b9c66f68146c_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9ff2e113c5de72388495c5dfac794cc0be110d42 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/10dedc905646e219d866b9c66f68146c_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c41beac640665c69852dc52c379d95ad177caa7484cd8dad30b2f90fc83cbe2 +size 17824 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/11878e99fcab03106ffd86c24fbd11c9_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/11878e99fcab03106ffd86c24fbd11c9_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..54058b40b535741986bdc5b07c36a7fc2c036ed7 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/11878e99fcab03106ffd86c24fbd11c9_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61a1f71fecdc01f82827f32e22c886a20415185c67a3994a9f55748fe918a8b3 +size 38547 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/141be2c164b6aa7704c470b47023de6c_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/141be2c164b6aa7704c470b47023de6c_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1b271f4f73304d4c9826712642174df560171d1a --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/141be2c164b6aa7704c470b47023de6c_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c99b840d1101b39ef41e746a8f77098a6fc2138371b63e5efdeec58146419d8e +size 16606 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/147bfd471cf5feef55178475cec58064_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/147bfd471cf5feef55178475cec58064_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e9978fa20dc24efb8b4c21b25d48c8ba7672e8eb --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/147bfd471cf5feef55178475cec58064_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b3a5a7beb9c3a0d1bb8e65894eebd6f2f7a4a75f954f8b81932713dbcb399b6 +size 26538 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/15ca9e79e42494966b608c4f0c6b64cc_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/15ca9e79e42494966b608c4f0c6b64cc_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..266978db603498128aaa7b22cd9050e9fb95f6d6 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/15ca9e79e42494966b608c4f0c6b64cc_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28f3d5ef75978f0ca52cf26a27e50405301ccf95d21fc6e7dbbdd09486d11e1b +size 31808 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/18b914bd6d55df64c6935e65803a3f79_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/18b914bd6d55df64c6935e65803a3f79_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ffdaae5d7ee5e226012ad42e7b5ffb50666771f6 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/18b914bd6d55df64c6935e65803a3f79_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b2154316e770cd2216d0bf59fed937166437f485ceca56b69fd49c880975227 +size 13891 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/19a8fc45b10957bab04a686521657f46_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/19a8fc45b10957bab04a686521657f46_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2fe0c52791acbeb6cec1bf1c32bb39ae1b152eb8 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/19a8fc45b10957bab04a686521657f46_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4742371bb311de3bb55ef6f4ea51e9fb33a56356dca37c1b7533c268c467da29 +size 85362 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/1d3994bfe548ae7545d57df703e32a02_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/1d3994bfe548ae7545d57df703e32a02_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b2bd7303ecc58a75361eed7250bc214a63a0632b --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/1d3994bfe548ae7545d57df703e32a02_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd5bf716669f8b1226a006f156c104d5df0f23ad6479d77d05679be380b66ee1 +size 48031 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/1eab323450a82831cf78035658284a51_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/1eab323450a82831cf78035658284a51_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2b760bb58fe8515f7090a4c2a6db6b55f3660b90 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/1eab323450a82831cf78035658284a51_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:476e4b05491eb8ad36328b87abc2bdee0dfc5041334cdcdbd5096953eb3f406c +size 30028 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/20e325591c62b3aed441a45d3fbaff67_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/20e325591c62b3aed441a45d3fbaff67_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cf4e968f7786442612533bf4f71733dd5ebca5f2 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/20e325591c62b3aed441a45d3fbaff67_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b42f6ed48681434653d69f2a4a9c54128d16cc4ac18020f39c9b0dc77501c9e +size 35531 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/24b549c0c4b79c515b244625cf4f4978_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/24b549c0c4b79c515b244625cf4f4978_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..265977db6ca4ba1e2cd28b9bd830aaf6a5f3ea82 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/24b549c0c4b79c515b244625cf4f4978_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df2cd1f02a88e4104ad5f2a6a3b742e2b0ba068c08ed9619744ad415a9d0b051 +size 48190 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/28f9598c1cd4a12dcf83455c95ea4fcd_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/28f9598c1cd4a12dcf83455c95ea4fcd_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..41bf6f0ba895af23f116ce583d8c62da2f18d908 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/28f9598c1cd4a12dcf83455c95ea4fcd_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4c70db1f3ff14f71ded4411099fe89b55a3c65444c0228d4ffb644206f7a51c +size 37445 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/29fbbed4c4aff19e9ac5bf98e0c9b24d_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/29fbbed4c4aff19e9ac5bf98e0c9b24d_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0c84542640e8549b8e8be28e7242005197702cb4 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/29fbbed4c4aff19e9ac5bf98e0c9b24d_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72368ae1c3afd3bda8c488561f01b23975fb8a0e1267e8deeec150de8373b247 +size 160972 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/2aea72b147efb82b46a78aaea9f1ac22_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/2aea72b147efb82b46a78aaea9f1ac22_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..08295a6575accbc9ca2b1014340c0a3d97aef99f --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/2aea72b147efb82b46a78aaea9f1ac22_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:347209b05c829deb29cac114cec57c8256924014d7ca0029b2cb3119786fb199 +size 39114 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..12a651485914eb6496e2770472418d7a5d66d71e --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0018f514e24a13bdb0f14aedef63d39965b30ee76f5abce11f0f160258628a29 +size 8269 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/2fa686ed8033ac35efddee0c7be47d59_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/2fa686ed8033ac35efddee0c7be47d59_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..189e51b83407a31db6aaca3a6dfddc3c0ba21a00 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/2fa686ed8033ac35efddee0c7be47d59_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40eeaa5141501a893e4d7a1535c32b66cd51e44565be654f8c2f2a00407d093e +size 50446 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/32d36dfe7dc75b7c63f8edf0f28e4009_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/32d36dfe7dc75b7c63f8edf0f28e4009_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a303b6c01485575cd31153fa93e32c3d183ce730 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/32d36dfe7dc75b7c63f8edf0f28e4009_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f78fc439e0cf89f2f6b45298b286ee6ea894d110d2d23f66b1d5195b5aae7e9 +size 15364 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/3349dc82c6333221b0610be6ee7250b6_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/3349dc82c6333221b0610be6ee7250b6_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..97142fb2a38d8364e816a5c80f5b6f6057c5f5fa --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/3349dc82c6333221b0610be6ee7250b6_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82936c6464047f312114b7a725fde73be7e264145c5b42db75ba9cbc9fb143aa +size 67263 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/33cbd34b2ff74e39d12fae4db73f5b41_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/33cbd34b2ff74e39d12fae4db73f5b41_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..70867b8bf70112ddf281753e2e9820a20bde75ff --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/33cbd34b2ff74e39d12fae4db73f5b41_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9de5a8decc5375d7efd73ae7a1919e0ff4f88c95cf7c65b9cc2a7a3318fc628 +size 49969 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/353d05a4935a6b770e9b80ed94762b6a_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/353d05a4935a6b770e9b80ed94762b6a_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..248b94bb244dccdffa4f129d5424cf1416a6bbc1 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/353d05a4935a6b770e9b80ed94762b6a_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28de32cc65b1b683f5628b9f3fb28e56cceaa990c60557e6112869640b77177d +size 36203 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/365b54f616aff249b4e6c0edafdcb9b3_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/365b54f616aff249b4e6c0edafdcb9b3_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..aa3b3085e8f9b423137db3f77a6f1252d04a7588 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/365b54f616aff249b4e6c0edafdcb9b3_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd631473e5b5e660b82fa2107d5d74018cbaa0142e7f6ee82c917d2b709d7c79 +size 124278 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/36898f219c353af987401692f4f00e05_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/36898f219c353af987401692f4f00e05_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..dd11b5d761b2e3fbfd282e81e13134bc3fbee104 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/36898f219c353af987401692f4f00e05_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b49b6046fcb4a152795144bc403dd7ff0202fcade9e7ae8bd8521fca4c142f0 +size 9740 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/376f80eb8a41369e87da63a0210d173e_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/376f80eb8a41369e87da63a0210d173e_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d2a0e9e4e9beb7e713ff9a5081651b47dfbf6134 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/376f80eb8a41369e87da63a0210d173e_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6a592e3f983b3ddeb57ddb40c7908e931d9423d4ea154a1b2829a39a7df74e6 +size 17149 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/393d4a0608986a997ae261bdaa50e9b9_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/393d4a0608986a997ae261bdaa50e9b9_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0ba6528772d0bde1817b06ac9fa89dae9a788bb8 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/393d4a0608986a997ae261bdaa50e9b9_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89189ee0c39c8749a6577d7ddf1661f5ef2e286d02bc3b352a28fdd164144ef5 +size 8605 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/3d590ad29ecfe728f07432e6fcb59064_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/3d590ad29ecfe728f07432e6fcb59064_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3075111f3505f65aaf339c363a9507856e1f8a34 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/3d590ad29ecfe728f07432e6fcb59064_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:096ddf446b278ed6c44a603634c8bddb38cd8ba063b673877ecac7cb92056f9e +size 17465 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/3eb2af31c2e61e2595c8440d726f5d4e_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/3eb2af31c2e61e2595c8440d726f5d4e_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..13198a7803b9ce246483cb6bc0d516edf47899e2 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/3eb2af31c2e61e2595c8440d726f5d4e_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7acea563c014fb0676846112eb012db5becabf40a20709a92b882c6197c2e6a8 +size 21756 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/415ba50c9d9d7764be52dfed39f6ae43_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/415ba50c9d9d7764be52dfed39f6ae43_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7408b633a56646c682f3582ff1e5b1e20fd23e2f --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/415ba50c9d9d7764be52dfed39f6ae43_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3318821250db6a72338a9813dbdbb8abb29326b425837b8191ba076320b31ae4 +size 25597 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/43fed1059c7f314ba5b8e5584b33c3b3_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/43fed1059c7f314ba5b8e5584b33c3b3_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ac0ffe3a80fe7c6797b1b48909a361fdce12dfb2 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/43fed1059c7f314ba5b8e5584b33c3b3_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c3397e26ea77044ca047c35a42fa3c819a9e7218a998ebad4f8d2373053ff7ef +size 26651 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/45ea58ce337aa5583b7d8adaeeb28279_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/45ea58ce337aa5583b7d8adaeeb28279_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..aac43272cc3015856783ad6640fc8252ff57585b --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/45ea58ce337aa5583b7d8adaeeb28279_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87ccd1bb98abefdd0fd1f72db4163fdcf8839c4fa50bc55f9cee4eaf052be9b4 +size 44297 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/4706a500dbc72fdedc9bee99d7c78df5_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/4706a500dbc72fdedc9bee99d7c78df5_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1d9b3f3def71ba3445566cfa75314858e4ac16e8 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/4706a500dbc72fdedc9bee99d7c78df5_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d79d85f8c21594b3fa1ef4ea269b372ee26c7329004e01008cd2232f7a9c3d0 +size 27963 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/4778d9d7c0721f39c453edbe614ccf7d_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/4778d9d7c0721f39c453edbe614ccf7d_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..34b60811bbf4b74e56c874c3781e24a04f8f150d --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/4778d9d7c0721f39c453edbe614ccf7d_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed4760d627fac0d334b6957dea514925c5c01d5289781c761173564cb2436cae +size 12112 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/47ab805b7e6a0b6eb9e379fd8da934fa_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/47ab805b7e6a0b6eb9e379fd8da934fa_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4a58932fb40a637b7380f2139f667f3ab48bce26 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/47ab805b7e6a0b6eb9e379fd8da934fa_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa2d212dcb280d75ddff257abdac9e140ca6ebb239fbbc58b40cfc6dc5350993 +size 16629 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/4851479cde0f63d07f4db536c69bbdef_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/4851479cde0f63d07f4db536c69bbdef_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3bddf4e3fde1183d04868b7cca6c72436abfe76f --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/4851479cde0f63d07f4db536c69bbdef_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:601e3bcc7795ce317af34d0e16eeb8ec3fe14bb109b00944845d2af3a4f3000a +size 54662 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/4aeafa83d297a9b124c73904c5a49437_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/4aeafa83d297a9b124c73904c5a49437_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6132c58988d120dde8c58c27f130ec2a0ecae7fb --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/4aeafa83d297a9b124c73904c5a49437_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a03e5af205bd5592a36401d1f74e20ce6ea771767c6fafeb0e3b212af119a0b +size 35590 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/4b6339d67a122af171cc676bde024524_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/4b6339d67a122af171cc676bde024524_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..65c94a15cc2fb0069318dfc69bd59a9fcb2caa97 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/4b6339d67a122af171cc676bde024524_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f71ac5ad93d5ef86c96e07ca681ec27bc84d869f4447d8126d939a92d330ece +size 10379 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/4b9e2f848d66a0b3c2d4553b965933c7_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/4b9e2f848d66a0b3c2d4553b965933c7_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..91ce9f761985f35f0c00dc43c07ee7f3892afa0c --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/4b9e2f848d66a0b3c2d4553b965933c7_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d594967de112e4ede3da9f69917a7aa123b35067fd3150f1440d607e7d8df615 +size 47396 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/4c3cf5d00a9dfdf1705e49f7f3a3d93a_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/4c3cf5d00a9dfdf1705e49f7f3a3d93a_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ed63a61f883d78e85e6bf06405bb10d23d700da6 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/4c3cf5d00a9dfdf1705e49f7f3a3d93a_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06a004e2a19efe5e00222e27dfe41e914ac1dc03b21702fd436c228c7b2946d2 +size 31303 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/4c63a0e17b54c7e61d512c276932114c_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/4c63a0e17b54c7e61d512c276932114c_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6c9dc4831d2dd874d7018d9bfde0d7b0d25d956d --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/4c63a0e17b54c7e61d512c276932114c_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ecf42c571ea210fee92c6cde8050583a8e6aa17d81298af42509c2557742b12 +size 28063 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/4f148853ae68fdcf5e43f7604cab457d_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/4f148853ae68fdcf5e43f7604cab457d_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9ffc40e5dcf37796a885a74e2c96bb7da94d3dd6 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/4f148853ae68fdcf5e43f7604cab457d_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21f698acc8411b2d8c44313f356310555f16798f05e718e657bb0782cd43faf8 +size 15018 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/55d0ecdde4d2ccdeedbd144ac0fecd2d_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/55d0ecdde4d2ccdeedbd144ac0fecd2d_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8a400366b06123928efff372fbcbd46c50252c9c --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/55d0ecdde4d2ccdeedbd144ac0fecd2d_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2950085b4ff53c781a2de38bfb7cf2dcc460bd9d548c07aac80910824f053880 +size 83104 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/5801c19431e76330430e92a598cc7a16_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/5801c19431e76330430e92a598cc7a16_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d624650b211e69c658de0c34bc6ac09c993d7883 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/5801c19431e76330430e92a598cc7a16_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f1afc7ce6260442e748c8fb50c1c71cf4de83488a626b7286c100f642a5ad62 +size 35870 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/59417013c6759d15ff749c2026e6f726_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/59417013c6759d15ff749c2026e6f726_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..af10791e1f50c5870c000a8bbc734883eb25a671 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/59417013c6759d15ff749c2026e6f726_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed9c49df24074dd5670efb4842a9fbaba638813080ea94e25e2971bcc12c77a3 +size 57605 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/5ea288cb741dddda2a54203184649b5a_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/5ea288cb741dddda2a54203184649b5a_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..acaff21ed5655fa8d451c1769c15533eaceb8bea --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/5ea288cb741dddda2a54203184649b5a_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cbb532efb5e32dccf6c79b7a61610e71f986ee07efd3a5e01267c9d0b745e345 +size 13395 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/5ed662a589ef8a6d08d67ae2fd275216_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/5ed662a589ef8a6d08d67ae2fd275216_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4847b9dbeeebe1b53b01b33595c2a95cab1805c3 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/5ed662a589ef8a6d08d67ae2fd275216_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:03226636433520db0f3b8802a084b67775387fe45fd324afc2864fe14e8e19bb +size 55233 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/5f7b02749ab85c5e65d6762767ab6d97_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/5f7b02749ab85c5e65d6762767ab6d97_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4e7680ad2f621d9ef0ed94b8a18a8e664ba007ed --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/5f7b02749ab85c5e65d6762767ab6d97_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1847f3b23315b13b14fcaa14040c244bd4694777de1c8510b96846adcb8b2a4 +size 114298 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/6322885569221ec51d70560d7dba1339_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/6322885569221ec51d70560d7dba1339_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1e1e167db26b17336d4aeb06db4773531162e8d6 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/6322885569221ec51d70560d7dba1339_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29006a41d47f6da4484feb1a6321b915bd09d1497a3a2b801bb8c92cee8d6695 +size 63702 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/643af12d37ff807bcfea684e7c7abf31_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/643af12d37ff807bcfea684e7c7abf31_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..79dbeafcdecbce15f28391de1fc773ea6107a9b5 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/643af12d37ff807bcfea684e7c7abf31_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:afecf53becad2ee29ad466b2b977f170672176906b433bf3a1e0aa69c62ec856 +size 26596 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/66829132ebdbaebe4455fb6162ef7180_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/66829132ebdbaebe4455fb6162ef7180_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8afec5c27b11c441a654c077f185c607647de6ca --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/66829132ebdbaebe4455fb6162ef7180_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4187ade5c849fc667d67934112c2825176d101fe09720bd2ea60a58a7ac6b3a +size 44955 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/69d00e8adf9811292427fb2ce6712e39_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/69d00e8adf9811292427fb2ce6712e39_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f155cbd34261a1331f89f92b000c194aa2bbdd10 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/69d00e8adf9811292427fb2ce6712e39_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9825cf0b719ee11017d8f16d30a57506093c43b29bfff8764cf12f03c400041 +size 28272 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/6caa056e54d81c8403fe884e3c29fa66_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/6caa056e54d81c8403fe884e3c29fa66_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1f4b448f2cd445b761d8e185cbbf6b7273d9f7ef --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/6caa056e54d81c8403fe884e3c29fa66_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8ed129720bb952f8a9973d7aca28570a9c810fb4b37dd2f6046bc66963f9f67 +size 45627 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/70a863dc6cd47bac82c12162a9479aac_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/70a863dc6cd47bac82c12162a9479aac_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7f3e1df1611548dd08f4871c24c8d84532a261ae --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/70a863dc6cd47bac82c12162a9479aac_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b956b554eb5f178be77e0a08f25e756a0f231ebf439dbebaff7f25972208cfb +size 34968 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/7aeb1d06016b3a52a1d68ed9518dbbf4_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/7aeb1d06016b3a52a1d68ed9518dbbf4_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c98adf465b87c12d2ccc7bf3456b57850e30fc06 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/7aeb1d06016b3a52a1d68ed9518dbbf4_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c437dde1356855a4dde04f7fc5f878293abf6d63fec6672c6ae4d9982449be27 +size 52137 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/7b97f1c8a5f85a024001504ea85a4c60_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/7b97f1c8a5f85a024001504ea85a4c60_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ce4dee48aba0244195409262892003dc4bc0e7e4 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/7b97f1c8a5f85a024001504ea85a4c60_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bcf72a89d13b5f4007e19298f799118b65298ec3f1142ae6dde78cbbf7557d11 +size 9697 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/7e96b46e088584838469f51c1d8d16da_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/7e96b46e088584838469f51c1d8d16da_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0b463a14a4ef8cf945f3cd46edf19ec52b26f7a4 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/7e96b46e088584838469f51c1d8d16da_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2db2037b1d2552bff42e59cb0cfe25e1ddf6287caf7a653a2b9a47f4582aa661 +size 16384 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/80a44321a02e8a7d638ac9d53e88772c_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/80a44321a02e8a7d638ac9d53e88772c_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3d8e0b6e0787d6f4f49c8d2644957feaff10ea0a --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/80a44321a02e8a7d638ac9d53e88772c_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26b35a283fb25748427e0509ff1837dcc8ccdbba21023449dba112915cd52e1d +size 63023 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/82828d3c49d0c1171ef6712df66ece08_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/82828d3c49d0c1171ef6712df66ece08_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..016e36f94409ab3d8c722ce35bf396146767a394 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/82828d3c49d0c1171ef6712df66ece08_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7c79b8a860e7ea0c57a447468fed52e244f4c354a3413770ea2f5ffb4541f39 +size 6660 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/86c74ee06f834f849f6cd094ca0b5867_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/86c74ee06f834f849f6cd094ca0b5867_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5474c604f99242f4dce3a9362a8b330038e9285e --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/86c74ee06f834f849f6cd094ca0b5867_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48424663a04c2979c12b573f3932812a897df2516fe4dc5f5712e43f516f64ae +size 90183 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/886af5e2ffd5d8f11079c547675cf882_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/886af5e2ffd5d8f11079c547675cf882_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d921d97a9fb8fccaccdbf9b8d2660381a85e69b9 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/886af5e2ffd5d8f11079c547675cf882_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21748e6f873a4de78fbab47eb53b4a42cc13d9ab89390f963ad388c026003bf7 +size 29575 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/88980d13d6e88a2e54ffdcdc02ba801c_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/88980d13d6e88a2e54ffdcdc02ba801c_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4082cbf754583b7fa3b24487dd21e271cefe770d --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/88980d13d6e88a2e54ffdcdc02ba801c_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e17ed6c17eadcb4496e8ec30ef8d77e4e6852bb25dbd912a7340f9b6e3961c5 +size 13581 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/88c92858439684b2103e88cb143fb98e_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/88c92858439684b2103e88cb143fb98e_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e8c8d7363b922a83d8478574cf26f3af43e980b0 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/88c92858439684b2103e88cb143fb98e_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73d4b1aa3df933fff03a68efa10f6b678add16e2a1dec65674e2283092107e93 +size 112662 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/8c348bf9c2c81b018017ae1d19506a9a_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/8c348bf9c2c81b018017ae1d19506a9a_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e768af2d74881a70f56cbb6257956d50c79c961f --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/8c348bf9c2c81b018017ae1d19506a9a_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b26e9e9a92ead3be61bc0f42a4c7a6864b56aa63f4f1c04d871b6a66579e0a21 +size 87494 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/8d9be1ac4372e563dc3eb6d4aa5690d6_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/8d9be1ac4372e563dc3eb6d4aa5690d6_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..385ddde150828c24b55a085e2e4d6bbe9acc1b8d --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/8d9be1ac4372e563dc3eb6d4aa5690d6_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:198c5efbdb9745dcf41a653d0f6d187c6375db85841d6cd3ac48c3eed589aee0 +size 13588 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/8f2d2d466bb3a096c1872fbc29ff4063_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/8f2d2d466bb3a096c1872fbc29ff4063_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..356d1857c116dd7b0054ee1e84d723b0579c36b6 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/8f2d2d466bb3a096c1872fbc29ff4063_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:386186da59e1a8c23581ff5a3913746d64064905231f1f4fdd1c9526e330bc4d +size 27905 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/8f7c0bf0c75a31fee6b0c7392ff57c39_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/8f7c0bf0c75a31fee6b0c7392ff57c39_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ffa985133106a48d1dd7593799edced23d4b6335 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/8f7c0bf0c75a31fee6b0c7392ff57c39_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:812b0f4fdc43ed54b551575402d53bed0cdb1ebab71866291935abfecc7132bc +size 21792 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/8faeb7db381e28ab1ba06e9f48c19c6e_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/8faeb7db381e28ab1ba06e9f48c19c6e_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e405130981e7eb2b66b412dd5d80685e8b06fc16 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/8faeb7db381e28ab1ba06e9f48c19c6e_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db6f89e55dc87ddf70584683bf6805b1f7c4c3a5bd34e4461fc806977616bc38 +size 41931 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/90ddf538ef276510e2b631f7b96654e6_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/90ddf538ef276510e2b631f7b96654e6_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2a9150b1e00340d7282fce682b74e86ae1f276ce --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/90ddf538ef276510e2b631f7b96654e6_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa30ae9f6030950198ea27d80dd10db8f31b3737c2277cffd1cc054ab44926ed +size 25754 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/923c3bd3420f28b00798eed4f8eeacd1_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/923c3bd3420f28b00798eed4f8eeacd1_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..53f60ad8c89be0781b763f2c3885ffc91e5cbb2e --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/923c3bd3420f28b00798eed4f8eeacd1_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e19ac23ef87eeb37cb295fa1f4e75fca3048671d242b14c2a2831d73c54fb6f +size 43378 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/92c4d3a4d29d64c167855449f1aeba2a_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/92c4d3a4d29d64c167855449f1aeba2a_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..14f747d289dcbe96cdb7b654dec97eb8433cf6fe --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/92c4d3a4d29d64c167855449f1aeba2a_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b6d1a7567cd9c3a7c9c02d40b5265400706c456e76f787825d9eb24fa5c9122 +size 27894 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/93bd00a00fa28558486f0664550699b1_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/93bd00a00fa28558486f0664550699b1_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c50898183d33d4f9b07aa06616a91efab8249f7e --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/93bd00a00fa28558486f0664550699b1_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:19a2a9f4ab8c75c098a89dbc40893268cd09fd1b197c95db9116f65a843588fc +size 27412 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/96f7fca1af2fc56edf670abd3ec79726_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/96f7fca1af2fc56edf670abd3ec79726_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bbe53d11fa201ac5ebb4c74fcc503428363c8fa3 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/96f7fca1af2fc56edf670abd3ec79726_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ac1ba3f423530b0974f90051213922f2b197645319bc55d2900297efdf2eca2 +size 27693 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/985267cff5b5d65ce5c180ff2ef37118_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/985267cff5b5d65ce5c180ff2ef37118_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..42741ada57d1591036e09635198949fc85ba630b --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/985267cff5b5d65ce5c180ff2ef37118_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71187b8f1b4c35954e6464f6caa297186ab04201e8b273c5048b4fc3b7c4d462 +size 15328 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/98e54d5540b2efe3e24af3cf936bc4ea_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/98e54d5540b2efe3e24af3cf936bc4ea_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..fefe6728b7c74239cad66ea5aa63109b0ac02b36 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/98e54d5540b2efe3e24af3cf936bc4ea_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a71d8949011150f4fdeffc04d630c2cacda3e4faeb63fa706c1122a8b0b91c4 +size 16027 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/9b39a1d27e49bccd8767e8d5fc0be7fd_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/9b39a1d27e49bccd8767e8d5fc0be7fd_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..14ad063acdae03d2a3cfba8b07d7d4191455f2b1 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/9b39a1d27e49bccd8767e8d5fc0be7fd_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c34d175206fe3e1498b0ab7f2f1f920462d3843fdb45de7a536e2f2a6950ac16 +size 26934 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/9cbc1ebd80813fc36e499f7d70ed6881_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/9cbc1ebd80813fc36e499f7d70ed6881_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3ef09a1dc0371c4cccccd5c299dce8f939586dd3 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/9cbc1ebd80813fc36e499f7d70ed6881_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:60477730f100c8c5f74018322fbc97b5d043720d260875d00225ae0be52af5a5 +size 30517 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/a003ffe7299e0a48bceb7f1e45a4f1a3_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/a003ffe7299e0a48bceb7f1e45a4f1a3_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5730bcc20a1be4043daa00c9816d03e0e5cfcd1c --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/a003ffe7299e0a48bceb7f1e45a4f1a3_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd94c7e2975eb4089acfdb6d03a6a5effd867d44ecdc0d5ad8bce91691994392 +size 25511 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/a149b400127a3e3e50b3c98d27c5935c_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/a149b400127a3e3e50b3c98d27c5935c_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b3e7552e0c60578b19119f54d606ce03c7b2c477 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/a149b400127a3e3e50b3c98d27c5935c_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f014f7cdbbcdae21cacf28598afc832a2b504628256bf6c1e9aab1ba1089cb01 +size 82471 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/a3476b0e9a7807008e84337e16b34837_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/a3476b0e9a7807008e84337e16b34837_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bede9816bb37944254a1d82e9ae8384d4dfbc9e3 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/a3476b0e9a7807008e84337e16b34837_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7b2004c34584b2d6321e2196e448324cc90753a602063011ff536280867a7a7 +size 7376 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/a37f48ee0216856cd8fa51f11177fb7f_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/a37f48ee0216856cd8fa51f11177fb7f_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b1102261873d5bdbdd1a9366c09d3f11d05b8a2b --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/a37f48ee0216856cd8fa51f11177fb7f_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c66c67d4ec9dd8f0c10fd6e751d78adafe624cf78159955ac37ea94278e42460 +size 45314 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/a93e145fd70325b1828e19710266906e_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/a93e145fd70325b1828e19710266906e_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f6f8aab77289b313a263b7173e2da19784d82c1e --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/a93e145fd70325b1828e19710266906e_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e086967a3dc5f951de4f11b3d427c7f110d50b9a31add7c6595e85bbb0b3d965 +size 18102 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/aaf3e6e44cdeabd6d1df869c5f392ea1_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/aaf3e6e44cdeabd6d1df869c5f392ea1_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..07b4a5e08ef9612d3c11a35aee606bf3f3b3b7e4 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/aaf3e6e44cdeabd6d1df869c5f392ea1_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:911128d93a813099e774974d8edf5e2b0ede37ed19b1042560e54196d1c36055 +size 84538 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/abeba89144744fac6a1571aa9f94889e_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/abeba89144744fac6a1571aa9f94889e_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0fa83204f1c2b8257134441f730e8926eecd916a --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/abeba89144744fac6a1571aa9f94889e_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8d7dceedde3178049f09c16e3fda23e1923b32ad6795c9c8b06c158238cd959 +size 135523 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/ad408c10a933c3252083c24300e44c5b_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/ad408c10a933c3252083c24300e44c5b_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..eef4fd9193fe2c6c33ccc9c17dc6ad4c08e48f81 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/ad408c10a933c3252083c24300e44c5b_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11bba7354ac14683145903266c0dd7671ce74e7a0bbcd355e085d781adf6fceb +size 10627 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/aeb2a26a07219661191294dba528067a_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/aeb2a26a07219661191294dba528067a_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f8435b791e58b49c601046323f00c0e0212160a8 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/aeb2a26a07219661191294dba528067a_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92f5a8fcca4bfc93e30286dd2259a993afdbc3838053927f389aaa98dd14e6d0 +size 25326 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/b18f943d96bfcb2b1360a27b9e45e11e_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/b18f943d96bfcb2b1360a27b9e45e11e_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..50ffa0a0028cde7269edbd48c08a537537b69c01 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/b18f943d96bfcb2b1360a27b9e45e11e_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5080b95f10ec3e1378ad9d7675a397cc6453e183303a8c341a906c4173d7af5d +size 51481 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/b20942bb14022381a243971ab9790dd9_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/b20942bb14022381a243971ab9790dd9_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ce6cd620a1864016739821cf7fc00eb3cfac0fcf --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/b20942bb14022381a243971ab9790dd9_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b0da01fcc9e3a9f5eded1d62dd2015902dd2a3993f9d13e2007a04e74a05f63 +size 20035 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/b235edb1dbe659e2782c9a0e47775ca4_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/b235edb1dbe659e2782c9a0e47775ca4_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f5dbbb1e7f38e4fa79e104ef61446713f9057ef7 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/b235edb1dbe659e2782c9a0e47775ca4_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:990dc4e713bdb196dc0fb7443c6db618aca896db0abbdc247cc0f7e464d85033 +size 85304 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/b2cc37ae1974ec7b87b91f54963b855d_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/b2cc37ae1974ec7b87b91f54963b855d_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..81801ddd80f26208b8347e43618aec446f18c5f2 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/b2cc37ae1974ec7b87b91f54963b855d_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:07a394e2e6f2ee25b24dc2e2342d726f75b176674b56790bcb522baa0a71b1a9 +size 79098 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/b35ea3e304aad7d350a9902270413930_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/b35ea3e304aad7d350a9902270413930_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e55cb8793cc7f217cee0dd7bba31de0b5a6cce58 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/b35ea3e304aad7d350a9902270413930_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:785cd4657d3c7b75b131b9ece5e99d6f7ddf42cec8fc40380e8a3f2e62a98cda +size 28019 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/b4b91e1f5ced9a2bc4a7f3b038cf3fb6_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/b4b91e1f5ced9a2bc4a7f3b038cf3fb6_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8d96064da05c465f5e21ba14c3a9a2cc0edcf60c --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/b4b91e1f5ced9a2bc4a7f3b038cf3fb6_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28cdef889253b9a625aef25b883684127856dead8318d4982c2f3fd54568e124 +size 112659 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/b4e87dd6dfd65e6398a50b237cf9d268_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/b4e87dd6dfd65e6398a50b237cf9d268_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c3721e2880682b2bea4b6c51db94391444f09ec9 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/b4e87dd6dfd65e6398a50b237cf9d268_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5332b59578149a937d009067978a3b811ce7bf672c13eb6e3d3187f54cf31f9c +size 44690 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/bb2c781b05b5c5a1cc3af4a47c291428_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/bb2c781b05b5c5a1cc3af4a47c291428_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0780eefc987fa0413e61a79c7037ef33b723bc53 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/bb2c781b05b5c5a1cc3af4a47c291428_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:933766dedabd6197945d4fcf7258577ab78d6709d7327afbd377efd96fba0ab5 +size 10327 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/bb8035cd106b4d77b3615e90645f8e37_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/bb8035cd106b4d77b3615e90645f8e37_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2faee532d9e132109a0b4f28e9e36feb5209ff15 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/bb8035cd106b4d77b3615e90645f8e37_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e21f547b53bf1dda1620c67e4ab781ed586bddd6fc15ae4f54c68d3679bfd72 +size 50127 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/bcc5e48817a7383c980f2165bb571508_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/bcc5e48817a7383c980f2165bb571508_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cbee47d0288c8de2cd8b36c9e0b1be0fecbc230a --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/bcc5e48817a7383c980f2165bb571508_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:717ebc4be4cac0b5a649b0415d165a926f861f989439ab58dd502a6a35619b10 +size 14035 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/bccc028d0e75bc30c41528056f581545_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/bccc028d0e75bc30c41528056f581545_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..16fd026dc5c3bc514f785d8ff3dbcb56e6318877 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/bccc028d0e75bc30c41528056f581545_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:053601f3f0a031ed9b45b5f60a9fcce8ae86b24d02bfcb88821ddd36725ff0d8 +size 17519 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/bdee2715697a4142d16a360549fa7c7f_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/bdee2715697a4142d16a360549fa7c7f_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a05487a923755aa8a090e677873a20982993fdbd --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/bdee2715697a4142d16a360549fa7c7f_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e69799a178e1e00481435564b81a3b6211cf142478c8b34cb484b73e24461a8 +size 51214 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/beda549cc2a4e2b9ac7f74fe9ed72b67_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/beda549cc2a4e2b9ac7f74fe9ed72b67_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..19a1ddba5e06ee64f4d4adf1962909ccf267226d --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/beda549cc2a4e2b9ac7f74fe9ed72b67_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61d210a0f08f48057c8e9a58f673824f55ad287c21aa075b899186a230d64515 +size 52124 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/c5a20f7bae219fc4c31f7376b7eb11e1_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/c5a20f7bae219fc4c31f7376b7eb11e1_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..85f9b27f15d5160851290fa5f5c9f2568890a14b --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/c5a20f7bae219fc4c31f7376b7eb11e1_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c780beb0da1dbc0e3230e84ebdae5617494ad45884b328f54cef42434f2cb8bb +size 27747 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/c78f017dab5586c098c5d7c6a8f1d432_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/c78f017dab5586c098c5d7c6a8f1d432_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..331598e57398374d5d4752011867e226d0a5693a --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/c78f017dab5586c098c5d7c6a8f1d432_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43df8f0b639f7353549e811d8d2392380ca65f120c8f7f14b4d8833e83b1779d +size 39985 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/c7973a89da29a4a59561e36561984333_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/c7973a89da29a4a59561e36561984333_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2f1f2cf663579a6f05c69b208bf0e607fd564dca --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/c7973a89da29a4a59561e36561984333_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6aa6e4e62ca9cb3ead78993ba147cadf075cdb1be4088f832b07ee744bc2f4fe +size 20560 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/c79d10d97e1f525e9c85e96e91616923_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/c79d10d97e1f525e9c85e96e91616923_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..75416bca05e6ce24fdbfbda91d8d8d60b75b3c5c --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/c79d10d97e1f525e9c85e96e91616923_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3117f67eb6171fdbb5f4e410d1c80ca4e25edea6fbdbaa053d40c81202cefd0d +size 58623 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/c80e1284549c9914d0249b0e749c500a_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/c80e1284549c9914d0249b0e749c500a_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ee1c05c2b8fad67c97771e55df03d5cc554e8b14 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/c80e1284549c9914d0249b0e749c500a_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:19e828c6587db4f797f4d29920b5f84d32af3c83afaa04b25b4c41bb875d04de +size 43682 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/c81ba32b61950526476a859c10956433_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/c81ba32b61950526476a859c10956433_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5fcb2455367d60da09df1136a3bbcaa84236ead9 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/c81ba32b61950526476a859c10956433_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a0fcfed051d812efca982121c7ff4f920800a9a9ba5e8193d79fb4d750c5ce7 +size 28080 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/c8363610940980ea7cd1611443c94ef5_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/c8363610940980ea7cd1611443c94ef5_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3b70b0b6a2c18fa965978d12c4e6010d1251a8b8 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/c8363610940980ea7cd1611443c94ef5_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fab2c740968fe6393b125992a7c5e0a8b7f566de310fd7884f1c0cd26cae2dda +size 24554 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/c9e2a114dcd84c4d10e4f411ab1288a8_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/c9e2a114dcd84c4d10e4f411ab1288a8_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ce2cb7592888aff21a54d2d3717836d7a0547e2e --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/c9e2a114dcd84c4d10e4f411ab1288a8_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26f4d608ac9e17d2c2895927f9cd76f01eb062256dbb460ab4cae21957c609ed +size 20648 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/ca5555bb37f54857199d243feff8479e_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/ca5555bb37f54857199d243feff8479e_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..deb3c54b6d435654fa5ef4273c0bc69c1bba426b --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/ca5555bb37f54857199d243feff8479e_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01b9162253718181714b20a27a557e570aaf64a8dad949c8d8c21361960b2b21 +size 55579 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/ca86f53f9735fe98b6c6003d1b759f64_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/ca86f53f9735fe98b6c6003d1b759f64_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..494587f54d258f0b644e9c371382f6719d7e2d22 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/ca86f53f9735fe98b6c6003d1b759f64_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a045d1f53d228b37006972239a8c60055ec8cdc90a940931f6027a0bcdf63091 +size 20499 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/cd3dcf61c1ffdb1e63e10d4761f492fd_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/cd3dcf61c1ffdb1e63e10d4761f492fd_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3bbfb3307fe738d7b7ce0d83a8e80eb9322b1a17 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/cd3dcf61c1ffdb1e63e10d4761f492fd_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ecd3b994478a614b33e918f1508fa13ccdb86fc5c91126248d90e62cc8b2d28 +size 42696 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/ceb6fe29e2d57711907569c31182b3c2_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/ceb6fe29e2d57711907569c31182b3c2_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..af012058cee593236134115eff308b9793796828 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/ceb6fe29e2d57711907569c31182b3c2_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee4d5ac54d8e0f44a42248f8f7b181aa4ac5629cb249440a108a3704f68809cd +size 17625 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/cf018d13814389b0bd7f94a2f9bb812a_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/cf018d13814389b0bd7f94a2f9bb812a_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..415afbe6065b88ca59b40d8ae88ed7a8e266719d --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/cf018d13814389b0bd7f94a2f9bb812a_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:843f44cc00641cfe96c6d4f3d4398113d13150d3c25a9a8e797fa45236ed2687 +size 28954 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/cf8d9315f7f99ef87b4040c7312c5c6f_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/cf8d9315f7f99ef87b4040c7312c5c6f_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2f9b500386f4a8f08846d68f67a60cab67dc75ca --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/cf8d9315f7f99ef87b4040c7312c5c6f_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d09b1dff45e5172a0e3957fb88b3bae0b6340d7ed378765705edd15ccd23597e +size 132951 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/d33f50868e9cfda1b1206833c4061e12_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/d33f50868e9cfda1b1206833c4061e12_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..608bd8818c01d9987d41914eb0b3b12dc11aedef --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/d33f50868e9cfda1b1206833c4061e12_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3de88f5e32ccf0f408885dbce9c2016f96bea72dfa38deaf65b8b186cd788b9e +size 100973 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/d9638e837004a4e09dbbc50b8aecbd5f_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/d9638e837004a4e09dbbc50b8aecbd5f_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ba911bf93c9463a4bdf8e8103f72300f75a12fdf --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/d9638e837004a4e09dbbc50b8aecbd5f_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:407293edbc6a458b4411cd8e8a8893634cfbbf1679ee68ff81eda4ed69a5cc88 +size 40502 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/da4689ba847c2f4c5c713dbd36de987f_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/da4689ba847c2f4c5c713dbd36de987f_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8626aa267f9dd13c6e17c82e0fec59eee702b82d --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/da4689ba847c2f4c5c713dbd36de987f_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f800f81e4a1ab746143683dbdaebefdd5808ff0960e5eace5e3a64b6204e2f6a +size 5802 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/db5deafdae53dbc7d5972957f708c691_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/db5deafdae53dbc7d5972957f708c691_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4394cc9d328306bbd1a1788a8f8c910888f70a10 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/db5deafdae53dbc7d5972957f708c691_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91db31a27e94357b6101118d28f9018d8eca24a3ced2244e6324a9b228fdbc88 +size 47231 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/db6a88d019f61d8c95703a54e12a0ec5_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/db6a88d019f61d8c95703a54e12a0ec5_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ce51cc277e1ce1410c085bfb8c87009fefb7f85b --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/db6a88d019f61d8c95703a54e12a0ec5_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d7b956f45ddd922d29313c765e3f0cff24ad51750d6b9b9e1760cb836831186 +size 24202 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/dbf5c0f3c7836f717d9fe62c6c40b280_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/dbf5c0f3c7836f717d9fe62c6c40b280_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b56eb3407b4f7543b11f2ee0f929f2dfdbcf7c52 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/dbf5c0f3c7836f717d9fe62c6c40b280_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9902f9ff6538c0e28d6ed4efe9bc5082e5c79a4a02efba037ceae5fb0a9d4778 +size 40050 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/ddfa5b18550d1a022a941e3c31843814_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/ddfa5b18550d1a022a941e3c31843814_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5e5cba234957e83c4cbf23987a0f786d4ec446ba --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/ddfa5b18550d1a022a941e3c31843814_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9e6146fe5787ae66bd13ce55b2a628b18a5c87d1f785a72a7f0626a04306d5b +size 18438 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/de63e4b6d8b0aa76b85e1fe3236eac27_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/de63e4b6d8b0aa76b85e1fe3236eac27_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cb0e3b12616ca97ef62e1ec0e06109e7e602b8cd --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/de63e4b6d8b0aa76b85e1fe3236eac27_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b17ee3fd51451b8fa502e4002b5d1fe0b92e01ce32d119d6f604ec641edf6541 +size 66110 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/e3026761f1da20ee91832039701984dd_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/e3026761f1da20ee91832039701984dd_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..21f97ecbea24f034cd210df55355d8c00112e7b2 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/e3026761f1da20ee91832039701984dd_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6229509b016c5687542dbcc7f9f1e8dc34c0a81e1907b26fa47155d8a35e5867 +size 24547 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/e47d450f315d0b633906c03cc91f90ef_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/e47d450f315d0b633906c03cc91f90ef_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..fa68a140cd2ed7bbe2539088352406e7e04e0759 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/e47d450f315d0b633906c03cc91f90ef_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f10c42d2864889ccb5a52e98753d14717d73ba8fa22a3748cd7b27d9e32a2cc7 +size 28310 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/e5e74a3be9619cbf5cfea6d02f3c6b9c_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/e5e74a3be9619cbf5cfea6d02f3c6b9c_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..19fd4fb9f3863d0405d61d684966dbf792dcc1a7 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/e5e74a3be9619cbf5cfea6d02f3c6b9c_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e34fe1fe09a7e46e53febabf502117312a44c10e6eb7f5e37f4eb48ac8df9165 +size 10216 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/e75b47d0ac4bd181879bc6abdf215d33_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/e75b47d0ac4bd181879bc6abdf215d33_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..54fb907e059dcf331034c689f65e75300f22d47d --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/e75b47d0ac4bd181879bc6abdf215d33_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9721b798b09c958eb80177fb1722a148735196b24ae037bb39b287966143f62a +size 7267 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/e7e5bf8091872a80c572fe532b5d7010_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/e7e5bf8091872a80c572fe532b5d7010_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..01d2cb3877329592bc3a5f5bbbc9d0fc1049ac16 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/e7e5bf8091872a80c572fe532b5d7010_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:902ae1b0af7cb82b95c54c784f9ab1035104ed01e4ec7052cc69c785f4efe988 +size 39198 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/e94f8f1631cc515867e8c0ebd1bac7fe_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/e94f8f1631cc515867e8c0ebd1bac7fe_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f468976a08b811f3a400c2e872d95428842998d1 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/e94f8f1631cc515867e8c0ebd1bac7fe_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0eaa407399418349e30b13def030b2f2ff783c0048837d951d1675c841717a18 +size 40268 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/ed433287faf6ca3f88eaaf14968986d6_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/ed433287faf6ca3f88eaaf14968986d6_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9db90b0af35dff6cd7f93e8d50f2dc1142334e07 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/ed433287faf6ca3f88eaaf14968986d6_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2716d0abe13caa64e3ab2476d32e9f3040cda455be66bed1e569dd87ba61bc9d +size 14669 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/eea0bd1826a6e1bdcadff03936a7b20a_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/eea0bd1826a6e1bdcadff03936a7b20a_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1803129d9d84a96be09c0cd8495bf55e2607dc6c --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/eea0bd1826a6e1bdcadff03936a7b20a_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:183262b3910f977b0258bf03e29476cfa97bd26696e53aa4f66ce146f9f5ca98 +size 29983 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/ef5f5c6665b6ae13660ede412333ba45_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/ef5f5c6665b6ae13660ede412333ba45_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..196a766d3b42fe0e3e5ff4860b087577e12696d8 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/ef5f5c6665b6ae13660ede412333ba45_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e438ebedc4fd9eaf88b6f9764755247a4390d2e7fae1d44bf835dc365e7b497d +size 44419 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/f12fd90263d4329f529373b914096dec_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/f12fd90263d4329f529373b914096dec_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c1dafb3cda9eb55f28bab17eba37a29046c520d0 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/f12fd90263d4329f529373b914096dec_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9c8a5fa0c469b3d21f3df488701ea89f54fde1e0813728f2db0f88cf61ff6cf +size 49198 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/f2a3faa7fc860dd26eda5b88460b0bcf_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/f2a3faa7fc860dd26eda5b88460b0bcf_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f0f5969b366a7211d919c5d3f224c67d6b8e210e --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/f2a3faa7fc860dd26eda5b88460b0bcf_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9ee8c8b4aca8ae191aa8d2d822ba76fc6599b20ed594fed60dceeb56197e6d0 +size 110690 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/f5d2a88925807080157c7cfb1d41cf0b_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/f5d2a88925807080157c7cfb1d41cf0b_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..dd7961eb497f19cbca673ff028fd90f26f4b2e79 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/f5d2a88925807080157c7cfb1d41cf0b_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f6d5c3211ebb726fe83882e546d6b9e6098f8610ac1d1d9fcd1ad13bad11aba +size 36488 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/f5f5c0161d7d582a5a4c7227eb4e8eb0_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/f5f5c0161d7d582a5a4c7227eb4e8eb0_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e1b2b92a689b47a4c85e329b2d1c995d2f329722 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/f5f5c0161d7d582a5a4c7227eb4e8eb0_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:283da01c0653b8f154a521d0911d28484a591f3d23e65eb2cc6541b37f8acadc +size 156937 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/f943b07ab747bfd85e302e5a31c20ba8_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/f943b07ab747bfd85e302e5a31c20ba8_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c6ad867ecde8523e3fb5f2bf9fec19c8b8592948 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/f943b07ab747bfd85e302e5a31c20ba8_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa09ace49c52a2b3c28e4560a5b7b155a4449b79db94fee8afd6077d3e983e0d +size 28313 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/f97782852c7474fa58fcf5cd0bd96a7e_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/f97782852c7474fa58fcf5cd0bd96a7e_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cececf6f6f78ae4a1e733d55470d7f1547037142 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/f97782852c7474fa58fcf5cd0bd96a7e_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8368603b4c0548a61f3d82d1ff8c8187cdb0f296f6890b650d417b7abb17da3 +size 37933 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/fc7ea02351e757da3b2a8d1a49565e31_img.jpg b/marked/J/T-REC-J.112-199803-I_PDF-E/fc7ea02351e757da3b2a8d1a49565e31_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cd7f91668940820bcff8c0a5d73c3f1d75531786 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/fc7ea02351e757da3b2a8d1a49565e31_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef79ee70ff8ce3eec948291d915ba7d53f59257f469945be47d2e5009d7635e6 +size 9715 diff --git a/marked/J/T-REC-J.112-199803-I_PDF-E/raw.md b/marked/J/T-REC-J.112-199803-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..7eaeebfdb31310b82c9394b1480ec3e4820b3ce3 --- /dev/null +++ b/marked/J/T-REC-J.112-199803-I_PDF-E/raw.md @@ -0,0 +1,9527 @@ + + +![ITU logo](2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg) + +The logo of the International Telecommunication Union (ITU) features the letters 'ITU' in a bold, sans-serif font, superimposed on a stylized globe with intersecting lines. + +ITU logo + +INTERNATIONAL TELECOMMUNICATION UNION + +**ITU-T** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +**J.112** + +(03/98) + +SERIES J: TRANSMISSION OF TELEVISION, SOUND +PROGRAMME AND OTHER MULTIMEDIA SIGNALS + +Interactive systems for digital television distribution + +--- + +**Transmission systems for interactive cable +television services** + +ITU-T Recommendation J.112 + +(Previously CCITT Recommendation) + +--- + +# ITU-T J-SERIES RECOMMENDATIONS + +# **TRANSMISSION OF TELEVISION, SOUND PROGRAMME AND OTHER MULTIMEDIA SIGNALS** + +| | | +|-------------------------------------------------------------------------------------------------|--------------------| +| General Recommendations | J.1–J.9 | +| General specifications for analogue sound-programme transmission | J.10–J.19 | +| Performance characteristics of analogue sound-programme circuits | J.20–J.29 | +| Equipment and lines used for analogue sound-programme circuits | J.30–J.39 | +| Digital encoders for analogue sound-programme signals | J.40–J.49 | +| Digital transmission of sound-programme signals | J.50–J.59 | +| Circuits for analogue television transmission | J.60–J.69 | +| Analogue television transmission over metallic lines and interconnection with radio-relay links | J.70–J.79 | +| Digital transmission of television signals | J.80–J.89 | +| Ancillary digital services for television transmission | J.90–J.99 | +| Operational requirements and methods for television transmission | J.100–J.109 | +| Interactive systems for digital television distribution | J.110–J.129 | +| Transport of MPEG-2 signals on packetised networks | J.130–J.139 | +| Measurement of the quality of service | J.140–J.149 | +| Digital television distribution through local subscriber networks | J.150–J.159 | + +*For further details, please refer to ITU-T List of Recommendations.* + +# **ITU-T RECOMMENDATION J.112** + +# **TRANSMISSION SYSTEMS FOR INTERACTIVE CABLE TELEVISION SERVICES** + +# **Summary** + +This Recommendation "Transmission systems for interactive cable television services" extends the scope of Recommendation J.83 "Digital multi-programme systems for television, sound and data services for cable distribution" to make provision for bidirectional data over coaxial and hybrid fibre-coax cables for interactive services. Like Recommendation J.83, this Recommendation also contains several annexes in recognition of different existing media environments. The annexes in this Recommendation are intended to be read in conjunction with the corresponding annexes in Recommendation J.83. + +It is recommended that for the introduction of fast Internet access and/or interactive cable television services, the systems in this Recommendation be used to achieve the benefits of economies of scale and facilitate interoperability. + +## **Source** + +ITU-T Recommendation J.112 was prepared by ITU-T Study Group 9 (1997-2000) and was approved under the WTSC Resolution No. 1 procedure on the 18th of March 1998. + +# FOREWORD + +ITU (International Telecommunication Union) is the United Nations Specialized Agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. + +The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics. + +The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1. + +In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. + +## NOTE + +In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +# INTELLECTUAL PROPERTY RIGHTS + +The ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. The ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. + +As of the date of approval of this Recommendation, the ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database. + +© ITU 1998 + +All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU. + +# CONTENTS + +| | | Page | +|-------|---------------------------------------------------------------------------------------------------------------------------------------------|-------------| +| 1 | Scope ..... | 1 | +| 2 | References ..... | 1 | +| 2.1 | Normative References ..... | 1 | +| 2.2 | Informative references ..... | 3 | +| 3 | Terms and definitions ..... | 4 | +| 4 | Abbreviations ..... | 10 | +| 5 | Interactive cable television services ..... | 13 | +| | Annex A – Interaction channel for digital video broadcasting cable television distribution systems ..... | 13 | +| A.1 | Scope..... | 13 | +| A.2 | Normative references ..... | 13 | +| A.3 | Abbreviations ..... | 13 | +| A.4 | Referencemodel for system architecture of narrowband interaction channels in a broadcasting scenario (asymmetric interactive services)..... | 14 | +| A.4.1 | Protocol stack model ..... | 14 | +| A.4.2 | System model ..... | 14 | +| A.5 | Interaction Channel specification for CATV networks ..... | 16 | +| A.5.1 | System concept..... | 16 | +| A.5.2 | Lower physical layer specification ..... | 18 | +| A.5.3 | Framing ..... | 30 | +| A.5.4 | Slot timing assignment ..... | 41 | +| A.5.5 | MAC functionality..... | 47 | +| | Annex B – Data-over-cable radio frequency interface ..... | 84 | +| B.1 | Scope and purpose ..... | 84 | +| B.1.1 | Scope..... | 84 | +| B.1.2 | Requirements..... | 84 | +| B.1.3 | Background ..... | 85 | +| B.2 | Functional assumptions ..... | 87 | +| B.2.1 | Broadband access network ..... | 88 | +| B.2.2 | Equipment assumptions ..... | 88 | +| B.2.3 | RF channel assumptions ..... | 89 | +| B.2.4 | Transmission levels ..... | 90 | +| B.2.5 | Frequency inversion ..... | 90 | +| B.3 | Communication protocols ..... | 91 | +| B.3.1 | Protocol stack..... | 91 | +| B.3.2 | The MAC Forwarder ..... | 94 | +| B.3.3 | Network Layer..... | 95 | +| B.3.4 | Above the Network Layer ..... | 95 | +| B.3.5 | Data Link Layer..... | 96 | +| B.3.6 | Physical layer ..... | 97 | +| B.4 | Physical media dependent sublayer specification..... | 98 | +| B.4.1 | Scope..... | 98 | +| B.4.2 | Upstream ..... | 98 | +| B.4.3 | Downstream..... | 113 | +| B.5 | Downstream transmission convergence sublayer ..... | 117 | +| B.5.1 | Introduction ..... | 117 | +| B.5.2 | MPEG Packet format ..... | 118 | +| B.5.3 | MPEG Header for MCNS Data-Over-Cable ..... | 118 | +| B.5.4 | MPEG Payload for MCNS Data-Over-Cable ..... | 118 | +| B.5.5 | Interaction with the MAC sublayer ..... | 119 | +| B.5.6 | Interaction with the Physical layer..... | 120 | +| B.5.7 | MPEG Header synchronization and recovery ..... | 121 | + +| | Page | | +|-----------------|-----------------------------------------------------------------------------|-----| +| B.6 | Media access control specification..... | 121 | +| B.6.1 | Introduction..... | 121 | +| B.6.2 | MAC Frame formats..... | 122 | +| B.6.3 | MAC Management messages ..... | 133 | +| B.6.4 | Upstream bandwidth allocation ..... | 151 | +| B.6.5 | Timing and synchronization ..... | 159 | +| B.6.6 | Data link encryption support ..... | 161 | +| B.7 | Cable modem – CMTS interaction..... | 162 | +| B.7.1 | CMTS initialization..... | 162 | +| B.7.2 | Cable modem initialization..... | 163 | +| B.8 | Supporting future new cable modem capabilities..... | 179 | +| B.8.1 | Setting up communications on an enhanced basis ..... | 179 | +| B.8.2 | Downloading cable modem operating software..... | 179 | +| B.9 | Provision for other future capabilities..... | 180 | +| B.9.1 | Anticipated physical-layer changes ..... | 180 | +| B.9.2 | New network service requirements..... | 181 | +| B.9.3 | PID filtering capability..... | 183 | +| Appendix B.I | – Well-Known Addresses..... | 184 | +| B.I.1 | MAC addresses ..... | 184 | +| B.I.2 | MAC Service IDs..... | 184 | +| B.I.3 | MPEG PID ..... | 184 | +| Appendix B.II | – Parameters and constants ..... | 185 | +| Appendix B.III | – CM configuration interface specification ..... | 186 | +| B.III.1 | DHCP fields used by the CM ..... | 186 | +| B.III.2 | CM binary configuration file format ..... | 186 | +| B.III.3 | Configuration file settings ..... | 187 | +| B.III.4 | Configuration file creation ..... | 187 | +| B.III.5 | CM MIC calculation..... | 189 | +| B.III.6 | CMTS MIC calculation..... | 189 | +| B.III.7 | Registration configuration settings ..... | 189 | +| B.III.8 | Encodings..... | 190 | +| Appendix B.IV | – MAC sublayer service definition..... | 197 | +| B.IV.1 | Service at the CM..... | 197 | +| B.IV.2 | MAC_CM_802_DATA.request ..... | 197 | +| B.IV.3 | MAC_CM_DIX_DATA.request ..... | 197 | +| B.IV.4 | MAC_CM_ATM_DATA.request ..... | 198 | +| B.IV.5 | MAC_CM_802_DATA.indication..... | 198 | +| B.IV.6 | MAC_CM_DIX_DATA.indication..... | 198 | +| B.IV.7 | MAC_CM_ATM_DATA.indication..... | 198 | +| B.IV.8 | MAC_CM_DATA.acknowledgment..... | 198 | +| Appendix B.V | – Example Burst Profiles..... | 199 | +| B.V.1 | Introduction..... | 199 | +| B.V.2 | Example preamble sequence ..... | 199 | +| B.V.3 | Example Burst Profiles..... | 200 | +| Appendix B.VI | – Upstream modulation rates..... | 209 | +| B.VI.1 | Introduction..... | 209 | +| B.VI.2 | Sources of narrowband ingress..... | 209 | +| B.VI.3 | Fitting data carriers within the ingress gaps ..... | 211 | +| Appendix B.VII | – Example: Multiple upstream channels ..... | 213 | +| Appendix B.VIII | – The data-over-cable spanning tree protocol..... | 214 | +| B.VIII.1 | Background ..... | 214 | +| B.VIII.2 | Public Spanning Tree ..... | 214 | +| B.VIII.3 | Public spanning tree protocol details..... | 215 | +| B.VIII.4 | Spanning tree parameters and defaults ..... | 216 | +| Annex C | – Multimedia data transmission equipment over cable television network..... | 217 | +| C.1 | Introduction..... | 217 | +| C.2 | Definition of reference system and Interfaces ..... | 217 | + +| | Page | | +|-------|------------------------------------------------------|-----| +| C.3 | Protocol stacks ..... | 218 | +| C.3.1 | Interface A protocol stack ..... | 218 | +| C.3.2 | Interface A physical layer and data link layer ..... | 218 | +| C.3.3 | Interface A network layer ..... | 218 | +| C.3.4 | Interface B protocol stack ..... | 218 | +| C.3.5 | Interface C protocol stack..... | 219 | +| C.3.6 | Interface C physical layer and data link layer..... | 219 | +| C.3.7 | Interface C network layer ..... | 219 | +| C.4 | Physical layer specification..... | 219 | +| C.4.1 | Upstream ..... | 219 | +| C.4.2 | Downstream..... | 222 | +| C.5 | Transmission convergence sublayer specification..... | 223 | +| C.5.1 | Introduction..... | 223 | +| C.5.2 | MPEG Packet format ..... | 224 | +| C.5.3 | MPEG Header ..... | 224 | +| C.5.4 | Interface with MAC sublayer ..... | 225 | +| C.5.5 | Physical layer interaction ..... | 226 | +| C.5.6 | MPEG Header synchronization and recovery ..... | 226 | +| C.6 | MAC layer specification ..... | 226 | +| C.6.1 | Introduction..... | 226 | +| C.6.2 | MAC Frame format ..... | 229 | +| C.6.3 | MAC Management message..... | 236 | + +# Introduction + +Digital television services have been established in many countries and the benefits of extending these to provide interactive services are widely recognized. Cable television distribution systems are particularly suited for the implementation of bidirectional data services and this Recommendation complements the system specifications in Recommendation J.83. + +Whilst the annexes reflect the different environments, there is substantial commonality. The services may include fast Internet access and/or interactive cable television. The transmission protocols supported include, but are not limited to IP and ATM. The reference architectures are all based on Recommendation J.110. In each case downstream transmission involves optional constant bit rate streams protected by scrambling and forward error correction, with multiplexing such that a head end can support a large number of remote stations (see A.5.1.1, B.3.6, C.4.2). Upstream transmission from the stations also involves a similar multiplex for which a Media Access Control (MAC) layer manages access on a contention or contentionless basis (see A.5.1.3, B.3.6 and C.4.1). Regarding spectrum allocation, an approach is used throughout whereby downstream transmission is at higher frequencies than upstream transmission (see A.5.1.2, B.2.3, C.4.1.4 and C.4.2.4). + +It should be noted that the annexes to this Recommendation describe different variations of the same protocol layers, for use in different ITU regions. Connectivity between these variations, however, can be supported by telecommunications and computer standards in the public domain, which are well-established and widely used. + +It should be further noted that there exists two Supplements to the J-series Recommendations related to Rec. J.112 which are entitled: + +- Supplement 1 – Example of linking options between annexes of ITU-T Recommendation J.112 and annexes of ITU-T Recommendation J.83; +- Supplement 2 – Guidelines for the use of Annex A of Recommendation J.112 "Transmission systems for interactive cable television services"; Example of Digital Video Broadcasting (DVB) interaction channel for cable television distribution. + +# TRANSMISSION SYSTEMS FOR INTERACTIVE CABLE TELEVISION SERVICES + +(Geneva, 1998) + +# 1 Scope + +This Recommendation "Transmission systems for interactive cable television services" extends the scope of Recommendation J.83 "Digital multi-programme systems for television, sound and data services for cable distribution" to make provision for bidirectional data over hybrid fibre-coax cables for interactive services. Like Recommendation J.83, this Recommendation also contains several annexes in recognition of different existing media environments. The annexes in this Recommendation are intended to be read in conjunction with the corresponding annexes in Recommendation J.83. + +Annex A is based on work done in Europe and is related to a wider set of options such as Recommendation J.111 and should provide a suitable basis for further developments. + +Annex B is based on work done in North America and should provide a suitable basis for future developments. + +Annex C is based on work done in Japan and should provide a suitable basis for future developments. + +Whilst Annexes A, B and C correspond to A, B and C in Recommendation J.83, there is substantial commonality in the services and protocols supported. The reference architectures are also based on Recommendation J.110. There is therefore the possibility that, in application, the features chosen for use with the transmission system described in a particular annex of Recommendation J.83 are not limited to only the corresponding annex of this Recommendation. + +# 2 References + +The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; all users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. + +## 2.1 Normative References + +- [EN 50201] ETSI EN 50201:1997, *Interfaces for DVB-IRDs*. (Ref. Annex A.) +- [EN 300 421] ETSI EN 300 421, *Digital Broadcasting systems for television, sound and data services – Framing structure, channel coding and modulation for 11/12 satellite services. (DVB-S spec)*. (Ref. Annex A.) +- [ETS 300 802] ETSI ETS 300 802: *Digital Video Broadcasting (DVB) – Network Independent Protocols for interactive Services*. (Ref. Annex A.) +- [ISO/IEC 8825] ISO/IEC 8825:1990, *Information technology – Open Systems Interconnection – Specification of the Basic Encoding Rules for Abstract Syntax Notation One (ASN.1)*. (Ref. Annex B.) +- [ISO/IEC 8802-2] ISO/IEC 8802-2:1994 (IEEE Std 802.2:1994), *Information technology – Telecommunications and information exchange between systems – Local and metropolitan area networks – Specific requirements – Part 2: Logical link control*. (Ref. Annex B.) +- [ISO/IEC 8802-3] ISO/IEC 8802-3:1996 (IEEE Std 802.3:1996), *Information technology – Telecommunications and information exchange between systems – Local and metropolitan area networks – Specific requirements – Part 3: Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications*. (Ref. Annex B.) + +| | | +|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| [ISO/IEC 10038] | ISO/IEC 10038:1993 (ANSI/IEEE Std 802.1D:1993), Information technology – Telecommunications and information exchange between systems – Local area networks – Media Access Control (MAC) bridges . (Ref. Annex B.) | +| [ISO/IEC 10039] | ISO/IEC 10039:1991, Information technology – Open Systems Interconnection – Local area networks – Medium Access Control (MAC) service definition . (Ref. Annex B.) | +| [ISO/IEC 15802-1] | ISO/IEC 15802-1:1995, Information technology – Telecommunications and information exchange between systems – Local and metropolitan area networks – Common specifications – Part 1: Medium Access Control (MAC) service definition . (Ref. Annex B.) | +| [ITU-T H.222.0] | ITU-T Recommendation H.222.0 (1995) ISO/IEC 13818-1:1996, Information technology – Generic coding of moving pictures and associated audio information: Systems . (Ref. Annex B.) | +| [ITU-T I.361] | ITU-T Recommendation I.361 (1995), B-ISDN ATM layer specification . (Ref. Annex A.) | +| [ITU-T I.363] | ITU-T Recommendation I.363, B-ISDN ATM Adaptation Layer specification . (Ref. Annex A.) | +| [ITU-T J.83 A] | ITU-T Recommendation J.83 (Annex A) (1997), Digital multi-programme systems for television, sound and data services for cable distribution (Digital multi-programme System A) . (Ref. Annex A.) | +| [ITU-T J.83 B] | ITU-T Recommendation J.83 (Annex B) (1997), Digital multi-programme systems for television, sound and data services for cable distribution (Digital multi-programme System B) . (Ref. Annex B.) | +| [ITU-T J.83 C] | ITU-T Recommendation J.83 (Annex C) (1997), Digital multi-programme systems for television, sound and data services for cable distribution (Digital multi-programme System C) . (Ref. Annex C.) | +| [ITU-T J.110] | ITU-T Recommendation J.110 (1997), Basic principles for a worldwide common family of systems for the provision of interactive television services . | +| [CCITT V.21] | CCITT Recommendations V.21 (1984), 300 bits per second duplex modem standardized for use in the general switched telephone network. (Ref. Annex A.) | +| [CCITT V.22] | CCITT Recommendation V.22 (1988), 1200 bits per second duplex modem standardized for use in the general switched telephone network and on point-to-point 2-wire leased telephone-type circuits. (Ref. Annex A.) | +| [CCITT V.22 bis] | CCITT Recommendation V.22 bis (1988), 2400 bits per second duplex modem using the frequency division technique standardized for use on the general switched telephone network and on point-to-point 2-wire leased telephone-type circuits . (Ref. Annex A.) | +| [CCITT V.23] | CCITT Recommendation V.23 (1988), 600/1200-baud modem standardized for use in the general switched telephone network . (Ref. Annex A.) | +| [ITU-T V.25] | ITU-T Recommendation V.25 (1996), Automatic answering equipment and general procedures for automatic calling equipment on the general switched telephone network including procedures for disabling of echo control devices for both manually and automatically established calls . (Ref. Annex A.) | +| [ITU-T V.32] | ITU-T Recommendation V.32 (1993), A family of 2-wire, duplex modems operating at data signalling rates of up to 9600 bit/s for use on the general switched telephone network and on leased telephone-type circuits . (Ref. Annex A.) | +| [CCITT V.32 bis] | CCITT Recommendation V.32 bis (1991), A duplex modem operating at data signalling rates of up to 14 400 bit/s for use on the general switched telephone network and on leased point-to-point 2-wire telephone-type circuits . (Ref. Annex A.) | +| [ITU-T V.34] | ITU-T Recommendation V.34 (1998), A modem operating at data signalling rates of up to 33 600 bit/s for use on the general switched telephone network and on leased point-to-point 2-wire telephone-type circuits . (Ref. Annex A.) | + +- [ITU-T V.42] ITU-T Recommendation V.42 (1996), *Error-correcting procedures for DCEs using asynchronous-to-synchronous conversion*. (Ref. Annex A.) +- [ITU-T X.25] ITU-T Recommendation X.25 (1996), *Interface between Data Terminal Equipment (DTE) and Data Circuit-terminating Equipment (DCE) for terminals operating in the packet mode and connected to public data networks by dedicated circuit*. (Ref. Annex B.) +- [ITU-T Z.100] ITU-T Recommendation Z.100 (1993), *CCITT Specification and Description Language (SDL)*. (Ref. Annex B.) +- [RFC-791] POSTEL (J.), Internet Protocol, IETF RFC-791 (MIL STD 1777), September, 1981. (Ref. Annex B.) +- [RFC-826] PLUMMER (D.), Ethernet Address Resolution Protocol: Or converting network protocol addresses to 48-bit Ethernet address for transmission on Ethernet hardware, November, 1982. (Ref. Annex B.) +- [RFC-868] HARRENSTIEN (K.) and POSTEL (J.), Time Protocol, IETF RFC-868, May 1983. (Ref. Annex B.) +- [RFC-1042] POSTEL (J.) and REYNOLDS (J.), A Standard for the Transmission of IP Datagrams over IEEE 802 Networks, IETF RFC-1042, February, 1988. (Ref. Annex B.) +- [RFC-1058] HEDRICK (C.), Routing Information Protocol, IETF RFC-1058, June, 1988 . (Ref. Annex B.) +- [RFC-1157] SCHOFFSTALL (M.), FEDOR (M.), DAVIN (J.) and CASE (J.), A Simple Network Management Protocol (SNMP), IETF RFC-1157, May, 1990. (Ref. Annex B.) +- [RFC-1350] SOLLINGS (K.), The TFTP Protocol (Revision 2), IETF RFC-1350, July, 1992. (Ref. Annex B.) +- [RFC-1493] DECKER (E.), LANGILLE (P.), RIJSINGHANI (A.) and McCLOGHRIE (K.), Definitions of Managed Objects for Bridges, July, 1993, (Obsoletes RFC-1286). (Ref. Annex B.) +- [RFC-1533] ALEXANDER (S.) and DROMS (R.), DHCP Options and BOOTP Vendor Extensions, IETF RFC-1533, October, 1993. (Ref. Annex B.) +- [RFC-1541] DROMS (R.), Dynamic Host Configuration Protocol, IETF RFC-1541, October, 1993. (Ref. Annex B.) +- [RFC-1633] BRADEN (R.), CLARK (D.) and SHENKER (S.), Integrated Services in the Internet Architecture: An Overview, IETF RFC-1633, June, 1994. (Ref. Annex B.) +- [RFC-1812] BAKER (F.), Requirements for IP Version 4 Routers, IETF RFC-1812, June, 1995. (Ref. Annex B.) +- [RFC-2104] KRAWCZYK (H.), BELLARE (M.) and CANETTI (R.), HMAC: Keyed-Hashing for Message Authentication, IETF RFC-2104, February, 1997. (Ref. Annex B.) + +## 2.2 Informative references + +- [91/263/EEC] 91/263/EEC Directive on Terminal equipment. (Ref. Annex A.) +- [CableLabs1] Two-Way Cable Television System Characterization, Cable Television Laboratories, Inc., April 12, 1995. (Ref. Annex B.) +- [CableLabs2] Digital Transmission Characterization of Cable Television Systems, Cable Television Laboratories, Inc., November, 1994. (Ref. Annex B.) +- [DAVIC] DAVIC Specification, DAVIC System Reference Model. (Ref. Annex A.) +- [DIX] Ethernet Protocol Version 2.0, Digital, Intel, Xerox, 1982. (Ref. Annex B.) +- [DVB-A008] DVB-A008, Commercial requirements for asymmetric interactive services supporting broadcast to the home with narrowband return channels, October, 1995. (Ref. Annex A.) +- [ETS 300 800] ETS 300 800, Digital Video Broadcasting (DVB) – DVB interaction channel for Cable TV distribution systems (CATV). (Ref. Annex A.) + +| | | +|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| [IEEE 802] | IEEE Std 802:1990, Local and Metropolitan Area Networks: Overview and Architecture. (Ref. Annex B.) | +| [IEEE 802.1Q] | IEEE Draft Standard 802.1Q/D4., Draft Standard for Virtual Bridged Local Area Networks, December 20, 1996. (Ref. Annex B.) | +| [IPS-SP-401] | F-Connector Specification, Society of Cable Television Engineers. (Ref. Annex B.) | +| [IS-6] | EIA Interim Standard IS-6 (1983), Recommended Cable TV Channel Identification Plan. (Ref. Annex B.) | +| [JCTEA1] | Multiplex System for Digital Cable Television, JCTEA STD-002. (Ref. Annex C.) | +| [JCTEA2] | Receiver for Cable Television, JCTEA STD-004. (Ref. Annex C.) | +| [MCNS2] | Data-Over-Cable Service Specifications, Security System Interface Specification, SP-SSI-I01-970506. (Ref. Annex B.) | +| [MCNS3] | Data-Over-Cable Service Interface Specifications, Cable Modem Termination System – Network-Side Interface Specification SP-CMTS-NSI-I01-960702. (Ref. Annex B.) | +| [MCNS4] | Data-Over-Cable Service Interface Specifications, Cable Modem to Customer Premises Equipment Interface Specification SP-CMCI-I01-960702. (Ref. Annex B.) | +| [MCNS5] | Data-Over-Cable Service Interface Specifications, Operations Support System Interfaces SP-OSSI-I01-970403. (Ref. Annex B.) | +| [MCNS6] | Data-Over-Cable Service Interface Specifications, Cable Modem Telephone Return Interface Specification SP-CMTRI-I01-970804. (Ref. Annex B.) | +| [MCNS7] | Data-Over-Cable Service Interface Specifications, Removable Security Module Interface Specifications, SP-RSMI-I01-980204. (Ref. Annex B.) | +| [MCNS8] | Data-Over-Cable Service Interface Specifications, Baseline Privacy Interface SP-BPI-I01-970609. (Ref. Annex B.) | +| [NCTA] | NCTA Recommended Practices for measurement on Cable Television Systems – National Cable Television Association, Washington DC, 2nd Edition, revised October, 1993. (Ref. Annex B.) | +| [SMS] | The Spectrum Management Application (SMA) and the Common Spectrum Management Interface (CSMI), Time Warner Cable, December 24, 1995. (Ref. Annex B.) | + +# 3 Terms and definitions + +This Recommendation defines the following terms. + +**3.1 Address Resolution Protocol (ARP):** A protocol of the IETF for converting network addresses to 48-bit Ethernet addresses. + +**3.2 American National Standards Institute (ANSI):** A US standards body. + +**3.3 Asynchronous Transfer Mode (ATM):** A protocol for the transmission of a variety of digital signals using uniform 53-byte cells. + +**3.4 availability:** In cable television systems, availability is the long-term ratio of the actual RF channel operation time to scheduled RF channel operation time (expressed as a percent value) and is based on a Bit Error Rate (BER) assumption. + +**3.5 Bridge Protocol Data Unit (BDU):** Spanning tree protocol messages as defined in [ISO/IEC 10038]. + +**3.6 broadcast addresses:** A predefined destination address that denotes the set of all data network service access points. + +**3.7 burst error second:** Any Errored Second containing at least 100 errors. + +- 3.8 Cable Modem (CM):** A modulator-demodulator at subscriber locations intended for use in conveying data communications on a cable television system (see Annex B). Called IIM in Annex A and MH in Annex C. +- 3.9 Cable Modem Termination System (CMTS):** Cable modem termination system, located at the cable television system headend or distribution hub, which provides complementary functionality to the cable modems to enable data connectivity to a wide-area network (see Annex A). Called INA in Annex A and MC in Annex C. +- 3.10 cable modem termination system; Network Side Interface (CMTS-NSI):** The interface, defined in [MCNS3], between a CMTS and the equipment on its network side (see Annex B). Called INA in Annex A and MC in Annex C. +- 3.11 Cable Modem to CPE Interface (CMCI):** The interface, defined in [MCNS4], between a CM and CPE. +- 3.12 carrier hum modulation:** The peak-to-peak magnitude of the amplitude distortion relative to the RF carrier signal level due to the fundamental and low-order harmonics of the power-supply frequency. +- 3.13 carrier-to-Noise Ratio (C/N or CNR):** The square of the ratio of the root mean square (rms) of the voltage of the digitally-modulated RF carrier to the rms of the continuous random noise voltage in the defined measurement bandwidth. (If not specified explicitly, the measurement bandwidth is the symbol rate of the digital modulation). +- 3.14 carrier related band** (applies to Annexes B and C only): A frequency bandwidth of spacing television channels on a cable television system in exact 6 MHz increments. +- 3.15 Composite Second Order Beat (CSO):** The peak of the average level of distortion products due to second-order non-linearities in cable system equipment. +- 3.16 Composite Triple Beat (CTB):** The peak of the average level of distortion components due to third-order non-linearities in cable system equipment. +- 3.17 cyclic redundancy check:** A method of error detection using cyclic code. +- 3.18 cross-modulation:** A form of television signal distortion where modulation from one or more television channels is imposed on another channel or channels. +- 3.19 customer:** See End User. +- 3.20 Customer Premises Equipment (CPE):** Equipment at the end user's premises; may be provided by the end user or the service provider. +- 3.21 data link layer:** Layer 2 in the Open System Interconnection (OSI) architecture; the layer that provides services to transfer data over the transmission link between open systems. +- 3.22 distribution hub:** A location in a cable television network which performs the functions of a Headend for customers in its immediate area, and which receives some or all of its television program material from a Master Headend in the same metropolitan or regional area; see, for example, [MCNS1]. +- 3.23 downstream:** In cable television, the direction of transmission from the headend to the subscriber. +- 3.24 drop cable:** Coaxial cable that connects to a residence or service location from a directional coupler (tap) on the nearest coaxial feeder cable. +- 3.25 Dynamic Host Configuration Protocol (DHCP):** An Internet protocol used for assigning network-layer (IP) addresses. +- 3.26 dynamic range:** The ratio between the greatest signal power that can be transmitted over a multichannel analogue transmission system without exceeding distortion or other performance limits, and the least signal power that can be utilized without exceeding noise, error rate or other performance limits. + +- 3.27 Electronic Industries Association (EIA):** A voluntary body of manufacturers which, among other activities, prepares and publishes standards. +- 3.28 end user:** A human being, organization, or telecommunications system that accesses the network in order to communicate via the services provided by the network. +- 3.29 errored second:** Any one second interval containing at least one bit error. +- 3.30 extended subsplit:** A frequency division scheme that allows bidirectional traffic on a single coaxial cable. E.G. in North America, reverse path signals come to the Headend from 5 to 42 MHz, and forward path signals go from the Headend from 50 or 54 MHz to the upper frequency limit. +- 3.31 feeder cable:** Coaxial cables that run along streets within the served area and connect between the individual taps which serve the customer drops. +- 3.32 Fiber Distributed Data Interface (FDDI):** A fiber-based LAN standard. +- 3.33 fiber node:** A point of interface between a fiber trunk and the coaxial distribution. +- 3.34 forward channel:** The direction of RF signal flow away from the headend toward the end user; equivalent to Downstream. +- 3.35 group delay:** The difference in transmission time between the highest and lowest of several frequencies through a device, circuit or system. +- 3.36 guard time:** Minimum time allocated between bursts in the upstream, referenced from the symbol center of the last symbol of a burst to the symbol center of the first symbol of the following burst. +- 3.37 Harmonic Related Carrier (HRC):** A method of spacing television channels on a cable television system in exact 6 MHz increments, with all carrier frequencies harmonically related to a common reference. +- 3.38 headend:** The central location on the cable network that is responsible for injecting broadcast video and other signals in the downstream direction. See also Master Headend, Distribution Hub. +- 3.39 header:** Protocol control information located at the beginning of a protocol data unit. +- 3.40 High Frequency (HF):** Used in Annex B to refer to the entire subsplit (5-30 MHz) and extended subsplit (5-42 MHz) band used in reverse channel communications over the cable television network. +- 3.41 high return:** A frequency division scheme that allows bi-directional traffic on a single coaxial cable. Reverse channel signals propagate to the headend above the downstream passband. +- 3.42 hum modulation:** Undesired modulation of the television visual carrier by the fundamental or low-order harmonics of the power supply frequency, or other low-frequency disturbances. +- 3.43 Hybrid Fiber/Coax (HFC) system:** A broadband bidirectional shared-media transmission system using fiber trunks between the headend and the fiber nodes, and coaxial distribution from the fiber nodes to the customer locations. +- 3.44 interactive interface module (see Annex A):** Called CM in Annex B and MH in Annex C. +- 3.45 Incremental Related Carriers (IRC):** A method of spacing NTSC television channels on a cable television system in which all channels except 5 and 6 correspond to the standard channel plan, used to reduce composite triple beat distortions. +- 3.46 Institute of Electrical and Electronic Engineers (IEEE):** A voluntary organization which, among other things, sponsors standards committees and is accredited by the American National Standards Institute. +- 3.47 interleave:** An error correction method that enables the correction of burst noise induced errors. + +- 3.48 International Electrotechnical Commission (IEC):** An international standards body. +- 3.49 International Organization for Standardization (ISO):** An international standards body, commonly known as the International Standards Organization. +- 3.50 Internet Control Message Protocol (ICMP):** An Internet network-layer protocol. +- 3.51 Internet Engineering Task Force (IETF):** A body responsible, among other things, for developing standards used in the Internet. See also request for comments. +- 3.52 impulse noise:** Noise characterized by non-overlapping transient disturbances. +- 3.53 Internet Protocol (IP):** An Internet network-layer protocol, defined by the IETF. +- 3.54 Japan Cable Television Engineering Association (JCTEA):** A body responsible for developing standards concerning cable television systems in Japan. +- 3.55 latency:** The time, expressed in quantity of symbols, taken for a signal element to pass through a device. +- 3.56 layer:** A subdivision of the Open System Interconnection (OSI) architecture, constituted by subsystems of the same rank. +- 3.57 Local Area Network (LAN):** A non-public data network in which serial transmission is used for direct data communication among data stations located on the user's premises. +- 3.58 Logical Link Control (LLC) procedure:** In a Local Area Network (LAN) or a Metropolitan Area Network (MAN), that part of the protocol that governs the assembling of data link layer frames and their exchange between data stations, independent of how the transmission medium is shared. +- 3.59 MAC service access point:** See B. 6.1.2. +- 3.60 master headend:** A headend which collects television program material from various sources by satellite, microwave, fiber and other means, and distributes this material to Distribution Hubs in the same metropolitan or regional area. A Master Headend may also perform the functions of a Distribution Hub for customers in its own immediate area; see, for example, [MCNS1]. +- 3.61 multimedia center equipment:** Equipment located at cable television headend, which provides complementary functionality to the Multimedia Home Equipment to enable data connectivity to a wide-area network. Called CMTS in Annex B and INA in Annex A. +- 3.62 Mean Time to Repair (MTTR):** In cable television systems, the MTTR is the average elapsed time from the moment a loss of RF channel operation is detected up to the moment the RF channel operation is fully restored. +- 3.63 Media Access Control (MAC) address:** The “built-in” hardware address of a device connected to a shared medium. +- 3.64 Media Access Control (MAC) procedure:** In a subnetwork, that part of the protocol that governs access to the transmission medium independent of the physical characteristics of the medium, but taking into account the topological aspects of the subnetworks, in order to enable the exchange of data between nodes. MAC procedures include framing, error protection, and acquiring the right to use the underlying transmission medium. +- 3.65 Media Access Control (MAC) sublayer:** The part of the data link layer that supports topology dependent functions and uses the services of the Physical Layer to provide services to the Logical Link Control (LLC) sublayer. +- 3.66 multimedia home equipment:** A modulator-demodulator at subscriber locations intended for use in conveying data communications on a cable television system (see Annex C). Called CMTS in Annex B and INA in Annex A. +- 3.67 micro-reflections:** Echoes in the forward transmission path due to departures from ideal amplitude and phase characteristics. + +- 3.68 mid split:** A frequency division scheme that allows bi-directional traffic on a single coaxial cable, e.g. in North America, reverse channel signals propagate to the headend from 5 to 108 MHz, the forward path signals go from the Headend from 162 MHz to the upper frequency limit, and the diplex crossover band is located from 108 to 162 MHz. +- 3.69 mini-slot:** In Annex B, a mini-slot is an integer multiple of 6.25-microsecond increments. The relationship between mini-slots, bytes and time ticks is described in B.6.5.4. +- 3.70 Moving Picture Experts Group (MPEG):** A voluntary body which develops standards for digital compressed moving pictures and associated audio. +- 3.71 Multimedia Cable Network System (MCNS) partners:** A consortium of Comcast Cable Communications, Inc., Cox Communications, Tele-Communications, Inc., and Time Warner Cable, interested in deploying high-speed data communications systems on cable television systems. +- 3.72 multipoint access:** User access in which more than one terminal equipment is supported by a single network termination. +- 3.73 multipoint connection:** A connection among more than two data network terminations. +- 3.74 National Cable Television Association (NCTA):** A voluntary association of cable television operators which, among other things, provides guidance on measurements and objectives for cable television systems in the USA. +- 3.75 National Television Systems Committee (NTSC):** Committee which defined the analog colour television broadcast standard used in North America. +- 3.76 network layer:** Layer 3 in the Open System Interconnection (OSI) architecture; the layer that provides services to establish a path between open systems. +- 3.77 network management:** The functions related to the management of data link layer and physical layer resources and their stations across the data network supported by the hybrid fiber/coax system. +- 3.78 Open Systems Interconnection (OSI):** A framework of ISO standards for communication between different systems made by different vendors, in which the communications process is organized into seven different categories that are placed in a layered sequence based on their relationship to the user. Each layer uses the layer immediately below it and provides a service to the layer above. Layers 7 through 4 deal with end-to-end communication between the message source and destination, and layers 3 through 1 deal with network functions. +- 3.79 Organizationally Unique Identifier (OUI):** A three octet IEEE assigned identifier that OUI can be used to generate Universal LAN MAC addresses and Protocol Identifiers per ANSI/IEEE Std 802 for use in Local and Metropolitan Area Network applications. +- 3.80 Packet Identifier (PID):** A unique integer value used to identify elementary streams of a program in a single- or multi-program MPEG-2 stream. +- 3.81 Physical (PHY) layer:** Layer 1 in the Open System Interconnection (OSI) architecture; the layer that provides services to transmit bits or groups of bits over a transmission link between open systems and which entails electrical, mechanical and handshaking procedures. +- 3.82 Physical Media Dependent (PMD) sublayer:** A sublayer of the Physical Layer which is concerned with transmitting bits or groups of bits over particular types of transmission link between open systems and which entails electrical, mechanical and handshaking procedures. +- 3.83 Program Specific Information (PSI):** In MPEG-2, normative data necessary for the demultiplexing of Transport Streams and the successful regeneration of programs. +- 3.84 program stream:** In MPEG-2, a multiplex of variable-length digital video and audio packets from one or more program sources having a common time-base. + +- 3.85 protocol:** A set of rules and formats that determines the communication behaviour of layer entities in the performance of the layer functions. +- 3.86 Quadrature Amplitude Modulation (QAM):** A method of modulating digital signals onto a radio-frequency carrier signal involving both amplitude and phase coding. +- 3.87 Quaternary Phase-Shift Keying (QPSK):** A method of modulating digital signals onto a radio-frequency carrier signal using four phase states to code two digital bits. +- 3.88 Radio Frequency (RF):** In cable television systems, this refers to electromagnetic signals typically in the range 5 to 1000 MHz. +- 3.89 Reed-Solomon code:** A forward error correction code located before interleaving that enables correction of errors induced by burst noise. +- 3.90 Request for Comments (RFC):** A technical policy document of the IETF; these documents can be accessed on the World Wide Web at . +- 3.91 return loss:** The parameter describing the attenuation of a guided wave signal (e.g. via a coaxial cable) returned to a source by a device or medium resulting from reflections of the signal generated by the source. +- 3.92 reverse channel:** The direction of signal flow towards the headend, away from the subscriber; equivalent to Upstream. +- 3.93 roll off:** A coefficient of cosine roll off function that determines the frequency characteristics of the filter. +- 3.94 Routing Information Protocol (RIP):** A protocol of the IETF for exchanging routing information about IP networks and subnets. +- 3.95 Service Access Point (SAP):** The point at which services are provided by one layer, or sublayer, to the layer immediately above it. +- 3.96 Service Data Unit (SDU):** Information that is delivered as a unit between peer service access points. +- 3.97 Simple Network Management Protocol (SNMP):** A network management protocol of the IETF. +- 3.98 Spectrum Management System (SMS):** A system, defined in [SMS], for managing the RF cable spectrum. +- 3.99 sublayer:** A subdivision of a layer in the Open System Interconnection (OSI) reference model. +- 3.100 subnetwork:** Subnetworks are physically formed by connecting adjacent nodes with transmission links. +- 3.101 Subnetwork Access Protocol (SNAP):** An extension of the LLC header to accommodate the use of IEEE 802 type networks as IP networks. +- 3.102 subscriber:** See End User. +- 3.103 subsplit:** A frequency-division scheme that allows bi-directional traffic on a single cable, e.g. in North America, reverse path signals come to the Headend from 5 to 30 MHz (up to 42 MHz on Extended Subsplit systems), and forward path signals go from the headend from 50 or 54 MHz to the upper frequency limit of the cable network. +- 3.104 subsystem:** An element in a hierarchical division of an open system that interacts directly with elements in the next higher division or the next lower division of that open system. +- 3.105 systems management:** Functions in the application layer related to the management of various Open Systems Interconnection (OSI) resources and their status across all layers of the OSI architecture. + +- 3.106 tick:** Time intervals that are the reference for upstream mini-slot definition and upstream transmission times. +- 3.107 tilt:** Maximum difference in transmission gain of a cable television system over a given bandwidth (typically the entire forward operating frequency range). +- 3.108 transit delay:** The time difference between the instant at which the first bit of a PDU crosses one designated boundary, and the instant at which the last bit of the same PDU crosses a second designated boundary. +- 3.109 Transmission Control Protocol (TCP):** A transport-layer Internet protocol which ensures successful end-to-end delivery of data packets without error, as defined by the IETF. +- 3.110 transmission convergence sublayer:** A sublayer of the Physical Layer that provides an interface between the Data Link Layer and the PMD Sublayer. +- 3.111 transmission link:** The physical unit of a subnetwork that provides the transmission connection between adjacent nodes. +- 3.112 transmission medium:** The material on which information signals may be carried; e.g., optical fiber, coaxial cable, and twisted wire pairs. +- 3.113 transmission system:** The interface and transmission medium through which peer physical layer entities transfer bits. +- 3.114 transmit on/off ratio:** In multiple-access systems, the ratio between the signal powers sent to line when transmitting and when not transmitting. +- 3.115 transport stream:** In MPEG-2, a packet based method of multiplexing one or more digital video and audio streams having one or more independent time bases into a single stream. +- 3.116 Trivial File Transfer Protocol (TFTP):** An Internet protocol for transferring files without the requirement for user names and passwords that is typically used for automatic downloads of data and software. +- 3.117 trunk cable:** Cables that carry the signal from the headend to groups of subscribers. The cables can be either coaxial or fiber depending on the design of the system. +- 3.118 Type/Length/Value (TLV):** An encoding of three fields, in which the first field indicates the type of element, the second the length of the element, and the third field, the value. +- 3.119 upstream:** The direction from the subscriber location toward the headend. + +# 4 Abbreviations + +This Recommendation uses the following abbreviations: + +| | | +|--------------|---------------------------------------------------------| +| (C/N or CNR) | Carrier-to-Noise Ratio | +| ANSI | American National Standards Institute | +| ARP | Address Resolution Protocol | +| ATM | Asynchronous Transfer Mode | +| BC | Broadcast Channel | +| BPDU | Bridge Protocol Data Unit | +| BRA | Basic Rate Access | +| CATV | Cable Television | +| CM | Cable Modem, IIM, MH | +| CMCI | Cable Modem to CPE Interface | +| CMTS | Cable Modem Termination System | +| CMTS-NSI | Cable Modem Termination System – Network Side Interface | + +| | | +|------------|--------------------------------------------------| +| CPE | Customer Premises Equipment | +| CRC | Cyclic Redundancy Check | +| CSO | Composite Second Order beat | +| CTB | Composite Triple Beat | +| DA | Destination Address | +| DAVIC | Digital Audiovisual Council | +| DCE | Data Communication Equipment | +| DHCP | Dynamic Host Configuration Protocol | +| DOC | Data over Cable | +| DTE | Data Termination Equipment | +| DTMF | Dual Tone Multifrequency (dialling mode) | +| DVB | Digital Video Broadcasting | +| EH or EHDR | Extended Header | +| EIA | Electronic Industries Association | +| FC | Frame Control | +| FDDI | Fiber Distributed Data Interface | +| FDM | Frequency Division Multiplex | +| FDMA | Frequency Division Multiple Access | +| FEC | Forward Error Correction | +| GSTN | General Switched Telephone Network | +| GT | Global Time | +| HCS | Header Check Sequence | +| HF | High Frequency | +| HFC | Hybrid Fiber/Coax system | +| HRC | Harmonic Related Carrier | +| IB | In-Band | +| IC | Interaction Channel | +| ICMP | Internet Control Message Protocol | +| IE | Information Element | +| IEC | International Electrotechnical Commission | +| IEEE | Institute of Electrical and Electronic Engineers | +| IETF | Internet Engineering Task Force | +| IIM | Interactive Interface Module | +| INA | Interactive Network Adapter | +| IP | Internet Protocol | +| IQ | In-phase and Quadrature Components | +| IRC | Incremental Related Carriers (IRC) | +| IRD | Integrated Receiver Decoder | +| ISDN | Integrated Services Digital Network | +| ISO | International Organization for Standardization | +| JCTEA | Japan Cable Television Engineering Association | +| LAN | Local Area Network | + +| | | +|-------|------------------------------------------------| +| LEN | Length (in bytes unless otherwise stated) | +| LFSR | Linear Feedback Shift Register | +| LLC | Logical Link Control procedure | +| LSB | Least Significant Bit | +| LT | Local time | +| MAC | Media Access Control | +| MC | Multimedia Center Equipment | +| MCNS | Multimedia Cable Network System | +| MH | Multimedia Home equipment | +| MMDS | Multi-channel Multi-point Distribution Systems | +| MPEG | Moving Picture Experts Group | +| MSAP | MAC Service Access Point | +| MSB | Most Significant Bit | +| MTTR | Mean Time to Repair | +| NCTA | National Cable Television Association | +| NIU | Network Interface Unit | +| NSAP | Network Service Access Point | +| NTSC | National Television Systems Committee | +| OOB | Out of Band | +| OSI | Open Systems Interconnection | +| OUI | Organization Unique Identifier | +| PHY | Physical (PHY) layer | +| PID | Packet Identifier | +| PM | Pulse Modulation | +| PMD | Physical Media Dependent sublayer | +| PSI | Program Specific Information | +| PSTN | Public Switched Telephone Network | +| QAM | Quadrature Amplitude Modulation | +| QOS | Quality of Service | +| QPSK | Quaternary Phase-Shift Keying | +| REQ | Request indicator used in Annex B. | +| RF | Radio Frequency | +| RFC | Request for Comments | +| RIP | Routing Information Protocol | +| RNG | Ranging | +| RTD | Round Trip Delay | +| SAP | Service Access Point | +| SDU | Service Data Unit | +| SID | Service Identifier | +| SMATV | Satellite Master Antenna Television | +| SMS | Spectrum Management System | +| SNAP | Subnetwork Access Protocol | +| SNMP | Simple Network Management Protocol | + +| | | +|------|-----------------------------------| +| STB | Set-Top Box | +| STU | Set-Top Unit | +| SYNC | Synchronization | +| TC | Transmission Convergence sublayer | +| TCP | Transmission Control Protocol | +| TDMA | Time Division Multiplex Access | +| TFTP | Trivial File Transfer Protocol | +| TLV | Type/Length/Value | +| TS | Transport Stream | +| UCC | Upstream Channel Change | +| UCD | Upstream Channel Descriptor | + +# 5 Interactive cable television services + +It is recommended that for interactive cable television services, the appropriate systems described in the annexes be used in conjunction with the relevant cable distribution systems described in Recommendation J.83. + +# Annex A + +## Interaction channel for digital video broadcasting cable television distribution systems + +## A.1 Scope + +This annex is derived from work done on the provisioning of interaction channels for CATV networks in Europe [ETS 300 800]. + +It is not intended to specify a return channel solution associated to each broadcast system because the interoperability of different delivery media to transport the return channel is desirable. + +These solutions provided for interaction channel for CATV networks are a part of a wider set of alternatives to implement interactive services for digital video broadcasting systems. + +## A.2 Normative references + +See common part of this Recommendation. + +## A.3 Abbreviations + +See the common part of this Recommendation. + +## A.4 Reference model for system architecture of narrowband interaction channels in a broadcasting scenario (asymmetric interactive services) + +### A.4.1 Protocol stack model + +For asymmetric interactive services supporting broadcast to the home with narrowband return channel, a simple communications model consists of the following layers: + +- **physical layer:** Where all the physical (electrical) transmission parameters are defined; +- **transport layer:** Defines all the relevant data structures and communication protocols like data containers, etc.; +- **application layer:** Is the interactive application software and runtime environments (e.g. home shopping application, script interpreter, etc.). + +This specification addresses the lower two layers (the physical and transport) leaving the application layer open to competitive market forces. + +A simplified model of the OSI layers was adopted to facilitate the production of specifications for these nodes. Figure A.1 points out the lower layers of the simplified model and identifies some of the key parameters for the lower two layers. Following the user requirements for interactive services, no attempt will be made to consider higher layers in this specification. + +This specification addresses the CATV network specific aspects only. The network independent protocols will be specified separately [ETS 300 802]. + +![Diagram of the layer structure for a generic system reference model. It shows a stack of layers. At the top are 'Proprietary layers'. Below them are 'Higher medium layers' and 'Network independent protocols'. The next layer is a box containing 'Access mechanism' and 'Packet structure'. Below this is another box containing 'Modulation', 'Channel coding', 'Frequency range', 'Filtering', 'Equalization', and 'Power'. To the right of these two boxes is the label 'Network dependent protocols'.](90ddf538ef276510e2b631f7b96654e6_img.jpg) + +| | | +|---------------------------------------------------------------------------------------|-------------------------------| +| Proprietary layers | | +| Higher medium layers | Network independent protocols | +| Access mechanism
Packet structure | Network dependent protocols | +| Modulation
Channel coding
Frequency range
Filtering
Equalization
Power | | + +Diagram of the layer structure for a generic system reference model. It shows a stack of layers. At the top are 'Proprietary layers'. Below them are 'Higher medium layers' and 'Network independent protocols'. The next layer is a box containing 'Access mechanism' and 'Packet structure'. Below this is another box containing 'Modulation', 'Channel coding', 'Frequency range', 'Filtering', 'Equalization', and 'Power'. To the right of these two boxes is the label 'Network dependent protocols'. + +**Figure A.1/J.112 – Layer structure for generic system reference model** + +### A.4.2 System model + +Figure A.2 shows the system model which is to be used within DVB for interactive services. + +In the system model, two channels are established between the Service provider and the User: + +- **Broadcast Channel (BC):** A unidirectional broadband Broadcast Channel including video, audio and data. BC is established from the service provider to the users. It may include the Forward Interaction path. +- **Interaction Channel (IC):** A Bidirectional Interaction Channel is established between the service provider and the user for interaction purposes. It is formed by: + - **Return Interaction path (Return Channel):** From the User to the Service Provider. It is used to make requests to the service provider or to answer questions. It is a narrowband channel. Also commonly known as return channel. + - **Forward Interaction path:** From the service provider to the user. It is used to provide some sort of information by the service provider to the user and any other required communication for the interactive service provision. It may be embedded into the broadcast channel. It is possible that this channel is not required in some simple implementations which make use of the Broadcast Channel for the carriage of data to the user. + +The user terminal is formed by the Network Interface Unit (NIU) [consisting of the Broadcast Interface Module (BIM) and the Interactive Interface Module (IIM)] and the Set-Top Unit (STU). The user terminal provides interface for both broadcast and interaction channels. The interface between the user terminal and the interaction network is via the Interactive Interface Module. + +![A generic system Reference Model for interactive systems diagram showing the flow between Broadcast Channel (DVB transmission systems), Broadcasting delivery media, Broadcast network adaptor, Broadcast service provider, Interactive service provider, Interactive network adaptor, Interaction network, and the Set-Top Box (STB) containing Broadcast interface module, Interactive interface module, and Set-Top Unit (STU).](365b54f616aff249b4e6c0edafdcb9b3_img.jpg) + +The diagram illustrates a generic system Reference Model for interactive systems. It shows the flow of data and control between various components: + +- Broadcast Channel (DVB transmission systems)**: The source of broadcast data, connected to the **Broadcast service provider** and **Broadcast network adaptor**. +- Broadcast service provider**: Connected to the **Broadcast network adaptor** and the **Interactive service provider**. +- Broadcast network adaptor**: Connects the **Broadcast service provider** to the **Broadcasting delivery media**. +- Broadcasting delivery media**: The cloud representing the broadcast transmission path, connected to the **Broadcast network adaptor** and the **Set-Top Box (STB)**. +- Set-Top Box (STB)**: Contains three main components: + - Broadcast interface module**: Receives data from the **Broadcasting delivery media** and sends it to the **Set-Top Unit (STU)**. + - Interactive interface module (can be external to STB)**: Connected to the **Set-Top Unit (STU)** and the **Interactive network adaptor**. + - Set-Top Unit (STU)**: The central processing unit, connected to the **Broadcast interface module**, the **Interactive interface module**, and the **End user**. +- End user**: Represented by a person icon, interacting with the **Set-Top Unit (STU)**. +- Interaction network**: A cloud representing the interactive network, connected to the **Interactive network adaptor**. +- Interactive network adaptor**: Connects the **Interactive service provider** and the **Interactive interface module** to the **Interaction network**. +- Interactive service provider**: Connected to the **Broadcast service provider** and the **Interactive network adaptor**. +- Return interaction path**: The path from the **Interaction network** back to the **Interactive service provider**. +- Forward interaction path**: The path from the **Interactive service provider** to the **Interaction network**. +- Interaction channels**: The bidirectional communication between the **Set-Top Box (STB)** and the **Interaction network**. + +Labels at the bottom indicate network dependencies: + +- Network independent**: Associated with the **Broadcast Channel (DVB transmission systems)**, **Broadcasting delivery media**, **Set-Top Box (STB)**, and **End user**. +- Network independent**: Associated with the **Interaction network**. +- Interaction Channel**: Associated with the **Interactive service provider** and **Interactive network adaptor**. +- Network independent**: Associated with the **Interactive service provider** and **Interactive network adaptor**. + +A generic system Reference Model for interactive systems diagram showing the flow between Broadcast Channel (DVB transmission systems), Broadcasting delivery media, Broadcast network adaptor, Broadcast service provider, Interactive service provider, Interactive network adaptor, Interaction network, and the Set-Top Box (STB) containing Broadcast interface module, Interactive interface module, and Set-Top Unit (STU). + +T0904350-57/d001 + +Figure A.2/J.112 – A generic system Reference Model for interactive systems + +## **A.5 Interaction Channel specification for CATV networks** + +The CATV infrastructures can support the implementation of the Return Channel for interactive services suitable for DVB broadcasting systems. + +CATV can be used to implement interactive services in the DVB environment, providing a bidirectional communication path between the user terminal and the service provider. + +### **A.5.1 System concept** + +The interactive system is composed of Forward Interaction path (downstream) and Return Interaction path (upstream). The general concept is to use downstream transmission from the INA to the NIUs to provide synchronization and information to all NIUs. This allows the NIUs to adapt to the network and send synchronized information upstream. + +Upstream transmission is divided into time slots which can be used by different users, using the technique of Time Division Multiple Access (TDMA). One downstream channel is used to synchronize up to 8 upstream channels, which are all divided into time slots. A counter at the INA is sent periodically to the NIUs, so that all NIUs work with the same clock. This gives the opportunity to the INA to assign time slots to different users. + +Three major access modes are provided with this system. The first one is based on contention access, which lets users send information at any time with the risk to have a collision with other user's transmissions. The second and third modes are contention-less based, where the INA either provides a finite amount of slots to a specific NIU, or a given bit rate requested by a NIU until the INA stops the connection on NIU's demand. These access modes are dynamically shared among time slots, which allows NIUs to know when contention based transmission is or is not allowed. This is to avoid a collision for the two contention-less based access modes. + +Periodically, the INA will indicate to new users that they have the possibility to go through sign-on procedure, in order to give them the opportunity to synchronize their clock to the network clock, without risking collisions with already active users. This is done by leaving a larger time interval for new users to send their information, taking into account the propagation time required from the INA to the NIUs and back. + +#### **A.5.1.1 Out-of-band/In-band principle** + +This interactive system is based either on Out-of-Band (OOB) or In-Band (IB) downstream signalling. However, Set-Top Boxes do not need to support both systems. + +In the case of OOB signalling, a Forward Interaction path is added. This path is reserved for interactivity data and control information only. The presence of this added Forward Information path is in that case mandatory. However, it is also possible to send higher bit rate downstream information through a DVB-C channel whose frequency is indicated in the Forward Information path. + +In the case of IB signalling, the Forward Information path is embedded into the MPEG-2 TS of a DVB-C channel. Note that it is not mandatory to include the Forward Information path in all DVB-C channels. + +Both systems can provide the same quality of service. However, the overall system architecture will differ between networks using IB Set-Top Boxes and OOB Set-Top Boxes. Note also that both types of systems may exist on the same networks under the condition that different frequencies are used for each system. + +#### **A.5.1.2 Spectrum allocation** + +Figure A.3 indicates a possible spectrum allocation. Although not mandatory, a guideline is provided to use the following preferred frequency ranges, 70-130 MHz and/or 300-862 MHz for the Forward Interaction path (downstream OOB) and 5-65 MHz for the Return Interaction path (upstream), or parts thereof. To avoid filtering problems in the bidirectional RF amplifiers and in the Set-Top Boxes, the upper limit 65 MHz for the upstream flow shall not be used together with the lower limit 70 MHz for the downstream flow in the same system. For passive networks, the frequency range 5-65 MHz could be used bidirectionally. Furthermore, to avoid intermediate frequency impairments of Set-Top Boxes as well as analogue receivers in the same network, it could be necessary to leave out some parts of the range 5-65 MHz which includes the intermediate frequency ranges of these appliances. + +NOTE – To fix detailed limits for the usable frequency range(s), future investigations concerning the intermediate frequency immunity of receivers must be carried through. + +![Figure A.3/J.112 – DVB preferred frequency ranges for CATV interactive systems. The diagram shows a frequency spectrum from 5 to 862 MHz. The 'Downstream' direction is indicated by an upward arrow, and the 'Upstream' direction by a downward arrow. The spectrum is divided into several regions: 5-65 MHz for 'QPSK interactive 1 or 2 MHz or 200 kHz upstream channels'; 70-130 MHz for 'DVB-C QAM 7/8 MHz channels'; 300-862 MHz for 'DVB-C QAM 7/8 MHz channels'; and 'QPSK interactive 1 or 2 MHz downstream OOB channels' located between the DVB-C QAM channels. The x-axis is labeled 'Freq. (MHz)' and has a tick mark at 862. A small code 'T0904360-97/d002' is visible in the bottom right corner of the diagram area.](1d3994bfe548ae7545d57df703e32a02_img.jpg) + +Figure A.3/J.112 – DVB preferred frequency ranges for CATV interactive systems. The diagram shows a frequency spectrum from 5 to 862 MHz. The 'Downstream' direction is indicated by an upward arrow, and the 'Upstream' direction by a downward arrow. The spectrum is divided into several regions: 5-65 MHz for 'QPSK interactive 1 or 2 MHz or 200 kHz upstream channels'; 70-130 MHz for 'DVB-C QAM 7/8 MHz channels'; 300-862 MHz for 'DVB-C QAM 7/8 MHz channels'; and 'QPSK interactive 1 or 2 MHz downstream OOB channels' located between the DVB-C QAM channels. The x-axis is labeled 'Freq. (MHz)' and has a tick mark at 862. A small code 'T0904360-97/d002' is visible in the bottom right corner of the diagram area. + +**Figure A.3/J.112 – DVB preferred frequency ranges for CATV interactive systems** + +#### A.5.1.3 FDM/TDMA multiple access + +A multiple access scheme is defined in order to have different users share the same transmission media. Downstream information is sent broadcast to all users of the networks. Thus, an address assignment exists for each user which allows the INA to send information singlecast to one particular user. Two addresses are stored in Set-Top Boxes in order to identify users on the network: + +- MAC address: It is a 48-bit value representing the unique MAC address of the NIU. This MAC address may be hard coded in the NIU or be provided by external source. +- NSAP address: It is a 160-bit value representing a network address. This address is provided by higher layers during communication. + +Upstream information may come from any user in the network and must therefore also be differentiated at the INA using the set of addresses defined above. + +Upstream and OOB downstream channels are divided into separate channels of 1 or 2 MHz bandwidth for downstream and 1 or 2 MHz or 200 kHz for upstream. Each downstream channel contains a synchronization frame used by up to 8 different upstream channels, whose frequencies are indicated by the Media Access Control (MAC) protocol. + +Within upstream channels, users send packets with TDMA type access. This means that each channel is shared by many different users, who can either send packets with a possibility of collisions when this is allowed by the INA, or request transmission and use the packets assigned by the INA to each user specifically. Assuming each channel can therefore accommodate thousands of users at the same time, the upstream bandwidth can easily be used by all users present on the network at the same time. + +The TDMA technique utilizes a slotting methodology which allows the transmit start times to be synchronized to a common clock source. Synchronizing the start times increases message throughput of this signalling channel since the message packets do not overlap during transmission. The period between sequential start times are identified as slots. Each slot is a point in time when a message packet can be transmitted over the signalling link. + +The time reference for slot location is received via the downstream channels generated at the Delivery System and received simultaneously by all Set-Top Units. Note that this time reference is not sent in the same way for OOB and IB signalling. Since all NIUs reference the same time base, the slot times are aligned for all NIUs. However, since there is propagation delay in any transmission network, a time base ranging method accommodates deviation of transmission due to propagation delay. + +Since the TDMA signalling link is used by NIUs that are engaged in interactive sessions, the number of available message slots on this channel is dependent on the number of simultaneous users. When messaging slots are not in use, an NIU may be assigned multiple message slots for increased messaging throughput. Additional slot assignments are provided to the NIU from the downstream signalling information flow. + +There are different access modes for the upstream slots: + +- Reserved slots with fixed rate reservation (Fixed Rate Access: the user has a reservation of one or several time slots in each frame enabling, e.g. for voice, audio). +- Reserved slots with dynamic reservation (Reservation Access: the user sends control information announcing his demand for transmission capacity. He gets grants for the use of slots). +- Contention based slots (these slots are accessible for every user. Collision is possible and solved by a contention resolution protocol). +- Ranging slots (these slots are used upstream to measure and adjust the time delay and the power). + +These slots may be mixed on a single carrier to enable different services on one carrier only. If one carrier is assigned to one specific service, only those slot types will be used which are needed for this service. Therefore a terminal can be simplified to respond to only those slot types assigned to the service. + +#### **A.5.1.4 Bit rates and Framing** + +For the interactive downstream OOB channel, a rate of 1.544 Mbit/s or 3.088 Mbit/s may be used. For downstream IB channels, no other constraints than those specified in the DVB-C specifications exist, but a guideline would be to use rates multiples of 8 kbit/s. + +Downstream OOB channels continuously transmit a frame based on T1 type framing, in which some information is provided for synchronization of upstream slots. Downstream IB channels transmit some MPEG-2 TS packets with a specific PID for synchronization of upstream slots (at least one packet containing synchronization information must be sent in every period of 3 ms). + +For upstream transmission, the INA can indicate three types of transmission rates to users, specifically 3.088 Mbit/s, 1.544 Mbit/s or 256 kbit/s. The INA is responsible for indicating which rate may be used by NIUs. It would imply all NIUs to be able to either transmit with 256 kbit/s, 1.544 Mbit/s, or 3.088 Mbit/s. Only the implementation of one of these bit rates would be mandatory. + +Upstream framing consists of packets of 512 bits (256 symbols) which are sent in a bursty mode from the different users present on the network. The upstream slot rates are 6000 upstream slots/s when the upstream data rate is 3.088 Mbit/s, 3000 upstream slots/s when the upstream data rate is 1.544 Mbit/s and 500 upstream slots/s when the upstream data rate is 256 kbit/s. + +### **A.5.2 Lower physical layer specification** + +In this subclause, detailed information is given on the lower physical layer specification. Figures A.4 and A.5 show the conceptual block diagrams for implementation of the present specification. + +#### **A.5.2.1 Forward interaction path (downstream OOB)** + +##### **A.5.2.1.1 Frequency range (downstream OOB)** + +The frequency range is not specified as mandatory although a guideline is provided to use the following preferred frequency ranges, 70-130 MHz and/or 300-862 MHz or parts thereof, in order to simplify the tuner of the NIU. Frequency stability shall be in the range $\pm 50$ ppm measured at the upper limit of the frequency range. + +![Conceptual block diagram for the NIU OOB transceiver. The diagram shows two main processing paths connected to a central 'MAC protocol carrier and clock and synchronization' block. The top path is for receiving data from the RF channel, and the bottom path is for transmitting data to the RF cable channel. The central block provides synchronization signals to both paths.](aaf3e6e44cdeabd6d1df869c5f392ea1_img.jpg) + +Cable NIU + +The diagram illustrates the internal architecture of a Cable NIU OOB transceiver. At the top, the receive path starts with 'From RF channel' entering an 'RF physical interface and QPSK demodulator'. The signal then passes through a 'Matched filter', a 'Differential decoder', a 'Self synchronized derandomizer and framing', a 'Bit to byte mapping' block, a 'Convolutional de-interleaver', and finally a 'Reed-Solomon decoder' to produce 'ATM data out'. The bottom path is the transmit path, starting with 'ATM data in' entering a 'Reed-Solomon encoder'. The signal then goes through 'Byte to bit mapping', a 'Randomizer', a 'Differential encoder', 'Addition of unique word', and a 'QPSK burst modulator' to output 'To RF cable channel'. A central 'MAC protocol carrier and clock and synchronization' block is connected to both paths, providing necessary timing and control signals. + +T0904370-97/d003 + +Conceptual block diagram for the NIU OOB transceiver. The diagram shows two main processing paths connected to a central 'MAC protocol carrier and clock and synchronization' block. The top path is for receiving data from the RF channel, and the bottom path is for transmitting data to the RF cable channel. The central block provides synchronization signals to both paths. + +Figure A.4/J.112 – Conceptual block diagram for the NIU OOB transceiver + +![Conceptual block diagram for the OOB head-end transceiver. The diagram shows two main processing paths connected to a central 'MAC protocol management carrier and clock and synchronization generator' block. The top path is for transmitting data from the baseband interface to the RF cable channel, and the bottom path is for receiving data from the RF cable channel. The central block provides management and synchronization signals to both paths.](a149b400127a3e3e50b3c98d27c5935c_img.jpg) + +Cable Head-end + +The diagram illustrates the internal architecture of an OOB head-end transceiver. The top path is the transmit path, starting with 'ATM data in' from a 'Baseband interface to: Service provider source multiplexers, etc.'. The signal passes through a 'BB physical interface', a 'Reed-Solomon encoder', a 'Convolutional interleaver', 'Framing', 'Byte to bit mapping', a 'Randomizer', a 'Differential encoder', and a 'QPSK modulator' to output 'To RF cable channel'. The bottom path is the receive path, starting with 'From RF cable channel' entering a 'QPSK burst demodulator'. The signal then passes through a 'Differential decoder', a 'Derandomizer', a 'Bit to byte mapping' block, and a 'Reed-Solomon decoder' to produce 'ATM data out'. A central 'MAC protocol management carrier and clock and synchronization generator' block is connected to both paths, providing management and synchronization signals. + +T0904380-97/d004 + +Conceptual block diagram for the OOB head-end transceiver. The diagram shows two main processing paths connected to a central 'MAC protocol management carrier and clock and synchronization generator' block. The top path is for transmitting data from the baseband interface to the RF cable channel, and the bottom path is for receiving data from the RF cable channel. The central block provides management and synchronization signals to both paths. + +Figure A.5/J.112 – Conceptual block diagram for the OOB head-end transceiver + +![Conceptual block diagram for the IB NIU transceiver. The diagram shows two main data paths. The top path is for MPEG-2 TS data out, starting from a BB physical interface, passing through Sync, inversion and energy disposal removal, Reed-Solomon decoder (204, 188), Convolutional deinterleaver, Symbol to byte mapping, Differential decoder, Matched filter and equalizer, and finally an RF physical interface and QAM demodulator from an RF channel. The bottom path is for ATM data in, starting from a Reed-Solomon encoder (59, 53), passing through Byte to bit mapping, Randomizer, Differential encoder, Addition of unique word, and a QPSK burst modulator to an RF cable channel. A central MAC protocol management block for carrier and clock and synchronization is connected to both paths.](8c348bf9c2c81b018017ae1d19506a9a_img.jpg) + +T0904390-97/d005 + +Conceptual block diagram for the IB NIU transceiver. The diagram shows two main data paths. The top path is for MPEG-2 TS data out, starting from a BB physical interface, passing through Sync, inversion and energy disposal removal, Reed-Solomon decoder (204, 188), Convolutional deinterleaver, Symbol to byte mapping, Differential decoder, Matched filter and equalizer, and finally an RF physical interface and QAM demodulator from an RF channel. The bottom path is for ATM data in, starting from a Reed-Solomon encoder (59, 53), passing through Byte to bit mapping, Randomizer, Differential encoder, Addition of unique word, and a QPSK burst modulator to an RF cable channel. A central MAC protocol management block for carrier and clock and synchronization is connected to both paths. + +Figure A.6/J.112 – Conceptual block diagram for the IB NIU transceiver + +![Conceptual block diagram for the IB head-end transceiver. The diagram shows two main data paths. The top path is for MPEG-2 Data in from a baseband interface to service provider source multiplexers, etc., passing through a BB physical interface, Inversion and randomization, Reed-Solomon encoder (204, 188), Convolutional interleaver (1-12 bytes), Byte to m-tuple mapping, Differential encoding, and an RF physical interface and QAM modulator to an RF channel. The bottom path is for ATM data out, starting from a QPSK burst demodulator from an RF channel, passing through Differential decoder, Derandomizer, Bit to byte mapping, and a Reed-Solomon decoder (59, 53). A central MAC protocol management block for carrier and clock and synchronization is connected to both paths.](b235edb1dbe659e2782c9a0e47775ca4_img.jpg) + +T0904400-97/d006 + +Conceptual block diagram for the IB head-end transceiver. The diagram shows two main data paths. The top path is for MPEG-2 Data in from a baseband interface to service provider source multiplexers, etc., passing through a BB physical interface, Inversion and randomization, Reed-Solomon encoder (204, 188), Convolutional interleaver (1-12 bytes), Byte to m-tuple mapping, Differential encoding, and an RF physical interface and QAM modulator to an RF channel. The bottom path is for ATM data out, starting from a QPSK burst demodulator from an RF channel, passing through Differential decoder, Derandomizer, Bit to byte mapping, and a Reed-Solomon decoder (59, 53). A central MAC protocol management block for carrier and clock and synchronization is connected to both paths. + +Figure A.7/J.112 – Conceptual block diagram for the IB head-end transceiver + +##### A.5.2.1.2 Modulation and mapping (downstream OOB) + +QPSK modulation is used as a means of encoding digital information over wireline or fibre transmission links. The method is a subset of Phase Shift Keying (PSK) which is a subset of Phase Modulation (PM). Specifically QPSK is a four level use of digital Phase Modulation (PM). Quadrature signal representations involve expressing an arbitrary phase sinusoidal waveform as a linear combination of a cosine wave and a sine wave with zero starting phases. + +QPSK systems require the use of differential encoding and corresponding differential detection. This is a result of the receivers having no method of determining if a recovered reference is a sine reference or a cosine reference. In addition, the polarity of the recovered reference is uncertain. + +Differential encoding transmits the information in encoded phase differences between the two successive signals. The modulator processes the digital binary symbols to achieve differential encoding and then transmits the absolute phases. The differential encoding is implemented at the digital level. + +The differential encoder shall accept bits A, B in sequence, and generate phase changes as shown in Table A.1: + +**Table A.1/J.112 – Phase changes associated with bit A, B** + +| A | B | Phase Change | +|---|---|--------------| +| 0 | 0 | None | +| 0 | 1 | +90° | +| 1 | 1 | 180° | +| 1 | 0 | –90° | + +In serial mode, A arrives first. The outputs I, Q from the differential encoder map to the phase states as in Figure A.8. + +![Figure A.8/J.112 – Mapping for the QPSK constellation (downstream OOB). The diagram shows a 2D coordinate system with a horizontal I-axis and a vertical Q-axis. Four points are plotted: '01' in the upper-left quadrant, '11' in the upper-right quadrant, '00' in the lower-left quadrant, and '10' in the lower-right quadrant. A small label 'T0904410-97/d007' is present below the plot.](1033ab90cd19fd4c5901966aeec07a86_img.jpg) + +Figure A.8/J.112 – Mapping for the QPSK constellation (downstream OOB). The diagram shows a 2D coordinate system with a horizontal I-axis and a vertical Q-axis. Four points are plotted: '01' in the upper-left quadrant, '11' in the upper-right quadrant, '00' in the lower-left quadrant, and '10' in the lower-right quadrant. A small label 'T0904410-97/d007' is present below the plot. + +**Figure A.8/J.112 – Mapping for the QPSK constellation (downstream OOB)** + +The phase changes can also be expressed by the following formulas (assuming the constellation is mapped from I and Q as shown in A.5.2.2.2): + +$$\begin{cases} A_k = \overline{(I_{k-1} \oplus Q_{k-1})} \times (Q_{k-1} \oplus Q_k) + \overline{(I_k \oplus Q_{k-1})} \times (I_k \oplus I_{k-1}) \\ B_k = (I_{k-1} \oplus Q_{k-1}) \times (I_{k-1} \oplus I_k) + (I_{k-1} \oplus Q_k) \times (Q_k \oplus Q_{k-1}) \end{cases}$$ + +where $k$ is the time index. + +I/Q amplitude imbalance shall be less than 1.0 dB, and phase imbalance less than 2.0°. + +##### A.5.2.1.3 Shaping filter (downstream OOB) + +The time-domain response of a square-root raised-cosine pulse with excess bandwidth parameter $\alpha$ is given by: + +$$g(t) = \frac{\sin\left[\frac{\pi t}{T}(1-\alpha)\right] + \frac{4\alpha t}{T} \cos\left[\frac{\pi t}{T}(1+\alpha)\right]}{\frac{\pi t}{T} \left[1 - \left(\frac{4\alpha t}{T}\right)^2\right]}$$ + +where $T$ is the symbol period. + +The output signal shall be defined as: + +$$S(t) = \sum_n [I_n \times g(t - nT) \times \cos(2\pi f_c t) - Q_n \times g(t - nT) \times \sin(2\pi f_c t)]$$ + +with $I_n$ and $Q_n$ equal to $\pm 1$ , independently from each other, and $f_c$ the QPSK modulator's carrier frequency. + +The QPSK modulator divides the incoming bit stream so that bits are sent alternately to the in-phase modulator I and the out-of-phase modulator Q. These same bit streams appear at the output of the respective phase detectors in the demodulator where they are interleaved back into a serial bit stream. + +The occupied bandwidth of a QPSK signal is given by the equation: + +$$\text{Bandwidth} = \frac{f_b}{2} (1 + \alpha)$$ + +$f_b$ = bit rate + +$\alpha$ = excess bandwidth = 0.30 + +For both bit rates: 1.544 Mbit/s (Grade A) and 3.088 Mbit/s (Grade B), the Power Spectrum at the QPSK transmitter shall comply to the Power Spectrum Mask given in Table A.2 and Figure A.9. The Power Spectrum Mask shall be applied symmetrically around the carrier frequency. + +**Table A.2/J.112 – QPSK downstream transmitter Power Spectrum** + +| $ (f - f_c) / f_N $ | Power Spectrum | +|---------------------|------------------| +| $\leq 1 - \alpha$ | $0 \pm 0.25$ dB | +| at 1 | $-3 \pm 0.25$ dB | +| at $1 + \alpha$ | $\leq -21$ dB | +| $\geq 2$ | $\leq -40$ dB | + +![Figure A.9/J.112 – QPSK downstream transmitter Power Spectrum. This is a graph showing the power spectrum H(f) versus the normalized frequency |(f - f_c) / f_N|. The y-axis is labeled H(f) and has markers at 0 dB, -3 dB, -21 dB, and -40 dB. The x-axis is labeled |(f - f_c) / f_N| and has markers at 1 - alpha, 1, 1 + alpha, and 2. The power spectrum is flat at 0 dB from 0 to 1 - alpha. At 1 - alpha, it begins to roll off. At f_N (x=1), the power is -3 dB. At 1 + alpha, the power is -21 dB. At x=2, the power is -40 dB. For x > 2, the power is below -40 dB. The graph includes annotations for 'In-band ripple r_m < 0.5 dB' and 'Nyquist ripple r_N < 0.5 dB' in the flat region, and 'Out-of-band rejection > 40 dB' for the region beyond x=2. A small code 'T0904420-97/d008' is visible in the bottom right corner of the graph area.](f12fd90263d4329f529373b914096dec_img.jpg) + +Figure A.9/J.112 – QPSK downstream transmitter Power Spectrum. This is a graph showing the power spectrum H(f) versus the normalized frequency |(f - f\_c) / f\_N|. The y-axis is labeled H(f) and has markers at 0 dB, -3 dB, -21 dB, and -40 dB. The x-axis is labeled |(f - f\_c) / f\_N| and has markers at 1 - alpha, 1, 1 + alpha, and 2. The power spectrum is flat at 0 dB from 0 to 1 - alpha. At 1 - alpha, it begins to roll off. At f\_N (x=1), the power is -3 dB. At 1 + alpha, the power is -21 dB. At x=2, the power is -40 dB. For x > 2, the power is below -40 dB. The graph includes annotations for 'In-band ripple r\_m < 0.5 dB' and 'Nyquist ripple r\_N < 0.5 dB' in the flat region, and 'Out-of-band rejection > 40 dB' for the region beyond x=2. A small code 'T0904420-97/d008' is visible in the bottom right corner of the graph area. + +**Figure A.9/J.112 – QPSK downstream transmitter Power Spectrum** + +QPSK systems require the use of differential encoding and corresponding differential detection. This is a result of the receivers having no method of determining if a recovered reference is a sine reference or a cosine reference. In addition, the polarity of the recovered reference is uncertain. + +Differential encoding transmits the information in encoded phase differences between the two successive signals. The modulator processes the digital binary symbols to achieve differential encoding and then transmits the absolute phases. The differential encoding is implemented at the digital level. + +##### A.5.2.1.4 Randomizer (downstream OOB) + +After addition of the FEC bytes (see A.5.3), all of the 1.544 Mbit/s (or 3.088 Mbit/s) data is passed through a six register Linear Feedback Shift Register (LFSR) randomizer to ensure a random distribution of ones and zeroes. The generating polynomial is: $x^6 + x^5 + 1$ . Byte/serial conversion shall be MSB first. A complementary self-synchronizing de-randomizer is used in the receiver to recover the data. + +![Diagram of a Randomizer (Figure A.10/J.112).](4f148853ae68fdcf5e43f7604cab457d_img.jpg) + +The diagram shows a randomizer circuit. A 'Serial input' enters from the top and is split. One path goes to an XOR gate (represented by a circle with a '+' sign). The output of this XOR gate is the 'Serial output'. The other path from the input goes into a chain of six square boxes representing shift register stages. The output of the sixth stage is fed back to the second XOR gate in the chain. The outputs of the first and second XOR gates are combined at the second XOR gate. The output of the second XOR gate is fed back to the first XOR gate. The diagram is labeled 'T0904430-97/d009'. + +Diagram of a Randomizer (Figure A.10/J.112). + +Figure A.10/J.112 – Randomizer + +![Diagram of a De-randomizer (Figure A.11/J.112).](98e54d5540b2efe3e24af3cf936bc4ea_img.jpg) + +The diagram shows a de-randomizer circuit. A 'Serial input' enters from the top and is split. One path goes to a chain of six square boxes representing shift register stages. The output of the sixth stage is fed back to the second XOR gate (represented by a circle with a '+' sign). The outputs of the first and second XOR gates are combined at the second XOR gate. The output of the second XOR gate is fed back to the first XOR gate. The output of the first XOR gate is the 'Serial output'. The diagram is labeled 'T0904440-97/d010'. + +Diagram of a De-randomizer (Figure A.11/J.112). + +Figure A.11/J.112 – De-randomizer + +##### A.5.2.1.5 Bit rate (downstream OOB) + +The bit rate shall be 1.544 Mbit/s or 3.088 Mbit/s. Only one of the bit rates is mandatory in the NIU. Symbol rate accuracy should be within $\pm 50$ ppm. + +##### A.5.2.1.6 Receiver power level (downstream OOB) + +The receiver power level shall be in the range 42-75 dBmicroV (RMS) ( $75 \Omega$ ) at its input. + +##### A.5.2.1.7 Summary (downstream OOB) + +| Transmission Rate | 1.544 Mbit/s for Grade A
3.088 Mbit/s for Grade B | | | | | | | | | | | | | | | | +|------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------|---|--------------|---|---|------|---|---|------|---|---|------|---|---|------| +| Modulation | Differentially encoded QPSK | | | | | | | | | | | | | | | | +| Transmit Filtering | Filtering is alpha = 0.30 square root raised cosine | | | | | | | | | | | | | | | | +| Channel Spacing | 1 MHz for Grade A
2 MHz for Grade B | | | | | | | | | | | | | | | | +| Frequency Step Size | 250 kHz (center frequency granularity) | | | | | | | | | | | | | | | | +| Randomization |

After addition of the FEC bytes, all of the 1.544 Mbit/s (or 3.088 Mbit/s) data is passed through a six register Linear Feedback Shift Register (LFSR) randomizer to ensure a random distribution of ones and zeroes.

The generating polynomial is: x^6 + x^5 + 1.

Byte/serial conversion shall be MSB first.

A complementary self-synchronizing de-randomizer is used in the receiver to recover the data.

| | | | | | | | | | | | | | | | +| Differential Encoding |

The differential encoder shall accept bits A, B in sequence, and generate phase changes as follows:

A B Phase-Change
0 0 None
0 1 +90°
1 1 180°
1 0 –90°

In serial mode, A arrives first.

| A | B | Phase-Change | 0 | 0 | None | 0 | 1 | +90° | 1 | 1 | 180° | 1 | 0 | –90° | +| A | B | Phase-Change | | | | | | | | | | | | | | | +| 0 | 0 | None | | | | | | | | | | | | | | | +| 0 | 1 | +90° | | | | | | | | | | | | | | | +| 1 | 1 | 180° | | | | | | | | | | | | | | | +| 1 | 0 | –90° | | | | | | | | | | | | | | | +| Signal Constellation |

The outputs I, Q from the differential encoder map to the phase states as in Figure A.12.

Figure A.12/J.112: Signal Constellation diagram showing four points in the I-Q plane. The horizontal axis is labeled 'I' and the vertical axis is labeled 'Q'. The points are: 01 in the top-left quadrant, 11 in the top-right quadrant, 00 in the bottom-left quadrant, and 10 in the bottom-right quadrant. A small label 'T0904450-97/d011' is at the bottom right of the diagram.

Figure A.12/J.112

| | | | | | | | | | | | | | | | +| Frequency Range | Recommended but not mandatory 70 to 130 MHz and/or 300 to 862 MHz | | | | | | | | | | | | | | | | +| Frequency Stability | ± 50 ppm measured at the upper limit of the frequency range | | | | | | | | | | | | | | | | +| Symbol Rate Accuracy | ± 50 ppm | | | | | | | | | | | | | | | | +| Carrier Suppression | > 30 dB | | | | | | | | | | | | | | | | +| I/Q Amplitude Imbalance | < 1.0 dB | | | | | | | | | | | | | | | | +| I/Q Phase Imbalance | < 2.0° | | | | | | | | | | | | | | | | +| Receive Power Level at input | 42-75 dBmicroV (RMS) (75 Ω) | | | | | | | | | | | | | | | | +| Transmit Spectral Mask | A common mask for both bit rates: 1.544 Mbit/s (Grade A) and 3.088 Mbit/s (Grade B) is given in Table A.2 and in Figure A.9 | | | | | | | | | | | | | | | | + +##### A.5.2.1.8 Bit error rate downstream OOB (informative) + +Bit error rate at the NIU should be less than $10^{-10}$ (after error correction, i.e. 1 error in 2 hours at 1.5 Mbit/s) at $C/N > 20$ dB for downstream transmission. $C/N$ is the carrier-to-noise ratio relevant for the demodulation process (Nyquist bandwidth for white noise). + +#### A.5.2.2 Forward Interaction path (downstream IB) + +The IB Forward Interaction Path must use a MPEG-2 TS stream with a modulated QAM channel as defined by ETS 300 429. Frequency range, channel spacing, and other lower physical layer parameters should follow that specification. + +#### A.5.2.3 Return Interaction path (upstream) + +##### A.5.2.3.1 Frequency range (upstream) + +The frequency range is not specified as mandatory although a guideline is provided to use the 5-65 MHz. Frequency stability shall be in the range $\pm 50$ ppm measured at the upper limit of the frequency range. + +##### A.5.2.3.2 Modulation and mapping (upstream) + +The unique word (CC CC CC 0D, see A.5.3 for upstream framing) is not differentially encoded, the outputs I, Q map to the phase states as in Figure A.13. + +![Figure A.13/J.112 – Mapping for the QPSK constellation (upstream). The diagram shows a QPSK constellation in the I-Q plane. The horizontal axis is labeled 'I' and the vertical axis is labeled 'Q'. Four points are plotted: '01' in the top-left quadrant, '11' in the top-right quadrant, '00' in the bottom-left quadrant, and '10' in the bottom-right quadrant. The text 'T0904460-97/d012' is at the bottom right.](e75b47d0ac4bd181879bc6abdf215d33_img.jpg) + +Figure A.13/J.112 – Mapping for the QPSK constellation (upstream). The diagram shows a QPSK constellation in the I-Q plane. The horizontal axis is labeled 'I' and the vertical axis is labeled 'Q'. Four points are plotted: '01' in the top-left quadrant, '11' in the top-right quadrant, '00' in the bottom-left quadrant, and '10' in the bottom-right quadrant. The text 'T0904460-97/d012' is at the bottom right. + +Figure A.13/J.112 – Mapping for the QPSK constellation (upstream) + +For the remainder of the packet, the differential encoder shall accept bits A, B in sequence, and generate phase changes as indicated in Table A.3. It starts with the first information dibit and is initialized with the last dibit of the unique word, i.e. (A, B = 0, 1) since conversion is made MSB first. + +Table A.3/J.112 – Phase changes corresponding to bits A, B + +| A | B | Phase change | +|---|---|--------------| +| 0 | 0 | None | +| 0 | 1 | +90° | +| 1 | 1 | 180° | +| 1 | 0 | -90° | + +Phase changes correspond to the following formulas (assuming I and Q are mapped to the constellation as for the unique word): + +$$\begin{cases} A_k = \overline{(I_{k-1} \oplus Q_{k-1})} \times (Q_{k-1} \oplus Q_k) + \overline{(I_k \oplus Q_{k-1})} \times (I_k \oplus I_{k-1}) \\ B_k = (I_{k-1} \oplus Q_{k-1}) \times (I_{k-1} \oplus I_k) + \overline{(I_{k-1} \oplus Q_k)} \times (Q_k \oplus Q_{k-1}) \end{cases}$$ + +where $k$ is the time index. + +I/Q amplitude imbalance shall be less than 1.0 dB, and phase imbalance less than 2.0°. + +##### A.5.2.3.3 Shaping filter (upstream) + +The time-domain response of a square-root raised-cosine pulse with excess bandwidth parameter $\alpha$ is given by: + +$$g(t) = \frac{\sin\left[\frac{\pi t}{T}(1-\alpha)\right] + \frac{4\alpha t}{T} \cos\left[\frac{\pi t}{T}(1+\alpha)\right]}{\frac{\pi t}{T} \left[1 - \left(\frac{4\alpha t}{T}\right)^2\right]}$$ + +where $T$ is the symbol period. + +The output signal shall be defined as: + +$$S(t) = \sum_n [I_n \times g(t - nT) \times \cos(2\pi f_c t) - Q_n \times g(t - nT) \times \sin(2\pi f_c t)]$$ + +with $I_n$ and $Q_n$ equal to $\pm 1$ , independently from each other, and $f_c$ the QPSK modulator's carrier frequency. + +The QPSK modulator divides the incoming bit stream so that bits are sent alternately to the in-phase modulator I and the out-of-phase modulator Q. These same bit streams appear at the output of the respective phase detectors in the demodulator where they are interleaved back into a serial bit stream. + +The QPSK signal parameters are: + +- RF bandwidth: $BW = (f_b/2) * (1 + \alpha)$ ; +- Occupied RF Spectrum: $[f_c - BW/2, f_c + BW/2]$ ; +- Symbol Rate: $f_s = f_b/2$ ; +- Nyquist Frequency: $f_N = f_s/2$ ; + +with $f_b$ = bit rate, $f_c$ = carrier frequency and $\alpha$ = excess bandwidth. + +For all three bit rates: 256 kbit/s (Grade A), 1.544 Mbit/s (Grade B) and 3.088 Mbit/s (Grade C), the Power Spectrum at the QPSK transmitter shall comply to the Power Spectrum Mask given in Table A.4 and Figure A.14. The Power Spectrum Mask shall be applied symmetrically around the carrier frequency. + +The specifications which shall apply to QPSK modulation for the upstream channel are given in Table A.4. + +**Table A.4/J.112 – QPSK upstream transmitter Power Spectrum** + +| $ f - f_c /f_N$ | Power Spectrum | +|-------------------|------------------| +| $\leq 1 - \alpha$ | $0 \pm 0.25$ dB | +| at 1 | $-3 \pm 0.25$ dB | +| at $1 + \alpha$ | $\leq -21$ dB | +| $\geq 2$ | $\leq -40$ dB | + +![Figure A.14/J.112 – QPSK upstream transmitter Power Spectrum. The graph shows the power spectral density H(f) versus normalized frequency |f - fc| / fN. The y-axis is in dB, ranging from -40 dB to 0 dB. The x-axis has markers at 1 - alpha, 1, 1 + alpha, and 2. The spectrum is flat at 0 dB from 0 to 1 - alpha. Between 1 - alpha and 1, there is an in-band ripple rm. Between 1 and 1 + alpha, there is a Nyquist ripple rN. At f = 2, there is a sharp drop to -40 dB, labeled as out-of-band rejection > 40 dB. Text labels indicate In-band ripple rm < 0.5 dB and Nyquist ripple rN < 0.5 dB. The code T0904470-97/d013 is at the bottom right.](24b549c0c4b79c515b244625cf4f4978_img.jpg) + +Figure A.14/J.112 – QPSK upstream transmitter Power Spectrum. The graph shows the power spectral density H(f) versus normalized frequency |f - fc| / fN. The y-axis is in dB, ranging from -40 dB to 0 dB. The x-axis has markers at 1 - alpha, 1, 1 + alpha, and 2. The spectrum is flat at 0 dB from 0 to 1 - alpha. Between 1 - alpha and 1, there is an in-band ripple rm. Between 1 and 1 + alpha, there is a Nyquist ripple rN. At f = 2, there is a sharp drop to -40 dB, labeled as out-of-band rejection > 40 dB. Text labels indicate In-band ripple rm < 0.5 dB and Nyquist ripple rN < 0.5 dB. The code T0904470-97/d013 is at the bottom right. + +Figure A.14/J.112 – QPSK upstream transmitter Power Spectrum + +##### A.5.2.3.4 Randomizer (upstream) + +The unique word shall be sent in clear (see A.5.3). After addition of the FEC bytes, randomization shall apply only to the payload area and FEC bytes, with the randomizer performing modulo -2 addition of the data with a pseudo-random sequence. The generating polynomial is $x^6 + x^5 + 1$ with seed all ones. We assume the first value coming out of the pseudo-random generator taken into account is 0. Byte/serial conversion shall be MSB first. The binary sequence generated by the shift register starts with 00000100... The first "0" is to be added in the first bit after the unique word. + +A complementary non self-synchronizing de-randomizer is used in the receiver to recover the data. The de-randomizer shall be enabled after detection of the unique word. + +![Figure A.15/J.112 – Randomizer. This is a block diagram of a randomizer. Serial input enters a circular adder (+). The output of this adder goes into a series of six square blocks representing a shift register. The output of the shift register is fed into another circular adder (+). The output of this second adder is the Serial output. A feedback loop connects the output of the second adder back to its input. The code T0904480-97/d014 is at the bottom right.](0ee9d674085524d589646a6c3fb21ec3_img.jpg) + +Figure A.15/J.112 – Randomizer. This is a block diagram of a randomizer. Serial input enters a circular adder (+). The output of this adder goes into a series of six square blocks representing a shift register. The output of the shift register is fed into another circular adder (+). The output of this second adder is the Serial output. A feedback loop connects the output of the second adder back to its input. The code T0904480-97/d014 is at the bottom right. + +Figure A.15/J.112 – Randomizer + +##### A.5.2.3.5 Bit rate (upstream) + +Three grades of modulation transmission rate are specified: + +Table A.5/J.112 – Upstream bit-rates for modulation grades A, B and C + +| Grade | Rate | +|-------|--------------| +| A | 256 kbit/s | +| B | 1.544 Mbit/s | +| C | 3.088 Mbit/s | + +A QPSK modulator (NIU transmitter) may support A, B and C grades of transmission rate. (Only the implementation of one of these grades should be mandatory.) A QPSK demodulator (INA receiver) shall support at least one grade A, B or C, but may support all grades. + +Symbol rate accuracy should be within ± 50 ppm. + +For grade A, the rate is 500 slots/s. For grade B, the rate is 3000 slots/s. For grade C, the rate is 6000 slots/s. + +##### A.5.2.3.6 Transmit power level (upstream) + +At the output, the transmit power level shall be in the range 85-113 dBµV (RMS) (75 Ω). In some geographic areas, it may be necessary to cover the range 85-122 dBµV (RMS) (75 Ω). However, note that high power may lead to electromagnetic compatibility problems. This power shall be adjusted by steps of 0.5 dB by MAC messages coming from the INA. + +##### A.5.2.3.7 Carrier suppression when idle (upstream) + +The Carrier Suppression shall be more than 60 dB below nominal power output level, over the entire power output range. A terminal is considered to be idle if it is 3 slots before an imminent transmission or 3 slots after its most recent transmission. + +##### A.5.2.3.8 Summary (upstream) + +See Table A.6. + +**Table A.6/J.112 – Summary (upstream)** + +| Transmission Rate |

Three grades of modulation transmission rate are specified:

Grade Rate
A 256 kbit/s
B 1.544 Mbit/s
C 3.088 Mbit/s

A QPSK modulator (transmitter) may support A, B and C grades of transmission rate. (Only the implementation of one of these grades should be mandatory.) A QPSK demodulator (receiver) shall support at least one grade A, B, or C, but may support all grades.

| Grade | Rate | A | 256 kbit/s | B | 1.544 Mbit/s | C | 3.088 Mbit/s | | | | | | | | +|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------|------|--------------|------------|---|--------------|---|--------------|------|---|---|------|---|---|------| +| Grade | Rate | | | | | | | | | | | | | | | | +| A | 256 kbit/s | | | | | | | | | | | | | | | | +| B | 1.544 Mbit/s | | | | | | | | | | | | | | | | +| C | 3.088 Mbit/s | | | | | | | | | | | | | | | | +| Modulation | Differentially encoded QPSK | | | | | | | | | | | | | | | | +| Transmit Filtering | Alpha = 0.30 square root raised cosine | | | | | | | | | | | | | | | | +| Channel Spacing |

200 kHz for Grade A (256 kbit/s)

1 MHz for Grade B (1.544 Mbit/s)

2 MHz for Grade C (3.088 Mbit/s)

| | | | | | | | | | | | | | | | +| Frequency Step Size | 50 kHz | | | | | | | | | | | | | | | | +| Randomization |

The unique word shall be sent in the clear. After addition of the FEC bytes, randomization shall apply only to the payload area and FEC bytes, with the randomizer performing modulo –2 addition of the data with a pseudo-random sequence. The generating polynomial is x^6 + x^5 + 1 with seed all ones.

Byte/serial conversion shall be MSB first.

A complementary non self-synchronizing de-randomizer is used in the receiver to recover the data. The de-randomizer shall be enabled after detection of the unique word.

| | | | | | | | | | | | | | | | +| Differential Encoding |

The differential encoder shall accept bits A, B in sequence, and generate phase changes as follows. In serial mode, A arrives first.

A B Phase Change
0 0 None
0 1 +90°
1 1 180°
1 0 –90°
| A | B | Phase Change | 0 | 0 | None | 0 | 1 | +90° | 1 | 1 | 180° | 1 | 0 | –90° | +| A | B | Phase Change | | | | | | | | | | | | | | | +| 0 | 0 | None | | | | | | | | | | | | | | | +| 0 | 1 | +90° | | | | | | | | | | | | | | | +| 1 | 1 | 180° | | | | | | | | | | | | | | | +| 1 | 0 | –90° | | | | | | | | | | | | | | | + +**Table A.6/J.112 – Summary (upstream) (*concluded*)** + +| | | +|-----------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +|

Signal Constellation

NOTE – The unique word (0x CC CC CC 0D) does not go through differential encoding.

|

The outputs I, Q from the differential encoder map to the phase states as in Figure A.16.

Figure A.16/J.112: QPSK Signal Constellation diagram. It shows four points in a 2D plane defined by I (horizontal) and Q (vertical) axes. The points are labeled: top-left '01', top-right '11', bottom-left '00', and bottom-right '10'. The diagram is labeled T0904490-97/d015.

Figure A.16/J.112

| +|

Frequency Range

|

5-65 MHz recommended but not mandatory

| +|

Frequency Stability

|

± 50 ppm measured at the upper limit of the frequency range

| +|

Symbol Rate Accuracy

|

± 50 ppm

| +|

Transmit Spectral Mask

|

A common mask for all three bit rates: 256 kbit/s (Grade A), 1.544 Mbit/s (Grade B) and 3.088 Mbit/s (Grade C) is given in Table A.4 and Figure A.14.

| +|

Carrier Suppression when Transmitter Active

|

> 30 dB

| +|

Carrier Suppression when Transmitter Idle

|

The Carrier Suppression shall be more than 60 dB below nominal power output level over the entire power output range (see Recommendation I.361 for details) and 30 dB right after or before transmission.

Idle Transmitter Definition: a terminal is considered to be idle if it is 3 slots before an imminent transmission or 3 slots after its most recent transmission.

Diagram showing carrier suppression levels relative to a burst packet. The central 'Burst packet' is 63 bytes long with 1 byte guard bands on either side. Immediately before and after the guard bands, the suppression is 30 dB. Beyond 3 slots from the burst, the suppression increases to 60 dB. The diagram is labeled T0904500-97/d016.
| +|

I/Q Amplitude Imbalance

|

< 1.0 dB

| +|

I/Q Phase Imbalance

|

< 2.0°

| +|

Transmit Power Level at the modulator output (upstream)

|

85-113 dBμV (RMS) (75 Ω). In some geographic areas, it may be necessary to cover the range 85-122 dBμV (RMS) (75 Ω).

| + +##### A.5.2.3.9 Packet loss upstream (informative) + +Packet loss at the INA shall be less than $10^{-6}$ at C/N > 20 dB (after error correction) for upstream transmission. + +NOTE – A packet loss occurs when one or more bit per packet (after error correction) are uncorrectable. The C/N is referred at the demodulator input (Nyquist bandwidth, white noise). + +### A.5.3 Framing + +#### A.5.3.1 Forward interaction path (downstream OOB) + +##### A.5.3.1.1 Signalling Link Extended Superframe Framing format + +The Signalling Link Extended Superframe (SL-ESF) frame structure is shown in Figure A.17. The bitstream is partitioned into 4632-bit Extended Superframes. Each Extended Superframe consists of 24 × 193-bit frames. Each frame consists of 1 Overhead (OH) bit and 24 bytes (192 bits) of payload. + +![Diagram of SL-ESF frame structure showing 24 frames, each with 193 bits (1 OH + 192 Payload).](04cfca33e3fc26513abe649d7474f733_img.jpg) + +The diagram illustrates the SL-ESF frame structure. At the top, a horizontal row of 24 boxes is labeled 1 through 24. Below this row, a double-headed arrow spans the entire width and is labeled "24 frames". A diagonal line descends from the left side of this row to a larger diagram below. Along this diagonal line, the text "24 frames × 193 bits = 4632 bits" is written. The bottom diagram shows a single frame structure. It consists of two rows. The top row has two cells: the first is labeled "OH" and the second is labeled "Payload". The bottom row has two cells: the first contains the number "1", and the second contains the text "192 bits". A double-headed arrow spans the width of the "Payload" and "192 bits" cells. In the bottom right corner of the diagram, the text "T0904510-97/d017" is present. + +Diagram of SL-ESF frame structure showing 24 frames, each with 193 bits (1 OH + 192 Payload). + +Figure A.17/J.112 – SL-ESF frame structure + +##### A.5.3.1.2 Frame overhead + +There are 24 frame overhead bits in the Extended Superframe which are divided into Extended Superframe Frame Alignment Signal (F1-F6), Cyclic Redundancy Check (C1-C6), and M-bit Data Link (M1-M12) as shown in Table A.7. Bit number 0 is received first. + +###### ESF Frame Alignment Signal + +The ESF Frame Alignment Signal (FAS) is used to locate all 24 frames and overhead bit positions. The bit values of the FAS are defined as follows: + +$$F1 = 0, F2 = 0, F3 = 1, F4 = 0, F5 = 1, F6 = 1$$ + +###### ESF Cyclic Redundancy Check + +The Cyclic Redundancy Check field contains the CRC-6 check bits calculated over the previous Extended Superframe (CRC Message block [CMB] size = 4632 bits). Before calculation, all 24 frame overhead bits are equal to "1". All information in the other bit positions is unchanged. The check bit sequence C1-C6 is the remainder after multiplication by $x^6$ and then division by the generator polynomial $x^6 + x + 1$ of the CMB. C1 is the most significant bit of the remainder. The initial remainder value is preset to all zeros. + +###### ESF Mbit data link + +The M-bits in the SL-ESF serve for slot timing assignment (see A.5.4). + +**Table A.7/J.112 – Frame overhead** + +| Frame Number | Bit Number | Overhead bit | Data (192 bits) | +|---------------------------------------------------------------------------------------------------------|------------|--------------|-----------------| +| 1 | 0 | M1 | | +| 2 | 193 | C1 | | +| 3 | 386 | M2 | | +| 4 | 579 | F1 = 0 | | +| 5 | 772 | M3 | | +| 6 | 965 | C2 | | +| 7 | 1158 | M4 | | +| 8 | 1351 | F2 = 0 | | +| 9 | 1544 | M5 | | +| 10 | 1737 | C3 | | +| 11 | 1930 | M6 | | +| 12 | 2123 | F3 = 1 | | +| 13 | 2316 | M7 | | +| 14 | 2509 | C4 | | +| 15 | 2702 | M8 | | +| 16 | 2895 | F4 = 0 | | +| 17 | 3088 | M9 | | +| 18 | 3281 | C5 | | +| 19 | 3474 | M10 | | +| 20 | 3667 | F5 = 1 | | +| 21 | 3860 | M11 | | +| 22 | 4053 | C6 | | +| 23 | 4246 | M12 | | +| 24 | 4439 | F6 = 1 | | +| FAS Frame Alignment Signal (F1-F6)
DL Mbit Data Link (M1-M12)
CRC Cyclic Redundancy Check (C1-C6) | | | | + +##### A.5.3.1.3 Payload structure + +The SL-ESF frame payload structure provides a known container for defining the location of the ATM cells and the corresponding Reed-Solomon parity values. The SL-ESF payload structure is shown in Table A.8. + +The SL-ESF payload structure consists of 5 rows of 57 bytes each, 4 rows of 58 bytes each which includes 1 byte trailer, and 1 row of 59 bytes, which includes a 2-byte trailer. The first bit of the SL-ESF payload structure follows the M1 bit of the SL-ESF frame. The SL-ESF payload fields are defined as follows. Table A.8 is read from left to right and top to bottom and mapped as is into the ESF frame described by Table A.7. + +**Table A.8/J.112 – ESF payload structure** + +| | ← 2 → | | ← 53 → | | | | | | ← 2 → | | +|----|-------|-----|----------|--|--|--|--|--|-----------|---------| +| 1 | R1a | R1b | ATM cell | | | | | | RS parity | | +| 2 | R1c | R2a | | | | | | | | R2
b | +| 3 | R2c | R3a | | | | | | | | | +| 4 | R3b | R3c | | | | | | | | R4
a | +| 5 | R4b | R4c | | | | | | | | | +| 6 | R5a | R5b | | | | | | | | R5
c | +| 7 | R6a | R6b | | | | | | | | | +| 8 | R6c | R7a | | | | | | | | R7
b | +| 9 | R7c | R8a | | | | | | | | | +| 10 | R8b | R8c | | | | | | | | T T | + +T0904520-97/d018 + +###### **ATM cell structure** + +The format for each ATM cell structure is shown in Figure A.18. This structure and field coding shall be consistent with the structure and coding given in Recommendation I.361 for ATM UNI. + +![Diagram of ATM cell format showing Header (40 bits), Information Payload (384 bits), and total size (53 bytes).](0b3d9fe35da3ee0c88f1420bb9ed7a03_img.jpg) + +The diagram illustrates the structure of an ATM cell. It is divided into two main parts: a 'Header' and an 'Information Payload'. The Header is 40 bits long, and the Information Payload is 384 bits long. The total length of the cell is 53 bytes. The diagram shows a horizontal line representing the cell, with a vertical line separating the Header and the Information Payload. The Header is on the left, and the Information Payload is on the right. The total length is indicated by a double-headed arrow at the bottom, labeled '53 bytes'. + +Diagram of ATM cell format showing Header (40 bits), Information Payload (384 bits), and total size (53 bytes). + +T0904530-97/d019 + +**Figure A.18/J.112 – ATM cell format** + +###### **Channel coding and interleaving** + +Reed-Solomon encoding with $t = 1$ shall be performed on each ATM cell. This means that 1 erroneous byte per ATM cell can be corrected. This process adds 2 parity bytes to the ATM cell to give a codeword of (55,53). + +The Reed-Solomon code shall have the following generator polynomials: + +- Code Generator Polynomial: $g(x) = (x + \mu^0)(x + \mu^1)$ , where $\mu = 02$ hex; +- Field Generator Polynomial: $p(x) = x^8 + x^4 + x^3 + x^2 + 1$ . + +The shortened Reed-Solomon code shall be implemented by appending 200 bytes, all set to zero, before the information bytes at the input of a (255,253) encoder; after the coding procedure these bytes are discarded. + +Convolutional interleaving shall be applied to the ATM cells contained in the SL-ESF. The Rxa-Rxc bytes and the two T bytes shall not be included in the interleaving process. Convolutional interleaving is applied by interleaving 5 lines of 55 bytes. + +Following the scheme of Figure A.19, convolutional interleaving shall be applied to the error protected packets. The convolutional interleaving process shall be based on the Forney approach, which is compatible with the Ramsey type III approach, with $I = 5$ . The Interleaved frame shall be composed of overlapping error protected packets and a group of 10 packets shall be delimited by the start of the SL-ESF. + +![Diagram of Interleaver and de-interleaver structures. The diagram shows an input (IN) entering a central 'CHANNEL' block. Inside the block, there are five branches labeled 0 to 4. Branch 0 contains one cell with '0'. Branch 1 contains one cell with 'M'. Branch 2 contains two cells with 'M'. Branch 3 contains three cells with 'M'. Branch 4 contains four cells with 'M'. On the output side, the branches are reversed: Branch 0 contains four cells with 'M', Branch 1 contains three cells with 'M', Branch 2 contains two cells with 'M', Branch 3 contains one cell with 'M', and Branch 4 contains one cell with '0'. The output is labeled 'OUT'. A reference code 'T0904540-97/d020' is at the bottom right.](70a863dc6cd47bac82c12162a9479aac_img.jpg) + +Diagram of Interleaver and de-interleaver structures. The diagram shows an input (IN) entering a central 'CHANNEL' block. Inside the block, there are five branches labeled 0 to 4. Branch 0 contains one cell with '0'. Branch 1 contains one cell with 'M'. Branch 2 contains two cells with 'M'. Branch 3 contains three cells with 'M'. Branch 4 contains four cells with 'M'. On the output side, the branches are reversed: Branch 0 contains four cells with 'M', Branch 1 contains three cells with 'M', Branch 2 contains two cells with 'M', Branch 3 contains one cell with 'M', and Branch 4 contains one cell with '0'. The output is labeled 'OUT'. A reference code 'T0904540-97/d020' is at the bottom right. + +Figure A.19/J.112 – Interleaver and de-interleaver structures + +The interleaver is composed of $I$ branches, cyclically connected to the input byte-stream by the input switch. Each branch shall be a First In First Out (FIFO) shift register, with depth ( $M_j$ ) cells (where $M = N/I$ , $N = 55$ = error protected frame length, $I$ = interleaving depth, $j$ = branch index). The input and output switches shall be synchronized. Each cell of the FIFO shall contain one byte. + +For synchronization purposes, the first byte of each error protected packet shall be always routed into the branch "0" of the interleaver (corresponding to a null delay). The third byte of the SL-ESF payload (the byte immediately following R1b) shall be aligned to the first byte of an error protected packet. + +The de-interleaver is similar, in principle, to the interleaver, but the branch indexes are reversed (i.e. branch 0 corresponds to the largest delay). The de-interleaver synchronization is achieved by routing the third data byte of the SL-ESF into the "0" branch. + +###### Reception indicator fields and slot boundary fields + +A downstream channel contains control information for each of its associated upstream channels. This information is contained within structures known as MAC Flags. A set of MAC Flags, represented by either 24 bits (denoted $b_0 \dots b_{23}$ ) or by 3 bytes (denoted $R_{xa}$ , $R_{xb}$ and $R_{xc}$ ), are uniquely assigned to a given upstream channel "x": + +- $R_{xa} = \text{EE}(b_0 \dots b_7) = (\text{msb} \dots \text{lsb});$ +- $R_{xb} = \text{EE}(b_8 \dots b_{15}) = (\text{msb} \dots \text{lsb});$ +- $R_{xc} = \text{EE}(b_{16} \dots b_{23}) = (\text{msb} \dots \text{lsb}).$ + +These flags constitute the slot configuration information for the upstream channel "x" where "x" is indicated to the NIU in the «MAC Flag sets» given in MAC messages (Default Configuration message, Connect message, Reprovision message, Transmission Control message) and is described as follows: + +The $MAC\_Flag\_Set$ is a 5-bit field indicating the MAC Flag set number assigned to the channel (i.e. $R_{1a}$ , $R_{1b}$ and $R_{1c}$ represent MAC Flag set 1). It can take the values 1..16. Values 0 and 17..31 are invalid. + +In the OOB downstream case, each SL-ESF frame structure contains eight sets of MAC Flags represented by Rxa, Rxb and Rxc, where x is replaced by the numbers 1..8. In the case of a 1.544 Mbit/s downstream bit rate, only one SL-ESF frame occurs during a 3 ms interval providing 8 sets of MAC Flags. In the case of a 3.088 Mbit/s downstream bit rate, two SL-ESF frames A and B occur during a 3-ms interval, providing 16 sets of MAC Flags. The second set of MAC Flags (contained in the second SL-ESF) are denoted by Rxa, Rxb and Rxc, where x is replaced by the numbers 9 through 16. + +In the IB downstream case, the MAC Flags are contained in the MAC Control message structure which can contain as many as 16 MAC Flag sets. The MAC Flags 1-8 are contained in the "MAC Flags" field and the MAC Flags 9-16 are contained in the "Extension Flags" field. + +In case of a 3.088 Mbit/s upstream channel, two sets of MAC Flags are required. In this case, the MAC\_Flag\_Set parameter represents the first of two successively assigned MAC Flag sets (Rxa-Rxc, Rya-Ryc with $y = x + 1 \bmod 8$ (for 1.544 Mbit/s DS) or $y = x + 1 \bmod 16$ (for 3.088 Mbit/s DS)). In particular, if one downstream OOB 1.544 Mbit/s channel controls 3.088 Mbit/s upstream channels, at most 4 upstream channels can be controlled, due to the number of available MAC Flags. + +The bits b0 to b23 are defined as follows: + +- b0 = ranging slot indicator for next 3 ms period (msb) +- b1-b6 = slot boundary definition field for next 3 ms period +- b7 = slot 1 reception indicator (as shown in Table A.12) +- b8 = slot 2 reception indicator (as shown in Table A.12) +- b9 = slot 3 reception indicator (as shown in Table A.12) +- b10 = slot 4 reception indicator (as shown in Table A.12) +- b11 = slot 5 reception indicator (as shown in Table A.12) +- b12 = slot 6 reception indicator (as shown in Table A.12) +- b13 = slot 7 reception indicator (as shown in Table A.12) +- b14 = slot 8 reception indicator (as shown in Table A.12) +- b15 = slot 9 reception indicator (as shown in Table A.12) +- b16-b17 = reservation control for next 3 ms period +- b18-b23 = CRC-6 parity (see definition in SL-ESF section) + +When the upstream data rate is 256 kbit/s, then only the first three slot reception indicators are valid. When the upstream data rate is 1.544 Mbit/s, then the 9 slots are valid. When the upstream data rate is 3.088 Mbit/s, the 9 slots of this field and the 9 slots of the following field are valid: two consecutive Slot Configuration fields are then used. The definition of the first Slot Configuration field is unchanged. The definition of the second Slot Configuration field extends the boundary definition to cover upstream slots 10 through 18, and the reception indicators to cover upstream slots 10 through 18. + +In general, when the upstream rate is lower than the downstream rate, there are several OOB downstream superframes during groups of $k$ upstream slots (where $k = 3$ for 256 kbit/s upstream, $k = 9$ for 1.544 Mbit/s upstream). In that case, configuration slots remain equal over all superframes corresponding to one group of $k$ upstream slots. + +**Ranging slot indicator (b0):** When this bit is active ( $b0 = 1$ ), the first three slots of upstream channel "x" which correspond to the occurrence of the next superframe of the related downstream channel are designated as ranging slots. A ranging message may be transmitted in the second ranging slot "on contention", and the first and third ranging slots may not be used for transmission (guard band for ranging operations). + +**Slot Boundary Definition field (b1-b6):** Slot types are assigned to upstream slots using bits b0-b6. The slots are grouped into regions among "spans" of 3 slots (256 kbit/s), 9 slots (1.544 Mbit/s), or 18 slots (3.088 Mbit/s), such that slots of a similar type are contained within the same region. The order of the regions is Ranging slot, Contention based slots, Reserved slots and Fixed rate based slots. If a ranging slot is available within a "span", it will consist of the first three slot times in the "span", assuming b1-b6 are not in the range 55-63 (see Table A.9). A ranging slot is indicated by b0 = 1. The boundaries between the remaining regions of the "spans" are defined by b1-b6. The boundaries are defined as shown in Table A.9. + +**Table A.9/J.112 – Slot Boundary Definition field (b1-b6)** + +| | | +|------------|--------| +| Boundary 0 | | +| Boundary 1 | Slot 1 | +| Boundary 2 | Slot 2 | +| Boundary 3 | Slot 3 | +| Boundary 4 | Slot 4 | +| Boundary 5 | Slot 5 | +| Boundary 6 | Slot 6 | +| Boundary 7 | Slot 7 | +| Boundary 8 | Slot 8 | +| Boundary 9 | Slot 9 | + +The boundary positions are defined by b1-b6 as shown in Table A.10. + +**Table A.10/J.112 – Boundary positions (b1-b6)** + +| (Note 1)
(Note 2) | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | +|----------------------|---|----|----|----|----|----|----|----|----|----| +| 0 (Note 3) | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | +| 1 (Note 3) | | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | +| 2 (Note 3) | | | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | +| 3 | | | | 27 | 28 | 29 | 30 | 31 | 32 | 33 | +| 4 | | | | | 34 | 35 | 36 | 37 | 38 | 39 | +| 5 | | | | | | 40 | 41 | 42 | 43 | 44 | +| 6 | | | | | | | 45 | 46 | 47 | 48 | +| 7 | | | | | | | | 49 | 50 | 51 | +| 8 | | | | | | | | | 52 | 53 | +| 9 | | | | | | | | | | 54 | + +Example: b0 = 0, b1-b6 = 22: Contention (1-2), reserved (3-5), Fixed rate (6-9). +NOTE 1 – Row = Contention based / Reserved region boundary. +NOTE 2 – Column = Reserved packet / Fixed rate based region boundary. +NOTE 3 – When the ranging control slot indicator (b0) is set to "1", the values in rows 0-2 are illegal values, and values in row 3 means that there are no contention slots, because slots 1-3 are defined as ranging control slots. + +The remaining values of the Slot Boundary Definition field are provided in Table A.11. + +**Table A.11/J.112 – Slot Boundary Definition field** + +| b1-b6 value | Ranging control slots | Contention slots | Reservation slots | Fixed rate slots | +|-------------|-----------------------|------------------|-------------------|------------------| +| 55 | 1-6 | 7-9 | – | – | +| 56 | 1-6 | 7-8 | – | 9 | +| 57 | 1-6 | 7 | 8-9 | – | +| 58 | 1-6 | 7 | 8 | 9 | +| 59 | 1-6 | 7 | – | 8-9 | +| 60 | 1-6 | – | 7-8 | 9 | +| 61 | 1-6 | – | 7 | 8-9 | +| 62 | 1-6 | – | – | 7-9 | +| 63 | 1-9 | – | – | – | + +NOTE 1 – For b1-b6 = 55-63, b0 must be set to 1. Note that for b1-b6 between 55 and 62, two ranging slots are provided (2 and 5). For b1-b6 = 63, three ranging slots are provided (2, 5, and 8). + +The values in the above tables are derived from b1-b6 in the following manner: + +$$b1 + (b2 \times 2) + (b3 \times 4) + (b4 \times 8) + (b5 \times 16) + (b6 \times 32)$$ + +**Warning:** This formula indicates that b6 is considered as msb of b1-b6 word, whereas b0 is msb of the entire word b0-b23. Although this "looks" inconsistent, it has not been changed for the purpose of compatibility with the DAVIC standard. + +When the upstream data channel is a 256 kbit/s data channel, then only the first four rows and columns of Table A.10 are valid, and Table A.11 is not valid. + +NOTE 2 – If slot boundary fields change while some NIUs have already been affected slots in the reservation slots area, these NIUs are responsible of updating the list of physical slots. Specifically, slots are assigned by MAC Reservation Grant messages, which contain a Reference slot that does not depend on the slot boundary fields and a Grant\_slot\_count which corresponds to the number of slots assigned within the reservation slots boundary field. If the field changes, the list of physical slots on which the NIU can transmit automatically changes accordingly. + +**Slot reception indicators (b7-b15):** When a slot reception indicator is active ("1"), this indicates that a cell was received without collision. The relationship between a given US slot and its indicator is shown in Table A.11. When the indicator is inactive ("0"), this indicates that either a collision was detected or no cell was received in the corresponding upstream slot. + +Slot reception indicators lead to the retransmission procedure only when contention access is used as described in A.5.5.2.4. + +**Reservation Control (b16-b17):** When the reservation control field has the value of 0, no reservation attempts are allowed to be transmitted on the corresponding QPSK upstream channel during the slot positions associated with the next 3 ms period. When the Reservation Control field has the value of 1, reservation attempts can be made. The values 2 and 3 are reserved. A reservation attempt corresponds to sending a MAC Reservation Request message (see MAC section). b16 is msb. + +**Table A.12/J.112 – Relationship of US slot to DA indicator at the INA** + +| | 1.544 Mbit/s downstream | | 3.088 Mbit/s downstream | | +|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--| +| 256 kbit/s upstream | 1 frame
Diagram for 256 kbit/s upstream at 1.544 Mbit/s downstream. Downstream (DS) shows 6 frames, the 5th containing 'I'. Upstream (US) shows 3 slots, the 1st shaded. An arrow points from the shaded slot to the 'I' frame. | | 1 frame
Diagram for 256 kbit/s upstream at 3.088 Mbit/s downstream. Downstream (DS) shows 10 frames, the 9th and 10th containing 'I'. Upstream (US) shows 3 slots, the 1st shaded. An arrow points from the shaded slot to the 'I' frames. | | +| 1.554 Mbit/s upstream | 1 frame
Diagram for 1.554 Mbit/s upstream at 1.544 Mbit/s downstream. Downstream (DS) shows 3 frames, the 3rd containing 'I'. Upstream (US) shows 9 slots, the 1st shaded. An arrow points from the shaded slot to the 'I' frame. | | 1 frame
Diagram for 1.554 Mbit/s upstream at 3.088 Mbit/s downstream. Downstream (DS) shows 6 frames, the 5th and 6th containing 'I'. Upstream (US) shows 9 slots, the 1st shaded. An arrow points from the shaded slot to the 'I' frames. | | +| 3.088 Mbit/s upstream | 1 frame
Diagram for 3.088 Mbit/s upstream at 1.544 Mbit/s downstream. Downstream (DS) shows 3 frames, the 3rd containing 'I'. Upstream (US) shows 18 slots, the 1st shaded. An arrow points from the shaded slot to the 'I' frame. | | 1 frame
Diagram for 3.088 Mbit/s upstream at 3.088 Mbit/s downstream. Downstream (DS) shows 6 frames, the 5th and 6th containing 'I'. Upstream (US) shows 18 slots, the 1st shaded. An arrow points from the shaded slot to the 'I' frames. | | + +NOTE 1 – 'I' indicates the downstream frame(s) in which indicators (contained within the MAC Flag Sets) are sent. These indicators control the upstream slots in the shaded area. + +NOTE 2 – In the 3.088 downstream, two successive frames contain MAC Flag Sets 1..16. Two successive MAC Flag Sets are used to control the 18 slots of a 3.088 upstream channel. + +NOTE 3 – This table refers to the position of US slots with respect to the positions of DS superframes at the INA receiver. NIUs should have their Time\_Offset\_Value of transmission set such that this table applies. + +T0904550-97/d021 + +**CRC-6 Parity (b18-b23):** This field contain a CRC-6 parity value calculated over the previous 18 bits. The CRC-6 parity value is described in the SL-ESF frame format section. b18 is msb. + +In the case where there is more than one OOB DS QPSK channel related to an upstream QPSK channel, the SL-ESF overhead bits and the payload R-bytes shall be identical in those OOB DS channels, with the exception of the overhead CRC (C1-C6) bits, which are specific to each of those OOB DS channels. Such related DS channels shall be synchronized (transmitted synchronously). This scenario applies for example when a lot more bandwidth is needed for DS information than for US information. + +The MAC messages that are required to perform the MAC functions for the upstream channel shall be transmitted on each of its related OOB DS channels. + +###### **Trailer bytes** + +These bytes are not used. They are equal to 0. + +#### A.5.3.2 Forward Interaction path (downstream IB) + +The structure that is utilized when the downstream QAM channel is carrying MPEG-2 TS packets is shown in Figure A.20. MSBs of each field are transmitted first. + +| 4 | 3 | 2 | 3 | 26 | 26 | 40 | 40 | 40 | 4 | +|-------------|-----------------|-------------|------------------|-----------|------------|-------------|-------------|-------------|-----------------| +| MPEG Header | Upstream Marker | Slot Number | MAC Flag Control | MAC Flags | Ext. Flags | MAC Message | MAC Message | MAC Message | Reserve field c | + +Figure A.20/J.112 – Frame structure (MPEG-2 TS format) + +where: + +**MPEG Header** is the 4-byte MPEG-2 Transport Stream Header as defined in ISO 13818-1 with a specific PID designated for MAC messages. This PID is to be specified by ETS 300 468, either within the PMT, PAT tables or as a default specific value (when MAC is considered as a SI section). + +**Upstream Marker** is a 24-bit field which provides upstream QPSK synchronization information. (As mentioned in A.5.1.4, at least one packet with synchronization information must be sent in every period of 3 ms.) The definition of the field is as follows: + +##### **bit 0: upstream marker enable** (msb) + +When this field has the value '1', the slot marker pointer is valid. When this field has the value '0', the slot marker pointer is not valid. + +##### **bit 1-7: reserved** + +##### **bit 8-23: upstream slot marker pointer (bit 23 MSB)** + +The slot marker pointer is a 16-bit unsigned integer which indicates the number of "symbol" clocks between the first symbol of the next Sync byte and the next 3 ms marker. + +**Slot Number** is a 16-bit field which is defined as follows: (As mentioned in A.5.1.4, at least one packet with synchronization information must be sent in every period of 3 ms). + +##### **bit 0: slot position register enable** (msb) + +When this field has the value '1', the slot position register is valid. When this field has the value '0', the slot position register is not valid. + +##### **bit 1-3: reserved** + +**bit 4** is set to the value '1'. This bit is equivalent to M12 in the case of OOB downstream. + +##### **bit 5: odd parity** + +This bit provides odd parity for upstream slot position register. This bit is equivalent to M11 in the case of OOB downstream. + +##### **bits 6-15: upstream slot position register** + +The upstream slot position register is a 10 bit counter which counts from 0 to n with bit 6 the msb. These bits are equivalent to M10-M1 in the case of OOB downstream. + +(See A.5.4 for more information on the functionality of the upstream slot position register.) + +**MAC Flag Control** is a 24-bit field (b0, b1, b2...b23) which provides control information which is used in conjunction with the MAC Flags and Extension Flags. The definition of the MAC Flag Control field is as follows: + +- b0-b2 = channel 1 flag field control +- b3-b5 = channel 2 flag field control +- b6-b8 = channel 3 flag field control +- b9-b11 = channel 4 flag field control +- b12-b14 = channel 5 flag field control +- b15-b17 = channel 6 flag field control +- b18-b20 = channel 7 flag field control +- b21-b23 = channel 8 flag field control + +Each of the above channel "x" flag field control fields are defined as follows: + +channel x flag control (a,b,c) = (bx, bx + 1, bx + 2) + +bit a: 0 – channel x flag field disabled + +1 – channel x flag field enabled + +bit b,c: 00 – all flags valid for second previous 3-ms period (out-of-band signalling equivalent) + +01 – flags valid for 1st ms of previous 3-ms period + +10 – flags valid for 2nd ms of previous 3-ms period + +11 – flags valid for 3rd ms of previous 3-ms period + +##### MAC Flags + +MAC Flags is a 26 byte field containing 8 slot configuration fields (24 bits each) which contain slot configuration information for the related upstream channels followed by two reserved bytes (first 3 bytes correspond to channel 1, second 3 bytes to channel 2, etc.). The definition of each slot configuration field is defined as follows: + +b0 = ranging control slot indicator for next 3-ms period (msb) + +b1-b6 = slot boundary definition field for next 3-ms period + +b7 = slot 1 reception indicator for [second] previous 3-ms period + +b8 = slot 2 reception indicator for [second] previous 3-ms period + +b9 = slot 3 reception indicator for [second] previous 3-ms period + +b10 = slot 4 reception indicator for [second] previous 3-ms period + +b11 = slot 5 reception indicator for [second] previous 3-ms period + +b12 = slot 6 reception indicator for [second] previous 3-ms period + +b13 = slot 7 reception indicator for [second] previous 3-ms period + +b14 = slot 8 reception indicator for [second] previous 3-ms period + +b15 = slot 9 reception indicator for [second] previous 3-ms period + +b16-b17 = reservation control for next 3 ms period + +b18-b23 = CRC-6 parity + +The slot configuration fields are used in conjunction with the MAC Flag Control field defined above. Note that when the MAC Flag Control field designates that a 1 ms flag update is enabled: + +- 1) the reception indicators refer to the previous 3-ms period (the bracketed term [second] is omitted from the definition); +- 2) only the reception indicators which relate to slots which occur during the designated 1-ms period are valid; and +- 3) the ranging control slot indicator, slot boundary definition field, and reservation control field are valid and consistent during each 3-ms period. + +###### Extension Flags + +Extension Flags is a 26-byte field which is used when one or more 3.088 Mbit/s upstream QPSK links are used. The definition of the Extension Flags field is identical to the definition of the MAC Flags field above. + +When 3.088 Mbit/s QPSK upstream links are used, each 3.088 Mbit/s upstream channel utilizes two consecutive `qpsk_slot_configuration` fields. The definition of the first slot configuration field is unchanged. The definition of the second slot configuration field extends the boundary definition to slots 10 through 18, and the reception indicators cover slots 10 through 18. + +##### MAC Message + +The MAC Message field contains a 40-byte message, the general format defined in A.5.5. + +**reserve field c** is a 4-byte field reserved for future use. + +#### A.5.3.3 Return Interaction path (upstream) + +##### A.5.3.3.1 Slot format + +The format of the upstream slot is shown in Figure A.21 below. A Unique Word (UW) (4 bytes) provides a burst mode acquisition method. The payload area (53 bytes) contains a single message cell. The RS Parity field (6 bytes) provides $t = 3$ Reed-Solomon protection RS (59,53) over the payload area. The Guard band (1 byte) provides spacing between adjacent packets. + +![Figure A.21/J.112 – Slot format diagram](a003ffe7299e0a48bceb7f1e45a4f1a3_img.jpg) + +The diagram illustrates the format of an upstream slot. It is a horizontal bar divided into four segments: 'UW' (4 bytes), 'Payload area' (53 bytes), 'RS Parity' (6 bytes), and 'Guard band' (1 byte). Above the bar, double-headed arrows indicate the length of each segment. Below the bar, the labels 'UW', 'Payload area', 'RS Parity', and 'Guard band' are placed. A thick grey horizontal line runs along the bottom of the bar. In the bottom right corner, the text 'T0904560-97/d022' is present. + +Figure A.21/J.112 – Slot format diagram + +Figure A.21/J.112 – Slot format + +The structure and field coding of the message cell shall be consistent with the structure and coding given in Recommendation I.361 for ATM UNI. + +###### Unique word + +The unique word is four bytes long: CC CC CC 0D hex. + +###### ATM cell structure + +The format for each ATM cell structure is illustrated in Figure A.22. This structure and field coding shall be consistent with the structure and coding given in Recommendation I.361 for ATM UNI. + +![Figure A.22/J.112 – ATM cell format diagram](f943b07ab747bfd85e302e5a31c20ba8_img.jpg) + +The diagram illustrates the format of an ATM cell. It is a horizontal bar divided into two main segments: 'Header' (40 bits) and 'Information payload' (384 bits). Above the bar, double-headed arrows indicate the length of each segment in bits. Below the bar, the labels 'Header' and 'Information payload' are placed. A thick grey horizontal line runs along the bottom of the bar. Below the bar, a double-headed arrow indicates the total length of the cell as 53 bytes. In the bottom right corner, the text 'T0904570-97/d023' is present. + +Figure A.22/J.112 – ATM cell format diagram + +Figure A.22/J.112 – ATM cell format + +###### Channel coding + +Reed-Solomon encoding shall be performed on each ATM cell with $T = 3$ . This means that 3 erroneous byte per ATM cell can be corrected. This process adds 6 parity bytes to the ATM cell to give a codeword of (59,53). The shortened Reed-Solomon Code shall be implemented by appending 196 bytes, all set to zero, before the information bytes at the input of a (255,249) encoder; after the coding procedure these bytes are discarded. + +The Reed-Solomon code shall have the following generator polynomials: + +- Code Generator Polynomial: $g(x) = (x + \mu^0)(x + \mu^1)(x + \mu^2) \dots (x + \mu^5)$ +where $\mu = 02$ hex +- Field Generator Polynomial: $p(x) = x^8 + x^4 + x^3 + x^2 + 1$ + +###### Guard band + +The guard band is 1 byte long (4 QPSK symbols). It provides some extra protection against synchronization errors. + +### A.5.4 Slot timing assignment + +#### A.5.4.1 Downstream slot position reference (downstream OOB) + +Upstream synchronization is derived from the downstream extended superframe (OOB) by noting the slot positions as shown in Table A.13. + +Table A.13/J.112 – Downstream slot position reference + +| Frame number | Bit number | Overhead bit | Slot position reference | +|--------------|------------|--------------|-------------------------------| +| 1 | 0 | M1 | ♦ Slot position a) | +| 2 | 193 | C1 | | +| 3 | 386 | M2 | | +| 4 | 579 | F1 = 0 | | +| 5 | 772 | M3 | | +| 6 | 965 | C2 | | +| 7 | 1158 | M4 | | +| 8 | 1351 | F2 = 0 | | +| 9 | 1544 | M5 | ♦ Slot position | +| 10 | 1737 | C3 | | +| 11 | 1930 | M6 | | +| 12 | 2123 | F3 = 1 | | +| 13 | 2316 | M7 | | +| 14 | 2509 | C4 | | +| 15 | 2702 | M8 | | +| 16 | 2895 | F4 = 0 | | +| 17 | 3088 | M9 | ♦ Slot Position | +| 18 | 3281 | C5 | | +| 19 | 3474 | M10 | | +| 20 | 3667 | F5 = 1 | | +| 21 | 3860 | M11 | | +| 22 | 4053 | C6 | | +| 23 | 4246 | M12 | | +| 24 | 4439 | F6 = 1 | | + +a) The first slot position is also called the 3-ms time marker in the case of 1.544 Mbit/s rate downstream. For the 3.088 Mbit/s rate downstream, the 3-ms time marker only appears once every two superframes. The M12 bit (see A.5.4) is used to differentiate between the two superframes. + +#### A.5.4.2 Downstream slot position reference (downstream IB) + +Upstream synchronization is derived from the downstream extended superframe (IB) by noting the 3-ms time Marker Downstream as shown in Figure A.23. From the bits of the Upstream Marker field contained in the MPEG-2 TS packet, the 3-ms time marker is obtained by counting a number of symbol clocks equal to (b23-b8). This marker is equivalent to the first slot position of the superframe for the OOB case. + +![Figure A.23/J.112 – Position of the 3-ms time marker for IB signalling. The diagram shows an MPEG-2 TS packet (188 bytes) followed by a 16-byte field and a Sync byte. A note below the packet states 'when Upstream Marker enable b0 = 1'. An arrow labeled '(b23-b8) in baud clocks' points from the Sync byte to a vertical dashed line labeled '3-ms time Marker Downstream'. The reference number T0904580-97/d024 is at the bottom right.](8f7c0bf0c75a31fee6b0c7392ff57c39_img.jpg) + +Figure A.23/J.112 – Position of the 3-ms time marker for IB signalling. The diagram shows an MPEG-2 TS packet (188 bytes) followed by a 16-byte field and a Sync byte. A note below the packet states 'when Upstream Marker enable b0 = 1'. An arrow labeled '(b23-b8) in baud clocks' points from the Sync byte to a vertical dashed line labeled '3-ms time Marker Downstream'. The reference number T0904580-97/d024 is at the bottom right. + +Figure A.23/J.112 – Position of the 3-ms time marker for IB signalling + +In order to describe how the US slot position is derived from the location of the DS 3-ms time marker at the NIU, consider the system diagrams in Figure A.24. + +![Figure A.24/J.112 – System model for timing analysis. This block diagram shows the flow of data through various delay stages. It starts with 'DATA' entering a delay block 'D_S', followed by 'D_1'. These are grouped under 'Headend delays'. Next is a large delay block 'D_IA', followed by 'D_2'. A vertical dashed line separates this from the 'Data link delays' section, which contains a delay block 'D_L + d_L'. Another vertical dashed line separates this from the 'Set-Top Box delays' section, which includes 'd_3', a large delay block 'D_IB', and 'd_4'. The reference number T0906040-98/d025 is at the bottom right.](9cbc1ebd80813fc36e499f7d70ed6881_img.jpg) + +Figure A.24/J.112 – System model for timing analysis. This block diagram shows the flow of data through various delay stages. It starts with 'DATA' entering a delay block 'D\_S', followed by 'D\_1'. These are grouped under 'Headend delays'. Next is a large delay block 'D\_IA', followed by 'D\_2'. A vertical dashed line separates this from the 'Data link delays' section, which contains a delay block 'D\_L + d\_L'. Another vertical dashed line separates this from the 'Set-Top Box delays' section, which includes 'd\_3', a large delay block 'D\_IB', and 'd\_4'. The reference number T0906040-98/d025 is at the bottom right. + +Figure A.24/J.112 – System model for timing analysis + +The delay between the location of the end of the Upstream Marker and the beginning of the next Sync byte, designated as $D_S$ , is a constant value for each bit rate equal to the equivalent time of 197 bytes, or: + +$$(197 * 8 / x) \text{ symbol clocks}$$ + +where: + +- $x = 4$ , for 16 QAM +- 5, for 32-QAM +- 6, for 64 QAM +- 7, for 128-QAM +- 8, for 256 QAM + +There will be some processing delay in the Headend hardware between the location where the Upstream Marker is inserted in the MAC packet and the arrival of the data into the interleaver. This should be a constant delay, $D_1$ , which is the same for every incoming byte, including the sync byte following the Upstream Marker. + +The delay due to the interleaving process in the Headend is $D_{IA}$ and will be zero for each sync byte. + +There will be some processing delay in the Headend hardware between the output of the interleaver and the output of the QAM modulator. This should be a constant delay, $D_2$ , for every byte in the outgoing stream. + +The data link is composed of two delay values, $D_L$ , the constant link delay that every STU experiences, and $d_L$ , the variable link delay for each STU which is due to the fact that each STU is located at a different distance from the Headend. This variable link delay is compensated for by the ranging operation. + +There will be some processing delay in the STU hardware between the input of the QAM demodulator and the input of the de-interleaver. This delay is design dependent, $d_3$ , and may be a constant delay or a variable delay for each byte in the data stream. + +The delay due to the de-interleaving process in the STU is $D_{IB}$ , and will be equal to the entire interleave delay for each sync byte. + +The total interleave delay: + +$$D_I = D_{IA} + D_{IB}$$ + +will be constant for each byte. The value will be given by: + +$$D_I = 204 * 8 * (\text{interleave\_depth}-1) / \text{bit rate}$$ + +For example, if the modulation is QAM 64 with a baud rate of 5.0 Mbit/s: + +$$D_I = 204 * 8 * 11/30M = 598.4 \text{ microseconds or } 2992 \text{ symbol clocks}$$ + +There will be some processing delay in the STU hardware between the output of the de-interleaver and the circuitry that utilizes the Upstream Marker and following sync byte for generating the local 3-ms marker. This delay, which includes Reed-Solomon FEC, is design dependent, $d_4$ , and may be a constant delay or a variable delay for each byte in the data stream. + +The accumulated delay in the data link is composed of a number of constant terms and three variable terms. The constant terms will be identical for every STU that is utilizing a particular QAM channel for in-band timing and thus becomes a fixed offset between when the counter which is loading the Upstream Marker value and the actual location of the 3-ms marker at each STU. Each STU is responsible for compensating for the design dependent delays, $d_3$ and $d_4$ , before utilizing the Upstream Marker value for generating the 3-ms marker. The variable link delay, $d_L$ , will be compensated for via the ranging algorithm, in the same way as performed when out-of-band signalling is employed. + +#### A.5.4.3 Upstream slot positions + +Transmission on each QPSK upstream channel is based on dividing access by multiple NIU units by utilizing a negotiated bandwidth allocation slot access method. A slotting methodology allows the transmit slot locations to be synchronized to a common slot position reference, which is provided via the related downstream MAC control channel. Synchronizing the slot locations increases message throughput of the upstream channels since the ATM cells do not overlap during transmission. + +The slot position reference for upstream slot locations is received via the related downstream MAC control channel by each NIU. Since each NIU receives the downstream slot position reference at a slightly different time, due to propagation delay in the transmission network, slot position ranging is required to align the actual slot locations for each related upstream channel. The upstream slot rates are 6000 upstream slots/s when the upstream data rate is 3088 Mbit/s, 3000 upstream slots/s when the upstream data rate is 1.544 Mbit/s and 500 upstream slots/s when the upstream data rate is 256 kbit/s. + +The number of slots available in any one second is given by: + +$$\text{number of slots/s} = \text{upstream data rate} / 512 + (\text{extra guardband})$$ + +where extra guardband may be designated between groups of slots for alignment purposes. + +The Mbits in the SL-ESF serve two purposes: + +- to mark the slot positions for the upstream Contention based and Contentionless based signalling links (see A.5.4); +- to provide slot count information for upstream message bandwidth allocation management in the NIU. + +Mbits M1, M5, and M9 mark the start of an upstream slot position for upstream message transmission. + +##### A.5.4.3.1 Rate 256 kbit/s + +In the case where the upstream data rate is 256 kbit/s and the downstream OOB rate is 1.544 Mbit/s, the upstream slots are numbered as follows: + +![Diagram showing a 6-ms time period (downstream) containing five slots: s(k-1), s(k), s(k+1), s(k+2), and s(k+3). Slot position references (downstream) are indicated by diamonds below the slots. The diagram is labeled T0904590-97/d026.](aeb2a26a07219661191294dba528067a_img.jpg) + +The diagram illustrates a 6-ms time period (downstream) divided into five slots: $s(k-1)$ , $s(k)$ , $s(k+1)$ , $s(k+2)$ , and $s(k+3)$ . Slot position references (downstream) are indicated by diamonds below the slots. The diagram is labeled T0904590-97/d026. + +Diagram showing a 6-ms time period (downstream) containing five slots: s(k-1), s(k), s(k+1), s(k+2), and s(k+3). Slot position references (downstream) are indicated by diamonds below the slots. The diagram is labeled T0904590-97/d026. + +where $k$ is a multiple of 3. In the case where the downstream OOB rate is 3.088 Mbit/s, there are 12 slot position references downstream during the transmission of 3 upstream packets. In the case of IB downstream, packet "k" is sent when the 3-ms time marker is received. + +The relationship between the received slot position reference and the actual slot transmit position is given by: + +$$\text{slot\_transmit\_position} = \text{slot\_position\_reference (integer)} + \text{slot\_position\_offset}$$ + +where only the $\text{slot\_position\_references}$ corresponding to integer values are valid and the $\text{slot\_position\_offset}$ is derived from the $\text{Time\_Offset\_Value}$ provided via the $\text{Range\_and\_Power\_Calibration\_Message}$ in the MAC protocol. + +![Diagram showing the relationship between slot transmit position, slot position reference, and slot position offset. It shows two slots, slot (j-1) and slot (j). The slot transmit position is indicated by an arrow pointing to the start of slot (j). The slot position offset is indicated by a double-headed arrow between the start of slot (j-1) and the slot transmit position. The diagram is labeled T0904600-97/d027.](ddfa5b18550d1a022a941e3c31843814_img.jpg) + +The diagram illustrates the relationship between the received slot position reference and the actual slot transmit position. It shows two slots, $\text{slot } (j-1)$ and $\text{slot } (j)$ . The $\text{slot\_transmit\_position}$ is indicated by an arrow pointing to the start of $\text{slot } (j)$ . The $\text{slot\_position\_offset}$ is indicated by a double-headed arrow between the start of $\text{slot } (j-1)$ and the $\text{slot\_transmit\_position}$ . The diagram is labeled T0904600-97/d027. + +Diagram showing the relationship between slot transmit position, slot position reference, and slot position offset. It shows two slots, slot (j-1) and slot (j). The slot transmit position is indicated by an arrow pointing to the start of slot (j). The slot position offset is indicated by a double-headed arrow between the start of slot (j-1) and the slot transmit position. The diagram is labeled T0904600-97/d027. + +In the case where the upstream data rate is 256 kbit/s, the actual slot transmission locations correspond directly to the integer valued slot position references. + +##### A.5.4.3.2 Rate 1.544 Mbit/s + +In the case where the upstream data rate is 1.544 Mbit/s and the downstream OOB rate is 1.544 Mbit/s, the upstream slots are numbered as follows: + +![Diagram showing a 3-ms time period containing eleven slots: s(k-1), s(k), s(k+1), s(k+2), s(k+3), s(k+4), s(k+5), s(k+6), s(k+7), s(k+8), and s(k+9). Slot position references (downstream) are indicated by diamonds below the slots. The diagram is labeled T0904610-97/d028.](92c4d3a4d29d64c167855449f1aeba2a_img.jpg) + +The diagram illustrates a 3-ms time period divided into eleven slots: $s(k-1)$ , $s(k)$ , $s(k+1)$ , $s(k+2)$ , $s(k+3)$ , $s(k+4)$ , $s(k+5)$ , $s(k+6)$ , $s(k+7)$ , $s(k+8)$ , and $s(k+9)$ . Slot position references (downstream) are indicated by diamonds below the slots. The diagram is labeled T0904610-97/d028. + +Diagram showing a 3-ms time period containing eleven slots: s(k-1), s(k), s(k+1), s(k+2), s(k+3), s(k+4), s(k+5), s(k+6), s(k+7), s(k+8), and s(k+9). Slot position references (downstream) are indicated by diamonds below the slots. The diagram is labeled T0904610-97/d028. + +where $k$ is a multiple of 9. In the case where the downstream OOB rate is 3.088 Mbit/s, there are 6 slot position references downstream during the transmission of 9 upstream packets. In the case of IB downstream, packet "k" is sent when the 3-ms time marker is received. + +The relationship between the received slot position reference and the actual slot transmit position is given by: + +$$\text{slot\_transmit\_position} = \text{slot\_position\_reference} + \text{slot\_position\_offset}$$ + +where $\text{slot\_position\_offset}$ is derived from the $\text{Time\_Offset\_Value}$ provided via the $\text{Range\_and\_Power\_Calibration\_Message}$ in the MAC protocol. + +![Diagram showing the relationship between slot transmit position and slot position reference. It shows two slots, Slot (j-1) and Slot (j). An arrow labeled 'slot_transmit_position' points to the start of Slot (j). A double-headed arrow labeled 'slot_position_offset' spans the gap between the start of Slot (j-1) and the start of Slot (j). A diamond labeled 'slot position reference (downstream)' is located at the start of Slot (j-1).](bccc028d0e75bc30c41528056f581545_img.jpg) + +Diagram showing the relationship between slot transmit position and slot position reference. It shows two slots, Slot (j-1) and Slot (j). An arrow labeled 'slot\_transmit\_position' points to the start of Slot (j). A double-headed arrow labeled 'slot\_position\_offset' spans the gap between the start of Slot (j-1) and the start of Slot (j). A diamond labeled 'slot position reference (downstream)' is located at the start of Slot (j-1). + +In the case where the upstream data rate is 1.544 Mbit/s, the actual slot transmission locations are given by: + +$$\text{slot\_transmission\_location}(m) = \text{slot\_transmit\_position} + (m \times 512)$$ + +where $m = 0, 1, 2$ is the position of the slot with respect to the $\text{slot\_transmit\_position}$ . This leaves a free time interval ( $\text{FI} = 8$ bits) before the next $\text{slot\_transmit\_position}$ occurs, during which no NIU transmits anything. + +![Diagram showing slot transmission locations. It shows a sequence of slots: Previous slot, Slot 0 (m=0), Slot 1 (m=1), Slot 2 (m=2), FI (8 bits), and Next slot. Arrows labeled 'slot_transmit_position' point to the start of Slot 0 and the start of the Next slot. Arrows labeled 'location 0', 'location 1', and 'location 2' point to the start of Slot 0, Slot 1, and Slot 2 respectively. Each slot (0, 1, 2) is 512 bits long.](c5a20f7bae219fc4c31f7376b7eb11e1_img.jpg) + +Diagram showing slot transmission locations. It shows a sequence of slots: Previous slot, Slot 0 (m=0), Slot 1 (m=1), Slot 2 (m=2), FI (8 bits), and Next slot. Arrows labeled 'slot\_transmit\_position' point to the start of Slot 0 and the start of the Next slot. Arrows labeled 'location 0', 'location 1', and 'location 2' point to the start of Slot 0, Slot 1, and Slot 2 respectively. Each slot (0, 1, 2) is 512 bits long. + +##### A.5.4.3.3 Rate 3.088 Mbit/s + +In the case where the upstream data rate is 3.088 Mbit/s and the downstream OOB rate is 1.544 Mbit/s, the upstream slots are numbered as shown below, where $k$ is a multiple of 18. + +![Diagram showing a 3-ms time period containing 18 upstream slots. The slots are numbered s(k-1), k, k+1, k+2, k+3, k+4, k+5, k+6, k+7, k+8, k+9, k+10, k+11, k+12, k+13, k+14, k+15, k+16, k+17, and s(k+18). Arrows labeled 'slot_transmit_position' point to the start of slot k and the start of slot s(k+18). Diamonds labeled '3 slot position references (downstream) per 3-ms time period' are located at the start of slots k, k+9, and k+18.](f5d2a88925807080157c7cfb1d41cf0b_img.jpg) + +Diagram showing a 3-ms time period containing 18 upstream slots. The slots are numbered s(k-1), k, k+1, k+2, k+3, k+4, k+5, k+6, k+7, k+8, k+9, k+10, k+11, k+12, k+13, k+14, k+15, k+16, k+17, and s(k+18). Arrows labeled 'slot\_transmit\_position' point to the start of slot k and the start of slot s(k+18). Diamonds labeled '3 slot position references (downstream) per 3-ms time period' are located at the start of slots k, k+9, and k+18. + +In the case where the downstream OOB rate is 3.088 Mbit/s, there are 6 slot position references downstream during the transmission of 18 upstream packets. In the case of IB downstream, packet "k" is sent when the 3-ms time marker is received. + +The relationship between the received slot position reference and the actual slot transmit position is given by: + +$$\text{slot\_transmit\_position} = \text{slot\_position\_reference} + \text{slot\_position\_offset}$$ + +where $\text{slot\_position\_offset}$ is derived from the $\text{Time\_Offset\_Value}$ provided via the $\text{Range\_and\_Power\_Calibration\_Message}$ . + +![Diagram showing the relationship between slot position reference and slot transmit position. It illustrates Slot (j-1) and Slot (j) with a slot_position_offset between them. A slot transmit position is indicated at the start of Slot (j). A diamond symbol indicates the slot position reference (downstream).](0a73b03fba21af142d619a9a662e6490_img.jpg) + +The diagram shows two adjacent slots, Slot (j-1) and Slot (j). A vertical line separates them. A double-headed arrow labeled 'slot\_position\_offset' spans the gap between the end of Slot (j-1) and the start of Slot (j). A vertical line with a left-pointing arrow labeled 'slot\_transmit\_position' is located at the start of Slot (j). A diamond symbol labeled 'Slot position reference (downstream)' is located at the start of Slot (j-1). The text 'T0904650-97/d032' is in the bottom right of Slot (j). + +Diagram showing the relationship between slot position reference and slot transmit position. It illustrates Slot (j-1) and Slot (j) with a slot\_position\_offset between them. A slot transmit position is indicated at the start of Slot (j). A diamond symbol indicates the slot position reference (downstream). + +In the case where the upstream data rate is 3.088 Mbit/s, the actual slot transmission locations are given by: + +$$\text{slot\_transmission\_location (m)} = \text{slot\_transmit\_position} + (m * 512)$$ + +where; $m = 0, 1, 2, 3, 4, 5$ is the position of the slot with respect to the $\text{slot\_transmit\_position}$ . This leaves a free time interval ( $\text{FI} = 16$ bits) before the next $\text{slot\_transmit\_position}$ occurs, during which no NIU transmits anything. + +![Diagram showing the sequence of slots (Slot 0 to Slot 5) and the free interval (FI) between them. It includes labels for slot transmit positions and slot transmission locations (loc 0 to loc 5).](db5deafdae53dbc7d5972957f708c691_img.jpg) + +The diagram shows a sequence of slots. It starts with 'Previous slot', followed by Slot 0 (m=0), Slot 1 (m=1), Slot 2 (m=2), Slot 3 (m=3), Slot 4 (m=4), Slot 5 (m=5), a 'FI' (Free Interval) of 16 bits, and then 'Next slot'. Above the slots, arrows indicate 'slot\_transmit\_position' at the start of Slot 0 and Slot 5. Other arrows indicate 'loc 0' through 'loc 5' at various points within the slots. Below each slot (0-5), it says '512 bits'. The text 'T0904660-97/d033' is in the bottom right. + +Diagram showing the sequence of slots (Slot 0 to Slot 5) and the free interval (FI) between them. It includes labels for slot transmit positions and slot transmission locations (loc 0 to loc 5). + +#### A.5.4.4 Slot position counter + +Think of Mbits M10-M1 as a register (ESF counter), which counts from 0 to N, incrementing by one every 3-ms, where N an integer which indicates slot position cycle size (The value of N is calculated from $\text{Service\_Channel\_Last\_Slot}$ sent in the MAC Default Configuration Message and the upstream bit rate of the service channel. For the case of a 256 kbit/s service channel, the maximum value of $\text{Service\_Channel\_Last\_Slot}$ is 1535.). The upstream slot position register indicates the upstream slot positions that will correspond to the next SL-ESF frame. Upstream slot positions are counted from 0 to N. There are 6 upstream slots per ms when the upstream data rate is 3.088 Mbit/s, 3 upstream slots per ms when the upstream data rate is 1.544 Mbit/s, and there is 0.5 upstream slot per ms when the upstream data rate is 256 kbit/s. The corresponding upstream slot rates are, therefore, 6000 upstream slots/s + +when the upstream data rate is 3.088 Mbit/s, 3000 upstream slots/s when the upstream data rate is 1.544 Mbit/s, and 500 upstream slots/s when the upstream data rate is 256 kbit/s. The algorithm to determine the upstream slot position counter value is given below: + +``` + +if (downstream_rate == 3.088 Mbit/s) {n = 1;} +else {n = 0;} +upstream_slot_position_register = value of Mbits latched at bit_position M11 (M10-M1) +if (upstream_rate == 1.544 Mbit/s) {m = 3;} +else if (upstream_rate == 3.088 Mbit/s) {m = 6;} +else {m = 0.5} +if (bit_position == M1 and previous M12 == 1) + { upstream_slot_position_counter = upstream_slot_position_register * 3 * m; } +if (bit_position == M5) + if ( (n = 0) or (n == 1 and previous M12 == 0) ) + { upstream_slot_position_counter = upstream_slot_position_counter + m; } +if (bit_position == M9) + if ( (n = 0) or (n = 1 and previous M12 == 1) ) + { upstream_slot_position_counter = upstream_slot_position_counter + m; } +if (bit_position == M11) + { temp_upstream_slot_position_register = (M10, M9, M8, ..., M1); } +if (bit_position == M12 and M12 == 1) + {upstream_slot_position_register = temp_upstream_slot_position_register;} + +``` + +where the Mbits will be defined as follows: + +- M1-M10 = 10-bit ESF counter which counts from 0 to n with M10 the Most Significant Bit (MSB); +- M11 = odd parity for the ESF counter, i.e. M11 = 1 if the ESF\_value (M1-M10) has an even number of bits set to 1; +- M12 = 1: ESF counter valid; +0: ESF counter not valid. + +The values assigned to M12 are as follows: + +- 1) When the QPSK downstream channel bit rate is 1.544 Mbit/s, the M12 bit, is always set to the value '1'. +- 2) When the QPSK downstream channel bit rate is 3.088 Mbit/s, the information is always transmitted in pairs of superframe, where superframe-A is the first superframe in the pair, and superframe-B is the second superframe in the pair. In this case, the M12 bit of superframe-A is set to the value '0' and the M12 bit of superframe-B is set to the value '1'. +- 3) When the downstream channel is IB, M12 = 1. + +### A.5.5 MAC functionality + +#### A.5.5.1 MAC reference model + +The scope of this subclause is limited to the definition and specification of the MAC layer protocol. The detailed operations within the MAC layer are hidden from the above layers. + +This subclause focuses on the required message flows between the INA and the NIU for Media Access Control. These areas are divided into four categories: Initialization, Provisioning and Sign-on Management, Connection Management and Link Management (see Figure A.25). + +![Figure A.25/J.112 – MAC reference model diagram. The diagram shows the MAC reference model on the left and the IEEE 802 reference model on the right. The MAC reference model consists of 'Higher layers' at the top, a 'MAC sublayer' in the middle, and a 'Physical' layer at the bottom. The 'MAC sublayer' is further divided into a 'MAC management entity' (containing 'Link management', 'Connection management', and 'Initialization, sign-on and provisioning management'), 'Data application', 'MAC signalling', 'Multicast Address Resolution', and 'Singlecast Address Resolution'. The 'IEEE 802 reference model' on the right shows 'LLC', 'MAC', and 'Physical' layers. Arrows indicate the mapping: 'Higher layers' map to 'LLC', the 'MAC sublayer' maps to 'MAC', and the 'Physical' layer maps to 'Physical'. A vertical label 'Lower layer protocols' is on the left side of the MAC sublayer. A small text 'T0904670-97/d034' is at the bottom right.](b2cc37ae1974ec7b87b91f54963b855d_img.jpg) + +Figure A.25/J.112 – MAC reference model diagram. The diagram shows the MAC reference model on the left and the IEEE 802 reference model on the right. The MAC reference model consists of 'Higher layers' at the top, a 'MAC sublayer' in the middle, and a 'Physical' layer at the bottom. The 'MAC sublayer' is further divided into a 'MAC management entity' (containing 'Link management', 'Connection management', and 'Initialization, sign-on and provisioning management'), 'Data application', 'MAC signalling', 'Multicast Address Resolution', and 'Singlecast Address Resolution'. The 'IEEE 802 reference model' on the right shows 'LLC', 'MAC', and 'Physical' layers. Arrows indicate the mapping: 'Higher layers' map to 'LLC', the 'MAC sublayer' maps to 'MAC', and the 'Physical' layer maps to 'Physical'. A vertical label 'Lower layer protocols' is on the left side of the MAC sublayer. A small text 'T0904670-97/d034' is at the bottom right. + +Figure A.25/J.112 – MAC reference model + +#### A.5.5.2 MAC concept + +##### A.5.5.2.1 Relationship between higher layers and MAC protocol + +The goal of the MAC protocol is to provide tools for higher layer protocols in order to transmit and receive data transparently and independently of the physical layer. Higher layer services are provided by the INA to the STU. The INA is thus responsible of indicating the transmission mode and rate to the MAC layer for each type of service. + +Specifically, for each connection provided by higher layers on the INA side (VPI/VCI), a connection ID is associated at the MAC layer. The maximum number of simultaneous connections that a NIU should support is defined as follows: + +- Grade A: Only one connection at a time can be handled by a NIU. +- Grade B: As many connections as needed, defined dynamically by the INA, following higher layers requests. Note that in this case, all connections should be assigned to the same frequency upstream and downstream for implementation reasons. + +Note however, that bandwidth (time slots) does not need to be assigned immediately by the INA for a given connection. This means that a connection ID may exist at the NIU side without associated slot numbers. + +The INA is responsible for providing transmission bandwidth to the NIUs when needed by higher layers. However, since the NIU must transmit all data from the STU, the NIU is also responsible for requesting for more bandwidth if not already provided by the INA. + +A default connection is initiated by the INA when STBs are first turned on. This connection can be used to send data from higher layers leading to further interactive connections. Note that this connection can be associated to a zero transmission rate (no initial bandwidth allocation). + +##### A.5.5.2.2 Relationship between physical layer and MAC protocol + +Up to 8 QPSK upstream channels can be related to each downstream channel which is designated as a MAC control channel. An example of frequency allocation is shown in Figure A.26. This relationship consists of the following items: + +- 1) Each of these related upstream channels share a common slot position. This reference is based on 1 ms time markers that are derived via information transmitted via the downstream MAC control channel. +- 2) Each of these related upstream channels derive slot numbers from information provided in the downstream MAC control channel. +- 3) The Messaging needed to perform MAC functions for each of these related upstream channels is transmitted via the downstream MAC control channel. + +The Media Access Control Protocol supports multiple downstream channels. In instances where multiple channels are used, the INA shall specify a single OOB frequency called the Provisioning Channel, where NIU's perform Initialization and Provisioning functions. If both 1.544 Mbit/s and 3.088 Mbit/s downstream OOB channels coexist on the network, there should be one Provisioning Channel with each rate. Also, in networks where IB NIUs exist, provisioning should be included in at least one IB channel. An aperiodic message is sent on each downstream control channel which points to the downstream Provisioning Channel. In instances where only a single frequency is in use, the INA shall utilize that frequency for Initialization and Provisioning functions. + +The Media Access Control protocol supports multiple upstream channels. One of the upstream channels shall be designated the Service Channel. The Service Channel shall be used by NIU's entering the network via the Initialization and Provisioning procedure. The remaining upstream channels shall be used for upstream data transmission. In cases where only one upstream channel is utilized, the functions of the Service Channel shall reside in conjunction with regular upstream data transmission (see Figure A.26). + +![Diagram illustrating frequency allocation for upstream and downstream channels. The diagram shows a horizontal line representing the frequency spectrum. On the left, there are two groups of eight upward-pointing arrows labeled '8-channels upstream'. Below the first group, an arrow points to one of the arrows labeled '1-service channel'. In the center, there are two downward-pointing arrows labeled 'Downstream channels'. On the right, there is one upward-pointing arrow labeled '1 provisioning channel'. Curved arrows labeled 'Related to' connect the '1-service channel' and the '1 provisioning channel' to the 'Downstream channels'. On the far right, a vertical double-headed arrow is labeled 'Upstream' at the top and 'Downstream' at the bottom. The text 'T0904680-97/d035' is at the bottom right.](ef5f5c6665b6ae13660ede412333ba45_img.jpg) + +Diagram illustrating frequency allocation for upstream and downstream channels. The diagram shows a horizontal line representing the frequency spectrum. On the left, there are two groups of eight upward-pointing arrows labeled '8-channels upstream'. Below the first group, an arrow points to one of the arrows labeled '1-service channel'. In the center, there are two downward-pointing arrows labeled 'Downstream channels'. On the right, there is one upward-pointing arrow labeled '1 provisioning channel'. Curved arrows labeled 'Related to' connect the '1-service channel' and the '1 provisioning channel' to the 'Downstream channels'. On the far right, a vertical double-headed arrow is labeled 'Upstream' at the top and 'Downstream' at the bottom. The text 'T0904680-97/d035' is at the bottom right. + +Figure A.26/J.112 – Example of frequency allocation + +##### A.5.5.2.3 Relationship between physical layer slot position counter and MAC slot assignment + +M10-M1 is a 10-bit superframe counter at the INA side, whereas the upstream slot position counter is an upstream slot counter at the NIUs side. The NIU slot position counter ( $M10-M1 \times 3 \times m$ , where $m = 0.5$ for 256 kbit/s, $m = 3$ for 1.544 Mbit/s and $m = 6$ for 3.088 Mbit/s) may be implemented as a 16-bit counter which is compared to the 16-bit slot numbers assigned by the INA in MAC messages (list assignment). When the counter value equals any assigned value, the NIU is allowed to send a packet upstream. + +##### A.5.5.2.4 Access modes (Contention/Ranging/Fixed rate/Reservation) + +Different access modes are provided to the NIUs within access regions specified by information contained in the slot boundary fields of the downstream superframes. The limits between access regions allow users to know when to send data on contention without risks of collision with contentionless type data. Also, the separation between reservation and fixed rate regions provides two ways of assigning slots to NIUs. The following rules define how to select access modes: + +- *Data connections:* + +When the INA assigns a connection ID to the NIU, it either specifies a slot list to be used (Fixed rate access) or the NIU shall use contention or reserved access by following this algorithm: + +- When the NIU must send more cells than what was assigned by the INA, it can use contention access only if the number of cells to transmit is less than *Maximum\_contention\_access\_message\_length* (specified in the MAC Connect Message from the INA). In that case, it must wait for the slot reception indicator before it is allowed to send other cells with the same VPI/VCI value. The NIU can send one request for reservation access if the number of cells is less than *Maximum\_reservation\_access\_message\_length* (specified in the MAC Connect Message from the INA). If more cells must be transmitted, the NIU must send multiple requests for reservation access. + +- *MAC messages:* + +MAC messages can be sent on contention access or reservation access. MAC messages sent upstream must be less than 40 bytes long. If the MAC information exceeds 40 bytes, it must be segmented into multiple 40-bytes independent MAC messages. Ranging access can only be used for specific MAC messages. + +Note that the VPI/VCI=0/21 connection used for MAC messages is always set up, so the INA does not assign a particular connection ID which is normally used for reservation requests. Thus, in order to use reservation access, slots assigned for other connections may be used for MAC messages: + +- a) *Contention Access* + +Contention Access indicates that data (MAC or bursty data traffic) is sent in the slots assigned to the contention access region in the upstream channel. It can be used either to send MAC messages or data. The VPI, VCI of the ATM cells are then used to determine the type and direction of the data in higher layers. Contention based access provides instant channel allocation for the NIU. + +The Contention based technique is used for multiple subscribers that will have equal access to the signalling channel. It is probable that simultaneous transmissions will occur. For each ATM cell transmitted by the NIU, a positive acknowledgement is sent back by the INA, utilizing the reception indicator field, for each successfully received ATM cell. In contention based access mode, a positive acknowledgement indicates that a collision did not occur. A collision occurs if two or more NIUs attempt ATM cell transmission during the same slot. A collision will be assumed if a NIU does not receive a positive acknowledgement. If a collision occurs, then the NIU will retransmit using a procedure to be defined. + +For all the traffic sent contention access, a collision is assumed if the appropriate reception indicator of the slot used for transmission is not set. A counter at the NIU/STB records the number, denoted by `backoff_exponent`, of collisions encountered by a cell. The `backoff_exponent` counter starts from a value determined by the `Min_Backoff_Exponent` variable. The `backoff_exponent` is used to generate a uniform random number between 1 and $2^{\text{backoff\_exponent}}$ . This random number is used to schedule retransmission of the collided cell. In particular, the random number indicates the number of contention access slots the NIU/STB shall wait before it transmits. The first transmission is carried out in a random cell within the contention based access region. If the counter reaches the maximum number, determined by the `Max_Backoff_Exponent` variable, the value of the counter remains at this value regardless of the number of subsequent collisions. After a successful transmission, the `backoff_exponent` counter is reset to a value determined by the `Min_Backoff_Exponent` variable. Informational Statement: The random access algorithm is unstable; the NRC is expected to have intelligence to detect an unstable state of the random access algorithm and to solve it. + +###### b) *Ranging Access* + +`Ranging Access` indicates that the data is sent in a slot preceded and followed by slots not used by other users. These slots allow users to adjust their clock depending on their distance to the INA such that their slots fall within the correct allocated time. They are either contention based when the ranging control slot indicator **b0** received during the previous superframe was 1 (or when b1-b6 = 55 to 63), or reserved if the INA indicates to the NIU that a specific slot is reserved for ranging. + +###### c) *Fixed rate Access* + +NOTE – Fixed rate is called contentionless in DAVIC. + +`Fixedrate Access` indicates that data is sent in slots assigned to the Fixed rate based access region in the upstream channel. These slots are uniquely assigned to a connection by the INA. No fixed rate access can be initiated by the NIU. + +###### d) *Reservation Access* + +`Reservation Access` implies that data is sent in the slots assigned to the reservation region in the upstream channel. These slots are uniquely assigned on a frame-by-frame basis to a connection by the INA. This assignment is made at the request of the NIU for a given connection. + +##### A.5.5.2.5 MAC error handling procedures + +Error handling procedures are under definition (Time out windows, power outage, etc.). + +##### A.5.5.2.6 MAC messages + +The MAC message types are divided into the logical MAC states of Initialization, Sign-on, Connection Management and Link Management. Messages in italic represent upstream transmission from NIU to INA. MAC messages are sent using Broadcast or Singlecast Addressing. Singlecast address shall utilize the 48-bit MAC address (see Table A.14). + +**Table A.14/J.112 – MAC messages** + +| Message type value | | Addressing type | +|--------------------|--------------------------------------------------------------|-----------------| +| | MAC Initialization, Provisioning and Sign-On messages | | +| 0x01 | Provisioning Channel message | Broadcast | +| 0x02 | Default Configuration message | Broadcast | +| 0x03 | Sign-on Request message | Broadcast | +| 0x04 | Sign-on Response message | Singlecast | +| 0x05 | Ranging and Power Calibration message | Singlecast | +| 0x06 | Ranging and Power Calibration Response message | Singlecast | +| 0x07 | Initialization Complete message | Singlecast | +| 0x08-0x1F | [Reserved] | | +| 0x20-0x3F | MAC Connection Establishment and Termination messages | | +| 0x20 | Connect message | Singlecast | +| 0x21 | Connect Response message | Singlecast | +| 0x22 | Reservation Request message | Singlecast | +| 0x23 | Reservation Response message | Broadcast | +| 0x24 | Connect Confirm message | Singlecast | +| 0x25 | Release message | Singlecast | +| 0x26 | Release Response message | Singlecast | +| 0x28 | Reservation Grant message | Broadcast | +| 0x29 | Reservation ID Assignment | Singlecast | +| 0x2A | Reservation Status Request | Singlecast | +| 0x2B | Reservation ID Response message | Singlecast | +| 0x2C-0x3F | [Reserved] | | +| | MAC Link Management messages | | +| 0x27 | Idle message | Singlecast | +| 0x40 | Transmission Control message | Scast or Bcast | +| 0x41 | Reprovision message | Singlecast | +| 0x42 | Link Management Response message | Singlecast | +| 0x43 | Status Request message | Singlecast | +| 0x44 | Status Response message | Singlecast | +| 0x45-0x5F | [Reserved] | | + +To support the delivery of MAC related information to and from the NIU, a dedicated Virtual Channel shall be utilized. The VPI,VCI for this channel shall be 0x000,0x0021: + +###### - *Upstream MAC messages* + +AAL5 (as specified in Recommendation I.363) adaptation shall be used to encapsulate each MAC PDU in an ATM cell. Upstream MAC information should be single 40-bytes cell messages. + +###### - *Downstream OOB MAC messages* + +AAL5 (as specified in Recommendation I.363) adaptation shall be used to encapsulate each MAC PDU in an ATM cell. Downstream OOB MAC information may be longer than 40-bytes. + +###### - Downstream IB MAC messages + +Downstream IB MAC information is limited to 120-bytes long messages. Longer messages must be split into separate messages. No AAL5 layer is defined for MPEG-2 TS cells. MAC messages must therefore be sent as explained in Figure A.27. + +![Flowchart illustrating the algorithm for detecting MAC messages when sent IB downstream. The process starts with checking the first MAC message field. If the first two bytes are zero, no messages are detected. If not zero, it checks if the length is greater than 40 bytes. If yes, it checks if the length is greater than 80 bytes. If yes, a single MAC message is detected. If no, it checks the second MAC message field. If the first two bytes of the second field are zero, two MAC messages are detected. If not zero, it checks if the length of the second field is greater than 40 bytes. If yes, two MAC messages are detected. If no, it checks the third MAC message field. If the first two bytes of the third field are zero, three MAC messages are detected. If not zero, it checks the third MAC message field again. If the first two bytes are zero, two MAC messages are detected. If not zero, one MAC message is detected.](b4b91e1f5ced9a2bc4a7f3b038cf3fb6_img.jpg) + +``` + +graph TD + A[Check first MAC message field] --> B[Are the first two bytes of MAC message equal to zero?] + B -- Yes --> C[No MAC messages detected] + B -- No --> D[Is the length of message in first field greater than 40 bytes?] + D -- Yes --> E[Is the length of the message greater than 80 bytes?] + D -- No --> F[Check second MAC message field] + E -- Yes --> G[Single MAC message detected] + E -- No --> H[Check third MAC message field] + F --> I[Are the first two bytes of MAC message equal to zero?] + I -- Yes --> J[Two MAC messages detected] + I -- No --> K[Is the length of message in second field greater than 40 bytes?] + K -- Yes --> J + K -- No --> L[Check third MAC message field] + L --> M[Are the first two bytes of the MAC message equal to zero?] + M -- No --> N[Three MAC messages detected] + M -- Yes --> O[Two MAC messages detected] + H --> P[Are the first two bytes of the MAC message equal to zero?] + P -- No --> O + P -- Yes --> Q[One MAC message detected] + +``` + +T0904690-97/d036 + +Flowchart illustrating the algorithm for detecting MAC messages when sent IB downstream. The process starts with checking the first MAC message field. If the first two bytes are zero, no messages are detected. If not zero, it checks if the length is greater than 40 bytes. If yes, it checks if the length is greater than 80 bytes. If yes, a single MAC message is detected. If no, it checks the second MAC message field. If the first two bytes of the second field are zero, two MAC messages are detected. If not zero, it checks if the length of the second field is greater than 40 bytes. If yes, two MAC messages are detected. If no, it checks the third MAC message field. If the first two bytes of the third field are zero, three MAC messages are detected. If not zero, it checks the third MAC message field again. If the first two bytes are zero, two MAC messages are detected. If not zero, one MAC message is detected. + +Figure A.27/J.112 – Algorithm when MAC messages are sent IB downstream + +Since MAC related information is terminated at the NIU and INA, a privately defined message structure will be utilized. The format of this message structure is illustrated in Table A.15. + +NOTE 1 – All messages are sent most significant bit first. + +NOTE 2 – For all MAC messages where the parameter length is smaller than the field, the parameter shall be right justified with leading bits set to 0. All reserved fields in the MAC messages shall be set to 0. + +NOTE 3 – Message 0x23 is not used in the present release of the MAC protocol. It refers to DAVIC 1.0 protocol which is not supported by this specification. + +NOTE 4 – When no MAC\_Address is specified in the message, it means that the message is sent broadcast. (Syntax\_indicator = 000) + +NOTE 5 – Negative integers are sent in 2's complement. + +**Table A.15/J.112 – MAC message structure** + +| | Bits | Bytes | Bit number/Description | +|-----------------------------------|-------------|------------|------------------------| +| MAC_message() { | | | | +| Message_Configuration | 8 | 1 | | +| Protocol_Version | 5 | | | +| Syntax_Indicator | 3 | | | +| Message_Type | 8 | 1 | | +| If (syntax_indicator==001) { | | | | +| MAC_Address | (48) | (6) | | +| } | | | | +| { | | | | +| MAC_Information_Elements() | | N | | +| } } | | | | + +###### Protocol Version + +Protocol\_Version is a 5-bit field used to identify the current MAC version. The value for this parameter is given in Table A.16. + +**Table A.16/J.112 – Protocol\_version coding** + +| Value | Definition | +|-------|---------------------------------------------------------------------| +| 0 | DAVIC 1.0 compliant device (not consistent with this specification) | +| 1 | DAVIC 1.1 compliant device | +| 2 | DAVIC 1.2 compliant device | +| 3-31 | Reserved | + +###### Syntax Indicator + +Syntax\_Indicator is a 3-bit enumerated type that indicates the addressing type contained in the MAC message. + +| | +|-----------------------------------------------------------------------------| +| Enum Syntax_Indicator {No_MAC_Address, MAC_Address_Included, reserved2..7}; | +|-----------------------------------------------------------------------------| + +###### MAC Address + +MAC\_Address is a 48-bit value representing the unique MAC address of the NIU. This MAC address may be hard coded in the NIU or be provided by external source. + +#### A.5.5.3 MAC Initialization and Provisioning + +This subclause defines the procedure for Initialization and Provisioning that the MAC shall perform during power on or Reset. + +- 1) Upon a NIU becoming active (i.e. powered up), it must first find the current provisioning frequency. The NIU shall receive the **Provisioning Channel Message**. This message shall be sent aperiodically on all downstream OOB channels when there are multiple channels. In the case of only a single channel, the message shall indicate the current channel to be utilized for Provisioning. Upon receiving this message, the NIU shall tune to the Provisioning Channel. In the case of IB downstream, the IB channel to be used during provisioning must be given by using ETS 300 468, no Provisioning Channel Message is needed. +- 2) After a valid lock indication on a Provisioning Channel, the NIU shall await the **DEFAULT CONFIGURATION MESSAGE**. When received, the NIU shall configure its parameters as defined in the default configuration message. The Default Configuration Parameters shall include default timer values, default power levels, default retry counts as well as other information related to the operation of the MAC protocol. + +Figure A.28 shows the signalling sequence. + +![Sequence diagram showing signaling between INA and NIU/STB. INA sends a Provisioning Channel message to NIU/STB, followed by a Default Configuration message. Reference T0904700-97/d037 is shown at the bottom right.](376f80eb8a41369e87da63a0210d173e_img.jpg) + +``` + +sequenceDiagram + participant INA + participant NIU/STB + Note right of NIU/STB: T0904700-97/d037 + INA->>NIU/STB: Provisioning Channel message + INA->>NIU/STB: Default Configuration message + +``` + +Sequence diagram showing signaling between INA and NIU/STB. INA sends a Provisioning Channel message to NIU/STB, followed by a Default Configuration message. Reference T0904700-97/d037 is shown at the bottom right. + +Figure A.28/J.112 – Initialization and Provisioning signalling + +##### A.5.5.3.1 Provisioning Channel Message (broadcast OOB downstream) + +The PROVISIONING CHANNEL MESSAGE is sent by the INA to direct the NIU to the proper Out-of-Band frequency where provisioning is performed. The format of the message is shown in Table A.17. + +Table A.17/J.112 – Provisioning Channel Message format + +| | Bits | Bytes | Bit number/Description | +|-----------------------------------------------|------|-------|------------------------| +| Provisioning_Channel_Message() { | | | | +| Provisioning_Channel_Control_Field | 8 | 1 | | +| reserved | 7 | | 7-1: | +| provisioning_frequency_included | 1 | | 0: {no=0, yes=1} | +| if (provisioning_frequency_included) { | | | | +| Provisioning_Frequency | (32) | (4) | | +| DownStream_Type | 8 | 1 | | +| } | | | | +| } | | | | + +###### Provisioning Channel Control Field + +Provisioning\_Channel\_Control\_Field is used to specify the downstream frequency where the NIU will be provisioned. + +###### Provisioning Frequency Included + +provisioning\_frequency\_included is a boolean when set, indicates that a downstream OOB frequency is specified that the NIU should tune to begin the provisioning process. When cleared, indicates that the current downstream frequency is the provisioning frequency. + +###### Provisioning Frequency + +Provisioning\_Frequency is a 32-bit unsigned integer representing the Out-of-band Frequency in which NIU provisioning occurs. The unit of measure is Hz. + +###### Downstream Type + +DownStream\_Type is an 8-bit enumerated type indicating the modulation format for the down stream connection. {reserved, QPSK\_1.544, QPSK\_3.088, 3..255 reserved} + +##### A.5.5.3.2 Default Configuration Message (broadcast downstream) + +The DEFAULT CONFIGURATION MESSAGE is sent by the INA to the NIU. The message provides default parameter and configuration information to the NIU. The format of the message is shown in Table A.18. + +Table A.18/J.112 – Default configuration message structure + +| | Bits | Bytes | Bit number/Description | +|--------------------------------------|------|-------|------------------------| +| Default_Configuration_Message() { | | | | +| Sign_On_Incr_Pwr_Retry_Count | 8 | 1 | | +| Service_Channel_Frequency | 32 | 4 | | +| Service_Channel_Control_Field | | 1 | | +| MAC_Flag_Set | 5 | | 7-3 | +| Service_Channel | 3 | | 2-0 | +| Backup_Service_Channel_Frequency | 32 | 4 | | +| Backup_Service_Channel_Control_Field | | 1 | | +| Backup_MAC_Flag_Set | 5 | | 7-3 | +| Backup_Service_Channel | 3 | | 2-0 | +| Service_Channel_Frame_Length | 16 | 2 | | +| Service_Channel_Last_Slot | 16 | 2 | | +| Max_Power_Level | 8 | 1 | | +| Min_Power_Level | 8 | 1 | | +| Upstream_Transmission_Rate | 3 | 1 | {enum} | +| Max_Backoff_Exponent | 8 | 1 | | +| Min_Backoff_Exponent | 8 | 1 | | +| Idle_Interval | 16 | 2 | | +| } | | | | + +###### Sign-On Increment Power Retry Count + +`Sign_On_Incr_Pwr_Retry_Count` is an 8-bit unsigned integer representing the number of attempts the NIU should try to enter the system at the same power level before incrementing its power level by steps of 0.5 dB. + +###### Service Channel Frequency + +`Service_Channel_Frequency` is a 32-bit unsigned integer representing the upstream frequency assigned to the service channel. The unit of measure is in Hz. + +###### MAC\_Flag\_Set + +`MAC_Flag_Set` is a 5-bit field representing the MAC Flag set assigned to the service channel (i.e. R1a, R1b and R1c represent MAC Flag set 1). In the OOB downstream SL-ESF frame payload structure, each set of three bytes, denoted by Rxa-Rxc, comprise a Flag set. These eight flag sets are assigned the numbers 1-8. In the IB downstream timing, the 16 flag sets are assigned the numbers 1-16. In the case of a 3.088 Mbit/s upstream channel, two successive flag sets are required to define a 3-ms period. In this case, this parameter represents the first of two successively assigned flag sets. In the case of a 3.088 Mbit/s OOB downstream, two successive SL-ESF frames define the 3-ms interval. The Rxa-Rxc bytes of the first frame represent flag sets 1-8 while the Rxa-Rxc bytes of the second frame represent flag sets 9-16. + +A downstream channel contains control information for each of its associated upstream channels. This information is contained within structures known as MAC Flags. A set of MAC Flags, represented by either 24 bits (denoted b0-b23) or by 3 bytes (denoted Rxa, Rxb and Rxc), are uniquely assigned to a given upstream channel. + +In the OOB downstream case, each SL-ESF frame structure contains eight sets of MAC Flags represented by Rxa, Rxb and Rxc, where x is replaced by the numbers 1-8. In the case of a 1.544 Mbit/s downstream bit rate, only one SL-ESF frame occurs during a 3-ms interval providing 8 sets of MAC Flags. In the case of a 3.088 Mbit/s downstream bit rate, two SL-ESF frames occur during a 3-ms interval, providing 16 sets of MAC Flags. The second set of MAC Flags (contained in the second SL-ESF) are denoted by Rxa, Rxb and Rxc, where x is replaced by the numbers 9 through 16. + +In the IB downstream case, the MAC Flags are contained in the MAC Control Message Structure which can contain as many as 16 MAC Flag sets. The MAC Flags 1-8 are contained in the "MAC Flags" field and the MAC Flags 9-16 are contained in the "Extension Flags" field. + +In case of a 3.088 Mbit/s upstream channel, two sets of MAC Flags are required. In this case, the `MAC_Flag_Set` parameter represents the first of two successively assigned MAC Flag sets. + +###### Service Channel + +`Service_Channel` is a 3-bit field which defines the channel assigned to the `Service_Channel_Frequency`. Although the function provided by this parameter is superseded in this specification by the `MAC_Flag_Set`, it is retained in order to identify the logical channel assigned to the NIU/STB. + +###### Backup Service Channel Frequency + +`Backup_Service_Channel_Frequency` is a 32-bit unsigned integer representing the upstream frequency assigned to the backup service channel. The backup service channel is used when entry on the primary service channel fails. The unit of measure is in Hz. + +###### **Backup\_MAC\_Flag\_Set** + +Backup\_MAC\_Flag\_Set is a 5-bit field representing the MAC Flag set assigned to the backup service channel. The function of this field is the same as the MAC\_Flag\_Set above but with respect to the backup service channel. + +###### **Backup\_Service Channel** + +Backup\_Service\_Channel is a 3-bit field which defines the channel assigned to the Backup\_Service\_Channel\_Frequency. The function of this field is the same as the Service\_Channel above but with respect to the backup channel. + +###### **Service\_Channel\_Frame\_Length [reserved]** + +Unused in this version. + +###### **Service Channel Last Slot** + +Service\_Channel\_Last\_Slot is a 16-bit unsigned integer representing the largest slot value of the NIU slots position counter ( $N \times 3 \times m$ , where $N$ is defined in A.5.4.3). In general, this value will be used for all other upstream channels. It will be a multiple of 3, 9 or 18 for 256 kbit/s, 1.544 Mbit/s, or 3.088 Mbit/s respectively. + +###### **Maximum Power Level** + +MAX\_Power\_Level is an 8-bit unsigned integer representing the maximum power the NIU shall be allowed to use to transmit upstream. The unit of measure is in dBmicroV (RMS) on 75 $\Omega$ . + +###### **Minimum Power Level** + +MIN\_Power\_Level is an 8-bit unsigned integer representing the minimum power the NIU shall be allowed to use to transmit upstream. The unit of measure is in dBmicroV (RMS) on 75 $\Omega$ . + +###### **Upstream Transmission Rate** + +Upstream\_Transmission\_Rate is a 3-bit enumerated type that indicates the upstream transmission rate. + +| | +|--------------------------------------------------------------------------------------------------| +| enum Upstream_Transmission_Rate {Upstream_256K, Upstream_1-544M, Upstream_3-088M, reserved3..7}; | +|--------------------------------------------------------------------------------------------------| + +###### **MIN\_Backoff\_Exponent** + +MIN\_Backoff\_Exponent is an 8-bit unsigned integer representing the minimum value of the backoff exponent counter. + +###### **MAX\_Backoff\_Exponent** + +MAX\_Backoff\_Exponent is an 8-bit unsigned integer representing the minimum value of the backoff exponent counter. + +###### **Idle\_Interval** + +Idle\_Interval is a 16-bit unsigned integer representing the predefined interval for the MAC Idle messages. The unit of the measure is in milliseconds. + +#### A.5.5.4 Sign-On and Calibration + +The NIU shall Sign On via the Sign-On procedure. The signalling flow for Sign-On is described below: + +- The NIU shall tune to the downstream Provisioning Channel and the upstream Service Channel with the information provided in the Initialization and Provisioning sequence. +- The NIU shall await the **Sign-On Request Message** from the INA Entity. The NIU shall utilize Contention based entry on the Service Channel to access the network. +- Upon receiving the **Sign-On Request Message**, the NIU shall respond with the **Sign-On Response Message**. The Sign-On Response message shall be transmitted on a Ranging Control Slot. +- The INA, upon receiving the Sign-On Response message shall validate the NIU and send the **Ranging and Power Calibration Message**. +- The NIU shall respond to the **Ranging and Power Calibration Message** with the **Ranging and Power Calibration Response Message**. The **Ranging and Power Calibration Response Message** shall be transmitted on a Ranging Control Slot (which can either be in the ranging region ( $b0 = 1$ ) or reserved region (if a ranging slot number is given in the message)). +- The INA shall send the **Initialization Complete Message** when the NIU is calibrated. The NIU is assumed to be calibrated if the message arrives within a window of 1.5 symbols (upstream rate) and a power within a window of 1.5 dB from their optimal value. + +![Sequence diagram showing the ranging and calibration signalling between INA and NIU/STB.](5801c19431e76330430e92a598cc7a16_img.jpg) + +``` +sequenceDiagram + participant INA + participant NIU/STB + INA->>NIU/STB: Sign-on message + NIU/STB-->>INA: Sign-on Response message + INA->>NIU/STB: Ranging and Power Calibration message + NIU/STB-->>INA: Ranging and Power Calibration Response message + INA->>NIU/STB: Initialization Complete +``` + +The diagram illustrates the interaction between the INA (Initiation Entity) and the NIU/STB (Network Interface Unit/Service Terminal Base). The sequence of messages is as follows: 1. INA sends a Sign-on message to NIU/STB. 2. NIU/STB responds with a Sign-on Response message. 3. INA sends a Ranging and Power Calibration message. 4. NIU/STB responds with a Ranging and Power Calibration Response message. 5. INA sends a Initialization Complete message. The diagram is labeled with 'INA' on the left and 'NIU/STB' on the right. A reference code 'T0904710-97/d038' is present at the bottom right of the diagram. + +Sequence diagram showing the ranging and calibration signalling between INA and NIU/STB. + +Figure A.29/J.112 – Ranging and calibration signalling + +Figure A.30 state diagram details the procedure described above. + +![State diagram for Ranging and calibration. The diagram shows a sequence of states: 'Wait for Sign-On Request', 'Wait Random Time < Time Window', 'Wait for a new Time Window', 'Modify Power and Ranging' (left), 'Modify Power and Ranging' (right), and 'END'. Transitions include 'Receive Sign-On Request', 'Send Sign-On Response message on a Ranging Slot', 'Ranging and Control message + Ranging Slot Number', 'R and C message and no Ranging Slot Number', 'Initialization Complete', and 'Time elapsed'.](29fbbed4c4aff19e9ac5bf98e0c9b24d_img.jpg) + +``` + +stateDiagram-v2 + [*] --> WaitSignOn + state "Wait for Sign-On Request" as WaitSignOn + state "Wait Random Time < Time Window
Retry or increase Powera)
Send Sign-On Response message
on a Ranging Slot" as WaitRandomTime + state "Wait for a new Time Window" as WaitNewTimeWindow + state "Modify Power and Ranging.
Send a Ranging and
Control Response on the Ranging
Slot Number given by the INA
and wait for Initialization
Complete or Ranging and Control message." as ModifyPowerLeft + state "Modify Power and Ranging.
Send a Ranging and Control
Response in a contention based
Ranging Slot. Wait for Initialization
Complete or Ranging and
Control message." as ModifyPowerRight + state END + + WaitSignOn --> WaitRandomTime : Receive Sign-On Request + WaitRandomTime --> WaitNewTimeWindow + WaitNewTimeWindow --> ModifyPowerLeft : Ranging and Control message + Ranging Slot Number + WaitNewTimeWindow --> ModifyPowerRight : Ranging and Control message and no Ranging Slot Number + ModifyPowerLeft --> END : Initialization Complete + ModifyPowerRight --> END : Initialization Complete + ModifyPowerLeft --> WaitSignOn : Time elapsed + ModifyPowerRight --> WaitSignOn : If time > Time Window + ModifyPowerLeft --> ModifyPowerRight : R and C message and no Ranging Slot Number + ModifyPowerRight --> ModifyPowerLeft : R and C message + Ranging Slot Number + +``` + +State diagram for Ranging and calibration. The diagram shows a sequence of states: 'Wait for Sign-On Request', 'Wait Random Time < Time Window', 'Wait for a new Time Window', 'Modify Power and Ranging' (left), 'Modify Power and Ranging' (right), and 'END'. Transitions include 'Receive Sign-On Request', 'Send Sign-On Response message on a Ranging Slot', 'Ranging and Control message + Ranging Slot Number', 'R and C message and no Ranging Slot Number', 'Initialization Complete', and 'Time elapsed'. + +T0904720-97/d039 + +a) "Retry or Increase Power" means that the NIU should retry with the same power Sign\_On\_Incr\_Pwr\_Retry\_Count times (given by the default configuration message) and then increase the power by 0.5 dB. + +Figure A.30/J.112 – State diagram for Ranging and calibration + +NOTE – The Ranging and Control message shown in Figure A.30 corresponds to the Ranging and Power Calibration Message. The Ranging and Control Response corresponds to the Ranging and Power Calibration Response Message. "Sign-On Request" stands for Sign-On Request Message, and similarly, "Sign-On Response" stands for Sign-On Response Message. + +##### A.5.5.4.1 Sign-On Request Message (broadcast downstream) + +The SIGN-ON REQUEST message is issued periodically by the INA to allow a NIU to indicate its presence in the network. The format of this subcommand is shown in Table A.19. + +Table A.19/J.112 – Sign-on Request message structure + +| | Bits | Bytes | Bit number/Description | +|----------------------------------|------|-------|------------------------| +| Sign-On_Request_Message() { | | | | +| Sign-On_Control_Field | 8 | 1 | | +| Reserved | 7 | | 7-1 | +| Address_Filter_Params_Included | 1 | | 0: {no,yes} | +| Response_Collection_Time_Window | 16 | 2 | | +| if (Sign-On_Control_Field= | | | | +| Address_Filter_Params_Included { | | | | +| Address_Position_Mask | (8) | (1) | | +| Address_Comparison_Value | (8) | (1) | | +| } | | | | +| } | | | | + +###### Sign-On Control Field + +Sign-On\_Control\_Field specifies what parameters are included in the SIGN-ON REQUEST. + +###### Address Filter Parameters Included + +address\_filter\_params\_included is a boolean, when set, indicates that the NIU should respond to the SIGN-ON REQUEST only if its address matches the filter requirements specified in the message. + +###### Response Collection Time Window + +Response\_Collection\_Time\_Window is a 16-bit unsigned integer that specifies the duration of time the NIU has to respond to the SIGN-ON REQUEST. The unit of measure is the millisecond (ms). + +###### Address Position Mask + +Address\_Position\_Mask is an 8-bit unsigned integer that indicates the bit positions in the NIU MAC address that are used for address filtering comparison. The bit positions are comprised between bit number Mask and Mask+7. Mask = 0 corresponds to the 8 LSBs of the address, i.e. it represents the number of bits shifted to the left. The maximum value is 40. + +###### Address Comparison Value + +Address\_Comparison\_Value is an 8-bit unsigned integer that specifies the value that the NIU should use for MAC address comparison (see Figure A.31). + +![Diagram showing the position of a Mask in a MAC address. The MAC address is 6 bytes (48 bits) long, with MSB on the left and LSB on the right. A Mask field is shown within the MAC address. An arrow points from the Mask field to an 'Address comparison value (8 bits)' box. Another arrow points from the 'Address_Position_Mask' label to the Mask field. A reference code T0904730-97/d040 is present.](b35ea3e304aad7d350a9902270413930_img.jpg) + +Diagram showing the position of a Mask in a MAC address. The MAC address is 6 bytes (48 bits) long, with MSB on the left and LSB on the right. A Mask field is shown within the MAC address. An arrow points from the Mask field to an 'Address comparison value (8 bits)' box. Another arrow points from the 'Address\_Position\_Mask' label to the Mask field. A reference code T0904730-97/d040 is present. + +Figure A.31/J.112 – Position of Mask in MAC address + +##### A.5.5.4.2 Sign-On Response Message (upstream Contention or Ranging) + +The Sign-On Response Message is sent by the NIU in response to the Sign-On Request Message issued by the INA Entity. The NIU shall wait for a random time less than Response\_Collection\_Time\_Window to send this message (see Table A.20). + +Table A.20/J.112 – Sign-On Response message structure + +| | Bits | Bytes | Bit number/Description | +|------------------------------|------|-------|------------------------| +| Sign-On_Response_Message() { | | | | +| [reserved] | 32 | 4 | | +| [reserved] | 16 | 2 | | +| Retry_Count | 8 | 1 | | +| } | | | | + +###### Retry Count + +Retry\_Count is an 8-bit unsigned integer that indicates the number of transmissions of the Sign-On Response. This field is always included in the response to the Sign-On Request. + +##### A.5.5.4.3 Ranging and Power Calibration Message (singlecast downstream) + +The RANGING AND POWER CALIBRATION MESSAGE is sent by the INA to the NIU to adjust the power level or time offset the NIU is using for upstream transmission. The format of this message is shown in Table A.21. + +**Table A.21/J.112 – Ranging and Power Calibration message structure** + +| | Bits | Bytes | Bit number/description | +|-------------------------------------------------------------------|------|-------|------------------------| +| Ranging_and_Power_Calibration_Message() { | | | | +| Range_Power_Control_Field | 8 | 1 | | +| reserved | 5 | | 7-3: | +| ranging_slot_included | 1 | | 2: {no, yes} | +| time_adjustment_included | 1 | | 1: {no, yes} | +| power_ajustment_included | 1 | | 0: {no, yes} | +| if (range_power_control_field ==
time_adjustment_included ) { | | | | +| Time_Offset_Value | (16) | (2) | | +| } | | | | +| if (range_power_control_field ==
power_adjustment_included ) { | | | | +| Power_Control_Setting | (8) | (1) | | +| } | | | | +| if (range power control field ==
ranging_slot_included) { | | | | +| Ranging_Slot_Number | (16) | (2) | | +| } | | | | + +###### Range and Power Control Field + +`Range_Power_Control_Field` specifies which Range and Power Control parameters are included in the message. + +###### Time Adjustment Included + +`time_adjustment_included` is a boolean when set, indicates that a relative Time Offset Value is included that the NIU should use to adjust its upstream slot transmit position. + +###### Power Adjust Included + +`power_adjust_included` is a boolean when set, indicates that a relative Power Control Setting is included in the message. + +###### Ranging Slot Included + +`Ranging_Slot_Included` is a boolean when set, indicates the calibration slot available. When this bit equals 1, the NIU must send its response on the slot number given by **Ranging Slot Number**. When this bit equals 0, the NIU must respond on a ranging slot as mentioned in Figure A.30. + +###### Time Offset Value + +`Time_Offset_Value` is a 16-bit short integer representing a relative offset of the upstream transmission timing. A negative value indicates an adjustment forward in time (later). A positive value indicates an adjustment back in time (earlier). The unit of measure is 100 ns (The NIU will adjust approximately its time offset to the closest value indicated by the `Time_Offset_Value` parameter, which implies that no extra clock is needed to adjust to the correct offset). + +###### Power Control Setting + +`Power_Control_Setting` is an 8-bit signed integer to be used to set the new power level of the NIU. (A positive value represents an increase of the output power level.) + +$$\text{New output\_power\_level} = \text{current output\_power\_level} + \text{power\_control\_setting} \times 0.5 \text{ dB}$$ + +###### Ranging Slot Number + +`Ranging_Slot_Number` is a 16-bit unsigned integer that represents the reserved access Slot Number assigned for Ranging the NIU. It shall be assigned by the INA in the reservation area. The INA shall assure that an unassigned slot precedes and follows the ranging slot. + +##### A.5.5.4.4 Ranging and Power Calibration Response Message (upstream reserved or contention ranging) + +The RANGING AND POWER CALIBRATION RESPONSE Message is sent by the NIU to the INA in response to the RANGING AND POWER CALIBRATION MESSAGE. The format of the message is shown in Table A.22. + +Table A.22/J.112 – Ranging and Power Calibration Response message structure + +| | Bits | Bytes | Bit number/Description | +|-------------------------------------------------|------|-------|------------------------| +| Ranging_Power_Response_Message() { | | | | +| Power_Control_Setting | 8 | 1 | | +| } | | | | + +###### Power Control Setting + +`Power_Control_Setting` is an 8-bit signed integer defined as a copy of the power control setting parameter received from INA. + +##### A.5.5.4.5 Initialization Complete Message (singlecast downstream) + +This message has no message body. It indicates the end of the MAC Sign-On and Provisioning procedure. + +#### A.5.5.5 Default Connection Establishment + +Once a NIU has completed the Calibration State, it shall enter the Connection State. A low bit rate permanent connection is assigned to a NIU by the INA. After the initial calibration procedure, the INA provides a Default Connection to the NIU that the NIU shall utilize to communicate to the network. The message flow for such Connection Establishment is shown below (see Figure A.32): + +- 1) After Initialization, Provisioning and Sign-On procedures are complete, the INA shall assign a default upstream and downstream connection to the NIU. This connection can be assigned on any of the upstream channels except the upstream service channel ranging area. The INA shall assign the default connection by sending the **Connect Message** to the NIU. This message shall contain the upstream connection parameters and downstream frequency on which the default connection is to reside. +- 2) The NIU, upon receiving the **Connect Message** shall tune to the required upstream and downstream frequencies and send the **Connect Response Message** confirming receipt of the message. +- 3) Upon receipt of the **Connect Response Message**, the INA shall confirm the new connection to proceed by sending the **Connect Confirm Message**. + +![Diagram showing connection signalling between INA and NIU/STB. Three messages are shown: Connect Message (INA to NIU/STB), Connect Response (NIU/STB to INA), and Connect Confirm (INA to NIU/STB).](b20942bb14022381a243971ab9790dd9_img.jpg) + +``` + + INA NIU/STB + | | + |----- Connect Message----->| + | | + |----- Connect Response----->| + | | + |----- Connect Confirm----->| + +``` + +T0904740-97/d041 + +Diagram showing connection signalling between INA and NIU/STB. Three messages are shown: Connect Message (INA to NIU/STB), Connect Response (NIU/STB to INA), and Connect Confirm (INA to NIU/STB). + +Figure A.32/J.112 – Connection signalling + +##### A.5.5.5.1 Connect Message (singlecast downstream) + +See Table A.23. + +Table A.23/J.112 – Connect message structure + +| | Bits | Bytes | Numéro number/
Description | +|---------------------------------------------------------|------|-------|-------------------------------| +| Connect_Message () { | | | | +| Connection_ID | 32 | 4 | | +| Session_Number | 32 | 4 | | +| Resource_Number | 16 | 2 | | +| Connection_Control_Field | 8 | 1 | | +| DS_ATM_CBD_Included | 1 | | 7: {no, yes} | +| DS_MPEG_CBD_Included | 1 | | 6: {no, yes} | +| US_ATM_CBD_Included | 1 | | 5: {no, yes} | +| Upstream_Channel_Number | 3 | | 4-2 | +| Slot_List_Included | 1 | | 1: {no, yes} | +| Cyclic_Assignment | 1 | | 0: {no, yes} | +| Frame_Length | (16) | (2) | | +| Maximum_Contention_Access_Message_Length | (8) | (1) | | +| Maximum_Reservation_Access_Message_Length | (8) | (1) | | +| if (Connection_Control_Field && DS_ATM_CBD_Included) { | | | | +| Downstream_ATM_CBD() | 64 | 8 | | +| } | | | | +| if (Connection_Control_Field && DS_MPEG_CBD_Included) { | | | | +| Downstream_MPEG_CBD() | 48 | 6 | | +| } | | | | +| if (Connection_Control_Field && US_ATM_CBD_Included) { | | | | +| Upstream_ATM_CBD() | 64 | 8 | | +| } | | | | +| if (Connection_Control_Field && Slot_List_Included) { | | | | +| Number_Slots_Defined | 8 | 1 | | +| for (i=0; iSlot_Number | (16) | (2) | | +| } | | | | +| } | | | | +| if (MAC_Control_Params == cyclic_Assignment){ | | | Fixed Rate Access | +| Fixedrate_Start | (16) | (2) | | +| Fixedrate_Dist | (16) | (2) | | +| Fixedrate_End | (16) | (2) | | +| } | | | | +| }} | | | | + +###### Connection ID + +`Connection_ID` is a 32-bit unsigned integer representing a connection Identifier for the NIU Dynamic Connection. + +###### Session Number + +`Session_Number` is a 32-bit unsigned integer representing the Session that the connection parameters are associated. This parameter is not used by this specification. + +###### Resource Number + +`Resource_Number` is a 16-bit unsigned integer providing a unique number to the resource defined in the message. This parameter is not used by this specification. + +###### Connection Control Field + +`DS_ATM_CBD_Included` is a boolean that indicates that the Downstream ATM Descriptor is included in the message. + +`DS_MPEG_CBD_Included` is a boolean that indicates that the Downstream MPEG Descriptor is included in the message. + +`US_ATM_CBD_Included` is a boolean that indicates that the Upstream ATM Descriptor is included in the message. + +`Upstream_Channel_Number` is a 3-bit unsigned integer that provides an identifier for the upstream channel. This parameter is not used in this specification. + +`Slot_List_Included` is a boolean that indicates that the Slot List is included in the message. + +`Cyclic_Assignment` is a boolean that indicates Cyclic Assignment. + +###### Frame Length + +`Frame_length` – This 16-bit unsigned number represents the number of successive slots in the fixed rate access region associated with each fixed rate slot assignment. In the `slot_list` method of allocating slots it represents the number of successive slots associated with each element in the list. In the cyclic method of allocating slots it represents the number of successive slots associated with the `Fixedrate_Start_slot` and those which are multiples of `Fixedrate_Distance` from the `Fixedrate_Start_slot` within the Fixed rate access region. + +###### Maximum Contention Access Message Length + +`Maximum_contention_access_message_length` is an 8-bit number representing the maximum length of a message in ATM sized cells that may be transmitted using contention access. Any message greater than this should use reservation access. + +###### Maximum Reservation Access Message Length + +`Maximum_reservation_access_message_length` is an 8-bit number representing the maximum length of a message in ATM sized cells that may be transmitted using a single reservation access. Any message greater than this should be transmitted by making multiple reservation requests. + +###### Downstream ATM Connection Block Descriptor + +See Table A.24. + +Table A.24/J.112 – ATM Connection Block Descriptor substructure + +| | Bits | Bytes | Bit number/
Description | +|-------------------------------------|------|-------|----------------------------| +| Downstream_ATM_CBD() { | | | | +| Downstream_Frequency | 32 | 4 | | +| Downstream_VPI | 8 | 1 | | +| Downstream_VCI | 16 | 2 | | +| Downstream_Type | 8 | 1 | | +| } | | | | + +###### *Downstream Frequency* + +`Downstream_Frequency` is a 32-bit unsigned integer representing the Frequency where the connection resides. The unit of measure is in Hz. + +###### *Downstream Virtual Path Identifier* + +`Downstream_VPI` is an 8-bit unsigned integer representing the ATM Virtual Path Identifier that is used for downstream transmission over the Dynamic Connection. + +###### *Downstream Virtual Channel Identifier* + +`Downstream_VCI` is a 16-bit unsigned integer representing the ATM Virtual Channel Identifier that is used for downstream transmission over the Dynamic Connection. + +###### *DownStream\_Type* + +`DownStream_Type` is an 8-bit enumerated type indicating the modulation format for the down stream connection. { reserved, QPSK\_1.544, QPSK\_3.088, 3..255 reserved }. + +###### **Downstream MPEG Connection Block Descriptor** + +See Table A.25. + +**Table A.25/J.112 – Downstream\_MPEG\_CBD substructure** + +| | Bits | Bytes | Bit number/
Description | +|--------------------------------------|------|-------|----------------------------| +| Downstream_MPEG_CBD() { | | | | +| Downstream_Frequency | 32 | 4 | | +| Program_Number | 16 | 2 | | +| } | | | | + +###### *Downstream Frequency* + +`Downstream_Frequency` is a 32-bit unsigned integer representing the Frequency where the connection resides. The unit of measure is in Hz. + +###### *Program Number* + +`Program_Number` is a 16-bit unsigned integer uniquely referencing the downstream virtual connection assignment (PID of the MPEG-2 program). + +###### **Upstream ATM Connection Block Descriptor** + +See Table A.26. + +**Table A.26/J.112 – Upstream\_CBD substructure** + +| | Bits | Bytes | Bit number/
Description | +|-----------------------------------|------|-------|----------------------------| +| Upstream_ATM_CBD() { | | | | +| Upstream_Frequency | 32 | 4 | | +| Upstream_VPI | 8 | 1 | | +| Upstream_VCI | 16 | 2 | | +| MAC_Flag_Set | 5 | 1 | 7:3 | +| Upstream_Rate | 3 | | 2:0 | +| } | | | | + +###### *Upstream Frequency* + +*Upstream\_Frequency* is a 32-bit unsigned integer representing the channel on assigned to the connection. The unit of measure is in Hz. + +###### *Upstream Virtual Path Identifier* + +*Upstream\_VPI* is an 8-bit unsigned integer representing the ATM Virtual Path Identifier that is used for upstream transmission over the Dynamic Connection. + +###### *Upstream Virtual Channel Identifier* + +*Upstream\_VCI* is a 16-bit unsigned integer representing the ATM Virtual Channel Identifier that is used for upstream transmission over the Dynamic Connection. + +###### *MAC\_Flag\_Set* + +*MAC\_Flag\_Set* is a 5-bit field representing the MAC Flag set assigned to the connection. In the OOB downstream SL-ESF frame payload structure, each set of three bytes, denoted by Rxa-Rxc, comprise a flag set. These eight flag sets are assigned the numbers 1-8. In the IB downstream timing, the 16-flag sets are assigned the numbers 1-16. In the case of a 3.088 Mbit/s upstream channel, two successive flag sets are required to define a 3-ms period. In this case, this parameter represents the first of two successively assigned flag sets. In the case of a 3.088 Mbit/s OOB downstream, two successive SL-ESF frames define the 3-ms interval. The Rxa-Rxc bytes of the first frame represent flag sets 1-8 while the Rxa-Rxc bytes of the second frame represent flag sets 9-16. + +###### *Upstream\_Rate* + +*Upstream\_Rate* is a 3-bit enumerated type indicating the data rate for the upstream connection. { Upstream\_256K, Upstream\_1.544M, Upstream\_3.088M, 3..7 reserved } + +###### **Number of Slots Defined** + +*Number\_Slots\_Defined* is an 8-bit unsigned integer that represents the number of slot assignments contained in the message. The unit of measure is slots. + +###### **Slot Number** + +*Slot\_Number* is a 16-bit unsigned integer that represents the Fixed rate based Slot Number assigned to the NIU. + +###### **Fixed rate Start** + +*Fixedrate\_Start* – This 16-bit unsigned number represents the starting slot within the fixed rate access region that is assigned to the NIU. The NIU may use the next *Frame\_length* slots of the fixed rate access regions. + +###### **Fixed rate Distance** + +*Fixedrate\_Distance* – This 16-bit unsigned number represents the distance in slots between additional slots assigned to the NIU. The NIU is assigned all slots that are a multiple of *Fixedrate\_Distance* from the *Fixedrate\_Start\_slot* which do not exceed *Fixedrate\_End\_slot*. The NIU may use the next *Frame\_length* slots. of the fixed rate access regions from each of these additional slots. + +###### **Fixed rate End** + +*Fixedrate\_End* – This 16-bit unsigned number indicates the last slot that may be used for fixed rate access. The slots assigned to the NIU, as determined by using the *Fixedrate\_Start\_slot*, the *Fixedrate\_Distance* and the *Frame\_length*, cannot exceed this number. + +##### **A.5.5.5.2 Connect Response (upstream contention, reserved or contention access)** + +The CONNECT RESPONSE MESSAGE is sent to the INA from the NIU in response to the CONNECT MESSAGE. The message shall be transmitted on the upstream frequency specified in the CONNECT MESSAGE (see Table A.27). + +**Table A.27/J.112 – Connect response message structure** + +| | Bits | Bytes | Bit number/
Description | +|----------------------|------|-------|----------------------------| +| Connect_Response() { | | | | +| Connection_ID | 32 | 4 | | +| } | | | | + +###### **Connection ID** + +Connection\_ID is a 32-bit unsigned integer representing a global connection Identifier for the NIU Dynamic Connection. + +##### **A.5.5.5.3 Connect Confirm (singlecast downstream)** + +The Connect Confirm message is sent from the INA to the NIU (see Table A.28). + +**Table A.28/J.112 – Connect Confirm message structure** + +| | Bits | Bytes | Bit number/
Description | +|----------------------|------|-------|----------------------------| +| Connect_Confirm() { | | | | +| Connection_ID | 32 | 4 | | +| } | | | | + +###### **Connection ID** + +Connection\_ID is a 32-bit unsigned integer representing a global connection Identifier for the NIU Dynamic Connection. + +#### **A.5.5.6 Data connections** + +A connection is initiated by the INA using the Connect Message explained in A.5.5.5.1. This message is either used to immediately assign time slots for a fixed rate connection or just to assign a connection ID and related parameters without time slot assignment. In particular, for reservation or contention access, no time slots are assigned in the Connect Message, but the connection ID shall be used in requests for slots by the NIU. + +##### **Connection Assignment** + +The INA can assign other connections by using the **Connect message** described previously. The NIU cannot request a connection, it must be initiated by higher layers. + +##### **Connection Release** + +This subclause defines the MAC signalling requirements for connection release. Figure A.33 displays the signalling flow for releasing a connection. The NIU cannot release a connection, this must be initiated by higher layers. This message is thus initiated by the INA only: + +- 1) Upon receiving the **Release Message** from the INA, the NIU shall tear down the upstream connection established for the specified Connection\_ID. +- 2) Upon teardown of the upstream connection, the NIU shall send the **Release Response Message** on the upstream channel previously assigned for that connection. + +![Sequence diagram showing connection release signalling between NRC and NIU/STB. The NRC sends a Release Message to the NIU/STB, and the NIU/STB responds with a Release Response. The diagram is labeled T0904750-97/d042.](32d36dfe7dc75b7c63f8edf0f28e4009_img.jpg) + +``` + +sequenceDiagram + participant NRC + participant NIU/STB + Note right of NIU/STB: T0904750-97/d042 + NRC->>NIU/STB: Release Message + NIU/STB-->>NRC: Release Response + +``` + +Sequence diagram showing connection release signalling between NRC and NIU/STB. The NRC sends a Release Message to the NIU/STB, and the NIU/STB responds with a Release Response. The diagram is labeled T0904750-97/d042. + +Figure A.33/J.112 – Connection release signalling + +##### ** Release Message (singlecast downstream)** + +The ** Release Message** is sent from the INA to the NIU to terminate a previously established connection (see Table A.29). + +Table A.29/J.112 – Release message structure + +| | Bits | Bytes | Bit number/
Description | +|-------------------------------------------|------|-------|----------------------------| +| Release_Message() { | | | | +| Number_of_Connections | 8 | 1 | | +| for (i=0; iConnection_ID | 32 | 4 | | +| }
} | | | | + +###### *Connection ID* + +*Connection\_ID* is a 32-bit unsigned integer representing a global connection Identifier for the NIU Dynamic Connection. + +##### ** Release Response (upstream contention, reserved or contention)** + +The ** RELEASE RESPONSE MESSAGE** is sent by the NIU to the INA to acknowledge the release of a connection. The format of the message is shown in Table A.30. + +Table A.30/J.112 – Release Response message structure + +| | Bits | Bytes | Bit number/
Description | +|-------------------------------|------|-------|----------------------------| +| Release_Response_Message () { | | | | +| Connection_ID | 32 | 4 | | +| } | | | | + +###### *Connection ID* + +*Connection\_ID* is a 32-bit unsigned integer representing the global connection Identifier used by the NIU for this connection. + +##### **A.5.5.6.1 Fixed rate access** + +Fixed rate access is provided by the INA using the ** Connect Message**. + +##### A.5.5.6.2 Contention based access + +The NIU shall use contention based slots specified by the slot boundary definition fields (Rx) to transmit contention based messages (see A.5.3). The format of contention based MAC messages is described by the MAC message format (see A.5.5.2.3). + +##### A.5.5.6.3 Reservation access + +This subclause defines the MAC signalling requirements for reservation access. Figure A.34 displays the signalling flow for reserving an access: + +- 1) The NIU shall wait for a Reservation ID Assignment Message from the INA before it can request reservation access. +- 2) At any time when needed after receiving the reservation ID, the NIU can request a certain number of slots to the INA using the Reservation Request Message. +- 3) The INA shall respond to that message using the Reservation Grant Message. +- 4) If the NIU has not received the Reservation Grant Message before the Grant\_Protocol\_Timeout, it shall send a Reservation Status Request to the INA. This leads back to 3). + +![Sequence diagram showing reservation access signalling between INA and NIU. The sequence is: INA sends Reservation ID Assignment Message to NIU; NIU sends Reservation ID Response Message to INA; NIU sends Reservation Request Message to INA; INA sends Reservation Grant Message to NIU. The diagram is labeled T0904760-97/d043.](cf018d13814389b0bd7f94a2f9bb812a_img.jpg) + +``` + +sequenceDiagram + participant INA + participant NIU + Note right of INA: INA + Note left of NIU: NIU + INA->>NIU: Reservation ID Assignment Message + NIU-->>INA: Reservation ID Response Message + NIU->>INA: Reservation Request Message + INA->>NIU: Reservation Grant Message + Note right of INA: T0904760-97/d043 + +``` + +Sequence diagram showing reservation access signalling between INA and NIU. The sequence is: INA sends Reservation ID Assignment Message to NIU; NIU sends Reservation ID Response Message to INA; NIU sends Reservation Request Message to INA; INA sends Reservation Grant Message to NIU. The diagram is labeled T0904760-97/d043. + +Figure A.34/J.112 – Reservation access signalling + +##### Reservation ID Assignment Message (singlecast downstream) + +The Reservation ID Assignment Message is used to assign the NIU a Reservation\_ID. The NIU identifies its entry in the Reservation\_grant\_message by comparing the Reservation\_ID assigned to it by the Reservation\_ID\_assignment\_message and the entries in the Reservation\_Grant\_message. + +The format of the message is given in Table A.31. + +Table A.31/J.112 – Reservation ID assignment message structure + +| | Bits | Bytes | Bit number/
Description | +|----------------------------------------|------|-------|----------------------------| +| Reservation_ID_assignment_Message () { | | | | +| Connection_ID | 32 | 4 | | +| Reservation_ID | 16 | 2 | | +| Grant_protocol_timeout | 16 | 2 | | +| } | | | | + +###### *Connection ID* + +`Connection_ID` is a 32-bit unsigned integer representing a global connection identifier for the NIU Dynamic Connection. + +###### *Reservation\_ID* + +`Reservation_ID` is a 16-bit unsigned number representing a locally assigned identifier for the connection. This is used as a short identifier by the NIU to identify the appropriate `Reservation_Grant_Messages`. + +###### *Grant\_protocol\_timeout* + +`Grant_protocol_timeout` is a 16-bit unsigned number representing the time in milliseconds that the NIU should wait before verifying the status of pending grants. This parameter specifies the time that the NIU should wait after receiving the last `Reservation_grant_message`, with an entry addressed to the NIU, before initiating a reservation status request. If the NIU has pending grants and the timeout occurs, it should send the `Reservation_status_request` message to the INA. The INA will respond with the `Reservation_grant_message` (probably without granting any slots) to inform the NIU of any remaining slots left to be granted. This allows the NIU to correct any problems, should they exist, such as issuing an additional request for slots or waiting patiently for additional grants. + +###### ** Reservation ID Response Message (upstream, contention or reserved access)** + +The Reservation ID Response Message is used to acknowledge the receipt of the `Reservation_ID_Assignment` message. + +The format of the message is given below. + +| | Bits | Bytes | Bit number/
Description | +|---------------------------------------------------|------|-------|----------------------------| +| Reservation_ID_Response_Message () { | | | | +| Connection_ID | 32 | 4 | | +| Reservation_ID | 16 | 2 | | +| } | | | | + +###### **Connection ID** + +`Connection_ID` is a 32-bit unsigned integer representing a global connection identifier for the NIU/STB Dynamic Connection. + +###### **Reservation\_ID** + +`Reservation_ID` is a 16-bit unsigned number representing a locally assigned identifier for the connection. This is used as a short identifier by the NIU/STB to identify the appropriate `Reservation_Grant_Messages`. + +##### ** Reservation Request Message (upstream contention, contention or reserved)** + +See Table A.32. + +**Table A.32/J.112 – Reservation Request message structure** + +| | Bits | Bytes | Bit number/
Description | +|----------------------------------------------------|------|-------|----------------------------| +| Reservation_Request_message () { | | | | +| Reservation_ID | 16 | 2 | | +| Reservation_request_slot_count | 8 | 1 | | +| } | | | | + +This message is sent from the NIU to the INA. + +###### *Reservation\_ID* + +*Reservation\_ID* is a 16-bit unsigned number representing a locally assigned identifier for the connection. This is used as a short identifier by the NIU to identify the appropriate *Reservation\_Grant\_Messages*. + +###### *Reservation Request Slot Count* + +*Reservation\_request\_slot\_count* is an 8-bit unsigned number representing the number of slots requested by the NIU. This is the number of sequential slots that will be allocated in the reservation region of the upstream channel. The INA will respond with the *Reservation\_Grant* message granting the request. + +##### ** Reservation Grant Message (broadcast downstream)** + +The RESERVATION GRANT MESSAGE is used to indicate to the NIU which slots have been allocated in response to the *Reservation Request* message. The NIU identifies its entry in the *Reservation\_grant\_message* by comparing the *Reservation\_ID* assigned to it by the *Reservation\_ID\_assignment\_message* and the entries in the *Reservation\_Grant\_message*. + +The format of the message is given in Table A.33. + +**Table A.33/J.112 – Reservation Grant message structure** + +| | Bits | Bytes | Bit number/
Description | +|---------------------------------------|------|-------|----------------------------| +| Reservation_grant_message () { | | | | +| Reference_slot | 16 | 2 | | +| Number_grants | 8 | 1 | | +| for (I=1; I<=Number_grants; I++){ | | | | +| Reservation_ID | 16 | 2 | | +| | | 2 | | +| Grant_Slot_count | 4 | | 15-12 | +| Remaining_slot_count | 5 | | 11-7 | +| Grant_control | 2 | | 6-5 | +| Grant_slot_offset | 5 | | 4-0 | +| } | | | | +| } | | | | + +###### *Reference\_slot* + +*Reference\_slot* is a 16-bit unsigned number indicating the reference point for the remaining parameters of this message. This represents a physical slot of the upstream channel. Since the upstream and downstream slots are not aligned, the INA shall send this message in a downstream slot such that it is received by the NIU before the *Reference\_slot* exists on the upstream channel. + +###### *Number\_grants* + +*Number\_grants* is an 8-bit unsigned number representing the number of grants contained within this message. This can either correspond to grants for different NIUs, or to different connection\_IDs for the same NIU. + +###### *Reservation\_ID* + +*Reservation\_ID* is a 16-bit unsigned number representing a locally assigned identifier for the connection. This is used as a short identifier by the NIU to identify the appropriate *Reservation\_Grant\_Messages*. + +###### *Grant\_slot\_count* + +*Grant\_slot\_count* is a 4-bit unsigned number representing the number of sequential slots currently granted for the upstream burst. Upon receipt of this message, the NIU is assigned *Grant\_slot\_count* sequential slots in the reservation access region of the upstream channel starting at the position indicated by the *Reference\_slot* and *Grant\_slot\_offset* values (jumps are needed in the case where the number of slots granted exceeds the length of the reservation access region). A value of zero indicates that no slots are being granted. This would typically be the case in a response to a *Reservation\_status\_request* message. + +###### *Remaining\_slot\_count* + +*Remaining\_slot\_count* is a 5-bit unsigned number representing the remaining slots to be granted by the INA with subsequent grant messages. A value of 0x1f indicates that 31 or more slots will be made available in the future. A value of 0x0 indicates that no additional slots will be granted in the future and that the slots granted in this message represent the only remaining slots available for the connection. The NIU should monitor this count to determine if sufficient slots remain to satisfy current needs. Should additional slots be required because of lost grant messages or additional demand, additional slots should be requested using the *Reservation\_request\_message*. Additional *Reservation\_request\_messages* shall be sent only when the *Remaining\_slot\_count* is less than 15. To minimize contention on the upstream channel, the *Reservation\_request\_message* may be sent in one of the slots granted by the *Reservation\_grant\_message*. + +###### *Grant\_Control* + +*Grant\_Control* is a 2-bit unsigned number coded as 0 (reserved for future use). + +###### *Grant\_slot\_offset* + +*Grant\_slot\_offset* is a 5-bit unsigned number representing the starting slot to be used for the upstream burst. This number is added to the *Reference\_slot* to determine the actual physical slot. Upon receipt of this message, the NIU is assigned *Grant\_slot\_count* sequential slots in the reservation access region of the upstream channel. + +##### ** Reservation Status Request (upstream contention, contention or reserved)** + +The RESERVATION STATUS REQUEST Message is used to determine the status of the outstanding grants to be assigned by the INA. This message is only sent after the Grant protocol time-out is exceeded. The INA will respond with the *Reservation\_grant\_message* (possibly without granting any slots) to inform the NIU of any remaining slots left to be granted. This allows the NIU to correct any problems, should they exist, such as issuing an additional request for slots or waiting patiently for additional grants. + +The format of the message is given in Table A.34. + +**Table A.34/J.112 – Reservation status request message structure** + +| | Bits | Bytes | Bit number/
Description | +|------------------------------------------------|------|-------|----------------------------| +| Reservation_Status_Request_Message () { | | | | +|     Reservation_ID | 16 | 2 | | +|     Remaining_request_slot_count | 8 | 1 | | +| } | | | | + +###### *Reservation\_ID* + +*Reservation\_ID* is a 16-bit unsigned number representing a locally assigned identifier for the connection. This is used as a short identifier by the NIU to identify the appropriate *Reservation\_Grant\_Messages*. + +###### *Remaining\_request\_slot\_count* + +*Remaining\_request\_slot\_count* is an 8-bit unsigned number representing the number of slots that the NIU is expecting to be granted. + +#### A.5.5.7 MAC Link Management + +The MAC Link Management tasks provide continuous monitoring and optimization of upstream resources. These functions include: + +- Power and Timing Management; +- Fixed rate Allocation Management; +- Channel Error Management. + +##### A.5.5.7.1 Power and Timing Management + +Power and Timing Management shall provide continuous monitoring of upstream transmission from the NIU. The **Ranging and Power Calibration Message** is used to maintain a NIU within predefined thresholds of power and time. + +The Upstream Burst Demodulator shall continuously monitor the upstream burst transmissions from an NIU. Upon detection of an NIU outside the predefined range, the INA shall send the **Ranging and Power Calibration Message** to the NIU. + +##### A.5.5.7.2 TDMA Allocation Management + +To ensure optimum assignment of TDMA resources, the INA shall ensure the upstream allocation of TDMA resources for various connections remain intact when allocating resources to a new connection. However, in the event that reconfiguration is required to minimize fragmentation of resources, then the INA shall dynamically reconfigure the upstream TDMA assignments to a NIU or group of NIUs. The **Reprovision Message** is utilized to change previously established connection parameters. + +##### Reprovision Message (singlecast downstream) + +The REPROVISION MESSAGE is sent by the INA to the NIU to reassign upstream resources (maintaining the originally requested QOS parameters at the establishment of the connection.) This message is intended for Fixed rate based channel maintenance by the INA to redistribute or reassign resources allocated to a NIU (see Table A.35). + +**Table A.35/J.112 – Reprovision message structure** + +| | Bits | Bytes | Bit number/
Description | +|---------------------------------------------------------------------|------|-------|----------------------------| +| Reprovision_Message () { | | | | +| Reprovision_Control_Field | 8 | 1 | | +| Reserved | 2 | | 7-6 | +| New_Downstream_IB_Frequency | 1 | | 5: {no, yes} | +| New_Downstream_OOB_Frequency | 1 | | 4: {no, yes} | +| New_Upstream_Frequency_Included | 1 | | 3: {no, yes} | +| New_Frame_Length_Included | 1 | | 2: {no, yes} | +| New_Cyclical_Assignment_Included | 1 | | 1: {no, yes} | +| New_Slot_List_Included | 1 | | 0: {no, yes} | +| if (Reprovision_Control_Field & =
New_Downstream_IB_Frequency) { | | | | + +Table A.35/J.112 – Reprovision message structure (end) + +| | Bits | Bytes | Bit number/
Description | +|--------------------------------------------------------------------------------------------------------------------|------|-------|------------------------------| +| New_Downstream_IB_Frequency } | (32) | (4) | | +| if (Reprovision_Control_Field & =
New_Downstream_OOB_Frequency) {
| | | | +| New_Downstream_OOB_Frequency | (32) | (4) | | +| DownStream_Type } | 8 | 1 | | +| if (Reprovision_Control_Field & =
New_Frequency_Included) {
| | | | +| New_Upstream_Frequency | (32) | (4) | | +| New Upstream Parameters | | (2) | | +| New_Upstream_Channel_Number | 3 | | 7:5 | +| reserved | 2 | | 4:3 | +| Upstream_Rate | 3 | | 2:0:enum | +| MAC_Flag_Set | 5 | | 7:3 | +| Reserved} | 3 | | 2:0 | +| if (Connection_Control_Field & =
New_Frame_Length_Included) {
| | | | +| New_Frame_Length} | (16) | (2) | 9:0:
Unsigned | +| if (Reprovision_Control_Field & =
New_Slot_List_Included
New_Cyclical_Assignment_Included) {
| | | | +| Number_of_Connections | (8) | (1) | | +| for(i=0;i<Number_of_Connections;i++) { | | | | +| Connection_ID | (32) | (1) | | +| if (Reprovision_Control_Field & =
new_slot_list_included) {
| | | Fixed Rate
Access
| +| Number_Slots_Defined | (8) | (1) | | +| for(i=0;i<Number_Slots_Assigned;i++) { | | | | +| Slot_Number | (16) | (2) | | +| }} | | | | +| if (Reprovision_Control_Field ==
new_cyclic_Assignment_included) {
| | | Fixed Rate
Access
| +| Fixedrate_Start | (16) | (2) | | +| Fixedrate_Dist | (16) | (2) | | +| Fixedrate_End | (16) | (2) | | +| }}} | | | | + +###### *Reprovision Control Field* + +`Reprovision_Control_Field` specifies what modifications to upstream resources are included. + +###### *New Downstream OOB Frequency* + +`New_Upstream_OOB_Frequency` is a boolean that indicates that a new downstream OOB frequency is specified in the message. + +###### *New Downstream IB Frequency* + +`New_Upstream_IB_Frequency` is a boolean that indicates that a new downstream IB frequency is specified in the message. + +###### *New Upstream Frequency Included* + +`New_Upstream_Frequency_Included` is a boolean that indicates that a new upstream frequency is specified in the message. + +###### *New Frame Length Included* + +`New_Frame_Length_Included` is a boolean that indicates that a new upstream frame is specified in the message. + +###### *New Slot List Included* + +`New_Slot_List_Included` is a boolean that indicates that a new slot list is specified in the message. + +###### *New Cyclical Assignment Included* + +`New_Cyclical_Assignment_Included` is a boolean that indicates that a new cyclical assignment is specified in the message. + +###### *New Downstream IB Frequency* + +`New_Downstream_IB_Frequency` is a 32-bit unsigned integer representing the reassigned downstream IB carrier center frequency. The unit of measure is Hz. + +###### *New Downstream OOB Frequency* + +`New_Downstream_OOB_Frequency` is a 32-bit unsigned integer representing the reassigned downstream OOB carrier center frequency. The unit of measure is Hz. + +`DownStream_Type` is an 8-bit enumerated type indicating the modulation format for the down stream connection. +{ reserved, QPSK\_1.544, QPSK\_3.088, 3..255 reserved } + +###### *New Upstream Frequency* + +`New_Upstream_Frequency` is a 32-bit unsigned integer representing the reassigned upstream carrier center frequency. The unit of measure is Hz. + +`UpstreamStream_Rate` is a 3-bit enumerated type indicating the data rate for the upstream connection. +{ Upstream\_256K, Upstream\_1.544M, Upstream\_3.088M, 3..7 reserved } + +`MAC_Flag_Set` is a 5-bit field representing the MAC Flag set assigned to the connection. In the OOB downstream timing, the eight sets of flags are assigned the numbers 1-8. In the IB downstream timing, the 16 sets of flags are assigned the numbers 1-16. In the case of a 3.088 Mbit upstream channel, this parameter represents the first of two successively assigned flag sets. + +###### *New Frame Length* + +`New_Frame_Length` is a 16-bit unsigned integer representing the size of the reassigned upstream Fixed rate based frame. The unit of measure is in slots. + +###### *Number of Slots Defined* + +`Number_Slots_Defined` is an 8-bit unsigned integer that represents the number of slot assignments contained in the message. The unit of measure is slots. + +###### *Slot Number* + +`Slot_Number` is a 16-bit unsigned integer that represents the Fixed rate based Slot Number assigned to the Network Interface Unit. + +##### **A.5.5.7.3 Channel Error Management** + +During periods of connection inactivity, the NIU shall enter an Idle Mode. Idle Mode is characterized by periodic transmission by the NIU of a **Idle Message**. The Idle Mode transmission shall occur at a periodic rate sufficient for the INA to establish Packet Error Rate statistics. + +##### ** Idle Message (upstream contention or reserved)** + +The **Idle Message** is sent by the NIU within the STB to the INA at predefined intervals (between 1 and 10 minutes) when upstream connection buffers are empty (see Table A.36). + +**Table A.36/J.112 – Idle message structure** + +| | Bits | Bytes | Bit number/
Description | +|------------------------------------|------|-------|----------------------------| +| Idle_Message() { | | | | +| Idle_Sequence_Count | 8 | 1 | | +| Power_Control_Setting | 8 | 1 | | +| } | | | | + +###### *Idle Sequence Count* + +`Idle_Sequence_Count` is an 8-bit unsigned integer representing the count of IDLE MESSAGES transmitted while the NIU is Idle. + +###### *Power Control Setting* + +`Power_Control_Setting` is an 8-bit unsigned integer representing the absolute power attenuation that the NIU is using for upstream transmission. + +##### **A.5.5.7.4 Link management messages** + +##### ** Transmission Control Message (singlecast or broadcast downstream)** + +The TRANSMISSION CONTROL MESSAGE is sent to the NIU from the INA to control several aspects of the upstream transmission. This includes stopping upstream transmission, re-enabling transmission from a NIU or group of NIU's and rapidly changing the upstream frequency being used by a NIU or group of NIU's. To identify a group of NIU's for switching frequencies, the TRANSMISSION CONTROL MESSAGE is sent in broadcast mode with the `Old_Frequency` included in the message. When broadcast with the `Old_Frequency`, the NIU shall compare its current frequency value to `Old_Frequency`. When equal, the NIU shall switch to the new frequency specified in the message. When unequal, the NIU shall ignore the new frequency and remain on its current channel (see Table A.37). + +**Table A.37/J.112 – Transmission Control message structure** + +| | Bits | Bytes | Bit number/
Description | +|-----------------------------------------------------------------------------------------------------|-------------|------------|----------------------------| +| Transmission_Control_Message() { | | | | +| Transmission_Control_Field | 8 | | | +| reserved | 3 | | 7-5: | +| Stop_Upstream_Transmission | 1 | | 4: {no, yes} | +| Start_Upstream_Transmission | 1 | | 3: {no, yes} | +| Old_Frequency_Included | 1 | | 2: {no, yes} | +| Switch_Downstream_OOB_Frequency | 1 | | 1: {no, yes} | +| Switch_Upstream_Frequency | 1 | | 0: {no, yes} | +| if (Transmission_Control_Field==
Switch_Upstream_Frequency &&
Old_Frequency_Included) { | | | | +| Old_Upstream_Frequency | (32) | (4) | | +| } | | | | +| if (Transmission_Control_Field==
Switch_Upstream_Frequency) { | | | | +| New_Upstream_Frequency | (32) | (4) | | +| New_Upstream_Channel_Number | 3 | 1 | 7:5 | +| reserved | 2 | | 4:3 | +| Upstream_Rate | 3 | | 2:0 | +| MAC_Flag_Set | 5 | 1 | 7:3 | +| Reserved | 3 | | 2:0 | +| New_Upstream_Frequency | (32) | (4) | | +| } | | | | +| if (Transmission_Control_Field==
Switch_Downstream_OOB_Frequency &&
Old_Frequency_Included) { | | | | +| Old_Downstream_OOB_Frequency | (32) | (4) | | +| } | | | | +| if (Transmission_Control_Field==
Switch_Downstream_OOB_Frequency) { | | | | +| New_Downstream_OOB_Frequency | (32) | (4) | | +| DownStream_Type | 8 | 1 | | +| } | | | | +| } | | | | + +###### *Transmission Control Field* + +`Transmission_Control_Field` specifies the control being asserted on the upstream channel. + +###### *Stop Upstream Transmission* + +`stop_upstream_transmission` is a boolean when set indicates that the NIU should halt its upstream transmission. + +###### *Start Upstream Transmission* + +`start_upstream_transmission` is a boolean when set indicates that the Network Interface Unit should resume transmission on its upstream channel. The NIU shall respond to the ranging and power calibration message regardless of the setting of the `start_upstream_transmission` bit. + +###### *Old Frequency Included* + +`Old_Frequency_Included` is a boolean when set indicates that the Old Frequency value is included in the message and should be used to determine if a switch in frequency is necessary. + +###### *Switch Downstream OOB Frequency* + +`switch_downstream_OOB_frequency` is a boolean when set indicates that a new downstream OOB frequency is included in the message. + +###### *Switch Upstream Frequency* + +`switch_upstream_frequency` is a boolean when set indicates that a new upstream frequency is included in the message. Typically, the `switch_upstream_frequency` and the `stop_upstream_transmission` are set simultaneously to allow the NIU to stop transmission and change channel. This would be followed by the TRANSMISSION CONTROL MESSAGE with the `start_upstream_transmission` bit set. + +###### *Old Upstream Frequency* + +`Old_Upstream_Frequency` is a 32-bit unsigned integer representing the frequency that should be used by the NIU to compare with its current frequency to determine if a change in channel is required. + +###### *New Upstream Frequency* + +`New_Upstream_Frequency` is a 32-bit unsigned integer representing the reassigned upstream carrier center frequency. The unit of measure is Hz. + +`MAC_Flag_Set` is a 5-bit field representing the MAC Flag set assigned to the connection. In the OOB downstream timing, the eight sets of flags are assigned the numbers 1-8. In the IB downstream timing, the 16 sets of flags are assigned the numbers 1-16. In the case of a 3.088 Mbit upstream channel, this parameter represents the first of two successively assigned flag sets. + +`UpstreamStream_Rate` is a 3-bit enumerated type indicating the data rate for the upstream connection. {Upstream\_256K, Upstream\_1.544M, Upstream\_3.088M, 3..7 reserved} + +###### *Old Downstream OOB Frequency* + +`Old_Downstream_OOB_Frequency` is a 32-bit unsigned integer representing the frequency that should be used by the NIU to compare with its current frequency to determine if a change in channel is required. + +###### *New Downstream OOB Frequency* + +`New_Downstream_OOB_Frequency` is a 32-bit unsigned integer representing the reassigned downstream OOB carrier centre frequency. The unit of measure is Hz. + +`DownStream_Type` is an 8-bit enumerated type indicating the modulation format for the down stream connection. {reserved, QPSK\_1.544, QPSK\_3.088, 3..255 reserved} + +##### **Link Management Response Message (upstream contention, contention or reserved)** + +The LINK MANAGEMENT RESPONSE MESSAGE is sent by the NIU to the INA to indicate reception and processing of the previously sent Link Management Message. The format of the message is shown in Table A.38. + +**Table A.38/J.112 – Link Management Acknowledge message format** + +| | Bits | Bytes | Bit number/
Description | +|-----------------------------------|------|-------|----------------------------| +| Link_Management_Acknowledge() { | | | | +| Link_Management_Msg_Number | 16 | 2 | | +| } | | | | + +###### *Link Management Message Number* + +`Link_Management_Msg_Number` is a 16-bit unsigned integer representing the previously received link management message. The valid values for `Link_Management_Msg_Number` are shown in Table A.39. + +**Table A.39/J.112 – Link Management message number** + +| Message Name | Link_Management_Msg_Number | +|------------------------------|-----------------------------------------| +| Transmission Control Message | Transmission Control Message Type Value | +| Reprovision Message | Reprovision Message Type Value | + +##### ** Status Request Message (downstream singlecast)** + +The STATUS REQUEST message is sent by the INA to the NIU to retrieve information about the NIU's health, connection information and error states. The INA can request either the address parameters, error information, connection parameters or physical layer parameters from the NIU. The INA can only request one parameter type at a time to a particular NIU (see Table A.40). + +**Table A.40/J.112 – Status Request message structure** + +| | Bits | Bytes | Bit number/
Description | +|-----------------------------|------|-------|----------------------------| +| Status_Request() { | | | | +| Status_Control_Field | 8 | 1 | | +| reserved | 5 | | 3-7: | +| Status_Type | 3 | | 0-2:{enum type} | +| } | | | | + +###### *Status Control Field* + +`Status_Control_Field` is a 3-bit enumerated type that indicates the status information the NIU should return. + +``` +enum Status_Control_Field {Address_Params, Error_Params, +Connection_Params,Physical_Layer_Params, reserved 4..7}; +``` + +##### ** Status Response Message (Upstream Contention, contention or reserved)** + +The STATUS RESPONSE MESSAGE is sent by the NIU in response to the STATUS REQUEST MESSAGE issued by the INA. The contents of the information provided in this message will vary depending on the request made by the INA and the state of the NIU. The message must be dissociated into separate messages if the resulting length of the message exceeds 40 bytes (see Table A.41). + +**Table A.41/J.112 – Status Response message structure** + +| | Bits | Bytes | Bit number/
Description | +|----------------------------------------------------------------------|-------|-------|----------------------------| +| Status_Response() { | | | | +| NIU_Status | 32 | 4 | | +| Response_Fields_Included | 8 | 1 | | +| reserved | 4 | | 4-7: | +| Address_Params_Included | 1 | | 3:{no, yes} | +| Error_Information_Included | 1 | | 2:{no, yes} | +| Connection_Params_Included | 1 | | 1:{no, yes} | +| Physical_Layer_Params_Included | 1 | | 0:{no, yes} | +| if (Response_Fields_Included ==
Address_Params_Included) { | | | | +| NSAP_Address | (160) | (20) | | +| MAC_Address | (48) | (6) | | +| } | | | | +| if (Response_Fields_Included ==
Error_Information_Included) { | | | | +| Number_Error_Codes_Included | (8) | (1) | | +| for(i=0;ii++) { | | | | +| Error_Param_code | (8) | (1) | | +| Error_Param_Value | (16) | (2) | | +| } | | | | +| } | | | | +| if (Response_Fields_Included ==
Connection_Params_Included) { | | | | +| Number_of_Connections | (8) | (1) | | +| for(i=0;iConnection_ID | (32) | (4) | | +| }} | | | | +| if (Response_Fields_Included ==
Physical_Layer_Params_Included) { | | | | +| Power_Control_Setting | (8) | (1) | | +| Time_Offset_Value | (32) | (4) | | +| Upstream_Frequency | (32) | (4) | | +| Downstream_Frequency | (32) | (4) | | +| } | | | | +| } | | | | + +###### *NIU Status* + +`NIU_Status` is a 32-bit unsigned integer that indicates the current state of the NIU. + +| | +|-----------------------------------------------------------------------------------------------------------------------------------------------| +| NIU_Status { Calibration_Operation_Complete,
Default_Connection_Established,
Network_Address Registered,
,reserved};
| +|-----------------------------------------------------------------------------------------------------------------------------------------------| + +###### *Response Fields Included* + +`Response_Fields_Included` is an 8-bit unsigned integer that indicates what parameters are contained in the upstream status response. + +###### *NSAP Address* + +`NSAP_Address` is a 20-byte address assigned to the NIU. + +###### *MAC Address* + +`MAC_Address` is a 6-byte address assigned to the NIU. + +###### *Number of Error Codes Included* + +`Number_Error_Codes_Included` is an 8-bit unsigned integer that indicates the number of error codes are contained in the response. + +###### *Error Parameter Code* + +`Error_Parameter_Code` is an 8-bit unsigned integers representing the type of error reported by the NIU (see Table A.42). + +**Table A.42/J.112 – Error parameter code** + +| Error Parameter Code Name | Error Parameter Code | +|-------------------------------------------------|-----------------------------| +| Framing_Bit_Error_Count | 0x00 | +| Slot_Configuration_CRC_Error_Count | 0x01 | +| Reed_Solomon_Error_Count | 0x02 | +| ATM_Packet_Loss_Count | 0x03 | + +###### *Error Parameter Value* + +`Error_Parameter_Value` is a 16-bit unsigned integers representing error counts detected by the NIU. + +###### *Number of Connections* + +`Number_of_Connections` is an 8-bit unsigned integer that indicates the number of connections that are specified in the response. Specifically, if the number of connections is too large to have a MAC message with less than 40 bytes, it is possible to send separate messages with only the number of connections indicated in each message. + +###### *ConnectionID* + +`Connection_ID` is a 32-bit unsigned integer representing the global connection Identifier used by the NIU for this connection. + +###### *Power Control Setting* + +`Power_Control_Setting` is an 8-bit unsigned integer representing the absolute power attenuation that the NIU is using for upstream transmission. + +###### *Time Offset Value* + +`Time_Offset_Value` is a 16-bit short integer representing a relative offset of the upstream transmission timing. A negative value indicates an adjustment forward in time. A positive value indicates an adjustment back in time. The unit of measure is 100 ns. + +###### *Upstream Frequency* + +`Upstream_Frequency` is a 32-bit unsigned integer representing the channel assigned to the connection. The unit of measure is in Hz. + +###### *Downstream Frequency* + +`Downstream_Frequency` is a 32-bit unsigned integer representing the Frequency where the connection resides. The unit of measure is in Hz. + +# **Annex B** + +# **Data-over-cable radio frequency interface** + +## **B.1 Scope and purpose** + +### **B.1.1 Scope** + +This annex is derived from radio-frequency interface specifications for high-speed data-over-cable systems that have been developed in North America. + +### **B.1.2 Requirements** + +Throughout this Recommendation, the words that are used to define the significance of particular requirements are capitalized. These words are: + +- **"MUST"** This word or the adjective **"REQUIRED"** means that the item is an absolute requirement of this specification. +- **"MUST NOT"** This phrase means that the item is an absolute prohibition of this specification. +- **"SHOULD"** This word or the adjective **"RECOMMENDED"** means that there may exist valid reasons in particular circumstances to ignore this item, but the full implications should be understood and the case carefully weighed before choosing a different course. +- **"SHOULD NOT"** This phrase means that there may exist valid reasons in particular circumstances when the listed behaviour is acceptable or even useful, but the full implications should be understood and the case carefully weighed before implementing any behaviour described with this label. +- **"MAY"** This word or the adjective **"OPTIONAL"** means that this item is truly optional. One vendor may choose to include the item because a particular marketplace requires it or because it enhances the product, for example, another vendor may omit the same item. + +Other text is descriptive or explanatory. + +### B.1.3 Background + +#### B.1.3.1 Service goals + +Cable operators are interested in deploying high-speed data communications systems on cable television systems. Thus, it has been decided to prepare a series of interface specifications that will permit the early definition, design, development and deployment of data-over-cable systems on an uniform, consistent, open, non-proprietary, multi-vendor interoperable basis. + +The intended service will allow transparent bi-directional transfer of Internet Protocol (IP) traffic, between the cable system headend and customer locations, over an all-coaxial or Hybrid-Fiber/Coax (HFC) cable network. This is shown in simplified form in Figure B.1-1. + +The transmission path over the cable system is realized at the headend by a Cable Modem Termination System (CMTS), and at each customer location by a Cable Modem (CM). At the headend (or hub), the interface to the data-over-cable system is called the Cable Modem Termination System – Network-Side Interface (CMTS-NSI) and is specified in [MCNS3]. At the customer locations, the interface is called the cable-modem-to-customer-premises-equipment interface (CMCI) and is specified in [MCNS4]. The intent is for the MCNS operators to transparently transfer IP traffic between these interfaces, including but not limited to datagrams, DHCP, ICMP, and IP Group addressing (broadcast and multicast). + +![Diagram of transparent IP traffic through the data-over-cable system](d9638e837004a4e09dbbc50b8aecbd5f_img.jpg) + +The diagram illustrates the flow of IP traffic through a data-over-cable system. On the left, a box labeled 'Wide-Area Network' is connected via a double-headed arrow to a box labeled 'Cable Modem Termination System CMTS'. This connection is labeled 'CMTS Network Side Interface'. From the CMTS, a single-headed arrow points right through a box labeled 'Cable Network' to a box labeled 'Cable Modem (CM)'. From the CM, a double-headed arrow points right to a box labeled 'Customer Premises Equipment' (represented by a computer monitor and tower). This connection is labeled 'CM Customer Premises Equipment Interface'. A bracket underneath the CMTS, Cable Network, and CM is labeled 'Transparent IP traffic through the system'. + +Diagram of transparent IP traffic through the data-over-cable system + +T0904770-97/d044 + +**Figure B.1-1/J.112 – Transparent IP traffic through the data-over-cable system** + +#### B.1.3.2 Reference architecture + +The reference architecture for the data-over-cable services and interfaces is shown in Figure B.1-2. + +##### B.1.3.2.1 Categories of interface specification + +The basic reference architecture of Figure B.1-2 involves three categories of interface. These have been developed in phases: + +###### a) Phase 1 + +**Data Interfaces** – These are the CMCI [MCNS4] and CMTS-NSI [MCNS3], corresponding respectively to the cable-modem-to-Customer-Premises-Equipment (CPE) interface (for example, between the customer's computer and the cable modem), and the cable modem termination system network-side interface between the cable modem termination system and the data network. + +###### b) Phase 2 + +**Operations Support Systems Interfaces** – These are network element management layer interfaces between the network elements and the high-level Operations Support Systems (OSSs) which support the basic business processes, and are documented in [MCNS5]. + +**Telephone Return Interface** – CMTRI – This is the interface between the cable modem and a telephone return path, for use in cases where the return path is not provided or not available via the cable network, and is documented in [MCNS6]. + +Recommendation J.112 (03/98) + +86 + +![Figure B.1-2/J.112 – Data-over-cable reference architecture. A complex block diagram showing the components and data flow of a cable data system. It connects external networks like PSTN and WAN to a Distribution Hub/Headend, which then connects via fiber and coax to customer premise equipment including cable modems and PCs.](abeba89144744fac6a1571aa9f94889e_img.jpg) + +Distribution Hub or Headend + +Operations Support System + +Data Over Cable System +OSS Interface, DOCS-OSSI + +Cable Modem Termination System +Downstream RF Interface + +Cable Modem Termination System +Network Side Interface, +CMTS-NSI + +Cable Modem Termination System + +Upstream splitter and filter bank + +Cable Modem Termination System Upstream RF Interface + +Security and Access Controller + +Telco Return Access Concentrator (TRAC) + +Copper Pairs, DS1 or DS3 + +PSTN + +Generic Headend Switch or Backbone Transport Adapter + +WAN (Backbone Network) + +Local Server Facility + +Data Over Cable Security System (DOCSS) + +WAN (Remote Server Facility) + +Mod + +Demod + +Data + +Data + +Network Termination + +Video 1 + +Video 2 + +Combiner + +Tx + +Rx + +Fiber + +50-860 MHz + +5-42 MHz + +O/E Node + +Distribution Network + +O/E Node + +O/E Node + +Coax + +Cable Modem + +Security Module + +Removable Customer Premise Equipment + +Cable Modem to RF Interface + +Cable Modem to CPE Interface, CMCI + +Telco return + +Cable Modem Telco Return Interface, CMTRI + +Figure B.1-2/J.112 – Data-over-cable reference architecture. A complex block diagram showing the components and data flow of a cable data system. It connects external networks like PSTN and WAN to a Distribution Hub/Headend, which then connects via fiber and coax to customer premise equipment including cable modems and PCs. + +**Figure B.1-2/J.112 – Data-over-cable reference architecture** + +T0904780-97/d045 + +###### **c) Phase 3** + +**RF Interfaces** – The RF interfaces defined in this Recommendation are the following: + +- between the cable modem and the cable network; +- between the CMTS and the cable network, in the downstream direction (traffic toward the customer); +- between the CMTS and the cable network, in the upstream direction (traffic from the customer). + +###### **Security requirements** + +- the Data Over Cable Security System (DOCSS) is defined in [MCNS2]; +- the CM Removable Security Module (RSM) is defined in [MCNS7]; +- Baseline data-over-cable security is defined in [MCNS8]. + +##### **B.1.3.2.2 Data-Over-Cable Interface Documents** + +A list of the documents in the Data-Over-Cable Interface Specifications family is provided below. For updates, please refer to URL . + +| Designation | Title | +|-------------|----------------------------------------------------------------------------------------------------------------------------------------------| +| SP-CMCI | Cable Modem to Customer Premises Equipment Interface Specification | +| SP-CMTS-NSI | Cable Modem Termination System Network Side Interface Specification | +| SP-CMTRI | Cable Modem Telco Return Interface Specification | +| SP-OSSI | Operations Support System Interface Specification | +| SP-RFI | Radio Frequency Interface Specification | +| SP-DOCSS | Data Over Cable Security System (DOCSS) Specification | +| SP-RSM | Removable Security Module Specification | +| SP-BDS | Baseline Data-Over-Cable Security Specification | +| SP | Specification | +| TR | Technical Report (provides a context for understanding and applying the specification – documents of this type may be issued in the future.) | + +#### **B.1.3.3 Server location** + +This annex refers to several servers which are central to the system operation (e.g. provision and security servers). + +The message sequence charts used as examples within this annex show sample message exchanges in which access to the servers is via the CMTS. It is important to note that access to these servers need not necessarily be via the CMTS, but MAY be via any CM suitably configured. In this case, the scenarios become slightly more complex, as the message flows are as shown in Figure B.1-3. Allowing placement of these components to be at locations other than the CMTS allows the system operator the maximum flexibility in server placement and network configuration. Note that the CMTS MUST be able to initialize without access to the servers in Figure B.1-3. + +## **B.2 Functional assumptions** + +This subclause describes the characteristics of cable television plant to be assumed for the purposes of operation of the data-over-cable system. It is not a description of CMTS or CM parameters. The data-over-cable system MUST operate satisfactorily in the environment described in this subclause. + +![Figure B.1-3/J.112 – Server location not at CMTS. The diagram shows a CMTS connected to a bus. CM1 is connected to the bus. CM2 is connected to the bus and to a Servers box. Below this, a section titled 'Message flows:' shows a sequence of boxes: CM1, CMTS, CM2, and Server. Arrows indicate bidirectional message flow between CM1 and CMTS, CMTS and CM2, and CM2 and Server.](ca86f53f9735fe98b6c6003d1b759f64_img.jpg) + +Message flows: + +CM1 ↔ CMTS ↔ CM2 ↔ Server + +T0904790-97/d046 + +Figure B.1-3/J.112 – Server location not at CMTS. The diagram shows a CMTS connected to a bus. CM1 is connected to the bus. CM2 is connected to the bus and to a Servers box. Below this, a section titled 'Message flows:' shows a sequence of boxes: CM1, CMTS, CM2, and Server. Arrows indicate bidirectional message flow between CM1 and CMTS, CMTS and CM2, and CM2 and Server. + +**Figure B.1-3/J.112 – Server location not at CMTS** + +### B.2.1 Broadband access network + +A coaxial-based broadband access network is assumed. This may take the form of either an all-coax or Hybrid-Fiber/Coax (HFC) network. The generic term "cable network" is used here to cover all cases. + +A cable network uses a shared-medium, tree-and-branch architecture with analogue transmission. The key functional characteristics assumed in this annex are the following: + +- Two-way transmission. +- A maximum optical/electrical spacing between the CMTS and the most distant customer terminal of 100 miles, although typical maximum separation may be 10-15 miles. +- A maximum differential optical/electrical spacing between the CMTS and the closest and most distant modems of 100 miles, although this would typically be limited to 15 miles. + +### B.2.2 Equipment assumptions + +#### B.2.2.1 Frequency plan + +In the downstream direction, the cable system is assumed to have a passband with a lower edge at 50 or 54 MHz and an upper edge which is implementation-dependent but is typically in the range of 300 to 860 MHz. Within that passband, NTSC analogue television signals in 6 MHz channels are assumed to be present on the standard, HRC or IRC frequency plans of EIA Interim Standard IS-6, as well as other narrowband and wideband digital signals. + +In the upstream direction, the cable system may have a subsplit (5-30 MHz) or extended subsplit (5-42 MHz) passband. NTSC analogue television signals in 6-MHz channels may be present, as well as other signals. + +#### B.2.2.2 Compatibility with other services + +The CM and CMTS MUST coexist with the other services on the cable network. In particular: + +- a) they MUST operate satisfactorily in cable spectrum assigned for CMTS-CM interoperation while the balance of the cable spectrum is occupied by any combination of television and other signals; and +- b) they MUST NOT cause harmful interference to any other services that are assigned to the cable network in spectrum outside of that allocated to the CMTS. + +#### B.2.2.3 Fault isolation impact on other users + +As the data-over-cable system is a shared-media, point-to-multipoint system, fault-isolation procedures MUST take into account the potential harmful impact of faults and fault-isolation procedures on numerous users of the data-over-cable and other services. + +### B.2.3 RF channel assumptions + +The data-over-cable system, configured with at least one set of defined physical-layer parameters (e.g. modulation, forward error correction, symbol rate, etc.) from the range of configuration settings described in this specification, must be capable of operating with a 1500-byte packet loss rate of less than one percent while forwarding at least 100 packets per second on cable networks having characteristics defined in B.2.3. + +#### B.2.3.1 Transmission downstream + +The RF channel transmission characteristics of the cable network in the downstream direction assumed for the purposes of minimal operating capability are described in Table B.2-1. This assumes nominal analogue video carrier level (peak envelope power) in a 6 MHz channel bandwidth. All conditions are present concurrently. + +**Table B.2-1/J.112 – Assumed downstream RF channel transmission characteristics** + +| Parameter | Value | +|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Frequency range | Cable system normal downstream operating range is from 50 MHz to as high as 860 MHz. However, the values in this table apply only at frequencies $\geq 88$ MHz. | +| RF channel spacing (design bandwidth) | 6 MHz | +| Transit delay from headend to most distant customer | $\leq 0.800$ ms (typically much less) | +| Carrier-to-noise ratio in a 6 MHz band (analogue video level) | Not less than 35 dB (Note 4) | +| Carrier-to-interference ratio for total power (discrete and broadband ingress signals) | Not less than 35 dB within the design bandwidth | +| Composite triple beat distortion for analogue modulated carriers | Not greater than $-50$ dBc within the design bandwidth | +| Composite second order distortion for analogue modulated carriers | Not greater than $-50$ dBc within the design bandwidth | +| Cross-modulation level | Not greater than $-40$ dBc within the design bandwidth | +| Amplitude ripple | 0.5 dB within the design bandwidth | +| Group delay ripple in the spectrum occupied by the CMTS | 75 ns within the design bandwidth | +| Micro-reflections bound for dominant echo | $-10$ dBc @ $\leq 0.5$ $\mu$ s, $-15$ dBc @ $\leq 1.0$ $\mu$ s
$-20$ dBc @ $\leq 1.5$ $\mu$ s, $-30$ dBc @ $> 1.5$ $\mu$ s | +| Carrier hum modulation | Not greater than $-26$ dBc (5%) | +| Burst noise | Not longer than 25 $\mu$ s at a 10 Hz average rate | +| Seasonal and diurnal signal level variation | 8 dB | +| Signal level slope, 50-750 MHz | 16 dB | +| Maximum analogue video carrier level at the CM input, inclusive of above signal level variation | 17 dBmV | +| Lowest analogue video carrier level at the CM input, inclusive of above signal level variation | $-5$ dBmV | +| NOTE 1 – Transmission is from the headend combiner to the CM input at the customer location. | | +| NOTE 2 – For measurements above, the normal downstream operating frequency band (except hum), impairments are referenced to the highest-frequency NTSC carrier level. | | +| NOTE 3 – For hum measurements above, the normal downstream operating frequency band, a continuous-wave carrier is sent at the test frequency at the same level as the highest-frequency NTSC carrier. | | +| NOTE 4 – This presumes that the digital carrier is operated at analogue peak carrier level. When the digital carrier is operated below the analogue peak carrier level, this C/N may be less. | | +| NOTE 5 – Measurement methods defined in [NCTA] or [CableLabs2]. | | + +#### B.2.3.2 Transmission upstream + +The RF channel transmission characteristics of the cable network in the upstream direction assumed for the purposes of minimal operating capability are described in Table B.2-2. All conditions are present concurrently. + +**Table B.2-2/J.112 – Assumed upstream RF channel transmission characteristics** + +| Parameter | Value | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------| +| Frequency range | 5 to 42 MHz edge to edge | +| Transit delay from the most distant CM to the nearest CM or CMTS | $\leq 0.800$ ms (typically much less) | +| Carrier-to-noise ratio | Not less than 25 dB | +| Carrier-to-ingress power (the sum of discrete and broadband ingress signals) ratio | Not less than 25 dB (Note 2) | +| Carrier-to-interference (the sum of noise, distortion, common-path distortion and cross-modulation) ratio | Not less than 25 dB | +| Carrier hum modulation | Not greater than $-23$ dBc (7.0 %) | +| Burst noise | Not longer than $10\ \mu\text{s}$ at a 1 kHz average rate for most cases (Notes 3, 4 and 5) | +| Amplitude ripple | 5-42 MHz: 0.5 dB/MHz | +| Group delay ripple | 5-42 MHz: 200 ns/MHz | +| Micro-reflections – Single echo | $-10$ dBc @ $\leq 0.5\ \mu\text{s}$
$-20$ dBc @ $\leq 1.0\ \mu\text{s}$
$-30$ dBc @ $> 1.0\ \mu\text{s}$ | +| Seasonal and diurnal signal level variation | Not greater than 8 dB min to max | +| NOTE 1 – Transmission is from the CM output at the customer location to the headend. | | +| NOTE 2 – Ingress avoidance or tolerance techniques MAY be used to ensure operation in the presence of time-varying discrete ingress signals that could be as high as 0 dBc [CableLabs1]. | | +| NOTE 3 – Amplitude and frequency characteristics sufficiently strong to partially or wholly mask the data carrier. | | +| NOTE 4 – CableLabs report containing distribution of return-path burst noise measurements and measurement method is forthcoming. | | +| NOTE 5 – Impulse noise levels more prevalent at lower frequencies ( $<15$ MHz). | | + +##### B.2.3.2.1 Availability + +Typical cable network availability is considerably greater than 99 %. + +### B.2.4 Transmission levels + +The nominal power level of the downstream CMTS 64 QAM signal(s) within a 6 MHz channel is targeted to be in the range $-10$ dBc to $-6$ dBc relative to analogue video carrier level and will normally not exceed analogue video carrier level. The nominal power level of the upstream CM signal(s) will be as low as possible to achieve the required margin above noise and interference. Uniform power loading per unit bandwidth is commonly followed in setting upstream signal levels, with specific levels established by the cable network operator to achieve the required carrier-to-noise and carrier-to-interference ratios. + +### B.2.5 Frequency inversion + +There will be no frequency inversion in the transmission path in either the downstream or upstream directions, i.e. a positive change in frequency at the input to the cable network will result in a positive change in frequency at the output. + +## B.3 Communication protocols + +This subclause provides a high-level overview of the communication protocols that MUST be used in the data-over-cable system. Detailed specifications for the physical media dependent, downstream transmission, and media access control sublayers are provided in B.4, B.5, and B.6, respectively. + +### B.3.1 Protocol stack + +The CM and CMTS operate as forwarding agents and also as end-systems (hosts). The protocol stacks used in these modes differ as shown below. + +The principal function of the cable modem system is to transmit Internet Protocol (IP) packets transparently between the headend and the subscriber location. Certain management functions also ride on IP, so that the protocol stack on the cable network is as shown in Figure B.3-1 (this does not restrict the generality of IP transparency between the headend and the customer). These management functions include, for example, supporting spectrum management functions and the downloading of software. + +#### B.3.1.1 CM and CMTS as hosts + +CMs and CMTSs will operate as IP and LLC hosts in terms of IEEE Standard 802 [IEEE 802] for communication over the cable network. The protocol stack at the CM and CMTS RF interfaces is shown in Figure B.3-1. + +The CM and CMTS MUST function as IP hosts. As such, the CM and CMTS MUST support IP and ARP over DIX link-layer framing (see [DIX]). The CM and CMTS MAY also support IP and ARP over SNAP framing [RFC-1042]. + +The CM and CMTS also MUST function as LLC hosts. As such, the CM and CMTS MUST respond appropriately to TEST and XID requests per [ISO/IEC 8802-2]. + +![Protocol stack diagram on the RF interface showing layers from SNMP down to PMD.](c78f017dab5586c098c5d7c6a8f1d432_img.jpg) + +The diagram illustrates the protocol stack on the RF interface. At the top, four boxes representing management protocols (SNMP, TFTP, DHCP, and Security Management) are connected to a single UDP layer. Below UDP is the IP, ICMP layer. To the right of the IP, ICMP layer is an ARP layer, which is connected to the IP, ICMP layer and the LLC/DIX layer. Below the IP, ICMP layer is the LLC/DIX layer. Below the LLC/DIX layer is the Link Security layer. Below the Link Security layer is the MAC layer. Below the MAC layer is the Transmission Convergence (downstream only) layer. At the bottom is the PMD layer. The layers are stacked vertically, with lines connecting them to show the flow of data. + +T0905990-97/d047 + +Protocol stack diagram on the RF interface showing layers from SNMP down to PMD. + +Figure B.3-1/J.112 – Protocol stack on the RF interface + +#### B.3.1.2 Data forwarding through the CM and CMTS + +##### B.3.1.2.1 General + +Data forwarding through the CMTS MAY be transparent bridging, or MAY employ network-layer forwarding (routing, IP switching) as shown in Figure B.3-2. + +![Figure B.3-2/J.112 – Data forwarding through the CM and CMTS. This diagram shows two protocol stacks: CMTS stack and CM stack. The CMTS stack has an IP layer at the top, followed by a Data Link Layer containing Forwarding, 802.2/DIX LLC, Link security, Cable MAC, Downstream Trans Conv, and Cable PMD. The CM stack has an IP layer at the top, followed by 802.2/DIX LLC, Transparent bridging, 802.2/DIX LLC, Link security, Cable MAC, Downstream Trans Conv, Cable PMD, 802.3/DIX MAC, and 802.3 10Base-T. Arrows indicate interfaces: CMTS-NSI Interface to/from Network Equipment on the left, Cable Network Transmission in the center, and CMCI Interface to/from Customer Premises Equipment on the right. Reference T0906000-97/d048 is shown.](de63e4b6d8b0aa76b85e1fe3236eac27_img.jpg) + +Figure B.3-2/J.112 – Data forwarding through the CM and CMTS. This diagram shows two protocol stacks: CMTS stack and CM stack. The CMTS stack has an IP layer at the top, followed by a Data Link Layer containing Forwarding, 802.2/DIX LLC, Link security, Cable MAC, Downstream Trans Conv, and Cable PMD. The CM stack has an IP layer at the top, followed by 802.2/DIX LLC, Transparent bridging, 802.2/DIX LLC, Link security, Cable MAC, Downstream Trans Conv, Cable PMD, 802.3/DIX MAC, and 802.3 10Base-T. Arrows indicate interfaces: CMTS-NSI Interface to/from Network Equipment on the left, Cable Network Transmission in the center, and CMCI Interface to/from Customer Premises Equipment on the right. Reference T0906000-97/d048 is shown. + +Figure B.3-2/J.112 – Data forwarding through the CM and CMTS + +Data forwarding through the CM is link-layer transparent bridging, as shown in Figure B.3-2. Forwarding rules are similar to [ISO/IEC 10038] with the modifications described in B.3.1.2.2 and B.3.1.2.3. This allows the support of multiple network layers. + +Forwarding of IP traffic MUST be supported. Support of other network layer protocols is OPTIONAL. The ability to restrict the network layer to a single protocol such as IP is REQUIRED. + +Support for the 802.1d spanning tree protocol of [ISO/IEC 10038] with the modifications described in B.3.1.2.3 is OPTIONAL for CMs intended for residential use. CMs intended for commercial use and bridging CMTSs MUST support this version of spanning tree (see Appendix B.VIII). CMs and CMTSs MUST include the ability to filter (and disregard) 802.1d BPDUs. + +This specification assumes that CMs intended for residential use will not be connected in a configuration which would create network loops such as that shown in Figure B.3-3. + +![Figure B.3-3/J.112 – Example condition for network loops. This diagram shows a network topology. A CMTS is connected to a Cable network. The Cable network branches to two CMs, CM #1 and CM #2. Both CM #1 and CM #2 are connected to a Local ISO 8802 network. The Local ISO 8802 network is connected to a CPE. Reference T0906010-97/d049 is shown.](985267cff5b5d65ce5c180ff2ef37118_img.jpg) + +Figure B.3-3/J.112 – Example condition for network loops. This diagram shows a network topology. A CMTS is connected to a Cable network. The Cable network branches to two CMs, CM #1 and CM #2. Both CM #1 and CM #2 are connected to a Local ISO 8802 network. The Local ISO 8802 network is connected to a CPE. Reference T0906010-97/d049 is shown. + +Figure B.3-3/J.112 – Example condition for network loops + +##### **B.3.1.2.2 CMTS forwarding rules** + +At the CMTS, if link-layer forwarding is used, then it **MUST** conform to the following general 802.1d guidelines: + +- Link-layer frames between a given pair of end-stations **MUST** be delivered in order. +- Link-layer frames **MUST NOT** be duplicated. +- Stale frames (those that cannot be delivered in a timely fashion) **MUST** be discarded. + +The address-learning and -aging mechanisms used are vendor-dependent. + +If network-layer forwarding is used, then the CMTS should conform to IETF Router Requirements [RFC-1812] with respect to its CMTS-RFI and CMTS-NSI interfaces. + +Conceptually, the CMTS forwards data packets at two abstract interfaces: between the CMTS-RFI and the CMTS-NSI, and between the upstream and downstream channels. The CMTS **MAY** use any combination of link-layer (bridging) and network-layer (routing) semantics at each of these interfaces. The methods used at the two interfaces need not be the same. + +Forwarding between the upstream and downstream channels within a MAC layer differs from traditional LAN forwarding in that: + +- A single channel is simplex, and cannot be considered a complete interface for most protocol (e.g. 802.1d spanning tree, Routing Information Protocol per [RFC-1058]) purposes. +- Upstream channels are essentially point-to-point, whereas downstream channels are shared-media. +- As a public network, policy decisions may override full connectivity. + +For these reasons, an abstract entity called the MAC Forwarder exists within the CMTS to provide connectivity between stations within a MAC domain (see B.3.2). + +### **B.3.1.2.3 CM forwarding rules** + +Data forwarding through the CM is link-layer bridging with the following specific rules. + +#### **B.3.1.2.3.1 Address learning** + +- The CM **MUST** acquire Ethernet MAC addresses of connected CPE devices, either from the provisioning process or from learning, until the CM acquires its maximum number of CPE addresses (a device-dependent value). Once the CM acquires its maximum number of CPE addresses, then newly discovered CPE addresses **MUST NOT** replace previously acquired addresses. The CM must support acquisition of at least one CPE address. +- The CM **MUST** allow configuration of CPE addresses during the provisioning process (up to its maximum number of CPE addresses) to support configurations in which learning is not practical nor desired. +- Addresses provided during the CM provisioning **MUST** take preference over learned addresses. +- CPE addresses **MUST NOT** be aged out. +- On a CM reset (e.g. a power cycle), all learned addresses **MUST** be discarded (they are not retained in non-volatile storage, to allow modification of user MAC addresses or movement of the CM). + +#### **B.3.1.2.3.2 Forwarding** + +CM forwarding in both directions **MUST** conform to the following general 802.1d guidelines: + +- Link-layer frames between a given pair of end-stations **MUST** be delivered in order. +- Link-layer frames **MUST NOT** be duplicated. +- Stale frames (those that cannot be delivered in a timely fashion) **MUST** be discarded. + +Cable-Network-to-Ethernet forwarding MUST follow the following specific rules: + +- Frames addressed to unknown destinations MUST NOT be forwarded from the cable port to the Ethernet port. +- Broadcast frames MUST be forwarded to the Ethernet port, unless they are from source addresses which are provisioned or learned as supported CPE devices, in which case they MUST NOT be forwarded. +- Multicast frames MUST be forwarded to the Ethernet ports in accordance with filtering configuration settings specified by the cable operator's operations and business support systems, unless they are from source addresses which are provisioned or learned as supported CPE devices, in which case they MUST NOT be forwarded. + +Ethernet-to-Cable-Network forwarding MUST follow the following specific rules: + +- Frames addressed to unknown destinations MUST be forwarded from the Ethernet port to the cable port. +- Broadcast frames MUST be forwarded to the cable port. +- Multicast frames MUST be forwarded to the cable port in accordance with filtering configuration settings specified by the cable operator's operations and business support systems. +- Frames from source addresses other than those provisioned or learned as supported CPE devices MUST NOT be forwarded. +- If a single-user CM has learned a supported address, it MUST NOT forward data from a second source. Other (non-supported) CPE source addresses MUST be learned from the Ethernet port and this information used to filter local traffic as in a traditional learning bridge. +- If a single-user CM has learned A as its supported CPE device and learned B as a second device connected to the Ethernet port, it MUST filter any traffic from A to B. + +### B.3.2 The MAC Forwarder + +The MAC Forwarder is a MAC sublayer that resides on the CM/MTS just below the MAC Service Access Point (MSAP) interface, as shown in Figure B.3-4. It is responsible for delivering upstream frames to: + +- one or more downstream channels; +- the MSAP interface. + +![Diagram of the MAC Forwarder architecture within a CM/MTS. The diagram shows the flow of data between the Host IP stack, RFI-NSI forwarding process, MAC Service Access Point (MSAP) interface, MAC Forwarder, Link security, and CM/MTS-NSI, all connected to Upstream and downstream channels.](ca5555bb37f54857199d243feff8479e_img.jpg) + +The diagram illustrates the internal architecture of a CM/MTS. At the top, two boxes represent the 'RFI-NSI forwarding process' and the 'Host IP stack, Incl. LLC and 802.2/DIX'. Both are connected to a thick horizontal line representing the 'MAC Service Access Point (MSAP) interface'. Below this interface is a dashed box labeled 'MAC'. Inside this box, the 'MAC Forwarder' and 'Link security' sublayers are shown. The 'MAC Forwarder' is connected to the MSAP interface and has bidirectional arrows pointing to the 'Link security' sublayer. The 'Link security' sublayer is connected to the 'Upstream and downstream channels' at the bottom. To the left of the MAC box, a 'CM/MTS-NSI' block is shown, which is also connected to the MSAP interface and has bidirectional arrows pointing to the 'Upstream and downstream channels'. The entire structure is enclosed in a dashed box labeled 'CM/MTS'. A small text 'T0906020-97/d050' is visible in the bottom right corner of the diagram area. + +Diagram of the MAC Forwarder architecture within a CM/MTS. The diagram shows the flow of data between the Host IP stack, RFI-NSI forwarding process, MAC Service Access Point (MSAP) interface, MAC Forwarder, Link security, and CM/MTS-NSI, all connected to Upstream and downstream channels. + +Figure B.3-4/J.112 – MAC Forwarder + +In Figure B.3-4, the LLC sublayer and link security sublayers of the upstream and downstream channels on the cable network terminate at the MAC Forwarder. + +The MSAP interface user MAY be the NSI-RFI Forwarding process or the CMTS's host protocol stack. + +Delivery of frames may be based on data-link-layer (bridging) semantics, network-layer (routing) semantics, or some combination. Higher-layer semantics may also be employed (e.g. filters on UDP port numbers). The CMTS MUST provide IP connectivity between hosts attached to cable modems, and must do so in a way that meets the expectations of Ethernet-attached customer equipment. For example, the CMTS must either forward ARP packets or it must facilitate a proxy ARP service. The CMTS MAC Forwarder MAY provide service for non-IP protocols. + +Note that there is no requirement that all upstream and downstream channels be aggregated under one MSAP as shown above. The vendor could just as well choose to implement multiple MSAPs, each with a single upstream and downstream channel. + +#### **B.3.2.1 Example rules for Data-Link-Layer forwarding** + +If the MAC Forwarder is implemented using only data-link-layer semantics, then the requirements in this subclause apply. + +Delivery of frames is dependent on the Destination Address within the frame. The means of learning the location of each address is vendor-dependent, and MAY include: + +- transparent-bridging-like source-address learning and aging; +- gleaning from MAC Registration Request messages; +- administrative means. + +If the destination address of a frame is unicast, and that address is associated with a particular downstream channel, then the frame MUST be forwarded to that channel1. + +If the destination address of a frame is unicast, and that address is known to reside on the other (upper) side of the MSAP interface, then the frame MUST be delivered to the MSAP interface. + +If the destination address is broadcast, multicast2, or unknown, the frame MUST BE delivered to both the MSAP and to all downstream channels. + +Delivery rules are similar to those for transparent bridging: + +- Frames from a specific source to a particular destination MUST be delivered in order. +- Frames MUST NOT be duplicated. +- Frames that cannot be delivered in a timely fashion MUST be discarded. +- The Frame Check Sequence SHOULD be preserved rather than regenerated. + +#### **B.3.3 Network Layer** + +As stated above, the purpose of the data-over-cable system is to transport IP traffic transparently through the system. + +The Network Layer protocol is the Internet Protocol (IP) version 4, as defined in RFC-791, and migrating to IP version 6. + +This annex imposes no requirements for reassembly of IP packets. + +#### **B.3.4 Above the Network Layer** + +The subscribers will be able to use the transparent IP capability as a bearer for higher-layer services. Use of these services will be transparent to the CM. + +--- + +1 Vendors may implement extensions, similar to static addresses in 802.1d/ISO 10038 bridging, that cause such frames to be filtered or handled in some other manner. + +2 The all-CMTSs multicast address (see Appendix B.I) is an exception. 802.1d/ISO 10038 Spanning Tree Bridge PDUs must be forwarded. + +In addition to the transport of user data, there are several network management and operation capabilities which depend upon the Network Layer. These include: + +- SNMP (Simple Network Management Protocol, [RFC-1157]), for network management. +- TFTP (Trivial File Transfer Protocol, [RFC-1350]), a file transfer protocol, for downloading software and configuration information. +- DHCP (Dynamic Host Configuration Protocol, DHCP [RFC-1541]), a framework for passing configuration information to hosts on a TCP/IP network. +- A security management protocol as defined in [MCNS2]. + +### **B.3.5 Data Link Layer** + +The Data Link Layer is divided into sublayers in accordance with [IEEE 802], with the addition of Link-Layer security in accordance with [MCNS2] and [MCNS8]. The sublayers, from the top, are: + +- Logical Link Control (LLC) sublayer (Class 1 only); +- Link-Layer security sublayer; +- Media Access Control (MAC) sublayer. + +#### **B.3.5.1 LLC sublayer** + +The LLC sublayer MUST be provided in accordance with [ISO/IEC 10039]. Address resolution MUST be used as defined in [RFC-826]. The MAC-to-LLC service definition is specified in [ISO/IEC 10039]. + +#### **B.3.5.2 Link-layer security sublayer** + +Link-layer security MUST be provided in accordance with [MCNS2] and [MCNS8]. + +#### **B.3.5.3 MAC sublayer** + +The definition, in detail, of the MAC sublayer and associated interfaces is provided in B.6. + +The MAC sublayer defines a single transmitter for each downstream channel – the CMTS. All CMs listen to all frames transmitted on the downstream channel upon which they are registered and accept those where the destinations match the CM itself or CPEs reached via the CMCI port. CMs can communicate with other CMs only through the CMTS. + +The upstream channel is characterized by many transmitters (CMs) and one receiver (the CMTS). Time in the upstream channel is slotted, providing for Time Division Multiple Access at regulated time ticks. The CMTS provides the time reference and controls the allowed usage for each interval. Intervals may be granted for transmissions by particular CMs, or for contention by all CMs. CMs may contend to request transmission time. To a limited extent, CMs may also contend to transmit actual data. In both cases, collisions can occur and retries are used. + +Subclause B.6 describes the MAC-sublayer messages from the CMTS which direct the behaviour of the CMs on the upstream channel, as well as messaging from the CMs to the CMTS. + +##### **B.3.5.3.1 Overview** + +Some of the MAC protocol highlights include: + +- bandwidth allocation controlled by CMTS; +- a stream of mini-slots in the upstream; +- dynamic mix of contention- and reservation-based upstream transmit opportunities; +- bandwidth efficiency through support of variable-length packets; +- extensions provided for future support of ATM or other Data PDU; +- class-of-service support; +- Extensions provided for security at the Data Link layer; +- Support for a wide range of data rates. + +### **B.3.5.3.2 MAC service definition** + +The MAC sublayer service definition is in Appendix B.IV. + +## **B.3.6 Physical layer** + +The Physical (PHY) layer is comprised of two sublayers: + +- Transmission Convergence sublayer (present in the downstream direction only). +- Physical Media Dependent (PMD) sublayer. + +### **B.3.6.1 Downstream Transmission Convergence sublayer** + +The Downstream Transmission Convergence sublayer exists in the downstream direction only. It provides an opportunity for additional services over the physical-layer bitstream. These additional services might include, for example, digital video. Definition of any such additional services is beyond the scope of this annex. + +This sublayer is defined as a continuous series of 188-byte MPEG [ITU-T H.222.0] packets, each consisting of a 4-byte header followed by 184 bytes of payload. The header identifies the payload as belonging to the data-over-cable MAC. Other values of the header may indicate other payloads. The mixture of payloads is arbitrary and controlled by the CMTS. + +The Downstream Transmission Convergence sublayer is defined in B.5. + +### **B.3.6.2 PMD sublayer** + +#### **B.3.6.2.1 Overview** + +The PMD sublayer involves digitally modulated RF carriers on the analogue cable network. + +In the downstream direction, the PMD sublayer is based on [ITU-T J.83 B], with the exceptions called out in B.4.3.2, and includes these features: + +- 64 and 256 QAM modulation formats; +- 6-MHz occupied spectrum coexists with all other signals on the cable plant; +- concatenation of Reed-Solomon block code and Trellis code supports operation in a higher percentage of North American cable networks; +- variable-depth interleaver supports both latency-sensitive and -insensitive data. + +The features in the upstream direction are as follows: + +- flexible and programmable CM under control of the CMTS; +- frequency agility; +- time division multiple access; +- QPSK and 16 QAM modulation formats; +- support of both fixed-frame and variable-length PDU formats; +- multiple symbol rates; +- programmable Reed-Solomon block coding; +- programmable preambles. + +#### **B.3.6.2.2 Interface points** + +Three RF interface points are defined at the PMD sublayer: + +- a) downstream output on the CMTS; +- b) upstream input on the CMTS; +- c) cable in/out at the cable modem. + +Separate downstream output and upstream input interfaces on the CMTS are required for compatibility with typical downstream and upstream signal combining and splitting arrangements in headends. + +## **B.4 Physical media dependent sublayer specification** + +### **B.4.1 Scope** + +This specification defines the electrical characteristics and protocol for a Cable Modem (CM) and Cable Modem Termination System (CMTS). It is the intent of this specification to define an interoperable CM and CMTS such that any implementation of a CM can work with any CMTS. It is not the intent of this specification to imply any specific implementation. + +### **B.4.2 Upstream** + +#### **B.4.2.1 Overview** + +The upstream Physical Media Dependent (PMD) sublayer uses a FDMA/TDMA burst modulation format, which provides five symbol rates and two modulation formats (QPSK and 16QAM). The modulation format includes pulse shaping for spectral efficiency, is carrier-frequency agile, and has selectable output power level. The PMD sublayer format includes a variable-length modulated burst with precise timing beginning at boundaries spaced at integer multiples of 6.25 µs apart (which is 16 symbols at the highest data rate). + +Each burst supports a flexible modulation, symbol rate, preamble, randomization of the payload, and programmable FEC encoding. + +All of the upstream transmission parameters associated with burst transmission outputs from the CM are configurable by the CMTS via MAC messaging. Many of the parameters are programmable on a burst-by-burst basis. + +The PMD sublayer can support a near-continuous mode of transmission, wherein ramp-down of one burst MAY overlap the ramp-up of the following burst, so that the transmitted envelope is never zero. The system timing of the TDMA transmissions from the various CMs MUST provide that the centre of the last symbol of one burst and the centre of the first symbol of the preamble of an immediately following burst are separated by at least the duration of five symbols. The guard time MUST be greater than or equal to the duration of five symbols plus the maximum timing error. Timing error is contributed by both the CM and CMTS. CM timing performance is specified in B.4. Maximum timing error and guard time may vary with CMTSs from different vendors. + +The upstream modulator is part of the cable modem which interfaces with the cable network. The modulator contains the actual electrical-level modulation function and the digital signal-processing function; the latter provides the FEC, preamble prepend, symbol mapping, and other processing steps. This specification is written with the idea of buffering the bursts in the signal processing portion, and with the signal processing portion: + +- 1) accepting the information stream a burst at a time; +- 2) processing this stream into a complete burst of symbols for the modulator; and +- 3) feeding the properly-timed bursted symbol stream to a memoryless modulator at the exact burst transmit time. + +The memoryless portion of the modulator only performs pulse shaping and quadrature upconversion. + +At the Demodulator, similar to the Modulator, there are two basic functional components: the demodulation function and the signal processing function. Unlike the Modulator, the Demodulator resides in the CMTS and the specification is written with the concept that there will be one demodulation function (not necessarily an actual physical demodulator) for each carrier frequency in use. The demodulation function would receive all bursts on a given frequency. + +NOTE – The unit design approach should be cognizant of the multiple-channel nature of the demodulation and signal processing to be carried out at the headend, and partition/share functionality appropriately to optimally leverage the multi-channel application. A Demodulator design supporting multiple channels in a Demodulator unit may be appropriate. + +The demodulation function of the Demodulator accepts a varying-level signal centred around a commanded power level and performs symbol timing and carrier recovery and tracking, burst acquisition, and demodulation. Additionally, the demodulation function provides an estimate of burst timing relative to a reference edge, an estimate of received signal power, an estimate of signal-to-noise ratio, and may engage adaptive equalization to mitigate the effects of: + +- a) echoes in the cable plant; +- b) narrowband ingress; and +- c) group delay. + +The signal-processing function of the Demodulator performs the inverse processing of the signal-processing function of the Modulator. This includes accepting the demodulated burst data stream and decoding, etc., and possibly multiplexing the data from multiple channels into a single output stream. The signal-processing function also provides the edge-timing reference and gating-enable signal to the demodulators to activate the burst acquisition for each assigned burst slot. The signal-processing function may also provide an indication of successful decoding, decoding error, or fail-to-decode for each code word and the number of corrected Reed-Solomon symbols in each code word. For every upstream burst, the CMTS has a prior knowledge of the exact burst length in symbols (see B.4.2.6, B.4.2.10.1 and B.I.2). + +#### **B.4.2.2 Modulation formats** + +The upstream modulator MUST provide both QPSK and 16 QAM modulation formats. + +The upstream demodulator MUST support QPSK, 16 QAM, or both modulation formats. + +##### **B.4.2.2.1 Modulation rates** + +The upstream modulator MUST provide QPSK at 160, 320, 640, 1280, and 2560 ksym/s, and 16 QAM at 160, 320, 640, 1280, and 2560 ksym/s. + +This variety of modulation rates, and flexibility in setting upstream carrier frequencies, permits operators to position carriers in gaps in the pattern of narrowband ingress, as discussed in Appendix B.VI. + +The upstream symbol rate MUST be fixed for each upstream frequency. + +##### **B.4.2.2.2 Symbol mapping** + +The modulation mode (QPSK or 16 QAM) is programmable. The symbols transmitted in each mode and the mapping of the input bits to the I and Q constellation MUST be as defined in Table B.4-1. In the table, $I_1$ is the MSB of the symbol map, $Q_1$ is the LSB for QPSK, and $Q_0$ is the LSB for 16 QAM. $Q_1$ and $I_0$ have intermediate bit positions in 16 QAM. The MSB MUST be the first bit in the serial data into the symbol mapper. + +**Table B.4-1/J.112 – I/Q mapping** + +| QAM mode | Input bit definitions | +|-----------------|------------------------------| +| QPSK | $I_1 Q_1$ | +| 16 QAM | $I_1 Q_1 I_0 Q_0$ | + +The upstream QPSK symbol mapping MUST be as shown in Figure B.4-1. + +![QPSK symbol mapping diagram showing four quadrants with bit pairs 01, 11, 00, and 10.](fc7ea02351e757da3b2a8d1a49565e31_img.jpg) + +A diagram of the QPSK symbol mapping. It features a vertical axis labeled $Q_1$ and a horizontal axis labeled $I_1$ . The four quadrants contain the following bit pairs: + +| | | +|----|----| +| 01 | 11 | +| 00 | 10 | + +T0904800-97/d051 + +QPSK symbol mapping diagram showing four quadrants with bit pairs 01, 11, 00, and 10. + +**Figure B.4-1/J.112 – QPSK symbol mapping** + +The 16 QAM non-inverted (Gray-coded) symbol mapping MUST be as shown in Figure B.4-2. + +![16 QAM Gray-coded symbol mapping diagram showing a 4x4 grid of 16 symbols.](0e0257d43c47df039e9755c59674c2e5_img.jpg) + +A diagram of the 16 QAM Gray-coded symbol mapping. It features a vertical axis labeled $Q$ and a horizontal axis labeled $I$ . The symbols are arranged in a 4x4 grid as follows: + +| | | | | +|------|------|------|------| +| 0111 | 0101 | 1101 | 1111 | +| 0110 | 0100 | 1100 | 1110 | +| 0010 | 0000 | 1000 | 1010 | +| 0011 | 0001 | 1001 | 1011 | + +T0904810-97/d052 + +16 QAM Gray-coded symbol mapping diagram showing a 4x4 grid of 16 symbols. + +**Figure B.4-2/J.112 – 16 QAM Gray-coded symbol mapping** + +The 16 QAM differential symbol mapping MUST be as shown in Figure B.4-3. + +![Figure B.4-3/J.112 – 16 QAM differential-coded symbol mapping. A constellation diagram showing 16 points in a 4x4 grid on an I-Q plane. The points are labeled with 5-bit binary sequences. The quadrants are: Top-Left (0111, 0110, 0101, 0100), Top-Right (1101, 1111, 1100, 1110), Bottom-Left (0010, 0000, 0011, 0001), and Bottom-Right (1000, 1001, 1010, 1011). The axes are labeled I (horizontal) and Q (vertical). A small text 'T0904820-97/d053' is at the bottom right.](141be2c164b6aa7704c470b47023de6c_img.jpg) + +Figure B.4-3/J.112 – 16 QAM differential-coded symbol mapping. A constellation diagram showing 16 points in a 4x4 grid on an I-Q plane. The points are labeled with 5-bit binary sequences. The quadrants are: Top-Left (0111, 0110, 0101, 0100), Top-Right (1101, 1111, 1100, 1110), Bottom-Left (0010, 0000, 0011, 0001), and Bottom-Right (1000, 1001, 1010, 1011). The axes are labeled I (horizontal) and Q (vertical). A small text 'T0904820-97/d053' is at the bottom right. + +Figure B.4-3/J.112 – 16 QAM differential-coded symbol mapping + +If differential quadrant encoding is enabled, then the currently-transmitted symbol quadrant is derived from the previously-transmitted symbol quadrant and the current input bits via Table B.4-2. + +Table B.4-2/J.412 – Derivation of currently-transmitted symbol quadrant + +| Current input bits
I(1) Q(1) | Quadrant
phase change | MSBs of previously
transmitted symbol | MSBs for currently
transmitted symbol | +|---------------------------------|--------------------------|------------------------------------------|------------------------------------------| +| 00 | 0° | 11 | 11 | +| 00 | 0° | 01 | 01 | +| 00 | 0° | 00 | 00 | +| 00 | 0° | 10 | 10 | +| 01 | 90° | 11 | 01 | +| 01 | 90° | 01 | 00 | +| 01 | 90° | 00 | 10 | +| 01 | 90° | 10 | 11 | +| 11 | 180° | 11 | 00 | +| 11 | 180° | 01 | 10 | +| 11 | 180° | 00 | 11 | +| 11 | 180° | 10 | 01 | +| 10 | 270° | 11 | 10 | +| 10 | 270° | 01 | 11 | +| 10 | 270° | 00 | 01 | +| 10 | 270° | 10 | 00 | + +#### B.4.2.2.3 Spectral shaping + +The upstream PMD sublayer MUST support a 25% Nyquist square root raised cosine shaping. + +The occupied spectrum MUST NOT exceed the channel widths shown in Table B.4-3. + +**Table B.4-3/J.112 – Maximum channel width** + +| Symbol rate (ksym/s) | Channel width (kHz) a) | +|------------------------------------------------------|-----------------------------------| +| 160 | 200 | +| 320 | 400 | +| 640 | 800 | +| 1280 | 1600 | +| 2560 | 3200 | +| a) Channel width is the –30 dB bandwidth. | | + +#### B.4.2.2.4 Upstream frequency agility and range + +The upstream PMD sublayer MUST support operation over the frequency range of 5-42 MHz edge-to-edge. + +Offset frequency resolution MUST be supported having a range of $\pm 32$ kHz (increment = 1 Hz; implement within $\pm 10$ Hz). + +#### B.4.2.2.5 Spectrum format + +The upstream modulator MUST provide operation with the format $s(t) = I(t) * \cos(\omega t) - Q(t) * \sin(\omega t)$ , where $t$ denotes time and $\omega$ denotes angular frequency. + +### B.4.2.3 FEC Encode + +#### B.4.2.3.1 FEC Encode modes + +The upstream modulator MUST be able to provide the following selections: Reed-Solomon codes over GF(256) with $T = 1$ to 10 or no FEC coding. + +The following Reed-Solomon generator polynomial MUST be supported: + +$$g(x) = (x + \alpha^0)(x + \alpha^1)\dots(x + \alpha^{2T-1})$$ + +where the primitive element alpha is 0x02 hex + +The following Reed-Solomon primitive polynomial MUST be supported: + +$$p(x) = x^8 + x^4 + x^3 + x^2 + 1$$ + +The upstream modulator MUST provide code words from a minimum size of 18 bytes (16 information bytes [ $k$ ] plus two parity bytes for $T = 1$ error correction) to a maximum size of 255 bytes ( $k$ -bytes plus parity-bytes). The uncoded word size can have a minimum of one byte. + +In Shortened Last Code Word mode, the CM MUST provide the last code word of a burst shortened from the assigned length of $k$ data bytes per code word as described in B.4.2.10.1.2. + +The value of $T$ MUST be configured in response to the Upstream Channel Descriptor from the CMTS. + +### B.4.2.3.2 FEC Bit-to-symbol ordering + +The input to the Reed-Solomon Encoder is logically a serial bit stream from the MAC layer of the CM, and the first bit of the stream MUST be mapped into the MSB of the first Reed-Solomon symbol into the encoder. The MSB of the first symbol out of the encoder MUST be mapped into the first bit of the serial bit stream fed to the Scrambler. + +Note that the MAC byte-to-serial upstream convention calls for the byte LSB to be mapped into the first bit of the serial bit stream per B.6.2.1.3. + +### B.4.2.4 Scrambler (Randomizer) + +The upstream modulator MUST implement a scrambler (shown in Figure B.4-4) where the 15-bit seed value MUST be arbitrarily programmable. + +At the beginning of each burst, the register is cleared and the seed value is loaded. The seed value MUST be used to calculate the scrambler bit which is combined in an XOR with the first bit of data of each burst (which is the MSB of the first symbol following the last symbol of the preamble). + +The scrambler seed value MUST be configured in response to the Upstream Channel Descriptor from the CMTS. + +The polynomial MUST be $x^{15} + x^{14} + 1$ . + +![Figure B.4-4/J.112 – Scrambler structure diagram. The diagram shows a 15-bit shift register (Delay elements 1 to N) initialized by Seed LSB and Seed MSB inputs via a Seedload/Frame reset line. The output of Delay element N (N=15) is XORed with the Randomizer data input to produce the Randomizer data output. The output is also fed back through a series of delay elements (1, 2, 3, ..., N-2, N-1) to generate the scrambling sequence.](6322885569221ec51d70560d7dba1339_img.jpg) + +The diagram illustrates the internal structure of a scrambler. At the top, a 'Seedload/Frame reset' input is connected to the initialization of a 15-bit shift register. The register is composed of 'Delay element 1', 'Delay element 2', 'Delay element 3', followed by a gap (indicated by dashed lines), then 'Delay element N-2', 'Delay element N-1', and finally 'Delay element N'. The 'Seed LSB' is input to the first delay element, and the 'Seed MSB' is input to the last delay element. The output of 'Delay element N' is labeled 'N = 15'. This output is connected to an 'XOR' gate (represented by a circle with an 'X'). The other input to this 'XOR' gate is the 'Randomizer data input'. The output of this 'XOR' gate is the 'Randomizer data output'. This output is also fed back into the 'Delay element 1' to complete the shift register loop. A second 'XOR' gate is shown at the bottom, which performs the XOR operation between the 'Randomizer data input' and the feedback signal from the shift register to produce the final 'Randomizer data output'. + +Figure B.4-4/J.112 – Scrambler structure diagram. The diagram shows a 15-bit shift register (Delay elements 1 to N) initialized by Seed LSB and Seed MSB inputs via a Seedload/Frame reset line. The output of Delay element N (N=15) is XORed with the Randomizer data input to produce the Randomizer data output. The output is also fed back through a series of delay elements (1, 2, 3, ..., N-2, N-1) to generate the scrambling sequence. + +Figure B.4-4/J.112 – Scrambler structure + +### B.4.2.5 Preamble prepend + +The upstream PMD sublayer MUST support a variable-length preamble field that is prepended to the data after they have been randomized and Reed-Solomon encoded. + +The first bit of the Preamble Pattern is the first bit into the symbol mapper (see Figure B.4-8), and is $I_1$ in the first symbol of the burst (see B.4.2.2.2). The first bit of the Preamble Pattern is designated by the Preamble Value Offset as described in Table B.6-15, B.6.3.2.2. + +The value of the preamble that is prepended MUST be programmable and the length MUST be 0, 2, 4, ..., or 1024 bits for QPSK and 0, 4, 8, ..., or 1024 bits for 16 QAM. Thus, the maximum length of the preamble is 512 QPSK symbols or 256 QAM symbols. + +The preamble length and value MUST be configured in response to the Upstream Channel Descriptor message transmitted by the CMTS. + +#### B.4.2.6 Burst profiles + +The transmission characteristics are separated into three portions: + +- a) Channel parameters; +- b) Burst Profile attributes; and +- c) User Unique parameters. + +The Channel parameters include: + +- i) the symbol rate (five rates from 160 ksym/s to 2.56 Msym/s in octave steps); +- ii) the center frequency (Hz); and +- iii) the 1024-bit Preamble Superstring. + +The Channel parameters are further described in B.6.3.2.2, Table B.6-14; these characteristics are shared by all users on a given channel. The Burst Profile Attributes are listed in Table B.4-4, and are further described in B.6.3.2.2, Table B.6-15; these parameters are the shared attributes corresponding to a burst type. The User Unique Parameters may vary for each user even when using the same burst type on the same channel as another user (for example, Power Level) and are listed in Table B.4-5. + +**Table B.4-4/J.112 – Burst Profile attributes** + +| Burst Parameter attributes | Configuration settings | +|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------| +| Modulation | QPSK, 16 QAM | +| Diff Enc | On/Off | +| Preamble Length | 0-1024 bits (B.4.2.5) | +| Preamble Value offset | 0 to 1022 | +| FEC Error Correction (T bytes) | 0 to 10 (0 implies FEC = off) | +| FEC Code word Information Bytes (k) | Fixed: 16 to 253 (assuming FEC on) Shortened: 16 to 253 (assuming FEC on) | +| Scrambler Seed | 15 bits | +| Maximum Burst Length (minislots) (Note) | 0 to 255 | +| Guard Time | 5 to 255 Symbols | +| Last Code word Length | Fixed, shortened | +| Scrambler On/Off | On/Off | +| NOTE – A burst length of 0 mini-slots in the Channel Profile means that the burst length is variable on that channel for that burst type. The burst length, while not fixed, is granted explicitly by the CMTS to the CM in the MAP. | | + +**Table B.4-5/J.112 – User Unique Burst parameters** + +| User Unique parameter | Configuration settings | +|--------------------------------------------------------------------------------|----------------------------------------------------------------------| +| Power Level (Note) | +8 to +55 dBmV (16 QAM)
+8 to +58 dBmV (QPSK)
1 –dB steps | +| Offset Frequency (Note) | Range = $\pm 32$ kHz; increment = 1 Hz; implement within $\pm 10$ Hz | +| Ranging Offset | 0 to $(2^{16} - 1)$ , increments of 6.25 $\mu$ sec/64 | +| Burst Length (mini-slots) if variable on this channel (changes burst-to-burst) | 1 to 255 mini-slots | +| Transmit Equalizer Coefficients (Note) (advanced modems only) | Up to 64 coefficients; 4 bytes per coefficient: 2 real and 2 complex | +| NOTE – Values in table apply for this given channel and symbol rate. | | + +The CM MUST generate each burst at the appropriate time as conveyed in the mini-slot grants provided by the CMTS MAPs (see B.6.3.2.3). + +The CM MUST support all burst profiles commanded by the CMTS via the Burst Descriptors in the UCD (see B.6.3.2.2), and subsequently assigned for transmission in a MAP (see B.6.3.2.3). + +The CM MUST implement the Offset Frequency to within $\pm 10$ Hz. + +Ranging Offset is the delay correction applied by the CM to the CMTS Upstream Frame Time derived at the CM, in order to synchronize the upstream transmissions in the TDMA scheme. The Ranging Offset is an advancement equal to roughly the round-trip delay of the CM from the CMTS. The CMTS MUST provide feedback correction for this offset to the CM, based on reception of one or more successfully received bursts (i.e. satisfactory result from each technique employed: error correction and/or CRC), with accuracy within 1/2 symbol and resolution of 1/64 of the frame tick increment ( $6.25 \mu\text{s}/64 = 0.09765625 \mu\text{s} = 1/4$ the symbol duration of the highest symbol rate = $10.24 \text{ MHz}^{-1}$ ). The CMTS sends adjustments to the CM, where a negative value implies the Ranging Offset is to be decreased, resulting in later times of transmission at the CM. CM MUST implement the correction with resolution of at most 1 symbol duration (of the symbol rate in use for a given burst), and (other than a fixed bias) with accuracy within $\pm 0.25 \mu\text{s}$ plus $\pm 1/2$ symbol owing to resolution. The accuracy of CM burst timing of $\pm 0.25 \mu\text{s}$ plus $\pm 1/2$ symbol is relative to the mini-slot boundaries derivable at the CM based on an ideal processing of the timestamp signals received from the CMTS. + +The CM MUST be capable of switching burst profiles with no reconfiguration time required between bursts except for changes in the following parameters: + +- 1) Output Power; +- 2) Modulation; +- 3) Symbol Rate; +- 4) Offset frequency; +- 5) Channel Frequency; and +- 6) Ranging Offset. + +For Symbol Rate, Offset frequency and Ranging Offset, the CM MUST be able to transmit consecutive bursts as long as the CMTS allocates at least 96 symbols in between the last symbol centre of one burst and the first symbol centre of the following burst. The maximum reconfiguration time of 96 symbols should compensate for the ramp down time of one burst and the ramp up time of the next burst as well as the overall transmitter delay time including the pipeline delay and optional pre-equalizer delay. For modulation type changes, the CM MUST be able to transmit consecutive bursts as long as the CMTS allocates at least 96 symbols in between the last symbol centre of one burst and the first symbol centre of the following burst. Output Power, Symbol Rate, Offset frequency, Channel Frequency and Ranging Offset MUST NOT be changed until the CM is provided sufficient time between bursts by the CMTS. Transmitted Output Power, Symbol Rate, Offset frequency, Channel Frequency and Ranging Offset MUST NOT change while more than $-30$ dB of any symbol's energy of the previous burst remains to be transmitted, or more than $-30$ dB of any symbol's energy of the next burst has been transmitted. The modulation MUST NOT change while more than $-30$ dB of any symbol's energy of the previous burst remains to be transmitted, or more than $-30$ dB of any symbol's energy of the next burst has been transmitted, EXCLUDING the effect of the transmit equalizer (if present in the CM). (This is to be verified with the transmit equalizer providing no filtering; delay only, if that. Note that if the CMTS has decision feedback in its equalizer, it may need to provide more than the 96 symbol gap between bursts of different modulation type which the same CM may use; this is a CMTS decision.) Negative ranging offset adjustments will cause the 96 symbol guard to be violated. The CMTS must assure that this does not happen by allowing extra guard time between bursts that is at least equal to the amount of negative ranging offset. + +If Channel Frequency is to be changed, then the CM MUST be able to implement the change between bursts as long as the CMTS allocates at least 96 symbols plus 100 ms between the last symbol centre of one burst and the first symbol of the following burst. + +The Channel Frequency of the CM MUST be settled within the phase noise and accuracy requirements of B.4.2.9.5 and B.4.2.9.6 within 100 ms from the beginning of the change. + +If Output Power is to be changed by 1 dB or less, then the CM MUST be able to implement the change between bursts as long as the CMTS allocates at least 96 symbols plus 5 $\mu$ s between the last symbol centre of one burst and the first symbol centre of the following burst. + +If Output Power is to be changed by more than 1 dB, then the CM MUST be able to implement the change between bursts as long as the CMTS allocates at least 96 symbols plus 10 $\mu$ s between the last symbol centre of one burst and the first symbol centre of the following burst. + +The Output Power of the CM MUST be settled to within $\pm 0.1$ dB of its final output power level: + +- a) within 5 $\mu$ s from the beginning of a change of 1 dB or less; and +- b) within 10 $\mu$ s from the beginning of a change of greater than 1 dB. + +The output transmit power MUST be maintained constant within a TDMA burst to within less than 0.1 dB (excluding the amount theoretically present due to pulse shaping, and amplitude modulation in the case of 16 QAM). + +#### **B.4.2.7 Burst timing convention** + +Figure B.4-5 illustrates the nominal burst timing. + +Figure B.4-6 indicates worst-case burst timing. In this example, burst N arrives 1.5 symbols late, and burst N + 1 arrives 1.5 symbols early, but separation of 5 symbols is maintained; 8-symbol guard band shown. + +At a symbol rate of $R_s$ , symbols occur at a rate of one each $T_s = 1/R_s$ seconds. Ramp up and Ramp down are the spread of a symbol in the time domain beyond $T_s$ duration owing to the symbol-shaping filter. If only one symbol were transmitted, its duration would be longer than $T_s$ due to the shaping filter impulse response being longer than $T_s$ . The spread of the first and last symbols of a burst transmission effectively extends the duration of the burst to longer than $N * T_s$ , where N is the number of symbols in the burst. + +#### **B.4.2.8 Transmit power requirements** + +The upstream PMD sublayer MUST support varying the amount of transmit power. Requirements are presented for: + +- 1) the range of commanded transmit power; +- 2) the step size of the power commands; and +- 3) the accuracy (actual output power compared to the commanded amount) of the response to the command. + +The mechanism by which power adjustments are performed is defined in B.7.2.5. Such adjustments MUST be within the ranges of tolerances described below. + +##### **B.4.2.8.1 Output power agility and range** + +The output transmit power in the design bandwidth MUST be variable over the range of +8 dBmV to 55 dBmV (16 QAM), or 58 dBmV (QPSK), in 1-dB steps. + +The absolute accuracy of the transmitted power MUST be $\pm 2$ dB, and the step size accuracy $\pm 0.4$ dB, with an allowance for hysteresis while switching in/out a step attenuator (e.g. 20 dB) in which case the accuracy requirement is relaxed to $\pm 1.4$ dB. For example, the actual power increase resulting from a command to increase the power level by 1 dB in a CM's next transmitted burst MUST be between 0.6 and 1.4 dB. + +The step resolution MUST be 1 dB or less. When a CM is commanded with finer resolution than it can implement, it MUST round to the nearest supported step size. If the commanded step is half way between two supported step sizes, the CM MUST choose the smaller step. For example, with a supported step resolution of 1 dB, a command to step $\pm 0.5$ dB would result in no step, while a command to step $\pm 0.75$ dB would result in a $\pm 1$ dB step. + +![Diagram of nominal burst timing showing two bursts, N and N+1. Burst N includes a ramp up, preamble, data, and ramp down. Burst N+1 starts with a preamble. Timing is referenced to the center of the first preamble symbol. A 10-symbol ramp duration and an 8-symbol guard band are indicated.](0f9ac2696d8775f168c8a2236752ca85_img.jpg) + +a) Nominal burst profile (no timing errors); 8-symbol guard band is illustrated; 10-symbol ramp up and ramp down is illustrated. + +Diagram a) shows a single burst profile with the following components and labels: + +- Ramp up**: The initial rising edge of the burst. +- Preamble first symbol**: The start of the preamble sequence. +- Preamble last symbol**: The end of the preamble sequence. +- Data first symbol**: The start of the data payload. +- Last FEC parity symbol**: The end of the data payload. +- Ramp down**: The final falling edge of the burst. + +Diagram b) illustrates the timing reference and the relationship between consecutive bursts: + +- Timing is referenced to the symbol centre of the first symbol of each burst**: This is indicated by a vertical dashed line from the 'Centre of preamble First symbol'. +- Centre of preamble First symbol = Mini-slot boundary**: This point defines the start of a mini-slot. +- 10 symbols**: The duration of the ramp up and ramp down phases. +- 8 symbols**: The guard band duration between the end of one burst's data and the start of the next burst's preamble. +- Mini-slot boundary**: The start of the next burst's preamble. +- Burst N** and **Burst N + 1**: Two consecutive bursts. +- Preamble first symbol**: The start of the preamble for Burst N + 1. + +T0904840-97/d055 + +Diagram of nominal burst timing showing two bursts, N and N+1. Burst N includes a ramp up, preamble, data, and ramp down. Burst N+1 starts with a preamble. Timing is referenced to the center of the first preamble symbol. A 10-symbol ramp duration and an 8-symbol guard band are indicated. + +NOTE – Ramp down of one burst can overlap ramp up of following burst even with one transmitter assigned both bursts. + +Figure B.4-5/J.112 – Nominal burst timing + +![Figure B.4-6/J.112 – Worst-case burst timing diagram. The diagram shows two bursts, Burst N and Burst N+1, with their symbol centers and timing parameters. Burst N is shown with a decreasing envelope, and Burst N+1 is shown with an increasing envelope. The diagram includes labels for 'Worst-case burst timing input to CMTS', 'Burst N', 'Burst N + 1', 'Symbol centre of Burst N, last symbol; 1.5 symbols late', 'Symbol centre of Burst N + 1, last symbol; 1.5 symbols early', 'Time equal to 5 symbols separates the first symbol centre of burst N + 1 and the last symbol centre of burst N', '8-symbol guard band', '1.5', '5 symbols', and 'Mini-slot boundary'. A reference code 'T0904850-97/d056' is also present.](3349dc82c6333221b0610be6ee7250b6_img.jpg) + +Worst-case burst timing input to CMTS + +Burst N + 1 + +Burst N + +Symbol centre of Burst N, last symbol; 1.5 symbols late + +Symbol centre of Burst N + 1, last symbol; 1.5 symbols early + +Time equal to 5 symbols separates the first symbol centre of burst N + 1 and the last symbol centre of burst N + +8-symbol guard band + +1.5 + +5 symbols + +Mini-slot boundary + +T0904850-97/d056 + +Figure B.4-6/J.112 – Worst-case burst timing diagram. The diagram shows two bursts, Burst N and Burst N+1, with their symbol centers and timing parameters. Burst N is shown with a decreasing envelope, and Burst N+1 is shown with an increasing envelope. The diagram includes labels for 'Worst-case burst timing input to CMTS', 'Burst N', 'Burst N + 1', 'Symbol centre of Burst N, last symbol; 1.5 symbols late', 'Symbol centre of Burst N + 1, last symbol; 1.5 symbols early', 'Time equal to 5 symbols separates the first symbol centre of burst N + 1 and the last symbol centre of burst N', '8-symbol guard band', '1.5', '5 symbols', and 'Mini-slot boundary'. A reference code 'T0904850-97/d056' is also present. + +Figure B.4-6/J.112 – Worst-case burst timing + +#### B.4.2.9 Fidelity requirements + +##### B.4.2.9.1 Spurious emissions + +The noise and spurious power MUST NOT exceed the levels given in Tables B.4-6, B.4-7 and B.4-8. + +In Table B.4-6, In-band spurious includes noise, carrier leakage, clock lines, synthesizer spurious products, and other undesired transmitter products. It does not include ISI. The measurement bandwidth for In-band spurious is equal to the symbol rate (e.g. 160 kHz for 160 ksymb/s). + +The measurement bandwidth for the 3 (or fewer) Carrier-Related Frequency Bands (below 42 MHz) is 160 kHz, with up to 3 is 160 kHz bands, each with no more than –47 dBc, allowed to be excluded from the "Bands within 5 to 42 MHz Transmitting Burst" specs of Table B.4-8. + +The measurement bandwidth is also 160 kHz for the Between bursts specs of Table B.4-6 below 42 MHz; the Transmitting burst specs apply during the mini-slots granted to the CM (when the CM uses all or a portion of the grant), and for a mini-slot before and after the granted mini-slots. (Note that a mini-slot may be as short as 32 symbols, or 12.5 µs at the 2.56 Msym/s rate, or as short as 200 µs at the 160 ksym/s rate.) The Between bursts specs apply except during a used grant of mini-slots, and the mini-slot before and after the used grant. + +**Table B.4-6/J.112 – Spurious emissions** + +| Parameter | Transmitting burst | Between bursts | +|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------|------------------------------------------------------------------------| +| In-band [In-band spurious includes noise, carrier leakage, clock lines, synthesizer spurious products, and other undesired transmitter products. It does not include Inter Symbol Interference (ISI)]. | –40 dBc | The greater of –72 dBc or –59 dBmV | +| Adjacent Band | See Table B.4-7 | The greater of –72 dBc or –59 dBmV | +| 3 or Fewer Carrier-Related Frequency Bands (such as second harmonic, if < 42 MHz) | –47 dBc | The greater of –72 dBc or –59 dBmV | +| Bands within 5 to 42 MHz (excluding assigned channel, adjacent channels, and carrier-related channels) | See Table B.4-8 | The greater of –72 dBc or –59 dBmV | +| CM Integrated Spurious Emissions Limits (all in 4 MHz, includes discrete a) )
42 to 54 MHz
54 to 60 MHz
60 to 88 MHz
88 to 860 MHz | max –40 dBc, –26 dBmV
–35 dBmV
–40 dBmV
–45 dBmV | –26 dBmV
–40 dBmV
–40 dBc
max –45 dBmV, –40 dBc b) | +| CM Discrete Spurious Emissions Limits a)
42 to 54 MHz
54 to 88 MHz
88 to 860 MHz | max –50 dBc, –36 dBmV
–50 dBmV
–50 dBmV | –36 dBmV
–50 dBmV
–50 dBmV | + +a) These spec limits exclude a single discrete spur related to the tuned received channel; this single discrete spur MUST be no greater than –40 dBmV. + +b) 'dBc' is relative to the received downstream signal level. Some spurious outputs are proportional to the receive signal level. + +#### B.4.2.9.1.1 Adjacent channel spurious emissions + +Spurious emissions from a transmitted carrier may occur in an adjacent channel which could be occupied by a carrier of the same or different symbol rates. Table B.4-7 lists the required adjacent channel spurious emission levels for all combinations of transmitted carrier symbol rates and adjacent channel symbol rates. The measurement is performed in an adjacent channel interval that is of appropriate bandwidth and distance from the transmitted carrier based on the symbol rates of the transmitted carrier and the carrier in the adjacent channel. + +**Table B.4-7/J.112 – Adjacent channel spurious emissions** + +| Transmitted carrier symbol rate | Specification in the interval | Measurement interval and distance from carrier edge | Adjacent channel carrier symbol rate | +|---------------------------------|-------------------------------|-----------------------------------------------------|--------------------------------------| +| 160 Ksym/s | –45 dBc | 20 to 180 kHz | 160 ksym/s | +| | –45 dBc | 40 to 360 kHz | 320 ksym/s | +| | –45 dBc | 80 to 720 kHz | 640 ksym/s | +| | –42 dBc | 160 to 1440 kHz | 1280 ksym/s | +| | –39 dBc | 320 to 2880 kHz | 2560 ksym/s | +| All other symbol rates | –45 dBc | 20 to 180 kHz | 160 ksym/s | +| | –45 dBc | 40 to 360 kHz | 320 ksym/s | +| | –45 dBc | 80 to 720 kHz | 640 ksym/s | +| | –44 dBc | 160 to 1440 kHz | 1280 ksym/s | +| | –41 dBc | 320 to 2880 kHz | 2560 ksym/s | + +#### B.4.2.9.1.2 Spurious emissions in 5 to 42 MHz + +Spurious emissions, other than those in an adjacent channel or carrier related emissions listed above, may occur in intervals that could be occupied by other carriers of the same or different symbol rates. To accommodate these different symbol rates and associated bandwidths, the spurious emissions are measured in an interval equal to the bandwidth corresponding to the symbol rate of the carrier that could be transmitted in that interval. This interval is independent of the current transmitted symbol rate. + +Table B.4-8 lists the possible symbol rates that could be transmitted in an interval, the required spurious level in that interval, and the initial measurement interval at which to start measuring the spurious emissions. Measurements should start at the initial distance and be repeated at increasing distance from the carrier until the upstream band edge, 5 MHz or 42 MHz, is reached. Measurement intervals should not include carrier related emissions. + +**Table B.4-8/J.112 – Spurious emissions in 5 to 42 MHz** + +| Possible symbol rate in this interval | Specification in the interval | Initial measurement interval and distance from carrier edge | +|---------------------------------------|-------------------------------|-------------------------------------------------------------| +| 160 ksym/s | -53 dBc | 220 to 380 kHz | +| 320 ksym/s | -50 dBc | 240 to 560 kHz | +| 640 ksym/s | -47 dBc | 280 to 920 kHz | +| 1280 ksym/s | -44 dBc | 360 to 1640 kHz | +| 2560 ksym/s | -41 dBc | 520 to 3080 kHz | + +#### B.4.2.9.2 Spurious emissions during burst on/off transients + +Each transmitter MUST control spurious emissions, prior to and during ramp up and during and following ramp down, before and after a burst in the TDMA scheme. + +On/off spurious emissions, such as the change in voltage at the upstream transmitter output due to enabling or disabling transmission, MUST be no more than 100 mV, and such a step MUST be dissipated no faster than 2 $\mu\text{s}$ of constant slewing. This requirement applies when the CM is transmitting at +55 dBmV or more; at backed-off transmit levels, the maximum change in voltage MUST decrease by a factor of 2 for each 6-dB decrease of power level from +55 dBmV, down to a maximum change of 7 mV at 31 dBmV and below. This requirement does not apply to CM power-on and power-off transients. + +#### B.4.2.9.3 Symbol Error Rate (SER) + +Modulator performance MUST be within 0.5 dB of theoretical SER vs C/N (i.e. $E_s/N_0$ ), for SER as low as $10^{-6}$ uncoded, for QPSK and 16 QAM. + +The SER degradation is determined by the cluster variance caused by the transmit wave form at the output of an ideal square-root raised-cosine receive filter. It includes the effects of ISI, spurious, phase noise, and all other transmitter degradations. + +Cluster SNR should be measured on a modulation analyzer using a square-root raised cosine receive filter with $\alpha=0.25$ . The measured SNR MUST be better than 30 dB. + +#### B.4.2.9.4 Filter distortion + +The following requirements assume that any pre-equalization is disabled. + +#### **B.4.2.9.4.1 Amplitude** + +The spectral mask MUST be the ideal square root raised cosine spectrum with $\alpha = 0.25$ , within the ranges given below: + +$f_c - R_s/4$ Hz to $f_c + R_s/4$ Hz: $-0.3$ dB to $+0.3$ dB + +$f_c - 3R_s/8$ Hz to $f_c - R_s/4$ Hz, and $f_c + R_s/4$ Hz to $f_c + 3R_s/8$ Hz: $-0.5$ dB to $0.3$ dB + +$f_c - R_s/2$ Hz and $f_c + R_s/2$ Hz: $-3.5$ dB to $-2.5$ dB + +$f_c - 5R_s/8$ Hz and $f_c + 5R_s/8$ Hz: no greater than $-30$ dB + +where $f_c$ is the centre frequency, $R_s$ is the symbol rate, and the spectral density is measured with a resolution bandwidth of 10 KHz or less. + +#### **B.4.2.9.4.2 Phase** + +$f_c - 5R_s/8$ Hz to $f_c + 5R_s/8$ Hz: Group Delay Variation MUST NOT be greater than 100 ns. + +#### **B.4.2.9.5 Carrier phase noise** + +The upstream transmitter total integrated phase noise (including discrete spurious noise) MUST be less than or equal to $-43$ dBc summed over the spectral regions spanning 1 kHz to 1.6 MHz above and below the carrier. + +#### **B.4.2.9.6 Channel frequency accuracy** + +The CM MUST implement the assigned channel frequency within $\pm 50$ parts per million over a temperature range of 0 to 40 degrees C up to five years from date of manufacture. + +#### **B.4.2.9.7 Symbol rate accuracy** + +The upstream modulator MUST provide an absolute accuracy of symbol rates $\pm 50$ parts per million over a temperature range of 0 to 40 degrees C up to five years from date of manufacture. + +#### **B.4.2.9.8 Symbol timing jitter** + +Peak-to-peak symbol jitter, referenced to the previous symbol zero-crossing, of the transmitted waveform, MUST be less than 0.02 of the nominal symbol duration over a 2-s period. In other words, the difference between the maximum and the minimum symbol duration during the 2-s period shall be less than 0.02 of the nominal symbol duration for each of the five upstream symbol rates. + +The peak-to-peak cumulative phase error, referenced to the first symbol time and with any fixed symbol frequency offset factored out, MUST be less than 0.04 of the nominal symbol duration over a 0.1-s period. In other words, the difference between the maximum and the minimum cumulative phase error during the 0.1-s period shall be less than 0.04 of the nominal symbol duration for each of the five upstream symbol rates. Factoring out a fixed symbol frequency offset is to be done by using the computed mean symbol duration during the 0.1 s. + +#### **B.4.2.10 Frame structure** + +Figure B.4-7 shows two examples of the frame structure: one where the packet length equals the number of information bytes in a code word, and another where the packet length is longer than the number of information bytes in one code word, but less than in two code words. Example 1 illustrates the fixed code-word length mode, and Example 2 illustrates the shortened last code-word mode. These modes are defined in B.4.2.10.1. + +**Example 1** – Packet length = number of information bytes in code word = $k$ + +![Diagram for Example 1 showing a single code word structure. It consists of five blocks: Preamble, Packet data, FEC parity, Guard time, and Empty up to next mini-Slot boundary. A double-headed arrow labeled 'One code word' spans over the Packet data and FEC parity blocks.](18b914bd6d55df64c6935e65803a3f79_img.jpg) + +| | | | | | +|----------|-------------------|------------|------------|-------------------------------------| +| Preamble | ← One code word → | | Guard time | Empty up to next mini-Slot boundary | +| | Packet data | FEC parity | | | + +Diagram for Example 1 showing a single code word structure. It consists of five blocks: Preamble, Packet data, FEC parity, Guard time, and Empty up to next mini-Slot boundary. A double-headed arrow labeled 'One code word' spans over the Packet data and FEC parity blocks. + +**Example 2** – Packet length = $k$ + remaining information bytes in 2nd code word = $k + k' \leq k + k'' \leq 2k$ bytes + +![Diagram for Example 2 showing a two code word structure. The top part shows Preamble, Two code words, and Guard time, with an arrow pointing to the 'Mini-slot boundary'. Below this, a dashed line leads to a detailed view of the two code words. The first code word contains 'First k bytes of packet' and 'FEC parity'. The second code word contains 'Last k' bytes of packet', 'k'' - k' bytes of zero-fill', and 'FEC parity'. A label 'T0904860-97/d057' is present at the bottom right.](9b39a1d27e49bccd8767e8d5fc0be7fd_img.jpg) + +| | | | | | +|----------|----------------|--|------------|----------------------| +| Preamble | Two code words | | Guard time | ← Mini-slot boundary | +|----------|----------------|--|------------|----------------------| + + + +| | | | | | +|---------------------------|------------|---------------------------|-------------------------------|------------| +| First $k$ bytes of packet | FEC parity | Last $k'$ bytes of packet | $k'' - k'$ bytes of zero-fill | FEC parity | +|---------------------------|------------|---------------------------|-------------------------------|------------| + +T0904860-97/d057 + +Diagram for Example 2 showing a two code word structure. The top part shows Preamble, Two code words, and Guard time, with an arrow pointing to the 'Mini-slot boundary'. Below this, a dashed line leads to a detailed view of the two code words. The first code word contains 'First k bytes of packet' and 'FEC parity'. The second code word contains 'Last k' bytes of packet', 'k'' - k' bytes of zero-fill', and 'FEC parity'. A label 'T0904860-97/d057' is present at the bottom right. + +**Figure B.4-7/J.112** – Example frame structures with flexible burst length mode + +#### B.4.2.10.1 Code-word length + +The CM operates in fixed-length code-word mode or with shortened code-word capability enabled. The minimum number of information bytes in a code word, for fixed or shortened mode, is 16 bytes. Shortened code-word capability is available with $k \geq 16$ bytes, where $k$ is the number of information bytes in a code word. With $k < 16$ , shortened code word capability is not available. + +The following descriptions apply to an allocated grant of mini-slots in both contention and non-contention regions. (Allocation of mini-slots is discussed in B.6.) The intent of the description is to define rules and conventions such that CMs request the proper number of mini-slots and the CMTS PHY knows what to expect regarding the FEC framing in both fixed code-word length and shortened last code-word modes. + +##### B.4.2.10.1.1 Fixed code-word length + +With the fixed-length code words, after all the data are encoded, zero-fill will occur in this code word if necessary to reach the assigned $k$ data bytes per code word, and zero-fill MUST continue up to the point when no additional fixed-length code words can be inserted before the end of the last allocated min-slot in the grant, accounting for FEC parity and guard-time symbols. + +##### B.4.2.10.1.2 Shortened last code word + +As shown in Figure B.4-7, let $k'$ = the number of information bytes that remain after partitioning the information bytes of the burst into full-length ( $k$ burst data bytes) code words. The value of $k'$ is less than $k$ . Given operation in a shortened last code-word mode, let $k''$ = the number of burst data bytes plus zero-fill bytes in the shortened last code word. In shortened code-word mode, the CM will encode the data bytes of the burst (including MAC header) using the assigned code-word size ( $k$ information bytes per code word) until: + +- 1) all the data are encoded; or +- 2) a remainder of data bytes is left over which is less than $k$ . + +Shortened last code words shall not have less than 16 information bytes, and this is to be considered when CMs make requests of mini-slots. In shortened last code-word mode, the CM will zero-fill data if necessary until the end of the mini-slot allocation, which in most cases will be the next mini-slot boundary, accounting for FEC parity and guard-time symbols. In many cases, only $k'' - k'$ zero-fill bytes are necessary to fill out a mini-slot allocation with $16 \leq k'' \leq k$ and $k' \leq k''$ . However, note the following. + +More generally, the CM is required to zero-fill data until the point when no additional fixed-length code words can be inserted before the end of the last allocated mini-slot in the grant (accounting for FEC parity and guard-time symbols), and then, if possible, a shortened last code word of zero-fill shall be inserted to fit into the mini-slot allocation. + +If, after zero-fill of additional code words with k information bytes, there are less than 16 bytes remaining in the allocated grant of mini-slots, accounting for parity and guard-time symbols, then the CM shall not create this last shortened code word. + +#### B.4.2.11 Signal processing requirements + +The signal processing order for each burst packet type MUST be compatible with the sequence shown in Figure B.4-8 and MUST follow the order of steps in Figure B.4-9. + +#### B.4.2.12 Upstream demodulator input power characteristics + +The maximum total input power to the upstream demodulator MUST NOT exceed 35 dBmV in the 5-42 MHz frequency range of operation. + +The intended received power in each carrier MUST be within the values shown in Table B.4-9. + +The demodulator MUST operate within its defined performance specifications with received bursts within $\pm 6$ dB of the nominal commanded received power. + +**Table B.4-9/J.112 – Maximum range of commanded nominal receive power in each carrier** + +| Symbol rate (ksym/s) | Maximum range (dBmV) | +|----------------------|----------------------| +| 160 | -16 to +14 | +| 320 | -13 to +17 | +| 640 | -10 to +20 | +| 1280 | -7 to +23 | +| 2560 | -4 to +26 | + +#### B.4.2.13 Upstream electrical output from the CM + +The CM MUST output an RF modulated signal with the characteristics delineated in Table B.4-10. + +**Table B.4-10/J.112 – Electrical output from CM** + +| Parameter | Value | +|---------------------------|------------------------------------------------------| +| Frequency | 5 to 42 MHz edge-to-edge | +| Level range (one channel) | +8 to +55 dBmV (16 QAM)
+8 to +58 dBmV (QPSK) | +| Modulation type | QPSK and 16 QAM | +| Symbol rate (nominal) | 160, 320, 640, 1280 and 2560 ksym/s | +| Bandwidth | 200, 400, 800, 1600 and 3200 kHz | +| Output impedance | 75 ohms | +| Output return loss | > 6 dB (5-42 MHz) | +| Connector | F connector per [IPS-SP-401] (common with the input) | + +### B.4.3 Downstream + +#### B.4.3.1 Downstream protocol + +The downstream PMD sublayer MUST conform to Annex B/J.83 for Low-Delay Video Applications [ITU-T J.83 B], with the exceptions called out in B.4.3.2. + +![Figure B.4-8/J.112 – Signal-processing sequence. This block diagram shows the signal processing flow for TDMA upstream transmission. The main sequence consists of seven blocks: 'Block the Data', 'FEC Encode', 'Scramble', a summation node (+), 'Symbol Map', 'Filter', and 'Modulate'. 'Burst Data In' enters the first block. A 'Preamble Prepend' block feeds into the summation node. A 'Modulator Control' block, receiving 'Parameter set from CMDS' and 'Transmit now edge', controls the 'Block the Data', 'FEC Encode', 'Scramble', 'Symbol Map', 'Filter', and 'Modulate' blocks. The 'Modulate' block outputs to 'Power Control' and 'Transmit on/off'. A small code 'T0906420-98/d058' is present near the bottom right of the diagram.](33cbd34b2ff74e39d12fae4db73f5b41_img.jpg) + +Figure B.4-8/J.112 – Signal-processing sequence. This block diagram shows the signal processing flow for TDMA upstream transmission. The main sequence consists of seven blocks: 'Block the Data', 'FEC Encode', 'Scramble', a summation node (+), 'Symbol Map', 'Filter', and 'Modulate'. 'Burst Data In' enters the first block. A 'Preamble Prepend' block feeds into the summation node. A 'Modulator Control' block, receiving 'Parameter set from CMDS' and 'Transmit now edge', controls the 'Block the Data', 'FEC Encode', 'Scramble', 'Symbol Map', 'Filter', and 'Modulate' blocks. The 'Modulate' block outputs to 'Power Control' and 'Transmit on/off'. A small code 'T0906420-98/d058' is present near the bottom right of the diagram. + +Figure B.4-8/J.112 – Signal-processing sequence + +![](80a44321a02e8a7d638ac9d53e88772c_img.jpg) + +| | | +|-------------------------|------------------------------------------------------------------------------------------------------------------------------| +| | Packet Stream Input | +| | ↓ | +| Block the Data | Separate Packet into Information Blocks (= data bytes in one code word) | +| | ↓ | +| FEC Encode | FEC Encode (Reed-Solomon) each Information Block, using shortened code word for last block if needed. FEC can be turned off. | +| | ↓ | +| Scramble | Scramble (see B.4.2.4) | +| | ↓ | +| Preamble Prepend | Preamble prepend Symbols | +| | ↓ | +| Symbol Map | Symbol Map the Data Stream into Modulator Symbols | +| | ↓ | +| Filter | Filter Symbol Stream for Spectral Shaping | +| | ↓ | +| Modulate | Modulate at Precise Times (QPSK; 16 QAM) | +| | ↓ | +| | Output RF Wave-form Bursts | + +Figure B.4-9/J.112 – TDMA upstream transmission processing + +### B.4.3.2 Scalable interleaving to support low latency + +The downstream PMD sublayer MUST support a variable-depth interleaver with the characteristics defined in Table B.4-11. This table contains a subset of interleaver modes found in [ITU-T J.83 B]. + +**Table B.4-11/J.112 – Interleaver characteristics** + +| I
(Number of taps)
| J
(Increment)
| Burst protection
64 QAM/256 QAM
| Latency
64 QAM/256 QAM
| +|-------------------------------|--------------------------|--------------------------------------------|-----------------------------------| +| 8 | 16 | 5.9 µs/4.1 µs | 0.22 ms/0.15 ms | +| 16 | 8 | 12 µs/8.2 µs | 0.48 ms/0.33 ms | +| 32 | 4 | 24 µs/16 µs | 0.98 ms/0.68 ms | +| 64 | 2 | 47 µs/33 µs | 2.0 ms/1.4 ms | +| 128 | 1 | 95 µs/66 µs | 4.0 ms/2.8 ms | + +The interleaver depth, which is coded in a 4-bit control word contained in the FEC frame synchronization trailer, always reflects the interleaving in the immediately-following frame. In addition, errors are allowed while the interleaver memory is flushed after a change in interleaving is indicated. + +Refer to [ITU-T J.83 B] for the control bit specifications required to specify which interleaving mode is used. + +#### **B.4.3.3 Downstream frequency plan** + +The downstream frequency plan should comply with Harmonic Related Carrier (HRC), Incremental Related Carrier (IRC) or Standard (STD) North American frequency plans per [IS-6]. However, operation below a centre frequency of 91 MHz is not required. + +#### **B.4.3.4 CMTS output electrical** + +The CMTS MUST output an RF modulated signal with the following characteristics defined in Table B.4-12. + +#### **B.4.3.5 Downstream electrical input to CM** + +The CM MUST accept an RF modulated signal with the following characteristics (see Table B.4-13.) + +#### **B.4.3.6 CM BER performance** + +The bit-error-rate performance of a CM MUST be as described in this subclause. The requirements apply to the I = 128, J = 1 mode of interleaving. + +##### **B.4.3.6.1 64 QAM** + +###### **B.4.3.6.1.1 64 QAM CM BER Performance** + +Implementation loss of the CM MUST be such that the CM achieves a post-FEC BER less than or equal to $10^{-8}$ when operating at a carrier to noise ratio ( $E_s/N_0$ ) of 23.5 dB or greater. + +###### **B.4.3.6.1.2 64 QAM image rejection performance** + +Performance as described in B.4.3.6.1.1 MUST be met with analogue or digital signal at +10 dBc in any portion of the RF band other than the adjacent channels. + +###### **B.4.3.6.1.3 64 QAM Adjacent channel performance** + +Performance as described in B.4.3.6.1.1 MUST be met with digital signal at 0 dBc in the adjacent channels. + +Performance as described in B.4.3.6.1.1 MUST be met with analogue signal at +10 dBc in the adjacent channels. + +Performance as described in B.4.3.6.1.1, with an additional 0.2-dB allowance, MUST be met with digital signal at +10 dBc in the adjacent channels. + +##### **B.4.3.6.2 256 QAM** + +###### **B.4.3.6.2.1 256 QAM CM BER performance** + +Implementation loss of the CM MUST be such that the CM achieves a post-FEC BER less than or equal to $10^{-8}$ when operating at a carrier to noise ratio ( $E_s/N_0$ ) of 30 dB or greater. + +**Table B.4-12/J.112 –CMTS output** + +| Parameter | Value | +|-----------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Centre Frequency ( $f_c$ ) | 91 to 857 MHz $\pm$ 30 kHz a) | +| Level | Adjustable over the range 50 to 61 dBmV | +| Modulation type | 64 QAM and 256 QAM | +| Symbol rate (nominal)
64 QAM
256 QAM | 5.056941 Msym/s
5.360537 Msym/s | +| Nominal channel spacing | 6 MHz | +| Frequency response
64 QAM
256 QAM | ~18% square root raised cosine shaping
~12% square root raised cosine shaping | +| Total discrete spurious In-band ( $f_c \pm 3$ MHz) | < -57 dBc | +| In-band spurious and noise ( $f_c \pm 3$ MHz) | < -48 dBc; where channel spurious and noise includes all discrete spurious, noise, carrier leakage, clock lines, synthesizer products, and other undesired transmitter products. Noise within $\pm 50$ kHz of the carrier is excluded. | +| Adjacent channel ( $f_c \pm 3.0$ MHz) to ( $f_c \pm 3.75$ MHz) | < -58 dBc in 750 kHz. | +| Adjacent channel ( $f_c \pm 3.75$ MHz) to ( $f_c \pm 9$ MHz) | < -62 dBc in 5.25 MHz, excluding up to 3 spurs, each of which must be < -60 dBc when each is measured with 10 kHz bandwidth. | +| Next adjacent channel ( $f_c \pm 9$ MHz) to ( $f_c \pm 15$ MHz) | < -65 dBc in 6 MHz, excluding up to three discrete spurs. The total power in the spurs must be < -60 dBc when each is measured with 10 kHz bandwidth. | +| Other channels (47 MHz to 1000 MHz) | < -12 dBmV in each 6 MHz channel, excluding up to three discrete spurs. The total power in the spurs must be < -60 dBc when each is measured with 10 kHz bandwidth. | +| Phase noise | 1 kHz-10 kHz: -33 dBc double sided noise power
10 kHz-50 kHz: -51 dBc double sided noise power
50 kHz-3 MHz: -51 dBc double sided noise power | +| Output impedance | 75 ohms | +| Output return loss | > 14 dB within an output channel up to 750 MHz; > 13 dB in an output channel above 750 MHz | +| Connector | F connector per [IPS-SP-401] | + +a) $\pm 30$ kHz includes an allowance of 25 kHz for the largest FCC frequency offset normally built into upconverters. + +**Table B.4-13/J.112 – Electrical input to CM** + +| Parameter | Value | +|--------------------------------|----------------------------------------------------------------------------------------------------------------| +| Centre Frequency | 91 to 857 MHz $\pm$ 30 kHz | +| Level Range (one channel) | –15 dBmV to +15 dBmV | +| Modulation Type | 64 QAM and 256 QAM | +| Symbol Rate (nominal) | 5.056941 Msym/s (64 QAM) and 5.360537 Msym/s (256 QAM) | +| Bandwidth | 6 MHz (18% square root raised cosine shaping for 64 QAM and 12% square root raised cosine shaping for 256 QAM) | +| Total Input Power (40-900 MHz) | < 30 dBmV | +| Input (load) Impedance | 75 ohms | +| Input Return Loss | > 6 dB (88 to 860 MHz) | +| Connector | F connector per [IPS-SP-401] (common with the output) | + +**B.4.3.6.2.2 256 QAM image rejection performance** + +Performance as described in B.4.3.6.2.1 MUST be met with analogue or digital signal at +10 dBc in any portion of the RF band other than the adjacent channels. + +**B.4.3.6.2.3 256 QAM adjacent channel performance** + +Performance as described in B.4.3.6.2.1 MUST be met with analogue or digital signal at 0 dBc in the adjacent channels. + +Performance as described in B.4.3.6.2.1, with an additional 0.5-dB allowance, MUST be met with analogue signal at +10 dBc in the adjacent channels. + +Performance as described in B.4.3.6.2.1, with an additional 1.0-dB allowance, MUST be met with digital signal at +10 dBc in the adjacent channels. + +**B.4.3.7 CMTS timestamp jitter** + +The peak-to-peak jitter, measured at the output of the CMTS, MUST be less than 500 ns. This includes jitter from both the value in the timestamp message, and time of transmission of that message. + +The CM is expected to meet the burst timing accuracy requirements in B.4.2.6 when the time stamps contain this worst-case jitter. + +NOTE – Jitter is the error (i.e. measured) relative to the CMTS Master Clock. (The CMTS Master Clock is the 10.24 MHz clock used for generating the timestamps.) + +The CMTS 10.24 MHz Master Clock MUST have frequency stability of $\leq \pm 5$ ppm, drift rate $\leq 10^{-8}$ per second, and edge jitter of $\leq 10$ ns peak-to-peak ( $\pm 5$ ns). (The drift rate and jitter requirements on the CMTS Master Clock implies that the duration of two adjacent segments of 10 240 000 cycles will be within 30 ns, due to 10 ns jitter on each segments' duration, and 10 ns due to frequency drift. Durations of other counter lengths also may be deduced: adjacent 1 024 000 segments, $\leq 21$ ns; 1 024 000 length segments separated by one 10 240 000 cycles, $\leq 30$ ns; adjacent 102 400 000 segments, $\leq 120$ ns. The CMTS Master Clock MUST meet such test limits in 99% or more measurements.) + +**B.5 Downstream transmission convergence sublayer****B.5.1 Introduction** + +In order to improve demodulation robustness, facilitate common receiving hardware for both video and data, and provide an opportunity for the possible future multiplexing of video and data over the PMD sublayer bitstream defined in B.4, a sublayer is interposed between the downstream PMD sublayer and the Data-Over-Cable MAC sublayer. + +The downstream bitstream is defined as a continuous series of 188-byte MPEG [ITU-T H.222.0] packets. These packets consist of a 4-byte header followed by 184 bytes of payload. The header identifies the payload as belonging to the Data-Over-Cable MAC. Other values of the header may indicate other payloads. The mixture of MAC payloads and those of other services is optional and is controlled by the CM/MTS. + +Figure B.5-1 illustrates the interleaving of Data-Over-Cable (DOC) MAC bytes with other digital information (digital video in the example shown). + +| | | +|----------------|-----------------------| +| Header = DOC | DOC MAC payload | +| Header = video | Digital video payload | +| Header = video | Digital video payload | +| Header = DOC | DOC MAC payload | +| Header = video | Digital video payload | +| Header = DOC | DOC MAC payload | +| Header = video | Digital video payload | +| Header = video | Digital video payload | +| Header = video | Digital video payload | + +**Figure B.5-1/J.112 – Example of interleaving MPEG packets in downstream** + +### B.5.2 MPEG Packet format + +The format of an MPEG Packet carrying MCNS data is shown in Figure B.5-2. The packet consists of a 4-byte MPEG Header, a pointer\_field (not present in all packets) and the MCNS Payload. + +| | | | +|--------------------------|---------------------------|------------------------------------| +| MPEG Header
(4 bytes) | pointer_field
(1 byte) | MCNS Payload
(183 or 184 bytes) | +|--------------------------|---------------------------|------------------------------------| + +**Figure B.5-2/J.112 – Format of an MPEG Packet** + +### B.5.3 MPEG Header for MCNS Data-Over-Cable + +The format of the MPEG Transport Stream Header is defined in 2.4/H.222.0 [ITU-T H.222.0]. The particular field values that distinguish Data-Over-Cable MAC streams are defined in Table B.5-1. Field names are from the ITU specification. + +The MPEG Header consists of 4 bytes that begin the 188-byte MPEG Packet. The format of the header for use on an MCNS Data-Over-Cable PID is restricted to that shown in Table B.5-1. The Header format conforms to the MPEG standard, but its use is restricted in this specification to NOT ALLOW inclusion of an adaptation\_field in the MPEG packets. + +### B.5.4 MPEG Payload for MCNS Data-Over-Cable + +The MPEG Payload portion of the MPEG Packet will carry the MCNS MAC frames. The first byte of the MPEG payload will be a 'pointer\_field' if the payload\_unit\_start\_indicator (PUSI) of the MPEG Header is set. + +**Table B.5-1/J.112 – MPEG Header format for MCNS Data-Over-Cable packets** + +| Field | Length (bits) | Description | +|---------------------------------------------------------------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| sync_byte | 8 | 0x47; MPEG Packet Sync byte. | +| transport_error_indicator | 1 | Indicates an error has occurred in the reception of the packet. This bit is reset to zero by the sender, and set to one whenever an error occurs in transmission of the packet. | +| payload_unit_start_indicator | 1 | A value of one indicates the presence of a pointer_field as the first byte of the payload (fifth byte of the packet) | +| transport_priority | 1 | Reserved; set to zero. | +| PID (see Note) | 13 | MCNS Data-Over-Cable well-known PID (0x1FFE) | +| transport_scrambling_control | 2 | Reserved; set to '00'. | +| adaptation_field_control | 2 | '01'; use of the adaptation_field is NOT ALLOWED on the MCNS PID. | +| continuity_counter | 4 | Cyclic counter within this PID | +| NOTE – In the future, additional PIDs MAY be assigned to a CM. See B.9.3. | | | + +### stuff\_byte + +This standard defines a stuff\_byte pattern having a value (0xFF) that is used within the MCNS Payload to fill any gaps between the MCNS MAC frames. This value is chosen as an unused value for the first byte of the MCNS MAC frame. The 'FC' byte of the MAC Header will be defined to never contain this value. (FC\_TYPE = '11' indicates a MAC-specific frame, and FC\_PARM = '11111' is not currently used and, according to this specification, is defined as an illegal value for FC\_PARM.) + +### pointer\_field + +The pointer\_field is present as the fifth byte of the MPEG packet (first byte following the MPEG Header) whenever the PUSI is set to one in the MPEG Header. The interpretation of the pointer\_field is as follows. + +The pointer\_field contains the number of bytes in this packet that immediately follow the pointer\_field that the CM decoder must skip past before looking for the beginning of an MCNS MAC Frame. A pointer field MUST be present if it is possible to begin a Data-Over-Cable MAC Frame in the packet, and MUST point to either: + +- 1) the beginning of the first MAC frame to start in the packet; or +- 2) any stuff\_byte preceding the MAC frame. + +### B.5.5 Interaction with the MAC sublayer + +MAC frames may begin anywhere within an MPEG Packet, MAC frames may span MPEG packets, and several MAC frames may exist within an MPEG Packet. + +The following figures show the format of the MPEG packets that carry MCNS MAC frames. In all cases, the PUSI flag indicates the presence of the pointer\_field as the first byte of the MPEG Payload. + +Figure B.5-3 shows a MAC Frame that is positioned immediately after the pointer\_field byte. In this case, pointer\_field is zero, and the MCNS decoder will begin searching for a valid FC byte at the byte immediately following the pointer\_field. + +Figure B.5-4 shows the more general case where a MAC Frame is preceded by the tail of a previous MAC Frame and a sequence of stuffing bytes. In this case, the pointer\_field still identifies the first byte after the tail of Frame #1 (a stuff\_byte) as the position where the decoder should begin searching for a legal MAC sublayer FC value. This format allows the multiplexing operation in the CMTS to immediately insert a MAC Frame that is available for transmission if that frame arrives after the MPEG header and pointer\_field have been transmitted. + +| | | | | +|---------------------------|------------------------|--------------------------------|------------------------------| +| MPEG Header
(PUSI = 1) | pointer_field
(= 0) | MAC Frame
(up to 183 bytes) | stuff_byte(s)
(0 or more) | +|---------------------------|------------------------|--------------------------------|------------------------------| + +**Figure B.5-3/J.112 – Packet format where a MAC Frame immediately follows the pointer\_field** + +In order to facilitate multiplexing of the MPEG packet stream carrying MCNS data with other MPEG-encoded data, the CMTS SHOULD NOT transmit MPEG packets with the MCNS PID which contain only stuff\_bytes in the payload area. MPEG null packets SHOULD be transmitted instead. Note that there are timing relationships implicit in the MCNS MAC sublayer which must also be preserved by any MPEG multiplexing operation. + +| | | | | | +|---------------------------|------------------------|-----------------------------------|------------------------------|--------------------------| +| MPEG Header
(PUSI = 1) | pointer_field
(= M) | Tail of MAC Frame #1
(M bytes) | stuff_byte(s)
(0 or more) | Start of MAC
Frame #2 | +|---------------------------|------------------------|-----------------------------------|------------------------------|--------------------------| + +**Figure B.5-4/J.112 – Packet format with MAC Frame preceded by stuffing bytes** + +Figure B.5-5 shows that multiple MAC frames may be contained within the MPEG Packet. The MAC frames may be concatenated one after the other or be separated by an optional sequence of stuffing bytes. + +| | | | | | | +|---------------------------|------------------------|-----------------|-----------------|------------------------------|-----------------| +| MPEG Header
(PUSI = 1) | pointer_field
(= 0) | MAC Frame
#1 | MAC Frame
#2 | stuff_byte(s)
(0 or more) | MAC Frame
#3 | +|---------------------------|------------------------|-----------------|-----------------|------------------------------|-----------------| + +**Figure B.5-5/J.112 – Packet format showing multiple MAC frames in a single packet** + +Figure B.5-6 shows the case where a MAC Frame spans multiple MPEG packets. In this case, the pointer\_field of the succeeding frame points to the byte following the last byte of the tail of the first frame. + +The Transmission Convergence sublayer must operate closely with the MAC sublayer in providing an accurate timestamp to be inserted into the Time Synchronization message (refer to B.6.3.2.1 and B.6.5). + +| | | | | | +|---------------------------|----------------------------------------------|-----------------------------------|--------------------------------------------|------------------------------------| +| MPEG Header
(PUSI = 1) | pointer_field
(= 0) | stuff_byte(s)
(0 or more) | Start of MAC Frame #1
(up to 183 bytes) | | +| MPEG Header
(PUSI = 0) | Continuation of MAC Frame # 1
(184 bytes) | | | | +| MPEG Header
(PUSI = 1) | pointer_field
(= M) | Tail of MAC Frame #1
(M bytes) | stuff_byte(s)
(0 or more) | Start of MAC Frame #2
(M bytes) | + +**Figure B.5-6/J.112 – Packet format where a MAC Frame spans multiple packets** + +#### **B.5.6 Interaction with the Physical layer** + +The MPEG-2 packet stream MUST be encoded according to [ITU-T J.83 B], including MPEG-2 transport framing using a parity checksum as described in [ITU-T J.83 B]. + +### **B.5.7 MPEG Header synchronization and recovery** + +The MPEG-2 packet stream SHOULD be declared "in frame" (i.e. correct packet alignment has been achieved) when five consecutive correct parity checksums, each 188 bytes from the previous one, have been received. + +The MPEG-2 packet stream SHOULD be declared "out of frame", and a search for correct packet alignment started, when nine consecutive incorrect parity checksums are received. + +The format of MAC frames is described in detail in B.6. + +## **B.6 Media access control specification** + +### **B.6.1 Introduction** + +#### **B.6.1.1 Overview** + +This subclause describes version 1.0 of the MCNS MAC protocol. Some of the MAC protocol highlights include: + +- Bandwidth allocation controlled by CMTS. +- A stream of mini-slots in the upstream. +- Dynamic mix of contention- and reservation-based upstream transmit opportunities. +- Bandwidth efficiency through support of variable-length packets. +- Extensions provided for future support of ATM or other Data PDU. +- Class of service support. +- Extensions provided for security at the Data Link layer. +- Support for a wide range of data rates. + +#### **B.6.1.2 Definitions** + +##### **B.6.1.2.1 MAC-sublayer domain** + +A MAC-sublayer domain is a collection of upstream and downstream channels for which a single MAC Allocation and Management protocol operates. Its attachments include one CMTS and some number of CMs. The CMTS MUST service all of the upstream and downstream channels; each CM MAY access one or more upstream and downstream channels. + +##### **B.6.1.2.2 MAC service access point** + +A MAC Service Access Point (MSAP) is an attachment to a MAC-sublayer domain. + +##### **B.6.1.2.3 Service ID** + +The concept of Service IDs is central to the operation of the MAC protocol. Service IDs provide both device identification and class-of-service management. In particular, they are integral to upstream bandwidth allocation. + +A Service ID defines a particular mapping between a CM and the CMTS. This mapping is the basis on which bandwidth is allocated to the CM by the CMTS and by which class of service is implemented. Within a MAC-sublayer domain, all Service IDs MUST be unique. + +The CMTS MAY assign one or more Service IDs (SIDs) to each CM, corresponding to the classes of service required by the CM. This mapping MUST be negotiated between the CMTS and the CM during CM registration. + +In a basic CM implementation, a single Service ID can be used, for example to offer best-effort IP service. However, the Service ID concept allows for more complex CMs to be developed with support for multiple service classes while supporting interoperability with more basic modems. In particular, the Service ID concept is expected to support the concept of "data flows" on which protocols such as RSVP and RTP are based. + +The Service ID is unique within a single MAC-sublayer domain. The length of the Service ID is 14 bits (although the Service ID is sometimes carried in the low-order bits of a 16-bit field). + +#### B.6.1.2.4 Upstream intervals, Mini-slots and 6.25-μs increments + +The upstream transmission time-line is divided into intervals by the upstream bandwidth allocation mechanism. Each interval is an integral number of mini-slots. A "mini-slot" is the unit of granularity for upstream transmission opportunities. There is no implication that any PDU can actually be transmitted in a single mini-slot. Each interval is labeled with a usage code which defines both the type of traffic that can be transmitted during that interval and the physical-layer modulation encoding. A mini-slot is a power-of-two multiple of 6.25-μs increments, i.e. 1, 2, 4, 8, 16, 32, 64, or 128 times 6.25 μs. The relationship between mini-slots, bytes, and time ticks is described further in B.6.5.4. The usage code values are defined in Table B.6-16 and allowed use is defined in B.6.3. The binding of these values to physical-layer parameters is defined in Table B.6-14. + +#### B.6.1.2.5 Frame + +A frame is a unit of data exchanged between two (or more) entities at the Data Link Layer. A MAC Frame consists of a MAC Header (beginning with a Frame Control byte; see Figure B.6-3), and may incorporate ATM cells or a variable-length data PDU. The variable-length PDU includes a pair of 48-bit addresses, data, and a CRC sum. In special cases, the MAC Header may encapsulate multiple MAC frames (see B.6.2.5.4). + +#### B.6.1.3 Future use + +A number of fields are defined as being "for future use" in the various MAC frames described in this annex. These fields MUST NOT be interpreted or used in any manner by this version (1.0) of the MAC protocol. + +### B.6.2 MAC Frame formats + +#### B.6.2.1 Generic MAC Frame format + +A MAC Frame is the basic unit of transfer between MAC sublayers at the CMTS and the cable modem. The same basic structure is used in both the upstream and downstream directions. MAC frames are variable in length. The term "Frame" is used in this context to indicate a unit of information that is passed between MAC sublayer peers. This is not to be confused with the term "framing" that indicates some fixed timing relationship. + +There are three distinct regions to consider, as shown in Figure B.6-1. Preceding the MAC Frame is either PMD sublayer overhead (upstream) or an MPEG transmission convergence header (downstream). The first part of the MAC Frame is the MAC Header. The MAC Header uniquely identifies the contents of the MAC Frame. Following the header is the optional Data PDU region. The format of the Data PDU and whether it is even present is described in the MAC Header. + +![Diagram of Generic MAC Frame format showing PMD overhead (upstream), MPEG PSI Header (downstream), MAC Header, and Data PDU (optional) within a MAC Frame.](4c3cf5d00a9dfdf1705e49f7f3a3d93a_img.jpg) + +The diagram illustrates the structure of a MAC Frame. It shows three main components: PMD overhead (upstream), MPEG PSI Header (downstream), and the MAC Frame itself. The MAC Frame is composed of a MAC Header and an optional Data PDU. The MAC Header is shown as a box labeled "MAC Header (see Figure B.6-3)". The Data PDU is shown as a box labeled "Data PDU (optional) (see Figure B.6-4)". A bracket below these two boxes labels them as the "MAC Frame". The PMD overhead (upstream) is shown as a box above the MAC Frame. The MPEG PSI Header (downstream) is shown as a box below the MAC Frame. The text "T0906430-98/d059" is located in the bottom right corner of the diagram area. + +Diagram of Generic MAC Frame format showing PMD overhead (upstream), MPEG PSI Header (downstream), MAC Header, and Data PDU (optional) within a MAC Frame. + +Figure B.6-1/J.112 – Generic MAC Frame format + +### B.6.2.1.1 PMD overhead + +In the upstream direction, the PHY layer indicates the start of the MAC Frame to the MAC sublayer. From the MAC sublayer's perspective, it only needs to know the total amount of overhead so it can account for it in the Bandwidth Allocation process. More information on this may be found in the PMD sublayer clause (see B.6.4). + +The FEC overhead is spread throughout the MAC frame and is assumed to be transparent to the MAC data stream. The MAC sublayer does need to be able to account for the overhead when doing Bandwidth Allocation. More information on this may be found in the Upstream Bandwidth Allocation clause (see B.6.4). + +### B.6.2.1.2 MAC Frame transport + +The transport of MAC frames by the PMD sublayer for upstream channels is shown in Figure B.6-2. + +![Diagram of upstream MAC/PMD convergence showing MAC frames being segmented into bursts with PMD overhead and FEC.](55d0ecdde4d2ccdeedbd144ac0fecd2d_img.jpg) + +The diagram illustrates the upstream MAC/PMD convergence process. It is divided into three horizontal layers by dashed lines: 'Upper layer' at the top, 'MAC sublayer' in the middle, and 'PMD sublayer' at the bottom. In the MAC sublayer, three 'MAC Frame' blocks are shown, with ellipses indicating more frames. Vertical dashed lines extend from the start of each MAC frame down to the PMD sublayer. In the PMD sublayer, each MAC frame is shown as a sequence of segments: 'PMD overhead', 'Data', and 'FEC'. Arrows labeled 'Start of burst at mini-slot boundary' point to the beginning of each sequence. Additional ellipses and labels like 'PMD overhead' are present at the ends of the sequences. A small text label 'T0904890-97/d060' is in the bottom right corner. + +Diagram of upstream MAC/PMD convergence showing MAC frames being segmented into bursts with PMD overhead and FEC. + +Figure B.6-2/J.112 – Upstream MAC/PMD convergence + +The layering of MAC frames over MPEG in the downstream channel is described in B.5. + +### B.6.2.1.3 Ordering of bits and octets + +Within an octet, the least-significant bit is the first transmitted on the wire. This follows the convention used by Ethernet and [ISO/IEC 8802-3]. This is often called bit-little-indian order3. + +3 This applies to the upstream channel only. For the downstream channel, the MPEG transmission convergence sublayer presents an octet-wide interface to the MAC, so the MAC sublayer does not define the bit order. + +Within the MAC layer, when numeric quantities are represented by more than one octet (i.e. 16-bit and 32-bit values), the octet containing the most-significant bits is the first transmitted on the wire. This subclause follows the textual convention that when bit-fields are presented in tables, the most-significant bits are topmost in the table. For example, in Table B.6-2, FC\_TYPE occupies the two most-significant bits and EHDR\_ON occupies the least-significant bit. This is sometimes called byte-big-indian order. + +#### B.6.2.1.3.1 Representing negative numbers + +Signed integer values will be transmitted and received in two's complement format. + +#### B.6.2.1.4 MAC Header format + +The MAC Header format MUST be as shown in Figure B.6-3. + +![Diagram of MAC Header format showing fields FC (1 byte), MAC_PARM (1 byte), LEN (SID) (2 bytes), EHDR (0-240 bytes), and HCS (2 bytes). The FC field is expanded to show its internal bit fields: FC_TYPE (2 bits), FC_PARM (5 bits), and EHDR_ON (1 bit).](886af5e2ffd5d8f11079c547675cf882_img.jpg) + +The diagram illustrates the MAC Header structure. The main header consists of five fields: FC (1 byte), MAC\_PARM (1 byte), LEN (SID) (2 bytes), EHDR (0-240 bytes), and HCS (2 bytes). The FC field is expanded to show its internal bit fields: FC\_TYPE (2 bits), FC\_PARM (5 bits), and EHDR\_ON (1 bit). The text 'T0906440-98/d061' is located to the right of the diagram. + +Diagram of MAC Header format showing fields FC (1 byte), MAC\_PARM (1 byte), LEN (SID) (2 bytes), EHDR (0-240 bytes), and HCS (2 bytes). The FC field is expanded to show its internal bit fields: FC\_TYPE (2 bits), FC\_PARM (5 bits), and EHDR\_ON (1 bit). + +Figure B.6-3/J.112 – MAC Header format + +All MAC headers MUST have the general format as shown in Table B.6-1. The Frame Control (FC) field is the first byte and uniquely identifies the rest of the contents within the MAC Header. The FC field is followed by 3 bytes of MAC control; an OPTIONAL Extended Header (EHDR) field; plus a Header Check Sequence (HCS) to ensure the integrity of the MAC Header. + +Table B.6-1/J.112 – Generic MAC Header format + +| MAC Header field | Usage | Size | +|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------| +| FC | Frame Control: identifies type of MAC Header | 8 bits | +| MAC_PARM | Parameter field whose use is dependent on FC:
if EHDR_ON = 1; used for EHDR field length (ELEN)
else if for concatenated frames (see Table B.6-14) used for MAC frame count
else (for Requests only) indicates the number of mini-slots and/or ATM cells requested | 8 bits | +| LEN (SID) | The length of the MAC frame: the length is defined to be the sum of the number of bytes in the extended header (if present) and the number of bytes following the HCS field. (For a REQ Header, this field is the Service ID instead) | 16 bits | +| EHDR | Extended MAC Header (where present; variable size). | 0-240 bytes | +| HCS | MAC Header check sequence | 2 bytes | +| | Length of a MAC Header | 6 bytes + EHDR | + +The HCS field is a 16-bit CRC that ensures the integrity of the MAC Header, even in a collision environment. The HCS field coverage MUST include the entire MAC Header, starting with the FC field and including any EHDR field that may be present. The HCS is calculated using CRC-CCITT ( $x^{16} + x^{12} + x^5 + 1$ ) as defined in [ITU-T X.25]. + +The FC field is broken down into the FC\_TYPE sub-field, FC\_PARM sub-field and an EHDR\_ON indication flag. The format of the FC field MUST be as shown in Table B.6-2. + +**Table B.6-2/J.112 – FC field format** + +| FC field | Usage | Size | +|----------|------------------------------------------------------------------------------------------------------------------------------------------------|--------| +| FC_TYPE | MAC Frame Control type field:
00: Packet PDU MAC Header
01: ATM PDU MAC Header
10: Reserved PDU MAC Header
11: MAC-specific Header | 2 bits | +| FC_PARM | Parameter bits, use dependent on FC_TYPE. | 5 bits | +| EHDR_ON | When = 1, indicates that EHDR field is present.
[Length of EHDR (ELEN) determined by MAC_PARM field] | 1 bit | + +The FC\_TYPE sub-field is the two MSBs of the FC field. These bits MUST always be interpreted in the same manner to indicate one of four possible MAC frame formats. These types include: MAC Header with Packet PDU; MAC Header with ATM cells; MAC Header reserved for future PDU types; or a MAC Header used for specific MAC control purposes. These types are spelled out in more detail in the remainder of this subclause. + +The five bits following the FC\_TYPE sub-field form the FC\_PARM sub-field. The use of these bits is dependent on the type of MAC Header. The LSB of the FC field is the EHDR\_ON indicator. If this bit is set, then an Extended Header (EHDR) is present. The EHDR provides a mechanism to allow the MAC Header to be extensible in an interoperable manner. + +The Transmission Convergence Sublayer stuff-byte pattern is defined to be a value of 0xFF. This precludes the use of FC byte values which have FC\_TYPE = '11' and FC\_PARM = '11111'. + +The MAC\_PARM field of the MAC Header serves several purposes depending on the FC field. If the EHDR\_ON indicator is set, then the MAC\_PARM field MUST be used as the Extended Header length (ELEN). The EHDR field MAY vary from 0 to 240 bytes. If this is a concatenation MAC Header, then the MAC\_PARM field represents the number of MAC frames (CNT) in the concatenation (see B.6.2.5.4). If this is a Request MAC Header (REQ) (see B.6.2.5.3), then the MAC\_PARM field represents the amount of bandwidth being requested. In all other cases, the MAC\_PARM field is reserved for future use. + +The third field has two possible uses. In most cases, it indicates the length (LEN) of this MAC frame. In one special case, the Request MAC Header, it is used to indicate the cable modem's Service ID since no PDU follows the MAC Header. + +The Extended Header (EHDR) field provides extensions to the MAC frame format. It is used to implement data link security and can be extended to add support for additional functions in future releases. Initial implementations SHOULD pass this field to the processor. This will allow future software upgrades to take advantage of this capability. (Refer to B.6.2.6, "Extended MAC Headers", for details.) + +#### **B.6.2.1.5 Data PDU** + +The MAC Header MAY be followed by a Data PDU. The type and format of the Data PDU is defined in the Frame Control field of the MAC Header. The FC field explicitly defines a Packet Data PDU, an ATM Data PDU, a MAC Header only frame (no PDU) and a reserved code point (used as an escape mechanism for future extensions). All CMs MUST use the length in the MAC Header to skip over any reserved data. + +### B.6.2.2 Packet-Based MAC frames + +#### B.6.2.2.1 Variable-length packets + +The MAC sublayer MUST support a variable-length Ethernet and [ISO/IEC 8802-3] type Packet Data PDU. The Packet PDU MUST be passed across the network in its entirety, including its original CRC. A unique Packet MAC Header is appended to the beginning. The frame format without an Extended header MUST be as shown in Figure B.6-4 and Table B.6-3. + +![Diagram of Ethernet and ISO/IEC 8802-3 Packet PDU format. The top row shows the main fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Packet PDU (18-1518 bytes). The FC field is expanded into FC_TYPE (00), FC_PARM (00000), and EHDR_ON (0). The Packet PDU is expanded into DA (6 bytes), SA (6 bytes), Type/Len (2 bytes), User Data (0-1500), and CRC (4 bytes).](8faeb7db381e28ab1ba06e9f48c19c6e_img.jpg) + +The diagram illustrates the structure of a Packet MAC frame. The top row shows the main fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Packet PDU (18-1518 bytes). The FC field is expanded into three sub-fields: FC\_TYPE (00), FC\_PARM (00000), and EHDR\_ON (0). The Packet PDU is expanded into five sub-fields: DA (6 bytes), SA (6 bytes), Type/Len (2 bytes), User Data (0-1500), and CRC (4 bytes). The diagram is labeled T0904910-97/d062. + +Diagram of Ethernet and ISO/IEC 8802-3 Packet PDU format. The top row shows the main fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Packet PDU (18-1518 bytes). The FC field is expanded into FC\_TYPE (00), FC\_PARM (00000), and EHDR\_ON (0). The Packet PDU is expanded into DA (6 bytes), SA (6 bytes), Type/Len (2 bytes), User Data (0-1500), and CRC (4 bytes). + +NOTE – Frame size is limited to 1518 bytes in the absence of VLAN tagging. Cooperating devices which implement IEEE 802.1Q VLAN tagging MAY use a frame size up to 1522 bytes. + +**Figure B.6-4/J.112 – Ethernet and ISO/IEC 8802-3 Packet PDU format** + +**Table B.6-3/J.112 – Packet PDU format** + +| Field | Usage | Size | +|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------| +| FC | FC_TYPE = 00; Packet MAC Header.
FC_PARM[4:0] = 00000; other values reserved for future use and ignored.
EHDR_ON = 0; no EHDR present this example. | 8 bits | +| MAC_PARM | Reserved, MUST be set to zero if there is no EHDR; otherwise set to length of EHDR. | 8 bits | +| LEN | LEN = n; length of Packet PDU in bytes. | 16 bits | +| EHDR | Extended MAC Header not present in this example | 0 bytes | +| HCS | MAC Header check sequence | 2 bytes | +| Packet data | Packet PDU:
DA – 48 bit Destination address
SA – 48 bit Source address
Type/Len – 16-bit Ethernet type or [ISO/IEC 8802-3] length field
User Data (variable length, 0-1500 bytes)
CRC – 32-bit CRC over packet PDU (as defined in Ethernet and [ISO/IEC 8802-3]) | n bytes | +| | Length of Packet MAC frame | 6 + n bytes | + +### B.6.2.3 ATM cell MAC frames + +ATM transport is not defined in this specification. + +In order to allow current frame-based CMs to operate in a possible future downstream channel in which ATM cells and frames are mixed, a code point for ATM has been defined. This will allow current modems to ignore ATM cells while receiving frames. The frame format MUST be as shown in Figure B.6-5 and Table B.6-4. + +![Diagram of ATM cell MAC Frame format. The main frame consists of five fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and ATM cells (n x 53 bytes). A dashed line from the FC field points to a detailed view showing its internal structure: FC_TYPE = 01, FC_PARM = 00000, and EHDR_ON = 0. The diagram is labeled T0904920-97/d063.](e47d450f315d0b633906c03cc91f90ef_img.jpg) + +Diagram of ATM cell MAC Frame format. The main frame consists of five fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and ATM cells (n x 53 bytes). A dashed line from the FC field points to a detailed view showing its internal structure: FC\_TYPE = 01, FC\_PARM = 00000, and EHDR\_ON = 0. The diagram is labeled T0904920-97/d063. + +**Figure B.6-5/J.112 – ATM cell MAC Frame format** + +**Table B.6-4/J.112 – ATM cell MAC Frame format** + +| Field | Usage | Size | +|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------| +| FC | FC_TYPE = 01; ATM cell format MAC Header.
FC_PARM[4:0] = 00000; other values reserved for future use and ignored.
EHDR_ON = 0; no EHDR present in this example. | 8 bits | +| MAC_PARM | Reserved, MUST be set to zero if there is no EHDR; otherwise set to length of EHDR. | 8 bits | +| LEN | LEN = n × 53; length of ATM cell PDU, in bytes | 16 bits | +| EHDR | Extended MAC Header not present in this example | 0 bytes | +| HCS | MAC Header check sequence | 2 bytes | +| ATM data | ATM cell PDU | n × 53 bytes | +| | Length of ATM cells based MAC Frame | 6 + n × 53 bytes | + +#### B.6.2.4 Reserved PDU MAC frames + +The MAC sublayer provides a reserved FC code point to allow for support of future (to be defined) PDU formats. The FC field of the MAC Header indicates that a Reserved PDU is present. This PDU MUST be silently discarded by MAC implementations of this version (1.0) of the specification. Compliant version 1.0 implementations MUST use the length field to skip over the Reserved PDU. + +The format of the Reserved PDU without an extended header MUST be as shown in Figure B.6-6 and Table B.6-5. + +![Diagram of Reserved PDU format. The main frame consists of five fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Reserved PDU (n bytes). A dashed line from the FC field points to a detailed view showing its internal structure: FC_TYPE = 10, FC_PARM = RRRRR, and EHDR_ON = 0. The diagram is labeled T0904930-97/d064.](c81ba32b61950526476a859c10956433_img.jpg) + +Diagram of Reserved PDU format. The main frame consists of five fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Reserved PDU (n bytes). A dashed line from the FC field points to a detailed view showing its internal structure: FC\_TYPE = 10, FC\_PARM = RRRRR, and EHDR\_ON = 0. The diagram is labeled T0904930-97/d064. + +**Figure B.6-6/J.112 – Reserved PDU format** + +**Table B.6-5/J.112 – Reserved PDU format** + +| Field | Usage | Size | +|-----------|-----------------------------------------------------------------------------------------------------------------------------------|-------------| +| FC | FC_TYPE = 10; Reserved PDU MAC Header.
FC_PARM[4:0]; reserved for future use.
EHDR_ON = 0; no EHDR present in this example. | 8 bits | +| MAC_PARM | Reserved for future use | 8 bits | +| LEN | LEN = n; length of Reserved PDU in bytes. | 16 bits | +| EHDR | EHDR = 0; extended MAC Header not present in this example. | 0 bytes | +| HCS | MAC Header check sequence | 2 bytes | +| User data | Reserved Data PDU | n bytes | +| | Length of a Reserved PDU MAC Frame | 6 + n bytes | + +**B.6.2.5 MAC-specific headers** + +There are several MAC headers which are used for very specific functions. These functions include support for downstream timing and upstream ranging/power adjust, requesting bandwidth and concatenating multiple MAC frames. + +**B.6.2.5.1 Timing Header** + +A specific MAC Header is identified to help support the timing and adjustments required. In the downstream, this MAC Header MUST be used to transport the Global Timing Reference to which all cable modems synchronize. In the upstream, this MAC Header MUST be used as part of the Ranging message needed for a cable modem’s timing and power adjustments. The Timing MAC Header is followed by a Packet Data PDU. The format MUST be as shown in Figure B.6-7 and Table B.6-6. + +![Diagram of the Timing MAC Header structure. It shows a sequence of fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Packet PDU (various lengths). A dashed line with arrows points from the FC field to a detailed view of its 8-bit structure: FC_TYPE = 11, FC_PARM = 00000, and EHDR_ON = 0. The diagram is labeled T0904940-97/d065.](eea0bd1826a6e1bdcadff03936a7b20a_img.jpg) + +Diagram of the Timing MAC Header structure. It shows a sequence of fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Packet PDU (various lengths). A dashed line with arrows points from the FC field to a detailed view of its 8-bit structure: FC\_TYPE = 11, FC\_PARM = 00000, and EHDR\_ON = 0. The diagram is labeled T0904940-97/d065. + +**Figure B.6-7/J.112 – Timing MAC Header** + +**B.6.2.5.2 MAC management Header** + +A specific MAC Header is identified to help support the MAC management messages required. This MAC Header MUST be used to transport all MAC management messages (refer to B.6.3). The format MUST be as shown Figure B.6-8 and Table B.6-7. + +**Table B.6-6/J.112 – Timing MAC Header format** + +| Field | Usage | Size | +|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------|-------------| +| FC | FC_TYPE = 11; MAC-specific Header.
FC_PARM[4:0] = 00000; timing MAC Header.
EHDR_ON = 0; extended header prohibited for SYNC and RNG-REQ. | 8 bits | +| MAC_PARM | Reserved for future use | 8 bits | +| LEN | LEN = n; length of Packet PDU in bytes. | 16 bits | +| EHDR | Extended MAC Header not present | 0 bytes | +| HCS | MAC Header check sequence | 2 bytes | +| Packet data | MAC Management message:
SYNC message (downstream only)
RNG-REQ (upstream only) | n bytes | +| | Length of Timing Message MAC Frame | 6 + n bytes | + +![Diagram of Management MAC Header structure. The top row shows fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and MAC Management message. A dashed line from the FC field points to a detailed view below, which shows FC_TYPE = 11, FC_PARM = 00001, and EHDR_ON. A label T0904950-97/d066 is present to the right.](4c63a0e17b54c7e61d512c276932114c_img.jpg) + +Diagram of Management MAC Header structure. The top row shows fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and MAC Management message. A dashed line from the FC field points to a detailed view below, which shows FC\_TYPE = 11, FC\_PARM = 00001, and EHDR\_ON. A label T0904950-97/d066 is present to the right. + +**Figure B.6-8/J.112 – Management MAC Header** + +**Table B.6-7/J.112 – Management MAC Header format** + +| Field | Usage | Size | +|-------------|-----------------------------------------------------------------------|--------------------| +| FC | FC_TYPE = 11; MAC-specific Header.
FC_PARM[4:0] = 00001
EHDR_ON | 8 bits | +| MAC_PARM | Reserved for future use | 8 bits | +| LEN | LEN = n; length of Packet PDU in bytes. | 16 bits | +| EHDR | Extended MAC Header not present in this example | 0 bytes | +| HCS | MAC Header check sequence | 2 bytes | +| Packet data | MAC Management message | n bytes | +| | Length of Management MAC Frame | 6 + n bytes + EHDR | + +**B.6.2.5.3 Request MAC Header** + +The Request MAC Header is the basic mechanism that a cable modem uses to request bandwidth. As such, it is only applicable in the upstream. There MUST be no Data PDUs following the Request MAC Header. The general format of the Request MUST be as shown in Figure B.6-9 and Table B.6-8. + +Because the Request MAC Header does not have a Data PDU following it, the LEN field is not needed. The LEN field MUST be replaced with an SID. The SID MUST uniquely identify a particular service queue within a given station. + +The bandwidth request, REQ, MUST be specified in either mini-slots or in ATM cells. The REQ field MUST indicate the current total amount of bandwidth requested for this service queue including appropriate allowance for the PHY overhead. + +![Diagram of Request MAC Header format showing fields FC (1 byte), MAC_PARM (1 byte), SID (2 bytes), and HCS (2 bytes). The FC field is expanded to show FC_TYPE = 11, FC_PARM = R0010, and EHDR_ON = 0. Reference T0904960-97/d067.](69d00e8adf9811292427fb2ce6712e39_img.jpg) + +Diagram of Request MAC Header format showing fields FC (1 byte), MAC\_PARM (1 byte), SID (2 bytes), and HCS (2 bytes). The FC field is expanded to show FC\_TYPE = 11, FC\_PARM = R0010, and EHDR\_ON = 0. Reference T0904960-97/d067. + +Figure B.6-9/J.112 – Request MAC Header format + +Table B.6-8/J.112 – Request MAC Header (REQ) format + +| Field | Usage | Size | +|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------| +| FC | FC_TYPE = 11; MAC-specific Header.
FC_PARM[3:0] = 0010; MAC Header only; no data PDU following.
FC_PARM[4] indicates if REQ is in mini-slots or ATM cells.
[4] = 0; mini-slot REQ.
[4] = 1; ATM cell REQ.
EHDR_ON = 0; no EHDR allowed. | 8 bits | +| MAC_PARM | REQ, total amount of bandwidth requested (upstream only):
if FC_PARM[4] = 0; REQ is number of mini-slots.
if FC_PARM[4] = 1; REQ is number of ATM cells. | 8 bits | +| SID | Service ID (0 ...0x3FFF) | 16 bits | +| EHDR | Extended MAC Header not allowed | 0 bytes | +| HCS | MAC Header check sequence | 2 bytes | +| | Length of a REQ MAC Header | 6 bytes | + +**B.6.2.5.4 Concatenation** + +A Specific MAC Header is defined to allow multiple MAC frames to be concatenated. This allows a single MAC "burst" to be transferred across the network. The PHY overhead and the Concatenation MAC Header only occur once. Concatenation of multiple MAC frames MUST be as shown in Figure B.6-10. + +A compliant CMTS & CM MAY support concatenation. + +NOTE – Concatenation only applies to upstream traffic. Concatenation MUST NOT be used on downstream traffic. + +![Diagram of Concatenation of multiple MAC frames showing PHY Overhead, MAC Hdr (Concat), MAC Frame 1 (MAC HDR + optional PDU), and MAC Frame n (MAC HDR + optional PDU). Reference T0906030-97/d068.](7e96b46e088584838469f51c1d8d16da_img.jpg) + +Diagram of Concatenation of multiple MAC frames showing PHY Overhead, MAC Hdr (Concat), MAC Frame 1 (MAC HDR + optional PDU), and MAC Frame n (MAC HDR + optional PDU). Reference T0906030-97/d068. + +Figure B.6-10/J.112 – Concatenation of multiple MAC frames + +Only one Concatenation MAC Header MUST be present per MAC "burst". Nested concatenation MUST NOT be allowed. Immediately following the Concatenation MAC Header MUST be the MAC Header of the first MAC Frame. Information within the MAC Header indicates the length of the first MAC Frame and provides a means to find the start of the next MAC Frame. Each MAC Frame within a concatenation MUST be unique and MAY be of any type. This means that Packet, ATM, Reserved PDU and MAC-specific frames MAY be mixed together. The embedded MAC frames MAY be addressed to different destinations and MUST be delivered as if they were transmitted individually. + +The format of the Concatenation MAC Header MUST be as shown in Figure B.6-11 and Table B.6-9. + +The MAC\_PARM field MUST be used to indicate the total count of MAC frames (CNT) in this concatenation burst. If the count equals zero, then there is an unspecified number of MAC frames. The LEN field indicates the length of the entire concatenation. This is slightly different than the LEN field within an individual MAC Header which only indicates the length of that MAC frame. + +![Diagram of Concatenation MAC Header format. The header consists of four fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), and HCS (2 bytes). The FC field is expanded to show its internal structure: FC_TYPE = 11, FC_PARM = 11100, and EHDR_ON = 0. A dashed line connects the FC field to its expanded view. A label T0904970-97/d069 is present below the HCS field.](93bd00a00fa28558486f0664550699b1_img.jpg) + +Diagram of Concatenation MAC Header format. The header consists of four fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), and HCS (2 bytes). The FC field is expanded to show its internal structure: FC\_TYPE = 11, FC\_PARM = 11100, and EHDR\_ON = 0. A dashed line connects the FC field to its expanded view. A label T0904970-97/d069 is present below the HCS field. + +**Figure B.6-11/J.112 – Concatenation MAC Header format** + +**Table B.6-9/J.112 – Concatenated MAC Frame format** + +| Field | Usage | Size | +|-------------|---------------------------------------------------------------------------------------------------------------------------------------|---------------| +| FC | FC_TYPE = 11; MAC-specific Header
FC_PARM[4:0] = 11100; Concatenation MAC Header
EHDR_ON = 0; no EHDR with Concatenation Header | 8 bits | +| MAC_PARM | CNT, number of MAC frames in this concatenation
CNT = 0 indicates unspecified number of MAC frames | 8 bits | +| LEN | LEN = x + ... + y; length of all following MAC frames in bytes | 16 bits | +| EHDR | Extended MAC Header MUST NOT be used | 0 bytes | +| HCS | MAC Header check sequence | 2 bytes | +| MAC Frame 1 | first MAC frame: MAC Header plus OPTIONAL data PDU | x bytes | +| MAC Frame n | last MAC frame: MAC Header plus OPTIONAL data PDU | y bytes | +| | Length of Concatenated MAC Frame | 6 + LEN bytes | + +### B.6.2.6 Extended MAC headers + +Every MAC Header, except the Timing, Concatenation MAC Header and Request Frame, has the capability of defining an Extended Header field (EHDR). The presence of an EHDR field MUST be indicated by the EHDR\_ON flag in the FC field being set. Whenever this bit is set, then the MAC\_PARM field MUST be used as the EHDR length (ELEN). The minimum defined EHDR is 1 byte. The maximum EHDR length is 240 bytes. + +A compliant CMTS & CM MUST support extended headers. + +The format of a generic MAC Header with an Extended Header included MUST be as shown in Figure B.6-12 and Table B.6-10. + +NOTE – Extended Headers MUST NOT be used in a Concatenation MAC Header, but MAY be included as part of the MAC headers within the concatenation. + +Extended headers MUST NOT be used in Request and Timing MAC headers. + +![Figure B.6-12/J.112 – Extended MAC format diagram. The top part shows a MAC frame structure: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), EHDR (1-240 bytes), HCS (2 bytes), and data PDU (optional). Below this, two callouts show detailed field structures. The first callout for the FC field shows FC_TYPE = XX, FC_PARM (reserved), and EHDR_ON = 1. The second callout for the EHDR field shows a repeating structure of EH_TYPE (4 bits), EH_LEN (4 bits), EH_VALUE (0-15 bytes), and a 'repeat' indicator. A small code T0906450-98/d070 is visible at the bottom right.](dbf5c0f3c7836f717d9fe62c6c40b280_img.jpg) + +Figure B.6-12/J.112 – Extended MAC format diagram. The top part shows a MAC frame structure: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), EHDR (1-240 bytes), HCS (2 bytes), and data PDU (optional). Below this, two callouts show detailed field structures. The first callout for the FC field shows FC\_TYPE = XX, FC\_PARM (reserved), and EHDR\_ON = 1. The second callout for the EHDR field shows a repeating structure of EH\_TYPE (4 bits), EH\_LEN (4 bits), EH\_VALUE (0-15 bytes), and a 'repeat' indicator. A small code T0906450-98/d070 is visible at the bottom right. + +Figure B.6-12/J.112 – Extended MAC format + +Table B.6-10/J.112 – Extended Header format + +| Field | Usage | Size | +|----------|----------------------------------------------------------------------------------------------------------------------------------------|-----------------| +| FC | FC_TYPE = XX; applies to all MAC Headers.
FC_PARM[4:0] = XXXXX; dependent on FC_TYPE.
EHDR_ON = 1; EHDR present in this example. | 8 bits | +| MAC_PARM | ELEN = x; length of EHDR in bytes. | 8 bits | +| LEN | LEN = x + y; length of EHDR plus OPTIONAL data PDU in bytes. | 16 bits | +| EHDR | Extended MAC Header present in this example | x bytes | +| HCS | MAC Header check sequence | 2 bytes | +| PDU | OPTIONAL data PDU | y bytes | +| | Length of MAC Frame with EHDR | 6 + x + y bytes | + +Since the EHDR increases the length of the MAC frame, the LEN field MUST be increased to include both the length of the Data PDU and the length of the EHDR. + +The EHDR field consists of one or more EH elements. Each EH element is variable sized. The first byte of the EH element MUST contain a type and a length field. Every CM MUST use this length to skip over any unknown EH elements. The format of an EH element MUST be as shown in Table B.6-11. + +Table B.6-11/J.112 – EH element format + +| EH element fields | Usage | Size | +|-------------------|-----------------------|------------| +| EH_TYPE | EH element type field | 4 bits | +| EH_LEN | Length of EH_VALUE | 4 bits | +| EH_VALUE | EH element data | 0-15 bytes | + +The types of EH element defined in Table B.6-12 MUST be supported. Reserved and extended types are undefined at this point and SHOULD be ignored. + +The first eight EH element types are intended for one-way transfer between the cable modem and the CMTS. The next seven EH element types are for end-to-end usage within a MAC-sublayer domain. Thus, the information attached to the EHDR on the upstream MUST also be attached when the information is forwarded. The final EH element type is an escape mechanism that allows for more types and longer values, and MUST be as shown in Table B.6-12. + +**Table B.6-12/J.112 – EH element format** + +| EH_TYPE | EH_LEN | EH_VALUE | +|----------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------| +| 0 | 0 | Null configuration setting: may be used to pad the extended header. The EH_LEN MUST be zero, but the configuration setting may be repeated. | +| 1 | 3 | Request: mini-slots requested (1 byte); SID (2 bytes) [CM → CMTS]. | +| 2 | 2 | Acknowledgment requested; SID (2 bytes) [CM → CMTS]. | +| 3 (= BP_UP) | 4 | Upstream Privacy EH element [MCNS8] | +| 4 (= BP_DOWN) | 4 | Downstream Privacy EH element [MCNS8] | +| 5 (= SS_UP) | 8 or 9 | Upstream Security Header [MCNS2] | +| 6 (= SS_DOWN) | 8 or 9 | Downstream Security Header [MCNS2] | +| 7 | | Reserved | +| 8 | 4 | Reserved | +| 10-14 | | Reserved [CM ↔ CM] | +| 15 | XX | Extended EH element: EHX_TYPE (1 byte), EHX_LEN (1 byte), EH_VALUE (length determined by EHX_LEN). | + +### B.6.2.7 Error-Handling + +The cable network is a potentially harsh environment that may cause several different error conditions to occur. This subclause, together with B.7.2.17, describes the procedures that are required when an exception occurs at the MAC framing level. + +The most obvious type of error occurs when the HCS on the MAC Header fails. This may be a result of noise on the network or possibly by collisions in the upstream channel. Framing recovery on the downstream channel is performed by the MPEG transmission convergence sublayer. In the upstream channel, framing is recovered on each transmitted burst, such that framing on one burst is independent of framing on prior bursts. Hence, framing errors within a burst are handled by simply ignoring that burst, i.e. errors are unrecoverable until the next burst. + +A second exception, which applies only to the upstream, occurs when the Length field is corrupted and the MAC thinks the frame is longer than it actually is. Synchronization will recover at the next valid upstream data interval. + +For every MAC transmission, the HCS MUST be verified. When a bad HCS is detected, the MAC Header and any payload MUST be dropped. + +For Packet PDU transmissions, a bad CRC MAY be detected. Since the CRC only covers the Data PDU and the HCS covers the MAC Header; the MAC Header is still considered valid. Thus, the Packet PDU MUST be dropped, but any pertinent information in the MAC Header (e.g. bandwidth request information) MAY be used. + +## B.6.3 MAC Management messages + +### B.6.3.1 MAC Management message Header + +MAC management messages MUST be encapsulated in an LLC unnumbered information frame per [ISO/IEC 8802-2], which in turn is encapsulated within the cable network MAC framing, as shown in Figure B.6-13. Figure B.6-13 shows the MAC Header and the MAC Management Message Header fields which are common across all MAC Management messages. + +![Diagram of MAC Header and MAC Management Message Header fields. The diagram shows the bit layout from 0 to 31. The MAC Header (bits 0-15) contains FC (0-7), MAC_PARM (8-15), LEN (16-23), and HCS (24-31). The MAC Management Message Header (bits 16-31) contains DA (16-23), DA (24-31), SA (32-39), msg LEN (40-47), DSAP (48-55), SSAP (56-63), control (64-71), version (72-79), type (80-87), RSVD (88-95), Management message payload (variable length), and CRC (end). Labels on the right indicate the MAC Header, MAC Management Message Header, and Management message payload.](beda549cc2a4e2b9ac7f74fe9ed72b67_img.jpg) + +T0906460-98/d071 + +Diagram of MAC Header and MAC Management Message Header fields. The diagram shows the bit layout from 0 to 31. The MAC Header (bits 0-15) contains FC (0-7), MAC\_PARM (8-15), LEN (16-23), and HCS (24-31). The MAC Management Message Header (bits 16-31) contains DA (16-23), DA (24-31), SA (32-39), msg LEN (40-47), DSAP (48-55), SSAP (56-63), control (64-71), version (72-79), type (80-87), RSVD (88-95), Management message payload (variable length), and CRC (end). Labels on the right indicate the MAC Header, MAC Management Message Header, and Management message payload. + +**Figure B.6-13/J.112 – MAC Header and MAC Management Message Header fields** + +The fields MUST be as defined below: + +| | | +|-----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| FC, MAC_PARM, LEN, HCS | Common MAC frame header – Refer to B.6.2.1.4 for details. All messages use a MAC-specific header. | +| Destination Address (DA) | MAC management frames will be addressed to a specific CM unicast address or to the MCNS management multicast address. These MCNS MAC management addresses are described in Appendix B.I. | +| Source Address (SA) | The MAC address of the source CM or CMTS system. | +| Msg Length | Length of the MAC message from DSAP to the end of the payload. | +| DSAP | The LLC null SAP (00) as defined by [ISO/IEC 8802-2]. | +| SSAP | The LLC null SAP (00) as defined by [ISO/IEC 8802-2]. | +| Control | Unnumbered information frame (03) as defined by [ISO/IEC 8802-2]. | +| Version | 1 octet
This field defines the version of the MAC management protocol in use. Set to 1 for this version. | +| Type | 1 octet
This field defines the type of this particular MAC management message. | +| RSVD | 1 octet
This field is used to align the message payload on a 32-bit boundary. Set to 0 for this version. | +| Management Message Payload | Variable length
As defined for each specific management message. | +| CRC | Covers message including header fields (DA, SA, ...). Polynomial defined by [ISO/IEC 8802-3]. | + +**Table B.6-13/J.112 – MAC Management message types** + +| Type value | Message name | Message description | +|------------|--------------|-----------------------------------------| +| 1 | SYNC | Timing Synchronization | +| 2 | UCD | Upstream Channel Descriptor | +| 3 | MAP | Upstream Bandwidth Allocation | +| 4 | RNG-REQ | Ranging Request | +| 5 | RNG-RSP | Ranging Response | +| 6 | REG-REQ | Registration Request | +| 7 | REG-RSP | Registration Response | +| 8 | UCC-REQ | Upstream Channel Change Request | +| 9 | UCC-RSP | Upstream Channel Change Response | +| 10 | TRI-TCD | Telephony Channel Descriptor [MCNS6] | +| 11 | TRI-TSI | Termination System Information [MCNS6] | +| 12 | BPKM-REQ | Privacy Key Management Request [MCNS8] | +| 13 | BPKM-RSP | Privacy Key Management Response [MCNS8] | +| 14-255 | | Reserved for future use | + +**B.6.3.2 MAC management messages** + +A compliant CMTS or CM MUST support the following management message types. + +**B.6.3.2.1 Time Synchronization (SYNC)** + +Time Synchronization (SYNC) MUST be transmitted by CMTS at a periodic interval to establish MAC sublayer timing. This message MUST use an FC field of type: Timing. This MUST be followed by a Packet PDU in the format shown in Figure B.6-14. + +![Diagram showing the format of a Packet PDU following the timing Header. It consists of two stacked rectangular boxes. The top box is labeled 'MAC Management Message Header' and the bottom box is labeled 'CMTS Timestamp'. Above the boxes, bit positions 0, 8, 16, 24, and 31 are marked. A small code 'T0906470-98/d072' is at the bottom right.](8d9be1ac4372e563dc3eb6d4aa5690d6_img.jpg) + +Diagram showing the format of a Packet PDU following the timing Header. It consists of two stacked rectangular boxes. The top box is labeled 'MAC Management Message Header' and the bottom box is labeled 'CMTS Timestamp'. Above the boxes, bit positions 0, 8, 16, 24, and 31 are marked. A small code 'T0906470-98/d072' is at the bottom right. + +**Figure B.6-14/J.112 – Format of Packet PDU following the timing Header** + +The parameters shall be as defined below: + +**CMTS Timestamp** An incrementing 32-bit timestamp based on a timebase reference clock at the CMTS. Units are in 1/64th of a Timebase Tick (i.e. 6.25/64 μs4). + +4 Since the SYNC message applies to all upstream channels within this MAC domain, units were chosen to be independent of the symbol rate of any particular upstream channel. A Timebase Tick represents the smallest possible mini-slot at the highest possible symbol rate. See B.6.5.4 for time-unit relationships. + +### B.6.3.2.2 Upstream Channel Descriptor (UCD) + +An Upstream Channel Descriptor MUST be transmitted by the CMTS at a periodic interval to define the characteristics of an upstream channel (see Figure B.6-15). A separate message MUST be transmitted for each active upstream. + +![Diagram of the Upstream Channel Descriptor (UCD) message structure showing bit offsets and field layout.](4b9e2f848d66a0b3c2d4553b965933c7_img.jpg) + +| | | | | | +|--------------------------------------------------------------|-------------------------------|-------------------|--------------------------|----| +| Bit 0 | 8 | 16 | 24 | 31 | +| MAC Management
Message Header | | | | | +| Upstream
channel ID | Configuration
Change Count | Mini-Slot
Size | Downstream
channel ID | | +| TLV-encoded information for the overall
channel | | | | | +| TLV-encoded burst
description | | | | | +| TLV-encoded information for the subsequent burst descriptors | | | | | + +T0906480-98/d073 + +Diagram of the Upstream Channel Descriptor (UCD) message structure showing bit offsets and field layout. + +**Figure B.6-15/J.112 – Upstream channel descriptor** + +To provide for flexibility, the message parameters following the channel ID MUST be encoded in a Type/Length/Value (TLV) form in which the type and length fields are each 1 octet long. Using this encoding, new parameters MAY be added which not all CMs can interpret. A CM which does not recognize a parameter type MUST skip over this parameter and MUST NOT treat the event as an error condition. + +A CMTS MUST generate UCDs in the format shown in Figure B.6-15, including all of the following parameters: + +- Configuration Change Count** Incremented by one (modulo the field size) by the CMTS whenever any of the values of this channel descriptor change. If the value of this count in a subsequent UCD remains the same, the CM can quickly decide that the remaining fields have not changed, and may be able to disregard the remainder of the message. This value is also referenced from the MAP. +- Mini-Slot Size** The size $T$ of the Mini-Slot for this upstream channel in units of the Timebase Tick of 6.25 $\mu\text{s}$ . Allowable values are $T = 2^M$ , $M = 0, 1, \dots, 7$ . That is, $T = 1, 2, 4, 8, 16, 32, 64, \text{ or } 128$ . +- upstream channel ID** The identifier of the upstream channel to which this message refers. This identifier is arbitrarily chosen by the CMTS and is only unique within the MAC-sublayer domain. +- downstream channel ID** The identifier of the downstream channel on which this message has been transmitted. This identifier is arbitrarily chosen by the CMTS and is only unique within the MAC-sublayer domain. + +All other parameters are coded as TLV tuples. Channel-wide parameters (types 1-3 in Table B.6-14) must precede burst descriptors (type 4 below). + +**Table B.6-14/J.112 – Channel TLV parameters** + +| Name | Type
(1 byte) | Length
(1 byte) | Value
(Variable length) | +|------------------|------------------|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Symbol Rate | 1 | 1 | Multiples of base rate of 160 ksym/s. (Value is 1, 2, 4, 8, or 16.) | +| Frequency | 2 | 4 | Upstream center frequency (Hz) | +| Preamble Pattern | 3 | 1-128 | Preamble superstring. All burst-specific preamble values are chosen as bit-substrings of this string.
The first byte of the Value field contains the first 8 bits of the superstring, with the first bit of the preamble superstring in the MSB position of the first Value field byte, the eighth bit of the preamble superstring in the LSB position of the first Value field byte; the second byte in the Value field contains the second eight bits of the superstring, with the ninth bit of the superstring in the MSB of the second byte and sixteenth bit of the preamble superstring in the LSB of the second byte, and so forth. | +| Burst Descriptor | 4 | | May appear more than once; described below. The length is the number of bytes in the overall object, including embedded TLV items. | + +Burst Descriptors are compound TLV encodings that define, for each type of upstream usage interval, the physical-layer characteristics that are to be used during that interval. The upstream interval usage codes are defined in the MAP message (see B.6.3.2.3 and Figure B.6-16). + +![Diagram showing the top-level encoding for a Burst Descriptor. It consists of three fields: 'Type = 4 Burst Descriptor', 'Length 1-n', and 'Interval Usage Code'. Below these fields is a dashed box labeled 'TLV codes for PHY parameters'. The diagram is labeled T0906490-98/d074.](ceb6fe29e2d57711907569c31182b3c2_img.jpg) + +| | | | +|------------------------------|---------------|------------------------| +| Type = 4
Burst Descriptor | Length
1-n | Interval Usage
Code | +| TLV codes for PHY parameters | | | + +T0906490-98/d074 + +Diagram showing the top-level encoding for a Burst Descriptor. It consists of three fields: 'Type = 4 Burst Descriptor', 'Length 1-n', and 'Interval Usage Code'. Below these fields is a dashed box labeled 'TLV codes for PHY parameters'. The diagram is labeled T0906490-98/d074. + +**Figure B.6-16/J.112 – Top-level encoding for a Burst Descriptor** + +A Burst Descriptor MUST be included for each interval usage code that is to be used in the allocation MAP. The interval usage code above must be one of the values from Table B.6-16. + +Within each Burst Descriptor is an unordered list of Physical-layer attributes, encoded as TLV values. These attributes are shown in Table B.6-15. + +#### B.6.3.2.2.1 Example of UCD encoded TLV data + +An example of UCD encoded TLV data is given in Figure B.6-17. + +**Table B.6-15/J.112 – Upstream Physical-Layer Burst Attributes** + +| Name | Type
(1 byte)
| Length
(1 byte)
| Value
(Variable Length)
| +|--------------------------------|--------------------------|----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Modulation Type | 1 | 1 | 1 = QPSK, 2 = 16 QAM | +| Differential Encoding | 2 | 1 | 1 = on, 2 = off | +| Preamble Length | 3 | 2 | Up to 1024 bits. The value must be an integral number of symbols (a multiple of 2 for QPSK and 4 for 16 QAM) | +| Preamble Value Offset | 4 | 2 | Identifies the bits to be used for the preamble value. This is specified as a starting offset into the Preamble Pattern (see Table B.6-14). That is, a value of zero means that the first bit of the preamble for this burst type is the value of the first bit of the Preamble Pattern. A value of 100 means that the preamble is to use the 101st and succeeding bits from the Preamble Pattern. This value must be a multiple of the symbol size. The first bit of the Preamble Pattern is the first bit into the symbol mapper (Figure B.4-8), and is I 1 in the first symbol of the burst (see B.4.2.2.2). | +| FEC Error Correction (T bytes) | 5 | 1 | 0-10 bytes: zero implies no Forward Error Correction. | +| FEC Codeword Length (k) | 6 | 1 | Fixed: 16 to 253 (assuming FEC on)
Shortened: 16 to 253 (assuming FEC on) | +| Scrambler Seed | 7 | 2 | The 15-bit seed value. | +| Maximum Burst Size | 8 | 1 | The maximum number of mini-slots that can be transmitted during this burst type. Absence of this configuration setting implies that the burst size is limited elsewhere. This value MUST be used when the interval type is Short Data Grant. | +| Guard Time Size | 9 | 1 | Number of symbol times which must follow the end of this burst. (Although this value may be derivable from other network and architectural parameters, it is included here to ensure that the CMs and CMTS all use the same value.) | +| Last Codeword Length | 10 | 1 | 1 = fixed; 2 = shortened. | +| Scrambler on/off | 11 | 1 | 1 = on; 2 = off. | + +| | | | | | +|--------|--------------|-------------------------|--|--| +| Type 1 | Length 1 | Symbol Rate | | | +| Type 2 | Length 4 | Frequency | | | +| Type 3 | Length 1-128 | Preamble Superstring | | | +| Type 4 | Length N | First Burst Descriptor | | | +| Type 4 | Length N | Second Burst Descriptor | | | +| Type 4 | Length N | Third Burst Descriptor | | | +| Type 4 | Length N | Fourth Burst Descriptor | | | + +T0905860-97/d075 + +Figure B.6-17/J.112 – Example of UCD encoded TLV data + +**B.6.3.2.3 Upstream Bandwidth Allocation Map (MAP)** + +A CMTS MUST generate MAPs in the format shown in Figure B.6-18. + +![Diagram of MAP format showing MAC Management Message Header, Upstream channel ID, UCD count, Number of elements, Reserved, Alloc start time, Ack time, Ranging back-off start/end, Data back-off start/end, and MAP information elements.](353d05a4935a6b770e9b80ed94762b6a_img.jpg) + +| | | | | +|-------------------------------|----------------------|---------------------|-------------------| +| MAC Management Message Header | | | | +| Upstream channel ID | UCD count | Number of elements | Reserved | +| Alloc start time | | | | +| Ack time | | | | +| Ranging back-off start | Ranging back-off end | Data back-off start | Data back-off end | +| MAP information elements | | | | + +Diagram of MAP format showing MAC Management Message Header, Upstream channel ID, UCD count, Number of elements, Reserved, Alloc start time, Ack time, Ranging back-off start/end, Data back-off start/end, and MAP information elements. + +T0906500-98/d076 + +Figure B.6-18/J.112 – MAP format + +The parameters MUST be as follows: + +| | | +|----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------| +| Upstream Channel ID | The identifier of the upstream channel to which this message refers. | +| UCD Count | Matches the value of the Configuration Change Count of the UCD which describes the burst parameters which apply to this map. See B.7.2.15. | +| Number Elements | Number of information elements in the map. | +| Reserved | Reserved field for alignment. | + +| | | +|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Alloc Start Time | Effective start time from CMTS initialization (in mini-slots) for assignments within this map. | +| Ack Time | Latest time, from CMTS initialization, (mini-slots) processed in upstream. This time is used by the CMs for collision detection purposes. See B.6.4.4. | +| Ranging Backoff Start | Initial back-off window for initial ranging contention, expressed as a power of two. Values range 0-15 (the highest order bits must be unused and set to 0). | +| Ranging Backoff End | Final back-off window for initial ranging contention, expressed as a power of two. Values range 0-15 (the highest order bits must be unused and set to 0). | +| Data Backoff Start | Initial back-off window for contention data and requests, expressed as a power of two. Values range 0-15 (the highest order bits must be unused and set to 0). | +| Data Backoff End | Final back-off window for contention data and requests, expressed as a power of two. Values range 0-15 (the highest order bits must be unused and set to 0). | +| MAP information elements | MUST be in the format defined in Figure B.6-19 and Table B.6-16. Values for IUCs are defined in Table B.6-16 and are described in detail in B.6.4.1. | + +![Diagram showing the MAP information element structure with columns for SID, IUC, and Offset. Rows include First interval, Second interval, Last interval, End-of-list (Null IE), and Acknowledgements and Deferrals.](c80e1284549c9914d0249b0e749c500a_img.jpg) + +| | | | | +|--------------------------------|---------|---------|---------------------| +| First interval | SID | IUC | Offset = 0 | +| Second interval | SID | IUC | Offset | +| ⋮ | | | | +| Last interval | SID | IUC | Offset | +| End-of-list (Null IE) | SID = 0 | IUC = 7 | Offset = map length | +| | SID | IUC | Offset = map length | +| ⋮ | | | | +| Acknowledgements and Deferrals | SID | IUC | Offset = map length | + +Diagram showing the MAP information element structure with columns for SID, IUC, and Offset. Rows include First interval, Second interval, Last interval, End-of-list (Null IE), and Acknowledgements and Deferrals. + +T0905030-97/d077 + +**Figure B.6-19/J.112 – MAP information element structure** + +**Table B.6-16/J.112 – Allocation MAP Information Elements (IE)** + +| IE name | Interval Usage Code (IUC) (4 bits) | SID (14 bits) | Mini-slot offset (14 bits) | +|-----------------------------------------------------------|------------------------------------|---------------------|-------------------------------------------------------------------------------------------------------| +| Request | 1 | Any | Starting offset of REQ region | +| REQ/Data (refer to Appendix B.1 for multicast definition) | 2 | Multicast | Starting offset of IMMEDIATE Data region
Well-known multicasts define start intervals | +| Initial Maintenance | 3 | Broadcast/multicast | Starting offset of MAINT region (used in Initial Ranging) | +| Station Maintenance (Note 1) | 4 | Unicast | Starting offset of MAINT region (used in Periodic Ranging) | +| Short Data Grant (Note 2) | 5 | Unicast | Starting offset of Data Grant assignment;
If inferred length = 0, then it is a Data Grant pending. | +| Long Data Grant | 6 | Unicast | Starting offset of Data Grant assignment;
If inferred length = 0, then it is a Data Grant pending. | +| Null IE | 7 | Zero | Ending offset of the previous grant. Used to bound the length of the last actual interval allocation. | +| Data Ack | 8 | Unicast | CMTS sets to 0. | +| Reserved | 9-14 | Any | Reserved | +| Expansion | 15 | Expanded IUC | # of additional 32-bit words in this IE | + +NOTE 1 – Although the distinction between Initial Maintenance and Station Maintenance is unambiguous from the Service ID type, separate codes are used to ease physical-layer configuration (see burst descriptor encodings, Table B.6-15). +NOTE 2 – The distinction between long and short data grants is related to the amount of data that can be transmitted in the grant. A short data grant interval may use FEC parameters that are appropriate to short packets while a long data grant may be able to take advantage of greater FEC coding efficiency. +NOTE 3 – Each IE is a 32-bit quantity, of which the most significant 14 bits represent the SID, the middle 4 bits the IUC, and the low-order 14 bits the mini-slot offset. +NOTE 4 – The SID used in the Station Maintenance IE MUST be a Temporary SID, or the first Registration SID (and maybe the only one) that was assigned in the REG-RSP message to a CM. + +**B.6.3.2.4 Ranging Request (RNG-REQ)** + +A Ranging Request MUST be transmitted by a CM at initialization and periodically on request from CMTS to determine network delay. This message MUST use an FC field of type: Timing. This MUST be followed by a Packet PDU in the format shown in Figure B.6-20. + +![Diagram of Packet PDU following the Timing Header. It shows a 32-bit word structure with bit positions 0, 8, 16, 24, and 31. The first 16 bits (0-15) are the MAC Management Message Header. The next 8 bits (16-23) are the SID. The following 8 bits (24-31) are split into Downstream channel ID (bits 24-27) and Pending till complete (bits 28-31).](3d590ad29ecfe728f07432e6fcb59064_img.jpg) + +Bit 0 8 16 24 31 + +| | | | | +|-------------------------------|--|-----------------------|-----------------------| +| MAC Management Message Header | | | | +| SID | | Downstream channel ID | Pending till complete | + +T0906510-98/d078 + +Diagram of Packet PDU following the Timing Header. It shows a 32-bit word structure with bit positions 0, 8, 16, 24, and 31. The first 16 bits (0-15) are the MAC Management Message Header. The next 8 bits (16-23) are the SID. The following 8 bits (24-31) are split into Downstream channel ID (bits 24-27) and Pending till complete (bits 28-31). + +**Figure B.6-20/J.112 – Packet PDU following the Timing Header** + +Parameters MUST be as follows: + +**SID** + +For RNG-REQ messages transmitted in Initial Maintenance intervals: + +- initialization SID if modem is attempting to join the network; +- initialization SID if modem has not yet registered and is changing downstream (or both downstream and upstream) channels as directed by a downloaded parameter file; +- temporary SID if modem has not yet registered and is changing upstream (not downstream) channels as directed by a downloaded parameter file; +- registration SID (previously assigned in REG-RSP) if modem is registered and is changing upstream channels. + +For RNG-REQ messages transmitted in Station Maintenance intervals: + +- assigned SID. + +This is a 16-bit field of which the lower 14 bits define the SID with bits 14, 15 defined to be 0. + +**Downstream channel ID** + +The identifier of the downstream channel on which the CM received the UCD which described this upstream. This is an 8-bit field. + +**Pending Till Complete** + +If zero, then all previous Ranging Response attributes have been applied prior to transmitting this request. If non-zero, then this is time estimated to be needed to complete assimilation of ranging parameters. Note that only equalization can be deferred. Units are in unsigned centiseconds (10 ms). + +**B.6.3.2.5 Ranging Response (RNG-RSP)** + +A Ranging Response MUST be transmitted by a CMTS in response to received RNG-REQ in the format shown in Figure B.6-21. The state machines describing the ranging procedure appear in B.7.2.5. In that procedure it may be noted that, from the point of view of the CM, reception of a Ranging Response is stateless. In particular, the CM MUST be prepared to receive a Ranging Response at any time, not just following a Ranging Request. + +![Diagram of Ranging Response message structure showing MAC Management Message Header, SID from request, Upstream channel ID, and TLV encoded information.](415ba50c9d9d7764be52dfed39f6ae43_img.jpg) + +The diagram illustrates the structure of a Ranging Response message. It is a 32-bit (4-byte) packet. The first byte (bits 0-7) is the MAC Management Message Header. The next byte (bits 8-15) is the SID from request. The third byte (bits 16-23) is the Upstream channel ID. The final byte (bits 24-31) is TLV encoded information. Bit positions 0, 8, 16, 24, and 31 are marked at the top. + +| | | | | | | +|-------------------------------|---|---------------------|----|-------------------------|----| +| Bit | 0 | 8 | 16 | 24 | 31 | +| MAC Management Message Header | | | | | | +| SID from request | | Upstream channel ID | | TLV encoded information | | +| | | | | | | + +T0906520-98/d079 + +Diagram of Ranging Response message structure showing MAC Management Message Header, SID from request, Upstream channel ID, and TLV encoded information. + +**Figure B.6-21/J.112 – Ranging Response** + +To provide for flexibility, the message parameters following the Upstream Channel ID MUST be encoded in a type/length/value (TLV) form. Using this encoding, new parameters can be added which not all CMs can interpret. A CM which does not recognize a parameter type MUST simply skip over this parameter and MUST NOT treat the event as an error condition. + +Parameters MUST be as follows: + +| | | +|------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| SID | If the modem is being instructed by this response to move to a different channel, this is initialization SID. Otherwise, this is the SID from the corresponding RNG-REQ to which this response refers, except that if the corresponding RNG-REQ was an initial ranging request specifying a initialization SID, then this is the assigned temporary SID. | +| Upstream channel ID | The identifier of the upstream channel on which the CMTS received the RNG-REQ to which this response refers. | +| Timing adjust information | The time by which to offset frame transmission so that frames arrive at the expected mini-slot time at the CMTS. | +| Power adjust information | Specifies the relative change in transmission power level that the CM is to make in order that transmissions arrive at the CMTS at the desired power. | +| Frequency adjust information | Specifies the relative change in transmission frequency that the CM is to make in order to better match the CMTS. (This is fine-frequency adjustment within a channel, not re-assignment to a different channel.) | +| CM transmitter equalization information | If the CM implements transmission equalization, this provides the equalization coefficients (optional). | +| Ranging status | Used to indicate whether upstream messages are received within acceptable limits by CMTS. | +| Downstream Frequency Override | An optional parameter. The downstream frequency with which the modem should redo initial ranging. | +| Upstream Channel ID Override | An optional parameter. The identifier of the upstream channel with which the modem should redo initial ranging. | + +#### B.6.3.2.5.1 Encodings + +The type values used MUST be those defined in Table B.6-17 and Figure B.6-22. These are unique within the ranging response message but not across the entire MAC message set. The type and length fields MUST each be 1 octet in length. + +**Table B.6-17/J.112 – Ranging Response message encodings** + +| Name | Type (1 byte) | Length (1 byte) | Value (Variable Length) | +|-------------------------------|---------------|-----------------|--------------------------------------------------------------------| +| Timing Adjust | 1 | 4 | TX timing offset adjustment [signed 32 bit, units of (6.25 µs/64)] | +| Power Level Adjust | 2 | 1 | TX Power offset adjustment (signed 8 bit, 1/4-dB units) | +| Offset Frequency Adjust | 3 | 2 | TX frequency offset adjustment (signed 16 bit, Hz units) | +| Transmit Equalization Adjust | 4 | n | TX equalization data – See details below | +| Ranging Status | 5 | 1 | 1 = continue, 2 = abort, 3 = success | +| Downstream frequency override | 6 | 4 | Centre frequency of new downstream channel in Hz | +| Upstream channel ID override | 7 | 1 | Identifier of the new upstream channel | +| Reserved | 8-255 | n | Reserved for future use | + +| | | | +|----------------------------------------|----------------------------|---------------------------------------------| +| Type
4 | Length | Number of taps per symbol | +| Number of forward taps (N) | Number of reverse taps (M) | | +| First coefficient $F_0$ (real) | | First coefficient $F_0$ (imaginary) | +| ~ ~ | | | +| Last coefficient $F_N$ (real) | | Last coefficient $F_N$ (imaginary) | +| First reverse coefficient $D_0$ (real) | | First reverse coefficient $D_0$ (imaginary) | +| ~ ~ | | | +| Last reverse coefficient $D_M$ (real) | | Last reverse coefficient $D_M$ (imaginary) | + +T0905060-97/d080 + +**Figure B.6-22/J.112 – Generalized decision feedback equalization coefficients** + +The total number of taps per symbol MUST be in the range 1 to 4. + +The total number of taps MAY range up to 64. Each tap consists of a real and imaginary coefficient entry in the table. + +If more than 255 bytes are needed to represent equalization information, then several type-4 elements MAY be used. Data MUST be treated as if byte-concatenated, that is, the first byte after the length field of the second type-4 element is treated as if it immediately followed the last byte of the first type-4 element. + +The coefficients that are sent to the CM may be coefficients of a CMTS demodulator equalizer such as shown in Figure B.6-23, which, after acquisition, will have tap values that represent the channel distortion. Other equalization methods may be devised in the future. If so, they will use a different type-value so that the element is not overloaded. This is a vendor-specific issue which is not described here. + +![Block diagram of a CMTS demodulator equalizer showing tap locations for forward (F) and reverse (D) coefficients. The input signal is processed through a series of delay elements (z^-1) and summer nodes (+). Forward taps (F0, F1, F2, F3, F4, F5, ..., FN) are applied to the main signal path. Reverse taps (DM, ..., D5, D4, D3, D2, D1, D0) are applied to a feedback path that is delayed relative to the main path. The final output is the sum of the forward and reverse tap contributions.](66829132ebdbaebe4455fb6162ef7180_img.jpg) + +T0905070-97/d081 + +Block diagram of a CMTS demodulator equalizer showing tap locations for forward (F) and reverse (D) coefficients. The input signal is processed through a series of delay elements (z^-1) and summer nodes (+). Forward taps (F0, F1, F2, F3, F4, F5, ..., FN) are applied to the main signal path. Reverse taps (DM, ..., D5, D4, D3, D2, D1, D0) are applied to a feedback path that is delayed relative to the main path. The final output is the sum of the forward and reverse tap contributions. + +**Figure B.6-23/J.112 – CMTS demodulator equalizer tap location definition** + +### B.6.3.2.5.2 Example of TLV data + +An example of TLV data is given in Figure B.6-24. + +| | | | | +|--------|----------|----------------------------------------------------|--| +| Type 1 | Length 4 | Timing adjust | | +| Type 2 | Length 1 | Power adjust | | +| Type 3 | Length 2 | Frequency adjust information | | +| Type 4 | Length x | x bytes of CM transmitter equalization information | | +| Type 5 | Length 1 | Ranging status | | + +T0905080-97/d082 + +Figure B.6-24/J.112 – Example of TLV data + +### B.6.3.2.5.3 Overriding channels + +The RNG-RSP message allows the CMTS to instruct the modem to move to a new downstream and/or upstream channel and to repeat initial ranging. However, the CMTS may do this only in response to an initial ranging request from a modem that is attempting to join the network, or in response to any of the unicast ranging requests that take place immediately after this initial ranging and up to the point where the modem successfully completes periodic ranging. From this point on, only Appendix B.III.8.4 and UCC-REQ mechanisms are available for moving the modem to a new upstream channel, and only Appendix B.III.8.3 mechanism is available for moving the modem to a new downstream channel. + +If a downstream frequency override is specified in the RNG-RSP, the modem MUST reinitialize its MAC and perform initial ranging using the specified downstream center frequency as the first scanned channel. For the upstream channel, the modem may select any valid channel based on received UCD messages. + +If an upstream channel ID override is specified in the RNG-RSP, the modem MUST reinitialize its MAC and perform initial ranging using for its first attempt the upstream channel specified in the RNG-RSP and the same downstream frequency on which the RNG-RSP was received. + +If both downstream frequency and upstream channel ID overrides are present in the RNG-RSP, the modem MUST reinitialize its MAC and perform initial ranging using for its first attempt the specified downstream frequency and upstream channel ID. + +Note that when a modem with an assigned temporary SID is instructed to move to a new downstream and/or upstream channel and to redo initial ranging, the modem MUST consider the temporary SID to be deassigned. The modem MUST redo initial ranging using the zero SID. + +Configuration file settings (see Appendix B.III.3) for upstream channel ID and downstream frequency are optional but, if specified in the configuration file, they take precedence over the ranging response parameters. + +### B.6.3.2.6 Registration Request (REG-REQ) + +A Registration Request, in the format shown in Figure B.6-25, MUST be transmitted by a CM at initialization after receipt of a CM parameter file. + +![Diagram of Registration Request message structure. The message is 32 bits (0-31) long. The first 32 bits are the MAC Management Message Header. The next 16 bits (0-15) are the SID. The remaining 16 bits (16-31) are TLV encoded information.](3eb2af31c2e61e2595c8440d726f5d4e_img.jpg) + +The diagram shows a 32-bit message structure. The top section is the 'MAC Management Message Header' spanning bits 0 to 31. Below it, the 'SID' field occupies bits 0 to 15. The bottom section, labeled 'TLV encoded information', occupies bits 16 to 31. A dashed line separates the header from the rest of the message. A small label 'T0906530-98/d083' is at the bottom right. + +Diagram of Registration Request message structure. The message is 32 bits (0-31) long. The first 32 bits are the MAC Management Message Header. The next 16 bits (0-15) are the SID. The remaining 16 bits (16-31) are TLV encoded information. + +**Figure B.6-25/J.112 – Registration Request** + +To provide for flexibility, the message parameters following the SID MUST be encoded in a type/length/value form. Using this encoding, new parameters MAY be added which not all CMTSs can interpret. A CMTS which does not recognize a parameter type MUST simply skip over this parameter and MUST not treat the event as an error condition. + +Parameters MUST be as follows: + +| | | +|----------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| SID | Initialization SID for this CM. | +| Configuration settings for this modem | As defined in Appendix B.III:
  • • downstream frequency configuration setting;
  • • upstream channel ID configuration setting;
  • • network access configuration setting;
  • • class of service configuration setting;
  • • modem capabilities configuration setting;
  • • modem IP address;
  • • baseline privacy configuration setting.
| +| Vendor-specific data | As defined in Appendix B.III:
  • • vendor ID configuration setting (vendor ID of CM);
  • • vendor-specific extensions.
| +| Message Integrity Checks | As defined in Appendix B.III:
  • • CM MIC configuration setting;
  • • CMTS MIC configuration setting.
| + +NOTE – The CM MUST be capable of supporting these standard configuration settings. + +#### **B.6.3.2.6.1 Encodings** + +The type values used are unique within the registration request message but not across the entire MAC message set. They MUST be those defined in Appendix B.III. + +NOTE – The CM MUST forward the vendor-specific configuration settings to the CMTS in the same order in which they were received in the configuration file to allow the message integrity check to be performed. + +**B.6.3.2.6.2 Example** + +An example of type value encodings is given in Figure B.6-26. + +| | | | | +|---------|-----------|----------------------------------|--| +| Type 1 | Length 4 | Downstream frequency | | +| Type 2 | Length 1 | Upstream channel | | +| Type 3 | Length 1 | Network access | | +| Type 4 | Length 28 | Service class definition class 1 | | +| Type 4 | Length 28 | Service class definition class 2 | | +| | | | | +| Type 4 | Length 28 | Service class definition class n | | +| Type 5 | Length 3 | Modem capabilities | | +| Type 12 | Length 4 | Modem IP address | | +| Type 8 | Length 3 | Vendor ID | | +| Type 43 | Length n | n bytes of vendor-specific data | | +| Type 6 | Length 16 | CM message integrity check | | +| Type 7 | Length 16 | CMTS message integrity check | | + +T0906540-98/d084 + +**Figure B.6-26/J.112 – Example of Registration Request type value encodings** + +**B.6.3.2.7 Registration Response (REG-RSP)** + +A Registration Response, in the format shown in Figure B.6-27, MUST be transmitted by CMTS in response to received REG-REQ. + +![Diagram of Registration Response format showing MAC Management Message Header, SID from corresponding RNG-REQ, Response, and TLV encoded information with bit positions 0, 8, 16, 24, 31.](8f2d2d466bb3a096c1872fbc29ff4063_img.jpg) + +The diagram illustrates the structure of a Registration Response (REG-RSP) message. It is a 32-bit (4-byte) message. The first 16 bits (bits 0-15) are the MAC Management Message Header. The next 8 bits (bits 16-23) are the SID from the corresponding RNG-REQ. The following 8 bits (bits 24-31) are the Response. The final part of the message is TLV encoded information, which can vary in length and is shown as a dashed box extending downwards from bit 16. + +| | | | | | | +|--------------------------------|---|---|----------|----|----| +| Bit | 0 | 8 | 16 | 24 | 31 | +| MAC Management Message Header | | | | | | +| SID from corresponding RNG-REQ | | | Response | | | +| TLV encoded information | | | | | | + +Diagram of Registration Response format showing MAC Management Message Header, SID from corresponding RNG-REQ, Response, and TLV encoded information with bit positions 0, 8, 16, 24, 31. + +T0906550-98/d085 + +**Figure B.6-27/J.112 – Registration Response format** + +To provide for flexibility, the message parameters following the SID MUST be encoded in a type/length/value form. Using this encoding, new parameters MAY be added which not all CMs can interpret. A CM which does not recognize a parameter type MUST skip over this parameter and MUST NOT treat the event as an error condition. + +Parameters MUST be as follows: + +| | | +|---------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| SID from Corresponding REG-REQ | SID from corresponding REG-REQ to which this response refers | +| Response | 0 = ok
1 = authentication failure
2 = class of service failure | +| Modem Capabilities | The CMTS response to the capabilities of the modem | +| Service Class Data | Returned when Response = ok
Service ID / service class tuple for each class of service granted | +| Service Not Available | Returned when Response = class of service failure.

If a service class cannot be supported, this configuration setting is returned in place of the service class data. If this is received, the entire registration request is considered to have failed and must be repeated. | +| Vendor-Specific Data | As defined in Appendix B.III:
  • • Vendor ID Configuration Setting (vendor ID of CMTS)
  • • Vendor-specific extensions
| + +NOTE 1 – Service class IDs MUST be those requested in the corresponding REG-REQ. + +NOTE 2 – The initialization SID MUST no longer be used once the REG-RSP is received. + +#### **B.6.3.2.7.1 Encodings** + +The type values used MUST be those shown below. These are unique within the registration response message but not across the entire MAC message set. The type and length fields MUST each be 1 octet. + +##### **B.6.3.2.7.1.1 Modem capabilities** + +This field defines the CMTS response to the modem capability field in the Registration Request. The CMTS responds to the modem capabilities to indicate whether they may be used. If the CMTS does not recognize a modem capability, it must return this as "off" in the Registration Response. + +Only capabilities set to "on" in the REG-REQ may be set "on" in the REG-RSP as this is the handshake indicating that they have been successfully negotiated. + +Encodings are as defined for the Registration Request. + +##### **B.6.3.2.7.1.2 Service class data** + +This encoding defines the parameters associated with a requested class of service. It is somewhat complex in that it is composed from a number of encapsulated type/length/value fields. The encapsulated fields define the particular class of service parameters for the class of service in question. Note that the type fields defined are only valid within the encapsulated service class data configuration setting string. A single service class data configuration setting MUST be used to define the parameters for a single service class. Multiple class definitions MUST use multiple service class data configuration setting sets. + +| Type | Length | Value | +|------|--------|----------------------------| +| 1 | n | Encoded service class data | + +**Internal service class data encodings** + +**Class ID** + +The value of the field MUST specify the identifier for the class of service to which the encapsulated string applies. This MUST be a class which was requested in the associated REG-REQ. + +| Type | Length | Value | +|------|--------|--------------| +| 1 | 1 | from REG-REQ | + +**Valid Range** + +The class ID MUST be in the range 1 to 16. + +**Service ID** + +The value of the field MUST specify the SID associated with this service class. + +| Type | Length | Value | +|------|--------|-------| +| 2 | 2 | SID | + +**B.6.3.2.7.2 Registration Response encoding example** + +An example of Registration Response encoding is given in Figure B.6-28. + +| | | | +|--------------------------------------------------------------------------|-------------|----------------------------------| +| Type
1 | Length
7 | Service class definition class 1 | +| Type
1 | Length
7 | Service class definition class 2 | +|

Image: Dashed box indicating additional service class definitions

| | | +| Type
1 | Length
7 | Service class definition class n | +| Type
6 | Length
6 | Modem capability | + +T0905880-97/d086 + +**Figure B.6-28/J.112 – Example of Registration Response encoding** + +### B.6.3.2.7.3 Sample service class data encoding + +Sample service class data encodings are provided in Table B.6-18. + +**Table B.6-18/J.112 – Sample service class data encoding** + +| Type | Length | VALUE (sub)type | Length | Value | Description | +|------|--------|-----------------|--------|----------|-----------------------------------------------------------------------------------| +| 1 | 7 | 1
2 | 1
2 | 1
123 | Service class data configuration setting
Service class 1
SID for this class | +| 1 | 7 | 1
2 | 1
2 | 2
244 | Service class data configuration setting
Service class 2
SID for this class | +| 1 | 7 | 1
2 | 1
2 | n
345 | Service class data configuration setting
Service class n
SID for this class | + +### B.6.3.2.8 Upstream Channel Change Request (UCC-REQ) + +An Upstream Channel Change Request MAY be transmitted by a CMTS to cause a CM to change the upstream channel on which it is transmitting. The format of an UCC-REQ message is shown in Figure B.6-29. + +Parameters MUST be as follows: + +**Upstream channel ID** The identifier of the upstream channel to which the CM is to switch for upstream transmissions. This is an 8-bit field. + +![Diagram of Upstream Channel Change Request (UCC-REQ) message structure. It shows a 32-bit MAC Management Message Header (bits 0-31) followed by an 8-bit Upstream channel ID field (bits 0-7).](5ea288cb741dddda2a54203184649b5a_img.jpg) + +The diagram illustrates the structure of the UCC-REQ message. It consists of a 32-bit MAC Management Message Header (bits 0-31) and an 8-bit Upstream channel ID field (bits 0-7). The header is shown as a horizontal bar with brackets at the ends, and the Upstream channel ID is shown as a smaller box below it. The text 'T0906560-98/d087' is visible in the bottom right corner. + +Diagram of Upstream Channel Change Request (UCC-REQ) message structure. It shows a 32-bit MAC Management Message Header (bits 0-31) followed by an 8-bit Upstream channel ID field (bits 0-7). + +**Figure B.6-29/J.112 – Upstream Channel Change Request** + +### B.6.3.2.9 Upstream Channel Change Response (UCC-RSP) + +An Upstream Channel Change Response MUST be transmitted by a CM in response to a received Upstream Channel Change Request message to indicate that it has received and is complying with the UCC-REQ. The format of a UCC-RSP message is shown in Figure B.6-30. + +![Diagram of Upstream Channel Change Response (UCC-RSP) message structure. It shows a 32-bit MAC Management Message Header (bits 0-31) followed by an 8-bit Upstream channel ID field (bits 0-7).](88980d13d6e88a2e54ffdcdc02ba801c_img.jpg) + +The diagram illustrates the structure of the UCC-RSP message. It consists of a 32-bit MAC Management Message Header (bits 0-31) and an 8-bit Upstream channel ID field (bits 0-7). The header is shown as a horizontal bar with brackets at the ends, and the Upstream channel ID is shown as a smaller box below it. The text 'T0906570-98/d088' is visible in the bottom right corner. + +Diagram of Upstream Channel Change Response (UCC-RSP) message structure. It shows a 32-bit MAC Management Message Header (bits 0-31) followed by an 8-bit Upstream channel ID field (bits 0-7). + +**Figure B.6-30/J.112 – Upstream Channel Change Response** + +Before it begins to switch to a new upstream channel, a CM MUST transmit a UCC-RSP on its existing upstream channel. A CM MAY ignore an UCC-REQ message while it is in the process of performing a channel change. When a CM receives a UCC-REQ message requesting that it switch to an upstream channel that it is already using, the CM MUST respond with a UCC-RSP message on that channel indicating that it is already using the correct channel. + +To switch to a new upstream channel, a CM will begin a new ranging procedure for that channel, and upon completion of ranging will proceed without re-performing registration. The full procedure for changing channels is described in B.7.2.16. + +Parameters MUST be as follows: + +**Upstream channel ID** The identifier of the upstream channel to which the CM is to switch for upstream transmissions. This is the same Channel ID specified in the UCC-REQ message. This is an 8-bit field. + +#### B.6.4 Upstream bandwidth allocation + +The upstream channel is modelled as a stream of mini-slots. The CMTS MUST generate the time reference for identifying these slots. It MUST also control access to these slots by the cable modems. For example, it MAY grant some number of contiguous slots to a CM for it to transmit a data PDU. The CM MUST time its transmission so that the CMTS receives it in the time reference specified. This subclause describes the elements of protocol used in requesting, granting, and using upstream bandwidth. The basic mechanism for assigning bandwidth management is the allocation map. Please refer to Figure B.6-31. + +![Figure B.6-31/J.112 – Allocation map. The diagram illustrates the upstream channel structure and the allocation map. At the top, a 'Map PDU' is shown being transmitted on the downstream channel by the CMTS. Below this, a horizontal bar represents the 'Permitted use of the upstream channel', divided into segments representing mini-slots. An arrow labeled 'Mini-slots' points to the right. Below the mini-slots, a timeline shows the 'Previous map' and 'Current map'. The 'Current map' includes 'CM transmission opportunity', 'Request contention area', 'CM transmission opportunity', and 'Maintenance'. The 'As-yet unmapped time' is shown at the bottom right.](19a8fc45b10957bab04a686521657f46_img.jpg) + +The diagram illustrates the upstream channel structure and the allocation map. At the top, a "Map PDU" is shown being transmitted on the downstream channel by the CMTS. Below this, a horizontal bar represents the "Permitted use of the upstream channel", divided into segments representing mini-slots. An arrow labeled "Mini-slots" points to the right. Below the mini-slots, a timeline shows the "Previous map" and "Current map". The "Current map" includes "CM transmission opportunity", "Request contention area", "CM transmission opportunity", and "Maintenance". The "As-yet unmapped time" is shown at the bottom right. + +Figure B.6-31/J.112 – Allocation map. The diagram illustrates the upstream channel structure and the allocation map. At the top, a 'Map PDU' is shown being transmitted on the downstream channel by the CMTS. Below this, a horizontal bar represents the 'Permitted use of the upstream channel', divided into segments representing mini-slots. An arrow labeled 'Mini-slots' points to the right. Below the mini-slots, a timeline shows the 'Previous map' and 'Current map'. The 'Current map' includes 'CM transmission opportunity', 'Request contention area', 'CM transmission opportunity', and 'Maintenance'. The 'As-yet unmapped time' is shown at the bottom right. + +Figure B.6-31/J.112 – Allocation map + +The allocation map is a MAC Management message transmitted by the CMTS on the downstream channel which describes, for some interval, the uses to which the upstream mini-slots MUST be put. A given map MAY describe some slots as grants for particular stations to transmit data in, other slots as available for contention transmission, and other slots as an opportunity for new stations to join the link. + +Many different scheduling algorithms MAY be implemented in the CMTS by different vendors; this specification does not mandate a particular algorithm. Instead, it describes the protocol elements by which bandwidth is requested and granted. + +The bandwidth allocation MUST include the following basic elements: + +- Each CM has one or more short (14-bit) service identifiers as well as a 48-bit address. +- Upstream bandwidth is divided into a stream of mini-slots. Each mini-slot is numbered relative to a master reference maintained by the CMTS. The clocking information is distributed to the CMs by means of SYNC packets. +- CMs MAY issue requests to the CMTS for upstream bandwidth. + +The CMTS MUST transmit allocation map PDUs on the downstream channel defining the allowed usage of each mini-slot. The map is described below. + +#### **B.6.4.1 The Allocation Map MAC Management message** + +The allocation map is a varying-length MAC Management message that is transmitted by the CMTS to define transmission opportunities on the upstream channel. It includes a fixed-length header followed by a variable number of Information Elements (IEs) in the format shown in B.6.3.2.3. Each information element defines the allowed usage for a range of mini-slots. + +Note that it should be understood by both CM and CMTS that the lower (26-M) bits of alloc start and ack times MUST be used as the effective MAP start and ack times, where M is defined in B.6.3.2.2. The relationship between alloc start/ack time counters and the timestamp counter is further described in B.6.5.4. + +##### **B.6.4.1.1 Information elements** + +Each IE consists of a 14-bit Service ID, a 4-bit type code, and a 14-bit starting offset as defined in B.6.3.2.3. Since all stations MUST scan all IEs, it is critical that IEs be short and relatively fixed format. IEs within the map are strictly ordered by starting offset. For most purposes, the duration described by the IE is inferred by the difference between the IE's starting offset and that of the following IE. For this reason, a null IE MUST terminate the list. Refer to Table B.6-16. + +Four types of Service IDs are defined: + +- 1) 0x3FFF – Broadcast, intended for all stations. +- 2) 0x2000-0x3FFE – Multicast, purpose is defined administratively. See Appendix B.I. +- 3) 0x0001-0x1FFF – Unicast, intended for a particular CM or a particular service within that CM. +- 4) 0x0000 – Null address, addressed to no station. + +The types of information elements which MUST be supported are defined below. + +###### **B.6.4.1.1.1 The Request IE** + +The Request IE provides an upstream interval in which requests MAY be made for bandwidth for upstream data transmission. The character of this IE changes depending on the class of Service ID. If broadcast, this is an invitation for CMs to contend for requests. Subclause B.6.4.4 describes which contention transmit opportunity may be used. If unicast, this is an invitation for a particular CM to request bandwidth. Unicasts MAY be used as part of a class-of-service implementation (see below). Packets transmitted in this interval MUST use the Request MAC Header format (see B.6.2.5.3). + +###### **B.6.4.1.1.2 The Request/Data IE** + +The Request/Data IE provides an upstream interval in which requests for bandwidth or short data packets MAY be transmitted. This IE is distinguished from the Request IE in that: + +- It provides a means by which allocation algorithms MAY provide for "immediate" data contention under light loads, and a means by which this opportunity can be withdrawn as network loading increases. + +- Multicast Service IDs MUST be used to specify maximum data length, as well as allowed random starting points within the interval. For example, a particular multicast ID MAY specify a maximum of 64-byte data packets, with random starting points of every fourth slot. + +A small number of well-known multicast Service IDs are defined in Appendix B.I. Others are available for vendor-specific algorithms. + +Since data packets transmitted within this interval may collide, the CMTS MUST acknowledge any that are successfully received. The data packet MUST indicate in the MAC Header that a data acknowledgment is desired (see Table B.6-12). + +#### **B.6.4.1.1.3 The Initial Maintenance IE** + +The Initial Maintenance IE provides an interval in which new stations may join the network. A long interval, equivalent to the maximum round-trip propagation delay plus the transmission time of the Ranging Request (RNG-REQ) message (see B.6.3.2.4), MUST be provided to allow new stations to perform initial ranging. + +Packets transmitted in this interval MUST use the RNG-REQ MAC Management message format (see B.6.3.2.4). + +#### **B.6.4.1.1.4 The Station Maintenance IE** + +The Station Maintenance IE provides an interval in which stations are expected to perform some aspect of routine network maintenance, such as ranging or power adjustment. The CMTS MAY request that a particular CM perform some task related to network maintenance, such as periodic transmit power adjustment. In this case, the Station Maintenance IE is unicast to provide upstream bandwidth in which to perform this task. Packets transmitted in this interval MUST use the RNG-REQ MAC Management message format (see B.6.3.2.4). + +#### **B.6.4.1.1.5 Short and Long Data Grant IEs** + +The Data Grant IE provides an opportunity for a CM to transmit one or more upstream PDUs. These IEs MAY also be used with an inferred length of zero mini-slots (a zero length grant), to indicate that a request has been received and is pending (a Data Grant Pending). This IE is issued either in response to a request from a station, or because of an administrative policy providing some amount of bandwidth to a particular station (see class-of-service discussion below). + +Short Data Grants are used with intervals less than or equal to the maximum burst size for this usage specified in the Upstream Channel Descriptor. If Short Data bursts are defined in the UCD, then all Long Data Grants MUST be for a larger number of mini-slots than the maximum for Short Data. The distinction between Long and Short Data Grants may be exploited in physical-layer forward-error-correction coding; otherwise, it is not meaningful to the bandwidth allocation process. + +If this IE is a Data Grant Pending (a zero length grant), it MUST follow all actual Data Grants (non-zero length grants). This allows cable modems to process all allocations first, before scanning the Map for request acknowledgements and data acknowledgements. + +#### **B.6.4.1.1.6 Data Acknowledge IE** + +The Data Acknowledge IE acknowledges that a data PDU was received. The CM MUST have requested this acknowledgment within the data PDU (normally this would be done for PDUs transmitted within a contention interval in order to detect collisions). + +This IE MUST follow all non-null-interval IEs. This allows cable modems to process all actual interval allocations first, before scanning the Map for request acknowledgements and data acknowledgements. + +#### **B.6.4.1.1.7 Expansion IE** + +The Expansion IE provides for extensibility, if more than 16-code points or 32 bits are needed for future IEs. + +#### **B.6.4.1.1.8 Null IE** + +A Null IE terminates all actual allocations in the IE list. It is used to infer a length for the last interval. All data acknowledgements and all null data grants follow the Null IE. + +#### **B.6.4.1.2 Requests** + +Only one type of upstream request is inherent to the allocation protocol: a request for upstream bandwidth. This request MAY be transmitted any time that either a request or a data PDU is allowed from the particular station. It MAY be transmitted during an interval described by any of: + +- a Request IE; +- a Request/Data IE; +- a Data Grant IE. + +In addition, it MAY be piggybacked5 on a data transmission. The request includes: + +- the Service ID making the request; +- the number of mini-slots or ATM cells requested. + +The number of mini-slots requested MUST be the total number that is desired by the CM at the time of the request (including any physical layer overhead)6, subject to administrative limits7. The CM MUST request a number of mini-slots corresponding to one or more complete packets. A non-concatenating CM MUST request only the necessary mini-slots for one MAC frame per request. If, for whatever reason, a previous request has not been satisfied when the CM is making a new request, it MUST include the number of slots from the old request in the new total. Note that only one request at a time (per Service ID) will be outstanding. Because the CMTS MUST continue to issue null grants for as long as a request is unsatisfied, the CM is able to unambiguously determine when its request is still pending. + +Administrative limits MAY be assigned, either globally or per Service ID, on the number of mini-slots that MAY be requested at once. The global limit is configured as the maximum transmission burst size. + +#### **B.6.4.2 Map Transmission and Timing** + +The allocation map MUST be transmitted in time to propagate across the physical cable and be received and handled by the receiving CMs. As such, it MAY be transmitted considerably earlier than its effective time. The components of the delay are: + +- Worst-case round-trip propagation delay – May be network-specific, but in the order of hundreds of microseconds. +- Queuing delays within the CMTS – Implementation-specific. +- Processing delays within the CMs – MUST allow a minimum processing time by each CM as specified in Appendix B.II (CM MAP Processing Time). +- PMD-layer FEC interleaving. + +Within these constraints, vendors MAY wish to minimize this delay so as to minimize latency of access to the upstream channel. + +The number of mini-slots described MAY vary from map to map. At a minimum, a map MAY describe a single mini-slot. This would be wasteful in both downstream bandwidth and in processing time within the CMs. At a maximum, a map MAY stretch to tens of milliseconds. Such a map would provide poor upstream latency. Allocation algorithms MAY vary the size of the maps over time to provide a balance of network utilization and latency under varying traffic loads. + +--- + +5 When piggybacked, these values are carried in the Extended Header (Subclause 6.2.6, EH\_TYPE = 1). + +6 Physical layer overhead that MUST be accounted for in a request includes: guard band, preamble, and FEC which are dependent on the burst profile. + +7 The CM is limited by the Maximum Transmit Burst for the service class, as defined in Appendix B.III. + +At a minimum, a map MUST contain two Information Elements: one to describe an interval and a null IE to terminate the list. At a maximum, a map MUST be bounded by a limit of 240 information elements. Maps are also bounded in that they MUST NOT describe more than 4096 mini-slots into the future. The latter limit is intended to bound the number of future mini-slots that each CM is required to track. Even though several maps may be outstanding, the sum of the number of mini-slots they describe MUST NOT exceed 4096. + +The set of all maps, taken together, MUST describe every mini-slot in the upstream channel. If a CM fails to receive a map describing a particular interval, it MUST NOT transmit during that interval. + +Multiple maps MAY be outstanding at once. + +#### B.6.4.3 Protocol example + +This subclause illustrates the interchange between the CM and the CMTS when the CM has data to transmit (see Figure B.6-32). Suppose a given CM has a data PDU available for transmission. + +![Figure B.6-32/J.112 – Protocol example. A sequence diagram showing the interaction between a CMTS and a CM. The CMTS transmits a Map PDU at t1, which arrives at the CM at t2. The Map PDU has an effective starting time of t3 and contains a Request IE starting at t5. The CM transmits a Request at t4, which arrives at the CMTS at t6. The CMTS then transmits a second Map PDU at t7, which arrives at the CM at t8. This second map has an effective starting time of t9 and contains a data grant starting at t11. The CM then transmits its Data PDU at t10, which arrives at the CMTS at t11. Above the CMTS timeline, a shaded box labeled 'Slots mapped by first Map PDU' spans from t3 to t9. Another box labeled 'Second map' starts at t9. The diagram is labeled T0906580-98/d090.](e3026761f1da20ee91832039701984dd_img.jpg) + +Figure B.6-32/J.112 – Protocol example. A sequence diagram showing the interaction between a CMTS and a CM. The CMTS transmits a Map PDU at t1, which arrives at the CM at t2. The Map PDU has an effective starting time of t3 and contains a Request IE starting at t5. The CM transmits a Request at t4, which arrives at the CMTS at t6. The CMTS then transmits a second Map PDU at t7, which arrives at the CM at t8. This second map has an effective starting time of t9 and contains a data grant starting at t11. The CM then transmits its Data PDU at t10, which arrives at the CMTS at t11. Above the CMTS timeline, a shaded box labeled 'Slots mapped by first Map PDU' spans from t3 to t9. Another box labeled 'Second map' starts at t9. The diagram is labeled T0906580-98/d090. + +Figure B.6-32/J.112 – Protocol example + +#### Description + +- 1) At time $t_1$ , the CMTS transmits a map whose effective starting time is $t_3$ . Within this map is a Request IE which will start at $t_5$ . The difference between $t_1$ and $t_3$ is needed to allow for: + - downstream propagation delay (including FEC interleaving) to allow all CMs to receive the Map; + - processing time at the CM (allows the CMs to parse the Map and translate it into transmission opportunities); + - upstream propagation delay (to allow the CM's transmission of the first upstream data to begin in time to arrive at the CMTS at time $t_3$ ). +- 2) At $t_2$ , the CM receives this map and scans it for request opportunities. In order to minimize request collisions, it calculates $t_6$ as a random offset based on the Data Back-off Start value in the most recent Map (see B.6.4.4, also the multicast SID definitions in B.I.2). +- 3) At $t_4$ , the CM transmits a request for as many mini-slots as needed to accommodate the PDU. Time $t_4$ is chosen based on the ranging offset (see B.6.3.2.5) so that the request will arrive at the CMTS at $t_6$ . +- 4) At $t_6$ , the CMTS receives the request and schedules it for service in the next map. (The choice of which requests to grant will vary with the class of service requested, any competing requests, and the algorithm used by the CMTS.) +- 5) At $t_7$ , the CMTS transmits a map whose effective starting time is $t_9$ . Within this map, a data grant for the CM will start at $t_{11}$ . +- 6) At $t_8$ , the CM receives the map and scans for its data grant. +- 7) At $t_{10}$ , the CM transmits its data PDU so that it will arrive at the CMTS at $t_{11}$ . Time $t_{10}$ is calculated from the ranging offset as in step 3). + +Steps 1) and 2) need not contribute to access latency if CMs routinely maintain a list of request opportunities. + +At step 3), the request may collide with requests from other CMs and be lost. The CMTS does not directly detect the collision. The CM determines that a collision (or other reception failure) occurred when the next map fails to include acknowledgment of the request. The CM MUST then perform a back-off algorithm and retry. + +At step 4), the CMTS scheduler MAY fail to accommodate the request within the next map. If so, it MUST reply with a zero-length grant in that map or discard the request by giving no grant at all. It MUST continue to report this zero-length grant in all succeeding maps until the request can be granted or is discarded. This MUST signal to the CM that the request is still pending. So long as the CM is receiving a zero-length grant, it MUST NOT issue new requests for that service queue. + +#### **B.6.4.4 Contention Resolution** + +The CMTS controls assignments on the upstream channel through the MAP and determines which mini-slots are subject to collisions. The CMTS MAY allow collisions on either Requests or Data PDUs. + +The mandatory method of contention resolution which MUST be supported is based on a truncated binary exponential back-off, with the initial back-off window and the maximum back-off window controlled by the CMTS. The values are specified as part of the Bandwidth Allocation Map (MAP) MAC message and represent a power-of-two value. For example, a value of 4 indicates a window between 0 and 15; a value of 10 indicates a window between 0 and 1023. + +When a CM has information to send and wants to enter the contention resolution process, it sets its internal back-off window equal to the Data Back-off Start defined in the MAP currently in effect. + +The CM MUST randomly select a number within its back-off window. This random value indicates the number of contention transmit opportunities which the CM MUST defer before transmitting. A CM MUST only consider contention transmit opportunities for which this transmission would have been eligible. These are defined by either Request IEs or Request/Data IEs in the MAP. + +NOTE 1 – Each IE can represent multiple transmission opportunities. + +As an example, consider a CM whose initial back-off window is 0 to 15 and it randomly selects the number 11. The CM must defer a total of 11 contention transmission opportunities. If the first available Request IE is for 6 requests, the CM does not use this and has 5 more opportunities to defer. If the next Request IE is for 2 requests, the CM has 3 more to defer. If the third Request IE is for 8 requests, the CM transmits on the fourth request, after deferring for 3 more opportunities. + +After a contention transmission, the CM waits for a Data Grant (Data Grant Pending) or Acknowledgment in a subsequent MAP. Once either is received, the contention resolution is complete. The CM determines that the contention transmission was lost when it finds a MAP without a Data Grant (Data Grant Pending) or Acknowledgment for it and with an Ack time more recent than the time of transmission. The CM MUST now increase its back-off window by a factor of two, as long as it is less than the maximum back-off window. The CM MUST randomly select a number within its new back-off window and repeat the deferring process described above. + +This retry process continues until the maximum number of retries (16) has been reached, at which time the PDU MUST be discarded. + +NOTE 2 – The maximum number of retries is independent of the initial and maximum back-off windows that are defined by the CMTS. + +If the CM receives a unicast Request or Data Grant at any time while deferring for this SID, it MUST stop the contention resolution process and use the explicit transmit opportunity. + +The CMTS has much flexibility in controlling the contention resolution. At one extreme, the CMTS MAY choose to set up the Data Back-off Start and End to emulate an Ethernet-style back-off with its associated simplicity and distributed nature, but also its fairness and efficiency issues. This would be done by setting initial = 0 and max = 10 in the MAP. At the other end, the CMTS MAY make the Data Back-off Start and End identical and frequently update these values in the MAP so all cable modems are using the same, and hopefully optimal, back-off window. + +A Transmit Opportunity is defined as any mini-slot in which a CM may be allowed to start a transmission. Transmit Opportunities typically apply to contention opportunities and are used to calculate the proper amount to defer in the contention resolution process. + +The number of Transmit Opportunities associated with a particular IE in a MAP is dependent on the total size of the region as well as the allowable size of an individual transmission. As an example, assume a REQ IE defines a region of 12 mini-slots. If the UCD defines a REQ that fits into a single mini-slot, then there are 12 Transmit Opportunities associated with this REQ IE, i.e. one for each mini-slot. If the UCD defines a REQ that fits in two mini-slots, then there are six Transmit Opportunities and a REQ can start on every other mini-slot. + +As another example, assume a REQ/Data IE that defines a 24 mini-slot region. If it is sent with an SID of 0x3FF4 (see Appendix B.I), then a CM can potentially start a transmit on every fourth mini-slot; so this IE contains a total of six Transmit Opportunities (TX OP). Similarly, a SID of 0x3FF6 implies four TX OPs; 0x3FF8 implies three TX OPs; and 0x3FFC implies two TX OPs. + +For an Initial Maintenance IE, a CM MUST start its transmission in the first mini-slot of the region; therefore it has a single Transmit Opportunity. The remainder of the region is used to compensate for the round-trip delays since the CM has not yet been ranged. + +Station Maintenance, Short and Long Data Grant IEs are specified for unicast and thus are NOT typically associated with contention Transmit Opportunities. They represent a single dedicated, or reservation-based, Transmit Opportunity. + +In summary (see Table B.6-19). + +**Table B.6-19/J.112 – Transmit Opportunity** + +| Interval | SID type | Transmit Opportunity | +|---------------------|----------------------|--------------------------------------------| +| Request | Broadcast | # mini-slots required for a Request | +| Request | Multicast | # mini-slots required for a Request | +| Request/Data | Broadcast | Not allowed | +| Request/Data | Well-known Multicast | As defined by SID in Appendix B.I | +| Request/Data | Multicast | Vendor specific algorithms | +| Initial Maintenance | Broadcast | Entire interval is a single tx opportunity | +| Initial Maintenance | Multicast | Entire interval is a single tx opportunity | + +#### B.6.4.5 CM Behaviour + +The following rules govern the response a CM may make when processing maps: + +- 1) A CM MUST first use any Grants assigned to it. Next, the CM MUST use any unicast REQ for it. Finally, the CM MUST use the next available broadcast/multicast REQ or REQ/Data IEs for which it is eligible. +- 2) Only one Request may be outstanding at a time for a particular Service ID. +- 3) If a CM has a Request pending, it MUST NOT use intervening contention intervals for that Service ID. + +#### B.6.4.6 Support for multiple channels + +Vendors MAY choose to offer various combinations of upstream and downstream channels within one MAC service access point. The upstream bandwidth allocation protocol allows for multiple upstream channels to be managed via one or many downstream channels. + +If multiple upstream channels are associated with a single downstream channel, then the CMTS MUST send one allocation map per upstream channel. The map's channel identifier, taken with the Upstream Channel Descriptor Message (see B.6.3.2.2), MUST specify to which channel each map applies. There is no requirement that the maps be synchronized across channels. Appendix B.VII provides an example. + +If multiple downstream channels are associated with a single upstream channel, the CMTS MUST ensure that the allocation map reaches all CMs. That is, if some CMs are attached to a particular downstream channel, then the map MUST be transmitted on that channel. This MAY necessitate that multiple copies of the same map be transmitted. The slot reference in the map header MUST always relate to the SYNC reference on the downstream channel on which it is transmitted. + +If multiple downstream channels are associated with multiple upstream channels, the CMTS MAY need to transmit multiple copies of multiple maps to ensure both that all upstream channels are mapped and that all CMs have received their needed maps. + +#### **B.6.4.7 Classes of service** + +This specification does not provide explicit classes of service, but provides the means for vendors to provide a variety of types of service. + +This subclause illustrates how the available mechanisms can be used to provide support for the service classes defined in [RFC-1633] "Integrated Services in the Internet Architecture: An Overview". + +[RFC-1633] divides applications into elastic applications which will always wait for data to arrive and inelastic applications in which the data must arrive within a certain time to be useful. + +Within the inelastic category, further subdivisions can be defined: + +- Delay-intolerant – The data must arrive within a perfectly reliable upper bound on delay. +- Delay-tolerant – The data must arrive within a fairly reliable but not perfectly reliable delay bound. + +Within the elastic category the following application types can be distinguished: + +- interactive burst; +- interactive bulk. + +The service model should be able to support both types of inelastic application and to allow for lower delays for interactive elastic applications than for bulk elastic applications. + +**Inelastic delay-intolerant** – The CMTS provides a Data Grant of fixed size to a configured Service ID once every N mini-slots. This Service ID MAY be assigned to all traffic for a CM, or it MAY only be used for this particular service within the CM. + +**Inelastic delay-tolerant** – The CMTS periodically provides a unicast Request IE to a configured Service ID. It then grants the request based on the negotiated delay variation, bandwidth, and other considerations. The CM has guaranteed access in which to make requests, and the CMTS's scheduling algorithm provides the negotiated service. As an alternative, the minimum data rate of the service negotiation MAY be provided in the same way that inelastic delay-intolerant traffic is handled. + +**Elastic application support** – Is provided by a contention/FIFO service strategy, in which CMs contend for request slots, and the CMTS services requests as they arrive. Service priorities can allow differential delays between interactive and bulk applications. + +##### **B.6.4.7.1 Resource-sharing** + +In order to support multiple end systems sharing the same upstream and downstream links, it is necessary to provide resource-sharing mechanisms for the link bandwidth. The following are some examples of this: + +**Link-usage feedback** is provided implicitly by contention and by the CMTS's scheduling algorithm, so no explicit congestion notifications are needed. + +**Guaranteed Minimum Bit Rate** can be provided in much the same manner as inelastic delay-tolerant application support. + +**Guaranteed Maximum Bit Rate** MAY be provided by a number of implementation mechanisms, including the CMTS's allocation algorithm and throttling within the CM. + +Service Priorities MUST be implemented by applying different service criteria to different Service IDs. It is anticipated that a particular CM MAY have several Service IDs, each corresponding to a particular service class. The particular services offered MAY vary from vendor to vendor. + +Contention that is limited to a service class MAY be accomplished with multicast Request IEs and Request/Data IEs. Creation of such multicast groups is vendor-specific. + +## **B.6.5 Timing and synchronization** + +One of the major challenges in designing a MAC protocol for a cable network is compensating for the large delays involved. These delays are an order of magnitude larger than the transmission burst time in the upstream. To compensate for these delays, the cable modem MUST be able to time its transmissions precisely to arrive at the CMTS at the start of the assigned mini-slot. + +To accomplish this, two pieces of information are needed by each cable modem: + +- a global timing reference sent downstream from the CMTS to all cable modems; +- a timing offset, calculated during a ranging process, for each cable modem. + +### **B.6.5.1 Global timing reference** + +The CMTS MUST create a global timing reference by transmitting the Time Synchronization (SYNC) MAC management message downstream at a nominal frequency. The message contains a timestamp that exactly identifies when the CMTS transmitted the message. Cable modems MUST then compare the actual time the message was received with the timestamp and adjust their local clock references accordingly. + +The Transmission Convergence sublayer must operate closely with the MAC sublayer to provide an accurate timestamp for the SYNC message. As mentioned in the Ranging subclause below (see B.6.5.3), the model assumes that the timing delays through the remainder of the PHY layer MUST be relatively constant. Any variation in the PHY delays MUST be accounted for in the guard time of the PHY overhead. + +It is intended that the nominal interval between SYNC messages be tens of milliseconds. This imposes very little downstream overhead while letting cable modems acquire their global timing synchronization quickly. + +### **B.6.5.2 CM channel acquisition** + +Any cable modem MUST NOT use the upstream channel until it has successfully synchronized to the downstream. + +First, the cable modem MUST establish PMD sublayer synchronization. This implies that it has locked onto the correct frequency, equalized the downstream channel, recovered any PMD sublayer framing and the FEC is operational (refer to B.7.2.2). At this point, a valid bit stream is being sent to the transmission convergence sublayer. The transmission convergence sublayer performs its own synchronization (see B.5). On detecting the well-known MCNS PID, along with a payload unit start indicator per [ITU-T H.222.0], it delivers the MAC frame to the MAC sublayer. + +The MAC sublayer MUST now search for the Timing Synchronization (SYNC) MAC management messages. The cable modem achieves MAC synchronization once it has received at least two SYNC messages and has verified that its clock tolerances are within specified limits. + +A cable modem remains in "SYNC" as long as it continues to successfully receive the SYNC messages. If the Lost SYNC Interval (see Appendix B.II) has elapsed without a valid SYNC message, a cable modem MUST NOT use the upstream and MUST try to re-establish synchronization again. + +### B.6.5.3 Ranging + +Ranging is the process of acquiring the correct timing offset such that the cable modem's transmissions are aligned to the correct mini-slot boundary. The timing delays through the PHY layer MUST be relatively constant. Any variation in the PHY delays MUST be accounted for in the guard time of the upstream PMD overhead. + +First, a cable modem MUST synchronize to the downstream and learn the upstream channel characteristics through the Upstream Channel Descriptor MAC management message. At this point, the cable modem MUST scan the Bandwidth Allocation MAP message to find an Initial Maintenance Region . Refer to B.6.4.1.1.4. The CM must make an Initial Maintenance region large enough to account for the variation in delays between any two CMs. + +The cable modem MUST put together a Ranging Request message to be sent in an Initial Maintenance region. The SID field MUST be set to the non-initialized CM value (zero). + +Ranging adjusts each CM's timing offset such that it appears to be located right next to the CMTS. The CM MUST set its initial timing offset to the amount of internal fixed delay equivalent to putting this CM next to the CMTS. This amount includes delays introduced through a particular implementation, and MUST include the downstream PHY interleaving latency. + +When the Initial Maintenance transmit opportunity occurs, the cable modem MUST send the Ranging Request message. Thus, the cable modem sends the message as if it was physically right at the CMTS. + +Once the CMTS has successfully received the Ranging Request message, it MUST return a Ranging Response message addressed to the individual cable modem. Within the Ranging Response message MUST be a temporary SID assigned to this cable modem until it has completed the registration process. The message MUST also contain information on RF power level adjustment and offset frequency adjustment as well as any timing offset corrections. + +The cable modem MUST now wait for an individual Station Maintenance region assigned to its temporary SID. It MUST now transmit a Ranging Request message at this time using the temporary SID along with any power level and timing offset corrections. + +The CMTS MUST return another Ranging Response message to the cable modem with any additional fine tuning required. The ranging request/response steps MUST be repeated until the response contains a Ranging Successful notification. At this point, the cable modem MUST join normal data traffic in the upstream. See B.7 for complete details on the entire initialization sequence. In particular, state machines and the applicability of retry counts and timer values for the ranging process are defined in B.7.2.5. + +NOTE – The burst type to use for any transmission is defined by the Interval Usage Code (IUC). Each IUC is mapped to a burst type in the UCD message. + +### B.6.5.4 Timing units and relationships + +The SYNC message conveys a time reference that is measured in 6.25-ms ticks. Additional resolution of 6.25/64 ms is also present in the SYNC message to allow the CM to track the CMTS clock with a small phase offset. These units were chosen as the greatest-common-divisor of the upstream mini-slot time across various modulations and symbol rates. As this is decoupled from particular upstream channel characteristics, a single SYNC time reference may be used for all upstream channels associated with the downstream channel. + +The bandwidth allocation MAP uses time units of "mini-slots". A mini-slot represents the byte-time needed for transmission of a fixed number of bytes. The mini-slot is expected to represent 16 byte-times, although other values could be chosen. The size of the mini-slot, expressed as a multiple of the SYNC time reference, is carried in the Upstream Channel Descriptor. The example in Table B.6-20 relates mini-slots to the SYNC time ticks. + +The reader is encouraged to try other symbol rates and modulations. Note that the symbols/byte is a characteristic of an individual burst transmission, not of the channel. A mini-slot in this instance could represent either 16 or 32 bytes, depending on the modulation choice. + +A "mini-slot" is the unit of granularity for upstream transmission opportunities. There is no implication that any PDU can actually be transmitted in a single mini-slot. + +**Table B.6-20/J.112 – Example relating mini-slots to time ticks** + +| Parameter | Example value | +|------------------------|------------------------------------------| +| Time tick | 6.25 ms | +| Bytes per mini-slot | 16 (nominal, when using QPSK modulation) | +| Symbols/byte | 4 (assuming QPSK) | +| Symbols/s | 2 560 000 | +| Mini-slots/s | 40 000 | +| Microseconds/mini-slot | 25 | +| Ticks/mini-slot | 4 | + +The MAP counts mini-slots in a 32-bit counter that normally counts to $(2^{32} - 1)$ and then wraps back to zero. The least-significant bits (i.e. bit 0 to bit 25-M) of the mini-slot counter MUST match the most-significant bits (i.e. bit 6 + M to bit 31) of the SYNC timestamp counter. That is, mini-slot N begins at timestamp reference $(N*T*64)$ , where $T = 2^M$ is the UCD multiplier that defines the mini-slot (i.e. the number of time ticks per mini-slot). + +NOTE – The unused upper bits of the 32-bit mini-slot counter (i.e. bit 26-M to bit 31) are not needed by the CM and MAY be ignored. + +Note that the constraint that the UCD multiplier be a power of two has the consequence that the number of bytes per mini-slot must also be a power of two. + +## **B.6.6 Data link encryption support** + +The procedures to support data link encryption are defined in [MCNS2], [MCNS7] and [MCNS8]. The interaction between the MAC layer and the security system is limited to the items defined below. + +### **B.6.6.1 MAC messages** + +MAC Management messages (see B.6.3) MUST NOT be encrypted. + +### **B.6.6.2 Framing** + +The following rules MUST be followed when the encryption is applied to the frame: + +- Security specific header (Security Header of [MCNS2] or Privacy EH element of [MCNS8]) MUST be in the extended header and MUST be the first EH element of the Extended Header (EHDR) field. +- Encrypted data is carried as Data PDU to the Cable MAC transparently. +- When Security System Specification [MCNS2] is applied, Data PDU MUST be encrypted and decrypted using the mechanism defined in B.6.6.2.1. + +#### **B.6.6.2.1 Example of security system encryption** + +This example is defined for a frame received by a CM at the CMCI and transferred over the cable network to the CMTS and forwarded via an Ethernet-based NSI. For frames travelling in the NSI-to-CMCI direction, the roles of CM and CMTS are reversed. + +##### **B.6.6.2.1.1 CMCI to RF** + +Refer to Figure B.6-33. + +##### **B.6.6.2.1.2 RF to CMTS-NSI** + +Refer to Figure B.6-34. + +![Figure B.6-33/J.112 – Example of security framing at the CM. The diagram shows five steps of frame processing. Step 1: DA, SA, Type/Len, User Data, CRC. Step 2: DA, SA, Type/Len, User Data. Step 3: DA, SA, Type/Len, User Data (with 'Encrypted' arrow under User Data). Step 4: DA, SA, Type/Len, User Data, CRC (with 'Encrypted' arrow under User Data). Step 5: MAC Header, DA, SA, Type/Len, User Data, CRC (with 'Encrypted' arrow under User Data).](bdee2715697a4142d16a360549fa7c7f_img.jpg) + +Figure B.6-33/J.112 – Example of security framing at the CM. The diagram shows five steps of frame processing. Step 1: DA, SA, Type/Len, User Data, CRC. Step 2: DA, SA, Type/Len, User Data. Step 3: DA, SA, Type/Len, User Data (with 'Encrypted' arrow under User Data). Step 4: DA, SA, Type/Len, User Data, CRC (with 'Encrypted' arrow under User Data). Step 5: MAC Header, DA, SA, Type/Len, User Data, CRC (with 'Encrypted' arrow under User Data). + +T0906590-98/d091 + +1. CM receives frame from Ethernet +2. Check and discard Ethernet CRC +3. Encrypt payload (DA, SA, Type/Len and User\_Data) +4. Calculate new CRC over encrypted payload +5. Add MAC\_Header including security header as the first EH element of the Extended Header (EHDR) field + +**Figure B.6-33/J.112 – Example of security framing at the CM** + +![Figure B.6-34/J.112 – Example of security framing at the CMTS. The diagram shows five steps of frame processing. Step 1: MAC Header, DA, SA, Type/Len, User Data, CRC (with 'Encrypted' arrow under User Data). Step 2: DA, SA, Type/Len, User Data, CRC (with 'Encrypted' arrow under User Data). Step 3: DA, SA, Type/Len, User Data (with 'Encrypted' arrow under User Data). Step 4: DA, SA, Type/Len, User Data. Step 5: DA, SA, Type/Len, User Data, CRC.](b18f943d96bfcb2b1360a27b9e45e11e_img.jpg) + +Figure B.6-34/J.112 – Example of security framing at the CMTS. The diagram shows five steps of frame processing. Step 1: MAC Header, DA, SA, Type/Len, User Data, CRC (with 'Encrypted' arrow under User Data). Step 2: DA, SA, Type/Len, User Data, CRC (with 'Encrypted' arrow under User Data). Step 3: DA, SA, Type/Len, User Data (with 'Encrypted' arrow under User Data). Step 4: DA, SA, Type/Len, User Data. Step 5: DA, SA, Type/Len, User Data, CRC. + +T0906600-98/d092 + +1. Receive frame from RF interface +2. Check and discard MAC Header including security header +3. Check and discard CR +4. Decrypt payload +5. Recalculate CRC and forward frame to CMTS-NSI + +**Figure B.6-34/J.112 – Example of security framing at the CMTS** + +## B.7 Cable modem – CMTS interaction + +This subclause covers key requirements for interaction between the cable modem and CMTS. The interaction can be broken down into five basic categories: modem initialization, authentication, configuration, authorization, and signalling. + +### B.7.1 CMTS initialization + +The mechanism utilized for CMTS initialization (local terminal, file download, SNMP, etc.) is described in [MCNS5]. It MUST meet the following criteria for system interoperability: + +- The CMTS MUST be able to reboot and operate in a stand-alone mode using configuration data retained in non-volatile storage. + +- If valid parameters are not available from non-volatile storage or via another mechanism such as the Spectrum Management System (see [SMS]), the CMTS MUST not generate any downstream messages (including SYNC). This will prevent CMs from transmitting. +- The CMTS MUST provide the information defined in B.6 to CMs for each upstream channel. + +### **B.7.2 Cable modem initialization** + +The procedure for initialization of a cable modem MUST be as shown in Figure B.7-1. This figure shows the overall flow between the stages of initialization in a CM. This shows no error paths, and is simply to provide an overview of the process. The more detailed finite state machine representations of the individual subclauses (including error paths) are shown in the subsequent figures. Timeout values are defined in Appendix B.II. + +The procedure can be divided into the following phases: + +- Removable Security Module (RSM) Detection. +- Scan for downstream channel and establish synchronization with the CMTS. +- Obtain transmit parameters (from UCD message). +- Perform ranging. +- Establish IP connectivity. +- Establish time of day. +- Establish Security Association (if RSM is present). +- Transfer operational parameters. +- Baseline Privacy initialization (if RSM is not present and CM is provisioned to run Baseline Privacy). + +Each CM contains the following information when shipped from the manufacturer: + +- A unique IEEE 802 48-bit MAC address which is assigned during the manufacturing process. This is used to identify the modem to the various provisioning servers during initialization. +- Security information as defined in [MCNS2 and MCNS8] (e.g. X.509 certificate) used to authenticate the CM to the security server and authenticate the responses from the security and provisioning servers. + +The Specification and Description Language (SDL) notation used in the following figures is shown in Figure B.7-2 (refer to Recommendation Z.100 [ITU-T Z.100]). + +#### **B.7.2.1 RSM detection** + +When a CM is turned on, the CM determines whether Removable Security Module (RSM) is present in RSM slot or not as defined in [MCNS7]. + +#### **B.7.2.2 Scanning and synchronization to downstream** + +On initialization or after signal loss, the cable modem MUST acquire a downstream channel. The CM MUST have non-volatile storage in which the last operational parameters are stored and MUST first try to re-acquire this downstream channel. If this fails, it MUST begin to continuously scan the 6-MHz channels of the downstream frequency band of operation until it finds a valid downstream signal. + +A downstream signal is considered to be valid when the modem has achieved the following steps: + +- synchronization of the QAM symbol timing; +- synchronization of the FEC framing; +- synchronization of the MPEG packetization; +- recognition of SYNC downstream MAC messages. + +While scanning, it is desirable to give an indication to the user that the CM is doing so. + +![Flowchart of CM initialization overview showing steps for RSM Detection, Downstream Sync, Upstream Parameters, Ranging, IP Connectivity, Time of Day, RSM Present decision, Establish Security, Transfer Operational Parameters, Register with CMTS, 1a) decision, Baseline Privacy Initialization, and Operational state. Includes subclause references B.7.2.1 through B.7.2.11.](f5f5c0161d7d582a5a4c7227eb4e8eb0_img.jpg) + +``` + +graph TD + subgraph LeftColumn [ ] + L1([RSM Detection]) --> L2{{RSM Detection Complete}} + L2 --> L3([Scan for Downstream Channel]) + L3 --> L4{{Downstream Sync Established}} + L4 --> L5([Obtain Upstream Parameters]) + L5 --> L6{{Upstream Parameters Acquired}} + L6 --> L7([Ranging and Automatic Adjustments]) + L7 --> L8{{Ranging and Auto Adj Complete}} + L8 --> L9([Establish IP Connectivity]) + L9 --> L10{{IP Complete}} + L10 --> L11([Establish Time of Day]) + L11 --> L12{{Time of Day Established}} + end + + L12 --> D1{RSM Present?} + D1 -- No --> D5 + D1 -- Yes --> D2([Establish Security]) + D2 --> D3{{Security Established}} + D3 --> D4([Transfer Operational Parameters]) + D4 --> D5{{Transfer Complete}} + D5 --> D6([Register with CMTS]) + D6 --> D7{{Registration Complete}} + D7 --> D8{1a)} + D8 -- No --> D11 + D8 -- Yes --> D9([Baseline Privacy Initialization]) + D9 --> D10{{Baseline Privacy Initialized}} + D10 --> D11([Operational]) + + style LeftColumn fill:none,stroke:none + +``` + +Subclause B.7.2.1 + +Subclause B.7.2.2 + +Subclause B.7.2.3 + +Subclause B.7.2.5 + +Subclause B.7.2.6 + +Subclause B.7.2.7 + +Subclause B.7.2.8 + +Subclause B.7.2.9 + +Subclause B.7.2.10 + +Subclause B.7.2.11 + +T0906400-98/d093 + +Flowchart of CM initialization overview showing steps for RSM Detection, Downstream Sync, Upstream Parameters, Ranging, IP Connectivity, Time of Day, RSM Present decision, Establish Security, Transfer Operational Parameters, Register with CMTS, 1a) decision, Baseline Privacy Initialization, and Operational state. Includes subclause references B.7.2.1 through B.7.2.11. + +a) RSM not present and Baseline Privacy enabled. + +**Figure B.7-1/J.112 – CM initialization overview** + +![Figure B.7-2/J.112 – SDL notation diagram showing various symbol types: State symbol (oval), Input symbols (Internal and External, chevron shapes), Task symbol (rectangle), Output symbols (Internal and External, arrow shapes), and Decision symbol (diamond).](f97782852c7474fa58fcf5cd0bd96a7e_img.jpg) + +The diagram illustrates the SDL notation for various symbols used in state transition diagrams. It consists of the following elements: + +- State symbol:** Represented by a horizontal oval. +- Input symbols:** Represented by two chevron shapes (pointing right). They are grouped by a brace and labeled "Internal" and "External". +- Task symbol:** Represented by a horizontal rectangle. +- Output symbols:** Represented by two arrow shapes (pointing right). They are grouped by a brace and labeled "Internal" and "External". +- Decision symbol:** Represented by a diamond shape. + +T0905160-97/d094 + +Figure B.7-2/J.112 – SDL notation diagram showing various symbol types: State symbol (oval), Input symbols (Internal and External, chevron shapes), Task symbol (rectangle), Output symbols (Internal and External, arrow shapes), and Decision symbol (diamond). + +**Figure B.7-2/J.112 – SDL notation** + +### B.7.2.3 Obtain upstream parameters + +Refer to Figure B.7-3 after synchronization, the CM MUST wait for an Upstream Channel Descriptor message (UCD) from the CMTS in order to retrieve transmission parameters for the upstream channel. These messages are transmitted periodically from the CMTS for all available upstream channels and are addressed to the MAC broadcast address. The CM MUST determine whether it can use the upstream channel from the channel description parameters. If the channel is not suitable, then the CM MUST wait for a Channel Description message for a channel which it can use. If no channel can be found after a suitable timeout period, then the CM MUST continue scanning to find another downstream channel. + +When the cable modem finds an upstream channel with acceptable transmission parameters, it MUST extract the parameters for this upstream from the UCD. It then MUST wait for the next SYNC message8 and extract the upstream mini-slot timestamp from this message. The CM then MUST wait for a bandwidth allocation map for the selected channel. It MAY then begin transmitting upstream in accordance with the MAC operation and the bandwidth allocation mechanism. + +It is desirable to give an indication to the user that the CM has finished searching and has detected a valid downstream signal and upstream channel. + +8 Alternatively, since the SYNC message applies to all upstream channels, the CM may have already acquired a time reference from previous SYNC messages. If so, it need not wait for a new SYNC. + +![Flowchart for obtaining upstream parameters. The process starts with 'Wait for usable UCD'. It then branches into two paths. The left path consists of 'Timeout T1' leading to 'Scanning'. The right path consists of 'Good upstream descriptor' leading to 'Wait for SYNC', then 'Sync', then 'Extract upstream mini-slot timing', then 'Wait for map for this channel', then 'Map for selected channel', and finally 'Ranging'. A small code 'T0905170-97/d095' is at the bottom right.](2fa686ed8033ac35efddee0c7be47d59_img.jpg) + +``` + +graph TD + Start([Wait for usable UCD]) --> Branch(( )) + Branch --> T1[/Timeout T1/] + T1 --> Scanning([Scanning]) + Branch --> Good[/Good upstream descriptor/] + Good --> WaitSYNC([Wait for SYNC]) + WaitSYNC --> Sync[/Sync/] + Sync --> Extract[Extract upstream mini-slot timing] + Extract --> WaitMap([Wait for map for this channel]) + WaitMap --> Map[/Map for selected channel/] + Map --> Ranging([Ranging]) + T0905170-97/d095 + +``` + +Flowchart for obtaining upstream parameters. The process starts with 'Wait for usable UCD'. It then branches into two paths. The left path consists of 'Timeout T1' leading to 'Scanning'. The right path consists of 'Good upstream descriptor' leading to 'Wait for SYNC', then 'Sync', then 'Extract upstream mini-slot timing', then 'Wait for map for this channel', then 'Map for selected channel', and finally 'Ranging'. A small code 'T0905170-97/d095' is at the bottom right. + +Figure B.7-3/J.112 – Obtaining upstream parameters + +#### B.7.2.4 Message flows during scanning and Upstream parameter acquisition + +The CMTS MUST generate SYNC and UCD messages on the downstream at periodic intervals within the ranges defined in B.6. These messages are addressed to all CMs. Refer to Figure B.7-4. + +#### B.7.2.5 Ranging and automatic adjustments + +The ranging and adjustment process is fully defined in B.6 and in the following subclauses. The message sequence chart and the finite state machines on the following pages define the ranging and adjustment process which MUST be followed by compliant CMs and CMTSs. Refer to Figures B.7-5 through B.7-8. + +NOTE – MAPs are transmitted as described in B.6. + +![Sequence diagram showing message flows between CMTS and CM during scanning and upstream parameter acquisition. The diagram shows a series of SYNC, UCD, and MAP messages from CMTS to CM, with corresponding CM responses and state changes.](88c92858439684b2103e88cb143fb98e_img.jpg) + +The diagram illustrates the message flows between a CMTS (Cable Modem Termination System) and a CM (Cable Modem) during scanning and upstream parameter acquisition. The sequence of events is as follows: + +- CMTS** sends a **SYNC** message at a specific clock time. +- CM** receives the **SYNC** message. +- CMTS** sends a **UCD** message at a specific clock time. +- CM** receives the **UCD** message. This marks the start of an example UCD cycle prior to CM power-on. +- CMTS** sends a **SYNC** message at a specific clock time. +- CM** receives the **SYNC** message. +- CMTS** sends a **SYNC** message at a specific clock time. +- CM** receives the **SYNC** message. +- CMTS** sends a **SYNC** message at a specific clock time. +- CM** receives the **SYNC** message. +- CMTS** sends a **SYNC** message at a specific clock time. +- CM** receives the **SYNC** message. +- CMTS** sends a **UCD** message at a specific clock time. +- CM** receives the **UCD** message. This marks the completion of the power-on sequence. +- CMTS** sends a **SYNC** message at a specific clock time. +- CM** receives the **SYNC** message. The CM establishes PHY synchronization and waits for a UCD. +- CMTS** sends a **SYNC** message at a specific clock time. +- CM** receives the **SYNC** message. +- CMTS** sends a **SYNC** message at a specific clock time. +- CM** receives the **SYNC** message. +- CMTS** sends a **UCD** message at a specific clock time. +- CM** receives the **UCD** message. The CM obtains parameters for this upstream channel to use for initialization. +- CMTS** sends a **SYNC** message at a specific clock time. +- CM** receives the **SYNC** message. The CM extracts slot info for upstream and waits for a transmit opportunity to perform ranging. +- CMTS** sends a **SYNC** message at a specific clock time. +- CM** receives the **SYNC** message. +- CMTS** sends a **MAP** message at a specific clock time. +- CM** receives the **MAP** message. The CM starts the ranging process. + +Sequence diagram showing message flows between CMTS and CM during scanning and upstream parameter acquisition. The diagram shows a series of SYNC, UCD, and MAP messages from CMTS to CM, with corresponding CM responses and state changes. + +T0906750-98/d096 + +Figure B.7-4/J.112 – Message flows during scanning and Upstream parameter acquisition + +![](5f7b02749ab85c5e65d6762767ab6d97_img.jpg) + +| CM TS | | CM | +|----------------------------------------------------------------------------------------------------|-------------------|---------------------------------------------------------------------------| +| [time to send the Initial Maintenance opportunity] | | | +| Send map containing Initial Maintenance information element with a broadcast/multicast Service ID. | —————MAP—————→ | | +| | ←————RNG-REQ———— | Transmit ranging packet in contention mode with Service ID parameter = 0. | +| [receive recognizable ranging packet] | | | +| Allocate temporary Service ID. | | | +| Send ranging response. | —————RNG-RSP————→ | | +| Add temporary Service ID to poll list. | | Store temporary Service ID and adjust other parameters. | +| [time to send the next map] | | | +| Send map with Station Maintenance information element to modem using temporary SID. | —————MAP—————→ | Recognize own temporary Service ID in map. | +| | ←————RNG-REQ———— | Reply to Station Maintenance opportunity poll. | +| Send ranging response. | —————RNG-RSP————→ | Adjust local parameters. | +| [time to send an Initial Maintenance opportunity] | | | +| Send map containing Initial Maintenance information element with a broadcast/multicast Service ID. | | | +| Send periodic transmit opportunity to broadcast address. | —————MAP—————→ | | + +T0906760-98/d097 + +NOTE – The CMTS MUST allow the CM sufficient time to have processed the previous RNG-RSP (i.e. to modify the transmitter parameters) before sending the CM a specific ranging opportunity. This is defined as CM Ranging Response Time in Appendix B.II. + +**Figure B.7-5/J.112 – Ranging and automatic adjustment procedure** + +![Flowchart for Initial Ranging - CM. The process starts with 'Wait for Initial Maintenance opportunity', leading to a split: 'Timeout T2' (Error Re-initialize MAC) and 'Map with maintenance opportunity' (Send RNG-REQ). 'Send RNG-REQ' leads to 'Wait for RNG-RSP', which then splits into 'Timeout T3' (Retries exhausted? Yes: Error Re-initialize MAC; No: Adjust local power, Random back-off (Note), Wait for Initial Maintenance opportunity) and 'RNG-RSP' (Adjust local parameters per RNG-RSP, Wait for Station Maintenance opportunity).](86c74ee06f834f849f6cd094ca0b5867_img.jpg) + +``` + +graph TD + Start([Wait for Initial Maintenance opportunity]) + T2{{Timeout T2}} + Error1([Error Re-initialize MAC]) + Map{{Map with maintenance opportunity}} + SendRNG[/Send RNG-REQ/] + WaitRNG([Wait for RNG-RSP]) + T3{{Timeout T3}} + Retries{Retries exhausted?} + Error2([Error Re-initialize MAC]) + AdjustPower[Adjust local power] + Backoff[Random back-off +Note] + RNGRSP{{RNG-RSP}} + AdjustParams[Adjust local parameters per RNG-RSP] + WaitStation([Wait for Station Maintenance opportunity]) + + Start --- T2 + Start --- Map + T2 --> Error1 + Map --> SendRNG + SendRNG --> WaitRNG + WaitRNG --- T3 + WaitRNG --- RNGRSP + T3 --> Retries + Retries -- Yes --> Error2 + Retries -- No --> AdjustPower + AdjustPower --> Backoff + Backoff --> Start + RNGRSP --> AdjustParams + AdjustParams --> WaitStation + +``` + +T0906610-98/d098 + +Flowchart for Initial Ranging - CM. The process starts with 'Wait for Initial Maintenance opportunity', leading to a split: 'Timeout T2' (Error Re-initialize MAC) and 'Map with maintenance opportunity' (Send RNG-REQ). 'Send RNG-REQ' leads to 'Wait for RNG-RSP', which then splits into 'Timeout T3' (Retries exhausted? Yes: Error Re-initialize MAC; No: Adjust local power, Random back-off (Note), Wait for Initial Maintenance opportunity) and 'RNG-RSP' (Adjust local parameters per RNG-RSP, Wait for Station Maintenance opportunity). + +NOTE – Timeout T3 may occur because the RNG-REQs from multiple modems collided. To avoid these modems repeating the loop in lockstep, a random back-off is required. This is a back-off over the ranging window specified in the MAP. + +**Figure B.7-6/J.112 – Initial Ranging – CM** + +![Flowchart for Initial Ranging - CM. The process starts with 'Wait for Station Maintenance opportunity'. It branches into 'Timeout T4' leading to 'Error: Re-initialize MAC' and 'Map with Maintenance opportunity' leading to 'Send RNG-REQ'. 'Send RNG-REQ' leads to 'Wait for RNG-RSP', which then branches into 'Timeout T3' leading to a 'Retries exhausted?' decision and 'RNG-RSP' leading to 'Adjust local parameters per RNG-RSP'. 'Retries exhausted?' leads to 'Error: Re-initialize MAC' (Yes) or 'Adjust local power' (No). 'Adjust local power' leads to 'Wait for Station Maintenance opportunity'. 'Adjust local parameters per RNG-RSP' leads to 'Success set from CMTS? (Note)'. 'Success set from CMTS?' leads to 'Enable data transfer' (Yes) or 'Abort ranging set from CMTS?' (No). 'Abort ranging set from CMTS?' leads to 'Error: Re-initialize MAC' (Yes) or 'Adjust local power' (No). 'Enable data transfer' leads to 'Establish IP layer'. A note at the bottom right reads 'T0906620-98/d099'.](f2a3faa7fc860dd26eda5b88460b0bcf_img.jpg) + +``` + +graph TD + Start([Wait for Station Maintenance opportunity]) --> T4{Timeout T4} + Start --> Map[Map with Maintenance opportunity] + T4 --> Error1([Error: Re-initialize MAC]) + Map --> SendRNG[Send RNG-REQ] + SendRNG --> WaitRNG([Wait for RNG-RSP]) + WaitRNG --> T3{Timeout T3} + WaitRNG --> RNGRSP[RNG-RSP] + T3 --> Retries{Retries exhausted?} + Retries -- Yes --> Error2([Error: Re-initialize MAC]) + Retries -- No --> AdjustPower[Adjust local power] + AdjustPower --> Start + RNGRSP --> AdjustParams[Adjust local parameters per RNG-RSP] + AdjustParams --> Success{Success set from CMTS? (Note)} + Success -- Yes --> EnableData[Enable data transfer] + Success -- No --> Abort{Abort ranging set from CMTS?} + Abort -- Yes --> Error3([Error: Re-initialize MAC]) + Abort -- No --> AdjustPower + EnableData --> EstablishIP([Establish IP layer]) + +``` + +T0906620-98/d099 + +Flowchart for Initial Ranging - CM. The process starts with 'Wait for Station Maintenance opportunity'. It branches into 'Timeout T4' leading to 'Error: Re-initialize MAC' and 'Map with Maintenance opportunity' leading to 'Send RNG-REQ'. 'Send RNG-REQ' leads to 'Wait for RNG-RSP', which then branches into 'Timeout T3' leading to a 'Retries exhausted?' decision and 'RNG-RSP' leading to 'Adjust local parameters per RNG-RSP'. 'Retries exhausted?' leads to 'Error: Re-initialize MAC' (Yes) or 'Adjust local power' (No). 'Adjust local power' leads to 'Wait for Station Maintenance opportunity'. 'Adjust local parameters per RNG-RSP' leads to 'Success set from CMTS? (Note)'. 'Success set from CMTS?' leads to 'Enable data transfer' (Yes) or 'Abort ranging set from CMTS?' (No). 'Abort ranging set from CMTS?' leads to 'Error: Re-initialize MAC' (Yes) or 'Adjust local power' (No). 'Enable data transfer' leads to 'Establish IP layer'. A note at the bottom right reads 'T0906620-98/d099'. + +NOTE – Ranging Request is within the tolerance of the CMTS. + +**Figure B.7-7/J.112 – Initial Ranging – CM** + +![Flowchart for Initial Ranging - CM/CS. The process starts with 'Wait for recognizable RNG-REQ', followed by 'RNG-REQ'. A decision 'SID assigned to this CM already?' leads to either 'Reset retry count in poll list for this CM' or 'Assign temporary SID' followed by 'Add CM to poll list for future maps'. Both lead to 'Send RNG-RSP'. A note indicates 'Map will be sent per allocation algorithm and pending till complete (Note 2)'. The next step is 'Wait for polled RNG-REQ'. From here, if 'RNG-REQ not received', a decision 'Retries exhausted?' follows. If 'Yes', 'Remove CM from poll list' and 'Wait for recognizable RNG-REQ' occur. If 'No', the flow returns to 'Send RNG-RSP'. If 'RNG-REQ' is received, a decision 'Good enough? (Note 1)' follows. If 'Yes', 'Send RNG-RSP (success)' and 'Remove CM from poll list' lead to 'Done'. If 'No', a decision 'Retries exhausted?' follows. If 'Yes', 'Send RNG-RSP (abort)' and 'Wait for recognizable RNG-REQ' occur. If 'No', 'Send RNG-RSP (continue)' and 'Wait for polled RNG-REQ' occur. The diagram is labeled T0906740-98/d100.](cf8d9315f7f99ef87b4040c7312c5c6f_img.jpg) + +``` + +graph TD + Start([Wait for recognizable RNG-REQ]) --> RNG_REQ[/RNG-REQ/] + RNG_REQ --> SID_Assigned{SID assigned to this CM already?} + SID_Assigned -- Yes --> Reset_Retry[Reset retry count in poll list for this CM] + SID_Assigned -- No --> Assign_SID[Assign temporary SID] + Assign_SID --> Add_Poll[Add CM to poll list for future maps] + Reset_Retry --> Send_RNG_RSP[/Send RNG-RSP/] + Add_Poll --> Send_RNG_RSP + Send_RNG_RSP --> Wait_Polled_RNG_REQ([Wait for polled RNG-REQ]) + Note2[Map will be sent per allocation algorithm and pending till complete (Note 2)] -.-> Send_RNG_RSP + Wait_Polled_RNG_REQ --> RNG_Req_Received[/RNG-REQ/] + Wait_Polled_RNG_REQ --> RNG_Req_Not_Received[/RNG-REQ not received/] + RNG_Req_Not_Received --> Retries_Exhausted_1{Retries exhausted?} + Retries_Exhausted_1 -- Yes --> Remove_Poll_1[Remove CM from poll list] + Remove_Poll_1 --> Start + Retries_Exhausted_1 -- No --> Send_RNG_RSP + RNG_Req_Received --> Good_Enough{Good enough? (Note 1)} + Good_Enough -- Yes --> Send_RNG_RSP_Success[/Send RNG-RSP (success)/] + Send_RNG_RSP_Success --> Remove_Poll_2[Remove CM from poll list] + Remove_Poll_2 --> Done([Done]) + Good_Enough -- No --> Retries_Exhausted_2{Retries exhausted?} + Retries_Exhausted_2 -- Yes --> Send_RNG_RSP_Abort[/Send RNG-RSP (abort)/] + Send_RNG_RSP_Abort --> Start + Retries_Exhausted_2 -- No --> Send_RNG_RSP_Continue[/Send RNG-RSP (continue)/] + Send_RNG_RSP_Continue --> Wait_Polled_RNG_REQ + +``` + +Flowchart for Initial Ranging - CM/CS. The process starts with 'Wait for recognizable RNG-REQ', followed by 'RNG-REQ'. A decision 'SID assigned to this CM already?' leads to either 'Reset retry count in poll list for this CM' or 'Assign temporary SID' followed by 'Add CM to poll list for future maps'. Both lead to 'Send RNG-RSP'. A note indicates 'Map will be sent per allocation algorithm and pending till complete (Note 2)'. The next step is 'Wait for polled RNG-REQ'. From here, if 'RNG-REQ not received', a decision 'Retries exhausted?' follows. If 'Yes', 'Remove CM from poll list' and 'Wait for recognizable RNG-REQ' occur. If 'No', the flow returns to 'Send RNG-RSP'. If 'RNG-REQ' is received, a decision 'Good enough? (Note 1)' follows. If 'Yes', 'Send RNG-RSP (success)' and 'Remove CM from poll list' lead to 'Done'. If 'No', a decision 'Retries exhausted?' follows. If 'Yes', 'Send RNG-RSP (abort)' and 'Wait for recognizable RNG-REQ' occur. If 'No', 'Send RNG-RSP (continue)' and 'Wait for polled RNG-REQ' occur. The diagram is labeled T0906740-98/d100. + +NOTE 1 – Means ranging is within the tolerable limits of the CM/CS. + +NOTE 2 – RNG-REQ pending-till-complete was non-zero, the CM/CS SHOULD hold off the station maintenance opportunity accordingly, unless needed, for example, to adjust the CM's power level. If opportunities are offered prior to the pending-till-complete expiry, the "good-enough" test which follows receipt of a RNG-RSP MUST NOT judge the CM's transmit equalization until pending-till-complete expires. + +Figure B.7-8/J.112 – Initial Ranging – CM/CS + +### B.7.2.5.1 Ranging parameter adjustment + +Adjustment of local parameters (e.g. transmit power) in a CM as a result of the receipt (or non-receipt) of an RNG-RSP is considered to be implementation-dependent with the following restrictions (refer to B.6.2.7): + +- All parameters MUST be within the approved range at all times. +- Power adjustment MUST start from the minimum value unless a valid power is available from non-volatile storage, in which case this MUST be used as a starting point. +- Power adjustment MUST be capable of being reduced or increased by the specified amount in response to RNG-RSP messages. +- If power is adjusted to the maximum value, it MUST wrap back to the minimum. + +### B.7.2.5.2 Periodic ranging + +The CMTS MUST provide each CM a Periodic Ranging opportunity at least once every T4 s. The CMTS MUST send out Periodic Ranging opportunities at an interval sufficiently shorter than T4 that a MAP could be missed without the CM timing out. The size of this "subinterval" is CMTS dependent. + +The CM MUST reinitialize its MAC layer after T4 s have elapsed without receiving a Periodic Ranging opportunity. + +### B.7.2.6 Establish IP connectivity + +At this point, the CM MUST invoke DHCP mechanisms [RFC-1541] in order to obtain an IP address and any other parameters needed to establish IP connectivity (see Appendix B.III). The DHCP response MUST contain the name of a file which contains further configuration parameters. Refer to Figure B.7-9. + +![Sequence diagram showing the DHCP process between a CM and a DHCP server. The CM sends a DHCP discover to the broadcast address. The DHCP server checks the CM MAC address and responds with a DHCP offer. The CM chooses a server and sends a DHCP request. The DHCP server processes the request and sends a DHCP response. Finally, the CM sets up IP parameters from the DHCP response.](e7e5bf8091872a80c572fe532b5d7010_img.jpg) + +``` +sequenceDiagram + participant CM + participant DHCP + Note left of CM: Send DHCP request to broadcast address. + CM->>DHCP: DHCP discover + Note right of DHCP: Check CM MAC address and respond. + DHCP-->>CM: DHCP offer + Note left of CM: Choose server. + CM->>DHCP: DHCP request + Note right of DHCP: Process request. + DHCP-->>CM: DHCP response + Note left of CM: Set up IP parameters from DHCP response. +``` + +Sequence diagram showing the DHCP process between a CM and a DHCP server. The CM sends a DHCP discover to the broadcast address. The DHCP server checks the CM MAC address and responds with a DHCP offer. The CM chooses a server and sends a DHCP request. The DHCP server processes the request and sends a DHCP response. Finally, the CM sets up IP parameters from the DHCP response. + +T0906630-98/d101 + +Figure B.7-9/J.112 – Establishing IP connectivity + +### B.7.2.7 Establish time of day + +The CM and CMTS need to have the current date and time. This need not be authenticated and need only be accurate to the nearest second [MCNS2]. + +This is required for: + +- time-stamping logged events which can be retrieved by the management system; +- key management by the security system. + +The protocol by which the time of day is retrieved will be as defined in [RFC-868]. Refer to Figure B.7-10. + +The request and response will be transferred using UDP. + +The time retrieved from the server (UTC) will be combined with the time offset received from the DHCP response to create the current local time. + +![Sequence diagram showing the interaction between a CM and a Time Server to establish the time of day. The CM sends a 'time of day request' to the Time Server. The Time Server processes the request and sends a 'time of day response' back to the CM. The CM then sets up the correct time of day from the response.](c8363610940980ea7cd1611443c94ef5_img.jpg) + +``` + +sequenceDiagram + participant CM + participant Time Server + Note left of CM: Send request to time server. + CM->>Time Server: time of day request + Note right of Time Server: Process request + Time Server-->>CM: time of day response + Note left of CM: Set up/correct time of day from response. + +``` + +Sequence diagram showing the interaction between a CM and a Time Server to establish the time of day. The CM sends a 'time of day request' to the Time Server. The Time Server processes the request and sends a 'time of day response' back to the CM. The CM then sets up the correct time of day from the response. + +T0906640-98/d102 + +**Figure B.7-10/J.112 – Establishing time of day** + +### B.7.2.8 Establish security association + +If the RSM module is detected and no security association has been established, the CM MUST establish a security association at this point. The IP address of the security server (or servers) MUST be provided as part of the DHCP response. The procedures required are fully defined in [MCNS2]. + +### B.7.2.9 Transfer operational parameters + +After the DHCP and security association operations are successful, the modem MUST download the parameter file using TFTP, as shown in Figure B.7-11. The TFTP configuration parameter server is specified by the "siaddr" field of the DHCP response. + +The parameter fields required in the DHCP response and the format and content of the configuration file MUST be as defined in Appendix B.III. Note that these fields are the minimum required for interoperability. + +![Sequence diagram showing the interaction between a CM, CMTS, and TFTP Server to transfer operational parameters and registration. The CM sends a 'Request parameter file.' to the TFTP Server. The TFTP Server processes the request and sends a '-TFTP REQ-' to the CMTS. The CMTS then sends a '-TFTP RSP-' back to the CM. The CM sets up operational parameters. The CM then sends a 'REG- REQ' to the CMTS. The CMTS provisions the modem and sends a 'REG- RSP' back to the CM. The CM sets up Service IDs.](20e325591c62b3aed441a45d3fbaff67_img.jpg) + +``` + +sequenceDiagram + participant CM + participant CMTS + participant TFTP as TFTP Server + Note left of CM: Request parameter file. + CM->>TFTP: + Note right of TFTP: Server +Process request + TFTP->>CMTS: —TFTP REQ— + CMTS->>CM: —TFTP RSP— + Note left of CM: Set up operational parameters. + Note left of CM: Inform CMTS. + CM->>CMTS: —REG- REQ— + Note right of CMTS: Provision modem + CMTS->>CM: —REG- RSP— + Note left of CM: Set up Service IDs. + +``` + +Sequence diagram showing the interaction between a CM, CMTS, and TFTP Server to transfer operational parameters and registration. The CM sends a 'Request parameter file.' to the TFTP Server. The TFTP Server processes the request and sends a '-TFTP REQ-' to the CMTS. The CMTS then sends a '-TFTP RSP-' back to the CM. The CM sets up operational parameters. The CM then sends a 'REG- REQ' to the CMTS. The CMTS provisions the modem and sends a 'REG- RSP' back to the CM. The CM sets up Service IDs. + +T0906650-98/d103 + +**Figure B.7-11/J.112 – Transferring operational parameters and registration** + +### B.7.2.10 Registration + +A CM MUST be authorized to forward traffic into the network once it is initialized, authenticated and configured. Refer to Figure B.7-11. + +The configuration parameters downloaded to the CM MUST include a network access control object (see Appendix B.III.8.5). If this is set to "no forwarding", the CM MUST not forward data to the network. It MUST respond to network management requests. This allows the CM to be configured in a mode in which it is manageable but will not forward data. + +The CM MUST forward the operational parameters to the CMTS as part of a registration request. The CMTS MUST perform the following operations to confirm the CM authorization: + +- check the MAC and the authentication signature on the parameter list; +- build a profile for the modem based on the standard configuration settings (see Appendix B.III); +- assign a Service ID based on the classes of service supported; +- reply to the modem registration request. + +Vendor-specific configuration settings MUST be ignored (except for inclusion in message authorization code calculation). + +#### **B.7.2.11 Baseline Privacy initialization** + +Following registration, if the RSM module is NOT detected and the CM is provisioned to run Baseline Privacy, the CM MUST initialize Baseline Privacy operations, as described in [MCNS8]. A CM is provisioned to run Baseline Privacy if its configuration file includes a Baseline Privacy Configuration Setting. + +#### **B.7.2.12 Service IDs during CM initialization** + +After completion of the Registration process (see B.7.2.10), the CM will have been assigned Service IDs (SIDs) to match its class of service provisioning. However, the CM must complete a number of protocol transactions prior to that time (e.g. Ranging, DHCP, etc.), and requires a temporary Service ID in order to complete those steps. + +On reception of an Initial Ranging Request, the CMTS MUST allocate a temporary SID and assign it to the CM for initialization use. The CMTS MAY monitor use of this SID and restrict traffic to that needed for initialization. It MUST inform the CM of this assignment in the Ranging Response. + +On receiving a Ranging Response addressed to it, the CM MUST use the assigned temporary SID for further initialization transmission requests until the Registration Response is received. + +On receiving a Ranging Response instruction to move to a new downstream frequency and/or upstream channel ID, the CM MUST consider any previously assigned temporary SID to be deassigned, and must obtain a new temporary SID via initial ranging. + +It is possible that the Ranging Response may be lost after transmission by the CMTS. The CM MUST recover by timing out and re-issuing its Initial Ranging Request. Since the CM is uniquely identified by the source MAC address in the Ranging Request, the CMTS MAY immediately re-use the temporary SID previously assigned. If the CMTS assigns a new temporary SID, it MUST make some provision for aging out the old SID that went unused (see B.6.3.2.7). + +When assigning class-of-service-provisioned SIDs on receiving a Registration Request, the CMTS may re-use the temporary SID, assigning it to one of the class of service classes requested. If so, it MUST continue to allow initialization messages on that SID, since the Registration Response could be lost in transit. If the CMTS assigns all-new SIDs for class-of-service provisioning, it MUST age out the temporary SID. The aging-out MUST allow sufficient time to complete the registration process in case the Registration Response is lost in transit. + +#### **B.7.2.13 Multiple-channel support** + +In the event that more than one downstream signal is present in the system, the CM MUST operate using the first valid downstream signal that it encounters when scanning. It will be instructed via the parameters in the configuration file (see Appendix B.III) to shift operation to different downstream and/or upstream frequencies if necessary. + +Both upstream and downstream channels MUST be identified where required in MAC management messages using channel identifiers. + +#### B.7.2.14 Remote RF signal level adjustment + +RF signal level adjustment at the CM is performed through a periodic maintenance function using the RNG-REQ and RNG-RSP MAC messages. This is similar to initial ranging and is shown in Figures B.7-12 and B.7-13. On receiving a RNG-RSP, the CM MUST NOT transmit until the RF signal has been adjusted in accordance with the RNG-RSP and has stabilized (refer to B.4). + +![Flowchart for Periodic Ranging - CMTS. The process starts with adding a CM to a poll list on a periodic timer. It then enters a loop waiting for a polled RNG-REQ. If not received, it checks if retries are exhausted. If yes, it aborts, removes the CM from the poll list, destroys SIDs, and ends. If no, it continues. If received, it checks if the signal is 'Good enough?'. If yes, it sends a success RNG-RSP, removes the CM from the poll list, and ends. If no, it checks if retries are exhausted. If yes, it aborts. If no, it sends a continue RNG-RSP and loops back to waiting for a polled RNG-REQ.](d33f50868e9cfda1b1206833c4061e12_img.jpg) + +``` + +graph TD + Start[On periodic timer +add CM to poll list +for future maps] --> WaitRNG([Wait for polled +RNG-REQ]) + MapNote[Map will be sent per +allocation algorithm] -.-> WaitRNG + WaitRNG --> NotRec[/RNG-REQ not +received/] + WaitRNG --> Rec[/RNG-REQ/] + NotRec --> Retries1{Retries +exhausted?} + Retries1 -- No --> WaitRNG + Retries1 -- Yes --> Abort[Send +RNG-RSP +(abort)] + Rec --> Good{Good +enough? +(Note)} + Good -- Yes --> Success[Send +RNG-RSP +(success)] + Good -- No --> Retries2{Retries +exhausted?} + Retries2 -- Yes --> Abort + Retries2 -- No --> Continue[Send +RNG-RSP +(continue)] + Continue --> WaitRNG + Abort --> RemovePoll[Remove CM from +poll list] + Success --> RemovePoll2[Remove CM from +poll list] + RemovePoll --> Destroy[Destroy SIDs +associated with +this CM] + Destroy --> Done1([Done]) + RemovePoll2 --> Done2([Done]) + style NotRec fill:none,stroke-width:1px + style Rec fill:none,stroke-width:1px + subgraph ID [T0905210-97/d104] + end + +``` + +Flowchart for Periodic Ranging - CMTS. The process starts with adding a CM to a poll list on a periodic timer. It then enters a loop waiting for a polled RNG-REQ. If not received, it checks if retries are exhausted. If yes, it aborts, removes the CM from the poll list, destroys SIDs, and ends. If no, it continues. If received, it checks if the signal is 'Good enough?'. If yes, it sends a success RNG-RSP, removes the CM from the poll list, and ends. If no, it checks if retries are exhausted. If yes, it aborts. If no, it sends a continue RNG-RSP and loops back to waiting for a polled RNG-REQ. + +NOTE – Means Ranging Request is within the tolerance limits of the CMTS for power and transmit equalization (if supported). + +**Figure B.7-12/J.112 – Periodic Ranging – CMTS** + +![Flowchart for Periodic Ranging - CM View. The process starts at 'Operational', leading to a 'Wait for Station Maintenance opportunity' state. From there, it branches into 'Station Maintenance opportunity' (leading to 'Send RNG-REQ') and 'Timeout T4' (leading to 'Error: Re-initialize MAC'). 'Send RNG-REQ' leads to 'RNG-RSP', which then leads to a decision 'Abort ranging from CMTS?'. If 'Yes', it leads to 'Error: Re-initialize MAC'. If 'No', it leads to 'Adjust local parameters per RNG-RSP', which then loops back to 'Operational'. A small code 'T0906660-98/d105' is at the bottom right.](4851479cde0f63d07f4db536c69bbdef_img.jpg) + +``` + +graph TD + Operational([Operational]) --> Wait[Wait for Station Maintenance opportunity] + Wait --> SM[Station Maintenance opportunity] + Wait --> T4[Timeout T4] + SM --> SendRNG[Send RNG-REQ] + SendRNG --> RNGRSP[RNG-RSP] + T4 --> Error[Error: Re-initialize MAC] + RNGRSP --> Abort{Abort ranging from CMTS?} + Abort -- Yes --> Error + Abort -- No --> Adjust[Adjust local parameters per RNG-RSP] + Adjust --> Operational + T0906660-98/d105 + +``` + +Flowchart for Periodic Ranging - CM View. The process starts at 'Operational', leading to a 'Wait for Station Maintenance opportunity' state. From there, it branches into 'Station Maintenance opportunity' (leading to 'Send RNG-REQ') and 'Timeout T4' (leading to 'Error: Re-initialize MAC'). 'Send RNG-REQ' leads to 'RNG-RSP', which then leads to a decision 'Abort ranging from CMTS?'. If 'Yes', it leads to 'Error: Re-initialize MAC'. If 'No', it leads to 'Adjust local parameters per RNG-RSP', which then loops back to 'Operational'. A small code 'T0906660-98/d105' is at the bottom right. + +Figure B.7-13/J.112 – Periodic Ranging – CM View + +#### B.7.2.15 Changing upstream burst parameters + +Whenever the CMTS is to change any of the upstream burst characteristics, it must provide for an orderly transition from the old values to the new values by all CMs. Whenever the CMTS is to change any of the upstream burst values, it MUST: + +- Announce the new values in an Upstream Channel Descriptor message. The Configuration Change Count field must be incremented to indicate that a value has changed. + +After transmitting one or more UCD messages with the new value, the CMTS transmits a MAP message with a UCD Count matching the new Configuration Change Count. The first interval in the MAP MUST be a data grant of at least 1 ms to the null Service ID (zero). That is, the CMTS MUST allow one millisecond for cable modems to change their PMD sublayer parameters to match the new set. This millisecond is in addition to other MAP timing constraints (see B.6.4.2). + +- The CMTS MUST NOT transmit MAPs with the old UCD Count after transmitting the new UCD. + +The CM MUST use the parameters from the UCD corresponding to the MAP's "UCD Count" for any transmissions it makes in response to that MAP. If the CM has, for any reason, not received the corresponding UCD, it cannot transmit during the interval described by that MAP. + +#### B.7.2.16 Changing upstream channels + +At any time after registration, the CMTS MAY direct the CM to change its upstream channel. This may be done for traffic balancing, noise avoidance, or any of a number of other reasons which are beyond the scope of this specification. Figure B.7-14 shows the procedure that MUST be followed by the CMTS. Figure B.7-15 shows the corresponding procedure at the CM. + +Note that if the CMTS retries the UCC-REQ, the CM may have already changed channels (if the UCC-RSP was lost in transit). Consequently, the CMTS MUST listen for the UCC-RSP on both the old and the new channels. + +The CM MUST successfully establish initial ranging on a new channel before using that channel. It MUST NOT perform re-registration, since its provisioning and MAC domain remain valid on the new channel. If the CM has previously established ranging on the new channel, and if that ranging on that channel is still current (T4 has not elapsed since the last successful ranging), then the CM MAY use cached ranging information and may omit initial ranging. + +#### B.7.2.17 Fault detection and recovery + +Fault detection and recovery occurs at multiple levels: + +- At the physical level, FEC is used to correct errors where possible – refer to B.4 for details. +- The MAC protocol protects against errors through the use of checksum fields across both the MAC Header and the data portions of the packet – refer to B.6 for details. +- All MAC management messages are protected with a CRC covering the entire message, as defined in B.6. Any message with a bad CRC MUST be discarded by the receiver. + +Table B.7-1 shows the recovery process that MUST be taken following the loss of a specific type of MAC message. + +Messages at the network layer and above are considered to be data packets by the MAC sublayer. These are protected by the CRC field of the data packet and any packets with bad CRCs are discarded. Recovery from these lost packets is in accordance with the upper layer protocol. + +![Flowchart illustrating the process of changing upstream channels from the CMTS view. The process starts with 'Decide to switch CM to new upstream channel', followed by 'UCC-REQ', 'Wait for UCC-RSP', a 'Timeout T5' and 'UCC-RSP' parallel path, a 'Retries exhausted?' decision, and ends with 'CM is unreachable' or 'Done'.](b4e87dd6dfd65e6398a50b237cf9d268_img.jpg) + +``` +graph TD; A([Decide to switch CM to new upstream channel]) --> B[/UCC-REQ/]; B --> C([Wait for UCC-RSP]); C --> D{ }; D -- Timeout T5 --> E{Retries exhausted?}; D -- UCC-RSP --> F([Done]); E -- No --> B; E -- Yes --> G([CM is unreachable]); +``` + +The flowchart shows the following steps: 1. A decision block 'Decide to switch CM to new upstream channel' leads to a message block 'UCC-REQ'. 2. 'UCC-REQ' leads to a wait block 'Wait for UCC-RSP'. 3. From 'Wait for UCC-RSP', the path splits into two parallel options: 'Timeout T5' and 'UCC-RSP'. 4. The 'Timeout T5' path leads to a decision block 'Retries exhausted?'. 5. If 'Retries exhausted?' is 'No', the path loops back to the 'UCC-REQ' block. 6. If 'Retries exhausted?' is 'Yes', the path leads to a terminal block 'CM is unreachable'. 7. The 'UCC-RSP' path leads to a terminal block 'Done'. 8. A small text label 'T0905230-97/d106' is located below the 'Done' block. + +Flowchart illustrating the process of changing upstream channels from the CMTS view. The process starts with 'Decide to switch CM to new upstream channel', followed by 'UCC-REQ', 'Wait for UCC-RSP', a 'Timeout T5' and 'UCC-RSP' parallel path, a 'Retries exhausted?' decision, and ends with 'CM is unreachable' or 'Done'. + +Figure B.7-14/J.112 – Changing upstream channels – CMTS view + +![Flowchart for Changing Upstream Channels – CM view. The process starts at 'Operational', followed by 'UCC-REQ'. A decision 'Already using this channel?' follows. If 'Yes', it goes to 'UCC-RSP' and loops back to 'Operational'. If 'No', it goes to 'UCC-RSP', then 'Switch to new channel and Perform Ranging'. A decision 'Successful Ranging?' follows. If 'Yes', it loops back to 'Operational'. If 'No', it goes to 'Re-initialize MAC'.](bb8035cd106b4d77b3615e90645f8e37_img.jpg) + +``` + +graph TD + Operational([Operational]) --> UCC_REQ[/UCC-REQ/] + UCC_REQ --> AlreadyUsing{Already using this channel?} + AlreadyUsing -- Yes --> UCC_RSP1[/UCC-RSP/] + UCC_RSP1 --> Operational + AlreadyUsing -- No --> UCC_RSP2[/UCC-RSP/] + UCC_RSP2 --> Switch[Switch to new channel and Perform Ranging] + Switch --> Successful{Successful Ranging?} + Successful -- Yes --> Operational + Successful -- No --> ReInit[Re-initialize MAC] + +``` + +T0905240-97/d107 + +Flowchart for Changing Upstream Channels – CM view. The process starts at 'Operational', followed by 'UCC-REQ'. A decision 'Already using this channel?' follows. If 'Yes', it goes to 'UCC-RSP' and loops back to 'Operational'. If 'No', it goes to 'UCC-RSP', then 'Switch to new channel and Perform Ranging'. A decision 'Successful Ranging?' follows. If 'Yes', it loops back to 'Operational'. If 'No', it goes to 'Re-initialize MAC'. + +**Figure B.7-15/J.112 – Changing Upstream Channels – CM view** + +**Table B.7-1/J.112 – Recovery process on loss of specific MAC messages** + +| Message name | Action following message loss | +|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| SYNC | The CM can lose SYNC messages for a period of the loss SYNC interval (see Appendix B.II) before it has lost synchronization with the network. When this occurs, it follows the same procedures to re-acquire connectivity as during initialization. | +| UCD | A CM MUST receive a valid UCD before transmitting on the upstream. Failure to receive a valid UCD within the timeout period MUST cause the modem to reset and re-initialize its MAC connection. | +| MAP | A CM MUST NOT transmit without a valid upstream bandwidth allocation. If a MAP is missed due to error, the CM MUST NOT transmit for the period covered by the MAP. | +| RNG-REQ
RNG-RSP | If a CM fails to receive a valid Ranging Response within a defined timeout period after transmitting a request, the request MUST be retried a number of times (as defined in Appendix B.II). Failure to receive a valid Ranging Response after the requisite number of attempts MUST cause the modem to reset and re-initialize its MAC connection. | +| REG-REQ
REG-RSP | If a CM fails to receive a valid registration response within a defined timeout period after transmitting a request, the request will be retried a number of times (as defined in Appendix B.II). Failure to receive a valid registration response after the requisite number of attempts will cause the modem to reset and re-initialize its MAC connection. | +| UCC-REQ
UCC-RSP | If a CMTS fails to receive a valid upstream channel change response within a defined timeout period after transmitting a request, the request MUST be retried a number of times (as defined in Appendix B.II). Failure to receive a valid response after the requisite number of attempts MUST cause the CMTS to consider the CM as unreachable. | + +#### **B.7.2.18 Prevention of unauthorized transmissions** + +A CM SHOULD include a means for terminating RF transmission if it detects that its own carrier has been on continuously for longer than the longest possible valid transmission. + +### **B.8 Supporting future new cable modem capabilities** + +#### **B.8.1 Setting up communications on an enhanced basis** + +In the future, new types of CM or CMTS with enhanced characteristics may be introduced. Future-proofing is provided, in the protocols described herein, to permit these new types of CM or CMTS to set up communication on an enhanced basis. + +Two methods are provided to accomplish this: one for use when the downstream channel supports upstream channels of varying capability and the other for the case where enhanced downstream channels are available. + +##### **B.8.1.1 Upstream enhanced / Downstream standard** + +The procedure MUST be as follows: + +- a) The enhanced CM acquires a standard downstream CMTS signal. +- b) The CM receives and interprets Upstream Channel Descriptor (UCD) messages forwarded from the CMTS until it finds one for a channel with the enhanced characteristics which it wishes to use. It joins the upstream transmission stream of this channel which has been assigned to enhanced CMs in accordance with the information in the downstream CMTS signal. + +##### **B.8.1.2 Downstream enhanced / Upstream enhanced or standard** + +The procedure MUST be as follows: + +- a) The enhanced CM acquires a standard downstream CMTS signal. +- b) The CM receives and interprets Upstream Channel Descriptor (UCD) messages forwarded from the CMTS until it finds one for a channel with the best match to the enhanced characteristics which it wishes to use. It joins the upstream transmission stream of this channel which has been assigned to enhanced CMs in accordance with the information in the downstream CMTS signal. +- c) The enhanced CM interacts with the provisioning server for the purposes of agreeing upon the operating frequencies, modulation, data rate and other characteristics for enhanced operation. +- d) The enhanced CM changes operating frequencies and other characteristics accordingly, if necessary, and commences enhanced operation on a different downstream channel, if necessary, under conditions that will not interfere with the standard CMs. +- e) The CM acquires the new downstream CMTS signal and waits on appropriate UCD on this new channel. + +#### **B.8.2 Downloading cable modem operating software** + +A CMTS SHOULD be capable of being remotely reprogrammed in the field via a software download via the network. + +The cable modem device MUST be capable of being remotely reprogrammed in the field via a software download over the network. This software download capability MUST allow the functionality of the cable modem to be changed without requiring that cable system personnel physically revisit and reconfigure each unit. It is expected that this field programmability will be used to upgrade cable modem software to improve performance, accommodate new functions and features (such as enhanced class of service support), correct any design deficiencies discovered in the software, and to allow a migration path as the Data Over Cable Interface Specification evolves. + +The mechanism used for download MUST be TFTP file transfer. The mechanism by which transfers are secured and authenticated is in [MCNS2]. The transfer MUST be initiated in one of two ways: + +- An SNMP manager requests the CM to upgrade. +- The configuration parameter file delivered to the CM from the provisioning server MUST include the desired filename from which the desired software image can be retrieved. If the filename does not match the current software image of the CM, the CM MUST request the specified file from a TFTP server. + +The CM MUST write the new software image to non-volatile storage. Once the file transfer is complete, the CM MUST restart itself with the new code image. + +If the CM is unable to complete the file transfer for any reason, it MUST remain capable of accepting new software downloads, even if power is interrupted between attempts. The CM MUST log the failure and MAY report it asynchronously to the network manager. + +Following upgrade of the operational software, the CM MAY need to follow one of the procedures described above in order to change channels to use the enhanced functionality. + +If the CM is to continue to operate in the same upstream and downstream channels as before the upgrade, then it MUST be capable of inter-working with other CMs which MAY be running previous releases of software. + +Where software has been upgraded to meet a new version of the specification, then it is critical that it MUST inter-work with the previous version in order to allow a gradual transition of units on the network. + +The periodic SYNC message transmitted on the downstream channel MUST indicate the protocol revision at which the channel is operating. + +## **B.9 Provision for other future capabilities** + +It is anticipated that cable modem networks will, in the future, support capabilities that cannot be adequately defined today. These capabilities may include: + +- new physical-layer modulation encoding; +- improvements to, or new configuration settings within, the defined physical-layer encoding; +- differing traffic flows and classes of service (e.g. STM telephony). + +It is the intent of this specification to provide for interoperability with future devices and networks to whatever extent is practical. The minimum level of interoperability is that future-capability modems and modems conforming to this specification are assigned to different frequency bands, and all modems can automatically scan to find a congenial frequency band. + +### **B.9.1 Anticipated physical-layer changes** + +Existing MAC signalling provides for optional transmitter equalization (see B.6.3.2.5). + +Other forms of upstream transmission manipulation, such as Tomlinson-Harashima precoding, may be developed in the future. Signalling to support such can be added as optional TLV-encodings for the Ranging Response message. + +This configuration setting can be phased into existing networks without placing new requirements on existing devices. + +When developing a new network, it may be necessary to know modem capabilities before coming to rely on a feature like this. The "Modem Capabilities" mask, exchanged as part of the CM-to-CMTS registration process (see B.6.3.2.7) is intended to provide this information. + +#### **B.9.1.1 Adding upstream channel and burst configuration settings** + +In future, configuration settings may be provided for new upstream channel characteristics: + +- Higher-symbol-rate signalling + +and new upstream burst characteristics: + +- Trellis-coded modulation (2 bits/sym and 4 bits/sym) +- Interleaving within a burst. + +These are defined through new encodings of the Upstream Channel Descriptor. A CM which finds characteristics which it does not implement is required to either abstain from that burst type, or to find a different upstream channel (see B.8.1.1). This is also controllable by administrative policy if enough commonality is present to complete the registration process. + +As with transmission precoding, a modem-capabilities flag may be needed if the CMTS is to choose least-common-denominator capability. + +#### B.9.1.1.1 Channel burst parameters for advanced modems + +Configuration settings for channel burst parameters for advanced modems are given in Table B.9-1. + +It should be possible to program these capabilities separately to users on a given channel. For example, two users should be able to be commanded to operate at a given channel frequency and symbol rate, with one user having any or all of these features: 8 PSK TCM, Interleaving, and TH Precoding; while the other user employs QPSK and none of the other features (i.e. this user is not an advanced cable modem). + +**Table B.9-1/J.112 – Channel burst parameters for advanced modems** + +| Parameter | Configuration settings | +|------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Modulation
(additional configuration settings) | Trellis Coded Modulation available:
1) 8 PSK-2 bits/s (analogous to QPSK);
2) 32 QAM-4 bits/s (analogous to 16 QAM).
2 encoder configuration settings available for each. | +| Interleaving
N rows by M columns
transmitter fills columns | N = 0 to 255; 0 = no interleaving
M = 1 to 256 | +| Tomlinson-Harashima Precoding | 1) TH Precoding
2) Conventional transmit FIR equalization
3) None | + +#### B.9.1.2 Downstream channel improvements + +Downstream channel improvements may require additional frequencies to implement for interoperability. The modem initialization process defined herein provides that if the CM is unable to complete satisfactory exchanges with the CMTS, then it will scan for a more suitable frequency (see B.8.1.2). + +#### B.9.2 New network service requirements + +The types of network service expected on a cable network are apt to change over the lifetime of equipment conforming to this specification. This specification anticipates use of ATM-style traffic parameters by giving the CMTS centralized control over bandwidth allocation and jitter. Future networks may include classes of data other than those explicitly provided (802-like and ATM). These may be implemented by using the Reserved code point in the MAC FC field. Because this specification does not require a particular bandwidth allocation algorithm, future algorithms may be developed which take into account policies and traffic types that are not yet well-understood. + +### B.9.2.1 Multicast Service IDs + +Multicast Service IDs provide extensibility to the interval usage codes that are defined herein in the upstream bandwidth allocation map. The multicast ID reflects, not just group membership, but also the access rules that apply to whatever interval is assigned to that ID. The following examples of Request/Data IEs illustrate some of the possibilities for use of a particular ID: + +- the grant is for contention space for all high-priority (as defined locally) data PDUs from a select group of CMs; +- the grant is for ATM cells only. + +It may be necessary to develop an extension to the MAC signalling protocol to distribute the definition of attributes associated with particular multicast Service IDs. + +### B.9.2.2 RSVP support for upstream traffic + +The Resource ReSerVation Protocol (RSVP) is a resource reservation set-up protocol currently being standardized by the Internet Engineering Task Force. RSVP provides receiver-initiated set-up of resource reservations for multicast and unicast data flows. This subclause serves to anticipate and guide the definition of new MAC management messages to support resource reservation for upstream traffic in the Data-over-Cable context. + +RSVP assumes the implementation of two modules on each RSVP-capable node to forward data packets: the "packet classifier" and the "packet scheduler". The packet classifier determines the route and class-of-service class for each packet, and sends the packet to the packet scheduler. The RSVP packet classifier uses a "filter spec" (which matches a particular source IP address and TCP/UDP port number) to classify and restrict traffic that consumes reservation resources. The packet scheduler makes packet forwarding decisions (e.g. queuing decisions) to achieve the promised class of service on the interface. The RSVP packet scheduler uses a "flow spec" (which identifies token bucket parameters, peak data rate, etc.) to identify the desired class of service. + +In the context of RSVP for upstream traffic in the data-over-cable system, it is desirable for the CM to perform the "packet classifier" function; however the CMTS should perform most of the "packet scheduler" function. The support for this split of functions suggests the future definition of three new MAC management messages: "Dynamic Service Addition", "Dynamic Service Deletion", and "Dynamic Service Response." + +The Dynamic Service Addition message is periodically transmitted from the CMTS to the CM to announce the allocation of a new SID. The Dynamic Service Addition message contains the new SID value, and type/length/value fields which can encode the RSVP filter specification and RSVP "clean-up timeout" interval (to support the RSVP "soft state" approach). The CM is expected to use the new SID exclusively for upstream traffic that matches the filter specification. The CM should assume that the new SID is refreshed by the receipt of another Dynamic Service Addition message within the clean-up timeout interval; otherwise, the SID is ignored by the CM at the conclusion of the interval. + +The Dynamic Service Deletion message is transmitted from the CMTS to the CM to delete an unused SID immediately (to support the RSVP explicit "teardown" message). The Dynamic Service Response message is transmitted from the CM to the CMTS to acknowledge receipt of a Dynamic Service Addition or Dynamic Service Deletion message. + +The interaction between RSVP "Path" and "Resv" messages, and the Dynamic Service Addition and Dynamic Service Response messages, is proposed to be as follows: + +- 1) The data flow source-node (behind a CM) generates an RSVP Path message, and sends the message toward the data flow destination-node. +- 2) The CM forwards the upstream RSVP Path message to the destination-node without processing. +- 3) The CMTS intercepts the upstream RSVP Path message, stores "path state" from the message, updates the "previous hop address" in the message, and forwards the message. +- 4) The data flow destination-node receives the RSVP Path message, and replies with an RSVP Resv message to request a reservation of resources for the data flow from the source-node to itself. The RSVP Resv message is sent to the "previous hop" of the Path message – the CMTS. + +- 5) The CMTS receives the downstream RSVP Resv message, and processes the message flow spec using its "admission control" and "policy control" modules (in cooperation with the CMTS upstream bandwidth scheduler). Note that the CMTS must account for available resources on the CMTS-NSI as well as the RFI. The rest of this subclause assumes that the reservation message is accepted by the CMTS. +- 6) The CMTS sends the "Dynamic Service Addition" MAC message to the CM. The message includes a new SID and the "filter spec" from the RSVP Resv message. +- 7) The CM receives the "Dynamic Service Addition" MAC message, stores the new SID and "filter spec", and sends the "Dynamic Service Response" MAC message to the CMTS. +- 8) The CMTS receives the "Dynamic Service Response" MAC message, and forwards the RSVP Resv message to its "previous hop." +- 9) The CM forwards the downstream RSVP Resv message to the source-node without processing. + +### **B.9.3 PID filtering capability** + +This specification uses a single well-known PID for all data-over-cable traffic. CMs MAY use additional PIDs for differentiation of traffic types or to provide streams to individual CMs. PID assignments MAY be facilitated by the appropriate MAC control message extensions. As an example, this could facilitate services that use MPEG packet-level encryption. Any such services are beyond the scope of this version of the specification. + +An additional modem capability configuration setting could be added in the Registration Request (REG-REQ) message to indicate the number of PIDs, in addition to the well-known PID, that the CM can filter. A "0" would indicate that the CM can only filter on the well-known PID. + +An extension to the encodings in the Registration Response (REG-RSP) could be used to assign to a CM additional PIDs on which to filter. + +## Appendix B.I + +### Well-Known Addresses + +#### B.I.1 MAC addresses + +MAC addresses described here are defined using the Ethernet/ISO IEC 8802-3 convention as bit-little-indian. + +The following multicast address MUST be used to address the set of all CM MAC sublayers; for example, when transmitting Allocation Map PDUs. + +01-E0-2F-00-00-01 + +The following multicast address MUST be used to address all CMTSs within the MAC-sublayer domain: + +01-E0-2F-00-00-02 + +Note that in nearly all cases the unicast CMTS address is preferred. The address range: + +01-E0-2F-00-00-03 through 01-E0-2F-00-00-0F + +is reserved for future definition. Frames addressed to any of these addresses SHOULD NOT be forwarded out of the MAC-sublayer domain. + +#### B.I.2 MAC Service IDs + +The following MAC Service IDs have assigned meanings. Those not included in this table are available for assignment, either by the CMTS or administratively. + +- 0x0000 Addressed to no CM. +- 0x3FFF Addressed to all CMs. +- 0x3FF1-0x3FFE Addressed to all CMs. Available for small data PDUs, as well as requests (used only with request/data IEs). The last digit indicates the frame length and transmission opportunities as follows. +- 0x3FF1 Within the interval specified, a transmission may start at any mini-slot, and must fit within one mini-slot. +- 0x3FF2 Within the interval specified, a transmission may start at every other mini-slot, and must fit within two mini-slots (e.g. a station may start transmission on the first mini-slot within the interval, the third mini-slot, the fifth, etc.). +- 0x3FF3 Within the interval specified, a transmission may start at any third mini-slot, and must fit within three mini-slots (e.g. starts at first, fourth, seventh, etc.). +- 0x3FF4 Starts at first, fifth, ninth, etc. +- ... +- 0x3FFD Starts at first, fourteenth (14th), twenty-seventh (27th), etc. +- 0x3FFE Within the interval specified, a transmission may start at any 14th mini-slot, and must fit within 14 mini-slots. + +#### B.I.3 MPEG PID + +All MCNS data MUST be carried in MPEG-2 packets with the header PID field set to 0x1FFE. + +## Appendix B.II + +### Parameters and constants + +| System | Name | Time reference | Minimum value | Default value | Maximum value | +|------------|-------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|---------------|--------------------------------| +| CMTS | Sync Interval | Nominal time between transmission of SYNC messages (B.6.3.2.1) | | | 200 ms | +| CMTS | UCD Interval | Time between transmission of UCD messages_ (B.6.3.2.2) | | | 2 s | +| CMTS | Max MAP Pending | The number of mini-slots that a CMTS is allowed to map into the future (B.6.3.2.3) | | | 4096 mini-slot times | +| CMTS | Ranging Interval | Time between transmission of broadcast Ranging Requests (B.6.3.2.4) | | | 2 s | +| CM | Lost Sync Interval | Time since last received Sync message before synchronization is considered lost | | | 600 ms | +| CM | Contention Ranging Retries | Number of Retries on contention Ranging Requests (B.7.2.5) | | 16 | | +| CM, CMTS | Invited Ranging Retries | Number of Retries on invited Ranging Requests_(B.7.2.5) | | 16 | | +| CM | Request Retries | Number of retries on bandwidth allocation requests | | 16 | | +| CM | Registration Request Retries | Number of retries on registration requests | | 3 | | +| CM | Data Retries | Number of retries on immediate data transmission | | 16 | | +| CMTS | CM MAP processing time | Time provided between arrival of the last bit of a MAP at a CM and effectiveness of that MAP (B.6.4.1) | 200 µs | | | +| CMTS | CM Ranging Response processing time | Minimum time allowed for a CM following receipt of a ranging response before it is expected to reply to an invited Ranging Request | 1 ms | | | +| CM | T1 | Wait for UCD timeout. | | | 5 * UCD interval maximum value | +| CM | T2 | Wait for broadcast ranging timeout. | | | 5 * ranging interval | +| CM | T3 | Wait for Ranging Response. | 50 ms | 200 ms | 200 ms | +| CM | T4 | Wait for unicast ranging opportunity. If the pending-till-complete field was used earlier by this modem, then the value of that field must be added to this interval. | | | 30 s | +| CMTS | T5 | Wait for Upstream Channel Change response. | | | 2 s | +| CM | T6 | Wait for registration response. | | | 3 s | +| CM
CMTS | Mini-slot size | Size of mini-slot for upstream transmission. Must be a power of 2 (in units of the Timebase Tick). | 32 symbol times | | | +| CM
CMTS | Timebase Tick | System timing unit | | 6.25 µs | | + +## Appendix B.III + +### CM configuration interface specification + +#### B.III.1 DHCP fields used by the CM + +The following fields are required in the DHCP request from the CM: + +- the hardware type SHOULD be set to Ethernet; +- the hardware address of the CM (used as the key to identify the CM during the DHCP process). + +The following fields are required in the DHCP response returned to the CM: + +- The IP address to be used by the CM. +- The subnet mask to be used by the CM. +- If the DHCP server is on a different network (requiring a relay agent), then the relay agent MUST set the gateway address field of the DHCP response. +- The name of the CM configuration file to be read from the TFTP server by the CM. +- The time offset of the CM from Universal Coordinated Time (UTC) – Used by the CM to calculate the local time to use in time-stamping error logs. +- Time-server option – Provides a list of [RFC-868] time-servers from which the current time may be obtained. +- The IP address of the next server to use in the bootstrap process (TFTP server) is returned in the siaddr field. +- The IP address of the security server SHOULD be set if security is required. This is encoded using the code 128 (which is reserved for site specific information per reference [RFC-1533]) as shown below. + +| Type | Length | Value | +|------|--------|-----------------| +| 128 | 4 | ip1,ip2,ip3,ip4 | + +#### B.III.2 CM binary configuration file format + +The CM-specific configuration data MUST be contained in a file which is downloaded to the CM via TFTP. This is a binary file in the same format defined for DHCP vendor extension data [RFC-1533]. + +It MUST consist of a number of configuration settings (1 per parameter) each of the form: + +type : length : valeur + +where: + +- type is a single-octet identifier which defines the parameter; +- length is a single octet containing the length of the value field in octets (not including type and length fields); +- value is from one to 254 octets containing the specific value for the parameter. + +The configuration settings MUST follow each other directly in the file, which is a stream of octets (no record markers). + +Configuration settings are divided into three types: + +- Standard configuration settings which MUST be present; +- Standard configuration settings which MAY be present; +- Vendor-specific configuration settings. + +CMs MUST be capable of processing all standard configuration settings. + +Authentication of the provisioning information is provided by two Message Integrity Check (MIC) configuration settings, CM MIC and CMTS MIC: + +- CM MIC is a digest which ensures that the data sent from the provisioning server were not modified en route. This is NOT an authenticated digest (it does not include any shared secret). +- CMTS MIC is a digest used to authenticate the provisioning server to the CMTS during registration. It is taken over a number of fields one of which is a shared secret between the CMTS and the provisioning server. + +Use of the CM MIC allows the CMTS to authenticate the provisioning data without needing to receive the entire file. + +Thus the file structure is of the form shown in Figure B.III-1: + +![Diagram showing the binary configuration file format with columns for Configuration Setting 1, Configuration Setting 2, Configuration Setting n, CM MIC, and CMTS MIC. A dashed line separates the first two settings from the rest. A small code T0906670-98/d108 is at the bottom right.](a93e145fd70325b1828e19710266906e_img.jpg) + +| | | | | | | +|-------------------------|-------------------------|-------|-------------------------|--------|----------| +| Configuration Setting 1 | Configuration Setting 2 | ----- | Configuration Setting n | CM MIC | CMTS MIC | +|-------------------------|-------------------------|-------|-------------------------|--------|----------| + +T0906670-98/d108 + +Diagram showing the binary configuration file format with columns for Configuration Setting 1, Configuration Setting 2, Configuration Setting n, CM MIC, and CMTS MIC. A dashed line separates the first two settings from the rest. A small code T0906670-98/d108 is at the bottom right. + +NOTE – Not all configuration settings need to be present in a given file. + +**Figure B.III-1/J.112 – Binary configuration file format** + +**B.III.3 Configuration file settings** + +The following configuration settings MUST be included in the configuration file and MUST be supported by all CMs: + +- Network Access Configuration Setting; +- End Configuration Setting. + +The following configuration settings MAY be included in the configuration file and if present MUST be supported by all CMs: + +- Downstream Frequency Configuration Setting; +- Upstream Channel ID Configuration Setting; +- Class of Service Configuration Setting; +- Vendor ID Configuration Setting; +- Baseline Privacy Configuration Setting; +- Software Upgrade Filename Configuration Setting; +- SNMP Write-Access Control; +- SNMP MIB Object; +- Pad Configuration Setting. + +The following configuration setting MAY be included in the configuration file and if present MAY be supported by a CM: + +- Vendor-Specific Configuration Settings + +**B.III.4 Configuration file creation** + +The sequence of operations required to create the configuration file is as shown in Figure B.III-1 through Figure B.III-5. + +- 1) Create the type/length/value entries for all the parameters required by the CM. + +| | +|-------------------------------------| +| type, length, value for parameter 1 | +| type, length, value for parameter 2 | +| ... | +| type, length, value for parameter n | + +**Figure B.III-2/J.112 – Create TLV entries for parameters required by the CM** + +- 2) Calculate the CM Message Integrity Check (MIC) configuration setting as defined in B.III.5 and add to the file following the last parameter using code and length values defined for this field. + +| | +|-------------------------------------| +| type, length, value for parameter 1 | +| type, length, value for parameter 2 | +| ... | +| type, length, value for parameter n | +| type, length, value for CM MIC | + +**Figure B.III-3/J.112 – Add CM MIC** + +- 3) Calculate the CMTS Message Integrity Check (MIC) configuration setting as defined in B.III.6 and add to the file following the CM MIC using code and length values defined for this field. + +| | +|-------------------------------------| +| type, length, value for parameter 1 | +| type, length, value for parameter 2 | +| ... | +| type, length, value for parameter n | +| type, length, value for CM MIC | +| type, length, value for CMTS MIC | + +**Figure B.III-4/J.112 – Add CMTS MIC** + +- 4) Add the end of data marker. + +| | +|-------------------------------------| +| type, length, value for parameter 1 | +| type, length, value for parameter 2 | +| ... | +| type, length, value for parameter n | +| type, length, value for CM MIC | +| type, length, value for CMTS MIC | +| end of data marker | + +**Figure B.III-5/J.112 – Add end of data marker** + +### **B.III.5 CM MIC calculation** + +The CM message integrity check configuration setting MUST be calculated by performing an MD5 digest over the bytes of the configuration setting field. It is calculated over the bytes of these settings as they appear in the TFTPed image, without regard to TLV ordering or contents. There are two exceptions to this disregard of the contents of the TFTPed image: + +- 1) The bytes of the CM MIC TLV itself are omitted from the calculation. This includes the type, length, and value fields. +- 2) The bytes of the CMTS MIC TLV are omitted from the calculation. This includes the type, length, and value fields. + +On receipt of a configuration file, the CM MUST recompute the digest and compare it to the CM MIC configuration setting in the file. If the digests do not match, then the configuration file MUST be discarded. + +### **B.III.6 CMTS MIC calculation** + +The CMTS message integrity check configuration setting MUST be calculated by performing an MD5 digest over the following configuration setting fields, when present in the configuration file, in the order shown: + +- Downstream Frequency Configuration Setting; +- Upstream Channel ID Configuration Setting; +- Network Access Configuration Setting; +- Class of Service Configuration Setting; +- Vendor ID Configuration Setting; +- Baseline Privacy Configuration Setting; +- Vendor specific Configuration Settings; +- CM MIC Configuration Setting; +- Authentication string. + +The configuration setting fields are treated as if they were contiguous data when calculating the MD5 digest. + +The digest MUST be added to the configuration file as its own configuration setting field using the CMTS MIC Configuration Setting encoding. + +The authentication string is a shared secret between the provisioning server (which creates the configuration files) and the CMTS. It allows the CMTS to authenticate the CM provisioning. + +The mechanism by which the shared secret is managed is up to the system operator. + +On receipt of a configuration file, the CM MUST forward the CMTS MIC as part of the registration request (REG-REQ). + +On receipt of a REG-REQ, the CMTS MUST recompute the digest over the included fields and the authentication string and compare it to the CMTS MIC configuration setting in the file. If the digests do not match, the registration request MUST be rejected by setting the authentication failure result in the registration response status field. + +#### **B.III.6.1 Digest calculation** + +The digest fields MUST be calculated using the mechanism defined in [RFC-2104]. + +### **B.III.7 Registration configuration settings** + +The following configuration settings are used in the registration messages. Refer to B.6.3.2 for details on these messages. + +#### **Registration Request** + +- Downstream Frequency Configuration Setting; +- Upstream Channel ID Configuration Setting; +- Network Access Configuration Setting; + +- Class of Service Configuration Setting; +- Modem Capabilities Configuration Setting; +- Vendor ID Configuration Setting; +- Baseline Privacy Configuration Setting; +- Vendor specific extensions; +- CM MIC; +- CMTS MIC; +- Modem IP address. + +**Registration Response** + +- Class of Service Configuration Setting; +- Modem Capabilities Configuration Setting; +- Vendor ID Configuration Setting; +- Vendor-Specific extensions. + +**B.III.8 Encodings** + +The following type/length/value encodings MUST be used in both the configuration file and in CM registration requests and CMTS responses. All multi-octet quantities are in network-byte order, i.e. the octet containing the most-significant bits is the first transmitted on the wire. + +The following configuration settings MUST be supported by all CMs which are compliant with this specification. + +**B.III.8.1 End-of-data marker** + +This is a special marker for end of data. + +It has no length or value fields: + +type +255 + +**B.III.8.2 Pad configuration setting** + +This has no length or value fields and is only used following the end of data marker to pad the file to an integral number of 32-bit words. + +type +0 + +**B.III.8.3 Downstream frequency configuration setting** + +The receive frequency to be used by the CM. It is an override for the channel selected during scanning. This is the center frequency of the downstream channel in Hz stored as a 32-bit binary number. + +| Type | Length | rx frequency | +|------|--------|-----------------| +| 1 | 4 | rx1 rx2 rx3 rx4 | + +**Valid range** + +The receive frequency MUST be a multiple of 62 500 Hz. + +#### **B.III.8.4 Upstream channel ID configuration setting** + +The upstream channel ID which the CM MUST use. The CM MUST listen on the defined downstream channel until an upstream channel description message with this ID is found. It is an override for the channel selected during initialization. + +| Type | Length | Value | +|-------------|---------------|--------------| +| 2 | 1 | channel ID | + +#### **B.III.8.5 Network Access Control Object** + +If the value field is a 1 this CM is allowed access to the network; if a 0 it is not. + +| Type | Length | On/Off | +|-------------|---------------|---------------| +| 3 | 1 | 1 or 0 | + +#### **B.III.8.6 Class of Service Configuration Setting** + +This field defines the parameters associated with a class of service. It is somewhat complex in that is composed from a number of encapsulated type/length/value fields. The encapsulated fields define the particular class of service parameters for the class of service in question. Note that the type fields defined are only valid within the encapsulated class of service configuration setting string. A single class of service configuration setting is used to define the parameters for a single service class. Multiple class definitions use multiple class of service configuration setting sets. + +| Type | Length | Value | +|-------------|---------------|--------------| +| 4 | n | | + +##### **B.III.8.6.1 Internal class of service encodings** + +###### **B.III.8.6.1.1 Class ID** + +The value of the field specifies the identifier for the class of service to which the encapsulated string applies. + +| Type | Length | Value | +|-------------|---------------|--------------| +| 1 | 1 | | + +##### **Valid range** + +The class ID MUST be in the range 1 to 16. + +###### **B.III.8.6.1.2 Maximum downstream rate configuration setting** + +The value of the field specifies the maximum data rate in bit/s allowed from this service class on the downstream path. That is, it is the peak data rate for Packet PDU data (including destination MAC address and the CRC) over a one-second interval. This is a limit on the modem, not a guarantee that this rate is available + +| Type | Length | Value | +|-------------|---------------|--------------| +| 2 | 4 | | + +#### B.III.8.6.1.3 Maximum upstream rate configuration setting + +The value of the field specifies the maximum data rate in bit/s allowed from this service class on the upstream channel. That is, it is the peak data rate for Packet PDU data (including destination MAC address and the CRC) over a one-second interval. This is a limit on the modem, not a guarantee that this rate is available. + +| Type | Length | Value | +|------|--------|-------| +| 3 | 4 | | + +#### B.III.8.6.1.4 Upstream channel priority configuration setting + +The value of the field specifies the relative priority assigned to this service class for data transmission in the upstream channel. Higher numbers indicate higher priority. + +| Type | Length | Value | +|------|--------|-------| +| 4 | 1 | | + +#### Valid range + +0 → 7 + +#### B.III.8.6.1.5 Guaranteed minimum upstream channel data rate configuration setting + +The value of the field specifies the data rate in bit/s which will be guaranteed to this service class on the upstream channel. + +| Type | Length | Value | +|------|--------|-------| +| 5 | 4 | | + +#### B.III.8.6.1.6 Maximum upstream channel transmit burst configuration setting + +The value of the field specifies the maximum transmit burst (in units of mini-slots) which this service class is allowed on the upstream channel. + +| Type | Length | Value | +|------|--------|-------| +| 6 | 2 | 255 | + +#### Valid range + +0 → 255 for initial version. + +NOTE – The 2-byte length field is retained to support possible future expansion of allowed burst sizes. + +#### B.III.8.6.1.7 Class of service privacy enable + +This configuration setting enables/disables Baseline Privacy on a provisioned COS. See [MCNS8]. + +| Type | Length | Enable/Disable | +|---------------------|--------|----------------| +| 7 (= CoS_BP_ENABLE) | 1 | 1 or 0 | + +**Table B.III-1/J.112 – Sample Class of Service Encoding** + +| Type | Length | Value (sub)type | Length | Value | | +|------|--------|----------------------------|----------------------------|----------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 4 | 28 | 1
2
3
4
5
6 | 1
4
4
1
4
2 | 1
10 000 000
2 000 000
5
64 000
100 | Class of service configuration setting
Service class 1
Max. forward rate of 10 Mbit/s
Max. return rate of 2 Mbit/s
Return path priority of 5
Min. guaranteed 64 kb/s
Max. transmission burst of 100 mini-slots | +| 4 | 28 | 1
2
3
4
5
6 | 1
4
4
1
4
2 | 2
5 000 000
1 000 000
3
32 000
50 | Class of service configuration setting
Service class 2
Max. forward rate of 5 Mbit/s
Max. return rate of 1 Mbit/s
Return path priority of 3
Min. guaranteed 32 kb/s
Max. transmission burst of 50 mini-slots | + +### B.III.8.7 Modem capabilities configuration setting + +The value field describes the capabilities of a particular modem, i.e. those OPTIONAL features which the modem can support. It is composed from a number of encapsulated type/length/value fields. The encapsulated fields define the specific capabilities for the modem in question. Note that the type fields defined are only valid within the encapsulated capabilities configuration setting string. + +| Type | Length | Value | +|------|--------|-------| +| 5 | n | | + +The set of possible encapsulated fields is described below. + +#### B.III.8.7.1 Concatenation support + +If the value field is a 1, this modem can support concatenation; if a 0 it cannot. + +| Type | Length | On/Off | +|------|--------|--------| +| 1 | 1 | 1 or 0 | + +**Table B.III-2/J.112 – Sample capability encoding** + +| Type | Length | Value (sub)type | Length | Value | | +|------|--------|-----------------|--------|-------|-------------------------------------------------------------------| +| 5 | | 1 | 1 | 1 | Modem capability configuration setting
concatenation supported | + +### B.III.8.8 CM Message Integrity Check (MIC) configuration setting + +The value field contains the CM message integrity check code. This is used to detect unauthorized modification or corruption of the configuration file. + +| Type | Length | Value | +|------|--------|---------------| +| 6 | 16 | d1 d2 ... d16 | + +### B.III.8.9 CMTS Message Integrity Check (MIC) configuration setting + +The value field contains the CMTS message integrity check code. This is used to detect unauthorized modification or corruption of the configuration file. + +| Type | Length | Value | +|------|--------|---------------| +| 7 | 16 | d1 d2 ... d16 | + +### B.III.8.10 Vendor ID configuration setting + +The value field contains the vendor identification specified by the three-byte vendor-specific Organization Unique Identifier of the CM MAC address. + +| Type | Length | Value | +|------|--------|------------| +| 8 | 3 | v1, v2, v3 | + +### B.III.8.11 Software upgrade filename + +The filename of the software upgrade file for the CM. This is a filename only, not a complete path. The file should reside in the TFTP public directory. + +| Type | Length | Value | +|------|--------|----------| +| 9 | n | Filename | + +NOTE – Filename length MUST be less than or equal to 64 bytes. + +### B.III.8.12 SNMP write-access control + +This object makes it possible to disable SNMP "Set" access to individual MIB objects. Each instance of this object controls access to all of the writeable MIB objects whose Object ID (OID) prefix matches. This object may be repeated to disable access to any number of MIB objects. + +| Type | Length | Value | +|------|--------|------------------------------| +| 10 | n | OID prefix plus control flag | + +where n is the size of the ASN.1 Basic Encoding Rules [ISO/IEC 8825] encoding of the OID prefix plus one byte for the control flag. + +The control flag may take values: + +- 0 Allow write-access +- 1 Disallow write-access + +Any OID prefix may be used. The Null OID 0.0 may be used to control access to all MIB objects. (The OID 1.3.6.1 will have the same effect.) + +When multiple instances of this object are present and overlap, the longest (most specific) prefix has precedence. Thus, one example might be: + +- someTable Disallow write-access +- someTable.1.3 Allow write-access + +This example disallows access to all objects in someTable except for someTable.1.3. + +### B.III.8.13 SNMP MIB object + +This object allows arbitrary SNMP MIB objects to be set via the TFTP-Registration process. + +| Type | Length | Value | +|------|--------|------------------| +| 11 | n | Variable binding | + +where the value is an SNMP VarBind as defined in [RFC-1157]. The VarBind is encoded in ASN.1 Basic Encoding Rules, just as it would be if part of an SNMP Set request. + +The cable modem MUST treat this object as if it were part of an SNMP Set Request with the following caveats: + +- It MUST treat the request as fully authorized (it cannot refuse the request for lack of privilege). +- SNMP Write-Control provisions (see previous subclause) do not apply. +- No SNMP response is generated by the CM. + +This object MAY be repeated with different VarBinds to "Set" a number of MIB objects. All such Sets MUST be treated as if simultaneous. + +Each VarBind MUST be limited to 255 bytes. + +### B.III.8.14 Vendor-specific information + +Vendor-specific information for cable modems, if present, MUST be encoded in the configuration file using the vendor-specific information code (43) following the rules defined in [RFC-1533]. The vendor identifier field MUST be present if this configuration setting is used. This configuration setting MAY appear multiple times. + +| Type | Length | Value | +|------|--------|-----------------------| +| 43 | n | Per vendor definition | + +### B.III.8.15 Modem IP address + +This object informs the CMDS of the provisioned IP address of the cable modem. + +| Type | Length | Value | +|------|--------|------------| +| 12 | 4 | IP address | + +This object appears only in the Registration Request message. + +This address plays no part in the protocols defined in this specification, but is included to assist with network management. + +### B.III.8.16 Service(s) not available response + +This configuration setting MUST be included in the Registration Response message if the CMDS is unable or unwilling to grant any of the requested classes of service that appeared in the Registration Request. Although the value applies only to the failed service class, the entire Registration Request MUST be considered to have failed (none of the class-of-service configuration settings are granted). + +| Type | Length | Value | +|------|--------|------------------------| +| 13 | 3 | Class ID, type, reason | + +where: + +- class ID is the class-of-service class from the request which is not available; +- type is the specific class-of-service object within the class which caused the request to be rejected; + +- reason is the reason for the rejection from the following: + - reason-other(1); + - reason-unrecognized-configuration-setting(2); + - reason-temporary(3); + - reason-permanent(4). + +The reason codes MUST be used in the following way: + +- Reason-other(1) is used when none of the other reason codes apply: +- Reason-unrecognized-configuration-setting(2) is used when a class-of-service type is not recognized or when its value is outside of the specified range. +- Reason-temporary(3) indicates that the current loading of service IDs or traffic policies at the CMTS prevents granting the request, but that the request might succeed at another time. +- Reason-permanent(4) indicates that, for policy, configuration, or CMTS capabilities reasons, the request would never be granted unless the CMTS were manually reconfigured or replaced. + +#### **B.III.8.17 CPE Ethernet MAC address** + +This object configures the CM with the Ethernet MAC address of a CPE device (see B.3.1.2.3.1). This object may be repeated to configure any number of CPE device addresses. + +| Type | Length | Value | +|------|--------|-----------------------------| +| 14 | 6 | Ethernet MAC address of CPE | + +This object appears only in the configuration file. + +#### **B.III.8.18 Telephone settings option** + +This configuration setting describes parameters which are specific to telephone return systems. It is composed from a number of encapsulated type/length/value fields. See [MCNS6]. + +| Type | Length | Value | +|------------------|--------|-------| +| 15 (= TRI_CFG01) | n | | + +#### **B.III.8.19 SNMP IP address** + +This is the IP address of the SNMP Manager. The CM uses this address to report a problem with the cable network. + +| Type | Length | Value | +|------------------|--------|------------------| +| 16 (= TRI_CFG02) | 4 | IntegerIPaddress | + +#### **B.III.8.20 Baseline Privacy configuration settings option** + +This configuration setting describes parameters which are specific to Baseline Privacy. It is composed from a number of encapsulated type/length/value fields. See [MCNS8]. + +| Type | Length | Value | +|---------------|--------|-------| +| 17 (= BP_CFG) | n | | + +## Appendix B.IV + +### MAC sublayer service definition + +The MAC sublayer will provide the following services, consistent with [ISO/IEC 15802-1]. This is an internal interface within the CM and CMTS and is provided for reference purposes only. + +#### B.IV.1 Service at the CM + +The following service primitives are provided by the MAC sublayer to the higher-layer protocol entity. These represent an abstraction of the service provided and do not imply a particular implementation: + +MAC\_CM\_802\_DATA.request +MAC\_CM\_DIX\_DATA.request +MAC\_CM\_ATM\_DATA.request +MAC\_CM\_802\_DATA.indication +MAC\_CM\_DIX\_DATA.indication +MAC\_CM\_ATM\_DATA.indication +MAC\_CM\_DATA.acknowledgment + +#### B.IV.2 MAC\_CM\_802\_DATA.request + +Issued by the higher-layer to request transmission from the CM on an upstream channel. Parameter: + +- channel\_ID - MAY be implicit if the device supports attachment to a single channel. +- service\_ID. +- contention\_and\_acknowledgment\_constraints – Specifies whether or not this request MAY be satisfied in a contention interval. Ordinarily, the CM will request that contention data be acknowledged by the CMTS. +- destination\_address. +- source\_address (OPTIONAL) – If not explicitly overwritten, the address at this MSAP is used. +- LLC\_pdu. +- Padding (OPTIONAL) – MAY be used if the LLC PDU is less than 60 bytes and it is desired to maintain ISO 8802-3 transparency. +- frame\_check\_sequence (OPTIONAL) – MAY be supplied if ISO 8802-3 transparency is desired. Otherwise, a 32-bit CRC sum is calculated by the MAC sublayer. +- Length. + +#### B.IV.3 MAC\_CM\_DIX\_DATA.request + +Issued by the higher-layer to request transmission from the CM on an upstream channel. Parameters: + +- channel\_ID – MAY be implicit if the device supports attachment to a single channel. +- service\_ID. +- contention\_and\_acknowledgment\_constraints – Specifies whether or not this request MAY be satisfied in a contention interval. Ordinarily, the CM will request that contention data be acknowledged by the CMTS. +- destination\_address. +- source\_address (OPTIONAL) – If not explicitly overwritten, the address at this MSAP is used. +- Ethernet type. +- ethernet\_dix\_pdu. +- Length. + +#### **B.IV.4 MAC\_CM\_ATM\_DATA.request** + +Issued by the higher-layer to request transmission from the CM on an upstream channel. Parameters: + +- channel\_ID – MAY be implicit if the device supports attachment to a single channel. +- service\_ID. +- contention\_and\_acknowledgment\_constraints – Specifies whether or not this request MAY be satisfied in a contention interval. Ordinarily, the CM will request that contention data be acknowledged by the CMTS. +- One or more ATM cells. Cells need not be within the same virtual circuit or virtual path. +- Length. + +#### **B.IV.5 MAC\_CM\_802\_DATA.indication** + +Issued by the CM MAC to indicate reception of data from the downstream channel. Parameters: + +- channel\_ID – MAY be implicit if the device supports attachment to a single channel. +- destination\_address. +- source\_address. +- LLC\_pdu. +- Padding (OPTIONAL) - MAY be present if the LLC PDU was less than 60 bytes and ISO 8802-3 transparency was desired. +- frame\_check\_sequence. +- Length. + +#### **B.IV.6 MAC\_CM\_DIX\_DATA.indication** + +Issued by the CM MAC to indicate reception of data from the downstream channel. Parameters: + +- channel\_ID – MAY be implicit if the device supports attachment to a single channel. +- destination\_address. +- source\_address. +- Ethernet type. +- ethernet\_dix\_pdu. +- frame\_check\_sequence. +- Length. + +#### **B.IV.7 MAC\_CM\_ATM\_DATA.indication** + +Issued by the CM MAC to indicate reception of data on the downstream channel. Parameters: + +- channel\_ID – MAY be implicit if the device supports attachment to a single channel. +- service\_ID. +- One or more ATM cells – Cells need not be within the same virtual circuit or virtual path. +- Length. + +#### **B.IV.8 MAC\_CM\_DATA.acknowledgment** + +Issued by the CM MAC to indicate reception of an acknowledgment on the downstream channel. (An acknowledgment is an information element in an MAP PDU (see B.6.4.1.1). The CMTS MUST include this IE in response to an upstream data transmission that includes an acknowledgment request.) Parameters: + +- channel\_ID – The downstream channel on which the acknowledgment was received. May be implicit if the device supports attachment to a single channel. +- service\_ID. +- Length. + +## Appendix B.V + +### Example Burst Profiles + +#### B.V.1 Introduction + +Table B.V-1 through Table B.V-4 contain example Channel Burst Profiles for various modulation format and symbol rate combinations. The column labeled Column #1 in Table B.V-1 through Table B.V-4 corresponds to the Request burst type. The other columns correspond to the Communication (or Data) burst type. Table B.V-5 contains example Channel Burst Profiles corresponding to Power-Up burst types, or Acquisition burst types (for use on a new channel – or simply for refinement of user-unique parameters). + +A burst length of 0 mini-slots in the Channel Profile means that the burst length is variable on that channel for that burst type, and will be assigned by the CMTS for each burst. + +A programmable preamble superstring, up to 1024-bits-long, is part of the channel-wide profile or attributes, common to the all burst profiles on the channel (see B.6.3.2.2 and Table B.6-14), but with each burst profile able to specify the start location within this sequence of bits and the length of the preamble (see B.6.3.2.2 and Table B.6-15). The first bit of the Preamble Pattern is designated by the Preamble Value Offset as described in Table B.6-15 and B.6.3.2.2. The first bit of the Preamble Pattern is the first bit into the symbol mapper (see Figure B.4-8), and is $I_1$ in the first symbol of the burst (see B.4.2.2.2). As an example, per Table B.6-15, for Preamble Offset Value = 100, the 101st bit of the preamble superstring is the first bit into the symbol mapper, and the 102nd bit is the second bit into the mapper, and is mapped to $Q_1$ , and so on. An example 1024-bit-long preamble superstring is given in B.V.2. + +Table B.V-6 contains the frame formats for each of the symbol rates with QPSK modulation for the example Request burst and for three code-word lengths for the Communication bursts, with one code word per burst. Additionally, frame formats are shown for each of the rates with two of the example code-word lengths with four code words per burst. In each format example, the information rate of the burst is calculated and given in the table. For the Request burst, the 6 bytes of "data" are assumed to be the information, and the rest is overhead. In the Communication bursts, the preamble, spacing (guard time), FEC parity, and the example 6 bytes of MAC Header are assumed overhead for the purposes of calculating information rate. + +Table B.V-7 is structured the same as Table B.V-6, but with the example formats for 16 QAM modulation. + +#### B.V.2 Example preamble sequence + +The following is the example 1024-bit preamble sequence for Table B.V-1 through Table B.V-5: + +Bits 1 through 128: + +1100 1100 1111 0000 1111 1111 1100 0000 1111 0011 1111 0011 0011 0000 0000 1100 +0011 0000 0011 1111 1111 1100 1100 1100 1111 0000 1111 0011 1111 0011 1100 1100 + +Bits 129 through 256: + +0011 0000 1111 1100 0000 1100 1111 1111 0000 1100 1100 0000 1111 0000 0000 1100 +0000 0000 1111 1111 1111 0011 0011 0011 1100 0011 1100 1111 1100 1111 0011 0000 + +Bits 257 through 384: + +1100 0011 1111 0000 0011 0011 1111 1100 0011 0011 0000 0011 1100 0000 0011 0000 +0000 1110 1101 0001 0001 1110 1110 0101 0010 0101 0010 0101 1110 1110 0010 1110 + +Bits 385 through 512: + +0010 1110 1110 0010 0010 1110 1110 1110 1110 1110 0010 0010 0010 1110 1110 0010 +1110 1110 1110 0010 1110 0010 1110 0010 0010 0010 0010 1110 0010 0010 1110 0010 + +Bits 513 through 640: + +0010 0010 1110 1110 1110 1110 1110 1110 0010 1110 0010 1110 0010 1110 1110 0010 +0010 1110 1110 0010 1110 1110 1110 0010 1110 1110 0010 1110 0010 0010 1110 0010 + +Bits 641 through 768: + +0010 1110 1110 1110 0010 0010 0010 1110 0010 1110 1110 1110 1110 0010 0010 1110 + +0010 1110 0010 0010 0010 1110 1110 0010 0010 0010 0010 1110 0010 0010 0010 0010 + +Bits 769 through 896: + +0010 1110 1110 1110 1110 1110 1110 0010 1110 0010 1110 0010 1110 1110 0010 0010 + +1110 1110 0010 1110 1110 1110 0010 1110 1110 0010 1110 0010 0010 1110 0010 0010 + +Bits 897 through 1024: + +1110 1110 1110 0010 0010 0010 1110 0010 1110 1110 1110 1110 0010 0010 1110 0010 + +1110 0010 0010 0010 1110 1110 0010 0010 0010 0010 1110 0010 0010 0010 0010 1110 + +### B.V.3 Example Burst Profiles + +See Tables B.V-1 to B.V-7. + +**Table B.V-1/J.112 – Example Channel Burst parameter values for QPSK operation at 160, 320, and 640 ksym/s** + +| Parameter | Config. settings | #1 | #2 | #3 | #4 | #5 | +|---------------------------------------|-----------------------------|------------------------|------------------------|------------------------|------------------------|------------------------| +| Modulation | QPSK, 16 QAM | QPSK | QPSK | QPSK | QPSK | QPSK | +| Diff Enc | On/Off | Off | Off | Off | Off | Off | +| Symbol Rate | 5 configuration settings | 160, 320 or 640 ksym/s | 160, 320 or 640 ksym/s | 160, 320 or 640 ksym/s | 160, 320 or 640 ksym/s | 160, 320 or 640 ksym/s | +| Preamble Length | 0, 4-1024 bits | 56 bits | 64 bits | 64 bits | 64 bits | 64 bits | +| Preamble Start Location | 1024 configuration settings | 15 | 7 | 7 | 7 | 7 | +| Preamble Values | 1024 programmable bits | c) | c) | c) | c) | c) | +| FEC On/Off | On/Off | Off | On | On | On | On | +| FEC Code word Information Bytes (k) | 1 to 255 | N/A | 32 | 56 | 64 | 220 | +| FEC Error Correction (T bytes) | 0 to 10 | N/A | 4 | 7 | 8 | 10 | +| Last Code-word Length | Fixed or Shortened | N/A | Fixed | Fixed | Fixed | Fixed | +| Scrambler On/Off | On/Off | On | On | On | On | On | +| Scrambler Seed | 15 bits b) | Default | Default | Default | Default | Default | +| Burst Length mini-slots a) | 0 to 255 | 3 | 0 | 0 | 0 | 0 | + +a) A burst length of 0 mini-slots in the Channel Profile means that the burst length is variable on that channel for that burst type. +b) 15 bits in a 16-bit field. +c) Refer to B.V.2. + +**Table B.V-2/J.112 – Example Channel Burst parameter values for +QPSK operation at 1.28 and 2.56 Msym/s** + +| Parameter | Config. settings | #1 | #2 | #3 | #4 | #5 | +|---------------------------------------|-----------------------------|---------------------|---------------------|---------------------|---------------------|---------------------| +| Modulation | QPSK, 16 QAM | QPSK | QPSK | QPSK | QPSK | QPSK | +| Diff Enc | On/Off | Off | Off | Off | Off | Off | +| Symbol Rate | 5 configuration settings | 1.28 or 2.56 Msym/s | 1.28 or 2.56 Msym/s | 1.28 or 2.56 Msym/s | 1.28 or 2.56 Msym/s | 1.28 or 2.56 Msym/s | +| Preamble Length | 0,4-1024 bits | 48 bits | 96 bits | 96 bits | 96 bits | 96 bits | +| Preamble Start Location | 1024 configuration settings | 19 | 125 | 125 | 125 | 125 | +| Preamble Values | 1024 programmable bits | c) | c) | c) | c) | c) | +| FEC On/Off | On/Off | Off | On | On | On | On | +| FEC Code-word Information Bytes (k) | 1 to 255 | N/A | 40 | 56 | 64 | 220 | +| FEC Error Correction (T bytes) | 0 to 10 | N/A | 4 | 4 | 4 | 10 | +| Last Code-word Length | Fixed or Shortened | N/A | Fixed | Fixed | Fixed | Fixed | +| Scrambler On/Off | On/Off | On | On | On | On | On | +| Scrambler Seed | 15 bits b) | Default | Default | Default | Default | Default | +| Burst Length mini-slots a) | 0 to 255 | 4 | 0 | 0 | 0 | 0 | + +a) A burst length of 0 mini-slots in the Channel Profile means that the burst length is variable on that channel for that burst type. +b) 15 bits in a 16-bit field. +c) Refer to B.V.2. + +**Table B.V-3/J.112 – Example Channel Burst parameter values for +16 QAM operation at 160, 320, and 640 ksym/s** + +| Parameter | Config. settings | #1 | #2 | #3 | #4 | #5 | +|---------------------------------------|-----------------------------|------------------------|------------------------|------------------------|------------------------|------------------------| +| Modulation | QPSK, 16 QAM | 16 QAM | 16 QAM | 16 QAM | 16 QAM | 16 QAM | +| Diff Enc | On/Off | Off | Off | Off | Off | Off | +| Symbol Rate | 5 configuration settings | 160, 320 or 640 ksym/s | 160, 320 or 640 ksym/s | 160, 320 or 640 ksym/s | 160, 320 or 640 ksym/s | 160, 320 or 640 ksym/s | +| Preamble Length | 0, 4-1024 bits | 80 bits | 128 bits | 128 bits | 128 bits | 128 bits | +| Preamble Start Location | 1024 configuration settings | 429 | 385 | 385 | 385 | 385 | +| Preamble Values | 1024 programmable bits | c) | c) | c) | c) | c) | +| FEC On/Off | On/Off | Off | On | On | On | On | +| FEC Code-word Information Bytes (k) | 1 to 255 | N/A | 32 | 56 | 64 | 220 | +| FEC Error Correction (T bytes) | 0 to 10 | N/A | 4 | 7 | 8 | 10 | +| Last Code-word Length | Fixed or Shortened | N/A | Fixed | Fixed | Fixed | Fixed | +| Scrambler On/Off | On/Off | On | On | On | On | On | +| Scrambler Seed | 15 bits b) | Default | Default | Default | Default | Default | +| Burst Length mini-slots a) | 0 to 255 | 2 | 0 | 0 | 0 | 0 | + +a) A burst length of 0 mini-slots in the Channel Profile means that the burst length is variable on that channel for that burst type. + +b) 15 bits in a 16-bit field. + +c) Refer to B.V.2. + +**Table B.V-4/J.112 – Example Channel Burst parameter values for +16 QAM operation at 1.28 and 2.56 Msym/s** + +| Parameter | Config. settings | #1 | #2 | #3 | #4 | #5 | +|---------------------------------------|-----------------------------|---------------------|---------------------|---------------------|---------------------|---------------------| +| Modulation | QPSK, 16 QAM | 16 QAM | 16 QAM | 16 QAM | 16 QAM | 16 QAM | +| Diff Enc | On/Off | Off | Off | Off | Off | Off | +| Symbol Rate | 5 configuration settings | 1.28 or 2.56 Msym/s | 1.28 or 2.56 Msym/s | 1.28 or 2.56 Msym/s | 1.28 or 2.56 Msym/s | 1.28 or 2.56 Msym/s | +| Preamble Length | 0,4-1024 bits | 144 bits | 192 bits | 192 bits | 192 bits | 192 bits | +| Preamble Start Location | 1024 configuration settings | 709 | 621 | 621 | 621 | 621 | +| Preamble Values | 1024 programmable bits | c) | c) | c) | c) | c) | +| FEC On/Off | On/Off | Off | On | On | On | On | +| FEC Code-word Information Bytes (k) | 1 to 255 | N/A | 40 | 56 | 64 | 220 | +| FEC Error Correction (T bytes) | 0 to 10 | N/A | 4 | 4 | 4 | 10 | +| Last Code-word Length | Fixed or Shortened | N/A | Fixed | Fixed | Fixed | Fixed | +| Scrambler On/Off | On/Off | On | On | On | On | On | +| Scrambler Seed | 15 bits b) | Default | Default | Default | Default | Default | +| Burst Length mini-slots a) | 0 to 255 | 4 | 0 | 0 | 0 | 0 | + +a) A burst length of 0 mini-slots in the Channel Profile means that the burst length is variable on that channel for that burst type. + +b) 15 bits in a 16-bit field. + +c) Refer to B.V.2. + +**Table B.V-5/J.112 – Example Channel Burst parameter values for power-up and acquisition in a new channel** + +| Parameter | Config. settings | #1 | #2 | #3 | #4 | +|---------------------------------------|-----------------------------|------------------------|---------------------|------------------------|---------------------| +| Modulation | QPSK, 16 QAM | QPSK | QPSK | 16 QAM | 16 QAM | +| Diff Enc | On/Off | Off | Off | Off | Off | +| Symbol Rate | 5 configuration settings | 160, 320 or 640 ksym/s | 1.28 or 2.56 Msym/s | 160, 320 or 640 ksym/s | 1.28 or 2.56 Msym/s | +| Preamble Length | 0,4-1024 bits | 1024 bits | 1024 bits | 1024 bits | 1024 bits | +| Preamble Start Location | 1024 configuration settings | 1 | 1 | 1 | 1 | +| Preamble Values | 1024 programmable bits | c) | c) | c) | c) | +| FEC On/Off | On/Off | On | On | On | On | +| FEC Code-word Information Bytes (k) | 1 to 255 | 60 | 60 | 60 | 60 | +| FEC Error Correction (T bytes) | 0 to 10 | 10 | 10 | 10 | 10 | +| Last Code-word Length | Fixed or Shortened | Fixed | Fixed | Fixed | Fixed | +| Scrambler On/Off | On/Off | On | On | On | On | +| Scrambler Seed | 15 bits b) | Default | Default | Default | Default | +| Burst Length mini-slots a) | 0 to 255 | 42 | 53 | 21 | 27 | + +a) A burst length of 0 mini-slots in the Channel Profile means that the burst length is variable on that channel for that burst type. + +b) 15 bits in a 16-bit field. + +c) Refer to B.V.2. + +**Table B.V-6/J.112 – Frame format examples with QPSK operation** + +| Parameter | 160 ksym/s | 320 ksym/s | 640 ksym/s | 1.28 Msym/s | 2.56 Msym/s | +|---------------------------------------------------------|-----------------|-----------------|-----------------|-----------------|-----------------| +| Request Burst | | | | | | +| Spacing symbols (bytes)
i.e. (guard time symbols –1) | 8 (2) | 8 (2) | 8 (2) | 16 (4) | 16 (4) | +| Data symbols (bytes) | 24 (6) | 24 (6) | 24 (6) | 24 (6) | 24 (6) | +| Preamble symbols (bytes) | 28 (7) | 28 (7) | 28 (7) | 24 (6) | 24 (6) | +| Total symbols (bytes) | 60 (15) | 60 (15) | 60 (15) | 64 (16) | 64 (16) | +| Total burst duration
(mini-slots) | 3 | 3 | 3 | 4 | 4 | +| Total burst duration
(microseconds) | 375 | 187.5 | 93.75 | 50 | 25 | +| Information rate
(6 bytes per burst) | 128 kbit/s | 256 kbit/s | 512 kbit/s | 960 kbit/s | 1.92 Mbit/s | +| Communication Burst | | | | | | +| Code words/burst | 1 a) | 1 a) | 1 a) | 1 a) | 1 a) | +| Errors corrected per code word | 4 | 4 | 4 | 4 | 4 | +| Spacing symbols (bytes)
i.e. (guard time symbols –1) | 8 (2) | 8 (2) | 8 (2) | 16 (4) | 16 (4) | +| Data symbols (bytes) | 128 (32) | 128 (32) | 128 (32) | 160 (40) | 160 (40) | +| Parity symbols (bytes) | 32 (8) | 32 (8) | 32 (8) | 32 (8) | 32 (8) | +| Preamble symbols (bytes) | 32 (8) | 32 (8) | 32 (8) | 48 (12) | 48 (12) | +| Total symbols (bytes) | 200 (50) | 200 (50) | 200 (50) | 256 (64) | 256 (64) | +| Total burst duration (mini-slots) | 2 + 8 = 10 | 2 + 8 = 10 | 2 + 8 = 10 | 4 + 12 = 16 | 4 + 12 = 16 | +| Total burst duration
(microseconds) | 1250 | 625 | 312.5 | 200 | 100 | +| Information rate
(excluding MAC Header) | 166.4 kbit/s | 332.8 kbit/s | 665.6 kbit/s | 1.360 Mbit/s | 2.720 Mbit/s | +| Communication Burst | | | | | | +| Code words/burst | 1 a) | 1 a) | 1 a) | 1 a) | 1 a) | +| Errors corrected per code word | 8 | 8 | 8 | 4 | 4 | +| Spacing symbols (bytes)
i.e. (guard time symbols –1) | 8 (2) | 8 (2) | 8 (2) | 16 (4) | 16 (4) | +| Data symbols (bytes) | 256 (64) | 256 (64) | 256 (64) | 256 (64) | 256 (64) | +| Parity symbols (bytes) | 64 (16) | 64 (16) | 64 (16) | 32 (8) | 32 (8) | +| Preamble symbols (bytes) | 32 (8) | 32 (8) | 32 (8) | 48 (12) | 48 (12) | +| Total symbols (bytes) | 360 (90) | 360 (90) | 360 (90) | 352 (88) | 352 (88) | +| Total burst duration (mini-slots) | 2 + 16 = 18 | 2 + 16 = 18 | 2 + 16 = 18 | 4 + 18 = 22 | 4 + 18 = 22 | +| Total burst duration
(microseconds) | 2250 | 1125 | 562.5 | 275 | 137.5 | +| Information rate
(excluding MAC Header) | 206.2 kbit/s | 412.4 kbit/s | 824.9 kbit/s | 1.687 Mbit/s | 3.375 Mbit/s | +| Communication Burst | | | | | | +| Code words/burst | 1 a) | 1 a) | 1 a) | 1 a) | 1 a) | +| Errors corrected per code word | 10 | 10 | 10 | 10 | 10 | + +**Table B.V-6/J.112 – Frame format examples with QPSK operation (end)** + +| Parameter | 160 ksym/s | 320 ksym/s | 640 ksym/s | 1.28 Msym/s | 2.56 Msym/s | +|---------------------------------------------------------|------------------|------------------|------------------|------------------|------------------| +| Spacing symbols (bytes)
i.e. (guard time symbols –1) | 8 (2) | 8 (2) | 8 (2) | 16 (4) | 16 (4) | +| Data symbols (bytes) | 880 (220) | 880 (220) | 880 (220) | 880 (220) | 880 (220) | +| Parity symbols (bytes) | 80 (20) | 80 (20) | 80 (20) | 80 (20) | 80 (20) | +| Preamble symbols (bytes) | 32 (8) | 32 (8) | 32 (8) | 48 (12) | 48 (12) | +| Total symbols (bytes) | 1000 (250) | 1000 (250) | 1000 (250) | 1024 (256) | 1024 (256) | +| Total burst duration (mini-slots) | 2 + 48 = 50 | 2 + 48 = 50 | 2 + 48 = 50 | 4 + 60 = 64 | 4 + 60 = 64 | +| Total burst duration (microseconds) | 6250 | 3125 | 1562.5 | 800 | 400 | +| Information rate
(excluding MAC Header) | 273.9 kbit/s | 547.8 kbit/s | 1.096 Mbit/s | 2.140 Mbit/s | 4.280 Mbit/s | +| Communication Burst
Code words/burst | 4 a) | 4 a) | 4 a) | 4 a) | 4 a) | +| Errors corrected per code word | 8 | 8 | 8 | 4 | 4 | +| Spacing symbols (bytes)
i.e. (guard time symbols –1) | 8 (2) | 8 (2) | 8 (2) | 16 (4) | 16 (4) | +| Data symbols (bytes) | 1024 (256) | 1024 (256) | 1024 (256) | 1024 (256) | 1024 (256) | +| Parity symbols (bytes) | 256 (64) | 256 (64) | 256 (64) | 128 (32) | 128 (32) | +| Preamble symbols (bytes) | 32 (8) | 32 (8) | 32 (8) | 48 (12) | 48 (12) | +| Total symbols (bytes) | 1320 (330) | 1320 (330) | 1320 (330) | 1216 (304) | 1216 (304) | +| Total burst duration (mini-slots) | 2 + 16 × 4 = 66 | 2 + 16 × 4 = 66 | 2 + 16 × 4 = 66 | 4 + 18 × 4 = 76 | 4 + 18 × 4 = 76 | +| Total burst duration (microseconds) | 8250 | 4125 | 2062.5 | 950 | 475 | +| Information rate
(excluding MAC Header) | 242.4 kbit/s | 484.8 kbit/s | 969.7 kbit/s | 2.105 Mbit/s | 4.211 Mbit/s | +| Communication Burst
Code words/burst | 4 a) | 4 a) | 4 a) | 4 a) | 1 a) | +| Errors corrected per code word | 10 | 10 | 10 | 10 | 10 | +| Spacing symbols (bytes)
i.e. (guard time symbols –1) | 8 (2) | 8 (2) | 8 (2) | 16 (4) | 16 (4) | +| Data symbols (bytes) | 3520 (880) | 3520 (880) | 3520 (880) | 3520 (880) | 3520 (880) | +| Parity symbols (bytes) | 320 (80) | 320 (80) | 320 (80) | 320 (80) | 320 (80) | +| Preamble symbols (bytes) | 32 (8) | 32 (8) | 32 (8) | 48 (12) | 48 (12) | +| Total symbols (bytes) | 3880 (970) | 3880 (970) | 3880 (970) | 3904 (976) | 3904 (976) | +| Total burst duration (mini-slots) | 2 + 48 × 4 = 194 | 2 + 48 × 4 = 194 | 2 + 48 × 4 = 194 | 4 + 60 × 4 = 244 | 4 + 60 × 4 = 244 | +| Total burst duration (microseconds) | 24 250 | 12 125 | 6062.5 | 3050 | 1525 | +| Information rate
(excluding MAC Header) | 288.3 kbit/s | 576.7 kbit/s | 1.153 Mbit/s | 2.292 Mbit/s | 4.585 Mbit/s | + +a) The numbers in the table are given for four code words per burst, but more or fewer code words can be used, with the same data and parity lengths as given in the table. + +**Table B.V-7/J.112 – Frame format examples with 16 QAM operation** + +| Parameter | 160 ksym/s | 320 ksym/s | 640 ksym/s | 1.28 Msym/s | 2.56 Msym/s | +|---------------------------------------------------------|-----------------|-----------------|-----------------|-----------------|-----------------| +| Request Burst | | | | | | +| Spacing symbols (bytes)
i.e. (guard time symbols –1) | 8 (4) | 8 (4) | 8 (4) | 16 (8) | 16 (8) | +| Data symbols (bytes) | 12 (6) | 12 (6) | 12 (6) | 12 (6) | 12 (6) | +| Preamble symbols (bytes) | 20 (10) | 20 (10) | 20 (10) | 36 (18) | 36 (18) | +| Total symbols (bytes) | 40 (20) | 40 (20) | 40 (20) | 64 (32) | 64 (32) | +| Total burst duration (mini-slots) | 2 | 2 | 2 | 4 | 4 | +| Total burst duration (microseconds) | 250 | 125 | 62.5 | 50 | 25 | +| Information rate
(6 bytes per burst) | 192 kbit/s | 384 kbit/s | 768 kbit/s | 960 kbit/s | 1.920 Mbit/s | +| Communication Burst | | | | | | +| Code words/burst | 1 a) | 1 a) | 1 a) | 1 a) | 1 a) | +| Errors corrected per code word | 4 | 4 | 4 | 4 | 4 | +| Spacing symbols (bytes)
i.e. (guard time symbols –1) | 8 (4) | 8 (4) | 8 (4) | 16 (8) | 16 (8) | +| Data symbols (bytes) | 64 (32) | 64 (32) | 64 (32) | 80 (40) | 80 (40) | +| Parity symbols (bytes) | 16 (8) | 16 (8) | 16 (8) | 16 (8) | 16 (8) | +| Preamble symbols (bytes) | 32 (16) | 32 (16) | 32 (16) | 48 (24) | 48 (24) | +| Total symbols (bytes) | 120 (60) | 120 (60) | 120 (60) | 160 (80) | 160 (80) | +| Total burst duration (mini-slots) | 2 + 4 = 6 | 2 + 4 = 6 | 2 + 4 = 6 | 4 + 6 = 10 | 4 + 6 = 10 | +| Total burst duration (microseconds) | 750 | 375 | 187.5 | 125 | 62.5 | +| Information rate
(excluding MAC Header) | 277.3 kbit/s | 554.7 kbit/s | 1.109 Mbit/s | 2.176 Mbit/s | 4.352 Mbit/s | +| Communication Burst | | | | | | +| Code words/burst | 1 a) | 1 a) | 1 a) | 1 a) | 1 a) | +| Errors corrected per code word | 7 | 7 | 7 | 4 | 4 | +| Spacing symbols (bytes)
i.e. (guard time symbols –1) | 8 (4) | 8 (4)? | 8 (4) | 16 (8) | 16 (8) | +| Data symbols (bytes) | 128 (64) | 128 (64) | 128 (64) | 128 (64) | 128 (64) | +| Parity symbols (bytes) | 32 (16) | 32 (16) | 32 (16) | 16 (8) | 16 (8) | +| Preamble symbols (bytes) | 32 (16) | 32 (16) | 32 (16) | 48 (24) | 48 (24) | +| Total symbols (bytes) | 200 (100) | 200 (100) | 200 (100) | 208 (104) | 208 (104) | +| Total burst duration (mini-slots) | 2 + 8 = 10 | 2 + 8 = 10 | 2 + 8 = 10 | 4 + 9 = 13 | 4 + 9 = 13 | +| Total burst duration (microseconds) | 1250 | 625 | 312.5 | 162.5 | 81.25 | +| Information rate
(excluding MAC Header) | 371.2 kbit/s | 742.4 kbit/s | 1.455 Mbit/s | 2.855 Mbit/s | 5.711 Mbit/s | +| Communication Burst | | | | | | +| Code words/burst | 1 a) | 1 a) | 1 a) | 1 a) | 1 a) | +| Errors corrected per code word | 10 | 10 | 10 | 10 | 10 | + +**Table B.V-7/J.112 – Frame format examples with 16 QAM operation (end)** + +| Parameter | 160 ksym/s | 320 ksym/s | 640 ksym/s | 1.28 Msym/s | 2.56 Msym/s | +|---------------------------------------------------------|-----------------|-----------------|-----------------|------------------|------------------| +| Spacing symbols (bytes)
i.e. (guard time symbols –1) | 8 (4) | 8 (4) | 8 (4) | 16 (8) | 16 (8) | +| Data symbols (bytes) | 440 (220) | 440 (220) | 440 (220) | 440 (220) | 440 (220) | +| Parity symbols (bytes) | 40 (20) | 40 (20) | 40 (20) | 40 (20) | 40 (20) | +| Preamble symbols (bytes) | 32 (16) | 32 (16) | 32 (16) | 48 (24) | 48 (24) | +| Total symbols (bytes) | 520 (260) | 520 (260) | 520 (260) | 544 (272) | 544 (272) | +| Total burst duration (mini-slots) | 2 + 24 = 26 | 2 + 24 = 26 | 2 + 24 = 26 | 4 + 30 = 34 | 4 + 30 = 34 | +| Total burst duration (microseconds) | 3250 | 1625 | 812.5 | 425 | 212.5 | +| Information rate
(excluding MAC Header) | 526.8 kbit/s | 1.054 Mbit/s | 2.107 Mbit/s | 4.028 Mbit/s | 8.056 Mbit/s | +| Communication Burst | | | | | | +| Code words/burst | 4 a) | 4 a) | 4 a) | 4 a) | 4 a) | +| Errors corrected per code word | 7 | 7 | 7 | 4 | 4 | +| Spacing symbols (bytes)
i.e. (guard time symbols –1) | 8 (4) | 8 (4) | 8 (4) | 16 (8) | 16 (8) | +| Data symbols (bytes) | 512 (256) | 512 (256) | 512 (256) | 512 (256) | 512 (256) | +| Parity symbols (bytes) | 128 (64) | 128 (64) | 128 (64) | 64 (32) | 64 (32) | +| Preamble symbols (bytes) | 32 (16) | 32 (16) | 32 (16) | 48 (24) | 48 (24) | +| Total symbols (bytes) | 680 (340) | 680 (340) | 680 (340) | 640 (320) | 640 (320) | +| Total burst duration (mini-slots) | 2 + 8 × 4 = 34 | 2 + 8 × 4 = 34 | 2 + 8 × 4 = 34 | 4 + 9 × 4 = 40 | 4 + 9 × 4 = 40 | +| Total burst duration (microseconds) | 4250 | 2125 | 1062.5 | 500 | 250 | +| Information rate
(excluding MAC Header) | 470.6 kbit/s | 941.2 kbit/s | 1.882 Mbit/s | 4.000 Mbit/s | 8.000 Mbit/s | +| Communication Burst | | | | | | +| Code words/burst | 4 a) | 4 a) | 4 a) | 4 a) | 4 a) | +| Errors corrected per code word | 10 | 10 | 10 | 10 | 10 | +| Spacing symbols (bytes)
i.e. (guard time symbols –1) | 8 (4) | 8 (4) | 8 (4) | 16 (8) | 16 (8) | +| Data symbols (bytes) | 1760 (880) | 1760 (880) | 1760 (880) | 1760 (880) | 1760 (880) | +| Parity symbols (bytes) | 160 (80) | 160 (80) | 160 (80) | 160 (80) | 160 (80) | +| Preamble symbols (bytes) | 32 (16) | 32 (16) | 32 (16) | 48 (24) | 48 (24) | +| Total symbols (bytes) | 1960 (980) | 1960 (980) | 1960 (980) | 1984 (992) | 1984 (992) | +| Total burst duration (mini-slots) | 2 + 24 × 4 = 98 | 2 + 24 × 4 = 98 | 2 + 24 × 4 = 98 | 4 + 30 × 4 = 124 | 4 + 30 × 4 = 124 | +| Total burst duration (microseconds) | 12 250 | 6125 | 3062.5 | 1550 | 775 | +| Information rate
(excluding MAC Header) | 570.8 kbit/s | 1.142 Mbit/s | 2.283 Mbit/s | 4.511 Mbit/s | 9.022 Mbit/s | + +a) The numbers in the table are given for four code words per burst, but more or fewer code words can be used, with the same data and parity lengths as given in the table. + +## Appendix B.VI + +### Upstream modulation rates + +#### B.VI.1 Introduction + +The sources of ingress are not randomly distributed throughout the upstream cable network spectrum, but are grouped in frequency bands accordance with the International Radio Regulations, which is an international treaty subscribed to by most countries of the world. In some bands, higher powers are used, so ingress is more likely to be found there. The pattern of allocations can be readily recognized by examination of the upstream cable network band with a spectrum analyzer. + +The upstream modulation rates and flexibility in selecting upstream carrier frequencies defined in this appendix permit operators to position carriers in those portions of the upstream cable network spectrum which are less prone to narrowband ingress. + +#### B.VI.2 Sources of narrowband ingress + +Radio transmitters in the High-Frequency (HF) portion of the radio spectrum (3 to 30 MHz) are the major sources of narrowband ingress. The transmitters that can affect upstream cable network paths may be local, domestic or in other countries. + +##### B.VI.2.1 HF Propagation + +HF propagation is largely influenced by bending of radio waves in the ionosphere, which is a region between about 60 and 200 miles above the earth, so propagation distances can be very large. The bending is caused by ionization of free electrons by ultra-violet rays from the sun. There are several reflecting layers at various heights with differing characteristics, so the maximum usable frequency and distance reached depend on the time of day and solar activity. + +**Diurnal Variation** – During local daytime, the higher frequencies are propagated over long distances and the lower frequencies are absorbed. During local night-time, the lower frequencies are propagated over distances which are not quite so large, and the higher frequencies experience diminished or no propagation. + +**Solar Cycle** – Ionization is at its greatest during the peak of the 11-year sunspot cycle. At the largest sunspot peaks, strong distant signals can be heard across the HF band at most times of the day. At sunspot minima, long-distance propagation can be rare above about 15 MHz. Note that the cycle is currently at a minimum, so ingress is likely to affect cable systems on an increasing basis and at higher frequencies over the next 5 to 6 years. + +##### B.VI.2.2 Users of the HF radio spectrum + +The main users of the HF radio spectrum are: + +- Broadcasting; +- Maritime mobile; +- Aeronautical mobile; +- Aeronautical navigation; +- Fixed (i.e. point-to-point); +- Standard frequency and time signals; +- Amateur; +- Citizens Band (CB). + +The service of greatest concern for ingress is the Broadcasting Service. The Amateur and Citizens Band services are also of concern. + +### B.VI.2.3 Broadcasting + +The main ingress signals seen on typical cable networks are short-wave Broadcasting signals. The Broadcasting service is designed to provide very high field strengths in target markets so that the public can receive clear signals with simple receivers. Thus the service generally has these characteristics: + +- amplitude-modulated signals; +- very high transmitter powers; +- high-gain, directive antenna arrays; +- simultaneous transmission on multiple frequencies in different parts of the HF spectrum, to combat HF propagation variability; +- very large field strengths over a wide geographic area, affecting entire cable systems. + +The frequencies allocated to the Broadcasting Service on a world-wide basis are shown in Table B.VI-1. + +**Table B.VI-1/J.112 – Broadcasting allocations between 5 and 42 MHz** + +| Frequency, kHz | | +|----------------|--------| +| From | To | +| 5 950 | 6 200 | +| 7 100 | 7 300 | +| 9 500 | 9 900 | +| 11 650 | 12 050 | +| 13 600 | 13 800 | +| 15 100 | 15 600 | +| 17 550 | 17 900 | +| 21 450 | 21 850 | +| 25 670 | 26 100 | + +NOTE – Although 7100-7300 kHz is not allocated to Broadcasting in ITU Region 2 (the Americas), strong signals reach the USA and Canada from the other ITU Regions. + +### B.VI.2.4 Amateur and CB + +The Amateur Service is of concern, but for different reasons. Amateur transmitters operate at far lower powers than the Broadcasting Service, but are located in residential neighborhoods close to the cable plant, so they can represent potential localized sources of ingress in different bands across the HF spectrum. Radiation from the upstream cable plant may also cause interference into amateur receivers. + +The Citizens Band Service operates at powers which are very much lower and are less likely to be sources of ingress. However, CB receivers may be capable of picking up interference from cable plant radiation. + +The allocations in the USA and Canada for the Amateur and Citizens Band Services between 5 and 42 MHz are indicated in Table B.VI-2. + +### B.VI.2.5 Other services + +The other services in the HF spectrum operate at powers which are lower than Broadcasting, and are usually not located in residential areas, so they are less likely to be of concern. In the low VHF region between 30 and 42 MHz, there may be a localized effect from high-power paging in the vicinity of 35 MHz. + +**Table B.VI-2/J.112 – Amateur and Citizens Band allocations between 5 and 42 MHz** + +| Frequency, kHz | | +|----------------|--------| +| From | To | +| 7 000 | 7 300 | +| 10 100 | 10 150 | +| 14 000 | 14 350 | +| 18 068 | 18 168 | +| 21 000 | 21 450 | +| 24 890 | 24 990 | +| 26 960 | 27 240 | +| 28 000 | 29 700 | + +### B.VI.3 Fitting data carriers within the ingress gaps + +The range of modulation rates and the flexibility in setting upstream carrier frequencies defined in this appendix permit operators to fit data-over-cable carriers in the gaps between the short-wave Broadcasting bands, to avoid this significant source of ingress. They also permit operators to avoid the Amateur and Citizens Band bands as well. + +Table B.VI-3 illustrates the quantity of data carriers that can be derived in the gaps between the Broadcasting allocations at the channel widths specified in this appendix, and the resulting utilization of the available spectrum. Table B.VI-4 shows a similar illustration for the gaps between the Broadcasting, Amateur and CB allocations. A conservative upper limit of 40 MHz is used. + +**Table B.VI-3/J.112 – Data carriers in the gaps between broadcasting bands** + +| Non-broadcast spectrum, kHz | | | Data carrier width, kHz | | | | | +|-----------------------------|--------|--------|-------------------------|--------|--------|--------|--------| +| | | | 200 | 400 | 800 | 1600 | 3200 | +| From | To | Gap | Data carriers available | | | | | +| 5 000 | 5 950 | 950 | 4 | 2 | 1 | 0 | 0 | +| 6 200 | 7 100 | 900 | 4 | 2 | 1 | 0 | 0 | +| 7 300 | 9 500 | 2 200 | 11 | 5 | 2 | 1 | 0 | +| 9 900 | 11 650 | 1 750 | 8 | 4 | 2 | 1 | 0 | +| 12 050 | 13 600 | 1 550 | 7 | 3 | 1 | 0 | 0 | +| 13 800 | 15 100 | 1 300 | 6 | 3 | 1 | 0 | 0 | +| 15 600 | 17 550 | 1 950 | 9 | 4 | 2 | 1 | 0 | +| 17 900 | 21 450 | 3 550 | 17 | 8 | 4 | 2 | 1 | +| 21 850 | 25 670 | 3 820 | 19 | 9 | 4 | 2 | 1 | +| 26 100 | 40 000 | 13 900 | 69 | 34 | 17 | 8 | 4 | +| Least gap, kHz | | 900 | | | | | | +| Total carriers | | | 154 | 74 | 35 | 15 | 6 | +| Total bandwidth, kHz | | 31 870 | 30 800 | 29 600 | 28 000 | 24 000 | 19 200 | +| Utilization, % | | | 97 | 93 | 88 | 75 | 60 | + +**Table B.VI-4/J.112 – Data carriers in the gaps between Broadcasting, Amateur and CB bands** + +| Spectrum other than Broadcast,
Amateur, CB, kHz | | | Data carrier width, kHz | | | | | +|----------------------------------------------------|--------|--------|-------------------------|--------|--------|--------|------| +| | | | 200 | 400 | 800 | 1600 | 3200 | +| From | To | Gap | Data carriers available | | | | | +| 5 000 | 5 950 | 950 | 4 | 2 | 1 | 0 | 0 | +| 6 200 | 7 000 | 800 | 4 | 2 | 1 | 0 | 0 | +| 7 300 | 9 500 | 2 200 | 11 | 5 | 2 | 1 | 0 | +| 9 900 | 10 100 | 200 | 1 | 0 | 0 | 0 | 0 | +| 10 150 | 11 650 | 1 500 | 7 | 3 | 1 | 0 | 0 | +| 12 050 | 13 600 | 1 550 | 7 | 3 | 1 | 0 | 0 | +| 13 800 | 14 000 | 200 | 1 | 0 | 0 | 0 | 0 | +| 14 350 | 15 100 | 750 | 3 | 1 | 0 | 0 | 0 | +| 15 600 | 17 550 | 1 950 | 9 | 4 | 2 | 1 | 0 | +| 17 900 | 18 068 | 168 | 0 | 0 | 0 | 0 | 0 | +| 18 168 | 21 000 | 2 832 | 14 | 7 | 3 | 1 | 0 | +| 21 850 | 24 890 | 3 040 | 15 | 7 | 3 | 1 | 0 | +| 24 990 | 25 670 | 680 | 3 | 1 | 0 | 0 | 0 | +| 26 100 | 26 960 | 860 | 4 | 2 | 1 | 0 | 0 | +| 27 410 | 28 000 | 590 | 2 | 1 | 0 | 0 | 0 | +| 29 700 | 40 000 | 10 300 | 51 | 25 | 12 | 6 | 3 | +| Least gap, kHz | | 168 | | | | | | +| Total carriers | | | 136 | 63 | 27 | 10 | 3 | +| Total bandwidth, kHz | | 28 750 | 27 200 | 25 200 | 21 600 | 16 000 | 9600 | +| Utilization, % | | | 95 | 88 | 76 | 56 | 34 | + +## Appendix B.VII + +### Example: Multiple upstream channels + +This appendix presents an example of several upstream channels served by a single downstream channel. This is meant to illustrate one topology and one implementation of that topology. + +Suppose one downstream channel is used in conjunction with four upstream channels as shown in Figure B.VII-1. In this case, the four upstream channels are separate fibers serving four geographical communities of modems. + +![Diagram of a network topology showing one CMTS connected to four CMs via separate upstream channels and a shared downstream channel.](0fec4b5689fcc9aa96a87f0c1bdaf200_img.jpg) + +The diagram illustrates a network topology. At the top center is a box labeled 'CMTS'. Below it are four boxes, each labeled 'CM', arranged in a 2x2 grid. A central vertical line descends from the CMTS. Four curved arrows originate from each CM box and point towards the CMTS box, representing four separate upstream channels. Two horizontal arrows point from the central vertical line to the left CM and the right CM, representing a shared downstream channel. At the bottom right of the diagram, the text 'T0905250-97/d109' is present. + +Diagram of a network topology showing one CMTS connected to four CMs via separate upstream channels and a shared downstream channel. + +Figure B.VII-1/J.112 – One downstream and four upstream channels + +In this topology, the CMTS transmits four Upstream Channel Descriptors (UCDs) and four MAPs. Unfortunately, each CM cannot determine to which upstream channel it is attached, because there is no way to convey the geographical information on the shared downstream channel. The CM must assume (at least at initialization) that the UCD and MAP apply to the channel to which it is attached. The CM chooses an Initial Maintenance opportunity on any of the channels and transmits a Ranging Request. The CMTS will receive the request and will redirect the CM to the appropriate upstream channel identifier. From then on, the CM will be using the MAP that is appropriate to the fiber branch to which it is connected. + +A number of constraints are imposed by this topology: + +- All of the upstream channels must operate at the same frequency. Since the CM is choosing a channel descriptor at random, it would be transmitting on the wrong frequency if it chose the UCD that applied to a different fiber path. +- All of the upstream channels must operate at the same symbol rate. If not, the CMTS would be unable to demodulate the Ranging Request if transmitted at the wrong symbol rate for the particular channel. +- All Initial Maintenance opportunities across all fiber branches must be aligned. When the CM randomly chooses a MAP to use, the CMTS must be prepared to receive a Ranging Request at that time. +- All Initial Maintenance opportunities must use the same burst characteristics so that the CMTS can demodulate the Ranging Request. + +Note that only the initialization intervals must be aligned. Once the CM is assigned its proper channel ID, its activities need only be aligned with other users of its fiber branch. Ordinary data transmission and requests for bandwidth may occur independently across the four upstream channels. + +## Appendix B.VIII + +### The data-over-cable spanning tree protocol + +Subclause B.3.1.2.1 requires the use of the spanning tree protocol on CMs that are intended for commercial use and on bridging CMTSs. This appendix describes how the 802.1d spanning tree protocol is adapted to work for data over cable systems. + +#### B.VIII.1 Background + +A spanning tree protocol is frequently employed in a bridged network in order to deactivate redundant network connections, i.e. to reduce an arbitrary network mesh topology to an active topology that is a rooted tree that spans all of the network segments. The spanning tree algorithm and protocol should not be confused with the data-forwarding function itself; data forwarding may follow transparent learning bridge rules, or may employ any of several other mechanisms. By deactivating redundant connections, the spanning tree protocol eliminates topological loops, which would otherwise cause data packets to be forwarded forever for many kinds of forwarding devices. + +A standard spanning tree protocol [IEEE 802.1d] is employed in most bridged local area networks. This protocol was intended for private LAN use and requires some modification for cable data use. + +#### B.VIII.2 Public Spanning Tree + +To use a spanning tree protocol in a public-access network such as data-over-cable, several modifications are needed to the basic IEEE 802.1d process. Primarily, the public spanning tree must be isolated from any private spanning tree networks to which it is connected. This is to protect both the public cable network and any attached private networks. Figure B.VIII-1 illustrates the general topology. + +![Diagram of a spanning tree topology for data-over-cable. A central CMTS is connected to a horizontal bus. Three Cable Modems are connected to this bus. The top Cable Modem is connected to a cloud labeled 'Bridged Private Network'. The bottom two Cable Modems are connected to a single cloud labeled 'Bridged Private Network'. A small text label 'T0906680-98/d110' is present in the bottom right corner of the diagram area.](2aea72b147efb82b46a78aaea9f1ac22_img.jpg) + +T0906680-98/d110 + +Diagram of a spanning tree topology for data-over-cable. A central CMTS is connected to a horizontal bus. Three Cable Modems are connected to this bus. The top Cable Modem is connected to a cloud labeled 'Bridged Private Network'. The bottom two Cable Modems are connected to a single cloud labeled 'Bridged Private Network'. A small text label 'T0906680-98/d110' is present in the bottom right corner of the diagram area. + +Figure B.VIII-1/J.112 – Spanning tree topology + +The task for the public spanning tree protocol, with reference to Figure B.VIII-1, is to: + +- Isolate the private bridged networks from each other. If the two private networks merge spanning trees, then each is subject to instabilities in the other's network. Also, the combined tree may exceed the maximum allowable bridging diameter. +- Isolate the public network from the private networks' spanning trees. The public network must not be subject to instabilities induced by customers' networks; nor should it change the spanning tree characteristics of the customers' networks. +- Disable one of the two redundant links into the cable network, so as to prevent forwarding loops. This should occur at the cable modem, rather than at an arbitrary bridge within the customer's network. + +The spanning tree protocol must also serve the topology illustrated in Figure B.VIII-2: + +In Figure B.VIII-2, in normal operation the spanning tree protocol should deactivate a link at one of the two cable modems. It should not divert traffic across the private network. Note that in some circumstances, such as deactivation of Link-X, spanning tree *will* divert traffic onto the private network (although limits on learned MAC addresses will probably throttle most transit traffic). If this diversion is undesirable, then it must be prevented by means external to spanning tree; for example, by using routers. + +![Diagram illustrating a network topology for spanning tree across CMTSs. A 'Switched/Bridged Headend Network' is connected via 'Link-X' to two 'CMTS (bridge)' units. Each CMTS is connected to a 'Cable Modem', which in turn is connected to a 'Bridged Private Network'. The diagram shows two parallel paths from the headend network through the CMTSs and cable modems into the private network. A small text 'T0906690-98/d111' is visible in the bottom right corner of the diagram area.](6caa056e54d81c8403fe884e3c29fa66_img.jpg) + +Diagram illustrating a network topology for spanning tree across CMTSs. A 'Switched/Bridged Headend Network' is connected via 'Link-X' to two 'CMTS (bridge)' units. Each CMTS is connected to a 'Cable Modem', which in turn is connected to a 'Bridged Private Network'. The diagram shows two parallel paths from the headend network through the CMTSs and cable modems into the private network. A small text 'T0906690-98/d111' is visible in the bottom right corner of the diagram area. + +**Figure B.VIII-2/J.112 – Spanning tree across CMTSs** + +### B.VIII.3 Public spanning tree protocol details + +The Data over Cable Spanning Tree algorithm and protocol is identical to that defined in [IEEE 802.1d], with the following exceptions: + +- When transmitting Configuration Bridge Protocol Data Units (BPDUs), the Data over Cable Spanning Tree Multicast Address 01-E0-2F-00-00-03 is used rather than that defined in IEEE 802.1d. These BPDUs will be forwarded rather than recalculated by ordinary IEEE 802.1d bridges. +- When transmitting Configuration BPDUs, the SNAP header AA-AA-03-00-E0-2F-73-74 is used rather than the LLC 42-42-03 header employed by 802.1d. This is to further differentiate these BPDUs from those used by IEEE 802.1d bridges, in the event that some of those bridges do not correctly identify multicast MAC addresses9. +- IEEE 802.1d BPDUs are ignored and silently discarded. +- Topology Change Notification (TCN) PDUs are not transmitted (or processed). TCNs are used in IEEE networks to accelerate the aging of the learning database when the network topology may have changed. Since the learning mechanism within the cable network typically differs, this message is unnecessary and may result in unnecessary flooding. +- CMTSs operating as bridges must participate in this protocol and must be assigned higher priorities (more likely to be root) than cable modems. The NSI interface on the CMTS SHOULD be assigned a port cost equivalent to a link speed of at least 100 Mbit/s. These two conditions, taken together, should ensure that: + - 1) a CMTS is the root; and + - 2) any other CMTS will use the head-end network rather than a customer network to reach the root. +- The MAC Forwarder of the CMTS MUST forward BPDUs from upstream to downstream channels, whether or not the CMTS is serving as a router or a bridge. + +9 It is likely that there are a number of spanning tree bridges deployed which rely solely on the LSAPs to distinguish 802.1d packets. Such devices would not operate correctly if the data-over-cable BPDUs also used LSAP = 0x42. + +Note that CMs with this protocol enabled will transmit BPDUs onto subscriber networks in order to identify other CMs on the same subscriber network. These public spanning tree BPDUs will be carried transparently over any bridged private subscriber network. Similarly, bridging CMTSs will transmit BPDUs on the NSI as well as on the RFI interface. The multicast address and SNAP header defined above are used on all links. + +#### B.VIII.4 Spanning tree parameters and defaults + +Subclause 4.10.2 of [IEEE 802.1d] specifies a number of recommended parameter values. Those values should be used, with the exceptions listed below. + +##### Path Cost + +In [IEEE 802.1d], the following formula is used: + +$$\text{Path\_Cost} = 1000 / \text{Attached\_LAN\_speed\_in\_Mbit/s}$$ + +For CMs, this formula is adapted as: + +$$\text{Path\_Cost} = 1000 / (\text{Upstream\_symbol\_rate} * \text{bits\_per\_symbol\_for\_long\_data\_grant})$$ + +That is, the modulation type (QPSK or 16 QAM) for the Long Data Grant IUC is multiplied by the raw symbol rate to determine the nominal path cost. Table B.VIII-1 provides the derived values. + +For CMTSs, this formula is: + +$$\text{Path\_Cost} = 1000 / (\text{Downstream\_symbol\_rate} * \text{bits\_per\_symbol})$$ + +**Table B.VIII-1/J.112 – CM path cost** + +| Symbol rate | Default path cost | | +|-------------|-------------------|--------| +| | QPSK | 16 QAM | +| ksym/s | | | +| 160 | 3125 | 1563 | +| 320 | 1563 | 781 | +| 640 | 781 | 391 | +| 1280 | 391 | 195 | +| 2560 | 195 | 98 | + +##### Bridge Priority + +The Bridge Priority for CMs SHOULD default to 28672 (0x7000). This is to bias the network so that the root will tend to be at the CMTS. The CMTS SHOULD default to 32768, as per 802.1d. + +Note that both of these recommendations affect only the *default* settings. These parameters, as well as others defined in 802.1d, SHOULD be manageable throughout their entire range through the Bridge MIB (RFC-1493) or other means. + +## Annex C + +### Multimedia data transmission equipment over cable television network + +#### C.1 Introduction + +This annex is derived from work done on multimedia data transmission equipment designed to be used in cable television networks in Japan. An asymmetrical multimedia data system is described, for use on cable television systems of up to 770 MHz, to enable bi-directional IP datagram transmission. + +#### C.2 Definition of reference system and Interfaces + +Figure C.2-1 depicts the reference system and the interface points to define the overall multimedia data transmission system and equipment. + +The multimedia transmission system comprises Multimedia Center (MC) equipment, an administrative system, a security system, and Multimedia Home (MH) equipment. MC is usually installed at a cable television Head End or Center and is connected to external interface equipment. MH is mainly installed in residential homes or offices and is connected to customer premises equipment, i.e. personal computers. MC has two major functions; one is the distribution of multimedia data, including IP traffic, from an external network to hundreds of MH equipment connected to the CATV network. The other is the collection of upstream data from MHs. The role of the administrative system is to control daily operations, maintenance, tariff and billings, etc., required to support CATV network systems. MC may include these facilities in the case of a small network. A security system should be installed to intercept third party theft or tampering with data between MC and MH. In some cases, this system may also be included in MC equipment. + +Five interface points, A, B, C, D and E, are shown in Figure C.2-1. However, the description of interface points D and E are out of the scope of this annex. + +![Figure C.2-1/J.112 – Reference system and interface points. The diagram shows the flow of data from an External Network through a CATV Center (containing External Interface Equipment, MC, Security System, and Administrative System) to a Home (containing MH and Personal Computer) via an HFC or Coaxial CATV Network. Interface points A, B, C, D, and E are marked.](59417013c6759d15ff749c2026e6f726_img.jpg) + +The diagram illustrates the reference system and interface points for multimedia data transmission over a cable television network. On the left, an 'External Network' (represented by an oval) connects to a 'CATV Center'. Inside the 'CATV Center', there are four main components: 'External Interface Equipment', 'MC' (Multimedia Center), 'Security System', and 'Administrative System'. The 'External Interface Equipment' is connected to the 'External Network' and the 'MC'. The 'Security System' and 'Administrative System' are connected to the 'MC' via dashed lines. 'Interface D' is the connection point between the 'External Interface Equipment' and the 'MC'. 'Interface E' is the connection point between the 'Administrative System' and the 'MC'. The 'MC' is connected to an 'HFC or Coaxial CATV Network'. 'Interface A' is the connection point between the 'External Interface Equipment' and the 'MC'. 'Interface B' is the connection point between the 'MC' and the 'HFC or Coaxial CATV Network'. The 'HFC or Coaxial CATV Network' connects to a 'Home'. Inside the 'Home', there are two components: 'MH' (Multimedia Home) and 'Personal Computer'. The 'MH' is connected to the 'HFC or Coaxial CATV Network' and the 'Personal Computer'. 'Interface C' is the connection point between the 'MH' and the 'Personal Computer'. The diagram is labeled 'T0905260-97/d112a' in the bottom right corner. + +Figure C.2-1/J.112 – Reference system and interface points. The diagram shows the flow of data from an External Network through a CATV Center (containing External Interface Equipment, MC, Security System, and Administrative System) to a Home (containing MH and Personal Computer) via an HFC or Coaxial CATV Network. Interface points A, B, C, D, and E are marked. + +MC Multimedia Center Equipment +MH Multimedia Home Equipment + +Figure C.2-1/J.112 – Reference system and interface points + +### C.3 Protocol stacks + +#### C.3.1 Interface A protocol stack + +Figure C.3-1 depicts the protocol stack at Interface A, connecting MC and external interface equipment. This shows the required protocols for IP over IEEE 802 implementations as an example. Other possible implementations using IP over ATM, or IP over FDDI, should adopt open protocols that are in common use. + +| | | +|-----------------|--------------------------------| +| Network Layer | ..... IP | +| Data Link Layer | ..... 802.2 LLC
[ 802.3 MAC | +| Physical Layer | ..... 10 Base-T, 100 Base-T | + +**Figure C.3-1/J.112 – Protocol stack for Interface A** + +#### C.3.2 Interface A physical layer and data link layer + +The physical layer and data link layer at Interface A should have at least one function to carry IP traffic as defined as follows. The IP data shall be transmitted transparently and bi-directionally through the layers. + +- ATM STS-3C +- FDDI +- IEEE 802.3 10 Base-T +- IEEE 802.3 100 Base-T +- Ethernet 10 Base-T +- Ethernet 100 Base-T + +#### C.3.3 Interface A network layer + +The network layer of interface A should be Internet Protocol (IP), version 4. This Recommendation is expected to evolve to support IP version 6 (IETF RFC 1883) as it becomes an accepted standard. The IP data shall be transmitted transparently and bi-directionally through the layer. + +#### C.3.4 Interface B protocol stack + +Figure C.3-2 shows the protocol stack of interface B to be specified between MC and MH. The most important task of MC and MH is to transmit IP datagrams transparently between cable head end and customer premises. Both MC and MH should work as an IP host, which means supporting IP over LLC/DIX protocol as a part of the Data Link Layer. The physical layer should consist of a Transmission Convergence (TC) layer and a PMD (Physical Media Dependent) layer. + +| | +|-----------------| +| Data Link Layer | +| Physical Layer | + +**Figure C.3-2/J.112 – Protocol stack of Interface B** + +### C.3.5 Interface C protocol stack + +Figure C.3-3 depicts a protocol stack for Interface C, combining MH and PC. + +![Protocol stack diagram for Interface C showing three layers: Network Layer, Data Link Layer, and Physical Layer.](393d4a0608986a997ae261bdaa50e9b9_img.jpg) + +| | +|-----------------| +| Network Layer | +| Data Link Layer | +| Physical Layer | + +Protocol stack diagram for Interface C showing three layers: Network Layer, Data Link Layer, and Physical Layer. + +**Figure C.3-3/J.112 – Protocol stack at Interface C** + +### C.3.6 Interface C physical layer and data link layer + +As the IP traffic must be passed transparently to the PC, LLC and MAC protocols should be adopted in the data link layer. IEEE 802.3 10 Base-T or Ethernet 10 Base-T should be the physical layer protocol. The following protocols should be implemented in the data link layer and physical layer. + +- 802.2/DIX +- 802.3/DIX +- IEEE 802.3 10 Base-T +- Ethernet 10 Base-T + +### C.3.7 Interface C network layer + +The network layer of interface C should be Internet Protocol (IP), version 4. This specification is expected to evolve to support IP version 6 (IETF RFC 1883) as it becomes an accepted standard. The IP data shall be transmitted transparently and bi-directionally through the layer. + +## C.4 Physical layer specification + +### C.4.1 Upstream + +#### C.4.1.1 Modulation method + +QPSK modulation method should be applied for upstream channel. + +#### C.4.1.2 Signal constellation diagram and phase shift rule + +In the following Table C.4-1, $I_n$ is in-phase component, while $Q_n$ denotes quadrant component. $I_1$ means the MSB (Most Significant Bit) of the symbol map. + +**Table C.4-1/J.112 – Definition of data $I_n$ and $Q_n$** + +| Modulation method | Input bit definitions | +|-------------------|-----------------------| +| QPSK | $I_1$ $Q_1$ | + +Equipment should have differential-coded QPSK. Figure C.4-1 shows the signal constellation diagram for QPSK modulation in general form, and Table C.4-2 provides the phase shift rule of differential-coded QPSK modulation. + +![QPSK Signal Constellation Diagram showing four quadrants with bit pairs: 00 (top-right), 01 (bottom-right), 11 (bottom-left), and 10 (top-left). The horizontal axis is labeled I1 and the vertical axis is labeled Q1. A small label T0905270-97/d112b is at the bottom right.](a3476b0e9a7807008e84337e16b34837_img.jpg) + +QPSK Signal Constellation Diagram showing four quadrants with bit pairs: 00 (top-right), 01 (bottom-right), 11 (bottom-left), and 10 (top-left). The horizontal axis is labeled I1 and the vertical axis is labeled Q1. A small label T0905270-97/d112b is at the bottom right. + +**Figure C.4-1/J.112 – QPSK Signal Constellation Diagram** + +**Table C.4-2/J.112 – Phase shift rule for differential-coded QPSK** + +| Input
$I_1 \ Q_1$ | Phase Shift Output | +|----------------------|--------------------| +| 0 0 | 0 degree | +| 1 0 | +90 degrees | +| 1 1 | +180 degrees | +| 0 1 | +270 degrees | + +**C.4.1.3 Symbol Rate, Bandwidth and Roll Off** + +In some countries, the upstream channel has been used to transmit several 6 MHz video signals. In order to utilize the limited bandwidth efficiently, the bandwidth of the upstream channel is strongly recommended to be integer-divided value of 6 MHz or 6 MHz/n. + +The value "n" shall be carefully chosen to form a series of integer-related upstream bandwidths. Appropriate Roll Off value should be selected from the viewpoint of effective band separation and manufacturing. Furthermore, the preferable symbol rate should be multiples of 8kHz, for synchronization with external transmission lines if required. The resulting values of "n" should be 2, 4, 8, 16 and 32. The Roll Off factor should be 25%. + +Table C.4-3 summarizes Integer n, Bandwidth and Symbol Rate. The upstream channel must support all symbol rates shown. + +**Table C.4-3/J.112 – Integer n, Bandwidth and Symbol Rate** + +| Integer n | 6 MHz/n
Bandwidth
(kHz) | Symbol Rate
(ksym/s) | +|-----------|-------------------------------|-------------------------| +| 2 | 3000.0 | 2304 | +| 4 | 1500.0 | 1152 | +| 8 | 750.0 | 576 | +| 16 | 375.0 | 288 | +| 32 | 187.5 | 144 | + +**C.4.1.4 Frequency range** + +The upstream channel must support a 10 MHz to 55 MHz frequency range. + +#### C.4.1.5 Error correction + +Error correction functionality shall be considered for the noise environment in the cable television network. A Reed-Solomon Code should be implemented as an error correction function for the upstream modulator. + +The original Reed-Solomon code is defined as follows: + +- Field generator polynomial: $p(X) = X^8 + X^4 + X^3 + X^2 + 1$ . +- Code generator polynomial: $g(X) = (X + \alpha^0)(X + \alpha^1)\cdots(X + \alpha^{2T-1})$ , + +where T is error correcting capability of a Reed-Solomon code and $\alpha$ is 02H and one of roots of equation $p(X) = 0$ . + +#### C.4.1.6 Randomization + +The upstream modulator should provide a randomization function. The polynomial should be $X^{15} + X^{14} + 1$ . + +#### C.4.1.7 Transmission signal level + +The transmitting signal level at MH output connector should be adjustable over the range +70 to +110 dB $\mu$ V. Level adjustment step should be 1dB. + +#### C.4.1.8 Receiving signal level + +The operational receiving signal level at MC input connector should satisfy the values in Table C.4-4. + +In the case that transmission level control is applied, signals can be received within a part of the range mentioned above. + +**Table C.4-4/J.112 – Symbol Rate and nominal receive level** + +| Symbol Rate (ksym/s) | Nominal receive level (dB $\mu$ V) | +|----------------------|------------------------------------| +| 144 | +44 to +72 | +| 288 | +47 to +75 | +| 576 | +50 to +78 | +| 1152 | +53 to +81 | +| 2304 | +56 to +84 | + +#### C.4.1.9 Transmission spurious + +The noise and spurious power should not exceed the values shown in Table C.4-5. + +The measurement bandwidth is equal to the symbol rate for the requirement below 55 MHz. + +The digital carrier level is expected to be –10 dB lower than the analogue NTSC carrier. + +**Table C.4-5/J.112 – Noise and spurious powers** + +| Frequency | Active period | Inactive period | +|----------------------------------------------------------------------------------------------------------------|--------------------------|--------------------------| +| 10 to 55 MHz, Inband | Less than –40 dBc | Less than +30 dB $\mu$ V | +| 10 to 55 MHz, Outband including adjacent band, carrier-related band and other noise powers within 10 to 55 MHz | Less than –45 dBc | | +| 55 to 90 MHz | Less than +35 dBmV | | +| 90 to 770 MHz | Less than +35 dB $\mu$ V | | + +#### C.4.1.10 Bit error rate + +Bit error rate of the upstream signal should be less than $10^{-6}$ at C/N = 20 dB (Nyquist bandwidth) without error correction. + +#### C.4.1.11 Frame structure + +The frame structure should have the following general format (see Figure C.4-2). Actual length in bits should be defined in the data link layer protocol specifications. + +![Diagram of frame structure showing a sequence of fields: Preamble, Payload, FEC, Payload, FEC, a dashed box representing variable length, Payload, FEC, and GT.](bcc5e48817a7383c980f2165bb571508_img.jpg) + +| | | | | | | | | | +|----------|---------|-----|---------|-----|-------|---------|-----|----| +| Preamble | Payload | FEC | Payload | FEC | ----- | Payload | FEC | GT | +|----------|---------|-----|---------|-----|-------|---------|-----|----| + +Diagram of frame structure showing a sequence of fields: Preamble, Payload, FEC, Payload, FEC, a dashed box representing variable length, Payload, FEC, and GT. + +T0905940-97/d113 + +GT Guard Time +FEC Forward Error Correction + +Figure C.4-2/J.112 – Frame structure + +#### C.4.1.12 Channel frequency accuracy + +Channel frequency accuracy should be within $\pm 50$ ppm over a temperature range of 0 to 40 degrees C. + +#### C.4.1.13 Symbol rate accuracy + +Symbol rate accuracy should be within $\pm 50$ ppm over a temperature range of 0 to 40 degrees C. + +### C.4.2 Downstream + +#### C.4.2.1 Modulation method + +The modulation method should be 64 QAM. + +#### C.4.2.2 Signal constellation diagram and phase shift rule + +The signal constellation diagram and phase shift rule should be compliant with Annex C/J.83. + +#### C.4.2.3 Symbol rate and bandwidth + +The symbol rate should be 5.274 Msym/s. Bandwidth should be 6 MHz. Other parameters related to symbol rate and bandwidth should be compliant with Annex C/J.83. + +#### C.4.2.4 Frequency range + +The downstream channel must support a 90 MHz to 770 MHz frequency range. + +#### C.4.2.5 Error correction + +Error correction functionality shall be considered for the noise environment in the cable television network. Code length and information byte length should be in accordance with Annex C/J.83. + +The original Reed-Solomon code is defined as follows: + +- Field generator polynomial: $p(X) = X^8 + X^4 + X^3 + X^2 + 1$ . +- Code generator polynomial: $g(X) = (X + \alpha^0)(X + \alpha^1)\cdots(X + \alpha^{2T-1})$ , + +where T is error correcting capability of a Reed-Solomon code and $\alpha$ is 02H and one of roots of equation $p(X) = 0$ . + +#### C.4.2.6 Randomization + +A randomization function should be provided. The generator polynomial should be compliant with Annex C/J.83. + +#### C.4.2.7 Interleave + +The interleave method should be compliant with Annex C/J.83. + +#### C.4.2.8 Transmission signal level + +The transmission signal level at MC output connector should be adjustable over the range of +100 to +110 dB $\mu$ V. + +#### C.4.2.9 Receiving signal level + +MH should be able to operate at the level within a range of +53 dB $\mu$ V to +85 dB $\mu$ V at MH input connector. + +#### C.4.2.10 Transmission spurious + +Transmission spurious level should be less than -55 dBc over the range of 90 MHz to 770 MHz. The digital carrier level is expected to be 10 dB lower than the analogue NTSC carrier. + +#### C.4.2.11 Bit error rate + +Bit error rate should be less than $10^{-8}$ at CNR = 27 dB (Nyquist bandwidth) with error correction. + +#### C.4.2.12 Channel frequency accuracy + +Channel frequency accuracy should be within $\pm 20$ ppm over a temperature range of 0 to 40° C. + +#### C.4.2.13 Symbol rate accuracy + +Symbol rate accuracy should be within $\pm 20$ ppm over a temperature range of 0 to 40° C. + +#### C.4.2.14 Impedance, Return Loss and Connector + +Impedance, Return Loss and Connector at MH In/Output, MC Output and MC Input should meet the requirements shown in Table C.4-6. + +**Table C.4-6/J.112 – Impedance, Return Loss and Connector** + +| | Impedance | Return Loss | Connector | +|--------------|-------------|---------------------------------|-----------------| +| MH In/Output | 75 $\Omega$ | 6 dB
10-55 and
90-770 MHz | F-type, Female | +| MC Output | 75 $\Omega$ | 14 dB
90-770 MHz | F-type, Female | +| MC Input | 75 $\Omega$ | 6 dB
10-55 MHz | F- type, Female | + +### C.5 Transmission convergence sublayer specification + +#### C.5.1 Introduction + +A Transmission Convergence (TC) sublayer is provided for MPEG video and data services. In order to facilitate multiplexing and demultiplexing at TC sublayer, the physical layer is divided into transmission convergence layer and physical media dependent layer. The frame for TC layer is based on Recommendation H.222.0 (188 bytes MPEG packet). An MPEG packet consists of a 4-byte header and 184-byte payload. The payload type can be discriminated by the header. As shown in Figure C.5-1, Video and DOC (Data over Cable) headers are defined to identify the payload type. + +| | | +|----------------|-----------------------| +| header = DOC | DOC MAC payload | +| header = video | digital video payload | +| header = video | digital video payload | +| header = DOC | DOC MAC payload | +| header = video | digital video payload | +| header = DOC | DOC MAC payload | +| header = video | digital video payload | +| header = video | digital video payload | +| header = video | digital video payload | + +**Figure C.5-1/J.112 – Downstream TC layer framing** + +### C.5.2 MPEG Packet format + +Figure C.5-2 depicts the format of an MPEG Packet. The pointer field shall be inserted if necessary. + +| | | | +|--------------------------|---------------------------|-------------------------------| +| MPEG Header
(4 bytes) | Pointer_field
(1 byte) | Payload
(183 or 184 bytes) | +|--------------------------|---------------------------|-------------------------------| + +**Figure C.5-2/J.112 –MPEG Packet format** + +### C.5.3 MPEG Header + +The header of the MPEG transport stream is based on the definition of Recommendation H.222.0 as shown in Table C.5-1. + +**Table C.5-1/J.112 – MPEG Packet format** + +| Field | Length (bits) | Description | +|-----------------------------------------------------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| sync_byte | 8 | 0x47; MPEG Packet Sync byte | +| transport_error_indicator | 1 | Indicates an error has occurred in the reception of the packet. This bit is reset to zero by the sender, and set to one whenever an error occurs in transmission of the packet. | +| payload_unit_start_indicator | 1 | A value of one indicates the presence of a pointer_field as the first byte of the payload (fifth byte of the packet) | +| transport_priority | 1 | Reserved, set to zero. | +| PID (Note) | 13 | Data over Cable PID (0x1FFE) | +| transport_scrambling_control | 2 | Reserved, set to '00'. | +| adaptation_field_control | 2 | '01'; use of the adaptation_field is NOT ALLOWED on the PID. | +| continuity_counter | 4 | Cyclic counter within this PID | +| NOTE – In the future, additional PIDs MAY be assigned to an MH. | | | + +### C.5.4 Interface with MAC sublayer + +There shall be several cases for the relationship of MAC frames to MPEG packets. An MPEG Packet can contain multiple MAC frames, or contain one MAC Frame that applies over multiple MPEG packets. + +Figure C.5-3 shows a MAC Frame starting immediately after a pointer field. In this case the pointer field is set to "0" and the decoder shall recognize the head of the MAC Frame after searching the next bytes, except for 0xFF pattern. + +| | | | | +|---------------------------|------------------------|--------------------------------|------------------------------| +| MPEG Header
(PUSI = 1) | pointer_field
(= 0) | MAC Frame
(up to 183 bytes) | stuff_byte(s)
(0 or more) | +|---------------------------|------------------------|--------------------------------|------------------------------| + +**Figure C.5-3/J.112 – MAC Frame mapping (1)** + +Figure C.5-4 shows the case where a MAC Frame continues from the tail of the previous MAC Frame. The pointer shows the next byte of MAC Frame #1. The decoder shall search byte by byte until it finds the pattern, except for 0xFF, from the next byte of the last MAC Frame #1. + +| | | | | | +|---------------------------|------------------------|-----------------------------------|------------------------------|-----------------------| +| MPEG Header
(PUSI = 1) | pointer_field
(= M) | Tail of MAC Frame #1
(M bytes) | stuff_byte(s)
(0 or more) | Start of MAC Frame #2 | +|---------------------------|------------------------|-----------------------------------|------------------------------|-----------------------| + +**Figure C.5-4/J.112 – MAC Frame mapping (2)** + +Figure C.5-5 shows that multiple MAC frames exist in an MPEG Packet. The pointer should detect the head of MAC Frame #1. The head of the second MAC Frame shall be found after searching patterns except for 0xFF from the position of the head of MAC Frame #1 and succeeding frame length. Thus the MAC Frame should be detected by the end of the MPEG Packet. + +| | | | | | | +|---------------------------|------------------------|--------------|--------------|------------------------------|--------------| +| MPEG Header
(PUSI = 1) | pointer_field
(= 0) | MAC Frame #1 | MAC Frame #2 | stuff_byte(s)
(0 or more) | MAC Frame #3 | +|---------------------------|------------------------|--------------|--------------|------------------------------|--------------| + +**Figure C.5-5/J.112 – MAC Frame mapping (3)** + +Figure C.5-6 shows the case of a MAC Frame overrunning multiple MPEG packets. In this case the pointer field of the succeeding frame points to the byte following the last byte of the tail of the first frame. + +| | | | | | +|---------------------------|---------------------------------------------|-----------------------------------|--------------------------------------------|------------------------------------| +| MPEG Header
(PUSI = 1) | pointer_field
(= 0) | stuff_byte(s)
(0 or more) | Start of MAC Frame #1
(up to 183 bytes) | | +| MPEG Header
(PUSI = 0) | Continuation of MAC Frame #1
(184 bytes) | | | | +| MPEG Header
(PUSI = 1) | pointer_field
(= M) | Tail of MAC Frame #1
(M bytes) | stuff_byte(s)
(0 or more) | Start of MAC Frame #2
(M bytes) | + +**Figure C.5-6/J.112 – MAC Frame mapping (4)** + +### C.5.5 Physical layer interaction + +The MPEG-2 packet stream should be encoded in accordance with Annex C/J.83. + +### C.5.6 MPEG Header synchronization and recovery + +The MPEG-2 Packet stream should be in "in frame" state after receiving consecutive five packets without parity check errors. The MPEG-2 Packet should be in "out of frame" state after receiving nine consecutive packets with parity check errors. + +## C.6 MAC layer specification + +### C.6.1 Introduction + +#### C.6.1.1 Overview + +Figure C.6-1 shows an aspect of the multimedia data transmission system and MAC sublayer domain. The MAC sublayer domain consists of a Multimedia Center (MC) equipment and multiple upstreams and downstreams that connect MC and multimedia Home (MH) equipment. The transmission speed of the downstream is about 30 Mbit/s while the upstream is from about 100 kbit/s to a few Mbit/s. An MH can access an upstream and downstream pair. + +Bandwidth assignment for downstream is controlled by the combination of FDM and TDM. Each MH has an assigned receiving channel among multiple downstream channels, and multiple data for MH are multiplexed on a time division basis over the downstream. Bandwidth assignment for upstream is controlled by the combination of FDMA and TDMA. MH has an assigned transmission channel among upstream channels and transmits data after time assignment of upstream channel by multi-access control. + +![Diagram of network construction showing a Multimedia Center (MC) connected to the Internet and four Multimedia Homes (MH) via Downstream and Upstream channels. Each MH is connected to a PC.](4aeafa83d297a9b124c73904c5a49437_img.jpg) + +The diagram illustrates a network construction. On the left, an oval labeled 'Internet' is connected to a rectangular box labeled 'MC' (Multimedia Center). From the 'MC', four horizontal lines extend to the right, labeled 'Downstream channels' at the top. Below these, four more horizontal lines extend to the right, labeled 'Upstream channels' at the bottom. Each of these four lines has an arrow pointing to the right. Below the 'MC', there are four rectangular boxes labeled 'MH' (Multimedia Home), arranged horizontally. Each 'MH' is connected to the 'MC' by a vertical double-headed arrow. Below each 'MH' is another rectangular box labeled 'PC' (Personal Computer), connected by a vertical line. At the bottom right of the diagram, the text 'T0905280-97/d1114' is present. + +Diagram of network construction showing a Multimedia Center (MC) connected to the Internet and four Multimedia Homes (MH) via Downstream and Upstream channels. Each MH is connected to a PC. + +Figure C.6-1/J.112 – Network construction + +#### C.6.1.2 Bandwidth assignment + +Figure C.6-2 depicts bandwidth assignment by mini-slots and messages. The upstream channel is divided into small slots called mini-slots. The size of a mini-slot is in multiples of a timebase tick that is selected to be a multiple of the reciprocal of highest symbol rate in upstream. The MC can assign several mini-slots to MH as needed and MH transmits data by combining these mini-slots. Mini-slot assignment is controlled by messages and MC shall transmit the bandwidth assignment message called MAP. MAP contains information for bandwidth assignment as Information Elements (IE). Each IE contains mini-slot start index, mini-slot number to be assigned, service ID and usage of the bandwidth. In Figure C.6-2, mini-slot #N is for random reservation which all MH can access, mini-slots #N + 1 to N + 3 are for random access, mini-slots #N + 4 to N + 7 are for the data domain of specific MH (#a). After receiving MAP, MH should start analysis of IE in the MAP, then transmit data at available mini-slots. + +![Diagram of bandwidth assignment by mini-slot and message. It shows a timeline with Downstream and Upstream directions. Mini-slots are numbered N, N+1, N+2, N+3, N+4, N+5. Arrows indicate message exchanges: 1) Transmission Bandwidth Allocation Message, 2) Reservation data in request, 3) Contention resolution by Exponential Binary Back-off, 4) Bandwidth assign to MH, 5) Transmit next reservation data with piggyback. A legend indicates N, N+1~3, and N+4~7 are reserved for Station #a.](c79d10d97e1f525e9c85e96e91616923_img.jpg) + +1) Transmission Bandwidth Allocation Message + +N: +N + 1~3 +N + 4~7 Reserved for Station #a + +3) Contention resolution by Exponential Binary Back-off + +Downstream + +--- + +Upstream + +--- + +MINI-SLOT + +N N + 1 N + 2 N + 3 N + 4 N + 5 N + 4 N + 5 + +2) Reservation data in request + +2') Reservation data in request/data domain + +4) Bandwidth assign to MH + +5) Transmit next reservation data with piggyback + +T0905290-97/d1115 + +Diagram of bandwidth assignment by mini-slot and message. It shows a timeline with Downstream and Upstream directions. Mini-slots are numbered N, N+1, N+2, N+3, N+4, N+5. Arrows indicate message exchanges: 1) Transmission Bandwidth Allocation Message, 2) Reservation data in request, 3) Contention resolution by Exponential Binary Back-off, 4) Bandwidth assign to MH, 5) Transmit next reservation data with piggyback. A legend indicates N, N+1~3, and N+4~7 are reserved for Station #a. + +**Figure C.6-2/J.112 – Bandwidth assignment by mini-slot and message** + +### C.6.1.3 Mini-slot synchronization + +Figure C.6-3 shows mini-slot synchronization that enables the synchronization of mini-slot numbers and boundaries for all MHs connected. + +- 0) MC measures Round Trip Delay (RTD) between MC and each MH and notifies it to MH in advance. + - 1) MC keeps a Global Time (GT) counter operated by a timebase tick and informs periodically this counter value to all MHs as timestamp information. +- MC controls mini-slot number and boundary based on GT. +- 2) Each MH adjusts Local Time (LT) by timestamp received. + - 3) MH recognizes the mini-slot boundary and number by LT. The mini-slot number N is defined as $N = LT/M$ , where M is defined as $LT \bmod M = 0$ . + - 4) MH transmits data to assigned mini-slot #N. + - 5) The data arrives at MC at GT that equals $N \times M$ . + +![Diagram of global timing synchronization. It shows a timeline with Downstream and Upstream directions. Mini-slots are numbered N-2, N-1, N, N+1, N+2, N+3. Arrows indicate message exchanges: 0) Measurement of RTD in advance, 1) Periodic transmission of Timing Reference, 2) Local time adjust after timing reference, 3) Mini-slot Index, 4) Transmit data to Mini-slot #N, 5) Data arrival at GT = N x M. Formulas for LT and GT are provided.](5ed662a589ef8a6d08d67ae2fd275216_img.jpg) + +1) Periodic transmission of Timing Reference +Global Time (GT) = T0 + +0) Measurement of RTD in advance + +Downstream + +--- + +Upstream + +--- + +RTDd RTDu + +Mini-slot Size = M + +N - 2 N - 1 N N + 1 N + 2 N + 3 + +2) Local time adjust after timing reference + $LT = T0 + RTD$ + $(GT = T0 + RTDd)$ + +3) Mini-slot Index = $LT/M$ + +4) Transmit data to Mini-slot #N + $LT = N \times M$ + $(GT = N \times M - RTDu)$ + +5) Data arrival at + $GT = N \times M$ + +T0905300-97/d1116 + +Diagram of global timing synchronization. It shows a timeline with Downstream and Upstream directions. Mini-slots are numbered N-2, N-1, N, N+1, N+2, N+3. Arrows indicate message exchanges: 0) Measurement of RTD in advance, 1) Periodic transmission of Timing Reference, 2) Local time adjust after timing reference, 3) Mini-slot Index, 4) Transmit data to Mini-slot #N, 5) Data arrival at GT = N x M. Formulas for LT and GT are provided. + +**Figure C.6-3/J.112 – Global timing synchronization** + +### C.6.1.4 Access sequence + +The access sequence is primarily based on random reservation, however random access shall be available according to traffic volume. Descriptions are given in the following. + +#### C.6.1.4.1 Random reservation + +Figure C.6-4 shows the random reservation sequence. MC assigns a domain for the upstream channel to transmit reservation information periodically. MC notifies MH with mini-slot domain information set in MAP. The MH with data to be transmitted can transmit reservation information in the domain. If a collision occurs, MH can resend reservation information by binary exponential back-off algorithm. After resolution of collision, MC notifies MH the band assignment with mini-slot information. After receiving the information, MH should transmit data in the assigned domain. + +![Figure C.6-4/J.112 – Random reservation sequence diagram showing MC and MH(a)/MH(b) communication over time with MAP (Req IE) and MAP (Grant IE) messages, and MH transmissions of Req and Data.](28f9598c1cd4a12dcf83455c95ea4fcd_img.jpg) + +The diagram illustrates the random reservation sequence. At the top, five MAP messages are shown: three 'MAP (Req IE)' and two 'MAP (Grant IE)'. Below them, a horizontal timeline represents the channel. The 'MC' (Management Station) is shown on the left, with arrows pointing from the MAP messages to the timeline. The 'MH(a) MH(b)' (Mobile Stations) are shown below the timeline. Arrows from the timeline to the MHs indicate reception of MAP messages. Below the MHs, another horizontal timeline shows their transmissions: 'Req' (Reservation) messages are sent at various points, and 'Data + Req' and 'Data' messages are sent after receiving 'Grant IE' messages. A small text 'T0906700-98/d117' is visible in the bottom right corner of the diagram area. + +Figure C.6-4/J.112 – Random reservation sequence diagram showing MC and MH(a)/MH(b) communication over time with MAP (Req IE) and MAP (Grant IE) messages, and MH transmissions of Req and Data. + +Figure C.6-4/J.112 – Random reservation sequence + +#### C.6.1.4.2 Random access + +Generally random reservation realizes a high throughput because of less loss of capacity due to collisions. However it needs a reservation procedure before transmission, and thus increases latency. Random access does not need such a reservation procedure and reduces latency. + +Figure C.6-5 depicts the random access sequence. MC should set, regularly, mini-slot domain information that allows random access in MAP. MH should send data within the range of request/data IE indicated. In the case of a collision that means simultaneous data transmission by multiple MHs, retransmission can be done by the binary exponential back-off like random reservation. After receiving data acknowledgement, MH should quit retransmission. MC can stop random access if network traffic becomes heavy. + +![Figure C.6-5/J.112 – Random access sequence diagram showing MC and MH(a)/MH(b) communication over time with MAP (Req/Data IE) and MAP (Data Ack IE) messages, and MH transmissions of Data.](15ca9e79e42494966b608c4f0c6b64cc_img.jpg) + +The diagram illustrates the random access sequence. At the top, four MAP messages are shown: three 'MAP (Req/Data IE)' and one 'MAP (Data Ack IE)'. Below them, a horizontal timeline represents the channel. The 'MC' (Management Station) is shown on the left, with arrows pointing from the MAP messages to the timeline. The 'MH(a) MH(b)' (Mobile Stations) are shown below the timeline. Arrows from the timeline to the MHs indicate reception of MAP messages. Below the MHs, another horizontal timeline shows their transmissions: 'Data' messages are sent directly after receiving 'Req/Data IE' messages. A 'Data Ack IE' message is shown being sent from the MC to the MHs. A small text 'T0906710-98/d118' is visible in the bottom right corner of the diagram area. + +Figure C.6-5/J.112 – Random access sequence diagram showing MC and MH(a)/MH(b) communication over time with MAP (Req/Data IE) and MAP (Data Ack IE) messages, and MH transmissions of Data. + +Figure C.6-5/J.112 – Random access sequence + +### C.6.1.5 QOS by Service ID + +In order to assign the upstream bandwidth, a descriptor called Service ID (SID) is used. The purpose of SID is classifying MH and service type. MH should send SID in the reservation information in reservation status to make known to MC the required service grade and bandwidth assignment. MC can also authorize the service grade and MH to be assigned by an indication of SID. + +A minimum bandwidth information is defined at this moment as QOS information. MH can request several services besides best effort type service of minimum bandwidth. Upon receipt of the request, MC should assign SID for each service grade. + +## C.6.2 MAC Frame format + +### C.6.2.1 Generic MAC Frame format + +Figure C.6-6 shows a generic MAC Frame consisting physical layer overheads, MAC Header and Data PDU. PMD overhead includes preamble and synchronization pattern for upstream and MPEG PSI header for downstream. + +![Diagram of a generic MAC Frame structure showing PMD Overhead (upstream), MAC Header, Data PDU (optional), and MPEG PSI Header (downstream).](1eab323450a82831cf78035658284a51_img.jpg) + +The diagram illustrates the structure of a generic MAC Frame. It consists of several components: + + +- PMD Overhead (upstream)**: A box at the top left representing physical layer overhead for upstream data. +- MPEG PSI Header (downstream)**: A box at the bottom left representing the MPEG Program Specific Information header for downstream data. +- MAC Frame**: A large bracket grouping the **MAC Header (Figure C.6-7)** and the **Data PDU (optional) (Figure C.6-8)**. These two components are shown as adjacent boxes in the center. +- Reference**: The text T0905330-97/d1119 is located at the bottom right of the diagram. + +Diagram of a generic MAC Frame structure showing PMD Overhead (upstream), MAC Header, Data PDU (optional), and MPEG PSI Header (downstream). + +Figure C.6-6/J.112 – MAC Frame + +### C.6.2.2 MAC Header format + +An MAC Header format is shown in Figure C.6-7 and Table C.6-1. MAC Header specifies MAC Frame type and length as well as optional Extended Header (EHDR). EHDR can contain reservation information and extended information for virtual LAN descriptor. + +![Diagram of the MAC Header format showing fields FC, MAC_PARM, LEN (SID), EHDR, and HCS, with a detailed view of the FC field.](07a8dab6afb9f88d7e6ee8a283b53094_img.jpg) + +The diagram shows the MAC Header format and a detailed view of the FC field: + + +- The main header structure is a horizontal row of five boxes: **FC (1 byte)**, **MAC\_PARM (1 byte)**, **LEN (SID) (2 bytes)**, **EHDR (0-255 bytes)** (indicated by a dashed border), and **HCS (bytes)**. +- A dashed line with arrows points from the **FC (1 byte)** box to a detailed breakdown below it. +- The detailed breakdown consists of three boxes: **FC\_TYPE (2 bits)**, **FC\_PARM (5 bits)**, and **EHDR\_ON (1 bit)**. +- Reference**: The text T0905340-97/d120 is located at the bottom right of the diagram. + +Diagram of the MAC Header format showing fields FC, MAC\_PARM, LEN (SID), EHDR, and HCS, with a detailed view of the FC field. + +Figure C.6-7/J.112 – MAC Header format + +**Table C.6-1/J.112 – MAC Header format** + +| MAC Header Field | Usage | Size | +|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------| +| FC | Frame Control: Identifies type of MAC Header | 8 bits | +| MAC_PARM | Parameter field whose use is dependent on FC:
if EHDR_ON = 1; used for EHDR field length (ELEN)
else if for concatenated frames (Table C.6-8) used for
MAC frame count
else (for Requests only) indicates the number of mini-slots and/or ATM cells requested | 8 bits | +| LEN (SID) | The length of the MAC frame. The length is defined to be the sum of the number of bytes in the extended header (if present) and the number of bytes following the HCS field. (For a REQ Header, this field is the Service ID instead). | 16 bits | +| EHDR | Extended MAC Header (where present; variable size) | 0-255 bytes | +| HCS | MAC Header check sequence | 2 bytes | +| | Length of a MAC Header | 6 bytes + EHDR | + +Table C.6-2 shows Frame Control (FC) field. + +**Table C.6-2/J.112 – FC field** + +| FC Field | Usage | Size | +|----------|------------------------------------------------------------------------------------------------------------------------------------------------|--------| +| FC_TYPE | MAC Frame Control Type field:
00: Packet PDU MAC Header
01: ATM PDU MAC Header
10: Reserved PDU MAC Header
11: MAC Specific Header | 2 bits | +| FC_PARM | Parameter bits, use dependent on FC_TYPE. | 5 bits | +| EHDR_ON | When = 1, indicates that EHDR field is present.
[Length of EHDR (ELEN) determined by MAC_PARM field] | 1 bit | + +**C.6.2.3 Data PDU** + +A data PDU succeeds a MAC header. As the Data PDU is an option, only the MAC header is transmitted in some cases. Data PDU type and format should be defined by FC field of MAC Header. + +**C.6.2.4 Packet-based MAC frames** + +MAC sublayer should support transmission of Ethernet/ISO/IEC 8802-3 type Packet Data PDU. Packet PDU contains DA to CRC but preamble and Start Frame Delimiter (SFD) in the Ethernet frame are as shown in Figure C.6-8. + +![Diagram of a Packet-based MAC frame structure. The top row shows the main fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Packet PDU (18-1518 bytes). Below FC, a dashed line points to a breakdown of its 8 bits: FC_TYPE (00), FC_PARM (00000), and EHDR_ON (0). Below the Packet PDU, a dashed line points to its internal structure: DA (6 bytes), SA (6 bytes), Type/Len (2 bytes), User Data (0-1500), and CRC (4 bytes).](11878e99fcab03106ffd86c24fbd11c9_img.jpg) + +Diagram of a Packet-based MAC frame structure. The top row shows the main fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Packet PDU (18-1518 bytes). Below FC, a dashed line points to a breakdown of its 8 bits: FC\_TYPE (00), FC\_PARM (00000), and EHDR\_ON (0). Below the Packet PDU, a dashed line points to its internal structure: DA (6 bytes), SA (6 bytes), Type/Len (2 bytes), User Data (0-1500), and CRC (4 bytes). + +T0905350-97/d121 + +**Figure C.6-8/J.112 – Packet-based MAC frame** + +**Table C.6-3/J.112 – Packet-based MAC Frame format** + +| Field | Usage | Size | +|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------| +| FC | FC_TYPE = 00; Packet MAC Header.
FC_PARM[4] = Data Link Encryption (DLE). If 1, then a security header for data link encryption is present (B.6.6). If zero, then no security header is present.
FC_PARM[3:0] = 000; other values reserved for future use and ignored.
EHDR_ON = 0; no EHDR present in this example. | 8 bits | +| MAC_PARM | Reserved, MUST be set to zero if there is no EHDR; otherwise set to length of EHDR. | 8 bits | +| LEN | LEN = n; length of Packet PDU in bytes. | 16 bits | +| EHDR | Extended MAC Header not present in this example | 0 bytes | +| HCS | MAC Header check sequence | 2 bytes | +| Packet Data | Packet PDU:
DA – 48-bit Destination Address
SA – 48-bit Source Address
Type/Len – 16-bit Ethernet Type or [ISO/IEC 8802-3] Length Field
User Data (variable length, 0-1500 bytes)
CRC – 32-bit CRC over packet PDU (as defined in Ethernet/[ISO/IEC 8802-3]) | n bytes | +| | Length of Packet MAC Frame | 6 + n bytes | + +**C.6.2.5 MAC-specific headers** + +MAC-specific header should control downstream timing, upstream ranging/power adjustment, bandwidth reservation and connection of multiple MAC frames. + +**C.6.2.5.1 Timing header** + +A timing header should be used for both upstream and downstream. MAC control messages should be set in a packet PDU. In the case of downstream, a timing header should be used for MC to send Global Timing Reference to synchronize with all MHs. A timing header should be also used for MH to send Ranging message to adjust timing and signal level in upstream channel (see Figure C.6-9 and Table C.6-4). + +![Diagram of MAC timing header structure. The top part shows a sequence of fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Packet PDU (various lengths). Below the FC field, a dashed line points to a detailed view of its 8-bit structure: FC_TYPE = 11, FC_PARM = 00000, and EHDR_ON = 0.](96f7fca1af2fc56edf670abd3ec79726_img.jpg) + +The diagram illustrates the structure of a MAC frame and the internal structure of the FC (Frame Control) field. The top row shows the main fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Packet PDU (various lengths). Below the FC field, a dashed line points to a detailed view of its 8-bit structure: FC\_TYPE = 11, FC\_PARM = 00000, and EHDR\_ON = 0. + +Diagram of MAC timing header structure. The top part shows a sequence of fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Packet PDU (various lengths). Below the FC field, a dashed line points to a detailed view of its 8-bit structure: FC\_TYPE = 11, FC\_PARM = 00000, and EHDR\_ON = 0. + +T0905360-97/d122 + +**Figure C.6-9/J.112 – MAC timing header** + +**Table C.6-4/J.112 – MAC timing header format** + +| Field | Usage | Size | +|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------|-------------| +| FC | FC_TYPE = 11; MAC-specific Header.
FC_PARM[4:0] = 00000; Timing MAC Header.
EHDR_ON = 0; extended header prohibited for SYNC and RNG-REQ. | 8 bits | +| MAC_PARM | Reserved for future use | 8 bits | +| LEN | LEN = n; length of Packet PDU in bytes. | 16 bits | +| EHDR | Extended MAC Header not present in this example | 0 bytes | +| HCS | MAC Header check sequence | 2 bytes | +| Packet Data | MAC Management message:
SYNC message (downstream only)
RNG-REQ (upstream only) | n bytes | +| | Length of Packet MAC Frame | 6 + n bytes | + +**C.6.2.5.2 Management header** + +A management header indicates the head of a MAC Management message. A MAC Management message should be set in packet PDU domain (see Figure C.6-10 and Table C.6-5). + +![Diagram of MAC management header structure. The top row shows fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and MAC Management message. A dashed line from the FC field points to a detailed view below, which shows FC_TYPE = 11, FC_PARM = 00001, and EHDR_ON. The text T0905370-97/d123 is also present.](643af12d37ff807bcfea684e7c7abf31_img.jpg) + +Diagram of MAC management header structure. The top row shows fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and MAC Management message. A dashed line from the FC field points to a detailed view below, which shows FC\_TYPE = 11, FC\_PARM = 00001, and EHDR\_ON. The text T0905370-97/d123 is also present. + +**Figure C.6-10/J.112 – MAC management header** + +**Table C.6-5/J.112 – MAC management header format** + +| Field | Usage | Size | +|-------------|-----------------------------------------------------------------------|-----------------------| +| FC | FC_TYPE = 11; MAC-specific Header.
FC_PARM[4:0] = 00001
EHDR_ON | 8 bits | +| MAC_PARM | Reserved for future use | 8 bits | +| LEN | LEN = n; length of Packet PDU in bytes. | 16 bits | +| EHDR | Extended MAC Header not present in this example | 0 bytes | +| HCS | MAC Header check sequence | 2 bytes | +| Packet Data | MAC Management message | n bytes | +| | Length of Packet MAC Frame | 6 + n bytes
+ EHDR | + +### C.6.2.5.3 Request header + +MH should use MAC Header to reserve bandwidth in the upstream only. The header contains SID and necessary slot numbers/cell numbers information for MH to discriminate data priority. Figure C.6-11 and Table C.6-6 show request header and its format. + +![Diagram of MAC request header structure. The main header consists of four fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), and HCS (2 bytes). The FC field is expanded to show its internal bit structure: FC_TYPE = 11, FC_PARM = 00010, and EHDR_ON = 0.](db6a88d019f61d8c95703a54e12a0ec5_img.jpg) + +The diagram shows the structure of the MAC request header. The main header is a 6-byte structure: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), and HCS (2 bytes). The FC field is expanded to show its internal bit structure: FC\_TYPE = 11, FC\_PARM = 00010, and EHDR\_ON = 0. + +Diagram of MAC request header structure. The main header consists of four fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), and HCS (2 bytes). The FC field is expanded to show its internal bit structure: FC\_TYPE = 11, FC\_PARM = 00010, and EHDR\_ON = 0. + +Figure C.6-11/J.112 – MAC request header + +Table C.6-6/J.112 – MAC request header format + +| Field | Usage | Size | +|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------| +| FC | FC_TYPE = 11; MAC-specific Header.
FC_PARM[3:0] = 0010; MAC Header only; no data PDU following.
FC_PARM[4] indicates if REQ is in mini-slots or ATM cells.
[4] = 0; mini-slot REQ.
[4] = 1; ATM cell REQ.
EHDR_ON = 0; no EHDR allowed. | 8 bits | +| MAC_PARM | REQ, total amount of bandwidth requested (upstream only):
if FC_PARM[4] = 0; REQ is number of mini-slots.
if FC_PARM[4] = 1; REQ is number of ATM cells. | 8 bits | +| SID | Service ID (0 ...0x3FFF) | 16 bits | +| EHDR | Extended MAC Header not allowed | 0 bytes | +| HCS | MAC Header check sequence | 2 bytes | +| | Length of a REQ MAC Header | 6 bytes | + +### C.6.2.5.4 Concatenation + +In order to transmit multiple MAC frames by one burst, a specific MAC Header is defined. + +A concatenation MAC Header appears only once at the head of MAC Frame. It contains MAC Frame number(n) and then n MAC frames follow after the header as shown in Figure C.6-12. + +![Diagram of MAC Concatenation Frame structure. The frame consists of a PHY Overhead, a MAC Hdr (Concatenation), and a series of MAC Frames (MAC HDR + optional PDU). The first MAC frame is labeled MAC Frame 1 and the last is labeled MAC Frame n.](022d1dc5699c55186a08a897cad90392_img.jpg) + +The diagram shows the structure of a MAC Concatenation Frame. It consists of a PHY Overhead, a MAC Hdr (Concatenation), and a series of MAC Frames (MAC HDR + optional PDU). The first MAC frame is labeled MAC Frame 1 and the last is labeled MAC Frame n. + +Diagram of MAC Concatenation Frame structure. The frame consists of a PHY Overhead, a MAC Hdr (Concatenation), and a series of MAC Frames (MAC HDR + optional PDU). The first MAC frame is labeled MAC Frame 1 and the last is labeled MAC Frame n. + +Figure C.6-12/J.112 – MAC Concatenation Frame + +MAC Concatenation Header should allow any type of MAC Frame to enable mixture use of Packet, reserved PDU and MAC-specific frame (see Figure C.6-13 and Table C.6-7). + +![Diagram of MAC Concatenation Header structure. The top row shows four fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), and HCS (2 bytes). Below the FC field, a dashed line points to a breakdown of its 8 bits: FC_TYPE = 11, FC_PARM = 11100, and EHDR_ON = 0. The diagram is labeled T0905400-97/d126.](c9e2a114dcd84c4d10e4f411ab1288a8_img.jpg) + +Diagram of MAC Concatenation Header structure. The top row shows four fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), and HCS (2 bytes). Below the FC field, a dashed line points to a breakdown of its 8 bits: FC\_TYPE = 11, FC\_PARM = 11100, and EHDR\_ON = 0. The diagram is labeled T0905400-97/d126. + +Figure C.6-13/J.112 – MAC Concatenation Header + +Tableau C.6-7/J.112 – MAC Concatenation Header format + +| Field | Usage | Size | +|-------------|------------------------------------------------------------------------------------------------------------------------------------------|---------------| +| FC | FC_TYPE = 11; MAC-specific Header.
FC_PARM[4:0] = 11100; Concatenation MAC Header.
EHDR_ON = 0; no EHDR with Concatenation Header. | 8 bits | +| MAC_PARM | CNT, number of MAC frames in this concatenation.
CNT = 0 indicates unspecified number of MAC frames. | 8 bits | +| LEN | LEN = x + . . . + y; length of all following MAC frames in bytes. | 16 bits | +| EHDR | Extended MAC Header MUST NOT be used. | 0 byte | +| HCS | MAC Header check sequence | 2 bytes | +| MAC frame 1 | First MAC frame: MAC Header plus OPTIONAL data PDU. | x bytes | +| MAC frame n | Last MAC frame: MAC Header plus OPTIONAL data PDU. | y bytes | +| | Length of Concatenated MAC Frame | 6 + LEN bytes | + +#### C.6.2.5.5 Extended header + +The MAC Frame, besides timing, concatenation MAC Header and request, should have an Extended MAC Header (EHDR) in order to send next reservation information as shown in Figure C.6-14 and Table C.6-8. + +![Diagram of Extended MAC Header structure. The top row shows six fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), EHDR (1-255 bytes), HCS (2 bytes), and HCS (2 bytes). Below the FC field, a dashed line points to a breakdown of its 8 bits: FC_TYPE = xx, FC_PARM (reserved), and EHDR_ON = 1. Below the EHDR field, a dashed line points to a breakdown of its structure: EH_TYPE (4 bits), EH_LEN (4 bits), EH_VALUE (0-15 bytes), and a 'repeat' indicator. The diagram is labeled T0905410-97/d127.](923c3bd3420f28b00798eed4f8eeacd1_img.jpg) + +Diagram of Extended MAC Header structure. The top row shows six fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), EHDR (1-255 bytes), HCS (2 bytes), and HCS (2 bytes). Below the FC field, a dashed line points to a breakdown of its 8 bits: FC\_TYPE = xx, FC\_PARM (reserved), and EHDR\_ON = 1. Below the EHDR field, a dashed line points to a breakdown of its structure: EH\_TYPE (4 bits), EH\_LEN (4 bits), EH\_VALUE (0-15 bytes), and a 'repeat' indicator. The diagram is labeled T0905410-97/d127. + +Figure C.6-14/J.112 – Extended MAC Header + +**Table C.6-8/J.112 – Extended MAC Header format** + +| Field | Usage | Size | +|----------|----------------------------------------------------------------------------------------------------------------------------------------|-----------------| +| FC | FC_TYPE = XX; applies to all MAC Headers.
FC_PARM[4:0] = XXXXX; dependent on FC_TYPE.
EHDR_ON = 1; EHDR present in this example. | 8 bits | +| MAC_PARM | ELEN = x; length of EHDR in bytes. | 8 bits | +| LEN | LEN = x + y; length of EHDR plus OPTIONAL data PDU in bytes. | 16 bits | +| EHDR | Extended MAC Header present in this example | x bytes | +| HCS | MAC Header check sequence | 2 bytes | +| PDU | OPTIONAL data PDU | y bytes | +| | Length of MAC Frame with EHDR | 6 + x + y bytes | + +EHDR should contain multiple EH elements. Table C.6-9 shows the format of EH element that has variable length TLV (Type-Length-Value) format. + +**Table C.6-9/J.112 – Element format of EHDR** + +| EH element fields | Usage | Size | +|-------------------|-----------------------|------------| +| EH_TYPE | EH Element Type Field | 4 bits | +| EH_LEN | Length of EH element | 4 bits | +| EH_VALUE | EH element data | 0-15 bytes | + +Table C.6-10 shows the type of EH. The first eight EH elements are used between MC and MH. The next seven elements are for MAC sublayer domain, that means in between MC and MH or in between MHs. + +**Table C.6-10/J.112 – EH element format** + +| EH_TYPE | EH_LEN | EH_VALUE | +|---------|--------|---------------------------------------------------------------------------------------------------------------------------------------------| +| 0 | 0 | Null configuration setting; may be used to pad the extended header. The EH_LEN MUST be zero, but the configuration setting may be repeated. | +| 1 | 3 | Request: mini-slots requested (1 byte);
SID (2 bytes) [MH → MC]. | +| 2 | 2 | Acknowledgment requested; SID (2 bytes) [MH → MC]. | +| 3-7 | | Reserved [MH → MC] | +| 8 | 4 | Virtual LAN tag [MH ↔ MH] | +| 10-14 | | Reserved [MH ↔ MH] | +| 15 | XX | Extended EH element: EHX_TYPE (1 byte), EHX_LEN (1 byte), EH_VALUE.
(length determined by EHX_LEN) | + +### C.6.2.6 MAC Frame error handling + +When an error occurs in upstream or downstream, that error may be detected by the Header Check Sequence (HCS). In the case of downstream errors, no specific process is required as the framing recovery is done by MPEG TC layer automatically and the MAC layer disposes of that erroneous frame. For an upstream error, the erroneous frame should be simply discarded and the next frame should start synchronization from the top of frame. + +### C.6.3 MAC Management message + +The MAC management message is the message for MAC access control or initialization, and forms a kernel of the entire MAC control. All the MAC management messages should be encapsulated into LLC frames and be transmitted with MAC-specific header as shown in Figure C.6-15 and Table C.6-11. Table C.6-12 classifies MAC management messages. + +![Diagram of MAC management message structure showing fields like FC, MAC_PARM, LEN, HCS, DA, SA, Msg LEN, DSAP, SSAP, Control, Version, Type, RSVD, Management message payload, and CRC. Bit positions 0, 8, 16, 24, 31 are indicated at the top. Labels 'MAC Header' and 'MAC management header' are on the right with arrows pointing to their respective sections.](7aeb1d06016b3a52a1d68ed9518dbbf4_img.jpg) + +The diagram illustrates the structure of a MAC management message. At the top, bit positions 0, 8, 16, 24, and 31 are marked. The first row of fields contains FC (bits 0-7), MAC\_PARM (bits 8-15), and LEN (bits 16-31). Below this is the HCS field. The next section is the MAC management header, which includes DA (Destination Address), SA (Source Address), Msg LEN (Message Length), DSAP, SSAP, Control, Version, Type, and RSVD. The final part is the Management message payload, followed by a CRC. On the right, a label 'MAC Header' with an upward arrow points to the top section, and a label 'MAC management header' with an upward arrow points to the middle section. A dashed line separates the top section from the rest. A code 'T0905420-97/d128' is at the bottom right. + +Diagram of MAC management message structure showing fields like FC, MAC\_PARM, LEN, HCS, DA, SA, Msg LEN, DSAP, SSAP, Control, Version, Type, RSVD, Management message payload, and CRC. Bit positions 0, 8, 16, 24, 31 are indicated at the top. Labels 'MAC Header' and 'MAC management header' are on the right with arrows pointing to their respective sections. + +Figure C.6-15/J.112 – MAC management message + +Table C.6-11/J.112 – MAC Management message format + +| Field | Usage | Size | +|----------------------------|------------------------------------------------------------------------------------------------------------------|-----------------| +| FC, MAC_PARM, LEN, HCS | Common MAC Frame Header. All messages use a MAC-specific header. | | +| Destination Address (DA) | MAC management frames will be addressed to a specific MH unicast address or to the management multicast address. | 6 bytes | +| Source Address (SA) | The MAC address of the source MH or MC system | 6 bytes | +| Msg Length | The total length of the MAC message from DA to CRC inclusive | 2 bytes | +| DSAP | The LLC null SAP (00) as defined by [ISO/IEC 8802-2] | 1 byte | +| SSAP | The LLC null SAP (00) as defined by [ISO/IEC 8802-2] | 1 byte | +| Control | Unnumbered information frame (03) as defined by [ISO/IEC 8802-2] | 1 byte | +| Version | This field defines the version of the MAC management protocol in use. Set to 1 for this version. | 1 byte | +| Type | This field defines the type of this particular MAC management message. | 1 byte | +| RSVD | This field is used to align the message payload on a 32-bit boundary. Set to 0 for this version. | 1 byte | +| Management Message Payload | As defined for each specific management message | Variable length | +| CRC | Covers message including header fields (DA, SA, ...). Polynomial defined by [ISO/IEC 8802-3]. | 4 bytes | + +**Table C.6-12/J.112 – MAC Management message classification** + +| Type value | Message name | Message description | +|------------|--------------|----------------------------------| +| 1 | SYNC | Timing synchronization | +| 2 | UCD | Upstream channel descriptor | +| 3 | MAP | Upstream bandwidth allocation | +| 4 | RNG-REQ | Ranging Request | +| 5 | RNG-RSP | Ranging Response | +| 6 | REG-REQ | Registration Request | +| 7 | REG-RSP | Registration Response | +| 8 | UCC-REQ | Upstream channel change Request | +| 9 | UCC-RSP | Upstream channel change Response | +| 10-255 | | Reserved for future use | + +**C.6.3.1 Time synchronization** + +The Synchronization (SYNC) message should be transmitted periodically and simultaneously to MHs from MC to synchronize within the MAC sublayer. Figure C.6-16 depicts the format. The MC timestamp is a 32-bit timestamp based on the timebase reference clock. + +![Diagram of a 32-bit SYNC message structure. It shows a 'MAC Management Header' occupying the first 32 bits (bits 0 to 31) and an 'MC Timestamp' occupying the next 32 bits. Bit markers are shown at 0, 8, 16, 24, and 31.](ed433287faf6ca3f88eaaf14968986d6_img.jpg) + +Diagram of a 32-bit SYNC message structure. It shows a 'MAC Management Header' occupying the first 32 bits (bits 0 to 31) and an 'MC Timestamp' occupying the next 32 bits. Bit markers are shown at 0, 8, 16, 24, and 31. + +T0905430-97/d129 + +**Figure C.6-16/J.112 – SYNC Message** + +**C.6.3.2 Upstream Channel Descriptor** + +MC should periodically transmit the Upstream Channel Descriptor (UCD) to notify upstream channel parameters. UCD contains a common parameter such as symbol rate or mini-slot size and multiple burst descriptors. A burst descriptor should contain several parameters of modulation method and FEC code length in accordance with MAC Frame. + +Figure C.6-17 shows a format of UCD which contains one header and multiple TLV type parameters, Table C.6-13 classifies UCD message formats. + +![Diagram of a 32-bit UCD message structure. It shows a 'MAC Management Header' occupying the first 32 bits (bits 0 to 31). Below the header, the message is divided into four sections: 'Upstream channel ID', 'Configuration Change Count', 'Mini-Slot Size', and 'Downstream channel ID' (bits 0-31); 'TLV-encoded information for the overall channel'; 'TLV-encoded Burst Description'; and 'TLV-encoded information for the subsequent burst descriptors'. Bit markers are shown at 0, 8, 16, 24, and 31.](e94f8f1631cc515867e8c0ebd1bac7fe_img.jpg) + +Diagram of a 32-bit UCD message structure. It shows a 'MAC Management Header' occupying the first 32 bits (bits 0 to 31). Below the header, the message is divided into four sections: 'Upstream channel ID', 'Configuration Change Count', 'Mini-Slot Size', and 'Downstream channel ID' (bits 0-31); 'TLV-encoded information for the overall channel'; 'TLV-encoded Burst Description'; and 'TLV-encoded information for the subsequent burst descriptors'. Bit markers are shown at 0, 8, 16, 24, and 31. + +T0905440-97/d130 + +**Figure C.6-17/J.112 – UCD message** + +**Table C.6-13/J.112 – UCD Message format** + +| Field | Usage | Size | +|----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------| +| Upstream channel ID | The identifier of the upstream channel to which this message refers. This identifier is arbitrarily chosen by the MC and is only unique within the MAC-sublayer domain. | 1 byte | +| Configuration Change Count | Incremented by one (modulo the field size) by the MC whenever any of the values of this channel descriptor change. If the value of this count in a subsequent UCD remains the same, the MH can quickly decide that the remaining fields have not changed, and may be able to disregard the remainder of the message. This value is also referenced from the MAP. | 1 byte | +| Mini-Slot Size | The size of the Mini-Slot for this upstream channel in units of the Timebase Tick (see SYNC message). | 1 byte | +| Downstream channel ID | The identifier of the downstream channel on which this message has been transmitted. This identifier is arbitrarily chosen by the MC and is only unique within the MAC-sublayer domain. | 1 byte | + +Type 1-3 of Table C.6-14 shows common parameters for all MAC frames to be sent upstream. Type 4-burst descriptor is a set of physical parameters. + +**Table C.6-14/J.112 – UCD Message parameters** + +| Name | Type (1 byte) | Length (1 byte) | Value (variable length) | +|------------------|---------------|-----------------|------------------------------------------------------------------------------------------------------------------------------------| +| Symbol Rate | 1 | 1 | 1-16 Multiples of base rate of 144 ksym/s | +| Frequency | 2 | 4 | Upstream center frequency (Hz) | +| Preamble Pattern | 3 | 1-128 | Preamble superstring. All burst-specific preamble values are chosen as bit-substrings of this string. | +| Burst Descriptor | 4 | | May appear more than once; described below. The length is the number of bytes in the overall object, including embedded TLV items. | + +The burst descriptor, as shown in Figure C.6-18, is a set of composite information including TLV type objects. Length indicates byte number of the following data after interval usage code. Interval usage code is a descriptor of Physical Layer parameter set defined by each frame. Upon receipt of UCD, MH should pick up the burst descriptor information contained and record it. In the case of upstream bandwidth assignment, MC should assign interval usage code. MH should pick up the corresponding burst descriptor and set the physical layer parameters. + +![Diagram of Burst Descriptor format showing Type = 4 burst descriptor, Length 1-n, Interval Usage Code, and TLV codes for PHY parameters.](c7973a89da29a4a59561e36561984333_img.jpg) + +| | | | +|------------------------------|------------|------------------------| +| Type = 4
burst descriptor | Length 1-n | Interval Usage
Code | +| TLV codes for PHY parameters | | | + +T0905950-97/d131 + +Diagram of Burst Descriptor format showing Type = 4 burst descriptor, Length 1-n, Interval Usage Code, and TLV codes for PHY parameters. + +**Figure C.6-18/J.112 – Burst Descriptor format** + +Burst descriptor should accept unordered lists of physical layer attributes. Each attribute should be described in TLV format (see Table C.6-15). + +**Table C.6-15/J.112 – Burst Descriptor parameters** + +| Name | Type (1 byte) | Length (1 byte) | Value (variable length) | +|--------------------------------|---------------|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Modulation Type | 1 | 1 | 1 = QPSK | +| Differential Encoding | 2 | 1 | 1 = on
2 = off | +| Preamble Length | 3 | 2 | Up to 1024 bits. The value must be an integral number of symbols (a multiple of 2 for QPSK). | +| Preamble Value Offset | 4 | 2 | Identifies the bits to be used for the preamble value. This is specified as a starting offset into the Preamble Pattern (see Table C.6-14). That is, a value of zero means that the first bit of the preamble for this burst type is the value of the first bit of the Preamble Pattern. A value of 100 means that the preamble is to use the 101st and succeeding bits from the Preamble Pattern. This value must be a multiple of the symbol size. | +| FEC Error Correction (T bytes) | 5 | 1 | 0-10 bytes. Zero implies no Forward Error Correction. | +| FEC Codeword Length (k) | 6 | 1 | Fixed: 1 to 255
Shortened: 16 to 255 | +| Scrambler Seed | 7 | 2 | The 15-bit seed value. | +| Maximum Burst Size | 8 | 1 | The maximum number of mini-slots that can be transmitted during this burst type. Absence of this configuration setting implies that the burst size is limited elsewhere. This value MUST be used when the interval type is Short Data Grant. | +| Guard Time Size | 9 | 1 | Number of symbol times which must follow the end of this burst. (Although this value may be derivable from other network and architectural parameters, it is included here to ensure that the MHs and MC all use the same value.) | +| Last Codeword Length | 10 | 1 | 1 = fixed
2 = shortened | +| Scrambler on/off | 11 | 1 | 1 = on
2 = off | + +| | | | | | +|--------|--------------|-------------------------|--|--| +| Type 1 | Length 1 | Symbol Rate | | | +| Type 2 | Length 4 | Frequency | | | +| Type 3 | Length 1-128 | Preamble Superstring | | | +| Type 4 | Length N | First Burst Descriptor | | | +| Type 4 | Length N | Second Burst Descriptor | | | +| Type 4 | Length N | Third Burst Descriptor | | | +| Type 4 | Length N | Fourth Burst Descriptor | | | + +T0905960-97/d132 + +**Figure C.6-19/J.112 – A Sample of Burst Descriptor coding** + +### C.6.3.3 Upstream bandwidth allocation map + +Upstream bandwidth allocation map (MAP) is a message for upstream channel bandwidth assignment conveyed from MC to MH. Figure C.6-20 shows the MAP message and Table C.6-16 its format. + +![Diagram of the MAP message structure. It shows a MAC Management Header at the top, followed by a row of four fields: Upstream Channel ID, UCD Count, Number of elements, and Reserved. Below this is a row for Alloc Start Time, then a row for Ack Time. The next row contains four fields: Ranging Back-off Start, Ranging Back-off End, Data Back-off Start, and Data Back-off End. The bottom section is labeled MAP Information Elements. There are curly braces on the left and right sides of the diagram, and a small code 'T0905450-97/d133' at the bottom right.](45ea58ce337aa5583b7d8adaeeb28279_img.jpg) + +Diagram of the MAP message structure. It shows a MAC Management Header at the top, followed by a row of four fields: Upstream Channel ID, UCD Count, Number of elements, and Reserved. Below this is a row for Alloc Start Time, then a row for Ack Time. The next row contains four fields: Ranging Back-off Start, Ranging Back-off End, Data Back-off Start, and Data Back-off End. The bottom section is labeled MAP Information Elements. There are curly braces on the left and right sides of the diagram, and a small code 'T0905450-97/d133' at the bottom right. + +Figure C.6-20/J.112 – MAP message + +Table C.6-16/J.112 – MAP message format + +| Field | Usage | Size | +|--------------------------|------------------------------------------------------------------------------------------------------------------------------|---------| +| Upstream channel ID | The identifier of the upstream channel to which this message refers | 1 byte | +| UCD Count | Matches the value of the Configuration Change Count of the UCD which describes the burst parameters which apply to this map. | 1 byte | +| Number of Elements | Number of information elements in the map | 1 byte | +| Reserved | Reserved field for alignment | 1 byte | +| Alloc Start time | Effective start time from MC initialization (in mini-slots) for assignments within this map | 4 bytes | +| Ack time | Latest time, from MC initialization, (mini-slots) processed in up-stream that generated a Grant, Grant Pending or Data Ack | 4 bytes | +| Ranging Back-off Start | Initial back-off window for initial ranging contention, expressed as a power of two. Values range 0-15. | 1 byte | +| Ranging Back-off End | Final back-off window for initial ranging contention, expressed as a power of two. Values range 0-15. | 1 byte | +| Data Back-off Start | Initial back-off window for contention data and requests, expressed as a power of two. Values range 0-15. | 1 byte | +| Data Back-off End | Final back-off window for contention data and requests, expressed as a power of two. Values range 0-15. | 1 byte | +| MAP information elements | Bandwidth assignment information | | + +MAP information elements should be in the format shown in Figure C.6-21 and Table C.6-17. + +![Diagram showing the structure of MAP information element coding. It consists of a vertical stack of tables. The first table is for the 'First interval' with SID, IUC, and offset = 0. The second is for the 'Second interval' with SID, IUC, and offset. There is a break indicated by wavy lines. The next table is for the 'Last interval' with SID, IUC, and offset. This is followed by two 'End-of-list (Null IE)' entries: one with SID = 0, IUC = 7, offset = map length; and another with SID, IUC, offset = map length. Another break indicated by wavy lines. The final section is 'Acknowledgements and Deferrals', followed by a table with SID, IUC, and offset = map length. A small code 'T0905460-97/d134' is at the bottom right.](cd3dcf61c1ffdb1e63e10d4761f492fd_img.jpg) + +T0905460-97/d134 + +Diagram showing the structure of MAP information element coding. It consists of a vertical stack of tables. The first table is for the 'First interval' with SID, IUC, and offset = 0. The second is for the 'Second interval' with SID, IUC, and offset. There is a break indicated by wavy lines. The next table is for the 'Last interval' with SID, IUC, and offset. This is followed by two 'End-of-list (Null IE)' entries: one with SID = 0, IUC = 7, offset = map length; and another with SID, IUC, offset = map length. Another break indicated by wavy lines. The final section is 'Acknowledgements and Deferrals', followed by a table with SID, IUC, and offset = map length. A small code 'T0905460-97/d134' is at the bottom right. + +**Figure C.6-21/J.112 – MAP information element coding** + +**Table C.6-17/J.112 – IE format** + +| Field | Usage | Size | +|------------------------------|-------------------------------------------------|---------| +| SID | Bandwidth and service class assign to MH | 14 bits | +| IUC (Information Usage Code) | Usage of assigned band (for request, for grant) | 4 bits | +| Offset | Indicate first offset value of mini-slot domain | 14 bits | + +Information Usage Code (IUC) indicates a usage of allocated bandwidth. The list of IUCs is given in Table C.6-18. + +#### C.6.3.4 Ranging Request + +Ranging Request (RNG-REQ) is a requirement for ranging to be sent from MH to MC. After receiving RNG-REQ, MC should start measurement of latency and signal level and notify its adjustment value to MH by Ranging Response (RNG-RSP) that is described in the following paragraph. Figure C.6-22 shows RNG-REQ message and Table C.6-19, RNG-REQ message format. + +**Table C.6-18/J.112 – Information elements** + +| IE Name | Information Usage Code (IUC) (4 bits) | SID (14 bits) | Mini-slot Offset (14 bits) | +|-----------------------------------------------------------|---------------------------------------|---------------------|-------------------------------------------------------------------------------------------------------| +| Request | 1 | Any | Starting offset of REQ region | +| REQ/Data (refer to Appendix B.1 for multicast definition) | 2 | Multicast | Starting offset of IMMEDIATE Data region well-known multicasts define start intervals | +| Initial Maintenance | 3 | Broadcast/multicast | Starting offset of MAINT region (used in Initial Ranging) | +| Station Maintenance | 4 | Unicast | Starting offset of MAINT region (used in Periodic Ranging) | +| Short Data Grant | 5 | Unicast | Starting offset of Data Grant assignment; if inferred length = 0, then it is a Data Grant pending. | +| Long Data Grant | 6 | Unicast | Starting offset of Data Grant assignment; if inferred length = 0, then it is a Data Grant Pending. | +| Null IE | 7 | Zero | Ending offset of the previous grant. Used to bound the length of the last actual interval allocation. | +| Data Ack | 8 | Unicast | MC sets to 0 | +| Reserved | 9-14 | Any | Reserved | +| Expansion | 15 | Expanded IUC | # of additional 32-bit words in this IE | + +![Diagram of RNG-REQ message format showing a 32-bit word structure. The top part is the MAC Management Header (bits 0-31). The bottom part is split into two fields: SID (bits 0-15) and Downstream channel ID (bits 16-31).](10dedc905646e219d866b9c66f68146c_img.jpg) + +The diagram illustrates the structure of an RNG-REQ message. It is a 32-bit word, with bits numbered 0, 8, 16, 24, and 31. The top portion, spanning all 32 bits, is labeled 'MAC Management Header'. Below this, the word is divided into two fields: 'SID' occupies the first 16 bits (0 to 15), and 'Downstream channel ID' occupies the remaining 16 bits (16 to 31). A small label 'T0905470-97/d135' is present in the bottom right corner of the diagram area. + +Diagram of RNG-REQ message format showing a 32-bit word structure. The top part is the MAC Management Header (bits 0-31). The bottom part is split into two fields: SID (bits 0-15) and Downstream channel ID (bits 16-31). + +**Figure C.6-22/J.112 – RNG-REQ message** + +**Table C.6-19/J.112 – RNG-REQ message format** + +| Field | Usage | Size | +|-----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|---------| +| SID | Initialization SID or assigned SID for periodic requests (this is a 16-bit field of which the lower 14 bits define the SID with bits 14,15 defined to be 0.) | 2 bytes | +| Downstream Channel ID | The identifier of the downstream channel on which the MH received the UCD which described this upstream. | 1 byte | + +### C.6.3.5 Ranging Response + +Ranging Response (RNG-RSP) is sent to MH from MC according to RNG-REQ message. RNG-RSP should indicate the values of timing or signal level to be adjusted at MH. Figure C.6-23 depicts RNG-RSP message, Table C.6-20 gives RNG-RSP message encodings. + +![Diagram of the RNG-RSP message structure. It shows a 32-bit word (bits 0 to 31). The top 16 bits (0-15) are the MAC Management Header. The next 8 bits (16-23) are split into 'SID from request' (bits 16-19) and 'Upstream channel ID' (bits 20-23). The bottom 8 bits (24-31) are 'TLV Encoded Information'. A label T0905480-97/d136 is at the bottom right.](4706a500dbc72fdedc9bee99d7c78df5_img.jpg) + +Diagram of the RNG-RSP message structure. It shows a 32-bit word (bits 0 to 31). The top 16 bits (0-15) are the MAC Management Header. The next 8 bits (16-23) are split into 'SID from request' (bits 16-19) and 'Upstream channel ID' (bits 20-23). The bottom 8 bits (24-31) are 'TLV Encoded Information'. A label T0905480-97/d136 is at the bottom right. + +Figure C.6-23/J.112 – RNG-RSP message + +Table C.6-20/J.112 – RNG-RSP message encodings + +| Name | Type (1 byte) | Length (1 byte) | Value (variable length) | +|------------------------------|---------------|-----------------|----------------------------------------------------------| +| Timing Adjust | 1 | 4 | TX timing offset adjustment (signed 16-bit) | +| Power Level Adjust | 2 | 1 | TX Power offset adjustment (signed 8-bit, 1dB units) | +| Offset Frequency Adjust | 3 | 2 | TX frequency offset adjustment (signed 16-bit, Hz units) | +| Transmit Equalization Adjust | 4 | n | TX equalization data – See details below | +| Ranging Status | 5 | 1 | 1 = continue, 2 = abort, 3 = success. | +| Reserved | 6-255 | n | Reserved for future use | + +If equalization functionality is needed, the coefficients of the equalizer (Tap Values) should be sent as an RNG-RSP message. Figure C.6-24 shows general equalization coefficients, Figure C.6-25 is for equalizer tap location and Figure C.6-26 is for TLV parameter coding. + +| | | | +|--------------------------------|----------------------------|-------------------------------------| +| Type 4 | Length | Number of taps per symbol | +| Number of forward taps (N) | Number of reverse taps (M) | | +| First coefficient $F_0$ (real) | | First coefficient $F_0$ (imaginary) | + +}} } + +| | | +|----------------------------------------|---------------------------------------------| +| Last coefficient $F_N$ (real) | Last coefficient $F_N$ (imaginary) | +| First reverse coefficient $D_0$ (real) | First reverse coefficient $D_0$ (imaginary) | + +}} } + +| | | +|---------------------------------------|--------------------------------------------| +| Last reverse coefficient $D_M$ (real) | Last reverse coefficient $D_M$ (imaginary) | +|---------------------------------------|--------------------------------------------| + +T0905490-97/d137 + +Figure C.6-24/J.112 – Equalizer coefficients + +![Block diagram of an equalizer showing forward and reverse tap locations. The input enters from the left and is split into a series of forward taps (F0, F1, F2, F3, F4, F5, ..., FN) and reverse taps (DM, ..., D5, D4, D3, D2, D1, D0). Each tap is followed by a summer (+) that adds the tap output to the main signal path. The forward taps use delay elements (z^-1) and the reverse taps use delay elements (z^-1) in a feedback loop. The final output is labeled 'Equalizer output' and is shown entering a connector symbol.](a37f48ee0216856cd8fa51f11177fb7f_img.jpg) + +Block diagram of an equalizer showing forward and reverse tap locations. The input enters from the left and is split into a series of forward taps (F0, F1, F2, F3, F4, F5, ..., FN) and reverse taps (DM, ..., D5, D4, D3, D2, D1, D0). Each tap is followed by a summer (+) that adds the tap output to the main signal path. The forward taps use delay elements (z^-1) and the reverse taps use delay elements (z^-1) in a feedback loop. The final output is labeled 'Equalizer output' and is shown entering a connector symbol. + +T0905500-97/d138 + +Figure C.6-25/J.112 – Equalizer tap location + +| | | | +|--------|----------|----------------------------------------------------| +| Type 1 | Length 4 | Timing adjust | +| Type 2 | Length 1 | Power adjust | +| Type 3 | Length 2 | Frequency adjust information | +| Type 4 | Length x | x bytes of MH transmitter equalization information | +| Type 5 | Length 1 | Ranging status | + +T0905970-97/d139 + +Figure C.6-26/J.112 – TLV Type parameter coding + +### C.6.3.6 Registration Request + +In the initialization, MH should receive a parameter file and set first operation parameters. Then MH should transmit a Registration Request (REG-REQ) to negotiate each parameter such as frequency assignment of upstream and downstream or supporting of optional function with MC. The REG-REQ message should also contain an SID request in accordance with service grade. Figures C.6-27 and C.6-28 show REG-REQ messages and an example of encoding, respectively. + +![Diagram of REG-REQ message structure showing MAC Management Header, SID, and TLV Encoded Information with bit positions 0, 8, 16, 24, 31.](47ab805b7e6a0b6eb9e379fd8da934fa_img.jpg) + +The diagram illustrates the structure of a REG-REQ message. It is a 32-bit word (bits 0 to 31). The first 16 bits (bits 0 to 15) are the MAC Management Header. The next 8 bits (bits 16 to 23) are the SID. The remaining 8 bits (bits 24 to 31) are TLV Encoded Information. The diagram shows the MAC Management Header and SID as solid rectangles, and the TLV Encoded Information as a dashed rectangle. + +Diagram of REG-REQ message structure showing MAC Management Header, SID, and TLV Encoded Information with bit positions 0, 8, 16, 24, 31. + +Figure C.6-27/J.112 – REG-REQ message + +| | | | | +|---------|-----------|----------------------------------|--| +| Type 1 | Length 4 | Downstream Frequency | | +| Type 2 | Length 1 | Upstream channel | | +| Type 3 | Length 1 | Network access | | +| Type 4 | Length 28 | Service class definition class 1 | | +| Type 4 | Length 28 | Service class definition class 2 | | +| | | | | +| Type 4 | Length 28 | Service class definition class n | | +| Type 5 | Length 6 | Modem capabilities | | +| Type 12 | Length 4 | Modem IP address | | +| Type 8 | Length 3 | Vendor ID | | +| Type 43 | Length n | n-bytes of vendor-specific data | | +| Type 6 | Length 16 | MH message integrity check | | +| Type 7 | Length 16 | MC message integrity check | | + +T0905980-97/d141 + +Figure C.6-28/J.112 – A sample of REG-REQ encodings + +### C.6.3.7 Registration Response + +Registration Response (REG-RSP) is a message from MC to MH in response to an REG-REQ message. MC should allocate upstream/downstream frequency, optional supporting function and SID to MH. Figures C.6-29 and C.6-30 depict REG-RSP message and an example of encoding, respectively. + +![Diagram of REG-RSP message structure showing MAC Management Header, SID from corresponding RNG-REQ, Response, and TLV Encoded Information across 32 bits (0-31).](147bfd471cf5feef55178475cec58064_img.jpg) + +The diagram illustrates the structure of a REG-RSP message across 32 bits (0 to 31). The first 16 bits (0-15) are the MAC Management Header. The next 8 bits (16-23) are divided into two 4-bit nibbles: 'SID from corresponding RNG-REQ' (bits 16-19) and 'Response' (bits 20-23). The remaining 8 bits (24-31) are 'TLV Encoded Information'. A dashed line on the right indicates the end of the message. The text 'T0905520-97/d142' is at the bottom right. + +Diagram of REG-RSP message structure showing MAC Management Header, SID from corresponding RNG-REQ, Response, and TLV Encoded Information across 32 bits (0-31). + +Figure C.6-29/J.112 – REG-RSP message + +| | | | +|------------------------------------------------------------|----------|----------------------------------| +| Type 1 | Length 7 | Service class definition class 1 | +| Type 1 | Length 7 | Service class definition class 2 | +| (Dashed box indicating multiple service class definitions) | | | +| Type 1 | Length 7 | Service class definition class n | +| Type 6 | Length 6 | Modem capability | + +T0905530-97/d143 + +Figure C.6-30/J.112 – A sample of REG-RSP encodings + +Service Class Data is a composite parameter consisted of multiple parameters. Each service parameter should include only one parameter related to one service class. Table C.6-21 shows an example of service class encoding. + +**Table C.6-21/J.112 – A sample of service class data encodings** + +| Type | Length | Value (sub)type | Length | Value | Description | +|------|--------|-----------------|--------|-------|------------------------------------------| +| 1 | 7 | | | | Service class data configuration setting | +| | | 1 | 1 | 1 | Service class 1 | +| | | 2 | 2 | 123 | SID for this class | +| 1 | 7 | | | | Service class data configuration setting | +| | | 1 | 1 | 2 | Service class 2 | +| | | 2 | 2 | 244 | SID for this class | +| 1 | 7 | | | | Service class data configuration setting | +| | | 1 | 1 | n | Service class n | +| | | 2 | 2 | 345 | SID for this class | + +**C.6.3.8 Upstream Channel Change Request** + +Upstream Channel Change Request (UCC-REQ) should be transmitted to indicate the upstream channel change to MH from MC. Figure C.6-31 shows a format for a UCC-REQ message. + +![Diagram of UCC-REQ message structure showing a 32-bit MAC Management Header and an Upstream channel ID field. Bit positions 0, 8, 16, 24, and 31 are marked. The diagram is labeled T0906720-98/d144.](4778d9d7c0721f39c453edbe614ccf7d_img.jpg) + +The diagram illustrates the structure of a UCC-REQ message. It consists of a 32-bit MAC Management Header followed by an Upstream channel ID field. The bit positions 0, 8, 16, 24, and 31 are indicated at the top. The MAC Management Header is shown as a single block, and the Upstream channel ID is shown as a separate block below it. The diagram is labeled T0906720-98/d144. + +Diagram of UCC-REQ message structure showing a 32-bit MAC Management Header and an Upstream channel ID field. Bit positions 0, 8, 16, 24, and 31 are marked. The diagram is labeled T0906720-98/d144. + +**Figure C.6-31/J.112 – UCC-REQ message** + +**C.6.3.9 Upstream Channel Change Response** + +MH should transmit Upstream Channel Change Response (UCC-RSP) message to MC in response to a UCC-REQ message. After transmission of UCC-RSP, MH should change upstream channel. MH should ignore UCC-REQ in the case of upstream channel change. If UCC-REQ indicates that the current channel is in use, MH should return a UCC-RSP message to MC nevertheless. Figure C.6-32 shows a format for a UCC-RSP message. + +![Diagram of UCC-RSP message structure showing a 32-bit MAC Management Header and an Upstream channel ID field. Bit positions 0, 8, 16, 24, and 31 are marked. The diagram is labeled T0906730-98/d145.](02a799c1f5281fea2b73bdf67f128cff_img.jpg) + +The diagram illustrates the structure of a UCC-RSP message. It consists of a 32-bit MAC Management Header followed by an Upstream channel ID field. The bit positions 0, 8, 16, 24, and 31 are indicated at the top. The MAC Management Header is shown as a single block, and the Upstream channel ID is shown as a separate block below it. The diagram is labeled T0906730-98/d145. + +Diagram of UCC-RSP message structure showing a 32-bit MAC Management Header and an Upstream channel ID field. Bit positions 0, 8, 16, 24, and 31 are marked. The diagram is labeled T0906730-98/d145. + +**Figure C.6-32/J.112 – UCC-RSP message** + + + +## ITU-T RECOMMENDATIONS SERIES + +| | | +|-----------------|--------------------------------------------------------------------------------------------------------------------------------| +| Series A | Organization of the work of the ITU-T | +| Series B | Means of expression: definitions, symbols, classification | +| Series C | General telecommunication statistics | +| Series D | General tariff principles | +| Series E | Overall network operation, telephone service, service operation and human factors | +| Series F | Non-telephone telecommunication services | +| Series G | Transmission systems and media, digital systems and networks | +| Series H | Audiovisual and multimedia systems | +| Series I | Integrated services digital network | +| Series J | Transmission of television, sound programme and other multimedia signals | +| Series K | Protection against interference | +| Series L | Construction, installation and protection of cables and other elements of outside plant | +| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits | +| Series N | Maintenance: international sound programme and television transmission circuits | +| Series O | Specifications of measuring equipment | +| Series P | Telephone transmission quality, telephone installations, local line networks | +| Series Q | Switching and signalling | +| Series R | Telegraph transmission | +| Series S | Telegraph services terminal equipment | +| Series T | Terminals for telematic services | +| Series U | Telegraph switching | +| Series V | Data communication over the telephone network | +| Series X | Data networks and open system communications | +| Series Y | Global information infrastructure | +| Series Z | Programming languages | \ No newline at end of file diff --git a/marked/J/T-REC-J.113-199803-I_PDF-E/raw.md b/marked/J/T-REC-J.113-199803-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..163cb41a033728d6474e4a0e665a40196c647910 --- /dev/null +++ b/marked/J/T-REC-J.113-199803-I_PDF-E/raw.md @@ -0,0 +1,254 @@ + + +![ITU logo](2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg) + +The logo of the International Telecommunication Union (ITU) features a globe with a lightning bolt striking across it, and the letters 'ITU' superimposed on the globe. + +ITU logo + +INTERNATIONAL TELECOMMUNICATION UNION + +**ITU-T** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +**J.113** + +(03/98) + +SERIES J: TRANSMISSION OF TELEVISION, SOUND +PROGRAMME AND OTHER MULTIMEDIA SIGNALS + +Interactive systems for digital television distribution + +--- + +**Digital video broadcasting interaction +channel through the PSTN/ISDN** + +ITU-T Recommendation J.113 + +(Previously CCITT Recommendation) + +--- + +# ITU-T J-SERIES RECOMMENDATIONS + +# TRANSMISSION OF TELEVISION, SOUND PROGRAMME AND OTHER MULTIMEDIA SIGNALS + +| | | +|-------------------------------------------------------------------------------------------------|--------------------| +| General Recommendations | J.1–J.9 | +| General specifications for analogue sound-programme transmission | J.10–J.19 | +| Performance characteristics of analogue sound-programme circuits | J.20–J.29 | +| Equipment and lines used for analogue sound-programme circuits | J.30–J.39 | +| Digital encoders for analogue sound-programme signals | J.40–J.49 | +| Digital transmission of sound-programme signals | J.50–J.59 | +| Circuits for analogue television transmission | J.60–J.69 | +| Analogue television transmission over metallic lines and interconnection with radio-relay links | J.70–J.79 | +| Digital transmission of television signals | J.80–J.89 | +| Ancillary digital services for television transmission | J.90–J.99 | +| Operational requirements and methods for television transmission | J.100–J.109 | +| Interactive systems for digital television distribution | J.110–J.129 | +| Transport of MPEG-2 signals on packetised networks | J.130–J.139 | +| Measurement of the quality of service | J.140–J.149 | +| Digital television distribution through local subscriber networks | J.150–J.159 | + +*For further details, please refer to ITU-T List of Recommendations.* + +## **ITU-T RECOMMENDATION J.113** + +# **DIGITAL VIDEO BROADCASTING INTERACTION CHANNEL THROUGH THE PSTN/ISDN** + +## **Summary** + +This Recommendation describes the provision of return channel interaction protocols over PSTN and ISDN to, and independently of, digital TV broadcast systems. + +### **Source** + +ITU-T Recommendation J.113 was prepared by ITU-T Study Group 9 (1997-2000) and was approved under the WTSC Resolution No. 1 procedure on the 18th of March 1998. + +### **Keywords** + +Digital TV services, interaction channel, ISDN, PSTN. + +## FOREWORD + +ITU (International Telecommunication Union) is the United Nations Specialized Agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. + +The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics. + +The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1. + +In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. + +### NOTE + +In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +### INTELLECTUAL PROPERTY RIGHTS + +The ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. The ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. + +As of the date of approval of this Recommendation, the ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database. + +© ITU 1998 + +All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU. + +## CONTENTS + +*Page* + +| | | | +|-----|---------------------------------------|---| +| 1 | Scope..... | 1 | +| 2 | References..... | 1 | +| 3 | Definitions..... | 1 | +| 4 | Abbreviations..... | 1 | +| 5 | Protocol stack and system models..... | 2 | +| 5.1 | Protocol stack model ..... | 2 | +| 5.2 | System model/overview..... | 2 | +| 6 | Interaction channel for PSTN..... | 3 | +| 6.1 | PSTN requirement..... | 3 | +| 6.2 | PSTN interfaces requirement..... | 3 | +| 7 | Interaction channel for ISDN..... | 3 | +| 7.1 | ISDN requirement ..... | 3 | +| 7.2 | ISDN interfaces requirement ..... | 3 | + +## **Introduction** + +This Recommendation is one of a series describing interactive digital TV services. This Recommendation describes the provision of return channel interaction protocols over PSTN and ISDN to, and independently of, digital TV broadcast systems. Other relevant Recommendations are J.110 which describes the basic principles and J.111 which describes protocols independent of the underlying physical and transport protocols of such services. + +## DIGITAL VIDEO BROADCASTING INTERACTION CHANNEL THROUGH THE PSTN/ISDN + +(Geneva, 1998) + +## 1 Scope + +This Recommendation describes the provision of return channel interaction protocols over PSTN and ISDN to, and independently of, digital TV broadcast systems. Other relevant Recommendations are J.110 [1] which describes the basic principles and J.111 [2] which describes the network independent return channel protocols. + +## 2 References + +The following ITU-T Recommendations, and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; all users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. + +- [1] ITU-T Recommendation J.110 (1997), *Basic principles for a worldwide common family of systems for the provision of interactive television services.* +- [2] ITU-T Recommendation J.111 (1998), *Network independent protocols for interactive systems.* +- [3] ITU-T Recommendation I.3xx, *ISDN – Network aspects.* +- [4] ITU-T Recommendations I.430, I.431, *ISDN – physical layer.* +- [5] ITU-T Recommendation Q.921/I.441 (1997), *ISDN user-network interface – Data link layer specification.* +- [6] ITU-T Recommendation Q.931/I.451 (1998), *ISDN user-network interface Layer 3 specification for basic call control.* +- [7] ITU-T Recommendation G.960 (1993), *Access digital section for ISDN basic rate access.* +- [8] ITU-T Recommendation G.961 (1993), *Digital transmission system on metallic local lines for ISDN basic rate access.* +- [9] ITU-T Recommendation I.414 (1997), *Overview of Recommendations of Layer 1 for ISDN and B-ISDN customer accesses.* +- [10] ITU-T Recommendation I.112 (1993), *Vocabulary of terms for ISDN.* + +## 3 Definitions + +The definitions in Recommendation J.110 [1] apply. + +## 4 Abbreviations + +The abbreviations in Recommendation J.110 [1] apply. + +## 5 Protocol stack and system models + +### 5.1 Protocol stack model + +The protocol stack model used for the purposes of this Recommendation consists of the following layers: + +**Physical layer:** where all the physical (electrical) transmission parameters are defined – network dependent. + +**Transport layer:** defines all the relevant data structures and communication protocols like data containers, etc. – network dependent. + +**Application layer:** is the interactive application software and runtime environments – network independent. + +See Figure 1. + +![Diagram titled 'Layer structure for generic system reference model'. It shows a vertical stack of four layers. From top to bottom: 'Proprietary layers' (enclosed in a dashed box), 'Higher medium layers', 'Access mechanism Packet Structure', and 'Modulation Channel Coding Freq. Range Filtering Equalization Power'. To the right of the stack, 'Network independent protocols' is labeled for the top two layers, and 'Network dependent protocols' is labeled for the bottom two layers. A small code 'T0906370-98/d01' is at the bottom right.](07b17a620c75522d53916a11e12d1bff_img.jpg) + +Layer structure for generic system reference model + +Proprietary layers + +Higher medium layers + +Access mechanism +Packet Structure + +Modulation +Channel Coding +Freq. Range +Filtering +Equalization +Power + +Network independent protocols + +Network dependent protocols + +T0906370-98/d01 + +Diagram titled 'Layer structure for generic system reference model'. It shows a vertical stack of four layers. From top to bottom: 'Proprietary layers' (enclosed in a dashed box), 'Higher medium layers', 'Access mechanism Packet Structure', and 'Modulation Channel Coding Freq. Range Filtering Equalization Power'. To the right of the stack, 'Network independent protocols' is labeled for the top two layers, and 'Network dependent protocols' is labeled for the bottom two layers. A small code 'T0906370-98/d01' is at the bottom right. + +**Figure 1/J.113 – Layer structure for generic system reference model** + +This Recommendation describes the network dependent protocols within the transport and physical layers for the PSTN/ISDN. The network independent protocols are described in Recommendation J.111 [2] (to layer 4 of the OSI reference model typically). + +### 5.2 System model/overview + +Refer to Recommendation J.110 [1]. + +## **6 Interaction channel for PSTN** + +### **6.1 PSTN requirement** + +The PSTN shall provide a bidirectional communication path between interfaces Ax (PSTN/Interactive network adaptor interface) and Ab (PSTN/Interactive interface module interface) of the system model of Figure 2/J.110 [1]. + +### **6.2 PSTN interfaces requirement** + +Both the interactive network adaptor at interface Ax and the interactive interface module at interface Ab shall comply with the physical and transport layer functionality requirements relevant to the national PSTN service provider concerned. + +## **7 Interaction channel for ISDN** + +### **7.1 ISDN requirement** + +The ISDN shall provide a bidirectional communication path between interfaces Ax (ISDN/Interactive network adaptor interface) and Ab (ISDN/Interactive interface module interface) of the system model of Figure 2/J.110 [1]. For the purposes of this Recommendation, it is assumed that the ISDN complies with Recommendation I.3xx [3]. + +### **7.2 ISDN interfaces requirement** + +The physical and transport layer functions of the interactive network adaptor at interface Ax and the interactive interface module at interface Ab shall comply with Recommendations I.430, I.431 [4], Q.921/I.441 [5], Q.931/I.451 [6], G.960 [7], G.961 [8], I.414 [9] and I.112 [10]. + + + +# ITU-T RECOMMENDATIONS SERIES + +| | | +|-----------------|--------------------------------------------------------------------------------------------------------------------------------| +| Series A | Organization of the work of the ITU-T | +| Series B | Means of expression: definitions, symbols, classification | +| Series C | General telecommunication statistics | +| Series D | General tariff principles | +| Series E | Overall network operation, telephone service, service operation and human factors | +| Series F | Non-telephone telecommunication services | +| Series G | Transmission systems and media, digital systems and networks | +| Series H | Audiovisual and multimedia systems | +| Series I | Integrated services digital network | +| Series J | Transmission of television, sound programme and other multimedia signals | +| Series K | Protection against interference | +| Series L | Construction, installation and protection of cables and other elements of outside plant | +| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits | +| Series N | Maintenance: international sound programme and television transmission circuits | +| Series O | Specifications of measuring equipment | +| Series P | Telephone transmission quality, telephone installations, local line networks | +| Series Q | Switching and signalling | +| Series R | Telegraph transmission | +| Series S | Telegraph services terminal equipment | +| Series T | Terminals for telematic services | +| Series U | Telegraph switching | +| Series V | Data communication over the telephone network | +| Series X | Data networks and open system communication | +| Series Y | Global information infrastructure | +| Series Z | Programming languages | \ No newline at end of file diff --git a/marked/J/T-REC-J.114-199909-I_PDF-E/raw.md b/marked/J/T-REC-J.114-199909-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..bf3e3a319bc82311f5d121120ce65be41ad3da7d --- /dev/null +++ b/marked/J/T-REC-J.114-199909-I_PDF-E/raw.md @@ -0,0 +1,625 @@ + + +![ITU logo: A globe with the letters ITU and a lightning bolt.](2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg) + +ITU logo: A globe with the letters ITU and a lightning bolt. + +INTERNATIONAL TELECOMMUNICATION UNION + +**ITU-T** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +**J.114** + +(09/99) + +SERIES J: TRANSMISSION OF TELEVISION, SOUND +PROGRAMME AND OTHER MULTIMEDIA SIGNALS + +Interactive systems for digital television distribution + +--- + +**Interaction channel using digital enhanced +cordless telecommunications** + +ITU-T Recommendation J.114 + +(Previously CCITT Recommendation) + +--- + +# ITU-T J-SERIES RECOMMENDATIONS + +# **TRANSMISSION OF TELEVISION, SOUND PROGRAMME AND OTHER MULTIMEDIA SIGNALS** + +| | | +|-------------------------------------------------------------------------------------------------|--------------------| +| General Recommendations | J.1–J.9 | +| General specifications for analogue sound-programme transmission | J.10–J.19 | +| Performance characteristics of analogue sound-programme circuits | J.20–J.29 | +| Equipment and lines used for analogue sound-programme circuits | J.30–J.39 | +| Digital encoders for analogue sound-programme signals | J.40–J.49 | +| Digital transmission of sound-programme signals | J.50–J.59 | +| Circuits for analogue television transmission | J.60–J.69 | +| Analogue television transmission over metallic lines and interconnection with radio-relay links | J.70–J.79 | +| Digital transmission of television signals | J.80–J.89 | +| Ancillary digital services for television transmission | J.90–J.99 | +| Operational requirements and methods for television transmission | J.100–J.109 | +| Interactive systems for digital television distribution | J.110–J.129 | +| Transport of MPEG-2 signals on packetised networks | J.130–J.139 | +| Measurement of the quality of service | J.140–J.149 | +| Digital television distribution through local subscriber networks | J.150–J.159 | + +*For further details, please refer to ITU-T List of Recommendations.* + +# **ITU-T RECOMMENDATION J.114** + +# **INTERACTION CHANNEL USING DIGITAL ENHANCED CORDLESS TELECOMMUNICATIONS** + +## **Summary** + +This Recommendation is the baseline specification for the provision of an interaction channel using the Digital Enhanced Cordless Telecommunications (DECT) Standard in conjunction with a digital broadcasting delivery medium. It is suitable for use with any broadcast transmission medium, such as cable, satellite, terrestrial, etc., thus ensuring the maximum degree of interoperability and economies of scale. + +### **Source** + +ITU-T Recommendation J.114 was prepared by ITU-T Study Group 9 (1997-2000) and was approved under the WTSC Resolution No. 1 procedure on 16 September 1999. + +## FOREWORD + +ITU (International Telecommunication Union) is the United Nations Specialized Agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. + +The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics. + +The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1. + +In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. + +## NOTE + +In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +## INTELLECTUAL PROPERTY RIGHTS + +The ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. The ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. + +As of the date of approval of this Recommendation, the ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database. + +© ITU 2000 + +All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU. + +## CONTENTS + +| | Page | +|--------------------------------------------------------|-------------| +| 1 Scope ..... | 1 | +| 2 References ..... | 1 | +| 2.1 Normative references ..... | 1 | +| 2.2 Informative references ..... | 1 | +| 3 Abbreviations..... | 2 | +| 4 Reference model..... | 3 | +| 4.1 Protocol stack model ..... | 3 | +| 4.2 System model..... | 4 | +| 5 DVB interaction channel specification for DECT ..... | 4 | +| 5.1 System architecture ..... | 5 | +| 5.2 Physical interfaces..... | 5 | +| 5.3 Calling procedures ..... | 5 | +| 5.4 DECT profiles ..... | 5 | +| 5.5 Forced disconnection ..... | 7 | +| Appendix I – Basic characteristics of DECT ..... | 7 | +| I.1 DECT introduction..... | 7 | +| I.2 DECT standard..... | 8 | +| I.3 Profiles ..... | 11 | +| I.4 Wireless Relay Station (WRS)..... | 14 | +| I.5 DECT Authentication Module (DAM) ..... | 14 | +| Appendix II – DECT implementation alternatives..... | 15 | + +## **Introduction** + +This Recommendation, for the use of the DECT system to provide an interaction channel for a digital broadcasting service, is not transmission medium specific. It can be used with any of the broadcast transmission media currently standardized by the ITU. It is consistent with the generic reference model described in Recommendation J.110, and the network independent protocols in Recommendation J.111. + +# INTERACTION CHANNEL USING DIGITAL ENHANCED CORDLESS TELECOMMUNICATIONS + +(Geneva, 1999) + +# 1 Scope + +This Recommendation is the baseline specification for the provision of an interaction channel based on the Digital Enhanced Cordless Telecommunications (DECT) to Digital Video Broadcasting (DVB) systems. + +This Recommendation does not intend to specify an interaction channel solution associated to each broadcast system because the interoperability of different delivery media to transport the interaction channel is desirable. Therefore, the DECT solution for the interaction channel applies to satellite, cable, MATV, Satellite Master Antenna TeleVision (SMATV), terrestrial, microwave or any future DVB broadcasting or distribution system. + +The solutions provided in this Recommendation for an interaction channel through the DECT are a part of a wider set of alternatives to implement interactive services for DVB systems. + +# 2 References + +The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; all users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. + +## 2.1 Normative references + +- [1] ITU-T Recommendation J.110 (1997), *Basic principles for a worldwide common family of systems for the provision of interactive television services.* +- [2] ITU-T Recommendation J.111 (1998), *Network independent protocols for interactive systems.* +- [3] EN 50201:1998, *Interfaces for DVB-IRD*, CENELEC. +- [4] ETS 300 765-2 (1998), *Digital Enhanced Cordless Telecommunications (DECT); Radio in the Local Loop (RLL) Access Profile (RAP); Part 2: Advanced telephony services.* +- [5] EN 301 240 (1998), *Digital Enhanced Cordless Telecommunications (DECT); Data Services Profile (DSP); Point-to-Point Protocol (PPP) interworking for internet access and general multi-protocol datagram transport.* +- [6] ETS 300 700 (1997), *Digital Enhanced Cordless Telecommunications (DECT); Wireless Relay Station (WRS).* + +## 2.2 Informative references + +- [7] ETS 300 765-1 (1997), *Digital Enhanced Cordless Telecommunications (DECT); Radio in the Local Loop (RLL) Access Profile (RAP); Part 1: Basic telephony services.* +- [8] ETS 300 444 (1995), *Digital Enhanced Cordless Telecommunications (DECT); Generic Access Profile (GAP).* +- [9] ETS 300 822 (1998), *Digital Enhanced Cordless Telecommunications (DECT); Integrated Services Digital Network (ISDN); DECT/ISDN Interworking for intermediate system configuration; Interworking and profile specification.* + +- [10] ETR 308 (1996), *Digital Enhanced Cordless Telecommunications (DECT); Services, facilities and configurations for DECT in the local loop.* +- [11] ETR 185 (1995), *Digital Enhanced Cordless Telecommunications (DECT); Data Services Profile (DSP); Profile overview.* +- [12] ETS 300 651 (1996), *Digital Enhanced Cordless Telecommunications (DECT); Data Services Profile (DSP); Generic data link service; (service type C, class 2).* +- [13] ETS 300 701 (1996), *Digital Enhanced Cordless Telecommunications (DECT); Data Services Profile (DSP); Generic frame relay service with mobility (service types A and B, class 2).* + +# 3 Abbreviations + +This Recommendation uses the following abbreviations: + +| | | +|------|----------------------------------------------| +| A/V | Audio/Video | +| BC | Broadcast Channel | +| CI | Common Interface | +| CTA | Cordless Terminal Adapter | +| DAM | DECT Authentication Module | +| DECT | Digital Enhanced Cordless Telecommunications | +| DSP | Data Services Profile | +| EMC | Electromagnetic Compatibility | +| FP | Fixed Part | +| FT | Fixed Termination | +| GAP | Generic Access Profile | +| IC | Interaction Channel | +| IIM | Interactive Interface Module | +| IN | Interactive Network | +| INA | Interactive Network Adapter | +| IRD | Integrated Receiver Decoder | +| ISDN | Integrated Services Digital Network | +| IWU | Inter-Working Unit | +| LAP | Link Access Protocol | +| LLME | Lower Layer Management Entity | +| MAC | Medium Access Control | +| MATV | Master Antenna Television | +| NIU | Network Interface Unit | +| NTU | Network Termination Unit | +| NWK | Network | +| OSI | Open Systems Interconnection | +| PHL | Physical | +| PP | Portable Part | +| PPP | Point-to-Point Protocol | +| PSTN | Public Switched Telephone Network | +| RAP | Radio in the local loop Access Profile | +| RF | Radio Frequency | + +| | | +|-------|-------------------------------------| +| RLL | Radio in the Local Loop | +| SMATV | Satellite Master Antenna TeleVision | +| STB | Set-Top Box | +| STU | Set-Top Unit | +| WRS | Wireless Relay Station | + +# 4 Reference model + +A reference model for the system architecture of narrow-band interaction channels in a broadband scenario (asymmetric interactive services) is presented in this clause. [1] + +## 4.1 Protocol stack model + +Within the Digital Video Broadcasting (DVB) commercial requirements for asymmetric interactive services supporting broadcast to the home with narrow-band return channel (see DVB-A008 [7]), a simple communications model has been used to identify the necessity and importance of each commercial requirement consisting of the following layers (the layers do not coincide exactly with the Open Systems Interconnection (OSI) layers): + +- *Physical layer*: where all the physical (electrical) transmission parameters are defined. +- *Transport layer*: defines all the relevant data structures and communication protocols like data containers, etc. +- *Application layer*: is the interactive application software and runtime environment (e.g. home shopping application, script interpreter, etc.). + +This Recommendation addresses the lower two layers (the physical and transport layers), leaving the application layer open to competitive market forces. A simplified model of the OSI layers was adopted to facilitate the production of specifications for these nodes. Figure 1 points out the lower layers of the simplified model and identifies some of the key parameters. Following the user requirements for interactive services, no attempt will be made to consider higher layers in this Recommendation. + +![Diagram of the layer structure for generic system reference model. It shows four stacked layers. The top two layers, 'Proprietary layers' and 'Higher medium layers', are enclosed in a dashed box labeled 'Network-independent protocols'. The bottom two layers, 'Access mechanism Packet structure' and a list of physical parameters (Modulation, Channel coding, Frequency range, Filtering, Equalization, Power), are enclosed in a dashed box labeled 'Network-dependent protocols'.](0b87abe67b21a93777287649c33e755d_img.jpg) + +| | | +|---------------------------------------------------------------------------------------|-------------------------------| +| Proprietary layers | Network-independent protocols | +| Higher medium layers | | +| Access mechanism
Packet structure | Network-dependent protocols | +| Modulation
Channel coding
Frequency range
Filtering
Equalization
Power | | + +Diagram of the layer structure for generic system reference model. It shows four stacked layers. The top two layers, 'Proprietary layers' and 'Higher medium layers', are enclosed in a dashed box labeled 'Network-independent protocols'. The bottom two layers, 'Access mechanism Packet structure' and a list of physical parameters (Modulation, Channel coding, Frequency range, Filtering, Equalization, Power), are enclosed in a dashed box labeled 'Network-dependent protocols'. + +T0907830-99/d01 + +Figure 1/J.114 – Layer structure for generic system reference model + +This Recommendation addresses the Digital Enhanced Cordless Telecommunications (DECT) specific aspects only. The network-independent protocols are specified separately in Recommendation J.111 [2]. + +## 4.2 System model + +Figure 2 shows the system model which is to be used within DVB for interactive services. In the system model, two channels are established between the service provider and the user: + +- a) *Broadcast Channel (BC)*: A unidirectional broadband BC including video, audio and data. BC is established from the service provider to the users. It may include the forward interaction path. +- b) *Interaction Channel (IC)*: A bidirectional interaction channel is established between the service provider and the user for interaction purposes. It is formed by: + - *Return interaction path* (return channel): From the user to the service provider. It is used to make requests to the service provider or to answer questions. It is a narrow-band channel. Also commonly known as return channel. + - *Forward interaction path*: From the service provider to the user. It is used to provide some sort of information by the service provider to the user and any other required communication for the interactive service provision. It may be embedded into the broadcast channel. It is possible that this channel is not required in some simple implementations which make use of the BC for the carriage of data to the user. + +![Figure 2/J.114 – A generic system reference model for interactive systems. The diagram illustrates the flow of data and interaction between a Broadcast Service Provider, an Interactive Service Provider, a Broadcast Network Adapter, an Interactive Network Adapter, a Broadcasting Delivery Media cloud, an Interaction Network cloud, a Set-Top Box (STB), a Set-Top Unit (STU), a Network-Interface Unit (NIU), and an End User. The STB contains a Broadcast Interface Module (BIM) and an Interactive Interface Module (IIM). The BIM connects to the Broadcasting Delivery Media and the STU. The IIM connects to the Interaction Network and the STU. The STU connects to the End User. The NIU connects to the STU and the End User. The diagram is divided into three horizontal sections: 'Broadcast Channel (DVB Transmission Systems)' at the top, 'Interaction channel' in the middle, and 'Network-independent' at the bottom. The 'Forward Interaction path' is shown as a dashed line from the Broadcast Service Provider to the STU. The 'Return Interaction path' is shown as a dashed line from the STU to the Interactive Service Provider. The 'Interaction channels' are shown as solid lines between the Interaction Network and the IIM. The 'Can be external to STB' label is placed near the NIU.](e6df2733626a85205c1db682e6259c46_img.jpg) + +Figure 2/J.114 – A generic system reference model for interactive systems. The diagram illustrates the flow of data and interaction between a Broadcast Service Provider, an Interactive Service Provider, a Broadcast Network Adapter, an Interactive Network Adapter, a Broadcasting Delivery Media cloud, an Interaction Network cloud, a Set-Top Box (STB), a Set-Top Unit (STU), a Network-Interface Unit (NIU), and an End User. The STB contains a Broadcast Interface Module (BIM) and an Interactive Interface Module (IIM). The BIM connects to the Broadcasting Delivery Media and the STU. The IIM connects to the Interaction Network and the STU. The STU connects to the End User. The NIU connects to the STU and the End User. The diagram is divided into three horizontal sections: 'Broadcast Channel (DVB Transmission Systems)' at the top, 'Interaction channel' in the middle, and 'Network-independent' at the bottom. The 'Forward Interaction path' is shown as a dashed line from the Broadcast Service Provider to the STU. The 'Return Interaction path' is shown as a dashed line from the STU to the Interactive Service Provider. The 'Interaction channels' are shown as solid lines between the Interaction Network and the IIM. The 'Can be external to STB' label is placed near the NIU. + +Figure 2/J.114 – A generic system reference model for interactive systems + +The user terminal, here named Set-Top Box (STB), is formed by the: + +- a) Network Interface Unit (NIU), consisting of the: + - 1) Broadcast Interface Module (BIM); + - 2) Interactive Interface Module (IIM); and +- b) Set-Top Unit (STU). + +The user terminal provides interfaces for both broadcast and interaction channels. The interface between the user terminal and the interaction network is via the IIM. + +# 5 DVB interaction channel specification for DECT + +A DECT infrastructure can support the implementation of the interaction channel for DVB broadcasting systems by providing a wireless bidirectional communication path between the user terminal and an infrastructure connecting to the service provider. + +The basic characteristics of DECT are described in Appendix I. + +## 5.1 System architecture + +The Interactive Interface Module (IIM) is implemented through a DECT Portable Part (PP) (see Figure 3). The DECT PP can be internal or external to the STB. + +![Figure 3/J.114 – System architecture when DECT is used as the interaction channel. The diagram shows two main signal paths. The top path is for broadcast: Broadcast Service Provider -> Broadcast Network Adapter -> Broadcasting Delivery Media (cloud) -> Set-Top Box (STB). The bottom path is for interactive services: Interactive Service Provider -> Interactive Network Adapter -> PSTN, ISDN or other DVB interaction network (cloud) -> DECT FP (containing IWU and DECT FT) -> DECT WRS -> DECT PP (IIM) inside the STB. The DECT PP (IIM) is connected to the Set-Top Unit (STU) inside the STB. A note indicates the DECT PP can be external to the STB. Reference T0907850-99/d03 is shown at the bottom right.](e9314c83043183351ed74908e9bf2f90_img.jpg) + +T0907850-99/d03 + +Figure 3/J.114 – System architecture when DECT is used as the interaction channel. The diagram shows two main signal paths. The top path is for broadcast: Broadcast Service Provider -> Broadcast Network Adapter -> Broadcasting Delivery Media (cloud) -> Set-Top Box (STB). The bottom path is for interactive services: Interactive Service Provider -> Interactive Network Adapter -> PSTN, ISDN or other DVB interaction network (cloud) -> DECT FP (containing IWU and DECT FT) -> DECT WRS -> DECT PP (IIM) inside the STB. The DECT PP (IIM) is connected to the Set-Top Unit (STU) inside the STB. A note indicates the DECT PP can be external to the STB. Reference T0907850-99/d03 is shown at the bottom right. + +Figure 3/J.114 – System architecture when DECT is used as the interaction channel + +DECT is a wireless access technology, not a complete network or system. Therefore, DECT Fixed Parts (FP) are part of the interaction network. A DECT FP includes an Inter-Working Unit (IWU) which handles the interconnection of DECT with the Interactive Network Adapter (INA) via another interaction network. + +## 5.2 Physical interfaces + +The physical interfaces relate to how the DECT PP is connected to the STU, how the DECT FP is connected to other interaction networks and the wireless physical interfaces between DECT PP, DECT FP and DECT Wireless Relay Stations (WRS). The DECT profiles specify the physical interfaces for different services and applications (see 5.4). + +In the case of a DECT PP external to the STB, the DVB-IRD interfaces are described in EN 50201 [3]. + +## 5.3 Calling procedures + +The signalling protocols are specified by the DECT profiles (see 5.4). + +## 5.4 DECT profiles + +The connection of DECT to different networks, the operation of the DECT air interface and the signalling protocols for specific services and applications are described in the DECT profiles. A DVB operator using DECT as the interaction channel should use DECT profiles. Several DECT profiles can be supported in a DECT system, which means that other profiles can be supported in parallel with the profile used to carry the DVB network-independent protocols for interactive services (see Recommendation J.111 [2]). + +The default implementations described in 5.4.1 and 5.4.2 are based on the Radio in the local loop Access Profile (RAP) (see ETS 300 765-2 [4]) and the Data Services Profile (DSP) PPP interworking (see EN 301 240 [5]). The RAP offers valuable operation and maintenance functions. DSP PPP interworking offers effective handling of data traffic and describes the interworking to different fixed networks. When accessing an external DECT infrastructure, RAP functions are used in combination with the DSP PPP interworking. + +Due to the flexible nature of the DECT standard, several other implementation possibilities exist. Some of the implementation alternatives are described in Appendix II. + +### 5.4.1 Recommended DECT profiles when the DECT infrastructure is external to the home + +The RAP (see ETS 300 765-1 [7] and ETS 300 765-2 [4]) describe how DECT is used in Radio in the Local Loop (RLL) scenarios. + +It is recommended that the IIM is represented by a DECT PP internal to the STB with a RAP Data service (see ETS 300 765-2 [4]) according to the DSP PPP interworking (see EN 301 240 [5]) implemented, when the interaction channel is through a DECT infrastructure, external to the home (see Figure 4). + +The DECT PP (IIM) communicates with a DECT RAP data service (DSP PPP interworking) infrastructure comprised of FPs and possible WRSs (see ETS 300 700 [6]). + +A WRS relays intelligently the DECT signals between DECT FPs and DECT PPs. This STB implementation should be the default implementation when DECT is used as the interaction channel in DVB. + +![Diagram illustrating the default implementation of an interaction channel through a DECT infrastructure external to the home. A DECT FP RAP data service (DSP PPP interworking) is connected to a DECT WRS. The DECT WRS is connected to an STB [DECT PP RAP data service (DSP PPP interworking) + STU]. The STB is connected to a radio and a TV. The DECT FP RAP data service (DSP PPP interworking) is connected to the DECT WRS via a dashed line. The DECT WRS is connected to the STB via a solid line. The STB is connected to the radio and TV via a solid line. The DECT RAP data service (DSP PPP interworking) is shown between the DECT FP and the DECT WRS.](7f17c430b9598e4d748a8041457810b3_img.jpg) + +The diagram shows three main components: a DECT FP RAP data service (DSP PPP interworking) on the left, a DECT WRS in the center, and an STB [DECT PP RAP data service (DSP PPP interworking) + STU] on the right. The STB is connected to a radio and a TV. The DECT FP is connected to the DECT WRS via a dashed line. The DECT WRS is connected to the STB via a solid line. The STB is connected to the radio and TV via a solid line. The DECT RAP data service (DSP PPP interworking) is shown between the DECT FP and the DECT WRS. + +Diagram illustrating the default implementation of an interaction channel through a DECT infrastructure external to the home. A DECT FP RAP data service (DSP PPP interworking) is connected to a DECT WRS. The DECT WRS is connected to an STB [DECT PP RAP data service (DSP PPP interworking) + STU]. The STB is connected to a radio and a TV. The DECT FP RAP data service (DSP PPP interworking) is connected to the DECT WRS via a dashed line. The DECT WRS is connected to the STB via a solid line. The STB is connected to the radio and TV via a solid line. The DECT RAP data service (DSP PPP interworking) is shown between the DECT FP and the DECT WRS. + +NOTE – A DECT PP, supporting a RAP data service (DSP PPP interworking), is implemented in the STB. The STB communicates either directly with an FP (dashed line) or via a WRS (unbroken line). The WRS can be located internal to the home. + +**Figure 4/J.114 – Default implementation of an interaction channel through a DECT infrastructure, external to the home** + +### 5.4.2 Recommended DECT profiles when the DECT infrastructure is internal to the home + +DECT can be used in the home as a wireless interface to a network. In Figure 5, a home DECT FP is connected to a fixed network interface and provides the STB with a wireless interaction channel. The DECT STB implementation is the same as when the DECT FP is external to the home. The DECT PP RAP data service (DSP PPP interworking) terminal should notice that the home FP does not support RAP features, and therefore not use the RAP procedures. This STB implementation should be the default implementations when DECT is used as the interaction channel in DVB. + +![Diagram illustrating the default implementation of an interaction channel through a DECT infrastructure internal to the home. On the left, a 'Home interface' unit is shown with four ports: DATA port, ISDN port, PSTN port, and a Home DECT FP DSP PPP interworking unit. This unit is connected to a 'DECT WRS' (Wireless Radio System) via a 'DECT DSP PPP interworking' unit. The 'DECT WRS' is connected to an 'STB [DECT PP RAP data service (DSP PPP interworking) + STU]' via a 'radio' and 'TV' unit. The 'STB' is connected to the 'Home DECT FP DSP PPP interworking' unit via a dashed line, indicating a direct connection. The 'STB' is also connected to the 'DECT WRS' via a solid line, indicating a connection via the WRS. The diagram is labeled T0907870-99/d05.](af7916c89a458fdab6c3f443217388ae_img.jpg) + +Diagram illustrating the default implementation of an interaction channel through a DECT infrastructure internal to the home. On the left, a 'Home interface' unit is shown with four ports: DATA port, ISDN port, PSTN port, and a Home DECT FP DSP PPP interworking unit. This unit is connected to a 'DECT WRS' (Wireless Radio System) via a 'DECT DSP PPP interworking' unit. The 'DECT WRS' is connected to an 'STB [DECT PP RAP data service (DSP PPP interworking) + STU]' via a 'radio' and 'TV' unit. The 'STB' is connected to the 'Home DECT FP DSP PPP interworking' unit via a dashed line, indicating a direct connection. The 'STB' is also connected to the 'DECT WRS' via a solid line, indicating a connection via the WRS. The diagram is labeled T0907870-99/d05. + +NOTE – A DECT PP, supporting a RAP data service (DSP PPP interworking), is implemented in the STB. The STB communicates either directly with an FP (dashed line) or via a WRS (unbroken line). + +**Figure 5/J.114 – Default implementation of an interaction channel through a DECT infrastructure, internal to the home** + +## 5.5 Forced disconnection + +In an implementation incorporating connections to the Public Switched Telephone Network (PSTN), the communication on the interaction channel should not block an emergency call attempt. The DECT profiles allow this functionality in several ways. If not implemented, the application should allow a forced disconnection in the case of an emergency call. + +# Appendix I + +## Basic characteristics of DECT + +### I.1 DECT introduction + +DECT is a general radio access technology that can be used by many different applications to connect to different telecommunication networks. + +DECT offers both telephony and data communication services to users within the coverage area. The system is based on a micro-cellular concept that provides low-power radio access between portable parts and DECT fixed parts at ranges up to a few kilometres. + +DECT equipment is commercially available. + +The basic technical characteristics of DECT are as follows: + +| | | | +|----------------------|----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------| +| Frequency band: | 1880 to 1900 MHz (extended frequency band is under investigation). | | +| Carriers: | $10 \times 1728$ MHz. | | +| Carrier multiplex: | TDMA (Time Division Multiple Access), 24 full slots per frame (which can form 12 duplex channels). | | +| Peak transmit power: | 250 mW. | | +| Modulation: | GFSK (Gaussian Frequency Shift Keying), BT (Bandwidth Time product) = 0.5. | | +| Frame length: | 10 ms. | | +| Basic duplexing: | TDD (Time Division Duplex) using two slots on the same carrier. | | +| Gross bit rate: | 1152 kbit/s per carrier. | | +| Net bit rates: | 8 kbit/s | B-field (traffic) per half slot (unprotected mode); | +| | 6.4 kbit/s | B-field (traffic) per half slot (protected mode); | +| | 32 kbit/s | B-field (traffic) per full slot (unprotected mode); | +| | 25.6 kbit/s | B-field (traffic) per full slot (protected mode); | +| | 80 kbit/s | B-field (traffic) per double slot (unprotected mode); | +| | 64 kbit/s | B-field (traffic) per double slot (protected mode); | +| | 6.4 kbit/s | A-field (control/signalling) per half slot, slot and double slot. | + +DECT has features that could be suitable in an interactive DVB system. + +DECT can handle a lot of users in a small area (urban and suburban situation) and support a broad range of services. + +DECT has algorithms for authentication of both the base station and the terminal as well as a simple encryption scheme DECT Authentication Module [(DAM) card support]. + +A Wireless Relay Station (WRS) can be used to extend the coverage. + +There is no need for traditional frequency planning as DECT uses dynamic channel selection. + +In the rest of this appendix, more information is provided concerning the main functionality of the DECT standard. + +### I.2 DECT standard + +The structure of the basic DECT standard (see ETS 300 175 parts 1 to 9) is based on the layered principles used in the ISO Open Systems Interconnection (OSI) model. The complete DECT Common Interface (CI) corresponds to the lower three layers of the ISO OSI model, but DECT defines four layers of protocol. These lower layers differ from the OSI model because the OSI model takes no account of either the uncertainties introduced by using radio transmissions at the physical layer or of the concept of handover. + +A structure of four layers is used for the signalling protocols as shown in Figure I.1. + +The top of the NWK layer corresponds to the top of the OSI layer 3. The intermediate boundaries have no OSI equivalent but for ease of understanding an approximate correspondence is given below: + +- OSI Layer 1: all of the PHL layer plus part of the MAC layer; +- OSI Layer 2: most of the MAC layer plus all of the DLC; +- OSI Layer 3: all of the NWK layer. + +![Diagram of the DECT layered structure showing OSI layers 1, 2, and 3 mapped to DECT layers: Physical Layer (PHL), Medium Access Control Layer (MAC), Data Link Control Layer (DLC), and Network Layer (NWK). It also shows the C-Plane and U-Plane management entities.](33ed1f9b27c7c21c797aa928b0f06851_img.jpg) + +The diagram illustrates the DECT layered structure mapped to the OSI model. At the top, a 'Lower Layer Management Entity' is shown, connected to 'C-Plane' and 'U-Plane' management. Below this, the layers are defined as follows: + +- OSI Layer 3:** Network Layer (NWK) +- OSI Layer 2:** Data Link Control Layer (DLC) and Medium Access Control Layer (MAC) +- OSI Layer 1:** Physical Layer (PHL) + +T0907880-99/d06 + +Diagram of the DECT layered structure showing OSI layers 1, 2, and 3 mapped to DECT layers: Physical Layer (PHL), Medium Access Control Layer (MAC), Data Link Control Layer (DLC), and Network Layer (NWK). It also shows the C-Plane and U-Plane management entities. + +Figure I.1/J.114 – The DECT layered structure + +#### I.2.1 Physical (PHL) layer + +The physical layer divides the radio spectrum into the physical channels. This division occurs in two fixed dimensions, frequency and time. The frequency and time division uses Time Division Multiple Access (TDMA) operation on multiple RF carriers. Ten carriers are provided in the frequency band 1880 MHz to 1900 MHz. + +DECT also provides for possible extensions of the band to meet future demand. On each carrier the TDMA structure defines 24 time slots (when full slots are used) in a 10 ms frame, where each time slot may be used to transmit one self contained packet of data (see Figure I.2). + +![Diagram of the full slot framing structure showing a 10 ms TDMA frame divided into 24 timeslots, with a detailed view of a single slot containing Sync.-field, D-field, Z, and Guard-Space components.](9b6b5924b48bf2fd5f347f88f06f45b3_img.jpg) + +The diagram shows the framing structure for a TDMA frame and a single timeslot: + +- 1 TDMA frame = 24 timeslots (10 ms)** +- The frame is divided into two directions: **to the subscriber** (timeslots 1-12) and **from the subscriber** (timeslots 1-12). +- A detailed view of a **SLOT** shows the following components and durations: + - Sync.-field (32 bit)**: 28 μs (bits b0 to b31) + - D-field (388 bit)**: 340 μs (bits b31 to b423) + - Z**: 49 μs (bits b423 to b479) + - Guard-Space (56 bit)**: 49 μs +- A further detail of the **D-Field** shows: + - A-field (64 bit)**: 56 μs + - B-field (320 bit)**: 278 μs + - X-field (4 bit)**: 3 μs + - Z-field (4 bit)**: 3 μs + +T0907890-99/d07 + +Diagram of the full slot framing structure showing a 10 ms TDMA frame divided into 24 timeslots, with a detailed view of a single slot containing Sync.-field, D-field, Z, and Guard-Space components. + +Figure I.2/J.114 – Example of the full slot framing structure + +Each transmitted packet contains a synchronization field, together with control information, service information and error control. + +Each FP radio end point operates according to a local timing reference and the PHL is the responsible for transmitting packets of data under direct control of the MAC layer. Adjacent FPs may be synchronized. This provides some advantages, particularly in high traffic situations. + +#### **I.2.2 Medium Access Control (MAC) layer** + +The MAC layer performs two main functions. Firstly, it selects physical channels, and then establishes and releases connections on those channels. Secondly, it multiplexes (and demultiplexes) control information, together with higher layer information and error control information, into slot-sized packets. + +These functions are used to provide three independent services: a broadcast service, a connection oriented service and a connectionless service. + +The broadcast service is a special DECT feature: it multiplexes a range of broadcast information into a reserved field (the A-field), and this field appears as part of all active transmissions. The broadcast service is always transmitted in every cell (even in the absence of user traffic) on at least one physical channel. These "beacon" transmissions allow PPs to quickly identify all FPs that are within range, to select one, and to lock to it without requiring any portable transmissions. + +#### **I.2.3 Data Link Control (DLC) layer** + +The DLC layer is concerned with the provision of very reliable data links to the NWK layer. Many of the imperfections of the radio transmissions are already removed by the efforts of the MAC layer, and the DLC layer is designed to work closely with the MAC layer to provide higher levels of data integrity than can be provided by the MAC layer alone. + +The DECT layered model separates into two planes of operation at the DLC layer: the C-plane and the U-plane. + +The C-plane is common to all applications, and provides very reliable links for the transmission of internal control signalling and limited quantities of user information traffic. Full error control is provided with a balanced Link Access Protocol (LAP). + +The U-plane provides a family of alternative services, where each service is optimized to the particular need of a specific type of services. The simplest service is the transparent unprotected service used for speech transmission. + +Other services support circuit mode and packet mode data transmission, with varying levels of protection. + +#### **I.2.4 Network (NWK) layer** + +The NWK layer is the main signalling layer of the protocol. It adopts a similar style to the ISDN layer 3 protocol and offers a similar level of functions. The NWK layer operates using an exchange of messages between peer entities. + +The basic set of messages supports the establishment, maintenance and release of calls. Additional messages support a range of extended capabilities. + +The basic Call Control (CC) provides a circuit switched service selected from one of the range of DLC options. + +Other network layer services are Supplementary Services (SS), Connection-oriented Message Service (COMS), ConnectionLess Message Service (CLMS) and Mobility Management (MM). These services are arranged as independent entities, and a particular application can be realized using more than one. + +The MM is a particularly important group of services. This group contains the procedures that support the special cordless mobility of PPs, for example authentication and location registration. + +#### **I.2.5 Lower Layer Management Entity (LLME)** + +The LLME contains defined procedures that concern more than one layer. Most of these procedures have only local significance, and they are defined in general terms to allow for alternative implementations. The location of some selected LLME procedures is as follows: + +- | | | +|------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| MAC layer: | Creation, maintenance and release of bearers, by activating and deactivating pairs of physical channels; physical channel management, including the choice of free physical channels and the assessment of the quality of received signals. | +| DLC layer: | Connection management, which includes the establishment and release of connections in response to NWK layer demands; routing of C-plane and U-plane data to suitable connections. | +| NWK layer: | Service negotiation and mapping. | + +#### **I.2.6 Inter-Working Units (IWU)** + +Transport of the information to the end user requires additional layers of protocol. In general, an IWU will be required to provide the necessary interworking functions. This IWU plays a important role in defining the exact service that is provided, e.g. when interconnecting to other networks as the PSTN or the ISDN. + +### **I.3 Profiles** + +The basic DECT standard defines the operation of the DECT air interface and is very general. To achieve interoperability for specific applications, different profiles have been defined or are in progress of being defined, e.g. the Generic Access Profile (GAP), the DECT/ISDN interworking profiles, the DECT data services profiles, the DECT/GSM (Global System for Mobile communications) interworking profile and the DECT radio in the local loop access profile. + +A DECT profile standard is a chosen subset of the DECT CI standard for a specific application. It includes all requirements for interoperability for equipment from different manufacturers. If the CI standard has some ambiguity or lacks some provision, this is clarified or added in the profile standard. All defined features are process mandatory. This means that if a feature is used, it is used in a specified manner. Whether the provision of a feature is mandatory or optional is stated separately for FPs and PPs. + +#### **I.3.1 Radio in the local loop Access Profile (RAP)** + +Radio in the Local Loop (RLL) is also defined in the DECT standard. The RLL Access Profile (RAP) is standardized in two parts (see ETS 300 765-1 [7] and ETS 300 765-2 [4]). + +ETS 300 765-1 [7] handles PSTN, analogue leased lines and 64 kbit/s bearer service. It also provides for optional mobility features by supporting GAP PP subscriber terminals and Cordless Terminal Adapter (CTAs) with WRS GAP functionality. For documents relating to RLL (basic telephony via PSTN), see Figure I.3. + +The second part contains telecommunication services as offered by ISDN, contemporary non-voice band data services provided through for example a dedicated data port at the CTA, and support of digital leased lines. The provision of the mentioned services is not mandated by the second part of the standard, but if they are provided they shall be provided as defined. For documents relating to RLL (advanced telephony), see Figure I.4. + +An objective is to use as much as possible for the RLL from existing profiles: the GAP profile (see ETS 300 444 [8] DECT-ISDN Intermediate System as defined in ETS 300 822 [9]) the data profiles, e.g. A/B.2 as defined in ETS 300 701 [13] and C.2. Therefore, most of the RAP features refer to features defined in other profiles and only the necessary additional features are listed and explained in the RAP document. + +The DECT RLL services are examined in detail in ETR 308 [10]. This ETR identifies the basic wired analogue PSTN services that could be replaced by an RLL system, and also identifies that there are market opportunities for much more advanced services than are possible with today's standard telephones. + +![Diagram showing the relationship between various standards and a basic telephony system via PSTN. On the left, a list of ETS 300 175 parts (Overview, PHL, MAC, DLC, NWK, Identities, Security, Telephony, PAP) points to a central box containing ETS 300 444 GAP and ETS 300 765-1 RLL Access Profile (RAP). Above this central box is 'Standard(s) for PSTN terminal'. Below it are 'EMC standards' and 'PSTN standards'. Arrows point from these elements to icons on the right: a telephone, a base station, a mobile station (marked with a large X), and a cloud representing the PSTN network. A curved arrow also points from the bottom standards back to the central box. The code T0907900-99/d08 is at the bottom right.](76b0cd79baaedd942af4dc42f2e764b8_img.jpg) + +The diagram illustrates the architectural stack for basic telephony via PSTN. On the left, the ETS 300 175 standard is broken down into parts: Overview, Part 2 (PHL), Part 3 (MAC), Part 4 (DLC), Part 5 (NWK), Part 6 (Identities), Part 7 (Security), Part 8 (Telephony), Part 9 (PAP), and PAP. These parts feed into the central 'ETS 300 444 GAP' and 'ETS 300 765-1 RLL Access Profile (RAP)' block. Above this block is the 'Standard(s) for PSTN terminal'. Below are 'EMC standards' and 'PSTN standards'. Arrows indicate the flow from these standards to the physical components on the right: a PSTN terminal (telephone), a base station, a mobile station (which is crossed out with a large X, indicating it is not used in this configuration), and the PSTN network cloud. A curved arrow points from the bottom standards back to the central RLL Access Profile block. The code T0907900-99/d08 is located at the bottom right of the diagram. + +Diagram showing the relationship between various standards and a basic telephony system via PSTN. On the left, a list of ETS 300 175 parts (Overview, PHL, MAC, DLC, NWK, Identities, Security, Telephony, PAP) points to a central box containing ETS 300 444 GAP and ETS 300 765-1 RLL Access Profile (RAP). Above this central box is 'Standard(s) for PSTN terminal'. Below it are 'EMC standards' and 'PSTN standards'. Arrows point from these elements to icons on the right: a telephone, a base station, a mobile station (marked with a large X), and a cloud representing the PSTN network. A curved arrow also points from the bottom standards back to the central box. The code T0907900-99/d08 is at the bottom right. + +**Figure I.3/J.114 – Documents relating to RLL (basic telephony via PSTN)** + +#### I.3.2 Data Services Profiles (DSP) + +The DECT standard includes data services. The services and relationships of the different profiles are described in ETR 185 [11]. The DSP are a family of profiles which build upon and extend each other, aimed at the general connection of terminals supporting non-voice services to a fixed infrastructure, private and public. The application decides which type to use, due to parameters such as data rate, latency, reliability and power consumption. They all exploit the powerful lower-layer data services of DECT, which are specifically oriented towards LAN, multimedia and serial data capability, but each member of the profile family has been optimized for a different kind of user service. The DSP are divided into six service types and two mobility classes: + +- Type A: Low-speed frame relay, with a net sustainable throughput of up to 24 kbit/s, optimized for bursty data, low power consumption and low complexity applications such as handportable equipment. +- Type B: High-performance frame relay, with a net sustainable throughput of up to 552 kbit/s asymmetrically or 288 kbit/s symmetrically, optimized for high speed and low latency with bursty data. Equipment implementing the type B profile shall interoperate with type A equipment. +- Type C: Non-transparent connection of data streams requiring Link Access Protocol (LAP) services, optimized for high reliability and low additional complexity. Type C builds upon the services offered by the type A/B profiles. Provision for a packet assembly/disassembly function for asynchronous data streams is also included. +- Type D: Transparent and isochronous connection of synchronous data streams optimized for interworking applications requiring continuous data streams. +- Type E: A short message transfer or paging service which may be unacknowledged or acknowledged. + +![Diagram showing the relationship between ETS 300 175 parts, ISDN IS standards, and various terminals and networks. On the left, a list of ETS 300 175 parts (Overview, PHL, MAC, DLC, NWK, Identities, Security, Telephony, PAP) is shown. Arrows point from these parts to a central box labeled 'ISDN IS' which contains 'ETS 300 765-2 RLL Access Profile (RAP)' and 'DATA Profile'. Below this are 'EMC standards' and 'Network standards'. Arrows point from the central box to various icons on the right: a fax machine, a laptop, a modem, a router, and a cloud labeled 'Network'. A large 'X' is drawn over the arrows pointing to the router and network cloud. A small code 'T0907910-99/d09' is at the bottom right.](9c6461e1e94afae4dec455e69a2ce152_img.jpg) + +The diagram illustrates the mapping of ETS 300 175 parts to ISDN IS standards and their application in various terminals and networks. On the left, a vertical list of ETS 300 175 parts is shown: Overview, PHL, MAC, DLC, NWK, Identities, Security, Telephony, and PAP. Arrows from these parts point to a central box labeled 'ISDN IS'. Inside this box, 'ETS 300 765-2 RLL Access Profile (RAP)' and 'DATA Profile' are highlighted. Below the 'ISDN IS' box are 'EMC standards' and 'Network standards'. Arrows point from the central box to various icons on the right: a fax machine, a laptop, a modem, a router, and a cloud labeled 'Network'. A large 'X' is drawn over the arrows pointing to the router and network cloud, indicating that these standards do not apply to those specific interfaces. A small code 'T0907910-99/d09' is located at the bottom right of the diagram. + +Diagram showing the relationship between ETS 300 175 parts, ISDN IS standards, and various terminals and networks. On the left, a list of ETS 300 175 parts (Overview, PHL, MAC, DLC, NWK, Identities, Security, Telephony, PAP) is shown. Arrows point from these parts to a central box labeled 'ISDN IS' which contains 'ETS 300 765-2 RLL Access Profile (RAP)' and 'DATA Profile'. Below this are 'EMC standards' and 'Network standards'. Arrows point from the central box to various icons on the right: a fax machine, a laptop, a modem, a router, and a cloud labeled 'Network'. A large 'X' is drawn over the arrows pointing to the router and network cloud. A small code 'T0907910-99/d09' is at the bottom right. + +**Figure I.4/J.114 – Documents relating to RLL (advanced telephony)** + +- Type F: An application profile specifically supporting teleservices, such as fax building upon the services offered by the type A/B and C profiles. +- Class 1: Local area applications with pre-registered terminals. +- Class 2: Roaming applications, both public and private. + +##### I.3.2.1 PPP interworking DSP + +The ETSI project DECT approved in June 1997 a DSP for PPP interworking for public enquiry (see EN 301 240 [5]), which builds upon ETS 300 651 [12] and ETS 300 701 [13]. + +The reasons for the choice of the PPP interworking DSP (see EN 301 240 [5]) for DVB applications are that it offers interworking to PPP, which the DVB network-independent protocols (see Recommendation J.111 [2]) makes use of, and a reliable and effective handling of data traffic over the air interface. The PPP interworking DSP and Recommendation J.111 [2] make references to the PPP specifications. This means that there is a harmonized overlap, but the PPP specifications should only be implemented once. A reliable and effective handling of data traffic is important for DVB applications and results from the fact that the PPP interworking DSP builds upon the C.2 profile (Type C, mobility Class 2). + +The PPP interworking DSP specifies an interworking profile for non-voice equipment with roaming mobility, providing PPP transmission to allow dial-up Internet access and general multi-protocol datagram transport. PPP packet transfers on the DECT air interface are specified via a high efficient DECT packet transmission protocol. However, interworking to the fixed network may be via a number of interface protocols, including X.25, Frame Relay, ATM, and traditional circuit switched voiceband modem and ISDN connection. + +The profile is intended for roaming applications and so specifies mobility Class 2. It thus specifies the requirements on the Network layer Call Control and Mobility Management entities to provide full public services. This profile defines the specific requirements on the Physical (PHL), Medium Access Control (MAC), Data Link Control (DLC) and Network (NWK) layers of DECT. The standard also specifies Management Entity (ME) requirements and generic interworking conventions which ensure the efficient use of the DECT spectrum. + +### **I.4 Wireless Relay Station (WRS)** + +A WRS is a special DECT unit, combining elements of both PPs and FPs, that is capable of intelligently relaying DECT radio transmissions to extend the coverage area (see ETS 300 700 [6]). A PP does not distinguish between a WRS and an FP. + +### **I.5 DECT Authentication Module (DAM)** + +Access rights and other subscription related information can be loaded into a PP over the air, via a connector, or by inserting a chip card. To use a DAM card, a PP has to be provided with the DAM interface. + +DAM is a chip card that can be programmed with DECT identities and inserted into a DECT PP with an appropriate DAM card interface. It provides one method by which a DECT system operator can load user identities, access rights information, security parameters (authentication and cipher keys) into a PP. + +A DAM card can be used in conjunction with different profiles, i.e. it is not restricted to any particular application. + +The DAM card is compatible with the corresponding card in GSM [the Subscriber Identity Module (SIM)]. + +# **Appendix II** + +## **DECT implementation alternatives** + +Several implementation alternatives are possible when DECT is used as the interaction channel, which are based on the facts that DECT is a flexible solution that can be adapted to several networks and cope with several different services. The DECT standard supports e.g. combined telephony/data implementations. In the default configuration described in clause 5, the RAP data service (DSP PPP interworking) has been chosen. In certain scenarios, other DECT STB implementations can be used. + +If a DECT STB is used as an access to the PSTN, the RAP (see ETS 300 765-1 [7]) or the GAP (see ETS 300 444 [8]) can be implemented in the IIM. The GAP implementation offers, however, a very limited data capability. If a DECT STB is used as an access to ISDN, the RAP (see ETS 300 765-2 [4]) or an ISDN profile can be implemented in the IIM. + +In Figure II.1, a multi-service scenario is shown where the DVB platform is supported in combination with other platforms. This scenario includes a Network Termination Unit (NTU) in the home. An NTU is a unit which should be considered to be a part of the Interaction Network. An NTU can include a DECT WRS and/or a DECT CTA. + +A DECT WRS offers the user mobility within the premises, which can be used to provide the STB with a wireless interface when a DECT PP is integrated in the STB. + +![Diagram of a DECT scenario with multi-service support. A Home NTU (containing DECT interface, DECT WRS, DECT CTA, and A/V distribution) is connected via a DECT RAP data service to an STB (DECT PP RAP data service + STU). The STB is connected to a radio and a TV. The Home NTU also receives Video and Audio and provides DECT RAP data service. The STB is connected to a list of Platforms: Telemetrics, Telecom, Internet, DVB Interactive A/V, and Analogue broadcast.](5b8a756d9a71c35f17db8bcb90b438a3_img.jpg) + +DVB Interactive A/V services, e.g.: + +- PPV (Pay Per View) +- NVOD (Near Video-On-Demand) +- VOD (Video-On-Demand) +- Teleshopping + +Platforms: + +- Telemetrics +- Telecom +- Internet +- DVB Interactive A/V +- Analogue broadcast + +T0907920-99/d10 + +Diagram of a DECT scenario with multi-service support. A Home NTU (containing DECT interface, DECT WRS, DECT CTA, and A/V distribution) is connected via a DECT RAP data service to an STB (DECT PP RAP data service + STU). The STB is connected to a radio and a TV. The Home NTU also receives Video and Audio and provides DECT RAP data service. The STB is connected to a list of Platforms: Telemetrics, Telecom, Internet, DVB Interactive A/V, and Analogue broadcast. + +Figure II.1/J.114 – DECT scenario with multi-service support + +A DECT Cordless Terminal Adapter (CTA) offers the possibility to connect different kinds of equipment to physical interface ports, e.g. a PSTN port, an ISDN port, a LAN (Ethernet, Token Ring) port or a serial link (RS-232, Universal Serial Bus) port. A DECT CTA port can be used to connect an STB using a physical interface supported by the DECT CTA and the STB. The IIM is in this case external to the STB and is represented by the DECT CTA. + + + +# ITU-T RECOMMENDATIONS SERIES + +| | | +|-----------------|--------------------------------------------------------------------------------------------------------------------------------| +| Series A | Organization of the work of the ITU-T | +| Series B | Means of expression: definitions, symbols, classification | +| Series C | General telecommunication statistics | +| Series D | General tariff principles | +| Series E | Overall network operation, telephone service, service operation and human factors | +| Series F | Non-telephone telecommunication services | +| Series G | Transmission systems and media, digital systems and networks | +| Series H | Audiovisual and multimedia systems | +| Series I | Integrated services digital network | +| Series J | Transmission of television, sound programme and other multimedia signals | +| Series K | Protection against interference | +| Series L | Construction, installation and protection of cables and other elements of outside plant | +| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits | +| Series N | Maintenance: international sound programme and television transmission circuits | +| Series O | Specifications of measuring equipment | +| Series P | Telephone transmission quality, telephone installations, local line networks | +| Series Q | Switching and signalling | +| Series R | Telegraph transmission | +| Series S | Telegraph services terminal equipment | +| Series T | Terminals for telematic services | +| Series U | Telegraph switching | +| Series V | Data communication over the telephone network | +| Series X | Data networks and open system communications | +| Series Y | Global information infrastructure | +| Series Z | Languages and general software aspects for telecommunication systems | \ No newline at end of file diff --git a/marked/J/T-REC-J.115-199909-I_PDF-E/27b06ec9f42b5d727a2630f61a5f1861_img.jpg b/marked/J/T-REC-J.115-199909-I_PDF-E/27b06ec9f42b5d727a2630f61a5f1861_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..59bf5eb9ab2c7999fa38d7f75d22893c1c456698 --- /dev/null +++ b/marked/J/T-REC-J.115-199909-I_PDF-E/27b06ec9f42b5d727a2630f61a5f1861_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:390949c6d7cf0a3e3ae21d30f69309baf9773f1923757e2a7f725d0b923c9202 +size 91489 diff --git a/marked/J/T-REC-J.115-199909-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/J/T-REC-J.115-199909-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..78938b39ffa4859ee7cd9e55ac8b6049021094d0 --- /dev/null +++ b/marked/J/T-REC-J.115-199909-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a17933b9f5b9c68859f6814fc8645a9c80ae2a780ce44a9dfe34f6323cf1a7ac +size 8362 diff --git a/marked/J/T-REC-J.115-199909-I_PDF-E/70de8885bd7de15723aaad5eb5c5febf_img.jpg b/marked/J/T-REC-J.115-199909-I_PDF-E/70de8885bd7de15723aaad5eb5c5febf_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1067935d130fbb524a50198e2cccfdcba5231b18 --- /dev/null +++ b/marked/J/T-REC-J.115-199909-I_PDF-E/70de8885bd7de15723aaad5eb5c5febf_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0e8d688484ca8458203c6fd59af760e7df3fe644ae7a45d4d04e7320359f148 +size 21953 diff --git a/marked/J/T-REC-J.115-199909-I_PDF-E/8e14350b4b669119a3bdfca7869110ca_img.jpg b/marked/J/T-REC-J.115-199909-I_PDF-E/8e14350b4b669119a3bdfca7869110ca_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..87eae3598e06e32a2415a9e41e9046f1895b6be3 --- /dev/null +++ b/marked/J/T-REC-J.115-199909-I_PDF-E/8e14350b4b669119a3bdfca7869110ca_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e8f5a15c935cb023847a87d2388715a67e4b68109d8abb3b19882d6cc96d388 +size 33992 diff --git a/marked/J/T-REC-J.115-199909-I_PDF-E/ff0952ef692c9d960ce5f6708bcc9711_img.jpg b/marked/J/T-REC-J.115-199909-I_PDF-E/ff0952ef692c9d960ce5f6708bcc9711_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..21d5392ba4469bb6cd4c12319645f1e371b12bd0 --- /dev/null +++ b/marked/J/T-REC-J.115-199909-I_PDF-E/ff0952ef692c9d960ce5f6708bcc9711_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f0acb9b09bb987dfbc054bb15911d8dcba17ee5ff2982c787d872bdeea2d9a7 +size 67981 diff --git a/marked/J/T-REC-J.1202-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/J/T-REC-J.1202-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1e32f9b8f1141bed243c16e02a6cd1411cbb87f1 --- /dev/null +++ b/marked/J/T-REC-J.1202-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c395c4bbde83b1e232652a43f51538278c116f51f710c37e20a073f7333726c8 +size 6134 diff --git a/marked/J/T-REC-J.1202-202201-I_PDF-E/18442e4e239480f0c3c95b547aa8fde2_img.jpg b/marked/J/T-REC-J.1202-202201-I_PDF-E/18442e4e239480f0c3c95b547aa8fde2_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f9bc18a438b894dd002cdcd086e17544ef4cc46f --- /dev/null +++ b/marked/J/T-REC-J.1202-202201-I_PDF-E/18442e4e239480f0c3c95b547aa8fde2_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7865ee2bb4d5838caa95611b7f7e360b1fdb34c8a37923dc6fb4add81013a252 +size 49469 diff --git a/marked/J/T-REC-J.1202-202201-I_PDF-E/27b06ec9f42b5d727a2630f61a5f1861_img.jpg b/marked/J/T-REC-J.1202-202201-I_PDF-E/27b06ec9f42b5d727a2630f61a5f1861_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e54eb544151756abfbd7785ff299aaaddb9f6a3b --- /dev/null +++ b/marked/J/T-REC-J.1202-202201-I_PDF-E/27b06ec9f42b5d727a2630f61a5f1861_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd966ee93d894173a6225b2909831d0fc5ca007c1f8077a6dc7a3935ac7fdbaa +size 48709 diff --git a/marked/J/T-REC-J.1202-202201-I_PDF-E/33ed1f9b27c7c21c797aa928b0f06851_img.jpg b/marked/J/T-REC-J.1202-202201-I_PDF-E/33ed1f9b27c7c21c797aa928b0f06851_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6f1df88dec4d2024d4ca7a4d03232dc183228d2d --- /dev/null +++ b/marked/J/T-REC-J.1202-202201-I_PDF-E/33ed1f9b27c7c21c797aa928b0f06851_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83634c0a7f0e143c2a6eb47545fcd74f3249ed5c3d66a85c7801b9ec6e6ade76 +size 70268 diff --git a/marked/J/T-REC-J.1202-202201-I_PDF-E/37819f1170c36655c57129b6bd8a5ceb_img.jpg b/marked/J/T-REC-J.1202-202201-I_PDF-E/37819f1170c36655c57129b6bd8a5ceb_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..96570b3e107f038bab1abcf1103cfd90b67f3340 --- /dev/null +++ b/marked/J/T-REC-J.1202-202201-I_PDF-E/37819f1170c36655c57129b6bd8a5ceb_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cf1774a6a52b52bf734a7239d41661857ff13cc3251558e58bad2cdee87cb60 +size 86971 diff --git a/marked/J/T-REC-J.1202-202201-I_PDF-E/3fa8bfee86764e3c3a1a6fbbe61bbd52_img.jpg b/marked/J/T-REC-J.1202-202201-I_PDF-E/3fa8bfee86764e3c3a1a6fbbe61bbd52_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f2d0269abd23e41679e568ee43e504e73e621135 --- /dev/null +++ b/marked/J/T-REC-J.1202-202201-I_PDF-E/3fa8bfee86764e3c3a1a6fbbe61bbd52_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dcfb7e9929ee45bad46efe6ce17b16744731aaf2ce729573ec34fc47843a6cda +size 27652 diff --git a/marked/J/T-REC-J.1202-202201-I_PDF-E/41a438d7e4adc17c3a4005e7c9500091_img.jpg b/marked/J/T-REC-J.1202-202201-I_PDF-E/41a438d7e4adc17c3a4005e7c9500091_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..451e07c10ed06f8a81b06f44eeabfce179cbe4bd --- /dev/null +++ b/marked/J/T-REC-J.1202-202201-I_PDF-E/41a438d7e4adc17c3a4005e7c9500091_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d6ec6f76defe9b3cc7c2c94c0a70a5d721e627800bd542c586c38fd8f8c5108 +size 74524 diff --git a/marked/J/T-REC-J.1202-202201-I_PDF-E/4ee27dbf5ef12e7b58b0ef0937bc5a5e_img.jpg b/marked/J/T-REC-J.1202-202201-I_PDF-E/4ee27dbf5ef12e7b58b0ef0937bc5a5e_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..92722da33f9f8e69fdf38b1402d7bcfde3a4920a --- /dev/null +++ b/marked/J/T-REC-J.1202-202201-I_PDF-E/4ee27dbf5ef12e7b58b0ef0937bc5a5e_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5368d82d5dccbc2c3bccdb7fdb97f58c657f3998d138c235623a2f1266099989 +size 19423 diff --git a/marked/J/T-REC-J.1202-202201-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg b/marked/J/T-REC-J.1202-202201-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..77510ba09a8866ff618370ff9f09567aa5da65af --- /dev/null +++ b/marked/J/T-REC-J.1202-202201-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:271c1657940f5e181a145649ca2f842a1b563f0bd3a19cfc0da1867464c16362 +size 21547 diff --git a/marked/J/T-REC-J.1202-202201-I_PDF-E/76b0cd79baaedd942af4dc42f2e764b8_img.jpg b/marked/J/T-REC-J.1202-202201-I_PDF-E/76b0cd79baaedd942af4dc42f2e764b8_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ca989dd4b8f1ee8d0313afb99b011787c156524e --- /dev/null +++ b/marked/J/T-REC-J.1202-202201-I_PDF-E/76b0cd79baaedd942af4dc42f2e764b8_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:644cb05f7b962bfa8f676f27eb3e18e7cda69d0d767d8b887a649ceac2ce8b35 +size 59023 diff --git a/marked/J/T-REC-J.1202-202201-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg b/marked/J/T-REC-J.1202-202201-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b84b5d037c72ca6fa3f321495b3cef7df31ca677 --- /dev/null +++ b/marked/J/T-REC-J.1202-202201-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9287c9890201a18c041b4c399d9abd088eeb2b2552d5c70981240dd1528f51d5 +size 157215 diff --git a/marked/J/T-REC-J.1202-202201-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg b/marked/J/T-REC-J.1202-202201-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0424aeb4d756ad50cd849227a6b1d4134a784d0f --- /dev/null +++ b/marked/J/T-REC-J.1202-202201-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6d2f35c0fcc55b8a66ff6d1086c9dafe69f356d6024246340d9588f47910e59 +size 49903 diff --git a/marked/J/T-REC-J.1202-202201-I_PDF-E/e9d825d87c5f85c8dba0664eace96ef4_img.jpg b/marked/J/T-REC-J.1202-202201-I_PDF-E/e9d825d87c5f85c8dba0664eace96ef4_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0f70989fe86c30f35fb71a0d99290de0f91af5c5 --- /dev/null +++ b/marked/J/T-REC-J.1202-202201-I_PDF-E/e9d825d87c5f85c8dba0664eace96ef4_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99c2850aefb9f717e129945bc9d2e52b54d273acea2147a4e5a60283943c6c0b +size 60175 diff --git a/marked/J/T-REC-J.1202-202201-I_PDF-E/f57a881fcbcaf494a7dedc4f61224991_img.jpg b/marked/J/T-REC-J.1202-202201-I_PDF-E/f57a881fcbcaf494a7dedc4f61224991_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b245a1b37df0136d62feece625071c2032d507f4 --- /dev/null +++ b/marked/J/T-REC-J.1202-202201-I_PDF-E/f57a881fcbcaf494a7dedc4f61224991_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8748ad81cdbee2ceef0eca1ae70f34adfa5f9a6efd981745aacfbda246db2d61 +size 35348 diff --git a/marked/J/T-REC-J.122-200712-I_PDF-E/raw.md b/marked/J/T-REC-J.122-200712-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..6c8ee937d12d4f3201cabab819e4272268b33b1e --- /dev/null +++ b/marked/J/T-REC-J.122-200712-I_PDF-E/raw.md @@ -0,0 +1,17103 @@ + + +**ITU-T** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +**J.122** + +(12/2007) + +SERIES J: CABLE NETWORKS AND TRANSMISSION +OF TELEVISION, SOUND PROGRAMME AND OTHER +MULTIMEDIA SIGNALS + +Interactive systems for digital television distribution + +--- + +**Second-generation transmission systems for +interactive cable television services – IP cable +modems** + +Recommendation ITU-T J.122 + + + +# **Recommendation ITU-T J.122** + +# **Second-generation transmission systems for interactive cable television services – IP cable modems** + +## **Summary** + +This Recommendation describes transmission systems that are consistent with those described in ITU-T Recommendation J.112. Its purpose is to provide a technology through which the demand for symmetrical services on cable networks can be met. This second-generation technology, while using the same RF channel, is backward compatible with that of ITU-T Recommendation J.112. It provides a significant increase in upstream channel capacity with wider channels, higher symbol rate and increased spectral efficiency. It provides for both Synchronous-CDMA and Advanced-TDMA coding and also adds higher order modulation capabilities. It is more robust with regard to noise immunity and provides greater multipath protection than the technology used in ITU-T Recommendation J.112. + +## **Source** + +Recommendation ITU-T J.122 was approved on 14 December 2007 by ITU-T Study Group 9 (2005-2008) under Recommendation ITU-T A.8 procedure. + +## FOREWORD + +The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. + +The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics. + +The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1. + +In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. + +## NOTE + +In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure e.g. interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party. + +## INTELLECTUAL PROPERTY RIGHTS + +ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. + +As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at . + +© ITU 2009 + +All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU. + +# CONTENTS + +| | | Page | +|-----|-------------------------------------------------------|------| +| 1 | Scope and purpose ..... | 1 | +| 1.1 | Scope ..... | 1 | +| 1.2 | Requirements ..... | 1 | +| 1.3 | Background ..... | 2 | +| 1.4 | Conventions for this Recommendation ..... | 4 | +| 2 | References ..... | 4 | +| 2.1 | Normative references ..... | 4 | +| 2.2 | Informative references ..... | 6 | +| 3 | Glossary ..... | 7 | +| 3.1 | Abbreviations and acronyms ..... | 7 | +| 3.2 | Terms and definitions ..... | 9 | +| 4 | Functional assumptions ..... | 17 | +| 4.1 | Broadband access network ..... | 17 | +| 4.2 | Equipment assumptions ..... | 18 | +| 4.3 | RF channel assumptions ..... | 18 | +| 4.4 | Transmission levels ..... | 20 | +| 4.5 | Frequency inversion ..... | 21 | +| 5 | Communication protocols ..... | 21 | +| 5.1 | Protocol stack ..... | 21 | +| 5.2 | The MAC forwarder ..... | 25 | +| 5.3 | Network layer ..... | 27 | +| 5.4 | Above the network layer ..... | 29 | +| 5.5 | Data link layer ..... | 30 | +| 5.6 | Physical layer ..... | 30 | +| 6 | Physical media dependent sublayer specification ..... | 31 | +| 6.1 | Scope ..... | 31 | +| 6.2 | Upstream ..... | 31 | +| 6.3 | Downstream ..... | 88 | +| 7 | Downstream transmission convergence sublayer ..... | 94 | +| 7.1 | Introduction ..... | 94 | +| 7.2 | MPEG packet format ..... | 95 | +| 7.3 | MPEG header for DOCS data-over-cable ..... | 95 | +| 7.4 | MPEG payload for DOCS data-over-cable ..... | 96 | +| 7.5 | Interaction with the MAC sublayer ..... | 96 | +| 7.6 | Interaction with the Physical Layer ..... | 98 | +| 7.7 | MPEG header synchronization and recovery ..... | 98 | +| 8 | Media access control specification ..... | 98 | +| 8.1 | Introduction ..... | 98 | + +| | Page | +|---------------------------------------------------------------|-------------| +| 8.2 MAC frame formats ..... | 101 | +| 8.3 MAC management messages ..... | 121 | +| 9 Media access control protocol operation ..... | 172 | +| 9.1 Upstream bandwidth allocation ..... | 172 | +| 9.2 Support for multiple channels ..... | 181 | +| 9.3 Timing and synchronization ..... | 181 | +| 9.4 Upstream transmission and contention resolution ..... | 185 | +| 9.5 Data link encryption support ..... | 187 | +| 10 Quality of service and fragmentation ..... | 188 | +| 10.1 Theory of operation ..... | 188 | +| 10.2 Upstream service flow scheduling services ..... | 203 | +| 10.3 Fragmentation ..... | 207 | +| 10.4 Payload header suppression ..... | 214 | +| 11 Cable modem – CMTS interaction ..... | 221 | +| 11.1 CMTS initialization ..... | 221 | +| 11.2 Cable modem initialization ..... | 221 | +| 11.3 Standard operation ..... | 243 | +| 11.4 Dynamic service ..... | 250 | +| 11.5 Fault detection and recovery ..... | 309 | +| 12 Supporting future new cable modem capabilities ..... | 310 | +| 12.1 Downloading cable modem operating software ..... | 310 | +| Annex A – Well-known addresses ..... | 312 | +| A.1 MAC addresses ..... | 312 | +| A.2 MAC service IDs ..... | 312 | +| A.3 MPEG PID ..... | 313 | +| Annex B – Parameters and constants ..... | 314 | +| Annex C – Common radio frequency interface encodings ..... | 317 | +| C.1 Encodings for configuration and MAC-layer messaging ..... | 317 | +| C.2 Quality-of-service-related encodings ..... | 342 | +| C.3 Encodings for other interfaces ..... | 366 | +| C.4 Confirmation code ..... | 367 | +| Annex D – CM configuration interface specification ..... | 371 | +| D.1 CM IP addressing ..... | 371 | +| D.2 CM configuration ..... | 372 | +| D.3 Configuration verification ..... | 376 | +| Annex E – The data-over-cable spanning tree protocol ..... | 378 | +| E.1 Background ..... | 378 | +| E.2 Public spanning tree ..... | 378 | +| E.3 Public spanning tree protocol details ..... | 379 | + +| | Page | +|-----------------------------------------------------------|-------------| +| E.4 Spanning tree parameters and defaults ..... | 380 | +| Annex F – European specification additions ..... | 382 | +| F.1 Scope and purpose ..... | 382 | +| F.2 References ..... | 382 | +| F.3 Glossary ..... | 382 | +| F.4 Functional assumptions ..... | 382 | +| F.5 Communication protocols ..... | 385 | +| F.6 Physical media dependent sublayer specification ..... | 386 | +| F.7 Downstream transmission convergence sublayer ..... | 407 | +| F.8 Media access control specification ..... | 408 | +| Annex G – DOCS 2.0 and 1.0/1.1 interoperability ..... | 410 | +| G.1 General interoperability issues ..... | 410 | +| G.2 Hybrid devices ..... | 413 | +| G.3 DOCS 2.0 TDMA interoperability ..... | 414 | +| G.4 DOCS 2.0 S-CDMA interoperability ..... | 415 | +| Annex H – The DOCS MAC/PHY interface (DMPI) ..... | 416 | +| H.1 Scope ..... | 416 | +| H.2 Conventions ..... | 416 | +| H.3 Overview ..... | 417 | +| H.4 Signals ..... | 420 | +| H.5 Protocol ..... | 423 | +| H.6 Electrical specifications ..... | 428 | +| H.7 Timing specifications ..... | 428 | +| H.8 Data format and usage ..... | 430 | +| Annex I – (Set aside) ..... | 438 | +| Annex J – Japan specification additions ..... | 438 | +| J.1 Scope and purpose ..... | 438 | +| J.2 References ..... | 438 | +| J.3 Glossary ..... | 438 | +| J.4 Functional assumptions ..... | 438 | +| J.5 Communication protocols ..... | 442 | +| J.6 Physical media dependent sublayer specification ..... | 442 | +| J.7 Downstream transmission convergence sublayer ..... | 465 | +| J.8 Media access control specification ..... | 465 | +| J.9 Media access control protocol operation ..... | 466 | +| J.10 Quality of service and fragmentation ..... | 467 | +| J.11 Cable modem – CMTS interaction ..... | 467 | +| J.C Common radio frequency interface encodings ..... | 467 | +| J.E The data-over-cable spanning tree protocol ..... | 468 | + +| | Page | +|----------------------------------------------------------------------------|------| +| Appendix I – MAC service definition..... | 469 | +| I.1    MAC service overview ..... | 469 | +| I.2    MAC data service interface ..... | 471 | +| I.3    MAC control service interface ..... | 473 | +| I.4    MAC service usage scenarios..... | 476 | +| Appendix II – Example preamble sequence ..... | 477 | +| II.1   Introduction ..... | 477 | +| II.2   Example preamble sequence ..... | 477 | +| Appendix III – Multiple upstream channels ..... | 479 | +| III.1  Single downstream and single upstream per cable segment ..... | 479 | +| III.2  Multiple downstreams and multiple upstreams per cable segment ..... | 481 | +| Appendix IV – DOCS transmission and contention resolution ..... | 485 | +| IV.1   Introduction ..... | 485 | +| IV.2   Variable definitions ..... | 486 | +| IV.3   State examples..... | 487 | +| IV.4   Function examples..... | 488 | +| Appendix V – IGMP example ..... | 490 | +| V.1    Events ..... | 490 | +| V.2    Actions..... | 491 | +| Appendix VI – Unsolicited grant services ..... | 492 | +| VI.1   Unsolicited grant service (UGS) ..... | 492 | +| VI.2   Unsolicited grant service with activity detection (UGS-AD)..... | 494 | +| Appendix VII – S-CDMA framing ..... | 498 | +| VII.1  Coded subsymbol numbering..... | 498 | +| VII.2  Uncoded subsymbol numbering..... | 498 | +| VII.3  Framer output numbering..... | 499 | +| VII.4  Comments..... | 499 | +| Appendix VIII – Ambient temperature and wind loading effects ..... | 500 | +| VIII.1 Synchronization tolerances to plant delay variations ..... | 500 | +| VIII.2 Change in propagation delay due to temperature changes ..... | 501 | +| Bibliography..... | 503 | + +# Recommendation ITU-T J.122 + +# Second-generation transmission systems for interactive cable television services – IP cable modems + +# 1 Scope and purpose + +## 1.1 Scope + +This Recommendation defines the second generation of radio-frequency interface specifications for high-speed data-over-cable systems. + +There are differences in the cable spectrum planning practices adopted for different networks in the world. Therefore, three options for physical layer technology are included, which have equal priority and are not required to be interoperable. One technology option is based on the downstream multi-programme television distribution that is deployed using 6 MHz channelling, and supports upstream transmission in the 5-42 MHz region. The second technology option is based on a multi-programme television distribution using 8 MHz channel spacing and supports upstream in the 5-65 MHz region. The third technology option is based on 6 MHz channel spacing and supports upstream in the 10-55 MHz region. All options have equal status. The first of these options is defined in clauses 4, 6 and 7, whereas the second and third are defined by replacing the content of those clauses with the content of Annex F or Annex J. Compliance with this Recommendation requires compliance with only one of these implementations. It is not required that equipment built to one option shall interoperate with equipment built to another. + +These optional physical-layer technologies allow operators some flexibility within any frequency planning, EMC and safety requirements that are mandated for their area of operation. For example, the 6 MHz downstream-based option defined by clauses 4, 6 and 7 might be deployable within an 8 MHz channel plan. + +Frequency planning, safety and EMC requirements are a national matter and are not covered by this Recommendation. Compliance remains the operators' responsibility. + +All optional physical-layer technologies are required to be backwards compatible with the earlier versions of those options defined in [DOCS9], [DOCS11] and [DOCS12]. + +NOTE – The structure and content of this Recommendation have been organized for ease of use by those familiar with the original source material; as such, the usual style of ITU-T recommendations has not been applied. + +## 1.2 Requirements + +If this Recommendation is implemented, the key words "MUST" and "SHALL" as well as "REQUIRED" are to be interpreted as indicating a mandatory aspect of this Recommendation. The keywords indicating a certain level of significance of a particular requirement that are used throughout this Recommendation are summarized below. + +**MUST** This word or the adjective "REQUIRED" means that the item is an absolute requirement of this Recommendation. + +**MUST NOT** This phrase means that the item is an absolute prohibition of this Recommendation. + +**SHOULD** This word or the adjective "RECOMMENDED" means that there may exist valid reasons in particular circumstances to ignore this item, but the full implications + +should be understood and the case carefully weighed before choosing a different course. + +**SHOULD NOT** This phrase means that there may exist valid reasons in particular circumstances when the listed behaviour is acceptable or even useful, but the full implications should be understood and the case carefully weighed before implementing any behaviour described with this label. + +**MAY** This word or the adjective "OPTIONAL" means that this item is truly optional. One vendor may choose to include the item because a particular marketplace requires it or because it enhances the product, for example; another vendor may omit the same item. + +This Recommendation defines many features and parameters, and a valid range for each parameter is usually specified. Equipment (CM and CMTS) requirements are always explicitly stated. Equipment must comply with all mandatory (MUST and MUST NOT) requirements to be considered compliant with this Recommendation. Support of non-mandatory features and parameter values is optional. + +## 1.3 Background + +### 1.3.1 Service goals + +As cable operators have widely deployed high-speed data services on cable television systems, the demand for upstream bandwidth has increased, particularly with the popularity of more symmetric data applications. The current Recommendation has been created for the purpose of increasing channel capacity and improving noise immunity. + +The intended service will allow transparent bidirectional transfer of Internet protocol (IP) traffic, between the cable system headend and customer locations, over an all-coaxial or hybrid-fibre/coax (HFC) cable network. This is shown in simplified form in Figure 1-1. + +![Diagram of transparent IP traffic through the data-over-cable system](54fabc351eda5228d2fa28cd9ba07971_img.jpg) + +The diagram illustrates the flow of IP traffic through a data-over-cable system. On the left, a box labeled 'Wide area network' is connected via a double-headed arrow to a box labeled 'Cable modem termination system (CMTS)'. This connection is labeled 'CMTS network side interface'. From the CMTS, a single-headed arrow points right through a box labeled 'Cable network' to a box labeled 'Cable modem (CM)'. From the CM, a double-headed arrow points right to a box labeled 'Customer premises equipment' (represented by a computer icon). This connection is labeled 'CM customer premises equipment interface'. A bracket below the CMTS, Cable network, and CM is labeled 'Transparent IP traffic through the system'. The text 'J.122\_F1-1' is in the bottom right corner. + +Diagram of transparent IP traffic through the data-over-cable system + +**Figure 1-1 – Transparent IP traffic through the data-over-cable system** + +The transmission path over the cable system is realized at the headend by a cable modem termination system (CMTS), and at each customer location by a cable modem (CM). At the headend (or hub), the interface to the data-over-cable system is called the cable modem termination system-network side interface (CMTS-NSI). At the customer locations, the interface is called the cable-modem-to-customer-premises-equipment interface (CMCI). The intent is for operators to transparently transfer IP traffic between these interfaces, including but not limited to datagrams, DHCP, ICMP and IP group addressing (broadcast and multicast). + +### 1.3.2 Reference architecture + +The reference architecture for the data-over-cable services and interfaces is shown in Figure 1-2. + +![Figure 1-2 – Data-over-cable reference architecture. This block diagram shows the internal components of a Distribution hub or headend and its external connections. On the left, external connections include PSTN (via Copper pairs, DS1 or DS3), WAN, and Backbone network. The headend contains a Telco return access concentrator (TRAC), a Generic headend switch or backbone transport adapter, a Local server facility, and a Remote server facility. The central part is the Cable modem termination system (CMTS), which includes Network termination, Mod, Demod, and is connected to an Operations support system (via DOCS-OSSI), a Cable modem termination system – network side interface (CMTS-NSI), a Baseline privacy interface (BPI), and a Security & Access Controller. Downstream signals (Video 1, Video 2, Data) are combined and sent to a Tx (Transmitter). Upstream signals (Data) are received from a Rx (Receiver) and sent to an Upstream splitter and filter bank. The Tx and Rx are connected to a Distribution network via Fibre and Coax. The Fibre path goes through an O/E node to a Cable modem, which connects to Customer premises equipment via a Cable modem to CPE interface (CMCI). The Coax path goes through another O/E node to a Cable modem to RF interface (CMTRI), which connects to a Telco return line. The diagram is labeled J.122_F1-2.](cfef993dcc8fb513de79eb1f93cf26ae_img.jpg) + +Figure 1-2 – Data-over-cable reference architecture. This block diagram shows the internal components of a Distribution hub or headend and its external connections. On the left, external connections include PSTN (via Copper pairs, DS1 or DS3), WAN, and Backbone network. The headend contains a Telco return access concentrator (TRAC), a Generic headend switch or backbone transport adapter, a Local server facility, and a Remote server facility. The central part is the Cable modem termination system (CMTS), which includes Network termination, Mod, Demod, and is connected to an Operations support system (via DOCS-OSSI), a Cable modem termination system – network side interface (CMTS-NSI), a Baseline privacy interface (BPI), and a Security & Access Controller. Downstream signals (Video 1, Video 2, Data) are combined and sent to a Tx (Transmitter). Upstream signals (Data) are received from a Rx (Receiver) and sent to an Upstream splitter and filter bank. The Tx and Rx are connected to a Distribution network via Fibre and Coax. The Fibre path goes through an O/E node to a Cable modem, which connects to Customer premises equipment via a Cable modem to CPE interface (CMCI). The Coax path goes through another O/E node to a Cable modem to RF interface (CMTRI), which connects to a Telco return line. The diagram is labeled J.122\_F1-2. + +Figure 1-2 – Data-over-cable reference architecture + +### 1.3.3 Categories of interface specification + +The basic reference architecture of Figure 1-2 involves four interface categories. + +**Data interfaces** – These are the CMCI and CMTS-NSI, corresponding respectively to the cable-modem-to-customer-premises-equipment (CPE) interface (for example, between the customer's computer and the cable modem), and the cable modem termination system network side interface between the cable modem termination system and the data network. + +**Operations support systems interfaces** – These are network element management layer interfaces between the network elements and the high-level operations support systems (OSSs), which support the basic business processes. + +**RF interfaces** – The RF interfaces defined in this Recommendation are the following: + +- between the cable modem and the cable network; +- between the CMTS and the cable network in the downstream direction (traffic toward the customer); +- between the CMTS and the cable network in the upstream direction (traffic from the customer). + +**Security interfaces** – Baseline data-over-cable security is defined in [DOCS8]. + +### 1.3.4 Statement of compatibility + +This Recommendation specifies an interface, commonly referred to as DOCS 2.0, which is the second generation of the interface specified in [DOCS9], [DOCS11] and [DOCS12], commonly referred to as DOCS 1.x. DOCS 2.0 must be backward- and forward-compatible with equipment built to the previous Recommendations. DOCS 2.0-compliant CMs MUST interoperate seamlessly with DOCS 1.x CMTSs, albeit in the 1.x mode, as the case may be. DOCS 2.0-compliant CMTSs MUST seamlessly support DOCS 1.x CMs. + +Refer to Annex G for further interoperability information. + +## 1.4 Conventions for this Recommendation + +In this Recommendation, the following convention applies any time a bit field is displayed in a figure. The bit field should be interpreted by reading the figure from left to right, then from top to bottom, with the MSB being the first bit so read and the LSB being the last bit so read. + +# 2 References + +## 2.1 Normative references + +The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation. + +[DOCS3] Data-Over-Cable Service Interface Specifications, *Cable Modem Termination System – Network Side Interface Specification*, SP-CMTS-NSI01-960702. + +[DOCS4] Data-Over-Cable Service Interface Specifications, *Cable Modem to Customer Premise Equipment Interface Specification*, SP-CMCI-I04-000714. + +- [DOCS5] ANSI/SCTE 79-2 2002, *Data-Over-Cable System S 2.0 s, Operations Support System Interface*. +- [DOCS8] ITU-T J.112 Annex B (2001), *Data-over-cable service interface specifications, Annex O – Privacy for J.112 Annex B Implementations*. +- [DOCS9] SCTE 22-1 2002, *Data-Over-Cable Service Interface Specification, DOCSIS 1.0 Radio Frequency Interface (RFI)*. +- [DOCS11] ITU-T Recommendation J.112 Annex B (2001), *Data-over-cable service interface specifications: Radio-frequency interface specification*. +- [DOCS12] ITU-T Recommendation J.112 Annex C (2002), *Data-over-cable service interface specifications: Radio-frequency interface specification using QAM technique*. +- [IEEE 802] IEEE 802 (2001), *Local and Metropolitan Area Networks: Overview and Architecture*. +- [IEC 60169-24] IEC 60169-24 (1991), *Radio-frequency connectors – Part 24: Radio-frequency coaxial connectors with screw coupling, typically for uses in 75 ohm cable distribution systems (Type F)*. +- [ISO/IEC 8802-2] ISO/IEC 8802-2:1998 (ANSI/IEEE Std 802.2), *Information technology – Telecommunications and information exchange between systems – Local and metropolitan area networks – Specific requirements – Part 2: Logical link control*. +- [ISO/IEC 8802-3] ISO/IEC 8802-3:2000 (IEEE Std 802.3), *Information technology – Telecommunications and information exchange between systems – Local and metropolitan area networks – Specific requirements – Part 3: Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications*. +- [ISO/IEC 15802-3] ISO/IEC 15802-3:1998 (ANSI/IEEE Std 802.1D), *Information technology – Telecommunications and information exchange between systems – Local and metropolitan area networks – Common specifications – Part 3: Media Access Control (MAC) Bridges*. +- [ISO/IEC 15802-1] ISO/IEC 15802-1:1995, *Information technology – Telecommunications and information exchange between systems – Local and metropolitan area networks – Common specifications – Part 1: Medium Access Control (MAC) service definition*. +- [ISO/IEC 10039] ISO/IEC 10039:1991, *Information technology – Open systems interconnection – Medium Access Control (MAC) service definition*. +- [ITU-T H.222.0] ITU-T Recommendation H.222.0 (2000) | ISO/IEC 13818-1:2000, *Information technology – Generic coding of moving pictures and associated audio information: Systems*. +- [ITU-T J.83] ITU-T Recommendation J.83 (2007), *Digital multi-programme systems for television, sound and data services for cable distribution*. +- [ITU-T J.162] ITU-T Recommendation J.162 (2007), *Network call signalling protocol for the delivery of time-critical services over cable television networks using cable modems*. +- [ITU-T J.163] ITU-T Recommendation J.163 (2007), *Dynamic quality of service for the provision of real-time services over cable television networks using cable modems*. + +- [ITU-T X.25] ITU-T Recommendation X.25 (1996), *Interface between Data Terminal Equipment (DTE) and Data Circuit-terminating Equipment (DCE) for terminals operating in the packet mode and connected to public data networks by dedicated circuit.* +- [ITU-T X.690] ITU-T X.690-series (2002) | ISO/IEC 8825:2002, *Information technology – ASN.1 encoding rules.* +- [ITU-T Z.100] ITU-T Recommendation Z.100 (2002), *Specification and Description Language (SDL).* +- [L2VPN] DOCSIS Business Services over DOCSIS, *Layer 2 Virtual Private Networks*, CM-SP-L2VPN-105-070803, August 3, 2007, Cable Television Laboratories, Inc. +- [RFC 791] IETF RFC 791 (1981), *Internet Protocol.* +- [RFC 826] IETF RFC 826 (1982), *Ethernet Address Resolution Protocol: Or converting network protocol addresses to 48.bit Ethernet address for transmission on Ethernet Hardware.* +- [RFC 868] IETF RFC 868 (1983), *Time Protocol.* +- [RFC 1042] IETF RFC 1042 (1988), *Standard for the transmission of IP datagrams over IEEE 802 networks.* +- [RFC 1123] IETF RFC 1123 (1989), *Requirements for Internet Hosts – Application and Support.* +- [RFC 1157] IETF RFC 1157 (1990), *Simple Network Management Protocol (SNMP).* +- [RFC 1350] IETF RFC 1350 (1992), *The TFTP Protocol (Revision 2).* +- [RFC 2104] IETF RFC 2104 (1997), *HMAC: Keyed-Hashing for Message Authentication.* +- [RFC 2131] IETF RFC 2131 (1997), *Dynamic Host Configuration Protocol.* +- [RFC 2132] IETF RFC 2132 (1997), *DHCP Options and BOOTP Vendor Extensions.* +- [RFC 2236] IETF RFC 2236 (1997), *Internet Group Management Protocol, Version 2.* +- [RFC 2349] IETF RFC 2349 (1998), *TFTP Timeout Interval and Transfer Size Options.* +- [RFC 2786] IETF RFC 2786 (2000), *Diffie-Helman USM Key Management Information Base and Textual Convention.* +- [RFC 3046] IETF RFC 3046 (2001), *DHCP Relay Agent Information Option.* +- [FIPS 180-1] FIPS 180-1 (1995): *Secure Hash Standard.* + +## 2.2 Informative references + +- [b-CableLabs2] CableLabs2 (1999), *Digital Transmission Characterization of Cable Television Systems.* +- [b-EIA 542] CEA Standard 542-B (2003), *Cable Television Channel Identification Plan.* +- [b-EN 300 429] ETSI EN 300 429 V1.2.1 (1998), *Digital Video Broadcasting (DVB); Framing structure, channel coding and modulation for cable systems.* +- [b-ID-IGMP] FENNER (W.): IGMP-based Multicast Forwarding ("IGMP Proxying"), IETF Internet Draft, 2000. + +- [b-IEEE 802.1Q] IEEE 802.1Q (2003), *Virtual Bridged Local Area Networks.* + +- [b-IMA] Internet Multicast Addresses, *Internet Assigned Numbers Authority*. +. +- [b-NCTA] NCTA Recommended Practices for Measurements on Cable Television Systems, *National Cable Television Association*, 2nd Edition, Washington DC, 1993. +- [b-RFC 1058] IETF RFC 1058 (1988), *Routing Information Protocol*. +- [b-RFC 1493] IETF RFC 1493 (1993), *Definitions of Managed Objects for Bridges*. +- [b-RFC 1633] IETF RFC 1633 (1994), *Integrated Services in the Internet Architecture: an Overview*. +- [b-RFC 1812] IETF RFC 1812 (1995), *Requirements for IP Version 4 Routers*. +- [b-RFC 2212] IETF RFC 2212 (1997), *Specification of Guaranteed Quality of Service*. +- [b-RFC 2669] IETF RFC 2669 (1999), *DOCSIS Cable Device MIB Cable Device Management Information Base for DOCSIS compliant Cable Modems and Cable Modem Termination Systems*. +- [b-VECCHI] VECCHI (M.), FAHIM (M.): Architectural Model: The Spectrum Management Application (SMA) and the Common Spectrum Management Interface (CSMI), *Time Warner Cable*, Englewood, CO, 1995. + +# 3 Glossary + +## 3.1 Abbreviations and acronyms + +This Recommendation uses the following abbreviations and acronyms: + +| | | +|------------|---------------------------------------------------------| +| ARP | Address Resolution Protocol | +| ATM | Asynchronous Transfer Mode | +| BPDU | Bridge Protocol Data Unit | +| C/N or CNR | Carrier-to-Noise Ratio | +| CCCM | CPE Controlled Cable Modem | +| CM | Cable Modem | +| CMCI | Cable Modem to CPE Interface | +| CMTS | Cable Modem Termination System | +| CMTS-NSI | Cable Modem Termination System – Network Side Interface | +| CPE | Customer Premises Equipment | +| CSO | Composite Second Order beat | +| CTB | Composite Triple Beat | +| DCC | Dynamic Channel Change | +| DHCP | Dynamic Host Configuration Protocol | +| DOCS | Data-Over-Cable System | +| FDDI | Fibre Distributed Data Interface | +| HF | High Frequency | +| HFC | Hybrid Fibre/Coax system | +| HRC | Harmonic Related Carrier | + +| | | +|------|---------------------------------------| +| ICMP | Internet Control Message Protocol | +| IE | Information Element | +| IGMP | Internet Group Management Protocol | +| IP | Internet Protocol | +| IRC | Incremental Related Carriers | +| IUC | Interval Usage Code | +| LAN | Local Area Network | +| LLC | Logical Link Control procedure | +| MAC | Media Access Control procedure | +| MAP | Bandwidth Allocation Map | +| MPEG | Moving Picture Experts Group | +| MSAP | MAC Service Access Point | +| MTTR | Mean Time to Repair | +| NTSC | National Television Systems Committee | +| OSI | Open Systems Interconnection | +| OUI | Organizationally Unique Identifier | +| PHS | Payload Header Suppression | +| PHY | Physical layer | +| PID | Packet Identifier | +| PMD | Physical Media Dependent | +| PSI | Program-Specific Information | +| PUSI | Payload Unit Start Indicator | +| QAM | Quadrature Amplitude Modulation | +| QPSK | Quadrature Phase-Shift Keying | +| RF | Radio Frequency | +| RFC | Request for Comments | +| RIP | Routing Information Protocol | +| SAID | Security Association Identifier | +| SAP | Service Access Point | +| SDU | Service Data Unit | +| SFID | Service Flow Identifier | +| SID | Service Identifier | +| SMS | Spectrum Management System | +| SNAP | SubNetwork Access Protocol | +| SNMP | Simple Network Management Protocol | +| TCP | Transmission Control Protocol | +| TFTP | Trivial File-Transfer Protocol | + +| | | +|-----|-----------------------------| +| TLV | Type/Length/Value | +| ToS | Type of Service | +| UCC | Upstream Channel Change | +| UCD | Upstream Channel Descriptor | + +## 3.2 Terms and definitions + +This Recommendation defines the following terms: + +**3.2.1 active service flow:** An admitted service flow from the CM to the CMTS which is available for packet transmission. + +**3.2.2 address resolution protocol (ARP):** A protocol of the IETF for converting network addresses to 48-bit Ethernet addresses. + +**3.2.3 admitted service flow:** A service flow, either provisioned or dynamically signalled, which is authorized and for which resources have been reserved but is not active. + +**3.2.4 allocation:** A group of contiguous mini-slots in a MAP which constitute a single transmit opportunity. + +**3.2.5 American National Standards Institute (ANSI):** A US standards body. + +**3.2.6 asynchronous transfer mode (ATM):** A protocol for the transmission of a variety of digital signals using uniform 53-byte cells. + +**3.2.7 A-TDMA:** DOCS 2.0 TDMA mode (as distinguished from DOCS 1.x TDMA). + +**3.2.8 authorization module:** The authorization module is an abstract module that the CMTS can contact to authorize service flows and classifiers. The authorization module tells the CMTS whether the requesting CM is authorized for the resources it is requesting. + +**3.2.9 availability:** In cable television systems, availability is the long-term ratio of the actual RF channel operation time to scheduled RF channel operation time (expressed as a percent value) and is based on a bit error rate (BER) assumption. + +**3.2.10 bandwidth allocation map:** The MAC management message that the CMTS uses to allocate transmission opportunities to CMs. + +**3.2.11 bridge protocol data unit (BPDU):** Spanning tree protocol messages as defined in [ISO/IEC 15802-3]. + +**3.2.12 broadcast addresses:** A predefined destination address that denotes the set of all data network service access points. + +**3.2.13 burst:** A single continuous RF signal from the upstream transmitter, from transmitter on to transmitter off. + +**3.2.14 burst error second:** Any errored second containing at least 100 errors. + +**3.2.15 cable modem (CM):** A modulator-demodulator at subscriber locations intended for use in conveying data communications on a cable television system. + +**3.2.16 cable modem termination system (CMTS):** Cable modem termination system, located at the cable television system headend or distribution hub, which provides complementary functionality to the cable modems to enable data connectivity to a wide-area network. + +**3.2.17 cable modem termination system – network side interface (CMTS-NSI):** The interface, defined in [DOCS3], between a CMTS and the equipment on its network side. + +**3.2.18 cable modem to CPE interface (CMCI):** The interface, defined in [DOCS4], between a CM and CPE. + +**3.2.19 carrier hum modulation:** The peak-to-peak magnitude of the amplitude distortion relative to the RF carrier signal level due to the fundamental and low-order harmonics of the power-supply frequency. + +**3.2.20 carrier-to-noise ratio (C/N or CNR):** The ratio of signal power to noise power in the defined measurement bandwidth. For digital modulation, $CNR = E_s/N_0$ , the energy-per-symbol to noise-density ratio; the signal power is measured in the occupied bandwidth, and the noise power is normalized to the modulation-rate bandwidth. For video, the measurement bandwidth is 4 MHz. + +**3.2.21 CPE controlled cable modem (CCCM):** Refer to the DOCS cable modem to customer premises equipment interface (CMCI) specification. + +**3.2.22 channel:** The frequency spectrum occupied by a signal. Usually specified by centre frequency and bandwidth parameters. + +**3.2.23 chip:** Each of the 128 bits comprising the S-CDMA spreading codes. + +**3.2.24 chip duration:** The time to transmit one chip of the S-CDMA spreading code. The inverse of the chip rate. + +**3.2.25 chip rate:** The rate at which individual chips of the S-CDMA spreading codes are transmitted (1280 to 5120 kHz). + +**3.2.26 classifier:** A set of criteria used for packet matching according to TCP, UDP, IP, LLC, and/or 802.1P/Q packet fields. A classifier maps each packet to a service flow. A downstream classifier is used by the CMTS to assign packets to downstream service flows. An upstream classifier is used by the CM to assign packets to upstream service flows. + +**3.2.27 code-hopping matrix:** A shifted version of the reference code matrix (see below) that is used when code hopping is employed to vary the codes used by each CM. The code-hopping matrix is either 128 rows by 128 columns (when all 128 codes are active) or is 127 rows by 128 columns (when less than 128 codes are active in the S-CDMA spreader-on frame). When less than 128 codes are active, code 0 (all ones) is deleted from the matrix, but all remaining codes are still cycled through even if less than 127 codes are active in a frame. + +**3.2.28 composite second order beat (CSO):** The peak of the average level of distortion products due to second-order non-linearities in cable system equipment. + +**3.2.29 composite triple beat (CTB):** The peak of the average level of distortion components due to third-order non-linearities in cable system equipment. + +**3.2.30 cross-modulation:** A form of television signal distortion where modulation from one or more television channels is imposed on another channel or channels. + +**3.2.31 customer:** See end user. + +**3.2.32 customer premises equipment (CPE):** Equipment at the end user's premises; MAY be provided by the end user or the service provider. + +**3.2.33 data link layer:** Layer 2 in the open system interconnection (OSI) architecture; the layer that provides services to transfer data over the transmission link between open systems. + +**3.2.34 distribution hub:** A location in a cable television network which performs the functions of a headend for customers in its immediate area, and which receives some or all of its television programme material from a master headend in the same metropolitan or regional area. + +**3.2.35 DOCS 1.0:** Data-over-cable system defined by [DOCS9]. + +**3.2.36 DOCS 1.1:** Data-over cable system defined by [DOCS11]. + +**3.2.37 DOCS 1.x:** Abbreviation for "DOCS 1.0 or 1.1". + +**3.2.38 DOCS 2.0:** Data-over-cable system as defined in this Recommendation. + +- 3.2.39 downstream:** In cable television, the direction of transmission from the headend to the subscriber. +- 3.2.40 drop cable:** Coaxial cable that connects to a residence or service location from a directional coupler (tap) on the nearest coaxial feeder cable. +- 3.2.41 dynamic host configuration protocol (DHCP):** An Internet protocol used for assigning network-layer (IP) addresses. +- 3.2.42 dynamic range:** The ratio between the greatest signal power that can be transmitted over a multichannel analogue transmission system without exceeding distortion or other performance limits, and the least signal power that can be utilized without exceeding noise, error rate or other performance limits. +- 3.2.43 Electronic Industries Association (EIA):** A voluntary body of manufacturers which, among other activities, prepares and publishes standards. +- 3.2.44 end user:** A human being, organization or telecommunication system that accesses the network in order to communicate via the services provided by the network. +- 3.2.45 errored second:** Any one-second interval containing at least one bit error. +- 3.2.46 extended subsplit:** A frequency division scheme that allows bidirectional traffic on a single coaxial cable. Reverse path signals come to the headend from 5 to 42 MHz. Forward path signals go from the headend from 50 or 54 MHz to the upper frequency limit. +- 3.2.47 feeder cable:** Coaxial cables that run along streets within the served area and connect between the individual taps which serve the customer drops. +- 3.2.48 fibre distributed data interface (FDDI):** A fibre-based LAN standard. +- 3.2.49 fibre node:** A point of interface between a fibre trunk and the coaxial distribution. +- 3.2.50 forward channel:** The direction of RF signal flow away from the headend toward the end user; equivalent to downstream. +- 3.2.51 frame:** See MAC frame, S-CDMA frame and MPEG frame. +- 3.2.52 group delay:** The difference in transmission time between the highest and lowest of several frequencies through a device, circuit or system. +- 3.2.53 guard time:** Minimum time allocated between bursts in the upstream referenced from the symbol centre of the last symbol of a burst to the symbol centre of the first symbol of the following burst. The guard time should be at least the duration of five symbols plus the maximum system timing error. +- 3.2.54 harmonic related carrier (HRC):** A method of spacing television channels on a cable television system in exact 6-MHz increments, with all carrier frequencies harmonically related to a common reference. +- 3.2.55 headend:** The central location on the cable network that is responsible for injecting broadcast video and other signals in the downstream direction. See also master headend, distribution hub. +- 3.2.56 header:** Protocol control information located at the beginning of a protocol data unit. +- 3.2.57 high frequency (HF):** Used in this Recommendation to refer to the entire subsplit (5-30 MHz) and extended subsplit (5-42 MHz) band used in reverse channel communications over the cable television network. +- 3.2.58 high return:** A frequency division scheme that allows bidirectional traffic on a single coaxial cable. Reverse channel signals propagate to the headend above the downstream passband. + +- 3.2.59 hum modulation:** Undesired modulation of the television visual carrier by the fundamental or low-order harmonics of the power supply frequency, or other low-frequency disturbances. +- 3.2.60 hybrid fibre/coax (HFC) system:** A broadband bidirectional shared-media transmission system using fibre trunks between the headend and the fibre nodes, and coaxial distribution from the fibre nodes to the customer locations. +- 3.2.61 incremental related carriers (IRC):** A method of spacing NTSC television channels on a cable television system in which all channels except 5 and 6 correspond to the standard channel plan, used to reduce composite triple beat distortions. +- 3.2.62 Institute of Electrical and Electronic Engineers (IEEE):** A voluntary organization which, among other things, sponsors standards committees and is accredited by the American National Standards Institute. +- 3.2.63 International Electrotechnical Commission (IEC):** An international standards body. +- 3.2.64 International Organization for Standardization (ISO):** An international standards body, commonly known as the International Standards Organization. +- 3.2.65 Internet control message protocol (ICMP):** An Internet network-layer protocol. +- 3.2.66 Internet Engineering Task Force (IETF):** A body responsible, among other things, for developing standards used in the Internet. +- 3.2.67 Internet group management protocol (IGMP):** A network-layer protocol for managing multicast groups on the Internet. +- 3.2.68 impulse noise:** Noise characterized by non-overlapping transient disturbances. +- 3.2.69 information element:** The fields that make up a MAP and define individual grants, deferred grants, etc. +- 3.2.70 Internet protocol (IP):** An Internet network-layer protocol. +- 3.2.71 interval usage code (IUC):** A field in MAPs and UCDs to link burst profiles to grants. +- 3.2.72 latency:** The time, expressed in quantity of symbols, taken for a signal element to pass through a device. +- 3.2.73 layer:** A subdivision of the open system interconnection (OSI) architecture, constituted by subsystems of the same rank +- 3.2.74 link layer:** See data link layer. +- 3.2.75 local area network (LAN):** A non-public data network in which serial transmission is used for direct data communication among data stations located on the user's premises. +- 3.2.76 logical link control (LLC) procedure:** In a local area network (LAN) or a metropolitan area network (MAN), that part of the protocol that governs the assembling of data link layer frames and their exchange between data stations, independent of how the transmission medium is shared. +- 3.2.77 logical (upstream) channel:** A MAC entity identified by a unique channel ID and for which bandwidth is allocated by an associated MAP message. A physical upstream channel may support multiple logical upstream channels. The associated UCD and MAP messages completely describe the logical channel. +- 3.2.78 MAC frame:** MAC header plus optional PDU. +- 3.2.79 MAC service access point (MSAP):** An attachment to a MAC-sublayer domain. Refer to clauses 5.2 and 8.1.2.2. +- 3.2.80 master headend:** A headend which collects television programme material from various sources by satellite, microwave, fibre and other means, and distributes this material to distribution + +hubs in the same metropolitan or regional area. A master headend MAY also perform the functions of a distribution hub for customers in its own immediate area. + +**3.2.81 mean time to repair (MTTR):** In cable television systems, the MTTR is the average elapsed time from the moment a loss of RF channel operation is detected up to the moment the RF channel operation is fully restored. + +**3.2.82 media access control (MAC) address:** The "built-in" hardware address of a device connected to a shared medium. + +**3.2.83 media access control (MAC) procedure:** In a subnetwork, that part of the protocol that governs access to the transmission medium independent of the physical characteristics of the medium, but taking into account the topological aspects of the subnetworks, in order to enable the exchange of data between nodes. MAC procedures include framing, error protection and acquiring the right to use the underlying transmission medium. + +**3.2.84 media access control (MAC) sublayer:** The part of the data link layer that supports topology-dependent functions and uses the services of the physical layer to provide services to the logical link control (LLC) sublayer. + +**3.2.85 micro-reflections:** Echoes in the forward transmission path due to departures from ideal amplitude and phase characteristics. + +**3.2.86 mid split:** A frequency division scheme that allows bidirectional traffic on a single coaxial cable. Reverse channel signals propagate to the headend from 5 to 108 MHz. Forward path signals go from the headend from 162 MHz to the upper frequency limit. The diplex crossover band is located from 108 to 162 MHz. + +**3.2.87 mini-slot:** A "mini-slot" is an integer multiple of 6.25-microsecond increments. The relationship between mini-slots, bytes and time ticks is described in clause 9.3.4. + +**3.2.88 modulation rate:** The signalling rate of the upstream modulator (1280 to 5120 kHz). In S-CDMA, the chip rate. In TDMA, the channel symbol rate. + +**3.2.89 Moving Picture Experts Group (MPEG):** A voluntary body which develops standards for digital compressed moving pictures and associated audio. + +**3.2.90 multipoint access:** User access in which more than one terminal equipment is supported by a single network termination. + +**3.2.91 multipoint connection:** A connection among more than two data network terminations. + +**3.2.92 National Cable Television Association (NCTA):** A voluntary association of cable television operators which, among other things, provides guidance on measurements and objectives for cable television systems in the United States. + +**3.2.93 National Television Systems Committee (NTSC):** Committee which defined the analogue colour television broadcast standard used today in North America. + +**3.2.94 network layer:** Layer 3 in the open systems interconnection (OSI) architecture; the layer that provides services to establish a path between open systems. + +**3.2.95 network management:** The functions related to the management of data link layer and physical layer resources and their stations across the data network supported by the hybrid fibre/coax system. + +**3.2.96 number of allocated codes:** The total number of codes which a single CM uses in a single S-CDMA frame. This number is determined by the size of the grants in mini-slots and the mapping of these mini-slots to S-CDMA frames (note that a CM may receive multiple grants which are mapped to a single S-CDMA frame). The number of allocated codes can be in the range of the + +number of codes per mini-slot to the number of active codes, and may vary from frame to frame, but is constant within an S-CDMA frame. + +**3.2.97 open systems interconnection (OSI):** A framework of ISO standards for communication between different systems made by different vendors, in which the communication process is organized into seven different categories that are placed in a layered sequence based on their relationship to the user. Each layer uses the layer immediately below it and provides a service to the layer above. Layers 7 through 4 deal with end-to-end communication between the message source and destination, and layers 3 through 1 deal with network functions. + +**3.2.98 organizationally unique identifier (OUI):** A 3-octet IEEE-assigned identifier that can be used to generate universal LAN MAC addresses and protocol identifiers per ANSI/IEEE Std 802 for use in local and metropolitan area network applications. + +**3.2.99 packet identifier (PID):** A unique integer value used to identify elementary streams of a programme in a single- or multi-programme MPEG-2 stream. + +**3.2.100 partial grant:** A grant that is smaller than the corresponding bandwidth request from the CM. + +**3.2.101 payload header suppression (PHS):** The suppression of the header in a payload packet (e.g., the suppression of the Ethernet header in forwarded packets). + +**3.2.102 payload unit start indicator (PUSI):** A flag in an MPEG header. A value of 1 indicates the presence of a pointer field as the first byte of the payload. + +**3.2.103 physical layer (PHY):** Layer 1 in the Open System Interconnection (OSI) architecture; the layer that provides services to transmit bits or groups of bits over a transmission link between open systems and which entails electrical, mechanical and handshaking procedures. + +**3.2.104 physical media dependent (PMD) sublayer:** A sublayer of the physical layer which is concerned with transmitting bits or groups of bits over particular types of transmission link between open systems and which entails electrical, mechanical and handshaking procedures. + +**3.2.105 primary service flow:** All CMs have a primary upstream service flow and a primary downstream service flow. They ensure that the CM is always manageable and they provide a default path for forwarded packets that are not classified to any other service flow. + +**3.2.106 programme-specific information (PSI):** In MPEG-2, normative data necessary for the demultiplexing of transport streams and the successful regeneration of programmes. + +**3.2.107 programme stream:** In MPEG-2, a multiplex of variable-length digital video and audio packets from one or more programme sources having a common time-base. + +**3.2.108 protocol:** A set of rules and formats that determines the communication behaviour of layer entities in the performance of the layer functions. + +**3.2.109 provisioned service flow:** A service flow that has been provisioned as part of the registration process, but has not yet been activated or admitted. It may still require an authorization exchange with a policy module or external policy server prior to admission. + +**3.2.110 QoS parameter set:** The set of service flow encodings that describe the quality of service attributes of a service flow or a service class (refer to clause C.2.2.5). + +**3.2.111 quadrature amplitude modulation (QAM):** A method of modulating digital signals onto a radio-frequency carrier signal involving both amplitude and phase coding. + +**3.2.112 quadrature phase-shift keying (QPSK):** A method of modulating digital signals onto a radio-frequency carrier signal using four phase states to code two digital bits. + +**3.2.113 radio frequency (RF):** In cable television systems, this refers to electromagnetic signals in the range 5 to 1000 MHz. + +**3.2.114 reference code matrix:** A 128-by-128 element matrix formed by stacking successive spreading codes on top of each other, i.e., the bottom row of the reference code matrix is code 0 (all ones) and the top row is code 127. The code elements are placed in the matrix from right to left, i.e., the right-most column of the code matrix is the first element of each code, and the left-most column is the last element of each code. + +**3.2.115 request for comments (RFC):** A technical policy document of the IETF; these documents can be accessed on the worldwide web at . + +**3.2.116 return loss:** The parameter describing the attenuation of a guided wave signal (e.g., via a coaxial cable) returned to a source by a device or medium resulting from reflections of the signal generated by the source. + +**3.2.117 reverse channel:** The direction of signal flow towards the headend, away from the subscriber; equivalent to upstream. + +**3.2.118 routing information protocol (RIP):** A protocol of the IETF for exchanging routing information about IP networks and subnets. + +**3.2.119 S-CDMA frame:** A two dimensional representation of mini-slots, where the dimensions are codes and time. An S-CDMA frame is composed of $p$ active codes in the code dimension and $K$ spreading intervals in the time dimension. Within the S-CDMA frame, the number of mini-slots is determined by the number of codes per mini-slot ( $c$ ) and $p$ , the number of active codes in the S-CDMA frame. Each S-CDMA frame thus contains $s$ mini-slots, where $s = p/c$ , and each mini-slot contains $c \times K$ information (QAM) symbols. + +**3.2.120 S-CDMA subframe:** A subframe is a vertically-smaller subset of an S-CDMA frame over which interleaving is performed, where the vertical dimension is $R'$ codes, where $R' \leq p$ (the number of active codes). A subframe is generally used to constrain the interleaving region to be of a similar size to the Reed-Solomon codeword in order to provide protection from impulse noise. + +**3.2.121 security association identifier (SAID):** A baseline privacy security identifier between a CMTS and a CM. + +**3.2.122 service access point (SAP):** The point at which services are provided by one layer, or sublayer to the layer immediately above it. + +**3.2.123 service class:** A set of queueing and scheduling attributes that is named and that is configured at the CMTS. A service class is identified by a service class name. A service class has an associated QoS parameter set. + +**3.2.124 service class name:** An ASCII string by which a service class may be referenced in modem configuration files and protocol exchanges. + +**3.2.125 service data unit (SDU):** Information that is delivered as a unit between peer service access points. + +**3.2.126 service flow:** A MAC-layer transport service which: + +- provides unidirectional transport of packets from the upper layer service entity to the RF; +- shapes, polices and prioritizes traffic according to QoS traffic parameters defined for the flow. + +**3.2.127 service flow identifier (SFID):** An identifier assigned to a service flow by the CMTS (32 bits). + +**3.2.128 service flow reference:** A message parameter in configuration files and dynamic service MAC messages used to associate classifiers and other objects in the message with the service flow encodings of a requested service flow. + +- 3.2.129 service identifier (SID):** An identifier assigned by the CMTS (in addition to a service flow identifier) to an active or admitted upstream service flow (14 bits). +- 3.2.130 simple network management protocol (SNMP):** A network management protocol of the IETF. +- 3.2.131 spectrum management system (SMS):** A system, defined in [b-VECCHI], for managing the RF cable spectrum. +- 3.2.132 spread symbol or spreading interval:** At the output of the spreader, a group of 128 chips which comprise a single S-CDMA spreading code, and are the result of spreading a single information (QAM) symbol. One spread symbol = one spreading interval = 128 chips = one information (QAM) symbol. +- 3.2.133 spreader-off S-CDMA burst:** A transmission from a single CM in a spreader-off frame on an S-CDMA channel defined by the time in which the CM's transmitter turns on to the time it turns off. There will generally be several spreader-off bursts in a spreader-off frame. +- 3.2.134 spreader-off S-CDMA frame:** TDMA mini-slots on an S-CDMA channel in which the spreader is turned off. These are differentiated from TDMA bursts on a TDMA channel in that, for example, the number of mini-slots per spreader-off S-CDMA burst frame is constrained to be the same as the number of mini-slots in a spreader-on S-CDMA frame(s). This number of mini-slots will be less than the number of TDMA mini-slots in a TDMA channel over the same time interval if the number of active codes is significantly less than 128. +- 3.2.135 spreading interval:** Time to transmit a single complete S-CDMA spreading code, equal to the time to transmit 128 chips. Also, time to transmit a single information (QAM) symbol on an S-CDMA channel. See also spread symbol. +- 3.2.136 sub-channel:** A logical channel sharing the same upstream spectrum (RF centre frequency and RF channel) with other logical channels. +- 3.2.137 sublayer:** A subdivision of a layer in the open system interconnection (OSI) reference model. +- 3.2.138 subnetwork:** Subnetworks are physically formed by connecting adjacent nodes with transmission links. +- 3.2.139 subnetwork access protocol (SNAP):** An extension of the LLC header to accommodate the use of 802-type networks as IP networks. +- 3.2.140 subscriber:** See "end user". +- 3.2.141 subsplit:** A frequency-division scheme that allows bidirectional traffic on a single cable. Reverse path signals come to the headend from 5 to 30 MHz (up to 42 MHz on extended subsplit systems). Forward path signals go from the headend from 50 or 54 MHz to the upper frequency limit of the cable network. +- 3.2.142 subsystem:** An element in a hierarchical division of an open system that interacts directly with elements in the next higher division or the next lower division of that open system. +- 3.2.143 system clock period:** The period of the 10.24 MHz system clock, nominally 97.65625 ns. +- 3.2.144 systems management:** Functions in the application layer related to the management of various open systems interconnection (OSI) resources and their status across all layers of the OSI architecture. +- 3.2.145 tick:** 6.25-microsecond time intervals that are the reference for upstream mini-slot definition and upstream transmission times. +- 3.2.146 tilt:** Maximum difference in transmission gain of a cable television system over a given bandwidth (typically the entire forward operating frequency range). + +**3.2.147 transit delay:** The time difference between the instant at which the first bit of a PDU crosses one designated boundary, and the instant at which the last bit of the same PDU crosses a second designated boundary. + +**3.2.148 transmission control protocol (TCP):** A transport-layer Internet protocol which ensures successful end-to-end delivery of data packets without error. + +**3.2.149 transmission convergence sublayer:** A sublayer of the physical layer that provides an interface between the data link layer and the PMD sublayer. + +**3.2.150 transmission link:** The physical unit of a subnetwork that provides the transmission connection between adjacent nodes. + +**3.2.151 transmission medium:** The material on which information signals may be carried; e.g., optical fibre, coaxial cable and twisted-wire pairs. + +**3.2.152 transmission system:** The interface and transmission medium through which peer physical layer entities transfer bits. + +**3.2.153 transmit on/off ratio:** In multiple-access systems, the ratio between the signal powers sent to line when transmitting and when not transmitting. + +**3.2.154 transport stream:** In MPEG-2, a packet-based method of multiplexing one or more digital video and audio streams having one or more independent time base(s) into a single stream. + +**3.2.155 trivial file-transfer protocol (TFTP):** An Internet protocol for transferring files without the requirement for user names and passwords that is typically used for automatic downloads of data and software. + +**3.2.156 trunk cable:** Cables that carry the signal from the headend to groups of subscribers. The cables can be either coaxial or fibre depending on the design of the system. + +**3.2.157 type/length/value (TLV):** An encoding of three fields in which the first field indicates the type of element, the second the length of the element, and the third field the value. + +**3.2.158 upstream:** The direction from the subscriber location toward the headend. + +**3.2.159 upstream channel descriptor (UCD):** The MAC management message used to communicate the characteristics of the upstream physical layer to the cable modems. + +# 4 Functional assumptions + +This clause describes the characteristics of cable television plant to be assumed for the purpose of operating a data-over-cable system. It is not a description of CMTS or CM parameters. The data-over-cable system MUST be interoperable within the environment described in this clause. + +This clause applies to the first technology option referred to in clause 1.1. For the second and third options, refer to Annexes F and J, respectively. + +Whenever any reference in this clause to frequency plans or compatibility with other services conflicts with any legal requirement for the area of operation, the latter shall take precedence. Any reference to NTSC analogue signals in 6-MHz channels does not imply that such signals are physically present. + +## 4.1 Broadband access network + +A coaxial-based broadband access network is assumed. This may take the form of either an all-coax or hybrid fibre/coax (HFC) network. The generic term "cable network" is used here to cover all cases. + +A cable network uses a shared-medium, tree-and-branch architecture with analogue transmission. The key functional characteristics assumed in this Recommendation are the following: + +- two-way transmission; +- a maximum optical/electrical spacing between the CMTS and the most distant CM of 100 miles, although typical maximum separation may be 10-15 miles; +- a maximum differential optical/electrical spacing between the CMTS and the closest and most distant modems of 100 miles, although this would typically be limited to 15 miles. + +## 4.2 Equipment assumptions + +### 4.2.1 Frequency plan + +In the downstream direction, the cable system is assumed to have a passband with a lower edge between 50 and 54 MHz and an upper edge that is implementation-dependent but is typically in the range of 300 to 864 MHz. Within that passband, NTSC analogue television signals in 6-MHz channels are assumed to be present on the standard, HRC or IRC frequency plans of [b-EIA 542], as well as other narrow-band and wideband digital signals. + +In the upstream direction, the cable system may have a subsplit (5-30 MHz) or extended subsplit (5-40 or 5-42 MHz) passband. NTSC analogue television signals in 6-MHz channels may be present, as well as other signals. + +### 4.2.2 Compatibility with other services + +The CM and CMTS MUST coexist with the other services on the cable network. In particular: + +- a) they MUST be interoperable in the cable spectrum assigned for CMTS-CM interoperation while the balance of the cable spectrum is occupied by any combination of television and other signals; and +- b) they MUST NOT cause harmful interference to any other services that are assigned to the cable network in spectrum outside of that allocated to the CMTS. + +The latter is understood as: + +- no measurable degradation (highest level of compatibility); +- no degradation below the perceptible level of impairments for all services (standard or medium level of compatibility); or +- no degradation below the minimal standards accepted by the industry or other service provider (minimal level of compatibility). + +### 4.2.3 Fault isolation impact on other users + +As the data-over-cable system is a shared-media, point-to-multipoint system, fault-isolation procedures should take into account the potential harmful impact of faults and fault-isolation procedures on numerous users of the data-over-cable and other services. + +For the interpretation of harmful impact, see clause 4.2.2. + +### 4.2.4 Cable system terminal devices + +The CM MUST meet and SHOULD exceed all applicable national regulations for cable system termination devices and cable-ready consumer equipment. None of these national specific requirements may be used to relax any of the specifications contained elsewhere within this Recommendation. + +## 4.3 RF channel assumptions + +The data-over-cable system, configured with at least one set of defined physical-layer parameters (e.g., modulation, forward error correction, modulation rate, etc.) from the range of configuration settings described in this Recommendation, MUST be interoperable on cable networks having characteristics defined in this clause in such a manner that the forward error correction provides for + +equivalent operation in a cable system both with and without the impaired channel characteristics described below. + +### 4.3.1 Transmission downstream + +The RF channel transmission characteristics of the cable network in the downstream direction are described in Table 4-1. These numbers assume total average power of a digital signal in a 6-MHz channel bandwidth for carrier levels unless indicated otherwise. For impairment levels, the numbers in Table 4-1 assume average power in a bandwidth in which the impairment levels are measured in a standard manner for cable TV system. For analogue signal levels, the numbers in Table 4-1 assume peak envelope power in a 6-MHz channel bandwidth. All conditions are present concurrently. No combination of the following parameters will exceed any stated interface limit defined elsewhere in this Recommendation. + +**Table 4-1 – Assumed downstream RF channel transmission characteristics +(see Note 1)** + +| Parameter | Value | +|---------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Frequency range | Cable system normal downstream operating range is from 50 MHz to as high as 860 MHz. However, the values in this table apply only at frequencies $\geq 88$ MHz. | +| RF channel spacing (design bandwidth) | 6 MHz | +| Transit delay from headend to most distant customer | $\leq 0.800$ ms (typically much less) | +| Carrier-to-noise ratio in a 6 MHz band | Not less than 35 dB (see Notes 2 and 3) | +| Carrier-to-composite triple beat distortion ratio | Not less than 41 dB (see Notes 2 and 3) | +| Carrier-to-composite second order distortion ratio | Not less than 41 dB (see Notes 2 and 3) | +| Carrier-to-cross-modulation ratio | Not less than 41 dB (see Notes 2 and 3) | +| Carrier-to-any other discrete interference (ingress) | Not less than 41 dB (see Notes 2 and 3) | +| Amplitude ripple | 3 dB within the design bandwidth (see Note 2) | +| Group delay ripple in the spectrum occupied by the CMTS | 75 ns within the design bandwidth (see Note 2) | +| Micro-reflections bound for dominant echo | $-20$ dBc @ $\leq 1.5$ $\mu\text{s}$ ,
$-30$ dBc @ $> 1.5$ $\mu\text{s}$ ,
$-10$ dBc @ $\leq 0.5$ $\mu\text{s}$ ,
$-15$ dBc @ $\leq 1.0$ $\mu\text{s}$ (see Note 2) | +| Carrier hum modulation | Not greater than $-26$ dBc (5%) (see Note 2) | +| Burst noise | Not longer than 25 $\mu\text{s}$ at a 10-Hz average rate (see Note 2) | +| Maximum analogue video carrier level at the CM input | 17 dBmV | +| Maximum number of analogue carriers | 121 | +| NOTE 1 – Transmission is from the headend combiner to the CM input at the customer location. | | +| NOTE 2 – Measurement methods defined in [b-NCTA] or [b-CableLabs2]. | | +| NOTE 3 – Measured relative to a QAM signal that is equal to the nominal video level in the plant. | | + +### 4.3.2 Transmission upstream + +The RF channel transmission characteristics of the cable network in the upstream direction are described in Table 4-2. All conditions are present concurrently. No combination of the following parameters will exceed any stated interface limit defined elsewhere in this Recommendation. + +**Table 4-2 – Assumed upstream RF channel transmission characteristics +(see Note 1)** + +| Parameter | Value | +|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------| +| Frequency range | 5 to 42 MHz edge to edge | +| Transit delay from the most distant CM to the nearest CM or CMTS | $\leq 0.800$ ms (typically much less) | +| Carrier-to-interference plus ingress (the sum of noise, distortion, common-path distortion and cross-modulation and the sum of discrete and broadband ingress signals, impulse noise excluded) ratio | Not less than 25 dB (Note 2) | +| Carrier hum modulation | Not greater than $-23$ dBc (7.0%) | +| Burst noise | Not longer than $10$ $\mu\text{s}$ at a 1-kHz average rate for most cases (Notes 3 and 4) | +| Amplitude ripple 5-42 MHz | 0.5 dB/MHz | +| Group delay ripple 5-42 MHz | 200 ns/MHz | +| Micro-reflections – single echo | $-10$ dBc @ $\leq 0.5$ $\mu\text{s}$
$-20$ dBc @ $\leq 1.0$ $\mu\text{s}$
$-30$ dBc @ $> 1.0$ $\mu\text{s}$ | +| Seasonal and diurnal reverse gain (loss) variation | Not greater than 14 dB min to max | +| NOTE 1 – Transmission is from the CM output at the customer location to the headend.
NOTE 2 – Ingress avoidance or tolerance techniques may be used to ensure operation in the presence of time-varying discrete ingress signals that could be as high as 10 dBc. The ratios are guaranteed only within the digital carrier channels.
NOTE 3 – Amplitude and frequency characteristics sufficiently strong to partially or wholly mask the data carrier.
NOTE 4 – Impulse noise levels more prevalent at lower frequencies ( $<15$ MHz). | | + +#### 4.3.2.1 Availability + +Typical cable network availability is considerably greater than 99%. + +## 4.4 Transmission levels + +The nominal power level of the downstream CMTS signal(s) within a 6-MHz channel is targeted to be in the range $-10$ dBc to $-6$ dBc relative to analogue video carrier level and will normally not exceed analogue video carrier level. The nominal power level of the upstream CM signal(s) will be as low as possible to achieve the required margin above noise and interference. Uniform power loading per unit bandwidth is commonly followed in setting upstream signal levels, with specific levels established by the cable network operator to achieve the required carrier-to-noise and carrier-to-interference ratios. + +## **4.5 Frequency inversion** + +There will be no frequency inversion in the transmission path in either the downstream or upstream directions, i.e., a positive change in frequency at the input to the cable network will result in a positive change in frequency at the output. + +# **5 Communication protocols** + +This clause provides a high-level overview of the communication protocols that must be used in the data-over-cable system. Detailed specifications for the physical media dependent, downstream transmission, and media access control sublayers are provided in clauses 6, 7, and 8, respectively. + +## **5.1 Protocol stack** + +The CM and CMTS operate as forwarding agents and also as end-systems (hosts). The protocol stacks used in these modes differ as shown below. + +The principal function of the cable modem system is to transmit Internet protocol (IP) packets transparently between the headend and the subscriber location. Certain management functions also ride on IP, so that the protocol stack on the cable network is as shown in Figure 5-1 (this does not restrict the generality of IP transparency between the headend and the customer). These management functions include, for example, supporting spectrum management functions and the downloading of software. + +### **5.1.1 CM and CMTS as hosts** + +CMs and CMTSs operate as IP and LLC hosts in terms of [IEEE 802] for communication over the cable network. The protocol stack at the CM and CMTS RF interfaces is shown in Figure 5-1. + +![Figure 5-1: Protocol stack on the RF interface. The diagram shows a vertical stack of protocol layers. At the top, three boxes labeled 'SNMP', 'TFTP', and 'DHCP' are connected to a single wide box labeled 'UDP'. Below 'UDP' is a box labeled 'IP, ICMP'. To the right of 'IP, ICMP' is a box labeled 'ARP', connected by a horizontal line. Below 'IP, ICMP' is a box labeled 'LLC/DIX'. Below 'LLC/DIX' is a box labeled 'Link security'. Below 'Link security' is a box labeled 'MAC'. Below 'MAC' is a box labeled 'Transmission convergence (downstream only)'. At the bottom is a box labeled 'PMD'.](11edb7fcedf09ac6a817f8d7b8c61eec_img.jpg) + +Figure 5-1: Protocol stack on the RF interface. The diagram shows a vertical stack of protocol layers. At the top, three boxes labeled 'SNMP', 'TFTP', and 'DHCP' are connected to a single wide box labeled 'UDP'. Below 'UDP' is a box labeled 'IP, ICMP'. To the right of 'IP, ICMP' is a box labeled 'ARP', connected by a horizontal line. Below 'IP, ICMP' is a box labeled 'LLC/DIX'. Below 'LLC/DIX' is a box labeled 'Link security'. Below 'Link security' is a box labeled 'MAC'. Below 'MAC' is a box labeled 'Transmission convergence (downstream only)'. At the bottom is a box labeled 'PMD'. + +J.122\_F5-1 + +**Figure 5-1 – Protocol stack on the RF interface** + +The CM and CMTS MUST function as IP hosts. As such, the CM and CMTS MUST support IP and ARP over DIX link-layer framing ("DIX link-layer framing" refers to the "type interpretation" of the length/type field in [ISO/IEC 8802-3]). The CMTS MUST NOT transmit frames that are smaller than the DIX 64-byte minimum on a downstream channel1. However, the CM MAY transmit frames that are smaller than the DIX 64-byte minimum on an upstream channel. + +The CM and CMTS MAY also support IP and ARP over SNAP framing [RFC 1042]. + +The CM and CMTS also MUST function as LLC hosts. As such, the CM and CMTS MUST respond appropriately to TEST and XID requests per [ISO/IEC 8802-2]. + +### **5.1.2 Data forwarding through the CM and CMTS** + +#### **5.1.2.1 General** + +Data forwarding through the CMTS MAY be transparent bridging2, or MAY employ network-layer forwarding (routing, IP switching) as shown in Figure 5-2. + +1 Except as a result of payload header suppression. Refer to clause 10.4. + +2 With the exception that, for packet PDUs less than 64 bytes to be forwarded from the upstream RFI, a CMTS MUST pad out the packet PDU and recompute the CRC. + +![Figure 5-2: Data forwarding through the CM and CMTS. This diagram compares the protocol stacks of a CMTS and a CM. The CMTS stack shows IP at the top, followed by a Data link layer with Forwarding, 802.2/DIX LLC, Link security, and Cable MAC. Below this is the PHY layer with DS TC layer, Upstream Cable PMD, and Cable PMD. It connects to a CMTS-NSI interface. The CM stack shows IP at the top, followed by a Data link layer with 802.2/DIX LLC, Transparent bridging, Link security, and Cable MAC. Below this is the PHY layer with DS TC layer, Upstream Cable PMD, and Cable PMD, which connects to a CMCI interface. A central 'Cable network transmission' line connects the two stacks. Reference J.122_F5-2 is noted.](c494cd874a082a97b50b3c4d3938f467_img.jpg) + +Figure 5-2: Data forwarding through the CM and CMTS. This diagram compares the protocol stacks of a CMTS and a CM. The CMTS stack shows IP at the top, followed by a Data link layer with Forwarding, 802.2/DIX LLC, Link security, and Cable MAC. Below this is the PHY layer with DS TC layer, Upstream Cable PMD, and Cable PMD. It connects to a CMTS-NSI interface. The CM stack shows IP at the top, followed by a Data link layer with 802.2/DIX LLC, Transparent bridging, Link security, and Cable MAC. Below this is the PHY layer with DS TC layer, Upstream Cable PMD, and Cable PMD, which connects to a CMCI interface. A central 'Cable network transmission' line connects the two stacks. Reference J.122\_F5-2 is noted. + +**Figure 5-2 – Data forwarding through the CM and CMTS** + +Data forwarding through the CM is link-layer transparent bridging, as shown in Figure 5-2. Forwarding rules are similar to [b-ISO/IEC 10038] with the modifications described in clauses 5.1.2.2 and 5.1.2.3. This allows the support of multiple network layers. + +Forwarding of IP traffic **MUST** be supported. Other network layer protocols **MAY** be supported. The ability to restrict the network layer to a single protocol such as IP **MUST** be supported. + +The IEEE 802.1D spanning tree protocol of [b-ISO/IEC 10038], with the modifications described in Annex E, **MAY** be supported by CMs intended for residential use. CMs intended for commercial use **MUST** support this version of spanning tree. CMs and CMTSs **MUST** include the ability to filter (and disregard) IEEE 802.1D BPDUs. + +This Recommendation assumes that CMs intended for residential use will not be connected in a configuration which would create network loops such as that shown in Figure 5-3. + +![Figure 5-3: Example condition for network loops. This diagram shows a network topology. A 'Cable network' at the top connects to a 'CMTS'. The 'CMTS' connects to a bus that branches to two 'CM' units, labeled 'CM #1' and 'CM #2'. Both 'CM #1' and 'CM #2' connect to a common bus labeled 'Local ISO 8802 network'. A 'CPE' unit is connected to this 'Local ISO 8802 network' bus. Reference J.122_F5-3 is noted.](98e54d5540b2efe3e24af3cf936bc4ea_img.jpg) + +Figure 5-3: Example condition for network loops. This diagram shows a network topology. A 'Cable network' at the top connects to a 'CMTS'. The 'CMTS' connects to a bus that branches to two 'CM' units, labeled 'CM #1' and 'CM #2'. Both 'CM #1' and 'CM #2' connect to a common bus labeled 'Local ISO 8802 network'. A 'CPE' unit is connected to this 'Local ISO 8802 network' bus. Reference J.122\_F5-3 is noted. + +**Figure 5-3 – Example condition for network loops** + +Although provisions exist in this Recommendation for frames to be passed from a higher-layer entity to be forwarded by the cable modem, these frames **MUST** be treated identically to frames arriving at the CPE port. In particular, all of the forwarding rules defined in clause 5.1.2.3 **MUST** apply to these frames + +#### 5.1.2.2 CMTS forwarding rules + +At the CMTS, if link-layer forwarding is used, then it MUST conform to the following general IEEE 802.1D guidelines: + +- Link-layer frames MUST NOT be duplicated. +- Stale frames (those that cannot be delivered in a timely fashion) MUST be discarded. +- Link-layer frames, on a given service flow (refer to clause 8.1.2.3), MUST be delivered in the order they are received. + +The address-learning and -aging mechanisms used are vendor-dependent. + +If network-layer forwarding is used, then the CMTS should conform to IETF router requirements [b-RFC 1812] with respect to its CMTS-RFI and CMTS-NSI interfaces. + +Conceptually, the CMTS forwards data packets at two abstract interfaces: between the CMTS-RFI and the CMTS-NSI, and between the upstream and downstream channels. The CMTS MAY use any combination of link-layer (bridging) and network-layer (routing) semantics at each of these interfaces. The methods used at the two interfaces need not be the same. + +Forwarding between the upstream and downstream channels within a MAC layer differs from traditional LAN forwarding in that: + +- A single channel is simplex, and cannot be considered a complete interface for most protocol (e.g., 802.1D spanning tree, routing information protocol per [b-RFC 1058]) purposes. +- Upstream channels are essentially point-to-point, whereas downstream channels are shared-media. +- Policy decisions may override full connectivity. + +For these reasons, an abstract entity called the MAC forwarder exists within the CMTS to provide connectivity between stations within a MAC domain (see clause 5.2). + +#### 5.1.2.3 CM forwarding rules + +Data forwarding through the CM is link-layer bridging with the following specific rules. + +##### 5.1.2.3.1 CPE MAC address acquisition + +- The CM MUST acquire Ethernet MAC addresses of connected CPE devices, either from the provisioning process or from learning, until the CM acquires its maximum number of CPE MAC addresses (a device-dependent value). Once the CM acquires its maximum number of CPE MAC addresses, then newly discovered CPE MAC addresses MUST NOT replace previously acquired addresses. The CM must support acquisition of at least one CPE MAC address. +- The CM MUST allow configuration of CPE addresses during the provisioning process (up to its maximum number of CPE addresses) to support configurations in which learning is not practical nor desired. +- Addresses provided during the CM provisioning MUST take precedence over learned addresses. +- CPE addresses MUST NOT be aged out. +- In order to allow modification of user MAC addresses or movement of the CM, addresses are not retained in non-volatile storage. On a CM reset (e.g., power cycle), all provisioned and learned addresses MUST be discarded. + +##### 5.1.2.3.2 Forwarding + +CM forwarding in both directions MUST conform to the following general IEEE 802.1D guidelines: + +- Link-layer frames MUST NOT be duplicated. +- Stale frames (those that cannot be delivered in a timely fashion) MUST be discarded. +- Link-layer frames MUST be delivered in the order that they are received on a given service flow (refer to clause 8.1.2.3). In the upstream direction, the CM may perform one or more frame/packet processing functions on frames received from the CMCI prior to classifying them to a service flow. In the downstream direction, the CM may perform one or more frame/packet processing functions on frames received from the HFC prior to transmitting them on the CMCI. Example processing functions include: DOCSIS protocol filtering as specified in [DOCS5] clause 7.3, a policy-based filtering service as described in clause 10.1.6.1 and Appendix I, and priority-based queuing to support 802.1P/Q services. +- Link-layer frames, on a given service flow (refer to clause 8.1.2.3), MUST be delivered in the order they are received. + +Cable-network-to-CMCI forwarding MUST follow the following specific rules: + +- Frames addressed to unknown destinations MUST NOT be forwarded from the cable port to the CPE ports. +- Broadcast frames MUST be forwarded to the CPE ports, unless they are from source addresses which are provisioned or learned as supported CPE devices, in which case they MUST NOT be forwarded. +- The forwarding of multicast is controlled by administratively set filters and by either IGMP (refer to clause 5.3.1) or static provisioning (refer to clause C.1.2.12). Multicast frames MUST NOT be forwarded unless both filtering and either IGMP or static multicast provisioning are in a permissive state. + +CPE-to-cable-network forwarding MUST follow the following specific rules: + +- Frames addressed to unknown destinations MUST be forwarded from all CPE ports to the cable port. +- Broadcast frames MUST be forwarded to the cable port. +- Multicast frames MUST be forwarded to the cable port in accordance with filtering configuration settings specified by the cable operator's operations and business support systems. +- Frames from source addresses other than those provisioned or learned as supported CPE devices MUST NOT be forwarded. +- Other (non-supported) CPE source addresses MUST be learned from all CPE ports and this information used to filter local traffic as in a traditional learning bridge. +- Frames addressed to destination addresses that are learned from all CPE ports MUST be filtered as local traffic. + +## 5.2 The MAC forwarder + +The MAC forwarder is a MAC sublayer that resides on the CMTS just below the MAC service access point (MSAP) interface, as shown in Figure 5-4. It is responsible for delivering upstream frames to: + +- one or more downstream channels; +- the MSAP interface. + +![Diagram of a MAC forwarder architecture within a CMTS. The CMTS contains an RFI-NSI forwarding process and a Host IP stack (including LLC and 802.2/DIX). These are connected to a MAC service access point (MSAP) interface. Below the MSAP, a dashed box labeled 'MAC' contains a MAC forwarder and a Link security sublayer. The MAC forwarder is connected to the MSAP and to multiple Upstream and downstream channels. A CMTS-NSI block is also shown, connected to the RFI-NSI forwarding process and the MAC forwarder.](7ae836e598020d937ed1478c2ef13025_img.jpg) + +The diagram illustrates the internal architecture of a CMTS (Cable Modem Termination System). At the top, two boxes represent the 'RFI-NSI forwarding process' and the 'Host IP stack, including LLC and 802.2/DIX'. Both are connected to a horizontal line representing the 'MAC service access point (MSAP) interface'. Below this interface, a dashed box labeled 'MAC' contains two stacked boxes: 'MAC forwarder' on top and 'Link security' on the bottom. The MAC forwarder is connected to the MSAP interface and has multiple arrows pointing down to 'Upstream and downstream channels'. To the left of the MAC forwarder, a box labeled 'CMTS-NSI' is connected to the 'RFI-NSI forwarding process' and also to the 'MAC forwarder'. + +Diagram of a MAC forwarder architecture within a CMTS. The CMTS contains an RFI-NSI forwarding process and a Host IP stack (including LLC and 802.2/DIX). These are connected to a MAC service access point (MSAP) interface. Below the MSAP, a dashed box labeled 'MAC' contains a MAC forwarder and a Link security sublayer. The MAC forwarder is connected to the MSAP and to multiple Upstream and downstream channels. A CMTS-NSI block is also shown, connected to the RFI-NSI forwarding process and the MAC forwarder. + +**Figure 5-4 – MAC forwarder** + +In Figure 5-4, the LLC sublayer and link security sublayers of the upstream and downstream channels on the cable network terminate at the MAC forwarder. + +The MSAP interface user may be the NSI-RFI forwarding process or the CMTS's host protocol stack. + +Delivery of frames may be based on data-link-layer (bridging) semantics, network-layer (routing) semantics, or some combination. Higher-layer semantics may also be employed (e.g., filters on UDP port numbers). The CMTS MUST provide IP connectivity between hosts attached to cable modems, and must do so in a way that meets the expectations of Ethernet-attached customer equipment. For example, the CMTS must either forward ARP packets or it must facilitate a proxy ARP service. The CMTS MAC Forwarder MAY provide service for non-IP protocols. + +Note that there is no requirement that all upstream and downstream channels be aggregated under one MSAP as shown above. The vendor could just as well choose to implement multiple MSAPs, each with a single upstream and downstream channel. + +### 5.2.1 Rules for data-link-layer forwarding + +The requirements in this clause apply if the MAC forwarder is implemented using only data-link-layer semantics. + +Delivery of frames is dependent on the destination address within the frame. The means of learning the location of each address is vendor-dependent, and MAY include: + +- transparent-bridging-like source-address learning and aging; +- gleaning from MAC registration request messages; +- administrative means. + +If the destination address of a frame is unicast, and that address is associated with a particular downstream channel, then the frame MUST be forwarded to that channel3. + +3 Vendors may implement extensions, similar to static addresses in 802.1D/ISO/IEC 10038 bridging, that cause such frames to be filtered or handled in some other manner. + +If the destination address of a frame is unicast, and that address is known to reside on the other (upper) side of the MSAP interface, then the frame **MUST** be delivered to the MSAP interface. + +If the destination address is broadcast, multicast4, or unknown, the frame **MUST** be delivered to both the MSAP and to all downstream channels (with the exception of the multicast forwarding rules in clause 5.3.1.2). + +Delivery rules are similar to those for transparent bridging: + +- Frames **MUST NOT** be duplicated. +- Frames that cannot be delivered in a timely fashion **MUST** be discarded. +- The frame check sequence **SHOULD** be preserved rather than regenerated. +- Frames, on a given service flow (refer to clause 8.1.2.3), **MUST** be delivered in the order they are received. + +## 5.3 Network layer + +As stated above, the purpose of the data-over-cable system is to transport IP traffic transparently through the system. + +The network layer protocol is the Internet protocol (IP) version 4, as defined in [RFC 791], and migrating to IP version 6. + +This Recommendation imposes no requirements for reassembly of IP packets. + +### 5.3.1 Requirements for IGMP management + +There are two basic modes of IGMP capability that are applicable to a DOCS 2.0 device (CMTS and CM). The first mode is a *passive* operation in which the device selectively forwards IGMP based upon the known state of multicast session activity on the subscriber side (an example of this is described in Appendix V). In *passive* mode, the device derives its IGMP timers based on the rules specified in [DOCS11]. The second mode is an *active* operation in which the device terminates and initiates IGMP based upon the known state of multicast session activity on the subscriber side. One example of the latter, active, mode is commonly referred to as an IGMP-proxy implementation side (as described in [b-ID-IGMP]). A more complete example of an active IGMP device is that of a multicast router. + +Active and passive IGMP devices **MUST** support IGMP v2 [RFC 2236]. + +#### 5.3.1.1 IGMP timer requirements + +The following IGMP timer requirements apply only when the device (CMTS/CM) is operating in passive IGMP mode: + +- The device **MUST NOT** require any specific configuration for the associated multicast timer values and **MUST** be capable of adhering to the timers specified in this clause. +- The device **MAY** provide configuration control that overrides the default values of these timers. +- The device **MUST** derive the membership query interval by looking at the inter-arrival times of the membership query messages. Formally: If $n < 2$ , $MQI = 125$ , else $MQI = \text{MAX}(125, MQ_n - MQ_{n-1})$ , where $MQI$ is the membership query interval in seconds, $n$ is the number of membership queries seen, and $MQ_n$ is the epoch time at which the $n$ th membership query was seen to the nearest second. + +--- + +4 All multicasts, including 802.1D/ISO 10038 spanning tree bridge BPDUs, **MUST** be forwarded. + +- The query response interval is carried in the membership query packet. The query response interval MUST be assumed to be 10 seconds if not otherwise set (or set to 0) in the membership query packet. + +#### 5.3.1.2 CMTS rules + +- If link-layer forwarding of multicast packets is used, the CMTS MUST forward all membership queries on all downstream channels using the appropriate 802.3 multicast group (e.g., 01:00:5E:xx:xx:xx where xx:xx:xx are the low-order 23 bits of the multicast address expressed in hex notation. Refer to [b-IMA]). +- The CMTS MUST forward the first copy of solicited and unsolicited membership reports for any given group received on its upstream RF interface to all of its downstream RF interfaces. However, if membership is managed on a per downstream RF interface basis, membership reports and IGMP v2 leave messages MAY be forwarded only on the downstream interface to which the reporting CPE's CM is connected. +- The CMTS SHOULD suppress the transmission of additional membership reports (for any given group) downstream for at least the query response interval. If the CMTS uses data-link-layer forwarding, it MUST also forward the membership report out all appropriate network side interfaces. +- The CMTS SHOULD suppress the downstream transmission of traffic to any IP multicast group that does not have subscribers on that downstream RF interface (subject to any administrative controls). +- If the CMTS performs network-layer forwarding of multicast packets, it MUST support active IGMP mode. +- If link-layer forwarding of multicast packets is used, the CMTS SHOULD support passive IGMP mode and MAY support Active IGMP mode. + +#### 5.3.1.3 CM rules + +The CM MUST support IGMP with the cable-specific rules specified in this clause. + +The CM MUST implement the passive IGMP mode. Additionally, the CM MAY implement the active IGMP mode. If it implements the active IGMP mode, the CM MUST support a capability to switch between modes. + +##### 5.3.1.3.1 Multicast forwarding requirements + +The following requirements apply to both passive and active modes of IGMP operations: + +- The CM MUST NOT forward membership queries from its CPE interface to its RF interface. +- The CM MUST NOT forward membership reports or IGMP v2 leaves received on its RF interface to its CPE interface. +- The CM MUST NOT forward multicast traffic from its RF interface to its CPE interface unless a device on its CPE interface is a member of that IP multicast group. +- The CM MUST forward multicast traffic from its CPE interface to its RF interface unless administratively (via configuration or other mechanism) prohibited. +- As a result of receiving a membership report on its CPE interface, the CM MUST begin forwarding traffic for the appropriate IP multicast group. The CM MUST stop forwarding multicast traffic from the RF to the CPE side whenever the CM has not received a membership report from the CPE side for more than the membership interval, which is $(2 \times MQI) + QRI$ , where MQI is the membership query interval and QRI is the query response interval. + +- The CM MAY stop forwarding traffic from the RF to the CPE side for a particular multicast group prior to the expiration of the membership interval (see above) if it can determine (for example, via an IGMP LEAVE message and the appropriate protocol exchange) that there are no CPE devices subscribed to that particular group. + +The following requirements apply only when the CM is operating in passive IGMP mode: + +- The CM MUST forward traffic for the ALL-HOSTS multicast group from its RF interface to its CPE interface unless administratively prohibited. The CPE MUST always be considered a member of this group. In particular, the CM MUST forward ALL-HOSTS group queries that pass permit filters on its RF interface to its CPE interface. +- Upon receiving a membership report on its CPE interface, the CM MUST start a random timer between 0 and 3 seconds. During this time period, the CM MUST discard any additional membership reports received in its CPE interface for the associated multicast group. If the CM receives a membership report on its HFC interface for the associated multicast group, the CM MUST discard the membership report received on its CPE interface. If the random timer expires without the reception of a membership report on the CMs HFC interface, the CM MUST transmit the membership report received on its CPE interface. + +The following requirements apply only when the CM is operating in active IGMP mode: + +- The CM MUST implement the host portion of the IGMP v2 protocol [RFC 2236] on its RF interface for CPEs with active groups and MUST NOT act as a querier on its RF interface. +- The CM MUST act as an IGMP v2 querier on its CPE interface. +- If the CM has received a membership report on its downstream RF interface for groups active on the CMs CPE interface within the query response interval, it MUST suppress transmission on its upstream RF interface of such membership reports. +- The CM MUST suppress all subsequent membership reports for this group until such time as the CM receives a membership query (general or specific to this group) on its RF interface or a IGMP v2 leave is received for this group from the CPE interface. +- The CM MUST treat unsolicited membership reports (IGMP JOINS) from its CPE interface as a response to a membership query received on its RF interface. Upon receipt of this unsolicited JOIN from its CPE interface, the CM MUST start a random timer according to the host state diagram, specified in [RFC 2236], and MUST use a query response interval of 3 seconds. As specified above, if the CM receives a membership report on its RF interface for this group during this random time period, it MUST suppress transmission of this join on its upstream RF interface. +- On startup, the CM SHOULD send one or more general queries on its CPE interface (as described in [RFC 2236]) in order to quickly and reliably determine membership information for attached CPEs. + +NOTE – Nothing in this clause would prohibit the CM from being specifically configured to not forward certain multicast traffic as a matter of network policy. + +## 5.4 Above the network layer + +The subscribers will be able to use the transparent IP capability as a bearer for higher-layer services. Use of these services will be transparent to the CM. + +In addition to the transport of user data, there are several network management and operation capabilities which depend upon the network layer. These include: + +- Simple network management protocol (SNMP) [RFC 1157] MUST be supported for network management. + +- Trivial file transfer protocol (TFTP) [RFC 1350], a file transfer protocol, MUST be supported for downloading operational software and configuration information, as modified by TFTP timeout interval and transfer size options [RFC 2349]. +- Dynamic host configuration protocol (DHCP) [RFC 2131], a framework for passing configuration information to hosts on a TCP/IP network, MUST be supported. +- Time protocol, [RFC 868], MUST be supported to obtain the time of day. + +DHCP, TFTP and ToD client messages generated by the CM MUST only be sent via the RF Interface. DHCP, TFTP and ToD client messages include DHCPDISCOVER, DHCPREQUEST, DHCPDECLINE, DHCPRELEASE, DHCPINFORM, TFTP-RRQ, TFTP-ACK and ToD request. + +The CM's DHCP, TFTP and ToD client MUST ignore DHCP, TFTP and ToD server messages received on the CMCI port. DHCP, TFTP and ToD server messages include: DHCPOFFER, DHCPACK, DHCPNAK, TFTP-DATA and ToD time message. + +## 5.5 Data link layer + +The data link layer is divided into sublayers in accordance with [IEEE 802], with the addition of link-layer security in accordance with [DOCS8]. The sublayers, from the top, are: + +- logical link control (LLC) sublayer (class 1 only); +- link-layer security sublayer; +- media access control (MAC) sublayer. + +### 5.5.1 LLC sublayer + +The LLC sublayer MUST be provided in accordance with [ISO/IEC 10039]. Address resolution MUST be used as defined in [RFC 826]. The MAC-to-LLC service definition is specified in [ISO/IEC 10039]. + +### 5.5.2 Link-layer security sublayer + +Link-layer security MUST be provided in accordance with [DOCS8]. + +### 5.5.3 MAC sublayer + +The MAC sublayer defines a single transmitter for each downstream channel – the CMTS. All CMs listen to all frames transmitted on the downstream channel upon which they are registered and accept those where the destinations match the CM itself or CPEs reached via the CMCI port. CMs can communicate with other CMs only through the CMTS. + +The upstream channel is characterized by many transmitters (CMs) and one receiver (the CMTS). Time in the upstream channel is slotted, providing for time division multiple access at regulated time ticks. The CMTS provides the time reference and controls the allowed usage for each interval. Intervals may be granted for transmissions by particular CMs, or for contention by all CMs. CMs may contend to request transmission time. To a limited extent, CMs may also contend to transmit actual data. In both cases, collisions can occur and retries are used. + +Clause 8 describes the MAC-sublayer messages from the CMTS which direct the behaviour of the CMs on the upstream channel, as well as messaging from the CMs to the CMTS. + +#### 5.5.3.1 MAC service definition + +The MAC sublayer service definition is in Appendix I. + +## 5.6 Physical layer + +The physical (PHY) layer is comprised of two sublayers: + +- transmission convergence sublayer (present in the downstream direction only); + +- physical media dependent (PMD) sublayer. + +### **5.6.1 Downstream transmission convergence sublayer** + +The downstream transmission convergence sublayer exists in the downstream direction only. It provides an opportunity for additional services over the physical-layer bitstream. These additional services might include, for example, digital video. Definition of any such additional services is beyond the scope of this Recommendation. + +This sublayer is defined as a continuous series of 188-byte MPEG [ITU-T H.222.0] packets, each consisting of a 4-byte header followed by 184 bytes of payload. The header identifies the payload as belonging to the data-over-cable MAC. Other values of the header may indicate other payloads. The mixture of payloads is arbitrary and controlled by the CMTS. + +The downstream transmission convergence sublayer is defined in clause 7. + +### **5.6.2 PMD sublayer** + +The physical media dependent sublayer is defined in clause 6. + +#### **5.6.2.1 Interface points** + +Three RF interface points are defined at the PMD sublayer: + +- downstream output on the CMTS; +- upstream input on the CMTS; +- cable in/out at the cable modem. + +Separate downstream output and upstream input interfaces on the CMTS are required for compatibility with typical downstream and upstream signal combining and splitting arrangements in headends. + +# **6 Physical media dependent sublayer specification** + +## **6.1 Scope** + +This Recommendation defines the electrical characteristics and signal processing operations for a cable modem (CM) and cable modem termination system (CMTS). It is the intent of this Recommendation to define an interoperable CM and CMTS such that any implementation of a CM can work with any CMTS. It is not the intent of this Recommendation to imply any specific implementation. + +This clause applies to the first technology option referred to in clause 1.1. For the second and third options, refer to Annexes F and J, respectively. + +Whenever any reference in this clause to spurious emissions conflicts with any legal requirement for the area of operation, the latter shall take precedence. + +## **6.2 Upstream** + +### **6.2.1 Overview** + +The upstream physical media dependent (PMD) sublayer uses a FDMA/TDMA (herein called TDMA mode) or FDMA/TDMA/S-CDMA (herein called S-CDMA mode) burst type format, which provides six modulation rates and multiple modulation formats. The use of TDMA or S-CDMA mode is configured by the CMTS via MAC messaging. + +Frequency division multiple access (FDMA) indicates that multiple RF channels are assigned in the upstream band. A CM transmits on a single RF channel unless reconfigured to change channels. Time division multiple access (TDMA) indicates that upstream transmissions have a burst nature. A + +given RF channel is shared by multiple CMs via the dynamic assignment of time slots. Synchronous code division multiple access (S-CDMA) indicates that multiple CMs can transmit simultaneously on the same RF channel and during the same TDMA time slot, while being separated by different orthogonal codes. + +In this Recommendation, the following naming conventions are used. For TDMA, the term "modulation rate" refers to the RF channel symbol rate (160 to 5120 ksymb/s). For S-CDMA, the term "chip rate", which is the modulation rate (1280 to 5120 kHz) of a single bit of the S-CDMA spreading code, may be used interchangeably with "modulation rate". The "modulation interval" is the symbol period (TDMA mode) or chip period (S-CDMA mode) and is the reciprocal of the modulation rate. At the output of the spreader, a group of 128 chips which comprise a single S-CDMA spreading code, and are the result of spreading a single information (QAM constellation) symbol is referred to as a "spread symbol". The period of a spread symbol (128 chips) is called a "spreading interval." A "burst" is a physical RF entity that contains a single preamble plus data, and (in the absence of preceding and following bursts) exhibits RF energy ramp-up and ramp-down. + +In some cases logical zeros are used to pad data blocks; this indicates data with zero-valued binary bits, which result in non-zero transmitted RF energy. In other cases a numerical zero is used; this denotes, for example, symbols that result in zero transmitted RF energy (after ramp-up and ramp-down are taken into account). + +The modulation format includes pulse shaping for spectral efficiency, is carrier-frequency agile, and has selectable output power level. + +Each burst supports a flexible modulation order, modulation rate, preamble, randomization of the payload, and programmable FEC encoding. + +All of the upstream transmission parameters associated with burst transmission outputs from the CM are configurable by the CMTS via MAC messaging. Many of the parameters are programmable on a burst-by-burst basis. + +The PMD sublayer can support a near-continuous mode of transmission, wherein ramp-down of one burst MAY overlap the ramp-up of the following burst, so that the transmitted envelope is never zero. In TDMA mode, the system timing of the TDMA transmissions from the various CMs MUST provide that the centre of the last symbol of one burst and the centre of the first symbol of the preamble of an immediately following burst are separated by at least the duration of five symbols. The guard band MUST be greater than or equal to the duration of five symbols plus the maximum timing error. Timing error is contributed by both the CM and CMTS. CM timing performance is specified in clause 6.2.19. Maximum timing error and guard band may vary with CMTSs from different vendors. The term guard time is similar to the guard band, except that it is measured from the end of the last symbol of one burst to the beginning of the first symbol of the preamble of an immediately following burst. Thus, the guard time is equal to the guard band - 1. + +The PMD sublayer also supports a synchronous mode of transmission when using S-CDMA, wherein ramp-down of one burst MAY completely overlap the ramp-up of the following burst, so that the transmitted envelope is never zero. There is no guard time for transmission on S-CDMA channels. The system timing of the S-CDMA transmissions from the various CMs MUST provide adequate timing accuracy so that different CMs do not appreciably interfere with each other. S-CDMA utilizes precise synchronization so that multiple CMs can transmit simultaneously. + +The upstream modulator is part of the cable modem which interfaces with the cable network. The modulator contains the electrical-level modulation function and the digital signal-processing function; the latter provides the FEC, preamble prepend, symbol mapping, and other processing steps. + +At the demodulator, similar to the modulator, there are two basic functional components: the demodulation function and the signal processing function. The demodulator resides in the CMTS + +and there is one demodulation function (not necessarily an actual physical demodulator) for each carrier frequency in use. The demodulation function receives all bursts on a given frequency. + +The demodulation function of the demodulator accepts a varying-level signal centred around a commanded power level and performs symbol timing and carrier recovery and tracking, burst acquisition, and demodulation. Additionally, the demodulation function provides an estimate of burst timing relative to a reference edge, an estimate of received signal power, may provide an estimate of signal-to-noise ratio, and may engage adaptive equalization to mitigate the effects of: + +- a) echoes in the cable plant; +- b) narrow-band ingress; and +- c) group delay. + +The signal-processing function of the demodulator performs the inverse processing of the signal-processing function of the modulator. This includes accepting the demodulated burst data stream and decoding, etc. The signal-processing function also provides the edge-timing reference and gating-enable signal to the demodulators to activate the burst acquisition for each assigned burst slot. The signal-processing function may also provide an indication of successful decoding, decoding error, or fail-to-decode for each codeword and the number of corrected Reed-Solomon symbols in each codeword. For every upstream burst, the CMTS has a prior knowledge of the exact burst length in modulation intervals (see clauses 6.2.5.1, 6.2.19 and A.2). + +### 6.2.2 Signal processing requirements + +The signal processing order for each burst packet type MUST be compatible with the sequence shown in Figure 6-1. For TDMA mode, the signal processing order for each burst packet type MUST follow the order of steps in Figure 6-2. For S-CDMA mode, the signal processing order for each burst packet type MUST follow the order of steps in Figure 6-3. + +![Figure 6-1: Upstream signal-processing sequence diagram. The sequence starts with 'Burst data in' entering an 'R-S encoder'. The output of the R-S encoder goes to a 'Byte interleaver (TDMA only)'. The output of the Byte interleaver goes to a 'Scrambler'. The output of the Scrambler goes to a 'TCM encoder (S-CDMA only)'. The output of the TCM encoder is summed with a 'Preamble prepend' at a summation node (indicated by a circle with a plus sign). The output of the summation node goes to a 'Framer (S-CDMA only)'. The output of the Framer goes to a 'Symbol mapper'. The output of the Symbol mapper goes to a 'Spreader (S-CDMA only)'. The output of the Spreader goes to a 'Transmit equalizer'. The output of the Transmit equalizer goes to a 'Filter'. The output of the Filter goes to a 'Modulator'. The output of the Modulator is 'RF out'. A feedback loop connects the output of the Modulator back to the input of the R-S encoder. The diagram is labeled 'J.122_F6-1' in the bottom right corner.](8c880d6b715587bd710a9ba8414469b1_img.jpg) + +``` +graph LR; A[Burst data in] --> B[R-S encoder]; B --> C[Byte interleaver (TDMA only)]; C --> D[Scrambler]; D --> E[TCM encoder (S-CDMA only)]; E --> F((+)); G[Preamble prepend] --> F; F --> H[Framer (S-CDMA only)]; H --> I[Symbol mapper]; I --> J[Spreader (S-CDMA only)]; J --> K[Transmit equalizer]; K --> L[Filter]; L --> M[Modulator]; M --> N[RF out]; M --> A; +``` + +Figure 6-1: Upstream signal-processing sequence diagram. The sequence starts with 'Burst data in' entering an 'R-S encoder'. The output of the R-S encoder goes to a 'Byte interleaver (TDMA only)'. The output of the Byte interleaver goes to a 'Scrambler'. The output of the Scrambler goes to a 'TCM encoder (S-CDMA only)'. The output of the TCM encoder is summed with a 'Preamble prepend' at a summation node (indicated by a circle with a plus sign). The output of the summation node goes to a 'Framer (S-CDMA only)'. The output of the Framer goes to a 'Symbol mapper'. The output of the Symbol mapper goes to a 'Spreader (S-CDMA only)'. The output of the Spreader goes to a 'Transmit equalizer'. The output of the Transmit equalizer goes to a 'Filter'. The output of the Filter goes to a 'Modulator'. The output of the Modulator is 'RF out'. A feedback loop connects the output of the Modulator back to the input of the R-S encoder. The diagram is labeled 'J.122\_F6-1' in the bottom right corner. + +Figure 6-1 – Upstream signal-processing sequence + +![](0b7849dae424b0dd33e6386d2384643a_img.jpg) + +| | | +|--------------------------|---------------------------------------------------------------------------------------------------------------------------------| +| | Packet stream input | +| | ↓ | +| Block the data | Separate packet into information blocks (= data bytes in one codeword) | +| | ↓ | +| R-S encode | R-S (Reed-Solomon) encode each information block, using shortened codeword for last block if needed. R-S FEC can be turned off. | +| | ↓ | +| Byte interleave | R-S Byte interleave. R-S Byte interleaver can be turned off. | +| | ↓ | +| Scramble | Scramble (see Figure 6-7) | +| | ↓ | +| Preamble prepend | Prepend preamble symbols | +| | ↓ | +| Symbol map | Map the data stream into modulator symbols | +| | ↓ | +| Transmit equalize | Pre-equalize the symbol stream | +| | ↓ | +| Filter | Filter symbol stream for spectral shaping | +| | ↓ | +| Modulate | Modulate at precise times (QPSK; 8QAM; 16QAM; 32QAM; 64QAM) | +| | ↓ | +| | Output RF waveform burst | + +**Figure 6-2 – TDMA upstream transmission processing** + +![](798679874d1c29f8343506a156c79d7e_img.jpg) + +| | | +|--------------------------|---------------------------------------------------------------------------------------------------------------------------------| +| | Packet stream input | +| | ↓ | +| Block the data | Separate packet into information blocks (= data bytes in one codeword) | +| | ↓ | +| R-S encode | R-S (Reed-Solomon) encode each information block, using shortened codeword for last block if needed. R-S FEC can be turned off. | +| | ↓ | +| Scramble | Scramble (see Figure 6-7) | +| | ↓ | +| TCM encode | TCM (trellis-coded modulation) encode the bytes. TCM can be turned off. | +| | ↓ | +| Preamble prepend | Prepend preamble symbols | +| | ↓ | +| S-CDMA framer | Frame and interleave the data into mini-slots | +| | ↓ | +| Symbol map | Map the data stream into modulator symbols | +| | ↓ | +| S-CDMA spreader | Spread the symbols. For spreader-off on S-CDMA channels, spreader can be turned off. | +| | ↓ | +| Transmit equalize | Pre-equalize the symbol stream | +| | ↓ | +| Filter | Filter symbol stream for spectral shaping | +| | ↓ | +| Modulate | Modulate at precise times (QPSK; 8QAM; 16QAM; 32QAM; 64QAM, 128QAM/TCM only) | +| | ↓ | +| | Output RF waveform burst | + +**Figure 6-3 – S-CDMA upstream transmission processing** + +The blocks used only in S-CDMA consist of a TCM encoder, S-CDMA framer, and S-CDMA spreader. The TCM encoder provides trellis modulation encoding of data symbols and is described in clause 6.2.8. The S-CDMA framer maps mini-slots into code resources and provides interleaving of data symbols and is described in clause 6.2.11. The S-CDMA spreader spreads S-CDMA framed symbols for transmission and is described in clause 6.2.14. + +### 6.2.3 Modulation formats + +The modulation formats listed here specify requirements for J.122-compliant equipment. Cable operators are free to configure the modulation format to best address their system characteristics and application requirements. + +The upstream modulator MUST provide QPSK and 16QAM differential encoded modulations for TDMA. + +The upstream modulator MUST provide QPSK, 8QAM, 16QAM, 32QAM, and 64QAM modulations for TDMA and S-CDMA channels. + +The upstream modulator MUST provide QPSK, 8QAM, 16QAM, 32QAM, 64QAM and 128QAM TCM encoded modulations for S-CDMA channels. + +The upstream demodulator MAY support QPSK and 16QAM differential modulation for TDMA. + +The upstream demodulator MUST support QPSK, 16QAM, and 64QAM modulations for TDMA and S-CDMA channels. + +The upstream demodulator MAY support 8QAM and 32QAM modulation for TDMA and S-CDMA channels. + +The upstream demodulator MAY support QPSK, 8QAM, 16QAM, 32QAM, 64QAM, and 128QAM TCM encoded modulations for S-CDMA channels. + +### 6.2.4 R-S encode + +#### 6.2.4.1 R-S encode modes + +The upstream modulator MUST be able to provide the following selections: Reed-Solomon codes over GF(256) with $T = 1$ to 16 or no R-S coding. + +The following Reed-Solomon generator polynomial MUST be supported: + +$$g(x) = (x + \alpha^0)(x + \alpha^1) \dots (x + \alpha^{2T-1})$$ + +where the primitive element alpha is 0x02 hex. + +The following Reed-Solomon primitive polynomial MUST be supported: + +$$p(x) = x^8 + x^4 + x^3 + x^2 + 1$$ + +The upstream modulator MUST provide codewords from a minimum size of 18 bytes (16 information bytes [ $k$ ] plus two parity bytes for $T = 1$ error correction) to a maximum size of 255 bytes ( $k$ -bytes plus parity-bytes). The minimum uncoded word size MUST be one byte. + +In shortened last codeword mode, the CM MUST provide the last codeword of a burst shortened from the assigned length of $k$ data bytes per codeword as described in clause 6.2.5.1.3. + +The value of $T$ MUST be configured in response to the upstream channel descriptor from the CMTS. + +#### 6.2.4.2 R-S bit-to-symbol ordering + +The input to the Reed-Solomon encoder is logically a serial bit stream from the MAC layer of the CM, and the first bit of the stream MUST be mapped into the MSB of the first Reed-Solomon symbol into the encoder. The MSB of the first symbol out of the encoder MUST be mapped into the first bit of the serial bit stream fed to the scrambler. + +NOTE – The MAC byte-to-serial upstream convention calls for the byte LSB to be mapped into the first bit of the serial bit stream per clause 8.2.1.3. + +### 6.2.5 R-S frame structure + +Figure 6-4 shows two examples of the R-S frame structure: one where the packet length equals the number of information bytes in a codeword, and another where the packet length is longer than the number of information bytes in one codeword, but less than in two codewords. Example 1 illustrates the fixed codeword-length mode, and example 2 illustrates the shortened last codeword mode. These modes are defined in clause 6.2.5.1. + +Example 1) Packet length = number of information bytes in codeword = $k$ + +![Diagram for Example 1 showing a single codeword structure. It consists of five blocks: Preamble, Packet data, FEC parity, Guard time, and Empty up to next mini-slot boundary. A double-headed arrow labeled 'One codeword' spans over the Packet data and FEC parity blocks.](878d9539700bd792e7d12ad6f1203c5d_img.jpg) + +| | | | | | +|----------|--------------|------------|------------|-------------------------------------| +| Preamble | One codeword | | Guard time | Empty up to next mini-slot boundary | +| | Packet data | FEC parity | | | + +Diagram for Example 1 showing a single codeword structure. It consists of five blocks: Preamble, Packet data, FEC parity, Guard time, and Empty up to next mini-slot boundary. A double-headed arrow labeled 'One codeword' spans over the Packet data and FEC parity blocks. + +Example 2) Packet length = $k + \text{remaining information bytes in 2nd codeword} = k + k' \leq k + k'' \leq 2k$ + +![Diagram for Example 2 showing a two-codeword structure. The top part shows Preamble, Two codewords, and Guard time, with a 'Mini-slot boundary' indicated after the Guard time. The bottom part details the 'Two codewords' section, showing: First k bytes of packet, FEC parity, Last k' bytes of packet, k'' - k' bytes of zero-fill, and FEC parity. Dashed lines connect the 'Two codewords' block to its detailed view.](8e80de0cac529b2c3775d677c5203133_img.jpg) + +| | | | | | +|---------------------------|---------------|---------------------------|-------------------------------|------------| +| Preamble | Two codewords | | | Guard time | +| First $k$ bytes of packet | FEC parity | Last $k'$ bytes of packet | $k'' - k'$ bytes of zero-fill | FEC parity | + +Diagram for Example 2 showing a two-codeword structure. The top part shows Preamble, Two codewords, and Guard time, with a 'Mini-slot boundary' indicated after the Guard time. The bottom part details the 'Two codewords' section, showing: First k bytes of packet, FEC parity, Last k' bytes of packet, k'' - k' bytes of zero-fill, and FEC parity. Dashed lines connect the 'Two codewords' block to its detailed view. + +J.122\_F6-4 + +**Figure 6-4 – Example frame structures with flexible burst length mode** + +#### 6.2.5.1 R-S codeword length + +When R-S FEC is enabled, the CM operates in either fixed-length codeword mode or in shortened last codeword mode. The minimum number of information bytes in a codeword in either mode is 16. Shortened last codeword mode only provides a benefit when the number of bytes in a codeword is greater than the minimum of 16 bytes. + +The intent of the following clauses is to define rules and conventions such that CMs request the proper number of mini-slots and the CMTS PHY knows what to expect regarding the R-S FEC framing in both fixed codeword length and shortened last codeword modes. Shortened last codeword mode MUST NOT be used for initial maintenance (broadcast or unicast). + +##### 6.2.5.1.1 Burst size + +For an allocation of mini-slots (in both contention and non-contention regions), the requirements of clauses 6.2.5.1.2 and 6.2.5.1.3 apply to a burst transmitted in that allocation. Regardless of the size of the allocation, the size of the burst MUST be as specified in Table 6-1 below. + +**Table 6-1 – Burst size** + +| IUC | Burst size | +|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 1, 3 | Minimum number of mini-slots required for message transmission including burst overhead. Burst overhead includes preamble, R-S parity bytes, TCM return-to-zero bits, and guard time if applicable. | +| 2 | Number of mini-slots specified in the well-known multicast SID (refer to Annex A). | +| 4-6, 9-11 | Number of mini-slots allocated. | + +##### 6.2.5.1.2 Fixed codeword length + +With the fixed-length codewords, after all the data are encoded, zero-fill will occur in this codeword if necessary to reach the assigned $k$ data bytes per codeword. Additionally, zero-fill MUST continue + +up to the point when no additional fixed-length codewords can be inserted before the end of the burst specified in Table 6-1 above, accounting for preamble, FEC parity, return-to-zero bits and guard-time symbols (if any). + +##### 6.2.5.1.3 Shortened last codeword + +As shown in Figure 6-4, let $k'$ = the number of information bytes that remain after partitioning the information bytes of the burst into full-length ( $k$ burst data bytes) codewords. The value of $k'$ is less than $k$ . Given operation in a shortened last codeword mode, let $k''$ = the number of burst data bytes plus zero-fill bytes in the shortened last codeword. In shortened codeword mode, the CM MUST encode the data bytes of the burst (including MAC header) using the assigned codeword size ( $k$ information bytes per codeword) until 1) all the data are encoded, or 2) a remainder of data bytes is left over which is less than $k$ . Shortened last codewords MUST NOT have less than 16 information bytes, and this is to be considered when CMs make requests of mini-slots. In shortened last codeword mode, the CM MUST zero-fill data if necessary up to the burst size specified in Table 6-1 above, accounting for preamble, FEC parity, return-to-zero bits, and guard-time symbols (if any). Therefore, in many cases, only $k'' - k'$ zero-fill bytes are necessary with $16 \leq k'' \leq k$ and $k' \leq k''$ . + +More generally, the CM MUST zero-fill data until the point when no additional fixed-length codewords can be inserted before the end of the burst specified in Table 6-1 above, accounting for preamble, FEC parity, return-to-zero bits, and guard-time symbols (if any), and then, if possible, a shortened last codeword of zero-fill MUST be inserted to fit into the last mini-slot. + +If, after zero-fill of additional codewords with $k$ information bytes, there are less than 16 bytes remaining before the end of the burst specified in Table 6-1 above, accounting for preamble, FEC parity, return-to-zero bits, and guard-time symbols (if any), then the CM shall not create this last shortened codeword. + +#### 6.2.5.2 R-S FEC disabled + +When $T = 0$ (no FEC parity bytes), the R-S encoder SHOULD zero-fill in full bytes to the end of the burst specified in clause 6.2.5.1.1 above, accounting for preamble, return-to-zero bits, and guard-time symbols (if any). + +### 6.2.6 TDMA byte interleaver + +R-S codeword interleaving in a byte (R-S symbol) format MUST be performed after R-S encoding on a TDMA channel. The byte interleaver changes the order of the bytes at the R-S encoder output, i.e., it performs an operation of byte permutation. At the receiver side, the original order of bytes is restored prior to the R-S decoding. Therefore, if some consecutive bytes were corrupted by burst noise, they are spread between various R-S codewords, averaging the number of erroneous bytes in each codeword. The interleaver is a block interleaver type, i.e., the permutation is achieved by filling a table row-wise (one row per R-S codeword), and reading it column-wise. The total memory size allocated for the table is 2048 bytes. + +The byte interleaver is disabled when the R-S encoder is turned off ( $T = 0$ ). + +#### 6.2.6.1 Byte interleaver parameters + +The interleaver operating parameters described in Table 6-2 determine the operation of the interleaver for every burst. + +**Table 6-2 – Interleaver operating parameters** + +| Parameter | Definition | Allowed Values | +|-----------|------------------------------------------------------------|-----------------------------------------------------------------------------------| +| $N_r$ | Interleaver width (R-S codeword length, $k + 2 \times T$ ) | 18 to 255 | +| $I_r$ | Interleaver depth | 0: Dynamic mode
1: No interleaving
2 to floor ( $2048/N_r$ ) for fixed mode | +| $B_r$ | Interleaver block size | $2 \times N_r$ to 2048 | +| $N_f$ | Packet size (in bytes, including FEC) | $\geq 18$ bytes | + +The CMTS and CM MUST use the interleaver parameters within the allowed values in Table 6-2 with the following additional restrictions: + +- 1) $N_r$ and $I_r$ MUST be chosen such that $N_r \times I_r \leq 2048$ (in other words, for a given $N_r$ , the maximal value of $I_r$ is $I_{r,max} = \text{floor}(2048/N_r)$ ). +- 2) $N_r$ MUST be identical to the R-S codeword length (i.e., $k + 2T$ ). +- 3) $B_r$ is effective only when $I_r = 0$ . This mode is called dynamic mode. +- 4) When $I_r = 1$ , interleaving is disabled. + +$N_r$ , $I_r$ and $B_r$ are specified in the burst profile, and $N_f$ is implied in the MAP message. + +#### 6.2.6.2 Interleaver operating modes + +The interleaver MUST support both an operating mode in which the block size is fixed, as well as a dynamic mode in which the interleaver depth is determined based on the burst size. + +##### 6.2.6.2.1 Fixed mode + +The R-S encoded data bytes of the packet are first divided into interleaver blocks of $N_r \times I_r$ bytes (i.e., blocks of $I_r$ R-S codewords each). The size of the last interleaver block may be smaller when the packet length is not an integer multiple of $N_r \times I_r$ . Each interleaver block is interleaved separately. + +Each interleaver block is filled into a table with $I_r$ rows and $N_r$ columns. The data is written row by row (from left to right). Therefore, each row corresponds to one R-S codeword. The bytes are read column by column (from top to bottom). The interleaver operation is demonstrated in Figure 6-5. + +![](d116934392360da963e91d840d1e45a8_img.jpg) + +Write → + +| | | | | +|--------------|--------------|--|----------------| +| $C_1(1)$ | $C_1(2)$ | | $C_1(N_r)$ | +| $C_2(1)$ | $C_2(2)$ | | $C_2(N_r)$ | +| | | | | +| $C_{I_r}(1)$ | $C_{I_r}(2)$ | | $C_{I_r}(N_r)$ | + +↓ Read + +Input sequence: $C_1(1), \dots, C_1(N_r), C_2(1), \dots, C_2(N_r), C_3(1), \dots, C_{I_r}(N_r)$ + +Output sequence: $C_1(1), C_2(1), \dots, C_{I_r}(1), C_1(2), \dots, C_{I_r}(2), C_1(3), \dots, C_{I_r}(N_r)$ + +J.122\_F6-5 + +**Figure 6-5 – Byte interleaver operation** + +The last interleaver block might have fewer rows than $I_r$ . If the shortened last codeword mode is applied, then the last row might have fewer elements than $N_r$ . In these cases, the interleaver table is read column by column, skipping the empty elements of the table. The interleaver operation for the last interleaver block is demonstrated in Figure 6-6. + +![](b9c0d46c1148cf65cb79f27fac420981_img.jpg) + +Write → + +| | | | | | | +|----------|----------|--|---------------|--|----------------| +| $C_1(1)$ | $C_1(2)$ | | $C_1(N')$ | | $C_1(N_r)$ | +| $C_2(1)$ | $C_2(2)$ | | | | $C_2(N_r)$ | +| | | | | | | +| | | | $C_{r-1}(N')$ | | $C_{r-1}(N_r)$ | +| $C_r(1)$ | $C_r(2)$ | | $C_r(N')$ | | | + +↓ Read + +Input sequence: + $C_1(1), \dots, C_1(N_r), C_2(1), \dots, C_2(N_r), C_3(1), \dots, C_r(1), \dots, C_r(N')$ + +Output sequence: + $C_1(1), C_2(1), \dots, C_r(1), \dots, C_1(2), \dots, C_r(2), C_1(N'), \dots, C_r(N'), C_1(N'+1), \dots, C_{r-1}(N'+1), C_1(N'+2), \dots, C_{r-1}(N'+2), \dots, C_1(N_r), \dots, C_{r-1}(N_r)$ + +J.122\_F6-6 + +**Figure 6-6 – Interleaver operation for last interleaver block +(with shortened last codeword)** + +##### 6.2.6.2.2 Dynamic mode + +In the fixed mode, the interleaving depth of the last interleaving block of a packet ( $I'$ in Figure 6-6) may be as small as one, resulting in low burst noise robustness for this block. In the dynamic mode, the depths of the interleaver blocks are chosen such that all blocks have approximately the same depth to achieve nearly optimal burst noise robustness (for the given block size). + +The R-S encoded data bytes of the packet are first divided into $N_s^0$ interleaver blocks. The size of the $i$ -th interleaver block is $N_r \times I_r^{(i)}$ bytes (i.e., a block of $I_r^{(i)}$ R-S codewords). The size of the last interleaver block may be smaller in the shortened last codeword mode. Each interleaver block is interleaved separately (see the equations for $N_s^0$ and $I_r^{(i)}$ in clause 6.2.6.2.2.1). + +The $i$ -th interleaver block is filled into a table with $I_r^{(i)}$ rows and $N_r$ columns. The data is written row-wise (from left to right). Therefore, each row corresponds to one R-S codeword. The bytes are read column-wise (from top to bottom). The interleaver operation is demonstrated in Figure 6-5 (except that there are $I_r^{(i)}$ rows instead of $I_r$ ). + +If the shortened last codeword mode is applied, then the last row might have fewer elements than $N_r$ . In this case, the interleaver table is read column by column, skipping the empty elements of the table. The interleaver operation for the last interleaver block is demonstrated in Figure 6-6 (except that there are $I_r(N_s^0)$ rows instead of $I'$ ). + +###### 6.2.6.2.2.1 Dynamic mode calculations + +$N_s^0$ and $I_r^{(i)}$ are determined by the following equations: + +Total number of interleaver rows: $I_{tot}^0 = \text{ceil}(N_f / N_r)$ + +Maximal number of rows per segment: $I_{r,max} = \text{floor}(B_r / N_r)$ + +Number of segments: $N_s^0 = \text{ceil}(I_{tot}^0 / I_{r,max})$ + +Interleaver depth of first block: $I_r^1 = \text{floor}(I_{tot}^0 / N_s^0)$ + +No. of blocks with depth of $I_r^1$ : $M = N_s^0 \cdot (I_r^1 + 1) - I_{tot}^0$ + +Then for segment $i$ , $I_r^{(i)}$ is calculated as follows ( $i=1 \dots N_s^0$ ): + +$$I_r^{(i)} = \begin{cases} I_r^1, & i=1, \dots, M \\ I_r^1 + 1, & i=M+1, \dots, N_s^0 \end{cases}$$ + +### 6.2.7 Scrambler (randomizer) + +The upstream modulator MUST implement a scrambler (shown in Figure 6-7) where the 15-bit seed value MUST be arbitrarily programmable. + +![Figure 6-7 – Scrambler structure. The diagram shows a 15-bit shift register (N=15) with delay elements 1 through N. The register is initialized with a 15-bit seed value (Seed LSB to Seed MSB) via a 'Seedload/frame reset' input. The output of the last delay element (N) is fed into an XOR gate along with the 'Randomizer data input'. The output of this XOR gate is the 'Randomizer data output' and is also fed back into the first delay element (1) to continue the scrambling sequence.](a3b3abbf6d0b18f3dd4a83680b5e3e42_img.jpg) + +Figure 6-7 – Scrambler structure. The diagram shows a 15-bit shift register (N=15) with delay elements 1 through N. The register is initialized with a 15-bit seed value (Seed LSB to Seed MSB) via a 'Seedload/frame reset' input. The output of the last delay element (N) is fed into an XOR gate along with the 'Randomizer data input'. The output of this XOR gate is the 'Randomizer data output' and is also fed back into the first delay element (1) to continue the scrambling sequence. + +Figure 6-7 – Scrambler structure + +At the beginning of each burst, the register is cleared and the seed value is loaded. The seed value MUST be used to calculate the scrambler bit which is combined in an XOR with the first bit of data of each burst (which is the MSB of the first symbol following the last symbol of the preamble). + +The scrambler seed value MUST be configured in response to the upstream channel descriptor from the CMTS. + +The polynomial MUST be $x^{15} + x^{14} + 1$ . + +### 6.2.8 TCM encoder + +R-S symbol interleaving is commonly included between the TCM and R-S blocks to preserve coding gain in the presence of bursty errors produced at the output of the TCM decoder. This interleaver was not included in the original baseline S-CDMA proposal to reduce memory requirements at the expense of coding gain. + +In S-CDMA mode the CM MUST support trellis-coded modulation for transmission of $m = 1, 2, 3, 4, 5$ and 6 bits per symbol with QPSK0, 8QAM, 16QAM, 32QAM, 64QAM and 128QAM constellations, respectively. Support of TCM in the CMTS is optional. + +Figure 6-8 shows the employed 8-state TCM encoder. The encoding operation causes a mapping of $m$ input bits into $m + 1$ output bits for input into the symbol mapping block. The systematic convolutional encoder adds the coded bit $x^1 = s^0$ to the input bits $i^m, \dots, i^3, i^2, i^1$ . For $m = 1$ , only input bit $i^1$ is used ( $i^2 = 0$ ), and encoding is reduced to rate-1/2 coding. + +![Figure 6-8: Convolutional encoder diagram. The diagram shows a systematic convolutional encoder. On the left, input bits i^m, ..., i^3, i^2, i^1 are shown. The input i^1 is split: one path goes directly to the 'S-CDMA framing' block, and the other path goes through a series of three delay (D) blocks and two adders (circles with a cross). The first adder also receives a feedback signal from the output of the third delay block. The outputs of the delay blocks are labeled s^2, s^1, and s^0 = x^1. These state bits are also fed into the 'S-CDMA framing' block. The 'S-CDMA framing' block outputs 'Symbol labels'. A label 'J.122_F6-8' is at the bottom right of the diagram.](8f7c0bf0c75a31fee6b0c7392ff57c39_img.jpg) + +Figure 6-8: Convolutional encoder diagram. The diagram shows a systematic convolutional encoder. On the left, input bits i^m, ..., i^3, i^2, i^1 are shown. The input i^1 is split: one path goes directly to the 'S-CDMA framing' block, and the other path goes through a series of three delay (D) blocks and two adders (circles with a cross). The first adder also receives a feedback signal from the output of the third delay block. The outputs of the delay blocks are labeled s^2, s^1, and s^0 = x^1. These state bits are also fed into the 'S-CDMA framing' block. The 'S-CDMA framing' block outputs 'Symbol labels'. A label 'J.122\_F6-8' is at the bottom right of the diagram. + +**Figure 6-8 – Convolutional encoder** + +The initial state of the TCM encoder MUST be the zero state. The zero state MUST be reached again with the last encoded symbol. + +To return to the zero state from all possible trellis paths, if $m = 1$ (QPSK) three tail symbols ( $n_t = 3$ ) MUST be generated with input bit $i^1$ set to $i^1 = s^1$ . By inspection of Figure 6-8, after three symbols, the state bits $s^2, s^1$ and $s^0 = x^1$ will be zero. Tail symbols are extra symbols, which carry no information. + +If $m = 2$ , to return to the zero state from all possible trellis paths, two tail symbols ( $n_t = 2$ ) MUST be generated. The input bits $i^2 i^1$ MUST be set such that the zero state is reached after two symbols. If the first symbol is set to $i^2 = 0, i^1 = s^1$ , and the second (final) symbol to $i^2 = s^2, i^1 = s^1$ after these two symbols the state bits $s^2, s^1$ , and $s^0 = x^1$ will be zero. + +If $m \geq 3$ , the uncoded bits $i^m, \dots, i^3$ MUST be used for information encoding, when this is possible. Otherwise, uncoded bits MUST be set to zero. The number of tail symbols carrying no information depends on the ending conditions and can vary between zero and two ( $0 \leq n_t \leq 2$ ). + +#### 6.2.8.1 Byte to TCM symbol mapping + +The mapping of R-S bytes to TCM symbols is done such that each byte is mapped entirely to the uncoded bits $i^m, \dots, i^3$ , or entirely to the convolutional encoder input bits $i^2 i^1$ . The decision is made sequentially for each byte using the rule that the byte assignment should lead to the shortest packet of symbols including tail symbols, if the current byte were the last byte to be encoded. This rule results in the repetitive patterns of byte assignments to label bits shown in Figure 6-9 for $m = 1$ to 6. In the figure bit $i^m$ is at the top and bit $i^1$ is at the bottom. + +![Diagram showing repetitive patterns of byte mapping to symbol map bits for TCM for various modulation schemes: m=6 (128QAM), m=5 (64QAM), m=4 (32QAM), m=3 (16QAM), m=2 (8QAM), and m=1 (QPSK).](96b090628713287072839afc1b077881_img.jpg) + +The diagram illustrates the mapping of bytes (labeled 1, 2, 3, 4, 5) to symbol bits for different modulation orders. +- m=6 (128QAM): Shows bytes 1, 2, and 3 mapped across a grid of bits. +- m=5 (64QAM): Shows bytes 1, 2, 3, 4, and 5 mapped across a grid, with some bytes split across bit boundaries. +- m=4 (32QAM): Shows bytes 1 and 2 mapped. +- m=3 (16QAM): Shows bytes 1, 2, and 3 mapped. +- m=2 (8QAM): Shows bytes 1 and 2 mapped. +- m=1 (QPSK): Shows an empty grid for bit mapping. +Each row represents a different modulation level, and the horizontal axis represents bit positions within symbols. + +J.122\_F6-9 + +Diagram showing repetitive patterns of byte mapping to symbol map bits for TCM for various modulation schemes: m=6 (128QAM), m=5 (64QAM), m=4 (32QAM), m=3 (16QAM), m=2 (8QAM), and m=1 (QPSK). + +**Figure 6-9 – Repetitive patterns of byte mapping to symbol map bits for TCM** + +The MSB ( $i^m$ ) MUST be the first bit in the serial data fed into the uncoded input bits (i.e., $i^m$ to $i^3$ ). The MSB ( $i^2$ ) MUST be the first bit in the serial data fed into the coded input bits. + +Figure 6-10 illustrates the byte assignments for Trellis-coded 64QAM modulation by two examples. Notice that bytes are assigned in a repetitive pattern of five bytes. In the first example, $N_f$ is divisible by five. In this case two tail symbols are appended. In the second example, $N_f$ is not divisible by five and no tail symbols are required. The bits needed for returning to the zero state are available in symbols still carrying information. + +![Figure 6-10: Example byte to bit assignment for 64QAM. The diagram consists of two horizontal layouts of bit grids. The top layout shows a sequence starting with 'Zero initial state' leading into 'np preamble symbols', followed by 'ni TCM symbols', and ending with 'nt = 2 tail symbols' which reach a 'Zero final state'. Specific bits are labeled as msb 1, 2, 3, 6, 8, Ni-2, and Ni. On the right, bit rows are indexed x^1 to x^6. The bottom layout shows 'ni TCM symbols, no tail symbols (nt = 0)'. A legend identifies three patterns: checkered for 'Zero fill bits', diagonal stripes for 'Bits to return to zero state', and vertical bars for 'Redundant code bits'.](2580688a4de0a29692805cc6ba4822d7_img.jpg) + +Zero initial state + +Zero final state + +msb 1 + +msb 2 + +msb 3 + +msb 6 + +msb 8 + +msb $N_i-2$ + +msb $N_i-1$ + +msb $N_i$ + +$n_p$ preamble symbols + +$n_i$ TCM symbols + +$n_t = 2$ tail symbols + +$n_i$ TCM symbols, no tail symbols ( $n_t = 0$ ) + +Zero fill bits + +Bits to return to zero state + +Redundant code bits + +$x^6$ + $x^5$ + $x^4$ + $x^3$ + $x^2$ + $x^1$ + +J.122\_F6-10 + +Figure 6-10: Example byte to bit assignment for 64QAM. The diagram consists of two horizontal layouts of bit grids. The top layout shows a sequence starting with 'Zero initial state' leading into 'np preamble symbols', followed by 'ni TCM symbols', and ending with 'nt = 2 tail symbols' which reach a 'Zero final state'. Specific bits are labeled as msb 1, 2, 3, 6, 8, Ni-2, and Ni. On the right, bit rows are indexed x^1 to x^6. The bottom layout shows 'ni TCM symbols, no tail symbols (nt = 0)'. A legend identifies three patterns: checkered for 'Zero fill bits', diagonal stripes for 'Bits to return to zero state', and vertical bars for 'Redundant code bits'. + +**Figure 6-10 – Example byte to bit assignment for 64QAM** + +The CM MUST place the return-to-zero bits right after the last coded data sub-symbol, that is, the last coded sub-symbol corresponding to the parity bytes of the last shortened or fixed codeword including any zero-filled codeword in the grant. The rest of the coded bits MUST be filled with zeros. + +Figure 6-11 illustrates the placing of return-to-zero bits for 64QAM when the last transmitted byte is #1. The first two pairs of $x^2$ and $x^3$ are the return-to-zero bits, and the last empty coded pair is zero filled. + +![Diagram showing a 6x3 grid of bits with a legend. The grid shows a sequence of bits over time (rows 1 to 6). Row 1: u, u, u; Row 2: u, u, u; Row 3: u, u, 0; Row 4: 0, r, 0; Row 5: r, r, 0; Row 6: empty, empty, empty. Legend: 'u' for Uncoded bits, '0' for Zero fill bits, 'r' for Bits to return to zero state. Label J.122_F6-11.](4162c218fc7881cd90fc9574e07d2327_img.jpg) + +| | | | | | +|--------------------------------|---|---|---|-------------------| +| 5
i 1 | u | u | u | 6
x | +| 4
i 1 | u | u | u | 5
x | +| 3
i 1 | u | u | 0 | 4
x | +| 2
i 1 | 0 | r | 0 | 3
x | +| 1
i 1 | r | r | 0 | 2
x | +| | | | | 1
x | + +u Uncoded bits +0 Zero fill bits +r Bits to return to zero state + +J.122\_F6-11 + +Diagram showing a 6x3 grid of bits with a legend. The grid shows a sequence of bits over time (rows 1 to 6). Row 1: u, u, u; Row 2: u, u, u; Row 3: u, u, 0; Row 4: 0, r, 0; Row 5: r, r, 0; Row 6: empty, empty, empty. Legend: 'u' for Uncoded bits, '0' for Zero fill bits, 'r' for Bits to return to zero state. Label J.122\_F6-11. + +**Figure 6-11 – Example of return-to-zero bits followed by "0"** + +### 6.2.9 Preamble prepend + +The upstream PMD sublayer MUST support a variable-length preamble field that is prepended to the data after they have been randomized, Reed-Solomon encoded, and TCM encoded. + +The first bit of the preamble pattern is the first bit into the symbol mapper (see clause 6.2.13). The first bit of the preamble pattern is designated by the preamble value offset as described in Table 8-19. The preamble is interleaved by the framer in S-CDMA mode. + +The preamble sequence MUST be programmable. For DOCS 2.0 bursts (bursts encoded using a type 5 burst descriptor per clause 8.3.3), the preamble MUST use the QPSK0 or QPSK1 constellation (per Figures 6-18 and 6-19) with preamble length 0, 2, 4, 6, ..., or 1536 bits (maximum 768 QPSK symbols). For DOCS 1.x compatible bursts (type 4 burst descriptor) that use QPSK modulation, the preamble and data MUST use the QPSK0 constellation with preamble length 0, 2, 4, 6, ..., or 1024 bits (maximum 512 QPSK symbols). For DOCS 1.x compatible bursts (type 4 burst descriptor) that use 16QAM modulation, the preamble and data MUST use the 16QAM constellation with preamble length 0, 4, 8, 12, ..., or 1024 bits (maximum 256 16QAM symbols). + +The preamble length and value MUST be configured in response to the upstream channel descriptor message transmitted by the CMTS. + +### 6.2.10 Modulation rates + +In TDMA mode, the CM upstream modulator MUST provide all modulations at 160, 320, 640, 1280, 2560 and 5120 ksymb/s. + +In S-CDMA mode, the CM upstream modulator MUST provide all modulations at 1280, 2560 and 5120 ksymb/s. + +In TDMA mode, the CMTS upstream demodulator MUST be able to support demodulation at 160, 320, 640, 1280, 2560 and 5120 ksymb/s. In S-CDMA mode, the CMTS upstream demodulator MUST be able to support demodulation at 1280, 2560 and 5120 ksymb/s. + +This variety of modulation rates, and flexibility in setting upstream carrier frequencies, permits operators to position carriers in gaps in the pattern of narrow-band ingress, as discussed in Annex G. + +The modulation rate for each upstream channel is defined in an upstream channel descriptor (UCD) MAC message. All CMs using that upstream channel MUST use the defined modulation rate for upstream transmissions. + +### 6.2.11 S-CDMA framer and interleaver + +#### 6.2.11.1 S-CDMA framing considerations + +The S-CDMA mode of the PHY layer accepts data presented to it for transmission from the MAC layer. This data is presented as bursts of *n* mini-slots. These bursts are mapped within the PHY layer to a combination of spreading codes and time slots, in order to exploit the multi-dimensional spreading of information by the S-CDMA mode. + +There are various adjustable parameters in the upstream channel parameters and upstream burst attributes that allow controlling the mini-slot to physical layer mapping, as well as tuning the channel to accommodate a variety of channel conditions, noise characteristics, capacities, reliability levels, and latency requirements. + +When operating in S-CDMA mode, data is transmitted in two dimensions: codes and time. For this reason, data to be transmitted must be grouped into two-dimensional rectangular frames prior to transmission. + +At the physical layer, data is sent over an array of up to 128 spreading codes. There is a programmable number of *spreading intervals* per frame, as shown in Figure 6-13. A *spreading interval* is the time required to transmit one symbol per code across all 128 codes in S-CDMA mode. Note that the specific codes which are used and the details of the spreading operation are described in detail in clause 6.2.14, "S-CDMA spreader". + +A burst from a particular CM may be transmitted on two or more codes in one or more frames. A frame may contain bursts transmitted simultaneously from multiple CMs (each on a separate subset of the codes) as defined by the MAP message. + +#### 6.2.11.2 Mini-slot numbering + +In normal operation, the MAC will request the PHY to transmit a burst of length *n* mini-slots, starting at mini-slot *m*, as defined by the MAP. All CMs and the CMTS MUST have a common protocol of how mini-slots are numbered, and how they are mapped onto the physical layer framing structure. This common protocol is obtained from information in the SYNC and upstream channel descriptor (UCD) messages: (these messages are described in clauses 8.3.2 and 8.3.3). + +Mini-slots are mapped onto frames starting at the first active code (usually code number 0), are numbered sequentially through the remainder of the frame (code number 127), and then wrap to the next sequential frame. Mini-slots are mapped onto a group of consecutive codes. + +The CMTS and the CMs require a common protocol for mini-slot numbering. For operation on a TDMA channel, this is achieved solely through recovery of the timestamp. Since the time duration of an S-CDMA frame is not necessarily a power-of-2 multiple of the 10.24-MHz reference, the timestamp rollover (at $2^{32}$ counts) is not necessarily at an S-CDMA frame boundary. Therefore, an additional synchronization step is required. + +The CMTS MUST identify frame boundaries relative to the timestamp counter on a periodic basis. This is called the *timestamp snapshot* and must be sent in the UCD for each upstream S-CDMA channel. + +The CMTS MUST maintain a frame counter and a mini-slot counter, and MUST sample these values along with the timestamp, on a frame boundary, as shown in Figure 6-12. The CMTS MUST obtain a new sample prior to sending each UCD message. + +![Figure 6-12 – Timestamp snapshot. The diagram illustrates the mapping of mini-slots to codes over time. At the top, three columns represent 'K spreading intervals'. Codes 127 and 126 have mini-slots m+62, m+125, and m+188. Codes 3, 2, and 1 have mini-slots m, m+63, and m+126. Codes 1 and 0 are shaded. Below this, a timeline shows 'Frame f', 'Frame f+1' (circled), and 'Frame f+2'. 'Timestamp counts' t1, t2, t3 (circled), and t4 are shown. Arrows point from t3 to a 'Timestamp snapshot' box containing 'Timestamp count' (32 bits), 'Mini-slot number' (32 bits), and 'Frame number' (8 bits). This snapshot is 'Included in UCD'. A label 'J.122_F6-12' is in the bottom right.](89f8aefc01866631793087542316cef2_img.jpg) + +Figure 6-12 – Timestamp snapshot. The diagram illustrates the mapping of mini-slots to codes over time. At the top, three columns represent 'K spreading intervals'. Codes 127 and 126 have mini-slots m+62, m+125, and m+188. Codes 3, 2, and 1 have mini-slots m, m+63, and m+126. Codes 1 and 0 are shaded. Below this, a timeline shows 'Frame f', 'Frame f+1' (circled), and 'Frame f+2'. 'Timestamp counts' t1, t2, t3 (circled), and t4 are shown. Arrows point from t3 to a 'Timestamp snapshot' box containing 'Timestamp count' (32 bits), 'Mini-slot number' (32 bits), and 'Frame number' (8 bits). This snapshot is 'Included in UCD'. A label 'J.122\_F6-12' is in the bottom right. + +**Figure 6-12 – Timestamp snapshot** + +Each CM MUST maintain a timestamp counter, mini-slot counter and frame counter functionally identical to the CMTS. + +From the UCD message, the CM receives the CMTS timestamp snapshot and parameters from which it can calculate the number of time counts per S-CDMA frame. Using modulo arithmetic, the CM can then calculate accurate values for timestamp, mini-slot and frame counters at any point into the future. + +The CM can then update its local mini-slot and frame counters at an appropriate timestamp counter value. At this point, the CM representation of mini-slots and frames are aligned with those in the CMTS. + +The CMTS and CM MUST implement a 32-bit timestamp counter, a 32-bit mini-slot counter, and an 8-bit frame counter, as follows: + +- The mini-slot counter MUST contain the value of the first mini-slot of the frame when it is sampled. It MAY be incremented by the number of mini-slots per frame, once per frame interval. The mini-slot counter will use all 32 bits and mini-slot numbers will therefore range from 0 to $2^{32}-1$ . +- The only specified function for the frame counter is to reset the code-hopping sequence at the frame 0 (modulo 256) boundary, as defined in clause 6.2.14.1. + +The frame structure above relates to the entire upstream and not necessarily to the transmission from a single CM. The codes are resources which are allocated to CMs over each S-CDMA frame. The assignment of codes to CMs is performed by the framer as it assigns a burst of symbols a + +particular order in the two-dimensional matrix of codes and time. This symbol sequencing is described in detail in clause 6.2.12. + +##### 6.2.11.2.1 Mini-slot numbering parameters in UCD + +There are three parameters specified in the UCD that define mini-slot mapping: *spreading intervals per frame*, *codes per mini-slot* and *number of active codes*. + +**Spreading intervals per frame:** The number of spreading intervals per frame, $K$ , (along with the signalling rate), $1/T_s$ , define the time duration of an S-CDMA frame, $T_{fr}$ . + +$$T_{fr} = K \times 128 \times T_s$$ + +Note that the code length in the above equation is always 128, regardless of how many codes are currently active. + +The valid range of the *spreading intervals per frame* parameter is 1 to 32. + +**Codes per mini-slot:** In conjunction with the spreading intervals per frame parameter, the codes per mini-slot ( $C_{ms}$ ) parameter defines the total number of symbols per mini-slot and therefore the mini-slot capacity. The mini-slot capacity, $S_{ms}$ , is given in symbols by the following expression: + +$$S_{ms} = K \times C_{ms}$$ + +The lower limit on mini-slot capacity is 16 symbols (refer to Annex B). However, the mini-slot must also be large enough to allow the transmission of the largest-sized data PDU (including physical layer overhead) in 255 mini-slots (see clause 8.3.3). The upper limit on mini-slot capacity is not specifically constrained, but in general is governed by channel efficiency and MAC performance issues. The valid range of the codes per mini-slot parameter is 2 to 32. + +**Number of active codes:** The number of active codes parameter allows the number of codes used to carry data to be less than or equal to 128. When the number of active codes is less than 128, low numbered codes starting with code 0 are not used, as shown in Figure 6-14. + +There are several reasons why it may be desirable to reduce the number of active codes: + +- Code 0 does not have the same spreading properties as the other codes and therefore under certain coloured noise conditions will degrade performance. +- In extremely noisy plant conditions, a reduction in the number of active codes (along with the corresponding increase in power per code for the remaining codes) can allow reliable operation at reduced capacities. Reduction in active codes from 128 to 64 results in a 3 dB improvement in SNR. +- The number of mini-slots per S-CDMA frame MUST be an integer. Therefore, the codes per mini-slot and number of active codes parameters MUST be chosen to result in an integral number of mini-slots per frame. + +The valid range of the *number of active codes* parameter is 64 to 128. + +A CMTS MUST support 126 and 128 active codes. + +A CM MUST support any nonprime number of active codes in the range of 64 to 128, inclusive. + +NOTE – When the number of active codes is 64 or greater, the S-CDMA frame must consist of more than one mini-slot, since the number of codes per mini-slot must be in the range 2 to 32. This implies that the number of active codes must be nonprime. + +The prime numbers between 64 and 128 are 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113 and 127. + +##### 6.2.11.2.2 Mini-slot numbering examples + +A typical mini-slot numbering example is shown in Figure 6-13. In this example, there are two codes per mini-slot defined. The number of codes per mini-slot is an adjustable parameter (via the UCD) to allow flexibility in determining the effective capacity of each mini-slot. + +![Figure 6-13: Mini-slot mapping with two codes per mini-slot, 128 active codes. The diagram shows a grid of mini-slots across three frames (f, f+1, f+2). Each frame contains K spreading intervals. Codes are assigned in pairs per mini-slot. For example, in Frame f, Code 127 and 126 are assigned to Mini-slot m+63, while Code 0 and 1 are assigned to Mini-slot m. Ellipses indicate intermediate codes and mini-slots.](255efa1d461fc79b4ed367aaec11637f_img.jpg) + +| | ← K spreading intervals → | ← K spreading intervals → | ← K spreading intervals → | +|----------|---------------------------|---------------------------|---------------------------| +| Code 127 | Mini-slot $m+63$ | Mini-slot $m+127$ | Mini-slot $m+191$ | +| Code 126 | | | | +| | ... | ... | ... | +| Code 3 | Mini-slot $m+1$ | Mini-slot $m+65$ | Mini-slot $m+129$ | +| Code 2 | | | | +| Code 1 | Mini-slot $m$ | Mini-slot $m+64$ | Mini-slot $m+128$ | +| Code 0 | | | | +| | Frame $f$ | Frame $f+1$ | Frame $f+2$ | + +J.122\_F6-13 + +Figure 6-13: Mini-slot mapping with two codes per mini-slot, 128 active codes. The diagram shows a grid of mini-slots across three frames (f, f+1, f+2). Each frame contains K spreading intervals. Codes are assigned in pairs per mini-slot. For example, in Frame f, Code 127 and 126 are assigned to Mini-slot m+63, while Code 0 and 1 are assigned to Mini-slot m. Ellipses indicate intermediate codes and mini-slots. + +**Figure 6-13 – Mini-slot mapping with two codes per mini-slot, 128 active codes** + +A second example, using three codes per mini-slot, is shown in Figure 6-14. Since it is required that there be an integral number of mini-slots per frame, the number of active codes has been restricted to 126 codes. In this example, a trade-off has been made to increase mapping flexibility at the expense of a small reduction in channel capacity (2/128). + +![Figure 6-14: Mini-slot mapping with three codes per mini-slot, 126 active codes. The diagram shows a grid of mini-slots across three frames (f, f+1, f+2). Each frame contains K spreading intervals. Codes are assigned in groups of three per mini-slot. For example, in Frame f, Codes 127, 126, and 125 are assigned to Mini-slot m+41, while Codes 0, 1, and 2 are assigned to Mini-slot m. Codes 3, 4, and 5 are assigned to Mini-slot m+1. Codes 6, 7, and 8 are assigned to Mini-slot m+43. Ellipses indicate intermediate codes and mini-slots. The bottom two rows (Code 1 and Code 0) are shaded, indicating they are not used in this configuration.](c419b566d720267c499087add1506018_img.jpg) + +| | ← K spreading intervals → | ← K spreading intervals → | ← K spreading intervals → | +|----------|---------------------------|---------------------------|---------------------------| +| Code 127 | Mini-slot $m+41$ | Mini-slot $m+83$ | Mini-slot $m+125$ | +| Code 126 | | | | +| Code 125 | | | | +| | ... | ... | ... | +| Code 7 | Mini-slot $m+1$ | Mini-slot $m+43$ | Mini-slot $m+85$ | +| Code 6 | | | | +| Code 5 | | | | +| Code 4 | Mini-slot $m$ | Mini-slot $m+42$ | Mini-slot $m+84$ | +| Code 3 | | | | +| Code 2 | | | | +| Code 1 | | | | +| Code 0 | | | | +| | Frame $f$ | Frame $f+1$ | Frame $f+2$ | + +J.122\_F6-14 + +Figure 6-14: Mini-slot mapping with three codes per mini-slot, 126 active codes. The diagram shows a grid of mini-slots across three frames (f, f+1, f+2). Each frame contains K spreading intervals. Codes are assigned in groups of three per mini-slot. For example, in Frame f, Codes 127, 126, and 125 are assigned to Mini-slot m+41, while Codes 0, 1, and 2 are assigned to Mini-slot m. Codes 3, 4, and 5 are assigned to Mini-slot m+1. Codes 6, 7, and 8 are assigned to Mini-slot m+43. Ellipses indicate intermediate codes and mini-slots. The bottom two rows (Code 1 and Code 0) are shaded, indicating they are not used in this configuration. + +**Figure 6-14 – Mini-slot mapping with three codes per mini-slot, 126 active codes** + +There is no implication that physical layer processing is performed on a per mini-slot basis. As in a TDMA channel, the physical layer is concerned only with the burst start time (mini-slot number) and the burst length. + +#### 6.2.11.3 Transmission time + +Ideally, all the mini-slots contained in one S-CDMA frame are received simultaneously. These mini-slots may be transmitted from a single CM or may be transmitted from multiple CMs, as defined by the bandwidth allocation MAP message and the mini-slot mapping configuration settings (from the UCD). Note that a single CM may have more than one allocation active in a single S-CDMA frame. + +#### 6.2.11.4 Latency considerations + +S-CDMA frame timing is derived directly from (is phase-locked to) the 10.24-MHz CMTS master clock. Based on the allowable signalling rates and the fact that there are 128 signalling periods in a spreading interval, the S-CDMA frame time MUST always be a multiple of 25 $\mu\text{s}$ . + +Selecting the number of spreading intervals per frame and the signalling rate therefore exactly define the S-CDMA frame duration. As a specific example, a burst profile defined with 10 spreading intervals per frame with a signalling rate of 2.56 Mbaud would result in a frame duration of 500 $\mu\text{s}$ . + +The amount of additional upstream latency added by the use of S-CDMA mode is approximately one S-CDMA frame with the exact value described in clause 6.2.17. + +#### 6.2.11.5 Spreader-off bursts for maintenance on S-CDMA channel + +*Spreader-off* bursts are defined as bursts on an S-CDMA channel whose attributes specify that the spreader be turned off. For a spreader-off burst, both the S-CDMA framer and S-CDMA spreader are bypassed. The initial maintenance burst type MUST be specified (via UCD) to use spreader-off bursts. The station maintenance burst type MAY be specified (via UCD) to use spreader-off or spreader-on bursts. The CM MUST support both spreader-on and spreader-off modes for station maintenance bursts. All remaining IUC burst types MUST be specified (via UCD) to use spreader-on bursts. The S-CDMA channel will be programmed (via UCD) for $C_{\text{ms}}$ codes per mini-slot, $p$ number of active codes, $K$ spreading intervals per S-CDMA frame, and a resultant $s$ mini-slots per frame, where $s = p/C_{\text{ms}}$ . + +Then each S-CDMA frame, where a transmission with the spreader-off is to occur, will contain exactly $s$ mini-slots, where each mini-slot consists of $C_{\text{ms}} \times K$ symbols. + +In the case where the number of active codes ( $p$ ) is less than 128, the frame will still contain exactly $s$ mini-slots, where each mini-slot consists of $C_{\text{ms}} \times K$ symbols. The first mini-slot of a frame will start with the first symbol of the frame. If a burst spans multiple frames, the burst will start relative to the first frame and continue without interruption into the next frame. + +Spreader-off bursts for station maintenance regions (IUC 4) MUST be padded with zero data symbols from the end of the R-S encoded data until the end of the burst as defined by the burst boundaries of clause 6.2.5.1.1. Spreader-off bursts for initial maintenance regions (IUC3) MUST be padded with zero data symbols from the end of the R-S encoded data until the end of the burst as defined by the burst boundaries of clause 6.2.5.1.1. Differential encoding and R-S byte interleaving MUST NOT be used with spreader-off bursts on S-CDMA channels. + +![Diagram of S-CDMA and spreader-off intervals showing frames f and f+1 for multiple codes.](51d4540605fdfa2c090638305022143b_img.jpg) + +The diagram illustrates the timing of S-CDMA frames and spreading intervals across multiple codes (0 to 127). At the top, three horizontal arrows indicate the duration of different interval types: $K$ spreading intervals, $128 K$ modulation intervals, and $K$ spreading intervals. Below this, a grid shows the allocation of mini-slots for various codes across three frame periods: Frame $f$ , Frame $f+1$ , and Frame $f+1$ . The codes are listed on the left: Code 127, Code 126, Code 125, Code 3, Code 2, Code 1, and Code 0. For Code 127 and Code 126, mini-slots $m+63$ and $m+191$ are shown in the first and third frame periods respectively. Code 125 shows three black squares representing bursts in the first and third frame periods. Codes 3, 2, 1, and 0 have mini-slots $m+1$ and $m$ in the first frame period, and $m+129$ and $m+128$ in the third frame period. The middle frame period ( $f+1$ ) contains vertical bars for mini-slots $m+64$ through $m+69$ and $m+127$ , with three black squares indicating bursts for some codes. The bottom of the diagram labels the frame periods as 'Frame $f$ ', 'Frame $f+1$ ', and 'Frame $f+1$ ', with the text 'Spreader-on frame' under each. A small label 'J.122\_F6-15' is in the bottom right corner. + +Diagram of S-CDMA and spreader-off intervals showing frames f and f+1 for multiple codes. + +**Figure 6-15 – S-CDMA and spreader-off intervals** + +The CMTS scheduler MUST ensure that the spreader-off interval is aligned to the start of an S-CDMA frame, occurs completely within one or more S-CDMA frames, and MUST ensure that no spreader-on bursts are scheduled during these same frames. The CMTS scheduler MUST grant at most one spreader-off burst per CM per frame. It is the responsibility of the CMTS to allocate mini-slots to the NULL SID, as required to prevent interference between bursts (i.e., before and after spreader-off bursts when the CM might not be sufficiently synchronized). Specifically, the CMTS MUST issue a NULL grant (to the NULL SID) of 1 mini-slot immediately before each spreader-off burst, which corresponds to either station maintenance or unicast initial maintenance, and MUST also issue a NULL grant (to the NULL SID) of 1 mini-slot or guarantee a quiet mini-slot (dead time), immediately after these bursts, and before a spreader-on interval starts. + +During spreader-off bursts on S-CDMA channels when less than 128 active codes are in use, the spreader-off frame will contain quiet mini-slots (dead time) equal to the number of inactive codes. + +#### 6.2.11.6 Limiting the number of codes assigned to a CM + +In certain situations, it may be useful for a CMTS to limit the number of codes that a single CM is required to simultaneously transmit. By doing so, the CM can divide its transmit power across a smaller number of codes than it would otherwise, which results in a higher power per code. This can be especially useful when a population of CMs is subject to an unusually high upstream + +attenuation, such that the CMs are transmitting at the maximum total transmit power. When the value of maximum scheduled codes is set less than the number of active codes, the CMTS MUST ensure that each compliant CM will not, via scheduled grants or multicast IEs with IUC=1, exceed its assigned maximum scheduled codes transmission limit in any S-CDMA frame. To accomplish this, the CMTS must avoid scenarios that would potentially cause the CM to attempt to transmit on more codes than its maximum scheduled code limit would allow. For instance, the CMTS must manage the number of codes assigned to contention IEs with IUC=1 in all frames. In frames where IEs with IUC=1 could not be inserted by a CMTS because of a CM's maximum scheduled codes, the CMTS MAY provide multicast IEs with IUC=2 for contention request opportunities. CMs with maximum scheduled codes enabled MUST be configurable via SNMP to control usage of IEs with IUC=2 [DOCS5]. By default, CMs with maximum scheduled codes enabled MUST NOT use IEs with IUC=2. Maximum scheduled codes MUST be equivalent to an integer number of mini-slots. + +A CM MUST NOT concatenate packets beyond the size permitted by the S-CDMA maximum scheduled codes, if maximum scheduled codes specified in the RNG-RSP is not 0. This is in order to reduce fragmentation overhead, which can become significant as the number of codes reduces. A CM receiving a maximum scheduled codes value MUST be capable of fragmenting any MAC frame, including frames transmitted prior to completing the registration process. To support 1.0 style configuration files, a CM and CMTS using the maximum scheduled codes value SHOULD support fragmentation in 1.0 mode. + +If a UGS flow is requested to provide an unsolicited grant size greater than the value permitted by the maximum scheduled codes value, the CMTS MUST reject the request for the UGS flow or change the CM's maximum scheduled codes value such that it would permit the UGS grants. + +### 6.2.12 S-CDMA framer + +The S-CDMA framer maps mini-slots to spreading codes and spreading intervals by arranging them as symbols within an S-CDMA frame. It also performs an interleaving function, to provide protection against impulse noise. The S-CDMA framer's function of mapping mini-slots to spreading codes and spreading intervals is illustrated in clause 6.2.11. As previously described, an S-CDMA frame is defined by the number of spreading intervals per frame, codes per mini-slot, and number of active codes. The framer uses this information to map the mini-slots of a transmission into frames. The framer maps complete grants so that any interleaving which is performed is not constrained by individual mini-slot boundaries. The framer MUST align transmissions to begin and end on mini-slot boundaries. Within a transmission, the framer numbers the symbols or bits and allocates them to codes and spreading intervals independent of the mini-slot mapping. When using TCM encoding, the TCM encoded symbols from the TCM encoder are split into two subsymbols consisting of the coded subsymbol which is the two bits and the parity generated from the convolution encoder, and the uncoded subsymbol consisting of the rest of the bits. When TCM is off, the randomizer output is treated as a continuous bit stream ignoring byte boundaries, as specified in clause 6.2.13. + +#### 6.2.12.1 Subframe definition + +The S-CDMA framer performs interleaving independently of mini-slots. Interleaving is constrained by subframe boundaries, where a subframe is a rectangular subset of an S-CDMA frame over which interleaving is performed. A subframe is normally an integer number of Reed-Solomon codewords to enhance protection from impulse noise. + +Given an S-CDMA frame which is N active codes by K spreading intervals, a subframe is defined to be a group of R contiguous rows, where R is an integer in the range from 1 to N. A subframe is defined to exist entirely within a single frame and does not span multiple frames. Each subframe contains $R \times K$ locations and each location holds one symbol used for mapping and spreading. Each transmission MUST start with a new subframe. The last subframe of a frame MUST be shortened to fit entirely within a single S-CDMA frame, and the last subframe of a transmission MUST be + +shortened to fit within the granted mini-slots. In both of these cases, the subframe will be only $R'$ rows instead of $R$ rows where $R' \leq R$ . Figure 6-16 shows a subframe consisting of $R$ rows and $K$ spreading intervals within an S-CDMA frame. + +![Diagram of subframe structure showing R rows and K spreading intervals. The vertical axis is labeled 'Number of active codes (N)' and the horizontal axis is labeled 'Spreading interval' with values 0, 1, ..., (K-1). Rows are labeled Row R, Row 2, Row 1. The top section is 'Other subframes'. The bottom section shows symbols being placed in a row-major order with an interleaver step size of 2.](3766b291e69420b0437ae278b057b5ee_img.jpg) + +The diagram illustrates the structure of a subframe within an S-CDMA frame. The vertical axis represents the 'Number of active codes (N)', and the horizontal axis represents the 'Spreading interval' from 0 to $(K-1)$ . The subframe is divided into $R$ rows, labeled from Row 1 at the bottom to Row $R$ at the top. The top portion of the subframe is designated as 'Other subframes'. Below Row $R$ , there are vertical ellipses indicating more rows. Below Row 2, there are horizontal ellipses indicating more rows. The bottom portion of the subframe shows symbols being placed into the grid. The symbols are placed in a row-major order, starting from Row 1, Spreading interval 0, and moving to Row 1, Spreading interval 2, then Row 1, Spreading interval 4, and so on, up to Row 1, Spreading interval $(K-1)$ . This is followed by Row 2, Spreading interval 0, Row 2, Spreading interval 2, Row 2, Spreading interval 4, and so on. This pattern continues for all rows. The 'Other subframes' label in the bottom section indicates that the symbols shown are part of a larger subframe structure. The diagram is labeled J.122\_F6-16. + +Diagram of subframe structure showing R rows and K spreading intervals. The vertical axis is labeled 'Number of active codes (N)' and the horizontal axis is labeled 'Spreading interval' with values 0, 1, ..., (K-1). Rows are labeled Row R, Row 2, Row 1. The top section is 'Other subframes'. The bottom section shows symbols being placed in a row-major order with an interleaver step size of 2. + +Figure 6-16 – Subframe structure + +The parameters that define a subframe and the numbering within a subframe are *codes per subframe* and *interleaver step size*. These two parameters are specified as part of the burst attributes and can vary between burst profiles. These parameters determine the size of the subframe, and also how the subframe is filled with symbols. The valid range for *codes per subframe* is from 1 to the number of active codes in use. The parameter *interleaver step size* is used while putting TCM coded subsymbols and preamble symbols into the frame. Both of these types of symbols fill in subframes first along a row, and the *interleaver step size* parameter indicates the spreading interval increment to be used while filling in the symbols. + +#### 6.2.12.2 Framer operation + +The symbols entering the framer MUST be placed into the framer according to the following sets of rules. There are two sets of rules which apply to different types of input symbols. Preamble symbols and coded TCM subsymbols follow one set of rules, while non-TCM encoded symbols and uncoded TCM subsymbols follow the second set of rules. The rules are specified in the following clauses. + +##### 6.2.12.2.1 Rules for preamble and coded TCM symbols + +The preamble (whether TCM is on or off) and the coded TCM subsymbols MUST fill in the frame according to the following rules: + +- 1) The first symbol or subsymbol MUST be placed in the first spreading interval of the first row of the granted mini-slot. In Figure 6-16 this would be row 1, spreading interval 0, assuming that this is the start of the first mini-slot of the grant. +- 2) Subsequent symbols MUST be placed at the next available spreading interval interleaver step size away from the previous. For instance, if the previous symbol was placed at spreading interval $X$ , the next symbol is placed at $X + \text{interleaver step size}$ . +- 3) If the addition of the interleaver step size results in the next location being beyond the end of the frame, the next location MUST be located modulo the frame length. For instance, if $J + \text{interleaver step size} = K + 1$ , then the next location would be spreading interval 1. +- 4) If the next location is already occupied, then the spreading interval MUST be incremented by 1 until the next unoccupied spreading interval is located. For instance, if the desired location is spreading interval $X$ and spreading interval $X$ is occupied, but not $X + 1$ , then $X + 1$ would be used. +- 5) After filling all of the spreading intervals of a single row, the operation is repeated starting with the next row and step 1 above. +- 6) After placing all of the preamble and data symbols into the frame, the remaining symbols in the burst, as defined by the burst boundaries of clause 6.2.5.1.1 MUST be filled with zero data symbols which will be mapped to non-zero power. +- 7) Any locations that have only a TCM uncoded subsymbol MUST be filled with zero bits in the coded subsymbol portion before mapping and spreading. + +##### 6.2.12.2.2 Rules for uncoded symbols and the uncoded TCM subsymbols + +Symbols without TCM encoding and uncoded TCM subsymbols MUST fill subframes according to the following rules: + +- 1) The first symbol MUST be placed in the first available code of the first available spreading interval of the subframe after the preamble has been placed into the frame. The symbols are filled from row 1 through row $R$ and after filling a spreading interval, the next spreading interval is filled from row 1 through row $R$ . +- 2) Uncoded symbols and the uncoded portion of TCM symbols MUST NOT be placed in the same frame location (spreading interval, code) as a preamble symbol. For instance, if there is a preamble symbol in row $X$ , spreading interval $Y$ ; and row $(X + 1)$ , spreading interval $Y$ is unused, the symbol should be placed into row $(X + 1)$ , spreading interval $Y$ . +- 3) Subsequent symbols MUST be placed in the next available row of the first available spreading interval of the current subframe. This causes the subframe to be filled column-wise bottom to top and then from left to right. For instance, if row 1 through row $R$ of spreading interval $X$ is already occupied, the next symbol would be placed into the first available row of spreading interval $X + 1$ . +- 4) After completely filling a subframe, the next subframe MUST begin as specified in step 1 above. +- 5) The number of rows contained in the last subframe of a frame MUST be reduced to fit entirely within the frame if there is not adequate space for a full subframe. +- 6) The number of rows contained in the last subframe of a grant of mini-slots MUST be reduced to fit entirely within the granted mini-slots if there is not adequate space for a full subframe within the grant. + +- 7) After placing all of the data symbols into the frame, the remaining symbols in the burst, as defined by the burst boundaries of clause 6.2.5.1.1, MUST be filled with zero data symbols which will be mapped to non-zero power. +- 8) Any locations that have only a TCM coded subsymbol MUST be filled with zero bits in the uncoded subsymbol portion before mapping and spreading. + +##### 6.2.12.2.3 Subframe example + +Figure 6-17 below shows an example which follows the above specified rules. Each box in the figure represents a symbol that can contain either a preamble symbol, an uncoded symbol when not using TCM, or an uncoded and coded subsymbol when using TCM. In this example there are 9 spreading intervals in the frame, 3 rows for the subframe, an interleaver step size of 3, and the preamble is 4 symbols. Based on these parameters, the subframe would be filled as shown. If the data is TCM encoded, the Cs would represent locations of the coded subsymbols and the Us represent the locations of the uncoded subsymbols. If the TCM is not used, then the symbols would be placed according to the Us only. + +![Figure 6-17: Symbol numbering without TCM. A 3x9 grid showing symbol placement for preamble (P), uncoded (U), and coded (C) subsymbols. The grid illustrates interleaving and spreading patterns.](fd3cbb53e991f8209ba17b398f426e13_img.jpg) + +Frame length + +3 rows + +| | | | | | | | | | +|-----------------------------------|-----------------------------------|-----------------------------------|-----------------------------------|------------------------------------|------------------------------------|------------------------------------|------------------------------------|------------------------------------| +| U 1
C 14 | U 3
C 17 | U 6
C 20 | U 8
C 15 | U 11
C 18 | U 14
C 21 | U 16
C 16 | U 19
C 19 | U 22
C 22 | +| U 0
C 5 | U 2
C 8 | U 5
C 11 | U 7
C 8 | U 10
C 9 | U 13
C 12 | U 15
C 7 | U 18
C 10 | U 21
C 13 | +| P 0 | P 3 | U 4
C 2 | P 1 | U 9
C 0 | U 12
C 3 | P 2 | U 17
C 1 | U 20
C 4 | + +step = 3 + +J.122\_F6-17 + +Figure 6-17: Symbol numbering without TCM. A 3x9 grid showing symbol placement for preamble (P), uncoded (U), and coded (C) subsymbols. The grid illustrates interleaving and spreading patterns. + +Figure 6-17 – Symbol numbering without TCM + +##### 6.2.12.2.4 Frame transmission + +Once a frame is completed and ready for transmission, the symbols MUST be mapped and spread in spreading interval order. This means that spreading interval 0, as described in Figure 6-16, MUST be the first spreading interval on the wire. For TCM encoded data, the coded and uncoded subsymbols from each location in the frame MUST be combined to create complete symbols before mapping and spreading. This corresponds to creating a new symbol where the coded portion of the symbol is $C^i$ and the uncoded portion is $U^j$ . The preamble symbols remain intact. + +### 6.2.13 Symbol mapping + +The modulation mode is configurable via MAC messages. Differential encoded QPSK and 16QAM are available for TDMA channels. QPSK, 8QAM, 16QAM, 32QAM and 64QAM are available for TDMA and S-CDMA channels. TCM-encoded QPSK, 8QAM, 16QAM, 32QAM, 64QAM and 128QAM are available for S-CDMA channels. The symbols transmitted in each mode and the mapping of the input bits to the I and Q constellation MUST be as defined in Table 6-3. In the table, $x^1$ represents the LSB of each of the symbol maps and $x^2$ , $x^3$ , $x^4$ , $x^5$ , $x^6$ and $x^7$ represents the MSB for QPSK, 8QAM, 16QAM, 32QAM, 64QAM and 128QAM, respectively. The MSB MUST be the + +first bit in the serial data into the symbol mapper and it MUST be mapped to the MSB of the symbol map. The number of data bytes may not map into an integer number of symbols. In this case, the last symbol MUST be padded with zero bits in the LSB locations after all data bits are processed. + +**Table 6-3 – I/Q mapping** + +| QAM mode | Input bit definitions | +|-----------------|-------------------------------| +| QPSK | $x^2 x^1$ | +| 8QAM | $x^3 x^2 x^1$ | +| 16QAM | $x^4 x^3 x^2 x^1$ | +| 32QAM | $x^5 x^4 x^3 x^2 x^1$ | +| 64QAM | $x^6 x^5 x^4 x^3 x^2 x^1$ | +| 128QAM | $x^7 x^6 x^5 x^4 x^3 x^2 x^1$ | + +All constellations are defined on a common integer grid in Figure 6-18. This defines each QAM symbol with 5-bit values on each (I and Q) axis. The relative symbol amplitudes defined by the grid MUST be maintained across all constellations. Different constellations may be used, for example, in different burst profiles, in preamble and data symbols within the same burst, and in modulating different spreading codes within a frame. + +In Figure 6-18, $E_{av}$ denotes the average constellation energy for equally likely symbols. For each constellation, the integer values of $E_{av}$ and differences in dB compared to 64QAM, $G_{const}$ , are given. The QPSK0 constellation is employed for low-power preamble and QPSK data symbols. Use of QPSK1 is restricted to high-power preamble symbols. + +The upstream symbol constellations MUST be as shown in Figure 6-18. + +The upstream QPSK Gray-coded and differential symbol mapping MUST be as shown in Figure 6-19. + +The upstream 8QAM symbol mapping MUST be as shown in Figure 6-20. + +The upstream 16QAM Gray-coded symbol mapping MUST be as shown in Figure 6-21. + +The upstream 16QAM differential symbol mapping MUST be as shown in Figure 6-21. + +The upstream 32QAM symbol mapping MUST be as shown in Figure 6-22. + +The upstream 64QAM Gray-coded symbol mapping MUST be as shown in Figure 6-23. + +The TCM symbol mappings used for S-CDMA are shown in Figure 6-24 through Figure 6-26. + +The upstream QPSK TCM symbol mapping MUST be as shown in Figure 6-24. + +The upstream 8QAM TCM symbol mapping MUST be as shown in Figure 6-24. + +The upstream 16QAM TCM symbol mapping MUST be as shown in Figure 6-25. + +The upstream 32QAM TCM symbol mapping MUST be as shown in Figure 6-25. + +The upstream 64QAM TCM symbol mapping MUST be as shown in Figure 6-26. + +The upstream 128QAM TCM symbol mapping MUST be as shown in Figure 6-26. + +If differential quadrant encoding is enabled, then the currently-transmitted symbol quadrant is derived from the previously transmitted symbol quadrant and the current input bits via Table 6-4. If differential quadrant encoding is enabled, the upstream PMD sublayer MUST apply these differential encoding rules to all transmitted symbols (including those that carry preamble bits). + +Differential quadrant encoding is only available for QPSK and 16QAM on TDMA channels. In Table 6-4, I(1) Q(1) refers to $x^2x^1$ and $x^4x^3$ from Table 6-3 for QPSK and 16QAM cases respectively. + +**Table 6-4 – Definition of differential quadrant coding** + +| Current input bits
I(1) Q(1) | Quadrant
phase change | MSBs of previously
transmitted symbol | MSBs for currently
transmitted symbol | +|---------------------------------|--------------------------|------------------------------------------|------------------------------------------| +| 00 | 0° | 11 | 11 | +| 00 | 0° | 01 | 01 | +| 00 | 0° | 00 | 00 | +| 00 | 0° | 10 | 10 | +| 01 | 90° | 11 | 01 | +| 01 | 90° | 01 | 00 | +| 01 | 90° | 00 | 10 | +| 01 | 90° | 10 | 11 | +| 11 | 180° | 11 | 00 | +| 11 | 180° | 01 | 10 | +| 11 | 180° | 00 | 11 | +| 11 | 180° | 10 | 01 | +| 10 | 270° | 11 | 10 | +| 10 | 270° | 01 | 11 | +| 10 | 270° | 00 | 01 | +| 10 | 270° | 10 | 00 | + +**QPSK0:** $E_{av} = 128$ ( $G_{const} = -1.18$ dB rel to 64QAM) + +**QPSK1:** $E_{av} = 288$ ( $G_{const} = +2.34$ dB) + +![QPSK0 and QPSK1 symbol constellations. The plot shows the real part (in-phase) on the x-axis and the imaginary part (quadrature) on the y-axis. QPSK0 points are at (±8, ±8) and QPSK1 points are at (±12, ±12).](bc53843127b23a7d84a6184c283d3361_img.jpg) + +QPSK0 and QPSK1 symbol constellations. The plot shows the real part (in-phase) on the x-axis and the imaginary part (quadrature) on the y-axis. QPSK0 points are at (±8, ±8) and QPSK1 points are at (±12, ±12). + +**8QAM-DS:** $E_{av} = 160$ ( $G_{const} = -0.21$ dB) + +![8QAM-DS symbol constellation. The plot shows 8 points arranged in a square grid with side length 8, centered at the origin. The axes range from -12 to 12.](0775f419af4e481eea2fb9706fe0b035_img.jpg) + +8QAM-DS symbol constellation. The plot shows 8 points arranged in a square grid with side length 8, centered at the origin. The axes range from -12 to 12. + +**16QAM-SQ:** $E_{av} = 160$ ( $G_{const} = -0.21$ dB) + +![16QAM-SQ symbol constellation. The plot shows 16 points arranged in a 4x4 square grid with side length 4, centered at the origin. The axes range from -12 to 12.](70546cb98239089866510133c7fbc169_img.jpg) + +16QAM-SQ symbol constellation. The plot shows 16 points arranged in a 4x4 square grid with side length 4, centered at the origin. The axes range from -12 to 12. + +**32QAM-DS:** $E_{av} = 168$ ( $G_{const} = 0$ dB) + +![32QAM-DS symbol constellation. The plot shows 32 points arranged in a grid with side length 2, centered at the origin. The axes range from -14 to 14.](1f1ca53cce40d1c5f03ac6b5c94b4e6b_img.jpg) + +32QAM-DS symbol constellation. The plot shows 32 points arranged in a grid with side length 2, centered at the origin. The axes range from -14 to 14. + +**64QAM-SQ:** $E_{av} = 168$ ( $G_{const} = 0$ dB) + +![64QAM-SQ symbol constellation. The plot shows 64 points arranged in an 8x8 square grid with side length 2, centered at the origin. The axes range from -14 to 14.](764798e389e91d9e766dfad263b6e241_img.jpg) + +64QAM-SQ symbol constellation. The plot shows 64 points arranged in an 8x8 square grid with side length 2, centered at the origin. The axes range from -14 to 14. + +**128QAM-DS:** $E_{av} = 170$ ( $G_{const} = 0.05$ dB) + +![128QAM-DS symbol constellation. The plot shows 128 points arranged in a dense grid with side length 1, centered at the origin. The axes range from -15 to 15. A label 'J.122_F6-18' is present at the bottom right.](fcd880b51697eb8795dabe8dea711a51_img.jpg) + +128QAM-DS symbol constellation. The plot shows 128 points arranged in a dense grid with side length 1, centered at the origin. The axes range from -15 to 15. A label 'J.122\_F6-18' is present at the bottom right. + +**Figure 6-18 – Symbol constellations** + +![QPSK Gray-coded and differential symbol mapping diagram. It shows a square constellation in the I-Q plane with four points: 01 (top-left), 11 (top-right), 00 (bottom-left), and 10 (bottom-right). The axes are labeled I (horizontal) and Q (vertical). Above the top-right point, the text 'Label bits x^2 x^1 (I,Q)' is present. A small label 'J.122_F6-19' is at the bottom right.](7e5f8a1e5575ef87a54c9c091eaaa66d_img.jpg) + +QPSK Gray-coded and differential symbol mapping diagram. It shows a square constellation in the I-Q plane with four points: 01 (top-left), 11 (top-right), 00 (bottom-left), and 10 (bottom-right). The axes are labeled I (horizontal) and Q (vertical). Above the top-right point, the text 'Label bits x^2 x^1 (I,Q)' is present. A small label 'J.122\_F6-19' is at the bottom right. + +Figure 6-19 – QPSK Gray-coded and differential symbol mapping + +![8QAM symbol mapping diagram. It shows a constellation of eight points in the I-Q plane, arranged in a diamond shape. The points are labeled with 3-bit bit sequences: 111 (top), 101 (top-right), 110 (left), 011 (right), 010 (bottom-left), 001 (bottom-right), 100 (far-left), and 000 (far-right). The axes are labeled I (horizontal) and Q (vertical). Above the top-right point, the text 'Label bits x^3 x^2 x^1' is present. There are two curved arrows with '(2)' inside them, indicating Gray-code violations between adjacent points 101 and 111, and between 100 and 010. To the right of the constellation, there is a symbol with '(2)' and the text 'Gray-code violation'. A small label 'J.122_F6-20' is at the bottom.](750677d35a0db0f1a6d44ede4e11d347_img.jpg) + +8QAM symbol mapping diagram. It shows a constellation of eight points in the I-Q plane, arranged in a diamond shape. The points are labeled with 3-bit bit sequences: 111 (top), 101 (top-right), 110 (left), 011 (right), 010 (bottom-left), 001 (bottom-right), 100 (far-left), and 000 (far-right). The axes are labeled I (horizontal) and Q (vertical). Above the top-right point, the text 'Label bits x^3 x^2 x^1' is present. There are two curved arrows with '(2)' inside them, indicating Gray-code violations between adjacent points 101 and 111, and between 100 and 010. To the right of the constellation, there is a symbol with '(2)' and the text 'Gray-code violation'. A small label 'J.122\_F6-20' is at the bottom. + +Figure 6-20 – 8QAM symbol mapping + +![Figure 6-21a: 16QAM symbol mapping diagram showing a 4x4 grid of symbols in the I-Q plane. The mapping is Gray-coded (I,Q,I,Q). The axes are labeled I and Q. Symbols are 4-bit binary strings. Figure 6-21b: 16QAM symbol mapping diagram showing a 4x4 grid of symbols in the I-Q plane. The mapping is for differential encoding. The axes are labeled I and Q. Symbols are 4-bit binary strings.](c2e29ea8ce248c31df2f0aba049d018c_img.jpg) + +Label bits $x^4 x^3 x^2 x^1$ + +a) Gray-coded Mapping (I,Q,I,Q) + +b) Mapping for differential Encoding + +J.122\_F6-21 + +Figure 6-21a: 16QAM symbol mapping diagram showing a 4x4 grid of symbols in the I-Q plane. The mapping is Gray-coded (I,Q,I,Q). The axes are labeled I and Q. Symbols are 4-bit binary strings. Figure 6-21b: 16QAM symbol mapping diagram showing a 4x4 grid of symbols in the I-Q plane. The mapping is for differential encoding. The axes are labeled I and Q. Symbols are 4-bit binary strings. + +**Figure 6-21 – 16QAM symbol mapping** + +![Figure 6-22: 32QAM symbol mapping diagram showing a grid of 32 symbols in the I-Q plane. The mapping is a 4x8 grid of symbols, with some symbols marked with '(2)' indicating they are double symbols. The axes are labeled I and Q. Symbols are 5-bit binary strings.](d71ba79c3da3a9767a82812c7eb0b20b_img.jpg) + +Label bits $x^5 x^4 x^3 x^2 x^1$ + +J.122\_F6-22 + +Figure 6-22: 32QAM symbol mapping diagram showing a grid of 32 symbols in the I-Q plane. The mapping is a 4x8 grid of symbols, with some symbols marked with '(2)' indicating they are double symbols. The axes are labeled I and Q. Symbols are 5-bit binary strings. + +**Figure 6-22 – 32QAM symbol mapping** + +![64QAM symbol mapping diagram showing an 8x8 grid of 64 symbols with binary labels. The horizontal axis is labeled 'I' and the vertical axis is labeled 'Q'.](ce857617d1453e7e90edfaae561e2f62_img.jpg) + +Q + +Label bits $x^6 x^5 x^4 x^3 x^2 x^1$ (I,Q,I,Q,I,Q) + +| | | | | | | | | +|--------|--------|--------|--------|--------|--------|--------|--------| +| 011100 | 011110 | 010110 | 010100 | 110100 | 110110 | 111110 | 111100 | +| 011101 | 011111 | 010111 | 010101 | 110101 | 110111 | 111111 | 111101 | +| 011001 | 011011 | 010011 | 010001 | 110001 | 110011 | 111011 | 111001 | +| 011000 | 011010 | 010010 | 010000 | 110000 | 110010 | 111010 | 111000 | +| 001000 | 001010 | 000010 | 000000 | 100000 | 100010 | 101010 | 101000 | +| 001001 | 001011 | 000011 | 000001 | 100001 | 100011 | 101011 | 101001 | +| 001101 | 001111 | 000111 | 000101 | 100101 | 100111 | 101111 | 101101 | +| 001100 | 001110 | 000110 | 000100 | 100100 | 100110 | 101110 | 101100 | + +J.122\_F6-23 + +64QAM symbol mapping diagram showing an 8x8 grid of 64 symbols with binary labels. The horizontal axis is labeled 'I' and the vertical axis is labeled 'Q'. + +**Figure 6-23 – 64QAM symbol mapping** + +![QPSK symbol mapping diagram showing four symbols (01, 00, 10, 11) on a grid. 8QAM TCM symbol mapping diagram showing eight symbols (111, 101, 010, 000, 001, 011, 100, 110) on a grid.](57e7a913a27e03b719a102d02c6bf985_img.jpg) + +Binary labels $x^2 x^1$ + +| | | +|-------------|-------------| +| 01 (yellow) | 00 (cyan) | +| 10 (cyan) | 11 (yellow) | + +Binary labels $x^3 x^2 x^1$ + +| | | | | | | | | +|------------|--|--------------|--|--|--------------|--|--| +| | | 111 (yellow) | | | 101 (yellow) | | | +| 010 (cyan) | | | | | 000 (cyan) | | | +| | | 001 (yellow) | | | 011 (yellow) | | | +| 100 (cyan) | | | | | 110 (cyan) | | | + +J.122\_F6-24 + +QPSK symbol mapping diagram showing four symbols (01, 00, 10, 11) on a grid. 8QAM TCM symbol mapping diagram showing eight symbols (111, 101, 010, 000, 001, 011, 100, 110) on a grid. + +**Figure 6-24 – QPSK and 8QAM TCM symbol mapping** + +![16QAM symbol mapping diagram showing a 4x4 grid of symbols. The grid is divided into four quadrants by a vertical and a horizontal line. Symbols are labeled with octal values 00-17. Subset B0 (blue) includes 16, 12, 04, 00, 02, 06, 10, 14. Subset B1 (yellow) includes 13, 07, 01, 15, 17, 03, 05, 11. 32QAM symbol mapping diagram showing a cross-shaped constellation. Symbols are labeled with octal values 00-37. Subset B0 (blue) includes 26, 34, 16, 24, 10, 02, 00, 32, 36, 04, 06, 14, 20, 12, 30, 22. Subset B1 (yellow) includes 23, 31, 13, 21, 15, 07, 05, 37, 33, 01, 03, 11, 25, 17, 35, 27.](8605b43090d582ea5046e1804178a7d8_img.jpg) + +Octal labels $o^2 o^1$ (= bin. labels $x^4 x^3 x^2 x^1$ ) + +Octal labels $o^2 o^1$ (= bin. labels $x^5 x^4 x^3 x^2 x^1$ ) + +Subset B0 +Subset B1 +J.122\_F6-25 + +16QAM symbol mapping diagram showing a 4x4 grid of symbols. The grid is divided into four quadrants by a vertical and a horizontal line. Symbols are labeled with octal values 00-17. Subset B0 (blue) includes 16, 12, 04, 00, 02, 06, 10, 14. Subset B1 (yellow) includes 13, 07, 01, 15, 17, 03, 05, 11. 32QAM symbol mapping diagram showing a cross-shaped constellation. Symbols are labeled with octal values 00-37. Subset B0 (blue) includes 26, 34, 16, 24, 10, 02, 00, 32, 36, 04, 06, 14, 20, 12, 30, 22. Subset B1 (yellow) includes 23, 31, 13, 21, 15, 07, 05, 37, 33, 01, 03, 11, 25, 17, 35, 27. + +**Figure 6-25 – 16QAM and 32QAM TCM symbol mapping** + +![64QAM symbol mapping diagram showing an 8x8 grid. Symbols are labeled with octal values 00-77. Blue boxes represent Subset B0 and yellow boxes represent Subset B1 in a checkerboard-like pattern. 128QAM symbol mapping diagram showing a dense cross-shaped constellation. Symbols are labeled with octal values 000-177. Blue boxes represent Subset B0 and yellow boxes represent Subset B1.](14294c70b5a0effb6bdaf09c46bbdc9f_img.jpg) + +64QAM: octal labels $o^3 o^2 o^1$ +(= bin. labels $x^6 x^5 x^4 x^3 x^2 x^1$ ) + +128QAM: octal labels $o^3 o^2 o^1$ +(= bin. labels $x^7 x^6 x^5 x^4 x^3 x^2 x^1$ ) + +Subset B0 +Subset B1 +J.122\_F6-26 + +64QAM symbol mapping diagram showing an 8x8 grid. Symbols are labeled with octal values 00-77. Blue boxes represent Subset B0 and yellow boxes represent Subset B1 in a checkerboard-like pattern. 128QAM symbol mapping diagram showing a dense cross-shaped constellation. Symbols are labeled with octal values 000-177. Blue boxes represent Subset B0 and yellow boxes represent Subset B1. + +**Figure 6-26 – 64QAM and 128QAM TCM symbol mapping** + +### 6.2.14 S-CDMA spreader + +The basis of signal transmission with S-CDMA is direct-sequence spread-spectrum modulation. S-CDMA employs a family of orthogonal digital code words, called spreading codes, to simultaneously transmit up to 128 modulation symbols. In each spreading interval, a vector, $\bar{P}_k$ , is transmitted such that: + +$$\bar{P}_k = \bar{S}_k \times C$$ + +where $\bar{S}_k$ is a vector, $[s_{k,127}, s_{k,126}, \dots, s_{k,0}]$ , of modulation symbols on the integer grid of clause 6.2.13 to be transmitted in spreading interval $k$ , and $C$ is a matrix: + +$$C = \begin{bmatrix} c_{127,127} & c_{127,126} & \dots & c_{127,0} \\ c_{126,127} & c_{126,126} & \dots & c_{126,0} \\ \dots & \dots & \dots & \dots \\ c_{0,127} & c_{0,126} & \dots & c_{0,0} \end{bmatrix} = \begin{bmatrix} x_1 & x_{127} & \dots & x_2 & -1 \\ x_2 & x_1 & \dots & x_3 & -1 \\ \dots & \dots & \dots & \dots & -1 \\ x_{127} & x_{126} & \dots & x_1 & -1 \\ 1 & 1 & 1 & 1 & 1 \end{bmatrix}$$ + +where the rows of $C$ are the 128 spreading codes such that $Code(j) = [c_{j,127}, c_{j,126}, \dots, c_{j,0}]$ . The result of the spreading operation is the transmission vector $\bar{P}_k$ , which has 128 elements, $[P_{k,127}, P_{k,126}, \dots, P_{k,0}]$ , where each element is transmitted at the signalling rate, with element $P_{k,0}$ transmitted first in time. The first element $S_0$ into the spreader is defined as follows. As a point of reference, for 128 allocated codes, and considering the first column of the framer ( $k = 0$ ), $S_0$ is the first symbol in time to enter the framer, occupies the lower left element of the framer, and is the first element into the spreader. + +The set of orthogonal codes used for the spreading operation is quasi-cyclic and consists of values that are either +1 or -1. $Code(0)$ consists of 128 elements all of which have a value of +1. For each of the other spreading codes $Code(j)$ , the element $c_{j,0}$ is -1 and the remaining elements are obtained by a cyclic shift of a sequence $x$ as is shown in the above matrix in this clause. + +The sequence $x_i$ is defined such that the elements corresponding to the following set of indices are equal to -1: + +``` +{ 2 3 4 5 6 7 9 10 11 13 16 17 18 19 20 21 25 26 + 28 30 31 33 34 35 37 39 40 41 49 51 52 55 56 59 60 61 + 65 66 67 69 72 73 74 77 78 79 81 84 90 92 94 97 100 101 + 103 106 109 110 111 114 117 119 121 }; +``` + +the remaining elements of $Code(1)$ have a value of +1. + +Each $Code(j)$ is obtained by cyclic shift to the left (in the direction of increasing indices) of $Code(j-1)$ where the element, $c_{j,0}$ , has a value of -1 and does not take part in the cyclic shift. + +Although each code is defined to have equal power, the spread symbols may have slightly unequal power since the symbols at the input to the spreader have varying values of $E_{av}$ according to the integer symbol grid of clause 6.2.13. + +If a CM has not been assigned to use a particular code, $j$ , at a spreading time interval, $k$ , then in its computation of its transmission vector $\bar{P}_k$ , it will set $s_{k,j}$ to numerical zero. The assignment of codes to the CM is performed by the framer as it assigns a burst of symbols a particular order in the two-dimensional space of codes and time. This symbol sequencing is described in detail in clause 6.2.12. + +The I and Q components of the symbols are spread using the same spreading code. + +It is also important to note that in the matrix multiplication of the equation above and subsequent CM processing prior to the D/A, there is an essential clipping operation wherein – as an example – filtered (pulse shaped) elements of $\bar{P}_k$ in excess of some vendor-specific absolute value are clipped (retaining complex angle) to this absolute value. This non-linear operation, deviating from the equation above and the subsequent linear processing prior to the D/A, is essential for meeting spurious emission and MER requirements safely and efficiently while operating at the highest CM average transmit power levels (see Table 6-8). + +#### 6.2.14.1 Code hopping + +Code hopping refers to a systematic re-ordering of the rows of the spreading matrix, $C$ , at each spreading interval, $k$ . The code-hopping algorithm uses a pseudo-random number, $lfsr\_out(k)$ , to determine a cyclic shift of the rows of the matrix $C$ . When the number of active codes equals 128, the code-hopping algorithm uses all codes. When the number of active codes is less than 128, the code-hopping algorithm hops only over the cyclic codes ( $Code(0)$ , the all 1s code, is excluded). The generalization of the spreading matrix at spreading interval, $k$ , is given by (where matrix elements, $c_{j,i}$ , are as defined above in clause 6.2.14): + +$$C_k = \begin{pmatrix} c_{f(k,127),127} & c_{f(k,127),126} & \dots & c_{f(k,127),0} \\ c_{f(k,126),127} & c_{f(k,126),126} & \dots & c_{f(k,126),0} \\ \dots & \dots & \dots & \dots \\ c_{f(k,0),127} & c_{f(k,0),126} & \dots & c_{f(k,0),0} \end{pmatrix}$$ + +where: + +$$f(k,i) = \begin{cases} \text{modulo}[(128 - lfsr\_out(k) + i), 128] & \text{with } 0 \leq i \leq 127 \text{ for 128 active codes} \\ \text{modulo}[(126 - lfsr\_out(k) + i), 127] + 1 & \text{with } 1 \leq i \leq 127 \text{ for } < 128 \text{ active codes} \end{cases}$$ + +In S-CDMA mode, the CM MUST support code hopping. + +Note that when the number of active codes is less than 128, the unused codes are those starting with matrix index 0. In this case, the code hopping continues to "hop" over all of the codes except for $Code(0)$ , even if the number of active codes is less than 127. + +The pseudo-random number generator which determines the spreading matrix reordering is the linear-feedback shift register (LFSR) which is shown in Figure 6-27. In order to align the CM's code-hopping pseudo-random sequence with that at the CMTS, the pseudo random generator must output the following value at the first spreading interval of each frame: + +$$lfsr\_out(\text{frame\_number} * \text{spreading\_interval\_per\_frame})$$ + +where $lfsr\_out(k)$ is the value of $lfsr\_out$ after $k$ shifts following the code hopping seed load into the LFSR32 (the description of the frame counter and the procedures for its synchronization are contained in clause 6.2.11.2, "Mini-slot numbering"). At this reset, a 15-bit initialization value (seed) is loaded into the shift register and is used at the first spreading interval. Then at each subsequent spreading interval, $k$ , a new bit is shifted into the LFSR producing a new 7-bit value, $lfsr\_out(k)$ . This value is used, with bit 7 as the MSB, to compute the spreading matrix indices as given by the equation above. Note that the code-hopping mechanism (LFSR, spreading interval index) is advanced every spreading interval (128 modulation intervals) in both spreader-on and spreader-off frames. + +![Figure 6-27: Code-hopping random number generator diagram. It shows a 15-bit shift register with cells numbered 1 to 15. An 'Initialization value (seed)' is input to all cells. The output of cell 15 is fed back through an XOR gate to the input of cell 1. The outputs of cells 1, 2, 3, 4, 5, 6, 7, and 15 are combined into a 7-bit bus labeled 'lfsr_out'. A small '7' is next to the bus label. The diagram is labeled J.122_F6-27 in the bottom right corner.](b20942bb14022381a243971ab9790dd9_img.jpg) + +Figure 6-27: Code-hopping random number generator diagram. It shows a 15-bit shift register with cells numbered 1 to 15. An 'Initialization value (seed)' is input to all cells. The output of cell 15 is fed back through an XOR gate to the input of cell 1. The outputs of cells 1, 2, 3, 4, 5, 6, 7, and 15 are combined into a 7-bit bus labeled 'lfsr\_out'. A small '7' is next to the bus label. The diagram is labeled J.122\_F6-27 in the bottom right corner. + +**Figure 6-27 – Code-hopping random number generator** + +The 15-bit seed value is configured in response to the upstream channel descriptor message from the CMTS. + +### 6.2.15 Transmit pre-equalizer + +A transmit pre-equalizer of a linear equalizer structure, as shown in Figure 6-28, MUST be configured by the CM in response to the ranging response (RNG-RSP) message transmitted by the CMTS. + +![Figure 6-28: Transmit pre-equalizer structure diagram. An 'I-Q Input' enters a series of delay blocks labeled z^{-1}. Between each z^{-1} block, a tap is taken, passed through a gain block (F_1, F_2, F_3, F_4, ..., F_{17}, F_{18}, ..., F_{24}), and then summed with the main signal path at a summation node (represented by a circle with a plus sign). The final output is labeled 'Equalizer Output'. The diagram is labeled J.122_F6-28 in the bottom right corner.](aa6e28822419dba9f22129fee66c9c4c_img.jpg) + +Figure 6-28: Transmit pre-equalizer structure diagram. An 'I-Q Input' enters a series of delay blocks labeled $z^{-1}$ . Between each $z^{-1}$ block, a tap is taken, passed through a gain block ( $F_1, F_2, F_3, F_4, ..., F_{17}, F_{18}, ..., F_{24}$ ), and then summed with the main signal path at a summation node (represented by a circle with a plus sign). The final output is labeled 'Equalizer Output'. The diagram is labeled J.122\_F6-28 in the bottom right corner. + +**Figure 6-28 – Transmit pre-equalizer structure** + +There are two modes of operation for the pre-equalizer of a CM: DOCS 1.1 mode, and DOCS 2.0 mode. In DOCS 1.1 mode, the CM MUST support a (T)-spaced equalizer structure with 8 taps; the pre-equalizer MAY have 1, 2 or 4 samples per symbol, with a tap length longer than 8 symbols. In DOCS 1.1 mode, for backwards compatibility, the CMTS MAY support fractionally spaced equalizer format ( $T/2$ and $T/4$ ). In DOCS 2.0 mode, the pre-equalizer MUST support a symbol (T)-spaced equalizer structure with 24 taps. + +In DOCS 1.x-only logical channels, the CM and the CMTS MUST use DOCS 1.1 mode. + +In DOCS 2.0-only logical channels, the CM and the CMTS MUST use DOCS 2.0 mode. + +In DOCS 1.x/2.0 mixed logical channels, the CM and the CMTS MUST use DOCS 1.1 mode from initial ranging until DOCS 2.0 is activated in the registration process (if it is activated), and MUST use DOCS 2.0 mode after DOCS 2.0 is activated. + +The RNG-RSP MAC message carries the CM transmit equalization information, and may instruct the CM to either convolve the equalizer coefficients or (in DOCS 2.0 mode only) load them directly (refer to clause 8.3.6.1, "Encodings"). When the CM is instructed to convolve the transmit equalizer + +coefficients, it MUST convolve the coefficients sent by the CMTS in the RNG-RSP with the existing coefficients to get the new coefficients. After convolving, the CM MUST truncate the convolution result such that 24 taps (8 taps in DOCS 1.1 mode) remain after the truncation, with the main tap located at the tap designated by the last RNG-RSP received by the CM. The operation of the convolution is formalized by the following equation: + +$$F_n^{m+1} = \sum_{k=\max(1-L^{m+1}, n+L^m-L^{m+1}-24)}^{\min(24-L^m-L^{m+1}-1)} F_{n-k+L^m-L^{m+1}}^m \cdot F_{k+L^{m+1}}, n=1 \dots 24$$ + +where: + +$F_n^m$ are the coefficients prior to the convolution + +$F_n^{m+1}$ are the coefficients after the convolution + +$\hat{F}_n$ are the coefficients sent from the CMTS + +$L^m$ is the main tap location prior to the convolution + +$L^{m+1}$ is the main tap location after the convolution as dictated by the CMTS + +When the CM is instructed to load the transmit equalizer coefficients it MUST load the coefficients sent by the CMTS into the pre-equalizer coefficients after proper normalization, if necessary. + +In DOCS 1.x-only channels, in response to an initial ranging request and periodic ranging requests prior to CM registration, when the CMTS sends the pre-equalizer coefficients, the CMTS MUST compute and send them with an equalizer length of 8 and in T-spaced format, where T is the modulation interval. After registration, the CMTS MAY use a fractionally spaced equalizer format (T/2- or T/4-spaced) with a longer tap length to match the CM pre-equalizer capabilities that the CMTS learned from the REG-REQ message modem capabilities field. See clause 8.3.8.1.1 for proper use of the modem capabilities field. + +In DOCS 2.0-only channels, the CMTS MUST compute and send the pre-equalizer coefficients with an equalizer length of 24 and in T-spaced format at all times. + +In DOCS 1.x/2.0 mixed logical channels, in response to an initial ranging request and periodic ranging requests prior to CM registration, when the CMTS sends the pre-equalizer coefficients, the CMTS MUST compute and send them with an equalizer length of 8 and in T-spaced format. After registration, if the DOCS 1.1 mode is activated, the CMTS MAY use a fractionally spaced equalizer format (T/2- or T/4-spaced) with a longer tap length to match the CM pre-equalizer capabilities that the CMTS learned from the REG-REQ message modem capabilities field. If DOCS 2.0 is activated, the CMTS MUST use a T-spaced equalizer structure with 24 taps. If the first update of the pre-equalizer after the activation of DOCS 2.0 uses "convolve" mode, the CM MUST zero-pad the existing 8-tap filter to a 24-tap filter, and then convolve according to the rules above. + +Prior to making an initial ranging request and whenever the upstream channel frequency or upstream channel modulation rate changes, the CM MUST initialize the coefficients of the pre-equalizer to a default setting in which all coefficients are zero except the real coefficient of the first tap (i.e., F1). Whenever the main location is changed, the CM, not the CMTS, MUST compensate for the delay (ranging offset) due to a shift from the previous main tap location to a new main tap location of the equalizer coefficients sent by the CMTS (in both "convolve" and "load" operations). The pre-equalizer coefficients are then updated through the subsequent ranging process (unicast initial ranging and periodic ranging). + +In DOCS 1.1 mode, the CMTS MUST NOT move the main tap location during periodic ranging. + +In DOCS 1.1 mode, the CMTS MUST NOT instruct the CM to load the transmit equalizer coefficients. + +In DOCS 2.0 mode, the CMTS MAY move the main tap location during unicast initial ranging or periodic ranging. + +Equalizer coefficients may be included in every RNG-RSP message, but typically they only occur when the CMTS determines the channel response has significantly changed. The frequency of equalizer coefficient updates in the RNG-RSP message is determined by the CMTS. + +The CM MUST normalize the transmit equalizer coefficients in order to guarantee proper operation (such as not to overflow or clip). The CM MUST NOT change its target transmit power due to gain or loss of the new coefficients in both "convolve" and "load" operations. The target power is defined in clause 6.2.18. + +In DOCS 1.1 mode, if the CM equalizer structure implements the same number of coefficients as assigned in the RNG-RSP message, then the CM MUST NOT change the location of the main tap in the RNG-RSP message. If the CM equalizer structure implements a different number of coefficients than defined in the RNG-RSP message, the CM MAY shift the location of the main tap value. Again, in doing so, the CM MUST adjust its ranging offset, in addition to any adjustment in the RNG-RSP message, by an amount that compensates for the movement of the main tap location. + +### 6.2.16 Spectral shaping + +The upstream transmitter MUST approximate a Nyquist square-root raised-cosine pulse-shaping filter with roll-off factor $\alpha = 0.25$ . The -30 dB transmitted bandwidth MUST NOT exceed the channel width values in Table 6-5. The channel width values are given analytically by: + +$$\text{ChannelWidth} = \text{ModulationRate} \times (1 + \alpha).$$ + +**Table 6-5 – Maximum channel width** + +| Modulation rate (kHz) | Channel width (kHz) | +|-----------------------|---------------------| +| 160 | 200 | +| 320 | 400 | +| 640 | 800 | +| 1280 | 1600 | +| 2560 | 3200 | +| 5120 | 6400 | + +#### 6.2.16.1 Upstream frequency agility and range + +The upstream PMD sublayer MUST support operation over the frequency range of 5-42 MHz edge to edge. + +Offset frequency commands MUST be supported per Table 6-8. + +#### 6.2.16.2 Spectrum format + +The upstream modulator MUST provide operation with the format + +$$s(t) = I(t) \times \cos(\omega t) - Q(t) \times \sin(\omega t)$$ + +where $t$ denotes time and $\omega$ denotes angular frequency. + +### 6.2.17 Relative processing delays + +The CM MAP processing delay is the time provided between arrival of the last bit of a MAP message at a CM and the effectiveness of this MAP. During this time, the CM should process the MAP message and fill its interleavers (or its framer, in S-CDMA mode) with encoded data. The CMTS MUST transmit the MAP message early enough to allow the CM MAP processing delay specified below. + +The CM MAP processing delay, $D_p$ , is given by the equations: + +$$D_p = 200 + \frac{M}{5.12} \mu\text{s} ,$$ + +$$M = \begin{cases} I_r N_r, & I_r \neq 0 \\ B_r, & I_r = 0 \end{cases}$$ + +where $M$ is the number of elements in the CM interleavers (in the case of TDMA), or framer (in the case of S-CDMA). In DOCS 1.x mode, $M = 0$ . Note that in the above equations, the values for $B_r$ and $I_r \times N_r$ are taken to be the maximum from all of the specified burst types in a particular UCD. + +In S-CDMA mode, $M = 128 (K+1)$ , where $K$ is the number of spreading intervals per frame. This is the time required for processing an S-CDMA frame plus an extra spreading interval. For example in the case of $K = 32$ , which corresponds to the maximum framer size, the CM MAP processing time is 1025 $\mu\text{s}$ , assuming a modulation rate of 5.12 MHz. + +NOTE 1 – The CM MAP processing delay does not include downstream FEC de-interleaving delay. + +NOTE 2 – The "effectiveness of the MAP" relates to the beginning of the burst frame at the RF output of the CM. In the S-CDMA mode, "effectiveness of the MAP" relates to the beginning (at the RF output of the CM) of the first spreading interval of the S-CDMA frame which contains the burst. + +### 6.2.18 Transmit power requirements + +The CM MUST support varying the amount of transmit power. Requirements are presented for: + +- 1) range of reported transmit power; +- 2) step size of power commands; +- 3) step size accuracy (actual change in output power compared to commanded change); and +- 4) absolute accuracy of CM output power. + +The protocol by which power adjustments are performed is defined in clause 11.2.4. Such adjustments by the CM MUST be within the ranges of tolerances described below. A CM MUST confirm that the transmit power limits are met after a RNG-RSP is received or after a UCD change. + +Transmit power is defined as the average RF power in the occupied bandwidth (channel width) transmitted in the data symbols of a burst, assuming equally likely QAM symbols, measured at the F-connector of the CM. Maximum and minimum transmit power level requirements refer to the CM's target transmit power level, defined as the CM's estimate of its actual transmit power. The actual transmitted power MUST be within $\pm 2$ dB of the target power. The target transmit power MUST be variable over the range specified in Table 6-8. + +Transmit power as reported by the CM in the MIB is referenced to the 64QAM constellation. When transmitting with other constellations, a slightly different transmit power will result, depending on the constellation gain in Table 6-6 (see clause 6.2.13). As an example, if the reported power is 30 dBmV, 64QAM will be transmitted with a target power of 30 dBmV, while QPSK will be transmitted with 28.82 dBmV. + +**Table 6-6 – Constellation gains and power limits** + +| Constellation | Constellation gain $G_{const}$ relative to 64QAM (dB) | $P_{min}$ (dBmV) | $P_{max}$ (dBmV) TDMA | $P_{max}$ (dBmV) S-CDMA | $P_{min}$ $G_{const}$ (dBmV) | $P_{max} - G_{const}$ (dBmV) TDMA | $P_{max} - G_{const}$ (dBmV) S-CDMA | +|---------------|-------------------------------------------------------|------------------|-----------------------|-------------------------|------------------------------|-----------------------------------|-------------------------------------| +| QPSK | -1.18 | 8 | 58 | 53 | 9.18 | 59.18 | 54.18 | +| 8QAM | -0.21 | 8 | 55 | 53 | 8.21 | 55.21 | 53.21 | +| 16QAM | -0.21 | 8 | 55 | 53 | 8.21 | 55.21 | 53.21 | +| 32QAM | 0.00 | 8 | 54 | 53 | 8.00 | 54.00 | 53.00 | +| 64QAM | 0.00 | 8 | 54 | 53 | 8.00 | 54.00 | 53.00 | +| 128QAM | 0.05 | 8 | N/A | 53 | 7.95 | N/A | 52.95 | + +The actual transmitted power within a burst MUST be constant to within 0.1 dB peak to peak. This excludes the amplitude variation theoretically present due to QAM amplitude modulation, pulse shaping, pre-equalization, and for S-CDMA, spreading and varying number of allocated codes. + +The CM MUST support the transmit power calculations defined in clauses 6.2.18.1 and 6.2.18.2. + +#### 6.2.18.1 TDMA transmit power calculations + +In TDMA mode, the CM determines its target transmit power $P_t$ as follows. Define: + +$P_r$ = Reported power level (dBmV) of CM in MIB (refers to 64QAM constellation) + +$\Delta P$ = Power level adjustment (dB); for example, as commanded in ranging response message + +$G_{const}$ = Constellation gain (dB) relative to 64QAM constellation (see above table) + +$P_{min}$ = Minimum target transmit power permitted for the CM per clause 6.2.21.1 (see Table 6-6) + +$P_{max}$ = Maximum target transmit power permitted for the CM per clause 6.2.21.1 (see Table 6-6) + +$P_{hi}$ = $\min[P_{max} - G_{const}]$ over all burst profiles used by the CM (see Table 6-6) + +$P_{low}$ = $\max[P_{min} - G_{const}]$ over all burst profiles used by the CM (see Table 6-6) + +$P_t$ = Target transmit power level (dBmV) of CM (actual transmitted power as estimated by CM) + +The CM updates its reported power by the following steps: + +- 1) $P_r = P_r + \Delta P$ //Add power level adjustment to reported power level +- 2) $P_r = \min[P_r, P_{hi}]$ //Clip at max. power limit +- 3) $P_r = \max [P_r, P_{low}]$ //Clip at min. power limit + +The CM then transmits with target power $P_t = P_r + G_{const}$ , i.e., the reported power plus the constellation gain. + +Usually, the reported power level is a relatively constant quantity, while the transmitted power level varies dynamically as different burst profiles, with different constellation gains, are transmitted. A CM's target transmit power MUST never be below $P_{min}$ or above $P_{max}$ . This implies that in some cases the extreme transmit power levels (e.g., 58 dBmV for QPSK and 8 dBmV) may not be permitted if burst profiles with multiple constellations are active. Also, if only QPSK is used, the reported power may be greater than 58 dBmV, although the target transmit power will not exceed 58 dBmV. + +For example, if only QPSK and 64QAM burst profiles are active, $P_{hi} = 54$ dBmV and $P_{low} = 9.2$ dBmV. The maximum permitted QPSK transmitted power is $54 - 1.2 = 52.8$ dBmV, the minimum QPSK power is $9.2 - 1.2 = 8$ dBmV, the maximum 64QAM power is 54 dBmV, and the minimum 64QAM power is 9.2 dBmV. + +#### 6.2.18.2 S-CDMA transmit power calculations + +In S-CDMA mode, the power calculations depend on whether the maximum scheduled codes feature is enabled. + +##### 6.2.18.2.1 S-CDMA transmit power calculations when maximum scheduled codes are not enabled + +In S-CDMA mode, when maximum scheduled codes are not enabled, the CM determines its target transmit power $P_t$ as follows. Define: + +$$\begin{aligned} P_r &= \text{reported power level (dBmV) of CM in MIB (refers to 64QAM constellation and all active codes transmitted)} \\ P_{hi} &= \min[P_{max} - G_{const}] \text{ over all burst profiles used by the CM (see Table 6-6)} \\ P_{low} &= \max[P_{min} - G_{const}] + 10 \log(\text{number\_active\_codes/number\_of\_codes\_per\_mini-slot}) \text{ where the maximum is over all burst profiles used by the CM (see Table 6-6)} \end{aligned}$$ + +The CM updates its reported power by the following steps: + +- 1) $P_r = P_r + \Delta P$ //Add power level adjustment to reported power level +- 2) $P_r = \min[P_r, P_{hi}]$ //Clip at max. power limit +- 3) $P_r = \max[P_r, P_{low}]$ //Clip at min. power limit + +In a spreader-on frame, the CM then transmits each code $i$ with target power: + +$$P_{t,i} = P_r + G_{const,i} - 10 \log(\text{number\_active\_codes})$$ + +i.e., the reported power plus the constellation gain $G_{const,i}$ of that code, less a factor taking into account the number of active codes. The total transmit power, $P_t$ , in a frame is the sum of the individual transmit powers, $P_{t,i}$ , of each code, where the sum is performed using absolute power quantities (non-dB domain). + +In a spreader-off frame, the CM target transmit power is: + +$$P_t = P_r + G_{const}$$ + +The transmitted power level varies dynamically as the number of allocated codes varies, and as different burst profiles, with different constellation gains, are transmitted. A CM's target transmit power MUST never be below $P_{min}$ or above $P_{max}$ , including over all numbers of allocated codes and all burst profiles. This implies that in some cases the extreme transmit power levels (e.g., 8 and 53 dBmV) may not be permitted. Also if, for example, only QPSK is used, the reported power may be greater than 53 dBmV, although the target transmit power will not exceed 53 dBmV. + +If, for example, QPSK and 64QAM burst profiles are active, the number of active codes is 128 and the number of codes per mini-slot is 2, then $P_{hi} = 53$ dBmV and $P_{low} = 27.24$ dBmV. The maximum permitted QPSK transmitted power is $53 - 1.18 = 51.82$ dBmV when all active codes are transmitted. The minimum QPSK power is $27.24 - 1.18 - 10\log(128) + 10\log(2) = 8$ dBmV when one mini-slot is transmitted. The last term in the sum is the result of summing the individual powers over 2 codes. Similarly, the maximum 64QAM power is 53 dBmV when all active codes are transmitted, and the minimum 64QAM power is $27.24 - 10\log(128) + 10\log(2) = 9.18$ dBmV when one mini-slot is transmitted. The minimum QPSK power permitted while transmitting, for example, 2 mini-slots is 11 dBmV, and the minimum 64QAM power permitted while transmitting 2 mini-slots is 12.2 dBmV. + +The CM needs to implement some form of clipping on the transmitted waveform at the higher output powers in order to prevent peak-to-average ratio (PAR) issues. + +The power received at the CMTS in a spreader-on frame will sometimes be less than the nominal power of a spreader-off frame because of such factors as: + +- 1) broadcast opportunities not used by any CM; +- 2) unicast grants not used by one or more CMs; or +- 3) mini-slots assigned to the NULL SID. + +##### 6.2.18.2.2 S-CDMA transmit power calculations when maximum scheduled codes are enabled + +In S-CDMA mode on channels on which maximum scheduled codes are enabled, the CM determines its target transmit power $P_t$ as follows. Define: + +$P_r$ = reported power level (dBmV) of CM in MIB (operational transmit power of the spreader-off ranging burst referenced to 64QAM modulation) + +$P_{hi\_S}$ = $\min[53 - G_{const}]$ over all spreader-on burst profiles used by the CM (see Table 6-6) + +$P_{low\_S}$ = $\max[8 - G_{const}] + 10 \log(\text{number\_active\_codes}/\text{number\_of\_codes\_per\_mini-slot})$ where the maximum is over all burst profiles used by the CM (see Table 6-6) + +$P_{max\_T}$ = Maximum target transmit power permitted for the CM in TDMA mode (see Table 6-6) for the constellation used in ranging + +$P_{hi\_T}$ = $\min[P_{max\_T} - G_{const}]$ over all spreader-off burst profiles used by the CM (see Table 6-6) + +$P_{on}$ = $P_r$ clipped at the maximum spreader-on limit + +$P_{sf}$ = CM power shortfall per clauses 8.3.5 and 8.3.26 + +$P_{hr}$ = S-CDMA power headroom in dB. Equivalent to TLV-11 defined in Table 8-21 divided by 4 + +$\Delta P$ = power level adjustment in dB sent from CMTS to CM + +The CM updates its power by the following steps: + +1. $P_r = P_r + \Delta P$ //Add power level adjustment to reported power level +2. $P_r = \min[P_r, P_{hi\_T}]$ //Clip at max. TDMA power limit +3. $P_r = \max[P_r, P_{low\_S}]$ //Clip at min. S-CDMA power limit +4. $P_{on} = \min[P_r, P_{hi\_S}]$ //Clip at max. S-CDMA power limit + +In spreader-off frames, the CM transmits with target power + +$$P_t = P_r + G_{const}$$ + +Based on the spreader-off transmit power, the CM updates its power shortfall according to the following steps: + +$$P_{sf} = P_r + \max[G_{const,i}] - 53$$ + +// Difference between spreader-off reported and max. spreader-on target powers + +$$P_{sf} = \max[P_{sf}, 0]$$ + +// Set $P_{sf}$ to 0 if $P_t$ is less than 53 dBmV + +In spreader-on frames, the CM transmits each code $i$ with target power + +$$P_{t,i} = P_{on} + G_{const,i} - 10 \log(\text{number\_active\_codes}) + P_{hr}$$ + +i.e., the clipped reported power plus the constellation gain, $G_{const, i}$ , of that code, less a factor taking into account the number of active codes, plus the power headroom, $P_{hr}$ . $P_{hr}$ is the power (in dB) added to account for CMs that have a maximum scheduled code limit and can transmit additional power per code. The total transmit power $P_t$ in a frame is the sum of the individual transmit powers, $P_{t, i}$ , of each code, where the sum is performed over all $N_{alloc}$ allocated codes using absolute power quantities (non-dB domain). + +$$P_t = 10 \log \sum_{i=1}^{N_{alloc}} 10^{P_{t,i}/10}$$ + +If, for example, the burst profile contains QPSK for IUCs 1,2,3 and 4 and 64QAM for IUCs 9 and 10, the number of active codes is 128, and the number of codes per mini-slot is 2, then $P_{hi\_S} = 53$ dBmV, $P_{low\_S} = 27.24$ dBmV, and $P_{hi\_T} = 58$ dBmV. Assume the CM ranges at spreader-off target transmit power of 57 dBmV. The CM reports $P_{sf} = 57$ dBmV – 53 dBmV = 4 dB. The CMTS uses $P_{sf}$ to set (using its vendor-specific algorithm) $max\_scheduled\_codes = 32$ and $P_{hr} = 6$ dB (the S-CDMA power headroom may differ from the power shortfall, at the discretion of the CMTS). The CM sets its transmitted power per code to: + +$$\begin{aligned} P_{t,i} &= P_{on} + G_{const, i} - 10 \log(\text{number\_active\_codes}) + P_{hr} \\ &= 53 \text{ dBmV} + 0 \text{ dB} - 21 \text{ dB} + 6 \text{ dB} && // \text{ For a code with 64QAM modulation} \\ &= 38 \text{ dBmV} \end{aligned}$$ + +A parameter that may be used to illustrate the effect of increased power per code is the effective transmit power, $P_{eff}$ , the power that would result hypothetically if all $N_{act}$ active codes were transmitted. It is computed as: + +$$\begin{aligned} P_{eff} &= 10 \log \sum_{i=1}^{N_{act}} 10^{P_{t,i}/10} \\ &= P_{on} + P_{hr} + 10 \log \frac{1}{N_{act}} \sum_{i=1}^{N_{act}} 10^{G_{const,i}/10} \end{aligned}$$ + +where the last term is the average constellation gain. + +For a reference case with all codes transmitted using 64QAM modulation ( $G_{const} = 0$ dB), the effective transmit power reduces to: + +$$P_{eff} = P_{on} + P_{hr}$$ + +Continuing the above example, the result is: + +$$\begin{aligned} P_{eff} &= 53 \text{ dBmV} + 6 \text{ dB} \\ &= 59 \text{ dBmV} \end{aligned}$$ + +Limiting the number of codes has given the CM an enhanced effective power of 59 dBmV, which is 6 dB above the normal maximum of 53 dBmV, and 2 dB above the ranging power of 57 dBmV. In this example, the CMTS used its discretion to ask for 2 dB more enhancement than was needed ( $P_{hr} = 6$ dB vs $P_{sf} = 4$ dB), perhaps due to some known impairment in the channel. + +The *effective\_SNR* is an SNR estimate for a given code corresponding to the effective transmit power. It is defined as the measured SNR at the last station maintenance, minus the CM power shortfall, plus the power headroom, plus the difference in constellation gain between the ranging burst and the code under consideration. Its equation is: + +$$effective\_SNR = measured\_SNR - P_{sf} + P_{hr} + (G_{const, i} - G_{const, ranging})$$ + +where $G_{const, ranging}$ is the constellation gain of the ranging burst that resulted in the SNR measurement. In the MIB, *effective\_SNR* corresponds to a reference case with 64QAM modulation ( $G_{const, i} = 0$ dB): + +$$effective\_SNR = measured\_SNR - P_{sf} + P_{hr} - G_{const, ranging}$$ + +Continuing the example, if the measured SNR in the last station maintenance was 17 dB using QPSK modulation ( $G_{const, ranging} = -1.2$ dB) then the effective SNR referenced to 64QAM modulation is: + +$$effective\_SNR = 17 \text{ dB} - 4 \text{ dB} + 6 \text{ dB} + 1.2 \text{ dB} = 20.2 \text{ dB}$$ + +#### 6.2.18.3 Transmit power step size + +The step resolution in transmit power MUST be 1 dB or less. When a CM is commanded with finer resolution than it can implement, it MUST round to the nearest supported step size. If the commanded step is halfway between two supported step sizes, the CM MUST choose the smaller step. For example, with a supported step resolution of 1 dB, a command to step $\pm 0.5$ dB would result in no step, while a command to step $\pm 0.75$ dB would result in a $\pm 1$ dB step. + +The step size accuracy MUST be within $\pm 0.4$ dB. For example, the actual power increase resulting from a command to increase the power level by 1 dB in a CM's next transmitted burst MUST be between 0.6 dB and 1.4 dB. + +A relaxation in step size accuracy to $\pm 1.4$ dB is allowed for one gain change when changing the power throughout the full power control range in either direction (from low-end to high-end power and vice versa). The locations of these two gain changes with relaxed accuracy MUST be at least 2 dB apart, thus enabling the use of large step attenuators in the coverage of the full power control range (hysteresis effect). + +### 6.2.19 Burst profiles + +The transmission characteristics are separated into three portions: + +- a) channel parameters; +- b) burst profile attributes; and +- c) user-unique parameters. + +The channel parameters include: + +- i) the modulation rate (six rates from 160 ksymb/s to 5.12 Msymb/s in octave steps); +- ii) the centre frequency (Hz); +- iii) the 1536-bit preamble superstring; and +- iv) the S-CDMA channel parameters. + +The channel parameters are further described in Table 8-18; these characteristics are shared by all users on a given channel. The burst profile attributes are listed in Table 6-7, and are further described in Table 8-19; these parameters are the shared attributes corresponding to a burst type. + +The CM MUST generate each burst at the appropriate time as conveyed in the mini-slot grants provided by the CMTS MAPs (see clause 8.3.4). + +The CM MUST support all burst profiles commanded by the CMTS via the burst descriptors in the UCD (see clause 8.3.3), and subsequently assigned for transmission in a MAP (see clause 8.3.4). + +**Table 6-7 – Burst profile attributes** + +| Burst profile attributes | Configuration settings | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------| +| Modulation | QPSK, 8QAM, 16QAM, 32QAM, 64QAM, 128QAM (TCM only) | +| Differential encoding | On/off | +| TCM encoding | On/off | +| Preamble length | 0-1536 bits (see clause 6.2.9) | +| Preamble value offset | 0 to 1534 | +| R-S FEC error correction (T) | 0 to 16 (0 implies no R-S FEC. The number of codeword parity bytes is $2 \times T$ ) | +| R-S FEC codeword information bytes (k) | Fixed: 16 to 253 (assuming R-S FEC on)
Shortened: 16 to 253 (assuming R-S FEC on) | +| Scrambler seed | 15 bits | +| Maximum burst length (mini-slots) a) | 0 to 255 | +| Guard time | 4 to 255 modulation intervals
There is no guard time in S-CDMA channels | +| Last codeword length | Fixed, shortened | +| Scrambler on/off | On/off | +| Byte interleaver depth ( $I_r$ ) b) | 0 to floor ( $2048/N_r$ ) c) | +| Byte interleaver block size ( $B_r$ ) d) | $2 \times N_r$ to 2048 | +| Preamble type | QPSK0/QPSK1 | +| S-CDMA spreader e) | On/off | +| S-CDMA codes per subframe e) | 1 to 128 | +| S-CDMA interleaver step e) | 1 to (spreading intervals per frame – 1) | +| a) A burst length of 0 mini-slots in the channel profile means that the burst length is variable on that channel for that burst type. The burst length, while not fixed, is granted explicitly by the CMTS to the CM in the MAP.
b) If depth = 1, no interleaving; if depth = 0, dynamic mode.
c) $N_r$ is the R-S codeword size $k + 2T$ as defined in clause 6.2.6.1.
d) Used only in dynamic mode.
e) Used only for S-CDMA channels. | | + +The user-unique parameters may vary for each user even when using the same burst type on the same channel as another user (for example, power level), and are listed in Table 6-8. + +**Table 6-8 – User-unique burst parameters** + +| User-unique parameter | Adjustment command | Resulting parameter value | +|--------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Power level | 8-bit two's complement, resolution = 0.25 dB | TDMA:
+8 to +54 dBmV (32QAM, 64QAM)
+8 to +55 dBmV (8QAM, 16QAM)
+8 to +58 dBmV (QPSK)
S-CDMA:
+8 to +53 dBmV (all modulations)
Resolution = 1 dB or better | +| Offset frequency | Range = 32 kHz, resolution = 1 Hz | Range = $\pm 32$ kHz; increment = 1 Hz; implement within $\pm 10$ kHz | +| Ranging offset | Integer part: 32-bit two's complement, resolution = $(1/10.24 \text{ MHz}) = 6.25 \mu\text{s}/64 = 97.65625 \text{ ns}$

Fractional part: unsigned 8-bit fractional extension, resolution = $6.25 \mu\text{s}/(64*256) = 0.3814697265625 \text{ ns}$ | Integer part: 0 to $(2^{16} - 1)$ , increments of $6.25 \mu\text{s}/64$

Fractional part: Unsigned 8-bit fractional extension, units of $6.25 \mu\text{s}/(64 \times 256) = 0.38146973 \text{ ns}$ | +| Burst length (mini-slots) if variable on this channel (changes burst-to-burst) | N/A | 1 to 255 mini-slots | +| Transmit equalizer coefficients | DOCSIS 2.0 mode: 24 complex coefficients, 4 bytes per coefficient (2 real and 2 imaginary), load and convolve modes

DOCSIS 1.1 mode: up to 64 complex coefficients, 4 bytes per coefficient (2 real and 2 imaginary), convolve mode only | Up to 64 coefficients; 4 bytes per coefficient: 2 real and 2 imaginary | + +The CM MUST implement the offset frequency adjustment to effect a change in upstream carrier frequency within 10 Hz of the commanded change. + +#### 6.2.19.1 Ranging offset + +Ranging offset is the time difference between the CM upstream frame time base and the CMTS upstream frame time base. It is an advancement equal to roughly the round-trip delay of the CM from the CMTS, and is needed to synchronize upstream transmissions in the TDMA and S-CDMA schemes. The CMTS MUST provide the CM with feedback adjustments of this offset, based on reception of one or more successfully received bursts (i.e., satisfactory result from each technique employed: Error correction and/or CRC). The CMTS sends these timing adjust commands to the CM in the ranging response MAC message (see clause 8.3.6), where a negative value implies the ranging offset is to be decreased, resulting in later times of transmission at the CM. + +For TDMA channels, the CM MUST implement the timing adjust command with resolution of at most one symbol duration (of the symbol rate in use for a given burst) and (other than a fixed bias) with accuracy within $\pm 0.25 \mu\text{s}$ plus $\pm 1/2$ symbol owing to resolution. As an example, for the maximum symbol rate of 5120 ksymb/s, the corresponding symbol period would be 195 ns, the + +corresponding maximum resolution for the timing adjustment MUST be 195 ns, and the corresponding minimum accuracy MUST be $\pm 348$ ns. The accuracy of CM burst timing of $\pm 0.25$ $\mu\text{s}$ plus $\pm 1/2$ symbol is relative to the mini-slot boundaries derivable at the CM based on an ideal processing of the timestamp signals received from the CMTS. + +The resolution of the integer part of the timing adjust parameter, which is used for TDMA channels, is $(1/10.24 \text{ MHz}) = 6.25 \mu\text{s}/64 \approx 97.66 \text{ ns}$ . For S-CDMA channels the CM MUST implement the timing adjust to within $\pm 0.01$ of the nominal chip period. As an example, for the maximum chip rate of 5120 ksymb/s, the corresponding maximum resolution for the timing correction would be $195 \text{ ns} \times (\pm 0.01)$ , or roughly $\pm 2 \text{ ns}$ . + +#### 6.2.19.2 TDMA reconfiguration times + +The CM MUST be capable of switching burst profiles with no reconfiguration time required between bursts except for changes in the following parameters: + +- 1) output power; +- 2) symbol rate; +- 3) offset frequency; +- 4) channel frequency; and +- 5) ranging offset. + +For **output power** changes: If output power is to be changed by 1 dB or less, the CM MUST be able to implement the change between bursts as long as the CMTS allocates at least 96 symbols plus 5 $\mu\text{s}$ between the last symbol centre of one burst and the first symbol centre of the following burst. If output power is to be changed by more than 1 dB, the CM MUST be able to implement the change between bursts as long as the CMTS allocates at least 96 symbols plus 10 $\mu\text{s}$ between the last symbol centre of one burst and the first symbol centre of the following burst. The maximum reconfiguration time of 96 symbols should compensate for the ramp-down time of one burst and the ramp-up time of the next burst as well as the overall transmitter delay time including the pipeline delay and optional pre-equalizer delay. The output power of the CM MUST be settled to within $\pm 0.1$ dB of its final output power level: + +- a) within 5 $\mu\text{s}$ from the beginning of a change of 1 dB or less; and +- b) within 10 $\mu\text{s}$ from the beginning of a change of greater than 1 dB. Output power MUST NOT be changed until the CM is provided sufficient time between bursts by the CMTS, and MUST NOT change while more than $-30$ dB of any symbol's energy of the previous burst remains to be transmitted, or more than $-30$ dB of any symbol's energy of the next burst has been transmitted. + +For **symbol rate** changes, the CM MUST be able to transmit consecutive bursts as long as the CMTS allows the required time between bursts for UCD parameter changes (see clause 11.3.2, "Changing upstream channel descriptor message parameters"). Symbol rate MUST NOT be changed until the CM is provided sufficient time between bursts by the CMTS, and MUST NOT change while more than $-30$ dB of any symbol's energy of the previous burst remains to be transmitted, or more than $-30$ dB of any symbol's energy of the next burst has been transmitted. + +For **offset frequency** changes, the CM MUST be able to transmit consecutive bursts as long as the CMTS allocates at least 96 symbols in between the last symbol centre of one burst and the first symbol centre of the following burst. The maximum reconfiguration time of 96 symbols should compensate for the ramp-down time of one burst and the ramp-up time of the next burst as well as the overall transmitter delay time including the pipeline delay and optional pre-equalizer delay. Offset frequency MUST NOT be changed until the CM is provided sufficient time between bursts by the CMTS, and MUST NOT change while more than $-30$ dB of any symbol's energy of the + +previous burst remains to be transmitted, or more than $-30$ dB of any symbol's energy of the next burst has been transmitted. + +For **channel frequency** changes, the CM MUST be able to implement the change between bursts as long as the CMTS allocates at least 96 symbols plus 100 ms between the last symbol centre of one burst and the first symbol of the following burst. The channel frequency of the CM MUST be settled within the phase noise and accuracy requirements of clauses 6.2.21.5 and 6.2.21.6 within 100 ms from the beginning of the change. Channel frequency MUST NOT be changed until the CM is provided sufficient time between bursts by the CMTS, and MUST NOT change while more than $-30$ dB of any symbol's energy of the previous burst remains to be transmitted, or more than $-30$ dB of any symbol's energy of the next burst has been transmitted. + +For **ranging offset** changes, the CM MUST be able to transmit consecutive bursts as long as the CMTS allocates at least 96 symbols in between the last symbol centre of one burst and the first symbol centre of the following burst. The maximum reconfiguration time of 96 symbols should compensate for the ramp-down time of one burst and the ramp-up time of the next burst as well as the overall transmitter delay time including the pipeline delay and optional pre-equalizer delay. Ranging offset MUST NOT be changed until the CM is provided sufficient time between bursts by the CMTS, and MUST NOT change while more than $-30$ dB of any symbol's energy of the previous burst remains to be transmitted, or more than $-30$ dB of any symbol's energy of the next burst has been transmitted. + +For modulation type changes, the CM MUST be able to transmit consecutive bursts with no reconfiguration time between them (except for the minimum guard time). The modulation MUST NOT change while more than $-30$ dB of any symbol's energy of the previous burst remains to be transmitted, or more than $-30$ dB of any symbol's energy of the next burst has been transmitted, EXCLUDING the effect of the transmit equalizer (if present in the CM) (this is to be verified with the transmit equalizer providing no filtering; delay only, if that. Note that if the CMTS has decision feedback in its equalizer, it may need to provide more than the 96-symbol gap between bursts of different modulation type, which the same CM may use; this is a CMTS decision). + +#### 6.2.19.3 S-CDMA reconfiguration times + +In S-CDMA mode, for changes in output power per mini-slot, offset frequency, pre-equalizer coefficients, and/or ranging offset, the CM MUST be able to transmit consecutive bursts as long as the CMTS allocates the time duration of at least one frame in between the bursts. For all other burst profile parameter changes, no reconfiguration is required beyond what is provided by the MAC for such changes. + +#### 6.2.19.4 CM timing offsets when changing modulation rate + +When making a modulation rate change, the CM MUST employ the following timing offsets when changing modulation rates. The offsets in the table correspond to the contribution of DOCSIS 1.0 and 1.1 legacy upstream receivers to changes in latency when making modulation rate changes. These offsets are maintained into DOCSIS 2.0 but with the addition of including in the table the highest modulation rate. The timing offset to apply is the difference between the entry in the table corresponding to the new modulation rate and the entry corresponding to the original modulation rate. The offsets are referenced to the centre of the first symbol in the burst, which is the reference point for burst timing as stated in clause 6.2.20. Specification of these offsets is needed so that CMs apply uniform adjustments to their ranging offsets and so that CMTSs can appropriately handle CMs that apply these offsets when making modulation rate changes. + +| Modulation rate | Timing offset (in units of 1/64 time ticks referenced to 5.12 MHz) | +|-----------------|--------------------------------------------------------------------| +| 5.12 MHz | 0 (reference) | +| 2.56 MHz | 0 | +| 1.28 MHz | 24 | +| 0.64 MHz | 72 | +| 0.32 MHz | 168 | +| 0.16 MHz | 360 | + +As an example, suppose a CM is on an upstream channel operating at a modulation rate of 1.28 MHz. Now, suppose the UCD message from the CMTS changes the modulation rate of the channel to 0.32 MHz. The CM applies an additional timing offset of $168 - 24 = 144$ to its ranging offset to compensate for this modulation rate change. The value of 144 is positive, and thus, the CM will add to its ranging offset so that it effectively transmits earlier by 144 units of 1/64 time ticks. + +Furthermore, in changing modulation rates, if a CM has its own contribution to a change in latency, the CM MUST also compensate for this CM-specific latency difference. This is in addition to the offset applied from the values in the table above, which result from legacy CMTS upstream receiver contributions to changes in latency. The requirements for CM burst timing accuracy found earlier in this clause for TDMA mode, referenced to the modulation rate that is the lower of the original and the new modulation rate, apply after the modulation rate change, with the required timing offsets above considered. Specifically, the CM MUST implement the timing adjustments with accuracy within 0.25 s plus 1/2 symbol, in both TDMA and S-CDMA modes. A CMTS that does not apply the same internal physical delay offsets as the legacy DOCSIS upstream CMTS receiver implementation is capable of receiving a CM burst after a modulation rate change in any of the following ways but is not limited necessarily to only these ways: + +- a) The CMTS may implement the internal physical delay offset, as specified in the above table. +- b) The CMTS may implement an internal timing compensation based on the expected offset in the above table. +- c) The CMTS may increase the guard time. +- d) The CMTS may send an unsolicited RNG-RSP to each CM to adjust the delay offset. As discussed in clause 6.3.6, the CM is expected to be capable of adjusting its timing offset at any time with the accuracy specified within this clause. + +### 6.2.20 Burst timing convention + +Figure 6-29 illustrates the nominal burst timing for TDMA channels. + +a) Nominal burst profile (no timing errors); 8-symbol guard band is illustrated; 10-symbol ramp-up and ramp-down is illustrated. + +![Diagram of nominal TDMA burst timing showing two bursts, N and N+1, with their respective preamble, data, and parity symbols, and the timing reference points.](4619c14be962e4c3ba6613aad97f7a86_img.jpg) + +The diagram illustrates the nominal TDMA burst timing for two consecutive bursts, Burst N and Burst N+1. Each burst consists of a 10-symbol ramp-up, a preamble, data symbols, and a last FEC parity symbol, followed by a 10-symbol ramp-down. The timing is referenced to the symbol centre of the first symbol of each burst, which also serves as the mini-slot boundary. + +Key features of the diagram include: + +- Burst N:** Shows the first burst. Labels include "Ramp-up", "Preamble first symbol", "Preamble last symbol", "Data first symbol", and "Last FEC parity symbol". +- Burst N+1:** Shows the second burst. Labels include "Ramp-down" (from Burst N), "10 symbols" (ramp-down duration), "8 symbols" (guard band duration), "Mini-slot boundary" (at the start of Burst N+1), and "Preamble first symbol" (at the start of Burst N+1). +- Timing Reference:** A note indicates that timing is referenced to the symbol centre of the first symbol of each burst. A label "Centre of preamble First symbol = Mini-slot boundary" points to the start of Burst N+1. +- Guard Band:** An 8-symbol guard band is shown between the end of Burst N and the start of Burst N+1. +- Diagram Code:** J.122\_F6-29 is shown in the bottom right corner. + +Diagram of nominal TDMA burst timing showing two bursts, N and N+1, with their respective preamble, data, and parity symbols, and the timing reference points. + +NOTE - Ramp-down of one burst can overlap ramp-up of following burst even with one transmitter assigned both bursts. + +**Figure 6-29 – Nominal TDMA burst timing** + +Figure 6-30 indicates worst-case burst timing for a TDMA channel. In this example, burst N arrives 1.5 symbols late, and burst N + 1 arrives 1.5 symbols early, but separation of 5 symbols is maintained; 8-symbol guard band shown. + +![Figure 6-30 – Worst-case TDMA burst timing diagram. The diagram shows two bursts, Burst N and Burst N+1, on a timeline. Burst N is shown with a ramp-down tail, and Burst N+1 is shown with a ramp-up head. The diagram indicates the timing relationship between the last symbol of Burst N and the first symbol of Burst N+1. Key timing parameters shown include: 'Worst-case burst timing input to CMTS' at the top; 'Burst N' and 'Burst N + 1' labels; 'Time equal to 5 symbols separates the first symbol centre of burst N + 1 and the last symbol centre of burst N'; 'Symbol centre of Burst N, last symbol; 1.5 symbols late'; 'Symbol centre of Burst N + 1, last symbol; 1.5 symbols early'; '8-symbol guardband' between the end of Burst N and the start of Burst N+1; '1.5' symbol durations at the ends of the guardband; '5 symbols' duration for the main part of the guardband; and 'Mini-slot boundary' indicated by a vertical line.](b9745e4d501fcfe72053e7211ab39fed_img.jpg) + +Figure 6-30 – Worst-case TDMA burst timing diagram. The diagram shows two bursts, Burst N and Burst N+1, on a timeline. Burst N is shown with a ramp-down tail, and Burst N+1 is shown with a ramp-up head. The diagram indicates the timing relationship between the last symbol of Burst N and the first symbol of Burst N+1. Key timing parameters shown include: 'Worst-case burst timing input to CMTS' at the top; 'Burst N' and 'Burst N + 1' labels; 'Time equal to 5 symbols separates the first symbol centre of burst N + 1 and the last symbol centre of burst N'; 'Symbol centre of Burst N, last symbol; 1.5 symbols late'; 'Symbol centre of Burst N + 1, last symbol; 1.5 symbols early'; '8-symbol guardband' between the end of Burst N and the start of Burst N+1; '1.5' symbol durations at the ends of the guardband; '5 symbols' duration for the main part of the guardband; and 'Mini-slot boundary' indicated by a vertical line. + +**Figure 6-30 – Worst-case TDMA burst timing** + +At a symbol rate of $R_s$ , symbols occur at a rate of one each $T_s = 1/R_s$ seconds. Ramp-up and Ramp-down are the spread of a symbol in the time domain beyond $T_s$ duration owing to the symbol-shaping filter and any residual effect from the transmit equalizer. If only one symbol were transmitted, its duration would be longer than $T_s$ due to the shaping filter impulse response being longer than $T_s$ . The spread of the first and last symbols of a burst transmission effectively extends the duration of the burst to longer than $N \times T_s$ , where $N$ is the number of symbols in the burst. + +For S-CDMA channels, the bursts from all CMs are synchronized. This means that the ramp-down of one burst may occur at the same time as the ramp-up of the subsequent burst. The CM MUST meet the ranging and synchronization requirements of S-CDMA to assure that the ramp-down and ramp-up of bursts are aligned. + +### 6.2.21 Fidelity requirements + +The following requirements assume that any pre-equalization is disabled unless otherwise noted. + +#### 6.2.21.1 Spurious emissions + +The spurious emissions specifications are separated into two regions based on the transmit power. Region 1 is defined to have a power range of +14 dBmV to $(P_{max} - 3)$ , i.e., the central region. Region 2 is defined from +8 dBmV to +14 dBmV and $(P_{max} - 3)$ to $P_{max}$ , i.e., the low and high ends of the transmit power. $P_{max}$ is defined in Table 6-8. + +For S-CDMA mode, when a modem is transmitting fewer than 4 spreading codes, the region 2 specifications are used for all transmit power levels. Otherwise, for all other numbers of spreading codes (e.g., 4 to 128) or for TDMA mode, the spurious emissions specifications are used according to the power ranges defined for regions 1 and 2 above. + +In addition, for S-CDMA, the spurious emission specifications for S-CDMA MUST be met for any *number\_allocated\_codes*, as defined in clause 6.2.19. + +The noise and spurious power MUST NOT exceed the levels given in Tables 6-9, 6-10 and 6-11. + +In Table 6-9, inband spurious includes noise, carrier leakage, clock lines, synthesizer spurious products, and other undesired transmitter products. It does not include ISI. The measurement bandwidth for inband spurious is equal to the modulation rate (e.g., 160 to 5120 kHz). All requirements expressed in dBc are relative to the actual transmit power that the CM emits. + +**Table 6-9 – Spurious emissions** + +| Parameter | Transmitting burst | Between bursts | +|--------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------| +| Inband | –40 dBc | The greater of –72 dBc or –59 dBmV | +| Adjacent band | See Table 6-10. | The greater of –72 dBc or –59 dBmV | +| 3 or fewer carrier-related frequency bands (such as second harmonic, if <42 MHz) | Region 1: –50 dBc for transmitted modulation rate = 320 ksymb/s and above;
–47 dBc for transmitted modulation rate = 160 ksymb/s
Region 2: –47 dBc | The greater of –72 dBc or –59 dBmV | +| Bands within 5 to 42 MHz (excluding assigned channel, adjacent channels, and carrier-related channels) | See Table 6-11. | The greater of –72 dBc or –59 dBmV | +| CM integrated spurious emissions limits (all in 4 MHz, includes discretes) a) | | | +| 42 to 54 MHz | Max(–40 dBc, –26 dBmV) | –26 dBmV | +| 54 to 60 MHz | –35 dBmV | –40 dBmV | +| 60 to 88 MHz | –40 dBmV | –40 dBmV | +| 88 to 860 MHz | –45 dBmV | Max(–45 dBmV, –40 dB ref d/s b) ) | +| CM discrete spurious emissions limits | | | +| 42 to 54 MHz | Max(–50 dBc, –36 dBmV) | –36 dBmV | +| 54 to 88 MHz | –50 dBmV | –50 dBmV | +| 88 to 860 MHz | –50 dBmV | –50 dBmV | + +a) These spec limits exclude a single discrete spur related to the tuned received channel; this single discrete spur MUST be no greater than –40 dBmV. + +b) "dB ref d/s" is relative to the received downstream signal level. Some spurious outputs are proportional to the receive signal level. + +The measurement bandwidth for the three (or fewer) carrier-related frequency bands (below 42 MHz) is 160 kHz, with up to three 160 kHz bands, each with no more than the value given in Table 6-9, allowed to be excluded from the "bands within 5 to 42 MHz transmitting burst" specifications of Table 6-11. Carrier-related spurious emissions include all products whose + +frequency is a function of the carrier frequency of the upstream transmission such as, but not limited to, carrier harmonics. + +The measurement bandwidth is also 160 kHz for the between bursts specifications of Table 6-9 below 42 MHz. + +The transmitting burst specifications apply during the mini-slots granted to the CM (when the CM uses all or a portion of the grant), and for 32 modulation intervals before and after the granted mini-slots. The between bursts specifications apply except during a used grant of mini-slots, and the 32 modulation intervals before and after the used grant. + +In TDMA mode, a mini-slot may be as short as 32 modulation intervals, or 6.25 microseconds at the 5120 ksymb/s rate, or as short as 200 microseconds at the 160 ksymb/s rate. + +##### 6.2.21.1.1 Adjacent channel spurious emissions + +Spurious emissions from a transmitted carrier may occur in an adjacent channel which could be occupied by a carrier of the same or different modulation rate. Table 6-10 lists the required adjacent channel spurious emission levels for all combinations of transmitted carrier modulation rates and adjacent channel modulation rates. The measurement is performed in an adjacent channel interval that is of appropriate bandwidth and distance from the transmitted carrier based on the modulation rates of the transmitted carrier and the carrier in the adjacent channel. + +**Table 6-10 – Adjacent channel spurious emissions relative to the transmitted burst power level** + +| Transmitted carrier modulation rate | Specification in the interval, region 1 | Specification in the interval, region 2 | Measurement interval and distance from carrier edge | Adjacent channel carrier modulation rate | +|-------------------------------------|-----------------------------------------|-----------------------------------------|-----------------------------------------------------|------------------------------------------| +| All modulation rates | –47 dBc | –45 dBc | 20 kHz to 180 kHz | 160 kHz | +| | –47 dBc | –45 dBc | 40 kHz to 360 kHz | 320 kHz | +| | –46 dBc | –45 dBc | 80 kHz to 720 kHz | 640 kHz | +| | –45 dBc | –44 dBc | 160 kHz to 1440 kHz | 1280 kHz | +| | –44 dBc | –41 dBc | 320 kHz to 2880 kHz | 2560 kHz | +| | –42 dBc | –38 dBc | 640 kHz to 5760 kHz | 5120 kHz | + +##### 6.2.21.1.2 Spurious emissions in 5 to 42 MHz + +Spurious emissions, other than those in an adjacent channel or carrier-related emissions listed above, may occur in intervals (frequency bands) that could be occupied by other carriers of the same or different modulation rates. To accommodate these different modulation rates and associated bandwidths, the spurious emissions are measured in an interval equal to the bandwidth corresponding to the modulation rate of the carrier that could be transmitted in that interval. This interval is independent of the current transmitted modulation rate. + +Table 6-11 lists the possible modulation rates that could be transmitted in an interval, the required spurious level in that interval, and the initial measurement interval at which to start measuring the spurious emissions. Measurements should start at the initial distance and be repeated at increasing distance from the carrier until the upstream band edge, 5 MHz or 42 MHz, is reached. Measurement intervals should not include the three or fewer carrier-related emission bands excluded above. + +**Table 6-11 – Spurious emissions in 5 to 42 MHz relative to the transmitted burst power level** + +| Possible modulation rate in this interval | Specification in the interval, region 1 | Specification in the interval, region 2 | Initial measurement interval and distance from carrier edge | +|-------------------------------------------|-----------------------------------------|-----------------------------------------|-------------------------------------------------------------| +| 160 kHz | –54 dBc | –53 dBc | 220 kHz to 380 kHz | +| 320 kHz | –52 dBc | –50 dBc | 240 kHz to 560 kHz | +| 640 kHz | –50 dBc | –47 dBc | 280 kHz to 920 kHz | +| 1280 kHz | –48 dBc | –44 dBc | 360 kHz to 1640 kHz | +| 2560 kHz | –46 dBc | –41 dBc | 520 kHz to 3080 kHz | +| 5120 kHz | –44 dBc | –38 dBc | 840 kHz to 5960 kHz | + +#### 6.2.21.2 Spurious emissions during burst on/off transients + +Each transmitter MUST control spurious emissions, prior to and during ramp-up and during and following ramp-down, before and after a burst. + +On/off spurious emissions, such as the change in voltage at the upstream transmitter output due to enabling or disabling transmission, MUST be no more than 100 mV, and such a step MUST be dissipated no faster than 2 $\mu\text{s}$ of constant slewing. This requirement applies when the CM is transmitting at +55 dBmV or more; at backed-off transmit levels, the maximum change in voltage MUST decrease by a factor of 2 for each 6-dB decrease of power level from +55 dBmV, down to a maximum change of 7 mV at 31 dBmV and below. This requirement does not apply to CM power-on and power-off transients. + +#### 6.2.21.3 Modulation error ratio (MER) + +MER measures the cluster variance caused by the transmit waveform. It includes the effects of ISI, spurious, phase noise and all other transmitter degradations. + +##### 6.2.21.3.1 Definitions + +**Symbol MER ( $\text{MER}_{\text{symb}}$ ):** $\text{MER}_{\text{symb}}$ is defined as follows for TDMA or S-CDMA symbols. The transmitted RF waveform (after appropriate downconversion) is applied to the ideal receive symbol matched filter and is sampled once per symbol. For TDMA, the matched filter is a square-root raised cosine filter with $\alpha = 0.25$ . For S-CDMA, the matched filter is a square-root raised cosine filter with $\alpha = 0.25$ , convolved with the time-reversed spreading code sequence (in this convolution, the spreading code sequence is expressed as a weighted impulse train spaced at the chip period). No external noise (AWGN) is added to the signal. The carrier frequency offset, carrier phase offset, symbol timing and gain may be adjusted during each burst to maximize $\text{MER}_{\text{symb}}$ . Equalization of the received waveform is not permitted. For cases where the CM transmit equalizer is ON, the transmit equalizer coefficients may be adjusted to maximize $\text{MER}_{\text{symb}}$ . $\text{MER}_{\text{symb}}$ is defined at the F connector of the CM, except that when an echo channel is inserted, $\text{MER}_{\text{symb}}$ is defined at the output of the echo channel. $\text{MER}_{\text{symb}}$ is computed by the formula: + +$$\text{MER}_{\text{symb}}(\text{dB}) = 10 \times \log_{10} \left( \frac{E_{av}}{\frac{1}{N} \sum_{j=1}^N |e_j|^2} \right)$$ + +where: + +$E_{av}$ is the average constellation energy for equally likely symbols (see clause 6.2.13 and Figure 6-18) + +$N$ is the number of symbols averaged + +$e_j$ is the error vector from the $j$ th received symbol to the ideal transmitted QAM symbol on the grid of Figure 6-18 + +For S-CDMA, $MER_{symb}$ is averaged over all active codes. + +***MER of composite chips (MERchip)***: $MER_{chip}$ is specified for composite S-CDMA chips to ensure that high SNR is maintained, especially for a small number of allocated codes, to prevent noise funnelling effects when many modems transmit simultaneously. A composite S-CDMA chip is defined as the output of the spreader during one chip interval, that is, an element of the transmission vector $\overline{P}_k$ defined in clause 6.2.14. + +$MER_{chip}$ is defined as follows. The transmitted RF waveform (after appropriate downconversion) is applied to the ideal receive chip matched filter and is sampled once per chip. The matched filter is a square-root raised cosine filter with $\alpha = 0.25$ . No external noise (AWGN) is added to the signal. The carrier frequency offset, carrier phase offset, timing and gain may be adjusted during each burst to maximize $MER_{chip}$ . Equalization of the received waveform is not permitted. For cases where the CM transmit equalizer is ON, the transmit equalizer coefficients may be adjusted to maximize $MER_{chip}$ . $MER_{chip}$ is defined at the F connector of the CM. $MER_{chip}$ is computed by the formula: + +$$MER_{chip} \text{ (dB)} = 10 \times \log_{10} \left( \frac{\sum_{j=1}^N |p_j|^2}{\sum_{j=1}^N |p_j - r_j|^2} \right)$$ + +where: + +$p_j$ is the $j$ th ideal transmitted composite chip + +$r_j$ is the $j$ th received composite chip + +$N$ is the number of composite chips observed + +##### 6.2.21.3.2 Requirements + +Unless otherwise stated, the MER MUST meet or exceed the following limits over the full transmit power range of Table 6-8 for each modulation, each modulation rate, and over the full carrier frequency range, and for S-CDMA, over any valid number of active and allocated codes. The 5-42 MHz carrier frequency range refers more precisely to $[5 \text{ MHz} + \text{modulation rate} \times 1.25/2]$ to $[42 \text{ MHz} - \text{modulation rate} \times 1.25/2]$ . At the break points between regions, the higher MER specification applies. + +###### Case 1: Flat channel, transmit equalization OFF + +Case 1a: for modulation rates 2.56 MHz and below: + +$MER_{symb} \geq 30 \text{ dB}$ over 15 to 30 MHz carrier frequency. + +$MER_{symb} \geq 27 \text{ dB}$ over 10 to 15 MHz and 30 to 35 MHz carrier frequency. + +$MER_{symb} \geq 23 \text{ dB}$ over 5 to 10 MHz and 35 to 42 MHz carrier frequency. + +Case 1b: for modulation rate 5.12 MHz: + +$MER_{symb} \geq 27 \text{ dB}$ over 15 to 30 MHz carrier frequency. + +$\text{MER}_{\text{symb}} \geq 24 \text{ dB}$ over 10 to 15 MHz and 30 to 35 MHz carrier frequency. + +$\text{MER}_{\text{symb}} \geq 20 \text{ dB}$ over 5 to 10 MHz and 35 to 42 MHz carrier frequency. + +###### Case 2: Flat channel, transmit equalization ON + +Case 2a: For TDMA/QPSK, $\text{MER}_{\text{symb}} \geq 30 \text{ dB}$ . + +Case 2b: For S-CDMA and all TDMA modulations except QPSK, $\text{MER}_{\text{symb}} \geq 35 \text{ dB}$ . + +Case 2c: For S-CDMA, $\text{MER}_{\text{chip}} \geq 33 \text{ dB}$ . + +###### Case 3: Echo channel, transmit equalization ON + +Case 3a: In the presence of a single echo selected from the channel micro-reflections defined in Table 4-2, the measured $\text{MER}_{\text{symb}}$ MUST be $\geq 30 \text{ dB}$ for TDMA/QPSK, and $\geq 33 \text{ dB}$ for S-CDMA and all TDMA modulations except QPSK. + +Case 3b: In the presence of two or three of the echoes defined in Table 4-2 (at most one of each specified magnitude and delay), the measured $\text{MER}_{\text{symb}}$ MUST be $\geq 29 \text{ dB}$ . + +Since the table does not bound echo delay for the $-30 \text{ dBc}$ case, for testing purposes it is assumed that the time span of the echo at this magnitude is less than or equal to $1.5 \mu\text{s}$ . + +The CMTS MUST provide a test mode in which it: + +- accepts equalizer coefficients via an external interface, e.g., Ethernet; +- sends the coefficients to the CM's pre-equalizer via ranging response message (both set and convolve modes); +- does not adjust the CM's frequency, timing or power. + +#### 6.2.21.4 Filter distortion + +The following requirements assume that any pre-equalization is disabled. + +##### 6.2.21.4.1 Amplitude + +The spectral mask MUST be the ideal square-root raised-cosine spectrum with $\alpha = 0.25$ , within the ranges given in Table 6-12. + +**Table 6-12 – Filter amplitude distortion** + +| Frequency | Amplitude range | | +|---------------------------------|-------------------|-------------------| +| | Low | High | +| $f_c - 5R_s/8$ | – | $-30 \text{ dB}$ | +| $f_c - R_s/2$ | $-3.5 \text{ dB}$ | $-2.5 \text{ dB}$ | +| $f_c - 3R_s/8$ to $f_c - R_s/4$ | $-0.5 \text{ dB}$ | $+0.3 \text{ dB}$ | +| $f_c - R_s/4$ to $f_c + R_s/4$ | $-0.3 \text{ dB}$ | $+0.3 \text{ dB}$ | +| $f_c + R_s/4$ to $f_c + 3R_s/8$ | $-0.5 \text{ dB}$ | $+0.3 \text{ dB}$ | +| $f_c + R_s/2$ | $-3.5 \text{ dB}$ | $-2.5 \text{ dB}$ | +| $f_c + 5R_s/8$ | – | $-30 \text{ dB}$ | + +Where $f_c$ is the centre frequency, $R_s$ is the modulation rate, and the spectral density is measured with a resolution bandwidth of 10 kHz or less. + +##### 6.2.21.4.2 Phase + +$f_c - 5R_s/8$ Hz to $f_c + 5R_s/8$ Hz: Group delay variation MUST NOT be greater than 100 ns. + +#### 6.2.21.5 Carrier phase noise + +The upstream transmitter total integrated phase noise (including discrete spurious noise) MUST be less than or equal to $-46$ dBc summed over the spectral regions spanning 200 Hz to 400 kHz above and below the carrier. + +The upstream transmitter total integrated phase noise (including discrete spurious noise) MUST be less than or equal to $-44$ dBc summed over the spectral regions spanning 8 kHz to 3.2 MHz above and below the carrier. + +The CM MUST provide a test mode in which: + +- a continuous (non-bursted), unmodulated (CW) upstream signal is transmitted at the commanded carrier frequency, modulation rate and level. This is equivalent to replacing the chip sequence at the spreader output with the constant sequence (1, 1, 1, 1, 1, 1, ...) at nominal amplitude, equal on both I and Q; +- the CM tracks the downstream symbol clock and uses it to generate the upstream symbol clock as in normal synchronous operation. + +#### 6.2.21.6 Channel frequency accuracy + +The CM MUST implement the assigned channel frequency within $\pm 50$ parts per million over a temperature range of 0 to 40 degrees C up to five years from date of manufacture. + +#### 6.2.21.7 Modulation rate accuracy + +For TDMA mode, the upstream modulator MUST provide an absolute accuracy of symbol rates $\pm 50$ parts per million over a temperature range of 0 to 40 degrees C up to five years from date of manufacture. + +For S-CDMA mode, the upstream modulator MUST lock the upstream chip rate to the downstream symbol rate, subject to the symbol timing jitter requirements of clause 6.2.21.8. + +#### 6.2.21.8 Modulation timing jitter + +##### 6.2.21.8.1 Symbol timing jitter for asynchronous operation + +For TDMA mode, peak-to-peak symbol jitter, referenced to the previous symbol zero-crossing, of the transmitted waveform, MUST be less than 0.02 of the nominal symbol duration over a 2-second period. In other words, the difference between the maximum and the minimum symbol duration during the 2-second period shall be less than 0.02 of the nominal symbol duration for each of the five upstream symbol rates. + +For TDMA mode, the peak-to-peak cumulative phase error, referenced to the first symbol time and with any fixed symbol frequency offset factored out, MUST be less than 0.04 of the nominal symbol duration over a 0.1-second period. In other words, the difference between the maximum and the minimum cumulative phase error during the 0.1-second period shall be less than 0.04 of the nominal symbol duration for each of the five upstream symbol rates. Factoring out a fixed symbol frequency offset is to be done by using the computed mean symbol duration during the 0.1 s. + +##### 6.2.21.8.2 Chip timing jitter for synchronous operation + +All jitter specifications assume a downstream input to the CM per clauses 6.3.5, 6.3.6, 6.3.7.2, 6.3.7.3, 6.3.9 and 6.3.10. + +For S-CDMA mode, upstream chip clock timing error (with the mean error subtracted out) relative to the CMTS master clock MUST be less than 0.005 RMS of the chip period over a 35-second measurement interval. This applies: + +- 1) to the worst-case jitter and frequency drift specified for the CMTS master clock and the CMTS downstream symbol clock in the requirements above; and +- 2) for any round-trip propagation delay up to the maximum allowed. + +The CM upstream chip clock SHOULD track the jitter components below 10 Hz in the input downstream symbol clock with an error transfer function below -25 dB. The CM upstream chip clock SHOULD attenuate the jitter components in the input downstream symbol clock above 200 Hz. + +The CM MUST provide a test mode in which: + +- a continuous (non-bursted) upstream signal is transmitted at the commanded carrier frequency, modulation rate and level; +- the chip sequence at the spreader output is replaced with an alternating binary sequence (1, -1, 1, -1, 1, -1, ...) at nominal amplitude, equal on both I and Q; +- the CM tracks the downstream symbol clock and uses it to generate the upstream symbol clock as in normal synchronous operation. + +### 6.2.22 Upstream demodulator input power characteristics + +The maximum total input power to the upstream demodulator MUST NOT exceed 35 dBmV in the 5-42 MHz frequency range of operation. + +The intended received power in each carrier MUST be within the values shown in Table 6-13. + +**Table 6-13 – Maximum range of commanded nominal receive power in each carrier** + +| Modulation rate [kHz] | Maximum range [dBmV] | +|-----------------------|----------------------| +| 160 | -16 to + 14 | +| 320 | -13 to + 17 | +| 640 | -10 to + 20 | +| 1280 | -7 to + 23 | +| 2560 | -4 to + 26 | +| 5120 | -1 to + 29 | + +The demodulator MUST operate within its defined performance specifications with received bursts within $\pm 6$ dB of the nominal commanded received power. + +### 6.2.23 Upstream electrical output from the CM + +The CM MUST output an RF modulated signal with the characteristics delineated in Table 6-14. + +**Table 6-14 – Electrical output from the CM** + +| Parameter | Value | +|---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------| +| Frequency | 5 to 42 MHz edge to edge | +| Level range (one channel) | TDMA:
+8 to +54 dBmV (32QAM, 64QAM)
+8 to +55 dBmV (8QAM, 16QAM)
+8 to +58 dBmV (QPSK)
S-CDMA:
+8 to +53 dBmV (all modulations) | +| Modulation type | QPSK, 8QAM, 16QAM, 32QAM, 64QAM and 128QAM | +| Modulation rate (nominal) | TDMA: 160, 320, 640, 1280, 2560 and 5120 kHz
S-CDMA: 1280, 2560 and 5120 kHz | +| Bandwidth | TDMA: 200, 400, 800, 1600, 3200 and 6400 kHz
S-CDMA: 1600, 3200 and 6400 kHz | +| Output impedance | 75 ohms | +| Output return loss | >6 dB (5-42 MHz) | +| Connector | F connector per [IEC 60169-24] (common with the input) | + +## 6.3 Downstream + +This Recommendation applies only to a CMTS supporting exactly one QAM channel per RF output port. A CMTS supporting more than one QAM channel per RF output port would instead conform to the DOCSIS downstream radio frequency interface [DOCS9] specification in lieu of this downstream clause. + +### 6.3.1 Downstream protocol + +The downstream PMD sublayer MUST conform to Annex B of [ITU-T J.83], for low-delay video applications, with the exceptions called out in clause 6.3.2. + +### 6.3.2 Scalable interleaving to support low latency + +The downstream PMD sublayer MUST support a variable-depth interleaver with the characteristics defined in Table 6-15. The table contains a subset of interleaver modes found in Annex B of [ITU-T J.83]. + +**Table 6-15 – Interleaver characteristics** + +| I
(number of taps)
| J
(increment)
| Burst protection
64QAM/256QAM
| Latency
64QAM/256QAM
| +|-------------------------------|--------------------------|------------------------------------------|---------------------------------| +| 8 | 16 | 5.9 µs/4.1 µs | 0.22 ms/0.15 ms | +| 16 | 8 | 12 µs/8.2 µs | 0.48 ms/0.33 ms | +| 32 | 4 | 24 µs/16 µs | 0.98 ms/0.68 ms | +| 64 | 2 | 47 µs/33 µs | 2.0 ms/1.4 ms | +| 128 | 1 | 95 µs/66 µs | 4.0 ms/2.8 ms | + +The interleaver depth, which is coded in a 4-bit control word contained in the FEC frame synchronization trailer, always reflects the interleaving in the immediately-following frame. In addition, errors are allowed while the interleaver memory is flushed after a change in interleaving is indicated. + +Refer to Annex B of [ITU-T J.83] for the control bit specifications required to specify which interleaving mode is used. + +### 6.3.3 Downstream frequency plan + +The downstream frequency plan should comply with harmonic related carrier (HRC), incremental related carrier (IRC) or standard (STD) North American frequency plans per [b-EIA 542]. However, operation below a centre frequency of 91 MHz is not required. + +### 6.3.4 CMTS electrical output + +The CMTS MUST output an RF modulated signal with the following characteristics defined in Table 6-16. + +**Table 6-16 – CMTS output** + +| Parameter | Value | +|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Centre frequency ( $f_c$ ) | 91 to 857 MHz $\pm 30$ kHz a) | +| Level | Adjustable over the range 50 to 61 dBmV | +| Modulation type | 64QAM and 256QAM | +| Symbol rate (nominal)
64QAM
256QAM |
5.056941 Msymb/s
5.360537 Msymb/s | +| Nominal channel spacing | 6 MHz | +| Frequency response
64QAM
256QAM |
-0.18 square root raised cosine shaping
-0.12 square root raised cosine shaping | +| Total discrete spurious inband ( $f_c \pm 3$ MHz)
Inband spurious and noise ( $f_c \pm 3$ MHz) |
$\leq 57$ dBc
$\leq 48$ dBc; where channel spurious and noise includes all discrete spurious, noise, carrier leakage, clock lines, synthesizer products and other undesired transmitter products. Noise within $\pm 50$ kHz of the carrier is excluded. | +| Adjacent channel ( $f_c \pm 3.0$ MHz) to ( $f_c \pm 3.75$ MHz) | $\leq 58$ dBc in 750 kHz | + +**Table 6-16 – CMTS output** + +| Parameter | Value | +|-------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Adjacent channel ( $f_c \pm 3.75$ MHz) to ( $f_c \pm 9$ MHz) | $\leq 62$ dBc, in 5.25 MHz, excluding up to 3 spurs, each of which must be $\leq 60$ dBc when measured in a 10-kHz band. | +| Next adjacent channel ( $f_c \pm 9$ MHz), to ( $f_c \pm 15$ MHz) | Less than the greater of $-65$ dBc or $-12$ dBmV in 6 MHz, excluding up to three discrete spurs. The total power in the spurs must be $\leq 60$ dBc when each is measured with 10-kHz bandwidth. | +| Other channels (47 MHz to 1000 MHz) | $< -12$ dBmV in each 6-MHz channel, excluding up to three discrete spurs. The total power in the spurs must be $\leq 60$ dBc when each is measured with 10-kHz bandwidth. | +| Phase noise | 1 to 10 kHz: $-33$ dBc double-sided noise power
10 to 50 kHz: $-51$ dBc double-sided noise power
50 kHz to 3 MHz: $-51$ dBc double-sided noise power | +| Output impedance | 75 ohms | +| Output return loss | $> 14$ dB within an output channel up to 750 MHz;
$> 13$ dB in an output channel above 750 MHz | +| Connector | F connector per [IEC 60169-24] | +| a) $\pm 30$ kHz includes an allowance of 25 kHz for the largest-frequency offset normally built into upconverters. | | + +### 6.3.5 Downstream electrical input to CM + +The CM MUST be able to locate and accept RF modulated signals located within channels defined in [b-EIA 542] for harmonic related carrier (HRC), incremental related carrier (IRC) and standard (STD) North American frequency plans. Operation below a centre frequency of 91 MHz is not required. The signals will have the characteristics defined in Table 6-17. + +**Table 6-17 – Electrical input to CM** + +| Parameter | Value | +|---------------------------|--------------------------------------------------------------------------------------------------------------------------------| +| Centre frequency | 91 to 857 MHz $\pm 30$ kHz | +| Level range (one channel) | $-15$ dBmV to $+15$ dBmV | +| Modulation type | 64QAM and 256QAM | +| Symbol rate (nominal) | 5.056941 Msymb/s (64QAM) and 5.360537 Msymb/s (256QAM) | +| Bandwidth | 6 MHz (alpha = 0.18 square root raised cosine shaping for 64QAM and alpha = 0.12 square root raised cosine shaping for 256QAM) | + +**Table 6-17 – Electrical input to CM** + +| Parameter | Value | +|--------------------------------|---------------------------------------------------------| +| Total input power (40-900 MHz) | <30 dBmV | +| Input (load) impedance | 75 ohms | +| Input return loss | >6 dB (88-860 MHz) | +| Connector | F connector per [IEC 60169-24] (common with the output) | + +### 6.3.6 CM BER performance + +The bit-error-rate performance of a CM MUST be as described in this clause. The requirements apply to the $I = 128$ , $J = 1$ mode of interleaving. + +#### 6.3.6.1 64QAM + +##### 6.3.6.1.1 64QAM CM BER performance + +Implementation loss of the CM MUST be such that the CM achieves a post-FEC BER less than or equal to $10^{-8}$ when operating at a carrier to noise ratio ( $E_s/N_0$ ) of 23.5 dB or greater. + +##### 6.3.6.1.2 64QAM image rejection performance + +Performance as described in clause 6.3.6.1.1 MUST be met with an analogue or digital signal at +10 dBc in any portion of the RF band other than the adjacent channels. + +##### 6.3.6.1.3 64QAM adjacent channel performance + +Performance as described in clause 6.3.6.1.1 MUST be met with a digital signal at 0 dBc in the adjacent channels. + +Performance as described in clause 6.3.6.1.1 MUST be met with an analogue signal at +10 dBc in the adjacent channels. + +Performance as described in clause 6.3.6.1.1, with an additional 0.2-dB allowance, MUST be met with a digital signal at +10 dBc in the adjacent channels. + +#### 6.3.6.2 256QAM + +##### 6.3.6.2.1 256QAM CM BER performance + +Implementation loss of the CM MUST be such that the CM achieves a post-FEC BER less than or equal to $10^{-8}$ when operating at a carrier to noise ratio ( $E_s/N_0$ ) as shown below. + +Input receive signal level $E_s/N_0$ + +–6 dBmV to +15 dBmV 30 dB or greater + +Less than –6 dBmV down to –15 dBmV 33 dB or greater + +##### 6.3.6.2.2 256QAM image rejection performance + +Performance as described in clause 6.3.6.2.1 MUST be met with an analogue or a digital signal at +10 dBc in any portion of the RF band other than the adjacent channels. + +##### 6.3.6.2.3 256QAM adjacent channel performance + +Performance as described in clause 6.3.6.2.1 MUST be met with an analogue or a digital signal at 0 dBc in the adjacent channels. + +Performance as described in clause 6.3.6.2.1, with an additional 0.5-dB allowance, MUST be met with an analogue signal at +10 dBc in the adjacent channels. + +Performance as described in clause 6.3.6.2.1, with an additional 1.0-dB allowance, MUST be met with a digital signal at +10 dBc in the adjacent channels. + +### 6.3.7 CMTS timestamp jitter + +The CMTS timestamp jitter MUST be less than 500 ns peak-to-peak at the output of the downstream transmission convergence sublayer. This jitter is relative to an ideal downstream transmission convergence sublayer that transfers the MPEG packet data to the downstream physical media dependent sublayer with a perfectly continuous and smooth clock at the MPEG packet data rate. Downstream physical media dependent sublayer processing MUST NOT be considered in timestamp generation and transfer to the downstream physical media dependent sublayer. + +Thus, any two timestamps N1 and N2 (N2 > N1) which were transferred to the downstream physical media dependent sublayer, at times T1 and T2 respectively, must satisfy the following relationship: + +$$\left| \frac{N2 - N1}{f_{CMTS}} - (T2 - T1) \right| < 500 \times 10^{-9}$$ + +In the equation, the value of (N2 – N1) is assumed to account for the effect of rollover of the timebase counter, and T1 and T2 represent time in seconds. $f_{CMTS}$ is the actual frequency of the CMTS master timebase and may include a fixed frequency offset from the nominal frequency of 10.24 MHz. This frequency offset is bounded by a requirement further below in this clause. + +The jitter includes inaccuracy in timestamp value and the jitter in all clocks. The 500 ns allocated for jitter at the downstream transmission convergence sublayer output MUST be reduced by any jitter that is introduced by the downstream physical media dependent sublayer. + +The CM is expected to meet the burst timing accuracy requirements in clause 6.2.19 when the timestamps contain this worst-case jitter. + +NOTE – Jitter is the error (i.e., measured) relative to the CMTS master clock (the CMTS master clock is the 10.24-MHz clock used for generating the timestamps). + +#### 6.3.7.1 CMTS master clock jitter for asynchronous operation + +The CMTS 10.24-MHz master clock MUST have frequency accuracy of $\leq \pm 5$ ppm, drift rate $\leq 10^{-8}$ per second, and edge jitter of $\leq 10$ ns peak-to-peak ( $\pm 5$ ns) over a temperature range of 0 to 40 degrees C up to ten years from date of manufacture5 (the drift rate and jitter requirements on the CMTS master clock implies that the duration of two adjacent segments of 10'240'000 cycles will be within 30 ns, due to 10 ns jitter on each segments' duration, and 10 ns due to frequency drift. Durations of other counter lengths also may be deduced: adjacent 1'024'000 segments, $\leq 21$ ns; 1'024'000 length segments separated by one 10'240'000 cycle segment, $\leq 30$ ns; adjacent 102'400'000 segments, $\leq 120$ ns. The CMTS master clock MUST meet such test limits in 99% or more measurements). + +--- + +5 This Recommendation MAY also be met by synchronizing the CMTS master clock oscillator to an external frequency reference source. If this approach is used, the internal CMTS master clock MUST have frequency accuracy of $\pm 20$ ppm over a temperature range of 0 to 40 degrees C up to ten years from date of manufacture when no frequency reference source is connected. The drift rate and edge jitter MUST be as specified above. + +#### 6.3.7.2 CMTS master clock jitter for synchronous operation + +In addition to the requirements in clause 6.3.7.1, the 10.24 MHz CMTS master clock MUST meet the following double sideband phase noise requirements over the specified frequency ranges: + +| | | +|---------------------------------------------------------------------|----------------------| +| $< [-50 + 20 \cdot \log(f_{MC}/10.24)]$ dBc (i.e., $< 0.05$ ns RMS) | 10 to 100 Hz | +| $< [-58 + 20 \cdot \log(f_{MC}/10.24)]$ dBc (i.e., $< 0.02$ ns RMS) | 100 to 1 kHz | +| $< [-50 + 20 \cdot \log(f_{MC}/10.24)]$ dBc (i.e., $< 0.05$ ns RMS) | 1 to 10 kHz | +| $< [-50 + 20 \cdot \log(f_{MC}/10.24)]$ dBc (i.e., $< 0.05$ ns RMS) | 10 kHz to $f_{MC}/2$ | + +where $f_{MC}$ is the frequency of the measured master clock in MHz. The value of $f_{MC}$ MUST be either an integral multiple or divisor of 10.24 MHz. For example, if a 20.48-MHz oscillator is used as the master clock frequency source, and there is no explicit 10.24-MHz clock to test, the 20.48 MHz clock may be used with $f_{MC}$ equal to 20.48 in the above expressions. + +#### 6.3.7.3 CMTS master clock frequency drift for synchronous operation + +The frequency of the master clock MUST NOT drift more than $1e-8$ per second. + +### 6.3.8 CMTS clock generation + +The CMTS has the following three options related to the synchronization of the CMTS master clock and the downstream symbol clock: + +- 1) not locked; +- 2) downstream symbol clock locked to CMTS master clock; +- 3) CMTS master clock locked to downstream symbol clock. + +For S-CDMA operation, the master clock and the downstream symbol clock MUST be locked using either option 2 or 3. + +Let $f_b'$ represent the rate of the downstream symbol clock which is locked to the CMTS master clock, and let $f_m$ represent the rate of the CMTS master clock locked to the downstream symbol clock. Let $f_b$ represent the nominal specified downstream symbol rate, and let $f_m$ represent the nominal CMTS master clock rate (10.24 MHz). + +With the downstream symbol clock locked to the CMTS master clock, the following equation MUST hold: + +$$f_b' = f_m \times M/N$$ + +With the CMTS master clock locked to the downstream symbol clock, the following equation MUST hold: + +$$f_m' = f_b \times N/M$$ + +M and N MUST be unsigned integer values each representable in 16 bits (these are specified in the channel TLV parameters of the UCD). When the downstream symbol clock and the CMTS master clock are not locked together, the values of M and N are not valid and are ignored by the CM. + +The values of M and N MUST result in a value of $f_b'$ or $f_m'$ , which is not more than $\pm 1$ ppm from its specified nominal value. Table 6-18 lists the downstream modes of operation, their associated nominal symbol rates, $f_b$ , example values for M and N, the resulting synchronized clock rates, and their offsets from their nominal values. + +**Table 6-18 – Downstream symbol rates and example parameters for synchronization with the CMTS master clock** + +| Downstream mode | Nominal specified symbol rate, $f_b$ [MHz] | M/N | CMTS master clock rate, $f_m'$ [MHz] | Downstream symbol rate, $f_b'$ [MHz] | Offset from nominal | +|-----------------|--------------------------------------------|---------|--------------------------------------|--------------------------------------|---------------------| +| Annex B, 64QAM | 5.056941 | 401/812 | 10.239990... | 5.056945... | 0.95 ppm | +| Annex B, 256QAM | 5.360537 | 78/149 | 10.240000... | 5.360536... | 0.02 ppm | + +### 6.3.9 CMTS downstream symbol clock jitter for synchronous operation + +The downstream symbol clock MUST meet the following double sideband phase noise requirements over the specified frequency ranges: + +| | | +|---------------------------------------------------------------------|-------------------------| +| $< [-53 + 20 \cdot \log(f_{DS}/5.057)]$ dBc (i.e., $< 0.07$ ns RMS) | 10 to 100 Hz | +| $< [-53 + 20 \cdot \log(f_{DS}/5.057)]$ dBc (i.e., $< 0.07$ ns RMS) | 100 to 1 kHz | +| $< [-53 + 20 \cdot \log(f_{DS}/5.057)]$ dBc (i.e., $< 0.07$ ns RMS) | 1 to 10 kHz | +| $< [-36 + 20 \cdot \log(f_{DS}/5.057)]$ dBc (i.e., $< 0.5$ ns RMS) | 10 to 100 kHz | +| $< [-30 + 20 \cdot \log(f_{DS}/5.057)]$ dBc (i.e., $< 1$ ns RMS) | 100 kHz to $(f_{DS}/2)$ | + +where $f_{DS}$ is the frequency of the measured clock in MHz. The value of $f_{DS}$ MUST be an integral multiple or divisor of the downstream symbol clock. For example, an $f_{DS} = 20.227764$ -MHz clock may be measured if there is no explicit 5.056941 MHz-clock available. + +The CMTS MUST provide a test mode in which: + +- the downstream QAM symbol sequence is replaced with an alternating binary sequence (1, -1, 1, -1, 1, -1, ...) at nominal amplitude, on both I and Q; +- the CMTS generates the downstream symbol clock from the 10.24-MHz reference clock as in normal synchronous operation. + +If an explicit downstream symbol clock that is capable of meeting the above phase noise requirements is available (e.g., a smooth clock without clock domain jitter), this test mode is not required. + +### 6.3.10 CMTS downstream symbol clock drift for synchronous operation + +The frequency of the downstream symbol clock MUST NOT drift more than $1e-8$ per second. + +# 7 Downstream transmission convergence sublayer + +## 7.1 Introduction + +This clause applies to the first technology option referred to in clause 1.1. For the second and third options, refer to Annexes F and J, respectively. + +In order to improve demodulation robustness, facilitate common receiving hardware for both video and data, and provide an opportunity for the possible future multiplexing of video and data over the PMD sublayer bitstream defined in clause 6, a sublayer is interposed between the downstream PMD sublayer and the data-over-cable MAC sublayer. + +The downstream bitstream is defined as a continuous series of 188-byte MPEG [ITU-T H.222.0] packets. These packets consist of a 4-byte header followed by 184 bytes of payload. The header identifies the payload as belonging to the data-over-cable MAC. Other values of the header may + +indicate other payloads. The mixture of MAC payloads and those of other services is optional and is controlled by the CMTS. + +Figure 7-1 illustrates the interleaving of data-over-cable (DOC) MAC bytes with other digital information (digital video in the example shown). + +| | | +|----------------|-----------------------| +| Header = DOC | DOC MAC payload | +| Header = video | Digital video payload | +| Header = video | Digital video payload | +| Header = DOC | DOC MAC payload | +| Header = video | Digital video payload | +| Header = DOC | DOC MAC payload | +| Header = video | Digital video payload | +| Header = video | Digital video payload | +| Header = video | Digital video payload | + +**Figure 7-1 – Example of interleaving MPEG packets in downstream** + +## 7.2 MPEG packet format + +The format of an MPEG packet carrying DOCS data is shown in Figure 7-2. The packet consists of a 4-byte MPEG header, a pointer\_field (not present in all packets) and the DOCS payload. + +| | | | +|--------------------------|---------------------------|------------------------------------| +| MPEG header
(4 bytes) | pointer_field
(1 byte) | DOCS payload
(183 or 184 bytes) | +|--------------------------|---------------------------|------------------------------------| + +**Figure 7-2 – Format of an MPEG packet** + +## 7.3 MPEG header for DOCS data-over-cable + +The format of the MPEG transport stream header is defined in clause 2.4 of [ITU-T H.222.0]. The particular field values that distinguish data-over-cable MAC streams are defined in Table 7-1. Field names are from [ITU-T H.222.0]. + +**Table 7-1 – MPEG header format for DOCS data-over-cable packets** + +| Field | Length (bits) | Description | +|------------------------------|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| sync_byte | 8 | 0 × 47; MPEG packet sync byte | +| transport_error_indicator | 1 | Indicates an error has occurred in the reception of the packet. This bit is reset to zero by the sender, and is set to one whenever an error occurs in transmission of the packet. | +| payload_unit_start_indicator | 1 | A value of one indicates the presence of a pointer_field as the first byte of the payload (fifth byte of the packet) | +| transport_priority | 1 | Reserved; set to zero | +| PID (see Note) | 13 | DOCS data-over-cable well-known PID (0x1FFE) | +| transport_scrambling_control | 2 | Reserved; set to '00' | + +**Table 7-1 – MPEG header format for DOCS data-over-cable packets** + +| Field | Length (bits) | Description | +|--------------------------|---------------|------------------------------------------------------------------| +| adaptation_field_control | 2 | '01'; use of the adaptation_field is NOT ALLOWED on the DOCS PID | +| continuity_counter | 4 | Cyclic counter within this PID | + +NOTE – The MPEG header consists of 4 bytes that begin the 188-byte MPEG packet. The format of the header for use on a DOCS data-over-cable PID is restricted to that shown in this table. The header format conforms to the MPEG standard, but its use is restricted in this Recommendation to NOT ALLOW inclusion of an adaptation\_field in the MPEG packets. + +## 7.4 MPEG payload for DOCS data-over-cable + +The MPEG payload portion of the MPEG packet will carry the DOCS MAC frames. The first byte of the MPEG payload will be a 'pointer\_field' if the payload\_unit\_start\_indicator (PUSI) of the MPEG header is set. + +### 7.4.1 stuff\_byte + +This Recommendation defines a stuff\_byte pattern having a value (0xFF) that is used within the DOCS payload to fill any gaps between the DOCS MAC frames. This value is chosen as an unused value for the first byte of the DOCS MAC frame. The 'FC' byte of the MAC header will be defined to never contain this value (FC\_TYPE = '11' indicates a MAC-specific frame, and FC\_PARM = '11111' is not currently used and, according to this Recommendation, is defined as an illegal value for FC\_PARM). + +### 7.4.2 pointer\_field + +The pointer\_field is present as the fifth byte of the MPEG packet (first byte following the MPEG header) whenever the PUSI is set to one in the MPEG header. The interpretation of the pointer\_field is as follows. + +The pointer\_field contains the number of bytes in this packet that immediately follow the pointer\_field that the CM decoder must skip past before looking for the beginning of a DOCS MAC frame. A pointer field MUST be present if it is possible to begin a data-over-cable MAC frame in the packet, and MUST point to either: + +- 1) the beginning of the first MAC frame to start in the packet; or +- 2) to any stuff\_byte preceding the MAC frame. + +## 7.5 Interaction with the MAC sublayer + +MAC frames may begin anywhere within an MPEG packet, MAC frames may span MPEG packets, and several MAC frames may exist within an MPEG packet. + +The following figures show the format of the MPEG packets that carry DOCS MAC frames. In all cases, the PUSI flag indicates the presence of the pointer\_field as the first byte of the MPEG payload. + +Figure 7-3 shows a MAC frame that is positioned immediately after the pointer\_field byte. In this case, pointer\_field is zero, and the DOCS decoder will begin searching for a valid FC byte at the byte immediately following the pointer\_field. + +| | | | | +|---------------------------|------------------------|--------------------------------|------------------------------| +| MPEG header
(PUSI = 1) | pointer_field
(= 0) | MAC frame
(up to 183 bytes) | stuff_byte(s)
(0 or more) | +|---------------------------|------------------------|--------------------------------|------------------------------| + +**Figure 7-3 – Packet format where a MAC frame immediately follows the pointer\_field** + +Figure 7-4 shows the more general case where a MAC frame is preceded by the tail of a previous MAC frame and a sequence of stuffing bytes. In this case, the pointer\_field still identifies the first byte after the tail of frame #1 (a stuff\_byte) as the position where the decoder should begin searching for a legal MAC sublayer FC value. This format allows the multiplexing operation in the CMTS to immediately insert a MAC frame that is available for transmission if that frame arrives after the MPEG header and pointer\_field have been transmitted. + +| | | | | | +|---------------------------|------------------------|-----------------------------------|------------------------------|-----------------------| +| MPEG header
(PUSI = 1) | pointer_field
(= M) | Tail of MAC frame #1
(M bytes) | stuff_byte(s)
(0 or more) | Start of MAC frame #2 | +|---------------------------|------------------------|-----------------------------------|------------------------------|-----------------------| + +**Figure 7-4 – Packet format with MAC frame preceded by stuffing bytes** + +In order to facilitate multiplexing of the MPEG packet stream carrying DOCS data with other MPEG-encoded data, the CMTS SHOULD NOT transmit MPEG packets with the DOCS PID which contain only stuff\_bytes in the payload area. MPEG null packets SHOULD be transmitted instead. Note that there are timing relationships implicit in the DOCS MAC sublayer which must also be preserved by any MPEG multiplexing operation. + +Figure 7-5 shows that multiple MAC frames may be contained within the MPEG packet. The MAC frames may be concatenated one after the other or be separated by an optional sequence of stuffing bytes. + +| | | | | | | +|---------------------------|------------------------|--------------|--------------|------------------------------|--------------| +| MPEG header
(PUSI = 1) | pointer_field
(= 0) | MAC frame #1 | MAC frame #2 | stuff_byte(s)
(0 or more) | MAC frame #3 | +|---------------------------|------------------------|--------------|--------------|------------------------------|--------------| + +**Figure 7-5 – Packet format showing multiple MAC frames in a single packet** + +Figure 7-6 shows the case where a MAC frame spans multiple MPEG packets. In this case, the pointer\_field of the succeeding frame points to the byte following the last byte of the tail of the first frame. + +| | | | | | +|---------------------------|---------------------------------------------|-----------------------------------|--------------------------------------------|------------------------------------| +| MPEG header
(PUSI = 1) | pointer_field
(= 0) | stuff_byte(s)
(0 or more) | Start of MAC frame #1
(up to 183 bytes) | | +| MPEG header
(PUSI = 0) | Continuation of MAC frame #1
(184 bytes) | | | | +| MPEG header
(PUSI = 1) | pointer_field
(= M) | Tail of MAC frame #1
(M bytes) | stuff_byte(s)
(0 or more) | Start of MAC frame #2
(M bytes) | + +**Figure 7-6 – Packet format where a MAC frame spans multiple packets** + +The transmission convergence sublayer must operate closely with the MAC sublayer in providing an accurate timestamp to be inserted into the time synchronization message (refer to clauses 8.3.2 and 9.3). + +## **7.6 Interaction with the Physical Layer** + +The MPEG-2 packet stream **MUST** be encoded according to Annex B of [ITU-T J.83], including MPEG-2 transport framing using a parity checksum as described in Annex B of [ITU-T J.83]. + +## **7.7 MPEG header synchronization and recovery** + +The MPEG-2 packet stream **SHOULD** be declared "in frame" (i.e., correct packet alignment has been achieved) when five consecutive correct parity checksums, each 188 bytes from the previous one, have been received. + +The MPEG-2 packet stream **SHOULD** be declared "out of frame," and a search for correct packet alignment started, when nine consecutive incorrect parity checksums are received. + +The format of MAC frames is described in detail in clause 8. + +# **8 Media access control specification** + +## **8.1 Introduction** + +### **8.1.1 Overview** + +This clause describes version 2.0 of the DOCS MAC protocol. Some of the MAC protocol highlights include: + +- bandwidth allocation controlled by CMTS; +- a stream of mini-slots in the upstream; +- dynamic mix of contention- and reservation-based upstream transmit opportunities; +- bandwidth efficiency through support of variable-length packets; +- extensions provided for future support of ATM or other data PDU; +- Quality of service including: + - support for bandwidth and latency guarantees; + - packet classification; + - dynamic service establishment. +- extensions provided for security at the data link layer; +- support for a wide range of data rates. + +### **8.1.2 Definitions** + +#### **8.1.2.1 MAC-sublayer domain** + +A MAC-sublayer domain is a collection of upstream and downstream channels for which a single MAC allocation and management protocol operates. Its attachments include one CMTS and some number of CMs. The CMTS **MUST** service all of the upstream and downstream channels; each CM accesses one logical upstream and one downstream channel at a time. The CMTS **MUST** police and discard any packets received that have a source MAC address that is not a unicast MAC address. The upstream channels may be any combination of DOCS 1.x or 2.0 formats. A single upstream channel **MAY** transport DOCS 1.x and 2.0 bursts. + +#### **8.1.2.2 MAC service access point** + +A MAC service access point (MSAP) is an attachment to a MAC-sublayer domain (refer to clause 5.2). + +#### 8.1.2.3 Service flows + +The concept of service flows is central to the operation of the MAC protocol. Service flows provide a mechanism for upstream and downstream quality of service management. In particular, they are integral to bandwidth allocation. + +A service flow ID defines a particular unidirectional mapping between a CM and the CMTS. Active upstream service flow IDs also have associated service IDs or SIDs. Upstream bandwidth is allocated to SIDs, and hence to CMs, by the CMTS. Service IDs provide the mechanism by which upstream quality of service is implemented. + +The CMTS MAY assign one or more service flow IDs (SFIDs) to each CM, corresponding to the service flows required by the CM. This mapping can be negotiated between the CMTS and the CM during CM registration or via dynamic service establishment (refer to clause 11.4). + +In a basic CM implementation, two service flows (one upstream, one downstream) could be used, for example, to offer best-effort IP service. However, the service flow concept allows for more complex CMs to be developed with support for multiple service classes while supporting interoperability with more basic modems. With these more complex modems, it is possible that certain service flows will be configured in such a way that they cannot carry all types of traffic. That is, they may have a maximum packet size limitation or be restricted to small fixed size unsolicited grants. Furthermore it might not be appropriate to send other kinds of data on service flows that are being used for constant bit rate (CBR)-type applications. + +Even in these complex modems, it is necessary to be able to send certain upstream packets needed for MAC management, SNMP management, key management, etc. For the network to function properly, all CMs MUST support at least one upstream and one downstream service flow. These service flows MUST always be provisioned to allow the CM to request and to send the largest possible unconcatenated MAC frame (refer to clause 8.2.2). These service flows are referred to as the upstream and downstream primary service flows. The SID assigned to the upstream primary service flow is referred to as the primary SID. + +The primary SID MUST always be assigned to the first provisioned upstream service flow during the registration process (which may or may not be the same temporary SID used for the registration process). The primary service flows MUST be immediately activated at registration time. The primary SID MUST always be used for periodic ranging after registration. The primary service flows MAY be used for traffic. All unicast service flows MUST use the security association defined for the primary service flow (refer to [DOCS8]). + +All service flow IDs are unique within a single MAC-sublayer domain. The mapping of a unicast service identifier to an active/admitted service flow MUST be unique within a single MAC-sublayer domain. The length of the service flow ID is 32 bits. The length of the service ID is 14 bits (although the service ID is sometimes carried in the low-order bits of a 16-bit field). + +Unicast flows on different logical upstreams that are attached to a single MAC-sublayer domain MAY be assigned the same SID, as long as the SFIDs are unique. + +#### 8.1.2.4 Upstream intervals, mini-slots and 6.25-microsecond increments + +The upstream transmission time-line is divided into intervals by the upstream bandwidth allocation mechanism. Each interval is an integral number of mini-slots. A "mini-slot" is the unit of granularity for upstream transmission opportunities. There is no implication that any PDU can actually be transmitted in a single mini-slot. Each interval is labelled with a usage code which defines both the type of traffic that can be transmitted during that interval and the physical-layer modulation encoding. The usage code values are defined in Table 8-20 and allowed use is defined in clause 8.3. The binding of these values to physical-layer parameters is defined in Table 8-18. + +##### 8.1.2.4.1 TDMA mode + +For DOCS 1.x channels, a mini-slot is a power-of-two multiple of 6.25- $\mu$ s increments, i.e., 2, 4, 8, 16, 32, 64 or 128 times 6.25 $\mu$ s. For DOCS 2.0 TDMA, a mini-slot is a power-of-two multiple of 6.25- $\mu$ s increments: 1, 2, 4, 8, 16, 32, 64 or 128 times 6.25 $\mu$ s. The relationship between mini-slots, bytes, and time ticks is described further in clause 9.3.4. + +##### 8.1.2.4.2 S-CDMA mode + +For DOCS 2.0 S-CDMA channels, a mini-slot is not restricted to be a power-of-two multiple of 6.25- $\mu$ s increments. Instead a mini-slot is a unit of capacity that is dependent on the modulation rate, number of spreading codes, and number of spreading intervals configured for the upstream channel6. While the channel may be configured such that the time duration of a mini-slot is a power-of-two multiple of 6.25- $\mu$ s increments, there is no special significance to 6.25- $\mu$ s time ticks for S-CDMA channels. The relationship between mini-slots and S-CDMA framing is described further in clause 6.2.11. The relationship between mini-slots, bytes and time ticks is described further in clause 9.3.4. + +#### 8.1.2.5 MAC frame + +A MAC layer frame is a unit of data exchanged between two (or more) entities at the data link layer. A MAC frame consists of a MAC header (beginning with a frame control byte; see Figure 8-3), and may incorporate a variable-length data PDU. The variable-length PDU includes a pair of 48-bit addresses, data and a CRC. In special cases, the MAC header may encapsulate multiple MAC frames (see clause 8.2.5.5) into a single MAC frame. The MAC layer definition of a frame is different from any physical layer or MPEG layer definition of a frame. + +#### 8.1.2.6 Logical upstream channels + +The MAC layer deals with logical upstreams. A logical upstream is identified with an upstream channel ID which is unique within the MSAP. A logical upstream consists of a contiguous stream of mini-slots which are described and allocated by the UCD and MAP messages associated with a channel ID. A CM can only register to operate on a single logical upstream channel. + +There are 4 distinct types of logical upstream: + +- Type 1: DOCS 1.x upstreams that support no DOCS 2.0 TDMA features; +- Type 2: Mixed upstreams that support DOCS 1.x and DOCS 2.0 TDMA bursts; +- Type 3A: DOCS 2.0 TDMA-only upstreams that cannot support DOCS 1.x CMs; +- Type 3S: S-CDMA upstreams that support only CMs operating in S-CDMA mode. + +All valid logical upstreams fall into one of these 4 categories. + +In DOCS 2.0 it is possible for multiple logical upstreams to share the same spectrum. When this occurs, the logical upstreams sharing the same spectrum are time domain multiplexed and only one is active at any time. The only exception to this rule is that it is possible for the broadcast initial maintenance regions to be simultaneous. When a logical upstream channel is inactive, its mini-slots are allocated to the NULL SID by its associated MAP messages. Having multiple logical upstreams that share the same spectrum is the only way to have modems operating in S-CDMA mode share the same upstream spectrum with modems not operating in S-CDMA mode. + +The CMTS MUST support all four logical upstream channel types individually, and MUST also support the following three combinations of two logical upstream channels sharing the same upstream spectrum: + +--- + +6 This relationship holds true on an S-CDMA channel even if the burst parameters for a particular IUC have the spreader disabled. + +- one DOCS 1.x-only logical channel plus one S-CDMA logical channel with the same modulation rate on both logical channels; +- one mixed DOCS 1.x and A-TDMA logical channel plus one S-CDMA logical channel with the same modulation rate on both logical channels; +- one A-TDMA-only logical channel plus one S-CDMA logical channel with the same modulation rate on both logical channels. + +The CMTS MAY support other combinations of logical channels sharing the same upstream spectrum, including combinations of logical channels with different modulation rates. + +#### **8.1.2.7 DOCS 2.0-only logical upstreams** + +DOCS 2.0-only logical upstreams have operational parameters in their associated UCD messages that prevent the operation of DOCS 1.x CMs. See clause 8.3.3 for a detailed description of which parameter values make a channel a DOCS 2.0-only upstream. The UCD messages for DOCS 2.0-only logical upstreams use a different MAC management message type (see clause 8.3.1) than do UCD messages for channels that can support 1.x CMs. This prevents 1.x CMs from attempting to use DOCS 2.0-only upstreams or from being confused by UCD messages for those channels. A logical upstream is a DOCS 2.0-only upstream if and only if it is an S-CDMA upstream or a DOCS 2.0 TDMA-only upstream. + +### **8.1.3 Future use** + +A number of fields are defined as being "for future use" or reserved in the various MAC frames described in this Recommendation. These fields MUST NOT be interpreted or used in any manner by this version (2.0) of the MAC protocol. + +## **8.2 MAC frame formats** + +### **8.2.1 Generic MAC frame format** + +A MAC frame is the basic unit of transfer between MAC sublayers at the CMTS and the cable modem. The same basic structure is used in both the upstream and downstream directions. MAC frames are variable in length. The term "frame" is used in this context to indicate a unit of information that is passed between MAC sublayer peers. This is not to be confused with the term "framing" that indicates some fixed timing relationship. + +There are three distinct regions to consider, as shown in Figure 8-1. Preceding the MAC frame is either PMD sublayer overhead (upstream) or an MPEG transmission convergence header (downstream). The first part of the MAC frame is the MAC header. The MAC header uniquely identifies the contents of the MAC frame. Following the header is the optional data PDU region. The format of the data PDU and whether it is even present is described in the MAC header. + +![Diagram of Generic MAC frame format showing PMD overhead (upstream), MAC header, Data PDU (optional), and MPEG PSI header (downstream).](c7111699f84f3e2bc4016b7876f10de6_img.jpg) + +The diagram illustrates the structure of a Generic MAC frame. It shows a vertical stack of components. At the top is a box labeled 'PMD overhead (upstream)'. Below this is a box containing two side-by-side components: 'MAC header (see Figure 8-3)' on the left and 'Data PDU (optional) (see Figure 8-4)' on the right. A horizontal curly brace underneath this box is labeled 'MAC frame'. At the bottom of the stack is a box labeled 'MPEG PSI header (downstream) (see Table 7-1)'. The text 'J.122\_F8-1' is located to the right of the MAC frame box. + +Diagram of Generic MAC frame format showing PMD overhead (upstream), MAC header, Data PDU (optional), and MPEG PSI header (downstream). + +**Figure 8-1 – Generic MAC frame format** + +#### 8.2.1.1 PMD overhead + +In the upstream direction, the PHY layer indicates the start of the MAC frame to the MAC sublayer. From the MAC sublayer's perspective, it only needs to know the total amount of overhead so it can account for it in the bandwidth allocation process. More information on this may be found in the PMD sublayer clause (clause 6). + +The FEC overhead is spread throughout the MAC frame and is assumed to be transparent to the MAC data stream. The MAC sublayer does need to be able to account for the overhead when doing bandwidth allocation. More information on this may be found in the upstream bandwidth allocation clause (refer to clause 9.1). + +#### 8.2.1.2 MAC frame transport + +The transport of MAC frames by the PMD sublayer for upstream channels is shown in Figure 8-2. + +![Diagram illustrating Upstream MAC/PMD convergence. The diagram shows three MAC frames being transmitted from the MAC sublayer to the PMD sublayer. Each MAC frame is mapped to a burst of mini-slots. The PMD sublayer adds PMD overhead, Data, and FEC to each burst. The start of each burst is indicated by an arrow pointing to the beginning of the PMD overhead. The diagram is labeled 'Upper layer', 'MAC sublayer', 'PMD sublayer', and 'J.122_F8-2'.](68b20651884fcd557e865537f0803de5_img.jpg) + +The diagram illustrates the upstream MAC/PMD convergence process. At the top, the 'Upper layer' is shown. Below it, the 'MAC sublayer' contains three 'MAC frame' blocks. Arrows point from each MAC frame down to the 'PMD sublayer'. In the PMD sublayer, each MAC frame is mapped to a burst of mini-slots. Each burst consists of 'PMD overhead', 'Data', and 'FEC'. Arrows labeled 'Start of burst at mini-slot boundary' point to the beginning of each burst. The diagram is labeled 'J.122\_F8-2' in the bottom right corner. + +Diagram illustrating Upstream MAC/PMD convergence. The diagram shows three MAC frames being transmitted from the MAC sublayer to the PMD sublayer. Each MAC frame is mapped to a burst of mini-slots. The PMD sublayer adds PMD overhead, Data, and FEC to each burst. The start of each burst is indicated by an arrow pointing to the beginning of the PMD overhead. The diagram is labeled 'Upper layer', 'MAC sublayer', 'PMD sublayer', and 'J.122\_F8-2'. + +**Figure 8-2 – Upstream MAC/PMD convergence** + +The layering of MAC frames over MPEG in the downstream channel is described in clause 7. + +Note that the CMTS PHY ensures that the CMTS MAC receives upstream MAC frames in the same order the CM mapped the MAC frames onto mini-slots. That is to say that if MAC frame X begins in mini-slot n and MAC frame Y begins in mini-slot n+m, then the CMTS MAC will receive X before it receives Y. This is true even when, as is possible with S-CDMA, mini-slots n and n+m are actually simultaneously transmitted within the PHY layer. + +#### 8.2.1.3 Ordering of bits and octets + +Within an octet, the least-significant bit is the first transmitted on the wire. This follows the convention used by Ethernet and [ISO/IEC 8802-3]. This is often called bit-little-endian order7. + +Within the MAC layer, when numeric quantities are represented by more than one octet (i.e., 16-bit and 32-bit values), the octet containing the most-significant bits is the first transmitted on the wire. This is sometimes called byte-big-endian order. + +7 This applies to the upstream channel only. For the downstream channel, the MPEG transmission convergence sublayer presents an octet-wide interface to the MAC, so the MAC sublayer does not define bit order. + +This clause follows the textual convention that when bit-fields are presented in tables, the most-significant bits are topmost in the table. For example, in Table 8-2, FC\_TYPE occupies the two most-significant bits and EHDR\_ON occupies the least-significant bit. + +##### 8.2.1.3.1 Representing negative numbers + +Signed integer values MUST be transmitted and received in two's complement format. + +##### 8.2.1.3.2 Type-Length-Value fields + +Many MAC messages incorporate type-length-value (TLV) fields. TLV fields are unordered lists of TLV-tuples. Some TLVs are nested (see Annex C). All TLV length fields, except for EH\_LEN (see clause 8.2.6), MUST be greater than zero. Unless otherwise specified, type is one byte and length is one byte. + +Using this encoding, new parameters may be added that some devices cannot interpret. A CM or CMTS which does not recognize a parameter type MUST skip over this parameter and MUST NOT treat the event as an error condition. + +#### 8.2.1.4 MAC header format + +The MAC header format MUST be as shown in Figure 8-3. + +![Diagram of MAC header format showing fields FC, MAC_PARM, LEN (SID), EHDR, and HCS, with a detailed view of the FC field bits.](53e80f05e45f132bf76a96442a5507e9_img.jpg) + +The diagram illustrates the MAC header format. The main header consists of five fields: FC (1 byte), MAC\_PARM (1 byte), LEN (SID) (2 bytes), EHDR (0-240 bytes), and HCS (2 bytes). The FC field is expanded to show its internal bit structure: FC\_TYPE (2 bits), FC\_PARM (5 bits), and EHDR\_ON (1 bit). Arrows indicate the expansion of the FC field. + +| | | | | | +|----------------|----------------------|------------------------|-----------------------|------------------| +| FC
(1 byte) | MAC_PARM
(1 byte) | LEN (SID)
(2 bytes) | EHDR
(0-240 bytes) | HCS
(2 bytes) | +|----------------|----------------------|------------------------|-----------------------|------------------| + + + +| | | | +|---------------------|---------------------|--------------------| +| FC_TYPE
(2 bits) | FC_PARM
(5 bits) | EHDR_ON
(1 bit) | +|---------------------|---------------------|--------------------| + +Diagram of MAC header format showing fields FC, MAC\_PARM, LEN (SID), EHDR, and HCS, with a detailed view of the FC field bits. + +J.122\_F8-3 + +**Figure 8-3 – MAC header format** + +All MAC headers MUST have the general format as shown in Table 8-1. The frame control (FC) field is the first byte and uniquely identifies the rest of the contents within the MAC header. The FC field is followed by 3 bytes of MAC control; an OPTIONAL extended header (EHDR) field; plus a header check sequence (HCS) to ensure the integrity of the MAC header. + +**Table 8-1 – Generic MAC header format** + +| MAC header field | Usage | Size | +|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------| +| FC | Frame control: Identifies type of MAC header | 8 bits | +| MAC_PARM | Parameter field whose use is dependent on FC:
if EHDR_ON=1; used for EHDR field length (ELEN)
else if for concatenated frames (see Table 8-10) used for MAC frame count
else (for requests only) indicates the number of mini-slots requested | 8 bits | +| LEN (SID) | The length of the MAC frame. The length is defined to be the sum of the number of bytes in the extended header (if present) and the number of bytes following the HCS field (for a REQ header, this field is the service ID instead). | 16 bits | +| EHDR | Extended MAC header (where present; variable size) | 0-240 bytes | +| HCS | MAC header check sequence | 2 bytes | +| | Length of a MAC header | 6 bytes + EHDR | + +The HCS field is a 16-bit CRC that ensures the integrity of the MAC header, even in a collision environment. The HCS field coverage MUST include the entire MAC header, starting with the FC field and including any EHDR field that may be present. The HCS is calculated using ITU-T CRC ( $x^{16} + x^{12} + x^5 + 1$ ) as defined in [ITU-T X.25]. + +The FC field is broken down into the FC\_TYPE sub-field, FC\_PARM sub-field and an EHDR\_ON indication flag. The format of the FC field MUST be as shown in Table 8-2. + +**Table 8-2 – FC field format** + +| FC field | Usage | Size | +|----------|------------------------------------------------------------------------------------------------------------------------------------------------|--------| +| FC_TYPE | MAC frame control type field:
00: Packet PDU MAC header
01: ATM PDU MAC header
10: Reserved PDU MAC header
11: MAC-specific header | 2 bits | +| FC_PARM | Parameter bits, use dependent on FC_TYPE | 5 bits | +| EHDR_ON | When = 1, indicates that EHDR field is present.
(Length of EHDR (ELEN) determined by MAC_PARM field) | 1 bit | + +The FC\_TYPE sub-field is the two MSBs of the FC field. These bits MUST always be interpreted in the same manner to indicate one of four possible MAC frame formats. These types include: MAC header with packet PDU; MAC header with ATM cells; MAC header reserved for future PDU types; or a MAC header used for specific MAC control purposes. These types are spelled out in more detail in the remainder of this clause. + +The five bits following the FC\_TYPE sub-field is the FC\_PARM sub-field. The use of these bits is dependent on the type of MAC header. The LSB of the FC field is the EHDR\_ON indicator. If this bit is set, then an extended header (EHDR) is present. The EHDR provides a mechanism to allow the MAC header to be extensible in an inter-operable manner. + +The transmission convergence sublayer stuff-byte pattern is defined to be a value of 0xFF. This precludes the use of FC byte values which have FC\_TYPE = '11' and FC\_PARM = '11111'. + +The MAC\_PARM field of the MAC header serves several purposes depending on the FC field. If the EHDR\_ON indicator is set, then the MAC\_PARM field MUST be used as the extended header length (ELEN). The EHDR field may vary from 0 to 240 bytes. If this is a concatenation MAC header, then the MAC\_PARM field represents the number of MAC frames (CNT) in the concatenation (see clause 8.2.5.5). If this is a request MAC header (REQ) (see clause 8.2.5.3), then the MAC\_PARM field represents the amount of bandwidth being requested. In all other cases, the MAC\_PARM field is reserved for future use. + +The third field has two possible uses. In most cases, it indicates the length (LEN) of this MAC frame. In one special case, the request MAC header, it is used to indicate the cable modem's service ID since no PDU follows the MAC header. + +The extended header (EHDR) field provides extensions to the MAC frame format. It is used to implement data link security as well as frame fragmentation, and can be extended to add support for additional functions in future releases. Initial implementations SHOULD pass this field to the processor. This will allow future software upgrades to take advantage of this capability (refer to clause 8.2.6 for details). + +#### 8.2.1.5 Data PDU + +The MAC header may be followed by a data PDU. The type and format of the data PDU is defined in the frame control field of the MAC header. The FC field explicitly defines a packet data PDU, an ATM data PDU, a MAC-specific frame and a reserved code point (used as an escape mechanism for future extensions). All CMs MUST use the length in the MAC header to skip over any reserved data. + +### 8.2.2 Packet-based MAC frames + +#### 8.2.2.1 Variable-length packets + +The MAC sublayer MUST support a variable-length Ethernet/[ISO/IEC 8802-3]-type packet data PDU. With the exception of packets that have been subject to payload header suppression, the packet PDU MUST be passed across the network in its entirety, including its original CRC. In the case where payload header suppression has been applied to the packet PDU, all bytes except those suppressed MUST be passed across the network, and the CRC covers only those bytes actually transmitted (refer to clause 8.2.6.3.1). A unique packet MAC header is appended to the beginning. The frame format without an extended header MUST be as shown in Figure 8-4 and Table 8-3. + +![Diagram of Ethernet/802.3 packet PDU format showing the MAC header fields and their sub-fields.](1b2ce053624064d94a4143854da46702_img.jpg) + +| | | | | | +|----------------|----------------------|------------------|------------------|-----------------------------------------| +| FC
(1 byte) | MAC_PARM
(1 byte) | LEN
(2 bytes) | HCS
(2 bytes) | Packet PDU
(18-1518 bytes)
(Note) | +|----------------|----------------------|------------------|------------------|-----------------------------------------| + +The diagram shows the MAC header structure. The first row contains the main fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Packet PDU (18-1518 bytes). Below the FC field, a dashed line points to a sub-field breakdown: FC\_TYPE = 00, FC\_PARM = 00000, and EHDR\_ON = 0. Below the HCS field, a dashed line points to a sub-field breakdown: DA (6 bytes), SA (6 bytes), Type/len (2 bytes), User data (0-1500 bytes), and CRC (4 bytes). + +Diagram of Ethernet/802.3 packet PDU format showing the MAC header fields and their sub-fields. + +NOTE – Frame size is limited to 1518 bytes in the absence of VLAN tagging. Cooperating devices which implement IEEE 802.1Q VLAN tagging MAY use a frame size up to 1522 bytes. + +J.122\_F8-4 + +**Figure 8-4 – Ethernet/802.3 packet PDU format** + +**Table 8-3 – Packet PDU format** + +| Field | Usage | Size | +|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------| +| FC | FC_TYPE = 00; packet MAU header
FC_PARM[4:0] = 00000; other values reserved for future use and ignored
EHDR_ON = 0 if there is no extended header, 1 if there is an EHDR | 8 bits | +| MAC_PARM | MAC_PARM = x; MUST be set to zero if there is no EHDR;
Otherwise set to length of EHDR | 8 bits | +| LEN | LEN = n + x; length of packet PDU in bytes + length of EHDR | 16 bits | +| EHDR | Extended MAC header, if present | x (0-240) bytes | +| HCS | MAC header check sequence | 16 bits | +| Packet data, packet PDU | DA – 48-bit destination address
SA – 48-bit source address
Type/LEN – 16-bit Ethernet type or [ISO/IEC 8802-3] length field
User data (variable length, 0-1500 bytes)
CRC – 32-bit CRC over packet PDU (as defined in Ethernet/[ISO/IEC 8802-3]) | n bytes | +| | Length of packet MAC frame | 6 + x + n bytes | + +Under certain circumstances (see Appendix VI) it may be necessary to transmit a packet PDU MAC frame without an actual PDU. This is done so that the extended header can be used to carry certain information about the state of the service flow. This could also happen as a result of PHS (see clause 8.2.6.3.1). Such a frame will have the length field in MAC header set to the length of the extended header and will have no packet data, and therefore no CRC. This can only happen with frames transmitted on the upstream as frames transmitted on the downstream always have at least the DA and SA fields of the packet PDU. + +### 8.2.3 ATM cell MAC frames + +The FC\_TYPE 0x01 is reserved for future definition of ATM cell MAC frames. This FC\_TYPE field in the MAC header indicates that an ATM PDU is present. This PDU MUST be silently discarded by MAC implementations of this version of the Recommendation. Implementations MUST use the length field to skip over the ATM PDU. + +### 8.2.4 Reserved PDU MAC frames + +The MAC sublayer provides a reserved FC code point to allow for support of future (to be defined) PDU formats. The FC field of the MAC header indicates that a reserved PDU is present. This PDU MUST be silently discarded by MAC implementations of this version of the Recommendation. Implementations compliant to this version of the Recommendation MUST use the length field to skip over the reserved PDU. + +The format of the reserved PDU without an extended header MUST be as shown in Figure 8-5 and Table 8-4. + +![Diagram of Reserved PDU format showing fields FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Reserved PDU (n bytes). The FC field is expanded to show FC_TYPE = 10, FC_PARM = RRRRR, and EHDR_ON = 0. A label J.122_F8-5 is present.](3349dc82c6333221b0610be6ee7250b6_img.jpg) + +J.122\_F8-5 + +Diagram of Reserved PDU format showing fields FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Reserved PDU (n bytes). The FC field is expanded to show FC\_TYPE = 10, FC\_PARM = RRRRR, and EHDR\_ON = 0. A label J.122\_F8-5 is present. + +**Figure 8-5 – Reserved PDU format** + +**Table 8-4 – Reserved PDU format** + +| Field | Usage | Size | +|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------|-----------------| +| FC | FC_TYPE = 10; reserved PDU MAC header
FC_PARM[4:0]; reserved for future use
EHDR_ON = 0 if there is no extended header, 1 if there is an EHDR | 8 bits | +| MAC_PARM | MAC_PARM = x; MUST be set to zero if there is no EHDR;
Otherwise set to length of EHDR | 8 bits | +| LEN | LEN = n + x; length of reserved PDU + length of EHDR in bytes | 16 bits | +| EHDR | Extended MAC header, if present | x (0-240) bytes | +| HCS | MAC header check sequence | 16 bits | +| User data | Reserved data PDU | n bytes | +| | Length of reserved PDU MAC frame | 6 + x + n bytes | + +### 8.2.5 MAC-specific headers + +There are several MAC headers which are used for very specific functions. These functions include support for downstream timing and upstream ranging/power adjust, requesting bandwidth, fragmentation and concatenating multiple MAC frames. + +Table 8-5 describes FC\_PARM usage within the MAC-specific header. + +**Table 8-5 – MAC-specific headers and frames** + +| FC_PARM | Header/Frame type | +|---------|-----------------------| +| 00000 | Timing header | +| 00001 | MAC management header | +| 00010 | Request frame | +| 00011 | Fragmentation header | +| 11100 | Concatenation header | + +#### 8.2.5.1 Timing header + +A specific MAC header is identified to help support the timing and adjustments required. In the downstream, this MAC header MUST be used to transport the global timing reference to which all cable modems synchronize. In the upstream, this MAC header MUST be used as part of the ranging + +message needed for a cable modem's timing and power adjustments. The timing MAC header is followed by a packet data PDU. The format MUST be as shown in Figure 8-6 and Table 8-6. + +![Figure 8-6: Timing MAC header diagram. The main header consists of five fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Packet PDU (various lengths). The FC field is expanded to show its internal structure: FC_TYPE = 11, FC_PARM = 00000, and EHDR_ON = 0. The diagram is labeled J.122_F8-6.](207817524fe964425718e1723d5b7d9e_img.jpg) + +Figure 8-6: Timing MAC header diagram. The main header consists of five fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and Packet PDU (various lengths). The FC field is expanded to show its internal structure: FC\_TYPE = 11, FC\_PARM = 00000, and EHDR\_ON = 0. The diagram is labeled J.122\_F8-6. + +**Figure 8-6 – Timing MAC header** + +**Table 8-6 – Timing MAC header format** + +| Field | Usage | Size | +|-------------|----------------------------------------------------------------------------------------------------------------------------------------------|-------------| +| FC | FC_TYPE = 11; MAC-specific header
FC_PARM[4:0] = 00000; timing MAC header
EHDR_ON = 0; extended header prohibited for SYNC and RNG-REQ | 8 bits | +| MAC_PARM | Reserved for future use | 8 bits | +| LEN | LEN = n; length of packet PDU in bytes | 16 bits | +| EHDR | Extended MAC header (not present) | 0 bytes | +| HCS | MAC header check sequence | 2 bytes | +| Packet data | MAC management message:
SYNC message (downstream only)
RNG-REQ (upstream only) | n bytes | +| | Length of timing message MAC frame | 6 + n bytes | + +#### 8.2.5.2 MAC management header + +A specific MAC header is identified to help support the MAC management messages required. This MAC header MUST be used to transport all MAC management messages (refer to clause 8.3). The format MUST be as shown Figure 8-7 and Table 8-7. + +![Figure 8-7: MAC management header diagram. The main header consists of five fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and MAC mgmt msg (24-1522 bytes). The FC field is expanded to show its internal structure: FC_TYPE = 11, FC_PARM = 00001, and EHDR_ON = 0. The diagram is labeled J.122_F8-7.](235f4d3bfb16ff9c2ab5776a240248a8_img.jpg) + +Figure 8-7: MAC management header diagram. The main header consists of five fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), HCS (2 bytes), and MAC mgmt msg (24-1522 bytes). The FC field is expanded to show its internal structure: FC\_TYPE = 11, FC\_PARM = 00001, and EHDR\_ON = 0. The diagram is labeled J.122\_F8-7. + +**Figure 8-7 – MAC management header** + +**Table 8-7 – MAC management header format** + +| Field | Usage | Size | +|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------| +| FC | FC_TYPE = 11; MAC-specific header
FC_PARM[4:0] = 00001; MAC management header
EHDR_ON = 0 if there is no extended header, 1 if there is an EHDR | 8 bits | +| MAC_PARM | MAC_PARM = x; MUST be set to zero if there is no EHDR;
Otherwise set to length of EHDR | 8 bits | +| LEN | LEN = n + x; length of MAC management message + length of
EHDR in bytes | 16 bits | +| EHDR | Extended MAC header, if present | x (0-240) bytes | +| HCS | MAC header check sequence | 16 bits | +| Packet data | MAC management message | n bytes | +| | Length of packet MAC frame | 6 + x + n bytes | + +#### **8.2.5.3 Request frame** + +The request frame is the basic mechanism that a cable modem uses to request bandwidth. As such, it is only applicable in the upstream. There MUST be no data PDUs following the request frame. The general format of the request MUST be as shown in Figure 8-8 and Table 8-8. + +![Figure 8-8 – Request frame format diagram. The top row shows the frame structure: FC (1 byte), MAC_PARM (1 byte), SID (2 bytes), and HCS (2 bytes). Below the FC field, a breakdown shows its 8 bits: FC_TYPE = 11, FC_PARM = 00010, and EHDR_ON = 0. The diagram is labeled J.122_F8-8.](4b2dd266b605b2f31a8759f802637301_img.jpg) + +Figure 8-8 – Request frame format diagram. The top row shows the frame structure: FC (1 byte), MAC\_PARM (1 byte), SID (2 bytes), and HCS (2 bytes). Below the FC field, a breakdown shows its 8 bits: FC\_TYPE = 11, FC\_PARM = 00010, and EHDR\_ON = 0. The diagram is labeled J.122\_F8-8. + +**Figure 8-8 – Request frame format** + +**Table 8-8 – Request frame (REQ) format** + +| Field | Usage | Size | +|----------|-----------------------------------------------------------------------------------------------------------------------------------|---------| +| FC | FC_TYPE = 11; MAC-specific header
FC_PARM[4:0] = 00010; MAC header only; no data PDU following
EHDR_ON = 0; no EHDR allowed | 8 bits | +| MAC_PARM | REQ; total number of mini-slots requested | 8 bits | +| SID | Service ID used for requesting bandwidth. For valid SID ranges, see clause 9.1.2. | 16 bits | +| EHDR | Extended MAC header not allowed | 0 bytes | +| HCS | MAC header check sequence | 2 bytes | +| | Length of a REQ MAC header | 6 bytes | + +Because the request frame does not have a data PDU following it, the LEN field is not needed. The LEN field MUST be replaced with an SID. The SID MUST uniquely identify a particular service flow within a given CM. + +The bandwidth request, REQ, MUST be specified in mini-slots. The REQ field MUST indicate the current total amount of bandwidth requested for this service queue, including appropriate allowance for the PHY overhead. + +#### 8.2.5.4 Fragmentation header + +The fragmentation MAC header provides the basic mechanism to split a larger MAC PDU into smaller pieces that are transmitted individually and then reassembled at the CMTS. As such, it is only applicable in the upstream. The general format of the fragmentation MAC header MUST be as shown in Figure 8-9. + +A compliant CM MUST support fragmentation. A compliant CMTS MUST support fragmentation. To decrease the burden on the CMTS and to reduce unnecessary overhead, fragmentation headers MUST NOT be used on unfragmented frames. + +![Figure 8-9: Fragmentation MAC header format diagram. The top row shows the main header fields: FC (1 byte), MAC_PARM (1 byte), LEN (2 bytes), EHDR (6 bytes), HCS (2 bytes), Fragment data, and FCRC (4 bytes). Below FC, MAC_PARM, and EHDR are expanded into their bit-level details. FC is split into FC_TYPE (11), FC_PARM (00011), and EHDR_ON (1). MAC_PARM is split into EHDR_TYPE (0011) and EHDR_LEN (0101). EHDR is split into EHDR_VALUE (5 bytes). A label J.122_F8-9 is present in the bottom right.](a4e9abbc6ca82471f1a223d0a68cd45e_img.jpg) + +Figure 8-9: Fragmentation MAC header format diagram. The top row shows the main header fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), EHDR (6 bytes), HCS (2 bytes), Fragment data, and FCRC (4 bytes). Below FC, MAC\_PARM, and EHDR are expanded into their bit-level details. FC is split into FC\_TYPE (11), FC\_PARM (00011), and EHDR\_ON (1). MAC\_PARM is split into EHDR\_TYPE (0011) and EHDR\_LEN (0101). EHDR is split into EHDR\_VALUE (5 bytes). A label J.122\_F8-9 is present in the bottom right. + +Figure 8-9 – Fragmentation MAC header format + +Table 8-9 – Fragmentation MAC frame (FRAG) format + +| Field | Usage | Size | +|---------------|---------------------------------------------------------------------------------------------------------------------------------|--------------| +| FC | FC_TYPE = 11; MAC-specific header
FC_PARM [4:0] = 00011; fragmentation MAC header
EHDR_ON = 1; fragmentation EHDR follows | 8 bits | +| MAC_PARM | ELEN = 6 bytes; length of fragmentation EHDR | 8 bits | +| LEN | LEN = length of fragment payload + EHDR length + FCRC length | 16 bits | +| EHDR | Refer to clause 8.2.6.2 | 6 bytes | +| HCS | MAC header check sequence | 2 bytes | +| Fragment data | Fragment payload; portion of total MAC PDU being sent | n bytes | +| FCRC | CRC – 32-bit CRC over fragment data payload (as defined in Ethernet/[ISO/IEC 8802-3]) | 4 bytes | +| | Length of a MAC fragment frame | 16 + n bytes | + +#### 8.2.5.5 Concatenation header + +A specific MAC header is defined to allow multiple MAC frames to be concatenated. This allows a single MAC "burst" to be transferred across the network. The PHY overhead8 and the concatenation MAC header only occur once. Concatenation of multiple MAC frames MUST be as shown in Figure 8-10. Concatenation of multiple MAC frames is the only method by which the CM can transmit more than one MAC frame in a single transmit opportunity. + +8 This includes the preamble, guard time and possibly zero-fill bytes in the last codeword. The FEC overhead recurs for each codeword. + +A compliant CM MUST support concatenation. A compliant CMTS MUST support concatenation. Concatenation only applies to upstream traffic. Concatenation MUST NOT be used on downstream traffic. + +![](18b914bd6d55df64c6935e65803a3f79_img.jpg) + +| | | | | | | +|--------------|-------------------|---------------------------------------|--|--|---------------------------------------| +| PHY overhead | MAC HDR (concat.) | MAC frame #1 (MAC HDR + optional PDU) | | | MAC frame #n (MAC HDR + optional PDU) | +|--------------|-------------------|---------------------------------------|--|--|---------------------------------------| + +J.122\_F8-10 + +**Figure 8-10 – Concatenation of multiple MAC frames** + +Only one concatenation MAC header MUST be present per MAC "burst." Nested concatenation MUST NOT be allowed. Immediately following the concatenation MAC header MUST be the MAC header of the first MAC frame. Information within the MAC header indicates the length of the first MAC frame and provides a means to find the start of the next MAC frame. Each MAC frame within a concatenation MUST be unique and MAY be of any type. This means that packet and MAC-specific frames MAY be mixed together. However, all frames in a concatenation MUST be assigned to the same service flow. The CMTS MUST support concatenations containing multiple frame types, including both packet and MAC-specific frames. + +The embedded MAC frames MAY be addressed to different destinations and MUST be delivered as if they were transmitted individually. + +The format of the concatenation MAC header MUST be as shown in Figure 8-11 and Table 8-10. + +![](8b5a2bf5517051acf8bcc2587bcb73a1_img.jpg) + +| | | | | +|-------------|-------------------|---------------|---------------| +| FC (1 byte) | MAC_PARM (1 byte) | LEN (2 bytes) | HCS (2 bytes) | +|-------------|-------------------|---------------|---------------| + +Diagram showing the breakdown of the FC (1 byte) field: + +| | | | +|--------------|-----------------|-------------| +| FC_TYPE = 11 | FC_PARM = 11100 | EHDR_ON = 0 | +|--------------|-----------------|-------------| + +J.122\_F8-11 + +**Figure 8-11 – Concatenation MAC header format** + +**Table 8-10 – Concatenated MAC frame format** + +| Field | Usage | Size | +|-------------|---------------------------------------------------------------------------------------------------------------------------------------|---------------| +| FC | FC_TYPE = 11; MAC-specific header
FC_PARM[4:0] = 11100; concatenation MAC header
EHDR_ON = 0; no EHDR with concatenation header | 8 bits | +| MAC_PARM | CNT, number of MAC frames in this concatenation
CNT = 0 indicates unspecified number of MAC frames | 8 bits | +| LEN | LEN = x + ... + y; length of all following MAC frames in bytes | 16 bits | +| EHDR | Extended MAC header MUST NOT be used | 0 bytes | +| HCS | MAC header check sequence | 2 bytes | +| MAC frame 1 | First MAC frame: MAC header plus OPTIONAL data PDU | x bytes | +| MAC frame n | Last MAC frame: MAC header plus OPTIONAL data PDU | y bytes | +| | Length of concatenated MAC frame | 6 + LEN bytes | + +The MAC\_PARM field in the concatenation MAC header provides a count of MAC frames as opposed to EHDR length or REQ amount as used in other MAC headers. If the field is non-zero, then it MUST indicate the total count of MAC frames (CNT) in this concatenation burst. + +### 8.2.6 Extended MAC headers + +Every MAC header, except the timing, concatenation MAC header and request frame, has the capability of defining an extended header field (EHDR). The presence of an EHDR field MUST be indicated by the EHDR\_ON flag in the FC field being set. Whenever this bit is set, then the MAC\_PARM field MUST be used as the EHDR length (ELEN). The minimum defined EHDR is 1 byte. The maximum EHDR length is 240 bytes. + +A compliant CMTS and CM MUST support extended headers. + +The format of a generic MAC header with an extended header included MUST be as shown in Figure 8-12 and Table 8-11. + +NOTE – Extended headers MUST NOT be used in a concatenation MAC header, but MAY be included as part of the MAC headers within the concatenation. + +Extended headers MUST NOT be used in request frames and timing MAC headers. + +![Figure 8-12 – Extended MAC format diagram showing the structure of the MAC header and the internal structure of the EHDR field.](2e83263cd91cb4bcdc0ad2973f715412_img.jpg) + +The diagram illustrates the Extended MAC format. The main header consists of six fields: FC (1 byte), MAC\_PARM (1 byte), LEN (2 bytes), EHDR (1-240 bytes), HCS (2 bytes), and Data PDU (optional). The FC field is expanded to show its internal structure: FC\_TYPE (XX), FC\_PARM (reserved), and EHDR\_ON (1). The EHDR field is expanded to show its internal structure: EH\_TYPE (4 bits), EH\_LEN (4 bits), EH\_VALUE (0-15 bytes), and a Repeat indicator. The diagram is labeled J.122\_F8-12. + +Figure 8-12 – Extended MAC format diagram showing the structure of the MAC header and the internal structure of the EHDR field. + +Figure 8-12 – Extended MAC format + +Table 8-11 – Example extended header format + +| Field | Usage | Size | +|----------|----------------------------------------------------------------------------------------------------------------------------------|-----------------| +| FC | FC_TYPE = XX; applies to all MAC headers
FC_PARM[4:0] = XXXXX; dependent on FC_TYPE
EHDR_ON = 1; EHDR present this example | 8 bits | +| MAC_PARM | ELEN = x; length of EHDR in bytes | 8 bits | +| LEN | LEN = x + y; length of EHDR plus OPTIONAL data PDU in bytes | 16 bits | +| EHDR | Extended MAC header present this example | x bytes | +| HCS | MAC header check sequence | 2 bytes | +| PDU | OPTIONAL data PDU | y bytes | +| | Length of MAC frame with EHDR | 6 + x + y bytes | + +Since the EHDR increases the length of the MAC frame, the LEN field MUST be increased to include both the length of the data PDU and the length of the EHDR. + +The EHDR field consists of one or more EH elements. Each EH element is variably sized. The first byte of the EH element MUST contain a type and a length field. Every CM MUST use this length to skip over any unknown EH elements. The format of an EH element MUST be as shown in Table 8-12. + +**Table 8-12 – EH element format** + +| EH element fields | Usage | Size | +|-------------------|-----------------------|------------| +| EH_TYPE | EH element type field | 4 bits | +| EH_LEN | Length of EH_VALUE | 4 bits | +| EH_VALUE | EH element data | 0-15 bytes | + +The types of EH element defined in Table 8-13 MUST be supported. Reserved and extended types are undefined at this point and MUST be ignored. + +**Table 8-13 – Extended header types** + +| EH_TYPE | EH_LEN | EH_VALUE | +|---------------|--------|---------------------------------------------------------------------------------------------------------------------------------------------| +| 0 | 0 | Null configuration setting; may be used to pad the extended header. The EH_LEN MUST be zero, but the configuration setting may be repeated. | +| 1 | 3 | Request: mini-slots requested (1 byte); SID (2 bytes) [CM → CMTS] | +| 2 | 2 | Acknowledgment requested; SID (2 bytes) [CM → CMTS] | +| 3 (= BP-UP) | 4 | Upstream privacy EH element [DOCS8] | +| | 5 | Upstream privacy with fragmentation a) EH element [DOCS8] (See clause 8.2.7) | +| 4 (= BP-DOWN) | 4 | Downstream privacy EH element [DOCS8] | +| 5 | 1 | Service flow EH element; payload header suppression header downstream. | +| 6 | 1 | Service flow EH element; payload header suppression header upstream | +| | 2 | Service flow EH element; payload header suppression header upstream (1 byte), unsolicited grant synchronization header (1 byte) | +| 7-9 | | Reserved | +| 10-14 | | Reserved [CM ↔ CM] | +| 15 | xx | Extended EH element: EHX_TYPE (1 byte), EHX_LEN (1 byte), EH_VALUE (length determined by EHX_LEN) | + +a) An upstream privacy with fragmentation EH element MUST only occur within a fragmentation MAC-specific header (refer to clause 8.2.5.4). + +The first ten EH element types are intended for one-way transfer between the cable modem and the CMTS. The next five EH element types are for end-to-end usage within a MAC-sublayer domain. Thus, the information attached to EHDR elements 10-14 on the upstream MUST also be attached when the information is forwarded within a MAC-sublayer domain. The final EH element type is an escape mechanism that allows for more types and longer values, and MUST be as shown in Table 8-13. + +#### 8.2.6.1 Piggyback requests + +Several extended headers can be used to request bandwidth for subsequent transmissions. These requests are generically referred to as "piggyback requests". They are extremely valuable for performance because they are not subject to contention as request frames generally are (refer to clause 9.4). + +Requests for additional bandwidth can be included in request, upstream privacy and upstream privacy with fragmentation extended header elements. + +#### 8.2.6.2 Fragmentation extended header + +Fragmented packets use a combination of the fragmentation MAC header and a modified version of the upstream privacy extended header. Clause 8.2.5.4 describes the fragmentation MAC header. The upstream privacy extended header with fragmentation, also known as the fragmentation extended header, MUST be as shown in Table 8-14. + +**Table 8-14 – Fragmentation extended header format** + +| EH Element Fields | Usage | Size | +|-------------------|---------------------------------------------------------------------------------|---------| +| EH_TYPE | Upstream privacy EH element = 3 | 4 bits | +| EH_LEN | Length of EH_VALUE = 5 | 4 bits | +| EH_VALUE | Key_seq; same as in BP_UP | 4 bits | +| | Ver = 1; version number for this EHDR | 4 bits | +| | BPI_ENABLE
If BPI_ENABLE = 0, BPI disabled
If BPI_ENABLE = 1, BPI enabled | 1 bit | +| | Toggle bit; same as in BP-UP a) | 1 bit | +| | SID; service ID associated with this fragment | 14 bits | +| | REQ; number of mini-slots for a piggyback request | 8 bits | +| | Reserved; must be set to zero | 2 bits | +| | First_Frag; set to one for first fragment only | 1 bit | +| | Last_Frag; set to one for last fragment only | 1 bit | +| | Frag_seq; fragment sequence count, incremented for each fragment. | 4 bits | + +a) Refer to [DOCS8]. + +#### 8.2.6.3 Service flow extended header + +The service flow EH element is used to enhance service flow operations. It may consist of one or two bytes in the EH\_VALUE field. The payload header suppression header is the only byte in a one-byte field or the first byte in a two-byte field. The unsolicited grant synchronization header is the second byte in a two-byte field. + +##### 8.2.6.3.1 Payload header suppression header + +In payload header suppression (PHS), a repetitive portion of the payload headers following the HCS is suppressed by the sending entity and restored by the receiving entity. In the upstream, the sending entity is the CM and the receiving entity is the CMTS. In the downstream, the sending entity is the CMTS and the receiving entity is the CM. + +For small payloads, payload header suppression provides increased bandwidth efficiency without having to use compression. Payload header suppression may be separately provisioned in the upstream and downstream, and is referenced with an extended header element. + +A compliant CM MUST support payload header suppression9. A compliant CMTS MUST support payload header suppression. + +The payload header suppression extended header sub-element has the format shown in Table 8-15: + +9 This is not intended to imply that the CM must be capable of determining when to invoke payload header suppression. Payload header suppression support is only required for the explicitly signalled case. + +**Table 8-15 – Payload header suppression EHDR sub-element format** + +| EH element fields | Usage | | Size | +|--------------------------|----------------------------------------------------------------------|-----------------------------------------------------------|-------------| +| EH_TYPE | Service flow EH_TYPE = 5 for downstream and EH_TYPE = 6 for upstream | | 4 bits | +| EH_LEN | Length of EH_VALUE = 1 | | 4 bits | +| EH_VALUE | 0 | Indicates no payload header suppression on current packet | 8 bits | +| | 1-255 | Payload header suppression index (PHSI) | | + +The payload header suppression index is unique per SID in the upstream and unique per CM in the downstream. Payload header suppression is disabled if this extended header element is omitted or, if included, with the PHSI value set to 0. The payload header suppression index (PHSI) references the suppressed byte string known as a payload header suppression field (PHSF). + +NOTE – While PHS signalling allows for up to 255 payload header suppression rules per service flow, the exact number of PHS rules supported per service flow is implementation-dependent. Similarly, PHS signalling allows for PHS sizes of up to 255 bytes, however, the maximum PHS size supported is implementation-dependent. For interoperability, the minimum PHS size that MUST be supported is 64 bytes for any PHS rule supported. As with any other parameter requested in a dynamic service request, a PHS-related DSx request can be denied because of a lack of resources. + +The upstream suppression field MUST begin with the first byte following the MAC header checksum. The downstream suppression field MUST begin with the thirteenth byte following the MAC header checksum. This allows the Ethernet SA and DA to be available for filtering by the CM. + +The operation of baseline privacy (refer to [DOCS8]) is not affected by the use of PHS. When fragmentation is inactive, baseline privacy begins encryption and decryption with the thirteenth byte following the MAC header checksum. + +Unless the entire packet PDU is suppressed, the packet PDU CRC is always transmitted, and MUST be calculated only on the bytes transmitted. The bytes that are suppressed MUST NOT be included in the CRC calculation. + +##### **8.2.6.3.2 Unsolicited grant synchronization header** + +The unsolicited grant synchronization header may be used to pass status information regarding service flow scheduling between the CM and CMTS. It is currently only defined for use in the upstream with unsolicited grant and unsolicited grant with activity detection scheduling services (refer to clause 10.2.3). + +This extended header is similar to the payload suppression EHDR except that the EH\_LEN is 2, and the EH\_VALUE has one additional byte which includes information related to unsolicited grant synchronization. For all other service flow scheduling types, the field SHOULD NOT be included in the extended header element generated by the CM. The CMTS MAY ignore this field. + +**Table 8-16 – Unsolicited grant synchronization EHDR sub-element format** + +| EH element fields | Usage | | Size | +|-------------------|--------------------------|------------------------------------------------------------|----------------------------| +| EH_TYPE | Service flow EH_TYPE = 6 | | 4 bits | +| EH_LEN | Length of EH_VALUE = 2 | | 4 bits | +| EH_VALUE | 0 | Indicates no payload header suppression on current packet. | 8 bits
(always present) | +| | 1-255 | Payload header suppression index (PHSI) | | +| | Queue indicator | | 1 bit | +| | Active grants | | 7 bits | + +### 8.2.7 Fragmented MAC frames + +When enabled, fragmentation is initiated any time the grant length is less than the requested length. This normally occurs because the CMTS chooses to grant less than the requested bandwidth. + +![Figure 8-13 – Fragmentation details. This diagram illustrates the structure of MAC frames for single packets and concatenated multiple MAC frames, and then details the fragmentation process. It shows the fields in the MAC header (HDR, EHDR, HCS, PDUs, CRC), the fragmentation header (FC, EHDR, LEN, EHDR), and the structure of individual fragments (FRAG HDR, FHCS, Frag payload, FCRC).](92e26d86c5a582766cb9afdbd2c1aee7_img.jpg) + +**Single packet MAC frame** + +The diagram shows a single packet MAC frame structure. The MAC HDR is divided into three parts: HDR (containing FC, PARM, and LEN), EHDR (containing PRV and Other), and HCS. The frame also includes a Fragment payload, PDUs, and a CRC. + +**Concatenation of multiple MAC Frames** + +The diagram shows the concatenation of multiple MAC frames. Each frame consists of a Concat. HDR, MAC HDR1, PDUs, and a CRC. The concatenated frames are followed by a Fragment payload. + +**Fragmentation details** + +The diagram details the fragmentation process. It shows three fragments (Fragment #1, Fragment #2, and Fragment #3) and a Fragmentation header. + +**Fragmentation header structure:** + +- FC:** 1B, set to 11 (00011). +- EHDR:** 1B, LEN = 8. +- LEN:** 2B, representing the length of the fragment. +- EHDR:** 6B, containing the following fields: + - Ver:** 1B, set to 35. + - SID:** 2B, containing the Key sequence number (YYYYY0001). + - RQ:** 1B, containing the sequence number (SSSS). + - RSV:** 1B, containing the reserved bits (XX). + +**Fragment structure:** + +- FRAG HDR:** 12 bytes (FHCS). +- FHCS:** 4 bytes, containing: + - F:** Set on first fragment; clear otherwise. + - L:** Set on last fragment; clear otherwise. + - SSSS:** 4-bit sequence number; increments on each fragment of a packet, rolling over as necessary. + - XX:** Reserved; set to 00. +- Frag payload:** (first, mid, last). +- FCRC:** 4 bytes, containing: + - E:** Enable BPI: 1 = enable, 0 = disable. + - T:** Toggle: 1 = odd; 0 = even; Default = 0. + - XXXXXXXXXXXXXX:** 14-bit SID. + +The encrypted portion for baseline privacy is indicated for each fragment. + +Figure 8-13 – Fragmentation details. This diagram illustrates the structure of MAC frames for single packets and concatenated multiple MAC frames, and then details the fragmentation process. It shows the fields in the MAC header (HDR, EHDR, HCS, PDUs, CRC), the fragmentation header (FC, EHDR, LEN, EHDR), and the structure of individual fragments (FRAG HDR, FHCS, Frag payload, FCRC). + +J.122\_F8-13 + +**Figure 8-13 – Fragmentation details** + +The CM MAC calculates how many bytes of the original frame, including overhead for a fragmentation header and CRC, can be sent in the received grant. The CM MAC generates a fragmentation header for each fragment. Fragmented frames use the MAC message type (FC = 11). The FC parameter field is set to (00011), in order to uniquely identify the fragmentation header from other MAC message types. A four bit sequence field is used in the last byte of the extended header field to aid in reassembly and to detect dropped or missing fragments. The CM arbitrarily + +selects a sequence number for the first fragment of a frame10. Once the sequence number is selected for the first fragment, the CM MUST increment the sequence number by one for each fragment transmitted for that frame. There are two flags associated with the sequence number, F and L, where F is set to indicate the first fragment and L is set to indicate the last fragment. Both are cleared for middle fragments. The CMTS stores the sequence number of the first fragment (F bit set) of each frame. The CMTS MUST verify that the fragment sequence field increments (by one) for each fragment of the frame. + +The REQ field in the fragmentation header is used by the fragmentation protocol for first and middle fragments (refer to clause 10.3). For the last fragment, the REQ field is interpreted as a request for bandwidth for a subsequent frame. + +Fragmentation headers are fixed size and MUST contain only a fragmentation extended header element. The extended header consists of a privacy EH element extended by one byte to make the fragment overhead an even 16 bytes. A privacy EH element is used whether the original packet header contained a privacy EH element or not. If privacy is in use, the following fields, version, enable bit and SID, in the fragment EH element are the same with those of BP EH element inside the original MAC frame. If privacy is not in use, the privacy EH element is used but the enable bit is cleared. The SID used in the fragment EH element MUST match the SID used in the partial grant that initiated the fragmentation. A separate CRC MUST be calculated for each fragment (note that each MAC frame payload will also contain the CRC for that packet). A packet CRC of a reassembled packet MAY be checked by the CMTS even though an FCRC covers each fragment. + +The CMTS MUST make certain that any fragmentary grant it makes is large enough to hold at least 17 bytes of MAC layer data. This is to ensure that the grant is large enough to accommodate fragmentation overhead plus at least 1 byte of actual data. The CMTS may want to enforce an even higher limit as small fragments are extremely inefficient. + +When fragmentation is active, baseline privacy encryption and decryption begin with the first byte following the MAC header checksum. + +#### **8.2.7.1 Considerations for concatenated packets and fragmentation** + +MAC management messages and data PDUs can occur in the same concatenated frame. Without fragmentation, the MAC management messages within a concatenated frame would be unencrypted. However, with fragmentation enabled on the concatenated frame, the entire concatenated frame is encrypted based on the privacy extended header element. This allows baseline privacy to encrypt each fragment without examining its contents. Clearly, this only applies when baseline privacy is enabled. + +To ensure encryption synchronization, if fragmentation, concatenation and baseline privacy are all enabled, a CM MUST NOT concatenate BPKM MAC management messages. This ensures that BPKM MAC management messages are always sent unencrypted. + +### **8.2.8 Error-handling** + +The cable network is a potentially harsh environment that can cause several different error conditions to occur. This clause, together with clause 11.5, describes the procedures that are required when an exception occurs at the MAC framing level. + +The most obvious type of error occurs when the HCS on the MAC header fails. This can be a result of noise on the network or possibly by collisions in the upstream channel. Framing recovery on the downstream channel is performed by the MPEG transmission convergence sublayer. In the upstream channel, framing is recovered on each transmitted burst, such that framing on one burst is + +--- + +10 'Frame' always refers to either frames with a single packet PDU or concatenated frame. + +independent of framing on prior bursts. Hence, framing errors within a burst are handled by simply ignoring that burst; i.e., errors are unrecoverable until the next burst. + +A second exception, which applies only to the upstream, occurs when the length field is corrupted and the MAC thinks the frame is longer or shorter than it actually is. Synchronization will recover at the next valid upstream data interval. + +For every MAC transmission, The HCS MUST be verified. When a bad HCS is detected, the MAC header and any payload MUST be dropped. + +For packet PDU transmissions, a bad CRC may be detected. Since the CRC only covers the data PDU and the HCS covers the MAC Header; the MAC header is still considered valid. Thus, the packet PDU MUST be dropped, but any pertinent information in the MAC header (e.g., bandwidth request information) MAY be used. + +#### **8.2.8.1 Error recovery during fragmentation** + +There are some special error handling considerations for fragmentation. Each fragment has its own fragmentation header complete with an HCS and its own FCRC. There may be other MAC headers and CRCs within the fragmented payload. However, only the HCS of the fragment header and the FCRC are used for error detection during fragment reassembly. + +If the HCS for a fragment fails, the CMTS MUST discard that fragment. If the HCS passes but the FCRC fails, the CMTS MUST discard that fragment, but MAY process any requests in the fragment header. The CMTS SHOULD process such a request if it is performing fragmentation in piggyback mode (refer to clause 10.3.2.2). This allows the remainder of the frame to be transmitted as quickly as possible. + +If a CMTS is performing fragmentation in multiple grant mode (refer to clause 10.3.2.1) it SHOULD complete all the grants necessary to fulfil the CM's original request even if a fragment is lost or discarded. This allows the remainder of the frame to be transmitted as quickly as possible. + +If any fragment of a non-concatenated MAC frame is lost or discarded, the CMTS MUST discard the rest of that frame. If a fragment of a concatenated MAC frame is lost or discarded, the CMTS MAY forward any frames within the concatenation that have been received correctly or it MAY discard all the frames in the concatenation. + +A CMTS MUST terminate fragment reassembly if any of the following occurs for any fragment on a given SID: + +- The CMTS receives a fragment with the L-bit set. +- The CMTS receives an upstream fragment, other than the first one, with the F-bit set. +- The CMTS receives a packet PDU frame with no fragmentation header. +- The CMTS deletes the SID for any reason. + +In addition, the CMTS MAY terminate fragment reassembly based on implementation-dependent criteria such as a reassembly timer. When a CMTS terminates fragment reassembly, it MUST dispose of (either by discarding or forwarding) the reassembled frame(s). + +#### **8.2.8.2 Error codes and messages** + +Annex D of [DOCS5] lists CM and CMTS error codes and messages. When reporting error conditions, these codes MUST be used as indicated in [DOCS5] and MAY be used for reporting errors via vendor-specific interfaces. If the error codes are used, the error messages MAY be replaced by other descriptive messages. + +## 8.3 MAC management messages + +### 8.3.1 MAC management message header + +MAC management messages MUST be encapsulated in an LLC unnumbered information frame per [ISO/IEC 8802-2], which in turn is encapsulated within the cable network MAC framing, as shown in Figure 8-14. Figure 8-14 shows the MAC header and the MAC management message header fields which are common across all MAC management messages. + +![Diagram of MAC header and MAC management message header fields. The diagram shows a sequence of fields in a frame, with bit positions 0, 8, 16, 24, and 31 marked at the top. The fields are grouped into the MAC header (FC, MAC PARM, LEN, HCS) and the MAC management message header (DA, DA, SA, Msg LEN, DSAP, SSAP, Control, Version, Type, RSVD). The Management message payload and CRC follow. Labels on the right indicate the MAC header, MAC management message header, and the payload.](921f8fa0f7ce2c9956f20d33162c13a2_img.jpg) + +| | | | | | | +|-----|----------------------------|----------|------|------|----| +| Bit | 0 | 8 | 16 | 24 | 31 | +| | FC | MAC PARM | LEN | | | +| | HCS | | | | | +| | DA | | | | | +| | DA | | SA | | | +| | SA | | | | | +| | Msg LEN | | DSAP | SSAP | | +| | Control | Version | Type | RSVD | | +| | Management message payload | | | | | +| | CRC | | | | | + +J.122\_F8-14 + +Diagram of MAC header and MAC management message header fields. The diagram shows a sequence of fields in a frame, with bit positions 0, 8, 16, 24, and 31 marked at the top. The fields are grouped into the MAC header (FC, MAC PARM, LEN, HCS) and the MAC management message header (DA, DA, SA, Msg LEN, DSAP, SSAP, Control, Version, Type, RSVD). The Management message payload and CRC follow. Labels on the right indicate the MAC header, MAC management message header, and the payload. + +Figure 8-14 – MAC header and MAC management message header fields + +The fields MUST be as defined below: + +- **FC, MAC PARM, LEN, HCS:** Common MAC frame header (refer to clause 8.2.1.4 for details). All messages use a MAC-specific header. +- **Destination address (DA):** MAC management frames will be addressed to a specific CM unicast address or to the DOCS management multicast address. These DOCS MAC management addresses are described in Annex A. +- **Source address (SA):** The MAC address of the source CM or CMTS system. +- **Msg LEN:** Length of the MAC message from DSAP to the end of the payload. +- **DSAP:** The LLC null destination SAP (00) as defined by [ISO/IEC 8802-2]. +- **SSAP:** The LLC null source SAP (00) as defined by [ISO/IEC 8802-2]. +- **Control:** Unnumbered information frame (03) as defined by [ISO/IEC 8802-2]. +- **Version and Type:** Each 1 octet. Refer to Table 8-17. Messages with a version number of 1 are understood by all CMs and CMTSs compliant with all versions of the DOCS Recommendation. Messages with a version number of 2 are understood by DOCS 1.1 and 2.0 equipment, and messages with a version number of 3 are understood by DOCS 2.0 + +equipment. DOCS 2.0-compliant CMs and CMTSs MUST silently discard any message with a version number greater than 3. + +**Table 8-17 – MAC management message types** + +| Type value | Version | Message name | Message description | +|------------|---------|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 1 | 1 | SYNC | Timing synchronization | +| 2 or 29 | 1 or 3 | UCD | Upstream channel descriptor
A UCD for a DOCS 2.0-only channel uses a type of 29 and a version of 3. All other UCDs use a type of 2 and a version of 1 (see clause 8.3.3). | +| 3 | 1 | MAP | Upstream bandwidth allocation | +| 4 | 1 | RNG-REQ | Ranging request | +| 5 | 1 | RNG-RSP | Ranging response | +| 6 | 1 | REG-REQ | Registration request | +| 7 | 1 | REG-RSP | Registration response | +| 8 | 1 | UCC-REQ | Upstream channel change request | +| 9 | 1 | UCC-RSP | Upstream channel change response | +| 10 | 1 | TRI-TCD | Telephony channel descriptor – [DOCS6] | +| 11 | 1 | TRI-TSI | Termination system information – [DOCS6] | +| 12 | 1 | BPKM-REQ | Privacy key management request [DOCS8] | +| 13 | 1 | BPKM-RSP | Privacy key management response [DOCS8] | +| 14 | 2 | REG-ACK | Registration acknowledgement | +| 15 | 2 | DSA-REQ | Dynamic service addition request | +| 16 | 2 | DSA-RSP | Dynamic service addition response | +| 17 | 2 | DSA-ACK | Dynamic service addition acknowledgement | +| 18 | 2 | DSC-REQ | Dynamic service change request | +| 19 | 2 | DSC-RSP | Dynamic service change response | +| 20 | 2 | DSC-ACK | Dynamic service change acknowledgement | +| 21 | 2 | DSD-REQ | Dynamic service deletion request | +| 22 | 2 | DSD-RSP | Dynamic service deletion response | +| 23 | 2 | DCC-REQ | Dynamic channel change request | +| 24 | 2 | DCC-RSP | Dynamic channel change response | +| 25 | 2 | DCC-ACK | Dynamic channel change acknowledgement | +| 26 | 2 | DCI-REQ | Device class identification request | +| 27 | 2 | DCI-RSP | Device class identification response | +| 28 | 2 | UP-DIS | Upstream transmitter disable | +| 29 | 3 | | (See entry for UCD) | +| 30 | 3 | INIT-RNG-REQ | Initial ranging request | +| 31 | 3 | TST-REQ | Test request message | +| 32 | 3 | DCD | Downstream channel descriptor (DSG) | +| 33-255 | | | Reserved for future use | + +- **RSVD:** 1 octet. This field is used to align the message payload on a 32-bit boundary. Set to 0 for this version for all messages other than the RNG-REQ and INIT-RNG-REQ. See clauses 8.3.5 and 8.3.26 for setting this value for these two messages. +- **Management message payload:** Variable length. As defined for each specific management message. +- **CRC:** Covers message including header fields (DA, SA, ...). Polynomial defined by [ISO/IEC 8802-3]. + +A compliant CMTS or CM MUST support the MAC management message types listed in Table 8-17, except messages specific to telephony return devices which MAY be supported. + +### 8.3.2 Time synchronization (SYNC) + +Time synchronization (SYNC) MUST be transmitted by CMTS at a periodic interval to establish MAC sublayer timing. This message MUST use an FC field with FC\_TYPE = MAC-specific header and FC\_PARM = timing MAC header. This MUST be followed by a packet PDU in the format shown in Figure 8-15. + +![Diagram of packet PDU following the timing header. It shows a 32-bit structure with Bit 0, 8, 16, 24, and 31 marked at the top. The top portion is the 'MAC management message header' and the bottom portion is the 'CMTS timestamp'. There are break symbols on the left and right sides of the header section.](649f424fd35ea31f622163506a6148ed_img.jpg) + +J.122\_F8-15 + +Diagram of packet PDU following the timing header. It shows a 32-bit structure with Bit 0, 8, 16, 24, and 31 marked at the top. The top portion is the 'MAC management message header' and the bottom portion is the 'CMTS timestamp'. There are break symbols on the left and right sides of the header section. + +**Figure 8-15 – Format of packet PDU following the timing header** + +The parameters shall be as defined below: + +- **CMTS timestamp:** The count state of an incrementing 32-bit binary counter clocked with the CMTS 10.24-MHz master clock. + +The CMTS timestamp represents the count state at the instant that the first byte (or a fixed time offset from the first byte) of the time synchronization MAC management message is transferred from the downstream transmission convergence sublayer to the downstream physical media dependent sublayer as described in clause 6.3.7. The CMTS MUST NOT allow a SYNC message to cross an MPEG packet boundary11. + +### 8.3.3 Upstream channel descriptor (UCD) + +An upstream channel descriptor MUST be transmitted by the CMTS at a periodic interval to define the characteristics of an logical upstream channel (see Figure 8-16). A separate message MUST be transmitted for each logical upstream that is currently available for use. + +11 Since the SYNC message applies to all upstream channels within this MAC domain, units were chosen to be independent of the modulation rate of any particular upstream channel. See clause 9.3.4 for time-unit relationships. + +![Diagram of the Upstream channel descriptor message structure. The message is 32 bits long (bits 0 to 31). The first 16 bits (bits 0-15) are the MAC management message header. The next 16 bits (bits 16-31) are divided into four 4-bit nibbles: Upstream channel ID (bits 16-19), Configuration change count (bits 20-23), Mini-slot size (bits 24-27), and Downstream channel ID (bits 28-31). Below these nibbles are three TLV-encoded information fields: 'TLV-encoded information for the overall channel', 'TLV-encoded burst description', and 'TLV-encoded information for the subsequent burst descriptors'. The diagram is labeled J.122_F8-16.](4ef412e08808c40e0beb7808d36b9379_img.jpg) + +| | | | | +|--------------------------------------------------------------|----------------------------|----------------|-----------------------| +| Bit 0 8 16 24 31 | | | | +| MAC management message header | | | | +| Upstream channel ID | Configuration change count | Mini-slot size | Downstream channel ID | +| TLV-encoded information for the overall channel | | | | +| TLV-encoded burst description | | | | +| TLV-encoded information for the subsequent burst descriptors | | | | + +J.122\_F8-16 + +Diagram of the Upstream channel descriptor message structure. The message is 32 bits long (bits 0 to 31). The first 16 bits (bits 0-15) are the MAC management message header. The next 16 bits (bits 16-31) are divided into four 4-bit nibbles: Upstream channel ID (bits 16-19), Configuration change count (bits 20-23), Mini-slot size (bits 24-27), and Downstream channel ID (bits 28-31). Below these nibbles are three TLV-encoded information fields: 'TLV-encoded information for the overall channel', 'TLV-encoded burst description', and 'TLV-encoded information for the subsequent burst descriptors'. The diagram is labeled J.122\_F8-16. + +**Figure 8-16 – Upstream channel descriptor** + +The MAC management header for this message has 2 possible values for the type field and for the version field. For DOCS 2.0-only upstreams the CMTS MUST use a value of 29 for the type field and MUST use a value of 3 for the version field. For all other logical upstreams, the CMTS MUST use a value of 2 for the type field and a value of 1 for the version field. A CMTS MUST NOT use type 5 TLVs to encode IUCs 1-6 in a UCD with a message type of 2. A CMTS MUST use type 5 TLVs to encode all burst profiles in a UCD with a message type of 29. + +A type 2 UCD MUST contain type 4 burst descriptors for IUCs 3 and 4, a type 4 burst descriptor for requests and a type 4 burst descriptor for data. The burst descriptors for requests and data MUST use 1.x TDMA. To describe a 1.x/2.0 mixed logical channel, the UCD MUST additionally contain a type 5 burst descriptor for 2.0 TDMA data opportunities. + +A type 29 UCD MUST contain a type 5 burst descriptor for IUC 3, a type 5 burst descriptor for requests, and a type 5 burst descriptor for data. + +A CMTS MUST NOT include burst descriptors for IUCs 5 or 6 in a UCD message for a DOCS 2.0-only upstream. + +For interoperability, a CMTS SHOULD provide: + +- burst descriptors for IUCs 1, 5 and 6 in a type 2 UCD describing a 1.x-only channel; +- burst descriptors for IUCs 1, 5, 6, 9 and 10 in a type 2 UCD describing a 1.x/2.0 mixed logical channel; +- burst descriptors for IUCs 1, 9 and 10 in a type 29 UCD. + +The CMTS MUST treat an upstream as a DOCS 2.0-only upstream if any of the following is true about the channel wide parameters: S-CDMA mode is enabled, the mini-slot size is 1 time tick, or the value of the modulation rate parameter is 32. The CMTS MUST treat an upstream as a DOCS 2.0-only upstream if any of the following is true about any of IUCs 1-4: A modulation type other than QPSK or 16QAM is used, the FEC error correction (T) parameter is greater than 10, any portion of the extended preamble is used, any attribute from Table 8-19, "upstream physical-layer burst attributes," with a type greater than 11 is present in the descriptor. Note that none of these conditions can ever be true for IUCs 5 or 6. + +To provide for flexibility, the message parameters following the channel ID MUST be encoded in a type/length/value (TLV) form in which the type and length fields are each 1 octet long. + +A CMTS MUST generate UCDs in the format shown in Figure 8-16, including all of the following parameters: + +- **Configuration change count:** Incremented by one (modulo the field size) by the CMTS whenever any of the values of this channel descriptor change, excluding the S-CDMA snapshot TLV12. If the value of this count in a subsequent UCD remains the same, the CM can quickly decide that the channel operating parameters have not changed, and may be able to disregard the remainder of the message. This value is also referenced from the MAP. +- **Mini-slot size:** The size T of the mini-slot for this upstream channel in units of the timebase tick of 6.25 µs. For channels that can support DOCS 1.x CMs, the allowable values are $T = 2^M$ , $M = 1, \dots, 7$ . That is, $T = 2, 4, 8, 16, 32, 64$ or $128$ . + +For DOCS 2.0-only channels, the relationship between M and T remains the same, but the allowable values are $M = 0, 1, \dots, 7$ , with $T = 1, 2, 4, 8, 16, 32, 64$ or $128$ . If the value of T is 1 then the channel MUST be treated as a DOCS 2.0-only channel. On S-CDMA channels, this parameter will not have any effect. + +- **Upstream channel ID:** The identifier of the upstream channel to which this message refers. This identifier is arbitrarily chosen by the CMTS and is only unique within the MAC-sublayer domain. + +NOTE – Upstream channel ID = 0 is reserved to indicate telephony return. + +- **Downstream channel ID:** The identifier of the downstream channel on which this message has been transmitted. This identifier is arbitrarily chosen by the CMTS at startup, and is only unique within the MAC-sublayer domain. + +All other parameters are coded as TLV tuples. The type values used MUST be those defined in Table 8-18, for channel parameters, and Table 8-19, for upstream physical layer burst attributes. Burst descriptors (type 4 and/or type 5) MUST appear in the UCD message after all other channel-wide parameters. + +**Table 8-18 – Channel TLV parameters** + +| Name | Type
(1 byte) | Length
(1 byte) | Value
(variable length) | +|-----------------|------------------|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Modulation rate | 1 | 1 | Multiples of base rate of 160 kHz (value is 1, 2, 4, 8, 16, or 32). A value of 32 means that this is a DOCS 2.0-only upstream. If S-CDMA mode is enabled, then this parameter MUST have a value of 8, 16 or 32. | +| Frequency | 2 | 4 | Upstream centre frequency (Hz) | + +12 Refer to clause 6.2.11.2 for a description of the timestamp snapshot. The periodic update of the snapshot association does not represent a change in the operating parameters of the channel, hence the UCD configuration change count will not be incremented. + +**Table 8-18 – Channel TLV parameters** + +| Name | Type
(1 byte) | Length
(1 byte) | Value
(variable length) | +|--------------------------------------|------------------|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Preamble pattern | 3 | 1-128 |

The value field defines the first portion of the preamble superstring. If there is no extended preamble pattern parameter, then this parameter defines the entire preamble superstring. All burst-specific preamble values are chosen as bit-substrings of the preamble superstring.

The first byte of the value field contains the first 8 bits of the superstring, with the first bit of the preamble superstring in the MSB position of the first value field byte, the eighth bit of the preamble superstring in the LSB position of the first value field byte; the second byte in the value field contains the second eight bits of the superstring, with the ninth bit of the superstring in the MSB of the second byte and sixteenth bit of the preamble superstring in the LSB of the second byte, and so forth.

| +| Burst descriptor (DOCS 1.x) | 4 | n | May appear more than once; described below. | +| Burst descriptor (DOCS 2.0) | 5 | n | May appear more than once; described below. | +| Extended preamble pattern | 6 | 1-64 |

512-bit preamble superstring extension.

The value field is concatenated to the end of the value field of the preamble pattern to complete the preamble superstring. This parameter MUST NOT be included unless the length of the preamble pattern parameter is 128 bytes. Therefore, the MSB of the first byte of the value field of this parameter always follows the LSB of the 128th byte of the value field of the preamble pattern parameter in the preamble superstring.

| +| S-CDMA mode enable a) | 7 | 1 | 1 = on; 2 = off. If parameter is on, the upstream will operate in S-CDMA mode. Otherwise, it operates in TDMA mode. If this parameter is set to on, this is a DOCS 2.0-only upstream. | +| S-CDMA spreading intervals per frame | 8 | 1 |

Number of consecutive spreading intervals mapped onto a two-dimensional frame (value is 1 through 32).

This TLV MUST be present if S-CDMA mode is enabled, and MUST NOT be present if it is not.

| +| S-CDMA codes per mini-slot | 9 | 1 |

Number of consecutive codes mapped into a two-dimensional mini-slot (value is 2 through 32).

This TLV MUST be present if S-CDMA mode is enabled, and MUST NOT be present if it is not.

| +| S-CDMA number of active codes | 10 | 1 |

Number of codes available to carry data payload (value is 64 through 128). This value MUST be a multiple of codes per mini-slot (TLV type 9).

This TLV MUST be present if S-CDMA Mode is enabled, and MUST NOT be present if it is not.

| +| S-CDMA code-hopping seed | 11 | 2 |

15-bit seed to initialize code-hopping sequence. The value is left-justified in the 2-byte field. Set seed = 0 to disable code hopping.

This TLV MUST be present if S-CDMA Mode is enabled, and MUST NOT be present if it is not.

| + +**Table 8-18 – Channel TLV parameters** + +| Name | Type
(1 byte) | Length
(1 byte) | Value
(variable length) | +|-----------------------------------------|------------------|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| S-CDMA US ratio numerator "M" | 12 | 2 | The numerator (M) of the M/N ratio relating the downstream symbol clock to the upstream modulation clock.

This TLV MUST be present if S-CDMA mode is enabled, and MUST NOT be present if it is not. | +| S-CDMA US ratio denominator "N" | 13 | 2 | The denominator (N) of the M/N ratio relating the downstream symbol clock to the upstream modulation clock.

This TLV MUST be present if S-CDMA mode is enabled, and MUST NOT be present if it is not. | +| S-CDMA timestamp snapshot b) | 14 | 9 | Snapshot of the timestamp, mini-slot and S-CDMA frame taken at an S-CDMA frame boundary at the CMTS. A new value MUST be sampled and sent with each UCD message. Refer to clause 6.2.11.2, "mini-slot numbering".

This TLV MUST be present if S-CDMA mode is enabled, and MUST NOT be present if it is not. | +| Maintain power spectral density | 15 | 1 | 1 = on; 2 = off. If this value is on and the modulation rate is different from the previous UCD, the CM MUST change its transmit power level to keep the power spectral density as close as possible to what it was prior to the modulation rate change. If this value is off or this parameter is omitted then the CM maintains the same power level that it was using prior to the modulation rate change.

In any case the effect of this parameter only lasts until the CM receives a power adjustment in a RNG-RSP. | +| Ranging required | 16 | 1 | 0 = no ranging required;
1 = unicast initial ranging required;
2 = broadcast initial ranging required.

If this value is non-zero and the UCD change count does not match the UCD currently in effect, the CM MUST perform ranging as specified by this TLV before using any other transmit opportunities with the new UCD parameters. If ranging is required, and the CM is already registered, then it MUST maintain its SIDs and not re-register.

If this value is 0 or this TLV is omitted, no ranging is required. | +| S-CDMA maximum scheduled codes enabled | 17 | 1 | 1 = maximum scheduled codes is enabled 2 = maximum scheduled codes is disabled. CMs that implement the S-CDMA maximum scheduled codes MUST set the RSVD field in the ranging requests as described in clauses 8.3.5 and 8.3.26. If S-CDMA mode is disabled on this channel, this TLV MUST NOT be present. | +| Ranging hold-off priority field | 18 | 4 | Bit field with values representing device classes, as defined in clause C.1.3.1.16 that should temporarily inhibit initial ranging. The CMTS MAY include this TLV in the UCD message. The CM MUST observe this TLV, as described in clause 11.2.2. | + +**Table 8-18 – Channel TLV parameters** + +| Name | Type (1 byte) | Length (1 byte) | Value (variable length) | +|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Channel class ID | 19 | 4 | Bit field with values representing device classes as defined in clause C.1.3.1.16 that are allowed to use the channel. The CMTS MAY include this TLV in the UCD message. The CM MUST observe this TLV, as described in clause 11.2.2. | +| a) CM MUST assume S-CDMA mode is off if TLV is not present.
b) Refer to clause 6.2.11.2, "mini-slot numbering", for a description of the timestamp snapshot. A change solely in this parameter for a particular UCD does not represent a change in overall channel operating parameters, hence the UCD channel change count will not be incremented. | | | | + +Burst descriptors are composed of an upstream interval usage code, followed by TLV encodings that define, for each type of upstream usage interval, the physical-layer characteristics that are to be used during that interval. The upstream interval usage codes are defined in the MAP message (see clause 8.3.4 and Table 8-20). The format of the burst descriptors is shown in Figure 8-17. + +![Figure 8-17: Top-level encoding for burst descriptors. The diagram shows a 32-bit word structure. Bits 0-7 are 'Type = 4 or 5 burst descriptor'. Bits 8-15 are 'Length (n)'. Bits 16-23 are 'Interval usage code'. Bits 24-31 are 'TLV codes for PHY parameters (n - 1)'. The diagram uses a dashed box for the variable-length TLV section.](fa1eb5ed4fcf8f8d184ead2a8a5a08e6_img.jpg) + +Figure 8-17: Top-level encoding for burst descriptors. The diagram shows a 32-bit word structure. Bits 0-7 are 'Type = 4 or 5 burst descriptor'. Bits 8-15 are 'Length (n)'. Bits 16-23 are 'Interval usage code'. Bits 24-31 are 'TLV codes for PHY parameters (n - 1)'. The diagram uses a dashed box for the variable-length TLV section. + +**Figure 8-17 – Top-level encoding for burst descriptors** + +In Figure 8-17: + +- **Type:** 4 for burst descriptors intended for DOCS 1.x and/or DOCS 2.0 modems. 5 is for burst descriptors intended for DOCS 2.0 modems only. +- **Length:** The number of bytes in the overall object, including the IUC and the embedded TLV items. +- **IUC:** Interval usage code defined in Table 8-20. The IUC is coded on the 4 least-significant bits. The four most-significant bits are unused (=0). +- **TLV items:** TLV parameters described in Table 8-18, "channel TLV parameters". + +Two different type values are used to describe burst descriptors. Type 4 burst descriptors MUST be understood by all modems and MUST only be used to describe IUCs 1 through 6 from Table 8-20. Type 5 burst descriptors MUST be understood by DOCS 2.0 modems. A type 5 burst descriptor MUST be used to describe any IUC if any of the following is true: a modulation type other than QPSK or 16QAM is used, the FEC error correction (T) attribute is greater than 10, any portion of the extended preamble is used, or any attribute from Table 8-19, "upstream physical-layer burst attributes", with a type greater than 11 is present in the descriptor. Type 5 burst descriptors MUST NOT be used to describe IUC 5 or IUC 6. Type 5 burst descriptors MUST be used to describe IUCs 9-11. + +A burst descriptor MUST be included for each interval usage code that is to be used in the allocation MAP. The interval usage code MUST be one of the values from Table 8-20. + +Within each burst descriptor is an unordered list of physical-layer attributes, encoded as TLV values. These attributes are shown in Table 8-19. The CMTS MUST ensure that the set of burst attributes for all the burst descriptors in the UCD allow any CM on the upstream to be able to request enough mini-slots to be able to transmit a maximum size PDU (see clause 8.2.2, "packet-based MAC Frames"). + +**Table 8-19 – Upstream physical-layer burst attributes** + +| Name | Type
(1 byte) | Length
(1 byte) | Value
(variable length) | +|------------------------------------|------------------|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Modulation type | 1 | 1 | 1 = QPSK
2 = 16QAM
3 = 8QAM
4 = 32QAM
5 = 64QAM
6 = 128QAM (S-CDMA only)
Values greater than 2 MUST NOT be used in a descriptor encoded in a type 4 TLV. | +| Differential encoding | 2 | 1 | 1 = on, 2 = off (see clause 6.2.13, "symbol mapping".) | +| Preamble length | 3 | 2 | Up to 1536 bits for burst descriptors encoded in a type 5 TLV. Up to 1024 bits for descriptors encoded in a type 4 TLV. If this descriptor is encoded in a type 4 TLV then the substring of the preamble superstring defined by this parameter and the preamble value offset MUST NOT include any bits from the extended preamble pattern.
The value must be an integral number of symbols (see clause 6.2.9, "preamble prepend"). | +| Preamble value offset | 4 | 2 | Identifies the bits to be used in the preamble. This is specified as a starting offset into the preamble superstring (see Table 8-18). That is, a value of zero means that the first bit of the preamble for this burst type is the value of the first bit of the preamble superstring. A value of 100 means that the preamble is to use the 101st and succeeding bits from the preamble superstring. This value must be a multiple of the symbol size.
The first bit of the preamble is the first bit into the symbol mapper (see Figures 6-2 and 6-3), and is $I_1$ in the first symbol of the burst (see clause 6.2.13). | +| FEC error correction (T) | 5 | 1 | 0-16 for descriptors encoded in a type 5 TLV.
0-10 for descriptors encoded in a type 4 TLV.
(0 implies no FEC. The number of codeword parity bytes is $2 \times T$ ) | +| FEC codeword information bytes (k) | 6 | 1 | Fixed: 16 to 253 (assuming FEC on)
Shortened: 16 to 253 (assuming FEC on)
(Not used if no FEC, $T = 0$ ) | +| Scrambler seed | 7 | 2 | The 15-bit seed value left justified in the 2-byte field. Bit 15 is the MSB of the first byte and the LSB of the second byte is not used (not used if scrambler is off). | + +**Table 8-19 – Upstream physical-layer burst attributes** + +| Name | Type (1 byte) | Length (1 byte) | Value (variable length) | +|--------------------------------------|---------------|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Maximum burst size | 8 | 1 | The maximum number of mini-slots that can be transmitted during this burst type. Absence of this configuration setting implies that the burst size is limited elsewhere. When the interval type is short data grant (IUC 5) or advanced PHY short data grant (IUC 9), this value MUST be present and greater than zero (see clause 9.1.2.5). If the CMTS needs to limit the maximum length of concatenated frames it SHOULD use this configuration setting to do so. | +| Guard time size | 9 | 1 | For TDMA channels, the number of modulation intervals measured from the end of the last symbol of one burst to the beginning of the first symbol of the preamble of an immediately following burst. In type 4 burst descriptors, the CMTS MUST choose the parameters such that the number of bytes that fit into any valid number of mini-slots will not change if the guard time is increased by 1. For S-CDMA channels, there is no guard time, and hence the CM MUST ignore this value. This TLV MUST NOT be present for S-CDMA channels. | +| Last codeword length | 10 | 1 | 1 = fixed; 2 = shortened | +| Scrambler on/off | 11 | 1 | 1 = on; 2 = off | +| R-S interleaver depth ( $I_r$ ) | 12 | 1 | Reed-Solomon block interleaving depth. A depth of 0 indicates dynamic mode; a depth of 1 indicates R-S interleaving disabled (see clause 6.2.6) (0 through $\lfloor 2048/(K + 2T) \rfloor$ ). This TLV MUST be present for burst descriptors encoded in type 5 TLVs on DOCS 2.0 TDMA channels. This TLV MUST NOT be present for S-CDMA channels or in descriptors encoded in a type 4 TLV. | +| R-S interleaver block size ( $B_r$ ) | 13 | 2 | Reed-Solomon block interleaving size in dynamic mode (18 through 2048). This TLV MUST be present in burst descriptors encoded in type 5 TLVs for DOCS 2.0 TDMA channels. This TLV MUST NOT be present on S-CDMA channels or in descriptors encoded in a type 4 TLV. | +| Preamble type | 14 | 1 | 1 = QPSK0
2 = QPSK1
(Refer to Figure 6-18 and to clause 6.2.9)
This TLV MUST NOT be present in descriptors encoded in a type 4 TLV. | +| S-CDMA spreader on/off | 15 | 1 | 1 = on; 2 = off. This TLV MUST be present for S-CDMA channels. This TLV MUST NOT be present for non-S-CDMA channels or in descriptors encoded in a type 4 TLV. | +| S-CDMA codes per subframe | 16 | 1 | Number of codes per sub-frame used in the S-CDMA framer (1 through 128). This TLV MUST be present for S-CDMA channels. This TLV MUST NOT be present for non-S-CDMA channels or in descriptors encoded in a type 4 TLV. | + +**Table 8-19 – Upstream physical-layer burst attributes** + +| Name | Type (1 byte) | Length (1 byte) | Value (variable length) | +|--------------------------------------|---------------|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| S-CDMA framer interleaving step size | 17 | 1 | Size of interleaving steps used in S-CDMA framer (1 through 32). This TLV MUST be present for S-CDMA channels. This TLV MUST NOT be present for non-S-CDMA channels or in descriptors encoded in a type 4 TLV. | +| TCM encoding | 18 | 1 | 1 = on; 2 = off. This TLV MUST be present for S-CDMA channels. This TLV MUST NOT be present for non-S-CDMA channels or in descriptors encoded in a type 4 TLV. | + +#### **8.3.3.1 Example of UCD encoded TLV data** + +An example of UCD encoded TLV data is given in Figure 8-18. + +Image: Diagram showing a sequence of TLV structures for UCD encoded data. Each row represents a TLV entry with Type, Length, and Value fields. The values are: Modulation rate, Frequency, Preamble pattern, Extended preamble pattern, First burst descriptor, Second burst descriptor, Third burst descriptor, and Fourth burst descriptor. The diagram uses visual offsets to show the sequential nature of the data. + +| | | | | | | +|--------|--------------|---------------------------|--|--|--| +| Type 1 | Length 1 | Modulation rate | | | | +| Type 2 | Length 4 | Frequency | | | | +| Type 3 | Length 1-128 | Preamble pattern | | | | +| Type 6 | Length 1-64 | Extended preamble pattern | | | | +| Type 4 | Length N | First burst descriptor | | | | +| Type 4 | Length N | Second burst descriptor | | | | +| Type 5 | Length N | Third burst descriptor | | | | +| Type 5 | Length N | Fourth burst descriptor | | | | + +J.122\_F8-18 + +**Figure 8-18 – Example of UCD encoded TLV data** + +### 8.3.4 Upstream bandwidth allocation map (MAP) + +A CMTS MUST generate MAPs in the format shown in Figure 8-19. + +![Diagram of the MAP format showing a 32-bit word structure with fields for MAC management message header, Upstream channel ID, UCD count, Number of elements, Reserved, Alloc start time, Ack time, Ranging backoff start, Ranging backoff end, Data backoff start, Data backoff end, and MAP information elements.](dbf5c0f3c7836f717d9fe62c6c40b280_img.jpg) + +The diagram illustrates the structure of a 32-bit MAC management message. The word is divided into several fields. The first 32 bits (bits 0 to 31) form the 'MAC management message header'. This header is further subdivided: bits 0-7 are 'Upstream channel ID', bits 8-15 are 'UCD count', bits 16-23 are 'Number of elements', and bits 24-31 are 'Reserved'. Following the header are two 32-bit fields: 'Alloc start time' and 'Ack time'. Below these are four 8-bit fields: 'Ranging backoff start' (bits 0-7), 'Ranging backoff end' (bits 8-15), 'Data backoff start' (bits 16-23), and 'Data backoff end' (bits 24-31). The final part of the message is 'MAP information elements', which follows the header and the backoff fields. The diagram includes bit markers at 0, 8, 16, 24, and 31. A label 'J.122\_F8.19' is present at the bottom right. + +Diagram of the MAP format showing a 32-bit word structure with fields for MAC management message header, Upstream channel ID, UCD count, Number of elements, Reserved, Alloc start time, Ack time, Ranging backoff start, Ranging backoff end, Data backoff start, Data backoff end, and MAP information elements. + +Figure 8-19 – MAP format + +The parameters MUST be as follows: + +- **Upstream channel ID:** The identifier of the upstream channel to which this message refers. +- **UCD count:** Matches the value of the configuration change count of the UCD which describes the burst parameters which apply to this map. See clause 11.3.2. +- **Number of elements:** Number of information elements in the map. +- **Reserved:** Reserved field for alignment. +- **Alloc start time:** Effective start time from CMTS initialization (in mini-slots) for assignments within this map. +- **Ack time:** Latest time, from CMTS initialization, (mini-slots) processed in upstream. This time is used by the CMs for collision detection purposes. See clause 9.4. +- **Ranging backoff start:** Initial back-off window for initial ranging contention, expressed as a power of two. Values range 0-15 (the highest order bits must be unused and set to 0). +- **Ranging backoff end:** Final back-off window for initial ranging contention, expressed as a power of two. Values range 0-15 (the highest order bits must be unused and set to 0). +- **Data backoff start:** Initial back-off window for contention data and requests, expressed as a power of two. Values range 0-15 (the highest order bits must be unused and set to 0). +- **Data backoff end:** Final back-off window for contention data and requests, expressed as a power of two. Values range 0-15 (the highest order bits must be unused and set to 0). +- **MAP information elements:** MUST be in the format defined in Figure 8-20 and Table 8-20. Values for IUCs are defined in Table 8-20 and are described in detail in clause 9.1.2. + +NOTE – Refer to clause 9.1.1 for the relationship between alloc start/ack time and the timebase. + +![Figure 8-20 – MAP information element structure diagram showing the layout of intervals and fields (SID, IUC, Offset) across bit positions 0 to 31.](3ce6b213ec556257e32ff7451182369d_img.jpg) + +The diagram illustrates the structure of the MAP information element across multiple intervals. Each interval is a 32-bit word (bits 0 to 31) divided into three fields: SID (bits 0-13), IUC (bits 14-17), and Offset (bits 18-31). The intervals shown are: + +- First interval:** SID, IUC, Offset = 0 +- Second interval:** SID, IUC, Offset +- ...** (indicated by wavy lines) +- Last interval:** SID, IUC, Offset +- End-of-list (null IE):** SID = 0, IUC = 7, Offset = map length +- Acknowledgements and data grants pending:** SID, IUC, Offset = map length +- ...** (indicated by wavy lines) + +Figure 8-20 – MAP information element structure diagram showing the layout of intervals and fields (SID, IUC, Offset) across bit positions 0 to 31. + +J.122\_F8-20 + +**Figure 8-20 – MAP information element structure** + +**Table 8-20 – Allocation MAP information elements (IE)** + +| IE name a) | Interval usage code (IUC) (4 bits) | SID (14 bits) | Mini-slot offset (14 bits) | +|-------------------------------------------------------------------------------|------------------------------------|-----------------------|-------------------------------------------------------------------------------------------------------| +| Request | 1 | Any | Starting offset of REQ region | +| REQ/data (refer to Annex A, "well-known addresses", for multicast definition) | 2 | Multicast | Starting offset of IMMEDIATE data region (well-known multicasts define start intervals) | +| Initial maintenance b) | 3 | Broadcast or unicast | Starting offset of MAINT region (used in initial or periodic ranging) | +| Station maintenance | 4 | Unicast c) | Starting offset of MAINT region (used in periodic ranging) | +| Short data grant d) | 5 | Unicast | Starting offset of data grant assignment; If inferred length = 0, then it is a data grant pending | +| Long data grant | 6 | Unicast | Starting offset of data grant assignment; If inferred length = 0, then it is a data grant pending | +| Null IE | 7 | Zero | Ending offset of the previous grant. Used to bound the length of the last actual interval allocation. | +| Data ack | 8 | Unicast | CMTS sets to map length | +| Advanced PHY short e) data grant | 9 | Unicast | Starting offset of data grant assignment; If inferred length = 0, then it is a data grant pending | + +**Table 8-20 – Allocation MAP information elements (IE)** + +| IE name a) | Interval usage code (IUC) (4 bits) | SID (14 bits) | Mini-slot offset (14 bits) | +|--------------------------------|------------------------------------|---------------|---------------------------------------------------------------------------------------------------| +| Advanced PHY long data grant | 10 | Unicast | Starting offset of data grant assignment; If inferred length = 0, then it is a data grant pending | +| Advanced PHY unsolicited grant | 11 | Unicast | Starting offset of data grant assignment | +| Reserved | 12-14 | Any | Reserved | +| Expansion | 15 | Expanded IUC | # of additional 32-bit words in this IE | + +a) Each IE is a 32-bit quantity, of which the most significant 14 bits represent the SID, the middle 4 bits the IUC, and the low-order 14 bits the mini-slot offset. +b) The CMTS MUST NOT use a unicast SID with an initial maintenance IUC on any upstream that is not a DOCS 2.0-only upstream. +c) The SID used in the station maintenance IE MUST be a temporary SID, or the primary SID that was assigned in the REG-RSP message to a CM. +d) The distinction between long and short data grants is related to the amount of data that can be transmitted in the grant. A short data grant interval may use FEC parameters that are appropriate to short packets while a long data grant may be able to take advantage of greater FEC coding efficiency. +e) The advanced PHY types are provided for channels carrying a combination of DOCS 1.x and DOCS 2.0 bursts and also for channels carrying DOCS 2.0 bursts only. + +### **8.3.5 Ranging request (RNG-REQ)** + +A ranging request MUST be transmitted by a CM at initialization on an upstream other than a DOCS 2.0-only upstream, and periodically on request from CMTS to determine network delay and request power adjustment. On a DOCS 2.0-only upstream, the CM transmits a INIT-RNG-REQ (see clause 8.3.26) message at initialization instead, but uses the RNG-REQ for all unicast maintenance opportunities provided by the CMTS. This message MUST use an FC\_TYPE = MAC-specific header and FC\_PARM = timing MAC header. This MUST be followed by a packet PDU in the format shown in Figure 8-21. + +![Diagram of a 32-bit packet PDU structure. The top part is a 32-bit MAC management message header. The bottom part is divided into three fields: SID (bits 0-15), Downstream channel ID (bits 16-23), and Pending till complete (bits 24-31).](024914144d624b7f5dc22aaa5c3967b9_img.jpg) + +Bit 0 8 16 24 31 + +| | | | | +|-------------------------------|--|-----------------------|-----------------------| +| MAC management message header | | | | +| SID | | Downstream channel ID | Pending till complete | + +J.122\_F8-21 + +Diagram of a 32-bit packet PDU structure. The top part is a 32-bit MAC management message header. The bottom part is divided into three fields: SID (bits 0-15), Downstream channel ID (bits 16-23), and Pending till complete (bits 24-31). + +**Figure 8-21 – Packet PDU following the timing header** + +Parameters MUST be as follows: + +- **SID:** For RNG-REQ messages transmitted in broadcast initial maintenance intervals: + - Initialization SID if modem is attempting to join the network. + +- Initialization SID if modem has not yet registered and is changing upstream, downstream, or both downstream and upstream channels as directed by a downloaded parameter file. +- Primary SID (previously assigned in REG-RSP) if modem is registered and is changing upstream channels, or if the CM is redoing initial ranging as a result of a DCC, UCC or UCD change (see clauses 8.3.3 and 11.3.2). + +For RNG-REQ messages transmitted in unicast initial maintenance or station maintenance intervals: + +- Temporary SID if modem has not yet registered. +- Primary SID (previously assigned in REG-RSP) if modem is registered or is redoing initial ranging as a result of DCC, UCC or UCD change. + +This is a 16-bit field of which the lower 14 bits define the SID, with bits 14 and 15 defined to be 0. + +- **Downstream channel ID:** The identifier of the downstream channel on which the CM received the UCD which described this upstream. This is an 8-bit field. +- **Pending till complete:** If zero, then all previous ranging response attributes have been applied prior to transmitting this request. If non-zero, then this is time estimated to be needed to complete assimilation of ranging parameters. Note that only equalization can be deferred. Units are in unsigned centiseconds (10 ms). + +A CM MUST set the RSVD field of the MAC management message header to report support of the S-CDMA maximum scheduled codes if and only if the CMTS indicated that it supports the S-CDMA maximum scheduled codes from TLV-17 of the UCD for the upstream channel on which the CM is ranging. In this case, the CM MUST report the maximum ratio of number of active codes to maximum scheduled codes that the CM can support; this ratio is indicated by a bit mask in the reserved field as shown below. For example, if the number of active codes on the channel is 128 and the CM supports a minimum of 64 scheduled codes (the minimum number of allowed active codes), the CM would report a ratio of 2. The CMTS will use this value in calculating an appropriate value for maximum scheduled codes to assign to the CM. The CM SHOULD support a maximum ratio of 32. + +When the CM reports support for the S-CDMA maximum scheduled codes, the CM MUST also report its current transmit power shortfall (in dB). The CM power shortfall is the difference between the current target transmit power of the ranging request and the maximum S-CDMA spreader-on transmit power of 53 dBmV. The CM MUST report a power shortfall of 0 if the current target transmit power of the ranging request is less than or equal to 53 dBmV. This value will be used by the CMTS for calculating appropriate values for S-CDMA maximum scheduled codes and S-CDMA power headroom for the CM. + +The format of the RSVD field is: + +| | | | +|----------------------------------------------------|------------------------------------------------------------------------------------------|-----------------------------------------| +| Bit 7: 1= S-CDMA maximum scheduled codes supported | Bits 6 to 5: CM maximum ratio of:

00 = 20
1 = 8
10 = 16
11 = 32 | Bit 4 to 0: CM power shortfall (1/4 dB) | +|----------------------------------------------------|------------------------------------------------------------------------------------------|-----------------------------------------| + +### 8.3.6 Ranging response (RNG-RSP) + +A ranging response MUST be transmitted by a CMTS in response to received RNG-REQ or INIT-RNG-REQ. The state machines describing the ranging procedure appear in clause 11.2.4. In that procedure it may be noted that, from the point of view of the CM, reception of a ranging response is stateless. In particular, the CM MUST be prepared to receive a ranging response at any time, not just following a ranging request. + +To provide for flexibility, the message parameters following the upstream channel ID MUST be encoded in a type/length/value (TLV) form. + +![Diagram of Ranging response message structure](b02ba0b73e95416eb547976f6145b169_img.jpg) + +The diagram illustrates the structure of a Ranging response message. It is a 32-bit word, with bits numbered 0 to 31. The first 16 bits (bits 0-15) are the MAC management message header, indicated by a break symbol. The next 8 bits (bits 16-23) are the SID from request. The following 8 bits (bits 24-31) are the Upstream channel ID. The final 16 bits (bits 32-47) are TLV encoded information. The diagram is labeled J.122\_F8-22. + +| Bit | 0 | 8 | 16 | 24 | 31 | | +|-------|-------------------------------|---|------------------|----|---------------------|--| +| Field | MAC management message header | | SID from request | | Upstream channel ID | | +| Field | TLV encoded information | | | | | | + +Diagram of Ranging response message structure + +Figure 8-22 – Ranging response + +A CMTS MUST generate ranging responses in the form shown in Figure 8-22, including all of the following parameters: + +- **SID:** If the modem is being instructed by this response to move to a different channel, this is initialization SID. Otherwise, this is the SID from the corresponding RNG-REQ to which this response refers, except that if the corresponding RNG-REQ was an initial ranging request specifying an initialization SID, then this is the assigned temporary SID. +- **Upstream channel ID:** The identifier of the upstream channel on which the CMTS received the RNG-REQ or INIT-RNG-REQ to which this response refers. On the first ranging response received by the CM during initial ranging, this channel ID may be different from the channel ID the CM used to transmit the range request (see Appendix III). Thus, the CM MUST use this channel ID for the rest of its transactions, not the channel ID from which it initiated the range request. + +All other parameters are coded as TLV tuples: + +- **Ranging status:** Used to indicate whether upstream messages are received within acceptable limits by CMTS. +- **Timing adjust information:** The amount by which to change the ranging offset of the burst transmission so that bursts arrive at the expected mini-slot time at the CMTS. The units are $(1/10.24 \text{ MHz}) = 97.65625 \text{ ns}$ . A negative value implies the ranging offset is to be decreased, resulting in later times of transmission at the CM (see Table 6-8 and clause 6.2.19.1, "ranging offset"). +- **Power adjust information:** Specifies the relative change in transmission power level that the CM is to make in order that transmissions arrive at the CMTS at the desired power. + +- **Frequency adjust information:** Specifies the relative change in transmission frequency that the CM is to make in order to better match the CMTS (this is fine-frequency adjustment within a channel, not re-assignment to a different channel). +- **CM transmitter equalization information:** This provides the equalization coefficients for the pre-equalizer. +- **Downstream frequency override:** An optional parameter. The downstream frequency with which the modem should redo initial ranging (see clause 8.3.6.3). +- **Upstream channel ID override:** An optional parameter. The identifier of the upstream channel with which the modem should redo initial ranging (see clause 8.3.6.3). +- **Fine timing adjust extension:** Higher resolution timing adjust offset to be appended to timing adjust, integer part. The units are $(1/(256 \times 10.24 \text{ MHz})) = 0.3814697265625 \text{ ns}$ . This parameter provides finer granularity timing offset information for transmission in S-CDMA mode. This TLV MUST be present for S-CDMA channels (see clause 6.2.20). +- **S-CDMA maximum scheduled codes:** The value that the CMTS uses to limit the number of codes scheduled to a CM in an S-CDMA frame. CMs that implement the S-CDMA maximum scheduled codes use this value to limit the maximum size of a concatenated burst in an S-CDMA frame. +- **S-CDMA power headroom:** CMs that implement the S-CDMA maximum scheduled codes MUST use this value to control transmit power as per clause 6.2.18.2. + +#### 8.3.6.1 Encodings + +The type values used MUST be those defined in Table 8-21 and Figure 8-23. These are unique within the ranging response message but not across the entire MAC message set. The type and length fields MUST each be 1 octet in length. + +**Table 8-21 – Ranging response message encodings** + +| Name | Type (1 byte) | Length (1 byte) | Value (variable length) | +|--------------------------------|---------------|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Timing adjust, integer part | 1 | 4 | TX timing offset adjustment (signed 32-bit, units of $(6.25 \text{ } \mu\text{s}/64)$ ) | +| Power level adjust | 2 | 1 | TX power offset adjustment (signed 8-bit, 1/4-dB units) | +| Offset frequency adjust | 3 | 2 | TX frequency offset adjustment (signed 16-bit, Hz units) | +| Transmit equalization adjust | 4 | n | TX equalization data to be convolved with current values (refer to clause 6.2.15). See below for details about representation. This TLV MUST NOT be included in a RNG-RSP that includes a type 9 TLV. | +| Ranging status | 5 | 1 | 1 = continue, 2 = abort, 3 = success | +| Downstream frequency override | 6 | 4 | Centre frequency of new downstream channel in Hz | +| Upstream channel ID override | 7 | 1 | Identifier of the new upstream channel | +| Timing adjust, fractional part | 8 | 1 | TX timing fine offset adjustment. Eight-bit unsigned value specifying the fine timing adjustment in units of $1/(245 \times 10.24 \text{ MHz})$ | + +**Table 8-21 – Ranging response message encodings** + +| Name | Type
(1 byte) | Length
(1 byte) | Value
(variable length) | +|--------------------------------|------------------|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Transmit equalization set | 9 | n | TX equalization data to be loaded in place of current values (refer to clause 6.2.10). See below for details about representation. This TLV MUST NOT be included in a RNG-RSP to a DOCS 1.x CM, and MUST not be included in a RNG-RSP that includes a type 4 TLV. | +| S-CDMA maximum scheduled codes | 10 | 1 | A CMTS MAY send this TLV only if a CM indicated in the RNG-REQ or INIT-RNG-REQ that it supports the S-CDMA maximum scheduled codes.
A value of 0 means no code limit. Other possible values range from 4 to number_active_codes inclusive. Maximum scheduled codes must be an integer multiple of codes_per_mini-slots.
If S-CDMA mode is disabled, this TLV MUST NOT be present. Absence of this TLV indicates that maximum scheduled codes is inactive for this CM, which MUST then use the S-CDMA number of active codes. | +| S-CDMA power headroom | 11 | 1 | A CMTS MUST send this TLV to a CM in conjunction with TLV-10.
If S-CDMA mode is disabled, this TLV MUST NOT be present.
The units are dB. The range of this TLV is from 0 to $4 \cdot 10 \log(\langle \text{Anchor2} \rangle)$
NOTE – A value of 0 for TLV-10 restricts the range to 0 for TLV-11. | +| Reserved | 12-255 | n | Reserved for future use | + +| Type
4 | Length | Main tap location | Number of forward taps per symbol | +|--------------------------------|----------|--------------------------------|-----------------------------------| +| Number of forward taps (N) | Reserved | | | +| First coefficient $F_1$ (real) | | First coefficient $F_1$ (imag) | | +| | | | | +| Last coefficient $F_N$ (real) | | Last coefficient $F_N$ (imag) | | + +J.122\_F8-23 + +**Figure 8-23 – Generalized decision feedback equalization coefficients** + +The number of taps per modulation interval T MUST be either 1, 2 or 4. The main tap location refers to the position of the zero delay tap, between 1 and N. For a T-spaced equalizer, the number + +of taps per modulation interval field MUST be set to "1". The total number of taps MAY range up to 64. Each tap consists of a real and imaginary coefficient entry in the table. + +If more than 255 bytes are needed to represent equalization information, then several type 4 or 9 elements MAY be used. Data MUST be treated as if byte-concatenated, that is, the first byte after the length field of the second type 4 or 9 element is treated as if it immediately followed the last byte of the first type 4 or 9 element. + +Figure 6-28 depicts the operation of the equalizer. + +#### 8.3.6.2 Example of TLV data + +An example of TLV data is given in Figure 8-24. + +| | | | | +|--------|----------|----------------------------------------------------|--| +| Type 1 | Length 4 | Timing adjust | | +| Type 2 | Length 1 | Power adjust | | +| Type 3 | Length 2 | Frequency adjust information | | +| Type 4 | Length x | x bytes of CM transmitter equalization information | | +| Type 5 | Length 1 | Ranging status | | + +J.122\_F8-24 + +**Figure 8-24 – Example of TLV data** + +#### 8.3.6.3 Overriding channels prior to registration + +The RNG-RSP message allows the CMTS to instruct the modem to move to a new downstream and/or upstream channel and to repeat initial ranging. However, the CMTS may do this only in response to an initial ranging request from a modem that is attempting to join the network, or in response to any of the unicast ranging requests that take place immediately after this initial ranging and up to the point where the modem successfully completes periodic ranging. If a downstream frequency override is specified in the RNG-RSP, the modem MUST re-initialize its MAC (see clause 11.2) using initial ranging with the specified downstream centre frequency as the first scanned channel. For the upstream channel, the modem selects its channel based on received UCD messages as per clause 11.2.2. + +If an upstream channel ID override is specified in the RNG-RSP, the modem MUST re-initialize its MAC (see clause 11.2) using initial ranging with the upstream channel specified in the RNG-RSP for its first attempt and the same downstream frequency on which the RNG-RSP was received. + +If both downstream frequency and upstream channel ID overrides are present in the RNG-RSP, the modem MUST re-initialize its MAC (refer to clause 11.2) using initial ranging with the specified downstream frequency and upstream channel ID for its first attempt. + +Note that when a modem with an assigned temporary SID is instructed to move to a new downstream and/or upstream channel and to redo initial ranging, the modem MUST consider the temporary SID to be de-assigned. The modem MUST redo initial ranging using the initialization SID. + +Configuration file settings for upstream channel ID and downstream frequency are optional, but if specified in the configuration file they take precedence over the ranging response parameters. Once ranging is complete, only clause C.1.1.2, UCC-REQ and DCC-REQ mechanisms are available for + +moving the modem to a new upstream channel, and only clauses C.1.1.1, C.1.1.21 and DCC-REQ mechanisms are available for moving the modem to a new downstream channel. + +### 8.3.7 Registration request (REG-REQ) + +A registration request MUST be transmitted by a CM at initialization after receipt of a CM parameter file, except as outlined in clauses 11.2.8 and 11.2.9. + +To provide for flexibility, the message parameters following the SID MUST be encoded in a type/length/value form. + +![Diagram of a Registration request message structure. The message is 32 bits (0 to 31) long. It consists of a MAC management message header (bits 0-31), a SID field (bits 0-15), and TLV encoded information (bits 16-31).](da87c1b628b63a046d8a0d0fc2c058ea_img.jpg) + +The diagram illustrates the structure of a Registration request message. It is a 32-bit word, with bits numbered 0 to 31. The message is divided into three main parts: + +- MAC management message header:** This part occupies the entire 32-bit word (bits 0 to 31). It is indicated by a bracket spanning the top of the diagram, with break symbols (wavy lines) at the ends. +- SID:** This field occupies the first 16 bits (bits 0 to 15). It is shown as a rectangle in the second row of the diagram. +- TLV encoded information:** This part occupies the remaining 16 bits (bits 16 to 31). It is shown as a rectangle in the third row of the diagram. + +The label "J.122\_F8-25" is located at the bottom right of the diagram. + +Diagram of a Registration request message structure. The message is 32 bits (0 to 31) long. It consists of a MAC management message header (bits 0-31), a SID field (bits 0-15), and TLV encoded information (bits 16-31). + +Figure 8-25 – Registration request + +A CM MUST generate registration requests in the form shown in Figure 8-25, including the following parameters: + +- **SID:** Temporary SID for this CM. + +All other parameters are coded as TLV tuples as defined in Annex C. + +Registration requests can contain many different TLV parameters, some of which are set by the CM according to its configuration file and some of which are generated by the CM itself. If found in the configuration file, the following configuration settings MUST be included in the registration request. + +Configuration file settings: + +- All configuration settings included in the CMTS MIC calculation as specified in clause D.3.1. +- Enable 2.0 mode. +- Downstream channel list. +- CMTS MIC configuration setting. + +NOTE – The CM MUST forward DOCSIS extension field configuration settings to the CMTS in the same order in which they were received in the configuration file to allow the message integrity check to be performed. + +The following registration parameter MUST be included in the registration request. + +- Vendor-specific parameter: Vendor ID configuration setting (vendor ID of CM). + +The modem capabilities encodings registration parameter MUST also be included in the registration request13. + +The following registration parameters MAY also be included in the registration request: + +- Modem IP address. +- Vendor-specific capabilities. + +The vendor-specific capabilities field is for vendor-specific information not included in the configuration file. + +The following configuration settings MUST NOT be forwarded to the CMTS in the registration request: + +- Software upgrade filename. +- Software upgrade TFTP server IP address. +- SNMP write-access control. +- SNMP MIB object. +- SNMPv3 kickstart value. +- CPE Ethernet MAC address. +- HMAC digest. +- End configuration setting. +- Pad configuration setting. +- Telephone settings option. +- SNMPv3 notification receiver. + +### **8.3.8 Registration response (REG-RSP)** + +A registration response MUST be transmitted by the CMTS in response to a received REG-REQ. + +To provide for flexibility, the message parameters following the response field MUST be encoded in a TLV format. + +--- + +13 The CM MUST specify all of its modem capabilities in its registration request subject to the restrictions in clause C.1.3.1. The CMTS MUST NOT assume any modem capability which is defined but not explicitly indicated in the CM's registration request. + +![Diagram of Registration response format showing a 32-bit message structure. The top section is the MAC management message header (bits 0-31). Below it, the first 16 bits are split into 'SID from corresponding RNG-REQ' (bits 0-8) and 'Response' (bits 9-16). The remaining 16 bits (bits 17-31) are 'TLV encoded information'. A break symbol is shown in the header section. The diagram is labeled J.122_F8-26 at the bottom right.](28e47e64ac18ca4d8924dab65cedc2d8_img.jpg) + +Diagram of Registration response format showing a 32-bit message structure. The top section is the MAC management message header (bits 0-31). Below it, the first 16 bits are split into 'SID from corresponding RNG-REQ' (bits 0-8) and 'Response' (bits 9-16). The remaining 16 bits (bits 17-31) are 'TLV encoded information'. A break symbol is shown in the header section. The diagram is labeled J.122\_F8-26 at the bottom right. + +**Figure 8-26 – Registration response format** + +A CMTS MUST generate registration responses in the form shown in Figure 8-26, including both of the following parameters: + +- **SID from corresponding REG-REQ:** SID from corresponding REG-REQ to which this response refers (this acts as a transaction identifier). +- **Response:** For REG-RSP to a modem registering as a 1.0 modem (i.e., REG-REQ contains DOCS 1.0 class of service encodings). + - 0 = Okay + - 1 = Authentication failure + - 2 = Class of service failure + +For REG-RSP to a modem registering as a 1.1 or 2.0 modem (i.e., REG-REQ contains service flow encodings), this field MUST contain one of the confirmation codes in clauses C.4 and C.4.2. + +NOTE 1 – Failures apply to the entire registration request. Even if only a single requested service flow or DOCS 1.0 service class is invalid or undeliverable, the entire registration is failed. + +If the REG-REQ was successful, and contained service flow parameters, classifier parameters or payload header suppression parameters, the REG-RSP MUST contain, for each of these: + +- **Classifier parameters:** All of the classifier parameters from the corresponding REG-REQ, plus the classifier identifier assigned by the CMTS. +- **Service flow parameters:** All the service flow parameters from the REG-REQ, plus the service flow ID assigned by the CMTS. Every service flow that contained a service class name that was admitted/activated14 MUST be expanded into the full set of TLVs defining the service flow. Every upstream service flow that was admitted/activated MUST have a service identifier assigned by the CMTS. A service flow that was only provisioned will include only those QoS parameters that appeared in the REG-REQ, plus the assigned service flow ID. +- **Payload header suppression parameters:** All the payload header suppression parameters from the REG-REQ, plus the payload header suppression index assigned by the CMTS. + +14 The ActiveQoSParamSet or AdmittedQoSParamSet is non-null. + +If the REG-REQ failed due to service flow parameters, classifier parameters or payload header suppression parameters, and the response is not one of the major error codes in clause C.4.2, the REG-RSP MUST contain at least one of the following: + +- **Classifier error set:** A classifier error set and identifying classifier reference and service flow reference MUST be included for at least one failed classifier in the corresponding REG-REQ. Every classifier error set MUST include at least one specific failed classifier parameter of the corresponding classifier. +- **Service flow error set:** A service flow error set and identifying service flow reference MUST be included for at least one failed service flow in the corresponding REG-REQ. Every service flow error set MUST include at least one specific failed QoS parameter of the corresponding service flow. +- **Payload header suppression error set:** A PHS error set and identifying service flow reference and classifier reference pair MUST be included for at least one failed PHS rule in the corresponding REG-REQ. Every PHS error set MUST include at least one specific failed PHS parameter of the corresponding failed PHS rule. + +Service class name expansion always occurs at admission time. Thus, if a registration request contains a service flow reference and a service class name for deferred admission/activation, the registration response MUST NOT include any additional QoS parameters except the service flow identifier (refer to clause 10.1.3). + +If the corresponding registration request contains DOCS 1.0 service class TLVs (refer to clause C.1.1.4), the registration response MUST contain the following TLV tuples: + +- **DOCS 1.0 service class data:** Returned when response = okay. This is a service ID/service class tuple for each class of service granted. + +NOTE 2 – Service class IDs MUST be those requested in the corresponding REG-REQ. + +- **Service not available:** Returned when response = class of service failure. If a service class cannot be supported, this configuration setting is returned in place of the service class data. + +All other parameters are coded TLV tuples. + +- **Modem capabilities:** The CMTS response to the capabilities of the modem (if present in the registration request). +- **Vendor-specific data:** As defined in Annex C: + - vendor ID configuration setting (vendor ID of the CMTS); + - vendor-specific extensions. + +#### 8.3.8.1 Encodings + +The type values used MUST be those shown below. These are unique within the registration response message but not across the entire MAC message set. The type and length fields MUST each be one octet. + +##### 8.3.8.1.1 Modem capabilities + +This field defines the CMTS response to the modem capabilities field in the registration request. The CMTS MUST respond to the modem capability to indicate whether they may be used. If the CMTS does not recognize a modem capability, it MUST return the TLV with the value zero ("off") in the registration response. + +Only capabilities set to "on" in the REG-REQ may be set "on" in the REG-RSP as this is the handshake indicating that they have been successfully negotiated. Capabilities set to "off" in the REG-REQ MUST also be set to "off" in the REG-RSP. + +Encodings are as defined for the registration request. + +##### 8.3.8.1.2 DOCS 1.0 service class data + +A DOCS 1.0 service-class-data parameter MUST be present in the registration response for each DOCS 1.0 class-of-service parameter (refer to clause C.1.1.4) in the registration request. + +This encoding defines the parameters associated with a requested class of service. It is somewhat complex in that it is composed from a number of encapsulated type/length/value fields. The encapsulated fields define the particular class-of-service parameters for the class of service in question. Note that the type fields defined are only valid within the encapsulated service class data configuration setting string. A single service class data configuration setting MUST be used to define the parameters for a single service class. Multiple class definitions MUST use multiple service class data configuration setting sets. + +Each received DOCS 1.0 class-of-service parameter must have a unique class ID in the range 1 to 16. If no class ID is present for any single DOCS 1.0 class-of-service TLV in the REG-REQ, the CMTS MUST send a REG-RSP with a class-of-service failure response and no DOCS 1.0 class-of-service TLVs. + +| Type | Length | Value | +|------|--------|----------------------------| +| 1 | n | Encoded service class data | + +###### Class ID: + +The value of the field MUST specify the identifier for the class of service to which the encapsulated string applies. This MUST be a class which was requested in the associated REG-REQ, if present. + +| Type | Length | Value | +|------|--------|--------------| +| 1.1 | 1 | From REG-REQ | + +**Valid range:** The class ID MUST be in the range 1 to 16. + +**Service ID:** The value of the field MUST specify the SID associated with this service class. + +| Type | Length | Value | +|------|--------|-------| +| 1.2 | 2 | SID | + +### 8.3.9 Registration acknowledge (REG-ACK) + +A registration acknowledge MUST be transmitted by the CM in response to a REG-RSP from the CMTS with a confirmation code of okay (0)15. It confirms acceptance by the CM of the QoS parameters of the flow as reported by the CMTS in its REG-RSP. The format of a REG-ACK MUST be as shown in Figure 8-27. + +--- + +15 The registration acknowledge is a DOCS 1.1/2.0 message. Refer to Annex G for details of registration interoperability issues. + +![Diagram of a Registration acknowledgment message structure. The message is 32 bits (0-31) long. The first part is the 'MAC management message header' (bits 0-31). The second part contains 'SID from corresponding REG-RSP' (bits 0-15) and 'Confirmation code' (bits 16-23). The third part is 'TLV encoded information' (bits 24-31).](f512ae9c630f2fb53197fa77a1bda0e8_img.jpg) + +Diagram illustrating the structure of a Registration acknowledgment message. The message is 32 bits (0-31) long. The first part is the MAC management message header (bits 0-31). The second part contains the SID from corresponding REG-RSP (bits 0-15) and Confirmation code (bits 16-23). The third part is TLV encoded information (bits 24-31). + +| | | | | | | +|--------------------------------|---|---|-------------------|----|----| +| Bit | 0 | 8 | 16 | 24 | 31 | +| MAC management message header | | | | | | +| SID from corresponding REG-RSP | | | Confirmation code | | | +| TLV encoded information | | | | | | + +J.122\_F8-27 + +Diagram of a Registration acknowledgment message structure. The message is 32 bits (0-31) long. The first part is the 'MAC management message header' (bits 0-31). The second part contains 'SID from corresponding REG-RSP' (bits 0-15) and 'Confirmation code' (bits 16-23). The third part is 'TLV encoded information' (bits 24-31). + +**Figure 8-27 – Registration acknowledgment** + +The parameters MUST be as follows: + +- **SID from corresponding REG-RSP:** SID from corresponding REG-RSP to which this acknowledgment refers (this acts as a transaction identifier). +- **Confirmation code:** The appropriate confirmation code (refer to clause C.4) for the entire corresponding registration response. + +The CM is required to send all provisioned classifiers, service flows and payload header suppression rules to the CMTS in the REG-REQ (see clause 8.3.7). The CMTS will return them with identifiers, expanding service class names if present, in the REG-RSP (see clause 8.3.8). Since the CM may be unable to support one or more of these provisioned items, the REG-ACK includes error sets for all failures related to these provisioned items. + +If there were any failures of provisioned items, the REG-ACK MUST include the error sets corresponding to those failures. The error set identification is provided by using service flow ID and classifier ID from corresponding REG-RSP. If a classifier ID or SFID was omitted in the REG-RSP, the CM MUST use the appropriate reference (classifier reference, SF reference) in the REG-ACK. + +- **Classifier error set:** A classifier error set and identifying classifier reference/identifier and service flow reference/identifier pair MUST be included for at least one failed classifier in the corresponding REG-RSP. Every classifier error set MUST include at least one specific failed classifier parameter of the corresponding classifier. This parameter MUST be omitted if the entire REG-REQ/RSP is successful. +- **Service flow error set:** A service flow error set of the REG-ACK message encodes specifics of failed service flows in the REG-RSP message. A service flow error set and identifying service flow reference/identifier MUST be included for at least one failed QoS parameter of at least one failed service flow in the corresponding REG-RSP message. This parameter MUST be omitted if the entire REG-REQ/RSP is successful. +- **Payload header suppression error set:** A PHS error set and identifying service flow reference/identifier and classifier reference/identifier pair MUST be included for at least one failed PHS rule in the corresponding REG-RSP. Every PHS error set MUST include at least one specific failed PHS of the failed PHS rule. This parameter MUST be omitted if the entire REG-REQ/RSP is successful. + +Per service flow acknowledgment is necessary not just for synchronization between the CM and CMTS, but also to support use of the service class name (refer to clause 10.1.3). Since the CM may not know all of the service flow parameters associated with a service class name when making the registration request, it may be necessary for the CM to NAK a registration response if it has insufficient resources to support this service flow. + +### 8.3.10 Upstream channel change request (UCC-REQ) + +An upstream channel change request MAY be transmitted by a CMTS to cause a CM to change the upstream channel on which it is transmitting. The format of an UCC-REQ message is shown in Figure 8-28. + +![Diagram of UCC-REQ message format showing a 32-bit structure with a MAC management message header and an 8-bit Upstream channel ID field.](893d65bf826925a7283359b1672010a0_img.jpg) + +The diagram illustrates the structure of an UCC-REQ message. It is a 32-bit word, with bit positions 0, 8, 16, 24, and 31 marked at the top. The first 16 bits (bits 0-15) are the MAC management message header, indicated by a bracket and a break symbol. The next 8 bits (bits 16-23) are the Upstream channel ID. The remaining 8 bits (bits 24-31) are TLV encoded information. The label J.122\_F8-28 is at the bottom right. + +Diagram of UCC-REQ message format showing a 32-bit structure with a MAC management message header and an 8-bit Upstream channel ID field. + +Figure 8-28 – Upstream channel change request + +Parameters MUST be as follows: + +- **Upstream channel ID:** The identifier of the upstream channel to which the CM is to switch for upstream transmissions. This is an 8-bit field. + +Upon receipt of a UCC-REQ message, the CM MUST perform ranging with broadcast initial maintenance. + +### 8.3.11 Upstream channel change response (UCC-RSP) + +An upstream channel change response MUST be transmitted by a CM in response to a received upstream channel change request message to indicate that it has received and is complying with the UCC-REQ. The format of an UCC-RSP message is shown in Figure 8-29. + +![Diagram of UCC-RSP message format showing a 32-bit structure with a MAC management message header and an 8-bit Upstream channel ID field.](612f485c508ab6745d6dfe894f15e8cc_img.jpg) + +The diagram illustrates the structure of an UCC-RSP message. It is a 32-bit word, with bit positions 0, 8, 16, 24, and 31 marked at the top. The first 16 bits (bits 0-15) are the MAC management message header, indicated by a bracket and a break symbol. The next 8 bits (bits 16-23) are the Upstream channel ID. The remaining 8 bits (bits 24-31) are TLV encoded information. The label J.122\_F8-29 is at the bottom right. + +Diagram of UCC-RSP message format showing a 32-bit structure with a MAC management message header and an 8-bit Upstream channel ID field. + +Figure 8-29 – Upstream channel change response + +Before it begins to switch to a new upstream channel, a CM MUST transmit a UCC-RSP on its existing upstream channel. A CM MAY ignore an UCC-REQ message while it is in the process of + +performing a channel change. When a CM receives a UCC-REQ message requesting that it switch to an upstream channel that it is already using, the CM MUST respond with a UCC-RSP message on that channel indicating that it is already using the correct channel. + +After switching to a new upstream channel, a CM MUST re-range using broadcast initial ranging, and then MUST proceed without re-performing registration. The full procedure for changing channels is described in clause 11.3.3. + +Parameters MUST be as follows: + +- **Upstream channel ID:** The identifier of the upstream channel to which the CM is to switch for upstream transmissions. This MUST be the same channel ID specified in the UCC-REQ message. This MUST be an 8-bit field. + +### 8.3.12 Dynamic service addition request (DSA-REQ) + +A dynamic service addition request MAY be sent by a CM or CMTS to create a new service flow. + +![Diagram of a Dynamic service addition request (DSA-REQ) message structure. The diagram shows a 32-bit message (bits 0 to 31) with a MAC management message header (bits 0-31), a Transaction ID (bits 0-15), and TLV encoded information (bits 16-31).](51501a01b2c29ac95e126882508f8831_img.jpg) + +The diagram illustrates the structure of a DSA-REQ message. It is a 32-bit message with the following fields: + +- MAC management message header:** Bits 0 to 31. This field is shown with break symbols at the ends, indicating it may be split across multiple bytes. +- Transaction ID:** Bits 0 to 15. This is a 16-bit field. +- TLV encoded information:** Bits 16 to 31. This is a 16-bit field. + +The diagram is labeled J.122\_F8-30. + +Diagram of a Dynamic service addition request (DSA-REQ) message structure. The diagram shows a 32-bit message (bits 0 to 31) with a MAC management message header (bits 0-31), a Transaction ID (bits 0-15), and TLV encoded information (bits 16-31). + +Figure 8-30 – Dynamic service addition request + +A CM or CMTS MUST generate DSA-REQ messages in the form shown in Figure 8-30, including the following parameter: + +- **Transaction ID:** Unique identifier for this transaction assigned by the sender. + +All other parameters are coded as TLV tuples as defined in Annex C. + +A DSA-REQ message MUST NOT contain parameters for more than one service flow in each direction, i.e., a DSA-REQ message MUST contain parameters for either a single upstream service flow, or for a single downstream service flow, or for one upstream and one downstream service flow. + +The DSA-REQ message MUST contain: + +- **Service flow parameters:** Specification of the service flow's traffic characteristics and scheduling requirements. + +The DSA-REQ message MAY contain classifier parameters and payload header suppression parameters associated with the service flows specified in the message: + +- **Classifier parameters:** Specification of the rules to be used to classify packets into a specific service flow. + +- **Payload header suppression parameters:** Specification of the payload header suppression rules to be used with an associated classifier. + +If privacy is enabled, the DSA-REQ message MUST contain: + +- **Key sequence number:** The key sequence number of the auth key, which is used to calculate the HMAC-Digest (refer to clause C.1.4.3). +- **HMAC-Digest:** The HMAC-Digest attribute is a keyed message digest (to authenticate the sender). The HMAC-Digest attribute MUST be the final attribute in the dynamic service message's attribute list (refer to clause C.1.4.1). + +#### 8.3.12.1 CM-initiated dynamic service addition + +CM-initiated DSA-Requests MUST use the service flow reference to link classifiers to service flows. Values of the service flow reference are local to the DSA message; each service flow within the DSA-Request MUST be assigned a unique service flow reference. This value need not be unique with respect to the other service flows known by the sender. + +CM-initiated DSA-Request MUST use the classifier reference and service flow reference to link payload header suppression parameters to classifiers and service flows. A DSA-Request MUST use the service flow reference to link classifier to service flow. Values of the classifier reference are local to the DSA message; each classifier within the DSA-Request MUST be assigned a unique classifier reference. + +CM-initiated DSA-Requests MAY use the service class name (refer to clause C.2.2.3.4) in place of some, or all, of the QoS parameters. + +#### 8.3.12.2 CMTS-initiated dynamic service addition + +CMTS-initiated DSA-Requests MUST use the service flow ID to link classifiers to service flows. Service flow identifiers are unique within the MAC domain. CMTS-initiated DSA-Requests for upstream service flows MUST also include a service ID. + +CMTS-initiated DSA-Requests which include classifiers, MUST assign a unique classifier identifier on a per service flow basis. + +CMTS-initiated DSA-Requests for named service classes MUST include the QoS parameter set associated with that service class. + +### 8.3.13 Dynamic service addition response (DSA-RSP) + +A dynamic service addition response MUST be generated in response to a received DSA-Request. The format of a DSA-RSP MUST be as shown in Figure 8-31. + +![Diagram of Dynamic service addition response message structure. The diagram shows a 32-bit message (bits 0 to 31). The top section is the 'MAC management message header' (bits 0-31). Below it, the first 16 bits (bits 0-15) are split into 'Transaction ID' (bits 0-7) and 'Confirmation code' (bits 8-15). The remaining 16 bits (bits 16-31) are 'TLV encoded information'. A label 'J.122_F8-31' is at the bottom right.](43f7b6b61db9a2f3e3920740a9527d97_img.jpg) + +Bit 0 8 16 24 31 + +MAC management message header + +Transaction ID Confirmation code + +TLV encoded information + +J.122\_F8-31 + +Diagram of Dynamic service addition response message structure. The diagram shows a 32-bit message (bits 0 to 31). The top section is the 'MAC management message header' (bits 0-31). Below it, the first 16 bits (bits 0-15) are split into 'Transaction ID' (bits 0-7) and 'Confirmation code' (bits 8-15). The remaining 16 bits (bits 16-31) are 'TLV encoded information'. A label 'J.122\_F8-31' is at the bottom right. + +**Figure 8-31 – Dynamic service addition response** + +Parameters MUST be as follows: + +- **Transaction ID:** Transaction ID from corresponding DSA-REQ. +- **Confirmation code:** The appropriate confirmation code (refer to clause C.4) for the entire corresponding DSA-Request. + +All other parameters are coded as TLV tuples as defined in Annex C. + +If the transaction is successful, the DSA-RSP MAY contain one or more of the following: + +- **Classifier parameters:** The CMTS MUST include the complete specification of the classifier in the DSA-RSP, including a newly assigned classifier identifier. The CM MUST NOT include the specification of the classifier in the DSA-RSP. +- **Service flow parameters:** The CMTS MUST include the complete specification of the service flow in the DSA-RSP, including a newly assigned service flow identifier and an expanded service class name if applicable. The CM MUST NOT include the specification of the service flow in the DSA-RSP. +- **Payload header suppression parameters:** The CMTS MUST include the complete specification of the PHS parameters in the DSA-RSP, including a newly assigned PHS index, a classifier identifier and a service flow identifier. The CM MUST NOT include the specification of the PHS parameters. + +If the transaction is unsuccessful due to service flow parameters, classifier parameters or payload header suppression parameters, and the confirmation code is not one of the major error codes in clause C.4.2, the DSA-RSP MUST contain at least one of the following: + +- **Service flow error set:** A service flow error set and identifying service flow reference/identifier MUST be included for at least one failed service flow in the corresponding DSA-REQ. Every service flow error set MUST include at least one specific failed QoS parameter of the corresponding service flow. This parameter MUST be omitted if the entire DSA-REQ is successful. +- **Classifier error set:** A classifier error set and identifying classifier reference/identifier and service flow reference/identifier pair MUST be included for at least one failed classifier in the corresponding DSA-REQ. Every classifier error set MUST include at least one specific failed classifier parameter of the corresponding classifier. This parameter MUST be omitted if the entire DSA-REQ is successful. + +- **Payload header suppression error set:** A PHS error set and identifying classifier reference/identifier and service flow reference/identifier pair MUST be included for at least one failed PHS rule in the corresponding DSA-REQ. Every PHS error set MUST include at least one specific failed PHS parameter of the corresponding failed PHS rule. This parameter MUST be omitted if the entire DSA-REQ is successful. + +If privacy is enabled, the DSA-RSP message MUST contain: + +- **Key sequence number:** The key sequence number of the auth key, which is used to calculate the HMAC-Digest (refer to clause C.1.4.3). +- **HMAC-Digest:** The HMAC-Digest attribute is a keyed message digest (to authenticate the sender). The HMAC-Digest attribute MUST be the final attribute in the dynamic service message's attribute list (refer to clause C.1.4.1). + +#### 8.3.13.1 CM-initiated dynamic service addition + +The CMTS's DSA-Response for service flows that are successfully added MUST contain a service flow ID. The DSA-Response for successfully admitted or active upstream QoS parameter sets MUST also contain a service ID. + +If the corresponding DSA-Request uses the service class name (refer to clause C.2.2.3.4) to request service addition, a DSA-Response MUST contain the QoS parameter set associated with the named service class. If the service class name is used in conjunction with other QoS parameters in the DSA-Request, the CMTS MUST accept or reject the DSA-Request using the explicit QoS parameters in the DSA-Request. If these service flow encodings conflict with the service class attributes, the CMTS MUST use the DSA-Request values as overrides for those of the service class. + +If the transaction is successful, the CMTS MUST assign a classifier identifier to each requested classifier and a PHS index to each requested PHS rule. The CMTS MUST use the original classifier reference(s) and service flow reference(s) to link the successful parameters in the DSA-RSP. + +If the transaction is unsuccessful, the CMTS MUST use the original classifier reference(s) and service flow reference(s) to identify the failed parameters in the DSA-RSP. + +#### 8.3.13.2 CMTS-initiated dynamic service addition + +If the transaction is unsuccessful, the CM MUST use the classifier identifier(s) and service flow identifier(s) to identify the failed parameters in the DSA-RSP. + +### 8.3.14 Dynamic service addition acknowledge (DSA-ACK) + +A dynamic service addition acknowledge MUST be generated in response to a received DSA-RSP. The format of a DSA-ACK MUST be as shown in Figure 8-32. + +![Diagram of Dynamic service addition acknowledge message structure. The message is 32 bits (0-31) long. The first 32 bits are the MAC management message header. The next 32 bits are split into Transaction ID (bits 0-15) and Confirmation code (bits 16-31). The remaining bits are TLV encoded information.](ce06eec6bb6d76bf7688932b2f6eb6fa_img.jpg) + +Bit 0 8 16 24 31 + +| | | | | +|-------------------------------|--|-------------------|--| +| MAC management message header | | | | +| Transaction ID | | Confirmation code | | +| TLV encoded information | | | | + +J.122\_F8-32 + +Diagram of Dynamic service addition acknowledge message structure. The message is 32 bits (0-31) long. The first 32 bits are the MAC management message header. The next 32 bits are split into Transaction ID (bits 0-15) and Confirmation code (bits 16-31). The remaining bits are TLV encoded information. + +**Figure 8-32 – Dynamic service addition acknowledge** + +Parameters MUST be as follows: + +- **Transaction ID:** Transaction ID from corresponding DSA-Response. +- **Confirmation code:** The appropriate confirmation code (refer to clause C.4) for the entire corresponding DSA-Response16. + +All other parameters are coded TLV tuples. + +- **Service flow error set:** The service flow error set of the DSA-ACK message encodes specifics of failed service flows in the DSA-RSP message. A service flow error set and identifying service flow reference/identifier MUST be included for at least one failed QoS parameter of at least one failed service flow in the corresponding DSA-REQ. This parameter MUST be omitted if the entire DSA-REQ is successful. + +If privacy is enabled, the DSA-RSP message MUST contain: + +- **Key sequence number:** The key sequence number of the auth key, which is used to calculate the HMAC-Digest (refer to clause C.1.4.3). +- **HMAC-Digest:** The HMAC-Digest attribute is a keyed message digest (to authenticate the sender). The HMAC-Digest attribute MUST be the final attribute in the dynamic service message's attribute list (refer to clause C.1.4.1). + +### 8.3.15 Dynamic service change request (DSC-REQ) + +A dynamic service change request MAY be sent by a CM or CMTS to dynamically change the parameters of an existing service flow. DSCs changing classifiers MUST carry the entire classifier TLV set for that new classifier. + +16 The confirmation code is necessary particularly when a service class name (refer to clause 10.1.3) is used in the DSA-Request. In this case, the DSA-Response could contain service flow parameters that the CM is unable to support (either temporarily or as configured). + +![Diagram of a Dynamic service change request message structure. The message is 32 bits (0-31) long. The first 32 bits are the MAC management message header. The next 32 bits are the Transaction ID. The remaining bits are TLV encoded information.](2cc98b619abc7a0e53aac9c44226ca89_img.jpg) + +The diagram shows the structure of a Dynamic service change request message. It is a 32-bit word structure. The first 32 bits (0-31) are the MAC management message header. The next 32 bits (32-63) are the Transaction ID. The remaining bits (64-95) are TLV encoded information. The diagram is labeled J.122\_F8-33. + +Diagram of a Dynamic service change request message structure. The message is 32 bits (0-31) long. The first 32 bits are the MAC management message header. The next 32 bits are the Transaction ID. The remaining bits are TLV encoded information. + +**Figure 8-33 – Dynamic service change request** + +A CM or CMTS MUST generate DSC-REQ messages in the form shown in Figure 8-33 including the following parameters: + +- **Transaction ID:** Unique identifier for this transaction assigned by the sender. + +All other parameters are coded as TLV tuples as defined in Annex C. + +A DSC-REQ message MUST NOT carry parameters for more than one service flow in each direction, i.e., a DSC-REQ message MUST contain parameters for either a single upstream service flow, or for a single downstream service flow, or for one upstream and one downstream service flow. A DSC-REQ MUST contain at least one of the following: + +- **Classifier parameters:** Specification of the rules to be used to classify packets into a specific service flow – this includes the dynamic service change action TLV which indicates whether this classifier should be added, replaced or deleted from the service flow (refer to clause C.2.1.3.7). If included, the classifier parameters MUST contain the dynamic change action TLV, a classifier reference/identifier and a service flow identifier. +- **Service flow parameters:** Specification of the service flow's new traffic characteristics and scheduling requirements. The admitted and active quality of service parameter sets in this message replace the admitted and active quality of service parameter sets currently in use by the service flow. If the DSC message is successful and it contains service flow parameters, but does not contain replacement sets for both admitted and active quality of service parameter sets, the omitted set(s) MUST be set to null. If included, the service flow parameters MUST contain a service flow identifier. +- **Payload header suppression parameters:** Specification of the rules to be used for payload header suppression to suppress payload headers related to a specific classifier – this includes the dynamic service change action TLV which indicates whether this PHS rule should be added, set or deleted from the service flow or whether all the PHS rules for the service flow specified should be deleted (refer to clause C.2.2.8.5). If included, the PHS parameters MUST contain the dynamic service change action TLV, a classifier reference/identifier and a service flow identifier, unless the dynamic service change action is "delete all PHS rules". If the dynamic service change action is "delete all PHS rules", the PHS parameters MUST contain a service flow identifier along with the dynamic service change action, and no other PHS parameters need be present in this case. However, if other + +PHS parameters are present, in particular payload header suppression index, they MUST be ignored by the receiver of the DSC-REQ message. + +If privacy is enabled, a DSC-REQ MUST also contain: + +- **Key sequence number:** The key sequence number of the auth key, which is used to calculate the HMAC-Digest (refer to clause C.1.4.3). +- **HMAC-Digest:** The HMAC-Digest attribute is a keyed message digest (to authenticate the sender). The HMAC-Digest attribute MUST be the final attribute in the dynamic service message's attribute list (refer to clause C.1.4.1). + +### 8.3.16 Dynamic service change response (DSC-RSP) + +A dynamic service change response MUST be generated in response to a received DSC-REQ. The format of a DSC-RSP MUST be as shown in Figure 8-34. + +![Diagram of Dynamic service change response (DSC-RSP) structure](8fce89f02626b8a0c50e2245bc3e7ce7_img.jpg) + +The diagram illustrates the structure of a DSC-RSP message. It shows a 32-bit word structure with bit positions 0, 8, 16, 24, and 31 marked at the top. The first 32-bit word is the 'MAC management message header', indicated by a double slash on its left and right sides. Below this header is the 'Transaction ID', which occupies the first 16 bits (bits 0 to 15). The remaining 16 bits of the second 32-bit word and all subsequent bits are designated as 'TLV encoded information'. The diagram is labeled 'J.122\_F8-34' at the bottom right. + +Diagram of Dynamic service change response (DSC-RSP) structure + +**Figure 8-34 – Dynamic service change response** + +Parameters MUST be as follows: + +- **Transaction ID:** Transaction ID from corresponding DSC-REQ. +- **Confirmation code:** The appropriate confirmation code (refer to clause C.4) for the corresponding DSC-Request. + +All other parameters are coded as TLV tuples as defined in Annex C. + +If the transaction is successful, the DSC-RSP MAY contain one or more of the following: + +- **Classifier parameters:** The CMTS MUST include the complete specification of the classifier in the DSC-RSP, including a newly assigned classifier identifier for new classifiers. The CM MUST NOT include the specification of the classifier in the DSC-RSP. +- **Service flow parameters:** The CMTS MUST include the complete specification of the service flow in the DSC-RSP, including an expanded service class name if applicable. The CMTS MUST include a SID in the DSC-RSP if a service flow parameter set contained an upstream admitted QoS parameter set and this service flow does not have an associated SID. If a service flow parameter set contained a service class name and an admitted QoS parameter set, the CMTS MUST include the QoS parameter set corresponding to the named service class in the DSC-RSP. If specific QoS parameters were also included in the classed service flow request, the CMTS MUST include these QoS parameters in the DSC-RSP + +instead of any QoS parameters of the same type of the named service class. The CM MUST NOT include the specification of the service flow in the DSC-RSP. + +- **Payload header suppression parameters:** The CMTS MUST include the complete specification of the PHS parameters in the DSC-RSP, including a newly assigned PHS index for new PHS rules, a classifier identifier and a service flow identifier. The CM MUST NOT include the specification of the PHS parameters. + +If the transaction is unsuccessful due to service flow parameters, classifier parameters or payload header suppression parameters, and the confirmation code is not one of the major error codes in clause C.4.2, the DSC-RSP MUST contain at least one of the following: + +- **Classifier error set:** A classifier error set and identifying classifier reference/identifier and service flow reference/identifier pair MUST be included for at least one failed classifier in the corresponding DSC-REQ. Every classifier error set MUST include at least one specific failed classifier parameter of the corresponding classifier. This parameter MUST be omitted if the entire DSC-REQ is successful. +- **Service flow error set:** A service flow error set and identifying service flow ID MUST be included for at least one failed service flow in the corresponding DSC-REQ. Every service flow error set MUST include at least one specific failed QoS parameter of the corresponding service flow. This parameter MUST be omitted if the entire DSC-REQ is successful. +- **Payload header suppression error set:** A PHS error set and identifying service flow reference/identifier and classifier reference/identifier pair MUST be included for at least one failed PHS rule in the corresponding DSC-REQ, unless the dynamic service change action is "delete all PHS rules". If the dynamic service change action is "delete all PHS rules" the PHS error set(s) MUST include an identifying service flow ID. Every PHS error set MUST include at least one specific failed PHS parameter of the corresponding failed PHS rule. This parameter MUST be omitted if the entire DSC-REQ is successful. + +Regardless of success or failure, if privacy is enabled for the CM, the DSC-RSP MUST contain: + +- **Key sequence number:** The key sequence number of the auth key, which is used to calculate the HMAC-Digest (refer to clause C.1.4.3). +- **HMAC-Digest:** The HMAC-Digest attribute is a keyed message digest (to authenticate the sender). The HMAC-Digest attribute MUST be the final attribute in the dynamic service message's attribute list (refer to clause C.1.4.1). + +### 8.3.17 Dynamic service change acknowledge (DSC-ACK) + +A dynamic service change acknowledge MUST be generated in response to a received DSC-RSP. The format of a DSC-ACK MUST be as shown in Figure 8-35. + +![Diagram of Dynamic service change acknowledge message structure. The diagram shows a 32-bit message structure. The top section is the 'MACmanagement message header' (bits 0-31). Below it, the first 16 bits are split into 'Transaction ID' (bits 0-8) and 'Confirmation code' (bits 9-16). The remaining 16 bits (bits 17-31) are 'TLV encoded information'. A break symbol (double wavy line) is shown in the header section. The diagram is labeled 'J.122_F8-35' at the bottom right.](40d0aaaa3afa0a9fabe637941ca250bb_img.jpg) + +Diagram of Dynamic service change acknowledge message structure. The diagram shows a 32-bit message structure. The top section is the 'MACmanagement message header' (bits 0-31). Below it, the first 16 bits are split into 'Transaction ID' (bits 0-8) and 'Confirmation code' (bits 9-16). The remaining 16 bits (bits 17-31) are 'TLV encoded information'. A break symbol (double wavy line) is shown in the header section. The diagram is labeled 'J.122\_F8-35' at the bottom right. + +**Figure 8-35 – Dynamic service change acknowledge** + +Parameters MUST be as follows: + +- **Transaction ID:** Transaction ID from the corresponding DSC-REQ. +- **Confirmation code:** The appropriate confirmation code (refer to clause C.4) for the entire corresponding DSC-Response17. + +All other parameters are coded as TLV tuples. + +- **Service flow error set:** The service flow error set of the DSC-ACK message encodes specifics of failed service flows in the DSC-RSP message. A service flow error set and identifying service flow identifier MUST be included for at least one failed QoS parameter of at least one failed service flow in the corresponding DSC-REQ. This parameter MUST be omitted if the entire DSC-REQ is successful. + +If privacy is enabled, the DSC-ACK message MUST contain: + +- **Key sequence number:** The key sequence number of the auth key, which is used to calculate the HMAC-Digest (refer to clause C.1.4.3). +- **HMAC-Digest:** The HMAC-Digest attribute is a keyed message digest (to authenticate the sender). The HMAC-Digest attribute MUST be the final attribute in the dynamic service message's attribute list (refer to clause C.1.4.1). + +### 8.3.18 Dynamic service deletion request (DSD-REQ) + +A dynamic service deletion request MAY be sent by a CM or CMTS to delete a single existing upstream service flow and/or a single existing downstream service flow. The format of a DSD-Request MUST be as shown in Figure 8-36. + +17 The confirmation code and service flow error set are necessary particularly when a service class name (refer to clause 10.1.3) is used in the DSC-Request. In this case, the DSC-Response could contain service flow parameters that the CM is unable to support (either temporarily or as configured). + +![Diagram of Dynamic service deletion request (DSD-REQ) message structure. The diagram shows a 32-bit (0-31) message format. The first part is a 'MAC management message header' (bits 0-31). Below it is a 16-bit 'Transaction ID' (bits 0-15) and a 16-bit 'Reserved' field (bits 16-31). The next part is a 32-bit 'SFID' (bits 0-31). The final part is 'TLV encoded information' (bits 0-31). The diagram is labeled J.122_F8-36.](b5ce6d659e1431289c2e79b01bf38a15_img.jpg) + +Bit 0 8 16 24 31 + +| | | | | +|-------------------------------|--|----------|--| +| MAC management message header | | | | +| Transaction ID | | Reserved | | +| SFID | | | | +| TLV encoded information | | | | + +J.122\_F8-36 + +Diagram of Dynamic service deletion request (DSD-REQ) message structure. The diagram shows a 32-bit (0-31) message format. The first part is a 'MAC management message header' (bits 0-31). Below it is a 16-bit 'Transaction ID' (bits 0-15) and a 16-bit 'Reserved' field (bits 16-31). The next part is a 32-bit 'SFID' (bits 0-31). The final part is 'TLV encoded information' (bits 0-31). The diagram is labeled J.122\_F8-36. + +**Figure 8-36 – Dynamic service deletion request** + +Parameters MUST be as follows: + +- **Service flow identifier:** If this value is non-zero, it is the SFID of a single upstream or single downstream service flow to be deleted. If this value is zero, the service flow(s) to be deleted will be identified by SFID(s) in the TLVs. If this value is non-zero, any SFIDs included in the TLVs MUST be ignored. +- **Transaction ID:** Unique identifier for this transaction assigned by the sender. + +All other parameters are coded as TLV tuples as defined in Annex C. + +- **Service flow identifier:** The SFID(s) to be deleted, which MUST be encoded per clause C.2.2.3.2. The service flow identifier TLV MUST be the only service flow encoding sub-TLV used. + +If privacy is enabled, the DSD-REQ MUST include: + +- **Key sequence number:** The key sequence number of the auth key, which is used to calculate the HMAC-Digest (refer to clause C.1.4.3). +- **HMAC-Digest:** The HMAC-Digest attribute is a keyed message digest (to authenticate the sender). The HMAC-Digest attribute MUST be the final attribute in the dynamic service message's attribute list (refer to clause C.1.4.1). + +### **8.3.19 Dynamic service deletion response (DSD-RSP)** + +A dynamic service deletion response MUST be generated in response to a received DSD-REQ. The format of a DSD-RSP MUST be as shown in Figure 8-37. + +![Diagram of Dynamic service deletion response message structure. It shows a 32-bit word with bit positions 0, 8, 16, 24, and 31. The top part is the MAC management message header. The bottom part is divided into three fields: Transaction ID (bits 0-15), Confirmation code (bits 16-23), and Reserved (bits 24-31).](54f73f693f36dcbd300fa21ac4e410e8_img.jpg) + +| | | | | +|-------------------------------|-------------------|----------|--| +| Bit 0 8 16 24 31 | | | | +| MAC management message header | | | | +| Transaction ID | Confirmation code | Reserved | | + +Diagram of Dynamic service deletion response message structure. It shows a 32-bit word with bit positions 0, 8, 16, 24, and 31. The top part is the MAC management message header. The bottom part is divided into three fields: Transaction ID (bits 0-15), Confirmation code (bits 16-23), and Reserved (bits 24-31). + +J.122\_F8-37 + +**Figure 8-37 – Dynamic service deletion response** + +Parameters MUST be as follows: + +- **Transaction ID:** Transaction ID from corresponding DSD-REQ. +- **Confirmation Code:** The appropriate confirmation code (refer to clause C.4) for the corresponding DSD-Request. + +**8.3.20 Dynamic channel change request (DCC-REQ)** + +A dynamic channel change request MAY be transmitted by a CMTS to cause a CM to change the upstream channel on which it is transmitting, the downstream channel on which it is receiving, or both. + +![Diagram of Dynamic channel change request message structure. It shows a 32-bit word with bit positions 0, 8, 16, 24, and 31. The top part is the MAC management message header. Below it is the Transaction ID (bits 0-15). The remaining part (bits 16-31) is TLV encoded information.](4a0766e76be1050af738d0a7e9e5c9fb_img.jpg) + +| | | | | +|-------------------------------|-------------------------|--|--| +| Bit 0 8 16 24 31 | | | | +| MAC management message header | | | | +| Transaction ID | TLV encoded information | | | + +Diagram of Dynamic channel change request message structure. It shows a 32-bit word with bit positions 0, 8, 16, 24, and 31. The top part is the MAC management message header. Below it is the Transaction ID (bits 0-15). The remaining part (bits 16-31) is TLV encoded information. + +J.122\_F8-38 + +**Figure 8-38 – Dynamic channel change request** + +A CMTS MUST generate DCC-REQ message in the form shown in Figure 8-38, including the following parameters: + +- **Transaction ID:** A 16-bit unique identifier for this transaction assigned by the sender. + +The following parameters are optional and are coded as TLV tuples: + +- **Upstream channel ID:** The identifier of the upstream channel to which the CM is to switch for upstream transmissions. +- **Downstream parameters:** The frequency of the downstream channel to which the CM is to switch for downstream reception. + +- **Initialization technique:** Directions for the type of initialization, if any, that the CM should perform once synchronized to the new channel(s). +- **UCD substitution:** Provides a copy of the UCD for the new channel. This TLV occurs as many times as necessary to contain one UCD. +- **SAID substitution:** A pair of security association identifiers (SAID) which contain the current SAID and the new SAID for the new channel. This TLV occurs once if the SAID requires substitution. +- **Service flow substitution:** A group of sub-TLVs which allows substitution in a service flow of the service flow identifier and service identifier. This TLV is repeated for every service flow which has parameters requiring substitution. + +If privacy is enabled, a DCC-REQ MUST also contain: + +- **Key sequence number:** The key sequence number of the auth key, which is used to calculate the HMAC-Digest (refer to clause C.1.4.3). +- **HMAC-Digest:** The HMAC-Digest attribute is a keyed message digest (to authenticate the sender). The HMAC-Digest attribute MUST be the final attribute in the dynamic channel change message's attribute list (refer to clause C.1.4.1). + +### 8.3.20.1 Encodings + +The type values used MUST be those shown below. These are unique within the dynamic channel change request message, but not across the entire MAC message set. + +#### 8.3.20.1.1 Upstream channel ID + +When present, this TLV specifies the new upstream channel ID that the CM MUST use when performing a dynamic channel change. It is an override for the current upstream channel ID. The CMTS SHOULD ensure that the upstream channel ID for the new channel is different from the upstream channel ID for the old channel. This TLV MUST be included if the upstream channel is changed, even if the UCD substitution TLV is included. + +| Type | Length | Value | +|------|--------|----------------------------| +| 1 | 1 | 0-255: Upstream channel ID | + +If this TLV is missing, the CM MUST NOT change its upstream channel ID. The CMTS MAY include this TLV. The CM MUST observe this TLV. + +#### 8.3.20.1.2 Downstream parameters + +When present, this TLV specifies the operating parameters of the new downstream channel. The value field of this TLV contains a series of subtypes. + +| Type | Length | Value | +|------|--------|-------| +| 2 | n | | + +The CMTS MUST include this TLV when specifying a downstream channel change. If this TLV is missing, the CM MUST NOT change its downstream parameters. + +##### 8.3.20.1.2.1 Downstream frequency + +This TLV specifies the new receive frequency that the CM MUST use when performing a dynamic channel change. It is an override for the current downstream channel frequency. This is the centre frequency of the downstream channel in Hz and is stored as a 32-bit binary number. The downstream frequency MUST be a multiple of 62 500 Hz. + +| Subtype | Length | Value | +|---------|--------|--------------| +| 2.1 | 4 | Rx frequency | + +The CMTS MUST include this sub-TLV. The CM MUST observe this sub-TLV. + +#### 8.3.20.1.2.2 Downstream modulation type + +This TLV specifies the modulation type that is used on the new downstream channel. + +| Subtype | Length | Value | +|---------|--------|------------------------------------------| +| 2.2 | 1 | 0: 64QAM
1: 256QAM
2-255: Reserved | + +The CMTS SHOULD include this sub-TLV. The CM SHOULD observe this sub-TLV. + +#### 8.3.20.1.2.3 Downstream symbol rate + +This TLV specifies the symbol rate that is used on the new downstream channel. + +| Subtype | Length | Value | +|---------|--------|-----------------------------------------------------------------------------------| +| 2.3 | 1 | 0: 5.056941 Msymb/s
1: 5.360537 Msymb/s
2: 6.952 Msymb/s
3-255: Reserved | + +The CMTS SHOULD include this sub-TLV. The CM SHOULD observe this sub-TLV. + +#### 8.3.20.1.2.4 Downstream interleaver depth + +This TLV specifies the parameters "I" and "J" of the downstream interleaver. + +| Subtype | Length | Value | +|---------|--------|----------------------| +| 2.4 | 2 | I: 0-255
J: 0-255 | + +The CMTS SHOULD include this sub-TLV. The CM SHOULD observe this sub-TLV. + +#### 8.3.20.1.2.5 Downstream channel identifier + +This TLV specifies the 8-bit downstream channel identifier of the new downstream channel. + +| Subtype | Length | Value | +|---------|--------|------------------------------| +| 2.5 | 1 | 0-255: Downstream channel ID | + +The CMTS SHOULD include this sub-TLV. The CM SHOULD observe this sub-TLV. + +#### 8.3.20.1.2.6 SYNC Substitution + +When present, this TLV allows the CMTS to inform the CM to wait or not wait for a SYNC message before proceeding. The CMTS MUST have synchronized timestamps between the old and new channel(s) if it instructs the CM not to wait for a SYNC message before transmitting on the new channel. Synchronized timestamps implies that the timestamps are derived from the same clock and contain the same value. + +| Subtype | Length | Value | +|---------|--------|---------------------------------------------------------------------------------------------------------------------------------------------------| +| 2.6 | 1 | 0: Acquire SYNC message on the new downstream channel before proceeding
1: Proceed without first obtaining the SYNC message
2-255: Reserved | + +If this TLV is absent, the CM MUST wait for a SYNC message on the new channel before proceeding. If the CM has to wait for a new SYNC message when changing channels, then operation may be suspended for a time up to the "SYNC interval" (see Annex B) or longer, if the SYNC message is lost or is not synchronized with the old channel(s). + +The CM MUST observe this TLV. + +### 8.3.20.1.3 Initialization technique + +When present, this TLV allows the CMTS to direct the CM as to what level of re-initialization, if any, it MUST perform before it can commence communications on the new channel(s). The CMTS can make this decision based upon its knowledge of the differences between the old and new MAC domains and the PHY characteristics of their upstream and downstream channels. + +Typically, if the move is between upstream and/or downstream channels within the same MAC domain, then the connection profile values may be left intact. If the move is between different MAC domains, then a complete initialization may be performed. + +If a complete re-initialization is not required, some re-ranging may still be required. For example, areas of upstream spectrum are often configured in groups. A DCC-REQ to an adjacent upstream channel within a group may not warrant re-ranging. Alternatively, a DCC-REQ to a non-adjacent upstream channel might require unicast initial ranging whereas a DCC-REQ from one upstream channel group to another might require broadcast initial ranging. Re-ranging may also be required if there is any difference in the PHY parameters between the old and new channels. + +| Subtype | Length | Value | +|---------|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 3 | 1 | 0: Re-initialize the MAC
1: Perform broadcast initial ranging on new channel before normal operation
2: Perform unicast initial ranging on new channel before normal operation
3: Perform either broadcast initial ranging or unicast initial ranging on new channel before normal operation
4: Use the new channel(s) directly without re-initializing or ranging
5-255: Reserved | + +The CM MUST first select the new upstream and downstream channels based upon the upstream channel ID TLV (refer to clause 8.3.20.1.1) and the downstream frequency TLV (refer to clause 8.3.20.1.2.1). The CM MUST follow the directives of these TLVs. For Option 0, the CM MUST begin with the initialization SID. For Options 1 to 4 the CM MUST continue to use the primary SID for ranging. A SID substitution TLV may specify a new primary SID for use on the new channel (refer to clause 8.3.20.1.6.2). + +- **Option 0:** This option directs the CM to perform all the operations associated with initializing the CM (refer to clause 11.2). This includes all the events after acquiring downstream QAM, FEC and MPEG lock and before standard operation (refer to clause 11.3), including obtaining a UCD, ranging, establishing IP connectivity, establishing time of day, transfer of operational parameters, registration and baseline privacy initialization. When this option is used, the only other TLVs in DCC-REQ that are relevant are the upstream channel ID TLV and the downstream parameters TLV. All other DCC-REQ TLVs are irrelevant. +- **Option 1:** If broadcast initial ranging is specified, operation on the new channel could be delayed by several ranging intervals (see Annex B). +- **Option 2:** If unicast initial ranging is specified, operation on the new channel could be delayed by the value of T4 (see Annex B). +- **Option 3:** This value authorizes a CM to use an initial maintenance or station maintenance region, whichever the CM selects. This value might be used when there is uncertainty when the CM may execute the DCC command and thus a chance that it might miss station maintenance slots. +- **Option 4:** This option provides for the least interruption of service, and the CM may continue its normal operation as soon as it has achieved synchronization on the new channel. + +If this TLV is absent, the CM MUST re-initialize the MAC. The CMTS MAY include this TLV. The CM MUST observe this TLV. + +#### 8.3.20.1.4 UCD substitution + +When present, this TLV allows the CMTS to send an upstream channel descriptor message to the CM. This UCD message is intended to be associated with the new upstream and/or downstream channel(s). The CM stores this UCD message in its cache, and uses it after synchronizing to the new channel(s). + +| Type | Length | Value | +|------|--------|----------------------------------| +| 4 | n | UCD for the new upstream channel | + +This TLV includes all parameters for the UCD message as described in clause 8.3.3 except for the MAC management message header. The CMTS MUST ensure that the change count in the UCD matches the change count in the UCDs of the new channel(s). The CMTS SHOULD ensure that the upstream channel ID for the new channel is different from the upstream channel ID for the old channel. If the upstream channel IDs for the old and new channels are identical, the CMTS MUST include this TLV. The ranging required parameter in the new UCD does not apply in this context, since the functionality is covered by the initialization technique TLV. + +If the length of the UCD exceeds 254 bytes, the UCD MUST be fragmented into two or more successive type 4 elements. Each fragment, except the last, MUST be 254 bytes in length. The CM reconstructs the UCD substitution by concatenating the contents (value of the TLV) of successive type 4 elements in the order in which they appear in the DCC-REQ message. For example, the first byte following the length field of the second type 4 element is treated as if it immediately follows the last byte of the first type 4 element. + +If the CM has to wait for a new UCD message when changing channels, then operation may be suspended for a time up to the "UCD interval" (see Annex B) or longer, if the UCD message is lost. + +The CM MUST observe this TLV, even if the upstream channel ID and the UCD change count match the old channel. + +#### 8.3.20.1.5 Security association identifier (SAID) substitution + +When present, this TLV allows the CMTS to replace the security association identifier (SAID) in the current service flow with a new security association identifier. The baseline privacy keys associated with the SAID MUST remain the same. The CM does not have to simultaneously respond to the old and new SAID. + +| Subtype | Length | Value | +|---------|--------|--------------------------------------------------------------------------------------------------------| +| 6 | 4 | Current SAID (lower-order 14 bits of a 16-bit field), new SAID (lower-order 14 bits of a 16-bit field) | + +If this TLV is absent, the current security association identifier assignment is retained. The CMTS MAY include this TLV. The CM MUST observe this TLV. + +#### 8.3.20.1.6 Service flow substitutions + +When present, this TLV allows the CMTS to replace specific parameters within the current service flows on the current channel assignment with new parameters for the new channel assignment. One TLV is used for each service flow that requires changes in parameters. The CMTS may choose to do this to help facilitate setting up new QoS reservations on the new channel before deleting QoS reservations on the old channel. The CM does not have to simultaneously respond to the old and new service flows. + +This TLV allows resource assignments and services to be moved between two independent ID value spaces and scheduling entities by changing the associated IDs and indices. ID value spaces that may differ between the two channels include the service flow identifier and the service ID. This TLV does not allow changes to service flow QoS parameters. + +The service class names used within the service flow ID should remain identical between the old and new channels. + +| Type | Length | Value | +|------|--------|------------------| +| 7 | n | List of subtypes | + +If this TLV is absent for a particular service flow, then the current service flow and its attributes are retained. The CMTS MAY include this TLV. The CM MUST observe this TLV. + +##### 8.3.20.1.6.1 Service flow identifier substitution + +This TLV allows the CMTS to replace the current service flow identifier (SFID) with a new service flow identifier. Refer to clause C.2.2.3.2 for usage details. + +This TLV MUST be present if any other service flow subtype substitutions are made. If this TLV is included and the service flow ID is not changing, then the current and new service flow ID will be set to the same value. + +| Subtype | Length | Value | +|---------|--------|----------------------------------------------| +| 7.1 | 8 | Current service flow ID, new service flow ID | + +The CMTS MUST include this Sub-TLV. The CM MUST observe this Sub-TLV. + +##### 8.3.20.1.6.2 Service identifier substitution + +When present, this TLV allows the CMTS to replace the service identifier (SID) in the current upstream service flow with a new service identifier. Refer to clause C.2.2.3.3 for usage details. + +| Subtype | Length | Value | +|---------|--------|---------------------------------------------------------------------------------------------------------| +| 7.2 | 4 | Current SID (lower-order 14 bits of a 16-bit field),
new SID (lower-order 14 bits of a 16-bit field) | + +If this TLV is absent, the current service identifier assignments are retained. The CMTS MAY include this TLV. The CM MUST observe this TLV. + +#### 8.3.20.1.6.3 Unsolicited grant time reference substitution + +When present, this TLV allows the CMTS to replace the current unsolicited grant time reference with a new unsolicited grant time reference. Refer to clause C.2.2.6.11 for usage details. + +This TLV is useful if the old and new upstream use different time bases for their timestamps. This TLV is also useful if the unsolicited grant transmission window is moved to a different point in time. Changing this value may cause operation to temporarily exceed the jitter window specified by clause C.2.2.6.8. + +| Subtype | Length | Value | +|---------|--------|---------------| +| 7.5 | 4 | New reference | + +If this TLV is absent, the current unsolicited grant time reference is retained. The CMTS MAY include this TLV. The CM MUST observe this TLV. + +#### 8.3.20.1.7 CMTS MAC address + +When present, this TLV allows the current CMTS to send the MAC address of the destination CMTS corresponding to the target downstream frequency. + +| Type | Length | Value | +|------|--------|---------------------------------| +| 8 | 6 | MAC address of destination CMTS | + +The CMTS MUST include this TLV if the CM is changing downstream channels and UCD substitution is specified or if the CM is changing downstream channels and using initialization technique 4. The CM SHOULD observe this TLV. + +### 8.3.21 Dynamic channel change response (DCC-RSP) + +A dynamic channel change response MUST be transmitted by a CM in response to a received dynamic channel change request message to indicate that it has received and is complying with the DCC-REQ. The format of a DCC-RSP message MUST be as shown in Figure 8-39. + +![Diagram of the Dynamic channel change response message structure. The message is 32 bits (0-31) long. The first 32 bits are the MAC management message header. The next 24 bits are divided into Transaction ID (16 bits) and Confirmation code (8 bits). The remaining 8 bits are TLV encoded information. The diagram shows the header, Transaction ID, Confirmation code, and TLV encoded information. The label J.122_F8-39 is at the bottom right.](f5f5c0161d7d582a5a4c7227eb4e8eb0_img.jpg) + +Bit 0 8 16 24 31 + +| | | | +|-------------------------------|-------------------|--| +| MAC management message header | | | +| Transaction ID | Confirmation code | | +| TLV encoded information | | | + +J.122\_F8-39 + +Diagram of the Dynamic channel change response message structure. The message is 32 bits (0-31) long. The first 32 bits are the MAC management message header. The next 24 bits are divided into Transaction ID (16 bits) and Confirmation code (8 bits). The remaining 8 bits are TLV encoded information. The diagram shows the header, Transaction ID, Confirmation code, and TLV encoded information. The label J.122\_F8-39 is at the bottom right. + +**Figure 8-39 – Dynamic channel change response** + +Before it begins to switch to a new upstream or downstream channel, a CM MUST transmit a DCC-RSP on its existing upstream channel. When a CM receives a DCC-REQ message requesting that it switch to an upstream and downstream channel that it is already using or requesting that it switch to only an upstream or downstream channel that it is already using, the CM MUST respond with a DCC-RSP message on that channel indicating that it is already using the correct channel. + +A CM MAY ignore a DCC-REQ message while it is in the process of performing a channel change. + +After switching to a new channel, if the MAC was not re-initialized per DCC-REQ initialization TLV, option 0, the CM MUST send a DCC-RSP message to the CMTS. A DCC-RSP MUST NOT be sent if the CM re-initializes its MAC. + +The full procedure for changing channels is described in clause 11.4.5. + +Parameters MUST be as follows: + +- **Transaction ID:** A 16-bit transaction ID from corresponding DCC-REQ. +- **Confirmation code:** An 8-bit confirmation code as described in clause C.4.1. + +The following parameters are optional and are coded as TLV tuples: + +- **CM jump time:** Timing parameters describing when the CM will make the jump. + +Regardless of success or failure, if privacy is enabled for the CM, the DCC-RSP MUST contain: + +- **Key sequence number:** The key sequence number of the auth key, which is used to calculate the HMAC-Digest (refer to clause C.1.4.3). +- **HMAC-Digest:** The HMAC-Digest attribute is a keyed message digest (to authenticate the sender). The HMAC-Digest attribute MUST be the final attribute in the dynamic channel change message's attribute list (refer to clause C.1.4.1). + +### 8.3.21.1 Encodings + +The type values used MUST be those shown below. These are unique within the dynamic channel change response message, but not across the entire MAC message set. + +#### 8.3.21.1.1 CM jump time + +When present, this TLV allows the CM to indicate to the CMTS when the CM plans to perform its jump and be disconnected from the network. With this information, the CMTS MAY take + +preventative measures to minimize or to eliminate packet drops in the downstream due to the channel change. + +| Type | Length | Value | +|------|--------|-------| +| 1 | n | | + +The time reference and units of time for these sub-TLVs is based upon the same 32-bit time base used in the SYNC message on the current downstream channel. This timestamp is incremented by a 10.24-MHz clock. + +The CM SHOULD include this TLV. The CMTS SHOULD observe this TLV. + +#### 8.3.21.1.1.1 Length of jump + +This TLV indicates to the CMTS the length of the jump from the previous channel to the new channel. Specifically, it represents the length of time that the CM will not be able to receive data in the downstream. + +| Subtype | Length | Value | +|---------|--------|-------------------------------| +| 1 | 4 | Length (based upon timestamp) | + +The CM MUST include this sub-TLV. + +#### 8.3.21.1.1.2 Start time of jump + +When present, this TLV indicates to the CMTS the time in the future that the CM is planning on making the jump. + +| Subtype | Length | Value | +|---------|--------|----------------------------------------------------------------------------------| +| 2 | 8 | Start time (based upon timestamp), accuracy of start time (based upon timestamp) | + +The 32-bit, 10.24 MHz time base rolls over approximately every 7 minutes. If the value of the start time is less than the current timestamp, the CMTS will assume one roll-over of the timestamp counter has elapsed. The accuracy of the start time is an absolute amount of time before and after the start time. + +The potential jump window is from (start time – accuracy) to (start time + accuracy + length). + +The CM SHOULD include this TLV. + +#### 8.3.22 Dynamic channel change acknowledge (DCC-ACK) + +A dynamic channel change acknowledge MUST be transmitted by a CMTS in response to a received dynamic channel change response message on the new channel with its confirmation code set to arrive(181). The format of a DCC-ACK message MUST be as shown in Figure 8-40. + +![Diagram of Dynamic channel change acknowledge message structure. The diagram shows a 32-bit message (bits 0 to 31). The top section is the 'MAC management message header' (bits 0-31). Below it is the 'Transaction ID' (bits 0-15). The bottom section is 'TLV encoded information' (bits 16-31). The diagram is labeled J.122_F8-40.](2fa686ed8033ac35efddee0c7be47d59_img.jpg) + +The diagram illustrates the structure of a 32-bit message. At the top, a box labeled 'MAC management message header' spans from bit 0 to bit 31. Below this, a box labeled 'Transaction ID' spans from bit 0 to bit 15. The bottom section, labeled 'TLV encoded information', spans from bit 16 to bit 31. The diagram is labeled J.122\_F8-40. + +Diagram of Dynamic channel change acknowledge message structure. The diagram shows a 32-bit message (bits 0 to 31). The top section is the 'MAC management message header' (bits 0-31). Below it is the 'Transaction ID' (bits 0-15). The bottom section is 'TLV encoded information' (bits 16-31). The diagram is labeled J.122\_F8-40. + +**Figure 8-40 – Dynamic channel change acknowledge** + +Parameters MUST be as follows: + +- **Transaction ID:** A 16-bit transaction ID from corresponding DCC-RSP. + +If privacy is enabled, the DCC-ACK message MUST contain: + +- **Key sequence number:** The key sequence number of the auth key, which is used to calculate the HMAC-Digest (refer to clause C.1.4.3). +- **HMAC-Digest:** The HMAC-Digest attribute is a keyed message digest (to authenticate the sender). The HMAC-Digest attribute MUST be the final attribute in the dynamic channel change message's attribute list (refer to clause C.1.4.1). + +### 8.3.23 Device class identification request (DCI-REQ) + +A CM MAY implement the DCI-REQ message. + +When implemented, a CM MUST transmit a DCI-REQ immediately following receipt of a ranging complete indication from the CMTS. A CM MUST NOT continue with initialization until a DCI-RSP message is received from the CMTS. Timeout and retry information is provided in Annex B, "parameters and constants". + +The DCI-REQ MUST be formatted as shown in Figure 8-41. + +![Diagram of Device class identification request (DCI-REQ) packet structure. The packet is 32 bits long, with bit positions 0, 8, 16, 24, and 31 marked. The top section is the MAC management message header. Below it, the first 8 bits (0-7) are the SID. The next 8 bits (8-15) are the first part of the Device class field. The remaining 16 bits (16-31) are the second part of the Device class field, labeled 'Device class (cont.)'. The bottom section is the TLV encoded information.](88c92858439684b2103e88cb143fb98e_img.jpg) + +Bit 0 8 16 24 31 + +MAC management message header + +SID Device class + +Device class (cont.) + +TLV encoded information + +J.122\_F8-41 + +Diagram of Device class identification request (DCI-REQ) packet structure. The packet is 32 bits long, with bit positions 0, 8, 16, 24, and 31 marked. The top section is the MAC management message header. Below it, the first 8 bits (0-7) are the SID. The next 8 bits (8-15) are the first part of the Device class field. The remaining 16 bits (16-31) are the second part of the Device class field, labeled 'Device class (cont.)'. The bottom section is the TLV encoded information. + +**Figure 8-41 – Device class identification request** + +Parameters MUST be as follows: + +- **SID:** The temporary SID assigned during ranging. +- **Device class:** This is a 32-bit field where individual bits represent individual attributes of the CM. Bit #0 is the LSB of the field. Bits are set to 1 to select the attributes defined below: + - bit #0: CPE controlled cable modem (CCCM). + - bits #1-31: Reserved and must be set to zero. + +**8.3.24 Device class identification response (DCI-RSP)** + +A DCI-RSP MUST be transmitted by a CMTS in response to a received DCI-REQ. + +The DCI-RSP MUST be formatted as shown in Figure 8-42. + +![Diagram of Device class identification response (DCI-RSP) packet structure. The packet is 32 bits long, with bit positions 0, 8, 16, 24, and 31 marked. The top section is the MAC management message header. Below it, the first 8 bits (0-7) are the SID. The next 8 bits (8-15) are the first part of the Device class field, labeled 'Device class (cont.)'. The next 8 bits (16-23) are the Confirmation code. The remaining 8 bits (24-31) are the second part of the Device class field. The bottom section is the TLV encoded information.](1db1724d23ebada3bc4c8fc665159897_img.jpg) + +Bit 0 8 16 24 31 + +MAC management message header + +SID Device class + +Device class (cont.) Confirmation code + +TLV encoded information + +J.122\_F8-42 + +Diagram of Device class identification response (DCI-RSP) packet structure. The packet is 32 bits long, with bit positions 0, 8, 16, 24, and 31 marked. The top section is the MAC management message header. Below it, the first 8 bits (0-7) are the SID. The next 8 bits (8-15) are the first part of the Device class field, labeled 'Device class (cont.)'. The next 8 bits (16-23) are the Confirmation code. The remaining 8 bits (24-31) are the second part of the Device class field. The bottom section is the TLV encoded information. + +**Figure 8-42 – Device class identification response** + +Parameters MUST be as follows: + +- **SID:** The SID received in the associated DCI-REQ. +- **Device class:** The device class field as received in the associated DCI-REQ. +- **Confirmation code:** Refer to clause C.4. + +The CMTS MUST use only one of three confirmation codes in the DCI-RSP. + +- If the response is reject-temporary(3), the CM MUST reset its DCI-REQ retry counter to zero and MUST resend the DCI-REQ and wait for the DCI-RSP before proceeding. +- If the response is reject-permanent(4), the CM MUST abort this registration attempt and MUST begin re-scanning for a different downstream channel. The CM MUST NOT retry this channel until it has tried all other DOCS downstream channels on the network. +- If the response is success(0), the CM MUST continue with registration. + +The CMTS MUST retain the device class information for use in the DHCP process. The CMTS MUST create a DHCP agent option 82 tuple with the device class information and MUST insert this tuple in the DHCPDISCOVER from the corresponding CM before forwarding that DHCPDISCOVER to the DHCP server. + +### 8.3.25 Upstream transmitter disable (UP-DIS) MAC management message + +The UP-DIS message provides additional functionality to permanently or temporarily disable the modem, as well as to disable the modem for a specified period of time. It is used to control the admission of certain modem types and groups to the network as early as immediately before registration. It can also be used for network troubleshooting, disabling modems that violate network policies, or for avoiding request floods in a large network when the CMTS goes on-line. + +This message is stateless and can be issued by the CMTS at any time. The UP-DIS message is sent from a CMTS to a CM; there is no response from the CM transmitted back to the CMTS. UP-DIS messages may be unicast, in which case the destination address in the MAC header is the address of the selected CM; or multicast, in which case the destination address is a well-known MAC multicast address (see Annex A for details on well-known addresses). + +The CMTS MUST be capable of transmitting the UP-DIS message. The CMTS can transmit UP-DIS messages either as a result of a triggering event detected by the CMTS internally, or in response to a remote management command. Mechanisms for setting up, detecting and reporting situations where the transmission of an UP-DIS message might be appropriate are implementation-dependent. Similarly, signalling, which remotely instructs the CMTS to transmit a UP-DIS message, is outside the scope of this Recommendation. One of the possible implementations may be SNMP commands sent to the CMTS over the network. + +CMs SHOULD support the UP-DIS message in order to ease network management. + +Since the UP-DIS mechanism at the CM is stateless and the CMs do not retain disabled status after a power cycle, the CMTS MAY incorporate mechanisms to track disabled CMs by their MAC addresses. The CMTS would resend an UP-DIS message as appropriate to the modems that were permanently disabled by the network operator, and then power-cycled by the user in an attempt to re-register. However, the same function may also be implemented by the provisioning infrastructure on modem registration; therefore, if the CMTS is unable to track disabled modems autonomously, it SHOULD be able to send a UP-DIS in response to an external command. + +The UP-DIS message MUST be formatted as shown in Figure 8-43. + +![Diagram of UP-DIS message format showing a 32-bit structure. The top row indicates bit positions 0, 8, 16, 24, and 31. The first field is the MAC management message header. The second field is the UP-DIS timeout interval, which is a 32-bit unsigned integer. A note below the diagram reads J.122_F8-43.](86c74ee06f834f849f6cd094ca0b5867_img.jpg) + +| | | | | | +|----------------------------------------------------------|---|----|----|----| +| Bit 0 | 8 | 16 | 24 | 31 | +| MAC management message header | | | | | +| UP-DIS timeout interval (0 = Off forever, FFFFFFFF = On) | | | | | + +J.122\_F8-43 + +Diagram of UP-DIS message format showing a 32-bit structure. The top row indicates bit positions 0, 8, 16, 24, and 31. The first field is the MAC management message header. The second field is the UP-DIS timeout interval, which is a 32-bit unsigned integer. A note below the diagram reads J.122\_F8-43. + +**Figure 8-43 – UP-DIS message format** + +The only parameter is UP-DIS timeout interval, which MUST be encoded as follows. + +UP-DIS timeout interval is a 32-bit, unsigned integer representing the disable timeout interval in milliseconds. There are two special values defined: + +- 00000000 permanently disables the upstream of the modem, as described below. +- FFFFFFFF remotely re-initializes the MAC, which resumes the normal operation of the modem. + +The CM MUST autonomously disable its upstream transmitter immediately upon receipt of an UP-DIS message with UP-DIS timeout interval = 0, regardless of any other transaction state (refer to clause 11), or the state of its control programme. The modem stops all transmissions, but continues to listen to the MAC messages sent in the downstream. Once disabled, the CM upstream transmitter MUST only be re-enabled by power cycling the CM, or by an UP-DIS message with UP-DIS timeout interval = FFFFFFFF. All other UP-DIS messages MUST be ignored when the upstream is disabled. + +If supported, the CM MUST autonomously reset its upstream transmitter upon receipt of an UP-DIS message with UP-DIS time-out interval = FFFFFFFF, regardless of any other transaction state (refer to clause 11), or the state of its control program. Resetting allows the modem to resume transmissions. + +Additional non-zero timeout values in the UP-DIS message SHOULD be supported. If supported, the CM MUST autonomously disable its upstream transmitter immediately upon receipt of an UP-DIS message with UP-DIS timeout interval $T > 0$ for a period of $T$ ms, regardless of any other transaction state (refer to clause 11), or the state of its control program. Although the timeout $T$ is specified in ms, the CM MAY extend the specified timeout by up to 100 ms. When timeout expires, the CM SHOULD re-initialize the MAC as appropriate, starting with the initial ranging process and registration, because there is no guarantee that the CMTS has not de-registered it. In the disabled state, all other UP-DIS messages MUST be ignored, except for an UP-DIS message with UP-DIS timeout interval = FFFFFFFF or 00000000. + +### 8.3.26 Initial ranging request (INIT-RNG-REQ) + +A ranging request MUST be transmitted by a CM at initialization to determine network delay and request power adjustment. This message MUST use an FC\_TYPE = MAC-specific header and FC\_PARM = timing MAC header. This MUST be followed by a packet PDU in the format shown in Figure 8-44. + +![Diagram of a Packet PDU following the timing header. The diagram shows a 32-bit word structure. The top part is the 'MAC management message header', which is 16 bits long (bits 0 to 15). The bottom part is divided into three fields: 'SID' (bits 0 to 15), 'Downstream channel ID' (bits 16 to 23), and 'Upstream channel ID' (bits 24 to 31). The bit positions 0, 8, 16, 24, and 31 are marked at the top. There are break symbols on the left and right sides of the header section. The label 'J.122_F8-44' is in the bottom right corner.](f2a3faa7fc860dd26eda5b88460b0bcf_img.jpg) + +Diagram of a Packet PDU following the timing header. The diagram shows a 32-bit word structure. The top part is the 'MAC management message header', which is 16 bits long (bits 0 to 15). The bottom part is divided into three fields: 'SID' (bits 0 to 15), 'Downstream channel ID' (bits 16 to 23), and 'Upstream channel ID' (bits 24 to 31). The bit positions 0, 8, 16, 24, and 31 are marked at the top. There are break symbols on the left and right sides of the header section. The label 'J.122\_F8-44' is in the bottom right corner. + +**Figure 8-44 – Packet PDU following the timing header** + +The INIT-RNG-REQ differs from the RNG-REQ in that it is only transmitted in broadcast initial ranging opportunities and **MUST NOT** be transmitted on a logical upstream that is not a DOCS 2.0-only upstream. It also has an upstream channel ID in place of the pending till complete field in a RNG-REQ. + +Parameters **MUST** be as follows: + +- **SID:** + - Initialization SID if modem is attempting to join the network. + - Initialization SID if modem has not yet registered and is changing downstream, or both downstream and upstream channels, as directed by a downloaded parameter file. + - Primary SID (previously assigned in REG-RSP) if modem is registered and is changing upstream channels; if the CM is redoing initial ranging as a result of a DCC, UCC, or UCD change (see clauses 8.3.3 and 11.3.2); or if the CM is redoing initial ranging as a result of a temporary loss of downstream signal, while in S-CDMA mode (see clause 11.2.1). + +This is a 16-bit field of which the lower 14 bits define the SID with bits 14 and 15 defined to be 0. + +- **Downstream channel ID:** The identifier of the downstream channel on which the CM received the UCD which described this upstream. This is an 8-bit field. +- **Upstream channel ID:** The upstream channel ID from the UCD the CM is using to transmit this INIT-RNG-REQ. In the case where multiple logical upstreams are sharing the same spectrum, and the broadcast initial ranging opportunities of some of these logical channels are aligned, this allows the CMTS to know which logical channel the CM is using. + +A CM **MUST** set the RSVD field of the MAC management message header to report support of the S-CDMA maximum scheduled codes if, and only if, the CMTS indicated that it supports the S-CDMA maximum scheduled codes from TLV-17 of the UCD for the upstream channel on which the CM is ranging. In this case, the CM **MUST** report the maximum ratio of number of active codes to maximum scheduled codes that the CM can support; this ratio is indicated by a bit mask in the reserved field as shown below. For example, if the number of active codes on the channel is 128 and the CM supports a minimum of 64 scheduled codes (the minimum number of allowed active codes), the CM would report a ratio of 2. The CMTS will use this value in calculating an appropriate value for maximum scheduled codes to assign to the CM. The CM **SHOULD** support a maximum ratio of 32. + +When the CM reports support for the S-CDMA maximum scheduled codes, the CM **MUST** also report its current transmit power shortfall (in dB). The CM power shortfall is the difference between the current target transmit power of the ranging request and the maximum S-CDMA spreader-on transmit power of 53 dBmV. The CM **MUST** report a power shortfall of 0 if the current target + +transmit power of the ranging request is less than or equal to 53 dBmV. This value will be used by the CMTS for calculating appropriate values for S-CDMA maximum scheduled codes and S-CDMA power headroom for the CM. + +The format of the RSVD field is: + +| | | | +|----------------------------------------------------|------------------------------------------------------------------------------------------|------------------------------------------| +| Bit 7: 1= S-CDMA maximum scheduled codes supported | Bits 6 to 5: CM maximum ratio of:

00 = 2
01 = 8
10 = 16
11 = 32 | Bits 4 to 0: CM power shortfall (1/4 dB) | +|----------------------------------------------------|------------------------------------------------------------------------------------------|------------------------------------------| + +### 8.3.27 Test request (TST-REQ) + +The test request is used to force a CM to enter or leave one of two test modes. The TST-REQ message with Mode!= 0 MUST NOT be sent by the CMTS except in response to an explicit command from the operator. + +![Diagram of the Test request (TST-REQ) message structure. It shows a 32-bit word with bit positions 0, 8, 16, 24, and 31. The first 16 bits (bits 0-15) are the MAC management message header. The next 8 bits (bits 16-23) are the Mode field. The final 8 bits (bits 24-31) are TLV encoded information for the channel.](a9042d8edc99d26ea117a7d56e171d8e_img.jpg) + +| | | | | | | +|-----|-------------------------------|---|--------------------------------------------|----|----| +| Bit | 0 | 8 | 16 | 24 | 31 | +| | MAC management message header | | | | | +| | Mode | | TLV encoded
information for the channel | | | + +Diagram of the Test request (TST-REQ) message structure. It shows a 32-bit word with bit positions 0, 8, 16, 24, and 31. The first 16 bits (bits 0-15) are the MAC management message header. The next 8 bits (bits 16-23) are the Mode field. The final 8 bits (bits 24-31) are TLV encoded information for the channel. + +Figure 8-45 – Test request + +Parameters MUST be as follows: + +- **Mode:** + - 0 = Disable all test modes and reboot. + - 1 = Transmit a continuous (non-bursted) upstream signal at the commanded modulation rate, carrier frequency and power level. The chip sequence at the spreader output is replaced with an alternating binary sequence (1, -1, 1, -1, 1, -1, ...) at nominal amplitude, equal on I and Q. The CM tracks the downstream symbol clock and uses it to generate the upstream symbol clock as in normal synchronous operation. + - 2 = Transmit a continuous (non-bursted), unmodulated (CW) upstream signal at the commanded carrier frequency, modulation rate and power level. This is equivalent to replacing the chip sequence at the spreader output with the constant sequence (1, 1, 1, 1, 1, 1, ...) at nominal amplitude, equal on both I and Q. The CM tracks the downstream symbol clock and uses it to generate the upstream symbol clock as in normal synchronous operation. + +In normal operation, the CM MUST ignore any TST-REQ message it receives subsequent to receiving the first SYNC message. Note that this makes it less convenient to use this test mode with a CMTS, since the CMTS may send a SYNC message before the CM sees a TST-REQ message. + +After acquiring a downstream signal, and prior to receiving a SYNC message, if the CM receives a TST-REQ message (either unicast to the CM itself, or broadcast) with Mode $\neq 0$ , the CM MUST begin the test mode indicated in the mode parameter, using the channel parameters included in the TST-REQ message. + +In test mode, if the CM receives a TST-REQ message (either unicast to the CM itself, or broadcast) with Mode = 0, the CM MUST reboot. The CM MUST reboot after the expiration of the T16 timer, a 30 minute test mode timer. + +The TST-REQ message MUST be generated in the format shown in Figure 8-45, including all of the parameters coded as TLV-tuples defined in Table 8-22. + +**Table 8-22 – Channel TLV parameters** + +| Name | Type
(1 byte) | Length
(1 byte) | Value
(variable length) | +|---------------------------------|------------------|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Modulation rate | 1 | 1 | Multiples of base rate of 160 kHz (value is 1, 2, 4, 8, 16 or 32).
This TLV MUST be present if the test mode is 1. | +| Frequency | 2 | 4 | Upstream carrier frequency (Hz).
This TLV MUST be present if the test mode is 1 or 2. | +| Power | 3 | 1 | This TLV specifies the power (unsigned 8-bit, dBmV units) at which the CM MUST transmit the TST-REQ message.
This TLV MUST be present if the test mode is 1 or 2. | +| S-CDMA US ratio numerator 'M' | 4 | 2 | The numerator (M) of the M/N ratio relating the downstream symbol clock to the upstream modulation clock.
This TLV MUST be present if the test mode is 1.
This TLV MUST be present if the test mode is 2 and the operation is synchronous. | +| S-CDMA US ratio denominator 'N' | 5 | 2 | The denominator (N) of the M/N ratio relating the downstream symbol clock to the upstream modulation clock.
This TLV MUST be present if the test mode is 1.
This TLV MUST be present if the test mode is 2 and the operation is synchronous. | + +## 9 Media access control protocol operation + +### 9.1 Upstream bandwidth allocation + +The upstream channel is modelled as a stream of mini-slots. The CMTS MUST generate the time reference for identifying these slots. It MUST also control access to these slots by the cable modems. For example, it MAY grant some number of contiguous slots to a CM for it to transmit a data PDU. The CM MUST time its transmission so that the CMTS receives it in the time reference specified. This clause describes the elements of protocol used in requesting, granting and using upstream bandwidth. The basic mechanism for assigning bandwidth management is the allocation MAP. Please refer to Figure 9-1. + +![Diagram of the Allocation MAP structure. At the top, a 'Map PDU' box is shown being transmitted on the downstream channel by the CMTS. Lines from this box point to a horizontal timeline below labeled 'Permitted use of the upstream channel'. This timeline is divided into segments. Below this, a more detailed view shows 'Mini-slots' indicated by a horizontal arrow. These mini-slots are allocated for different purposes: 'CM Tx opportunity' (rounded rectangles), 'Request contention area' (rectangle), another 'CM Tx opportunity', and 'Maintenance' (hexagon). The diagram also indicates 'Previous map', 'Current map', and 'As-yet unmapped time' along the bottom timeline.](5c690861d263afceef4f7ab56ab13264_img.jpg) + +The diagram illustrates the Allocation MAP structure. At the top, a 'Map PDU' is shown being transmitted on the downstream channel by the CMTS. Below this, a horizontal bar represents the 'Permitted use of the upstream channel', divided into several segments. A callout from the Map PDU points to this bar. Below the bar, a sequence of 'Mini-slots' is shown, indicated by a horizontal arrow. The mini-slots are grouped into three main categories: 'CM Tx opportunity', 'Request contention area', and 'Maintenance'. The 'CM Tx opportunity' segments are shown as rounded rectangles, the 'Request contention area' as a rectangle, and the 'Maintenance' segment as a hexagon. The diagram also shows the transition from 'Previous map' to 'Current map' and 'As-yet unmapped time'. + +Diagram of the Allocation MAP structure. At the top, a 'Map PDU' box is shown being transmitted on the downstream channel by the CMTS. Lines from this box point to a horizontal timeline below labeled 'Permitted use of the upstream channel'. This timeline is divided into segments. Below this, a more detailed view shows 'Mini-slots' indicated by a horizontal arrow. These mini-slots are allocated for different purposes: 'CM Tx opportunity' (rounded rectangles), 'Request contention area' (rectangle), another 'CM Tx opportunity', and 'Maintenance' (hexagon). The diagram also indicates 'Previous map', 'Current map', and 'As-yet unmapped time' along the bottom timeline. + +J.122\_F9-1 + +**Figure 9-1 – Allocation MAP** + +The allocation MAP is a MAC management message transmitted by the CMTS on the downstream channel which describes, for some interval, the uses to which the upstream mini-slots MUST be put. A given MAP MAY describe some slots as grants for particular stations to transmit data in, other slots as available for contention transmission, and other slots as an opportunity for new stations to join the link. + +Many different scheduling algorithms MAY be implemented in the CMTS by different vendors; this Recommendation does not mandate a particular algorithm. Instead, it describes the protocol elements by which bandwidth is requested and granted. + +The bandwidth allocation includes the following basic elements: + +- Each CM has one or more short (14-bit) service identifiers (SIDs) as well as a 48-bit address. +- Upstream bandwidth is divided into a stream of mini-slots. Each mini-slot is numbered relative to a master reference maintained by the CMTS. The master reference is distributed to the CMs by means of SYNC and UCD packets (see clause 6.2.11.2). +- CMs may issue requests to the CMTS for upstream bandwidth. + +The CMTS MUST transmit allocation MAP PDUs on the downstream channel defining the allowed usage of each mini-slot. The MAP is described below. + +### 9.1.1 The allocation MAP MAC management message + +The allocation MAP is a varying-length MAC management message that is transmitted by the CMTS to define transmission opportunities on the upstream channel. It includes a fixed-length + +header followed by a variable number of information elements (IEs) in the format shown in clause 8.3.4. Each information element defines the allowed usage for a range of mini-slots. + +NOTE – For TDMA channels, it should be understood by both CM and CMTS that the lower (26-M) bits of alloc start and ack times MUST be used as the effective MAP start and ack times, where M is defined in clause 8.3.3. The relationship between alloc start/ack time counters and the timestamp counter is further described in clause 9.3.4. For DOCS 2.0 S-CDMA channels, the alloc start/ack time counters are defined in mini-slots that are related to the timestamp counter, frame counter and S-CDMA timestamp snapshot as described in clause 6.2.11.2. + +### 9.1.2 Information elements + +Each IE consists of a 14-bit service ID, a 4-bit type code, and a 14-bit starting offset as defined in clause 8.3.4. Since all stations MUST scan all IEs, it is critical that IEs be short and relatively fixed format. IEs within the MAP are strictly ordered by starting offset. For most purposes, the duration described by the IE is inferred by the difference between the IE's starting offset and that of the following IE. For this reason, a null IE MUST terminate the list. Refer to Table 8-20. + +Five types of service IDs are defined: + +- 1) 0x3FFF – Broadcast; intended for all stations. +- 2) 0x3E00-0x3FFE – Multicast; purpose is defined administratively. Refer to Annex A. +- 3) 0x2000-0x3DFF – Expanded unicast; intended for a particular CM or a particular service within that CM, when supported by both the CM and CMTS. +- 4) 0x0001-0x1FFF – Unicast; intended for a particular CM or a particular service within that CM. +- 5) 0x0000 – Null address; addressed to no station. + +A CM MUST support the expanded unicast SID space. A CMTS MAY support the expanded unicast SID space. + +Unicast SIDs (including expanded unicast SIDs) MUST be unique on a given logical upstream. The CMTS MAY support unicast SIDs assignments which overlap across multiple logical upstreams within a single MAC-sublayer domain. + +All of the information elements defined below MUST be supported by conformant CMs. Conforming CMTSs MAY use any of these information elements when creating bandwidth allocation MAPs. + +#### 9.1.2.1 The request IE + +The request IE provides an upstream interval in which requests MAY be made for bandwidth for upstream data transmission. The character of this IE changes depending on the class-of-service ID. If broadcast, this is an invitation for CMs to contend for requests. Clause 9.4 describes which contention transmit opportunity may be used. If unicast, this is an invitation for a particular CM to request bandwidth. Unicasts MAY be used as part of a quality of service scheduling scheme (refer to clause 10.2). Packets transmitted in this interval MUST use the request MAC frame format (refer to clause 8.2.5.3). + +A small number of priority request SIDs are defined in clause A.2.3. These allow contention for request IEs to be limited to service flows of a given traffic priority (refer to clause C.2.2.5.1). + +#### 9.1.2.2 The request/data IE + +The request/data IE provides an upstream interval in which requests for bandwidth or short data packets MAY be transmitted. This IE is distinguished from the request IE in that: + +- It provides a means by which allocation algorithms MAY provide for "immediate" data contention under light loads, and a means by which this opportunity can be withdrawn as network loading increases. + +- Multicast service IDs MUST be used to specify maximum data length, as well as allowed random starting points within the interval. For example, a particular multicast ID may specify a maximum of 64-byte data packets, with transmit opportunities every fourth slot. + +A small number of well-known multicast Service IDs are defined in Annex A. Others are available for vendor-specific algorithms. + +Since data packets transmitted within this interval may collide, the CMTS MUST acknowledge any that are successfully received. The data packet MUST indicate in the MAC header that a data acknowledgment is desired (see Table 8-13). + +#### **9.1.2.3 The initial maintenance IE** + +The initial maintenance IE, when used with the broadcast SID, provides an interval in which new stations may join the network. A long interval, equivalent to the maximum round-trip propagation delay plus the transmission time of a ranging request (RNG-REQ) message (see clause 9.3.3), MUST be provided to allow new stations to perform initial ranging. Packets transmitted in this interval MUST use the RNG-REQ or the INIT-RNG-REQ MAC management message format (refer to clauses 8.3.5 and 8.3.26). + +On DOCS 2.0-only upstream channels, the initial maintenance IE MAY be used with a unicast SID. This is done to provide unicast initial maintenance opportunities in place of station maintenance opportunities at the discretion of the CMTS. This may be useful if the first unicast ranging opportunity on an S-CDMA channel needs to have spreader-off just like initial maintenance, but it is not desirable to impose the overhead of having the spreader-off on routine station maintenance. Unicast initial maintenance opportunities only need to be large enough to allow transmission of the ranging request. The CMTS MUST NOT provide unicast initial maintenance opportunities on any logical upstream which is not a DOCS 2.0-only upstream. + +#### **9.1.2.4 The station maintenance IE** + +The station maintenance IE provides an interval in which stations are expected to perform some aspect of routine network maintenance, such as ranging or power adjustment. The CMTS MAY request that a particular CM perform some task related to network maintenance, such as periodic transmit power adjustment. In this case, the station maintenance IE is unicast to provide upstream bandwidth in which to perform this task. Packets transmitted in this interval MUST use the RNG-REQ MAC management message format (see clause 8.3.5). + +#### **9.1.2.5 Short and long data grant IEs** + +The short and long data grant IEs provide an opportunity for a CM to transmit one or more upstream PDUs. These IEs are issued either in response to a request from a station, or because of an administrative policy providing some amount of bandwidth to a particular station (see class-of-service discussion below). These IEs MAY also be used with an inferred length of zero mini-slots (a zero length grant), to indicate that a request has been received and is pending (a data grant pending). + +Short data grants are used with intervals less than or equal to the maximum burst size for this usage specified in the upstream channel descriptor. If short data burst profiles are defined in the UCD, then all long data grants MUST be for a larger number of mini-slots than the maximum for short data. The distinction between long and short data grants may be exploited in physical-layer forward-error-correction coding; otherwise, it is not meaningful to the bandwidth allocation process. + +If this IE is a data grant pending (a zero length grant), it MUST follow the null IE. This allows cable modems to process all actual allocations first, before scanning the MAP for data grants pending and data acknowledgments. + +#### **9.1.2.6 Data acknowledge IE** + +The data acknowledge IE acknowledges that a data PDU was received. The CM MUST have requested this acknowledgment within the data PDU (normally this would be done for PDUs transmitted within a contention interval in order to detect collisions). + +This IE MUST follow the null IE. This allows cable modems to process all actual interval allocations first, before scanning the MAP for data grants pending and data acknowledgments. + +#### **9.1.2.7 Expansion IE** + +The expansion IE provides for extensibility, if more than 16 code points or 32 bits are needed for future IEs. + +#### **9.1.2.8 Null IE** + +A null IE terminates all actual allocations in the IE list. It is used to infer a length for the last interval. All data acknowledge IEs and all data grant pending IEs (data grants with an inferred length of 0) must follow the null IE. + +#### **9.1.2.9 Advanced PHY short and long data grant IEs** + +These IEs are the advanced PHY channel equivalent of the short and long data grant IEs in clause 9.1.2.5. In addition, these IEs allow DOCS 2.0 modems operating in DOCS 2.0 TDMA mode to share the same upstream channel with DOCS 1.x modems. Modems registered in DOCS 1.x mode MUST NOT use these intervals. + +For upstream channels supporting a mixture of DOCS 1.x and DOCS 2.0 TDMA CMs, the CMTS MUST use the SID in the request and the operational state of the CM to distinguish between requests for IUC 5 and 6 data grants and requests for IUC 9 and 10 data grants (refer to clause 11.2.9 for additional information). Once this distinction has been made, the CMTS then uses the request size to distinguish between a long grant and a short grant. + +Once a CMTS has received a REG\_ACK from a 2.0 CM on a type 2 channel, the CMTS MUST NOT send data grants using IUCs 5 or 6 if either IUC 9 or 10 is defined for that upstream channel. This restriction allows the CM to support only 7 burst profiles simultaneously. + +#### **9.1.2.10 Advanced PHY unsolicited grant IE** + +This IE can be used by the CMTS to make unsolicited grants of bandwidth to DOCS 2.0 CMs. If a significant portion of the traffic for an upstream is going to consist of unsolicited grants of a particular size, this IE provides a way for the CMTS to provide a set of physical layer parameters (such as code word length and FEC length) well tailored to that traffic, without compromising the general usefulness of the advanced phy short or advanced phy long data grant IEs. It is never used by the CM to calculate the size of a bandwidth request. The CMTS MUST NOT use it to make grants to DOCS 1.x CMs. + +### **9.1.3 Requests** + +Requests refer to the mechanism that CMs use to indicate to the CMTS that it needs upstream bandwidth allocation. A Request MAY come as a stand-alone request frame transmission (refer to clause 8.2.5.3) or it MAY come as a piggyback request in the EHDR of another frame transmission (refer to clause 8.2.6). + +The request frame MAY be transmitted during any of the following intervals: + +- request IE; +- request/data IE; +- short data grant IE; +- long data grant IE; + +- adv PHY short data grant IE; +- adv PHY long data grant IE; +- adv PHY unsolicited grant IE. + +A piggyback request MAY be contained in the following extended headers: + +- request EH element; +- upstream privacy EH element; +- upstream privacy EH element with fragmentation. + +The request MUST include: + +- the service ID making the request; +- the number of mini-slots requested. + +The CM MUST request the number of mini-slots needed to transmit an entire frame, or a fragment containing the entire remaining portion of a frame that a previous grant has caused to be fragmented. The frame may be a single MAC frame, or a MAC frame that has been formed by the concatenation of multiple MAC frames (see clause 8.2.5.5). The request from the CM MUST be large enough to accommodate the entire necessary physical layer overhead (see clause 6.2) for transmitting the MAC frame or fragment. The CM MUST NOT make a request that would violate the limits on data grant sizes in the UCD message (see clause 8.3.3) or any limits established by QoS parameters associated with the service flow. + +The CM MUST NOT request more mini-slots than are necessary to transmit the MAC frame. This means that if the CM is using short and long data IUCs to transmit data and the frame can fit into a short data grant, the CM MUST use the short data grant IUC attributes to calculate the amount of bandwidth to request and MUST make a request less than or equal to the short data maximum burst size. If the CM is using advanced PHY short and long data IUCs to transmit data and the frame can fit into an advanced PHY short data grant, the CM MUST use the advanced PHY short data grant IUC attributes to calculate the amount of bandwidth to request and MUST make a request less than or equal to the advanced PHY short data maximum burst size. + +The CM MUST have only one request outstanding at a time per service ID. If the CMTS does not immediately respond with a data grant, the CM is able to unambiguously determine that its request is still pending because the CMTS MUST continue to issue a data grant pending in every MAP that has an ack time indicating the request has already been processed until the request is granted or discarded. + +In MAPs, the CMTS MUST NOT make a data grant greater than 255 mini-slots to any assigned service ID. This puts an upper bound on the grant size the CM has to support. + +#### 9.1.4 Information element feature usage summary + +Table 9-1 summarizes what types of frames the CM can transmit using each of the MAP IE types that represent transmit opportunities. A "MUST" entry in the table means that, if appropriate, a compliant CM implementation has to be able to transmit that type of frame in that type of opportunity. A "MAY" entry means that compliant CM implementation does not have to be able to transmit that type of frame in that type of opportunity but that it is legal for it to do so, if appropriate. A "MUST NOT" entry means that a compliant CM will never transmit that type of frame in that type of opportunity. + +**Table 9-1 – IE feature compatibility summary** + +| Information element | Transmit request frame | Transmit concatenated MAC frame | Transmit fragmented MAC frame | Transmit RNG-REQ | Transmit any other MAC frame | +|------------------------------|------------------------|---------------------------------|-------------------------------|------------------|------------------------------| +| Request IE | MUST | MUST NOT | MUST NOT | MUST NOT | MUST NOT | +| Request/data IE | MUST | MAY | MUST NOT | MUST NOT | MAY | +| Initial maintenance IE | MUST NOT | MUST NOT | MUST NOT | MUST | MUST NOT | +| Station maintenance IE | MUST NOT | MUST NOT | MUST NOT | MUST | MUST NOT | +| Short data grant IE | MAY | MUST | MUST | MUST NOT | MUST | +| Long data grant IE | MAY | MUST | MUST | MUST NOT | MUST | +| Adv PHY short data grant IE | MAY | MUST | MUST | MUST NOT | MUST | +| Adv PHY long data grant IE | MAY | MUST | MUST | MUST NOT | MUST | +| Adv PHY unsolicited grant IE | MAY | MUST | MUST | MUST NOT | MUST | + +### 9.1.5 MAP transmission and timing + +The allocation MAP MUST be transmitted in time to propagate across the physical cable and be received and handled by the receiving CMs. As such, it MAY be transmitted considerably earlier than its effective time. The components of the delay are: + +- worst-case round-trip propagation delay – may be network-specific, but on the order of hundreds of microseconds; +- queuing delays within the CMTS – implementation-specific; +- processing delays within the CMs – MUST allow a minimum processing time by each CM as specified in Annex B (CM MAP processing time), which has to include any upstream delays caused by the DOCS 2.0 TDMA; +- downstream delays caused by the PMD-layer framer and the FEC interleaver. + +Within these constraints, vendors may wish to minimize this delay so as to minimize latency of access to the upstream channel. + +The number of mini-slots described MAY vary from MAP to MAP. At minimum, a MAP MAY describe a single mini-slot. This would be wasteful in both downstream bandwidth and in processing time within the CMs. At maximum, a MAP MAY stretch to tens of milliseconds. Such a MAP would provide poor upstream latency. Allocation algorithms MAY vary the size of the maps over time to provide a balance of network utilization and latency under varying traffic loads. + +At minimum, a MAP MUST contain two information elements: one to describe an interval, and a null IE to terminate the list. At a maximum, a MAP MUST be bounded by a limit of 240 information elements. Maps are also bounded in that they MUST NOT describe more than 4096 mini-slots into the future. The latter limit is intended to bound the number of future mini-slots that each CM is required to track. A CM MUST be able to support multiple outstanding MAPs. Even though multiple MAPs may be outstanding, the sum of the number of mini-slots they describe MUST NOT exceed 4096. + +The set of all MAPs, taken together, MUST describe every mini-slot in the upstream channel. If a CM fails to receive a MAP describing a particular interval, it MUST NOT transmit during that interval. + +### 9.1.6 Protocol example + +This clause illustrates the interchange between the CM and the CMTS when the CM has data to transmit (Figure 9-2). Suppose a given CM has a data PDU available for transmission. + +![Figure 9-2 – Protocol example. A sequence diagram showing the interaction between a CMTS and a CM. The CMTS transmits a MAP PDU at t1, which the CM receives at t2. The MAP PDU contains a request IE starting at t3. The CM calculates a random offset t6 and transmits a Request at t4, which arrives at the CMTS at t6. The CMTS receives the request and schedules it for service in the next MAP. The CMTS transmits a second MAP PDU at t7, which the CM receives at t8. This MAP PDU contains a data grant starting at t9. The CM transmits its Data PDU at t10, which arrives at the CMTS at t11. Above the timeline, a box labeled 'Slots mapped by first MAP PDU' spans from t3 to t9, and a box labeled 'Second MAP' spans from t9 to t11. The diagram is labeled J.122_F9-2.](b43ec8e53bbe827c4572d9fd80ebc21a_img.jpg) + +``` + +sequenceDiagram + participant CMTS + participant CM + Note over CMTS, CM: t1 + CMTS->>CM: MAP PDU + Note over CMTS, CM: t2 + Note over CMTS, CM: t3 (Effective start time) + Note over CMTS, CM: t4 + CM->>CMTS: Request + Note over CMTS, CM: t5 (Request IE start) + Note over CMTS, CM: t6 (Request arrival) + Note over CMTS, CM: t7 + CMTS->>CM: MAP PDU + Note over CMTS, CM: t8 + Note over CMTS, CM: t9 (Effective start time) + Note over CMTS, CM: t10 + CM->>CMTS: Data PDU + Note over CMTS, CM: t11 (Data grant start/arrival) + +``` + +Figure 9-2 – Protocol example. A sequence diagram showing the interaction between a CMTS and a CM. The CMTS transmits a MAP PDU at t1, which the CM receives at t2. The MAP PDU contains a request IE starting at t3. The CM calculates a random offset t6 and transmits a Request at t4, which arrives at the CMTS at t6. The CMTS receives the request and schedules it for service in the next MAP. The CMTS transmits a second MAP PDU at t7, which the CM receives at t8. This MAP PDU contains a data grant starting at t9. The CM transmits its Data PDU at t10, which arrives at the CMTS at t11. Above the timeline, a box labeled 'Slots mapped by first MAP PDU' spans from t3 to t9, and a box labeled 'Second MAP' spans from t9 to t11. The diagram is labeled J.122\_F9-2. + +**Figure 9-2 – Protocol example** + +Description: + +- 1) At time $t_1$ , the CMTS transmits a MAP whose effective starting time is $t_3$ . Within this MAP is a request IE which will start at $t_5$ . The difference between $t_1$ and $t_3$ is needed to allow for all the delays discussed in clause 9.1.5. +- 2) At $t_2$ , the CM receives this MAP and scans it for request opportunities. In order to minimize request collisions, it calculates $t_6$ as a random offset based on the data backoff start value in the most recent MAP (see clause 9.4; also, the multicast SID definitions in clause A.2). +- 3) At $t_4$ , the CM transmits a request for as many mini-slots as needed to accommodate the PDU. Time $t_4$ is chosen based on the ranging offset (see clause 9.3.3) so that the request will arrive at the CMTS at $t_6$ . +- 4) At $t_6$ , the CMTS receives the request and schedules it for service in the next MAP (the choice of which requests to grant will vary with the class of service requested, any competing requests, and the algorithm used by the CMTS). +- 5) At $t_7$ , the CMTS transmits a MAP whose effective starting time is $t_9$ . Within this MAP, a data grant for the CM will start at $t_{11}$ . +- 6) At $t_8$ , the CM receives the MAP and scans for its data grant. +- 7) At $t_{10}$ , the CM transmits its data PDU so that it will arrive at the CMTS at $t_{11}$ . Time $t_{10}$ is calculated from the ranging offset as in step 3. + +Steps 1 and 2 need not contribute to access latency if CMs routinely maintain a list of request opportunities. + +At Step 3, the request may collide with requests from other CMs and be lost. The CMTS does not directly detect the collision. The CM determines that a collision (or other reception failure) occurred when the next MAP with an ack time indicating that the request would have been received and processed fails to include an acknowledgment of the request. The CM MUST then perform a back-off algorithm and retry (refer to clause 9.4.1). + +At Step 4, the CMTS scheduler MAY fail to accommodate the request within the next MAP. If so, it MUST reply with a zero-length grant in that MAP or discard the request by giving no grant at all. It MUST continue to report this zero-length grant in all succeeding maps until the request can be granted or is discarded. This MUST signal to the CM that the request is still pending. So long as the CM is receiving a zero-length grant, it MUST NOT issue new requests for that service queue. + +### 9.1.7 MAP generation example – Two logical upstreams + +This clause illustrates the timing requirements for scheduling an S-CDMA and a TDMA logical channel on the same physical channel (Figure 9-3). + +For simplicity, it is assumed that: + +- the duration of the S-CDMA frames is an integral multiple of the duration of the TDMA mini-slots; +- both TDMA and S-CDMA maps begin and end on frame boundaries; +- for the duration of the example, there are no S-CDMA bursts with the spreader-off, and there are no broadcast initial ranging regions where both channels are active. + +![Figure 9-3 – Logical S-CDMA TDMA channels. A timing diagram showing the relationship between S-CDMA and TDMA logical channels over time. The bottom axis represents TDMA mini-slots, with vertical dashed lines indicating frame boundaries. Above this, the CM TDMA logical channel is shown with grants (white boxes) and null grants (shaded boxes labeled 'Null SID'). The top axis shows the S-CDMA logical channel with S-CDMA frames (stacks of horizontal lines). Arrows T1 through T8 indicate key time points: T1 and T2 at the start, T3 and T7 marking the start and end of an S-CDMA map, and T4 and T8 marking the start and end of a TDMA map. A legend at the bottom left defines the symbols for frame boundaries, mini-slot counts, null grants, S-CDMA frames, and TDMA grants.](0b8f0df92a831a94cdac664d8b05f0ec_img.jpg) + +The diagram shows two logical channels: S-CDMA and CM TDMA. The S-CDMA channel has frames represented by stacked horizontal lines. The TDMA channel has mini-slots and grants. Key time points are marked: $T_1$ and $T_2$ are transmission times for maps. $T_3$ to $T_7$ is the S-CDMA map duration. $T_4$ to $T_8$ is the TDMA map duration. During the S-CDMA active period, the TDMA channel has 'Null SID' grants to prevent interference. A legend defines: vertical dashed lines as Frame boundaries, a horizontal line with ticks as Mini-slot count, a shaded box as Null grant (Null SID), a stack of lines as S-CDMA frame, and an empty box as TDMA grant. + +Figure 9-3 – Logical S-CDMA TDMA channels. A timing diagram showing the relationship between S-CDMA and TDMA logical channels over time. The bottom axis represents TDMA mini-slots, with vertical dashed lines indicating frame boundaries. Above this, the CM TDMA logical channel is shown with grants (white boxes) and null grants (shaded boxes labeled 'Null SID'). The top axis shows the S-CDMA logical channel with S-CDMA frames (stacks of horizontal lines). Arrows T1 through T8 indicate key time points: T1 and T2 at the start, T3 and T7 marking the start and end of an S-CDMA map, and T4 and T8 marking the start and end of a TDMA map. A legend at the bottom left defines the symbols for frame boundaries, mini-slot counts, null grants, S-CDMA frames, and TDMA grants. + +J.122\_F9-3 + +Figure 9-3 – Logical S-CDMA TDMA channels + +Description: + +- The example begins at $T_1$ and the first MAP discussed takes effect at $T_3$ . +- At time $T_1$ , the CMTS transmits a S-CDMA map whose effective starting time is $T_3$ and end time is $T_7$ . +- At time $T_2$ , the CMTS transmits a TDMA map whose effective starting time is $T_4$ and end time is $T_8$ . +- At time $T_3$ the S-CDMA map has three frames of S-CDMA grants. The CMTS upstream scheduler must not allow TDMA transmissions to occur at the same time. To prevent the two channels from interfering with each other, the scheduler will mute the TDMA upstream (by granting mini-slots to the null SID for the TDMA channel) during the time S-CDMA is active. +- At time $T_4$ , on a frame boundary, the TDMA channel becomes active. In this example, it has one empty mini-slot (null SID) to guarantee sufficient guard time for the following + +TDMA burst. Then it proceeds with usable TDMA grants. At the same time, the S-CDMA upstream is muted by granting mini-slots to the null SID in every frame. + +- 6) At $T_5$ and $T_6$ , the TDMA logical channel and S-CDMA logical channel transmit the next map for the upstream. Note that Figure 9-3 does not continue to detail the complete maps beginning at $T_7$ and $T_8$ . +- 7) At time $T_7$ , the S-CDMA map sends a group of S-CDMA grants in a frame. Note that when switching from TDMA to S-CDMA, there is no requirement for additional guard time. + +## 9.2 Support for multiple channels + +Vendors may choose to offer various combinations of upstream and downstream channels within one MAC service access point. The upstream bandwidth allocation protocol allows for multiple upstream channels to be managed via one or many downstream channels. Some or all of these multiple upstream channels may even co-exist on the same upstream transmit centre frequency. + +If multiple upstream channels are associated with a single downstream channel, then the CMTS MUST send one allocation MAP per upstream channel. The MAP's channel identifier, taken with the upstream channel descriptor message (see clause 8.3.3), MUST specify to which channel each MAP applies. There is no requirement that the maps be synchronized across channels. Appendix III provides an example. + +If multiple logical upstream channels are associated with the same upstream centre frequency on the same cable segment, then the CMTS MUST ensure that the MAP allocations to each logical upstream channel sharing the same spectrum do not coincide with the potential transmit opportunities of the other logical upstream channels with the possible exception of broadcast initial ranging opportunities. When sharing the upstream between S-CDMA and TDMA channels, the CMTS MUST take into account the lack of guard time on the synchronous physical layer upstreams. Annex G provides more information on the co-existence of DOCS 1.x and DOCS 2.0 channels. + +If multiple downstream channels are associated with a single upstream channel, the CMTS MUST ensure that the allocation MAP reaches all CMs. That is, if some CMs are attached to a particular downstream channel, then the MAP MUST be transmitted on that channel. This may necessitate that multiple copies of the same MAP be transmitted. The alloc start time in the MAP header MUST always relate to the timebase reference on the downstream channel on which it is transmitted. + +If multiple downstream channels are associated with multiple upstream channels, the CMTS may need to transmit multiple copies of multiple maps to ensure both that all upstream channels are mapped and that all CMs have received their needed maps. + +## 9.3 Timing and synchronization + +One of the major challenges in designing a MAC protocol for a cable network is compensating for the large delays involved. These delays are an order of magnitude larger than the transmission burst time in the upstream. To compensate for these delays, the cable modem MUST be able to time its transmissions precisely to arrive at the CMTS at the start of the assigned mini-slot. + +To accomplish this, two pieces of information are needed by each cable modem: + +- a global timing reference sent downstream from the CMTS to all cable modems; +- a timing offset, calculated during a ranging process, for each cable modem. + +### 9.3.1 Global timing reference + +For TDMA channels, the CMTS MUST create a global timing reference by transmitting the time synchronization (SYNC) MAC management message downstream at a nominal frequency. The + +message contains a timestamp that exactly identifies when the CMTS transmitted the message. Cable modems MUST then compare the actual time the message was received with the timestamp and adjust their local clock references accordingly. + +For S-CDMA channels, the CMTS also creates a global timing reference by transmitting the time synchronization (SYNC) and upstream channel descriptor (UCD) MAC messages downstream at a nominal frequency (see clause 6.2.11.2). + +The transmission convergence sublayer must operate closely with the MAC sublayer to provide an accurate timestamp for the SYNC message. As mentioned in the ranging clause below (see 9.3.3), the model assumes that the timing delays through the remainder of the PHY layer MUST be relatively constant with the exception of the timing offsets specified in clause 6.2.19.4 related to modulation rate changes to accommodate a legacy DOCSIS upstream receiver implementation. For TDMA, any variation in the PHY delays MUST be accounted for in the guard time of the PHY overhead. + +It is intended that the nominal interval between SYNC messages be tens of milliseconds and the nominal interval between UCD messages be no more than 2 seconds. This imposes very little downstream overhead while letting cable modems acquire their global timing synchronization quickly. + +### **9.3.2 CM channel acquisition** + +Any cable modem MUST NOT use the upstream channel until it has successfully synchronized to the downstream. + +First, the cable modem MUST establish PMD sublayer synchronization. This implies that it has locked onto the correct frequency, equalized the downstream channel, recovered any PMD sublayer framing and the FEC is operational (refer to clause 11.2.2). At this point, a valid bit stream is being sent to the transmission convergence sublayer. The transmission convergence sublayer performs its own synchronization (see clause 7). On detecting the well-known DOCS PID, along with a payload unit start indicator per [ITU-T H.222.0], it delivers the MAC frame to the MAC sublayer. + +The MAC sublayer MUST now search for the timing synchronization (SYNC) MAC management messages. For TDMA channels, the cable modem achieves MAC synchronization once it has received at least two SYNC messages and has verified that its clock tolerances are within specified limits. For S-CDMA channels, the cable modem achieves MAC synchronization once it has received at least two SYNC messages, received one UCD message, and has locked to the downstream symbol clock and verified that its clock tolerances are within specified limits. + +A cable modem remains in "SYNC" as long as it continues to successfully receive the SYNC messages. If the lost SYNC interval (refer to Annex B) has elapsed without a valid SYNC message, a cable modem MUST NOT use the upstream and MUST try to re-establish synchronization again. + +### **9.3.3 Ranging** + +Ranging is the process of acquiring the correct timing offset such that the cable modem's transmissions are aligned to the correct mini-slot boundary. The timing delays through the PHY layer MUST be relatively constant with the exception of the timing offsets specified in clause 6.2.19.4 related to modulation rate changes to accommodate a legacy DOCSIS upstream receiver implementation. For TDMA, any variation in the PHY delays MUST be accounted for in the guard time of the upstream PMD overhead. + +#### **9.3.3.1 Broadcast initial ranging** + +First, a cable modem MUST synchronize to the downstream and learn the upstream channel characteristics through the upstream channel descriptor MAC management message. At this point, the cable modem MUST scan the bandwidth allocation MAP message to find a broadcast initial maintenance region. Refer to clause 9.1.2.4. The CMTS MUST make a broadcast initial + +maintenance region large enough to account for the variation in delays between any two CMs. On S-CDMA channels, the CMTS MUST schedule broadcast initial maintenance transmit opportunities such that they align with S-CDMA frames and span an integral number of S-CDMA frames. Refer to clause 6.2.11.5. + +The cable modem MUST put together either an initial ranging request message or a ranging request message to be sent in a broadcast initial maintenance region. An INIT-RNG-REQ MUST be transmitted if the upstream is a DOCS 2.0-only upstream, which can be determined from the UCD. Otherwise a RNG-REQ MUST be transmitted. The SID field MUST be set to the non-initialized CM value (zero), unless this initial ranging is a result of a UCD ranging required TLV or a DCC or UCC request in which the CM has been instructed to retain its existing SIDs. + +The CM MUST set its initial timing offset to the amount of internal fixed delay equivalent to putting this CM next to the CMTS. This amount includes delays introduced through a particular implementation, and MUST include the downstream PHY interleaving latency. When the broadcast initial maintenance transmit opportunity occurs, the cable modem MUST send the INIT-RNG-REQ or RNG-REQ message. Thus, the cable modem sends the message as if it were physically right at the CMTS. + +Once the CMTS has successfully received the RNG-REQ or INIT-RNG-REQ message, it MUST return a ranging response message addressed to the individual cable modem. Within the ranging response message MUST be a temporary SID assigned to this cable modem (unless the CM has retained a previous primary SID during a UCC, DCC or UCD change) until it has completed the registration process. The message MUST also contain information on RF power level adjustment and offset frequency adjustment as well as any timing offset corrections. Ranging adjusts each CM's timing offset such that it appears to be located right next to the CMTS. + +### 9.3.3.2 Unicast initial ranging + +The cable modem MUST now wait for an individual station maintenance or unicast initial maintenance region assigned to its temporary SID (or previous primary SID if ranging as a result of a UCC, DCC or UCD change). It MUST now transmit a ranging request message at this time using the temporary SID (or previous primary SID) along with any power level and timing offset corrections. + +The CMTS MUST return another ranging response message to the cable modem with any additional fine tuning required. The ranging request/response steps MUST be repeated until the response contains a ranging successful notification or the CMTS aborts ranging. Once successfully ranged, the cable modem MUST join normal data traffic in the upstream. See clause 11 for complete details on the entire initialization sequence. In particular, state machines and the applicability of retry counts and timer values for the ranging process are defined in clause 11.2.4. + +NOTE – The burst type to use for any transmission is defined by the interval usage code (IUC). Each IUC is mapped to a burst type in the UCD message. + +### 9.3.4 Timing units and relationships + +The SYNC message conveys a time reference with a resolution of 6.25/64 microseconds (10.24 MHz) to allow the CM to track the CMTS clock with a small phase offset. Since this timing reference is decoupled from particular upstream channel characteristics, a single SYNC time reference may be used for all upstream channels associated with the downstream channel. + +The bandwidth allocation MAP uses time units of "mini-slots." A mini-slot represents the time needed for transmission of a fixed number of symbols. For some modulations (e.g., QPSK), an integer number of bytes can be transmitted in a mini-slot. For these channels, the mini-slot is expected to represent 16 byte-times, although other values could be chosen. + +A "mini-slot" is the unit of granularity for upstream transmission opportunities; there is no implication that any PDU can actually be transmitted in a single mini-slot. + +### 9.3.4.1 TDMA timing units and relationships + +#### 9.3.4.1.1 Mini-slot capacity + +On TDMA channels, the size of the mini-slot, expressed as a multiple of the SYNC time reference, is carried in the upstream channel descriptor. The example in Table 9-2 relates mini-slots to the SYNC time ticks (assuming QPSK modulation): + +**Table 9-2 – Example relating mini-slots to time ticks** + +| Parameter | Example value | +|------------------------|------------------------------------------| +| Time tick | 6.25 microseconds | +| Bytes per mini-slot | 16 (nominal, when using QPSK modulation) | +| Symbols/byte | 4 (assuming QPSK) | +| Symbols/second | 2 560 000 | +| Mini-slots/second | 40 000 | +| Microseconds/mini-slot | 25 | +| Ticks/mini-slot | 4 | + +Note that the symbols/byte is a characteristic of an individual burst transmission, not of the channel. A mini-slot in this instance could represent a minimum of 16 or a maximum of 48 bytes, depending on the modulation choice. + +In a channel allocated exclusively to DOCS 2.0 TDMA modems, the mini-slot size field of the UCD MAY take on the value 0, in which case the mini-slot size is 1 timebase tick. If a channel is to be accessible to both DOCS 1.x and 2.0 TDMA cable modems, the UCD MUST follow the DOCS 1.x requirements for timing units and relationships. + +#### 9.3.4.1.2 Mini-slot numbering + +The MAP counts mini-slots in a 32-bit counter that normally counts to $(2^{32} - 1)$ and then wraps back to zero. The least-significant bits (i.e., bit 0 to bit 25-M) of the mini-slot counter MUST match the most-significant bits (i.e., bit 6 + M to bit 31) of the SYNC timestamp counter. That is, mini-slot N begins at timestamp reference $(N \times T \times 64)$ , where $T = 2^M$ is the UCD multiplier that defines the mini-slot (i.e., the number of time ticks per mini-slot). + +NOTE 1 – The unused upper bits of the 32-bit mini-slot counter (i.e., bit 26-M to bit 31) are not needed by the CM and MAY be ignored. + +NOTE 2 – The constraint that the UCD multiplier be a power of two has the consequence that the number of bytes per mini-slot must also be a power of two. + +### 9.3.4.2 S-CDMA timing units and relationships + +#### 9.3.4.2.1 Mini-slot capacity + +On S-CDMA channels, the size of the mini-slot is dependent on the modulation rate, the codes per mini-slot, and the spreading intervals per frame, which are all carried in the upstream channel descriptor. The timing units and relationships for S-CDMA are covered in detail in clause 6.2.11, "S-CDMA framer and interleaver". An example of the timing relationships (assuming 64QAM modulation) is shown in Table 9-3: + +**Table 9-3 – Example of mini-slot capacity in S-CDMA mode** + +| Parameter | Example value | +|-------------------------------|-------------------------------------------| +| Spreading intervals per frame | 10 | +| Active code length | 128 | +| Codes per mini-slot | 4 | +| Mini-slots per frame | 32 | +| Symbols per mini-slot | 40 | +| Bytes per mini-slot | 30 (nominal, when using 64QAM modulation) | +| Bits/symbol | 6 (assuming 64QAM) | +| Symbols/second | 5 120 000 | +| Mini-slots/second | 128 000 | +| Microseconds/mini-slot | 7.8125 | + +#### 9.3.4.2.2 Mini-slot numbering + +Mini-slot numbering in S-CDMA mode is described in detail in clause 6.2.11.2. + +### 9.4 Upstream transmission and contention resolution + +The CMTS controls assignments on the upstream channel through the MAP and determines which mini-slots are subject to collisions. The CMTS MAY allow collisions on either requests or data PDUs. + +This clause provides an overview of upstream transmission and contention resolution. For simplicity, it refers to the decisions a CM makes; however, this is just a pedagogical tool. Since a CM can have multiple upstream service flows (each with its own SID) it makes these decisions on a per service queue or per SID basis. Refer to Appendix IV for a state transition diagram and more detail. + +#### 9.4.1 Contention resolution overview + +The mandatory method of contention resolution which MUST be supported is based on a truncated binary exponential back-off, with the initial back-off window and the maximum back-off window controlled by the CMTS. The values are specified as part of the bandwidth allocation map (MAP) MAC message and represent a power-of-two value. For example, a value of 4 indicates a window between 0 and 15; a value of 10 indicates a window between 0 and 1023. + +Every time a CM wants to transmit in a contention region, it MUST enter the contention resolution process by setting its internal back-off window equal to the data backoff start defined in the MAP currently in effect18. + +The CM MUST randomly select a number within its back-off window. This random value indicates the number of contention transmit opportunities that the CM MUST defer before transmitting. A CM MUST only consider contention transmit opportunities for which this transmission would have been eligible. These are defined by either request IEs or request/data IEs in the MAP. + +NOTE 1 – Each IE can represent multiple transmission opportunities. + +As an example, consider a CM whose initial back-off window is 0 to 15 and it randomly selects the number 11. The CM must defer a total of 11 contention transmission opportunities. If the first available request IE is for 6 requests, the CM does not use this and has 5 more opportunities to + +--- + +18 The MAP currently in effect is the MAP whose allocation start time has occurred but which includes IEs that have not occurred. + +defer. If the next request IE is for 2 requests, the CM has 3 more to defer. If the third request IE is for 8 requests, the CM transmits on the fourth request, after deferring for 3 more opportunities. + +After a contention transmission, the CM waits for a data grant (data grant pending) or data acknowledge in a subsequent MAP. Once either is received, the contention resolution is complete. The CM determines that the contention transmission was lost when it finds a MAP without a data grant (data grant pending) or data acknowledge for it and with an ack time more recent than the time of transmission19. The CM MUST now increase its back-off window by a factor of two, as long as it is less than the maximum back-off window. The CM MUST randomly select a number within its new back-off window and repeat the deferring process described above. + +This re-try process continues until the maximum number of retries (16) has been reached, at which time the PDU MUST be discarded. + +NOTE 2 – The maximum number of retries is independent of the initial and maximum back-off windows that are defined by the CMTS. + +If the CM receives a unicast request or data grant at any time while deferring for this SID, it MUST stop the contention resolution process and use the explicit transmit opportunity. + +The CMTS has much flexibility in controlling the contention resolution. At one extreme, the CMTS may choose to set up the data backoff start and end to emulate an Ethernet-style back-off with its associated simplicity and distributed nature, but also its fairness and efficiency issues. This would be done by setting data backoff start = 0 and end = 10 in the MAP. At the other end, the CMTS may make the data backoff start and end identical and frequently update these values in the MAP so all cable modems are using the same, and hopefully optimal, back-off window. + +A CM transmitting a RNG-REQ in the initial maintenance IE MUST perform truncated binary exponential backoff using the ranging backoff start and ranging backoff end to control the backoff window. The algorithm works similarly to data transmissions, except on the calculation of transmit opportunities, which is described in the next clause. + +#### 9.4.2 Transmit opportunities + +A transmit opportunity is defined as any mini-slot in which a CM may be allowed to start a transmission. Transmit opportunities typically apply to contention opportunities and are used to calculate the proper amount to defer in the contention resolution process. + +The number of transmit opportunities associated with a particular IE in a MAP is dependent on the total size of the region as well as the allowable size of an individual transmission. As an example, assume a contention REQ IE defines a region of 12 mini-slots. If the UCD defines a REQ burst size that fits into a single mini-slot then there are 12 transmit opportunities associated with this REQ IE, i.e., one for each mini-slot. If the UCD defines a REQ that fits in two mini-slots, then there are six transmit opportunities and a REQ can start on every other mini-slot. + +As another example, assume a REQ/data IE that defines a 24 mini-slot region. If it is sent with an SID of 0x3FF4 (refer to Annex A), then a CM can potentially start a transmit on every fourth mini-slot; so this IE contains a total of six transmit opportunities (TX OPs). Similarly, a SID of 0x3FF6 implies four TX OPs; 0x3FF8 implies three TX OPs; and 0x3FFC implies two TX OPs. + +For a broadcast initial maintenance IE, a CM MUST start its transmission in the first mini-slot of the region; therefore it has a single transmit opportunity. The remainder of the region is used to compensate for the round-trip delays since the CM has not yet been ranged. + +--- + +19 Data acknowledge IEs are intended for collision detection only and are not designed for providing reliable transport (that is the responsibility of higher layers). If a MAP is lost or damaged, a CM waiting for a data acknowledge MUST assume that its contention data transmission was successful and MUST NOT retransmit the data packet. This prevents the CM from sending duplicate packets unnecessarily. + +Station maintenance IEs, short/long data grant IEs, adv PHY short/long data grant IEs, adv PHY unsolicited grant IEs, unicast initial maintenance, and unicast request IEs are unicast and thus are not typically associated with contention transmit opportunities. They represent a single dedicated, or reservation-based, transmit opportunity. + +In summary: + +**Table 9-4 – Transmit opportunity** + +| Interval | SID type | Transmit opportunity | +|---------------------|----------------------|-------------------------------------| +| Request | Broadcast | # mini-slots required for a request | +| Request | Multicast | # mini-slots required for a request | +| Request/data | Broadcast | Not allowed | +| Request/data | Well-known multicast | As defined by SID in Annex A | +| Request/data | Multicast | Vendor-specific algorithms | +| Initial maintenance | Broadcast | Entire interval is a single TX OP | + +NOTE – Transmit opportunity should not be confused with burst size. Burst size requirements are specified in Table 6-1. + +#### 9.4.3 CM bandwidth utilization + +The following rules govern the response a CM makes when processing maps. + +NOTE – These standard behaviours can be overridden by the CM's request/transmission policy (refer to clause C.2.2.6.3): + +- 1) A CM MUST first use any grants assigned to it. Next, the CM MUST use any unicast REQ for it. Finally, the CM MUST use the next available broadcast/multicast REQ or REQ/data IEs for which it is eligible. +- 2) A CM MUST NOT have more than one request outstanding at a time for a particular service ID. +- 3) If a CM has a request pending, it MUST NOT use intervening contention intervals for that service ID. + +### 9.5 Data link encryption support + +The procedures to support data link encryption are defined in [DOCS8]. The interaction between the MAC layer and the security system is limited to the items defined below. + +#### 9.5.1 MAC messages + +MAC management messages (see clause 8.3) MUST NOT be encrypted, except for certain cases where such a frame is included in a fragmented concatenated burst on the upstream (refer to clause 8.2.7.1) + +#### 9.5.2 Framing + +The following rules MUST be followed when encryption is applied to a data PDU: + +- Privacy EH element of [DOCS8] MUST be in the extended header and MUST be the first EH element of the extended header field (EHDR). +- Encrypted data are carried as data PDUs to the cable MAC transparently. + +## 10 Quality of service and fragmentation + +This Recommendation introduces several new quality of service (QoS) related concepts not present in the original March 1998 version of J.112 Annex B. These include: + +- packet classification and flow identification; +- service flow QoS scheduling; +- dynamic service establishment; +- fragmentation; +- two-phase activation model. + +### 10.1 Theory of operation + +The various DOCS protocol mechanisms described in this Recommendation can be used to support quality of service (QoS) for both upstream and downstream traffic through the CM and the CMTS. This clause provides an overview of the QoS protocol mechanisms and their part in providing end-to-end QoS. + +The requirements for quality of service include: + +- a configuration and registration function for pre-configuring CM-based QoS **service flows** and traffic parameters; +- a signalling function for dynamically establishing QoS-enabled service flows and traffic parameters; +- a traffic-shaping and traffic-policing function for service flow-based traffic management, performed on traffic arriving from the upper layer service interface and outbound to the RF; +- utilization of MAC scheduling and traffic parameters for upstream service flows; +- utilization of QoS traffic parameters for downstream service flows; +- classification of packets arriving from the upper layer service interface to a specific active service flow; +- grouping of service flow properties into named **service classes**, so upper layer entities and external applications (at both the CM and CMTS) can request service flows with desired QoS parameters in a globally consistent way. + +The principal mechanism for providing enhanced QoS is to classify packets traversing the RF MAC interface into a **service flow**. A service flow is a unidirectional flow of packets that is provided a particular quality of service. The CM and CMTS provide this QoS by shaping, policing and prioritizing traffic according to the **QoS parameter set** defined for the service flow. + +The primary purpose of the quality of service features defined here is to define transmission ordering and scheduling on the radio frequency interface. However, these features often need to work in conjunction with mechanisms beyond the RF interface in order to provide end-to-end QoS or to police the behaviour of cable modems. For example, the following behaviours are permitted: + +- Policies may be defined by CM MIBs which overwrite the ToS byte. Such policies are outside the scope of the RFI Recommendation. In the upstream direction, the CMTS polices the ToS byte setting regardless of how the ToS byte is derived or by whom it is written (originator or CM policy). +- The queueing of service flow packets at the CMTS in the downstream direction may be based on the ToS byte. +- Downstream service flows can be reclassified by the CM to provide enhanced service onto the subscriber-side network. + +Service flows exist in both the upstream and downstream direction, and may exist without actually being activated to carry traffic. Service flows have a 32-bit **service flow identifier** (SFID) assigned by the CMTS. All service flows have an SFID; active and admitted upstream service flows also have a 14-bit service identifier (SID). + +At least two service flows must be defined in each configuration file: one for upstream and one for downstream service. The first upstream service flow describes the **primary upstream service flow**, and is the default service flow used for otherwise unclassified traffic, including both MAC management messages and data PDUs. The first downstream service flow describes service to the primary downstream service flow. Additional service flows defined in the configuration file create service flows that are provided QoS services. + +Conceptually, incoming packets are matched to a **classifier** that determines to which QoS service flow the packet is forwarded. The classifier can examine the LLC header of the packet, the IP/TCP/UDP header of the packet or some combination of the two. If the packet matches one of the classifiers, it is forwarded to the service flow indicated by the SFID attribute of the classifier. If the packet is not matched to a classifier, it is forwarded on the primary service flow. + +### 10.1.1 Concepts + +#### 10.1.1.1 Service flows + +A service flow is a MAC-layer transport service that provides unidirectional transport of packets either to upstream packets transmitted by the CM or to downstream packets transmitted by the CMTS20. A service flow is characterized by a set of **QoS parameters** such as latency, jitter and throughput assurances. In order to standardize operation between the CM and CMTS, these attributes include details of how the CM requests upstream mini-slots and the expected behaviour of the CMTS upstream scheduler. + +A service flow is partially characterized by the following attributes21: + +- **ServiceFlowID**: Exists for all service flows. +- **ServiceID**: Only exists for admitted or active upstream service flows. +- **ProvisionedQosParamSet**: Defines a set of QoS parameters that appears in the configuration file and is presented during registration. This MAY define the initial limit for authorizations allowed by the authorization module. The ProvisionedQosParamSet is defined once when the service flow is created via registration22. +- **AdmittedQosParamSet**: Defines a set of QoS parameters for which the CMTS (and possibly the CM) are reserving resources. The principal resource to be reserved is bandwidth, but this also includes any other memory or time-based resource required to subsequently activate the flow. +- **ActiveQosParamSet**: Defines a set of QoS parameters defining the service actually being provided to the service flow. Only an active service flow may forward packets. + +--- + +20 A service flow, as defined here, has no direct relationship to the concept of a "flow" as defined by the IETF's integrated services (intserv) working group [b-RFC 2212]. An intserv flow is a collection of packets sharing transport-layer endpoints. Multiple intserv flows can be served by a single service flow. However, the classifiers for a service flow may be based on 802.1P/Q criteria, and so may not involve intserv flows at all. + +21 Some attributes are derived from the above attribute list. The service class name is an attribute of the ProvisionedQoSParamSet. The activation state of the service flow is determined by the ActiveQoSParamSet. If the ActiveQoSParamSet is null then the service flow is inactive. + +22 The ProvisionedQoSParamSet is null when a flow is created dynamically. + +A service flow exists when the CMTS assigns a service flow ID (SFID) to it. The SFID serves as the principal identifier in the CM and CMTS for the service flow. A service flow which exists has at least an SFID, and an associated direction. + +The **authorization module** is a logical function within the CMTS that approves or denies every change to QoS parameters and classifiers associated with a service flow. As such, it defines an "envelope" that limits the possible values of the AdmittedQosParamSet and ActiveQosParamSet. + +The relationship between the QoS parameter sets is as shown in Figures 10-1 and 10-2. The ActiveQosParamSet is always a subset23 of the AdmittedQosParamSet which is always a subset of the authorized "envelope." In the dynamic authorization model, this envelope is determined by the authorization module (labelled as the AuthQosParamSet). In the provisioned authorization model, this envelope is determined by the ProvisionedQosParamSet (refer to clause 10.1.4 for further information on the authorization models). + +![Diagram illustrating the provisioned authorization model envelopes. It shows three nested boxes: the outermost dashed box is labeled 'AuthQosParamSet = ProvisionedQosParamSet (SFID)'; the middle solid box is labeled 'AdmittedQosParamSet (SFID and SID)'; and the innermost solid box is labeled 'ActiveQosParamSet (SFID and Active SID)'.](573293af67ee571aef04bf725fcefbe5_img.jpg) + +The diagram illustrates the relationship between three nested QoS parameter sets in the provisioned authorization model. It consists of three concentric rectangles. The outermost rectangle has a dashed border and is labeled "AuthQosParamSet = ProvisionedQosParamSet (SFID)". Inside it is a solid-bordered rectangle labeled "AdmittedQosParamSet (SFID and SID)". Inside that is another solid-bordered rectangle labeled "ActiveQosParamSet (SFID and Active SID)". The labels are positioned in the top-left corner of each respective rectangle. + +Diagram illustrating the provisioned authorization model envelopes. It shows three nested boxes: the outermost dashed box is labeled 'AuthQosParamSet = ProvisionedQosParamSet (SFID)'; the middle solid box is labeled 'AdmittedQosParamSet (SFID and SID)'; and the innermost solid box is labeled 'ActiveQosParamSet (SFID and Active SID)'. + +J.122\_F10-1 + +**Figure 10-1 – Provisioned authorization model "envelopes"** + +23 To say that QoS parameter set A is a subset of QoS parameter set B, the following MUST be true for all QoS parameters in A and B: + +- If a smaller QoS parameter value indicates less resources (e.g., maximum traffic rate), A is a subset of B if the parameter in A less than or equal to the same parameter in B. +- If a larger QoS parameter value indicates less resources (e.g., tolerated grant jitter), A is a subset of B if the parameter in A is greater than or equal to the same parameter in B. +- If the QoS parameter specifies a periodic interval (e.g., nominal grant interval), A is a subset of B if the parameter in A is an integer multiple of the same parameter in B. +- If the QoS parameter is not quantitative (e.g., service flow scheduling type), A is a subset of B if the parameter in A is equal to the same parameter in B. + +![Figure 10-2: Dynamic authorization model 'envelopes' diagram. It shows four nested boxes representing different QoS parameter sets. The outermost box is 'ProvQosParamSet (SFID)'. Inside it is 'AuthQosParamSet (CMTS only, not known by CM)'. Inside that is 'AdmitQosParamSet (SFID and SID)'. The innermost box is 'ActiveQosParamSet (SFID and active SID)'. The boxes are nested and slightly offset to the right and down. A label 'J.122_F10-2' is at the bottom right.](f6944ef450a5560fc697a86a01b70b36_img.jpg) + +Figure 10-2: Dynamic authorization model 'envelopes' diagram. It shows four nested boxes representing different QoS parameter sets. The outermost box is 'ProvQosParamSet (SFID)'. Inside it is 'AuthQosParamSet (CMTS only, not known by CM)'. Inside that is 'AdmitQosParamSet (SFID and SID)'. The innermost box is 'ActiveQosParamSet (SFID and active SID)'. The boxes are nested and slightly offset to the right and down. A label 'J.122\_F10-2' is at the bottom right. + +**Figure 10-2 – Dynamic authorization model "envelopes"** + +It is useful to think of three types of service flows: + +- **Provisioned:** this type of service flow is known via provisioning through the configuration file, its AdmittedQosParamSet and ActiveQosParamSet are both null. A **provisioned service flow** may or may not have associated classifiers. If a provisioned service flow has associated classifiers, the classifiers **MUST NOT** be used to classify packets onto the flow, regardless of the classifier's activation state. +- **Admitted:** this type of service flow has resources reserved by the CMTS for its AdmittedQosParamSet, but these parameters are not active (its ActiveQosParamSet is null). **Admitted service flows** may have been provisioned or may have been signalled by some other mechanism. Generally, admitted service flows have associated classifiers, however, it is possible for admitted service flows to use policy-based classification. If admitted service flows have associated classifiers, the classifiers **MUST NOT** be used to classify packets onto the flow, regardless of the classifier's activation state. +- **Active:** this type of service flow has resources committed by the CMTS for its QoS parameter set, (e.g., is actively sending MAPs containing unsolicited grants for a UGS-based service flow). Its ActiveQosParamSet is non-null. Generally, active service flows have associated classifiers; however, it is possible for active service flows to use policy-based classification. primary service flows may have associated classifiers(s), but in addition to any packets matching such classifiers, all packets that fail to match any classifier will be sent on the primary service flow for that direction. + +#### 10.1.1.2 Classifiers + +A **classifier** is a set of matching criteria applied to each packet entering the cable network. It consists of some packet-matching criteria (destination IP address, for example), a **classifier priority**, and a reference to a service flow. If a packet matches the specified packet matching criteria, it is then delivered on the referenced service flow. + +Several classifiers may all refer to the same service flow. The classifier priority is used for ordering the application of classifiers to packets. Explicit ordering is necessary because the patterns used by classifiers may overlap. The priority need not be unique, but care must be taken within a classifier priority to prevent ambiguity in classification (refer to clause 10.1.6.1). **Downstream classifiers** are applied by the CMTS to packets it is transmitting, and **upstream classifiers** are applied at the CM and may be applied at the CMTS to police the classification of upstream packets. Figure 10-3 illustrates the mappings discussed above. + +![Diagram illustrating classification within the MAC layer for CMTS and CM entities. The diagram shows two main components: CMTS (left) and CM (right), connected by a central RF (Radio Frequency) section. On the CMTS side, an 'Upper-layer entity (e.g. bridge, router)' is connected to a 'Downstream classifier'. The classifier directs traffic to multiple service flows labeled 'Primary SFID', 'SFID 2', '...', 'SFID n', collectively labeled 'Downstream service flows'. MAC Management Messages are also shown. On the CM side, an 'Upper layer entity (e.g. bridge, router, client)' is connected to an '(Optional) ingress classifier'. This classifier directs traffic to service flows labeled 'Primary SID', 'SID 2', '...', 'SID n', collectively labeled 'Upstream service flows'. MAC Management Messages are also shown. Both sides have an 'Upstream classifier' that directs traffic from the service flows back towards the upper-layer entity. The central RF section has 'Downstream' and 'Upstream' arrows indicating the direction of traffic flow between the CMTS and CM.](1582c665ca9405e127473c291eaed480_img.jpg) + +Diagram illustrating classification within the MAC layer for CMTS and CM entities. The diagram shows two main components: CMTS (left) and CM (right), connected by a central RF (Radio Frequency) section. On the CMTS side, an 'Upper-layer entity (e.g. bridge, router)' is connected to a 'Downstream classifier'. The classifier directs traffic to multiple service flows labeled 'Primary SFID', 'SFID 2', '...', 'SFID n', collectively labeled 'Downstream service flows'. MAC Management Messages are also shown. On the CM side, an 'Upper layer entity (e.g. bridge, router, client)' is connected to an '(Optional) ingress classifier'. This classifier directs traffic to service flows labeled 'Primary SID', 'SID 2', '...', 'SID n', collectively labeled 'Upstream service flows'. MAC Management Messages are also shown. Both sides have an 'Upstream classifier' that directs traffic from the service flows back towards the upper-layer entity. The central RF section has 'Downstream' and 'Upstream' arrows indicating the direction of traffic flow between the CMTS and CM. + +J.122\_F10-3 + +**Figure 10-3 – Classification within the MAC layer** + +CM and CMTS packet classification consists of multiple classifiers. Each classifier contains a priority field which determines the search order for the classifier. The highest priority classifier MUST be applied first. If a classifier is found in which all parameters match the packet, the classifier MUST forward the packet to the corresponding service flow (irrelevant parameters – as defined in clause C.2.1 – have no impact on packet classification decisions). If a classifier contains no relevant parameters for a given packet (i.e., all parameters are irrelevant), then that packet cannot match the classifier, and the classifier MUST NOT forward the packet to the corresponding service flow. If a packet does not match any classifier and, as a result, has not been classified to any other flow, then it MUST be classified to the primary service flow. + +The packet classification table contains the following fields: + +- Priority – Determines the search order for the table. Higher priority classifiers are searched before lower priority classifiers. +- IP classification parameters – Zero or more of the IP classification parameters (IP ToS range/mask, IP protocol, IP source address/mask, IP destination address/mask, TCP/UDP source port start, TCP/UDP source port end, TCP/UDP destination port start, TCP/UDP destination port end). +- LLC classification parameters – Zero or more of the LLC classification parameters (destination MAC address, source MAC address, ethertype/SAP). +- IEEE 802.1P/Q parameters – Zero or more of the IEEE classification parameters (802.1P priority range, 802.1Q VLAN ID). +- Service flow identifier – Identifier of a specific flow to which this packet is to be directed. + +Classifiers can be added to the table either via management operations (configuration file, registration) or via dynamic operations (dynamic signalling, DOCS MAC sublayer service interface). SNMP-based operations can view classifiers that are added via dynamic operations, but cannot modify or delete classifiers that are created by dynamic operations. The format for classification table parameters defined in the configuration file, registration message or dynamic signalling message is contained in Annex C. + +Classifier attributes include an activation state (see clause C.2.1.3.6). The 'inactive' setting may be used to reserve resources for a classifier which is to be activated later. The actual activation of the classifier depends both on this attribute and on the state of its service flow. If the service flow is not active then the classifier is not used, regardless of the setting of this attribute. + +### 10.1.2 Object model + +The major objects of the architecture are represented by named rectangles in Figure 10-4. Each object has a number of attributes; the attribute names that uniquely identify the object are underlined. Optional attributes are denoted with brackets. The relationship between the number of objects is marked at each end of the association line between the objects. For example, a service flow may be associated with from 0 to 65535 classifiers, but a classifier is associated with exactly one service flow. + +![UML Class Diagram showing the Theory of operation object model. The diagram includes five classes: Packet, Classifier, Service Flow, PayloadHeader Suppression (PHS), and Service Class. Packet has attributes: LlHeader, [IpHeader], [SClass], [RulePriority], [SFID]. Classifier has attributes: SFID, ClassifierId, LlPacketPattern, IpPacketPattern, RulePriority. Service Flow has attributes: SFID, Direction, [SID], [ProvQosParamSet], [AdmittedQosParamSet], [ActiveQosParamSet]. PayloadHeader Suppression (PHS) has attributes: SFID, PHSI, ClassifierId, PHSF, PHSM, PHSS, PHSV. Service Class has attributes: Service Class Name, QosParamSet. Relationships: Packet 'matches' Classifier; Classifier is associated with Service Flow (0..65535 to 1); Classifier is associated with PHS (0,1 to 0..255); Service Flow is associated with Service Class (1 to N); Service Flow is associated with PHS (1 to 0,1). A dashed line connects Packet and Service Flow.](e1e41cc8c8434891237529fedcbba418_img.jpg) + +``` + +classDiagram + class Packet { + LlHeader + [IpHeader] + [SClass] + [RulePriority] + [SFID] + } + class Classifier { + SFID + ClassifierId + LlPacketPattern + IpPacketPattern + RulePriority + } + class ServiceFlow { + SFID + Direction + [SID] + [ProvQosParamSet] + [AdmittedQosParamSet] + [ActiveQosParamSet] + } + class PHS { + SFID + PHSI + ClassifierId + PHSF + PHSM + PHSS + PHSV + } + class ServiceClass { + Service Class Name + QosParamSet + } + + Packet --> Classifier : matches + Classifier --> ServiceFlow : 0..65535 to 1 + Classifier --> PHS : 0,1 to 0..255 + ServiceFlow --> ServiceClass : 1 to N + ServiceFlow --> PHS : 1 to 0,1 + Packet -.-> ServiceFlow + +``` + +UML Class Diagram showing the Theory of operation object model. The diagram includes five classes: Packet, Classifier, Service Flow, PayloadHeader Suppression (PHS), and Service Class. Packet has attributes: LlHeader, [IpHeader], [SClass], [RulePriority], [SFID]. Classifier has attributes: SFID, ClassifierId, LlPacketPattern, IpPacketPattern, RulePriority. Service Flow has attributes: SFID, Direction, [SID], [ProvQosParamSet], [AdmittedQosParamSet], [ActiveQosParamSet]. PayloadHeader Suppression (PHS) has attributes: SFID, PHSI, ClassifierId, PHSF, PHSM, PHSS, PHSV. Service Class has attributes: Service Class Name, QosParamSet. Relationships: Packet 'matches' Classifier; Classifier is associated with Service Flow (0..65535 to 1); Classifier is associated with PHS (0,1 to 0..255); Service Flow is associated with Service Class (1 to N); Service Flow is associated with PHS (1 to 0,1). A dashed line connects Packet and Service Flow. + +Figure 10-4 – Theory of operation object model + +The service flow is the central concept of the MAC protocol. It is uniquely identified by a 32-bit service flow ID (SFID) assigned by the CMTS. Service flows may be in either the upstream or downstream direction. A unicast service identifier (SID) is a 14-bit index, assigned by the CMTS, which is associated with one, and only one, admitted upstream service flow. + +Typically, an outgoing user data packet is submitted by an upper layer protocol (such as the forwarding bridge of a CM) for transmission on the cable MAC interface. The packet is compared against a set of classifiers. The matching classifier for the packet identifies the corresponding service flow via the service flow ID (SFID). In the case where more than one classifier matches the packet, the highest priority classifier is chosen. + +The classifier matching a packet may be associated with a payload header suppression rule. A PHS rule provides details on how header bytes of a packet PDU can be omitted, replaced with a payload header suppression index for transmission, and subsequently regenerated at the receiving end. PHS rules are indexed by the combination of {SFID, PHSI} (refer to clause 10.4). When a service flow is deleted, all classifiers and any associated PHS rules referencing it MUST also be deleted. + +The service class is an optional object that MUST be implemented at the CMTS. It is referenced by an ASCII name which is intended for provisioning purposes. A service class is defined in the CMTS to have a particular QoS parameter Set. A service flow may contain a reference to the service class name that selects all of the QoS parameters of the service class. The service flow QoS parameter sets may augment and even override the QoS parameter settings of the service class, subject to authorization by the CMTS (refer to clause C.2.2.5). + +If a packet has already been determined by upper layer policy mechanisms to be associated with a particular service class name/priority combination, that combination associates the packet with a particular service flow directly (refer to clause 10.1.6.1). The upper layer may also be aware of the particular service flows in the MAC sublayer, and may have assigned the packet directly to a service flow. In these cases, a user data packet is considered to be directly associated with a service flow as selected by the upper layer. This is depicted with the dashed arrow in Figure 10-4 (refer to Appendix I). + +### 10.1.3 Service classes + +The QoS attributes of a service flow may be specified in two ways: either by explicitly defining all attributes, or implicitly by specifying a **service class name**. A service class name is a string which the CMTS associates with a QoS parameter set. It is described further below. + +The service class serves the following purposes: + +- 1) It allows operators, who so wish, to move the burden of configuring service flows from the provisioning server to the CMTS. Operators provision the modems with the service class name; the implementation of the name is configured at the CMTS. This allows operators to modify the implementation of a given service to local circumstances without changing modem provisioning. For example, some scheduling parameters may need to be tweaked differently for two different CMTSs to provide the same service. As another example, service profiles could be changed by time of day. +- 2) It allows CMTS vendors to provide class-based-queuing if they choose, where service flows compete within their class and classes compete with each other for bandwidth. +- 3) It allows higher-layer protocols to create a service flow by its service class name. For example, telephony signalling may direct the CM to instantiate any available provisioned service flow of class "G711". +- 4) It allows packet classification policies to be defined which refer to a desired service class, without having to refer to a particular service flow instance of that class. + +NOTE – The service class is optional: the flow scheduling specification may always be provided in full; a service flow may belong to no service class whatsoever. CMTS implementations MAY treat such "unclassed" flows differently from "classed" flows with equivalent parameters. + +Any service flow MAY have each of its QoS parameter sets specified in any of three ways: + +- by explicitly including all traffic parameters; + +- by indirectly referring to a set of traffic parameters by specifying a service class name; +- by specifying a service class name along with modifying parameters. + +The service class name is "expanded" to its defined set of parameters at the time the CMTS successfully admits the service flow. The service class expansion can be contained in the following CMTS-originated messages: Registration response, DSA-REQ, DSC-REQ, DSA-RSP and DSC-RSP. In all of these cases, the CMTS MUST include a service flow encoding that includes the service class name and the QoS parameter set of the service class. If a CM-initiated request contained any supplemental or overriding service flow parameters, a successful response MUST also include these parameters. + +When a service class name is given in an admission or activation request, the returned QoS parameter set may change from activation to activation. This can happen because of administrative changes to the service class' QoS parameter set at the CMTS. If the definition of a service class name is changed at the CMTS (e.g., its associated QoS parameter set is modified), it has no effect on the QoS parameters of existing service flows associated with that service class. A CMTS MAY initiate DSC transactions to existing service flows that reference the service class name to affect the changed service class definition. + +When a CM uses the service class name to specify the admitted QoS parameter set, the expanded set of TLV encodings of the service flow will be returned to the CM in the response message (REG-RSP, DSA-RSP or DSC-RSP). Use of the service class name later in the activation request may fail if the definition of the service class name has changed and the new required resources are not available. Thus, the CM SHOULD explicitly request the expanded set of TLVs from the response message in its later activation request. + +#### 10.1.4 Authorization + +Every change to the service flow QoS parameters MUST be approved by an authorization module. This includes every REG-REQ or DSA-REQ message to create a new service flow, and every DSC-REQ message to change a QoS parameter set of an existing service flow. Such changes include requesting an admission control decision (e.g., setting the AdmittedQosParamSet) and requesting activation of a service flow (e.g., setting the ActiveQosParamSet). Reduction requests regarding the resources to be admitted or activated are also checked by the authorization module, as are requests to add or change the classifiers. + +In the static authorization model, the authorization module receives all registration messages and stores the provisioned status of all "deferred" service flows. Admission and activation requests for these provisioned service flows will be permitted as long as the admitted QoS parameter set is a subset of the provisioned QoS parameter set, and the active QoS parameter set is a subset of the admitted QoS parameter set. Requests to change the provisioned QoS parameter set will be refused, as will requests to create new dynamic service flows. This defines a static system where all possible services are defined in the initial configuration of each CM. + +In the dynamic authorization model, the authorization module not only receives all registration messages, but also communicates through a separate interface to an independent policy server. This policy server may provide to the authorization module advance notice of upcoming admission and activation requests, and specifies the proper authorization action to be taken on those requests. Admission and activation requests from a CM are then checked by the authorization module to ensure that the ActiveQosParamSet being requested is a subset of the set provided by the policy server. Admission and activation requests from a CM that are signalled in advance by the external policy server are permitted. Admission and activation requests from a CM that are not pre-signalled by the external policy server may result in a real-time query to the policy server, or may be refused. + +During registration, the CM MUST send to the CMTS the authenticated set of TLVs derived from its configuration file which defines the provisioned QoS parameter set. Upon receipt and + +verification at the CMTS, these are handed to the authorization module within the CMTS. The CMTS MUST be capable of caching the provisioned QoS parameter set, and MUST be able to use this information to authorize dynamic flows which are a subset of the provisioned QoS parameter set. The CMTS SHOULD implement mechanisms for overriding this automated approval process (such as described in the dynamic authorization model). For example: + +- Deny all requests whether or not they have been pre-provisioned. +- Define an internal table with a richer policy mechanism but seeded by the configuration file information. +- Refer all requests to an external policy server. + +### 10.1.5 Types of service flows + +It is useful to think about three basic types of service flows. This clause describes these three types of service flows in more detail. However, it is important to note that there are more than just these three basic types (refer to clause C.2.2.3.5). + +#### 10.1.5.1 Provisioned service flows + +A service flow may be provisioned but not immediately activated (sometimes called "deferred"). That is, the description of any such service flow in the TFTP configuration file contains an attribute which provisions but defers activation and admission (refer to clause C.2.2.3.5). During registration, the CMTS assigns a service flow ID for such a service flow but does not reserve resources. The CMTS MAY also require an exchange with a policy module prior to admission. + +As a result of external action beyond the scope of this Recommendation (e.g., [ITU-T J.162]), the CM MAY choose to activate a provisioned service flow by passing the service flow ID and the associated QoS parameter sets. The CM MUST also provide any applicable classifiers. If authorized and resources are available, the CMTS MUST respond by assigning a unique unicast SID for the upstream service flow. The CMTS MAY deactivate the service flow, but SHOULD NOT delete the service flow during the CM registration epoch. + +As a result of external action beyond the scope of this Recommendation (e.g., [ITU-T J.162]), the CMTS MAY choose to activate a service flow by passing the service flow ID as well as the SID and the associated QoS parameter sets. The CMTS MUST also provide any applicable classifiers. The CMTS MAY deactivate the service flow, but SHOULD NOT delete the service flow during the CM registration epoch. Such a provisioned service flow MAY be activated and deactivated many times (through DSC exchanges). In all cases, the original service flow ID MUST be used when reactivating the service flow. + +#### 10.1.5.2 Admitted service flows + +This protocol supports a two-phase activation model which is often utilized in telephony applications. In the two-phase activation model, the resources for a "call" are first "admitted," and then once the end-to-end negotiation is completed (e.g., called party's gateway generates an "off-hook" event) the resources are "activated." Such a two-phase model serves the purposes of: + +- a) conserving network resources until a complete end-to-end connection has been established; +- b) performing policy checks and admission control on resources as quickly as possible, and, in particular, before informing the far end of a connection request; and +- c) preventing several potential theft-of-service scenarios. + +For example, if an upper-layer service were using unsolicited grant service, and the addition of upper-layer flows could be adequately provided by increasing the grants per interval QoS parameter, then the following might be used. When the first upper-layer flow is pending, the CM issues a DSA-Request with the admit grants per interval parameter equal to one, and the activate grants per interval parameter equal to zero. Later, when the upper-layer flow becomes active, it + +issues a DSC-Request with the instance of the activate grants per interval parameter equal to one. Admission control was performed at the time of the reservation, so the later DSC-Request, having the activate parameters within the range of the previous reservation, is guaranteed to succeed. Subsequent upper-layer flows would be handled in the same way. If there were three upper-layer flows establishing connections, with one flow already active, the service flow would have admit(ted) grants per interval equal to four, and active grants per interval equal to one. + +An activation request of a service flow where the new ActiveQosParamSet is a subset of the AdmittedQosParamSet and no new classifiers are being added MUST be allowed (except in the case of catastrophic failure). An admission request where the AdmittedQosParamSet is a subset of the previous AdmittedQosParamSet, so long as the ActiveQosParamSet remains a subset of the AdmittedQosParamSet, MUST succeed. + +A service flow that has resources assigned to its AdmittedQosParamSet, but whose resources are not yet completely activated, is in a transient state. A timeout value MUST be enforced by the CMTS that requires service flow activation within this period (refer to clause C.2.2.5.7). If service flow activation is not completed within this interval, the assigned resources in excess of the active QoS parameters MUST be released by the CMTS. + +It is possible in some applications that a long-term reservation of resources is necessary or desirable. For example, placing a telephone call on hold should allow any resources in use for the call to be temporarily allocated to other purposes, but these resources must be available for resumption of the call later. The AdmittedQosParamSet is maintained as "soft state" in the CMTS; this state must be refreshed periodically for it to be maintained without the above timeout releasing the non-activated resources. This refresh MAY be signalled with a periodic DSC-REQ message with identical QoS parameter sets, or MAY be signalled by some internal mechanism within the CMTS outside of the scope of this Recommendation (e.g., by the CMTS monitoring RSVP refresh messages). Every time a refresh is signalled to the CMTS, the CMTS MUST refresh the "soft state." + +### 10.1.5.3 Active service flows + +A service flow that has a non-NULL set of ActiveQosParameters is said to be an active service flow. It is requesting24 and being granted bandwidth for transport of data packets. An admitted service flow may be made active by providing an ActiveQosParamSet, signalling the resources actually desired at the current time. This completes the second stage of the two-phase activation model (refer to clause 10.1.5.2). + +A service flow may be provisioned and immediately activated. This is the case for the primary service flows. It is also typical of service flows for monthly subscription services, etc. These service flows are established at registration time and MUST be authorized by the CMTS based on the CMTS MIC. These service flows MAY also be authorized by the CMTS authorization module. + +Alternatively, a service flow may be created dynamically and immediately activated. In this case, two-phase activation is skipped and the service flow is available for immediate use upon authorization. + +### 10.1.6 Service flows and classifiers + +The basic model is that the classifiers associate packets into exactly one service flow. The service flow encodings provide the QoS parameters for treatment of those packets on the RF interface. These encodings are described in clause C.2. + +In the upstream direction, the CM MUST classify upstream packets to active service flows. The CMTS MUST classify downstream traffic to active downstream service flows. There MUST be a default downstream service flow for otherwise unclassified broadcast and multicast traffic. + +--- + +24 According to its request/transmission policy (refer to clause C.2.2.6.3). + +The CMTS polices packets in upstream service flows to ensure the integrity of the QoS parameters and the packet's ToS value. When the rate at which packets are sent is greater than the policed rate at the CMTS, then these packets MAY be dropped by the CMTS (refer to clause C.2.2.5.2). When the value of the ToS byte is incorrect, the CMTS (based on policy) MUST police the stream by overwriting the ToS byte (refer to clause C.2.2.6.10). + +It may not be possible for the CM to forward certain upstream packets on certain service flows. In particular, a service flow using unsolicited grant service with fragmentation disabled cannot be used to forward packets larger than the grant size. If a packet is classified to a service flow on which it cannot be transmitted, the CM MUST either transmit the packet on the primary service flow or discard the packet depending on the request/transmission policy of the service flow to which the packet was classified. + +MAC management messages may only be matched by a classifier that contains a clause C.2.1.6.3 "ethertype/DSAP/MacType" parameter encoding and when the "type" field of the MAC management message header (see clause 8.3.1) matches that parameter. One exception is that the primary SID MUST be used for periodic ranging, as specified in clause 8.1.2.3, even if a classifier matches the upstream RNG-REQ message of periodic ranging. In the absence of any classifier matching a MAC management message, it SHOULD be transmitted on the primary service flow. Other than those MAC message types precluded from classification in clause C.2.1.6.3, a CM or CMTS MAY forward an otherwise unclassified MAC message on any service flow in an implementation-specific manner. + +Although MAC management messages are subject to classification, they are not considered part of any service flow. Transmission of MAC management messages MUST NOT influence any QoS calculations of the service flow to which they are classified. Delivery of MAC management messages is implicitly influenced by the attributes of the associated service flow. + +#### 10.1.6.1 Policy-based classification and service classes + +As noted in Appendix I, there are a variety of ways in which packets may be enqueued for transmission at the MAC service interface. At one extreme are embedded applications that are tightly bound to a particular payload header suppression rule (refer to clause 10.4) and which forego more general classification by the MAC. At the other extreme are general transit packets of which nothing is known until they are parsed by the MAC classification rules. Another useful category is traffic to which policies are applied by a higher-layer entity and then passed to the MAC for further classification to a particular service flow. + +Policy-based classification is, in general, beyond the scope of this Recommendation. One example might be the docsDevFilterIpPolicyTable defined in the Cable Device MIB [b-RFC 2669]. Such policies may tend to be longer-lived than individual service flows and MAC classifiers and so it is appropriate to layer the two mechanisms, with a well-defined interface between policies and MAC service flow classification. + +The interface between the two layers is the addition of two parameters at the MAC transmission request interface. The two parameters are a service class name and a rule priority that is applied to matching the service class name. The policy priority is from the same number space as the packet classifier priority of the packet-matching rules used by MAC classifiers. The MAC classification algorithm is now: + +``` +MAC_DATA.request( PDU, ServiceClassName, RulePriority ) +TxServiceFlowID = FIND_FIRST_SERVICE_FLOW_ID (ServiceClassName) +SearchID = SEARCH_CLASSIFIER_TABLE (All Priority Levels) +IF (SearchID not NULL and Classifier.RulePriority >= MAC_DATA.RulePriority) + TxServiceFlowID = SearchID +IF (TxServiceFlowID = NULL) + TRANSMIT_PDU (PrimaryServiceFlowID) +``` + +ELSE + +TRANSMIT\_PDU (TxServiceFlowID) + +While policy priority competes with packet classifier priority and its choice might in theory be problematic, it is anticipated that well-known ranges of priorities will be chosen to avoid ambiguity. In particular, dynamically-added classifiers **MUST** use the priority range 64-191. Classifiers created as part of registration, as well as policy-based classifiers, may use zero through 255, but **SHOULD** avoid the dynamic range. + +NOTE – Classification within the MAC sublayer is intended to simply associate a packet with a service flow. If a packet is intended to be dropped it **MUST** be dropped by the higher-layer entity and not delivered to the MAC sublayer. + +### 10.1.7 General operation + +#### 10.1.7.1 Static operation + +Static configuration of classifiers and service flows uses the registration process. A provisioning server provides the CM with configuration information. The CM passes this information to the CMTS in a registration request. The CMTS adds information and replies with a registration response. The CM sends a registration acknowledge to complete registration. + +![Sequence diagram showing the registration message flow between a CM, a Provisioning Server, and a CMTS.](8d6b5c2a30f8346755d79f2150c3177b_img.jpg) + +``` +sequenceDiagram + participant CM + participant PS as Provisioning Server + participant CMTS + Note left of CM: J.122_F10-5 + PS->>CM: TFTP Configuration + CM->>CMTS: Registration Request + CMTS->>CM: Registration Response + CM->>CMTS: Registration Acknowledge +``` + +The diagram illustrates the registration message flow. It features three vertical lifelines: CM (Client Module), Provisioning Server, and CMTS (Cable Modem Termination System). The sequence of messages is as follows: 1. TFTP Configuration: A message from the Provisioning Server to the CM. 2. Registration Request: A message from the CM to the CMTS. 3. Registration Response: A message from the CMTS to the CM. 4. Registration Acknowledge: A message from the CM to the CMTS. The diagram is labeled 'J.122\_F10-5' at the bottom right. + +Sequence diagram showing the registration message flow between a CM, a Provisioning Server, and a CMTS. + +**Figure 10-5 – Registration message flow** + +A TFTP configuration file consists of one or more instances of classifiers and service flow encodings. Classifiers are loosely ordered by 'priority'. Each classifier refers to a service flow via a 'service flow reference'. Several classifiers may refer to the same service flow. Additionally, more than one classifier may have the same priority, and in this case, the particular classifier used is not defined. + +**Table 10-1 – TFTP file contents** + +| Items | Point to service flow reference | Service flow reference | Service flow ID | +|-----------------------------------------------------------------------------------------|---------------------------------|------------------------|-----------------| +| Upstream classifiers
Each containing a service flow reference (pointer) | 1..n | | | +| Downstream classifiers
Each containing a service flow reference (pointer) | (n + 1)..q | | | +| Service flow encodings
Immediate activation requested, upstream | | 1..m | None yet | +| Service flow encodings
Provisioned for later activation requested, upstream | | (m + 1)..n | None yet | +| Service flow encodings
Immediate activation requested, downstream | | (n + 1)..p | None yet | +| Service flow encodings
Provisioned for later activation requested, downstream | | (p + 1)..q | None yet | + +Service flow encodings contain either a full definition of service attributes (omitting defaultable items if desired) or a service class name. A service class name is an ASCII string which is known at the CMTS and which indirectly specifies a set of QoS parameters (refer to clauses 10.1.3 and C.2.2.3.4) + +NOTE – At the time of the TFTP configuration file, service flow references exist as defined by the provisioning server. Service flow identifiers do not yet exist because the CMTS is unaware of these service flow definitions. + +The registration request packet contains downstream classifiers (if to be immediately activated) and all inactive service flows. The configuration file, and thus the registration request, generally does not contain a downstream classifier if the corresponding service flow is requested with deferred activation. This allows for late binding of the classifier when the flow is activated. + +**Table 10-2 – Registration request contents** + +| Items | Point to service flow reference | Service flow reference | Service flow ID | +|--------------------------------------------------------------------------------------------------------------------------------------|---------------------------------|------------------------|-----------------| +| Upstream classifiers
Each containing a service flow reference (pointer) | 1..n | | | +| Downstream classifiers
Each containing a service flow reference (pointer) | (n + 1)..p | | | +| Service flow encodings
Immediate activation requested, upstream.
May specify explicit attributes or service class name. | | 1..m | None yet | +| Service flow encodings
Provisioned for later activation requested, upstream.
Explicit attributes or service class name. | | (m + 1)..n | None yet | +| Service flow encodings
Immediate activation requested, downstream.
Explicit attributes or service name. | | (n + 1)..p | None yet | +| Service flow encodings
Provisioned for later activation requested, downstream.
Explicit attributes or service name. | | (p + 1)..q | None yet | + +The registration response sets the QoS parameter sets according to the quality of service parameter set type in the registration request. + +The registration response preserves the service flow reference attribute, so that the service flow reference can be associated with SFID and/or SID. + +**Table 10-3 – Registration response contents** + +| Items | Service flow reference | Service flow identifier | Service identifier | +|----------------------------------------------------------|------------------------|-------------------------|--------------------| +| Active upstream service flows explicit attributes | 1..m | SFID | SID | +| Provisioned upstream service flows explicit attributes | (m + 1)..n | SFID | Not yet | +| Active downstream service flows explicit attributes | (n + 1)..p | SFID | N/A | +| Provisioned downstream service flows explicit attributes | (p + 1)..q | SFID | N/A | + +The SFID is chosen by the CMTS to identify a downstream or upstream service flow that has been authorized but not activated. A DSC-Request from a modem to admit or activate a provisioned service flow contains its SFID. If it is a downstream flow then the downstream classifier is also included. + +### 10.1.7.2 Dynamic service flow Creation – CM-initiated + +Service flows may be created by the dynamic service addition process, as well as through the registration process outlined above. The dynamic service addition may be initiated by either the CM or the CMTS, and may create one upstream and/or one downstream dynamic service flow(s). A three-way handshake is used to create service flows. The CM-initiated protocol is illustrated in Figure 10-6 and described in detail in clause 11.4.2.1. + +![Sequence diagram for CM-initiated dynamic service addition. A Client Module (CM) sends a DSA-Request to a Cable Modem Termination System (CMTS). The CMTS responds with a DSA-Response, and the CM replies with a DSA-Acknowledge. The diagram is labeled J.122_F10-6.](c07637986c84860270f00b7af39e1956_img.jpg) + +``` + +sequenceDiagram + participant CM + participant CMTS + CM->>CMTS: DSA-Request + CMTS-->>CM: DSA-Response + CM->>CMTS: DSA-Acknowledge + +``` + +Sequence diagram for CM-initiated dynamic service addition. A Client Module (CM) sends a DSA-Request to a Cable Modem Termination System (CMTS). The CMTS responds with a DSA-Response, and the CM replies with a DSA-Acknowledge. The diagram is labeled J.122\_F10-6. + +**Figure 10-6 – Dynamic service addition message flow – CM-initiated** + +A DSA-Request from a CM contains service flow reference(s), QoS parameter set(s) (marked either for admission-only or for admission and activation) and any required classifiers. + +### 10.1.7.3 Dynamic service flow creation – CMTS-initiated + +A DSA-Request from a CMTS contains service flow identifier(s) for one upstream and/or one downstream service flow, possibly a SID, set(s) of active or admitted QoS parameters, and any required classifier(s). The protocol is as illustrated in Figure 10-7 and is described in detail in clause 11.4.2.2. + +![Sequence diagram for CMTS-initiated dynamic service addition. A Cable Modem Termination System (CMTS) sends a DSA-Request to a Client Module (CM). The CM responds with a DSA-Response, and the CMTS replies with a DSA-Acknowledge. The diagram is labeled J.122_F10-7.](d4369a53cb56f10f74fbed39280e9245_img.jpg) + +``` + +sequenceDiagram + participant CMTS + participant CM + CMTS->>CM: DSA-Request + CM-->>CMTS: DSA-Response + CMTS->>CM: DSA-Acknowledge + +``` + +Sequence diagram for CMTS-initiated dynamic service addition. A Cable Modem Termination System (CMTS) sends a DSA-Request to a Client Module (CM). The CM responds with a DSA-Response, and the CMTS replies with a DSA-Acknowledge. The diagram is labeled J.122\_F10-7. + +**Figure 10-7 – Dynamic service addition message flow – CMTS-initiated** + +### 10.1.7.4 Dynamic service flow modification and deletion + +In addition to the methods presented above for creating service flows, protocols are defined for modifying and deleting service flows. Refer to clauses 11.4.3 and 11.4.4. + +Both provisioned and dynamically created service flows are modified with the DSC message, which can change the admitted and active QoS parameter sets of the flow. The DSC can also add, replace, or delete classifiers, and add, add parameters to, or delete PHS Rules. + +A successful DSC transaction changes a service flow's QoS parameters by replacing both the admitted and active QoS parameter sets. If the message contains only the admitted set, the active set is set to null and the flow is deactivated. If the message contains neither set ('000' value used for quality of service parameter set type, see clause C.2.2.3.5) then both sets are set to null and the flow is de-admitted. When the message contains both QoS parameter sets, the admitted set is checked first and, if admission control succeeds, the active set in the message is checked against the admitted set in the message to ensure that it is a subset (see clause 10.1.1.1). If all checks are successful, the QoS parameter sets in the message become the new admitted and active QoS + +parameter sets for the service flow. If either of the checks fails, the DSC transaction fails and the service flow QoS parameter sets are unchanged. + +## 10.2 Upstream service flow scheduling services + +The following clauses define the basic upstream service flow scheduling services and list the QoS parameters associated with each service. A detailed description of each QoS parameter is provided in Annex C. Annex C also discusses how these basic services and QoS parameters can be combined to form new services, such as committed information rate (CIR) service. + +Scheduling services are designed to improve the efficiency of the poll/grant process. By specifying a scheduling service and its associated QoS parameters, the CMTS can anticipate the throughput and latency needs of the upstream traffic and provide polls and/or grants at the appropriate times. + +Each service is tailored to a specific type of data flow as described below. The basic services comprise: unsolicited grant service (UGS), real-time polling service (rtPS), unsolicited grant service with activity detection (UGS-AD), non-real-time polling service (nrtPS) and best effort (BE) service. Table 10-4 shows the relationship between the scheduling services and the related QoS parameters. + +### 10.2.1 Unsolicited grant service + +The unsolicited grant service (UGS) is designed to support real-time service flows that generate fixed size data packets on a periodic basis, such as voice over IP. The service offers fixed-size grants on a real-time periodic basis, which eliminate the overhead and latency of CM requests and assure that grants will be available to meet the flow's real-time needs. The CMTS MUST provide fixed-size data grants at periodic intervals to the service flow. In order for this service to work correctly, the request/transmission policy (refer to clause C.2.2.6.3) setting MUST be such that the CM is prohibited from using any contention request or request/data opportunities and the CMTS SHOULD NOT provide any unicast request opportunities. The request/transmission policy MUST also prohibit piggyback requests. This will result in the CM only using unsolicited data grants for upstream transmission. All other bits of the request/transmission policy are not relevant to the fundamental operation of this scheduling service and should be set according to network policy. The key service parameters are the unsolicited grant size, the nominal grant interval, the tolerated grant jitter and the request/transmission policy (refer to Appendix VI). + +The unsolicited grant synchronization header (UGSH) in the service flow EH element (refer to clause 8.2.6.3.2) is used to pass status information from the CM to the CMTS regarding the state of the UGS service flow. The most significant bit of the UGSH is the queue indicator (QI) flag. When the QI flag is set, it indicates a rate overrun condition for the service flow. When the QI flag is clear, it indicates a rate non-overrun condition for the service flow. The QI flag allows the CMTS to provide for a dynamic rate compensation function by issuing additional grants. + +The CM MUST set the QI flag when it detects that the packet reception rate is greater than the upstream transmission rate. The CM MUST clear the QI flag when it detects that the packet reception rate is equal to or less than the upstream transmission rate and the queued packet backlog is cleared. + +The number of packets already queued for upstream transmission is a measure of the rate differential between received and transmitted packets. The CM SHOULD set the QI flag when the number of packets queued is greater than the number of grants per interval parameter of the active QoS set. The CM SHOULD clear the QI flag when the number of packets queued is less than or equal to the number of grants per interval parameter of the active QoS set. The QI flag of each packet MAY be set either at the time the packet is received and queued or at the time the packet is dequeued and transmitted. + +The CM MAY set/clear the QI flag using a threshold of two times the number of grants per interval parameter of the active QoS set. Alternatively, the CM MAY provide hysteresis by setting the QI flag using a threshold of two times the number of grants per interval, then clearing it using a threshold of one times the number of grants per interval. + +The CMTS MUST NOT allocate more grants per nominal grant interval than the grants per interval parameter of the active QoS parameter set, excluding the case when the QI bit of the UGSH is set. In this case, the CMTS SHOULD grant up to 1% additional bandwidth for clock rate mismatch compensation. If the CMTS grants additional bandwidth, it MUST limit the total number of bytes forwarded on the flow during any time interval to $\text{Max}(T)$ , as described in the expression: + +$$\text{Max}(T) = T \times (R \times 1.01) + 3B$$ + +where: + +$\text{Max}(T)$ = the maximum number of bytes transmitted on the flow over a time $T$ (in units of seconds) + +$R$ = $(\text{grant\_size} \times \text{grants\_per\_interval}) / \text{nominal\_grant\_interval}$ + +$B$ = $\text{grant\_size} \times \text{grants\_per\_interval}$ + +The active grants field of the UGSH is ignored with UGS service. The CMTS policing of the service flow remains unchanged. + +### 10.2.2 Real-time polling service + +The real-time polling service (rtPS) is designed to support real-time service flows that generate variable-size data packets on a periodic basis, such as MPEG video. The service offers real-time, periodic, unicast request opportunities, which meet the flow's real-time needs and allow the CM to specify the size of the desired grant. This service requires more request overhead than UGS, but supports variable grant sizes for optimum data transport efficiency. + +The CMTS MUST provide periodic unicast request opportunities. In order for this service to work correctly, the request/transmission policy setting (refer to clause C.2.2.6.3) SHOULD be such that the CM is prohibited from using any contention request or request/data opportunities. The request/transmission policy SHOULD also prohibit piggyback requests. The CMTS MAY issue unicast request opportunities as prescribed by this service even if a grant is pending. This will result in the CM using only unicast request opportunities in order to obtain upstream transmission opportunities (the CM could still use unsolicited data grants for upstream transmission as well). All other bits of the request/transmission policy are not relevant to the fundamental operation of this scheduling service and should be set according to network policy. The key service parameters are the nominal polling interval, the tolerated poll jitter and the request/transmission policy. + +### 10.2.3 Unsolicited grant service with activity detection + +The unsolicited grant service with activity detection (UGS-AD) is designed to support UGS flows that may become inactive for substantial portions of time (i.e., tens of milliseconds or more), such as voice over IP with silence suppression. The service provides unsolicited grants when the flow is active and unicast polls when the flow is inactive. This combines the low overhead and low latency of UGS with the efficiency of rtPS. Though USG/AD combines UGS and rtPS, only one scheduling service is active at a time. + +The CMTS MUST provide periodic unicast grants when the flow is active but MUST revert to providing periodic unicast request opportunities when the flow is inactive. (The CMTS can detect flow inactivity by detecting unused grants. However, the algorithm for detecting a flow changing from an active to an inactive state is dependent on the CMTS implementation.) In order for this service to work correctly, the request/transmission policy setting (refer to clause C.2.2.6.3) MUST be such that the CM is prohibited from using any contention request or request/data opportunities. The request/transmission policy MUST also prohibit piggyback requests. This results in the CM + +using only unicast request opportunities in order to obtain upstream transmission opportunities. However, the CM will use unsolicited data grants for upstream transmission as well. All other bits of the request/transmission policy are not relevant to the fundamental operation of this scheduling service and should be set according to network policy. The key service parameters are the nominal polling interval, the tolerated poll jitter, the nominal grant interval, the tolerated grant jitter, the unsolicited grant size and the request/transmission policy. + +In UGS-AD service, when restarting UGS after an interval of rtPS, the CMTS SHOULD provide additional grants in the first (and/or second) grant interval such that the CM receives a total of one grant for each grant interval from the time the CM requested restart of UGS, plus one additional grant (refer to Appendix VI). Because the service flow is provisioned as a UGS flow with a specific grant interval and grant size, when restarting UGS, the CM MUST NOT request a different sized grant than the already provisioned UGS flow. As with any service flow, changes can only be requested with a DSC command. If the restarted activity requires more than one grant per interval, the CM MUST indicate this in the active grants field of the UGSH beginning with the first packet sent. + +The service flow extended header element allows for the CM to dynamically state how many grants per interval are required to support the number of flows with activity present. In UGS-AD, the CM MAY use the queue indicator bit in the UGSH. The remaining seven bits of the UGSH define the active grants field. This field defines the number of grants within a nominal grant interval that this service flow currently requires. When using UGS-AD, the CM MUST indicate the number of requested grants per nominal grant interval in this field. The active grants field of the UGSH is ignored with UGS without activity detection. This field allows the CM to signal to the CMTS to dynamically adjust the number of grants per interval that this UGS service flow is actually using. The CM MUST NOT request more than the number of grants per interval in the ActiveQosParamSet. + +If the CMTS allocates additional bandwidth in response to the QI bit, it MUST use the same rate-limiting formula as UGS, but the formula only applies to steady state periods where the CMTS has adjusted the grants\_per\_interval to match the active\_grants requested by the CM. + +When the CM is receiving unsolicited grants and it detects no activity on the service flow, it MAY send one packet with the active grants field set to zero grants and then cease transmission. Because this packet may not be received by the CMTS, when the service flow goes from inactive to active the CM MUST be able to restart transmission with either polled requests or unsolicited grants. + +#### **10.2.4 Non-real-time polling service** + +The non-real-time polling service (nrtPS) is designed to support non real-time service flows that require variable size data grants on a regular basis, such as high bandwidth FTP. The service offers unicast polls on a regular basis, which assures that the flow receives request opportunities even during network congestion. The CMTS typically polls nrtPS SIDs on an (periodic or non-periodic) interval on the order of one second or less. + +The CMTS MUST provide timely unicast request opportunities. In order for this service to work correctly, the request/transmission policy setting (refer to clause C.2.2.6.3) SHOULD be such that the CM is allowed to use contention request opportunities. This will result in the CM using contention request opportunities as well as unicast request opportunities and unsolicited data grants. All other bits of the request/transmission policy are not relevant to the fundamental operation of this scheduling service and should be set according to network policy. The key service parameters are nominal polling interval, minimum reserved traffic rate, maximum sustained traffic rate, request/transmission policy and traffic priority. + +### 10.2.5 Best effort service + +The intent of the best effort (BE) service is to provide efficient service to best effort traffic. In order for this service to work correctly, the request/transmission policy setting SHOULD be such that the CM is allowed to use contention request opportunities. This will result in the CM using contention request opportunities as well as unicast request opportunities and unsolicited data grants. All other bits of the request/transmission policy are not relevant to the fundamental operation of this scheduling service and should be set according to network policy. The key service parameters are the minimum reserved traffic rate, the maximum sustained traffic rate, and the traffic priority. + +### 10.2.6 Other services + +#### 10.2.6.1 Committed information rate (CIR) + +A committed information rate (CIR) service can be defined a number of different ways. For example, it could be configured by using a best effort service with a minimum reserved traffic rate or a nrtPS with a minimum reserved traffic rate. + +### 10.2.7 Parameter applicability for upstream service scheduling + +Table 10-4 summarizes the relationship between the scheduling services and key QoS parameters. A detailed description of each QoS parameter is provided in Annex C. + +**Table 10-4 – Parameter applicability for upstream service scheduling** + +| Service flow parameter | Best effort | Non-real-time polling | Real-time polling | Unsolicited grant | Unsolicited grant with activity detection | +|------------------------------------|--------------------------|-------------------------|-------------------------|------------------------|-------------------------------------------| +| Miscellaneous | | | | | | +| • Traffic priority | Optional, default = 0 | Optional default = 0 | N/A a) | N/A | N/A | +| • Max. concatenated burst | Optional | Optional | Optional | N/A | N/A | +| • Upstream scheduling service type | Optional, default = 2 | Mandatory | Mandatory | Mandatory | Mandatory | +| • Request/transmission policy | Optional, default = 0 | Mandatory | Mandatory | Mandatory | Mandatory | +| Maximum rate | | | | | | +| • Max. sustained traffic rate | Optional, default = 0 | Optional default = 0 | Optional default = 0 | N/A | N/A | +| • Max. traffic burst | Optional, default = 1522 | Optional default = 1522 | Optional default = 1522 | N/A | N/A | +| Minimum rate | | | | | | +| • Min. reserved traffic rate | Optional, default = 0 | Optional default = 0 | Optional default = 0 | N/A | N/A | +| • Assumed minimum packet size | Optional c) | Optional c) | Optional c) | Optional c) | Optional c) | +| Grants | | | | | | +| • Unsolicited grant size | N/A | N/A | N/A | Mandatory | Mandatory | +| • Grants per interval | N/A | N/A | N/A | Mandatory | Mandatory | +| • Nominal grant interval | N/A | N/A | N/A | Mandatory | Mandatory | + +**Table 10-4 – Parameter applicability for upstream service scheduling** + +| Service flow parameter | Best effort | Non-real-time polling | Real-time polling | Unsolicited grant | Unsolicited grant with activity detection | +|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|-------------------------|-------------------------|-------------------|-------------------------------------------| +| • Tolerated grant jitter | N/A | N/A | N/A | Mandatory | Mandatory | +| Polls | | | | | | +| • Nominal polling interval | N/A | Optional (c) | Mandatory | N/A | Optional b) | +| • Tolerated poll jitter | N/A | N/A | Optional (c) | N/A | Optional (c) | +| a) N/A means not applicable to this service flow scheduling type. If included in a request for a service flow of this service flow scheduling type, this request MUST be denied.
b) Default is same as nominal grant interval.
c) Default is CMTS-specific. | | | | | | + +### 10.2.8 CM transmit behaviour + +In order for these services to function correctly, all that is required of the CM in regards to its transmit behaviour for a service flow is for it to follow the rules specified in clause 9.4.3 and the request/transmission policy specified for the service flow. + +## 10.3 Fragmentation + +Fragmentation is an upstream CM "modem capability". The CMTS MUST enable or disable this capability on a per-modem basis with a TLV in the registration response. The per-modem basis provides compatibility with DOCS 1.0 CMs. Once fragmentation is enabled for a DOCS 1.1 modem, fragmentation is enabled on a per-service flow basis via the request/transmission policy configuration settings. When enabled for a service flow, fragmentation is initiated by the CMTS when it grants bandwidth to a particular CM with a grant size that is smaller than the corresponding bandwidth request from the CM. This is known as a **partial grant**. + +### 10.3.1 CM fragmentation support + +Fragmentation is essentially encapsulation of a portion of a MAC frame within a fixed size fragmentation header and a fragment CRC. Concatenated PDUs, as well as single PDUs, are encapsulated in the same manner. Baseline privacy, if enabled, is performed on each fragment as opposed to the complete original MAC frame. + +The CM MUST perform fragmentation according to the flow diagram in Figure 10-8. The phrase "untransmitted portion of packet" in the flow diagram refers to the entire MAC frame when fragmentation has not been initiated, and to the remaining untransmitted portion of the original MAC frame when fragmentation has been initiated. + +![Flowchart for CM fragmentation process. It starts with 'Start', followed by 'Await frame arrival', 'Request Bandwidth for SIDx', and 'Process MAP information elements'. The main decision loop checks 'Grant for SIDx?'. If 'Yes', it checks 'Grant smaller than request or request remainder?'. If 'Yes', it checks 'Fragmentation allowed for this SID?'. If 'Yes', it calculates fragmentation amount and checks 'Another grant or grant pending in MAP queue?'. Depending on the answer, it sends a fragment with zero or the request remainder in the piggyback field. If 'No' at any point, it checks 'Another frame in queue?'. If 'Yes', it sends the untransmitted portion with a request for the next frame. If 'No', it sends the untransmitted portion with piggyback field(s)=0. If 'No' to 'Grant for SIDx?', it checks 'Grant pending?'. If 'Yes', it goes to 'Backoff and re-request for untransmitted portion of frame'. If 'No', it checks 'Ack timer expired?'. If 'Yes', it checks 'Retries exhausted?'. If 'Yes', it discards the untransmitted portion. If 'No', it goes to 'Backoff and re-request for untransmitted portion of frame'. If 'No' to 'Ack timer expired?', it goes to 'Backoff and re-request for untransmitted portion of frame'.](f117583d264d1fa4b9c67c44879bb3e7_img.jpg) + +``` + +graph TD + Start([Start]) --> Await[Await frame arrival] + Await --> Request[Request Bandwidth for SIDx] + Request --> Process[Process MAP information elements] + Process --> GrantForSIDx{Grant for SIDx?} + GrantForSIDx -- No --> GrantPending{Grant pending?} + GrantPending -- Yes --> Backoff[Backoff and re-request for untransmitted portion of frame] + GrantPending -- No --> AckTimer{Ack timer expired?} + AckTimer -- Yes --> RetriesExhausted{Retries exhausted?} + RetriesExhausted -- Yes --> Discard1[Discard untransmitted portion of frame] + RetriesExhausted -- No --> Backoff + AckTimer -- No --> Backoff + Backoff --> Request + GrantForSIDx -- Yes --> GrantSmaller{Grant smaller than request or request remainder?} + GrantSmaller -- Yes --> FragmentationAllowed{Fragmentation allowed for this SID?} + FragmentationAllowed -- Yes --> CalcFragment[Calculate amount to fragment and bandwidth needed to transmit remainder (request remainder)] + CalcFragment --> AnotherGrant{Another grant or grant pending in MAP queue?} + AnotherGrant -- Yes --> SendFragmentZero[Send fragment with zero in the piggyback field] + AnotherGrant -- No --> SendFragmentRemainder[Send fragment with piggyback field set to request remainder] + FragmentationAllowed -- No --> DiscardGrant[Discard grant or send up request in granted slot] + GrantSmaller -- No --> AnotherFrame{Another frame in queue?} + AnotherFrame -- Yes --> SendUntransmittedNext[Send untransmitted portion of frame with request for next frame in piggyback field] + AnotherFrame -- No --> SendUntransmittedZero[Send untransmitted portion of frame with piggyback field(s)=0.] + SendFragmentZero --> Request + SendFragmentRemainder --> Request + DiscardGrant --> Request + SendUntransmittedNext --> Request + SendUntransmittedZero --> Request + Discard1 --> Request + +``` + +Flowchart for CM fragmentation process. It starts with 'Start', followed by 'Await frame arrival', 'Request Bandwidth for SIDx', and 'Process MAP information elements'. The main decision loop checks 'Grant for SIDx?'. If 'Yes', it checks 'Grant smaller than request or request remainder?'. If 'Yes', it checks 'Fragmentation allowed for this SID?'. If 'Yes', it calculates fragmentation amount and checks 'Another grant or grant pending in MAP queue?'. Depending on the answer, it sends a fragment with zero or the request remainder in the piggyback field. If 'No' at any point, it checks 'Another frame in queue?'. If 'Yes', it sends the untransmitted portion with a request for the next frame. If 'No', it sends the untransmitted portion with piggyback field(s)=0. If 'No' to 'Grant for SIDx?', it checks 'Grant pending?'. If 'Yes', it goes to 'Backoff and re-request for untransmitted portion of frame'. If 'No', it checks 'Ack timer expired?'. If 'Yes', it checks 'Retries exhausted?'. If 'Yes', it discards the untransmitted portion. If 'No', it goes to 'Backoff and re-request for untransmitted portion of frame'. If 'No' to 'Ack timer expired?', it goes to 'Backoff and re-request for untransmitted portion of frame'. + +J.122\_F.10-8 + +Figure 10-8 – CM fragmentation flowchart + +### 10.3.1.1 Fragmentation rules + +- 1) Any time fragmentation is enabled and the grant size is smaller than the request, the CM MUST fill the partial grant it receives with the maximum amount of data (fragment payload) possible accounting for fragmentation overhead and physical layer overhead. +- 2) The CM MUST send up a piggyback request any time there is no later grant or grant pending for that SID in MAPs that have been received at the CM. +- 3) If the CM is fragmenting a frame25, any piggyback request for the next fragment MUST be made in the BPI EHDR portion of the fragment header. Any piggyback request for a subsequent frame SHOULD be made in the BPI EHDR portion of the last fragment, but MAY be made in one of the extended headers inside the original frame. However, the same request MUST NOT be made in more than one place. Because the CMTS could ignore a request inside the original frame, making the request in the original frame may cause a loss of the request. +- 4) In calculating bandwidth requests for the remainder of the frame (concatenated frame, if concatenated) that has been fragmented, the CM MUST request enough bandwidth to transmit the entire remainder of the frame plus the 16-byte fragment overhead and all associated physical layer overhead. +- 5) If the CM does not receive a grant or grant pending within the ack time of sending a request, the CM MUST backoff and re-request for the untransmitted portion of the frame until the bandwidth is granted or the CM exceeds its retry threshold. +- 6) If the CM exceeds its retry threshold while requesting bandwidth, the CM discards whatever portion of the frame was not previously transmitted. +- 7) The CM MUST set the F bit and clear the L bit in the first fragment of a frame. +- 8) The CM MUST clear the F and L bits in the fragment header for any fragments that occur between the first and last fragments of a frame. +- 9) The CM MUST set the L bit and clear the F bit in the last fragment of a frame. +- 10) The CM MUST increment the fragment sequence number sequentially for each fragment of a frame transmitted. +- 11) If a frame is to be encrypted and the frame is fragmented, the frame is encrypted only at the fragment layer with encryption beginning immediately after the fragment header HCS and continuing through the fragment CRC. +- 12) Frames sent in immediate data (request/data) regions MUST NOT be fragmented. + +### 10.3.2 CMTS fragmentation support + +At the CMTS, the fragment is processed similarly to an ordinary packet with the exception that the baseline privacy encryption starts just after the fragmentation header as opposed to being offset by 12 bytes. + +The CMTS has two modes it can use to perform fragmentation. The multiple grant mode assumes that the CMTS retains the state of the fragmentation. This mode allows the CMTS to have multiple partial grants outstanding for any given SID. The piggyback mode assumes the CMTS does NOT retain any fragmentation state. Only one partial grant is outstanding, so that the CM inserts the remaining amount into the piggyback field of the fragment header. The type of mode being used is determined by the CMTS. In all cases, the CM operates with a consistent set of rules. + +--- + +25 'Frame' always refers to either frames with a single packet PDU or concatenated frames. + +### 10.3.2.1 Multiple grant mode + +A CMTS MUST support multiple grant mode or piggyback mode for performing fragmentation. A CMTS MAY support both fragmentation modes. + +Multiple grant mode allows the CMTS to break a request up into two or more grants in a single or over successive maps and it calculates the additional overhead required in the remaining partial grants to satisfy the request. In multiple grant mode, if the CMTS cannot grant the remainder in the current MAP, it MUST send a grant pending (zero length grant) in the current MAP and all subsequent MAPs to the CM until it can grant additional bandwidth. If there is no grant or grant pending in subsequent MAPs, the CM MUST re-request for the remainder. This re-request mechanism is the same as that used when a normal REQ does not receive a grant or grant pending within the ack time. + +If a CM receives a grant pending IE along with a fragment grant, it MUST NOT piggyback a request in the extended header of the fragment transmitted in that grant. + +In the case where the CM misses a grant and re-requests the remaining bandwidth, the CMTS MUST recover without dropping the frame. + +Due to the imprecision of the mini-slot to byte conversion process, the CMTS may not be able to calculate exactly the number of extra mini-slots needed to allow for fragmentation overhead. Also because it is possible for a CM to have missed a map with a partial grant, and thus to be requesting to send an unsent fragment rather than a new PDU, the CMTS cannot be certain whether the CM has already accounted for fragmentation overhead in a request. Therefore, the CMTS MUST make sure that any fragment payload remainder is at least one mini-slot greater than the number of mini-slots needed to contain the overhead for a fragment (16 bytes) plus the physical layer overhead necessary to transmit a minimum-sized fragment. Failure to do this may cause the CMTS to issue a grant that is not needed as the CM has completed transmission of the fragment payload remainder using the previous partial grant. This may cause the CM to get out of sync with the CMTS by inadvertently starting a new fragmentation. Also the CMTS needs to deal with the fact that with certain sets of physical layer parameters, the CM may request one more mini-slot than the maximum size of a short data grant, but not actually need that many mini-slots. This happens in the case where the CM needs to push the request size beyond the short data grant limit. The CMTS needs a policy to ensure that fragmenting such requests in multiple grant mode does not lead to unneeded fragmentary grants. + +### 10.3.2.2 Piggyback mode + +If the CMTS does not put another partial grant or a grant pending in the MAP in which it initiates fragmentation on a SID, the CM MUST automatically piggyback for the remainder. The CM calculates how much of a frame can be sent in the granted bandwidth and forms a fragment to send it. The CM utilizes the piggyback field in the fragment extended header to request the bandwidth necessary to transfer the remainder of the frame. Since the CMTS did not indicate a multiple grant in the first fragment MAP, the CM MUST keep track of the remainder to send. The request length, including physical-layer and fragmentation overhead, for the remainder of the original frame is inserted into the piggyback request byte in the fragmentation header. + +If the fragment HCS is correct, the piggybacked request, if present, is passed on to the bandwidth allocation process while the fragment itself is enqueued for reassembly. Once the complete MAC frame is reassembled, and it has been determined that the HCS is correct, the CMTS processes the frame as though it had been received unfragmented except that the CMTS MUST ignore the decryption-related portion of any privacy EHDRs. However, the bandwidth requests in privacy EHDRs and request EHDRs of such frames SHOULD be processed, but they MAY be ignored also. + +### 10.3.3 Fragmentation example + +#### 10.3.3.1 Single packet fragmentation + +Refer to Figure 10-9. Assume that fragmentation has been enabled for a given SID. + +- 1) (Requesting state) – CM wants to transmit a 1018-byte packet. CM calculates how much physical layer overhead (POH) is required and requests the appropriate number of mini-slots. CM makes a request in a contention region. Go to step 2. +- 2) (Waiting for grant) – CM monitors MAPs for a grant or grant pending for this SID. If the CM's ack time expires before the CM receives a grant or grant pending, the CM retries requesting for the packet until the retry count is exhausted – then the CM gives up on that packet. Go to step 3. +- 3) (First fragment) – Prior to giving up in step 2, the CM sees a grant for this SID that is less than the requested number of mini-slots. The CM calculates how much MAC information can be sent in the granted number of mini-slots using the specified burst profile. In the example in Figure 10-9, the first grant can hold 900 bytes after subtracting the POH. Since the fragment overhead (FRAG HDR, FHCS and FCRC) is 16 bytes, 884 bytes of the original packet can be carried in the fragment. The CM creates a fragment composed of the FRAG HDR, FHCS, 884 bytes of the original packet, and an FCRC. The CM marks the fragment as first and prepares to send the fragment. Go to step 4. +- 4) (First fragment, multiple grant mode) – CM looks to see if there are any other grants or grant pendings enqueued for this SID. If so, the CM sends the fragment with the piggyback field in the FRAG HDR set to zero and awaits the time of the subsequent grant to roll around. Go to step 6. If there are not any grants or grant pendings, go to step 5. +- 5) (First fragment, piggyback mode) – If there are no other grants or grant pendings for this SID in this MAP, the CM calculates how many mini-slots are required to send the remainder of the fragmented packet, including the fragmentation overhead, and physical layer overhead, and inserts this amount into the piggyback field of the FRAG HDR. The CM then sends the fragment and starts its ack timer for the piggyback request. In the example in Figure 10-9, the CM sends up a request for enough mini-slots to hold the POH plus 150 bytes (1018 – 884 + 16). Go to step 6. +- 6) (Waiting for grant) – The CM is now waiting for a grant for the next fragment. If the CM's ack timer expires while waiting on this grant, the CM should send up a request for enough mini-slots to send the remainder of the fragmented packet, including the fragmentation overhead, and physical layer overhead. Go to step 7. +- 7) (Receives next fragment grant) – Prior to giving up in step 6, the CM sees another grant for this SID. The CM checks to see if the grant size is large enough to hold the remainder of the fragmented packet, including the fragmentation overhead and physical layer overhead. If so, go to step 10. If not, go to step 8. +- 8) (Middle fragment, multiple grant mode) – Since the remainder of the packet (plus overhead) will not fit in the grant, the CM calculates what portion will fit. The CM encapsulates this portion of the packet as a middle fragment. The CM then looks for any other grants or grant pendings enqueued for this SID. If either are present, the CM sends the fragment with the piggyback field in the FRAG HDR set to zero and awaits the time of the subsequent grant to roll around. Go to step 6. If there are not any grants or grant pendings, go to step 9. +- 9) (Middle fragment, piggyback mode) – The CM calculates how many mini-slots are required to send the remainder of the fragmented packet, including the fragmentation overhead and physical layer overhead, and inserts this amount into the piggyback field of the FRAG HDR. The CM then sends the fragment and starts its ack timer for the piggyback request. Go to step 6. + +- 10) (Last fragment) – The CM encapsulates the remainder of the packet as a last fragment. If there is no other packet enqueued or there is a another grant or a grant pending enqueued for this SID, the CM places a zero in the REQ field of the FRAG HDR. If there is another packet enqueued with no grant or grant pending, the CM calculates the number of mini-slots required to send the next packet and places this number in the REQ field in the FRAG HDR. The CM then transmits the packet. Go to step 11. In the example in Figure 10-9, the grant is large enough to hold the remaining 150 bytes plus POH. +- 11) (Normal operation) – The CM then returns the normal operation of waiting for grants and requesting for packets. If at any time fragmentation is enabled and a grant arrives that is smaller than the request, the fragmentation process starts again as in step 2. + +![](687c1faf4209421db20c72c280b06a3d_img.jpg) + +Original packet with BPI EHDR (1018 bytes) + +| | | | | | | | | +|-----|------|-----|-----|-------------|-----|-------------|------| +| 1 B | 1 B | 2 B | 4 B | 4 B | 2 B | 1000 B | 4 B | +| FC | PARM | LEN | PRV | Other EHDRs | HCS | PDU payload | PCRC | + +Fragment payload + +884 (900 – 16) bytes sent in first fragment + +134 (1018 – 884) bytes sent in last fragment + +--- + +First grant can fit 900 bytes of MAC information + +| | | | | | | | | | | +|----------|------|-----|------|-----|-----|-------------|-----|---------------------|------| +| 10 B | 2 B | 1 B | 1 B | 2 B | 4 B | 4 B | 2 B | 870 B | 4 B | +| FRAG HDR | FHCS | FC | PARM | LEN | PRV | Other EHDRs | HCS | PDU payload (first) | FCRC | + +Encrypted under baseline privacy + +| | | | | +|-----|--------------|-----|----------| +| 1 B | 1 B | 2 B | 6 B | +| FC | EHDR LEN = 6 | LEN | BPI EHDR | + +| | | | +|----|-------|---| +| 11 | 00011 | 1 | +|----|-------|---| + +| | | | | | +|-----|-----|-------------|-----|-----------| +| 1 B | 1 B | 2 B | 1 B | 1 B | +| 35 | Ver | E T QoS_SID | RQ | Frag cntl | + +Request for enough mini-slots to fit 150 (130 + 4 + 16) bytes of MAC info. This field would be zero in multiple grant mode. + +| | +|----------| +| 00100000 | +|----------| + +--- + +Second grant can fit 150 bytes of MAC information + +| | | | | | +|----------|------|---------------------|------|------| +| 10 B | 2 B | 130 B | 4 B | 4 B | +| FRAG HDR | FHCS | PDU payload (cont.) | PCRC | FCRC | + +Encrypted under baseline privacy + +| | | | | +|-----|--------------|-----|----------| +| 1 B | 1 B | 2 B | 6 B | +| FC | EHDR LEN = 6 | LEN | BPI EHDR | + +| | | | +|----|-------|---| +| 11 | 00011 | 1 | +|----|-------|---| + +| | | | | +|-----|-----|-------------|-----| +| 1 B | 2 B | 1 B | 1 B | +| 35 | Ver | E T QoS_SID | RQ | + +Piggyback request for next PDU (if applicable) + +| | +|----------| +| 00010001 | +|----------| + +J.122\_F10-9 + +Frag cntl bit definition + +| | | | +|----|----|------| +| XX | FL | SSSS | +|----|----|------| + +- XX Reserved, set to 00 +- F Set on first fragment, clear otherwise +- L Set on last fragment, clear otherwise +- SSSS 4-bit sequence number, increments on each fragment of a frame, rolling over as necessary + +Figure 10-9 – Example of fragmenting a single packet + +10.3.3.2 Concatenated packet fragmentation + +After the CM creates the concatenated packet, the CM treats the concatenated packet as a single PDU. Figure 10-10 shows an example of a concatenated packet broken into 3 fragments. Note that the packet is fragmented without regard to the packet boundaries within the concatenated packet. + +Original concatenated packet +(287 bytes) + +![Diagram of the original concatenated packet structure showing fields: Concat. HDR (6 B), MAC HDR1 (15 B), PDU payload 1 (68 B), PCRC1 (4 B), MAC HDR2 (6 B), PDU payload 2 (100 B), PCRC2 (4 B), MAC HDR3 (10 B), PDU payload 3 (70 B), and PCRC3 (4 B). Below Concat. HDR and MAC HDR1, details show FC (1 B), EHDR LEN=6 (1 B), LEN (2 B), and HCS (2 B). Below MAC HDR2, details show FC (1 B), PARM (1 B), LEN (2 B), PRV (4 B), Other EHDRs (5 B), and HCS (2 B).](f912dca77834dec85a50503dea8c99be_img.jpg) + +Diagram of the original concatenated packet structure showing fields: Concat. HDR (6 B), MAC HDR1 (15 B), PDU payload 1 (68 B), PCRC1 (4 B), MAC HDR2 (6 B), PDU payload 2 (100 B), PCRC2 (4 B), MAC HDR3 (10 B), PDU payload 3 (70 B), and PCRC3 (4 B). Below Concat. HDR and MAC HDR1, details show FC (1 B), EHDR LEN=6 (1 B), LEN (2 B), and HCS (2 B). Below MAC HDR2, details show FC (1 B), PARM (1 B), LEN (2 B), PRV (4 B), Other EHDRs (5 B), and HCS (2 B). + +First grant can fit +125 bytes of +MAC information + +![Diagram of the first grant structure. The packet starts with FRAG HDR (10 B) and FHCS (2 B). Below FRAG HDR are FC (1 B), EHDR LEN=6 (1 B), and LEN (2 B). Below FHCS is BPI EHDR (6 B), which contains E|T|QoS_SID (1 B), RQ (1 B), and Frag cntl (1 B). The RQ field is expanded to show a request for 162 mini-slots (00100000). The remaining packet structure is Concat. HDR (6 B), MAC HDR1 (15 B), PDU payload 1 (68 B), PCRC1 (4 B), MAC HDR2 (6 B), PDU payload 2 (part 1) (10 B), and FCRC (4 B). A bracket indicates the portion from MAC HDR1 to the end is 'Encrypted under baseline privacy'. A note states: 'Request for enough mini-slots to fit 162 (287 - 109 + 16) bytes of MAC info. This field would be zero in multiple grant mode.'](5cdc04ba574b7b819a3cb6dbbd91306c_img.jpg) + +Diagram of the first grant structure. The packet starts with FRAG HDR (10 B) and FHCS (2 B). Below FRAG HDR are FC (1 B), EHDR LEN=6 (1 B), and LEN (2 B). Below FHCS is BPI EHDR (6 B), which contains E|T|QoS\_SID (1 B), RQ (1 B), and Frag cntl (1 B). The RQ field is expanded to show a request for 162 mini-slots (00100000). The remaining packet structure is Concat. HDR (6 B), MAC HDR1 (15 B), PDU payload 1 (68 B), PCRC1 (4 B), MAC HDR2 (6 B), PDU payload 2 (part 1) (10 B), and FCRC (4 B). A bracket indicates the portion from MAC HDR1 to the end is 'Encrypted under baseline privacy'. A note states: 'Request for enough mini-slots to fit 162 (287 - 109 + 16) bytes of MAC info. This field would be zero in multiple grant mode.' + +Second grant +can fit 146 bytes +of MAC +information + +![Diagram of the second grant structure. It starts with FRAG HDR (10 B) and FHCS (2 B). Below FRAG HDR are FC (1 B), EHDR LEN=6 (1 B), and LEN (2 B). Below FHCS is BPI EHDR (6 B), containing E|T|QoS_SID (1 B), RQ (1 B), and Frag cntl (1 B). The RQ field is expanded to show a request for 64 mini-slots (00000001). The remaining packet structure is PDU payload 2 (part 2) (90 B), PCRC2 (4 B), MAC HDR3 (10 B), PDU payload 3 (part 1) (26 B), and FCRC (4 B). A bracket indicates the portion from PDU payload 2 (part 2) to the end is 'Encrypted under baseline privacy'. A note states: 'Request for enough mini-slots to fit 64 (287 - 109 - 130 + 16) bytes of MAC info. This field would be zero in multiple grant mode.'](eeb519f37cc42888fa15ab9ea20ba7cb_img.jpg) + +Diagram of the second grant structure. It starts with FRAG HDR (10 B) and FHCS (2 B). Below FRAG HDR are FC (1 B), EHDR LEN=6 (1 B), and LEN (2 B). Below FHCS is BPI EHDR (6 B), containing E|T|QoS\_SID (1 B), RQ (1 B), and Frag cntl (1 B). The RQ field is expanded to show a request for 64 mini-slots (00000001). The remaining packet structure is PDU payload 2 (part 2) (90 B), PCRC2 (4 B), MAC HDR3 (10 B), PDU payload 3 (part 1) (26 B), and FCRC (4 B). A bracket indicates the portion from PDU payload 2 (part 2) to the end is 'Encrypted under baseline privacy'. A note states: 'Request for enough mini-slots to fit 64 (287 - 109 - 130 + 16) bytes of MAC info. This field would be zero in multiple grant mode.' + +Third grant can +fit 64 bytes of +MAC information + +![Diagram of the third grant structure. It starts with FRAG HDR (10 B) and FHCS (2 B). Below FRAG HDR are FC (1 B), EHDR LEN=6 (1 B), and LEN (2 B). Below FHCS is BPI EHDR (6 B), containing E|T|QoS_SID (1 B), RQ (1 B), and Frag cntl (1 B). The RQ field is expanded to show a request for the next packet (00010010). The remaining packet structure is PDU payload 3 (part 2) (44 B), PCRC3 (4 B), and FCRC (4 B). A bracket indicates the portion from PDU payload 3 (part 2) to the end is 'Encrypted under baseline privacy'. A note states: 'Request for next packet'. A label 'J.122_F10-10' is present.](b622fae9c3e43535a9915d1c912693fd_img.jpg) + +Diagram of the third grant structure. It starts with FRAG HDR (10 B) and FHCS (2 B). Below FRAG HDR are FC (1 B), EHDR LEN=6 (1 B), and LEN (2 B). Below FHCS is BPI EHDR (6 B), containing E|T|QoS\_SID (1 B), RQ (1 B), and Frag cntl (1 B). The RQ field is expanded to show a request for the next packet (00010010). The remaining packet structure is PDU payload 3 (part 2) (44 B), PCRC3 (4 B), and FCRC (4 B). A bracket indicates the portion from PDU payload 3 (part 2) to the end is 'Encrypted under baseline privacy'. A note states: 'Request for next packet'. A label 'J.122\_F10-10' is present. + +**Figure 10-10 – Fragmented concatenated packet example** + +### 10.4 Payload header suppression + +This overview clause explains the principles of payload header suppression. The subsequent clauses explain the signalling for initialization, operation and termination. Finally, specific upstream and downstream examples are given. The definitions shown in Table 10-5 are used. + +**Table 10-5 – Payload header suppression definitions** + +| | | | +|-----------------|-----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| PHS | Payload header suppression | Suppressing an initial byte string at the sender and restoring the byte string at the receiver | +| PHS rule | Payload header suppression rule | A set of TLVs that apply to a specific PHS index | +| PHSF | Payload header suppression field | A string of bytes representing the header portion of a PDU in which one or more bytes will be suppressed (i.e., a snapshot of the uncompressed PDU header inclusive of suppressed and unsuppressed bytes) | +| PHSI | Payload header suppression index | An 8-bit value that references the suppressed byte string | +| PHSM | Payload header suppression mask | A bit mask that indicates which bytes in the PHSF to suppress and which bytes to not suppress | +| PHSS | Payload header suppression size | The length of the suppressed field in bytes. This value is equivalent to the number of bytes in the PHSF and also the number of valid bits in the PHSM | +| PHSV | Payload header suppression verify | A flag that tells the sending entity to verify all bytes that are to be suppressed | + +#### 10.4.1 Overview + +In payload header suppression, a repetitive portion of the payload headers following the extended header field is suppressed by the sending entity and restored by the receiving entity. In the upstream, the sending entity is the CM and the receiving entity is the CMTS. In the downstream, the sending entity is the CMTS and the receiving entity is the CM. The MAC extended header contains a payload header suppression index (PHSI) that references the payload header suppression field (PHSF). + +Although PHS may be used with any service flow type, it has been designed for use with the unsolicited grant service (UGS) scheduling type. UGS works most efficiently with packets of a fixed length. PHS works well with UGS because, unlike other header compression schemes sometimes used with IP data, PHS always suppresses the same number of bytes in each packet. PHS will always produce a fixed length compressed packet header. + +The sending entity uses classifiers to map packets into a service flow. The classifier uniquely maps packets to its associated payload header suppression rule. The receiving entity uses the service identifier (SID) and the PHSI to restore the PHSR. + +Once the PHSF and PHSS fields of a rule are known, the rule is considered "fully defined" and none of its fields can be changed. If modified PHS operation is desired for packets classified to the flow, the old rule must be removed from the service flow and a new rule must be installed. + +When a classifier is deleted, any associated PHS rule MUST also be deleted. + +PHS has a PHSV option to verify or not verify the payload before suppressing it. PHS also has a PHSM option to allow select bytes not to be suppressed. This is used for sending bytes that change, such as IP sequence numbers, and still suppressing bytes that do not change. + +PHS rules are consistent for all scheduling service types. Requests and grants of bandwidth are specified after suppression has been accounted for. For unsolicited grant services, the grant size is chosen with the unsolicited grant size TLV. The packet with its header suppressed may be equal to or less than the grant size. + +The CMTS MUST assign all PHSI values just as it assigns all SID values. Either the sending or the receiving entity MAY specify the PHSF and PHSS. This provision allows for pre-configured headers, or for higher level signalling protocols outside the scope of this Recommendation to establish cache entries. PHS is intended for unicast service, and is not defined for multicast service. + +It is the responsibility of the higher-layer service entity to generate a PHS rule that uniquely identifies the suppressed header within the service flow. It is also the responsibility of the higher-layer service entity to guarantee that the byte strings being suppressed are constant from packet to packet for the duration of the active service flow. + +#### 10.4.2 Example applications + +- A classifier on an upstream service flow that uniquely defines a voice over IP (VoIP) flow by specifying protocol type of UDP, IP SA, IP DA, UDP source port, UDP destination port, the service flow reference, and a PHS Size of 42 bytes. A PHS rule references this classifier providing a PHSI value that identifies this VoIP media flow. For the upstream case, 42 bytes of payload header are verified and suppressed, and a 2-byte extended header containing the PHSI is added to every packet in that media flow. +- A classifier that identifies the packets in a service flow, of which 90% match the PHSR. Verification is enabled. This may apply in a packet compression situation where every so often compression resets are done and the header varies. In this example, the scheduling algorithm would allow variable bandwidth, and only 90% of the packets might get their headers suppressed. Since the existence of the PHSI extended header will indicate the choice made, the simple SID/PHSI lookup at the receiving entity will always yield the correct result. +- A classifier on an upstream service flow that identifies all IP packets by specifying ethertype of IP, the service flow ID, a PHSS of 14 bytes, and no verification by the sending entity. In this example, the CMTS has decided to route the packet, and knows that it will not require the first 14 bytes of the Ethernet header, even though some parts such as the source address or destination address may vary. The CM removes 14 bytes from each upstream frame (Ethernet header) without verifying their contents and forwards the frame to the service flow. + +#### 10.4.3 Operation + +To clarify operational packet flow, this clause describes one potential implementation. CM and CMTS implementations are free to implement payload header suppression in any manner as long as the protocol specified in this clause is followed. Figure 10-11 illustrates the following procedure. + +A packet is submitted to the CM MAC service layer. The CM applies its list of classifier rules. A match of the rule will result in an upstream service flow, SID and a PHS rule. The PHS rule provides PHSF, PHSI, PHSM, PHSS and PHSV. If PHSV is set to zero, or is not present, the CM will compare the bytes in the packet header with the bytes in the PHSF that are to be suppressed as indicated by the PHSM. If they match, the CM will suppress all the bytes in the upstream suppression field except the bytes masked by PHSM. The CM will then insert the PHSI into the PHS\_Parm field of the service flow EH element, and queue the packet on the upstream service flow. + +When the packet is received by the CMTS, the CMTS will determine the associated SID either by internal means or from other extended headers elements such as the BPI extended header. The CMTS uses the SID and the PHSI to look up PHSF, PHSM and PHSS. The CMTS reassembles the packet and then proceeds with normal packet processing. The reassembled packet will contain bytes from the PHSF. If verification was enabled, then the PHSF bytes will equal the original header bytes. If verification was not enabled, then there is no guarantee that the PHSF bytes will match the original header bytes. + +![Flowchart illustrating Payload header suppression operation. The diagram is split into two vertical columns: 'Sender PHS start' on the left and 'Receiver PHS start' on the right. The sender's path involves packet arrival, classification, verification, and suppression logic. The receiver's path involves identifying the SID, retrieving suppression fields, reconstructing the header, and forwarding the packet.](16e51d129488f259ccb14ae0db85061e_img.jpg) + +``` + +graph TD + subgraph Sender + S1([Sender PHS start]) --> S2[/Packet arrives/] + S2 --> S3[Classify packet +retrieve PHSF, PHSI, +PHSM, PHSS, PHSV] + S3 --> S4{Verify ?} + S4 -- Yes --> S5[Verify with +PHSF] + S4 -- No --> S6[Suppress with +PHSM +append PHSI] + S5 --> S7{Pass +verify ?} + S7 -- Yes --> S6 + S7 -- No --> S6 + S6 --> S8[/Forward +packet/] + S8 --> S9([END]) + end + subgraph Receiver + R1([Receiver PHS start]) --> R2[/Packet arrives/] + R2 --> R3[Identify SID and extract +PHSI] + R3 --> R4[Retrieve PHSF, PHSM, +PHSS] + R4 --> R5[Reconstruct header and +forward packet] + R5 --> R6[/Forward +packet/] + R6 --> R7([END]) + end + +``` + +J.122\_F.10-11 + +Flowchart illustrating Payload header suppression operation. The diagram is split into two vertical columns: 'Sender PHS start' on the left and 'Receiver PHS start' on the right. The sender's path involves packet arrival, classification, verification, and suppression logic. The receiver's path involves identifying the SID, retrieving suppression fields, reconstructing the header, and forwarding the packet. + +**Figure 10-11 – Payload header suppression operation** + +A similar operation occurs in the downstream. The CMTS applies its list of classifiers. A match of the classifier will result in a downstream service flow and a PHS rule. The PHS rule provides PHSF, PHSI, PHSM, PHSS and PHSV. If PHSV is set to zero, or is not present, the CMTS will verify the downstream suppression field in the packet with the PHSF. If they match, the CMTS will suppress all the bytes in the downstream suppression field except the bytes masked by PHSM. The CMTS will then insert the PHSI into the PHS\_Parm field of the service flow EH element, and queue the packet on the downstream service flow. + +The CM will receive the packet based upon the Ethernet destination address filtering. The CM then uses the PHSI to lookup PHSF, PHSM and PHSS. The CM reassembles the packet and then proceeds with normal packet processing. + +Figure 10-12 demonstrates packet suppression and restoration when using PHS masking. Masking allows only bytes that do not change to be suppressed. Note that the PHSF and PHSM span the entire suppression field, including suppressed and unsuppressed bytes. + +![Diagram illustrating payload header suppression with masking across a sender, cable network, and receiver. It shows the mapping of current headers (A-E) to cached headers (A'-E') using a suppression mask (PHSM) and suppression field (PHSF).](16563dc7c141a645e1b8cd9c4aa1cb23_img.jpg) + +The diagram illustrates the process of payload header suppression and restoration. It is divided into three main sections: Sender, Cable network, and Receiver. + +- Sender:** + - Current header: A B C D E + - PHSM (Payload Header Suppression Mask): 1 0 1 0 1 + - PHSF (Payload Header Suppression Field): A' X C' X E' +- Cable network:** + - Suppressed header: B D +- Receiver:** + - PHSM: 1 0 1 0 1 + - PHSF: A' X C' X E' + - Restored header: A' B C' D E' + +Arrows indicate the flow of data: from Sender's current header to PHSM and PHSF, then to the Cable network, then to the Receiver's PHSM and PHSF, and finally to the restored header. Dashed arrows show the mapping from Sender's PHSF to the Cable network and from the Cable network to the Receiver's PHSF. + +Legend: + +- Verify (solid double-headed arrow) +- Assign (dashed double-headed arrow) +- A-E: Current header +- A'-E': Cached header +- X: Don't care +- PHSS: 5 + +J.122\_F10-12 + +Diagram illustrating payload header suppression with masking across a sender, cable network, and receiver. It shows the mapping of current headers (A-E) to cached headers (A'-E') using a suppression mask (PHSM) and suppression field (PHSF). + +Figure 10-12 – Payload header suppression with masking + +#### 10.4.4 Signalling + +Payload header suppression requires the creation of three objects: + +- service flow; +- classifier; +- payload header suppression rule. + +These three objects MAY be created in separate message flows, or MAY be created simultaneously. + +PHS rules are created with registration, DSA or DSC messages. The CMTS MUST define the PHSI when the PHS rule is created. PHS rules are deleted with the DSC or DSD messages. The CM or CMTS MAY define the PHSS and PHSF. + +Figure 10-13 shows the two ways to signal the creation of a PHS Rule. + +It is possible to partially define a PHS rule (in particular, the size of the rule) at the time a service flow is created. + +As an example, it is likely that when a service flow is first provisioned, the size of the header field to be suppressed will be known. The values of some items within the field (e.g., IP addresses, UDP port numbers, etc.) may not be known and would be provided in a subsequent DSC as part of the activation of the service flow (using the "set PHS rule" DSC action). + +A PHS rule is partially defined when the PHSF and PHSS field values are not both known. Once both PHSF and PHSS are known, the rule is considered fully defined, and MUST NOT be modified + +via DSC signalling. PHSV and PHSM fields have default values, thus are not required to fully define a PHS rule. If PHSV and PHSM are not known when the rule becomes fully defined, their default values are used, and MUST NOT be modified via DSC signalling. + +Each step of the PHS rule definition, whether it is a registration request, DSA or a DSC, MUST contain service flow ID (or reference), classifier ID (or reference) to uniquely identify the PHS rule being defined. A PHS index and service ID pair is used to uniquely identify the PHS rule during upstream packet transfer. A PHS index is enough to uniquely identify the PHS rule used in downstream packet transfer. + +#### 10.4.5 Payload header suppression examples + +![](cdb980c2fe504f3132b907d4de707c7f_img.jpg) + +| CMTS-initiated | | CM-initiated | | +|----------------|-----------------------------------------------------------|------------------------------------------------------------------|---------| +| CMTS | CM | CMTS | CM | +| DSC-REQ | → Classifier ID + service flow ID
+ PHSI + PHSS + PHSF | ← Classifier reference/
ID + service flow ID
+ PHSS + PHSF | DSC-REQ | +| DSC-RSP | ← | → PHSI | DSC-RSP | +| DSC-ACK | → | ← | DSC-ACK | + +J.122\_F10-13 + +Figure 10-13 – Payload header suppression signalling example + +##### 10.4.5.1 Upstream example + +A service class with the service class name of "G711-US-UGS-HS-42" is established, which is intended for G.711 VoIP traffic in the upstream with unsolicited grant service. When classifiers are added to the flow, a PHSS value of 42 is included, which explicitly states that the first 42 bytes following the MAC extended header on all packets in that flow must be verified, suppressed and restored. In this example, the service class is configured such that any packet that does not verify correctly will not have its header suppressed and will be discarded since it will exceed the unsolicited grant size (refer to clause C.2.2.6.3). + +Figure 10-14 shows the encapsulation used in the upstream with and without payload header suppression. An RTP voice over IP payload without IPsec is used as a specific example to demonstrate efficiency. + +a) VoIP with normal encapsulation + +![Diagram showing normal VoIP encapsulation with fields: FGPS (14-34), MAC OH (4), BPI (5), HCS (2), Ethernet (14), IP (20), UDP (8), RTP (12), Voice bytes (10 to 160), CRC (4). A dashed line indicates suppression of Ethernet, IP, and UDP headers in the next diagram.](b80d6831090336de8afda95bd19972e6_img.jpg) + +| | | | | | | | | | | +|-------|--------|-----|-----|----------|----|-----|-----|-------------|-----| +| 14-34 | 4 | 5 | 2 | 14 | 20 | 8 | 12 | 10 to 160 | 4 | +| FGPS | MAC OH | BPI | HCS | Ethernet | IP | UDP | RTP | Voice bytes | CRC | + + + +| | | | | | | | | | +|-------|--------|-----|---|-----|-----|-------------|-----|-----------------| +| 14-34 | 4 | 5 | 2 | 2 | 12 | 10 to 160 | 4 | values in bytes | +| FGPS | MAC OH | BPI | P | HCS | RTP | Voice bytes | CRC | | + +Diagram showing normal VoIP encapsulation with fields: FGPS (14-34), MAC OH (4), BPI (5), HCS (2), Ethernet (14), IP (20), UDP (8), RTP (12), Voice bytes (10 to 160), CRC (4). A dashed line indicates suppression of Ethernet, IP, and UDP headers in the next diagram. + +b) VoIP with header suppression + +J.122\_F10-14 + +Figure 10-14 – Upstream payload header suppression example + +Figure 10-14 a) shows a normal RTP packet carried on an upstream channel. The beginning of the frame represents the physical layer overhead (FGPS) of FEC, guard time, preamble and stuffing bytes. Stuffing bytes occur in the last code word and when mapping blocks to mini-slots. Next is the MAC layer overhead including the 6-byte MAC header with a 5-byte BPI extended header, the 14-byte Ethernet header, and the 4-byte Ethernet CRC trailer. The VoIP payload uses a 20-byte IP header, an 8-byte UDP header, and a 12-byte RTP header. The voice payload is variable and depends upon the sample time and the compression algorithm used. + +Figure 10-14 b) shows the same payload with payload header suppression enabled. In the upstream, payload header suppression begins with the first byte after the MAC header checksum. The 14-byte Ethernet header, the 20-byte IP header, and the 8-byte UDP header have been suppressed, and a 2-byte PHS extended header element has been added, for a net reduction of 40 bytes. In this example of an established VoIP connection, these fields remain constant from packet to packet, and are otherwise redundant. + +10.4.5.2 Downstream example + +A service class with the service class name of "G711-DS-HS-30" is established, which is intended for G.711 VoIP traffic in the downstream. When classifiers are added to the service flow, a PHSS value of 30 is included which explicitly indicates that 30 bytes of the payload header on all packets must be processed for suppression and restoration according to the PHSM. Any packet that does not verify correctly will not have its header suppressed but will be transmitted subject to the traffic shaping rules in place for that service flow. + +Figure 10-15 shows the encapsulation used in the downstream with and without payload header suppression. An RTP voice over IP payload without IPsec is used as a specific example to demonstrate efficiency. + +a) VoIP with normal encapsulation + +![Diagram showing normal VoIP encapsulation with fields: MAC OH (4), BPI (5), HCS (2), DA (6), SA (6), T (2), IP (20), UDP (8), RTP (12), Voice bytes (10 to 160), CRC (4). A dashed line indicates suppression of DA, SA, T, IP, and UDP headers in the next diagram.](873275851761a3173ee66f649493aea3_img.jpg) + +| | | | | | | | | | | | +|--------|-----|-----|----|----|---|----|-----|-----|-------------|-----| +| 4 | 5 | 2 | 6 | 6 | 2 | 20 | 8 | 12 | 10 to 160 | 4 | +| MAC OH | BPI | HCS | DA | SA | T | IP | UDP | RTP | Voice bytes | CRC | + + + +| | | | | | | | | | | +|--------|-----|---|-----|----|----|-----|-------------|-----|-----------------| +| 4 | 5 | 2 | 2 | 6 | 6 | 12 | 10 to 160 | 4 | Values in bytes | +| MAC OH | BPI | P | HCS | DA | SA | RTP | Voice bytes | CRC | | + +Diagram showing normal VoIP encapsulation with fields: MAC OH (4), BPI (5), HCS (2), DA (6), SA (6), T (2), IP (20), UDP (8), RTP (12), Voice bytes (10 to 160), CRC (4). A dashed line indicates suppression of DA, SA, T, IP, and UDP headers in the next diagram. + +b) VoIP with header suppression + +J.122\_F10-15 + +Figure 10-15 – Downstream payload header suppression example + +Figure 10-15 a) shows a normal RTP packet carried on a downstream channel. The layer 2 overhead includes the 6-byte MAC header with a 5-byte BPI extended header, the 14-byte Ethernet header (6-byte destination address, 6-byte source address, and 2-byte ethertype field), and the 4-byte Ethernet CRC trailer. The layer 3 VoIP payload uses a 20-byte IP header, an 8-byte UDP header, and a 12-byte RTP header. The voice payload is variable and depends upon the sample time and the compression algorithm used. + +Figure 10-15 b) shows the same payload with payload header suppression enabled. In the downstream, payload header suppression begins with the thirteenth byte after the MAC header checksum. This retains the Ethernet destination address and source address, which is required so that the CM may filter and receive the packet. The remaining 2 bytes of the Ethernet header, the 20-byte IP header, and the 8-byte UDP header have been suppressed, and a 2-byte PHS extended header element has been added, for a net reduction of 28 bytes. In this example of an established VoIP connection, these fields remain constant from packet to packet, and are thus redundant. + +## **11 Cable modem – CMTS interaction** + +This clause covers the key requirements for the interaction between a CM and a CMTS. It only covers interaction between a CM and CMTS that are both compliant with this version of the Recommendation, and only in the case where the CM is using a configuration file with QoS parameters compliant with this version of the Recommendation. Issues involving interoperability with equipment and configuration files compliant with previous versions of this Recommendation (DOCS 1.x) are discussed in Annex G. The interaction can be broken down into five basic categories: initialization, authentication, configuration, authorization and signalling. + +### **11.1 CMTS initialization** + +The mechanism utilized for CMTS initialization (local terminal, file download, SNMP, etc.) is described in [DOCS5]. It MUST meet the following criteria for system interoperability: + +- The CMTS MUST be able to reboot and operate in a stand-alone mode using configuration data retained in non-volatile storage. +- If valid parameters are not available from non-volatile storage or via another mechanism such as the spectrum management system (see [b-VECCHI]), the CMTS MUST NOT generate any downstream messages (including SYNC). This will prevent CMs from transmitting. +- The CMTS MUST provide the information defined in clause 8 to CMs for each upstream channel. + +### **11.2 Cable modem initialization** + +The procedure for initialization of a cable modem MUST be as shown in Figure 11-1. This figure shows the overall flow between the stages of initialization in a CM. This shows no error paths, and is simply to provide an overview of the process. The more detailed finite state machine representations of the individual sections (including error paths) are shown in the subsequent figures. Timeout values are defined in Annex B. + +![Flowchart of CM initialization overview. The process starts with 'Scan for downstream channel' and proceeds through 'Downstream sync established', 'Obtain upstream parameters', 'Upstream parameters acquired', 'Ranging and automatic adjustments', 'Ranging and auto adj complete', 'Device class identification (optional)', 'Establish IP connectivity', 'IP complete', and 'Establish time of day'. A line connects the bottom of the first column to the top of the second column starting with 'Time of day established'. The second column continues with 'Transfer operational parameters', 'Transfer complete', 'Register with CMTS', and 'Registration complete'. A decision diamond 'Baseline privacy enabled' follows. If 'No', it goes directly to 'Operational'. If 'Yes', it goes to 'Baseline privacy initialization', then 'Baseline privacy initialized', and finally 'Operational'.](e54b4825299a9c5abf4bdc11266ca4b5_img.jpg) + +``` + +graph TD + A([Scan for downstream channel]) --> B[/Downstream sync established/] + B --> C([Obtain upstream parameters]) + C --> D[/Upstream parameters acquired/] + D --> E([Ranging and automatic adjustments]) + E --> F[/Ranging and auto adj complete/] + F --> G([Device class identification optional]) + G --> H([Establish IP connectivity]) + H --> I[/IP complete/] + I --> J([Establish time of day]) + J --> K[/Time of day established/] + K --> L([Transfer operational parameters]) + L --> M[/Transfer complete/] + M --> N([Register with CMTS]) + N --> O[/Registration complete/] + O --> P{Baseline privacy enabled} + P -- No --> Q([Operational]) + P -- Yes --> R([Baseline privacy initialization]) + R --> S[/Baseline privacy initialized/] + S --> Q + +``` + +J.122\_F.11-1 + +Flowchart of CM initialization overview. The process starts with 'Scan for downstream channel' and proceeds through 'Downstream sync established', 'Obtain upstream parameters', 'Upstream parameters acquired', 'Ranging and automatic adjustments', 'Ranging and auto adj complete', 'Device class identification (optional)', 'Establish IP connectivity', 'IP complete', and 'Establish time of day'. A line connects the bottom of the first column to the top of the second column starting with 'Time of day established'. The second column continues with 'Transfer operational parameters', 'Transfer complete', 'Register with CMTS', and 'Registration complete'. A decision diamond 'Baseline privacy enabled' follows. If 'No', it goes directly to 'Operational'. If 'Yes', it goes to 'Baseline privacy initialization', then 'Baseline privacy initialized', and finally 'Operational'. + +**Figure 11-1 – CM initialization overview** + +The procedure for initializing a cable modem and for a CM to re-initialize its MAC can be divided into the following phases: + +- scanning and synchronization to downstream; +- obtaining upstream parameters; +- ranging and automatic adjustments; +- device class identification (optional); +- establishing IP connectivity; +- establishing time of day; +- transferring operational parameters; +- registration; + +- baseline privacy initialization, if CM is provisioned to run baseline privacy. + +Each CM contains the following information when shipped from the manufacturer: + +- A unique IEEE 802 48-bit MAC address that is assigned during the manufacturing process. This is used to identify the modem to the various provisioning servers during initialization. +- Security information as defined in [DOCS8] (e.g., X.509 certificate) used to authenticate the CM to the security server and authenticate the responses from the security and provisioning servers. + +The SDL (specification and description language) notation used in the following figures is shown in Figure 11-2 (refer to [ITU-T Z.100]). + +![Figure 11-2 – SDL notation. This diagram shows various symbols used in SDL. It includes: State symbols (rounded rectangles); Input symbols, divided into Internal (a chevron pointing right with a double line on the right side) and External (a chevron pointing right with a single line on the right side); Task symbols (rectangles); Output symbols, divided into Internal (a chevron pointing right with a double line on the left side) and External (a chevron pointing right with a single line on the left side); and Decision symbols (diamonds). Each symbol is shown in two variations: a standard single-line version and a version with double lines on its vertical edges.](91f8008d6970ce8829ff74aa04e739d8_img.jpg) + +Figure 11-2 – SDL notation. This diagram shows various symbols used in SDL. It includes: State symbols (rounded rectangles); Input symbols, divided into Internal (a chevron pointing right with a double line on the right side) and External (a chevron pointing right with a single line on the right side); Task symbols (rectangles); Output symbols, divided into Internal (a chevron pointing right with a double line on the left side) and External (a chevron pointing right with a single line on the left side); and Decision symbols (diamonds). Each symbol is shown in two variations: a standard single-line version and a version with double lines on its vertical edges. + +J122\_F11-2 + +**Figure 11-2 – SDL notation** + +### 11.2.1 Scanning and synchronization to downstream + +On initialization or a "re-initialize MAC" operation, the cable modem MUST acquire a downstream channel. The CM MUST have non-volatile storage in which the last operational parameters are stored and MUST first try to re-acquire this downstream channel. If this fails, it MUST begin to continuously scan the 6-MHz channels of the downstream frequency band of operation until it finds a valid downstream signal. + +A downstream signal is considered to be valid when the modem has achieved the following steps: + +- synchronization of the QAM symbol timing; +- synchronization of the FEC framing; +- synchronization of the MPEG packetization; +- recognition of SYNC downstream MAC messages. + +While scanning, it is desirable to give an indication to the user that the CM is doing so. + +In order to support redundant CMTS architectures, when a CM in the operational state detects that the downstream signal is invalid (i.e., does not meet the four criteria above), the CM MUST NOT immediately perform a re-initialize MAC operation. It must instead attempt to re-establish synchronization on the current downstream channel (see clause 11.5). Such re-establishment attempts MUST continue until the operation of periodic ranging as specified in Figure 11-17 calls for a "re-initialize MAC" operation after the expiration of timeout T4 or 16 expirations of timeout T3. Figure 11-17 shows the procedure that MUST be followed by a cable modem during standard operation. + +An interruption of downstream signal occurs when the following conditions are met: + +- The interruption occurs on a downstream that is valid (per clauses 6.3.5, 6.3.6, 6.3.7, 6.3.8, 6.3.9 and 6.3.10) before and after the loss. +- The interruption is defined as an instantaneous loss of signal and, after a predetermined delay, an instantaneous return to the original signal fidelity. +- The restored downstream signal is the original signal transmitted from the original source. +- The carrier frequency, physical plant and path delays remain the same before and after the interruption. +- There are no changes in any downstream signalling parameter, including the modulation and the M/N ratio, from before to after the interruption. + +When a CM in the operational state in S-CDMA mode receives an interruption of downstream signal less than or equal to 5 ms, the CM MUST recover from the outage such that its fixed timing error is not greater than 0.02 of the nominal modulation interval (in addition to the allowed jitter defined in clause 6.2.21.8). When a CM in the operational state in TDMA mode receives an interruption of downstream signal less than or equal to 5 ms, the CM MUST recover from the outage such that the first upstream transmission after the CM resumes normal operation is performed within an accuracy of $\pm 250$ nanoseconds plus $\pm 0.5$ symbols (refer to clause 6.2.19.1). In either mode, the CM MUST continue with normal operation within 2 s from the end of the interruption. The CM is not required to continue normal operation if it receives a second interruption of downstream signal prior to the first receipt of a RNG-RSP with status "success". + +When a CM in the operational state receives an interruption of downstream signal greater than 5 ms but less than the lost sync interval (see Annex B), the CM MAY continue with normal operation as long as it recovers within 2 s: + +- with a fixed timing error not greater than 0.02 of the nominal modulation interval (in addition to the allowed jitter defined in clause 6.2.21.8), if the CM is in S-CDMA mode; +- within the accuracy of clause 6.2.19.1, if the CM is in TDMA mode. + +If the CM cannot recover according to the preceding recovery time, timing and jitter specifications, the CM MUST re-acquire upstream timing to an accuracy of at least 1 $\mu\text{s}$ and be ready to respond to a ranging opportunity within 2 s, and MUST receive a RNG-RSP message with status "success" before resuming its upstream transmission. For the ranging process, the CM MAY use broadcast or unicast initial maintenance intervals, or station maintenance intervals, although a CM in S-CDMA mode MUST NOT use spreader-on station maintenance. For the ranging process, the CM MUST use its primary SID in the INIT-RNG-REQ or RNG-REQ message and MUST use its known timing offset. After completing this ranging process by receiving RNG-RSP with the ranging status set to "success", the CM MUST return to normal operation. A CMTS MUST process INIT-RNG-REQ messages with a primary SID from any CM that is in normal operation. If the primary SID used by the CM in INIT-RNG-REQ is no longer valid, the CMTS SHOULD send a RNG-RSP message to the CM with the ranging status set to "abort". + +In all cases, after the first successful ranging opportunity subsequent to the interruption, the CM MUST meet the timing requirements specified in clauses 6.2.19.1 and 6.2.21.8. + +### **11.2.2 Obtain upstream parameters** + +Refer to Figure 11-3. After synchronization, the CM MUST wait for an upstream channel descriptor message (UCD) from the CMTS in order to retrieve a set of transmission parameters for a possible upstream channel. These messages are transmitted periodically from the CMTS for all available upstream channels and are addressed to the MAC broadcast address. The CM MUST determine whether it can use the upstream channel from the channel description parameters. + +![Flowchart for obtaining upstream parameters. The process starts with 'Collect UCD Messages', leading to 'Build channel list' and 'Timeout T1'. 'Build channel list' leads to 'Select first channel', which leads to 'Wait for usable UCD'. 'Timeout T1' leads to 'Scanning', which leads to 'End of channel list?'. 'End of channel list?' has a 'Yes' path to 'Scanning' and a 'No' path to 'Select next channel'. 'Select next channel' leads to 'Wait for usable UCD'. The sequence continues from 'Wait for usable UCD' through 'Good upstream descriptor', 'Wait for SYNC', 'SYNC', 'Extract upstream mini-slot timing', 'Wait for map for this channel', 'Map for selected channel', 'Initial Ranging', and 'Initial Ranging Successful?'. 'Initial Ranging Successful?' has a 'Yes' path to 'Periodic Ranging' and a 'No' path that loops back to the start of the channel selection process.](7cacccfa8d5af348070fa303943955b4_img.jpg) + +``` + +graph TD + Start([Collect UCD Messages]) --> Build[Build channel list] + Start --> T1[Timeout T1] + Build --> First[Select first channel] + T1 --> Scanning([Scanning]) + Scanning --> End{End of channel list?} + End -- Yes --> Scanning + End -- No --> Next[Select next channel] + Next --> WaitUCD([Wait for usable UCD]) + First --> WaitUCD + WaitUCD --> Good{Good upstream descriptor} + Good --> WaitSYNC([Wait for SYNC]) + WaitSYNC --> SYNC{SYNC} + SYNC --> Extract[Extract upstream mini-slot timing] + Extract --> WaitMap([Wait for map for this channel]) + WaitMap --> Map{Map for selected channel} + Map --> InitialRanging([Initial Ranging]) + InitialRanging --> Success{Initial Ranging Successful?} + Success -- Yes --> Periodic([Periodic Ranging]) + Success -- No --> Start + +``` + +J.122\_F11-3 + +Flowchart for obtaining upstream parameters. The process starts with 'Collect UCD Messages', leading to 'Build channel list' and 'Timeout T1'. 'Build channel list' leads to 'Select first channel', which leads to 'Wait for usable UCD'. 'Timeout T1' leads to 'Scanning', which leads to 'End of channel list?'. 'End of channel list?' has a 'Yes' path to 'Scanning' and a 'No' path to 'Select next channel'. 'Select next channel' leads to 'Wait for usable UCD'. The sequence continues from 'Wait for usable UCD' through 'Good upstream descriptor', 'Wait for SYNC', 'SYNC', 'Extract upstream mini-slot timing', 'Wait for map for this channel', 'Map for selected channel', 'Initial Ranging', and 'Initial Ranging Successful?'. 'Initial Ranging Successful?' has a 'Yes' path to 'Periodic Ranging' and a 'No' path that loops back to the start of the channel selection process. + +**Figure 11-3 – Obtaining upstream parameters** + +The CM MUST collect all UCDs with different channel ID fields to build a set of usable channel IDs. If no channel can be found after a suitable timeout period, the CM MUST continue scanning to find another downstream channel. + +The CM MUST determine whether it can use the upstream channel from the channel description parameters. If the channel is not suitable, the CM MUST try other channels until it finds a usable channel. + +Before attempting initial ranging on an upstream, the CM categorizes the available upstreams into the following types based on the UCD for each channel: + +- 1) With a UCD (MAC management message type 2) offering DOCS 1.x burst descriptors only. +- 2) With a UCD (MAC management message type 2) offering both DOCS 2.0 TDMA and DOCS 1.x burst descriptors. +- 3) With a UCD (MAC management message type 29) for a DOCS 2.0-only upstream. + +The CM MUST have non-volatile storage in which channel ID of the last upstream on which the CM successfully completed registration is stored. If multiple upstreams are available, the CM MUST attempt to use the one that matches this stored channel ID. If none of the available upstreams match that stored ID, or if the CM is unable to successfully complete initial ranging on the matching channel, then the CM MUST preferentially select upstream channels in the following order. Type 3 channels are first, followed by type 2 channels, and type 1 channels are last. The CM MUST NOT begin initial ranging on a type 1 or type 2 upstream until it has allowed sufficient time, at least the UCD interval (refer to Annex B), to determine if a type 3 upstream is available. If initial ranging fails on a type 3 upstream, the CM MUST ensure that it has allowed sufficient time to detect any other type 3 upstreams that are available before moving on to a type 2 or type 1 upstream. Of course, once the CM has waited enough time to ensure that it knows about any available type 3 upstreams, it will also know about any available type 2 upstreams and it MUST try them in preference to any type 1 upstreams. + +If the channel is suitable, the CM MUST extract the parameters for this upstream from the UCD. If the UCD message contains a type 19 TLV, the CM MUST (except as noted below) perform a bitwise AND of its ranging class ID with the TLV 19 Value. If the result of the bitwise AND is zero, the CM MUST consider the channel unusable and try other channels until it finds a usable channel. + +If the CM is obtaining upstream parameters prior to performing initial ranging with an assigned SID or in preparation for ranging in response to a DCC-REQ, it MUST ignore TLV-19. + +If the CM is not responding to a DCC-REQ and is going to be ranging with the initialization SID and if the UCD contains a type 18 TLV, the CM performs a bitwise AND of its ranging class ID with the TLV 18 value. If the result of the bitwise AND is equal to the CM's ranging class ID, the CM MUST inhibit initial ranging and start the T17 timer. If the UCD change count in the UCD message for the channel the CM is using, is incremented while the T17 timer is active, the CM will re-inspect the TLV-18 value and re-start the T17 timer if necessary. If the T17 timer expires or the TLV-18 value is updated to permit ranging for the CMs ranging class, the CM will resume normal ranging. If the CM should undergo a lost SYNC event while waiting for T17, it MUST re-initialize the MAC. A CM that is performing initial ranging with an assigned SID MUST ignore TLV-18. + +After having transmitted at least one initial maintenance RNG-REQ message, the CM MUST ignore TLV-18 or TLV-19 values in any new UCD message for the channel even if the new UCD contains a ranging required TLV. + +The CM MUST wait for the next SYNC message and extract the upstream mini-slot timestamp from this message26. The CM then MUST wait for a bandwidth allocation map for the selected channel. It may begin transmitting upstream in accordance with the MAC operation and the bandwidth allocation mechanism. + +The CM MUST perform initial ranging at least once, in accordance with Figure 11-6. If initial ranging is not successful, the next channel ID is selected, and the procedure restarted from UCD extraction. When there are no more channel IDs to try, the CM MUST continue scanning to find another downstream channel. + +### **11.2.3 Message flows during scanning and upstream parameter acquisition** + +The CMTS MUST generate SYNC and UCD messages on the downstream at periodic intervals within the ranges defined in Annex B. These messages are addressed to all CMs. Refer to Figure 11-4. + +--- + +26 Alternatively, since the SYNC message applies to all upstream channels, the CM may have already acquired a time reference from previous SYNC messages. If so, it need not wait for a new SYNC. + +![](9e290fa7e4578ba0a8b8c5008c99b564_img.jpg) + +| CMTS | | | CM | +|-------------------------|-------|--------|-----------------------------------------------------------------------------------------------| +| Clock time to send SYNC | _____ | SYNC → | | +| Clock time to send UCD | _____ | UCD → | | +| | | | | +| Clock time to send SYNC | _____ | SYNC → | | +| | | | Example of a UCD cycle prior to
CM power-on | +| | | | | +| Clock time to send SYNC | _____ | SYNC → | | +| | | | | +| | | | | +| Clock time to send SYNC | _____ | SYNC → | | +| | | | | +| Clock time to send SYNC | _____ | SYNC → | | +| Clock time to send UCD | _____ | UCD → | | +| Clock time to send SYNC | _____ | SYNC → | Power-on sequence complete | +| Clock time to send SYNC | _____ | SYNC → | Establish PHY synchronization and
wait for UCD | +| Clock time to send SYNC | _____ | SYNC → | | +| Clock time to send SYNC | _____ | SYNC → | | +| Clock time to send UCD | _____ | UCD → | Obtain parameters for this upstream
channel to use for initialization | +| Clock time to send SYNC | _____ | SYNC → | Extract slot info for upstream and wait
for transmit opportunity to perform
ranging | +| Clock time to send SYNC | _____ | SYNC → | | +| Clock time to send MAP | _____ | MAP → | Start ranging process | + +**Figure 11-4 – Message flows during scanning and upstream parameter acquisition** + +### 11.2.4 Ranging and automatic adjustments + +The ranging and adjustment process is fully defined in clause 8 and in the following clauses. The message sequence chart and the finite state machines on the following pages define the ranging and adjustment process which MUST be followed by compliant CMs and CMTSs. Refer to Figures 11-5 through 11-8. + +NOTE – MAPs are transmitted as described in clause 8. + +![](169044aee9e8adb39eed822364eed8aa_img.jpg) + +| CMTS | | CM | +|---------------------------------------------------------------------------------------------------------------------------|---------------------------|-----------------------------------------------------------------------------------------------| +| [Time to send the initial maintenance opportunity] | | | +| Send MAP containing initial maintenance information element with a broadcast/multicast service ID | MAP → | | +| | ← RNG-REQ or INIT-RNG-REQ | Transmit ranging packet in contention mode with service ID parameter = 0 | +| [Receive recognizable ranging packet] | | | +| Allocate temporary service ID | | | +| Send ranging response | RNG-RSP → | | +| Add temporary service ID to poll list | | Store temporary service ID and adjust other parameters | +| [Time to send the next MAP] | | | +| Send MAP with station maintenance information element or unicast initial maintenance element to modem using temporary SID | MAP → | Recognize own temporary service ID in map | +| | ← RNG-REQ | Reply to station maintenance opportunity poll or unicast initial maintenance opportunity poll | +| Send ranging response | RNG-RSP → | | +| | | Adjust local parameters | +| [Time to send an initial maintenance opportunity] | | | +| Send MAP containing initial maintenance information element with a broadcast/multicast service ID | | | +| Send periodic transmit opportunity to broadcast address | MAP → | | + +NOTE – The CMTS MUST allow the CM sufficient time to have processed the previous RNG-RSP (i.e., to modify the transmitter parameters) before sending the CM a specific ranging opportunity. This is defined as CM ranging response time in Annex B. + +**Figure 11-5 – Ranging and automatic adjustments procedure** + +![Flowchart for Broadcast initial ranging - CM. The process starts with 'Wait for broadcast initial ranging opportunity', leading to 'MAP with maintenance opportunity', then 'Send INIT-RNG-REQ or RNG-REQ', and 'Wait for RNG-RSP'. From 'Wait for RNG-RSP', it branches to 'RNG-RSP' (leading to 'Adjust local parameters per RNG-RSP' and 'Wait for unicast maintenance opportunity') and 'Timeout T3'. 'Timeout T3' leads to a decision 'Retries exhausted?'. If 'Y' (Yes), it leads to 'Error: re-initialize MAC'. If 'N' (No), it leads to 'Adjust local power', 'Random backoff (Note 1)', and back to 'Wait for broadcast initial ranging opportunity'. There is also a 'Timeout T2' leading to 'Error re-initialize MAC' from the initial wait state.](670a9057bbab8c7c0eb91db3a6de4d55_img.jpg) + +``` + +graph TD + Start([Wait for broadcast initial ranging opportunity]) --> MAP{MAP with maintenance opportunity} + MAP --> SendReq{{Send INIT-RNG-REQ or RNG-REQ}} + SendReq --> WaitRSP([Wait for RNG-RSP]) + WaitRSP --> RSP{RNG-RSP} + RSP --> AdjustParams[Adjust local parameters per RNG-RSP] + AdjustParams --> WaitUnicast([Wait for unicast maintenance opportunity]) + WaitRSP --> T3{Timeout T3} + T3 --> Retries{Retries exhausted?} + Retries -- Y --> Error1([Error: re-initialize MAC]) + Retries -- N --> AdjustPower[Adjust local power] + AdjustPower --> Backoff[Random backoff (Note 1)] + Backoff --> Start + Start --> T2{Timeout T2} + T2 --> Error2([Error re-initialize MAC]) + +``` + +Flowchart for Broadcast initial ranging - CM. The process starts with 'Wait for broadcast initial ranging opportunity', leading to 'MAP with maintenance opportunity', then 'Send INIT-RNG-REQ or RNG-REQ', and 'Wait for RNG-RSP'. From 'Wait for RNG-RSP', it branches to 'RNG-RSP' (leading to 'Adjust local parameters per RNG-RSP' and 'Wait for unicast maintenance opportunity') and 'Timeout T3'. 'Timeout T3' leads to a decision 'Retries exhausted?'. If 'Y' (Yes), it leads to 'Error: re-initialize MAC'. If 'N' (No), it leads to 'Adjust local power', 'Random backoff (Note 1)', and back to 'Wait for broadcast initial ranging opportunity'. There is also a 'Timeout T2' leading to 'Error re-initialize MAC' from the initial wait state. + +J.122\_F11-6 + +NOTE 1 – Timeout T3 may occur because the RNG-REQs from multiple modems collided. To avoid these modems repeating the loop in lockstep, a random backoff is required. This is a backoff over the ranging window specified in the MAP. T3 timeouts can also occur during multi-channel operation. On a system with multiple upstream channels, the CM MUST attempt initial ranging on every suitable upstream channel before moving to the next available downstream channel. + +NOTE 2 – A unicast maintenance opportunity can be either a station maintenance or a unicast initial maintenance opportunity. + +**Figure 11-6 – Broadcast initial ranging – CM** + +![Flowchart for Unicast initial ranging - CM. The process starts with 'Wait for unicast maintenance opportunity', followed by 'MAP with maintenance opportunity', 'Send RNG-REQ', 'Wait for RNG-RSP', 'RNG-RSP', 'Adjust parameters per RNG-RSP', and 'Ranging success (Note)'. If successful, it proceeds to 'Enable data transfer' and 'Establish IP layer'. If not, it checks 'RNG-REQ retries exceeded?' or 'Abort ranging from CMTS?'. If either is true, it goes to 'Error: re-initialize MAC'. Otherwise, it goes to 'Adjust transmit power' and then 'Timeout T4', which loops back to the start.](aff1234c5f34aa1533422a4de8e3707b_img.jpg) + +``` + +graph TD + Start([Wait for unicast maintenance opportunity]) --> MAP{MAP with maintenance opportunity} + MAP --> SendRNGREQ{{Send RNG-REQ}} + SendRNGREQ --> WaitRNGRSP([Wait for RNG-RSP]) + WaitRNGRSP --> RNGRSP{RNG-RSP} + RNGRSP --> AdjustParams[Adjust parameters per RNG-RSP] + AdjustParams --> RangingSuccess{Ranging success (Note)} + RangingSuccess -- Yes --> EnableData[Enable data transfer] + EnableData --> EstablishIP([Establish IP layer]) + RangingSuccess -- No --> AbortRanging{Abort ranging from CMTS?} + AbortRanging -- Yes --> Error([Error: re-initialize MAC]) + AbortRanging -- No --> AdjustPower[Adjust transmit power] + AdjustPower --> TimeoutT4{Timeout T4} + TimeoutT4 --> Start + RangingSuccess -- No --> RetriesExceeded{RNG-REQ retries exceeded?} + RetriesExceeded -- Yes --> Error + RetriesExceeded -- No --> AdjustPower + AdjustPower --> TimeoutT3{Timeout T3} + TimeoutT3 --> RetriesExceeded + +``` + +J.122\_F11-7 + +Flowchart for Unicast initial ranging - CM. The process starts with 'Wait for unicast maintenance opportunity', followed by 'MAP with maintenance opportunity', 'Send RNG-REQ', 'Wait for RNG-RSP', 'RNG-RSP', 'Adjust parameters per RNG-RSP', and 'Ranging success (Note)'. If successful, it proceeds to 'Enable data transfer' and 'Establish IP layer'. If not, it checks 'RNG-REQ retries exceeded?' or 'Abort ranging from CMTS?'. If either is true, it goes to 'Error: re-initialize MAC'. Otherwise, it goes to 'Adjust transmit power' and then 'Timeout T4', which loops back to the start. + +NOTE – Ranging request is within the tolerance of the CMTS. + +**Figure 11-7 – Unicast initial ranging – CM** + +![Flowchart for Initial ranging - CMTS. The process starts with waiting for a recognizable INIT-RNG-REQ or RNG-REQ, followed by processing the RNG-REQ, checking if a SID is assigned, and then sending an RNG-RSP. It includes decision points for 'Good enough?' and 'Retries exhausted?' with various outcomes like 'Send RNG-RSP (success)', 'Send RNG-RSP (abort)', or 'Remove CM from poll list'.](193552cf6503ba3edd53a717d66779f4_img.jpg) + +``` + +graph TD + Start([Wait for recognizable +INIT-RNG-REQ +or RNG-REQ]) --> RNGREQ1[/RNG-REQ/] + RNGREQ1 --> SIDAssigned{SID assigned to +this CM already?} + SIDAssigned -- No --> AssignSID[Assign temporary +SID] + AssignSID --> AddCM[Add CM to poll +list for future +maps] + SIDAssigned -- Yes --> ResetRetry[Reset retry count +in poll list for this +CM] + AddCM --> SendRNGRSPCont[Send RNG-RSP +(continue)] + ResetRetry --> SendRNGRSPCont + SendRNGRSPCont --> WaitPolledRNGREQ[Wait for polled +RNG-REQ] + Note2[Map will be sent per allocation +algorithm and pending till +complete (Note 2)] -.-> WaitPolledRNGREQ + WaitPolledRNGREQ --> RNGREQNotReceived[/RNG-REQ not +received/] + RNGREQNotReceived --> RetriesExhausted1{Retries exhausted?} + RetriesExhausted1 -- No --> WaitPolledRNGREQ + RetriesExhausted1 -- Yes --> RemoveCM1[Remove CM from +poll list] + RemoveCM1 --> WaitRecog[Wait for +recognizable +RNG-REQ] + WaitPolledRNGREQ --> RNGREQReceived[/RNG-REQ/] + RNGREQReceived --> GoodEnough{Good enough? +(Note 1)} + GoodEnough -- Yes --> SendRNGRSPSuccess[/Send +RNG-RSP +(success)/] + SendRNGRSPSuccess --> RemoveCM2[Remove CM from +poll list] + RemoveCM2 --> Done([Done]) + GoodEnough -- No --> RetriesExhausted2{Retries exhausted?} + RetriesExhausted2 -- Yes --> SendRNGRSPAbort[/Send +RNG-RSP +(abort)/] + SendRNGRSPAbort --> WaitRecog + RetriesExhausted2 -- No --> SendRNGRSPCont2[/Send +RNG-RSP +(continue)/] + SendRNGRSPCont2 --> WaitPolledRNGREQ2[Wait for polled +RNG-REQ] + WaitPolledRNGREQ2 --> WaitRecog + +``` + +Flowchart for Initial ranging - CMTS. The process starts with waiting for a recognizable INIT-RNG-REQ or RNG-REQ, followed by processing the RNG-REQ, checking if a SID is assigned, and then sending an RNG-RSP. It includes decision points for 'Good enough?' and 'Retries exhausted?' with various outcomes like 'Send RNG-RSP (success)', 'Send RNG-RSP (abort)', or 'Remove CM from poll list'. + +NOTE 1 – "Good enough" means ranging is within the tolerable limits of the CMTS. + +NOTE 2 – RNG-REQ pending-till-complete was non-zero, the CMTS SHOULD hold off the station maintenance opportunity accordingly unless needed, for example, to adjust the CMs power level. If opportunities are offered prior to the pending-till-complete expiry, the "good-enough" test that follows receipt of a RNG-RSP MUST NOT judge the CMs transmit equalization until pending-till-complete expires. + +**Figure 11-8 – Initial ranging – CMTS** + +#### 11.2.4.1 Ranging parameter adjustment + +Adjustment of local parameters (e.g., transmit power) in a CM as a result of the receipt (or non-receipt) of an RNG-RSP is considered to be implementation-dependent with the following restrictions (refer to clause 8.3.6): + +- All parameters MUST be within the approved range at all times. +- Power adjustment MUST start from the minimum value unless a valid power is available from non-volatile storage, in which case this MUST be used as a starting point. +- Power adjustment MUST be capable of being reduced or increased by the specified amount in response to RNG-RSP messages. +- If, during initialization, power is increased to the maximum value (without a response from the CMTS) it MUST wrap back to the minimum. +- For multi-channel support, the CM MUST attempt initial ranging on every suitable upstream channel before moving to the next available downstream channel. +- For multi-channel support, the CM MUST use the upstream channel ID of the range response as specified in clause 8.3.6 and in Appendix III. + +#### 11.2.5 Device class identification + +After ranging is complete and before establishing IP connectivity, the CM MAY identify itself to the CMTS for use in provisioning. Refer to Figure 11-9. + +![Sequence diagram for Device class identification between CMTS and CM.](e938694881f0eb809f192b1935bd79b4_img.jpg) + +The diagram illustrates the interaction between a CMTS (Cable Modem Termination System) and a CM (Cable Modem) for device class identification. The CMTS sends an identification request to the CM. The CM processes the request and responds with a DCI-RSP. The CMTS then continues to establish IP connectivity. + +``` +sequenceDiagram + participant CMTS + participant CM + Note left of CMTS: Send identification request to CMTS + CMTS->>CM: DCI-REQ + Note right of CM: Process request + CM-->>CMTS: DCI-RSP + Note left of CMTS: Continue to establishing IP connectivity +``` + +Sequence diagram for Device class identification between CMTS and CM. + +Figure 11-9 – Device class identification + +If implemented, the CM MUST use an adaptive timeout for device class identification based on binary exponential backoff, similar to that used for TFTP. Refer to clause 11.2.8 for details. + +#### 11.2.6 Establish IP connectivity + +At this point, the CM MUST invoke DHCP mechanisms [RFC 2131] in order to obtain an IP address and any other parameters needed to establish IP connectivity (refer to Annex D). The DHCP response MUST contain the name of a file that contains further configuration parameters. Refer to Figure 11-10. + +![Sequence diagram showing the DHCP process between a CM and a DHCP server. The CM sends a DHCP discover, the DHCP server checks the MAC address and responds with a DHCP offer. The CM then chooses a server and sends a DHCP request, which the server processes and responds with a DHCP response. Finally, the CM sets up IP parameters.](d81c8e2a793e1c09694427481b915762_img.jpg) + +``` + +sequenceDiagram + participant CM + participant DHCP + Note left of CM: Send DHCP request to broadcast address + CM->>DHCP: DHCP discover + Note right of DHCP: Check CM MAC address and respond + DHCP-->>CM: DHCP offer + Note left of CM: Choose server + CM->>DHCP: DHCP request + Note right of DHCP: Process request + DHCP-->>CM: DHCP response + Note left of CM: Set up IP parameters from DHCP response + +``` + +Sequence diagram showing the DHCP process between a CM and a DHCP server. The CM sends a DHCP discover, the DHCP server checks the MAC address and responds with a DHCP offer. The CM then chooses a server and sends a DHCP request, which the server processes and responds with a DHCP response. Finally, the CM sets up IP parameters. + +**Figure 11-10 – Establishing IP connectivity** + +As required in [RFC 2131], the CM MUST adopt a retransmission strategy that incorporates a randomized exponential backoff algorithm to determine the delay between retransmissions. The backoff algorithm SHOULD use a backoff start value of 4 seconds, a backoff end value of 64 seconds and randomized value of $\pm 1$ second. The CM MUST limit the number of retransmissions. The CM SHOULD limit the number of retransmissions (excluding the first transmission) to a maximum retries value of 5 but MAY implement less than the maximum retries value. The CM SHOULD also implement a different retransmission strategy for the RENEWING and REBINDING states, as recommended in [RFC 2131], which is based on one-half of the remaining lease time. Upon failure of obtaining or rebinding an IP address, the CM MUST attempt to establish communication on another upstream channel (see clause 11.2.2) or resume scanning to find another downstream channel (see clause 11.2.1). + +### 11.2.7 Establish time of day + +The CM and CMTS need to have the current date and time. This is required for time-stamping logged events which can be retrieved by the management system. This need not be authenticated and need only be accurate to the nearest second. + +The protocol by which the time of day MUST be retrieved is defined in [RFC 868]. Refer to Figure 11-11. The request and response MUST be transferred using UDP. The time retrieved from the server (UTC) MUST be combined with the time offset received from the DHCP response to create the current local time. + +![Sequence diagram showing the time of day protocol between a CM and a Time server. The CM sends a time of day request, the server processes it and responds with a time of day response. Finally, the CM sets up/corrects the time of day.](3d6dbebf94a27041f730a0dcc7e3dfda_img.jpg) + +``` + +sequenceDiagram + participant CM + participant Time server + Note left of CM: Send request to time server + CM->>Time server: Time of day request + Note right of Time server: Process request + Time server-->>CM: Time of day response + Note left of CM: Set up/correct time of day from response + +``` + +Sequence diagram showing the time of day protocol between a CM and a Time server. The CM sends a time of day request, the server processes it and responds with a time of day response. Finally, the CM sets up/corrects the time of day. + +**Figure 11-11 – Establishing time of day** + +The DHCP server may offer a CM multiple time of day server IP addresses to attempt. The CM MUST attempt all time of day servers included in the DHCP offer until local time is established. + +Successfully acquiring the time of day is not mandatory for a successful registration, but it is necessary for ongoing operation. If a CM is unable to establish time of day before registration it MUST log the failure, generate an alert to management facilities, then proceed to an operational state and retry periodically. + +The specific timeout for time of day Requests is implementation-dependent. However, for each server defined the CM MUST NOT exceed more than 3 time of day requests in any 5-minute period. At minimum, the CM MUST issue at least 1 time of day request per 5-minute period for each server specified until local time is established. + +#### **11.2.8 Transfer operational parameters** + +After DHCP is successful, the modem MUST download the parameter file using TFTP, as shown in Figure 11-12. The TFTP configuration parameter server is specified by the "siaddr" field of the DHCP response. The CM MUST use an adaptive timeout for TFTP based on binary exponential backoff. Refer to [RFC 1123] and [RFC 2349]. + +![Flowchart for Registration - CM process. The process starts with 'Time of day request' leading to 'Wait for time of day response'. A note indicates 'Time of day retries are asynchronous with registration'. The flow then splits into 'Time of day response' and 'Timeout'. Both lead to 'Request config. file'. From 'Request config. file', the flow goes to 'Wait for successful TFTP'. This leads to 'Config. file received' and 'Timeout'. 'Timeout' leads to 'Increment retry counter'. 'Config. file received' leads to a decision 'Mandatory items present?'. If 'No', it leads to 'Increment retry counter'. If 'Yes', it leads to 'CM MIC valid?'. If 'No', it leads to 'Increment retry counter'. If 'Yes', it leads to 'TLV type 11 errors?'. If 'Yes', it leads to 'Increment retry counter'. If 'No', it leads to 'Acquire operational parameters', which leads to 'Send REG-REQ', which leads to 'Wait for REG-RSP'. A decision 'Retries exceeded?' is also present. If 'No', it loops back to 'Request config. file'. If 'Yes', it leads to 'Scan for downstream channel'.](3747d48bc2656121be0dff7dbcb32fca_img.jpg) + +``` + +graph TD + A[/Time of day request/] --> B([Wait for time of day response]) + B --> C[/Time of day response/] + B --> D[/Timeout/] + C --> E[/Request config. file/] + D --> E + E --> F([Wait for successful TFTP]) + F --> G[/Config. file received/] + F --> H[/Timeout/] + H --> I[Increment retry counter] + G --> J{Mandatory items present?} + J -- No --> I + J -- Yes --> K{CM MIC valid?} + K -- No --> I + K -- Yes --> L{TLV type 11 errors?} + L -- Yes --> I + L -- No --> M[Acquire operational parameters] + M --> N[/Send REG-REQ/] + N --> O([Wait for REG-RSP]) + I --> P{Retries exceeded?} + P -- No --> E + P -- Yes --> Q([Scan for downstream channel]) + R[Time of day retries are asynchronous with registration] + +``` + +Flowchart for Registration - CM process. The process starts with 'Time of day request' leading to 'Wait for time of day response'. A note indicates 'Time of day retries are asynchronous with registration'. The flow then splits into 'Time of day response' and 'Timeout'. Both lead to 'Request config. file'. From 'Request config. file', the flow goes to 'Wait for successful TFTP'. This leads to 'Config. file received' and 'Timeout'. 'Timeout' leads to 'Increment retry counter'. 'Config. file received' leads to a decision 'Mandatory items present?'. If 'No', it leads to 'Increment retry counter'. If 'Yes', it leads to 'CM MIC valid?'. If 'No', it leads to 'Increment retry counter'. If 'Yes', it leads to 'TLV type 11 errors?'. If 'Yes', it leads to 'Increment retry counter'. If 'No', it leads to 'Acquire operational parameters', which leads to 'Send REG-REQ', which leads to 'Wait for REG-RSP'. A decision 'Retries exceeded?' is also present. If 'No', it loops back to 'Request config. file'. If 'Yes', it leads to 'Scan for downstream channel'. + +**Figure 11-12 – Registration – CM** + +The parameter fields required in the DHCP response, and the format and content of the configuration file **MUST** be as defined in Annex D. Note that these fields are the minimum required for interoperability. + +If a modem downloads a configuration file containing an upstream channel ID configuration setting (clause C.1.1.2) different from what the modem is currently using, the modem **MUST NOT** send a registration request message to the CMTS. Likewise, if a modem downloads a configuration file containing a single downstream channel frequency (clause C.1.1.21.1.2) and/or downstream frequency range (clause C.1.1.21.2) that does not include the downstream frequency the modem is currently using, or a downstream frequency configuration setting (clause C.1.1.1) different from what the modem is currently using and no downstream channel list, the modem **MUST NOT** send a + +registration request message to the CMTS. In either case, the modem MUST redo initial ranging using the configured upstream channel and/or downstream frequency per clause 8.3.6.3. + +If a modem downloads a configuration file containing the enable 2.0 mode TLV set to disable (see clause C.1.1.19), then it MUST NOT operate in 2.0 mode until it registers again and downloads a configuration file which does not have this TLV set to disable. This is true no matter what type of upstream the CM is using at the time it is attempting registration. If it is using a type 3 channel (as described in clause 11.2.2), it MUST NOT send a registration request message to the CMTS. The modem MUST redo initial ranging using a type 1 or type 2 channel. If no such upstream channel is available (or if the modem is unable to range successfully on one) the modem MUST scan for a new downstream, at which point 2.0 mode is no longer disabled. If the modem downloads a configuration file that does not disable 2.0 mode, then, regardless of what kind of upstream it is using at the time of registration, it will continue to operate with 2.0 mode enabled until it is no longer registered. This means that if a modem registers on a type 1 channel with a configuration file that enables 2.0 mode operation, and then ends up on a type 2 or type 3 upstream without going through re-registration, the CM would immediately start operating in 2.0 mode. + +## 11.2.9 Registration + +A CM MUST be authorized to forward traffic into the network once it is initialized and configured. The CM is authorized to forward traffic into the network via registration. To register with a CMTS, the CM MUST forward its configured class of service and any other operational parameters in the configuration file (refer to clause 8.3.7) to the CMTS as part of a registration request. The CM MUST perform the following operations before registration (refer to Figure 11-12): + +- Check configuration file mandatory items (refer to clause D.2.2). The CM MUST reject a configuration file if it lacks any mandatory items. +- Calculate a MIC per clause D.2.3.1 and compare it to the CM MIC included in the configuration file. If the MIC is invalid, the CM MUST reject the configuration file. +- If the configuration file contains TLV-11 encoding, the CM MUST follow the configuration process defined in clause 3.4 of [DOCS5]. The CM MUST reject a configuration file in the case of TLV-11 processing failure. + +Figure 11-12 shows the procedure that MUST be followed by the CM. + +The configuration parameters downloaded to the CM MUST include a network access control object (see clause C.1.1.3). If this is set to "no forwarding," the CM MUST NOT forward data from attached CPE to the network, yet the CM MUST respond to network management requests. This allows the CM to be configured in a mode in which it is manageable but will not forward data. + +Once the CM has sent a registration request to the CMTS, it MUST wait for a registration response to authorize it to forward traffic to the network. Figure 11-13 shows the waiting procedure that MUST be followed by the CM. + +![Flowchart titled 'Wait for Reg Rsp' showing the registration response process for a CM. It starts with 'Wait for Reg Rsp', leading to 'Timeout T6' and 'REG-RSP'. 'Timeout T6' leads to 'Retries exhausted?'. If 'No', it goes to 'Send REG-REQ' and then 'Wait for REG-RSP'. If 'Yes', it goes to 'Error: Re-initialize MAC'. 'REG-RSP' leads to 'Response = ok?'. If 'No', it goes to 'Implementation Dependent'. If 'Yes', it leads to 'CM supports all parameters in REG-RSP?'. If 'No', it goes to 'Send REG-ACK with error sets' and then to 'Implementation Dependent'. If 'Yes', it goes to 'Setup Service Flows & Activate Operational Parameters', then 'Send REG-ACK'. 'Send REG-ACK' leads to 'DOCS 2.0 enabled AND Type 2 channel?'. If 'Yes', it goes to 'Switch to DOCS 2.0 mode' and then to 'Operational'. If 'No', it goes to 'Operational'. 'Operational' leads to 'REG-RSP'. 'Switch to DOCS 2.0 mode' also leads to 'Operational'. 'Switch to DOCS 1.1 mode' leads to 'DOCS 2.0 enabled AND Type 2 channel?'. If 'Yes', it goes to 'Switch to DOCS 2.0 mode' and then to 'Operational'. If 'No', it goes to 'REG-RSP'.](b35608e925cb6a7c0aa0db30d2db9d66_img.jpg) + +``` + +graph TD + Start([Wait for Reg Rsp]) --> T6[Timeout T6] + Start --> REG_RSP[REG-RSP] + T6 --> Retries{Retries exhausted?} + Retries -- No --> Send_REG_REQ[Send REG-REQ] + Send_REG_REQ --> Wait_REG_RSP[Wait for REG-RSP] + Retries -- Yes --> Error[Error: Re-initialize MAC] + REG_RSP --> ResponseOk{Response = ok?} + ResponseOk -- No --> ImplDep[Implementation Dependent] + ResponseOk -- Yes --> CMParams{CM supports all parameters in REG-RSP?} + CMParams -- No --> Send_REG_ACK_Err[Send REG-ACK with error sets] + Send_REG_ACK_Err --> ImplDep + CMParams -- Yes --> Setup[Setup Service Flows & Activate Operational Parameters] + Setup --> Send_REG_ACK[Send REG-ACK] + Send_REG_ACK --> DOCS20_1{DOCS 2.0 enabled AND Type 2 channel?} + DOCS20_1 -- Yes --> Switch20[Switch to DOCS 2.0 mode] + DOCS20_1 -- No --> Operational([Operational]) + Switch20 --> Operational + Operational --> REG_RSP_2[REG-RSP] + Switch20 --> Switch11[Switch to DOCS 1.1 mode] + Switch11 --> DOCS20_2{DOCS 2.0 enabled AND Type 2 channel?} + DOCS20_2 -- Yes --> Switch20 + DOCS20_2 -- No --> REG_RSP_2 + +``` + +Flowchart titled 'Wait for Reg Rsp' showing the registration response process for a CM. It starts with 'Wait for Reg Rsp', leading to 'Timeout T6' and 'REG-RSP'. 'Timeout T6' leads to 'Retries exhausted?'. If 'No', it goes to 'Send REG-REQ' and then 'Wait for REG-RSP'. If 'Yes', it goes to 'Error: Re-initialize MAC'. 'REG-RSP' leads to 'Response = ok?'. If 'No', it goes to 'Implementation Dependent'. If 'Yes', it leads to 'CM supports all parameters in REG-RSP?'. If 'No', it goes to 'Send REG-ACK with error sets' and then to 'Implementation Dependent'. If 'Yes', it goes to 'Setup Service Flows & Activate Operational Parameters', then 'Send REG-ACK'. 'Send REG-ACK' leads to 'DOCS 2.0 enabled AND Type 2 channel?'. If 'Yes', it goes to 'Switch to DOCS 2.0 mode' and then to 'Operational'. If 'No', it goes to 'Operational'. 'Operational' leads to 'REG-RSP'. 'Switch to DOCS 2.0 mode' also leads to 'Operational'. 'Switch to DOCS 1.1 mode' leads to 'DOCS 2.0 enabled AND Type 2 channel?'. If 'Yes', it goes to 'Switch to DOCS 2.0 mode' and then to 'Operational'. If 'No', it goes to 'REG-RSP'. + +**Figure 11-13 – Wait for registration response – CM27** + +NOTE – In Figures 11-12 and 11-13, a type 2 upstream supports both DOCS 1.1 and DOCS 2.0 TDMA bursts (see 11.2.2). On such an upstream, it is necessary that the CMTS knows whether the CM has calculated a request to transmit data based on the DOCS 2.0 TDMA data IUCs (9, 10) or on the DOCS 1.x IUCs (5, 6). On these upstreams, the CM calculates all requests up to and including the request to transmit the REG-ACK based on the DOCS 1.x IUCs. If the CM is enabled to operate in 2.0 mode (see clause C.1.1.19), all requests to transmit data on such an upstream, subsequent to the transmission of the REG-ACK, are calculated based on the DOCS 2.0 TDMA data IUCs. If the CMTS indicates that it did not receive the REG-ACK by retransmitting the REG-RSP, a CM using such an upstream MUST revert to the DOCS 1.x data IUCs to request bandwidth for retransmitting the REG-ACK. + +27 Refer to clause 11.2.2 for channel type definitions. + +The CMTS MUST perform the following operations to confirm the CM authorization (refer to Figures 11-14 and 11-15): + +- Calculate a MIC per clause D.3.1 and compare it to the CMTS MIC included in the registration request. If the MIC is invalid, the CMTS MUST respond with an authentication failure. +- If present, check the TFTP server timestamp field. If the CMTS detects that the time is different from its local time by more than CM configuration processing time (refer to Annex B), the CMTS MUST indicate authentication failure in the REG-RSP. The CMTS SHOULD also make a log entry stating the CM MAC address from the message. +- If present, check the TFTP server provisioned modem address field. If the provisioned modem address does not match the requesting modem's actual address, the CMTS MUST indicate authentication failure in the REG-RSP. The CMTS SHOULD also make a log entry stating the CM MAC address from the message. +- If the registration request contains DOCS 1.0 class-of-service encodings, verify the availability of the class(es) of service requested. If unable to provide the class(es) of service, the CMTS MUST respond with a class-of-service failure and the appropriate service not available response code(s) (refer to clause C.1.3.4). +- If the registration request contains service flow encodings, verify the availability of the quality of service requested in the provisioned service flow(s). If unable to provide the service flow(s), the CMTS MUST respond with either a reject-temporary or a reject-permanent (see clause C.4) and the appropriate service flow response(s). +- If the registration request contains DOCS 1.0 class-of-service encodings and service flow encodings, the CMTS MUST respond with a class-of-service failure and a service not available response code set to 'reject-permanent' for all DOCS 1.0 classes and service flows requested. +- Verify the availability of any modem capabilities requested. If unable or unwilling to provide the modem capability requested, the CMTS MUST turn that modem capability 'off' (refer to clause 8.3.8.1.1). +- Assign a service flow ID for each class of service supported. +- Reply to the modem in a registration response. +- If the registration request contains service flow encoding and the REG-RSP is sent with a confirmation code of ok (0), the CMTS MUST wait for a registration acknowledgment as shown in Figure 11-14. If the registration request contains DOCS 1.0 class-of-service encodings, the CMTS MUST NOT wait for a registration acknowledgment. +- In a channel that supports both DOCS 1.x and DOCS 2.0 TDMA burst types (see clause 11.2), the CMTS MUST change the operational state of the DOCS 2.0 enabled CM (see clause C.1.1.19) to DOCS 2.0 TDMA after the registration acknowledgement message is received from the CM. +- If timer T9 expires, the CMTS MUST both de-assign the temporary SID from that CM and make some provision for aging out that SID. + +![Flowchart for Registration - CMTS process. The process starts with 'Waiting for REG-REQ', followed by 'REG-REQ', 'Stop T9', and 'Calculate MIC over REG-REQ'. It then enters a series of decision diamonds: 'CMTS MIC Valid?', 'TFTP server IP and/or timestamp valid?', 'Can the requested service(s) ever be supported?', and 'Can the requested service(s) currently be supported?'. Each 'No' branch leads to a 'Send REG-RSP' box with specific error reasons, all of which lead to 'Wait for REG-REQ'. The 'Yes' branches continue the process to 'Set modem capabilities supported in REG-RSP', 'Create requested services', and 'Send REG-RSP with response = OK', ending at 'Waiting for REG-ACK'. A label 'J.122_F11-14' is present near the bottom right of the flow.](8dd299498fe4924af215a1d179688e11_img.jpg) + +``` + +graph TD + Start([Waiting for REG-REQ]) --> REG-REQ[REG-REQ] + REG-REQ --> StopT9[Stop T9] + StopT9 --> CalcMIC[Calculate MIC over REG-REQ] + CalcMIC --> MICValid{CMTS MIC Valid?} + MICValid -- No --> RSP1[Send REG-RSP with response = authentication failure] + MICValid -- Yes --> TFTPValid{TFTP server IP and/or timestamp valid?} + TFTPValid -- No --> RSP2[Send REG-RSP with response = authentication failure and should log failure] + TFTPValid -- Yes --> ServiceEver{Can the requested service(s) ever be supported?} + ServiceEver -- No --> RSP3[Send REG-RSP with response = class of service failure and service not available = reason permanent] + ServiceEver -- Yes --> ServiceNow{Can the requested service(s) currently be supported?} + ServiceNow -- No --> RSP4[Send REG-RSP with response = class of service failure and service not available = reason temporary] + RSP1 --> WaitREQ([Wait for REG-REQ]) + RSP2 --> WaitREQ + RSP3 --> WaitREQ + RSP4 --> WaitREQ + ServiceNow -- Yes --> SetCapabilities[Set modem capabilities supported in REG-RSP] + SetCapabilities --> CreateServices[Create requested services] + CreateServices --> RSP5[Send REG-RSP with response = OK] + RSP5 --> WaitACK([Waiting for REG-ACK]) + J122_F11_14[J.122_F11-14] + +``` + +Flowchart for Registration - CMTS process. The process starts with 'Waiting for REG-REQ', followed by 'REG-REQ', 'Stop T9', and 'Calculate MIC over REG-REQ'. It then enters a series of decision diamonds: 'CMTS MIC Valid?', 'TFTP server IP and/or timestamp valid?', 'Can the requested service(s) ever be supported?', and 'Can the requested service(s) currently be supported?'. Each 'No' branch leads to a 'Send REG-RSP' box with specific error reasons, all of which lead to 'Wait for REG-REQ'. The 'Yes' branches continue the process to 'Set modem capabilities supported in REG-RSP', 'Create requested services', and 'Send REG-RSP with response = OK', ending at 'Waiting for REG-ACK'. A label 'J.122\_F11-14' is present near the bottom right of the flow. + +**Figure 11-14 – Registration – CMTS** + +![Flowchart for Registration acknowledgment – CMTS. The process starts with 'Waiting for REG-ACK', leading to 'REG-ACK' or 'Timeout T6'. 'REG-ACK' leads to a decision 'REG-ACK contains error sets?'. If 'No', it leads to 'Adv. PHY activated AND Type 2 channel?'. If 'Yes', it leads to 'Retries Exhausted?'. 'Timeout T6' also leads to 'Retries Exhausted?'. From 'Retries Exhausted?', 'No' leads to 'Send REG-RSP with response = OK' and 'Yes' leads to 'Destroy Services'. Both 'Send REG-RSP with response = OK' and 'Destroy Services' lead to 'Waiting for Reg-Req'. 'Adv. PHY activated AND Type 2 channel?' 'Yes' leads to 'Switch CM operational state to Adv PHY' and 'No' leads to 'Operational'. Both 'Switch CM operational state to Adv PHY' and 'Operational' lead to 'Operational'.](2650ae98f0e6dda48ae00a936ddea0ef_img.jpg) + +``` + +graph TD + Start([Waiting for REG-ACK]) --> REG_ACK[REG-ACK] + Start --> Timeout[Timeout T6] + REG_ACK --> ErrorSets{REG-ACK contains error sets?} + ErrorSets -- No --> AdvPHY{Adv. PHY activated AND Type 2 channel?} + ErrorSets -- Yes --> Retries{Retries Exhausted?} + Timeout --> Retries + Retries -- No --> SendRSP{{Send REG-RSP with response = OK}} + Retries -- Yes --> Destroy[Destroy Services] + SendRSP --> WaitingRegReq([Waiting for Reg-Req]) + Destroy --> WaitingRegReq + AdvPHY -- No --> Operational([Operational]) + AdvPHY -- Yes --> SwitchState[Switch CM operational state to Adv PHY] + SwitchState --> Operational + +``` + +Flowchart for Registration acknowledgment – CMTS. The process starts with 'Waiting for REG-ACK', leading to 'REG-ACK' or 'Timeout T6'. 'REG-ACK' leads to a decision 'REG-ACK contains error sets?'. If 'No', it leads to 'Adv. PHY activated AND Type 2 channel?'. If 'Yes', it leads to 'Retries Exhausted?'. 'Timeout T6' also leads to 'Retries Exhausted?'. From 'Retries Exhausted?', 'No' leads to 'Send REG-RSP with response = OK' and 'Yes' leads to 'Destroy Services'. Both 'Send REG-RSP with response = OK' and 'Destroy Services' lead to 'Waiting for Reg-Req'. 'Adv. PHY activated AND Type 2 channel?' 'Yes' leads to 'Switch CM operational state to Adv PHY' and 'No' leads to 'Operational'. Both 'Switch CM operational state to Adv PHY' and 'Operational' lead to 'Operational'. + +J.122\_F11-15 + +**Figure 11-15 – Registration acknowledgment – CMTS** + +### 11.2.10 Baseline privacy initialization + +Following registration, if the CM is provisioned to run baseline privacy, the CM MUST initialize baseline privacy operations as described in [DOCS8]. A CM is provisioned to run baseline privacy if the privacy enable TLV (see clause C.1.1.16) in the DOCS 1.1 style configuration file is explicitly/implicitly set to enable or the baseline privacy configuration setting (see clause C.3.2) is contained in the DOCS 1.0 style configuration file as specified in clauses A.1.1 and C.2 of the BPI+ Recommendation [DOCS8]. Note that the secure software download is required regardless of whether the CM is provisioned to run baseline privacy or not as specified in Appendix D of the BPI+ Recommendation [DOCS8]. + +When assigning provisioned SFIDs on receiving a registration request, the CMTS may re-use the temporary SID, assigning it to one of the service flows requested. If so, it MUST continue to allow initialization messages on that SID, since the registration response could be lost in transit. If the CMTS assigns all-new SIDs for class-of-service provisioning, it MUST age out the temporary SID. The aging-out MUST allow sufficient time to complete the registration process in case the registration response is lost in transit. + +### 11.2.11 Service IDs during CM initialization + +After completion of the registration process (see clause 11.2.9), the CM will have been assigned service flow IDs (SFIDs) to match its provisioning. However, the CM must complete a number of protocol transactions prior to that time (e.g., ranging, DHCP, etc.), and requires a temporary service ID in order to complete those steps. + +On reception of an initial ranging request, the CMTS MUST allocate a temporary SID and assign it to the CM for initialization use. The CMTS MAY monitor use of this SID and restrict traffic to that needed for initialization. It MUST inform the CM of this assignment in the ranging response. + +The temporary SID assigned by the CMTS MUST be in the unicast SID space (see clause 9.1.2). DOCSIS 2.0 CMs MUST support the capability to transmit unicast traffic on the expanded SID space (see clause C.1.3.1.3). If a CM supports the above capability the CMTS MAY assign SID numbers from the expanded unicast SID space in the registration response. + +On receiving a ranging response addressed to it, the CM MUST use the assigned temporary SID for further initialization transmission requests until the registration response is received. + +On receiving a ranging response instruction to move to a new downstream frequency and/or upstream channel ID, the CM MUST consider any previously assigned temporary SID to be de-assigned, and must obtain a new temporary SID via initial ranging. + +It is possible that the ranging response may be lost after transmission by the CMTS. The CM MUST recover by timing out and re-issuing its initial ranging request. Since the CM is uniquely identified by the source MAC address in the ranging request, the CMTS MAY immediately reuse the temporary SID previously assigned. If the CMTS assigns a new temporary SID, it MUST make some provision for aging out the old SID that went unused (see clause 8.3.8). + +When assigning provisioned SFIDs on receiving a registration request, the CMTS may reuse the temporary SID, assigning it to one of the service flows requested. If so, it MUST continue to allow initialization messages on that SID, since the registration response could be lost in transit. If the CMTS assigns all-new SIDs for class-of-service provisioning, it MUST age out the temporary SID. The aging-out MUST allow sufficient time to complete the registration process in case the registration response is lost in transit. + +## **11.2.12 Multiple-channel support** + +In the event that more than one downstream signal is present in the system, the CM MUST operate using the first valid downstream signal that it encounters when scanning. It will be instructed via the parameters in the configuration file (see Annex C) to shift operation to different downstream and/or upstream frequencies if necessary. + +Both upstream and downstream channels MUST be identified where required in MAC management messages using channel identifiers. + +## **11.3 Standard operation** + +### **11.3.1 Periodic signal level adjustment** + +The CMTS MUST provide each CM a periodic ranging opportunity at least once every T4 seconds. The CMTS MUST send out periodic ranging opportunities at an interval sufficiently shorter than T4 that a MAP could be missed without the CM timing out. The size of this "subinterval" is CMTS-dependent. + +The CM MUST re-initialize its MAC after T4 seconds have elapsed without receiving a periodic ranging opportunity. + +Remote RF signal level adjustment at the CM is performed through a periodic ranging function using the RNG-REQ and RNG-RSP MAC messages. This is similar to initial ranging and is shown in Figures 11-16 and 11-17. On receiving a RNG-RSP, the CM MUST NOT transmit until the RF signal has been adjusted in accordance with the RNG-RSP and has stabilized (refer to clause 6). The CM MUST NOT transmit anything other than RNG-REQs, if it has been suspended by receiving a RNG-RSP with a ranging state of CONTINUE, until such time as it receives a RNG-RSP with a ranging state of SUCCESS. When operating in 1.x mode, the CM should continue + +normal operation and MUST NOT suspend on-going data transmission if it receives a RNG-RSP with a ranging status of CONTINUE. + +The CMTS SHOULD NOT send a ranging status of CONTINUE in a RNG-RSP to any CMs in 2.0 mode unless the ranging parameters measured on the corresponding RNG-REQ are insufficient for the CMTS to guarantee proper reception of all burst types available to that CM. Additionally, upon sending a RNG-RSP with ranging status of CONTINUE to a CM in 2.0 mode, the CMTS SHOULD schedule another periodic ranging opportunity for the CM quickly so that the CM can return to a ranging status of SUCCESS as quickly as possible. + +As described in clause 11.2.1, during normal operation in the S-CDMA mode, if a CM temporarily loses synchronization to the downstream signal, it is required to perform a ranging process before returning to normal operation. To facilitate this recovery, if the CMTS does not receive a RNG-REQ message from a CM during a station maintenance interval, the CMTS MAY schedule unicast initial maintenance opportunities, or it MAY temporarily reduce the time between unicast spreader-off station maintenance opportunities. + +![Flowchart for Periodic ranging - CMTS. The process starts with adding a CM to a poll list on a periodic timer. It then enters a loop waiting for a polled RNG-REQ. If not received, it checks if retries are exhausted. If yes, it sends an abort response, removes the CM from the poll list, destroys associated SIDs, and ends. If no, it loops back. If received, it checks if it's 'Good enough'. If yes, it sends a success response, removes the CM from the poll list, and ends. If no, it checks if retries are exhausted. If yes, it sends an abort response, removes the CM from the poll list, destroys associated SIDs, and ends. If no, it sends a continue response and loops back to waiting for a polled RNG-REQ. A note indicates that MAPs will be sent per allocation algorithm and pending till complete.](65c3a00aa9457af841a9e548ef5a5c30_img.jpg) + +``` + +graph TD + Start[On periodic timer add CM to poll list for future MAPs] --> WaitRNG[Wait for polled RNG-REQ] + Note2[MAP will be sent per allocation algorithm and pending till complete Note 2] -.-> WaitRNG + WaitRNG --> NotReceived{RNG-REQ not received} + NotReceived --> RetriesExhausted1{Retries exhausted?} + RetriesExhausted1 -- No --> WaitRNG + RetriesExhausted1 -- Yes --> AbortRSP[Send RNG-RSP abort] + AbortRSP --> RemoveCM1[Remove CM from poll list] + RemoveCM1 --> DestroySIDs[Destroy SIDs associated with this CM] + DestroySIDs --> Done1([Done]) + WaitRNG --> Received{RNG-REQ} + Received --> GoodEnough{Good enough? Note 1} + GoodEnough -- Yes --> SuccessRSP[Send RNG-RSP success] + SuccessRSP --> RemoveCM2[Remove CM from poll list] + RemoveCM2 --> Done2([Done]) + GoodEnough -- No --> RetriesExhausted2{Retries exhausted?} + RetriesExhausted2 -- Yes --> AbortRSP + RetriesExhausted2 -- No --> ContinueRSP[Send RNG-RSP continue] + ContinueRSP --> WaitRNG + +``` + +J.122\_F11-16 + +Flowchart for Periodic ranging - CMTS. The process starts with adding a CM to a poll list on a periodic timer. It then enters a loop waiting for a polled RNG-REQ. If not received, it checks if retries are exhausted. If yes, it sends an abort response, removes the CM from the poll list, destroys associated SIDs, and ends. If no, it loops back. If received, it checks if it's 'Good enough'. If yes, it sends a success response, removes the CM from the poll list, and ends. If no, it checks if retries are exhausted. If yes, it sends an abort response, removes the CM from the poll list, destroys associated SIDs, and ends. If no, it sends a continue response and loops back to waiting for a polled RNG-REQ. A note indicates that MAPs will be sent per allocation algorithm and pending till complete. + +NOTE 1 – "Good enough" means ranging request is within the tolerance limits of the CMTS for power and transmit equalization (if supported). + NOTE 2 – RGN-REQ pending-till-complete was non-zero, the CMTS SHOULD hold off the station maintenance opportunity accordingly unless needed, for example, to adjust the CM's power level. If opportunities are offered prior to the pending-till-complete expiry, the "good-enough" test that follows receipt of RGN-RSP MUST NOT judge the CM's transmit equalization until pending-till-complete expires. + +**Figure 11-16 – Periodic ranging – CMTS** + +![Flowchart for Periodic ranging - CM view. The process starts at 'Operational' and branches into 'Unicast maintenance opportunity', 'Timeout T3', 'Timeout T4', and 'RNG-RSP'. The 'Unicast maintenance opportunity' path leads to 'Start T4 timer', 'Send RNG-REQ', 'Increment RNG-REQ retry counter', and 'Start T3 timer'. The 'RNG-REQ' path leads to a decision 'RNG-REQ retries exceeded?'. If 'Yes', it leads to 'Error: re-initialize MAC'. If 'No', it loops back to 'Start T3 timer'. The 'Timeout T3' path leads to the 'RNG-REQ retries exceeded?' decision. The 'Timeout T4' path leads to 'Abort ranging from CMTS?'. The 'RNG-RSP' path leads to 'T3 timer started?'. If 'Yes', it leads to 'Reset RNG-REQ retry counter; clear T3 timer'. If 'No', it leads to 'Abort ranging from CMTS?'. From 'Abort ranging from CMTS?', if 'Yes', it leads to 'Error: re-initialize MAC'. If 'No', it leads to 'Success ranging from CMTS?'. If 'Yes', it leads to 'Clear transmission suspend' and then 'Adjust local parameters per RNG-RSP'. If 'No', it leads to 'Suspend transmission of everything except RNG-REQs' and then 'Adjust local parameters per RNG-RSP'. Both 'Adjust local parameters per RNG-RSP' and 'Error: re-initialize MAC' lead back to 'Operational'.](5d84c9d0a467de80ab909d637ecd5639_img.jpg) + +``` + +graph TD + Operational([Operational]) --> Unicast{Unicast maintenance opportunity} + Operational --> T3{Timeout T3} + Operational --> T4{Timeout T4} + Operational --> RNGRSP{RNG-RSP} + + Unicast --> StartT4[Start T4 timer] + StartT4 --> SendRNGREQ[/Send RNG-REQ/] + SendRNGREQ --> IncrementRNGREQ[Increment RNG-REQ retry counter] + IncrementRNGREQ --> StartT3[Start T3 timer] + StartT3 --> Operational + + T3 --> RetriesExceeded{RNG-REQ retries exceeded?} + RetriesExceeded -- Yes --> Error([Error: re-initialize MAC]) + RetriesExceeded -- No --> StartT3 + + T4 --> AbortRanging{Abort ranging from CMTS?} + AbortRanging -- Yes --> Error + AbortRanging -- No --> SuccessRanging{Success ranging from CMTS?} + + RNGRSP --> T3Started{T3 timer started?} + T3Started -- Yes --> ResetRNGREQ[Reset RNG-REQ retry counter; clear T3 timer] + ResetRNGREQ --> AbortRanging + + SuccessRanging -- Yes --> ClearSuspend[Clear transmission suspend] + SuccessRanging -- No --> SuspendSuspend[Suspend transmission of everything except RNG-REQs] + + ClearSuspend --> AdjustParams[Adjust local parameters per RNG-RSP] + SuspendSuspend --> AdjustParams + + AdjustParams --> Operational + Error --> Operational + +``` + +Flowchart for Periodic ranging - CM view. The process starts at 'Operational' and branches into 'Unicast maintenance opportunity', 'Timeout T3', 'Timeout T4', and 'RNG-RSP'. The 'Unicast maintenance opportunity' path leads to 'Start T4 timer', 'Send RNG-REQ', 'Increment RNG-REQ retry counter', and 'Start T3 timer'. The 'RNG-REQ' path leads to a decision 'RNG-REQ retries exceeded?'. If 'Yes', it leads to 'Error: re-initialize MAC'. If 'No', it loops back to 'Start T3 timer'. The 'Timeout T3' path leads to the 'RNG-REQ retries exceeded?' decision. The 'Timeout T4' path leads to 'Abort ranging from CMTS?'. The 'RNG-RSP' path leads to 'T3 timer started?'. If 'Yes', it leads to 'Reset RNG-REQ retry counter; clear T3 timer'. If 'No', it leads to 'Abort ranging from CMTS?'. From 'Abort ranging from CMTS?', if 'Yes', it leads to 'Error: re-initialize MAC'. If 'No', it leads to 'Success ranging from CMTS?'. If 'Yes', it leads to 'Clear transmission suspend' and then 'Adjust local parameters per RNG-RSP'. If 'No', it leads to 'Suspend transmission of everything except RNG-REQs' and then 'Adjust local parameters per RNG-RSP'. Both 'Adjust local parameters per RNG-RSP' and 'Error: re-initialize MAC' lead back to 'Operational'. + +**Figure 11-17 – Periodic ranging – CM view** + +### 11.3.2 Changing upstream channel descriptor message parameters + +Whenever the CMTS is to change any of the upstream burst characteristics specified in the upstream channel descriptor (UCD) message (see clause 8.3.3), it must provide for an orderly transition from the old values to the new values by all CMs. Whenever the CMTS is to change any of the upstream characteristics, it **MUST** announce the new values in an UCD message, and the configuration change count field in that UCD message **MUST** be incremented to indicate that a value has changed. + +After transmitting one or more UCD messages with the new value, the CMTS transmits a MAP message with a UCD change count matching the new configuration change count. The first interval in the MAP **MUST** be a data grant of at least 1 millisecond to the null service ID (zero). In the case of S-CDMA channels, that grant to the null service ID **MUST** be at least the longer of 1-ms or the duration of 2 S-CDMA frames to allow for the latency of the S-CDMA framing, and the start time of the MAP with the new UCD change count **MUST** correspond to the beginning of an S-CDMA frame. The CMTS **MUST** allow this time for cable modems to change their PMD sublayer parameters to match the new set. This time is independent of the lead time the CMTS needed to allow for in transmitting the MAP (see clause 9.1.5). The CMTS **MUST** transmit the new UCD message early enough that the CM receives the UCD message at least the UCD processing time (see Annex B) prior to the time the first MAP using the new UCD parameters arrives at the CM. + +With the following exceptions, the CM MUST be able to transmit normally on the first grant following the grant to the NULL SID. The exceptions are the case where the new UCD message has changed the S-CDMA enable parameter, or the S-CDMA US ratio numerator or denominator. In these cases, the CM MAY redo initial ranging to establish timing synchronization for the new mode of operation before it resumes normal transmissions. If the CM was already registered with the CMTS, and it redoes initial ranging for this reason, it MUST use its primary SID instead of the initialization SID for the initial ranging process and it MUST NOT re-register. Using the ranging required parameter in the new UCD message, the CMTS can force the CM to perform ranging prior to making any other transmissions using the parameters in the new UCD message. In certain cases, channel-wide parameter changes (in particular, modulation rate or centre frequency) may invalidate pre-equalization and synchronization parameters, and normal operation may not be possible without re-ranging. If the CMTS changes the modulation rate or centre frequency on an S-CDMA channel, it MUST force re-ranging using the ranging required parameter. + +In the case of an S-CDMA channel, the first UCD message with a new configuration count and any subsequent UCD messages that may be sent prior to the first MAP with the new UCD change count MUST have an updated timestamp snapshot corresponding to the start time of that first MAP with the new UCD change count. Also on an S-CDMA channel, the CMTS MUST maintain the continuity of the mini-slot and S-CDMA frame counters during the change in UCD parameters even if the size of a mini-slot is changed. + +The CMTS MUST NOT transmit MAPs with the old UCD change count after transmitting the new UCD message. + +The CM MUST use the parameters from the UCD message corresponding to the MAP's UCD change count for any transmissions it makes in response to that MAP. If the CM has, for any reason, not received the corresponding UCD message, it cannot transmit during the interval described by that MAP. + +It is possible for the change in upstream parameters to cause the upstream to change from a type 1 upstream (see clause 11.2.2) to a type 2 upstream or a type 3 upstream. If this happens, and the CM registered with a configuration file that enables 2.0 mode (see clause 11.2.8), then the CM MUST operate in 2.0 mode. If the upstream has changed to a type 2 upstream this means that any request the CM transmits in an opportunity in the MAP with the new configuration change count or any subsequent MAP MUST be calculated in terms of IUCs 9 and 10, rather than IUCs 5 and 6, and the CMTS MUST issue grants using IUCs 9 and 10. However, if the CM registered with a configuration file that disabled 2.0 mode, then the CM MUST continue to calculate requests in terms of IUCs 5 and 6, and the CMTS MUST issue grants using IUCs 5 and 6. If the CM registered with a configuration file that disables 2.0 mode, and the new parameters have changed the upstream to a type 3 upstream, then the CM MUST immediately re-initialize the MAC layer and attempt registration. It should be understood by the network operator that changing a type 1 upstream to a type 3 upstream will cause a significant disruption of service for any CMs with 2.0 mode disabled as well as any DOCS 1.x CMs that are using the channel. Also such CMs will only be able to resume operation if there is a type 1 or type 2 upstream available to them. + +### 11.3.3 Changing upstream channels + +At any time after registration, the CMTS may direct the CM to change its upstream channel. This may be done for traffic balancing, noise avoidance or any of a number of other reasons which are beyond the scope of this Recommendation. Figure 11-18 shows the procedure that MUST be followed by the CMTS. Figures 11-19 and 11-20 show the corresponding procedure at the CM. + +![Flowchart illustrating the CMTS view for changing upstream channels. The process starts with 'Decide to switch CM to new upstream channel', followed by 'UCC-REQ', 'Wait for UCC-RSP', a 'Timeout T5' and 'UCC-RSP' parallel path, a 'Retries exhausted?' decision, and ends with 'CM is unreachable' or 'Done'.](b912fdb51e54b026873e19ecfb1ea1fa_img.jpg) + +``` + +graph TD + A[Decide to switch CM to new upstream channel] --> B[/UCC-REQ/] + B --> C[Wait for UCC-RSP] + C --> D{Timeout T5} + C --> E[/UCC-RSP/] + D --> F{Retries exhausted?} + E --> G[Done] + F -- No --> B + F -- Yes --> H[CM is unreachable] + style G text-align: right + style G font-size: small + style G content: J.122_F11-18 + +``` + +Flowchart illustrating the CMTS view for changing upstream channels. The process starts with 'Decide to switch CM to new upstream channel', followed by 'UCC-REQ', 'Wait for UCC-RSP', a 'Timeout T5' and 'UCC-RSP' parallel path, a 'Retries exhausted?' decision, and ends with 'CM is unreachable' or 'Done'. + +**Figure 11-18 – Changing upstream channels: CMTS view** + +Note that if the CMTS retries the UCC-REQ, the CM may have already changed channels (if the UCC-RSP was lost in transit). Consequently, the CMTS MUST listen for the UCC-RSP on both the old and the new channels. + +![Flowchart for 'Changing upstream channels: CM view, part 1'. The process starts with 'CM operational', followed by 'UCC-REQ'. A decision 'Already using this channel?' leads to 'UCC-RSP (reject already-there)' if Yes, or 'UCC-RSP' if No. The 'No' path leads to 'Switch to new channel', then 'Valid UCD for target upstream stored?'. If No, it goes to 'Wait for valid UCD for target upstream channel (or expiry of T1)'. A loop exists from this wait state back to the 'Valid UCD for target upstream stored?' decision. A callout '1' is next to the 'Wait' block. From 'Valid UCD for target upstream stored?', a 'Yes' path leads to 'Perform broadcast initial ranging'. From 'Wait for valid UCD...', a 'Yes' path also leads to 'Perform broadcast initial ranging'. From 'Perform broadcast initial ranging', the path goes to 'Ranging success?'. If No, it leads to 'CM UCC failed'. If Yes, it leads to 'CM operational' with a callout '2'.](e67a3090226f395f8e71864c84bdfa35_img.jpg) + +``` + +graph TD + Start([CM operational]) --> UCC_REQ[/UCC-REQ/] + UCC_REQ --> AlreadyUsing{Already using this channel?} + AlreadyUsing -- Yes --> UCC_RSP_Reject[/UCC-RSP (reject already-there)/] + UCC_RSP_Reject --> Start + AlreadyUsing -- No --> UCC_RSP[/UCC-RSP/] + UCC_RSP --> Switch[Switch to new channel] + Switch --> ValidUCDStored{Valid UCD for target upstream stored?} + ValidUCDStored -- No --> Wait[Wait for valid UCD for target upstream channel (or expiry of T1)] + Wait --> ValidUCDStored + ValidUCDStored -- Yes --> PerformRanging[Perform broadcast initial ranging] + Wait -- Yes --> PerformRanging + PerformRanging --> RangingSuccess{Ranging success?} + RangingSuccess -- No --> CMUCCFailed1([CM UCC failed]) + RangingSuccess -- Yes --> CMOperational2([CM operational]) + +``` + +① + +1. If DOCSIS 2.0 is enabled, a valid UCD describes either a type 1, 2 or 3 channel. +2. If DOCSIS 2.0 is NOT enabled, a valid UCD describes a type 1 or type 2 channel. + +② + +The operational CM MUST base its requests on IUCs 9 and 10 if available and if DOCSIS 2.0 is enabled. + +J.122\_F11-19 + +Flowchart for 'Changing upstream channels: CM view, part 1'. The process starts with 'CM operational', followed by 'UCC-REQ'. A decision 'Already using this channel?' leads to 'UCC-RSP (reject already-there)' if Yes, or 'UCC-RSP' if No. The 'No' path leads to 'Switch to new channel', then 'Valid UCD for target upstream stored?'. If No, it goes to 'Wait for valid UCD for target upstream channel (or expiry of T1)'. A loop exists from this wait state back to the 'Valid UCD for target upstream stored?' decision. A callout '1' is next to the 'Wait' block. From 'Valid UCD for target upstream stored?', a 'Yes' path leads to 'Perform broadcast initial ranging'. From 'Wait for valid UCD...', a 'Yes' path also leads to 'Perform broadcast initial ranging'. From 'Perform broadcast initial ranging', the path goes to 'Ranging success?'. If No, it leads to 'CM UCC failed'. If Yes, it leads to 'CM operational' with a callout '2'. + +**Figure 11-19 – Changing upstream channels: CM view, part 1** + +![Flowchart illustrating the CM view for changing upstream channels, Part 2. The sequence starts with 'CM UCC Failed' (oval), followed by 'ERROR: UCC failed ' (parallelogram), 'Return to old upstream' (rectangle), 'Reset the MAC' (rectangle), and finally 'Obtain Upstream Parameters' (oval). A note to the right of the final step states: 'The state "Obtain Upstream Parameters" links to the state machine in Figure 11-1.'](70fd9003b407d059f32275b212482817_img.jpg) + +``` + +graph TD + A([CM UCC Failed]) --> B[/ERROR: +UCC failed +/] + B --> C[Return to old +upstream] + C --> D[Reset the MAC] + D --> E([Obtain Upstream +Parameters]) + +``` + +The state "Obtain Upstream Parameters" links to the state machine in Figure 11-1. + +Flowchart illustrating the CM view for changing upstream channels, Part 2. The sequence starts with 'CM UCC Failed' (oval), followed by 'ERROR: UCC failed ' (parallelogram), 'Return to old upstream' (rectangle), 'Reset the MAC' (rectangle), and finally 'Obtain Upstream Parameters' (oval). A note to the right of the final step states: 'The state "Obtain Upstream Parameters" links to the state machine in Figure 11-1.' + +J.122\_F11-20 + +**Figure 11-20 – Changing upstream channels: CM view, Part 2** + +Upon synchronizing with the new upstream channel, the CM MUST perform broadcast initial ranging on the new upstream channel. + +If the CM has previously established ranging on the new channel, and if that ranging on that channel is still current (T4 has not elapsed since the last successful ranging), then the CM MAY use cached ranging information and omit ranging. + +The CM SHOULD cache UCD information from multiple upstream channels to eliminate waiting for a UCD corresponding to the new upstream channel. + +The CM MUST NOT perform re-registration, since its provisioning and MAC domain remain valid on the new channel. + +If a DOCS 2.0-enabled CM is moved from a type 1 channel to a type 2 channel via a UCC, the CM MUST operate in 2.0 mode on the destination channel, basing its requests on IUCs 9 and 10 instead of IUCs 5 and 6. If a CM in which DOCS 2.0 is disabled in registration is moved from a type 1 channel to a type 2 channel via a UCC, the CM MUST continue to base its requests on the destination channel on IUCs 5 and 6. + +#### 11.4 Dynamic service + +Service flows may be created, changed or deleted. This is accomplished through a series of MAC management messages referred to as dynamic service addition (DSA), dynamic service change (DSC) and dynamic service deletion (DSD). The DSA messages create a new service flow. The DSC messages change an existing service flow. The DSD messages delete a single existing upstream and/or a single existing downstream service flow. This is illustrated in Figure 11-21. + +![Figure 11-21 – Dynamic service flow overview. A state transition diagram showing two states: 'Null' and 'Operational'. Transitions are labeled DSD, DSA, and DSC. The diagram is labeled J.122_F11-21.](c07bedd918cbe46227a83594c2745b25_img.jpg) + +``` + +stateDiagram-v2 + [*] --> Null + Null --> Operational : DSA + Operational --> Null : DSD + Operational --> Operational : DSC + +``` + +The diagram illustrates the dynamic service flow overview. It consists of two states: 'Null' and 'Operational'. The 'Null' state is represented by a single circle, and the 'Operational' state is represented by a double circle. Transitions between states are indicated by arrows: a straight arrow from 'Null' to 'Operational' labeled 'DSA', a curved arrow from 'Operational' back to 'Null' labeled 'DSD', and a self-loop arrow on the 'Operational' state labeled 'DSC'. The diagram is labeled 'J.122\_F11-21' at the bottom right. + +Figure 11-21 – Dynamic service flow overview. A state transition diagram showing two states: 'Null' and 'Operational'. Transitions are labeled DSD, DSA, and DSC. The diagram is labeled J.122\_F11-21. + +**Figure 11-21 – Dynamic service flow overview** + +The null state implies that no service flow exists that matches the SFID and/or TransactionID in a message. Once the service flow exists, it is operational and has an assigned SFID. In steady state operation, a service flow resides in a nominal state. When dynamic service messaging is occurring, the service flow may transition through other states, but remains operational. Since multiple service flows may exist, there may be multiple state machines active, one for every service flow. Dynamic service messages only affect those state machines that match both the SFID and/or transaction ID or SFID only. A transaction ID which is reused for other SFID(s) indicates that the other side terminated the previous transaction. If a dynamic service request message is received that refers to the same transaction ID as one that has already been processed, but service flow(s) other than those locked in this transaction, the device MAY trigger a DSx ended input to the state machine(s) of SF(s) involved in the previous transaction. If privacy is enabled, both the CM and CMTS MUST verify the HMAC digest on all dynamic service messages before processing them, and discard any messages that fail. + +Service flows created at registration time effectively enter the SF\_operational state without a DSA transaction. + +TransactionIDs are unique per transaction and are selected by the initiating device (CM or CMTS). To help prevent ambiguity and provide simple checking, the TransactionID number space is split between the CM and CMTS. The CM MUST select its TransactionIDs from the first half of the number space (0x0000 to 0x7FFF). The CMTS MUST select its TransactionIDs from the second half of the number space (0x8000 to 0xFFFF). + +Each dynamic service message sequence is a unique transaction with an associated unique transaction identifier. To help support transaction identifier uniqueness between two devices in different states, the transaction initiating device SHOULD change the transaction identifier for each new initiated transaction. It MUST wait at least T10 to reuse the transaction identifier. The DSA/DSC transactions consist of a request/response/acknowledge sequence. The DSD transactions consist of a request/response sequence. The response messages MUST contain a confirmation code of okay unless some exception condition was detected. The acknowledge messages MUST include the confirmation code in the response unless a new exception condition arises. A more detailed state diagram, including transition states, is shown below. The detailed actions for each transaction will be given in the following clauses. + +#### 11.4.1 Dynamic service flow state transitions + +The dynamic service flow state transition diagram is the top-level state diagram and controls the general service flow state. As needed, it creates transactions, each represented by a transaction state transition diagram, to provide the DSA, DSC and DSD signalling. Each transaction state transition diagram only communicates with the parent dynamic service flow state transition diagram. The top-level state transition diagram filters dynamic service messages and passes them to the + +appropriate transaction based on service flow identifier (SFID), service flow reference number and TransactionID. + +If a single dynamic service message affects a pair of service flows, a single transaction is initiated which communicates with both parent dynamic service flow state transition diagrams. In this case, both service flows MUST remain locked in the same state until they receive the DSx succeeded or DSx failed input from the DSx transaction state transition diagram. During that "lock interval", if a message is received that refers to only one of the two service flows, it MUST be treated as if it refers to both service flows, so that both service flows stay in the same state. If a DSD-REQ message is received during the lock interval that refers to only one of the two service flows, the device MUST handle the event normally, by sending the SF Delete-Remote to the ongoing DSx transaction and by initiating a DSD-Remote transaction, and in addition, it MUST initiate a DSD-Local transaction to delete the second service flow of the locked pair. + +If a DSC request is received that refers to two service flows locked in different transactions, and they are in different states, the device MUST reject the request without affecting the ongoing transactions. + +There are six different types of transactions: locally initiated or remotely initiated for each of the DSA, DSC and DSD messages. Most transactions have three basic states: pending, holding and deleting. The pending state is typically entered after creation and is where the transaction is waiting for a reply. The holding state is typically entered once the reply is received. The purpose of this state is to allow for retransmissions in case of a lost message, even though the local entity has perceived that the transaction has completed. The deleting state is only entered if the service flow is being deleted while a transaction is being processed. + +The flow diagrams provide a detailed representation of each of the states in the transaction state transition diagrams. All valid transitions are shown. Any inputs not shown should be handled as a severe error condition. + +With one exception, these state diagrams apply equally to the CMTS and CM. In the dynamic service flow changing-local state, there is a subtle difference in the CM and CMTS behaviours. This is called out in the state transition and detailed flow diagrams. + +NOTE – The 'Num Xacts' variable in the dynamic service flow state transition diagram is incremented every time the top-level state diagram creates a transaction and is decremented every time a transaction terminates. A dynamic service flow MUST NOT return to the null state until it is deleted and all transactions have terminated. + +The inputs for the state diagrams are identified below. + +Dynamic service flow state transition diagram inputs from unspecified local, higher-level entities: + +- Add; +- Change; +- Delete. + +Dynamic service flow state transition diagram inputs from DSx transaction state transition diagrams: + +- DSA Succeeded; +- DSA Failed; +- DSA ACK Lost; +- DSA Erred; +- DSA Ended; +- DSC Succeeded; +- DSC Failed; + +- DSC ACK Lost; +- DSC Erred; +- DSC Ended; +- DSD Succeeded; +- DSD Erred; +- DSD Ended. + +DSx transaction state transition diagram inputs from the dynamic service flow state transition diagram: + +- SF Add; +- SF Change; +- SF Delete; +- SF Abort Add; +- SF Change-Remote; +- SF Delete-Local; +- SF Delete-Remote; +- SF DSA-ACK Lost; +- SF-DSC-REQ Lost; +- SF-DSC-ACK Lost; +- SF DSD-REQ Lost; +- SF Changed; +- SF Deleted. + +The creation of DSx transactions by the dynamic service flow state transition diagram is indicated by the notation: + +DSx-[Local|Remote] ( initial\_input ) + +where initial\_input may be SF Add, DSA-REQ, SF Change, DSC-REQ, SF Delete or DSD-REQ depending on the transaction type and initiator. + +![Dynamic service flow state transition diagram showing states: Null, Adding Local, Adding Remote, Add Failed, Nominal, Changing Local, Changing Remote, Deleting, Deleted. Transitions are triggered by events like Add/DSA-Local, DSA-REQ, DSC-REQ, and Delete, with outcomes like Succeeded, Failed, or Erred.](ba596ecf0bd3f3520b7b5c2c857a9ec3_img.jpg) + +``` + +stateDiagram-v2 + [*] --> Null + Null --> Adding Local: Add/DSA-Local(SF Add) + Null --> Add Failed: DSA Ended/ + Null --> Adding Remote: DSA-REQ/DSA-Remote(DSA-REQ) + Adding Local --> Add Failed: (DSA Failed/ (Delete/SFAbort Add) (DSA Ended/)) + Adding Local --> Nominal: DSA Succeeded/ + Adding Remote --> Add Failed: DSA Failed/ + Adding Remote --> Nominal: DSA Succeeded/ + Adding Remote --> Adding Remote: DSC-REQ/SF DSA-ACK Lost + Adding Remote --> Deleting: (DSA Erred/ DSD-Local(SF Delete)) (Delete/SF Delete-Local, DSD-Local(SF Delete)) + Add Failed --> Null: DSA Ended/ + Nominal --> Changing Local: (DSC-REQ/[CMTS Only]) (DSA ACK Lost/ SF DSC-REQ Lost) (DSC ACK Lost/ SF DSC-REQ Lost) + Nominal --> Changing Remote: DSC-REQ/ SF Change-Remote, DSC-Remote(DSC-REQ) + Changing Local --> Nominal: Change/ DSC-Local(SF Change) + Changing Local --> Deleting: (DSC Erred/SF Delete-Local, DSD-Local(SF Delete)) (Delete/SF Delete-Local, DSD-Local(SF Delete)) + Changing Remote --> Nominal: (DSC Succeeded/ SF Changed) (DSC Failed/ SF Changed) + Changing Remote --> Deleting: (DSC Erred/ DSD-Local(SF Delete)) (Delete/SF Delete-Local, DSD-Local(SF Delete)) + Changing Remote --> Changing Remote: New DSC-REQ/ SF DSC-ACK Lost + Changing Local --> Changing Remote: DSC-REQ/SF Change-Remote, DSC-Remote(DSC-REQ) [CM Only] + Deleting --> Deleted: (DSD Succeeded/SF Deleted) (DSD Erred/SF Deleted) + Deleted --> Null: DSD Ended && Num Xacts == 0/ + Deleted --> Deleting: DSD Succeeded/SF Deleted + +``` + +Dynamic service flow state transition diagram showing states: Null, Adding Local, Adding Remote, Add Failed, Nominal, Changing Local, Changing Remote, Deleting, Deleted. Transitions are triggered by events like Add/DSA-Local, DSA-REQ, DSC-REQ, and Delete, with outcomes like Succeeded, Failed, or Erred. + +J.122\_F11-22 + +Figure 11-22 – Dynamic service flow state transition diagram + +![State transition diagram for DSA - Locally-initiated transaction. States: Begin, DSA-RSP Pending, Retries Exhausted, Holding Down, Deleting Service Flow, End. Transitions include SF Add/DSA-REQ, Time-out T7, DSA-RSP/DSA-Succeeded, DSA-RSP/DSA-Failed, SF Abort Add/, DSA-RSP/DSA-ACK, DSA-ACK Lost, SF Delete Local/, Time-out T10, SF Changed, SF Change-Remote, SF Deleted, SF Delete-Remote.](89f64895932ad0d03d1e24c155c67628_img.jpg) + +``` + +stateDiagram-v2 + [*] --> DSA-RSP_Pending : SF Add/DSA-REQ + DSA-RSP_Pending --> DSA-RSP_Pending : Time-out T7 && Retries Available/DSA-REQ + DSA-RSP_Pending --> Retries_Exhausted : Time-out T7 && Retries Exhausted/ + DSA-RSP_Pending --> Holding_Down : (DSA-RSP/DSA Succeeded, DSA-ACK) +(DSA-RSP/DSA Failed, DSA-ACK) +(SF Abort Add/) + + DSA-RSP_Pending --> Deleting_Service_Flow : DSA-RSP/DSA-ACK, DSA-ACK Lost + Retries_Exhausted --> Holding_Down : (DSA-RSP/DSA Succeeded, DSA-ACK) +(DSA-RSP/DSA Failed, DSA-ACK) +(SF Abort Add/) + + Retries_Exhausted --> End : Time-out T10/ +DSA Erred, DSA Ended + Holding_Down --> Holding_Down : DSA-RSP/DSA-ACK, DSA-ACK Lost + Holding_Down --> Deleting_Service_Flow : SF Delete Local/ + Holding_Down --> End : (Time-out T10/DSA Ended) +(SF Changed/DSA Ended) +(SF Change-Remote/DSA Ended) + + Deleting_Service_Flow --> Deleting_Service_Flow : DSA-RSP/DSA-ACK Lost + Deleting_Service_Flow --> End : (Time-out T10/DSA Ended) +(SF Deleted/DSA Ended) + + SF Delete-Remote/DSA Ended --> End + +``` + +J.122\_F11-23 + +State transition diagram for DSA - Locally-initiated transaction. States: Begin, DSA-RSP Pending, Retries Exhausted, Holding Down, Deleting Service Flow, End. Transitions include SF Add/DSA-REQ, Time-out T7, DSA-RSP/DSA-Succeeded, DSA-RSP/DSA-Failed, SF Abort Add/, DSA-RSP/DSA-ACK, DSA-ACK Lost, SF Delete Local/, Time-out T10, SF Changed, SF Change-Remote, SF Deleted, SF Delete-Remote. + +**Figure 11-23 – DSA – Locally-initiated transaction state transition diagram** + +![State transition diagram for DSA - Remotely-initiated transaction. States: Begin, DSC-ACK Pending, Holding Down, Deleting Service Flow, End. Transitions include DSA-REQ/DSA-RSP, Time-out T8, SF Delete-Local, DSA-ACK, and various error/ended conditions.](d841e9dc5c67c17299341829b95da4ad_img.jpg) + +``` + +stateDiagram-v2 + [*] --> DSC-ACK Pending: (DSA-REQ/DSA-RSP) (DSA-REQ/DSA Failed, DSA-RSP) + DSC-ACK Pending --> DSC-ACK Pending: (Time-out T8 && Retries Available/DSA-RSP) (DSA-REQ && Retries Available/DSA-RSP) (DSA-REQ && Retries Exhausted/) (SF DSA-ACK Lost && Retries Available/DSA-RSP) (SF DSA-ACK Lost && Retries Exhausted/) + DSC-ACK Pending --> Holding Down: (DSA-ACK/DSA Succeeded) (DSA-ACK/DSA Failed) + DSC-ACK Pending --> Deleting Service Flow: SF Delete-Local/ + Holding Down --> DSC-ACK Pending: (DSA-ACK/) (SF Delete-Local/) (SF Change-Remote/) + Holding Down --> End: (Time-out T8/DSA Ended) (SF Changed/DSA Ended) (SF Deleted/DSA Ended) (SF Delete-Remote/DSA Ended) + Holding Down --> DSC-ACK Pending: (Time-out T8 && Retries Exhausted/DSA Erred, DSA Ended) (SF Delete-Remote / DSA Ended) + Deleting Service Flow --> DSC-ACK Pending: (DSA-REQ/) (DSA-ACK/) + Deleting Service Flow --> End: (Time-out T10/DSA Ended) (SF Deleted/DSA Ended) (SF Delete-Remote/DSA Ended) + +``` + +State transition diagram for DSA - Remotely-initiated transaction. States: Begin, DSC-ACK Pending, Holding Down, Deleting Service Flow, End. Transitions include DSA-REQ/DSA-RSP, Time-out T8, SF Delete-Local, DSA-ACK, and various error/ended conditions. + +J.122\_F11-24 + +**Figure 11-24 – DSA – Remotely-initiated transaction state transition diagram** + +![State transition diagram for DSC - Locally-initiated transaction. States: Begin, DSC-RSP Pending, Retries Exhausted, Holding Down, Deleting Service Flow, End. Transitions include SF Change/DSC-REQ, Time-out T7, DSC-RSP/DSC Succeeded, DSC-RSP/DSC Failed, SF Delete-Local, DSC-RSP/DSC ACK Lost, Time-out T10, SF Delete-Remote.](b579792544f9149f386017e067fdd21e_img.jpg) + +``` + +stateDiagram-v2 + [*] --> DSC-RSP Pending : SF Change/DSC-REQ + DSC-RSP Pending --> DSC-RSP Pending : (Time-out T7 && Retries Available/DSC-REQ) + DSC-RSP Pending --> DSC-RSP Pending : (SF DSC-REQ Lost && Retries Available/DSC-REQ) + DSC-RSP Pending --> DSC-RSP Pending : (SF DSC-REQ Lost && Retries Exhausted/) + DSC-RSP Pending --> Retries Exhausted : Time-out T7 && Retries Exhausted/ + DSC-RSP Pending --> Holding Down : (DSC-RSP/DSC Succeeded, DSC-ACK) + DSC-RSP Pending --> Holding Down : (DSC-RSP/DSC Failed, DSC-ACK) + DSC-RSP Pending --> Deleting Service Flow : SF Change-Remote/DSC Ended [CM Only] + Retries Exhausted --> Holding Down : (DSC-RSP/DSC Succeeded, DSC-ACK) + Retries Exhausted --> Holding Down : (DSC-RSP/DSC Failed, DSC-ACK) + Retries Exhausted --> End : Time-out T10/ DSC Erred, DSC Ended + Holding Down --> Holding Down : DSC-RSP/ DSC-ACK, DSC-ACK Lost + Holding Down --> End : (Time-out T10/DSC Ended) + Holding Down --> End : (SF Changed/DSC Ended) + Holding Down --> End : (SF Change-Remote/DSC Ended) + Deleting Service Flow --> Deleting Service Flow : DSC-RSP/ DSC-ACK Lost + Deleting Service Flow --> End : (Time-out T10/DSC Ended) + Deleting Service Flow --> End : (SF Deleted/DSC Ended) + Deleting Service Flow --> End : SF Delete-Remote/DSC Ended + +``` + +J.122\_F11-25 + +State transition diagram for DSC - Locally-initiated transaction. States: Begin, DSC-RSP Pending, Retries Exhausted, Holding Down, Deleting Service Flow, End. Transitions include SF Change/DSC-REQ, Time-out T7, DSC-RSP/DSC Succeeded, DSC-RSP/DSC Failed, SF Delete-Local, DSC-RSP/DSC ACK Lost, Time-out T10, SF Delete-Remote. + +**Figure 11-25 – DSC – Locally-initiated transaction state transition diagram** + +![State transition diagram for DSC - Remotely-initiated transaction. States: Begin, DSC-ACK Pending, Holding Down, Deleting Service Flow, End. Transitions include DSC-REQ/DSC-RSP, (Time-out T8 && Retries Available/DSC-RSP), (DSC-REQ && Retries Available/DSC-RSP), (DSC-REQ && Retries Exhausted/), (SF DSC-ACK Lost && Retries Available/DSC-RSP), (SF DSC-ACK Lost && Retries Exhausted/), (DSC-ACK/DSC Succeeded), (DSC-ACK/DSC Failed), (Time-out T8 && Retries Exhausted/DSC Erred, DSC Ended), (SF Delete-Remote/DSC Ended), (DSC-ACK/), (SF Delete-Local/), (SF Change-Remote/), (Time-out T8/DSC Ended), (SF Changed/DSC Ended), (SF Deleted/DSC Ended), (SF Delete-Remote/DSC Ended), (Time-out T10/DSC Ended), (SF Deleted/DSC Ended), (SF Delete-Remote/DSC Ended), SF Delete-Local/.](29a5f4072e91dc4857fce0ace805e0d4_img.jpg) + +``` + +stateDiagram-v2 + [*] --> DSC-ACK Pending : DSC-REQ/DSC-RSP + DSC-ACK Pending --> DSC-ACK Pending : (Time-out T8 && Retries Available/DSC-RSP) + DSC-ACK Pending --> DSC-ACK Pending : (DSC-REQ && Retries Available/DSC-RSP) + DSC-ACK Pending --> DSC-ACK Pending : (DSC-REQ && Retries Exhausted/) + DSC-ACK Pending --> DSC-ACK Pending : (SF DSC-ACK Lost && Retries Available/DSC-RSP) + DSC-ACK Pending --> DSC-ACK Pending : (SF DSC-ACK Lost && Retries Exhausted/) + DSC-ACK Pending --> Holding Down : (DSC-ACK/DSC Succeeded) + DSC-ACK Pending --> Holding Down : (DSC-ACK/DSC Failed) + DSC-ACK Pending --> Deleting Service Flow : SF Delete-Local/ + Holding Down --> DSC-ACK Pending : (DSC-ACK/), (SF Delete-Local/), (SF Change-Remote/) + Holding Down --> [*] : (Time-out T8/DSC Ended), (SF Changed/DSC Ended), (SF Deleted/DSC Ended), (SF Delete-Remote/DSC Ended) + Holding Down --> DSC-ACK Pending : (Time-out T8 && Retries Exhausted/DSC Erred, DSC Ended), (SF Delete-Remote/DSC Ended) + Deleting Service Flow --> DSC-ACK Pending : (DSC-REQ/), (DSC-ACK/) + Deleting Service Flow --> [*] : (Time-out T10/DSC Ended), (SF Deleted/DSC Ended), (SF Delete-Remote/DSC Ended) + +``` + +State transition diagram for DSC - Remotely-initiated transaction. States: Begin, DSC-ACK Pending, Holding Down, Deleting Service Flow, End. Transitions include DSC-REQ/DSC-RSP, (Time-out T8 && Retries Available/DSC-RSP), (DSC-REQ && Retries Available/DSC-RSP), (DSC-REQ && Retries Exhausted/), (SF DSC-ACK Lost && Retries Available/DSC-RSP), (SF DSC-ACK Lost && Retries Exhausted/), (DSC-ACK/DSC Succeeded), (DSC-ACK/DSC Failed), (Time-out T8 && Retries Exhausted/DSC Erred, DSC Ended), (SF Delete-Remote/DSC Ended), (DSC-ACK/), (SF Delete-Local/), (SF Change-Remote/), (Time-out T8/DSC Ended), (SF Changed/DSC Ended), (SF Deleted/DSC Ended), (SF Delete-Remote/DSC Ended), (Time-out T10/DSC Ended), (SF Deleted/DSC Ended), (SF Delete-Remote/DSC Ended), SF Delete-Local/. + +J.122\_F11-26 + +Figure 11-26 – DSC – Remotely-initiated transaction state transition diagram + +![State transition diagram for DSD - Locally-initiated transaction. States: Begin, DSD-RSP Pending, Holding Down, End. Transitions include SF Delete/DSD-REQ, (Time-out T7 && Retries Available/DSD-REQ), (SF DSD-REQ Lost && Retries Available/DSD-REQ), (SF DSD-REQ Lost && Retries Exhausted/), (DSD-RSP/DSD Succeeded) (SF Delete-Remote/), (DSD-RSP/DSD Succeeded) (SF Deleted/), Time-out T7 && Retries Exhausted/DSD Erred, DSD Ended, and Time-out T7/DSD Ended.](36a1eab8868d8db81c6b28fbd0d5730f_img.jpg) + +``` + +stateDiagram-v2 + [*] --> DSD-RSP_Pending : SF Delete/DSD-REQ + state "DSD-RSP Pending" as DSD-RSP_Pending + DSD-RSP_Pending --> DSD-RSP_Pending : (Time-out T7 && Retries Available/DSD-REQ) + DSD-RSP_Pending --> DSD-RSP_Pending : (SF DSD-REQ Lost && Retries Available/DSD-REQ) + DSD-RSP_Pending --> DSD-RSP_Pending : (SF DSD-REQ Lost && Retries Exhausted/) + DSD-RSP_Pending --> Holding_Down : (DSD-RSP/DSD Succeeded) (SF Delete-Remote/) + state "Holding Down" as Holding_Down + Holding_Down --> Holding_Down : (DSD-RSP/DSD Succeeded) (SF Deleted/) + Holding_Down --> [*] : Time-out T7 && Retries Exhausted/DSD Erred, DSD Ended + Holding_Down --> [*] : Time-out T7/DSD Ended + +``` + +J.122\_F11-27 + +State transition diagram for DSD - Locally-initiated transaction. States: Begin, DSD-RSP Pending, Holding Down, End. Transitions include SF Delete/DSD-REQ, (Time-out T7 && Retries Available/DSD-REQ), (SF DSD-REQ Lost && Retries Available/DSD-REQ), (SF DSD-REQ Lost && Retries Exhausted/), (DSD-RSP/DSD Succeeded) (SF Delete-Remote/), (DSD-RSP/DSD Succeeded) (SF Deleted/), Time-out T7 && Retries Exhausted/DSD Erred, DSD Ended, and Time-out T7/DSD Ended. + +**Figure 11-27 – DSD – Locally-initiated transaction state transition diagram** + +![State transition diagram for Dynamic Deletion (DSD) - Remotely-initiated transaction. The diagram shows three states: Begin, Holding Down, and End. Transitions are labeled with messages and conditions.](fda52310e9cc2b82f0e0b5562d35c526_img.jpg) + +``` + +stateDiagram-v2 + [*] --> Begin + Begin --> Holding Down : DSD-REQ/DSD Succeeded, DSD-RSP + Holding Down --> Holding Down : DSD-REQ/DSD-RSP + Holding Down --> [*] : (Time-out T10/DSD Ended) +(SF Deleted/DSD Ended) + +``` + +J.122\_F11-28 + +State transition diagram for Dynamic Deletion (DSD) - Remotely-initiated transaction. The diagram shows three states: Begin, Holding Down, and End. Transitions are labeled with messages and conditions. + +**Figure 11-28 – Dynamic deletion (DSD) – Remotely-initiated transaction state transition diagram** + +## 11.4.2 Dynamic service addition + +### 11.4.2.1 CM-initiated dynamic service addition + +A CM wishing to create an upstream and/or a downstream service flow sends a request to the CMTS using a dynamic service addition request message (DSA-REQ). The CMTS checks the CM's authorization for the requested service(s) and whether the QoS requirements can be supported, and generates an appropriate response using a dynamic service addition response message (DSA-RSP). The CM concludes the transaction with an acknowledgment message (DSA-ACK). + +In order to facilitate a common admission response, an upstream and a downstream service flow can be included in a single DSA-REQ. Both service flows are either accepted or rejected together. + +![](39148db4c9dfc296c5abced7b560a75b_img.jpg) + +| CM | | CMTS | +|---------------------------------------------------------------------------------------------------------------------------------|----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| New service flow(s) needed
Check if resources are available
Send DSA-REQ | ————— DSA-REQ —————→ | Receive DSA-REQ
Check if CM authorized for service(s) a)
Check service flow(s) QoS can be supported
Create SFID(s)
If upstream AdmittedQosParamSet is non-null, create SID
If upstream ActiveQosParamSet is non-null, enable reception of data on new upstream service flow | +| Receive DSA-RSP
If ActiveQosParamSet is non-null, enable transmission and/or reception of data on new service flow(s) | ←————— DSA-RSP ————— | Send DSA-RSP | +| Send DSA-ACK | ————— DSA-ACK —————→ | Receive DSA-ACK
If downstream ActiveQosParamSet is non-null, enable transmission of data on new downstream service flow | + +a) Authorization can happen prior to the DSA-REQ being received by the CMTS. The details of CMTS signalling to anticipate a DSA-REQ are beyond the scope of this Recommendation. + +**Figure 11-29 – Dynamic service addition initiated from CM** + +#### 11.4.2.2 CMTS-initiated dynamic service addition + +A CMTS wishing to establish an upstream and/or a downstream dynamic service flow(s) with a CM performs the following operations. The CMTS checks the authorization of the destination CM for the requested class of service and whether the QoS requirements can be supported. If the service can be supported, the CMTS generates new SFID(s) with the required class of service and informs the CM using a dynamic service addition request message (DSA-REQ). The CM checks that it can support the service and responds using a dynamic service addition response message (DSA-RSP). The transaction completes with the CMTS sending the acknowledge message (DSA-ACK). + +![](6ca811d98e22dc14235e6e77a7e919fb_img.jpg) + +| CM | CMTS | +|-----------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| | New service flow(s) required for CM
Check CM authorized for service(s)
Check service flow(s) QoS can be supported
Create SFID(s)
If upstream AdmittedQosParamSet is non-null, create SID
If upstream ActiveQosParamSet is non-null, enable reception of data on new upstream service flow | +| Receive DSA-REQ ← DSA-REQ → | Send DSA-REQ | +| Confirm CM can support service flow(s)
Add downstream SFID (if present)
Enable reception on any new downstream service flow | | +| Send DSA-RSP → DSA-RSP → | Receive DSA-RSP
Enable transmission and reception of data on new service flow(s) | +| Receive DSA-ACK ← DSA-ACK → | Send DSA-ACK | +| Enable transmission on new upstream service flow | | + +**Figure 11-30 – Dynamic service addition initiated from CMTS** + +### 11.4.2.3 Dynamic service addition state transition diagrams + +![Flowchart of DSA - Locally-initiated transaction begin state flow diagram](ac1b4040daa037941f51deeedbcd585a_img.jpg) + +``` +graph TD; A([DSA-Local begin]) --> B[/SF Add/]; B --> C[/DSA-REQ/]; C --> D[Start T7 timer]; D --> E[Save transmitted DSA-REQ]; E --> F[Set DSA -REQ retries available to 'DSx Request Retries']; F --> G([DSA-Local DSA-RSP pending]); +``` + +The flowchart illustrates the state transition process for a locally-initiated DSA transaction. It begins with a start node 'DSA-Local begin', followed by a process 'SF Add', then a message 'DSA-REQ', a process 'Start T7 timer', a process 'Save transmitted DSA-REQ', a process 'Set DSA -REQ retries available to 'DSx Request Retries'', and finally an end node 'DSA-Local DSA-RSP pending'. The diagram is labeled J.122\_F11-31. + +Flowchart of DSA - Locally-initiated transaction begin state flow diagram + +Figure 11-31 – DSA – Locally-initiated transaction begin state flow diagram + +![Flowchart for DSA-Locally-initiated transaction DSA-RSP pending state. The process starts at 'DSA-Local DSA-RSP Pending' and branches into four paths: Timeout T7, SF Delete-Remote, SF Abort Add, and DSA-RSP. Each path leads to specific processing steps such as stopping timers, saving requests or ACKs, and eventually reaching states like 'DSA-Local End' or 'DSA-Local Holding Down'.](6f7f18cd6ddcabd5553b75ef3dc97d15_img.jpg) + +``` + +graph TD + Start([DSA-Local DSA-RSP Pending]) --> T7[Timeout T7] + Start --> SFDR[SF Delete-Remote] + Start --> SFAB[SF Abort Add] + Start --> DSA_RSP[DSA-RSP] + + T7 --> Retries{Retries Available?} + Retries -- Yes --> SavedReq[/Saved DSA-REQ/] + SavedReq --> StartT7[Start T7 Timer] + StartT7 --> DecRetries[Decrement DSA-REQ +Retries Available] + DecRetries --> PendingRSP([DSA-Local DSA-RSP Pending]) + + Retries -- No --> StartT10[Start T10 Timer] + StartT10 --> RetriesExhausted([DSA-Local Retries Exhausted]) + + SFDR --> StopT7_1[Stop T7 Timer] + StopT7_1 --> Ended[/DSA Ended/] + Ended --> End([DSA-Local End]) + + SFAB --> StopT7_2[Stop T7 Timer] + StopT7_2 --> SaveACK[Save DSA-ACK with Condition Code 'reject-add-aborted'] + + DSA_RSP --> StopT7_3[Stop T7 Timer] + StopT7_3 --> Okay{Okay?} + Okay -- No --> Failed[/DSA Failed/] + Failed --> SetReject[Set Condition Code to 'reject-xxx'] + + Okay -- Yes --> Enable[Enable service flow] + Enable --> Succeeded[/DSA Succeeded/] + Succeeded --> SetOkay[Set Condition Code to 'okay'] + + SetReject --> ACK[/DSA-ACK/] + SetOkay --> ACK + SaveACK --> ACK + + ACK --> SaveTrans[Save transmitted DSA-ACK] + SaveTrans --> StartT10_2[Start T10 Timer] + StartT10_2 --> HoldingDown([DSA-Local Holding Down]) + +``` + +Flowchart for DSA-Locally-initiated transaction DSA-RSP pending state. The process starts at 'DSA-Local DSA-RSP Pending' and branches into four paths: Timeout T7, SF Delete-Remote, SF Abort Add, and DSA-RSP. Each path leads to specific processing steps such as stopping timers, saving requests or ACKs, and eventually reaching states like 'DSA-Local End' or 'DSA-Local Holding Down'. + +J.122\_F11-32 + +Figure 11-32 – DSA – Locally-initiated transaction DSA-RSP pending state flow diagram + +![State flow diagram for DSA - Locally-initiated transaction holding state. The diagram starts with 'DSA-Local holding down' and branches into four paths: 'SF Changed, SF Change-Remote, SF Delete-Remote' leading to 'Stop T10 timer' then 'DSA Ended' then 'DSA-Local End'; 'Timeout T10' leading to 'DSA Ended'; 'SF Delete -Local' leading to 'DSA-Local deleting service flow'; and 'DSA-RSP' leading to 'Saved DSA-ACK' then 'DSA ACK Lost' then 'DSA-Local holding down'.](df79d6dd5d005b721cf6bcab34d6e12d_img.jpg) + +``` + +stateDiagram-v2 + [*] --> DSA-Local_holding_down : DSA-Local holding down + DSA-Local_holding_down --> SF_Changed : SF Changed, SF Change-Remote, SF Delete-Remote + DSA-Local_holding_down --> Timeout_T10 : Timeout T10 + DSA-Local_holding_down --> SF_Delete_Local : SF Delete -Local + DSA-Local_holding_down --> DSA_RSP : DSA-RSP + + SF_Changed --> Stop_T10_timer : Stop T10 timer + Stop_T10_timer --> DSA_Ended : DSA Ended + Timeout_T10 --> DSA_Ended + + DSA_Ended --> DSA_Local_End : DSA-Local End + + SF_Delete_Local --> DSA_Local_deleting_service_flow : DSA-Local deleting service flow + + DSA_RSP --> Saved_DSA_ACK : Saved DSA-ACK + Saved_DSA_ACK --> DSA_ACK_Lost : DSA ACK Lost + DSA_ACK_Lost --> DSA_Local_holding_down + +``` + +State flow diagram for DSA - Locally-initiated transaction holding state. The diagram starts with 'DSA-Local holding down' and branches into four paths: 'SF Changed, SF Change-Remote, SF Delete-Remote' leading to 'Stop T10 timer' then 'DSA Ended' then 'DSA-Local End'; 'Timeout T10' leading to 'DSA Ended'; 'SF Delete -Local' leading to 'DSA-Local deleting service flow'; and 'DSA-RSP' leading to 'Saved DSA-ACK' then 'DSA ACK Lost' then 'DSA-Local holding down'. + +J.122\_F11-33 + +**Figure 11-33 – DSA – Locally-initiated transaction holding state flow diagram** + +![Flowchart for DSA - Locally-initiated transaction retries exhausted state flow diagram. The process starts at 'DSA-Local retries exhausted' and branches into four paths: Timeout T10, SF Delete-Remote, SF Abort Add, and DSA-RSP. The DSA-RSP path includes an 'Okay?' decision leading to either 'Enable service flow' (Yes) or 'DSA Failed' (No).](6043644d04a0b251ad3e2ba078ae5ce4_img.jpg) + +``` + +graph TD + Start([DSA-Local retries exhausted]) --> T10[/Timeout T10/] + Start --> SFDR[/SF Delete-Remote/] + Start --> SFAB[/SF Abort Add/] + Start --> DSA_RSP[/DSA-RSP/] + + T10 --> DSA_Erred[/DSA Erred/] + SFDR --> StopT10[Stop T10 timer] + DSA_Erred --> DSA_Ended[/DSA Ended/] + StopT10 --> DSA_Ended + DSA_Ended --> DSA_Local_End([DSA-Local End]) + + SFAB --> SaveACK1[Save DSA-ACK with condition code 'reject-add-aborted'] + + DSA_RSP --> Okay{Okay?} + Okay -- No --> DSA_Failed[/DSA Failed/] + Okay -- Yes --> Enable[Enable service flow] + + DSA_Failed --> SetCondition1[Set condition code to 'reject-xxx'] + Enable --> DSA_Succeeded[/DSA Succeeded/] + DSA_Succeeded --> SetCondition2[Set condition code to 'okay'] + + SetCondition1 --> DSA_ACK[/DSA-ACK/] + SetCondition2 --> DSA_ACK + + DSA_ACK --> SaveACK2[Save transmitted DSA-ACK] + SaveACK1 --> DSA_Local_HoldingDown([DSA-Local holding down]) + SaveACK2 --> DSA_Local_HoldingDown + + J122_F11-34((J.122_F11-34)) + +``` + +Flowchart for DSA - Locally-initiated transaction retries exhausted state flow diagram. The process starts at 'DSA-Local retries exhausted' and branches into four paths: Timeout T10, SF Delete-Remote, SF Abort Add, and DSA-RSP. The DSA-RSP path includes an 'Okay?' decision leading to either 'Enable service flow' (Yes) or 'DSA Failed' (No). + +**Figure 11-34 – DSA – Locally-initiated transaction retries exhausted state flow diagram** + +![State flow diagram for DSA locally-initiated transaction deleting service flow. The process starts with 'DSA-Local deleting service flow', which branches into three paths: 'SF Deleted, SF Delete-Remote' leading to 'Stop T10 timer' then 'DSA Ended' then 'DSA-Local End'; 'Timeout T10' leading to 'DSA Ended'; and 'DSA-RSP' leading to 'DSA ACK Lost' then 'DSA-Local deleting service flow'.](ef8d84dccd07f6da2dd2abb10ba9d176_img.jpg) + +``` + +graph TD + Start([DSA-Local deleting service flow]) --> SFDeleted[SF Deleted, SF Delete-Remote] + Start --> Timeout[Timeout T10] + Start --> DSA_RSP[DSA-RSP] + SFDeleted --> StopT10[Stop T10 timer] + Timeout --> DSA_Ended[DSA Ended] + StopT10 --> DSA_Ended + DSA_Ended --> DSA_Local_End([DSA-Local End]) + DSA_RSP --> DSA_ACK_Lost[DSA ACK Lost] + DSA_ACK_Lost --> DSA_Local_Deleting([DSA-Local deleting service flow]) + J122_F11-35[J.122_F11-35] + +``` + +State flow diagram for DSA locally-initiated transaction deleting service flow. The process starts with 'DSA-Local deleting service flow', which branches into three paths: 'SF Deleted, SF Delete-Remote' leading to 'Stop T10 timer' then 'DSA Ended' then 'DSA-Local End'; 'Timeout T10' leading to 'DSA Ended'; and 'DSA-RSP' leading to 'DSA ACK Lost' then 'DSA-Local deleting service flow'. + +**Figure 11-35 – DSA – Locally-initiated transaction deleting service flow state flow diagram** + +![Flowchart for DSA - Remotely-initiated transaction begin state flow diagram. The process starts with 'DSA-Remote begin', followed by 'DSA-REQ'. A decision 'Okay ?' follows. If 'No', it goes to 'DSA Failed' and then 'Set condition code to 'reject-xxx''. If 'Yes', it branches into '[ CM Only ] enable downstream service flow' and '[ CMTS Only ] enable upstream service flow'. Both lead to 'Set condition code to 'okay''. All three paths converge to 'DSA-RSP', 'Start T8 timer', 'Save transmitted DSA-RSP', 'Set DSA-RSP retries available to 'DSx Response Retries'', and finally 'DSA-Remote DSA-ACK pending'.](96d77cb2f738859fd462953fad369a1f_img.jpg) + +``` + +graph TD + Start([DSA-Remote begin]) --> REQ[/DSA-REQ/] + REQ --> Okay{Okay ?} + Okay -- No --> Failed[/DSA Failed/] + Failed --> Reject[Set condition code to 'reject-xxx'] + Okay -- Yes --> CMOnly[ "[ CM Only ] +enable +downstream +service flow" ] + Okay -- Yes --> CMTSOnly[ "[ CMTS Only ] +enable +upstream +service flow" ] + CMOnly --> OkayCode[Set condition code to 'okay'] + CMTSOnly --> OkayCode + Reject --> RSP[/DSA-RSP/] + OkayCode --> RSP + RSP --> T8[Start T8 timer] + T8 --> Save[Save transmitted DSA-RSP] + Save --> Retries[Set DSA-RSP retries available to 'DSx Response Retries'] + Retries --> ACK([DSA-Remote DSA-ACK pending]) + +``` + +Flowchart for DSA - Remotely-initiated transaction begin state flow diagram. The process starts with 'DSA-Remote begin', followed by 'DSA-REQ'. A decision 'Okay ?' follows. If 'No', it goes to 'DSA Failed' and then 'Set condition code to 'reject-xxx''. If 'Yes', it branches into '[ CM Only ] enable downstream service flow' and '[ CMTS Only ] enable upstream service flow'. Both lead to 'Set condition code to 'okay''. All three paths converge to 'DSA-RSP', 'Start T8 timer', 'Save transmitted DSA-RSP', 'Set DSA-RSP retries available to 'DSx Response Retries'', and finally 'DSA-Remote DSA-ACK pending'. + +J.122\_F11-36 + +**Figure 11-36 – DSA – Remotely-initiated transaction begin state flow diagram** + +![Flowchart for DSA - Remotely-initiated transaction DSA-ACK pending state. The process starts at 'DSA-Remote DSA-ACK pending' and branches into six main paths: DSA-REQ, SF DSA-ACK Lost, Timeout T8, SF Delete-Remote, SF Delete-Local, and DSA-ACK. Each path leads to specific actions like 'Stop T8 timer', 'Start T10 timer', 'Disable service flow', or 'DSA-Remote deleting service flow', eventually leading to states like 'DSA-Remote End', 'DSA-Remote holding down', or 'DSA-Remote DSA-ACK pending'.](2739376a35d7dce46136ce5412f7cf5a_img.jpg) + +``` + +graph TD + Start([DSA-Remote DSA-ACK pending]) --> DSA-REQ[/DSA-REQ/] + Start --> SF_DSA_ACK_Lost[/SF DSA-ACK Lost/] + Start --> Timeout_T8[/Timeout T8/] + Start --> SF_Delete_Remote[/SF Delete-Remote/] + Start --> SF_Delete_Local[/SF Delete-Local/] + Start --> DSA_ACK[/DSA-ACK/] + + DSA-REQ --> Retries_Avail_1{Retries available?} + SF_DSA_ACK_Lost --> Retries_Avail_1 + Retries_Avail_1 -- No --> DSA-REQ + Retries_Avail_1 -- Yes --> Saved_DSA_RSP_1[/Saved DSA-RSP/] + Saved_DSA_RSP_1 --> Decrement_Retries[Decrement DSA-RSP retries available] + Decrement_Retries --> DSA_Remote_DSA_ACK_Pending_1([DSA-Remote DSA-ACK pending]) + + Timeout_T8 --> Retries_Avail_2{Retries available?} + Retries_Avail_2 -- No --> DSA_Err[/DSA Erred/] + Retries_Avail_2 -- Yes --> Saved_DSA_RSP_2[/Saved DSA-RSP/] + Saved_DSA_RSP_2 --> Start_T8_1[Start T8 timer] + Start_T8_1 --> Decrement_Retries + + SF_Delete_Remote --> Stop_T8_1[Stop T8 timer] + Stop_T8_1 --> DSA_Err + DSA_Err --> DSA_End[/DSA Ended/] + DSA_End --> DSA_Remote_End([DSA-Remote End]) + + SF_Delete_Local --> Stop_T8_2[Stop T8 timer] + Stop_T8_2 --> Start_T10[Start T10 timer] + Start_T10 --> DSA_Remote_Deleting([DSA-Remote deleting service flow]) + + DSA_ACK --> Stop_T8_3[Stop T8 timer] + Stop_T8_3 --> Okay{Okay?} + Okay -- No --> Disable_Service_Flow[Disable service flow] + Okay -- Yes --> CM_Only_1[/[ CM Only ] enable upstream service flow/] + Okay -- Yes --> CMTS_Only_1[/[ CMTS Only ] enable downstream service flow/] + Disable_Service_Flow --> DSA_Failed[/DSA Failed/] + CM_Only_1 --> DSA_Succeeded[/DSA Succeeded/] + CMTS_Only_1 --> DSA_Succeeded + DSA_Failed --> Start_T8_2[Start T8 timer] + DSA_Succeeded --> Start_T8_2 + Start_T8_2 --> DSA_Remote_Holding_Down([DSA-Remote holding down]) + +``` + +Flowchart for DSA - Remotely-initiated transaction DSA-ACK pending state. The process starts at 'DSA-Remote DSA-ACK pending' and branches into six main paths: DSA-REQ, SF DSA-ACK Lost, Timeout T8, SF Delete-Remote, SF Delete-Local, and DSA-ACK. Each path leads to specific actions like 'Stop T8 timer', 'Start T10 timer', 'Disable service flow', or 'DSA-Remote deleting service flow', eventually leading to states like 'DSA-Remote End', 'DSA-Remote holding down', or 'DSA-Remote DSA-ACK pending'. + +J.122\_F11-37 + +Figure 11-37 – DSA – Remotely-initiated transaction DSA-ACK pending state flow diagram + +![State flow diagram for DSA - Remotely-initiated transaction holding down. It starts with 'DSA-Remote holding down' and branches into four paths: 'SF Changed, SF Deleted, SF Delete-Remote' leading to 'Stop T8 timer' then 'DSA Ended' to 'DSA-Remote End'; 'Timeout T8' leading directly to 'DSA Ended'; 'SF Delete-Local, SF Change-Remote' leading to 'DSA-ACK' then 'DSA-Remote holding down'; and 'DSA-ACK' leading directly to 'DSA-Remote holding down'. Reference J.122_F11-38.](e9b0c54f494f276491a59ab381f2e5b2_img.jpg) + +``` + +stateDiagram-v2 + [*] --> DSA-Remote_holding_down : DSA-Remote holding down + DSA-Remote_holding_down --> SF_Changed_SF_Deleted_SF_Delete_Remote : SF Changed, SF Deleted, SF Delete-Remote + DSA-Remote_holding_down --> Timeout_T8 : Timeout T8 + DSA-Remote_holding_down --> SF_Delete_Local_SF_Change_Remote : SF Delete-Local, SF Change-Remote + DSA-Remote_holding_down --> DSA_ACK : DSA-ACK + SF_Changed_SF_Deleted_SF_Delete_Remote --> Stop_T8_timer : Stop T8 timer + Stop_T8_timer --> DSA_Ended : DSA Ended + Timeout_T8 --> DSA_Ended + SF_Delete_Local_SF_Change_Remote --> DSA_ACK + DSA_ACK --> DSA-Remote_holding_down + DSA-Remote_holding_down --> DSA-Remote_holding_down + DSA_Ended --> DSA-Remote_End : DSA-Remote End + +``` + +J.122\_F11-38 + +State flow diagram for DSA - Remotely-initiated transaction holding down. It starts with 'DSA-Remote holding down' and branches into four paths: 'SF Changed, SF Deleted, SF Delete-Remote' leading to 'Stop T8 timer' then 'DSA Ended' to 'DSA-Remote End'; 'Timeout T8' leading directly to 'DSA Ended'; 'SF Delete-Local, SF Change-Remote' leading to 'DSA-ACK' then 'DSA-Remote holding down'; and 'DSA-ACK' leading directly to 'DSA-Remote holding down'. Reference J.122\_F11-38. + +**Figure 11-38 – DSA – Remotely-initiated transaction holding down state flow diagram** + +![State flow diagram for DSA - Remotely-initiated transaction deleting service state. It starts with 'DSA-Remote deleting service flow' and branches into three paths: 'SF Deleted, SF Delete-Remote' leading to 'Stop T10 timer' then 'DSA Ended' to 'DSA-Remote End'; 'Timeout T10' leading directly to 'DSA Ended'; and 'DSA-REQ, DSA-ACK' leading to 'DSA-Remote deleting service flow'. Reference J.122_F11-39.](f738d8e7ef0493b52dacece33d4c5077_img.jpg) + +``` + +stateDiagram-v2 + [*] --> DSA-Remote_deleting_service_flow : DSA-Remote deleting service flow + DSA-Remote_deleting_service_flow --> SF_Deleted_SF_Delete_Remote : SF Deleted, SF Delete-Remote + DSA-Remote_deleting_service_flow --> Timeout_T10 : Timeout T10 + DSA-Remote_deleting_service_flow --> DSA_REQ_DSA_ACK : DSA-REQ, DSA-ACK + SF_Deleted_SF_Delete_Remote --> Stop_T10_timer : Stop T10 timer + Stop_T10_timer --> DSA_Ended : DSA Ended + Timeout_T10 --> DSA_Ended + DSA_REQ_DSA_ACK --> DSA-Remote_deleting_service_flow + DSA_Ended --> DSA-Remote_End : DSA-Remote End + +``` + +J.122\_F11-39 + +State flow diagram for DSA - Remotely-initiated transaction deleting service state. It starts with 'DSA-Remote deleting service flow' and branches into three paths: 'SF Deleted, SF Delete-Remote' leading to 'Stop T10 timer' then 'DSA Ended' to 'DSA-Remote End'; 'Timeout T10' leading directly to 'DSA Ended'; and 'DSA-REQ, DSA-ACK' leading to 'DSA-Remote deleting service flow'. Reference J.122\_F11-39. + +**Figure 11-39 – DSA – Remotely-initiated transaction deleting service state flow diagram** + +### 11.4.3 Dynamic service change + +The dynamic service change (DSC) set of messages is used to modify the flow parameters associated with a service flow. Specifically, DSC can: + +- modify the service flow specification; +- add, delete or replace a flow classifier; +- add, delete or set PHS elements. + +A single DSC message exchange can modify the parameters of one downstream service flow and/or one upstream service flow. + +To prevent packet loss, any required bandwidth change must be sequenced between the application generating the data and the bandwidth parameters of the service flow carrying the data. Because MAC messages can be lost, the timing of service flow parameter changes can vary, and it occurs at different times in the CM and CMTS. Applications should reduce their transmitted data bandwidth before initiating a DSC to reduce the service flow bandwidth, and should not increase their transmitted data bandwidth until after the completion of a DSC increasing the service flow bandwidth. + +The CMTS controls both upstream and downstream scheduling. Scheduling is based on data transmission requests and is subject to the limits contained in the current service flow parameters at the CMTS. The timing of service flow parameter changes, and any consequent scheduling changes, is independent of both direction and whether there is an increase or decrease in bandwidth. The CMTS always changes service flow parameters on receipt of a DSC-REQ (CM-initiated transaction) or DSC-RSP (CMTS-initiated transaction). + +The CMTS also controls the downstream transmit behaviour. The change in downstream transmit behaviour is always coincident with the change in downstream scheduling (i.e., CMTS controls both and changes both simultaneously). + +The CM controls the upstream transmit requests, subject to limits contained in the current service flow parameters at the CM. The timing of service flow parameter changes in the CM, and any consequent CM transmit request behaviour changes, is a function of which device initiated the transaction. For a CM-initiated DSC-REQ, the service flow parameters are changed on receipt of the DSC-RSP from the CMTS. For a CMTS-initiated DSC-REQ, the service flow parameters are changed on receipt of the DSC-REQ from the CMTS. + +Any service flow can be deactivated with a dynamic service change command by sending a DSC-REQ message, referencing the service flow identifier, and including a null ActiveQosParamSet. However, if a primary service flow of a CM is deactivated, that CM is de-registered and MUST re-register. Therefore, care should be taken before deactivating such service flows. If a service flow that was provisioned during registration is deactivated, the provisioning information for that service flow MUST be maintained until the service flow is reactivated. + +A CM MUST have only one DSC transaction outstanding per service flow. If it detects a second transaction initiated by the CMTS, the CM MUST abort the transaction it initiated and allow the CMTS-initiated transaction to complete. + +A CMTS MUST have only one DSC transaction outstanding per service flow. If it detects a second transaction initiated by the CM, the CMTS MUST abort the transaction the CM initiated and allow the CMTS-initiated transaction to complete. + +NOTE – Currently anticipated applications would probably control a service flow through either the CM or CMTS, and not both. Therefore, the case of a DSC being initiated simultaneously by the CM and CMTS is considered as an exception condition and treated as one. + +### 11.4.3.1 CM-initiated dynamic service change + +A CM that needs to change a service flow definition performs the following operations. + +The CM informs the CMTS using a dynamic service change request message (DSC-REQ). The CMTS MUST decide if the referenced service flow can support this modification. The CMTS MUST respond with a dynamic service change response (DSC-RSP) indicating acceptance or rejection. The CM reconfigures the service flow if appropriate, and then MUST respond with a dynamic service change acknowledge (DSC-ACK). + +![Sequence diagram for CM-initiated dynamic service change](bf9abec3605f1a8d00ae6524a9af02ed_img.jpg) + +This sequence diagram illustrates the interaction between a CMTS and a CM for a CM-initiated dynamic service change. The diagram is divided into two columns: CMTS on the left and CM on the right. The sequence of messages is as follows: 1. The CM sends a DSC-REQ message to the CMTS. The CM side of this message includes the text 'Service flow requires modifying'. 2. The CMTS receives the DSC-REQ and performs internal steps: 'Validate request' and 'Modify service flow'. 3. The CMTS then sends a DSC-RSP message back to the CM. 4. The CM receives the DSC-RSP and performs 'Modify service flow'. 5. Finally, the CM sends a DSC-ACK message to the CMTS, which the CMTS receives. + +| CMTS | CM | +|---------------------|---------------------------------| +| | Service flow requires modifying | +| Receive DSC-REQ | Send DSC-REQ | +| Validate request | | +| Modify service flow | | +| Send DSC-RSP | Receive DSC-RSP | +| | Modify service flow | +| Receive DSC-ACK | Send DSC-ACK | + +Sequence diagram for CM-initiated dynamic service change + +Figure 11-40 – CM-initiated DSC + +### 11.4.3.2 CMTS-initiated dynamic service change + +A CMTS that needs to change a service flow definition performs the following operations. + +The CMTS MUST decide if the referenced service flow can support this modification. If so, the CMTS informs the CM using a dynamic service change request message (DSC-REQ). The CM checks that it can support the service change, and MUST respond using a dynamic service change response (DSC-RSP) indicating acceptance or rejection. The CMTS reconfigures the service flow if appropriate, and then MUST respond with a dynamic service change acknowledgment (DSC-ACK). + +![Sequence diagram for CMTS-initiated dynamic service change](235dfd17045d5c48824e808c98dc82ec_img.jpg) + +This sequence diagram illustrates the interaction between a CMTS and a CM for a CMTS-initiated dynamic service change. The diagram is divided into two columns: CMTS on the left and CM on the right. The sequence of messages is as follows: 1. The CMTS performs an internal step 'Service flow requires modifying' and then sends a DSC-REQ message to the CM. 2. The CM receives the DSC-REQ and performs 'Modify service flow'. 3. The CM then sends a DSC-RSP message back to the CMTS. 4. The CMTS receives the DSC-RSP and performs 'Modify service flow'. 5. Finally, the CMTS sends a DSC-ACK message to the CM, which the CM receives. + +| CMTS | CM | +|---------------------------------|---------------------| +| Service flow requires modifying | | +| Send DSC-REQ | Receive DSC-REQ | +| | Modify service flow | +| Receive DSC-RSP | Send DSC-RSP | +| Modify service flow | | +| Send DSC-ACK | Receive DSC-ACK | + +Sequence diagram for CMTS-initiated dynamic service change + +Figure 11-41 – CMTS-initiated DSC + +### 11.4.3.3 Dynamic service change state transition diagrams + +![Flowchart of the DSC locally-initiated transaction begin state flow diagram.](d4f75478414255f10396bc4f38edeebb_img.jpg) + +``` +graph TD; A([DSC-Local Begin]) --> B[/SF Change/]; B --> C[Save service flow QoS state]; C --> D["[ CM Only ] +If decrease upstream bandwidth, modify transmission"]; D --> E[/DSC-REQ/]; E --> F[Start T7 Timer]; F --> G[Save transmitted DSC-REQ]; G --> H["Set DSC-REQ +Retries Available +to 'DSx Request +Retries'"]; H --> I([DSC-Local DSC-RSP Pending]); +``` + +The flowchart illustrates the sequence of operations for a locally-initiated DSC transaction. It begins with 'DSC-Local Begin', followed by 'SF Change', 'Save service flow QoS state', a conditional step '[ CM Only ] If decrease upstream bandwidth, modify transmission', 'DSC-REQ', 'Start T7 Timer', 'Save transmitted DSC-REQ', 'Set DSC-REQ Retries Available to 'DSx Request Retries'', and finally 'DSC-Local DSC-RSP Pending'. + +J.122\_F11-42 + +Flowchart of the DSC locally-initiated transaction begin state flow diagram. + +Figure 11-42 – DSC – Locally-initiated transaction begin state flow diagram + +![Flowchart for DSC - Locally-initiated transaction DSC-RSP pending state. The process starts at 'DSC-Local DSC-RSP pending' and branches into six paths: SF DSC-REQ Lost, Timeout T7, SF Change-Remote [ CM only ], SF Delete-Remote, SF Delete-Local, and DSC-RSP. Each path leads to specific state transitions and timer management, eventually returning to 'DSC-Local DSC-RSP pending' or ending in 'DSC-Local End' or 'DSC-Local holding down'.](28583b06f211df822423d245dfad776f_img.jpg) + +``` + +graph TD + Start([DSC-Local DSC-RSP pending]) --> SF_DSC_REQ_Lost[/SF DSC-REQ Lost/] + Start --> Timeout_T7[/Timeout T7/] + Start --> SF_Change_Remote[/SF Change-Remote [ CM only ]/] + Start --> SF_Delete_Remote[/SF Delete-Remote/] + Start --> SF_Delete_Local[/SF Delete-Local/] + Start --> DSC_RSP[/DSC-RSP/] + + SF_DSC_REQ_Lost --> Retries_Avail_1{Retries available?} + Retries_Avail_1 -- No --> SF_DSC_REQ_Lost + Retries_Avail_1 -- Yes --> Saved_DSC_REQ_1[/Saved DSC-REQ/] + Saved_DSC_REQ_1 --> Decrement_DSC_REQ_Retries[Decrement DSC-REQ retries available] + Decrement_DSC_REQ_Retries --> Start_T7_1[Start T7 Timer] + Start_T7_1 --> Saved_DSC_REQ_2[/Saved DSC-REQ/] + Saved_DSC_REQ_2 --> Start_T7_2[Start T7 Timer] + Start_T7_2 --> Decrement_DSC_REQ_Retries + Start_T7_2 --> DSC_Local_End([DSC-Local End]) + + Timeout_T7 --> Retries_Avail_2{Retries available?} + Retries_Avail_2 -- No --> Start_T10_1[Start T10 timer] + Start_T10_1 --> DSC_Local_End + Retries_Avail_2 -- Yes --> Saved_DSC_REQ_3[/Saved DSC-REQ/] + Saved_DSC_REQ_3 --> Start_T7_3[Start T7 Timer] + Start_T7_3 --> Decrement_DSC_REQ_Retries + Start_T7_3 --> DSC_Local_End + + SF_Change_Remote --> Stop_T7_1[Stop T7 timer] + Stop_T7_1 --> DSC_Ended[/DSC Ended/] + DSC_Ended --> DSC_Local_End + + SF_Delete_Remote --> Stop_T7_2[Stop T7 timer] + Stop_T7_2 --> DSC_Ended + DSC_Ended --> DSC_Local_End + + SF_Delete_Local --> Stop_T7_3[Stop T7 timer] + Stop_T7_3 --> Start_T10_2[Start T10 timer] + Start_T10_2 --> DSC_Local_End + + DSC_RSP --> Stop_T7_4[Stop T7 timer] + Stop_T7_4 --> Okay{Okay?} + Okay -- No --> Restore_QoS[Restore service flow QoS state] + Okay -- Yes --> Modify_Params[Modify service flow parameters] + Restore_QoS --> DSC_Failed[/DSC Failed/] + DSC_Failed --> Set_Reject[Set condition code to 'reject-xxx'] + Set_Reject --> Start_T10_3[Start T10 timer] + Modify_Params --> DSC_Succeeded[/DSC Succeeded/] + DSC_Succeeded --> Set_Okay[Set condition code to 'okay'] + Set_Okay --> DSC_ACK[/DSC-ACK/] + DSC_ACK --> Start_T10_3 + Start_T10_3 --> Save_ACK[Save transmitted DSC-ACK] + Save_ACK --> DSC_Local_Holding_Down([DSC-Local holding down]) + +``` + +Flowchart for DSC - Locally-initiated transaction DSC-RSP pending state. The process starts at 'DSC-Local DSC-RSP pending' and branches into six paths: SF DSC-REQ Lost, Timeout T7, SF Change-Remote [ CM only ], SF Delete-Remote, SF Delete-Local, and DSC-RSP. Each path leads to specific state transitions and timer management, eventually returning to 'DSC-Local DSC-RSP pending' or ending in 'DSC-Local End' or 'DSC-Local holding down'. + +Figure 11-43 – DSC – Locally-initiated transaction DSC-RSP pending state flow diagram + +![State flow diagram for DSC - Locally-initiated transaction holding down state. The diagram starts at 'DSC-Local holding down' and branches into four paths: 1) SF Changed, SF Change-Remote, SF Delete-Remote leads to Stop T10 timer, then DSC Ended, then DSC-Local End. 2) Timeout T10 leads directly to DSC Ended. 3) SF Delete-Local leads to DSC-Local deleting service flow. 4) DSC-RSP leads to Saved DSC-ACK, then DSC ACK Lost, then DSC-Local holding down. A label J.122_F11-44 is at the bottom right.](2b04e13962c123370e90b83ab666b87f_img.jpg) + +``` + +stateDiagram-v2 + [*] --> DSC-Local_holding_down : DSC-Local holding down + DSC-Local_holding_down --> SF_Changed : SF Changed, SF Change-Remote, SF Delete-Remote + DSC-Local_holding_down --> Timeout_T10 : Timeout T10 + DSC-Local_holding_down --> SF_Delete_Local : SF Delete-Local + DSC-Local_holding_down --> DSC_RSP : DSC-RSP + + SF_Changed --> Stop_T10_timer : Stop T10 timer + Stop_T10_timer --> DSC_Ended : DSC Ended + Timeout_T10 --> DSC_Ended + + DSC_Ended --> DSC_Local_End : DSC-Local End + + SF_Delete_Local --> DSC_Local_deleting_service_flow : DSC-Local deleting service flow + + DSC_RSP --> Saved_DSC_ACK : Saved DSC-ACK + Saved_DSC_ACK --> DSC_ACK_Lost : DSC ACK Lost + DSC_ACK_Lost --> DSC_Local_holding_down + +``` + +J.122\_F11-44 + +State flow diagram for DSC - Locally-initiated transaction holding down state. The diagram starts at 'DSC-Local holding down' and branches into four paths: 1) SF Changed, SF Change-Remote, SF Delete-Remote leads to Stop T10 timer, then DSC Ended, then DSC-Local End. 2) Timeout T10 leads directly to DSC Ended. 3) SF Delete-Local leads to DSC-Local deleting service flow. 4) DSC-RSP leads to Saved DSC-ACK, then DSC ACK Lost, then DSC-Local holding down. A label J.122\_F11-44 is at the bottom right. + +**Figure 11-44 – DSC – Locally-initiated transaction holding down state flow diagram** + +![Flowchart for DSC - Locally-initiated transaction retries exhausted state flow diagram. The process starts at 'DSC-Local Retries Exhausted' and branches into four paths: Timeout T10, SF Delete-Remote, SF Delete-Local, and DSC-RSP. The DSC-RSP path includes an 'Okay?' decision leading to either 'Restore service flow QoS state' (No) or 'Modify Service Flow parameters' (Yes), eventually leading to 'DSC-ACK' and 'DSC-Local Holding Down'.](415e434818c86e65d50bb34de97ea0a3_img.jpg) + +``` + +graph TD + Start([DSC-Local Retries Exhausted]) --> T10[Timeout T10] + Start --> SFDR[SF Delete-Remote] + Start --> SFDL[SF Delete-Local] + Start --> DSC_RSP[DSC-RSP] + + T10 --> DSC_Erred[DSC Erred] + SFDR --> StopT10[Stop T10 Timer] + SFDL --> DSC_Local_Deleting([DSC-Local Deleting Service Flow]) + + DSC_Erred --> DSC_Ended[DSC Ended] + StopT10 --> DSC_Ended + DSC_Ended --> DSC_Local_End([DSC-Local End]) + + DSC_RSP --> Okay{Okay?} + Okay -- No --> Restore[Restore service flow QoS state] + Okay -- Yes --> Modify[Modify Service Flow parameters] + + Restore --> DSC_Failed[DSC Failed] + DSC_Failed --> SetReject[Set Condition Code to 'reject-xxx'] + + Modify --> DSC_Succeeded[DSC Succeeded] + DSC_Succeeded --> SetOkay[Set Condition Code to 'okay'] + + SetReject --> DSC_ACK[DSC-ACK] + SetOkay --> DSC_ACK + + DSC_ACK --> SaveACK[Save transmitted DSC-ACK] + SaveACK --> DSC_Local_HoldingDown([DSC-Local Holding Down]) + +``` + +Flowchart for DSC - Locally-initiated transaction retries exhausted state flow diagram. The process starts at 'DSC-Local Retries Exhausted' and branches into four paths: Timeout T10, SF Delete-Remote, SF Delete-Local, and DSC-RSP. The DSC-RSP path includes an 'Okay?' decision leading to either 'Restore service flow QoS state' (No) or 'Modify Service Flow parameters' (Yes), eventually leading to 'DSC-ACK' and 'DSC-Local Holding Down'. + +122\_F11-45 + +Figure 11-45 – DSC – Locally-initiated transaction retries exhausted state flow diagram + +![State flow diagram for DSC - Locally-initiated transaction deleting service flow. The process starts with 'DSC-Local Deleting Service Flow', which branches into three paths: 'SF Deleted, SF Delete-Remote' leading to 'Stop T10 Timer' then 'DSC Ended' then 'DSC-Local End'; 'Timeout T10' leading to 'DSC Ended'; and 'DSC-RSP' leading to 'DSC ACK Lost' then 'DSC-Local Deleting Service Flow'.](8932612a402edc27c589bfa1f2c7de1b_img.jpg) + +``` + +graph TD + Start([DSC-Local Deleting Service Flow]) --> SFDeleted[SF Deleted, SF Delete-Remote] + Start --> Timeout[Timeout T10] + Start --> DSC-RSP[DSC-RSP] + SFDeleted --> StopT10[Stop T10 Timer] + StopT10 --> DSC-Ended1[DSC Ended] + Timeout --> DSC-Ended2[DSC Ended] + DSC-Ended1 --> End([DSC-Local End]) + DSC-Ended2 --> End + DSC-RSP --> DSC-ACK-Lost[DSC ACK Lost] + DSC-ACK-Lost --> End2([DSC-Local Deleting Service Flow]) + +``` + +J.122\_F11-46 + +State flow diagram for DSC - Locally-initiated transaction deleting service flow. The process starts with 'DSC-Local Deleting Service Flow', which branches into three paths: 'SF Deleted, SF Delete-Remote' leading to 'Stop T10 Timer' then 'DSC Ended' then 'DSC-Local End'; 'Timeout T10' leading to 'DSC Ended'; and 'DSC-RSP' leading to 'DSC ACK Lost' then 'DSC-Local Deleting Service Flow'. + +**Figure 11-46 – DSC – Locally-initiated transaction deleting service flow state flow diagram** + +![Flowchart for DSC - Remotely-initiated transaction begin state flow diagram. The process starts with 'DSC-Remote Begin', followed by 'DSC-REQ', a decision 'Okay?', and subsequent steps for 'No' and 'Yes' paths leading to 'DSC-RSP' and 'DSC-Remote DSC-ACK Pending'.](19582bb3a35dfc4bcab8f239c83c229a_img.jpg) + +``` + +graph TD + Start([DSC-Remote Begin]) --> DSC-REQ[/DSC-REQ/] + DSC-REQ --> Okay{Okay?} + Okay -- No --> SetReject[Set Condition Code to 'reject-xxx'] + Okay -- Yes --> Modify[Modify Service Flow parameters] + Modify --> SetOkay[Set Condition Code to 'okay'] + SetReject --> DSC-RSP[/DSC-RSP/] + SetOkay --> DSC-RSP + DSC-RSP --> StartT8[Start T8 Timer] + StartT8 --> SaveRSP[Save transmitted DSC-RSP] + SaveRSP --> SetRetries[Set DSC-RSP Retries Available to 'DSx Response Retries'] + SetRetries --> End([DSC-Remote DSC-ACK Pending]) + +``` + +Flowchart for DSC - Remotely-initiated transaction begin state flow diagram. The process starts with 'DSC-Remote Begin', followed by 'DSC-REQ', a decision 'Okay?', and subsequent steps for 'No' and 'Yes' paths leading to 'DSC-RSP' and 'DSC-Remote DSC-ACK Pending'. + +J.122\_F11-47 + +Figure 11-47 – DSC – Remotely-initiated transaction begin state flow diagram + +![Flowchart for DSC - Remotely-initiated transaction DSC-ACK pending state. The process starts at 'DSC-Remote DSC-ACK Pending' and branches into several paths: DSC-REQ, SF DSC-ACK Lost, Timeout T8, SF Delete-Remote, SF Delete-Local, DSC-ACK, and another DSC-ACK. Each path leads to specific actions like 'Stop T8 Timer', 'Start T10 Timer', 'DSC-Remote Deleting Service Flow', 'DSC-Remote End', 'DSC-Remote Holding Down', or 'DSC-Remote DSC-ACK Pending'.](381b701baf194171a242aa2b1741f4a9_img.jpg) + +``` + +graph TD + Start([DSC-Remote DSC-ACK Pending]) --> DSC_REQ[/DSC-REQ/] + Start --> SF_DACK_Lost[/SF DSC-ACK Lost/] + Start --> Timeout_T8[/Timeout T8/] + Start --> SF_Delete_Remote[/SF Delete-Remote/] + Start --> SF_Delete_Local[/SF Delete-Local/] + Start --> DACK_1[/DSC-ACK/] + Start --> DACK_2[/DSC-ACK/] + + DSC_REQ --> Retries_Avail_1{Retries Available?} + Retries_Avail_1 -- No --> DSC_REQ + Retries_Avail_1 -- Yes --> Saved_DSC_RSP_1[/Saved DSC-RSP/] + Saved_DSC_RSP_1 --> Start_T8_1[Start T8 Timer] + Start_T8_1 --> Decrement_DSC_RSP[Decrement DSC-RSP +Retries Available] + Decrement_DSC_RSP --> Start + + SF_DACK_Lost --> Retries_Avail_2{Retries Available?} + Timeout_T8 --> Retries_Avail_2 + + Retries_Avail_2 -- No --> Stop_T8_1[Stop T8 Timer] + Stop_T8_1 --> DSC_Erred[/DSC Erred/] + DSC_Erred --> DSC_Ended[/DSC Ended/] + DSC_Ended --> DSC_Remote_End([DSC-Remote End]) + + Retries_Avail_2 -- Yes --> Saved_DSC_RSP_2[/Saved DSC-RSP/] + Saved_DSC_RSP_2 --> Start_T8_2[Start T8 Timer] + Start_T8_2 --> Decrement_DSC_RSP + + SF_Delete_Remote --> Stop_T8_2[Stop T8 Timer] + Stop_T8_2 --> DSC_Erred + + SF_Delete_Local --> Stop_T8_3[Stop T8 Timer] + Stop_T8_3 --> Start_T10_1[Start T10 Timer] + Start_T10_1 --> DSC_Remote_Deleting([DSC-Remote Deleting Service Flow]) + + DACK_1 --> Stop_T8_4[Stop T8 Timer] + Stop_T8_4 --> Okay_1{Okay?} + Okay_1 -- No --> Restore_SF[Restore service flow] + Restore_SF --> DSC_Failed[/DSC Failed/] + DSC_Failed --> Start_T8_3[Start T8 Timer] + Start_T8_3 --> DSC_Remote_Holding_Down_1([DSC-Remote Holding Down]) + + Okay_1 -- Yes --> DSC_Succeeded_1[/DSC Succeeded/] + DSC_Succeeded_1 --> Start_T8_3 + + DACK_2 --> Stop_T8_5[Stop T8 Timer] + Stop_T8_5 --> Okay_2{Okay?} + Okay_2 -- Yes --> DSC_Succeeded_2[/DSC Succeeded/] + DSC_Succeeded_2 --> Start_T8_4[Start T8 Timer] + Start_T8_4 --> DSC_Remote_Holding_Down_2([DSC-Remote Holding Down]) + +``` + +Flowchart for DSC - Remotely-initiated transaction DSC-ACK pending state. The process starts at 'DSC-Remote DSC-ACK Pending' and branches into several paths: DSC-REQ, SF DSC-ACK Lost, Timeout T8, SF Delete-Remote, SF Delete-Local, DSC-ACK, and another DSC-ACK. Each path leads to specific actions like 'Stop T8 Timer', 'Start T10 Timer', 'DSC-Remote Deleting Service Flow', 'DSC-Remote End', 'DSC-Remote Holding Down', or 'DSC-Remote DSC-ACK Pending'. + +Figure 11-48 – DSC – Remotely-initiated transaction DSC-ACK pending state flow diagram + +![State flow diagram for DSC - Remotely-initiated transaction holding down. The process starts at 'DSC-Remote Holding Down' and branches into four paths: 'SF Changed, SF Deleted, SF Delete-Remote' leading to 'Stop T8 Timer' then 'DSC Ended' then 'DSC-Remote End'; 'Timeout T8' leading directly to 'DSC Ended'; 'SF Delete-Local, SF Change-Remote' leading to 'DSC-ACK' then 'DSC-Remote Holding Down'; and 'DSC-ACK' leading directly to 'DSC-Remote Holding Down'.](9c2536121e6816795e5aad3dd13371e3_img.jpg) + +``` + +stateDiagram-v2 + [*] --> DSC-Remote_Holding_Down : DSC-Remote Holding Down + DSC-Remote_Holding_Down --> SF_Changed : SF Changed, SF Deleted, SF Delete-Remote + DSC-Remote_Holding_Down --> Timeout_T8 : Timeout T8 + DSC-Remote_Holding_Down --> SF_Delete_Local : SF Delete-Local, SF Change-Remote + DSC-Remote_Holding_Down --> DSC_ACK : DSC-ACK + SF_Changed --> Stop_T8_Timer : Stop T8 Timer + Stop_T8_Timer --> DSC_Ended : DSC Ended + DSC_Ended --> DSC-Remote_End : DSC-Remote End + Timeout_T8 --> DSC_Ended + SF_Delete_Local --> DSC_ACK + DSC_ACK --> DSC-Remote_Holding_Down + +``` + +State flow diagram for DSC - Remotely-initiated transaction holding down. The process starts at 'DSC-Remote Holding Down' and branches into four paths: 'SF Changed, SF Deleted, SF Delete-Remote' leading to 'Stop T8 Timer' then 'DSC Ended' then 'DSC-Remote End'; 'Timeout T8' leading directly to 'DSC Ended'; 'SF Delete-Local, SF Change-Remote' leading to 'DSC-ACK' then 'DSC-Remote Holding Down'; and 'DSC-ACK' leading directly to 'DSC-Remote Holding Down'. + +J.122\_F11-49 + +Figure 11-49 – DSC – Remotely-initiated transaction holding down state flow diagram + +![State flow diagram for DSC - Remotely-initiated transaction deleting service flow. The process starts at 'DSC-Remote Deleting Service Flow' and branches into three paths: 'SF Deleted, SF Delete-Remote' leading to 'Stop T10 Timer' then 'DSC Ended' then 'DSC-Remote End'; 'Timeout T10' leading directly to 'DSC Ended'; and 'DSC-REQ, DSC-ACK' leading to 'DSC-Remote Deleting Service Flow'.](07ccb21f70641797dd02a891ced72b7e_img.jpg) + +``` + +stateDiagram-v2 + [*] --> DSC-Remote_Deleting_Service_Flow : DSC-Remote Deleting Service Flow + DSC-Remote_Deleting_Service_Flow --> SF_Deleted : SF Deleted, SF Delete-Remote + DSC-Remote_Deleting_Service_Flow --> Timeout_T10 : Timeout T10 + DSC-Remote_Deleting_Service_Flow --> DSC_REQ_ACK : DSC-REQ, DSC-ACK + SF_Deleted --> Stop_T10_Timer : Stop T10 Timer + Stop_T10_Timer --> DSC_Ended : DSC Ended + DSC_Ended --> DSC-Remote_End : DSC-Remote End + Timeout_T10 --> DSC_Ended + DSC_REQ_ACK --> DSC-Remote_Deleting_Service_Flow + +``` + +State flow diagram for DSC - Remotely-initiated transaction deleting service flow. The process starts at 'DSC-Remote Deleting Service Flow' and branches into three paths: 'SF Deleted, SF Delete-Remote' leading to 'Stop T10 Timer' then 'DSC Ended' then 'DSC-Remote End'; 'Timeout T10' leading directly to 'DSC Ended'; and 'DSC-REQ, DSC-ACK' leading to 'DSC-Remote Deleting Service Flow'. + +J.122\_F11-50 + +Figure 11-50 – DSC – Remotely-initiated transaction deleting service flow state flow diagram + +#### 11.4.4 Dynamic service deletion + +Any service flow can be deleted with the dynamic service deletion (DSD) messages. When a service flow is deleted, all resources associated with it are released, including classifiers and PHS. However, if a primary service flow of a CM is deleted, that CM is de-registered and MUST re-register. Also, if a service flow that was provisioned during registration is deleted, the + +provisioning information for that service flow is lost until the CM re-registers. However, the deletion of a provisioned service flow MUST NOT cause a CM to re-register. Therefore, care should be taken before deleting such service flows. + +#### 11.4.4.1 CM-initiated dynamic service deletion + +A CM wishing to delete an upstream and/or a downstream service flow generates a delete request to the CMTS using a dynamic service deletion request message (DSD-REQ). The CMTS removes the service flow(s) and generates a response using a dynamic service deletion response message (DSD-RSP). Only one upstream and/or one downstream service flow can be deleted per DSD-Request. + +![Sequence diagram for CM-initiated dynamic service deletion. The diagram shows two participants: CM and CMTS. The CM sends a DSD-REQ message to the CMTS. The CMTS receives the DSD-REQ, verifies the CM is the 'owner' of the service flow(s), and deletes the service flow(s). The CMTS then sends a DSD-RSP message back to the CM, which receives it.](e4b6ed98fad76b79cb9f85783e13086a_img.jpg) + +``` + +sequenceDiagram + participant CM + participant CMTS + Note left of CM: Service flow(s) no longer needed +Delete service flow(s) + CM->>CMTS: Send DSD-REQ + Note right of CMTS: Receive DSD-REQ +Verify CM is service flow(s) 'owner' +Delete service flow(s) + CMTS->>CM: Send DSD-RSP + Note left of CM: Receive DSD-RSP + +``` + +Sequence diagram for CM-initiated dynamic service deletion. The diagram shows two participants: CM and CMTS. The CM sends a DSD-REQ message to the CMTS. The CMTS receives the DSD-REQ, verifies the CM is the 'owner' of the service flow(s), and deletes the service flow(s). The CMTS then sends a DSD-RSP message back to the CM, which receives it. + +Figure 11-51 – Dynamic service deletion initiated from CM + +#### 11.4.4.2 CMTS-initiated dynamic service deletion + +A CMTS wishing to delete an upstream and/or a downstream dynamic service flow generates a delete request to the associated CM using a dynamic service deletion request message (DSD-REQ). The CM removes the service flow(s) and generates a response using a dynamic service deletion response message (DSD-RSP). Only one upstream and/or one downstream service flow can be deleted per DSD-Request. + +![Sequence diagram for CMTS-initiated dynamic service deletion. The diagram shows two participants: CM and CMTS. The CMTS determines the associated CM for the service flow(s), then sends a DSD-REQ message to the CM. The CM receives the DSD-REQ, deletes the service flow(s), and sends a DSD-RSP message back to the CMTS, which receives it.](4599d7b27f6bd8041758d322232455d0_img.jpg) + +``` + +sequenceDiagram + participant CM + participant CMTS + Note right of CMTS: Service flow(s) no longer needed +Delete service flow(s) +Determine associated CM for this service flow(s) + CMTS->>CM: Send DSD-REQ + Note left of CM: Receive DSD-REQ +Delete service flow(s) + CM->>CMTS: Send DSD-RSP + Note right of CMTS: Receive DSD-RSP + +``` + +Sequence diagram for CMTS-initiated dynamic service deletion. The diagram shows two participants: CM and CMTS. The CMTS determines the associated CM for the service flow(s), then sends a DSD-REQ message to the CM. The CM receives the DSD-REQ, deletes the service flow(s), and sends a DSD-RSP message back to the CMTS, which receives it. + +Figure 11-52 – Dynamic service deletion initiated from CMTS + +### 11.4.4.3 Dynamic service deletion state transition diagrams + +![Flowchart of the DSD – Locally-initiated transaction begin state flow diagram.](e13d2ed373946df26f71416c7386045d_img.jpg) + +``` +graph TD; + A([DSD-Local +Begin]) --> B[/SF Delete/]; + B --> C[Disable +service flow]; + C --> D[DSD-REQ]; + D --> E[Start T7 Timer]; + E --> F[Save transmitted +DSD-REQ]; + F --> G[Set DSD-REQ +Retries Available +to 'DSx Request +Retries']; + G --> H([DSD-Local +DSD-RSP +Pending]); +``` + +The flowchart illustrates the sequence of operations for a locally-initiated dynamic service deletion (DSD) transaction. It begins with a terminal state 'DSD-Local Begin', followed by an input/output step 'SF Delete', then a process step 'Disable service flow'. The next steps are 'DSD-REQ', 'Start T7 Timer', 'Save transmitted DSD-REQ', and 'Set DSD-REQ Retries Available to 'DSx Request Retries''. The process concludes at the terminal state 'DSD-Local DSD-RSP Pending'. + +J.122\_F11-53 + +Flowchart of the DSD – Locally-initiated transaction begin state flow diagram. + +**Figure 11-53 – DSD – Locally-initiated transaction begin state flow diagram** + +![Flowchart for DSD-Locally-initiated transaction DSD-RSP pending state. It starts at 'DSD-Local DSD-RSP Pending' and branches into four paths: 'SF DSD-REQ Lost' (leading to 'Retries Available?' and then 'Saved DSD-REQ' or back to pending), 'Timeout T7' (leading to 'Retries Available?' and then 'Saved DSD-REQ', 'Start T7 Timer', 'Decrement DSD-REQ Retries Available', or 'DSD Ended'), 'SF Delete-Remote' (leading to 'Stop T7 Timer'), and 'DSD-RSP' (leading to 'Stop T7 Timer', 'DSD Succeeded', 'Start T7 Timer', and 'DSD-Local Holding Down').](2b817d2912f95cb0ab93ff621a3f0a5b_img.jpg) + +``` + +graph TD + Start([DSD-Local DSD-RSP Pending]) --> SF_DSD_REQ_Lost[/SF DSD-REQ Lost/] + Start --> Timeout_T7[/Timeout T7/] + Start --> SF_Delete_Remote[/SF Delete-Remote/] + Start --> DSD_RSP[/DSD-RSP/] + + SF_DSD_REQ_Lost --> Retries_Available_1{Retries Available?} + Retries_Available_1 -- Yes --> Saved_DSD_REQ_1[/Saved DSD-REQ/] + Retries_Available_1 -- No --> Pending_1([DSD-Local DSD-RSP Pending]) + + Timeout_T7 --> Retries_Available_2{Retries Available?} + Retries_Available_2 -- Yes --> Saved_DSD_REQ_2[/Saved DSD-REQ/] + Retries_Available_2 -- No --> DSD_Errer[/DSD Erred/] + Saved_DSD_REQ_2 --> Start_T7_Timer_2[Start T7 Timer] + Start_T7_Timer_2 --> Decrement_DSD_REQ_Retries[Decrement DSD-REQ Retries Available] + Decrement_DSD_REQ_Retries --> Pending_2([DSD-Local DSD-RSP Pending]) + DSD_Errer --> DSD_Ended_2[/DSD Ended/] + DSD_Ended_2 --> DSD_Local_End([DSD-Local End]) + + SF_Delete_Remote --> Stop_T7_Timer_1[Stop T7 Timer] + + DSD_RSP --> Stop_T7_Timer_2[Stop T7 Timer] + Stop_T7_Timer_2 --> DSD_Succeeded[/DSD Succeeded/] + DSD_Succeeded --> Start_T7_Timer_3[Start T7 Timer] + Start_T7_Timer_3 --> DSD_Local_Holding_Down_1([DSD-Local Holding Down]) + + J122_F11-54((J.122_F11-54)) + +``` + +Flowchart for DSD-Locally-initiated transaction DSD-RSP pending state. It starts at 'DSD-Local DSD-RSP Pending' and branches into four paths: 'SF DSD-REQ Lost' (leading to 'Retries Available?' and then 'Saved DSD-REQ' or back to pending), 'Timeout T7' (leading to 'Retries Available?' and then 'Saved DSD-REQ', 'Start T7 Timer', 'Decrement DSD-REQ Retries Available', or 'DSD Ended'), 'SF Delete-Remote' (leading to 'Stop T7 Timer'), and 'DSD-RSP' (leading to 'Stop T7 Timer', 'DSD Succeeded', 'Start T7 Timer', and 'DSD-Local Holding Down'). + +Figure 11-54 – DSD – Locally-initiated transaction DSD-RSP pending state flow diagram + +![Flowchart for DSD-Locally-initiated transaction holding down state. It starts at 'DSD-Local Holding Down' and branches into three paths: 'Timeout T7' (leading to 'DSD Ended' and 'DSD-Local End'), 'SF Deleted' (leading to 'DSD-Local Holding Down'), and 'DSD-RSP' (leading to 'DSD Succeeded' and 'DSD-Local Holding Down').](0bc9c064e5f4893fbd3ba3fbf1abc76c_img.jpg) + +``` + +graph TD + Start([DSD-Local Holding Down]) --> Timeout_T7[/Timeout T7/] + Start --> SF_Deleted[/SF Deleted/] + Start --> DSD_RSP[/DSD-RSP/] + + Timeout_T7 --> DSD_Ended[/DSD Ended/] + DSD_Ended --> DSD_Local_End([DSD-Local End]) + + SF_Deleted --> DSD_Local_Holding_Down_1([DSD-Local Holding Down]) + + DSD_RSP --> DSD_Succeeded[/DSD Succeeded/] + DSD_Succeeded --> DSD_Local_Holding_Down_2([DSD-Local Holding Down]) + + J122_F11-55((J.122_F11-55)) + +``` + +Flowchart for DSD-Locally-initiated transaction holding down state. It starts at 'DSD-Local Holding Down' and branches into three paths: 'Timeout T7' (leading to 'DSD Ended' and 'DSD-Local End'), 'SF Deleted' (leading to 'DSD-Local Holding Down'), and 'DSD-RSP' (leading to 'DSD Succeeded' and 'DSD-Local Holding Down'). + +Figure 11-55 – DSD – Locally-initiated transaction holding down state flow diagram + +![Flowchart of DSD - Remotely-initiated transaction begin state flow diagram](2f260472f70ca4f19e8e5ede6e88f394_img.jpg) + +``` +graph TD; A([DSD-Remote begin]) --> B[/DSD-REQ/]; B --> C[Disable service flow]; C --> D[/DSD Succeeded/]; D --> E[/DSD-RSP/]; E --> F[Start T10 timer]; F --> G[Save transmitted DSD-RSP]; G --> H([DSD-Remote holding down]) +``` + +The flowchart illustrates the state flow for a DSD - Remotely-initiated transaction begin. It starts with a rounded rectangle labeled 'DSD-Remote begin', which points down to a chevron shape labeled 'DSD-REQ'. This is followed by a rectangle labeled 'Disable service flow', which points to another chevron shape labeled 'DSD Succeeded'. The next step is a chevron shape labeled 'DSD-RSP', followed by a rectangle labeled 'Start T10 timer', and then a rectangle labeled 'Save transmitted DSD-RSP'. The final step is a rounded rectangle labeled 'DSD-Remote holding down'. + +Flowchart of DSD - Remotely-initiated transaction begin state flow diagram + +J.122\_F11-56 + +**Figure 11-56 – DSD – Remotely-initiated transaction begin state flow diagram** + +![Flowchart of DSD - Remotely-initiated transaction holding down state flow diagram. The process starts with 'DSD-Remote Holding Down' (oval), which branches into three paths: 1) 'SF Deleted' (parallelogram) -> 'Stop T10 Timer' (rectangle) -> 'DSD Ended' (parallelogram) -> 'DSD-Remote End' (oval). 2) 'Timeout T10' (parallelogram) -> 'DSD Ended' (parallelogram). 3) 'DSD-REQ' (parallelogram) -> 'Saved DSD-RSP' (parallelogram) -> 'DSD-Remote Holding Down' (oval). A label 'J.122_F11-57' is at the bottom right.](ac5084f644988289daf6c0a519f232ba_img.jpg) + +``` + +graph TD + Start([DSD-Remote Holding Down]) --> SF[SF Deleted] + Start --> T10[Timeout T10] + Start --> REQ[DSD-REQ] + SF --> Stop[Stop T10 Timer] + Stop --> Ended[DSD Ended] + T10 --> Ended + REQ --> Saved[Saved DSD-RSP] + Saved --> End([DSD-Remote End]) + Ended --> End + +``` + +Flowchart of DSD - Remotely-initiated transaction holding down state flow diagram. The process starts with 'DSD-Remote Holding Down' (oval), which branches into three paths: 1) 'SF Deleted' (parallelogram) -> 'Stop T10 Timer' (rectangle) -> 'DSD Ended' (parallelogram) -> 'DSD-Remote End' (oval). 2) 'Timeout T10' (parallelogram) -> 'DSD Ended' (parallelogram). 3) 'DSD-REQ' (parallelogram) -> 'Saved DSD-RSP' (parallelogram) -> 'DSD-Remote Holding Down' (oval). A label 'J.122\_F11-57' is at the bottom right. + +Figure 11-57 – DSD – Remotely-initiated transaction holding down state flow diagram + +## 11.4.5 Dynamically changing downstream and/or upstream channels + +### 11.4.5.1 DCC general operation + +At any time after registration, the CMTS MAY use the DCC-REQ to direct the CM to change its downstream and/or upstream channel. The CMTS MUST be capable of performing DCC operations to trigger upstream and/or downstream channel changes within a MAC domain and between MAC domains. Physical layer conditions permitting, the CMTS MUST be capable of executing such channel changes using all initialization techniques (see clause 11.4.5.1.2). This may be done for load balancing (as described in clause 11.4.5.6), noise avoidance or other reasons that are beyond the scope of this Recommendation. In addition, the CMTS MUST support DCC operations triggered via SNMP (see [DOCS5]). Figures 11-58 through 11-61 show the procedure that MUST be followed by the CMTS when performing a dynamic channel change. Figures 11-62 through 11-65 show the corresponding procedure that MUST be followed by a CM when performing a dynamic channel change. + +The DCC command can be used to change only the upstream frequency, only the downstream frequency, or both the upstream and downstream frequencies. When only the upstream or only the downstream frequency is changed, the change is typically within a MAC domain. When both the upstream and downstream frequencies are changed, the change may be within a MAC domain, or between MAC domains. + +The upstream channel ID SHOULD be unique between the old and new channels. In this context, the old channel refers to the channel that the CM was on before the jump, and the new channel refers to the channel that the CM is on after the jump. + +Upon synchronizing with the new upstream and/or downstream channel, the CM MUST use the technique specified in the DCC-REQ initialization technique TLV, if present, to determine if it should perform re-initialization, only ranging, or neither. If this TLV is not present in DCC-REQ, the CM MUST re-initialize its MAC on the new channel assignment (refer to clause 11.2). If the CM has been instructed to re-initialize, then the CMTS MUST NOT wait for a DCC-RSP to occur on the new channel. + +If the CM is being moved within a MAC domain, a re-initialization may not be required. If the CM is being moved between MAC domains, a re-initialization may be required. Re-initializing, if requested, is done with the new upstream and downstream channel assignments. It includes obtaining upstream parameters, establishing IP connectivity, establishing time of day, transferring operational parameters, registering, and initializing baseline privacy. If re-initialization is performed, the CM MUST NOT send a DCC-RSP on the new channel. + +The decision to re-range is based upon the CMTS's knowledge of any path diversity that may exist between the old and new channels, or if any of the fundamental parameters of the upstream or downstream channel, such as modulation rate, modulation type, or mini-slot size, have changed. + +When DCC-REQ does not involve re-initialization or re-ranging, the design goal of the CM will typically be to minimize the disruption of traffic to the end user. To achieve this goal, a CM MAY choose to continue to use QoS resources (such as bandwidth grants) on its current channel after receiving a DCC-REQ and before actually executing the channel change. The CM might also need this time to flush internal queues or reset state machines prior to changing channels. + +The CM MAY continue to use QoS resources on the old channel, including the transmission and reception of packets, after sending a DCC-RSP (depart) message and prior to the actual jump. The CM MAY use QoS resources on the new channel, including the transmission and reception of packets, after the jump and prior to sending a DCC-RSP (arrive) message. The CMTS MUST NOT use the DCC-RSP (depart) message to remove QoS resources on the old channel. The CMTS MUST NOT wait for a DCC-RSP (arrive) message on the new channel before allowing QoS resources to be used. This provision is to allow the unsolicited grant service to be used on the old and new channel with a minimum amount of disruption when changing channels. + +The CMTS MUST hold the QoS resources on the old channel until a time of T13 has passed after the last DCC-REQ that was sent, or until it can internally confirm the presence of the CM on the new channel assignment. The CM MUST execute the departure from the old channel before the expiry of T13. The CM MAY continue to use QoS resources on the old channel after responding with DCC-RSP and before the expiry of T13. + +If the CM is commanded to perform initial or station maintenance or to use the channel directly, the destination CMTS MUST hold the QoS resources on the new channel until a time of T15 has passed after the last DCC-REQ was sent if the CM has not yet been detected on the new channel. If the CM is commanded to re-initialize the MAC, then QoS resources are not reserved on the destination CMTS, and T15 does not apply. If, in the process of a dynamic channel change with a non-zero initialization technique, the CMTS detects that the CM has re-initialized the MAC before completing the channel change, the CMTS MAY de-allocate the resources that were previously allocated to the modem on the new channel before the expiration of T15. + +The T15 timer represents the maximum time period for the CM to complete the move to the destination CMTS, and is based on the TLV encodings (i.e., initialization technique TLV) included in the DCC-REQ message and the local configuration of the destination CMTS. + +The destination CMTS SHOULD calculate and limit T15 based on internal policy according to the guidelines in clause 11.4.5.1.1. + +If the initialization technique of initial ranging is utilized and if the CM arrives after T15 has passed, attempting to use resources on the new channel that have been removed (ranging or requesting bandwidth on a SID that has been deleted), the CMTS MUST send a ranging abort to the CM in order to cause the DCC transaction to fail, ensuring that the CM and CMTS states remain in sync. + +When a CM is moved between downstream channels on different IP subnets using initialization techniques other than re-initialize the MAC, a network connectivity issue may occur because no DHCP process is indicated as part of the DCC operation. The CM MAY implement a + +vendor-specific feature to deal with this situation. The CMTS SHOULD take this issue into account when sending a DCC-REQ and SHOULD direct the CM to use the appropriate initialization technique TLV to ensure no IP connectivity loss as a result of DCC. + +Once the CM changes channels, all previous outstanding bandwidth requests made via the request IE or request/data IE are invalidated, and the CM MUST re-request bandwidth on the new channel. In the case of unsolicited grant service in the upstream, the grants are implicit with the QoS reservations, and do not need to be re-requested. + +#### 11.4.5.1.1 Derivation of T15 timer + +The maximum value noted for the T15 timer denotes the maximum amount of time that the CMTS should reserve resources on the new channel. This value is not to be used to represent acceptable performance. + +The equation below describes the method for calculating the value of T15. + +$$T15 = CmJumpTime + CmtsRxRngReq$$ + +Each of the variables in the equation calculating the T15 timer is explained in the table below. + +| Variable | Explanation and value | +|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| CmJumpTime |

This is the CM's indication to the CMTS of when it intends to start the jump and how long it will take to jump. For a downstream change, it includes the time for the CM to synchronize to the downstream parameters on the destination channel, such as QAM symbol timing, FEC framing and MPEG framing. It incorporates CM housecleaning on the old channel. It also incorporates one T11 period for the CM to process and receive the DCC-REQ message. This optional value is computed by the CM and returned in DCC-RSP (depart).

If the CM does not specify the jump time TLVs, then the destination CMTS assumes that the value is 1.3 seconds. This recognizes the fact that the CM may continue to use the old channel until the expiry of the T13 timer.

If the CM specifies the jump time TLVs, then the destination CMTS uses the specified value.

| +| CmtsRxRngReq |

This variable represents the time for the CM to receive and use a ranging opportunity, and for the CMTS to receive and process the RNG-REQ.

For the initialization technique of use directly, this value is two times the CMTS time period between unicast ranging opportunities plus 20-40 milliseconds for MAP and RNG-REQ transmission time and CMTS RNG-REQ processing time.

For the initialization technique of station maintenance, this value is two times the CMTS time period between unicast ranging opportunities plus 20-40 milliseconds for MAP and RNG-REQ transmission time and CMTS RNG-REQ processing time.

For the initialization technique of initial maintenance, this value is 30 seconds. Because the variables involved in initial maintenance are not strictly under the control of the CMTS, the computation of this factor is uncertain.

| + +The minimum value of the T15 timer is four seconds; this was derived by quadrupling the value of the T13 timer. The maximum value of the T15 timer is 35 seconds. + +#### 11.4.5.1.2 Initialization technique + +There are many factors that drive the selection of an initialization technique when commanding a dynamic channel change. While it is desirable to provide the minimum of interruption to existing + +QoS services such as voice over IP or streaming video sessions, a CM will not be able to successfully execute a channel change given an initialization technique that is unsuitable for the cable plant conditions. In some cases, a CM will impair the new channel given an unsuitable initialization technique. For instance, consider the use of initialization technique 4 (use the new channel(s) directly without re-initializing or performing initial or station maintenance) when there is a significant difference in propagation delay between the old and new channel. Not only will the CM be unable to communicate with the CMTS after the channel change, but its transmissions may also interfere with the transmissions of other CMs using the channel. + +Careful consideration must be given to the selection of an initialization technique. Some restrictions are listed below. This list is not exhaustive, but is intended to prevent the use of a particular initialization technique under conditions where its use could prevent the CM from successfully executing the channel change. Packets may be dropped under some conditions during channel changes; applications that are running over the DOCSIS path should be able to cope with the loss of packets that may occur during the time that the CM changes channels. + +If a CM performs a channel change without performing a re-initialization (as defined in clause 8.3.20.1.3), all the configuration variables of the CM MUST remain constant (BPI keys, IP address, classifiers, PHS Rules, etc.), with the exception of the configuration variables which are explicitly changed by the DCC-REQ message encodings (as defined in clauses 8.3.20.1.1 through 8.3.20.1.7). The CM will not be aware of any configuration changes other than the ones that have been supplied in the DCC command, so consistency in provisioning between the old and new channels is important. Note that regardless of the initialization technique, the CPE will not be aware of any configuration changes and will continue to use its existing IP address. + +#### **11.4.5.1.2.1 Initialization technique zero** + +The use of initialization technique 0 (re-initialize the MAC) results in the longest interruption of service. The CMTS MUST signal the use of this technique when QoS resources will not be reserved on the new channel(s). + +#### **11.4.5.1.2.2 Initialization technique one** + +The use of initialization technique 1 (broadcast initial ranging) may also result in a lengthy interruption of service. However, this interruption of service is mitigated by the reservation of QoS resources on the new channel(s). The service interruption can be further reduced if the CMTS supplies downstream parameter sub-TLVs and the UCD substitution TLV in the DCC-REQ in addition to providing more frequent initial ranging opportunities on the new channel. + +#### **11.4.5.1.2.3 Initialization technique two** + +The use of initialization technique 2 (unicast initial ranging) offers the possibility of only a slight interruption of service. + +In order to use this technique, the CMTS MUST: + +- Synchronize timestamps (and downstream symbol clocks for S-CDMA support) across the downstream channels involved, and specify SYNC substitution sub-TLV with a value of 1 if the downstream channel is changing. +- Include the UCD substitution in the DCC message if the upstream channel is changing. + +However, the CMTS MUST NOT use this technique if: + +- The DCC-REQ message requires the CM to switch between S-CDMA and TDMA. +- Propagation delay differences between the old and new channels will cause the CM burst timing to exceed the ranging accuracy requirements of clause 6.2.19.1. +- Attenuation or frequency response differences between the old and new upstream channels will cause the received power at the CMTS to be outside the limits of reliable reception. + +#### 11.4.5.1.2.4 Initialization technique three + +The use of initialization technique 3 (initial ranging or periodic ranging) offers the possibility of only a slight interruption of service. This value might be used when there is uncertainty when the CM may execute the DCC command and thus a chance that it might miss station maintenance slots. However, the CMTS MUST NOT use this technique if the conditions for using techniques 1 and 2 are not completely satisfied. + +#### 11.4.5.1.2.5 Initialization technique four + +The use of initialization technique 4 (use the new channel without re-initialization or ranging) results in the least interruption of service. + +In order to use this technique, the CMTS MUST: + +- Synchronize timestamps (and downstream symbol clocks for S-CDMA support) across the downstream channels involved and specify SYNC substitution sub-TLV with a value of 1 if the downstream channel is changing. +- Include the UCD substitution in the DCC message if the upstream channel is changing. + +However, the CMTS MUST NOT use this technique if: + +- The CM is operating in S-CDMA mode and any of the following parameters are changing: + - Modulation rate; + - S-CDMA mode enable; + - S-CDMA US ratio numerator 'M'; + - S-CDMA US ratio numerator 'N'; + - Downstream channel. +- The DCC-REQ message requires the CM to switch between S-CDMA and TDMA. +- Attenuation or frequency response differences between the old and new upstream channels will cause the received power at the CMTS to change by more than 6 dB. +- Propagation delay differences between the old and new channels will cause the CM burst timing to exceed the ranging accuracy requirements of clause 6.2.19.1. +- Micro-reflections on the new upstream channel will result in an unacceptable PER (greater than 1%) with the pre-equalizer coefficients set to the initial setting (refer to clause 6.2.15). + +The CMTS SHOULD NOT use initialization technique 4 when the new or old channel is S-CDMA and the modulation rate is changing. + +#### 11.4.5.2 DCC exception conditions + +If a CM issues a DSA-REQ or DSC-REQ for more resources, and the CMTS needs to do a DCC to obtain those resources, the CMTS will reject the DSA or DSC command without allocating any resources to the CM. The CMTS includes a confirmation code of "reject-temporary-DCC" (refer to clause C.1.3.1) in the DSC-RSP message to indicate that the new resources will not be available until a DCC is received. The CMTS will then follow the DSA or DSC transaction with a DCC transaction. + +After the CM jumps to a new channel and completes the DCC transaction, the CM retries the DSA or DSC command. If the CM has not changed channels after the expiry of T14, as measured from the time that the CM received DSA-RSP or DSC-RSP from the CMTS, then the CM MAY retry the resource request. + +If the CMTS needs to change channels in order to satisfy a resource request other than a CM-initiated DSA or DSC command, then the CMTS should execute the DCC command first, and then issue a DSA or DSC command. + +If the provisioning system default is to specify the upstream channel ID, the downstream frequency, and/or a downstream channel list in the configuration file, care should be taken when using DCC, particularly when using initialization technique 0 (re-initialize MAC). If a CMTS does a DCC with re-initialize, the configuration file could cause the CM to come back to the original channel. This would cause an infinite loop. + +The CMTS MUST NOT issue a DCC command if the CMTS has previously issued a DSA, or DSC command, and that command is still outstanding. The CMTS MUST NOT issue a DCC command if the CMTS is still waiting for a DSA-ACK or DSC-ACK from a previous CM initiated DSA-REQ or DSC-REQ command. + +The CMTS MUST NOT issue a DSA or DSC command if the CMTS has previously issued a DCC command, and that command is still outstanding. + +If the CMTS issues a DCC-REQ command and the CM simultaneously issues a DSA-REQ or DSC-REQ, then the CMTS command takes priority. The CMTS responds with a confirmation code of "reject-temporary" (refer to clause C.1.3.1). The CM proceeds with executing the DCC command. + +If the CM is unable to achieve communications with a CMTS on the new channel(s), it MUST return to the previous channel(s) and re-initialize its MAC. The previous channel assignment represents a known good operating point which should speed up the re-initialization process. Also, returning to the previous channel provides a more robust operational environment for the CMTS to find a CM that fails to connect on the new channel(s). + +If the CMTS sends a DCC-REQ and does not receive a DCC-RSP within time T11, it MUST retransmit the DCC-REQ up to a maximum of "DCC-REQ Retries" (Annex B) before declaring the transaction a failure. Note that if the DCC-RSP was lost in transit and the CMTS retries the DCC-REQ, the CM may have already changed channels. + +If the CM sends a DCC-RSP on the new channel and does not receive a DCC-ACK from the CMTS within time T12, it MUST retry the DCC-RSP up to a maximum of "DCC-RSP retries" (Annex B). + +If the CM receives a DCC-REQ with the upstream channel ID TLV, if present, equal to the current upstream channel ID, and the downstream frequency TLV, if present, is equal to the current downstream frequency, then the CM MUST consider the DCC-REQ as a redundant command. The remaining DCC-REQ TLV parameters MUST NOT be executed, and the CM MUST return a DCC-RSP, with a confirmation code of "reject-already-there", to the CMTS (refer to clause C.4.1). + +If a DOCS 2.0-enabled CM is moved from a type 1 channel to a type 2 channel via a DCC using an initialization technique other than re-initialize the MAC, the CM MUST operate in 2.0 mode on the destination channel, basing its requests on IUCs 9 and 10 instead of IUCs 5 and 6. If a CM in which DOCS 2.0 is disabled in registration is moved from a type 1 channel to a type 2 channel via a DCC with initialization technique other than re-initialize the MAC, the CM MUST continue to base its requests on the destination channel on IUCs 5 and 6. A CM in which DOCSIS 2.0 is disabled in registration MUST consider a type 3 channel to be invalid for any DCC using an initialization technique other than re-initialize the MAC. + +If the CM is moved via a DCC using the initialization technique of re-initialize the MAC, the previous 2.0 enable setting is not applicable. If DOCS 2.0 was previously disabled and the target upstream channel is type 2 or type 3, the 2.0 disable setting is discarded and the CM MUST use the target upstream channel; however, after re-initialization, the CM MUST operate in the 2.0 mode defined in the config file acquired in the re-initialization process. + +### 11.4.5.3 DCC state transition diagrams + +![Flowchart showing the dynamic channel changing process from the CMTS perspective, split into 'Previous CMTS Operational' and 'New CMTS Operational' paths.](886a88caad59e8f8b1cf54c72e8adf4a_img.jpg) + +``` + +graph TD + subgraph Previous_CMTS_Operational + P1([Previous CMTS Operational]) --> P2[/Channel Change Required/] + P1 --> P3[/DCC-RSP /] + P2 --> P4{Initialization Technique = Reinitialize the MAC?} + P4 -- No --> P5[/DCC beginning (to new CMTS), including DCC-REQ parameters/] + P4 -- Yes --> P6[Set DCC-REQ retry counter to 0] + P3 --> P7[/ERROR: Unknown DCC transaction/] + P7 --> P8([Previous CMTS Operational]) + P5 --> P6 + P6 --> P9[/DCC-REQ/] + P9 --> P10[/Start T11 Start T13/] + P10 --> P11([Previous CMTS DCC-RSP (depart) Pending]) + end + + subgraph New_CMTS_Operational + N1([New CMTS Operational]) --> N2[/DCC beginning (from old CMTS), including DCC-REQ parameters/] + N1 --> N3[/DCC-RSP /] + N2 --> N4[/Prepare new channel(s) with any appropriate resource assignments/] + N4 --> N5[/Start T15/] + N5 --> N6([New CMTS DCC-RSP (arrive) Pending]) + N3 --> N7[/ERROR: Unknown DCC transaction/] + N7 --> N8([New CMTS Operational]) + N6 --> N9[/Other event from old CMTS/] + N9 --> N10[Ignore the event.] + N10 --> N11([New CMTS Operational]) + end + + P11 --> P12((DCC CMTS A)) + P12 --> P9 + +``` + +Note that the new CMTS is not informed of the DCC if the CM will Reset the MAC, and it will ignore other events that are sent by the old CMTS in other states. + +J.122\_F11-58 + +Flowchart showing the dynamic channel changing process from the CMTS perspective, split into 'Previous CMTS Operational' and 'New CMTS Operational' paths. + +Figure 11-58 – Dynamically changing channels: CMTS view, part 1 + +![Flowchart illustrating the CM-REQ processing logic for dynamically changing channels from the CM-REQ side. The process starts with 'Previous CM-REQ DCC-RSP (reject) Pending'. It branches into four main paths: 1) DCC-RSP (depart) leads to Stop T11, then DCC-RSP CM Jump Time (to new CM-REQ), ending at 'Previous CM-REQ DCC T13 Pending'. 2) DCC-RSP (reject-) leads to Stop T11, then ERROR: DCC-REQ rejected , then Stop T13, then DCC Aborted (to new CM-REQ), ending at 'Previous CM-REQ Operational'. 3) Timeout T11 leads to a decision 'DCC-REQ Retries Exhausted?'. If Yes, it leads to ERROR: CM not responding, then Stop T13, then DCC Aborted (to new CM-REQ), ending at 'Previous CM-REQ Operational'. If No, it leads to Increment DCC-REQ retries counter, ending at 'DCC CM-REQ A'. 4) CM Arrived (from new CM-REQ) leads to Stop T11 Stop T13, then Remove old channel resource assignments, then ERROR: DCC-RSP (depart) lost, ending at 'Previous CM-REQ Operational'.](7ac0d7b4763471d7c6dee8a2ce125b6a_img.jpg) + +``` + +graph TD + Start([Previous CM-REQ DCC-RSP (reject) Pending]) --> DCC-RSP-depart[DCC-RSP (depart)] + Start --> DCC-RSP-reject[DCC-RSP (reject-)] + Start --> Timeout-T11[Timeout T11] + Start --> CM-Arrived[CM Arrived (from new CM-REQ)] + + DCC-RSP-depart --> Stop-T11-1[Stop T11] + Stop-T11-1 --> DCC-RSP-CM-Jump[DCC-RSP CM Jump Time (to new CM-REQ)] + DCC-RSP-CM-Jump --> Previous-CM-REQ-DCC-T13-Pending([Previous CM-REQ DCC T13 Pending]) + + DCC-RSP-reject --> Stop-T11-2[Stop T11] + Stop-T11-2 --> ERROR-rejected[ERROR: DCC-REQ rejected ] + ERROR-rejected --> Stop-T13-1[Stop T13] + Stop-T13-1 --> DCC-Aborted-1[DCC Aborted (to new CM-REQ)] + DCC-Aborted-1 --> Previous-CM-REQ-Operational-1([Previous CM-REQ Operational]) + + Timeout-T11 --> Retries-Exhausted{DCC-REQ Retries Exhausted?} + Retries-Exhausted -- Yes --> ERROR-not-responding[ERROR: CM not responding] + ERROR-not-responding --> Stop-T13-2[Stop T13] + Stop-T13-2 --> DCC-Aborted-2[DCC Aborted (to new CM-REQ)] + DCC-Aborted-2 --> Previous-CM-REQ-Operational-2([Previous CM-REQ Operational]) + + Retries-Exhausted -- No --> Increment-Retries[Increment DCC-REQ retries counter] + Increment-Retries --> DCC-CM-REQ-A((DCC CM-REQ A)) + + CM-Arrived --> Stop-T11-T13[Stop T11 Stop T13] + Stop-T11-T13 --> Remove-Old-Assignments[Remove old channel resource assignments.] + Remove-Old-Assignments --> ERROR-lost[ERROR: DCC-RSP (depart) lost] + ERROR-lost --> Previous-CM-REQ-Operational-3([Previous CM-REQ Operational]) + +``` + +Flowchart illustrating the CM-REQ processing logic for dynamically changing channels from the CM-REQ side. The process starts with 'Previous CM-REQ DCC-RSP (reject) Pending'. It branches into four main paths: 1) DCC-RSP (depart) leads to Stop T11, then DCC-RSP CM Jump Time (to new CM-REQ), ending at 'Previous CM-REQ DCC T13 Pending'. 2) DCC-RSP (reject-) leads to Stop T11, then ERROR: DCC-REQ rejected , then Stop T13, then DCC Aborted (to new CM-REQ), ending at 'Previous CM-REQ Operational'. 3) Timeout T11 leads to a decision 'DCC-REQ Retries Exhausted?'. If Yes, it leads to ERROR: CM not responding, then Stop T13, then DCC Aborted (to new CM-REQ), ending at 'Previous CM-REQ Operational'. If No, it leads to Increment DCC-REQ retries counter, ending at 'DCC CM-REQ A'. 4) CM Arrived (from new CM-REQ) leads to Stop T11 Stop T13, then Remove old channel resource assignments, then ERROR: DCC-RSP (depart) lost, ending at 'Previous CM-REQ Operational'. + +J.122\_F11-59 + +Figure 11-59 – Dynamically changing channels: CM-REQ view, part 2 + +![Flowchart showing the CMTS view for dynamically changing channels. It starts with 'Previous CMTS DCC T13 Pending' and branches into four paths: 'Timeout T13', 'CM Arrived (from new CMTS)', 'CM no longer present on old channel' (marked with 1), and 'DCC-RSP ()'. The first three paths lead to 'Stop T13' and then 'Remove old channel resource assignments.', ending at 'Previous CMTS Operational'. The fourth path leads to 'ERROR: Unknown DCC transaction' and back to 'Previous CMTS DCC T13 Pending'. A note indicates that the mechanism for event 1 is vendor-specific.](2399254baf1cd3a8e04cf5313b4d9b8f_img.jpg) + +``` + +graph TD + Start([Previous CMTS DCC T13 Pending]) --> T13[Timeout T13] + Start --> CM[CM Arrived from new CMTS] + Start --> CM2[CM no longer present on old channel 1] + Start --> DCC[DCC-RSP ] + T13 --> Stop[Stop T13] + CM --> Stop + CM2 --> Stop + Stop --> Remove[Remove old channel resource assignments.] + Remove --> End([Previous CMTS Operational]) + DCC --> Error[ERROR: Unknown DCC transaction] + Error --> Start + +``` + +① The mechanism to determine this event is vendor-specific. + +J.122\_F11-60 + +Flowchart showing the CMTS view for dynamically changing channels. It starts with 'Previous CMTS DCC T13 Pending' and branches into four paths: 'Timeout T13', 'CM Arrived (from new CMTS)', 'CM no longer present on old channel' (marked with 1), and 'DCC-RSP ()'. The first three paths lead to 'Stop T13' and then 'Remove old channel resource assignments.', ending at 'Previous CMTS Operational'. The fourth path leads to 'ERROR: Unknown DCC transaction' and back to 'Previous CMTS DCC T13 Pending'. A note indicates that the mechanism for event 1 is vendor-specific. + +Figure 11-60 – Dynamically changing channels: CMTS view, part 3 + +![Flowchart for 'New CMTS DCC-RSP (arrive) Pending' state. It branches into five paths: 1) 'DCC-RSP CM Jump Time (from old CMTS)' leads to 'Store Jump Time' -> 'Restart T15' -> back to 'New CMTS DCC-RSP (arrive) Pending'. 2) 'CM detected on new channel' (marked with 1) leads to 'Start T10' -> 'CM Arrived (to old CMTS)' -> 'New CMTS DCC Hold-down'. 3) 'DCC-RSP (arrive)' leads to 'DCC-ACK' -> 'Stop T15' -> 'Start T10' -> 'CM Arrived (to old CMTS)' -> 'New CMTS DCC Hold-down'. 4) 'Timeout T15' leads to 'ERROR: CM not arriving' -> 'Remove new channel resource assignments.' -> 'New CMTS Operational'. 5) 'DCC Aborted (from old CMTS)' leads to 'ERROR: DCC Aborted' -> 'Stop T15' -> 'Remove new channel resource assignments.' -> 'New CMTS Operational'. A note indicates that step 1 is CMTS-specific and can include receiving RNG-REQ or bandwidth requests.](5772ffa3b9089a69e25df5ec289ead55_img.jpg) + +``` + +graph TD + Start([New CMTS DCC-RSP +(arrive) Pending]) --> DCC-RSP-Jump[DCC-RSP +CM Jump Time +(from old CMTS)] + Start --> CM-Detected[CM detected +on new channel] + Start --> DCC-RSP-Arrive[DCC-RSP +(arrive)] + Start --> Timeout-T15[Timeout T15] + Start --> DCC-Aborted[DCC Aborted +(from old CMTS)] + + DCC-RSP-Jump --> Store-Jump[Store Jump Time] + Store-Jump --> Restart-T15[Restart T15] + Restart-T15 --> Start + + CM-Detected --> Start-T10-1[Start T10] + DCC-RSP-Arrive --> DCC-ACK-1[DCC-ACK] + DCC-ACK-1 --> Stop-T15-1[Stop T15] + Stop-T15-1 --> Start-T10-1 + Start-T10-1 --> CM-Arrived[CM Arrived +(to old CMTS)] + CM-Arrived --> DCC-Hold-down-1([New CMTS DCC +Hold-down]) + + Timeout-T15 --> Error-Not-Arriving[ERROR: +CM not arriving] + Error-Not-Arriving --> Remove-Resources[Remove new +channel resource +assignments.] + Remove-Resources --> CMTS-Operational-1([New CMTS +Operational]) + + DCC-Aborted --> Error-Aborted[ERROR: +DCC Aborted] + Error-Aborted --> Stop-T15-2[Stop T15] + Stop-T15-2 --> Remove-Resources + Remove-Resources --> CMTS-Operational-1 + +``` + +① Determination of this is CMTS-specific, but can include receiving RNG-REQ or bandwidth requests from the CM on the new channel. + +Flowchart for 'New CMTS DCC-RSP (arrive) Pending' state. It branches into five paths: 1) 'DCC-RSP CM Jump Time (from old CMTS)' leads to 'Store Jump Time' -> 'Restart T15' -> back to 'New CMTS DCC-RSP (arrive) Pending'. 2) 'CM detected on new channel' (marked with 1) leads to 'Start T10' -> 'CM Arrived (to old CMTS)' -> 'New CMTS DCC Hold-down'. 3) 'DCC-RSP (arrive)' leads to 'DCC-ACK' -> 'Stop T15' -> 'Start T10' -> 'CM Arrived (to old CMTS)' -> 'New CMTS DCC Hold-down'. 4) 'Timeout T15' leads to 'ERROR: CM not arriving' -> 'Remove new channel resource assignments.' -> 'New CMTS Operational'. 5) 'DCC Aborted (from old CMTS)' leads to 'ERROR: DCC Aborted' -> 'Stop T15' -> 'Remove new channel resource assignments.' -> 'New CMTS Operational'. A note indicates that step 1 is CMTS-specific and can include receiving RNG-REQ or bandwidth requests. + +![Flowchart for 'New CMTS DCC Hold-down' state. It branches into two paths: 1) 'Timeout T10' leads to 'New CMTS Operational'. 2) 'DCC-RSP (arrive)' leads to 'DCC-ACK' -> 'New CMTS DCC Hold-down'.](e817de1b2f803560e39d541c3966532b_img.jpg) + +``` + +graph TD + Start([New CMTS DCC +Hold-down]) --> Timeout-T10[Timeout T10] + Start --> DCC-RSP-Arrive[DCC-RSP +(arrive)] + + Timeout-T10 --> CMTS-Operational([New CMTS +Operational]) + + DCC-RSP-Arrive --> DCC-ACK[DCC-ACK] + DCC-ACK --> Start + +``` + +Flowchart for 'New CMTS DCC Hold-down' state. It branches into two paths: 1) 'Timeout T10' leads to 'New CMTS Operational'. 2) 'DCC-RSP (arrive)' leads to 'DCC-ACK' -> 'New CMTS DCC Hold-down'. + +J.122\_F11-61 + +Figure 11-61 – Dynamically changing channels: CMTS view, part 4 + +![Flowchart for dynamically changing channels: CM view, part 1. The process starts with 'CM Operational', followed by 'DCC-REQ', 'Parse DCC-REQ', and a decision 'DCC-REQ valid?'. If 'No', it sends 'DCC-RSP (reject-)', then 'ERROR: Bad CMTS DCC ', and returns to 'CM Operational'. If 'Yes', it checks 'Already using US and DS channels?'. If 'Yes', it sends 'DCC-RSP (reject-already-there)', then 'ERROR: Bad CMTS DCC already-there', and returns to 'CM Operational'. If 'No', it checks 'Can jump be made?'. If 'No', it sends 'DCC-RSP (reject-)', then 'ERROR: DCC-REQ denied', and returns to 'CM Operational'. If 'Yes', it sends 'DCC-RSP (depart)', then 'Clean up internal queues and other housekeeping', then 'Apply Id substitutions, store UCD from DCC-REQ (if present)', and ends at 'DCC CM A'.](0363a872d994d4b7d4c2de7820793d76_img.jpg) + +``` + +graph TD + Start([CM Operational]) --> DCC_REQ[/DCC-REQ/] + DCC_REQ --> Parse[Parse DCC-REQ] + Parse --> Valid{DCC-REQ valid?} + Valid -- No --> Reject1[/DCC-RSP (reject-)/] + Reject1 --> Error1[/ERROR: Bad CMTS DCC /] + Error1 --> CM_Op1([CM Operational]) + Valid -- Yes --> AlreadyUsing{Already using US and DS channels?} + AlreadyUsing -- Yes --> Reject2[/DCC-RSP (reject-already-there)/] + Reject2 --> Error2[/ERROR: Bad CMTS DCC already-there/] + Error2 --> CM_Op2([CM Operational]) + AlreadyUsing -- No --> CanJump{Can jump be made?} + CanJump -- No --> Reject3[/DCC-RSP (reject-)/] + Reject3 --> Error3[/ERROR: DCC-REQ denied/] + Error3 --> CM_Op3([CM Operational]) + CanJump -- Yes --> Depart[/DCC-RSP (depart)/] + Depart --> CleanUp[Clean up internal queues and other housekeeping] + CleanUp --> IdSubs[Apply Id substitutions, store UCD from DCC-REQ (if present)] + IdSubs --> End((DCC CM A)) + +``` + +Flowchart for dynamically changing channels: CM view, part 1. The process starts with 'CM Operational', followed by 'DCC-REQ', 'Parse DCC-REQ', and a decision 'DCC-REQ valid?'. If 'No', it sends 'DCC-RSP (reject-)', then 'ERROR: Bad CMTS DCC ', and returns to 'CM Operational'. If 'Yes', it checks 'Already using US and DS channels?'. If 'Yes', it sends 'DCC-RSP (reject-already-there)', then 'ERROR: Bad CMTS DCC already-there', and returns to 'CM Operational'. If 'No', it checks 'Can jump be made?'. If 'No', it sends 'DCC-RSP (reject-)', then 'ERROR: DCC-REQ denied', and returns to 'CM Operational'. If 'Yes', it sends 'DCC-RSP (depart)', then 'Clean up internal queues and other housekeeping', then 'Apply Id substitutions, store UCD from DCC-REQ (if present)', and ends at 'DCC CM A'. + +J.122\_F11-62 + +Figure 11-62 – Dynamically changing channels: CM view, part 1 + +![Flowchart for dynamically changing channels: CM view, part 2. The process starts at DCC CM A and proceeds through a series of decision diamonds and process blocks to reach CM DCC-ACK pending. The flowchart includes checks for downstream changes, MAC re-initialization, UCD storage, SYNC acquisition, MAP cache, and ranging. It ends with a response handling loop.](1dd97d21e745e17aa9bf424cac55737d_img.jpg) + +``` + +graph TD + Start((DCC CM A)) --> D1{Downstream Change?} + D1 -- Yes --> P1(CM DCC Downstream Change) + D1 -- No --> D2{Initialization technique = +Re-init the MAC?} + D2 -- Yes --> P2[Reset the MAC] + P2 --> P3(Obtain Upstream Parameters ①) + D2 -- No --> D3{Valid UCD for +target upstream +stored?} + D3 -- No --> P4(CM DCC Acquire UCD) + D3 -- Yes --> D4{Wait for SYNCs?} + D4 -- Yes --> P5(CM DCC Acquire SYNC) + D4 -- No --> D5{Valid MAP in cache?} + D5 -- No --> P6(CM DCC Acquire MAP) + D5 -- Yes --> D6{Initialization +technique = +Use-Directly?} + D6 -- No --> P7(CM DCC Ranging) + D6 -- Yes --> P8[Set DCC-RSP +(arrive) retry +counter to 0] + P8 --> End((DCC CM B)) + P4 --> D4 + P5 --> D5 + P6 --> D6 + P7 --> P8 + End --> P9[/DCC-RSP +(arrive)/] + P9 --> P10[Start T12] + P10 --> EndState(CM DCC-ACK pending) + +``` + +J.122\_F11-63 + +① The state "Obtain Upstream Parameters" links to the state machine in Figure 11-1. + +Flowchart for dynamically changing channels: CM view, part 2. The process starts at DCC CM A and proceeds through a series of decision diamonds and process blocks to reach CM DCC-ACK pending. The flowchart includes checks for downstream changes, MAC re-initialization, UCD storage, SYNC acquisition, MAP cache, and ranging. It ends with a response handling loop. + +**Figure 11-63 – Dynamically changing channels: CM view, part 2** + +![Flowchart for dynamically changing channels - CM view, part 3. It shows five parallel processes: CM DCC Downstream Change, CM DCC Acquire UCD, CM DCC Acquire SYNC, CM DCC Acquire MAP, and CM DCC Ranging. Each process has a decision point leading to either a return to the main diagram or a CM DCC Failed state. Callouts 1 and 2 provide additional details for the UCD and Ranging steps respectively.](ad9b0c8d0d3fc421b0dbc2ecc61376f4_img.jpg) + +``` + +graph TD + subgraph Path1 [CM DCC Downstream Change] + P1_1([CM DCC Downstream Change]) --> P1_2[Change tuner, attempt downstream lock (using hints provided by CMTS in DCC-REQ, if any)] + P1_2 --> P1_3{Successful lock?} + P1_3 -- No --> P1_4([CM DCC Failed]) + P1_3 -- Yes --> P1_5({Return to main diagram}) + end + + subgraph Path2 [CM DCC Acquire UCD] + P2_1([CM DCC Acquire UCD]) --> P2_2[Wait for valid UCD for target upstream channel (for expiry of T1)] + P2_2 --> P2_3{UCD acquired?} + P2_3 -- No --> P2_4([CM DCC Failed]) + P2_3 -- Yes --> P2_5({Return to main diagram}) + end + + subgraph Path3 [CM DCC Acquire SYNC] + P3_1([CM DCC Acquire SYNC]) --> P3_2[Wait for a SYNC message (up to Lost SYNC Interval).] + P3_2 --> P3_3{SYNC acquired?} + P3_3 -- No --> P3_4([CM DCC Failed]) + P3_3 -- Yes --> P3_5({Return to main diagram}) + end + + subgraph Path4 [CM DCC Acquire MAP] + P4_1([CM DCC Acquire MAP]) --> P4_2[Wait for a MAP message.] + P4_2 --> P4_3{MAP acquired?} + P4_3 -- No --> P4_4([CM DCC Failed]) + P4_3 -- Yes --> P4_5({Return to main diagram}) + end + + subgraph Path5 [CM DCC Ranging] + P5_1([CM DCC Ranging]) --> P5_2[Perform ranging as required (initial/station).] + P5_2 --> P5_3{Ranging Success?} + P5_3 -- No --> P5_4([CM DCC Failed]) + P5_3 -- Yes --> P5_5({Return to main diagram}) + end + + Callout1((1)) -.-> P2_2 + Callout2((2)) -.-> P5_2 + +``` + +① a) If DOCSIS 2.0 is enabled, a valid UCD describes either a type 1, 2 or 3 channel. +b) If DOCSIS 2.0 is NOT enabled, a valid UCD describes a type 1 or type 2 channel. + +② See Figures 11-6 and 11-7 for details. + +J.122\_F11-64 + +Flowchart for dynamically changing channels - CM view, part 3. It shows five parallel processes: CM DCC Downstream Change, CM DCC Acquire UCD, CM DCC Acquire SYNC, CM DCC Acquire MAP, and CM DCC Ranging. Each process has a decision point leading to either a return to the main diagram or a CM DCC Failed state. Callouts 1 and 2 provide additional details for the UCD and Ranging steps respectively. + +**Figure 11-64 – Dynamically changing channels – CM view, part 3** + +![Flowchart for dynamically changing channels - CM view, part 4. The diagram shows two main paths: one for a successful DCC-ACK and one for a DCC failure. The successful path starts at 'CM DCC-ACK pending', branches into 'Timeout T12' and 'DCC-ACK'. 'Timeout T12' leads to 'DCC-RSP retries exhausted?'. If 'No', it goes to 'Increment DCC-RSP (arrive) retry counter' then 'DCC CM B'. If 'Yes', it goes to 'ERROR: DCC-ACK not received'. 'DCC-ACK' leads to 'Parse DCC-ACK' then 'DCC-ACK valid?'. If 'Yes', it goes to 'Stop T12'. Both 'Stop T12' and 'ERROR: DCC-ACK not received' lead to 'CM Operational'. 'DCC-ACK valid?' if 'No', goes to 'ERROR: Bad CMDS DCC-ACK' then back to 'CM DCC-ACK pending'. The failure path starts at 'CM DCC Failed', goes to 'ERROR: DCC failed ', then 'Return to old upstream/downstream.', then 'Reset the MAC', and finally 'Obtain Upstream Parameters'. A note indicates that 'Obtain Upstream Parameters' links to the state machine in Figure 11-1. Reference J.122_F11-65 is also present.](1a1c6e97fdffe8ffed7b997b7e682d3c_img.jpg) + +``` + +graph TD + Start([CM DCC-ACK pending]) --> T12[Timeout T12] + Start --> DCC_ACK[DCC-ACK] + T12 --> Retries{DCC-RSP retries exhausted?} + Retries -- No --> Increment[Increment DCC-RSP (arrive) retry counter] + Increment --> CM_B((DCC CM B)) + Retries -- Yes --> ErrorNotReceived[ERROR: DCC-ACK not received] + DCC_ACK --> Parse[Parse DCC-ACK] + Parse --> Valid{DCC-ACK valid?} + Valid -- Yes --> StopT12[Stop T12] + Valid -- No --> ErrorBadACK[ERROR: Bad CMDS DCC-ACK] + ErrorBadACK --> Start + StopT12 --> CM_Op[CM Operational] + ErrorNotReceived --> CM_Op + + CM_Failed([CM DCC Failed]) --> ErrorFailed[ERROR: DCC failed ] + ErrorFailed --> ReturnOld[Return to old upstream/downstream.] + ReturnOld --> ResetMAC[Reset the MAC] + ResetMAC --> Upstream[Obtain Upstream Parameters] + +``` + +The state "Obtain Upstream Parameters" links to the state machine in Figure 11-1. J.122\_F11-65 + +Flowchart for dynamically changing channels - CM view, part 4. The diagram shows two main paths: one for a successful DCC-ACK and one for a DCC failure. The successful path starts at 'CM DCC-ACK pending', branches into 'Timeout T12' and 'DCC-ACK'. 'Timeout T12' leads to 'DCC-RSP retries exhausted?'. If 'No', it goes to 'Increment DCC-RSP (arrive) retry counter' then 'DCC CM B'. If 'Yes', it goes to 'ERROR: DCC-ACK not received'. 'DCC-ACK' leads to 'Parse DCC-ACK' then 'DCC-ACK valid?'. If 'Yes', it goes to 'Stop T12'. Both 'Stop T12' and 'ERROR: DCC-ACK not received' lead to 'CM Operational'. 'DCC-ACK valid?' if 'No', goes to 'ERROR: Bad CMDS DCC-ACK' then back to 'CM DCC-ACK pending'. The failure path starts at 'CM DCC Failed', goes to 'ERROR: DCC failed ', then 'Return to old upstream/downstream.', then 'Reset the MAC', and finally 'Obtain Upstream Parameters'. A note indicates that 'Obtain Upstream Parameters' links to the state machine in Figure 11-1. Reference J.122\_F11-65 is also present. + +Figure 11-65 – Dynamically changing channels – CM view, part 4 + +#### 11.4.5.4 DCC performance + +The purpose of a DCC is to move the CM to a new upstream and/or downstream channel with little interruption of service. There are many factors that affect the performance of a DCC transaction including CM housecleaning, initialization technique and the number of TLV hints given by the current CMDS in the DCC-REQ message. Each of these factors is individually discussed in Table 11-1. + +**Table 11-1 – Factors affecting DCC performance** + +| TLV type | Value | Explanation | +|--------------------------|------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Initialization technique | Absent or 0 re-initialize MAC | There are no performance requirements in this case. The CM will arrive on the destination CMTS after initialization occurs. | +| | 1 – Broadcast initial ranging | There are low performance expectations in this case because many factors affect the performance, such as collisions and ranging backoff. The CM should arrive on the destination CMTS as quickly as possible. | +| | 2 – Unicast initial ranging | The DCC transaction SHOULD complete within 1.5 seconds after the start of jump. | +| | 3 – Broadcast or unicast initial ranging | The CMTS does not know which ranging technique the CM will utilize. The CM should arrive on the destination CMTS as quickly as possible. | +| | 4 – Use channel directly | The DCC transaction SHOULD complete within one second after the start of jump. | +| DS parameter | | The CMTS SHOULD include the downstream parameter TLVs for station maintenance and use directly initialization techniques that are expected to occur quickly. | +| UCD substitution | | The CMTS MUST set the UCD substitution TLV according to clause 11.4.5.1.2. | +| SYNC substitution | | The CMTS MUST set the SYNC substitution TLV according to clause 11.4.5.1.2. | +| CM jump time | | The length of jump TLV SHOULD be less than one second for downstream channel changes that include the downstream parameter TLVs or for upstream-only channel changes. | + +The DCC transaction is defined from the perspective of both the CM and the CMTS for the discussion on performance in Table 11-1. From the perspective of the CM, the DCC transaction begins when the CM receives the DCC-REQ message from the CMTS and completes when the CM receives the DCC-ACK message from the CMTS. From the perspective of the CMTS, the DCC transaction begins when the CMTS sends the DCC-REQ message to the CM and completes when the CMTS receives the DCC-RSP (arrive) message from the CM. + +When the DCC-REQ does not contain UCD substitution TLVs and/or specifies an initialization technique of initial maintenance, station maintenance or use directly, the destination CMTS SHOULD increase the probability that the CM will arrive quickly by using the CM jump time TLVs specified in the DCC-RSP (depart) to adjust the transmission of UCDs and ranging opportunities such that they coincide with the time when CM has estimated that it will arrive, and SHOULD increase the frequency of UCDs and/or ranging opportunities during this period. + +#### 11.4.5.5 Example operation + +##### 11.4.5.5.1 Example signalling + +Figure 11-66 shows an example of the use of DCC and its relation to the other DOCS MAC messages. In particular, this example describes a scenario where the CM attempts to allocate new resources with a DSA message. The CMTS temporarily rejects the request, tells the CM to change channels, and then the CM re-requests the resources. This example (not including all exception conditions) is described below. Refer to clause 11.2 for more detail. + +- An event occurs, such as the CM issuing a DSA-REQ message. + +- b) The CMTS decides that it needs the CM to change channels in order to service this resource request. The CMTS responds with a DSA-RSP message which includes a confirmation code of "reject-temporary-DCC" (refer to clause C.1.3.1) in the DSC-RSP message to indicate that the new resources are not available until a DCC is received. The CMTS now rejects any further DSA or DSC messages until the DCC command is executed. +- c) The CMTS initiates QoS reservations on the new upstream and/or downstream channels. The QoS reservations include the new resource assignment along with all the current resource assignments assigned to the CM. In this example, both the upstream and downstream channels are changed. +- d) To facilitate a near-seamless channel change, since the CMTS is not sure exactly when the CM will switch channels, the CMTS duplicates the downstream packet flow on the old and new downstream channels. +- e) The CMTS issues a DCC-REQ command to the CM. +- f) The CM cleans up its queues and state machines as appropriate, sends a DCC-RSP (depart), and changes channels. +- g) If there was a downstream channel change, the CM synchronizes to the QAM symbol timing, synchronizes the FEC framing, and synchronizes with the MPEG framing. +- h) If the CM has been instructed to re-initialize, it does so with the new upstream and/or downstream channel assignment. The CM exits from the flow of events described here, and enters the flow of events described in clause 11.2, starting with the recognition of a downstream SYNC message. +- i) The CM searches for a UCD message unless it has been supplied with a copy. +- j) The CM waits for a downstream SYNC message unless it has been instructed not to wait for one. +- k) The CM collects MAP messages unless it already has them available in its cache. +- l) The CM performs ranging if required by the initialization technique TLV. +- m) The CM resumes normal data transmission with its new resource assignment. +- n) The CM sends a DCC-RSP (arrive) message to the CMTS. +- o) The CMTS responds with a DCC-ACK. +- p) The CMTS removes the QoS reservations from the old channels. If the downstream packet flow was duplicated, the packet duplication would also be removed on the old downstream channel. +- q) The CM re-issues its DSA-REQ command. +- r) The CMTS reserves the requested resources and responds with a DSA-RSP. +- s) The CM finishes with a DSA-ACK. + +![Sequence diagram illustrating the DCC example operational flow between DS #1, US #1, CM, US #2, and DS #2 within a CMTS. The diagram shows the exchange of data traffic, control messages (DSA-REQ, DSA-RSP, DSA-ACK, DCC-REQ, DCC-RSP, DCC-ACK), and various state transitions (Start T14, Start T11, T13, CM changes channels, Sync of QAM, FEC, MPEG, Optional re-initialize and exit from flow, Optional re-range, Release resources and stop traffic duplication).](d90f09fa97733a2cf12bb1ecaf8ddba8_img.jpg) + +The diagram illustrates the DCC example operational flow within a CMTS, involving five entities: DS #1, US #1, CM, US #2, and DS #2. The sequence of operations is as follows: + +- Data traffic** flows from DS #1 to CM and from CM to US #1. +- DSA-REQ** is sent from US #1 to CM. +- DSA-RSP** is sent from CM to US #1. +- DSA-ACK** is sent from US #1 to CM. +- Reserve resources and duplicate downstream traffic** occurs at US #2. +- Data traffic** flows from DS #1 to CM and from CM to US #1. +- Start T14** is initiated at CM. +- Data traffic** flows from CM to US #2 and from US #2 to DS #2. +- Data traffic** flows from DS #1 to CM and from CM to US #1. +- DCC-REQ** is sent from US #1 to CM. +- Start T11, T13** is initiated at US #1. +- DCC-RSP** is sent from CM to US #1. +- CM changes channels** occurs at CM. +- Sync of QAM, FEC, MPEG** is sent from CM to DS #2. +- Optional re-initialize and exit from flow** occurs at CM. +- UCD (optional)**, **SYNC (optional)**, and **MAP (optional)** messages are sent from CM to DS #2. +- Optional re-range** occurs at CM. +- Data traffic** flows from DS #1 to CM and from CM to US #2. +- DCC-RSP** is sent from CM to US #2. +- Start T12** is initiated at CM. +- DCC-ACK** is sent from US #2 to CM. +- Release resources and stop traffic duplication** occurs at US #1. +- DSA-REQ** is sent from US #2 to CM. +- DSA-RSP** is sent from CM to US #2. +- DSA-ACK** is sent from US #2 to CM. + +Sequence diagram illustrating the DCC example operational flow between DS #1, US #1, CM, US #2, and DS #2 within a CMTS. The diagram shows the exchange of data traffic, control messages (DSA-REQ, DSA-RSP, DSA-ACK, DCC-REQ, DCC-RSP, DCC-ACK), and various state transitions (Start T14, Start T11, T13, CM changes channels, Sync of QAM, FEC, MPEG, Optional re-initialize and exit from flow, Optional re-range, Release resources and stop traffic duplication). + +J.122\_F11-66 + +Figure 11-66 – DCC example operational flow + +The states for the old and new CMTSs are shown as separate flow diagrams, since the old and new CMTS may be different. If the CMTSs are the same (e.g., the same MAC domain), the CMTS will need to run both sets of state machines concurrently. + +The flow diagrams show points where explicit signalling between the old and new CMTS is desirable, especially for near-seamless operation. The mechanism for this signalling is beyond the scope of this Recommendation. + +Note that the flow diagrams for both old and new CMTSs have been carefully crafted to handle many error conditions, such as: + +- If the CM does not respond to the DCC-REQ (or responds with a reject conf code) and does not move, then it will be allowed to remain on the old channel. Resources on the new channel will be released (old CMTS signals DCC aborted to the new CMTS). +- If the CM DCC-RSP (depart) is lost, but the CM moves and arrives on the new CMTS, the new CMTS will signal that the CM has arrived to the old CMTS, allowing it to remove resources. +- If the CM DCC-RSP (depart) is received and the CM DCC-RSP (arrive) is lost, but the new CMTS otherwise detects the presence of the CM, the DCC transaction is considered successful, and the CM is allowed to remain on the new channel. +- If the CM DCC-RSP (depart) and (arrive) are lost, but the new CMTS otherwise detects the presence of the CM, the new CMTS will signal that the CM has arrived to the old CMTS, allowing it to remove resources, and the CM is allowed to remain on the new channel. +- If the CM DCC-RSP (depart) is received, but the CM never arrives, the new CMTS will detect this and remove resources after T15 expires. +- If the CM DCC-RSP (depart) is lost and the CM never arrives, the old CMTS will signal DCC aborted to the new CMTS, allowing it to remove resources. The old CMTS will use a different mechanism outside the scope of the DCC flow diagrams (such as ranging time-out) to remove resources on the old channels. +- If the CMTS DCC-ACK is lost and the DCC-RSP retry counter is expired, the CM will log an error and continue to the operational state. + +There is a race condition that is not addressed in the flow diagrams; if the CM DCC-RSP (depart) is lost, the old CMTS will signal DCC aborted to the new CMTS. If the CM is in the process of moving, but has not yet arrived, the new CMTS will remove resources. This will prevent the CM from arriving successfully, unless it is able to complete the jump and arrive in approximately 1.2 seconds (3 retries of the DCC-REQ). + +#### 11.4.5.5.2 Example timing + +##### 11.4.5.5.2.1 Upstream and downstream change (use channel directly: CMTS supplies all TLV hints) + +In this example, the current CMTS sends a DCC-REQ message requesting that the CM switch both upstream and downstream channels. The DCC-REQ message includes the UCD substitution TLV, the SYNC substitution TLV, the downstream parameter TLVs, and the initialization technique TLV of 4 (use channel directly). The CM does not include the CM jump time TLV in the DCC-RSP. + +The destination CMTS has the following local parameters: + +- UCD interval: 1 s; +- SYNC interval: 10 ms; +- unicast ranging interval: 1 s. + +The destination CMTS calculates the T15 timer value. The definition of the formula used to determine T15 is shown below. The variables used in calculating T15 are explained in the table below. + +$$\begin{aligned} T15 &= CmJumpTime + CmtsRxRngReq \\ T15 &= 1.3 \text{ s} + (2.04 \text{ s}) = 3.34 \text{ s} \end{aligned}$$ + +Since 3.34 s is less than the minimum value of the T15 timer, the CMTS sets the T15 timer to the minimum value for 4 seconds. + +| Variable | Value | Explanation | +|--------------|------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| CmJumpTime | 1.3 s | Since the CM did not include the optional jump time TLV, the CMTS will use the default value of 1.3 seconds. | +| CmtsRxRngReq | 2.02 s
$2 \times (1 \text{ sec}) + 40 \text{ ms}$ | Two times the CMTS time period between unicast ranging opportunities plus 20-40 milliseconds for MAP and RNG-REQ transmission time and CMTS RNG-REQ processing time. | + +The CM synchronizes to the downstream parameters on the new channel, applies the UCD supplied in the DCC-REQ, collects MAP messages on the new channel, and resumes normal data transmission on the destination channels. This occurs within the recommended performance of 1 second. + +#### 11.4.5.5.2.2 Upstream and downstream change (station maintenance: CMTS supplies no TLV hints) + +In this example, the current CMTS sends a DCC-REQ message requesting that the CM switch both upstream and downstream channels. The DCC-REQ message includes the initialization technique TLV of 2 (perform station maintenance). It also includes the required UCD substitution TLV and SYNC substitution sub-TLV. The CM does not include the CM jump time TLV in the DCC-RSP. + +The destination CMTS has the following local parameters: + +- UCD interval: 1 s; +- SYNC interval: 10 ms; +- unicast ranging interval: 5 s. + +The destination CMTS starts scheduling the CM immediately after it sends the DCC-REQ. The destination CMTS calculates the T15 timer value. The definition of the formula used to determine T15 is shown below. The variables used in calculating T15 are explained in the table below. + +$$\begin{aligned} T15 &= CmJumpTime + CmtsRxRngReq \\ T15 &= 1.3 \text{ s} + (10.04 \text{ s}) = 11.34 \text{ s} \end{aligned}$$ + +| Variable | Value | Explanation | +|--------------|-----------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| CmJumpTime | 1.3 s | Since the CM did not include the optional jump time TLV, the CMTS will use the default value of 1.3 seconds. | +| CmtsRxRngReq | 10.04 s
$2 \times (5 \text{ s}) + 40 \text{ ms}$ | Two times the CMTS time period between unicast ranging opportunities plus 20-40 milliseconds for MAP and RNG-REQ transmission time and CMTS RNG-REQ processing time. | + +The CM should synchronize to the downstream parameters on the new channel, apply the UCD message provided, collect MAP messages on the destination channel without waiting for a downstream SYNC on the destination channel, perform station maintenance on the destination channel, and resume normal data transmission on the destination channels. + +These events occur in less than two seconds; this is within the acceptable performance criteria. The DCC transaction occurs within the recommended four second sum of CM jump time and two ranging intervals ( $0 + 2 \text{ s} = 2 \text{ s}$ ). + +#### **11.4.5.6 Autonomous load balancing** + +The CMTS MUST be capable of autonomous load balancing of CMs across all of its upstream and downstream channels using the DCC-REQ message, plant configuration permitting. + +Load balancing is manageable on a per-CM basis. The CMTS assigns each CM: + +- to a set of channels (a load balancing group) among which it can be moved by the CMTS; +- a policy that governs if and when the CM can be moved; +- a priority value that can be used by the CMTS in order to select CMs to move. + +##### **11.4.5.6.1 Load balancing groups** + +A load balancing group is a cluster of downstream and associated upstream physical channels among which modems can be autonomously load balanced. The operator must define load balancing groups to be consistent with the physical plant topology. Load balancing groups can be defined in order to cater for a specific class of service (e.g., residential or business). + +There are two types of load balancing groups, general load balancing groups and restricted load balancing groups. A restricted load balancing group is associated with a specific, provisioned set of cable modems, while general load balancing groups are open for CMs that are not provisioned into a restricted load balancing group. General load balancing groups can only be used when the plant topology allows the location of CMs to be unambiguously determined by the upstream channel on which they have registered. Restricted load balancing groups are used to accommodate a topology-specific or provisioning-specific restriction (such as a set of channels reserved for business customers). A restricted load balancing group could be a subset of one or more general load balancing groups. + +The CMTS MUST NOT associate an upstream channel with more than one general load balancing group. The CMTS can associate an upstream channel with any number of restricted load balancing groups (and potentially a single general load balancing group as well). The CMTS can associate a downstream channel with any number of load balancing groups, general and/or restricted. + +The CMTS assigns modems to general load balancing groups based on the upstream channel on which they are operating. The CMTS will assign a modem to a restricted load balancing group only if it is explicitly provisioned (via SNMP or configuration file TLV) to be a member of that group. The CMTS MUST NOT assign a CM to more than one load balancing group. + +When the CMTS receives a REG-REQ message, the CMTS MUST identify whether this CM has been assigned to a restricted load balancing group via SNMP (see [DOCS5]). If the CM is not assigned to a restricted load balancing group via SNMP, the CMTS MUST check for the presence of the CM load balancing group TLV in the REG-REQ message to identify assignment to a restricted load balancing group. If the CM is assigned to a restricted load balancing group via SNMP, the CMTS MUST ignore the CM load balancing group TLV in the REG-REQ message. If the REG-REQ contains a general load balancing group ID or a group ID that is not defined on the CMTS, the CMTS MUST ignore the group ID. + +If the CM has been assigned to a restricted load balancing group (either via SNMP or via the config file), and the CMTS detects that the CM is registering on a channel pair that is not associated with the assigned load balancing group, when registration completes, the CMTS MUST initiate a DCC-REQ to move the CM to the appropriate channel(s) in the assigned group. If the CM has not been assigned to a restricted load balancing group via SNMP or the config file, the CMTS MUST assign it to the general load balancing group that corresponds to the upstream channel on which it + +registered. If the upstream channel is not associated with a general load balancing group, the CMTS MUST NOT assign the CM to any load balancing group. + +As part of autonomous load balancing operations, the CMTS MUST adhere to the following restrictions: + +- The CMTS MUST NOT direct a CM to move to a channel outside the load balancing group to which it is assigned. +- If a CM is not assigned to a load balancing group, the CMTS MUST NOT move the CM. +- The CMTS MUST NOT move a DOCSIS 1.0 – or DOCSIS 1.1 – compliant CM, or a DOCSIS 2.0 – compliant CM that has 2.0 mode disabled, to a type 3 upstream channel. + +If, during normal operation, the CMTS is directed (via SNMP or otherwise) to move a CM to a channel that is outside the load balancing group to which it is assigned, the CMTS MUST assign the CM to the appropriate general load balancing group based on the new upstream channel, or to no load balancing group if the new upstream channel is not associated with a general load balancing group. Note that a CM provisioned into a restricted load balancing group will (unless the provisioning is changed) be returned to its provisioned group by the CMTS upon a re-initialize MAC operation. Thus, a manual DCC operation that moves a CM outside of its restricted load balancing group will generally be only a temporary move, until the CM re-initializes. Further, specifying initialization technique zero in the DCC request would result in the CM being returned immediately to its provisioned group. + +#### **11.4.5.6.2 Initialization techniques** + +The description of a load balancing group includes the initialization technique(s) that could be used when autonomously load balancing a cable modem within the group. The initialization technique definition for each load balancing group is represented in the form of a bit map, with each bit representing a specific technique (bits 0-4). + +The CMTS MUST support, via SNMP, the override of this initialization technique for channel changes between specific pairs of logical upstream channels. If an override is present for a particular pair of channels, the CMTS MUST use the initialization technique for the channel pair. Otherwise, the CMTS MUST use the default initialization technique definition for the load balancing group. + +#### **11.4.5.6.3 Load balancing policies** + +Load balancing policies allow control over the behaviour of the autonomous load balancing process on a per-CM basis. A load balancing policy is described by a set of conditions (rules) that govern the autonomous load balancing process for the CM. When a load balancing policy is defined by multiple rules, all of the rules apply in combination. + +Load balancing rules and the load balancing policy definition mechanism have been created to allow for specific vendor-defined load balancing actions. However, there are two basic rules that the CMTS is required to support. + +The CMTS MUST support the following basic rules: + +- Prohibit load balancing using a particular CM. +- Prohibit load balancing using a particular CM during certain times of the day. + +The policy ID value of zero is reserved to indicate the CMTS's basic load balancing mechanism, which does not need to be defined by a set of rules. + +Each load balancing group has a default load balancing policy. During the registration process, the CMTS MUST assign the CM a load balancing policy ID. The policy ID may be assigned to a cable modem via the cable modem config file. The CMTS MUST assign the CM the load balancing + +policy ID provisioned in the config file and sent in the REG-REQ, if it exists. Otherwise, the CMTS MUST assign the CM the default policy ID defined for the load balancing group. + +The per-CM load balancing policy ID assignment can be modified at any time while the CM is in the operational state via SNMP or internal CMTS processes, however the policy ID is always overwritten upon receipt of a REG-REQ message. + +#### **11.4.5.6.4 Load balancing priorities** + +A load balancing priority is an index that defines a rank or level of importance, which is used to apply differential treatment between CMs in the CMTS's load balancing decision process. + +In general, a lower load balancing priority indicates a higher likelihood that a CM will be moved due to load balancing operations. The CMTS MAY take many factors into account when selecting a CM to move, of which priority is only one. When other factors are equal, the CMTS SHOULD preferentially move a CM with lower load balancing priority over one with higher load balancing priority. + +The CMTS MUST associate each cable modem with a load balancing priority. Priority may be assigned to a cable modem via the cable modem config file. The CMTS MUST assign the CM the load balancing priority provisioned in the config file and sent in the REG-REQ, if it exists. If a cable modem has not been assigned a priority, the cable modem is associated with the default (lowest) load balancing priority value of zero. + +The per-CM load balancing priority assignment can be modified at any time while the CM is in the operational state via SNMP or internal CMTS processes as dictated by a specific load balancing policy; however, the priority assignment is always overwritten upon receipt of a REG-REQ message. + +#### **11.4.5.6.5 Load balancing and multicast** + +The IGMP protocol requires hosts to suppress IGMP messages that are not necessary for the router to maintain multicast group membership state. Clause 5.3.1 extends these IGMP requirements to the DOCSIS access network by requiring CMs to suppress messages that are deemed to be superfluous for the CMTS. As a result, the CMTS is not guaranteed to be aware of multicast group membership on a per-CM basis. For an active multicast group, there could be any number of CMs that have group members and that are actively forwarding multicast traffic, but that have not sent a membership report to the CMTS. This lack of CMTS awareness can create a situation in which load balancing and multicast conflict. + +In order to efficiently manage multicast traffic and balance load across a load balancing group, it is reasonable to expect that the CMTS might attempt to reduce the amount of duplicated multicast traffic by consolidating all members for a specific multicast group to a single downstream channel in the load balancing group. More generally, a load balancing algorithm will perform more effectively if it takes into account both the unicast and multicast traffic load for each CM when making decisions on where and when to move CMs. This is made difficult when the CMTS is unaware of which CMs have multicast group members and which do not. + +If a CM with active multicast sessions is moved from its current downstream to a new downstream that is not carrying the multicast traffic, the session will be interrupted until the CM or CPE sends a membership report. In order to reduce the interruption of multicast service, CMs that implement active IGMP mode (see clause 5.3.1) SHOULD send a membership report for all active multicast groups upon completion of a DCC operation that involves a downstream channel change. + +The multicast issues are alleviated to some degree when BPI+ is enabled, and are alleviated further when multicast traffic is encrypted using dynamic security associations (see [DOCS8]). + +When BPI+ is enabled, a CM will, upon receiving an IGMP "join" message on its CPE interface, send a SA map request message to the CMTS. Since this message is only sent at the moment + +multicast group membership begins, it does not provide any indication of ongoing membership. Because multicast group membership can be transient, the past receipt of a map request for a particular multicast group, although necessary, is not a sufficient condition to alert the CMTS that the CM currently has members for that multicast group. The absence of a map request is sufficient evidence that the CM does not have members for the multicast group. + +If the multicast traffic for a particular multicast group is encrypted using a dynamic security association, the CMTS can monitor the reception of TEK key requests and gain knowledge of multicast group membership. Since it is optional functionality for a CM to stop the TEK state machine (and discontinue sending key requests) when there are no longer members for multicast groups mapped to a particular security association, the continued receipt of key requests by the CMTS does not necessarily indicate continued multicast group membership. The lack of continuing key requests, however, does indicate lack of members. + +#### 11.4.5.6.6 Examples demonstrating autonomous load balancing + +Figure 11-67 shows an example combining network which illustrates the definition of general load balancing groups and the use of restricted load balancing groups to resolve topological ambiguities. + +![Figure 11-67 – Example combining network 1. The diagram shows a CMTS on the left connected to four fibre nodes on the right. The CMTS contains a Downstream (DS) channel and six Upstream (US) channels (US0-US5). The DS channel is connected to a 4-way splitter (4w) which feeds all four fibre nodes. The US channels are connected to 2-way splitters (2w) which then connect to the fibre nodes. US0 connects to fibre node 1. US1 and US2 connect to fibre node 2. US3 and US4 connect to fibre node 3. US4 and US5 connect to fibre node 4. Each fibre node contains a High (H) and Low (L) band splitter. The diagram is labeled J.122(09)_F11-67.](2ffdb0621c4918479cd1ac7a531b1b92_img.jpg) + +Figure 11-67 – Example combining network 1. The diagram shows a CMTS on the left connected to four fibre nodes on the right. The CMTS contains a Downstream (DS) channel and six Upstream (US) channels (US0-US5). The DS channel is connected to a 4-way splitter (4w) which feeds all four fibre nodes. The US channels are connected to 2-way splitters (2w) which then connect to the fibre nodes. US0 connects to fibre node 1. US1 and US2 connect to fibre node 2. US3 and US4 connect to fibre node 3. US4 and US5 connect to fibre node 4. Each fibre node contains a High (H) and Low (L) band splitter. The diagram is labeled J.122(09)\_F11-67. + +**Figure 11-67 – Example combining network 1** + +In this example, there are six upstream channels (US0-US5) that are members of a single MAC domain. All six upstream channels are associated with a single downstream channel (DS). The downstream is split over all four fibre nodes, while the six upstreams return from the four nodes via the combining network shown, such that each upstream channel is not physically connected to each fibre node. In particular, fibre node 1 connects to US0 only, fibre node 2 connects to both US1 and US2, fibre node 3 connects to both US3 and US4, and fibre node 4 connects to both US4 and US5. + +In this situation, the load balancing groups could be defined as follows: + +Load balancing group 1: + +| | | +|----------------------|---------| +| Group ID: | 1 | +| Type: | General | +| Downstream channels: | DS | + +Upstream channels: US1, US2 + +Load balancing group 2: + +Group ID: 2 + +Type: Restricted + +Downstream channels: DS + +Upstream channels: US3, US4 + +Load balancing group 3: + +Group ID: 3 + +Type: Restricted + +Downstream channels: DS + +Upstream channels: US4, US5 + +Note that a REG-REQ on either upstream channel US1 or US2 uniquely identifies the load balancing group to which a CM can be assigned, hence those two channels form the general load balancing group 1. Upstream channels US3-US5 have a more complex topology, since US4 is shared across two fibre nodes. To resolve the topological ambiguities that would arise by a REG-REQ received on US4, two restricted load balancing groups have been defined (Group IDs 2 and 3). In order to be load balanced, each CM that is attached to fibre node 3 would need to be provisioned to be a member of restricted load balancing group 2, while each CM attached to fibre node 4 would need to be provisioned into restricted load balancing group 3. If a CM were to register on one of these channels without having been provisioned into the appropriate restricted load balancing group, the CMTS would not associate the CM with any load balancing group (which results in the CM not being load balanced). + +Also, note that US0 is not a member of any load balancing group. CMs that register on that upstream channel will not be load balanced to another channel. + +Figure 11-68 shows a second example, in which two MAC domains are shared across two fibre nodes in a complex combining network. In this example, a pair of upstream channels (one from each MAC domain) are set aside for a particular customer group (e.g., business customers), a restricted load balancing group is formed to allow load balancing for those customers. + +![Diagram of an example combining network (Figure 11-68). On the left, a CMTS is shown with various channels: DS0, US00, US01, US02, US03, US13, US12, US11, US10, and DS1. These channels are connected to a series of optical components. US00 and US01 are connected to a 2-way splitter. US02 and US03 are connected to a 4-way splitter. US13 and US12 are connected to another 2-way splitter. US11 and US10 are connected to another 4-way splitter. The outputs of these splitters are connected to two fibre nodes, labeled 1 and 2. Each fibre node contains a high-power amplifier (H) and a low-power amplifier (L). The diagram also shows various optical components like isolators and couplers. A label 'J.122(09)_F11-68' is present in the bottom right corner of the diagram area.](bdef4f97fd2f24c6f723acd5d1cbd17c_img.jpg) + +Diagram of an example combining network (Figure 11-68). On the left, a CMTS is shown with various channels: DS0, US00, US01, US02, US03, US13, US12, US11, US10, and DS1. These channels are connected to a series of optical components. US00 and US01 are connected to a 2-way splitter. US02 and US03 are connected to a 4-way splitter. US13 and US12 are connected to another 2-way splitter. US11 and US10 are connected to another 4-way splitter. The outputs of these splitters are connected to two fibre nodes, labeled 1 and 2. Each fibre node contains a high-power amplifier (H) and a low-power amplifier (L). The diagram also shows various optical components like isolators and couplers. A label 'J.122(09)\_F11-68' is present in the bottom right corner of the diagram area. + +Figure 11-68 – Example combining network 2 + +Load balancing group 1: + +Group ID: 1 + Type: General + Downstream channels: DS0, DS1 + Upstream channels: US00, US01, US12 + Subgroup: DS0, US00, US01 + +Load balancing group 2: + +Group ID: 2 + Type: General + Downstream channels: DS0, DS1 + Upstream channels: US10, US11, US02 + Subgroup: DS1, US10, US11 + +Load balancing group 3: + +Group ID: 3 + Type: Restricted + Downstream channels: DS0, DS1 + Upstream channels: US03, US13 + +## 11.5 Fault detection and recovery + +Fault detection and recovery occurs at multiple levels. + +- At the physical level, FEC is used to correct errors where possible – refer to clause 6 for details. +- The MAC protocol protects against errors through the use of checksum fields across both the MAC header and the data portions of the packet – refer to clause 8 for details. +- All MAC management messages are protected with a CRC covering the entire message, as defined in clause 8. Any message with a bad CRC MUST be discarded by the receiver. + +Table 11-2 shows the recovery process that MUST be taken following the loss of a specific type of MAC message. + +**Table 11-2 – Recovery process on loss of specific MAC messages** + +| Message name | Action following message loss | +|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| SYNC | The CM can lose SYNC messages for a period of the lost SYNC interval (see Annex B) before it has lost synchronization with the network. A CM that has lost synchronization MUST NOT use the upstream and MUST try to re-establish synchronization. | +| UCD | During CM initialization, the CM MUST receive a usable UCD a) before transmitting on the upstream. When in the "obtain upstream parameters" state of CM initialization process, if the CM does not receive a usable UCD within the T1 time-out period, the CM MUST NOT transmit on the upstream and MUST scan for another downstream channel. After receiving a usable UCD, whenever the CM receives an unusable UCD or a MAP with a UCD count that does not match the configuration change count of the last UCD received, the CM MUST NOT transmit on the upstream and MUST start the T1 timer. If the T1 timer expires under these circumstances, the CM MUST reset and re-initialize its MAC connection. | +| MAP | A CM MUST NOT transmit without a valid upstream bandwidth allocation. If a MAP | + +**Table 11-2 – Recovery process on loss of specific MAC messages** + +| Message name | Action following message loss | +|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| | is missed due to error, the CM MUST NOT transmit for the period covered by the MAP. | +| RNG-REQ
RNG-RSP | If a CM fails to receive a valid ranging response within a defined time-out period after transmitting a request, the request MUST be retried a number of times (as defined in Annex B). Failure to receive a valid ranging response after the requisite number of attempts MUST cause the modem to reset and reinitialize its MAC connection. | +| REG-REQ
REG-RSP | If a CM fails to receive a valid registration response within a defined time-out period after transmitting a request, the request will be retried a number of times (as defined in Annex B). Failure to receive a valid registration response after the requisite number of attempts will cause the modem to reset and reinitialize its MAC connection. | +| UCC-REQ
UCC-RSP | If a CMTS fails to receive a valid upstream channel change response within a defined time-out period after transmitting a request, the request MUST be retried a number of times (as defined in Annex B). Failure to receive a valid response after the requisite number of attempts MUST cause the CMTS to consider the CM as unreachable. | +| a) | A usable UCD is one that contains legal profiles that the modem can understand. The CM MAY also require that the UCD count of the MAPs received match the configuration change count field of the last received UCD before it considers the UCD as usable. | + +Annex D of [DOCS5] contains a list of error codes with more useful information as to the failure of the PHY and MAC layers. Refer to clause 8.2.8 for additional information. + +Messages at the network layer and above are considered to be data packets by the MAC sublayer. These are protected by the CRC field of the data packet and any packets with bad CRCs are discarded. Recovery from these lost packets is in accordance with the upper layer protocol. + +#### 11.5.1 Prevention of unauthorized transmissions + +A CM SHOULD include a means for terminating RF transmission if it detects that its own carrier has been on continuously for longer than the longest possible valid transmission. + +### 12 Supporting future new cable modem capabilities + +#### 12.1 Downloading cable modem operating software + +A CMTS SHOULD be capable of being remotely reprogrammed in the field via a software download over the network. + +The cable modem MUST be capable of being remotely reprogrammed in the field via a software download over the network. This software download capability MUST allow the functionality of the cable modem to be changed without requiring that cable system personnel physically revisit and reconfigure each unit. It is expected that this field programmability will be used to upgrade cable modem software to improve performance, accommodate new functions and features (such as enhanced class-of-service support), correct any design deficiencies discovered in the software, and to allow a migration path as the data-over-cable interface Recommendation evolves. + +The mechanism used for download MUST be TFTP file transfer. The mechanism by which transfers are secured and authenticated is in [DOCS8]. The transfer MUST be initiated in one of two ways: + +- An SNMP manager requests the CM to upgrade. + +- If the software upgrade file name in the CM's configuration file does not match the current software image of the CM, the CM MUST request the specified file via TFTP from the software server. + +NOTE – The software server IP address is a separate parameter. If present, the CM MUST attempt to download the specified file from this server. If not present, the CM MUST attempt to download the specified file from the configuration file server. + +The CM MUST verify that the downloaded image is appropriate for itself. If the image is appropriate, the CM MUST write the new software image to non-volatile storage. Once the file transfer is completed successfully, the CM MUST restart itself with the new code image. + +If the CM is unable to complete the file transfer for any reason, it MUST remain capable of accepting new software downloads (without operator or user interaction), even if power or connectivity is interrupted between attempts. The CM MUST log the failure and MAY report it asynchronously to the network manager. + +Following upgrade of the operational software, the CM MAY need to follow one of the procedures described above in order to change channels to use the enhanced functionality. + +If the CM is to continue to operate in the same upstream and downstream channels as before the upgrade, then it MUST be capable of interworking with other CMs that may be running previous software releases. + +Where software has been upgraded to meet a new version of the Recommendation, it is critical that it MUST interwork with the previous version in order to allow a gradual transition of units on the network. + +## Annex A + +### Well-known addresses + +(This annex forms an integral part of this Recommendation) + +#### A.1 MAC addresses + +MAC addresses described here are defined using the Ethernet/ISO/IEC 8802-3 convention as bit-little-endian. + +The following multicast address MUST be used to address the set of all CM MAC sublayers; for example, when transmitting allocation map PDUs: + +01-E0-2F-00-00-01 + +The addresses in the range + +01-E0-2F-00-00-02 through 01-E0-2F-00-00-0F + +are reserved for future definition. Frames addressed to any of these addresses SHOULD NOT be forwarded out of the MAC-sublayer domain. + +#### A.2 MAC service IDs + +The following MAC service IDs have assigned meanings. Those not included in this table are available for assignment, either by the CMTS or administratively. + +##### A.2.1 All CMs and no CM service IDs + +The following service IDs are used in MAPs for special purposes or to indicate that any CM can respond in the corresponding interval. + +0x0000 is addressed to no CM. This address is typically used when changing upstream burst parameters so that CMs have time to adjust their modulators before the new upstream settings take effect. This is also the "initialization SID" used by the CM during initial ranging. + +0x3FFF is addressed to all CMs. It is typically used for broadcast request intervals or initial maintenance intervals. + +##### A.2.2 Well-known multicast service IDs + +The following service IDs are only used for request/data IEs. They indicate that any CM can respond in a given interval, but that the CM must limit the size of its transmission to a particular number of mini-slots (as indicated by the particular multicast SID assigned to the interval). + +0x3FF1-0x3FFE is addressed to all CMs. IDs in this range are available for small data PDUs as well as requests (used only with request/data IEs). The last digit indicates the frame length and transmission opportunities as follows: + +- 0x3FF1: Within the interval specified, a transmission may start at any mini-slot, and must fit within one mini-slot. +- 0x3FF2: Within the interval specified, a transmission may start at every other mini-slot, and must fit within two mini-slots (e.g., a station may start transmission on the first mini-slot within the interval, the third mini-slot, the fifth, etc.). +- 0x3FF3: Within the interval specified, a transmission may start at any third mini-slot, and must fit within three mini-slots (e.g., starts at first, fourth, seventh, etc.). +- 0x3FF4: Starts at first, fifth, ninth, etc. +- 0x3FFD: Starts at first, fourteenth (14th), twenty-seventh (27th), etc. + +- 0x3FFE: Within the interval specified, a transmission may start at any 14th mini-slot, and must fit within 14 mini-slots. + +### **A.2.3 Priority request service IDs** + +The following service IDs (0x3Exx) are reserved for request IEs (refer to clause C.2.2.5.1, "traffic priority"). + +- If 0x01 bit is set, priority zero can request. +- If 0x02 bit is set, priority one can request. +- If 0x04 bit is set, priority two can request. +- If 0x08 bit is set, priority three can request. +- If 0x10 bit is set, priority four can request. +- If 0x20 bit is set, priority five can request. +- If 0x40 bit is set, priority six can request. +- If 0x80 bit is set, priority seven can request. + +Bits can be combined as desired by the CMTS upstream scheduler for any request IUCs. + +### **A.3 MPEG PID** + +All DOCS data MUST be carried in MPEG-2 packets with the header PID field set to 0x1FFE. + +## Annex B + +### Parameters and constants + +(This annex forms an integral part of this Recommendation) + +| System | Name | Time reference | Minimum value | Default value | Maximum value | +|------------|----------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|---------------|----------------------| +| CMTS | Sync interval | Nominal time between transmission of SYNC messages (see clause 8.3.2) | | | 200 ms | +| CMTS | UCD interval | Time between transmission of UCD messages (see clause 8.3.3, "upstream channel descriptor (UCD)") | | | 2 s | +| CMTS | Max MAP pending | The number of mini-slots that a CMTS is allowed to map into the future (see clause 8.3.4) | | | 4096 mini-slot times | +| CMTS | Ranging interval | Time between transmission of broadcast ranging requests (see clause 9.3.3) | | | 2 s | +| CM | Lost sync interval | Time since last received sync message before synchronization is considered lost | | | 600 ms | +| CM | Contention ranging retries | Number of retries on contention ranging requests (see clause 11.2.4) | | 16 | | +| CM
CMTS | Invited ranging retries | Number of retries on inviting ranging requests (see clause 11.2.4) | | 16 | | +| CM | Request retries | Number of retries on bandwidth allocation requests | | 16 | | +| CM
CMTS | Registration request/ response retries | Number of retries on registration requests/responses | | 3 | | +| CM | Data retries | Number of retries on immediate data transmission | | 16 | | +| CMTS | CM MAP processing time | Time provided between arrival of the last bit of a MAP at a CM and effectiveness of that MAP (see clause 9.1.5) | $(200 + M/5.12)$ μs (see clause 6.2.17) | | | +| CMTS | CM ranging response processing time | Minimum time allowed for a CM following receipt of a ranging response before it is expected to reply to an invited ranging request | 1 ms | | | +| CMTS | CM configuration | The maximum time allowed for a CM, following receipt of a configuration file, to send a registration request to a CMTS | 30 s | | | + +| System | Name | Time reference | Minimum value | Default value | Maximum value | +|------------|-------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------|---------------|--------------------------------| +| CM | T1 | Wait for UCD time-out | | | 5 × UCD interval maximum value | +| CM | T2 | Wait for broadcast ranging time-out | | | 5 × ranging interval | +| CM | T3 | Wait for ranging response | 50 ms | 200 ms | 200 ms | +| CM | T4 | Wait for unicast ranging opportunity. If the pending-till-complete field was used earlier by this modem, then the value of that field must be added to this interval | 30 s | | 35 s | +| CMTS | T5 | Wait for upstream channel change response | | | 2 s | +| CM
CMTS | T6 | Wait for REG-RSP and REG-ACK | | | 3 s | +| CM
CMTS | Mini-slot size for 1.x channels | Size of mini-slot for upstream transmission. For channels that support DOCS 1.x CMs | 32 modulation intervals | | | +| CM
CMTS | Mini-slot size for DOCS 2.0 Only Channels | Size of mini-slot for upstream transmission. For channels that do not support DOCS 1.x CMs | 16 symbols | | | +| CM
CMTS | Timebase tick | System timing unit | 6.25 µs | | | +| CM
CMTS | DSx request retries | Number of time-out retries on DSA/DSC/DSD requests | 3 | | | +| CM
CMTS | DSx response retries | Number of timeout retries on DSA/DSC/DSD responses | 3 | | | +| CM
CMTS | T7 | Wait for DSA/DSC/DSD response timeout | | | 1 s | +| CM
CMTS | T8 | Wait for DSA/DSC acknowledge timeout | | | 300 ms | +| CM | TFTP backoff start | Initial value for TFTP backoff | 1 s | | | +| CM | TFTP backoff end | Last value for TFTP backoff | 16 s | | | +| CM | TFTP request retries | Number of retries on TFTP request | 16 | | | +| CM | TFTP download retries | Number of retries on entire TFTP downloads | 3 | | | +| CM | TFTP wait | The wait between TFTP retry sequences | 10 min | | | +| CM | ToD retries | Number of retries per ToD retry period | 3 | | | +| CM | ToD retry period | Time period for ToD retries | 5 min | | | + +| System | Name | Time reference | Minimum value | Default value | Maximum value | +|------------|------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|---------------|---------------| +| CMTS | T9 | Registration timeout, the time allowed between the CMTS sending a RNG-RSP (success) to a CM, and receiving a REG-REQ from that same CM | 15 min | 15 min | | +| CM
CMTS | T10 | Wait for transaction end timeout | | | 3 s | +| CMTS | T11 | Wait for a DCC response on the old channel | | | 300 ms | +| CM | T12 | Wait for a DCC acknowledge | | | 300 ms | +| CMTS | T13 | Maximum holding time for QoS resources for DCC on the old channel | | | 1 s | +| CM | T14 | Minimum time after a DSx reject-temp-DCC and the next retry of DSx command | 2 s | | | +| CMTS | T15 | Maximum holding time for QoS resources for DCC on the new channel | 2 s | | 35 s | +| CM | T16 | Maximum length of time CM remains in test mode after receiving TST-REQ message | | | 30 min | +| CM | T17 | Maximum time that CM MUST inhibit transmissions on a channel in response to its ranging class ID matching a bit value in the ranging hold-off priority field | | | 300 s | +| CMTS | DCC-REQ retries | Number of retries on dynamic channel change request | 3 | | | +| CM | DCC-RSP retries | Number of retries on dynamic channel change response | 3 | | | +| CM | Lost DCI-REQ interval | Time from sending DCI-REQ and not receiving a DCI-RSP | | | 2 s | +| CM | DCI-REQ retry | Number of retries of DCI-REQ before rebooting | | | 16 | +| CM | DCI backoff start | Initial value for DCI backoff | 1 s | | | +| CM | DCI backoff end | Last value for DCI backoff | 16 s | | | +| CMTS | CM UCD processing time | Time between the transmission of the last bit of a UCD with a new change count and the transmission time of the first bit of the first MAP using the new UCD (see clause 11.3.2). | 1 ms | | | + +## Annex C + +### Common radio frequency interface encodings + +(This annex forms an integral part of this Recommendation) + +#### C.1 Encodings for configuration and MAC-layer messaging + +The following type/length/value encodings MUST be used in both the configuration file (see Annex D), in CM registration requests and in dynamic service messages. All multi-octet quantities are in network-byte order, i.e., the octet containing the most-significant bits is the first transmitted on the wire. + +The following configuration settings MUST be supported by all CMs which are compliant with this Recommendation. + +##### C.1.1 Configuration file and registration settings + +These settings are found in the configuration file and, if present, MUST be forwarded by the CM to the CMTS in its registration request. + +###### C.1.1.1 Downstream frequency configuration setting + +The receive frequency to be used by the CM unless a downstream channel list is present. It is an override for the channel selected during scanning. This is the centre frequency of the downstream channel in Hz stored as a 32-bit binary number. + +| Type | Length | Value | +|------|--------|--------------| +| 1 | 4 | Rx frequency | + +Valid range: The receive frequency MUST be a multiple of 62'500 Hz. + +###### C.1.1.2 Upstream channel ID configuration setting + +The Upstream Channel ID that the CM MUST use. The CM MUST listen on the defined downstream channel until an upstream channel description message with this ID is found. It is an override for the channel selected during initialization. + +| Type | Length | Value | +|------|--------|------------| +| 2 | 1 | Channel ID | + +###### C.1.1.3 Network access control object + +If the value field is a 1, CPEs attached to this CM are allowed access to the network, based on CM provisioning. If the value of this field is a 0, the CM MUST NOT forward traffic from attached CPE to the RF MAC network, but MUST continue to accept and generate traffic from the CM itself. The value of this field does not affect CMTS service flow operation and does not affect CMTS data forwarding operation. + +| Type | Length | On/off | +|------|--------|--------| +| 3 | 1 | 1 or 0 | + +The intent of "NACO = 0" is that the CM does not forward traffic from any attached CPE onto the cable network (a CPE is any client device attached to that CM, regardless of how that attachment is implemented). However, with "NACO = 0", management traffic to the CM is not restricted. Specifically, with NACO off, the CM remains manageable, including sending/receiving management traffic such as (but not limited to): + +- ARP: Allow the modem to resolve IP addresses, so it can respond to queries or send traps. +- DHCP: Allow the modem to renew its IP address lease. +- ICMP: Enable network troubleshooting for tools such as "ping" and "traceroute." +- ToD: Allow the modem to continue to synchronize its clock after boot. +- TFTP: Allow the modem to download either a new configuration file or a new software image. +- SYSLOG: Allow the modem to report network events. +- SNMP: Allow management activity + +In DOCS v1.1, with NACO off, the primary upstream and primary downstream service flows of the CM remain operational only for management traffic to and from the CM. With respect to DOCS v1.1 provisioning, a CMTS should ignore the NACO value and allocate any service flows that have been authorized by the provisioning server. + +#### C.1.1.4 DOCS 1.0 class-of-service configuration setting + +This field defines the parameters associated with a DOCS 1.0 class of service. Any CM registering with a DOCS 1.0 class-of-service configuration setting MUST be treated as a DOCS 1.0 CM. Refer to clause 8.3.8, "registration response (REG-RSP)". + +This field defines the parameters associated with a class of service. It is somewhat complex in that it is composed from a number of encapsulated type/length/value fields. The encapsulated fields define the particular class-of-service parameters for the class of service in question. Note that the type fields defined are only valid within the encapsulated class-of-service configuration setting string. A single class-of-service configuration setting is used to define the parameters for a single service class. Multiple class definitions use multiple class-of-service configuration setting sets. + +| Type | Length | Value | +|------|--------|-------| +| 4 | n | | + +##### C.1.1.4.1 Class ID + +The value of the field specifies the identifier for the Class of Service to which the encapsulated string applies. + +| Type | Length | Value | +|------|--------|-------| +| 4.1 | 1 | | + +Valid range: The class ID MUST be in the range 1 to 16. + +##### C.1.1.4.2 Maximum downstream rate configuration setting + +For a single-SID modem, the value of this field specifies the maximum downstream rate in bits per second that the CMTS is permitted to forward to CPE unicast MAC addresses learned or configured as mapping to the registering modem. + +For a multiple-SID modem, the aggregate value of these fields specifies the maximum downstream rate in bits per second that the CMTS is permitted to forward to CPE unicast MAC addresses learned or configured as mapping to the registering modem. + +This is the peak data rate for packet PDU data (including destination MAC address and the CRC) over a one-second interval. This does not include MAC packets addressed to broadcast or multicast MAC addresses. The CMTS MUST limit downstream forwarding to this rate. The CMTS MAY delay, rather than drop, over-limit packets. + +| Type | Length | Value | +|------|--------|-------| +| 4.2 | 4 | | + +NOTE – This is a limit, not a guarantee that this rate is available. + +#### C.1.1.4.3 Maximum upstream rate configuration setting + +The value of this field specifies the maximum upstream rate in bits per second that the CM is permitted to forward to the RF network. + +This is the peak data rate for packet PDU data (including destination address and the CRC) over a one-second interval. The CM MUST limit all upstream forwarding (both contention and reservation-based), for the corresponding SID, to this rate. The CM MUST include packet PDU data packets addressed to broadcast or multicast addresses when calculating this rate. + +The CM MUST enforce the maximum upstream rate. It SHOULD NOT discard upstream traffic simply because it exceeds this rate. + +The CMTS MUST enforce this limit on all upstream data transmissions, including data sent in contention. The CMTS SHOULD generate an alarm if a modem exceeds its allowable rate. + +| Type | Length | Value | +|------|--------|-------| +| 4.3 | 4 | | + +NOTE 1 – The purpose of this parameter is for the CM to perform traffic shaping at the input to the RF network and for the CMTS to perform traffic policing to ensure that the CM does not exceed this limit. + +The CMTS could enforce this limit by any of the following methods: + +- discarding over-limit requests; +- deferring (through zero-length grants) the grant until it is conforming to the allowed limit; +- discarding over-limit data packets; +- reporting to a policy monitor (for example, using the alarm mechanism) that is capable of incapacitating errant CMs. + +NOTE 2 – This is a limit, not a guarantee that this rate is available. + +#### C.1.1.4.4 Upstream channel priority configuration setting + +The value of the field specifies the relative priority assigned to this service class for data transmission in the upstream channel. Higher numbers indicate higher priority. + +| Type | Length | Value | +|------|--------|-------| +| 4.4 | 1 | | + +Valid range: 0-7. + +#### C.1.1.4.5 Guaranteed minimum upstream channel data rate configuration setting + +The value of the field specifies the data rate in bit/s which will be guaranteed to this service class on the upstream channel. + +| Type | Length | Value | +|------|--------|-------| +| 4.5 | 4 | | + +#### C.1.1.4.6 Maximum upstream channel transmit burst configuration setting + +The value of the field specifies the maximum transmit burst (in bytes) that this service class is allowed on the upstream channel. A value of zero means there is no limit. + +NOTE – This value does not include any physical layer overhead. + +| Type | Length | Value | +|------|--------|-------| +| 4.6 | 2 | | + +#### C.1.1.4.7 Class-of-service privacy enable + +This configuration setting enables/disables baseline privacy on a provisioned CoS. + +| Type | Length | Enable/Disable | +|-----------------------|--------|----------------| +| 4.7 (= CoS_BP_ENABLE) | 1 | 1 or 0 | + +**Table C.1 – Sample DOCS 1.0 class-of-service encoding** + +| Type | Length | Value (sub)type | Length | Value | | +|------|--------|-----------------|--------|------------|-----------------------------------------------------------| +| 4 | 28 | 1 | 1 | 1 | Class-of-service configuration setting
Service class | +| | | 2 | 4 | 10'000'000 | Max. downstream rate of 10 Mbit/s | +| | | 3 | 4 | 300'000 | Max. upstream rate of 300 kbit/s | +| | | 4 | 1 | 5 | Return path priority of 5 | +| | | 5 | 4 | 64'000 | Min. guaranteed 64 kbit/s | +| | | 6 | 2 | 1518 | Max. Tx burst of 1518 bytes | +| | | | | | | +| 4 | 28 | 1 | 1 | 2 | Class-of-service configuration setting
Service class 2 | +| | | 2 | 4 | 5'000'000 | Max. forward rate of 5 Mbit/s | +| | | 3 | 4 | 300'000 | Max. return rate of 300 Mbit/s | +| | | 4 | 1 | 3 | Return path priority of 3 | +| | | 5 | 4 | 32'000 | Min. guaranteed 32 kbit/s | +| | | 6 | 2 | 1518 | Max. Tx burst of 1518 bytes | +| | | | | | | + +#### C.1.1.5 CM message integrity check (MIC) configuration setting + +The value field contains the CM message integrity check code. This is used to detect unauthorized modification or corruption of the configuration file. + +| Type | Length | Value | +|------|--------|----------------| +| 6 | 16 | d1, d2,... d16 | + +#### C.1.1.6 CMTS message integrity check (MIC) configuration setting + +The value field contains the CMTS message integrity check code. This is used to detect unauthorized modification or corruption of the configuration file. + +| Type | Length | Value | +|------|--------|-----------------| +| 7 | 16 | d1, d2, ... d16 | + +#### C.1.1.7 Maximum number of CPEs + +The maximum number of CPEs that can be granted access through a CM during a CM epoch. The CM epoch is (from clause 5.1.2.3.1) the time between start-up and hard reset of the modem. The maximum number of CPEs MUST be enforced by the CM. + +NOTE 1 – This parameter should not be confused with the number of CPE addresses a CM may learn. A modem may learn Ethernet MAC addresses up to its maximum number of CPE addresses (from clause 5.1.2.3.1). The maximum number of CPEs that are granted access through the modem is governed by this configuration setting. + +| Type | Length | Value | +|------|--------|-------| +| 18 | 1 | | + +The CM MUST interpret this value as an unsigned integer. The non-existence of this option, or the value 0, MUST be interpreted as the default value of 1. + +NOTE 2 – This is a limit on the maximum number of CPEs a CM will grant access to. Hardware limitations of a given modem implementation may require the modem to use a lower value. + +#### C.1.1.8 TFTP server timestamp + +The sending time of the configuration file in seconds. The definition of time is as in [RFC 868]. + +| Type | Length | Value | +|------|--------|------------------------------------------| +| 19 | 4 | Number of seconds since 00:00 1 Jan 1900 | + +NOTE – The purpose of this parameter is to prevent replay attacks with old configuration files. + +#### C.1.1.9 TFTP server provisioned modem address + +The IP address of the modem requesting the configuration file. + +| Type | Length | Value | +|------|--------|------------| +| 20 | 4 | IP address | + +NOTE – The purpose of this parameter is to prevent IP spoofing during registration. + +#### C.1.1.10 Upstream packet classification configuration setting + +This field defines the parameters associated with one entry in an upstream traffic classification list. Refer to clause C.2.1.1. + +| Type | Length | Value | +|------|--------|-------| +| 22 | n | | + +#### C.1.1.11 Downstream packet classification configuration setting + +This field defines the parameters associated with one classifier in a downstream traffic classification list. Refer to clause C.2.1.2. + +| Type | Length | Value | +|------|--------|-------| +| 23 | n | | + +#### C.1.1.12 Upstream service flow encodings + +This field defines the parameters associated with upstream scheduling for one service flow. Refer to clause C.2.2.1. + +| Type | Length | Value | +|------|--------|-------| +| 24 | n | | + +#### C.1.1.13 Downstream service flow encodings + +This field defines the parameters associated with downstream scheduling for one service flow. Refer to clause C.2.2.2. + +| Type | Length | Value | +|------|--------|-------| +| 25 | n | | + +#### C.1.1.14 Payload header suppression + +This field defines the parameters associated with payload header suppression. + +| Type | Length | Value | +|------|--------|-------| +| 26 | n | | + +#### C.1.1.15 Maximum number of classifiers + +This is the maximum number of classifiers associated with admitted or active upstream service flows that the CM is allowed to have. Both active and inactive classifiers are included in the count. + +This is useful when using deferred activation of provisioned resources. The number of provisioned service flows may be high and each service flow might support multiple classifiers. Provisioning represents the set of service flows the CM can choose between. The CMTS can control the QoS resources committed to the CM by limiting the number of service flows that are admitted. However, it may still be desirable to limit the number of classifiers associated with the committed QoS resources. This parameter provides that limit. + +| Type | Length | Value | +|------|--------|-------------------------------------------------------------------------------------------------------------| +| 28 | 2 | Maximum number of active and inactive classifiers associated with admitted or active upstream service flows | + +The default value MUST be 0: No limit. + +#### C.1.1.16 Privacy enable + +This configuration setting enables/disables baseline privacy [DOCS8] on the primary service flow and all other service flows for this CM. If a DOCS 2.0 CM receives this setting in a configuration file, the CM is required to forward this setting as part of the registration request (REG-REQ) as specified in clause 8.3.7, regardless of whether the configuration file is DOCS 1.1-style or not, while this setting is usually contained only in a DOCS 1.1-style configuration file with DOCS 1.1 service flow TLVs. + +| Type | Length | Value | +|------|--------|-------------------------| +| 29 | 1 | 0: Disable
1: Enable | + +The default value of this parameter MUST be 1: privacy enabled. + +#### C.1.1.17 DOCSIS extension field + +The DOCSIS extension field is used to extend the capabilities of the DOCSIS specification, through the use of new and/or vendor-specific features. + +The DOCSIS extension field MUST be encoded using TLV 43 and MUST include the vendor ID field (refer to clause C.1.3.2) to indicate whether the DOCSIS extension field applies to all devices, or only to devices from a specific vendor. The vendor ID MUST be the first TLV embedded inside the DOCSIS extension field. If the first TLV inside the DOCSIS extension field is not a vendor ID, then the TLV MUST be discarded. In this context, the vendor ID of 0xFFFFF is reserved to signal that this DOCSIS extension field contains general extension information (see clause C.1.1.17.1), otherwise the DOCSIS extension field contains vendor-specific information (see clause C.1.1.17.2). + +This configuration setting MAY appear multiple times. This configuration setting MAY be nested inside a packet classification configuration setting, a service flow configuration setting, or a service flow response. The same vendor ID MAY appear multiple times. However, there MUST NOT be more than one vendor ID TLV inside a single TLV 43. + +The CM MUST ignore any DOCSIS extension field that it cannot interpret, but MUST still include the TLV in the REG-REQ message. The CM MUST NOT initiate the DOCSIS extension field TLVs. + +| Type | Length | Value | +|------|--------|-------| +| 43 | n | | + +##### C.1.1.17.1 General extension information + +When using the DOCSIS extension field (TLV 43) to encode general extension information, the vendor ID of 0xFFFFF MUST be used as the first sub-TLV inside TLV 43. + +| Type | Length | Value | +|------|--------|----------------------------------------------------------| +| 43 | n | 8, 3, 0xFFFFF, followed by general extension information | + +The following sub-TLVs are defined only as part of the general extension information. The type values may be re-defined for any purpose as part of a vendor-specific information encoding. + +###### C.1.1.17.1.1 CM load balancing policy ID + +The CMTS load balancing algorithm uses this config file setting as the CM load balancing policy ID. If present, this value overrides the default group policy assigned by the CMTS (see clause 11.4.5.6). This configuration setting should only appear once in a configuration file. This configuration setting MUST only be used in configuration files and REG-REQ messages, and MUST NOT be nested inside a packet classification configuration setting, a service flow configuration setting, or a service flow response. + +| Type | Length | Value | +|------|--------|-----------| +| 43.1 | 4 | Policy ID | + +#### C.1.1.17.1.2 CM load balancing priority + +This config file setting is the CM load balancing priority to be used by the CMTS load balancing algorithm. If present, this value overrides the default priority assigned by the CMTS (see clause 11.4.5.6). This configuration setting should only appear once in a configuration file. This configuration setting MUST only be used in configuration files and REG-REQ messages, and MUST NOT be nested inside a packet classification configuration setting, a service flow configuration setting, or a service flow response. + +| Type | Length | Value | +|------|--------|----------| +| 43.2 | 4 | Priority | + +#### C.1.1.17.1.3 CM load balancing group ID + +This config file setting is the restricted load balancing group ID defined at the CMTS. If present, this value overrides the general load balancing group. If no restricted load balancing group is defined that matches this group ID, the value is ignored by the CMTS (see clause 11.4.5.6). This configuration setting should only appear once in a configuration file. This configuration setting MUST only be used in configuration files and REG-REQ messages, and MUST NOT be nested inside a packet classification configuration setting, a service flow configuration setting, or a service flow response. + +| Type | Length | Value | +|------|--------|----------| +| 43.3 | 4 | Group ID | + +#### C.1.1.17.1.4 CM ranging class ID extension + +This config file setting is the CM ranging class ID extension to be defined by the MSO. These bits will be prepended to the CM's default ranging class ID as the most significant bits of the 32-bit ranging class ID value. These bits will be sent in the REG-REQ as part of the CM's ranging class ID in the modem capabilities field. If the TLV is not included in the configuration file, the CM will use zero for this value. These bits allow the user to define special device classes that could be used to give those devices, or service types, preferential treatment with respect to ranging after a massive outage. After successful registration, the CM MUST store the entire 32-bit value in a non-volatile memory and use it for ranging decisions after a reboot or a re-init MAC event. + +| Type | Length | Value | +|------|--------|-------------| +| 43.4 | 2 | Extended ID | + +#### C.1.1.17.1.5 L2VPN encoding + +The L2VPN encoding parameter is a multi-part encoding that configures how the CMTS performs layer 2 virtual private network bridging for CPE packets. The subtypes of the L2VPN encoding are specified in [L2VPN]. The CMTS MAY support the DOCSIS Layer 2 Virtual Private Network feature as defined in [L2VPN]. If the L2VPN feature is not supported, the CMTS MUST ignore the information in the L2VPN configuration setting. + +GEI-Encapsulated L2VPN encoding: + +| Type | Length | Value | +|------|--------|--------------------------------------------| +| 43.5 | n | L2VPN encoding subtype/length/value tuples | + +### C.1.1.17.2 Vendor-specific information + +Vendor-specific configuration information, if present, is encoded in the DOCSIS extension field (code 43) using the vendor ID field (refer to clause C.1.3.2) to specify which TLV tuples apply to which vendor's products. + +| Type | Length | Value | +|------|--------|-----------------------| +| 43 | n | Per vendor definition | + +Example: + +Configuration with vendor A specific fields and vendor B specific fields: + +VSIF (43) + n (number of bytes inside this VSIF) +8 (vendor ID type) + 3 (length field) + vendor ID of vendor A +Vendor A – specific type #1 + length of the field + value #1 +Vendor A – specific type #2 + length of the field + value #2 +VSIF (43) + m (number of bytes inside this VSIF) +8 (vendor ID type) + 3 (length field) + vendor ID of vendor B +Vendor B – specific type + length of the field + value + +### C.1.1.18 Subscriber management TLVs + +The information in these TLVs is not used by the CM; rather, the information is used by the CMTS to populate the subscriber management MIB for this CM. + +If present in the configuration file, the CM MUST include these TLVs in the subsequent REG-REQ to be used by the CMTS to populate the subscriber management MIB for this CM. If present in the configuration file, the CM MUST include these TLVs in the CMTS MIC. + +#### C.1.1.18.1 Subscriber management control + +This three-byte field provides control information to the CMTS for the subscriber management MIB. The first two bytes represent the number of IP addresses permitted behind the CM. The third byte is used for control fields. + +| Type | Length | Value | +|------|--------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 35 | 3 | Byte 1, 2: docsSubMgtCpeControlMaxCpeIP (low-order 10 bits)
Byte 3, bit 0: docsSubMgtCpeControlActive
Byte 3, bit 1: docsSubMgtCpeControlLearnable
Byte 3, bits #2-7: reserved, must be set to zero | + +#### C.1.1.18.2 Subscriber management CPE IP table + +This field lists the IP addresses used to populate docsSubMgtCpeIpTable in the subscriber management MIB at the CMTS. + +| Type | Length | Value | +|------|-------------------|------------------------| +| 36 | N (multiple of 4) | Ipa1, Ipa2, Ipa3, Ipa4 | + +### C.1.1.18.3 Subscriber management filter groups + +The subscriber management MIB allows an upstream and downstream filter group to be assigned to a CM and its associated CPEs and one or more embedded service/application functional entities (eSAFEs). These filter groups are encoded in the configuration file in a single TLV as follows: + +| Type | Length | Value | +|------|--------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 37 | N (multiples of 4 bytes) | Bytes 1, 2: docsSubMgtSubFilterDownstream group
Bytes 3, 4: docsSubMgtSubFilterUpstream group
Bytes 5, 6: docsSubMgtCmFilterDownstream group
Bytes 7, 8: docsSubMgtCmFilterUpstream group
Bytes 9, 10: docsSubMgtPsFilterDownstream group
Bytes 11, 12: docsSubMgtPsFilterUpstream group
Bytes 13, 14: docsSubMgtMtaFilterDownstream group
Bytes 15, 16: docsSubMgtMtaFilterUpstream group
Bytes 17, 18: docsSubMgtStbFilterDownstream group
Bytes 19, 20: docsSubMgtStbFilterUpstream group | + +### C.1.1.19 Enable 2.0 mode + +This configuration setting enables/disables DOCS 2.0 mode for a CM registering with a DOCS 2.0 CMTS. + +The default value of this parameter MUST be 1: 2.0 mode enabled. + +| Type | Length | Value | +|------|--------|-------------------------| +| 39 | 1 | 0: Disable
1: Enable | + +### C.1.1.20 Enable test modes + +This configuration setting enables/disables certain test modes for a CM which supports test modes. The definition of the test modes is beyond the scope of this Recommendation. + +If this TLV is not present, the default value MUST be 0: Test modes disabled. + +| Type | Length | Value | +|------|--------|-------------------------| +| 40 | 1 | 0: Disable
1: Enable | + +### C.1.1.21 Downstream channel list + +A list of receive frequencies to which the CM is allowed to tune during scanning operations. When the downstream channel list is provided in a configuration file, the CM MUST NOT attempt to establish communications using a downstream channel that is absent from this list unless specifically directed to do so by the CMTS. When both the downstream channel list and the downstream frequency configuration setting (clause C.1.1.1) are included in the configuration file, the CM MUST ignore the downstream frequency configuration setting. This list can override the last operational channel stored in NVRAM as defined in clause 11.2.1. The CM MUST retain and employ this list of channels whenever the CM performs a re-initialize MAC or continue scanning operation. The CM MUST replace or remove the list by subsequent config file downloads. Upon + +power cycle, the CM MUST NOT enforce a previously learned downstream channel list. The CM MAY, however, remember this list as an aid to downstream channel acquisition. + +| Type | Length | Value | +|------|--------|--------------------------------| +| 41 | n | List of allowed Rx frequencies | + +The list of allowed downstream frequencies is composed of an ordered series of sub-TLVs (single downstream channel, downstream frequency range, and default scanning) as defined below. When scanning for a downstream channel (except after a power-cycle), the CM MUST scan through this ordered list and attempt to establish communications on the specified channel(s). The scanning is initialized as follows: + +- If the CM is in an operational state, and then undergoes a re-initialize MAC operation (except due to a dynamic channel change), it MUST first scan the last operational frequency and then restart scanning at the beginning of the ordered list. +- If, while scanning this ordered list, the CM fails to become operational and is forced to re-initialize MAC, the CM MUST continue scanning from the next applicable frequency in the ordered list. +- If it reaches the default scanning TLV (TLV 41.3) in the config file, the CM begins its default scanning algorithm, completing initial ranging and DHCP and receiving a new config file via TFTP on the first valid frequency it sees. If the new config file does not contain TLV 41, the CM MUST continue with registration. If the new config file contains TLV 41, the CM MUST confirm that the current downstream frequency is explicitly listed in the downstream channel list. If the current downstream channel is not explicitly listed in the downstream channel list, the CM MUST NOT register on the current downstream channel and MUST restart scanning according to the downstream channel list contained in the configuration file. + +Upon reaching the end of the list, the CM MUST begin again with the first sub-TLV in the list. The CM MUST be capable of processing a downstream channel list that contains up to 16 sub-TLVs. + +This configuration setting MAY appear multiple times. If this configuration setting appears multiple times, all sub-TLVs MUST be considered part of a single downstream channel list in the order in which they appear in the configuration file. In other words, the sub-TLVs from the first instance of this configuration setting would comprise the first entries in the ordered series, the second instance would comprise the next entries, etc. + +#### C.1.1.21.1 Single downstream channel + +Upon reaching this sub-TLV in the downstream channel list, the CM MUST attempt to acquire a downstream signal on the specified frequency for a period of time specified by timeout. If a signal is acquired, and it is determined to be unusable by the CM, the CM MAY move on to the next sub-TLV in the downstream channel list without waiting for the timeout to expire. + +The CM MUST be capable of processing a downstream channel list that contains multiple single downstream frequency TLVs. + +| Type | Length | Value | +|------|---------|-------| +| 41.1 | 6 or 10 | | + +##### C.1.1.21.1.1 Single downstream channel timeout + +Timeout is specified in seconds (unsigned). A value of 0 for timeout means no timeout, i.e., the CM attempts to acquire a signal on the specified frequency and if unsuccessful moves immediately to + +the next sub-TLV in the downstream channel list. This is an optional parameter in a single downstream channel TLV. If the single downstream channel timeout is omitted, the CM MUST use a default time out of 0. + +| Type | Length | Value | +|--------|--------|---------| +| 41.1.1 | 2 | Timeout | + +#### C.1.1.21.1.2 Single downstream channel frequency + +Single downstream channel frequency is a required parameter in each single downstream channel TLV; the CM MUST ignore any single downstream channel TLV which lacks this parameter. The DSFrequency MUST be a multiple of 62'500 Hz. + +| Type | Length | Value | +|--------|--------|-------------| +| 41.1.2 | 4 | DSFrequency | + +#### C.1.1.21.2 Downstream frequency range + +Upon reaching this sub-TLV in the downstream channel list, the CM MUST begin scanning with DSFrequencyStart and progress in steps as indicated by DSFrequencyStepSize until reaching DSFrequencyEnd, and then repeat for a period of time specified by timeout. If the value of timeout is less than the time necessary for the CM to complete one full scan of all channels in the downstream frequency range, the CM MUST complete one full scan and then move on to the next sub-TLV in the downstream channel list. Note, DSFrequencyEnd may be less than DSFrequencyStart, which indicates scanning in the downward direction. If a signal has been acquired on all available channels between DSFrequencyStart and DSFrequencyEnd (inclusive), and all channels have been determined to be unusable by the CM, the CM MAY move on to the next sub-TLV in the downstream channel list without waiting for the Timeout to expire. + +The CM MUST be capable of processing a downstream channel list that contains multiple downstream frequency range TLVs. + +| Type | Length | Value | +|------|----------|-------| +| 41.2 | 18 or 22 | | + +##### C.1.1.21.2.1 Downstream frequency range timeout + +Timeout is specified in seconds (unsigned). A value of 0 for timeout means no timeout, i.e., the CM attempts to acquire a signal once on each frequency within the defined range, and if unsuccessful moves immediately to the next sub-TLV in the downstream channel list. This is an optional parameter in a downstream frequency range TLV. If the downstream frequency range timeout is omitted, the CM MUST use a default time out of 0. + +| Type | Length | Value | +|--------|--------|---------| +| 41.2.1 | 2 | Timeout | + +##### C.1.1.21.2.2 Downstream frequency range start + +Downstream frequency range start is a required parameter in each downstream frequency range TLV; the CM MUST ignore any downstream frequency range TLV that lacks this parameter. Downstream frequency range start MUST be a multiple of 62'500 Hz. + +| Type | Length | Value | +|--------|--------|------------------| +| 41.2.2 | 4 | DSFrequencyStart | + +#### C.1.1.21.2.3 Downstream frequency range end + +Downstream frequency range end is a required parameter in each downstream frequency range TLV; the CM MUST ignore any downstream frequency range TLV that lacks this parameter. Downstream frequency range end MUST be a multiple of 62'500 Hz. + +| Type | Length | Value | +|--------|--------|----------------| +| 41.2.3 | 4 | DSFrequencyEnd | + +#### C.1.1.21.2.4 Downstream frequency range step size + +Downstream frequency range step size is a required parameter in each downstream frequency range TLV; the CM MUST ignore any downstream frequency range TLV which lacks this parameter. Downstream frequency range step size specifies the increments in Hz by which the CM MUST scan through the downstream frequency range. + +The CM MUST support a minimum downstream frequency step size of 6'000'000 Hz. The CM MAY support downstream frequency step sizes less than 6'000'000 Hz. + +| Type | Length | Value | +|--------|--------|---------------------| +| 41.2.4 | 4 | DSFrequencyStepSize | + +#### C.1.1.21.3 Default scanning + +Upon reaching this sub-TLV in the downstream channel list, the CM MUST begin scanning according to its default scanning algorithm (which may be vendor-dependent), and repeat for a period of time specified by timeout. When the CM reaches a valid downstream frequency during default scanning, the CM completes initial ranging and DHCP, and receives a new config file, via TFTP. If the config file does not contain TLV 41, the CM continues with registration. If the config file contains TLV 41 and the current downstream channel is not explicitly listed in the downstream channel list, the CM restarts scanning according to the downstream channel list contained in the configuration file. + +Timeout is specified in seconds (unsigned). If the value of timeout is less than the time necessary for the CM to complete one full scan of all channels in the default scanning algorithm, the CM MUST complete one full scan and move on to the next sub-TLV in the downstream channel list. A value of 0 for timeout means no timeout, i.e., the CM scans all available frequencies once, then moves to the next sub-TLV in the downstream channel list. + +The CM MUST be capable of processing a downstream channel list that contains multiple default scanning TLVs. + +| Type | Length | Value | +|------|--------|---------| +| 41.3 | 2 | Timeout | + +#### C.1.1.21.4 Examples illustrating usage of the downstream channel list + +Assume that a modem has been provisioned to receive a config file with a downstream channel list consisting of several single downstream channel (TLV 41.1) entries, a downstream frequency range (TLV 41.2) entry, a default scanning (TLV 41.3) entry, and no timeout entries. + +When the modem first boots up, it locks onto the first downstream channel it can find and goes through initial ranging. After completing the ranging process, the modem downloads the config file with the downstream channel list. The modem then checks its current downstream frequency against the frequencies explicitly listed in the single downstream channel (TLV 41.1) entries and the downstream frequency range entry (TLV 41.2) of the downstream channel list, ignoring the default scan (TLV 41.3) entry at this point. If the current channel is not explicitly in the single downstream channel entries in the list or within the downstream frequency range entry in the list, the modem moves to the first sub-TLV in the TLV 41 list and attempts to lock onto that channel. If the modem is able to lock onto that frequency, it again tries to range and download a config file. Assuming that the modem receives the same config file, the modem would then proceed with registration. + +If the modem is not able to lock on the first sub-TLV in the downstream channel list, it moves onto the next entry in the list and so on. If it reaches the downstream frequency range TLV, it will begin scanning at the downstream frequency range start, incrementing the frequency by the downstream frequency step size, and ending at the downstream frequency range end. If the CM finds a valid downstream frequency within the downstream frequency range, the modem ranges and downloads a config file. Assuming that the config file has not changed, the modem continues with registration on that channel. + +However, if it reaches the default scanning sub-TLV without successfully registering, the modem starts its "default scan" process. If, during the course of its default scan, the modem finds a DS channel that it can lock onto, is able to complete ranging, and is able to download a config file, it will do so. However, at that point, the modem once again checks which downstream channels are explicitly in the list and acts accordingly. + +As a second, less likely example, assume that a modem has been provisioned to receive a config file with a downstream channel list containing only a default scanning (TLV 41.3) entry. When the modem first boots up, it locks onto the first downstream channel it can find and goes through initial ranging. After completing the ranging process, the modem downloads the config file with the downstream channel list. Since the default scanning is the only parameter in the downstream channel list, the downstream frequency on which the CM locked is not explicitly included, so the CM continues to scan according to its algorithm. The CM will not register on a channel until it receives a config file with a downstream frequency explicitly listed in the downstream channel list or a config file with no downstream channel list. + +#### C.1.1.22 Downstream unencrypted traffic (DUT) filtering encoding + +This parameter enables the CM to perform downstream unencrypted traffic filtering as described in the DOCSIS layer 2 virtual private network specification [L2VPN]. If the CM does not support the DUT filtering capability, it MUST ignore the DUT filtering encoding TLV. + +DUT filtering encoding: + +| Type | Length | Value | +|------|----------------------------------------------|-------| +| 45 | Length/value tuples are specified in [L2VPN] | | + +### C.1.2 Configuration-file-specific settings + +These settings are found only in the configuration file. They MUST NOT be forwarded to the CMDS in the registration request. + +#### C.1.2.1 End-of-data marker + +This is a special marker for end of data. It has no length or value fields. + +| Type | +|------| +| 255 | + +#### C.1.2.2 Pad configuration setting + +This has no length or value fields and is only used following the end of data marker to pad the file to an integral number of 32-bit words. + +| Type | +|------| +| 0 | + +#### C.1.2.3 Software upgrade filename + +The filename of the software upgrade file for the CM. The filename is a fully qualified directory-path name. The file is expected to reside on a TFTP server identified in a configuration setting option defined in clause D.2.2. See also clause 12.1. + +| Type | Length | Value | +|------|--------|-----------| +| 9 | n | File name | + +#### C.1.2.4 SNMP write-access control + +This object makes it possible to disable SNMP "set" access to individual MIB objects. Each instance of this object controls access to all of the writeable MIB objects whose object ID (OID) prefix matches. This object may be repeated to disable access to any number of MIB objects. + +| Type | Length | Value | +|------|--------|------------------------------| +| 10 | n | OID prefix plus control flag | + +Where n is the size of the ASN.1 basic encoding rules [ITU-T X.690] encoding of the OID prefix plus one byte for the control flag. + +The control flag may take values: + +- 0: Allow write-access; +- 1: Disallow write-access. + +Any OID prefix may be used. The null OID 0.0 may be used to control access to all MIB objects. (The OID 1.3.6.1 will have the same effect.) + +When multiple instances of this object are present and overlap, the longest (most specific) prefix has precedence. Thus, one example might be + +- someTable: Disallow write-access; +- someTable.1.3: Allow write-access. + +This example disallows access to all objects in someTable except for some Table.1.3. + +### C.1.2.5 SNMP MIB object + +This object allows arbitrary SNMP MIB objects to be set via the TFTP-Registration process. + +| Type | Length | Value | +|------|--------|------------------| +| 11 | n | Variable binding | + +The value is an SNMP VarBind as defined in [RFC 1157]. The VarBind is encoded in ASN.1 basic encoding rules, just as it would be if part of an SNMP set request. + +The cable modem MUST treat this object as if it were part of an SNMP set request with the following caveats: + +- It MUST treat the request as fully authorized (it cannot refuse the request for lack of privilege). +- SNMP write-control provisions (see previous clause) do not apply. +- No SNMP response is generated by the CM. + +This object MAY be repeated with different VarBinds to "set" a number of MIB objects. All such sets MUST be treated as if simultaneous. + +Each VarBind MUST be limited to 255 bytes. + +### C.1.2.6 CPE Ethernet MAC address + +This object configures the CM with the Ethernet MAC address of a CPE device (see clause 5.1.2.3.1). This object may be repeated to configure any number of CPE device addresses. + +| Type | Length | Value | +|------|--------|-----------------------------| +| 14 | 6 | Ethernet MAC address of CPE | + +### C.1.2.7 Software upgrade TFTP server + +The IP address of the TFTP server on which the software upgrade file for the CM resides. See clauses 12.1 and C.1.2.3. + +| Type | Length | Value | +|------|--------|--------------------| +| 21 | 4 | ip1, ip2, ip3, ip4 | + +### C.1.2.8 SnmpV3 kickstart value + +Compliant CMs MUST understand the following TLV and its sub-elements and be able to kickstart SNMPv3 access to the CM regardless of whether the CMs are operating in 1.0 mode or 1.1 mode. + +| Type | Length | Value | +|------|--------|-----------| +| 34 | n | Composite | + +Up to 5 of these objects may be included in the configuration file. Each results in an additional row being added to the usmDHKickstartTable and the usmUserTable and results in an agent public number being generated for those rows. + +#### C.1.2.8.1 SnmpV3 kickstart security name + +| Type | Length | Value | +|------|--------|----------------------------| +| 34.1 | 2-16 | UTF8 encoded security name | + +For the ASCII character set, the UTF8 and the ASCII encodings are identical. Normally, this will be specified as one of the DOCSIS built-in USM users, e.g., "docsisManager", "docsisOperator", "docsisMonitor", "docsisUser". The security name is NOT zero terminated. This is reported in the usmDHKickStartTable as usmDHKickStartSecurityName and in the usmUserTable as usmUserName and usmUserSecurityName. + +#### C.1.2.8.2 SnmpV3 kickstart manager public number + +| Type | Length | Value | +|------|--------|--------------------------------------------------------------------| +| 34.2 | n | Manager's Diffie-Helman public number expressed as an octet string | + +This number is the Diffie-Helman public number derived from a privately generated (by the manager or operator) random number and transformed according to [RFC 2786]. This is reported in the usmDHKickStartTable as usmKickStartMgrPublic. When combined with the object reported in the same row as usmKickStartMyPublic, it can be used to derive the keys in the related row in the usmUserTable. + +#### C.1.2.9 Manufacturer code verification certificate + +The manufacturer code verification certificate (M-CVC) for secure software downloading specified by Appendix D of [DOCS8]. The CM config file MUST contain this M-CVC and/or C-CVC defined in clause C.1.2.10 in order to allow the 1.1-compliant CM to download the code file from the TFTP server whether or not the CM is provisioned to run with BPI, BPI+, or none of them. See Appendix D of [DOCS8] for details. + +| Type | Length | Value | +|------|--------|--------------------------------------| +| 32 | n | Manufacturer CVC (DER-encoded ASN.1) | + +If the length of the M-CVC exceeds 254 bytes, the M-CVC MUST be fragmented into two or more successive type 32 elements. Each fragment, except the last, MUST be 254 bytes in length. The CM reconstructs the M-CVC by concatenating the contents (value of the TLV) of successive type 32 elements in the order in which they appear in the configuration file. For example, the first byte following the length field of the second type 32 element is treated as if it immediately follows the last byte of the first type 32 element. + +#### C.1.2.10 Co-signer code verification certificate + +The co-signer code verification certificate (C-CVC) for secure software downloading specified by Appendix D of [DOCS8]. The CM configuration file MUST contain this C-CVC and/or M-CVC defined in clause C.1.2.9 in order to allow the 1.1-compliant CM to download the code file from TFTP server whether or not the CM is provisioned to run with BPI, BPI+, or none of them. See Appendix D of [DOCS8] for details. + +| Type | Length | Value | +|------|--------|-----------------------------------| +| 33 | n | Co-signer CVC (DER-encoded ASN.1) | + +If the length of the C-CVC exceeds 254 bytes, the C-CVC MUST be fragmented into two or more successive type 33 elements. Each fragment, except the last, MUST be 254 bytes in length. The CM reconstructs the C-CVC by concatenating the contents (value of the TLV) of successive type 33 elements in the order in which they appear in the config file. For example, the first byte following the length field of the second Type 33 element is treated as if it immediately follows the last byte of the first Type 33 element. + +#### C.1.2.11 SNMPv3 notification receiver + +This TLV specifies a network management station that will receive notifications from the modem when it is in co-existence mode. Up to 10 of these elements may be included in the configuration file. + +| Type | Length | Value | +|------|--------|-----------| +| 38 | n | Composite | + +##### C.1.2.11.1 SNMPv3 notification receiver IP address + +This sub-TLV specifies the IP address of the notification receiver. + +| Type | Length | Value | +|------|--------|--------------------| +| 38.1 | 4 | ip1, ip2, ip3, ip4 | + +##### C.1.2.11.2 SNMPv3 notification receiver UDP port number + +This sub-TLV specifies the UDP port number of the notification receiver. If this sub-TLV is not present, the default value of 162 should be used. + +| Type | Length | Value | +|------|--------|-----------------| +| 38.2 | 2 | UDP port number | + +##### C.1.2.11.3 SNMPv3 notification receiver trap type + +| Type | Length | Value | +|------|--------|-----------| +| 38.3 | 2 | Trap type | + +This sub-TLV specifies the type of trap to send. The trap type may take values: + +- 1 = SNMP v1 trap in an SNMP v1 packet; +- 2 = SNMP v2c trap in an SNMP v2c packet; +- 3 = SNMP inform in an SNMP v2c packet; +- 4 = SNMP v2c trap in an SNMP v3 packet; +- 5 = SNMP inform in an SNMP v3 packet. + +##### C.1.2.11.4 SNMPv3 notification receiver timeout + +This sub-TLV specifies the timeout value to use when sending an inform message to the notification receiver. + +| Type | Length | Value | +|------|--------|----------------------| +| 38.4 | 2 | Time in milliseconds | + +#### C.1.2.11.5 SNMPv3 notification receiver retries + +This sub-TLV specifies the number of times to retry sending an inform message if an acknowledgement is not received. + +| Type | Length | Value | +|------|--------|-------------------| +| 38.5 | 2 | Number of retries | + +#### C.1.2.11.6 SNMPv3 notification receiver filtering parameters + +This sub-TLV specifies the ASN.1 formatted object identifier of the snmpTrapOID value that identifies the notifications to be sent to the notification receiver. SNMP V3 allows the specification of which trap OIDs are to be sent to a trap receiver. This object specifies the OID of the root of a trap filter sub-tree. All traps with a trap OID contained in this trap filter sub-tree MUST be sent to the trap receiver. This object starts with the ASN.1 universal type 6 (object identifier) byte, then the ASN.1 length field, then the ASN.1 encoded object identifier components. + +| Type | Length | Value | +|------|--------|------------| +| 38.6 | n | Filter OID | + +#### C.1.2.11.7 SNMPv3 notification receiver security name + +This sub-TLV specifies the V3 security name to use when sending a V3 notification. This sub-TLV is only used if trap type is set to 4 or 5. This name must be a name specified in a configuration file TLV Type 34 as part of the DH kickstart procedure. The notifications will be sent using the authentication and privacy keys calculated by the modem during the DH kickstart procedure. + +This sub-TLV is not required for trap type = 1, 2 or 3 above. If it is not supplied for a trap type of 4 or 5, then the V3 notification will be sent in the noAuthNoPriv security level using the security name "@config". + +| Type | Length | Value | +|------|--------|---------------| +| 38.7 | n | Security name | + +#### C.1.2.12 Multicast MAC address + +This object configures the CM with a static multicast MAC address that is being provisioned into the CM. This object may be repeated to configure any number of static multicast MAC addresses. The CM MUST support a minimum of 10 static multicast MAC addresses. The CM MUST forward any multicast frames that match the static multicast MAC address from the cable network to the CMCI subject to the provisions of clause 5.1.2.3.2. IGMP has no impact on this forwarding. + +| Type | Length | Value | +|------|--------|------------------------------| +| 42 | 6 | Static multicast MAC address | + +### C.1.3 Registration request/response-specific encodings + +These encodings are not found in the configuration file, but are included in the registration request and option 60 of the DHCP request. Some encodings are also used in the registration response. + +The CM MUST include all modem capabilities encodings that are subject to negotiation with the CMTS in its registration request. Modem capabilities encodings that are not subject to negotiation with the CMTS are explicitly stated in the description of the particular modem capability. The CMTS MUST include modem capabilities in the registration response. + +### C.1.3.1 Modem capabilities encoding + +The value field describes the capabilities of a particular modem, i.e., implementation-dependent limits on the particular feature or number of features that the modem can support. It is composed from a number of encapsulated type/length/value fields. The encapsulated subtypes define the specific capabilities for the modem in question. Note that the subtype fields defined are only valid within the encapsulated capabilities configuration setting string. + +| Type | Length | Value | +|------|--------|-------| +| 5 | n | | + +The set of possible encapsulated fields is described below. + +All these capabilities are to be included in both the registration request and option 60 of the DHCP request unless the description of the capability explicitly prohibits this. + +#### C.1.3.1.1 Concatenation support + +If the value field is a 1, the CM requests concatenation support from the CMTS. + +| Type | Length | On/Off | +|------|--------|--------| +| 5.1 | 1 | 1 or 0 | + +#### C.1.3.1.2 DOCS version + +DOCS version of this modem. + +| Type | Length | Value | +|------|--------|-----------------------------------------------------------------| +| 5.2 | 1 | 0: DOCS v1.0
1: DOCS v1.1
2: DOCS v2.0
3-255: Reserved | + +If this tuple is absent, the CMTS MUST assume DOCS v1.0 operation. The absence of this tuple or the value 'DOCSIS 1.0' does not necessarily mean the CM only supports DOCS 1.0 functionality – the CM MAY indicate it supports other individual capabilities with other modem capability encodings (refer to clause G.2). This capability is provided by the CM for the benefit of the CMTS, the operation of the CM is not affected by the value returned by the CMTS. + +#### C.1.3.1.3 Fragmentation support + +If the value field is a 1, the CM requests fragmentation support from the CMTS. + +| Type | Length | Value | +|------|--------|--------| +| 5.3 | 1 | 1 or 0 | + +#### C.1.3.1.4 Payload header suppression support + +If the value field is a 1, the CM requests payload header suppression support from the CMTS. + +| Type | Length | Value | +|------|--------|--------| +| 5.4 | 1 | 1 or 0 | + +#### C.1.3.1.5 IGMP support + +If the value field is a 1, the CM supports DOCS 1.1-compliant IGMP. + +| Type | Length | Value | +|------|--------|--------| +| 5.5 | 1 | 1 or 0 | + +NOTE – This CM capability is not subject to negotiation with the CMTS. The CM MUST include this capability in the DHCP request, but MUST NOT include this capability in the registration request. If a CMTS does receive this capability with in a registration request it MUST return the capability with the same value in the registration response. + +#### C.1.3.1.6 Privacy support + +The value indicates the BPI support of the CM. + +| Type | Length | Value | +|------|--------|----------------------------------------------------------| +| 5.6 | 1 | 0: BPI support
1: BPI plus support
2-255: reserved | + +#### C.1.3.1.7 Downstream SAID support + +This field shows the number of downstream SAIDs the modem can support. + +| Type | Length | Value | +|------|--------|-----------------------------------------------| +| 5.7 | 1 | Number of downstream SAIDs the CM can support | + +If the number of SAIDs is 0, the modem can support only 1 SAID. + +#### C.1.3.1.8 Upstream SID support + +This field shows the number of upstream SIDs the modem can support. + +| Type | Length | Value | +|------|--------|--------------------------------------------| +| 5.8 | 1 | Number of upstream SIDs the CM can support | + +If the number of SIDs is 0, that means the modem can support only 1 SID. + +#### C.1.3.1.9 Optional filtering support + +This field shows the optional filtering support in the modem. + +| Type | Length | Value | +|------|--------|-----------------------------------------------------------------------------------------------------------------------------------| +| 5.9 | 1 | Packet filtering support array
bit #0: 802.1P filtering
bit #1: 802.1Q filtering
bit #2-7: Reserved, MUST be set to zero | + +NOTE – This CM capability is not subject to negotiation with the CMTS. The CM MUST include this capability in the DHCP request, but MUST NOT include this capability in the registration request. If a + +CMTS does receive this capability with in a registration request, it MUST return the capability with the same value in the registration response. + +#### C.1.3.1.10 Transmit equalizer taps per modulation interval + +This field shows the maximal number of pre-equalizer taps per modulation interval T supported by the CM. + +NOTE – All CMs MUST support T-spaced equalizer coefficients. CM support of 2 or 4 taps per modulation interval is optional. If this tuple is missing, it is implied that the CM only supports T-spaced equalizer coefficients. A CM MUST include this capability in the registration request and its value MUST be 1. + +| Type | Length | Value | +|------|--------|-----------| +| 5.10 | 1 | 1, 2 or 4 | + +#### C.1.3.1.11 Number of transmit equalizer taps + +This field shows the number of equalizer taps that are supported by the CM. + +NOTE – All CMs MUST support an equalizer length of at least 8 symbols. CM support of up to 64 T-spaced, T/2-spaced or T/4-spaced taps is optional. If this tuple is missing, it is implied that the CM only supports an equalizer length of 8 taps. A CM MUST include this capability in the registration request and its value MUST be 24. + +| Type | Length | Value | +|------|--------|---------| +| 5.11 | 1 | 8 to 64 | + +#### C.1.3.1.12 DCC support + +The value is the DCC support of the CM. + +| Type | Length | Value | +|------|--------|------------------------------------------------| +| 5.12 | 1 | 0: DCC is not supported
1: DCC is supported | + +#### C.1.3.1.13 IP filters support + +This field shows the number of IP filters that are supported by the CM. + +| Type | Length | Value | +|------|--------|----------| +| 5.13 | 2 | 16-65535 | + +NOTE – This CM capability is not subject to negotiation with the CMTS. The CM MUST include this capability in the DHCP request, but MUST NOT include this capability in the registration request. If a CMTS does receive this capability in a registration request it MUST return the capability with the same value in the registration response. + +#### C.1.3.1.14 LLC filters support + +This field shows the number of LLC filters that are supported by the CM. + +| Type | Length | Value | +|------|--------|----------| +| 5.14 | 2 | 10-65535 | + +NOTE – This CM capability is not subject to negotiation with the CMTS. The CM MUST include this capability in the DHCP request, but MUST NOT include this capability in the registration request. If a + +CMTS does receive this capability in a registration request it MUST return the capability with the same value in the registration response. + +#### C.1.3.1.15 Expanded unicast SID space + +Indicates if the CM can support the expanded unicast SID space. + +| Type | Length | Value | +|------|--------|----------------------------------------------------------------------------------------------| +| 5.15 | 1 | 0: Expanded unicast SID space is not supported
1: Expanded unicast SID space is supported | + +#### C.1.3.1.16 Ranging hold-off support + +The CM indicates support for the ranging hold-off feature by reporting its ranging class ID in the value field. The low order 16 bits of the ranging class ID is comprised of a static bit map that indicates the device type. The CM sets the bits of the devices to 1 in the bit map. Only a stand-alone cable modem will set Bit #0. For example, a standalone CM would report a value of 1; a CM with a CableHome PS would report a value of 2; a CM with a PacketCable MTA, and an ePS would report a value of 6; an eSTB would report a value of 8 although it contained an eCM. Bits 16 through 31 are derived from the configuration file as described in clause C.1.1.17.1.4. The ranging class ID is not negotiable. The value field in the REG-RSP is ignored by the CM. + +| Type | Length | Value | +|------|--------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 5.16 | 4 | Ranging class ID (bitmap)
Bit #0: CM
Bit #1: ePS
Bit #2: eMTA
Bit #3: DSG/eSTB
Bits 4 through 15: Reserved
Bits 16 through 31: CM ranging class ID extension | + +#### C.1.3.1.17 L2VPN capability + +This capability indicates whether the CM is compliant with the DOCSIS layer 2 virtual private network feature as defined in [L2VPN]. The CM MAY support the DOCSIS layer 2 virtual private network feature as defined in [L2VPN]. + +| Type | Length | Value | +|------|----------------------------------------------|-------| +| 5.17 | Length/value tuples are specified in [L2VPN] | | + +#### C.1.3.1.18 L2VPN eSAFE host capability + +This capability encoding informs the CMTS of the type and MAC address of an eSAFE host embedded with a CM that supports the L2VPN feature. A CM MUST NOT include L2VPN eSAFE host capability TLV in the registration request or DHCP option 60 if it does not indicate support for [L2VPN] via the L2VPN capability encoding. + +| Type | Length | Value | +|------|----------------------------------------------|-------| +| 5.18 | Length/value tuples are specified in [L2VPN] | | + +#### C.1.3.1.19 Downstream unencrypted traffic (DUT) filtering + +This capability indicates whether the CM supports the DUT filtering feature as defined in the DOCSIS layer 2 virtual private network specification [L2VPN]. The CM MAY support DUT filtering. + +| Type | Length | Value | +|------|----------------------------------------------|-------| +| 5.19 | Length/value tuples are specified in [L2VPN] | | + +#### C.1.3.2 Vendor ID encoding + +The value field contains the vendor identification specified by the three-byte vendor-specific organization unique identifier of the CM MAC address. + +The vendor ID MUST be used in a registration request, but MUST NOT be used as a stand-alone configuration file element. It MAY be used as a sub-field of the vendor-specific information field in a configuration file. When used as a sub-field of the vendor-specific information field, this identifies the vendor ID of the CMs that are intended to use this information. When the vendor ID is used in a registration request, then it is the vendor ID of the CM sending the request. + +| Type | Length | Value | +|------|--------|------------| +| 8 | 3 | v1, v2, v3 | + +#### C.1.3.3 Modem IP address + +For backward compatibility with DOCS v 1.0. Replaced by 'TFTP server provisioned modem address'. + +| Type | Length | Value | +|------|--------|------------| +| 12 | 4 | IP address | + +#### C.1.3.4 Service(s) not available response + +This configuration setting MUST be included in the registration response message if the CMTS is unable or unwilling to grant any of the requested classes of service that appeared in the registration request. Although the value applies only to the failed service class, the entire registration request MUST be considered to have failed (none of the class-of-service configuration settings are granted). + +| Type | Length | Value | +|------|--------|-----------------------------------| +| 13 | 3 | Class ID, type, confirmation code | + +Class ID is the class-of-service class from the request that is not available. + +Type is the specific class-of-service object within the class that caused the request to be rejected. + +Confirmation code (refer to clause C.4). + +### C.1.3.5 Vendor-specific capabilities + +Vendor-specific data about the CM that is to be included in the REG-REQ, but which is not part of the configuration file, if present, MUST be encoded in the vendor-specific capabilities (VSC) (code 44) using the vendor ID field (refer to clause C.1.3.2) to specify which TLV tuples apply to which vendors products. The vendor ID MUST be the first TLV embedded inside VSC. If the first TLV inside VSIF is not a vendor ID, then the TLV MUST be discarded. + +This configuration setting MAY appear multiple times. The same vendor ID MAY appear multiple times. There MUST NOT be more than one vendor ID TLV inside a single VSC. + +| Type | Length | Value | +|------|--------|-----------------------| +| 44 | n | Per vendor definition | + +Example: + +Configuration with vendor A-specific fields and vendor B-specific fields: + +VSC (44) + n (number of bytes inside this VSC) + +8 (vendor ID type) + 3 (length field) + vendor ID of vendor + +Vendor-specific type #1 + length of the field + value #1 + +Vendor-specific type #2 + length of the field + value #2 + +### C.1.4 Dynamic-service-message-specific encodings + +These encodings are not found in the configuration file, nor in the registration request/response signalling. They are only found in DSA-REQ, DSA-RSP, DSA-ACK, DSC-REQ, DSC-RSP, DSC-ACK and DSD-REQ messages (see clauses 8.3.12 through 8.3.18). + +#### C.1.4.1 HMAC-Digest + +The HMAC-Digest setting is a keyed message digest. If privacy is enabled, the HMAC-digest attribute MUST be the final attribute in the dynamic service message's attribute list. The message digest is performed over the all of the dynamic service parameters (starting immediately after the MAC management message header and up to, but not including, the HMAC digest setting), other than the HMAC-digest, in the order in which they appear within the packet. + +Inclusion of the keyed digest allows the receiver to authenticate the message. The HMAC-Digest algorithm, and the upstream and downstream key generation requirements are documented in [DOCS8]. + +This parameter contains a keyed hash used for message authentication. The HMAC algorithm is defined in [RFC 2104]. The HMAC algorithm is specified using a generic cryptographic hash algorithm. Baseline privacy uses a particular version of HMAC that employs the secure hash algorithm (SHA-1), defined in [FIPS 180-1]. + +A summary of the HMAC-digest attribute format is shown below. The fields are transmitted from left to right. + +| Type | Length | Value | +|------|--------|-------------------------------------| +| 27 | 20 | A 160-bit (20-octet) keyed SHA hash | + +#### C.1.4.2 Authorization block + +The authorization block contains an authorization "hint". The specifics of the contents of this "hint" are beyond the scope of this Recommendation, but include [ITU-T J.163]. + +The authorization block MAY be present in CM-initiated DSA-REQ and DSC-REQ messages, and CMTS-initiated DSA-RSP and DSC-RSP messages. This parameter MUST NOT be present in CMTS-initiated DSA-REQ and DSC-REQ messages, nor CM-initiated DSA-RSP and DSC-RSP messages. + +The authorization block information applies to the entire content of the message. Thus, only a single authorization block per message MAY be present. The authorization block, if present, MUST be passed to the authorization module in the CMTS. The authorization block information is only processed by the authorization module. + +| Type | Length | Value | +|------|--------|----------------------| +| 30 | n | Sequence of n octets | + +#### C.1.4.3 Key sequence number + +The value shows the key sequence number of the BPI+ authorization key that is used to calculate the HMAC-digest in case that the privacy is enabled. + +| Type | Length | Value | +|------|--------|---------------------------------| +| 31 | 1 | Auth key sequence number (0-15) | + +### C.2 Quality-of-service-related encodings + +#### C.2.1 Packet classification encodings + +The following type/length/value encodings MUST be used in both the configuration file, registration messages and dynamic service messages to encode parameters for packet classification and scheduling. All multi-octet quantities are in network-byte order, i.e., the octet containing the most-significant bits is the first transmitted on the wire. + +A classifier MUST contain at least one encoding from clause C.2.1.5, "IP packet classification encodings", clause C.2.1.6, "Ethernet LLC packet classification encodings", or C.2.1.7, "IEEE 802.1P/Q packet classification encodings". + +The following configuration settings MUST be supported by all CMs that are compliant with this Recommendation. All CMTSs MUST support classification of downstream packets based on IP header fields (see clause C.2.1.5). + +##### C.2.1.1 Upstream packet classification encoding + +This field defines the parameters associated with an upstream classifier. + +Note that the same subtype fields defined are valid for both the encapsulated upstream and downstream packet classification configuration setting string. These type fields are not valid in other encoding contexts. + +| Type | Length | Value | +|------|--------|-------| +| 22 | n | | + +##### C.2.1.2 Downstream packet classification encoding + +This field defines the parameters associated with a downstream classifier. + +Note that the same subtype fields defined are valid for both the encapsulated upstream and downstream flow classification configuration setting string. These type fields are not valid in other encoding contexts. + +| Type | Length | Value | +|------|--------|-------| +| 23 | n | | + +### C.2.1.3 General packet classifier encodings + +#### C.2.1.3.1 Classifier reference + +The value of the field specifies a reference for the classifier. This value is unique per dynamic service message, configuration file or registration request message. + +| Type | Length | Value | +|-----------|--------|-------| +| [22/23].1 | 1 | 1-255 | + +#### C.2.1.3.2 Classifier identifier + +The value of the field specifies an identifier for the classifier. This value is unique to per service flow. The CMTS assigns the packet classifier identifier. + +| Type | Length | Value | +|-----------|--------|----------| +| [22/23].2 | 2 | 1-65'535 | + +#### C.2.1.3.3 Service flow reference + +The value of the field specifies a service flow reference that identifies the corresponding service flow. + +In all packet classifier TLVs that occur in any message where the service flow ID is not known (e.g., CM-initiated DSA-REQ and REG-REQ), this TLV MUST be included. In all packet classifier TLVs that occur in a DSC-REQ and CMTS-initiated DSA-REQ messages, the service flow reference MUST NOT be specified. + +| Type | Length | Value | +|-----------|--------|----------| +| [22/23].3 | 2 | 1-65'535 | + +#### C.2.1.3.4 Service flow identifier + +The value of this field specifies the service flow ID that identifies the corresponding service flow. + +In packet classifier TLVs where the service flow ID is not known, this TLV MUST NOT be included (e.g., CM-initiated DSA-REQ and REG-REQ). In packet classifier TLVs that occur in a DSC-REQ and CMTS-initiated DSA-REQ message, the service flow ID MUST be specified. + +| Type | Length | Value | +|-----------|--------|-----------------| +| [22/23].4 | 4 | 1-4'294'967'295 | + +#### C.2.1.3.5 Rule priority + +The value of the field specifies the priority for the classifier, which is used for determining the order of the classifier. A higher value indicates higher priority. + +Classifiers that appear in configuration files and registration messages MAY have priorities in the range 0-255 with the default value 0. Classifiers that appear in DSA/DSC message MUST have priorities in the range 64-191, with the default value 64. + +| Type | Length | Value | +|-----------|--------|-------| +| [22/23].5 | 1 | | + +#### C.2.1.3.6 Classifier activation state + +The value of this field specifies whether this classifier should become active in selecting packets for the service flow. An inactive classifier is typically used with an AdmittedQosParamSet to ensure resources are available for later activation. The actual activation of the classifier depends both on this attribute and on the state of its service flow. If the service flow is not active, then the classifier is not used, regardless of the setting of this attribute. + +| Type | Length | Value | +|-----------|--------|--------------------------| +| [22/23].6 | 1 | 0: Inactive
1: Active | + +The default value is 1: Activate the classifier. + +#### C.2.1.3.7 Dynamic service change action + +When received in a dynamic service change request, this indicates the action that should be taken with this classifier. + +| Type | Length | Value | +|-----------|--------|--------------------------------------------------------------------------------| +| [22/23].7 | 1 | 0: DSC add classifier
1: DSC replace classifier
2: DSC delete classifier | + +#### C.2.1.4 Classifier error encodings + +This field defines the parameters associated with classifier errors. + +| Type | Length | Value | +|-----------|--------|-------| +| [22/23].8 | n | | + +A classifier error encoding consists of a single classifier error parameter set, which is defined by the following individual parameters: errored parameter, confirmation code and error message. + +The classifier error encoding is returned in REG-RSP, DSA-RSP and DSC-RSP messages to indicate the reason for the recipient's negative response to a classifier establishment request in a REG-REQ, DSA-REQ or DSC-REQ message. + +On failure, the REG-RSP, DSA-RSP or DSC-RSP MUST include one classifier error encoding for at least one failed classifier requested in the REG-REQ, DSA-REQ or DSC-REQ message. A classifier error encoding for the failed classifier MUST include the confirmation code and errored parameter and MAY include an error message. If some classifier sets are rejected but other classifier sets are accepted, then classifier error encodings MUST be included for only the rejected classifiers. On success of the entire transaction, the RSP or ACK message MUST NOT include a classifier error encoding. + +Multiple classifier error encodings may appear in a REG-RSP, DSA-RSP or DSC-RSP message, since multiple classifier parameters may be in error. A message with even a single classifier error encoding MUST NOT contain any other protocol classifier encodings (e.g., IP, 802.1P/Q). + +A classifier error encoding MUST NOT appear in any REG-REQ, DSA-REQ or DSC-REQ messages. + +#### C.2.1.4.1 Errored parameter + +The value of this parameter identifies the subtype of a requested classifier parameter in error in a rejected classifier request. A classifier error parameter set MUST have exactly one errored parameter TLV within a given classifier error encoding. + +| Subtype | Length | Value | +|-------------|--------|--------------------------------------| +| [22/23].8.1 | n | Classifier encoding subtype in error | + +If the length is one, then the value is the single-level subtype where the error was found, e.g., 7 indicates an invalid change action. If the length is two, then the value is the multi-level subtype where the error was found, e.g., 9-2 indicates an invalid IP protocol value. + +#### C.2.1.4.2 Error code + +This parameter indicates the status of the request. A non-zero value corresponds to the confirmation code as described in clause C.4. A classifier error parameter set MUST have exactly one error code within a given classifier error encoding. + +| Subtype | Length | Value | +|-------------|--------|-------------------| +| [22/23].8.2 | 1 | Confirmation code | + +A value of okay (0) indicates that the classifier request was successful. Since a classifier error parameter set applies only to errored parameters, this value MUST NOT be used. + +#### C.2.1.4.3 Error message + +This subtype is optional in a classifier error parameter set. If present, it indicates a text string to be displayed on the CM console and/or log that further describes a rejected classifier request. A classifier error parameter set MAY have zero or one error message subtypes within a given classifier error encoding. + +| Subtype | Length | Value | +|-------------|--------|--------------------------------------------| +| [22/23].8.3 | n | Zero-terminated string of ASCII characters | + +NOTE 1 – The length n includes the terminating zero. + +NOTE 2 – The entire classifier encoding message MUST have a total length of less than 256 characters. + +### C.2.1.5 IP packet classification encodings + +This field defines the parameters associated with IP packet classification. + +| Type | Length | Value | +|-----------|--------|-------| +| [22/23].9 | n | | + +#### C.2.1.5.1 IP type of service range and mask + +The values of the field specify the matching parameters for the IP ToS byte range and mask. An IP packet with IP ToS byte value "ip-tos" matches this parameter if $tos-low \leq (ip-tos \text{ AND } tos-mask) \leq tos-high$ . If this field is omitted, then comparison of the IP packet ToS byte for this entry is irrelevant. + +| Type | Length | Value | +|-------------|--------|-----------------------------| +| [22/23].9.1 | 3 | tos-low, tos-high, tos-mask | + +### C.2.1.5.2 IP protocol + +The value of the field specifies the matching value for the IP protocol field [b-RFC 1700]. If this parameter is omitted, then comparison of the IP header protocol field for this entry is irrelevant. + +There are two special IP protocol field values: "256" matches traffic with any IP protocol value, and "257" matches both TCP and UDP traffic. An entry that includes an IP protocol field value greater than 257 MUST be invalidated for comparisons (i.e., no traffic can match this entry). + +| Type | Length | Value | +|-------------|--------|--------------| +| [22/23].9.2 | 2 | prot1, prot2 | + +Valid range: 0-257 + +### C.2.1.5.3 IP source address + +The value of the field specifies the matching value for the IP source address. An IP packet with IP source address "ip-src" matches this parameter if $src = (ip\text{-}src \text{ AND } smask)$ , where "smask" is the parameter from clause C.2.1.5.4. If this parameter is omitted, then comparison of the IP packet source address for this entry is irrelevant. + +| Type | Length | Value | +|-------------|--------|------------------------| +| [22/23].9.3 | 4 | src1, src2, src3, src4 | + +### C.2.1.5.4 IP source mask + +The value of the field specifies the mask value for the IP source address, as described in clause C.2.1.5.3. If this parameter is omitted, then the default IP source mask is 255.255.255.255. + +| Type | Length | Value | +|-------------|--------|--------------------------------| +| [22/23].9.4 | 4 | smask1, smask2, smask3, smask4 | + +### C.2.1.5.5 IP destination address + +The value of the field specifies the matching value for the IP destination address. An IP packet with IP destination address "ip-dst" matches this parameter if $dst = (ip\text{-}dst \text{ AND } dmask)$ , where "dmask" is the parameter from clause C.2.1.5.6. If this parameter is omitted, then comparison of the IP packet destination address for this entry is irrelevant. + +| Type | Length | Value | +|-------------|--------|------------------------| +| [22/23].9.5 | 4 | dst1, dst2, dst3, dst4 | + +### C.2.1.5.6 IP destination mask + +The value of the field specifies the mask value for the IP destination address, as described in clause C.2.1.5.5, "IP destination address". If this parameter is omitted, then the default IP destination mask is 255.255.255.255. + +| Type | Length | Value | +|-------------|--------|--------------------------------| +| [22/23].9.6 | 4 | dmask1, dmask2, dmask3, dmask4 | + +### C.2.1.5.7 TCP/UDP source port start + +The value of the field specifies the low-end TCP/UDP source port value. An IP packet with TCP/UDP port value "src-port" matches this parameter if $sportlow \leq src\text{-}port \leq sporthigh$ . If this + +parameter is omitted, then the default value of sportlow is 0. This parameter is irrelevant for non-TCP/UDP IP traffic. + +| Type | Length | Value | +|-------------|--------|----------------------| +| [22/23].9.7 | 2 | sportlow1, sportlow2 | + +#### C.2.1.5.8 TCP/UDP source port end + +The value of the field specifies the high-end TCP/UDP source port value. An IP packet with TCP/UDP port value "src-port" matches this parameter if sportlow $\leq$ src-port $\leq$ sporthigh. If this parameter is omitted, then the default value of sporthigh is 65'535. This parameter is irrelevant for non-TCP/UDP IP traffic. + +| Type | Length | Value | +|-------------|--------|------------------------| +| [22/23].9.8 | 2 | sporthigh1, sporthigh2 | + +#### C.2.1.5.9 TCP/UDP destination port start + +The value of the field specifies the low-end TCP/UDP destination port value. An IP packet with TCP/UDP port value "dst-port" matches this parameter if dportlow $\leq$ dst-port $\leq$ dporthigh. If this parameter is omitted, then the default value of dportlow is 0. This parameter is irrelevant for non-TCP/UDP IP traffic. + +| Type | Length | Value | +|-------------|--------|----------------------| +| [22/23].9.9 | 2 | dportlow1, dportlow2 | + +#### C.2.1.5.10 TCP/UDP destination port end + +The value of the field specifies the high-end TCP/UDP destination port value. An IP packet with TCP/UDP port value "dst-port" matches this parameter if dportlow $\leq$ dst-port $\leq$ dporthigh. If this parameter is omitted, then the default value of dporthigh is 65'535. This parameter is irrelevant for non-TCP/UDP IP traffic. + +| Type | Length | Value | +|--------------|--------|------------------------| +| [22/23].9.10 | 2 | dporthigh1, dporthigh2 | + +### C.2.1.6 Ethernet LLC packet classification encodings + +This field defines the parameters associated with Ethernet LLC packet classification. + +| Type | Length | Value | +|------------|--------|-------| +| [22/23].10 | n | | + +#### C.2.1.6.1 Destination MAC address + +The values of the field specifies the matching parameters for the MAC destination address. An Ethernet packet with MAC destination address "etherdst" matches this parameter if dst = (etherdst AND msk). If this parameter is omitted, then comparison of the Ethernet MAC destination address for this entry is irrelevant. + +| Type | Length | Value | +|--------------|--------|------------------------------------------------------------------------| +| [22/23].10.1 | 12 | dst1, dst2, dst3, dst4, dst5, dst6, msk1, msk2, msk3, msk4, msk5, msk6 | + +### C.2.1.6.2 Source MAC address + +The value of the field specifies the matching value for the MAC source address. If this parameter is omitted, then comparison of the Ethernet MAC source address for this entry is irrelevant. + +| Type | Length | Value | +|--------------|--------|------------------------------------| +| [22/23].10.2 | 6 | src1, src2, src3, src4, src5, src6 | + +### C.2.1.6.3 Ethertype/DSAP/MacType + +Type, eprot1 and eprot2 indicate the format of the layer 3 protocol ID in the Ethernet packet as follows: + +If type = 0, the rule does not use the layer 3 protocol type as a matching criterion. If type = 0, then eprot1, eprot2 are ignored when considering whether a packet matches the current rule. + +If type = 1, the rule applies only to frames which contain an Ethertype value. Ethertype values are contained in packets using the DEC-Intel-Xerox (DIX) encapsulation or the RFC 1042 subnetwork access protocol (SNAP) encapsulation formats. If type = 1, then eprot1, eprot2 gives the 16-bit value of the Ethertype that the packet must match in order to match the rule. + +If type = 2, the rule applies only to frames using the IEEE 802.2 encapsulation format with a destination service (DSAP) other than 0xAA (which is reserved for SNAP). If type = 2, the lower 8 bits of the eprot1, eprot2, MUST match the DSAP byte of the packet in order to match the rule. + +If type = 3, the rule applies only to MAC management messages (FC field 1100001x) with a "type" field of its MAC management message header (see clause 6.3.1) between the values of eprot1 and eprot2, inclusive. As exceptions, the following MAC management message types MUST NOT be classified, and are always transmitted on the primary service flow: + +- Type 4: RNG-REQ; +- Type 6: REG-REQ; +- Type 7: REG-RSP; +- Type 14: REG-ACK. + +If type = 4, the rule is considered a "catch-all" rule that matches all data PDU packets. The rule does not match MAC management messages. The values of eprot1 and eprot2 are ignored in this case. + +If the Ethernet frame contains an 802.1P/Q tag header (i.e., Ethertype 0x8100), this object applies to the embedded Ethertype field within the 802.1P/Q header. + +Other values of type are reserved. If this TLV is omitted, then comparison of either the Ethertype or IEEE 802.2 DSAP for this rule is irrelevant. + +| Type | Length | Value | +|--------------|--------|----------------------| +| [22/23].10.3 | 3 | type, eprot1, eprot2 | + +### C.2.1.7 IEEE 802.1P/Q packet classification encodings + +This field defines the parameters associated with IEEE 802.1P/Q packet classification. + +| Type | Length | Value | +|------------|--------|-------| +| [22/23].11 | n | | + +#### C.2.1.7.1 IEEE 802.1P user\_priority + +The values of the field specify the matching parameters for the IEEE 802.1P user\_priority bits. An Ethernet packet with IEEE 802.1P user\_priority value "priority" matches these parameters if $\text{pri-low} \leq \text{priority} \leq \text{pri-high}$ . If this field is omitted, then comparison of the IEEE 802.1P user\_priority bits for this entry is irrelevant. + +If this parameter is specified for an entry, then Ethernet packets without IEEE 802.1Q encapsulation MUST NOT match this entry. If this parameter is specified for an entry on a CM that does not support forwarding of IEEE 802.1Q-encapsulated traffic, then this entry MUST NOT be used for any traffic. + +| Type | Length | Value | +|--------------|--------|-------------------| +| [22/23].11.1 | 2 | pri-low, pri-high | + +Valid range: 0-7 for pri-low and pri-high. + +#### C.2.1.7.2 IEEE 802.1Q vlan\_ID + +The value of the field specify the matching value for the IEEE 802.1Q vlan\_id bits. Only the first (i.e., most-significant) 12 bits of the specified vlan\_id field are significant; the final four bits MUST be ignored for comparison. If this field is omitted, then comparison of the IEEE 802.1Q vlan\_id bits for this entry is irrelevant. + +If this parameter is specified for an entry, then Ethernet packets without IEEE 802.1Q encapsulation MUST NOT match this entry. If this parameter is specified for an entry on a CM that does not support forwarding of IEEE 802.1Q-encapsulated traffic, then this entry MUST NOT be used for any traffic. + +| Type | Length | Value | +|--------------|--------|--------------------| +| [22/23].11.2 | 2 | vlan_id1, vlan_id2 | + +#### C.2.1.7.3 Vendor-specific classifier parameters + +This allows vendors to encode vendor-specific classifier parameters using the DOCSIS extension field. The vendor ID MUST be the first TLV embedded inside vendor-specific classifier parameters. If the first TLV inside vendor-specific classifier parameters is not a vendor ID, then the TLV MUST be discarded (refer to clause C.1.1.17). + +| Type | Length | Value | +|------------|--------|-------| +| [22/23].43 | n | | + +### C.2.2 Service flow encodings + +The following type/length/value encodings MUST be used in the configuration file, registration messages, and dynamic service messages to encode parameters for service flows. All multi-octet quantities are in network-byte order, i.e., the octet containing the most-significant bits is the first transmitted on the wire. + +The following configuration settings MUST be supported by all CMs which are compliant with this Recommendation. + +### C.2.2.1 Upstream service flow encodings + +This field defines the parameters associated with upstream scheduling for a service flow. It is somewhat complex in that it is composed from a number of encapsulated type/length/value fields. + +Note that the encapsulated upstream and downstream service flow configuration setting strings share the same subtype field numbering plan, because many of the subtype fields defined are valid for both types of configuration settings. These type fields are not valid in other encoding contexts. + +| Type | Length | Value | +|------|--------|-------| +| 24 | n | | + +### C.2.2.2 Downstream service flow encodings + +This field defines the parameters associated with downstream scheduling for a service flow. It is somewhat complex in that it is composed from a number of encapsulated type/length/value fields. + +Note that the encapsulated upstream and downstream flow classification configuration setting strings share the same subtype field numbering plan, because many of the subtype fields defined are valid for both types of configuration settings except service flow encodings. These type fields are not valid in other encoding contexts. + +| Type | Length | Value | +|------|--------|-------| +| 25 | n | | + +### C.2.2.3 General service flow encodings + +#### C.2.2.3.1 Service flow reference + +The service flow reference is used to associate a packet classifier encoding with a service flow encoding. A service flow reference is only used to establish a service flow ID. Once the service flow exists and has assigned a service flow ID, the service flow reference MUST no longer be used. The service flow reference is unique per configuration file, registration message exchange, or dynamic service add message exchange. + +| Type | Length | Value | +|-----------|--------|----------| +| [24/25].1 | 2 | 1-65'535 | + +#### C.2.2.3.2 Service flow identifier + +The service flow identifier is used by the CMTS as the primary reference of a service flow. Only the CMTS can issue a service flow identifier. It uses this parameterization to issue service flow identifiers in CMTS-initiated DSA-Requests and in its REG/DSA-Response to CM-initiated REG/DSA-Requests. The CM specifies the SFID of a service flow using this parameter in a DSC-REQ message. Both the CM and CMTS MAY use this TLV to encode service flow IDs in a DSD-REQ. + +The configuration file MUST NOT contain this parameter. + +| Type | Length | Value | +|-----------|--------|-----------------| +| [24/25].2 | 4 | 1-4'294'967'295 | + +#### C.2.2.3.3 Service identifier + +The value of this field specifies the service identifier assigned by the CMTS to a service flow with a non-null AdmittedQosParamSet or ActiveQosParamSet. This is used in the bandwidth allocation + +MAP to assign upstream bandwidth. This field MUST be present in CMTS-initiated DSA-REQ or DSC-REQ message related to establishing an admitted or active upstream service flow. This field MUST also be present in REG-RSP, DSA-RSP and DSC-RSP messages related to the successful establishment of an admitted or active upstream service flow. This field MUST NOT be present in settings related to downstream service flows; the service identifier only applies to upstream service flows. + +Even though a service flow has been successfully admitted or activated (i.e., has an assigned service ID) the service flow ID MUST be used for subsequent DSx message signalling as it is the primary handle for a service flow. If a service flow is no longer admitted or active (via DSC-REQ) its service ID MAY be reassigned by the CMTS. + +| Subtype | Length | Value | +|-----------|--------|-------------------------| +| [24/25].3 | 2 | SID (low-order 14 bits) | + +#### C.2.2.3.4 Service class name + +The value of the field refers to a predefined CMTS service configuration to be used for this service flow. + +| Type | Length | Value | +|-----------|---------|--------------------------------------------| +| [24/25].4 | 2 to 16 | Zero-terminated string of ASCII characters | + +NOTE – The length includes the terminating zero. + +When the service class name is used in a service flow encoding, it indicates that all the unspecified QoS parameters of the service flow need to be provided by the CMTS. It is up to the operator to synchronize the definition of service class names in the CMTS and in the configuration file. + +#### C.2.2.3.5 Quality of service parameter set type + +This parameter MUST appear within every service flow encoding, with the exception of service flow encodings in the DSD-REQ where the quality of service parameter set type has no value. It specifies the proper application of the QoS parameter set or service class name: to the provisioned set, the admitted set, and/or the active set. When two QoS parameter sets are the same, a multi-bit value of this parameter MAY be used to apply the QoS parameters to more than one set. A single message MAY contain multiple QoS parameter sets in separate type 24/25 service flow encodings for the same service flow. This allows specification of the QoS parameter sets when their parameters are different. Bit 0 is the LSB of the value field. + +For every service flow that appears in a registration request or registration response message, there MUST be a service flow encoding that specifies a ProvisionedQosParamSet. This service flow encoding, or other service flow encoding(s), MAY also specify an admitted and/or active set. + +Any service flow encoding that appears in a dynamic service message MUST NOT specify the ProvisionedQosParamSet. + +| Type | Length | Value | +|-----------|--------|-----------------------------------------------------------------------| +| [24/25].6 | 1 | Bit #0: Provisioned set
Bit #1: Admitted set
Bit #2: Active set | + +**Table C.2 – Values used in REG-REQ and REG-RSP messages** + +| Value | Messages | +|-------|--------------------------------------------------------------------------------------------------------------------------------------------------| +| 001 | Apply to provisioned set only | +| 011 | Apply to provisioned and admitted set; and perform admission control | +| 101 | Apply to provisioned and active sets; perform admission control on admitted set in separate service flow encoding; and activate the service flow | +| 111 | Apply to provisioned, admitted and active sets; perform admission control; and activate this service flow | + +**Table C.3 – Values used in REG-REQ, REG-RSP and dynamic service messages** + +| Value | Messages | +|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------| +| 010 | Perform admission control and apply to admitted set | +| 100 | Check against admitted set in separate service flow encoding; perform admission control if needed; activate this service flow; and apply to active set | +| 110 | Perform admission control and activate this service flow; apply parameters to both admitted and active sets | + +The value 000 is used only in dynamic service change messages. It is used to set the active and admitted sets to Null (see clause 10.1.7.4). + +A CMTS MUST handle a single update to each of the active and admitted QoS parameter sets. The ability to process multiple service flow encodings that specify the same QoS parameter set is NOT required, and is left as a vendor-specific function. If a DSA/DSC contains multiple updates to a single QoS parameter set and the vendor does not support such updates, then the CMTS MUST reply with error code 2, reject-unrecognized-configuration-setting. + +#### C.2.2.4 Service flow error encodings + +This field defines the parameters associated with service flow errors. + +| Type | Length | Value | +|-----------|--------|-------| +| [24/25].5 | n | | + +A service flow error encoding consists of a single service flow error parameter set that is defined by the following individual parameters: errored parameter, confirmation code and error message. + +The service flow error encoding is returned in REG-RSP, DSA-RSP and DSC-RSP messages to indicate the reason for the recipient's negative response to a service flow establishment request in a REG-REQ, DSA-REQ or DSC-REQ message. + +The service flow error encoding is returned in REG-ACK, DSA-ACK and DSC-ACK messages to indicate the reason for the recipient's negative response to the expansion of a service class name in a corresponding REG-RSP, DSA-RSP or DSC-RSP. + +On failure, the REG-RSP, DSA-RSP or DSC-RSP MUST include one service flow error encoding for at least one failed service flow requested in the REG-REQ, DSA-REQ or DSC-REQ message. On failure, the REG-ACK, DSA-ACK or DSC-ACK MUST include one service flow error encoding for at least one failed service class name expansion in the REG-RSP, DSA-RSP or DSC-RSP message. A service flow error encoding for the failed service flow MUST include the confirmation code and errored parameter and MAY include an error message. If some service flow parameter sets are rejected but other service flow parameter sets are accepted, then service flow error encodings MUST be included for only the rejected service flow. + +On success of the entire transaction, the RSP or ACK message MUST NOT include a service flow error encoding. + +Multiple service flow error encodings MAY appear in a REG-RSP, DSA-RSP, DSC-RSP, REG-ACK, DSA-ACK or DSC-ACK message, since multiple service flow parameters may be in error. A message with even a single service flow error encoding MUST NOT contain any QoS parameters. + +A service flow error encoding MUST NOT appear in any REG-REQ, DSA-REQ or DSC-REQ messages. + +#### C.2.2.4.1 Errored parameter + +The value of this parameter identifies the subtype of a requested service flow parameter in error in a rejected service flow request or service class name expansion response. A service flow error parameter set MUST have exactly one errored parameter TLV within a given service flow error encoding. + +| Subtype | Length | Value | +|-------------|--------|----------------------------------------| +| [24/25].5.1 | 1 | Service flow encoding subtype in error | + +#### C.2.2.4.2 Error code + +This parameter indicates the status of the request. A non-zero value corresponds to the confirmation code as described in clause C.4. A service flow error parameter set MUST have exactly one error code within a given service flow error encoding. + +| Subtype | Length | Value | +|-------------|--------|-------------------| +| [24/25].5.2 | 1 | Confirmation code | + +A value of okay (0) indicates that the service flow request was successful. Since a service flow error parameter set only applies to errored parameters, this value MUST NOT be used. + +#### C.2.2.4.3 Error message + +This subtype is optional in a service flow error parameter set. If present, it indicates a text string to be displayed on the CM console and/or log that further describes a rejected service flow request. A service flow error parameter set MAY have zero or one error message subtypes within a given service flow error encoding. + +| Subtype | Length | Value | +|-------------|--------|--------------------------------------------| +| [24/25].5.3 | n | Zero-terminated string of ASCII characters | + +NOTE 1 – The length n includes the terminating zero. + +NOTE 2 – The entire service flow encoding message MUST have a total length of less than 256 characters. + +### C.2.2.5 Common upstream and downstream quality-of-service parameter encodings + +The remaining type 24 and 25 parameters are QoS parameters. Any given QoS parameter type MUST appear zero or one times per service flow encoding. + +#### C.2.2.5.1 Traffic priority + +The value of this parameter specifies the priority assigned to a service flow. Given two service flows identical in all QoS parameters besides priority, the higher priority service flow SHOULD be given lower delay and higher buffering preference. For otherwise non-identical service flows, the + +priority parameter SHOULD NOT take precedence over any conflicting service flow QoS parameter. The specific algorithm for enforcing this parameter is not mandated here. + +For upstream service flows, the CMTS SHOULD use this parameter when determining precedence in request service and grant generation, and the CM MUST preferentially select contention request opportunities for priority request service IDs (refer to clause A.2.3) based on this priority and its request/transmission policy (refer to clause C.2.2.6.3). + +| Type | Length | Value | +|-----------|--------|--------------------------------------------------| +| [24/25].7 | 1 | 0 to 7 – Higher numbers indicate higher priority | + +NOTE – The default priority is 0. + +#### C.2.2.5.2 Maximum sustained traffic rate + +This parameter is the rate parameter R of a token-bucket-based rate limit for packets. R is expressed in bits per second, and MUST take into account all MAC frame data PDU of the service flow from the byte following the MAC header HCS to the end of the CRC28. The number of bytes forwarded (in bytes) is limited during any time interval T by Max(T), as described in equation C.1: + +$$\text{Max}(T) = T \times (R/8) + B \quad (\text{C.1})$$ + +where the parameter B (in bytes) is the maximum traffic burst configuration setting (refer to clause C.2.2.5.3). + +NOTE 1 – This parameter does not limit the instantaneous rate of the service flow. + +NOTE 2 – The specific algorithm for enforcing this parameter is not mandated here. Any implementation that satisfies the above equation is conformant. + +NOTE 3 – If this parameter is omitted or set to zero, then there is no explicitly enforced traffic rate maximum. This field specifies only a bound, not a guarantee that this rate is available. + +##### C.2.2.5.2.1 Upstream maximum sustained traffic rate + +For an upstream service flow, the CM MUST NOT request bandwidth exceeding the Max(T) requirement in equation C.1 during any interval T because this could force the CMTS to fill MAPs with deferred grants. + +The CM MUST defer upstream packets that violate equation C.1 and "rate shape" them to meet the expression, up to a limit as implemented by vendor buffering restrictions. + +The CMTS MUST enforce equation C.1 on all upstream data transmissions, including data sent in contention. The CMTS MAY consider unused grants in calculations involving this parameter. The CMTS MAY enforce this limit by any of the following methods: + +- discarding over-limit requests; +- deferring (through zero-length grants) the grant until it is conforming to the allowed limit; +or +- discarding over-limit data packets. + +A CMTS MUST report this condition to a policy module. If the CMTS is policing by discarding either packets or requests, the CMTS MUST allow a margin of error between the CM and CMTS algorithms. + +| Type | Length | Value | +|------|--------|------------------------| +| 24.8 | 4 | R (in bits per second) | + +28 The payload size includes every PDU in a concatenated MAC frame. + +#### C.2.2.5.2.2 Downstream maximum sustained traffic rate + +For a downstream service flow, this parameter is only applicable at the CMTS. The CMTS MUST enforce equation C.1 on all downstream data transmissions. The CMTS MUST NOT forward downstream packets that violates equation C.1 in any interval T. The CMTS SHOULD "rate shape" the downstream traffic by enqueueing packets arriving in excess of equation C.1, and delay them until the equation can be met. + +This parameter is not intended for enforcement on the CM. + +| Type | Length | Value | +|------|--------|------------------------| +| 25.8 | 4 | R (in bits per second) | + +#### C.2.2.5.3 Maximum traffic burst + +The value of this parameter specifies the token bucket size B (in bytes) for this service flow as described in equation C.1. This value is calculated from the byte following the MAC header HCS to the end of the CRC28. + +The minimum value of B is 1522 bytes. If this parameter is omitted, the default value for B is 3044 bytes. This parameter has no effect unless a non-zero value has been provided for the maximum sustained traffic rate parameter. For an upstream service flow, if B is sufficiently less than the maximum concatenated burst parameter, then enforcement of the rate limit equation will limit the maximum size of a concatenated burst. + +| Type | Length | Value | +|-----------|--------|-----------| +| [24/25].9 | 4 | B (bytes) | + +The specific algorithm for enforcing this parameter is not mandated here. Any implementation that satisfies the above equation is conformant. + +NOTE – The value of this parameter effects the trade-off between the data latency perceived by an individual application and the traffic engineering requirements of the network. A large value will tend to reduce the latency introduced by rate limiting for applications with bursty traffic patterns. A small value will tend to spread out the bursts of data generated by such applications, which may benefit traffic engineering within the network. + +#### C.2.2.5.4 Minimum reserved traffic rate + +This parameter specifies the minimum rate, in bit/s, reserved for this service flow. The CMTS SHOULD be able to satisfy bandwidth requests for a service flow up to its minimum reserved traffic rate. If less bandwidth than its minimum reserved traffic rate is requested for a service flow, the CMTS MAY reallocate the excess reserved bandwidth for other purposes. The aggregate minimum reserved traffic rate of all service flows MAY exceed the amount of available bandwidth. This value of this parameter is calculated from the byte following the MAC header HCS to the end of the CRC28. If this parameter is omitted, then it defaults to a value of 0 bit/s (i.e., no bandwidth is reserved for the flow by default). + +This field is only applicable at the CMTS and MUST be enforced by the CMTS. + +| Type | Length | Value | +|------------|--------|-------| +| [24/25].10 | 4 | | + +28 The payload size includes every PDU in a concatenated MAC frame. + +NOTE – The specific algorithm for enforcing the value specified in this field is not mandated here. + +#### C.2.2.5.5 Assumed minimum reserved rate packet size + +The value of this field specifies an assumed minimum packet size (in bytes) for which the minimum reserved traffic rate will be provided. This parameter is defined in bytes and is specified as the bytes following the MAC header HCS to the end of the CRC28. If the service flow sends packets of a size smaller than this specified value, such packets will be treated as being of the size specified in this parameter for calculating the minimum reserved traffic rate. + +The CMTS MUST apply this parameter to its minimum reserved traffic rate algorithm. This parameter is used by the CMTS to estimate the per-packet overhead of each packet in the service flow. + +If this parameter is omitted, then the default value is CMTS implementation-dependent. + +| Type | Length | Value | +|------------|--------|-------| +| [24/25].11 | 2 | | + +#### C.2.2.5.6 Timeout for active QoS parameters + +The value of this parameter specifies the maximum duration resources remain unused on an active service flow. If there is no activity on the service flow within this time interval, the CMTS MUST change the active and admitted QoS parameter sets to null. The CMTS MUST signal this resource change with a DSC-REQ to the CM. + +| Type | Length | Value | +|------------|--------|---------| +| [24/25].12 | 2 | Seconds | + +This parameter MUST be enforced at the CMTS and SHOULD NOT be enforced at the CM. The parameter is processed by the CMTS for every QoS set contained in registration messages and dynamic service messages. If the parameter is omitted, the default of 0 (i.e., infinite time-out) is assumed. The value specified for the active QoS set must be less than or equal to the corresponding value in the admitted QoS set, which must be less than or equal to the corresponding value in the provisioned/authorized QoS set. If the requested value is too large, the CMTS MAY reject the message or respond with a value less than that requested. If the registration or dynamic service message is accepted by the CMTS and acknowledged by the CM, the active MQoS time-out timer is loaded with the new value of the time-out. The timer is activated if the message activates the associated service flow. The timer is deactivated if the message sets the active QoS set to null. + +#### C.2.2.5.7 Timeout for admitted QoS parameters + +The value of this parameter specifies the duration that the CMTS MUST hold resources for a service flow's admitted QoS parameter set while they are in excess of its active QoS parameter set. If there is no DSC-REQ to activate the admitted QoS parameter set within this time interval, and there is no DSC to refresh the QoS parameter sets and restart the timeout (see clause 10.1.5.2), the resources that are admitted but not activated MUST be released, and only the active resources retained. The CMTS MUST set the admitted QoS parameter set equal to the active QoS parameter set for the service flow and initiate a DSC-REQ exchange with the CM to inform it of the change. + +| Type | Length | Value | +|------------|--------|---------| +| [24/25].13 | 2 | Seconds | + +28 The payload size includes every PDU in a concatenated MAC frame. + +This parameter MUST be enforced at the CMTS and SHOULD NOT be enforced at the CM. The parameter is processed by the CMTS for every QoS set contained in registration messages and dynamic service messages. If the parameter is omitted, the default of 200 seconds is assumed. A value of 0 means that the service flow can remain in the admitted state for an infinite amount of time and MUST NOT be timed out due to inactivity. However, this is subject to policy control by the CMTS. The value specified for the active QoS set must be less than or equal to the corresponding value in the admitted QoS set, which must be less than or equal to the corresponding value in the provisioned/authorized QoS set. If the requested value is too large, the CMTS MAY reject the message or respond with a value less than that requested. If the registration or dynamic service message containing this parameter is accepted by the CMTS and acknowledged by the CM, the admitted QoS timeout timer is loaded with the new value of the timeout. The timer is activated if the message admits resources greater than the active set. The timer is deactivated if the message sets the active QoS set and admitted QoS set equal to each other. + +#### C.2.2.5.8 Vendor-specific QoS parameters + +This allows vendors to encode vendor-specific QoS parameters using the DOCSIS extension field. The vendor ID MUST be the first TLV embedded inside vendor-specific QoS parameters. If the first TLV inside vendor-specific QoS parameters is not a vendor ID, then the TLV MUST be discarded (refer to clause C.1.1.17). + +| Type | Length | Value | +|------------|--------|-------| +| [24/25].43 | n | | + +#### C.2.2.6 Upstream-specific QoS parameter encodings + +##### C.2.2.6.1 Maximum concatenated burst + +The value of this parameter specifies the maximum concatenated burst (in bytes) that a service flow is allowed. This parameter is calculated from the FC byte of the concatenation MAC header to the last CRC in the concatenated MAC frame. + +A value of 0 means there is no limit. If this parameter is omitted, the default value is 1522. + +This field is only applicable at the CM. If defined, this parameter MUST be enforced at the CM. + +NOTE 1 – This value does not include any physical layer overhead. + +| Type | Length | Value | +|-------|--------|-------| +| 24.14 | 2 | | + +NOTE 2 – This applies only to concatenated bursts. It is legal and, in fact it may be useful, to set this smaller than the maximum Ethernet packet size. Of course, it is also legal to set this equal to or larger than the maximum Ethernet packet size. + +NOTE 3 – The maximum size of a concatenated burst can also be limited by the enforcement of a rate limit, if the maximum traffic burst parameter is small enough, and by limits on the size of data grants in the UCD message. + +##### C.2.2.6.2 Service flow scheduling type + +The value of this parameter specifies which upstream scheduling service is used for upstream transmission requests and packet transmissions. If this parameter is omitted, then best effort service MUST be assumed. + +This parameter is only applicable at the CMTS. If defined, this parameter MUST be enforced by the CMTS. + +| Type | Length | Value | +|----------------------------------------------------------------------------------------------------------------------------------------------|--------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 24.15 | 1 | 0: Reserved
1: For undefined (CMTS implementation-dependent a) )
2: For best effort
3: For non-real-time polling service
4: For real-time polling service
5: For unsolicited grant service with activity detection
6: For unsolicited grant service
7-255: Reserved for future use | +| a) The specific implementation-dependent scheduling service type could be defined in the 24.43 vendor-specific information field. | | | + +### C.2.2.6.3 Request/transmission policy + +The value of this parameter specifies which IUC opportunities the CM uses for upstream transmission requests and packet transmissions for this service flow, whether requests for this service flow may be piggybacked with data and whether data packets transmitted on this service flow can be concatenated, fragmented or have their payload headers suppressed. For UGS, it also specifies how to treat packets that do not fit into the UGS grant. See clause 10.2 for requirements related to settings of the bits of this parameter for each service flow scheduling type. + +This parameter is required for all service flow scheduling types except best effort. If omitted in a best effort service flow QoS parameter set, the default value of zero MUST be used. Bit #0 is the LSB of the value field. Bits are set to 1 to select the behaviour defined below: + +| Type | Length | Value | +|-------|--------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 24.16 | 4 | Bit #0: The service flow MUST NOT use "all CMs" broadcast request opportunities.
Bit #1: The service flow MUST NOT use priority request multicast request opportunities (refer to clause A.2.3).
Bit #2: The service flow MUST NOT use request/data opportunities for requests.
Bit #3: The service flow MUST NOT use request/data opportunities for data.
Bit #4: The service flow MUST NOT piggyback requests with data.
Bit #5: The service flow MUST NOT concatenate data.
Bit #6: The service flow MUST NOT fragment data.
Bit #7: The service flow MUST NOT suppress payload headers
Bit #8: The service flow MUST drop packets that do not fit in the unsolicited grant size a) b)
All other bits are reserved. | + +a) This bit only applies to service flows with the unsolicited grant service flow scheduling type, if this bit is set on any other service flow scheduling type it MUST be ignored. + +b) Packets that classify to an unsolicited grant service flow and are larger than the grant size associated with that service flow are normally transmitted on the primary service flow. This parameter overrides that default behaviour. + +NOTE – Data grants include both short and long data grants. + +#### C.2.2.6.4 Nominal polling interval + +The value of this parameter specifies the nominal interval (in units of microseconds) between successive unicast request opportunities for this service flow on the upstream channel. This parameter is typically suited for real-time and non-real-time polling service. + +The ideal schedule for enforcing this parameter is defined by a reference time, $t_0$ , with the desired transmission times $t_i = t_0 + i \times \text{interval}$ . The actual poll times, $t'_i$ , MUST be in the range $t_i \leq t'_i \leq (t_i + \text{jitter})$ , where interval is the value specified with this TLV, and jitter is tolerated poll jitter. The accuracy of the ideal poll times, $t_i$ , are measured relative to the CMTS master clock used to generate timestamps (refer to clause 9.3). + +This field is only applicable at the CMTS. If defined, this parameter MUST be enforced by the CMTS. + +| Type | Length | Value | +|-------|--------|---------------| +| 24.17 | 4 | $\mu\text{s}$ | + +#### C.2.2.6.5 Tolerated poll jitter + +The value in this parameter specifies the maximum amount of time that the unicast request interval may be delayed from the nominal periodic schedule (measured in microseconds) for this service flow. + +The ideal schedule for enforcing this parameter is defined by a reference time, $t_0$ , with the desired poll times $t_0 + i \times \text{interval}$ . The actual poll, $t'_i$ , MUST be in the range $t_i \leq t'_i \leq t_i + \text{jitter}$ , where jitter is the value specified with this TLV and interval is the nominal poll interval. The accuracy of the + +ideal poll times, $t_i$ , are measured relative to the CMTS master clock used to generate timestamps (refer to clause 9.3). + +This parameter is only applicable at the CMTS. If defined, this parameter represents a service commitment (or admission criteria) at the CMTS. + +| Type | Length | Value | +|-------|--------|---------------| +| 24.18 | 4 | $\mu\text{s}$ | + +#### C.2.2.6.6 Unsolicited grant size + +The value of this parameter specifies the unsolicited grant size in bytes. The grant size includes the entire MAC frame data PDU from the frame control byte to the end of the MAC frame. + +This parameter is applicable at the CMTS and MUST be enforced at the CMTS. + +| Type | Length | Value | +|-------|--------|-------| +| 24.19 | 2 | | + +NOTE – For UGS, this parameter should be used by the CMTS to compute the size of the unsolicited grant in mini-slots. + +#### C.2.2.6.7 Nominal grant interval + +The value of this parameter specifies the nominal interval (in units of microseconds) between successive data grant opportunities for this service flow. This parameter is required for unsolicited grant and unsolicited grant with activity detection service flows. + +The ideal schedule for enforcing this parameter is defined by a reference time, $t_0$ , with the desired transmission times $t_i = t_0 + i \times \text{interval}$ . The actual grant times, $t'_i$ , MUST be in the range $t_i \leq t'_i \leq t_i + \text{jitter}$ , where interval is the value specified with this TLV, and jitter is the tolerated grant jitter. When multiple grants per interval are requested, all grants MUST be within this interval, thus the nominal grant interval and tolerated grant jitter MUST be maintained by the CMTS for all grants in this service flow. The accuracy of the ideal grant times, $t_i$ , are measured relative to the CMTS master clock used to generate timestamps (refer to clause 9.3). + +This field is mandatory for unsolicited grant and unsolicited grant with activity detection scheduling types. This field is only applicable at the CMTS, and MUST be enforced by the CMTS. + +| Type | Length | Value | +|-------|--------|---------------| +| 24.20 | 4 | $\mu\text{s}$ | + +#### C.2.2.6.8 Tolerated grant jitter + +The values in this parameter specifies the maximum amount of time that the transmission opportunities may be delayed from the nominal periodic schedule (measured in microseconds) for this service flow. + +The ideal schedule for enforcing this parameter is defined by a reference time, $t_0$ , with the desired transmission times $t_i = t_0 + i \times \text{interval}$ . The actual transmission opportunities, $t'_i$ , MUST be in the range $t_i \leq t'_i \leq t_i + \text{jitter}$ , where jitter is the value specified with this TLV and interval is the nominal grant interval. The accuracy of the ideal grant times, $t_i$ , are measured relative to the CMTS master clock used to generate timestamps (refer to clause 9.3). + +This field is mandatory for unsolicited grant and unsolicited grant with activity detection scheduling types. This field is only applicable at the CMTS, and MUST be enforced by the CMTS. + +| Type | Length | Value | +|-------|--------|-------| +| 24.21 | 4 | μsec | + +#### C.2.2.6.9 Grants per interval + +For unsolicited grant service, the value of this parameter indicates the actual number of data grants per nominal grant interval. For unsolicited grant service with activity detection, the value of this parameter indicates the maximum number of active grants per nominal grant interval. This is intended to enable the addition of sessions to an existing unsolicited grant service flow via the dynamic service change mechanism, without negatively impacting existing sessions. + +The ideal schedule for enforcing this parameter is defined by a reference time, $t_0$ , with the desired transmission times $t_i = t_0 + i \times \text{interval}$ . The actual grant times, $t'_i$ , MUST be in the range $t_i \leq t'_i \leq t_i + \text{jitter}$ , where interval is the nominal grant interval, and jitter is the tolerated grant jitter. When multiple grants per interval are requested, all grants MUST be within this interval, thus the nominal grant interval and tolerated grant jitter MUST be maintained by the CMTS for all grants in this service flow. + +This field is mandatory for unsolicited grant and unsolicited grant with activity detection scheduling types. This field is only applicable at the CMTS, and MUST be enforced by the CMTS. + +| Type | Length | Value | Valid range | +|-------|--------|-------------|-------------| +| 24.22 | 1 | # of grants | 0-127 | + +#### C.2.2.6.10 IP type of service overwrite + +The CMTS MUST overwrite IP packets with IP ToS byte value "orig-ip-tos" with the value "new-ip-tos", where $\text{new-ip-tos} = ((\text{orig-ip-tos AND tos-and-mask}) \text{ OR tos-or-mask})$ . If this parameter is omitted, then the IP packet ToS byte is not overwritten. + +This parameter is only applicable at the CMTS. If defined, this parameter MUST be enforced by the CMTS. + +| Type | Length | Value | +|-------|--------|---------------------------| +| 24.23 | 2 | tos-and-mask, tos-or-mask | + +#### C.2.2.6.11 Unsolicited grant time reference + +For unsolicited grant service and unsolicited grant service with activity detection, the value of this parameter specifies a reference time, $t_0$ , from which can be derived the desired transmission times $t_i = t_0 + i \times \text{interval}$ , where interval is the nominal grant interval (refer to clause C.2.2.6.7). This parameter is applicable only for messages transmitted from the CMTS to the CM, and only when a UGS or UGS-AD service flow is being made active. In such cases, this is a mandatory parameter. + +| Type | Length | Value | Valid range | +|------|--------|----------------|-----------------| +| 24.2 | 4 | CMTS timestamp | 0-4'294'967'295 | + +The timestamp specified in this parameter represents a count state of the CMTS 10.24 MHz master clock. Since a UGS or UGS-AD service flow is always activated before transmission of this parameter to the modem, the reference time, $t_0$ , is to be interpreted by the modem as the ideal time of the next grant only if $t_0$ follows the current time. If $t_0$ precedes the current time, the modem can calculate the offset from the current time to the ideal time of the next grant according to: + +$$\text{interval} - (((\text{current time} - t_0)/10.24) \text{ modulus interval})$$ + +where interval is in units of microseconds, and current time and $t_0$ are in 10.24-MHz units. + +### C.2.2.7 Downstream-specific QoS parameter encodings + +#### C.2.2.7.1 Maximum downstream latency + +The value of this parameter specifies the maximum latency between the reception of a packet by the CMTS on its NSI and the forwarding of the packet to its RF interface. + +If defined, this parameter represents a service commitment (or admission criteria) at the CMTS and MUST be guaranteed by the CMTS. A CMTS does not have to meet this service commitment for service flows that exceed their minimum downstream reserved rate. + +| Type | Length | Value | +|-------|--------|---------------| +| 25.14 | 4 | $\mu\text{s}$ | + +#### C.2.2.8 Payload header suppression + +This field defines the parameters associated with payload header suppression. + +| Type | Length | Value | +|------|--------|-------| +| 26 | n | | + +NOTE – The entire payload header suppression TLV MUST have a length of less than 255 characters. + +##### C.2.2.8.1 Classifier reference + +The value of the field specifies a classifier reference that identifies the corresponding classifier (refer to clause C.2.1.3.1). + +| Type | Length | Value | +|------|--------|-------| +| 26.1 | 1 | 1-255 | + +##### C.2.2.8.2 Classifier identifier + +The value of the field specifies a classifier identifier that identifies the corresponding classifier (refer to clause C.2.1.3.2). + +| Type | Length | Value | +|------|--------|----------| +| 26.2 | 2 | 1-65'535 | + +##### C.2.2.8.3 Service flow reference + +The value of the field specifies a service flow reference that identifies the corresponding service flow (refer to clause C.2.2.3.1). + +| Type | Length | Value | +|------|--------|----------| +| 26.3 | 2 | 1-65'535 | + +##### C.2.2.8.4 Service flow identifier + +The value of this field specifies the service flow identifier that identifies the service flow to which the PHS rule applies. + +| Type | Length | Value | +|------|--------|-----------------| +| 26.4 | 4 | 1-4'294'967'295 | + +#### C.2.2.8.5 Dynamic service change action + +When received in a dynamic service change request, this indicates the action that MUST be taken with this payload header suppression byte string. + +| Type | Length | Value | +|------|--------|-------------------------------------------------------------------------------------| +| 26.5 | 1 | 0: Add PHS rule
1: Set PHS rule
2: Delete PHS rule
3: Delete all PHS rules | + +The "set PHS rule" command is used to add specific TLVs to a partially defined payload header suppression rule. A PHS rule is partially defined when the PHSF and PHSS values are not both known. A PHS rule becomes fully defined when the PHSF and PHSS values are both known. Once a PHS rule is fully defined, "set PHS rule" MUST NOT be used to modify existing TLVs. + +The "Delete all PHS Rules" command is used to delete all PHS rules for a specified service flow. See clause 8.3.15 for details on DSC-REQ required PHS parameters when using this option. + +NOTE – An attempt to add a PHS rule that already exists is an error condition. + +#### C.2.2.9 Payload header suppression error encodings + +This field defines the parameters associated with payload header suppression errors. + +| Type | Length | Value | +|------|--------|-------| +| 26.6 | n | | + +A payload header suppression error encoding consists of a single payload header suppression error parameter set which is defined by the following individual parameters: Errored parameter, confirmation code and error message. + +The payload header suppression error encoding is returned in REG-RSP, DSA-RSP and DSC-RSP messages to indicate the reason for the recipient's negative response to a payload header suppression rule establishment request in a REG-REQ, DSA-REQ or DSC-REQ message. + +On failure, the REG-RSP, DSA-RSP or DSC-RSP MUST include one payload header suppression error encoding for at least one failed payload header suppression rule requested in the REG-REQ, DSA-REQ or DSC-REQ message. A payload header suppression error encoding for the failed payload header suppression rule MUST include the confirmation code and errored parameter and MAY include an error message. If some payload header suppression rule sets are rejected but other payload header suppression rule sets are accepted, then payload header suppression error encodings MUST be included for only the rejected payload header suppression rules. On success of the entire transaction, the RSP or ACK message MUST NOT include a payload header suppression error encoding. + +Multiple payload header suppression error encodings MAY appear in a REG-RSP, DSA-RSP or DSC-RSP message, since multiple payload header suppression parameters may be in error. A message with even a single payload header suppression error encoding MUST NOT contain any other protocol payload header suppression encodings (e.g., IP, 802.1P/Q). + +A payload header suppression error encoding MUST NOT appear in any REG-REQ, DSA-REQ or DSC-REQ messages. + +### C.2.2.9.1 Errored parameter + +The value of this parameter identifies the subtype of a requested payload header suppression parameter in error in a rejected payload header suppression request. A payload header suppression error parameter set MUST have exactly one errored parameter TLV within a given payload header suppression error encoding. + +| Subtype | Length | Value | +|---------|--------|------------------------------------------------------| +| 26.6.1 | 1 | Payload header suppression encoding subtype in error | + +### C.2.2.9.2 Error code + +This parameter indicates the status of the request. A non-zero value corresponds to the confirmation code as described in clause C.4. A payload header suppression error parameter set MUST have exactly one error code within a given payload header suppression error encoding. + +| Subtype | Length | Value | +|---------|--------|-------------------| +| 26.6.2 | 1 | Confirmation code | + +A value of okay (0) indicates that the payload header suppression request was successful. Since a payload header suppression error parameter set only applies to errored parameters, this value MUST NOT be used. + +### C.2.2.9.3 Error message + +This subtype is optional in a payload header suppression error parameter set. If present, it indicates a text string to be displayed on the CM console and/or log that further describes a rejected payload header suppression request. A payload header suppression error parameter set MAY have zero or one error message subtypes within a given payload header suppression error encoding. + +| Subtype | Length | Value | +|---------|--------|--------------------------------------------| +| 26.6.3 | n | Zero-terminated string of ASCII characters | + +NOTE 1 – The length n includes the terminating zero. + +NOTE 2 – The entire payload header suppression encoding message MUST have a total length of less than 256 characters. + +## C.2.2.10 Payload header suppression rule encodings + +### C.2.2.10.1 Payload header suppression field (PHSF) + +The value of this field are the bytes of the headers that MUST be suppressed by the sending entity, and MUST be restored by the receiving entity. In the upstream, the PHSF corresponds to the string of PDU bytes starting with the first byte after the MAC header checksum. For the downstream, the PHSF corresponds to the string of PDU bytes starting with the 13th byte after the MAC header checksum. This string of bytes is inclusive of both suppressed and unsuppressed bytes of the PDU header. The value of the unsuppressed bytes within the PHSF is implementation-dependent. + +The ordering of the bytes in the value field of the PHSF TLV string MUST follow the sequence: + +*Upstream* + +MSB of PHSF value = 1st byte of PDU + +2nd MSB of PHSF value = 2nd byte of PDU + +... + +nth byte of PHSF (LSB of PHSF value) = nth byte of PDU + +*Downstream* + +MSB of PHSF value = 13th byte of PDU + +2nd MSB of PHSF value = 14th byte of PDU + +... + +nth byte of PHSF (LSB of PHSF value) = (n + 13)th byte of PDU + +| Type | Length | Value | +|------|--------|----------------------------| +| 26.7 | n | String of bytes suppressed | + +The length n MUST always be the same as the value for PHSS. + +#### C.2.2.10.2 Payload header suppression index (PHSI) + +The payload header suppression index (PHSI) has a value between 1 and 255 that uniquely references the suppressed byte string. The index is unique per service flow in the upstream direction and unique per CM in the downstream direction. The upstream and downstream PHSI values are independent of each other. + +| Type | Length | Value | +|------|--------|-------------| +| 26.8 | 1 | Index value | + +#### C.2.2.10.3 Payload header suppression mask (PHSM) + +The value of this field is used to interpret the values in the payload header suppression field. It is used at both the sending and receiving entities on the link. The PHSM allows fields such as sequence numbers or checksums, that vary in value, to be excluded from suppression with the constant bytes around them suppressed. + +| Type | Length | Value | +|------|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 26.9 | n | bit 0: 0 = Do not suppress first byte of the suppression field.
1 = Suppress first byte of the suppression field.
bit 1: 0 = Do not suppress second byte of the suppression field.
1 = Suppress second byte of the suppression field.
bit x: 0 = Do not suppress (x + 1) byte of the suppression field.
1 = Suppress (x + 1) byte of the suppression field. | + +The length n is ceiling (PHSS/8). Bit 0 is the MSB of the value field. The value of each sequential bit in the PHSM is an attribute for the corresponding sequential byte in the PHSF. + +If the bit value is a "1" (and verification passes or is disabled), the sending entity MUST suppress the byte, and the receiving entity MUST restore the byte from its cached PHSF. If the bit value is a "0", the sending entity MUST NOT suppress the byte, and the receiving entity MUST restore the byte by using the next byte in the packet. + +If this TLV is not included, the default is to suppress all bytes. + +#### C.2.2.10.4 Payload header suppression size (PHSS) + +The value of this field is the total number of bytes in the payload header suppression field (PHSF) for a service flow that uses payload header suppression. + +| Type | Length | Value | +|-------|--------|-------------------------------------------| +| 26.10 | 1 | Number of bytes in the suppression string | + +This TLV is used when a service flow is being created. For all packets that get classified and assigned to a service flow with payload header suppression enabled, suppression MUST be performed over the specified number of bytes as indicated by the PHSS and according to the PHSM. If this TLV is included in a service flow definition with a value of 0 bytes, then payload header suppression is disabled. A non-zero value indicates payload header suppression is enabled. Until the PHSS value is known, the PHS rule is considered partially defined, and suppression will not be performed. A PHS rule becomes fully defined when both PHSS and PHSF are known. + +#### C.2.2.10.5 Payload header suppression verification (PHSV) + +The value of this field indicates to the sending entity whether or not the packet header contents are to be verified prior to performing suppression. If PHSV is enabled, the sender MUST compare the bytes in the packet header with the bytes in the PHSF that are to be suppressed as indicated by the PHSM. + +| Type | Length | Value | +|-------|--------|-------------------------------| +| 26.11 | 1 | 0: Verify
1: Do not verify | + +If this TLV is not included, the default is to verify. Only the sender MUST verify suppressed bytes. If verification fails, the payload header MUST NOT be suppressed (refer to clause 10.4.3). + +#### C.2.2.10.6 Vendor-specific PHS parameters + +This allows vendors to encode vendor-specific PHS parameters using the DOCSIS extension field. The vendor ID MUST be the first TLV embedded inside vendor-specific PHS parameters. If the first TLV inside vendor-specific PHS parameters is not a vendor ID, then the TLV MUST be discarded (refer to clause C.1.1.17). + +| Type | Length | Value | +|-------|--------|-------| +| 26.43 | n | | + +### C.3 Encodings for other interfaces + +#### C.3.1 Telephone settings option + +This configuration setting describes parameters that are specific to telephone return systems. It is composed from a number of encapsulated type/length/value fields (see [DOCS6]). + +| Type | Length | Value | +|------------------|--------|-------| +| 15 (= TRI_CFG01) | n | | + +#### C.3.2 Baseline privacy configuration settings option + +This configuration setting describes parameters that are specific to baseline privacy. It is composed from a number of encapsulated type/length/value fields (see [DOCS8]). + +| Type | Length | Value | +|---------------|--------|-------| +| 17 (= BP_CFG) | n | | + +#### C.4 Confirmation code + +The confirmation code (CC) provides a common way to indicate failures for registration response, registration ack, dynamic service addition response, dynamic service addition ack, dynamic service delete response, dynamic service change response, dynamic service change ack and dynamic channel change response MAC management messages. The confirmation codes in this clause are used both as message confirmation codes and as error codes in error set encodings that may be carried in these messages. + +Confirmation code is one of the following: + +- okay/success (0); +- reject-other (1); +- reject-unrecognized-configuration-setting (2); +- reject-temporary/reject-resource (3); +- reject-permanent/reject-admin (4); +- reject-not-owner (5); +- reject-service-flow-not-found (6); +- reject-service-flow-exists (7); +- reject-required-parameter-not-present (8); +- reject-header-suppression (9); +- reject-unknown-transaction-id (10); +- reject-authentication-failure (11); +- reject-add-aborted (12); +- reject-multiple-errors (13); +- reject-classifier-not-found (14); +- reject-classifier-exists (15); +- reject-PHS-rule-not-found (16); +- reject-PHS-rule-exists (17); +- reject-duplicate-reference-ID-or-index-in-message (18); +- reject-multiple-upstream-service-flows (19); +- reject-multiple-downstream-service-flows (20); +- reject-classifier-for-another-service-flow (21); +- reject-PHS-for-another-service-flow (22); +- reject-parameter-invalid-for-context (23); +- reject-authorization-failure (24); +- reject-temporary-DCC (25). + +The confirmation codes MUST be used in the following way: + +- Okay or success (0) means the message was received and successful. +- Reject-other (1) is used when none of the other reason codes apply. +- Reject-unrecognized-configuration-setting (2) is used when a configuration setting is not recognized or when its value is outside of the specified range. +- Reject-temporary (3), also known as reject-resource, indicates that the current loading of the CMTS or CM prevents granting the request, but that the request might succeed at another time + +- Reject-permanent (4), also known as reject-admin, indicates that, for policy, configuration or capabilities reasons, the request would never be granted unless the CM/TS or CM were manually reconfigured or replaced. +- Reject-not-owner (5) the requester is not associated with this service flow. +- Reject-service-flow-not-found (6) the service flow indicated in the request does not exist. +- Reject-service-flow-exists (7) the service flow to be added already exists. +- Reject-required-parameter-not-present (8) a required parameter has been omitted. +- Reject-header-suppression (9) the requested header suppression cannot be supported for whatever reason. +- Reject-unknown-transaction-id (10) the requested transaction continuation is invalid because the receiving end-point does not view the transaction as being 'in process' (i.e., the message is unexpected or out of order). +- Reject-authentication-failure (11) the requested transaction was rejected because the message contained an invalid HMAC-Digest, CM/TS-MIC, provisioned IP address or timestamp. +- Reject-add-aborted (12) the addition of a dynamic service flow was aborted by the initiator of the dynamic service addition. +- Reject-multiple-errors (13) is used when multiple errors have been detected. +- Reject-classifier-not-found (14) is used when the request contains an unrecognized classifier ID. +- Reject-classifier-exists (15) indicates that the ID of a classifier to be added already exists. +- Reject-PHS-rule-not-found (16) indicates that the request contains an SFID/classifier ID pair for which no PHS rule exists. +- Reject-PHS-rule-exists (17) indicates that the request to add a PHS rule contains an SFID/classifier ID pair for which a PHS rule already exists. +- Reject-duplicate-reference-ID-or-index-in-message (18) indicates that the request used an SFR, classifier reference, SFID or classifier ID twice in an illegal way. +- Reject-multiple-upstream-service-flows (19) is used when DSA/DSC contains parameters for more than one upstream flow. +- Reject-multiple-downstream-service-flows (20) is used when DSA/DSC contains parameters for more than one downstream flow. +- Reject-classifier-for-another-service-flow (21) is used in DSA-RSP when the DSA-REQ includes classifier parameters for a SF other than the new SF(s) being added by the DSA. +- Reject-PHS-for-another-service-flow (22) is used in DSA-RSP when the DSA-REQ includes a PHS rule for a SF other than the new SF(s) being added by the DSA. +- Reject-parameter-invalid-for-context (23) indicates that the parameter supplied cannot be used in the encoding in which it was included, or that the value of a parameter is invalid for the encoding in which it was included. +- Reject-authorization-failure (24) the requested transaction was rejected by the authorization module. +- Reject-temporary-DCC (25) indicates that the requested resources are not available on the current channels at this time, and the CM should re-request them on new channels after completing a channel change in response to a DCC command which the CM/TS will send. If no DCC is received, the CM must wait for a time of at least T14 before re-requesting the resources on the current channels. + +#### C.4.1 Confirmation codes for dynamic channel change + +The CM may return in the DCC-RSP message an appropriate rejection code from clause C.4. It may also return one of the following confirmation codes, which are unique to DCC-RSP. The confirmation codes MUST be used in the following way: + +- depart (180) indicates the CM is on the old channel and is about to perform the jump to the new channel. +- arrive (181) indicates the CM has performed the jump and has arrived at the new channel. +- reject-already-there (182) indicates that the CMTS has asked the CM to move to a channel that it is already occupying. +- reject-20-disable (183) indicates that the CMTS has asked a CM with 2.0 mode disabled to move to a type 3 channel that it cannot use and a UCD substitution was sent in the corresponding DCC-REQ. + +#### C.4.2 Confirmation codes for major errors + +These confirmation codes MUST be used only as message confirmation codes in REG-ACK, DSA-RSP, DSA-ACK, DSC-RSP or DSC-ACK messages, or as the response code in REG-RSP messages for 1.1 CMs. In general, the errors associated with these confirmation codes make it impossible either to generate an error set that can be uniquely associated with a parameter set in the REG-REQ, DSA-REQ or DSC-REQ message, or to generate a full RSP message. + +- reject-major-service-flow-error (200); +- reject-major-classifier-error (201); +- reject-major-PHS-rule-error (202); +- reject-multiple-major-errors (203); +- reject-message-syntax-error (204); +- reject-primary-service-flow-error (205); +- reject-message-too-big (206); +- reject-invalid-modem-capabilities (207). + +The confirmation codes MUST be used only in the following way: + +- Reject-major-service-flow-error (200) indicates that the REQ message did not have either a SFR or SFID in a service flow encoding, and that service flow major errors were the only major errors. +- Reject-major-classifier-error (201) indicates that the REQ message did not have a classifier reference, or did not have both a classifier ID and a service flow ID, and that classifier major errors were the only major errors. +- Reject-major-PHS-rule-error (202) indicates that the REQ message did not have a both a service flow reference/identifier and a classifier reference/identifier, and that PHS rule major errors were the only major errors. +- Reject-multiple-major-errors (203) indicates that the REQ message contained multiple major errors of types 200, 201, 202. +- Reject-message-syntax-error (204) indicates that the REQ message contained syntax error(s) (e.g., a TLV length error) resulting in parsing failure. +- Reject-primary-service-flow-error (205) indicates that a REG-REQ or REG-RSP message did not define a required primary service flow, or a required primary service flow was not specified active. +- Reject-message-too-big (206) is used when the length of the message needed to respond exceeds the maximum allowed message size. + +- Reject-invalid-modem-capabilities (207) indicates that the REG-REQ contained either an invalid combination of modem capabilities or modem capabilities that are inconsistent with the services in the REG-REQ. + +## Annex D + +### CM configuration interface specification + +(This annex forms an integral part of this Recommendation) + +#### D.1 CM IP addressing + +##### D.1.1 DHCP fields used by the CM + +The following fields MUST be present in the DHCP request from the CM and MUST be set as described below: + +- The hardware type (htype) MUST be set to 1 (Ethernet). +- The hardware length (hlen) MUST be set to 6. +- The client hardware address (chaddr) MUST be set to the 48-bit MAC address associated with the RF interface of the CM. +- The "client identifier" option MUST be included, with the hardware type set to 1, and the value set to the same 48 bit MAC address as the chaddr field. +- Option code 60 (vendor class identifier) – To allow for the differentiation between DOCS 2.0 and DOCS 1.x CM requests, a compliant CM MUST send the following ASCII-coded string in option code 60, "docsis2.0:xxxxxxx". Where xxxxxxx MUST be an ASCII representation of the hexadecimal encoding of the modem capabilities; refer to clause C.1.3.1. For example, the ASCII encoding for the first two TLVs (concatenation and DOCS version) of a DOCS 2.0 modem would be 05nn010101020102. Note that many more TLVs are required for a DOCS2.0 modem and the field "nn" will contain the length of all the TLVs. This example shows only two TLVs for simplicity. +- The "parameter request list" option MUST be included. The option codes that MUST be included in the list are: + - Option code 1 (subnet mask); + - Option code 2 (time offset); + - Option code 3 (router option); + - Option code 4 (time server option); + - Option code 7 (log server option). + +The following fields are expected in the DHCP response returned to the CM. Fields identified as critical MUST be present in the DHCP response, and fields identified as non-critical SHOULD be present. The CM MUST configure itself with the critical fields from the DHCP response, and, if present, with the non-critical fields. + +- The IP address to be used by the CM (yiaddr) (critical). +- The IP address of the TFTP server for use in the next phase of the bootstrap process (siaddr) (critical). +- If the DHCP server is on a different network (requiring a relay agent), then the IP address of the relay agent (giaddr). +NOTE – This may differ from the IP address of the first hop router (non-critical). +- The name of the CM configuration file to be read from the TFTP server by the CM (file) (critical). +- The subnet mask to be used by the CM (subnet mask, option 1) (non-critical). + +- The time offset of the CM from universal coordinated time (UTC) (time offset, option 2). This is used by the CM to calculate the local time for use in timestamping error logs (non-critical). +- A list of addresses of one or more routers to be used for forwarding CM-originated IP traffic (router option, option 3). The CM is not required to use more than one router IP address for forwarding, but MUST use at least one (non-critical). +- A list of [RFC 868] time-servers from which the current time may be obtained (time server option, option 4) (non-critical). +- A list of SYSLOG servers to which logging information may be sent (log server option, option 7); see [DOCS5] (non-critical). + +If a critical field is missing, or is invalid in the DHCP response during initialization, the CM MUST log an error and re-initialize its MAC and continue channel scanning. + +If a non-critical field is missing or is invalid in the DHCP response during initialization, the CM MUST log a warning, ignore the field and go operational, with the following considerations: + +- If the subnet mask is missing or is invalid, the CM MUST use the default for the IP of class A, B or C as defined in [RFC 791]. +- If the time server is missing or is invalid, the CM MUST initialize the time for the events to Jan 1, 1970, 0h00. + +If the IP address field is missing or is invalid in the DHCP response during renew or rebind, the CM MUST log an error and re-initialize its MAC and continue channel scanning. + +If any other critical or non-critical field is missing or is invalid in the DHCP response during renew or rebind, the CM MUST log a warning, ignore the field if it is valid, and stay operational. + +To assist the DHCP server in differentiating a CM discovery request from a CPE-side LAN discovery request, a CMTS MUST implement the following: + +- All CMTSs MUST support the DHCP relay agent information option [RFC 3046]. Specifically, the CMTS MUST include the 48-bit MAC address of the RF side interface of the CM generating or bridging the DHCP discovery request in the agent remote ID sub-option field before relaying the discovery to a DHCP server. +- If the CMTS is a router, it MUST use a giaddr field to differentiate between CM and CPE side stations if they are provisioned to be in different IP subnets. Bridging CMTSs SHOULD also provide this functionality. + +## D.2 CM configuration + +### D.2.1 CM binary configuration file format + +The CM-specific configuration data MUST be contained in a file which is downloaded to the CM via TFTP. This is a binary file in the same format defined for DHCP vendor extension data [RFC 2132]. + +It MUST consist of a number of configuration settings (1 per parameter) each of the form: + +Type/Length/Value + +Type is a single-octet identifier which defines the parameter. + +Length is a single octet containing the length of the value field in octets (not including type and length fields). + +Value is from one to 254 octets containing the specific value for the parameter. + +The configuration settings MUST follow each other directly in the file, which is a stream of octets (no record markers). + +Configuration settings are divided into three types: + +- standard configuration settings which MUST be present; +- standard configuration settings which MAY be present; +- DOCSIS extension field configuration settings. + +CMs MUST be capable of processing all standard configuration settings. CMs MUST ignore any configuration setting present in the configuration file that it cannot interpret. To allow uniform management of CMs conformant to this Recommendation, conformant CMs MUST support a 8192-byte configuration file at a minimum. + +Authentication of the provisioning information is provided by two message integrity check (MIC) configuration settings, CM MIC and CMTS MIC. + +- CM MIC is a digest which ensures that the data sent from the provisioning server were not modified en route. This is NOT an authenticated digest (it does not include any shared secret). +- CMTS MIC is a digest used to authenticate the provisioning server to the CMTS during registration. It is taken over a number of fields, one of which is a shared secret between the CMTS and the provisioning server. + +Use of the CM MIC allows the CMTS to authenticate the provisioning data without needing to receive the entire file. + +Thus the file structure is of the form shown in Figure D.1: + +![Figure D.1 – Binary configuration file format diagram](bba553bb36568927a49fc400dd51d21a_img.jpg) + +The diagram shows a horizontal sequence of six rectangular boxes representing fields in a configuration file. From left to right, the labels are: 'Configuration setting 1', 'Configuration setting 2', an empty box with a dashed border, 'Configuration setting n', 'CM MIC', and 'CMTS MIC'. The dashed box indicates that there can be multiple configuration settings between the second and the nth setting. + +Figure D.1 – Binary configuration file format diagram + +J.122\_FD.2.1 + +**Figure D.1 – Binary configuration file format** + +## D.2.2 Configuration file settings + +The following configuration settings MUST be included in the configuration file and MUST be supported by all CMs. The CM MUST NOT send a REG-REQ based on a configuration file that lacks these mandatory items: + +- Network access configuration setting; +- CM MIC configuration setting; +- CMTS MIC configuration setting; +- End configuration setting; +- DOCS 1.0 class of service configuration setting. + +or: + +- Upstream service flow configuration setting; +- Downstream service flow configuration setting. + +NOTE 1 – A DOCS 1.0 CM must be provided with a DOCS 1.0 class of service configuration. A CM conformant with this Recommendation should only be provisioned with DOCS 1.0 class of service configuration information if it is to behave as a DOCS 1.0 CM; otherwise, it should be provisioned with service flow configuration settings. + +The following configuration settings MAY be included in the configuration file and if present MUST be supported by all CMs: + +- downstream frequency configuration setting; +- upstream channel id configuration setting; +- baseline privacy configuration setting; +- software upgrade filename configuration setting; +- upstream packet classification setting; +- downstream packet classification setting; +- SNMP write-access control; +- SNMP MIB object; +- software server IP address; +- CPE Ethernet MAC address; +- maximum number of CPEs; +- maximum number of classifiers; +- privacy enable configuration setting; +- payload header suppression; +- TFTP server timestamp; +- TFTP server provisioned modem address; +- pad configuration setting; +- SNMPv3 notification receiver; +- enable 2.0 mode; +- enable test modes; +- static multicast MAC address. + +The following configuration setting MAY be included in the configuration file and, if present and applicable to this type of modem, MUST be supported: + +- telephone settings option. + +The following configuration settings MAY be included in the configuration file and, if present, MAY be supported by a CM. + +- DOCSIS extension field configuration settings. + +NOTE 2 – There is a limit on the size of registration request and registration response frames (see clause 8.2.5.2). The configuration file should not be so large as to require the CM or CMTS to exceed that limit. + +### D.2.3 Configuration file creation + +The sequence of operations required to create the configuration file is as shown in Figures D.2 through D.5. + +- 1) Create the type/length/value entries for all the parameters required by the CM. + +| | +|-----------------------------------| +| Type length value for parameter 1 | +| Type length value for parameter 2 | +| | +| Type length value for parameter n | + +**Figure D.2 – Create TLV entries for parameters required by the CM** + +- 2) Calculate the CM message integrity check (MIC) configuration setting as defined in clause D.2.3.1 and add to the file following the last parameter using code and length values defined for this field. + +| | +|-----------------------------------| +| Type length value for parameter 1 | +| Type length value for parameter 2 | +| | +| Type length value for parameter n | +| Type length value for CM MIC | + +**Figure D.3 – Add CM MIC** + +- 3) Calculate the CMTS message integrity check (MIC) configuration setting as defined in clause D.3.1 and add to the file following the CM MIC using code and length values defined for this field. + +| | +|-----------------------------------| +| Type length value for parameter 1 | +| Type length value for parameter 2 | +| | +| Type length value for parameter n | +| Type length value for CM MIC | +| Type length value for CMTS MIC | + +**Figure D.4 – Add CMTS MIC** + +- 4) Add the end-of-data marker. + +| | +|-----------------------------------| +| Type length value for parameter 1 | +| Type length value for parameter 2 | +| | +| Type length value for parameter n | +| Type length value for CM MIC | +| Type length value for CMTS MIC | +| End-of-data marker | + +**Figure D.5 – Add end-of-data marker** + +**D.2.3.1 CM MIC calculation** + +The CM message integrity check configuration setting MUST be calculated by performing an MD5 digest over the bytes of the configuration setting fields. It is calculated over the bytes of these settings as they appear in the TFTPed image, without regard to TLV ordering or contents. There are two exceptions to this disregard of the contents of the TFTPed image: + +- 1) The bytes of the CM MIC TLV itself are omitted from the calculation. This includes the type, length, and value fields. +- 2) The bytes of the CMTS MIC TLV are omitted from the calculation. This includes the type, length, and value fields. + +On receipt of a configuration file, the CM MUST recompute the digest and compare it to the CM MIC configuration setting in the file. If the digests do not match then the configuration file MUST be discarded. + +### **D.3 Configuration verification** + +It is necessary to verify that the CM's configuration file has come from a trusted source. Thus, the CMTS and the configuration server share an authentication string that they use to verify portions of the CM's configuration in the registration request. + +#### **D.3.1 CMTS MIC calculation** + +The CMTS message integrity check configuration setting **MUST** be calculated by performing an MD5 digest over the following configuration setting fields, when present in the configuration file, in the order shown: + +- downstream frequency configuration setting; +- upstream channel id configuration setting; +- network access configuration setting; +- DOCS 1.0 class-of-service configuration setting; +- baseline privacy configuration setting; +- DOCSIS extension field configuration settings; +- CM MIC configuration setting; +- maximum number of CPEs; +- TFTP server timestamp; +- TFTP server provisioned modem address; +- upstream packet classification setting; +- downstream packet classification setting; +- upstream service flow configuration setting; +- downstream service flow configuration setting; +- maximum number of classifiers; +- privacy enable configuration setting; +- payload header suppression; +- subscriber management control; +- subscriber management CPE IP table; +- subscriber management filter groups; +- enable test modes. + +The bulleted list specifies the order of operations when calculating the CMTS MIC over configuration setting type fields. The CMTS **MUST** calculate the CMTS MIC over TLVs of the same type in the order they were received. Within type fields, the CMTS **MUST** calculate the CMTS MIC over the subtypes in the order they were received. To allow for correct CMTS MIC calculation by the CMTS, the CM **MUST NOT** reorder configuration file TLVs of the same type or subtypes within any given type in its registration request message. + +All configuration setting fields **MUST** be treated as if they were contiguous data when calculating the CM MIC. + +The digest **MUST** be added to the configuration file as its own configuration setting field using the CMTS MIC configuration setting encoding. + +The authentication string is a shared secret between the provisioning server (which creates the configuration files) and the CMTS. It allows the CMTS to authenticate the CM provisioning. The authentication string is to be used as the key for calculating the keyed CMTS MIC digest as stated in clause D.3.1.1. + +The mechanism by which the shared secret is managed is up to the system operator. + +On receipt of a configuration file, the CM MUST forward the CMTS MIC as part of the registration request (REG-REQ). + +On receipt of a REG-REQ, the CMTS MUST recompute the digest over the included fields and the authentication string and compare it to the CMTS MIC configuration setting in the file. If the digests do not match, the registration request MUST be rejected by setting the authentication failure result in the registration response status field. + +#### **D.3.1.1 Digest calculation** + +The CMTS MIC digest field MUST be calculated using HMAC-MD5 as defined in [RFC 2104]. + +## Annex E + +### The data-over-cable spanning tree protocol + +(This annex forms an integral part of this Recommendation) + +Clause 5.1.2.1 requires the use of the spanning tree protocol on CMs that are intended for commercial use and on bridging CMTSs. This annex describes how the IEEE 802.1D spanning tree protocol is adapted to work for data-over-cable systems. + +#### E.1 Background + +A spanning tree protocol is frequently employed in a bridged network in order to deactivate redundant network connections; i.e., to reduce an arbitrary network mesh topology to an active topology that is a rooted tree that spans all of the network segments. The spanning tree algorithm and protocol should not be confused with the data-forwarding function itself; data forwarding may follow transparent learning bridge rules, or may employ any of several other mechanisms. By deactivating redundant connections, the spanning tree protocol eliminates topological loops, which would otherwise cause data packets to be forwarded forever for many kinds of forwarding devices. + +A standard spanning tree protocol [b-ISO/IEC 10038] is employed in most bridged local area networks. This protocol was intended for private LAN use and requires some modification for cable data use. + +#### E.2 Public spanning tree + +To use a spanning tree protocol in a public-access network such as data-over-cable, several modifications are needed to the basic IEEE 802.1D process. Primarily, the public spanning tree must be isolated from any private spanning tree networks to which it is connected. This is to protect both the public cable network and any attached private networks. Figure E.1 illustrates the general topology. + +![Diagram illustrating the spanning tree topology for data-over-cable systems. A central horizontal bus line connects a CMTS (Cable Modem Termination System) on the left to three Cable modems. The top Cable modem is connected to a Bridged private network (represented by an oval). The bottom two Cable modems are connected to another Bridged private network (represented by an oval). The diagram is labeled J.122_FE-1.](1240ac770bfb4a7805029c473fdaadd6_img.jpg) + +``` +graph TD; CMTS[CMTS] --- Bus[ ]; Bus --- CM1[Cable modem]; Bus --- CM2[Cable modem]; Bus --- CM3[Cable modem]; CM1 --- BPN1([Bridged private network]); CM2 --- BPN2([Bridged private network]); CM3 --- BPN2; +``` + +Diagram illustrating the spanning tree topology for data-over-cable systems. A central horizontal bus line connects a CMTS (Cable Modem Termination System) on the left to three Cable modems. The top Cable modem is connected to a Bridged private network (represented by an oval). The bottom two Cable modems are connected to another Bridged private network (represented by an oval). The diagram is labeled J.122\_FE-1. + +Figure E.1 – Spanning tree topology + +The task for the public spanning tree protocol, with reference to Figure E.1, is to: + +- Isolate the private bridged networks from each other. If the two private networks merge spanning trees then each is subject to instabilities in the other's network. Also, the combined tree may exceed the maximum allowable bridging diameter. +- Isolate the public network from the private networks' spanning trees. The public network must not be subject to instabilities induced by customers' networks; nor should it change the spanning tree characteristics of the customers' networks. +- Disable one of the two redundant links into the cable network, so as to prevent forwarding loops. This should occur at the cable modem, rather than at an arbitrary bridge within the customer's network. + +The spanning tree protocol must also serve the topology illustrated in Figure E.2: + +![Figure E.2: Spanning tree across CMTSs. The diagram shows a 'Switched/Bridged Headend Network' on the left connected to two 'CMTS (bridge)' units. Each CMTS is connected to a 'Cable Modem', which in turn is connected to a 'Bridged Private Network' on the right. A link labeled 'Link-X' connects the headend network to the top CMTS. A label 'J.122_E-2' is present in the bottom right corner of the diagram area.](fb0319c4dcc4ab3fe727d783a67a355a_img.jpg) + +Figure E.2: Spanning tree across CMTSs. The diagram shows a 'Switched/Bridged Headend Network' on the left connected to two 'CMTS (bridge)' units. Each CMTS is connected to a 'Cable Modem', which in turn is connected to a 'Bridged Private Network' on the right. A link labeled 'Link-X' connects the headend network to the top CMTS. A label 'J.122\_E-2' is present in the bottom right corner of the diagram area. + +**Figure E.2 – Spanning tree across CMTSs** + +In Figure E.2, in normal operation, the spanning tree protocol should deactivate a link at one of the two cable modems. It should not divert traffic across the private network. Note that in some circumstances, such as deactivation of link-X, spanning tree will divert traffic onto the private network (although limits on learned MAC addresses will probably throttle most transit traffic). If this diversion is undesirable, then it must be prevented by means external to spanning tree; for example, by using routers. + +### **E.3 Public spanning tree protocol details** + +The data-over-cable spanning tree algorithm and protocol is identical to that defined in [b-ISO/IEC 10038], with the following exceptions: + +- When transmitting configuration bridge protocol data units (BPDUs), the data-over-cable spanning tree multicast address 01-E0-2F-00-00-03 MUST be used rather than that defined in IEEE 802.1D. These BPDUs will be forwarded rather than recalculated by ordinary IEEE 802.1D bridges. +- When transmitting configuration BPDUs, the SNAP header AA-AA-03-00-E0-2F-73-74 MUST be used rather than the LLC 42-42-03 header employed by IEEE 802.1D. This is to further differentiate these BPDUs from those used by IEEE 802.1D bridges, in the event that some of those bridges do not correctly identify multicast MAC addresses29. +- IEEE 802.1D BPDUs MUST be ignored and silently discarded. + +29 It is likely that there are a number of spanning tree bridges deployed that rely solely on the LSAPs to distinguish 802.1D packets. Such devices would not operate correctly if the data-over-cable BPDUs also used LSAP = 0x42. + +- Topology change notification (TCN) PDUs MUST NOT be transmitted (or processed). TCNs are used in IEEE networks to accelerate the aging of the learning database when the network topology may have changed. Since the learning mechanism within the cable network typically differs, this message is unnecessary and may result in unnecessary flooding. +- CMTSs operating as bridges must participate in this protocol and must be assigned higher priorities (more likely to be root) than cable modems. The NSI interface on the CMTS SHOULD be assigned a port cost equivalent to a link speed of at least 100 Mbit/s. These two conditions, taken together, should ensure that: + - 1) a CMTS is the root; and + - 2) any other CMTS will use the headend network rather than a customer network to reach the root. +- The MAC forwarder of the CMTS MUST forward BPDUs from upstream to downstream channels, whether or not the CMTS is serving as a router or a bridge. + +Note that CMs with this protocol enabled will transmit BPDUs onto subscriber networks in order to identify other CMs on the same subscriber network. These public spanning tree BPDUs will be carried transparently over any bridged private subscriber network. Similarly, bridging CMTSs will transmit BPDUs on the NSI as well as on the RFI interface. The multicast address and SNAP header defined above are used on all links. + +## E.4 Spanning tree parameters and defaults + +Clause 4.10.2 of [b-ISO/IEC 10038] specifies a number of recommended parameter values. Those values should be used, with the exceptions listed below: + +### E.4.1 Path cost + +In [b-ISO/IEC 10038], the following formula is used: + +$$\text{Path\_Cost} = 1000 / \text{Attached\_LAN\_speed\_in\_Mbit/s}$$ + +For CMs, this formula is adapted as: + +$$\text{Path\_Cost} = 1000 / (\text{Upstream\_modulation\_rate} \times \text{bits\_per\_symbol\_for\_long\_data\_grant})$$ + +That is, the modulation type (QPSK or 16QAM) for the long data grant IUC is multiplied by the raw modulation rate to determine the nominal path cost. Table E.1 provides the derived values. + +**Table E.1 – CM path cost** + +| Modulation rate | Default path cost | | +|-----------------|-------------------|-------| +| | QPSK | 16QAM | +| kHz | | | +| 160 | 3125 | 1563 | +| 320 | 1563 | 781 | +| 640 | 781 | 391 | +| 1280 | 391 | 195 | +| 2560 | 195 | 98 | + +For CMTSs, this formula is: + +$$\text{Path\_Cost} = 1000 / (\text{Downstream\_symbol\_rate} \times \text{bits\_per\_symbol})$$ + +#### **E.4.2 Bridge priority** + +The bridge priority for CMs SHOULD default to 36 864 (0x9000). This is to bias the network so that the root will tend to be at the CMs. The CMs SHOULD default to 32 768, as per [b-ISO/IEC 10038]. + +Note that both of these recommendations affect only the *default* settings. These parameters, as well as others defined in [b-ISO/IEC 10038], SHOULD be manageable throughout their entire range through the bridge MIB ([b-RFC 1493]) or other means. + +## Annex F + +### European specification additions + +(This annex forms an integral part of this Recommendation) + +This annex applies to the second technology option referred to in clause 1.1, "scope". + +This annex describes the physical layer specifications required for what are generally called Euro-DOCSIS cable modems. This is an optional annex and in no way affects certification of North American DOCSIS 1.x and DOCSIS 2.0 modems. + +The numbering of the clauses has been made so that the suffix after the F refers to the part of the specification that has changed. As a consequence, some clauses are missing in this annex because no change is required. + +#### F.1 Scope and purpose + +Refer to clause 1. + +#### F.2 References + +Refer to clause 2. + +#### F.3 Glossary + +Refer to clause 3. + +#### F.4 Functional assumptions + +This clause describes the characteristics of cable television plants to be assumed for the purpose of operating a data-over-cable system. It is not a description of CMTS or CM parameters. The data-over-cable system MUST be interoperable with the environment described in this clause. + +##### F.4.1 Broadband access network + +A coaxial-based broadband access network is assumed. This may take the form of either an all-coax or hybrid-fibre/coax (HFC) network. The generic term "cable network" is used here to cover all cases. + +A cable network uses a shared-medium, tree-and-branch architecture with analogue transmission. The key functional characteristics assumed in this annex are the following: + +- two-way transmission; +- a maximum optical/electrical spacing between the CMTS and the most distant customer terminal of 160 km (route metres); +- a maximum differential optical/electrical spacing between the CMTS and the closest and most distant modems of 160 km (route metres). + +##### F.4.2 Equipment assumptions + +###### F.4.2.1 Frequency plan + +In the downstream direction, the cable system is assumed to have a passband with a typical lower edge between 47 and 87.5 MHz and an upper edge which is implementation-dependent but is typically in the range of 300 to 862 MHz. Within that passband, PAL/SECAM analogue television signals in 7/8 MHz channels, FM-radio signals, as well as other narrow-band and wideband digital signals are assumed to be present. + +In the upstream direction, the cable system is assumed to have a passband with a lower edge at 5 MHz and an upper edge which is implementation-dependent but is typically in the range of 25 to 65 MHz. + +#### F.4.2.2 Compatibility with other services + +Refer to clause 4.2.2. + +#### F.4.2.3 Fault isolation impact on other users + +Refer to clause 4.2.3. + +#### F.4.2.4 Cable system terminal devices + +Compliance with EMC requirements is not covered by this Recommendation. The protection requirements with respect to electromagnetic compatibility are contained in harmonized standards published in the official journal of the European communities. + +Any reference in this Recommendation to the transmission of television in the forward channel that is not consistent with [b-EN 300 429] is outside the normative scope, as only [b-EN 300 429] is used for digital multi-program TV distribution by cable in European applications. + +Requirements for safety are outside the scope of this Recommendation. Safety standards for European applications are published by CENELEC. + +NOTE 1 – Examples of such CENELEC product safety standards are [b-EN 60950] and [b-EN 50083-1]. + +NOTE 2 – For CENELEC safety categories of interfaces, see [b-EG 201 212]. + +### F.4.3 RF channel assumptions + +Refer to 4.3. + +#### F.4.3.1 Transmission downstream + +The RF channel transmission characteristics of the cable network in the downstream direction, assumed for the purposes of minimal operating capability, are described in Table F.1. This assumes nominal analogue video carrier level (peak envelope power) in a 7/8 MHz channel bandwidth. All conditions are present concurrently. + +**Table F.1 – Assumed downstream RF channel transmission characteristics for analogue TV and sound signals** + +| Parameter | Value | +|----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Frequency range | Cable system normal downstream operating range is from 47 MHz to as high as 862 MHz. However, the operating range for data communication is from 108 to 862 MHz. The use of frequencies between 108 and 136 MHz may be forbidden due to national regulation with regard to interference with aeronautical navigation frequencies. | +| RF channel spacing (design bandwidth) | 7/8 MHz. Only 8-MHz channels are used for data communication | +| Transit delay from headend to most distant customer | $\leq 0.800$ ms (typically much less) | +| Carrier-to-noise ratio in a 8 MHz band (analogue video level) | Not less than 44 dB (Note 4) | +| Carrier-to-interference ratio for total power (discrete and broadband ingress signals) | Not less than 52 dB within the design bandwidth | + +**Table F.1 – Assumed downstream RF channel transmission characteristics +for analogue TV and sound signals** + +| Parameter | Value | +|------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------| +| Composite triple beat distortion for analogue modulated carriers | Not greater than –57 dBc within the design bandwidth (Note 6 a) | +| Composite second-order distortion for analogue modulated carriers | Not greater than –57 dBc within the design bandwidth (Note 6 b) | +| Cross-modulation level | Under consideration | +| Amplitude ripple (maximum) | 2.5 dB in 8 MHz | +| Group delay ripple in the spectrum occupied by the CMTS | 100 ns over frequency range 0.5-4.43 MHz | +| Micro-reflections bound for dominant echo | –10 dBc @ $\leq 0.5 \mu\text{s}$ , –15 dBc @ $\leq 1.0 \mu\text{s}$
–20 dBc @ $\leq 1.5 \mu\text{s}$ , –30 dBc @ $> 1.5 \mu\text{s}$ | +| Carrier hum modulation | Not greater than –46 dBc (0.5%) | +| Burst noise | Not longer than 25 $\mu\text{s}$ at a 10-Hz average rate | +| Seasonal and diurnal signal level variation | 8 dB | +| Signal level slope, 85-862 MHz | Maximum slope of 12 dB in either the positive or negative direction | +| Maximum analogue video carrier level at the system outlet, inclusive of above signal level variation | 77 dB $\mu$ V (Note 6 c) | +| Lowest analogue video carrier level at the system outlet, inclusive of above signal level variation | 60 dB $\mu$ V (Note 6 d) | + +NOTE 1 – Transmission is from the headend combiner to the CM input at the customer location. +NOTE 2 – For measurements above, the normal downstream operating frequency band (except hum), impairments are referenced to the highest-frequency PAL/SECAM carrier level. +NOTE 3 – For hum measurements above, the normal downstream operating frequency band, a continuous-wave carrier is sent at the test frequency at the same level as the highest-frequency PAL/SECAM carrier. +NOTE 4 – This presumes that the average digital carrier is operated at the analogue peak carrier power level. When the digital carrier is operated below the analogue peak carrier level, this C/N may be less. +NOTE 5 – Measurements methods are defined in [b-EN 50083-7] +NOTE 6 – For SECAM systems, the following values apply: +a) Not greater than –52 dBc within the design bandwidth. +b) Not greater than –52 dBc within the design bandwidth. +c) 74 dB $\mu$ V. +d) 57 dB $\mu$ V. + +#### F.4.3.2 Transmission upstream + +The RF channel transmission characteristics of the cable network in the upstream direction, assumed for the purposes of minimal operating capability, are described in Table F.2. All conditions are present concurrently. + +**Table F.2 – Assumed upstream RF channel transmission characteristics** + +| Parameter | Value | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------| +| Frequency range | 5 up to 65 MHz edge to edge | +| Transit delay from the most distant CM to the nearest CM or CMTS | $\leq 0.800$ ms (typically much less) | +| Carrier-to-noise ratio in active channel | Not less than 22 dB | +| Carrier-to-ingress power (the sum of discrete and broadband ingress signals) ratio in active channel | Not less than 22 dB (Note 2) | +| Carrier-to-interference (the sum of noise, distortion, common-path distortion and cross-modulation) ratio in active channel | Not less than 22 dB | +| Carrier hum modulation | Not greater than $-23$ dBc (7.0%) | +| Burst noise | Not longer than $10$ $\mu\text{s}$ at a 1-kHz average rate for most cases (Notes 3 and 4) | +| Amplitude ripple (maximum) | 5-65 MHz: 2.5 dB in 2 MHz | +| Group delay ripple (maximum) | 5-65 MHz: 300 ns in 2 MHz | +| Micro-reflections (maximum) single echo | $-10$ dBc @ $\leq 0.5$ $\mu\text{s}$
$-20$ dBc @ $\leq 1.0$ $\mu\text{s}$
$-30$ dBc @ $> 1.0$ $\mu\text{s}$ | +| Seasonal and diurnal signal level variation | Not greater than 12 dB min. to max. | +| NOTE 1 – Transmission is from the CM output at the customer location to the headend. | | +| NOTE 2 – Ingress avoidance or tolerance techniques MAY be used to ensure operation in the presence of time-varying discrete ingress signals that could be as high as 0 dBc. | | +| NOTE 3 – Amplitude and frequency characteristics sufficiently strong to partially or wholly mask the data carrier. | | +| NOTE 4 – Impulse noise levels more prevalent at lower frequencies ( $< 15$ MHz). | | + +**F.4.3.2.1 Availability** + +Refer to clause 4.3.2.1. + +**F.4.4 Transmission levels** + +The nominal average power level of the downstream CMTS QAM signal(s) within an 8-MHz channel is targeted to be in the range $-13$ dBc to $0$ dBc relative to the analogue peak video carrier level and will normally not exceed the analogue peak video carrier level (typically between $-10$ to $-6$ dBc for 64QAM, and between $-6$ to $-4$ dBc for 256QAM). The nominal power level of the upstream CM signal(s) will be as low as possible to achieve the required margin above noise and interference. Uniform power loading per unit bandwidth is commonly followed in setting upstream signal levels, with specific levels established by the cable network operator to achieve the required carrier-to-noise and carrier-to-interference ratios. + +**F.4.5 Frequency inversion** + +Refer to clause 4.5. + +**F.5 Communication protocols** + +Refer to clause 5. + +## **F.6 Physical media dependent sublayer specification** + +### **F.6.1 Scope** + +This clause applies to the second technology option referred to in clause 1.1, "scope". In those cases where the requirement for both technology options are identical, a reference is provided to the main text. + +Whenever any reference in this clause to spurious emissions conflicts with any legal requirement for the area of operation, the latter shall take precedence. + +### **F.6.2 Upstream** + +#### **F.6.2.1 Overview** + +Refer to clause 6.2.1. + +#### **F.6.2.2 Signal processing requirements** + +Refer to clause 6.2.2. + +#### **F.6.2.3 Modulation formats** + +Refer to clause 6.2.3. + +#### **F.6.2.4 R-S encode** + +##### **F.6.2.4.1 R-S encode modes** + +Refer to clause 6.2.4.1. + +##### **F.6.2.4.2 R-S bit-to-symbol ordering** + +Refer to clause 6.2.4.2. + +#### **F.6.2.5 R-S frame structure** + +Refer to clause 6.2.5. + +##### **F.6.2.5.1 R-S codeword length** + +Refer to clause 6.2.5.1. + +###### **F.6.2.5.1.1 Burst size** + +Refer to clause 6.2.5.1.1. + +###### **F.6.2.5.1.2 Fixed codeword length** + +Refer to clause 6.2.5.1.2. + +###### **F.6.2.5.1.3 Shortened last codeword** + +Refer to clause 6.2.5.1.3. + +##### **F.6.2.5.2 R-S FEC disabled** + +Refer to clause 6.2.5.2. + +#### **F.6.2.6 TDMA byte interleaver** + +Refer to clause 6.2.6. + +##### **F.6.2.6.1 Byte interleaver parameters** + +Refer to clause 6.2.6.1. + +### **F.6.2.6.2 Interleaver operating modes** + +Refer to clause 6.2.6.2. + +#### **F.6.2.6.2.1 Fixed mode** + +Refer to clause 6.2.6.2.1. + +#### **F.6.2.6.2.2 Dynamic mode** + +Refer to clause 6.2.6.2.2. + +##### **F.6.2.6.2.2.1 Dynamic mode calculations** + +Refer to clause 6.2.6.2.2.1. + +### **F.6.2.7 Scrambler (randomizer)** + +Refer to clause 6.2.7. + +### **F.6.2.8 TCM encoder** + +Refer to clause 6.2.8. + +#### **F.6.2.8.1 Bytes to TCM symbol mapping** + +Refer to clause 6.2.8.1. + +### **F.6.2.9 Preamble prepend** + +Refer to clause 6.2.9. + +### **F.6.2.10 Modulation rates** + +Refer to clause 6.2.10. + +### **F.6.2.11 S-CDMA framer and interleaver** + +Refer to clause 6.2.11. + +#### **F.6.2.11.1 S-CDMA framing considerations** + +Refer to clause 6.2.11.1. + +#### **F.6.2.11.2 Mini-slot numbering** + +Refer to clause 6.2.11.2. + +##### **F.6.2.11.2.1 Mini-slot numbering parameters in UCD** + +Refer to clause 6.2.11.2.1. + +##### **F.6.2.11.2.2 Mini-slot numbering examples** + +Refer to clause 6.2.11.2.2. + +#### **F.6.2.11.3 Transmission time** + +Refer to clause 6.2.11.3. + +#### **F.6.2.11.4 Latency considerations** + +Refer to clause 6.2.11.4. + +#### **F.6.2.11.5 Spreader-off bursts for maintenance on S-CDMA channel** + +Refer to clause 6.2.11.5. + +#### **F.6.2.11.6 Limiting the number of codes assigned to a CM** + +Refer to clause 6.2.11.6. + +#### **F.6.2.12 S-CDMA framer** + +Refer to clause 6.2.12. + +##### **F.6.2.12.1 Subframe definition** + +Refer to clause 6.2.12.1. + +##### **F.6.2.12.2 Framer operation** + +Refer to clause 6.2.12.2. + +###### **F.6.2.12.2.1 Rules for preamble and coded TCM symbols** + +Refer to clause 6.2.12.2.1. + +###### **F.6.2.12.2.2 Rules for uncoded symbols and the uncoded TCM subsymbols** + +Refer to clause 6.2.12.2.2. + +###### **F.6.2.12.2.3 Subframe example** + +Refer to clause 6.2.12.2.3. + +###### **F.6.2.12.2.4 Frame transmission** + +Refer to clause 6.2.12.2.4. + +#### **F.6.2.13 Symbol mapping** + +Refer to clause 6.2.13. + +#### **F.6.2.14 S-CDMA spreader** + +Refer to clause 6.2.14. + +##### **F.6.2.14.1 Code hopping** + +Refer to clause 6.2.14.1. + +#### **F.6.2.15 Transmit pre-equalizer** + +Refer to clause 6.2.15. + +#### **F.6.2.16 Spectral shaping** + +Refer to clause 6.2.16. + +##### **F.6.2.16.1 Upstream frequency agility and range** + +The upstream PMD sublayer MUST support operation over the frequency range of 5-65 MHz edge to edge. + +Offset frequency resolution MUST be supported, having a range of $\pm 32$ kHz (increment = 1 Hz; implement within $\pm 10$ Hz). + +##### **F.6.2.16.2 Spectrum format** + +Refer to clause 6.2.16.2. + +#### **F.6.2.17 Relative processing delays** + +Refer to clause 6.2.17. + +#### F.6.2.18 Transmit power requirements + +The CM MUST support varying the amount of transmit power. Requirements are presented for: + +- 1) range of reported transmit power; +- 2) step size of power commands; +- 3) step size accuracy (actual change in output power compared to commanded change); and +- 4) absolute accuracy of CM output power. + +The protocol by which power adjustments are performed is defined in clause 11.2.4. Such adjustments by the CM MUST be within the ranges of tolerances described below. A CM MUST confirm that the transmit power limits are met after a RNG-RSP is received or after a UCD change. + +Transmit power is defined as the average RF power in the occupied bandwidth (channel width) transmitted in the data symbols of a burst, assuming equally likely QAM symbols, measured at the F-connector of the CM. + +Maximum and minimum transmit power level requirements refer to the CM's target transmit power level, defined as the CM's estimate of its actual transmit power. The actual transmitted power MUST be within $\pm 2$ dB of the target power. The target transmit power MUST be variable over the range specified in Table F.5. + +Transmit power as reported by the CM in the MIB is referenced to the 64QAM constellation. When transmitting with other constellations, a slightly different transmit power will result, depending on the constellation gain in Table F.3 (see clause 6.2.13). As an example, if the reported power is 90 dB $\mu$ V, 64QAM will be transmitted with a target power of 90 dB $\mu$ V, while QPSK will be transmitted with 88.82 dB $\mu$ V. + +**Table F.3 – Constellation gains and power limits** + +| Constellation | Constellation Gain $G_{const}$ relative to 64QAM (dB) | $P_{min}$ (dB $\mu$ V) | $P_{max}$ (dB $\mu$ V) TDMA | $P_{max}$ (dB $\mu$ V) S-CDMA | $P_{min} - G_{const}$ (dB $\mu$ V) | $P_{max} - G_{const}$ (dB $\mu$ V) TDMA | $P_{max} - G_{const}$ (dB $\mu$ V) S-CDMA | +|---------------|-------------------------------------------------------|------------------------|-----------------------------|-------------------------------|------------------------------------|-----------------------------------------|-------------------------------------------| +| QPSK | -1.18 | 68 | 118 | 113 | 69.18 | 119.18 | 114.18 | +| 8QAM | -0.21 | 68 | 115 | 113 | 68.21 | 115.21 | 113.21 | +| 16QAM | -0.21 | 68 | 115 | 113 | 68.21 | 115.21 | 113.21 | +| 32QAM | 0.00 | 68 | 114 | 113 | 68.00 | 114.00 | 113.00 | +| 64QAM | 0.00 | 68 | 114 | 113 | 68.00 | 114.00 | 113.00 | +| 128QAM | 0.05 | 68 | N/A | 113 | 67.95 | N/A | 112.95 | + +The actual transmitted power within a burst MUST be constant to within 0.1 dB peak to peak. This excludes the amplitude variation theoretically present due to QAM amplitude modulation, pulse shaping, pre-equalization and for S-CDMA, spreading and varying number of allocated codes. + +The CM MUST support the transmit power calculations defined in clauses F.6.2.18.1 and F.6.2.18.2 + +##### F.6.2.18.1 TDMA transmit power calculations + +In TDMA mode, the CM determines its target transmit power $P_t$ as follows. Define: + +$P_r$ = Reported power level (dB $\mu$ V) of CM in MIB (refers to 64QAM constellation) + +$\Delta P$ = Power level adjustment (dB); for example, as commanded in ranging response message + +$G_{const}$ = Constellation gain (dB) relative to 64QAM constellation (see Table F.3) + +| | | | +|-----------|---|----------------------------------------------------------------------------------------------| +| $P_{min}$ | = | Minimum target transmit power permitted for the CM per clause 6.2.21.1 (see Table F.3) | +| $P_{max}$ | = | Maximum target transmit power permitted for the CM per clause 6.2.21.1 (see Table F.3) | +| $P_{hi}$ | = | $\min(P_{max} - G_{const})$ over all burst profiles used by the CM (see Table F.3) | +| $P_{low}$ | = | $\max(P_{min} - G_{const})$ over all burst profiles used by the CM (see Table F.3) | +| $P_t$ | = | Target transmit power level (dB $\mu$ V) of CM (actual transmitted power as estimated by CM) | + +The CM updates its reported power by the following steps: + +- 1) $P_r = P_r + \Delta P$ //Add power level adjustment to reported power level +- 2) $P_r = \min[P_r, P_{hi}]$ //Clip at max power limit +- 3) $P_r = \max[P_r, P_{low}]$ //Clip at min power limit + +The CM then transmits with target power $P_t = P_r + G_{const}$ , i.e., the reported power plus the constellation gain. + +Usually the reported power level is a relatively constant quantity, while the transmitted power level varies dynamically as different burst profiles, with different constellation gains, are transmitted. A CM's target transmit power MUST never be below $P_{min}$ or above $P_{max}$ . This implies that, in some cases, the extreme transmit power levels (e.g., 118 dB $\mu$ V for QPSK and 68 dB $\mu$ V) may not be permitted if burst profiles with multiple constellations are active. Also, if only QPSK is used, the reported power may be greater than 118 dB $\mu$ V, although the target transmit power will not exceed 118 dB $\mu$ V. + +For example, if only QPSK and 64QAM burst profiles are active, $P_{hi} = 114$ dB $\mu$ V and $P_{low} = 69.2$ dB $\mu$ V. The maximum permitted QPSK transmitted power is $114 - 1.2 = 112.8$ dB $\mu$ V, the minimum QPSK power is $69.2 - 1.2 = 68$ dB $\mu$ V, the maximum 64QAM power is 114 dB $\mu$ V, and the minimum 64QAM power is 69.2 dB $\mu$ V. + +## F.6.2.18.2 S-CDMA transmit power calculations + +Refer to clause 6.2.18.2. + +### F.6.2.18.2.1 S-CDMA transmit power calculations with maximum scheduled codes not enabled + +In S-CDMA mode, when maximum scheduled codes is not enabled, the CM determines its target transmit power $P_t$ as follows. Define: + +| | | | +|-----------|---|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| $P_r$ | = | reported power level (dBmV) of CM in MIB (refers to 64QAM constellation and all active codes transmitted) | +| $P_{hi}$ | = | $\min[P_{max} - G_{const}]$ over all burst profiles used by the CM (see Table F.3) | +| $P_{low}$ | = | $\max[P_{min} - G_{const}] + 10 \log(\text{number\_active\_codes}/\text{number\_of\_codes\_per\_mini-slot})$ where the maximum is over all burst profiles used by the CM (see Table F.3) | + +The CM updates its reported power by the following steps: + +- 1) $P_r = P_r + \Delta P$ //Add power level adjustment to reported power level +- 2) $P_r = \min[P_r, P_{hi}]$ //Clip at max power limit +- 3) $P_r = \max[P_r, P_{low}]$ //Clip at min power limit + +In a spreader-on frame, the CM then transmits each code $i$ with target power: + +$$P_{t,i} = P_r + G_{const,i} - 10 \log(\text{number\_active\_codes})$$ + +i.e., the reported power plus the constellation gain $G_{const,i}$ of that code, less a factor taking into account the number of active codes. The total transmit power $P_t$ in a frame is the sum of the individual transmit powers $P_{t,i}$ of each code, where the sum is performed using absolute power quantities (non-dB domain). + +In a spreader-off frame, the CM target transmit power is $P_t = P_r + G_{const}$ . + +The transmitted power level varies dynamically as the number of allocated codes varies, and as different burst profiles, with different constellation gains, are transmitted. A CM's target transmit power MUST never be below $P_{min}$ or above $P_{max}$ , including over all numbers of allocated codes and all burst profiles. This implies that in some cases the extreme transmit power levels (e.g., 68 and 113 dB $\mu$ V) may not be permitted. Also if, for example, only QPSK is used, the reported power may be greater than 113 dB $\mu$ V, although the target transmit power will not exceed 113 dB $\mu$ V. + +If, for example, QPSK and 64QAM burst profiles are active, the number of active codes is 128 and the number of codes per mini-slot is 2, then $P_{hi} = 113$ dB $\mu$ V and $P_{low} = 87.24$ dB $\mu$ V. The maximum permitted QPSK transmitted power is $113 - 1.18 = 111.82$ dB $\mu$ V when all active codes are transmitted, the minimum QPSK power is $87.24 - 1.18 - 10\log(128) + 10\log(2) = 68$ dB $\mu$ V when one mini-slot is transmitted. The last term in the sum is the result of summing the individual powers over 2 codes. Similarly, the maximum 64QAM power is 113 dB $\mu$ V when all active codes are transmitted, and the minimum 64QAM power is $87.24 - 10\log(128) + 10\log(2) = 69.18$ dB $\mu$ V with one mini-slot transmitted. The minimum QPSK power permitted while transmitting, for example, 2 mini-slots is 71 dB $\mu$ V, and the minimum 64QAM power permitted while transmitting 2 mini-slots is 72.2 dB $\mu$ V. + +The CM needs to implement some form of clipping on the transmitted waveform at the higher output powers in order to prevent peak to average ratio (PAR) issues. + +The power received at the CMTS in a spreader-on frame will sometimes be less than the nominal power of a spreader-off frame because of such factors as: + +- 1) broadcast opportunities not used by any CM; +- 2) unicast grants not used by one or more CMs; or +- 3) mini-slots assigned to the NULL SID. + +#### F.6.2.18.2.2 S-CDMA transmit power calculations with maximum scheduled codes enabled + +In S-CDMA mode on channels on which maximum scheduled codes is enabled, the CM determines its target transmit power $P_t$ as follows. Define: + +$$\begin{aligned} + P_r &= \text{reported power level (dBmV) of CM in MIB (operational transmit power of the spreader-off ranging burst referenced to 64QAM modulation)} \\ + P_{hi\_S} &= \min[113 - G_{const}] \text{ over all spreader-on burst profiles used by the CM (see Table F.3)} \\ + P_{low\_S} &= \max[68 - G_{const}] + 10 \log(\text{number\_active\_codes} / \text{number\_of\_codes\_per\_mini-slot}) \text{ where the maximum is over all burst profiles used by the CM (see Table F.3)} \\ + P_{max\_T} &= \text{maximum target transmit power permitted for the CM in TDMA mode (see Table F.3) for the constellation used in ranging.} \\ + P_{hi\_T} &= \min[P_{max\_T} - G_{const}] \text{ over all spreader-off burst profiles used by the CM (see Table F.3)} \\ + P_{on} &= P_r \text{ clipped at the maximum spreader-on limit} \\ + P_{sf} &= \text{CM power shortfall} \\ + P_{hr} &= \text{S-CDMA power headroom} \\ + \Delta P &= \text{power level adjustment in dB sent from CMTS to CM} + \end{aligned}$$ + +The CM updates its reported power by the following steps: + +- 1) $P_r = P_r + \Delta P$ //Add power level adjustment to reported power level +- 2) $P_r = \min[P_r, P_{hi\_T}]$ //Clip at max TDMA power limit +- 3) $P_r = \max[P_r, P_{low\_S}]$ //Clip at min S-CDMA power limit +- 4) $P_{on} = \min[P_r, P_{hi\_S}]$ //Clip at max S-CDMA power limit + +In spreader-off frames, the CM transmits with target power + +$$P_t = P_r + G_{const}$$ + +Based on the spreader-off transmit power, the CM updates its power shortfall according to the following steps: + +- 1) $P_{sf} = P_r + \max[G_{const,i}] - 113$ //Difference between spreader-off reported and max spreader-on target powers +- 2) $P_{sf} = \max[P_{sf}, 0]$ //Set $P_{sf}$ to 0 if $P_t$ is less than 113 dB $\mu$ V + +In spreader-on frames, the CM transmits each code i with target power + +$$P_{t,i} = P_{on} + G_{const,i} - 10 \log(\text{number\_active\_codes}) + P_{hr}$$ + +i.e., the clipped reported power plus the constellation gain $G_{const,i}$ of that code, less a factor taking into account the number of active codes, plus the power headroom $P_{hr}$ . $P_{hr}$ is the power (in dB) added to account for CMs that have a maximum scheduled codes limit and can transmit additional power per code. The total transmit power $P_t$ in a frame is the sum of the individual transmit powers $P_{t,i}$ of each code, where the sum is performed over all $N_{alloc}$ allocated codes using absolute power quantities (non-dB domain). + +$$P_t = 10 \log \sum_{i=1}^{N_{alloc}} 10^{P_{t,i}/10}$$ + +If, for example, the burst profile contains QPSK for IUCs 1, 2, 3 and 4 and 64QAM for IUCs 9 and 10, the number of active codes is 128, and the number of codes per mini-slot is 2, then $P_{hi\_S} = 113$ dB $\mu$ V, $P_{low\_S} = 87.24$ dB $\mu$ V, and $P_{hi\_T} = 118$ dB $\mu$ V. Assume the CM ranges at spreader-off target transmit power of 117 dB $\mu$ V. The CM reports $P_{sf} = 117$ dB $\mu$ V - 113 dB $\mu$ V = 4 dB. The CMTS uses $P_{sf}$ to set (using its vendor-specific algorithm) $\text{max\_scheduled\_codes} = 32$ and $P_{hr} = 6$ dB (the S-CDMA power headroom may differ from the power shortfall, at the discretion of the CMTS). The CM sets its transmitted power per code to: + +$$\begin{aligned} P_{ti} &= P_{on} + G_{const,i} - 10 \log(\text{number\_active\_codes}) + P_{hr} \\ &= 113 \text{ dB}\mu\text{V} + 0 \text{ dB} - 21 \text{ dB} + 6 \text{ dB} \quad \text{//For a code with 64QAM modulation} \\ &= 98 \text{ dB}\mu\text{V} \end{aligned}$$ + +A parameter that may be used to illustrate the effect of increased power per code is the effective transmit power, $P_{eff}$ , the power that would result hypothetically if all $N_{act}$ active codes were transmitted. It is computed as: + +$$\begin{aligned} P_{eff} &= 10 \log \sum_{i=1}^{N_{act}} 10^{P_{t,i}/10} \\ &= P_{on} + P_{hr} + 10 \log \frac{1}{N_{act}} \sum_{i=1}^{N_{act}} 10^{G_{const,i}/10} \end{aligned}$$ + +where the last term is the average constellation gain. + +For a reference case with all codes transmitted using 64QAM modulation ( $G_{const} = 0$ dB), the effective transmit power reduces to: + +$$P_{eff} = P_{on} + P_{hr}$$ + +Continuing the above example, the result is: + +$$\begin{aligned} P_{eff} &= 113 \text{ dB}\mu\text{V} + 6 \text{ dB} \\ &= 119 \text{ dB}\mu\text{V} \end{aligned}$$ + +Limiting the number of codes has given the CM an enhanced effective power of 119 dB $\mu$ V, which is 6 dB above the normal maximum of 113 dB $\mu$ V, and 2 dB above the ranging power of 117 dB $\mu$ V. In this example, the CMTS used its discretion to ask for 2 dB more enhancement than was needed ( $P_{hr} = 6$ dB vs $P_{sf} = 4$ dB), perhaps due to some known impairment in the channel. + +The effective SNR is an SNR estimate for a given code corresponding to the effective transmit power. It is defined as the measured SNR at the last station maintenance, minus the CM power shortfall, plus the power headroom, plus the difference in constellation gain between the ranging burst and the code under consideration. Its equation is: + +$$effective\_SNR = measured\_SNR - P_{sf} + P_{hr} + (G_{const, i} - G_{const, ranging})$$ + +where $G_{const, ranging}$ is the constellation gain of the ranging burst that resulted in the SNR measurement. In the MIB, *effective\_SNR* corresponds to a reference case with 64QAM modulation ( $G_{const, i} = 0$ dB): + +$$effective\_SNR = measured\_SNR - P_{sf} + P_{hr} - G_{const, ranging}$$ + +Continuing the example, if the measured SNR in the last station maintenance was 17 dB using QPSK modulation ( $G_{const, ranging} = -1.18$ dB), then the effective SNR referenced to 64QAM modulation is: + +$$effective\_SNR = 17 \text{ dB} - 4 \text{ dB} + 6 \text{ dB} + 1.18 \text{ dB} = 20.18 \text{ dB}$$ + +### F.6.2.18.3 Transmit power step size + +The step resolution in transmit power MUST be 1 dB or less. When a CM is commanded with finer resolution than it can implement, it MUST round to the nearest supported step size. If the commanded step is halfway between two supported step sizes, the CM MUST choose the smaller step. For example, with a supported step resolution of 1 dB, a command to step $\pm 0.5$ dB would result in no step, while a command to step $\pm 0.75$ dB would result in a $\pm 1$ dB step. + +The step size accuracy MUST be within $\pm 0.4$ dB. For example, the actual power increase resulting from a command to increase the power level by 1 dB in a CM's next transmitted burst MUST be between 0.6 dB and 1.4 dB. + +A relaxation in step size accuracy to $\pm 1.4$ dB is allowed for one gain change when changing the power throughout the full power control range in either direction (from low-end to high-end power and vice versa). The locations of these two gain changes with relaxed accuracy MUST be at least 2 dB apart, thus enabling the use of large step attenuators in the coverage of the full power control range (hysteresis effect). + +### F.6.2.19 Burst profiles + +The transmission characteristics are separated into three portions: + +- a) channel parameters; +- b) burst profile attributes; and +- c) user-unique parameters. + +The channel parameters include: + +- i) the modulation rate (six rates from 160 ksymb/s to 5.12 Msymb/s in octave steps); +- ii) the centre frequency (Hz); +- iii) the 1536-bit preamble superstring; and +- iv) the S-CDMA channel parameters. + +The channel parameters are further described in Table 8-18; these characteristics are shared by all users on a given channel. The burst profile attributes are listed in Table F.4 and are further described in Table 8-19; these parameters are the shared attributes corresponding to a burst type. The user-unique parameters may vary for each user even when using the same burst type on the same channel as another user (for example, power level), and are listed in Table F.5. + +**Table F.4 – Burst profile attributes** + +| Burst profile attributes | Configuration settings | +|----------------------------------------------------------------------|--------------------------------------------------------------------------------------| +| Modulation | QPSK, 8QAM, 16QAM, 32QAM, 64QAM, 128QAM (TCM only) | +| Differential encoding | On/off | +| TCM encoding | On/off | +| Preamble length | 0-1536 bits (see clause F.6.2.9) | +| Preamble value offset | 0 to 1534 | +| R-S FEC error correction (T) | 0 to 16 (0 implies no R-S FEC. The number of codeword parity bytes is $2 \times T$ ) | +| R-S FEC codeword information bytes (k) | Fixed: 16 to 253 (assuming R-S FEC on)
Shortened: 16 to 253 (assuming R-S FEC on) | +| Scrambler seed | 15 bits | +| Maximum burst length (mini-slots) a) | 0 to 255 | +| Guard time | 4 to 255 modulation intervals
There is no guard time in S-CDMA | +| Last codeword length | Fixed, shortened | +| Scrambler on/off | On/off | +| Interleaver width ( $N_r$ ) (R-S codeword length, $k + 2 \times T$ ) | 18 to 255 | +| Byte interleaver depth ( $I_r$ ) b) | 0 to floor $(2048/N_r)^{c)}$ | +| Byte interleaver block size ( $B_r$ ) d) | $2 \times N_r$ to 2048 | +| Interleaver packet size ( $N_f$ ), (in bytes, including FEC) | $\geq 18$ bytes | +| Preamble type | QPSK0/QPSK1 | +| S-CDMA spreader e) | On/off | +| S-CDMA codes per subframe e) | 1 to 128 | + +**Table F.4 – Burst profile attributes** + +| Burst profile attributes | Configuration settings | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------| +| S-CDMA interleaver step e) | 1 to (spreading intervals per frame – 1) | +| a) A burst length of 0 mini-slots in the channel profile means that the burst length is variable on that channel for that burst type. The burst length, while not fixed, is granted explicitly by the CMTS to the CM in the MAP.
b) If depth = 1, no interleaving; if depth = 0, dynamic mode.
c) $N_r$ is the R-S codeword size $k + 2T$ as defined in clause F.6.2.1.
d) Used only in dynamic mode.
e) Used only for S-CDMA channels. | | + +**Table F.5 – User-unique burst parameters** + +| User-unique parameter | Adjustment command | | +|----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Power level | 8-bit two's complement, resolution = 0.25 dB | TDMA:
+68 to +114 dB $\mu$ V (32QAM, 64QAM)
+68 to +115 dB $\mu$ V (8QAM, 16QAM)
+68 to +118 dB $\mu$ V (QPSK)
S-CDMA:
+68 to +113 dB $\mu$ V (all modulations)
Resolution + 1 dB or better | +| Offset frequency (Note) | Range = $\pm 32$ kHz, resolution = 1 Hz | Frequency range per clause F.6.2.16.1 frequency agility and range | +| Ranging offset | Integer part: 32-bit two's complement, resolution = $(1/10.24 \text{ MHz}) = 6.25 \text{ } \mu\text{s}/64 = 97.65625 \text{ ns}$
Fractional part: unsigned 8-bit fractional extension, resolution = $6.25 \text{ } \mu\text{s}/(64*256) = 0.3814697265625 \text{ ns}$ | Range: sufficient for maximum cable plant length per clause F.4.1, broadband access network
Resolution: TDMA $6.25 \mu\text{s}/64$ . S-CDMA: $6.25 \mu\text{s}/(64*256)$ | +| Burst Length (mini-slots) if variable on this channel (changes burst-to-burst) | N/A | 1 to 255 mini-slots | +| Transmit equalizer coefficients
(See clause F.6.2.15, transmit pre-equalizer) | DOCSIS 2.0 mode: 24 complex coefficients, 4 bytes per coefficient (2 real and 2 imaginary), load and convolve modes
DOCSIS 1.1 mode: up to 64 complex coefficients, 4 bytes per coefficient (2 real and 2 imaginary), convolve mode only | DOCSIS 2.0 mode: 24 complex coefficients
DOCSIS 1.1 mode: up to 64 complex coefficients | + +The CM MUST generate each burst at the appropriate time as conveyed in the mini-slot grants provided by the CMTS MAPs (see clause 8.3.4). + +The CM MUST support all burst profiles commanded by the CMTS via the burst descriptors in the UCD (see clause 8.3.3), and subsequently assigned for transmission in a MAP (see clause 8.3.4). + +#### **F.6.2.19.1 Ranging offset** + +Ranging offset is the time difference between the CM upstream frame time base and the CMTS upstream frame time base. It is an advancement equal to roughly the round-trip delay between the CM and the CMTS, and is needed to synchronize upstream transmissions in the TDMA and S-CDMA schemes. The CMTS MUST provide the CM with feedback adjustments of this offset, based on reception of one or more successfully received bursts (i.e., satisfactory result from each technique employed: error correction and/or CRC). The CMTS sends these timing adjust commands to the CM in the ranging response MAC message, where a negative value implies the ranging offset is to be decreased, resulting in later times of transmission at the CM. + +For TDMA channels, the CM MUST implement the timing adjust command with resolution of at most 1 symbol duration (of the symbol rate in use for a given burst), and (other than a fixed bias) with accuracy within $\pm 0.25 \mu\text{s}$ plus $\pm 1/2$ symbol owing to resolution. As an example, for the maximum symbol rate of 5.12 Msymb/s, the corresponding symbol period would be 195 ns, the corresponding maximum resolution for the timing adjust MUST be 195 ns, and the corresponding minimum accuracy MUST be $\pm 348 \text{ ns}$ . The accuracy of CM burst timing of $\pm 0.25 \mu\text{s}$ plus $\pm 1/2$ symbol is relative to the mini-slot boundaries derivable at the CM based on an ideal processing of the timestamp signals received from the CMTS. + +The resolution of the integer part of the timing adjust parameter, which is used for TDMA channels, is $(1/10.24 \text{ MHz}) = 6.25 \mu\text{s}/64 \approx 97.66 \text{ ns}$ . For S-CDMA channels, the CMTS provides an additional fractional field in the timing adjust command, with resolution of $1/16384$ of the frame tick increment $= 6.25 \mu\text{s}/(64*256) \approx 0.3814 \text{ ns}$ . + +For S-CDMA channels, the CM MUST implement the timing adjust to within $\pm 0.01$ of the nominal chip period. As an example, for the maximum chip rate of 5.12 Mchips/s, the corresponding maximum resolution for implementation of the timing correction would be $(\pm 0.01)*195 \text{ ns}$ or roughly $\pm 2 \text{ ns}$ . + +#### **F.6.2.19.2 TDMA reconfiguration times** + +Refer to clause 6.2.19.2. + +#### **F.6.2.19.3 S-CDMA reconfiguration times** + +Refer to clause 6.2.19.3. + +#### **F.6.2.19.4 CM timing offsets when changing modulation rate** + +Refer to clause 6.2.19.4. + +#### **F.6.2.20 Burst timing convention** + +Refer to clause 6.2.20. + +#### **F.6.2.21 Fidelity requirements** + +The following requirements assume that any pre-equalization is disabled unless otherwise noted. + +##### **F.6.2.21.1 Spurious emissions** + +The spurious emissions specifications are separated into two regions based on the transmit power. Region 1 is defined to have a power range of $+74 \text{ dB}\mu\text{V}$ to $(P_{max} - 3)$ , i.e., the central region. Region 2 is defined from $+68 \text{ dB}\mu\text{V}$ to $+74 \text{ dB}\mu\text{V}$ and $(P_{max} - 3)$ to $P_{max}$ , i.e., the low and high ends of the transmit power. $P_{max}$ depends on the modulation order, per Table F.5, as follows: for TDMA, $+118 \text{ dB}\mu\text{V}$ for QPSK, $+115 \text{ dB}\mu\text{V}$ for 8QAM/16QAM, $+114 \text{ dB}\mu\text{V}$ for 32QAM/64QAM, and $+113 \text{ dB}\mu\text{V}$ for all modulations of S-CDMA. + +For S-CDMA mode, when a modem is transmitting fewer than 4 spreading codes, the region 2 specifications are used for all transmit power levels. Otherwise, for all other numbers of spreading codes (e.g., 4 to 128) or for TDMA mode, the spurious emissions specifications are used according to the power ranges defined for regions 1 and 2 above. + +In addition, for S-CDMA, the spurious emission specifications for S-CDMA MUST be met for any *number\_allocated\_codes*, as defined in clause F.6.2.19. + +The noise and spurious power MUST NOT exceed the levels given in Tables F.6, F.7 and F.8. + +**Table F.6 – Spurious emissions** + +| Parameter | Transmitting Burst | Between Bursts | +|----------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------| +| Inband | –40 dBc | The greater of –72 dBc or +1 dBμV | +| Adjacent band | See Table F.7 | The greater of –72 dBc or +1 dBμV | +| 3 or fewer carrier-related frequency bands (such as second harmonic, if <65 MHz) | Region 1: –50 dBc for transmitted modulation rate = 320 kHz and above; –47 dBc for transmitted modulation rate = 160 kHz
Region 2: –47 dBc | The greater of –72 dBc or +1 dBμV | +| Bands within 5 to 65 MHz (excluding assigned channel, adjacent channels and carrier-related channels) | See Table F.8 | The greater of –72 dBc or +1 dBμV | +| CM integrated spurious emissions limits (all in 250 kHz, includes discretes)
87.5 to 108 MHz | 30 dBμV | 1 dBμV | +| CM integrated spurious emissions limits (all in 4.75 MHz, includes discretes a) )
65 to 87.5 MHz
108 to 136 MHz
136 to 862 MHz | max –40 dBc, 34 dBμV
20 dBμV
15 dBμV | 34 dBμV
15 dBμV
max (15 dBμV, –40 dB ref d/s b) ) | +| CM discrete spurious emissions limits c) )
65 to 87.5 MHz
108 to 862 MHz | max –50 dBc, 24 dBμV
10 dBμV | 24 dBμV
10 dBμV | + +a) The frequencies from 108 to 136 MHz may be forbidden due to national regulations. + +b) "dB ref d/s" is relative to the received downstream signal level. Some spurious outputs are proportional to the receive signal level. + +c) These specification limits exclude a single discrete spur related to the tuned received channel; this single discrete spur MUST NOT be greater than 20 dBμV. + +**Table F.7 – Adjacent channel spurious emissions relative to the transmitted burst power level** + +| Transmitted carrier modulation rate | Specification in the interval, region 1 | Specification in the interval, region 2 | Measurement interval and distance from carrier edge | Adjacent channel carrier modulation rate | +|-------------------------------------|-----------------------------------------|-----------------------------------------|-----------------------------------------------------|------------------------------------------| +| All modulation rates | –47 dBc | –45 dBc | 20 kHz to 180 kHz | 160 ksymb/s | +| | –47 dBc | –45 dBc | 40 kHz to 360 kHz | 320 ksymb/s | +| | –46 dBc | –45 dBc | 80 kHz to 720 kHz | 640 ksymb/s | +| | –45 dBc | –44 dBc | 160 kHz to 1440 kHz | 1280 ksymb/s | +| | –44 dBc | –41 dBc | 320 kHz to 2880 kHz | 2560 ksymb/s | +| | –42 dBc | –38 dBc | 640 kHz to 5760 kHz | 5120 ksymb/s | + +**Table F.8 – Spurious emissions in 5 to 65 MHz relative to the transmitted burst power level** + +| Possible modulation rate in this interval | Specification in the interval, region 1 | Specification in the interval, region 2 | Initial measurement interval and distance from carrier edge | +|-------------------------------------------|-----------------------------------------|-----------------------------------------|-------------------------------------------------------------| +| 160 ksymb/s | –54 dBc | –53 dBc | 220 kHz to 380 kHz | +| 320 ksymb/s | –52 dBc | –50 dBc | 240 kHz to 560 kHz | +| 640 ksymb/s | –50 dBc | –47 dBc | 280 kHz to 920 kHz | +| 1280 ksymb/s | –48 dBc | –44 dBc | 360 kHz to 1640 kHz | +| 2560 ksymb/s | –46 dBc | –41 dBc | 520 kHz to 3080 kHz | +| 5120 ksymb/s | –44 dBc | –38 dBc | 840 kHz to 5960 kHz | + +In Table F.6, inband spurious includes noise, carrier leakage, clock lines, synthesizer spurious products and other undesired transmitter products. It does not include ISI. The measurement bandwidth for inband spurious is equal to the modulation rate (e.g., 160 to 5120 kHz). All requirements expressed in dBc are relative to the actual transmit power that the CM emits. + +The measurement bandwidth for the three (or fewer) carrier-related frequency bands (below 65 MHz) is 160 kHz, with up to three 160 kHz bands, each with no more than the value given in Table F.6, allowed to be excluded from the bands within 5 to 65 MHz transmitting burst specifications of Table F.8. Carrier-related spurious emissions include all products whose frequency is a function of the carrier frequency of the upstream transmission such as, but not limited to, carrier harmonics. + +The measurement bandwidth is also 160 kHz for the between bursts specifications of Table F.6 below 65 MHz. + +The transmitting burst specifications apply during the mini-slots granted to the CM (when the CM uses all or a portion of the grant) and for 32 modulation intervals before and after the granted mini-slots. The between bursts specifications apply except during a used grant of mini-slots, and the 32 modulation intervals before and after the used grant. + +In TDMA mode, a mini-slot may be as short as 32 modulation intervals, or 6.25 microseconds at the 5.12 Msymb/s rate, or as short as 200 microseconds at the 160 ksymb/s rate. + +These specification limits exclude three or fewer discrete spurs. Such spurs must not be greater than 20 dB $\mu$ V. + +#### F.6.2.21.1.1 Adjacent channel spurious emissions + +Spurious emissions from a transmitted carrier may occur in an adjacent channel that could be occupied by a carrier of the same or different modulation rate. Table F.7 lists the required adjacent channel spurious emission levels for all combinations of transmitted carrier modulation rates and adjacent channel modulation rates. The measurement is performed in an adjacent channel interval that is of appropriate bandwidth and distance from the transmitted carrier based on the modulation rates of the transmitted carrier and the carrier in the adjacent channel. + +#### F.6.2.21.1.2 Spurious emissions in 5 to 65 MHz + +Spurious emissions, other than those in an adjacent channel or carrier-related emissions listed above, may occur in intervals (frequency bands) that could be occupied by other carriers of the same or different modulation rates. To accommodate these different modulation rates and associated bandwidths, the spurious emissions are measured in an interval equal to the bandwidth corresponding to the modulation rate of the carrier that could be transmitted in that interval. This interval is independent of the current transmitted modulation rate. + +Table F.8 lists the possible modulation rates that could be transmitted in an interval, the required spurious level in that interval, and the initial measurement interval at which to start measuring the spurious emissions. Measurements should start at the initial distance and be repeated at increasing distance from the carrier until the upstream band edge, 5 MHz or 65 MHz, is reached. Measurement intervals should not include the three or fewer carrier related emission bands excluded above. + +#### F.6.2.21.2 Spurious emissions during burst on/off transients + +Each transmitter MUST control spurious emissions, prior to and during ramp-up and during and following ramp-down, before and after a burst. + +On/off spurious emissions, such as the change in voltage at the upstream transmitter output due to enabling or disabling transmission, MUST be no more than 100 mV, and such a step MUST be dissipated no faster than 2 $\mu\text{s}$ of constant slewing. This requirement applies when the CM is transmitting at +115 dB $\mu\text{V}$ or more; at backed-off transmit levels, the maximum change in voltage MUST decrease by a factor of 2 for each 6-dB decrease of power level from +115 dB $\mu\text{V}$ , down to a maximum change of 7 mV at +91 dB $\mu\text{V}$ and below. This requirement does not apply to CM power-on and power-off transients. + +#### F.6.2.21.3 Modulation error ratio (MER) + +Refer to clause 6.2.21.3. + +##### F.6.2.21.3.1 Definitions + +Refer to clause 6.2.21.3.1. + +##### F.6.2.21.3.2 Requirements + +Unless otherwise stated, the MER MUST meet or exceed the following limits over the full transmit power range of Table 6-8 for each modulation, each modulation rate, and over the full carrier frequency range, and for S-CDMA, over any valid number of active and allocated codes. The 5-65 MHz carrier frequency range refers more precisely to $[5 \text{ MHz} + \text{modulation rate} \times 1.25/2]$ to $[65 \text{ MHz} - \text{modulation rate} \times 1.25/2]$ . At the break points between regions, the higher MER specification applies. + +##### Case 1: Flat channel, transmit equalization OFF + +Case 1a: For modulation rates 2.56 MHz and below: + +$\text{MER}_{\text{symb}} \geq 30 \text{ dB}$ over 15 to 47 MHz carrier frequency + +$\text{MER}_{\text{symb}} \geq 27 \text{ dB}$ over 10 to 15 MHz and 47 to 54 MHz carrier frequency + +$\text{MER}_{\text{symb}} \geq 23 \text{ dB}$ over 5 to 10 MHz and 54 to 65 MHz carrier frequency + +Case 1b: For modulation rate 5.12 MHz: + +$\text{MER}_{\text{symb}} \geq 27 \text{ dB}$ over 15 to 47 MHz carrier frequency + +$\text{MER}_{\text{symb}} \geq 24 \text{ dB}$ over 10 to 15 MHz and 47 to 54 MHz carrier frequency + +$\text{MER}_{\text{symb}} \geq 20 \text{ dB}$ over 5 to 10 MHz and 54 to 65 MHz carrier frequency + +### **Case 2: Flat channel, transmit equalization ON** + +Case 2a: For TDMA/QPSK, $\text{MER}_{\text{symb}} \geq 30 \text{ dB}$ . + +Case 2b: For S-CDMA and all TDMA modulations except QPSK, $\text{MER}_{\text{symb}} \geq 35 \text{ dB}$ . + +Case 2c: For S-CDMA, $\text{MER}_{\text{chip}} \geq 33 \text{ dB}$ . + +### **Case 3: Echo channel, transmit equalization ON** + +Case 3a: In the presence of a single echo selected from the channel micro-reflections defined in Table 4-2, the measured $\text{MER}_{\text{symb}}$ MUST be $\geq 33 \text{ dB}$ for TDMA/QPSK, and $\geq 33 \text{ dB}$ for S-CDMA and all TDMA modulations except QPSK. + +Case 3b: In the presence of two or three of the echoes defined in Table 4-2 (at most one of each specified magnitude and delay), the measured $\text{MER}_{\text{symb}}$ MUST be $\geq 29 \text{ dB}$ . + +Since the table does not bound echo delay for the $-30 \text{ dBc}$ case, for testing purposes it is assumed that the time span of the echo at this magnitude is less than or equal to $1.5 \text{ }\mu\text{s}$ . + +The CMTS MUST provide a test mode in which it: + +- Accepts equalizer coefficients via an external interface, e.g., Ethernet. +- Sends the coefficients to the CM's pre-equalizer via ranging response message (both set and convolve modes). +- Does not adjust the CM's frequency, timing or power. + +#### **F.6.2.21.4 Filter distortion** + +Refer to clause 6.2.21.4. + +##### **F.6.2.21.4.1 Amplitude** + +Refer to clause 6.2.21.4.1. + +##### **F.6.2.21.4.2 Phase** + +Refer to clause 6.2.21.4.2. + +#### **F.6.2.21.5 Carrier phase noise** + +Refer to clause 6.2.21.5. + +#### **F.6.2.21.6 Channel frequency accuracy** + +Refer to clause 6.2.21.6. + +#### **F.6.2.21.7 Modulation rate accuracy** + +Refer to clause 6.2.21.7. + +#### **F.6.2.21.8 Modulation timing jitter** + +##### **F.6.2.21.8.1 Symbol timing jitter for asynchronous operation** + +Refer to clause 6.2.21.8.1. + +#### F.6.2.21.8.2 Chip timing jitter for synchronous operation + +All jitter specifications assume a downstream input to the CM per clauses F.6.3.5, F.6.3.6, F.6.3.7.2, F.6.3.7.3, F.6.3.9 and F.6.3.10. + +For S-CDMA mode, upstream chip clock timing error (with the mean error subtracted out) relative to the CM-CTS master clock MUST be less than 0.005 RMS of the chip period over a 35-second measurement interval. This applies: + +- 1) to the worst-case jitter and frequency drift specified for the CM-CTS master clock and the CM-CTS downstream symbol clock in the requirements above; and +- 2) for any round-trip propagation delay up to the maximum allowed. + +The CM upstream chip clock SHOULD track the jitter components below 10 Hz in the input downstream symbol clock with an error transfer function below -25 dB. The CM upstream chip clock SHOULD attenuate the jitter components in the input downstream symbol clock above 200 Hz. + +The CM MUST provide a test mode in which: + +- A continuous (non-bursted) upstream signal is transmitted at the commanded carrier frequency, modulation rate and level. +- The chip sequence at the spreader output is replaced with an alternating binary sequence (1, -1, 1, -1, 1, -1, ...) at nominal amplitude, equal on both I and Q. +- The CM tracks the downstream symbol clock and uses it to generate upstream symbol clock as in normal synchronous operation. + +#### F.6.2.22 Upstream demodulator input power characteristics + +The maximum total input power to the upstream demodulator MUST NOT exceed 95 dB $\mu$ V in the 5-65 MHz frequency range of operation. + +The intended received power in each carrier MUST be within the values shown in Table F.9. + +**Table F.9 – Maximum range of commanded nominal receive power in each carrier** + +| Modulation rate (ksymb/s) | Maximum range (dB $\mu$ V) | +|---------------------------|----------------------------| +| 160 | +44 to +74 | +| 320 | +47 to +77 | +| 640 | +50 to +80 | +| 1280 | +53 to +83 | +| 2560 | +56 to +86 | +| 5120 | +59 to +89 | + +The demodulator MUST operate within its defined performance specifications with received bursts within $\pm 6$ dB of the nominal commanded received power. + +#### F.6.2.23 Upstream electrical output from the CM + +The CM MUST output an RF modulated signal with the characteristics delineated in Table F.10. + +**Table F.10 – Electrical output from CM** + +| Parameter | Value | +|---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Frequency | 5 to 65 MHz edge to edge | +| Level range (one channel) | TDMA:
+68 to +114 dB $\mu$ V (32QAM, 64QAM)
+68 to +115 dB $\mu$ V (8QAM, 16QAM)
+68 to +118 dB $\mu$ V (QPSK)
S-CDMA:
+68 to +113 dB $\mu$ V (all modulations of S-CDMA) | +| Modulation type | QPSK, 8QAM, 16QAM, 32QAM, 64QAM and 128QAM | +| Modulation rate (nominal) | TDMA: 160, 320, 640, 1280, 2560 and 5120 ksymb/s
S-CDMA: 1280, 2560 and 5120 ksymb/s | +| Channel bandwidth | TDMA: 200, 400, 800, 1600, 3200 and 6400 kHz
S-CDMA: 1600, 3200 and 6400 kHz | +| Nominal output impedance | 75 ohms | +| Output return loss | >6 dB (5-65 MHz) | +| Connector | F connector per [IEC 60169-24] (common with the input) | + +### F.6.3 Downstream + +This DOCSIS 2.0 downstream specification applies only to a CMTS supporting exactly one QAM channel per RF output port. A CMTS supporting more than one QAM channel per RF output port would instead conform to the European technology option of the DOCSIS downstream radio frequency interface as specified in Annex A of [DOCS9] in lieu of this clause. + +#### F.6.3.1 Downstream protocol + +The downstream PMD sublayer MUST conform to [b-EN 300 429]. + +#### F.6.3.2 Interleaving + +The downstream PMD sublayer MUST support the interleaver with the characteristics defined in Table F.11. This interleaver mode fully complies with [b-EN 300 429]. + +**Table F.11 – Interleaver characteristics** + +| I
(number of taps) | J
(increment) | Burst protection
64QAM/256QAM | Latency
64QAM/256QAM | +|-----------------------|------------------|----------------------------------|-------------------------| +| 12 | 17 | 18 $\mu$ s/14 $\mu$ s | 0.43 ms/0.32 ms | + +#### F.6.3.3 Downstream frequency plan + +The downstream frequency plan will include all centre frequencies between 112 and 858 MHz on 250 kHz increments. It is up to the operator to decide which frequencies to use to meet national and network requirements. + +#### F.6.3.4 CMTS electrical output + +The CMTS MUST output an RF modulated signal with the following characteristics defined in Table F.12. + +**Table F.12 – CMTS output** + +| Parameter | Value | +|------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Centre frequency ( $f_c$ ) | 112 to 858 MHz $\pm$ 30 kHz | +| Level | Adjustable over the range 110 to 121 dB $\mu$ V | +| Modulation type | 64QAM and 256QAM | +| Symbol rate (nominal)
64QAM
256QAM | 6.952 Msymb/s
6.952 Msymb/s | +| Nominal channel spacing | 8 MHz | +| Frequency response
64QAM
256QAM | $\sim$ 0.15 square root raised cosine shaping
$\sim$ 0.15 square root raised cosine shaping | +| Total discrete spurious inband
( $f_c \pm 4$ MHz) | $< -57$ dBc | +| Inband spurious and noise
( $f_c \pm 4$ MHz) | $< -46.7$ dBc; where channel spurious and noise includes all discrete spurious, noise, carrier leakage, clock lines, synthesizer products and other undesired transmitter products. Noise within $\pm 50$ kHz of the carrier is excluded. | +| Adjacent channel
( $f_c \pm 4.0$ MHz)
to ( $f_c \pm 4.75$ MHz) | $< -58$ dBc in 750 kHz | +| Adjacent channel
( $f_c \pm 4.75$ MHz)
to ( $f_c \pm 12$ MHz) | $< -60.6$ dBc in 7.25 MHz, excluding up to three spurs, each of which must be $< -60$ dBc when each is measured with 10 kHz bandwidth. | +| Next adjacent channel
( $f_c \pm 12$ MHz)
to ( $f_c \pm 20$ MHz) | Less than the greater of $-63.7$ dBc or $49.3$ dB $\mu$ V in 8 MHz, excluding up to three discrete spurs. The total power in the spurs must be $< -60$ dBc when each is measured with 10 kHz bandwidth. | +| Other channels
(80 MHz to 1000 MHz) | $< 49.3$ dB $\mu$ V in each 8-MHz channel, excluding up to three discrete spurs. The total power in the spurs must be $< -60$ dBc when each is measured with 10 kHz bandwidth. | +| Phase noise | 1 kHz-10 kHz: $-33$ dBc double-sided noise power
10 kHz-50 kHz: $-51$ dBc double-sided noise power
50 kHz-3 MHz: $-51$ dBc double-sided noise power | +| Output impedance | 75 ohms | +| Output return loss | $> 14$ dB within an output channel up to 750 MHz; $> 13$ dB in an output channel above 750 MHz | +| Connector | F connector per [IEC 60169-24] | + +### F.6.3.5 Downstream electrical input to CM + +The CM MUST accept an RF modulated signal with the following characteristics (see Table F.13). + +**Table F.13 – Electrical input to CM** + +| Parameter | Value | +|--------------------------------|--------------------------------------------------------------------------------------------------------------------------------| +| Centre frequency | 112 to 858 MHz $\pm$ 30 kHz | +| Level range (one channel) | 43 to 73 dB $\mu$ V for 64QAM
47 to 77 dB $\mu$ V for 256QAM | +| Modulation type | 64QAM and 256QAM | +| Symbol rate (nominal) | 6.952 Msymb/s (64QAM) and 6.952 Msymb/s (256QAM) | +| Bandwidth | 8 MHz (alpha = 0.15 square root raised cosine shaping for 64QAM and alpha = 0.15 square root raised cosine shaping for 256QAM) | +| Total input power (80-862 MHz) | <90 dB $\mu$ V | +| Input (load) impedance | 75 ohms | +| Input return loss | >6 dB (85 to 862 MHz) | +| Connector | F connector per [IEC 60169-24] (common with the output) | + +### F.6.3.6 CM BER performance + +The bit-error-rate performance of a CM MUST be as described in this clause. The requirements apply to the I = 12, J = 17 mode of interleaving. + +#### F.6.3.6.1 64QAM + +##### F.6.3.6.1.1 64QAM CM BER performance + +Implementation loss of the CM MUST be such that the CM achieves a post-FEC BER less than or equal to $10^{-8}$ when operating at a carrier to noise ratio ( $E_s/N_0$ ) of 25.5 dB or greater. + +##### F.6.3.6.1.2 64QAM image rejection performance + +Performance as described in clause F.6.3.6.1.1 MUST be met with an analogue or digital signal at +10 dBc in any portion of the RF band other than the adjacent channels. + +##### F.6.3.6.1.3 64QAM adjacent channel performance + +Performance as described in clause F.6.3.6.1.1 MUST be met with a digital signal at 0 dBc in the adjacent channels. + +Performance as described in clause F.6.3.6.1.1 MUST be met with an analogue signal at 10 dBc in the adjacent channels. + +Performance as described in clause F.6.3.6.1.1, with an additional 0.2-dB allowance, MUST be met with a digital signal at +10 dBc in the adjacent channels. + +#### F.6.3.6.2 256QAM + +##### F.6.3.6.2.1 256QAM CM BER performance + +Implementation loss of the CM MUST be that the CM achieves a post-FEC BER less than or equal to $10^{-8}$ when operating at a carrier to noise ratio ( $E_s/N_0$ ) as shown in Table F.14. + +**Table F.14 – 256QAM CM BER performance** + +| Input receive signal level | E_s/N_0 | +|-----------------------------------|-----------------------------| +| 47 dB $\mu$ V to 54 dB $\mu$ V | 34.5 dB | +| >54 to +77 dB $\mu$ V | 31.5 dB | + +**F.6.3.6.2.2 256QAM image rejection performance** + +Performance as described in clause F.6.3.6.2.1 MUST be met with an analogue or digital signal at +10 dBc in any portion of the RF band other than the adjacent channels. + +**F.6.3.6.2.3 256QAM adjacent channel performance** + +Performance as described in clause F.6.3.6.2.1 MUST be met with an analogue or digital signal at 0 dBc in the adjacent channels. + +Performance as described in clause F.6.3.6.2.1, with an additional 0.5-dB allowance, MUST be met with an analogue signal at +10 dBc in the adjacent channels. + +Performance as described in clause F.6.3.6.2.1, with an additional 1.0-dB allowance, MUST be met with a digital signal at +10 dBc in the adjacent channels. + +**F.6.3.6.2.4 Additional specifications for QAM** + +The following additional specifications are given for the QAM modulation. + +| Parameter | Specification | +|-------------------------|----------------------| +| I/Q phase offset | <1.0° | +| I/Q crosstalk | –50 dB | +| I/Q amplitude imbalance | 0.05 dB max | +| I/Q timing skew | <3.0 ns | + +**F.6.3.7 CMTS timestamp jitter** + +Refer to clause 6.3.7. + +**F.6.3.7.1 CMTS master clock jitter for asynchronous operation** + +Refer to clause 6.3.7.1. + +**F.6.3.7.2 CMTS master clock jitter for synchronous operation** + +Refer to clause 6.3.7.2. + +**F.6.3.7.3 CMTS master clock frequency drift for synchronous operation** + +Refer to clause 6.3.7.3. + +**F.6.3.8 CMTS clock generation** + +The CMTS has the following three options related to the synchronization of the CMTS master clock and the downstream symbol clock: + +- 1) Not locked. +- 2) Downstream symbol clock locked to CMTS master clock. +- 3) CMTS master clock locked to downstream symbol clock. + +For S-CDMA operation, the master clock and the downstream symbol clock MUST be locked using either option 2 or 3. + +Let $f_b'$ represent the rate of the downstream symbol clock, which is locked to the CMTS master clock, and let $f_m'$ represent the rate of the CMTS master clock locked to the downstream symbol clock. Let $f_b$ represent the nominal specified downstream symbol rate and let $f_m$ represent the nominal CMTS master clock rate (10.24 MHz). + +With the downstream symbol clock locked to the CMTS master clock, the following equation MUST hold: + +$$f_b' = f_m \times M/N$$ + +With the CMTS master clock locked to the downstream symbol clock, the following equation MUST hold: + +$$f_m' = f_b \times N/M$$ + +M and N MUST be unsigned integer values, each capable of being represented in 16 bits. (These are specified in the channel TLV parameters of the UCD). When the downstream symbol clock and the CMTS master clock are not locked together (sync mode = 0), the values of M and N are not valid and are ignored by the CM. + +The values of M and N MUST result in a value of $f_b'$ or $f_m'$ , which is not more than $\pm 1$ ppm from its specified nominal value. Table F.15 lists the downstream modes of operation, their associated nominal symbol rates, $f_b$ , example values for M and N, the resulting synchronized clock rates, and their offsets from their nominal values. + +**Table F.15 – Downstream symbol rates and example parameters for synchronization with the CMTS master clock** + +| Downstream mode | Nominal specified symbol rate, $f_b$ (MHz) | M/N | CMTS master clock rate, $f_m'$ (MHz) | Downstream symbol rate, $f_b'$ (MHz) | Offset from nominal | +|-----------------------------------|--------------------------------------------|----------|--------------------------------------|--------------------------------------|---------------------| +| Annex A, 64QAM and 256QAM (8 MHz) | 6.952 | 869/1280 | 10.24 | 6.952 | 0 ppm | + +### F.6.3.9 Downstream symbol clock jitter for synchronous operation + +The downstream symbol clock MUST meet the following double sideband phase noise requirements over the following frequency ranges: + +- $< [-50 + 20 \times \log(f_{DS}/6.952)]$ dBc (i.e., $< 0.07$ ns RMS) 10 Hz to 100 Hz +- $< [-50 + 20 \times \log(f_{DS}/6.952)]$ dBc (i.e., $< 0.07$ ns RMS) 100 Hz to 1 kHz +- $< [-50 + 20 \times \log(f_{DS}/6.952)]$ dBc (i.e., $< 0.07$ ns RMS) 1 kHz to 10 kHz +- $< [-33 + 20 \times \log(f_{DS}/6.952)]$ dBc (i.e., $< 0.5$ ns RMS) 10 kHz to 100 kHz +- $< [-27 + 20 \times \log(f_{DS}/6.952)]$ dBc (i.e., $< 1$ ns RMS) 100 kHz to ( $f_{DS}/2$ ) + +where $f_{DS}$ is the frequency of the measured clock in MHz. The value of $f_{DS}$ MUST be an integral multiple or divisor of the downstream symbol clock. For example, an $f_{DS} = 27.808$ -MHz clock may be measured if there is no explicit 6.952 MHz clock available. + +The CMTS MUST provide a test mode in which: + +- the downstream QAM symbol sequence is replaced with an alternating binary sequence (1, -1, 1, -1, 1, -1, ...) at nominal amplitude, on both I and Q; +- the CMTS generates the downstream symbol clock from the 10.24-MHz reference clock as in normal synchronous operation. + +If an explicit downstream symbol clock that is capable of meeting the above phase noise requirements is available (e.g., a smooth clock without clock domain jitter), this test mode is not required. + +#### F.6.3.10 Downstream symbol clock drift for synchronous operation + +Refer to clause 6.3.10. + +### F.7 Downstream transmission convergence sublayer + +#### F.7.1 Introduction + +Refer to clause 7.1. + +#### F.7.2 MPEG packet format + +Refer to clause 7.2. + +#### F.7.3 MPEG header for Euro-DOCSIS data-over-cable + +The format of the MPEG transport stream header is defined in clause 2.4 of [ITU-T H.222.0]. The particular field values that distinguish data-over-cable MAC streams are defined in Table F.16. Field names are from [ITU-T H.222.0]. + +The MPEG header consists of 4 bytes that begin the 188-byte MPEG packet. The format of the header for use on an Euro-DOCSIS data-over-cable PID is restricted to that shown in Table F.16. The header format conforms to the MPEG standard, but its use is restricted in this Recommendation to NOT ALLOW inclusion of an adaptation\_field in the MPEG packets. + +**Table F.16 – MPEG Header format for Euro-DOCSIS data-over-cable packets** + +| Field | Length (bits) | Description | +|------------------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| sync_byte | 8 | 0x47; MPEG packet sync byte | +| transport_error_indicator | 1 | Indicates an error has occurred in the reception of the packet. This bit is reset to zero by the sender, and set to one whenever an error occurs in transmission of the packet. | +| payload_unit_start_indicator | 1 | A value of one indicates the presence of a pointer_field as the first byte of the payload (fifth byte of the packet) | +| transport_priority | 1 | Reserved; set to zero | +| PID | 13 | Euro-DOCSIS data-over-cable well-known PID (0x1FFE) | +| transport_scrambling_control | 2 | Reserved; set to '00' | +| adaptation_field_control | 2 | '01'; use of the adaptation_field is NOT ALLOWED on the Euro-DOCSIS PID | +| continuity_counter | 4 | Cyclic counter within this PID | + +#### F.7.4 MPEG payload for Euro-DOCSIS data-over-cable + +The MPEG payload portion of the MPEG packet will carry the Euro-DOCSIS MAC frames. The first byte of the MPEG payload will be a 'pointer\_field' if the payload\_unit\_start\_indicator (PUSI) of the MPEG header is set. + +#### **F.7.4.1 stuff\_byte** + +This Recommendation defines a stuff\_byte pattern having a value (0xFF) that is used within the Euro-DOCSIS payload to fill any gaps between the Euro-DOCSIS MAC frames. This value is chosen as an unused value for the first byte of the Euro-DOCSIS MAC frame. The 'FC' byte of the MAC header will be defined to never contain this value (FC\_TYPE = '11' indicates a MAC-specific frame, and FC\_PARM = '11111' is not currently used and, according to this Recommendation, is defined as an illegal value for FC\_PARM). + +#### **F.7.4.2 pointer\_field** + +The pointer\_field is present as the fifth byte of the MPEG packet (first byte following the MPEG header) whenever the PUSI is set to one in the MPEG header. The interpretation of the pointer\_field is as follows. + +The pointer\_field contains the number of bytes in this packet that immediately follow the pointer\_field that the CM decoder must skip past before looking for the beginning of a Euro-DOCSIS MAC frame. A pointer field MUST be present if it is possible to begin a data-over-cable MAC Frame in the packet, and MUST point to either: + +- 1) the beginning of the first MAC frame to start in the packet; or +- 2) any stuff\_byte preceding the MAC frame. + +#### **F.7.5 Interaction with the MAC sublayer** + +Refer to clause 7.5. + +#### **F.7.6 Interaction with the physical layer** + +The MPEG-2 packet stream MUST be encoded according to [b-EN 300 429]. + +#### **F.7.7 MPEG header synchronization and recovery** + +The MPEG-2 packet stream SHOULD be declared "in frame" (i.e., correct packet alignment has been achieved) when five consecutive correct sync bytes, each 188 bytes from the previous one, have been received. + +The MPEG-2 packet stream SHOULD be declared "out of frame", and a search for correct packet alignment started, when nine consecutive incorrect sync bytes are received. + +The format of MAC frames is described in detail in clause 8. + +### **F.8 Media access control specification** + +#### **F.8.1 Introduction** + +Refer to clause 8.1. + +#### **F.8.2 MAC frame formats** + +Refer to clause 8.2. + +#### **F.8.3 MAC management messages** + +##### **F.8.3.1 MAC management message header** + +Refer to clause 8.3.1. + +##### **F.8.3.2 Time synchronization (SYNC)** + +Time synchronization (SYNC) MUST be transmitted by CMTS at a periodic interval to establish MAC sublayer timing. The message MUST use an FC field with FC\_TYPE = MAC-specific header + +and FC\_PARM = timing MAC header. This MUST be followed by a frame PDU in the format shown in Figure F.1. + +![Diagram of packet PDU format showing MAC Management Message Header and CMTS timestamp fields with bit positions 0, 8, 16, 24, 31.](7e349f38358d54134f1edb301cf18ae8_img.jpg) + +The diagram illustrates the structure of a packet PDU. It consists of two stacked rectangular fields. The top field is labeled 'MAC Management Message Header' and the bottom field is labeled 'CMTS timestamp'. Above the diagram, bit positions are indicated: 'Bit 0', '8', '16', '24', and '31'. The '0' is at the left edge, '8' is at the first byte boundary, '16' is at the second byte boundary, '24' is at the third byte boundary, and '31' is at the right edge of the 32-bit timestamp. There are break symbols (two wavy lines) at the left and right ends of the top field, indicating it may be longer than shown. The label 'J.122\_FF-1' is located at the bottom right of the diagram. + +Diagram of packet PDU format showing MAC Management Message Header and CMTS timestamp fields with bit positions 0, 8, 16, 24, 31. + +**Figure F.1 – Format of packet PDU following the timing header** + +The parameters shall be as defined below. + +**CMTS timestamp:** The count state of an incrementing 32-bit binary counter clocked with the CMTS 10.24-MHz master clock. + +The CMTS timestamp represents the count state at the instant that the first byte (or a fixed time offset from the first byte) of the time synchronization MAC management message is transferred from the downstream transmission convergence sublayer to the downstream physical media dependent sublayer as described in clause 6.3.7. A CMTS MUST always put the SYNC-message at the start of an MPEG-packet. This is required for compatibility with certain CM implementations. + +## Annex G + +### DOCS 2.0 and 1.0/1.1 interoperability + +(This annex forms an integral part of this Recommendation) + +DOCS 2.0 is the third generation of the DOCS Recommendation. The terms DOCS 2.0, DOCS 1.1, and DOCS 1.0 refer to these three different Recommendations. + +The DOCS 2.0 Recommendation primarily aims at enhancing the limited upstream physical layer performance of a DOCS 1.0- or 1.1-based cable access system. Two new MAC management message types have been defined, and several new parameter encodings have been defined in the existing MAC messages. A DOCS 2.0 CMTS is capable of supporting a higher upstream throughput for a given channel bandwidth as well as increased tolerance to noise experienced in the upstream. + +As well as supporting DOCS 2.0-capable CMs, the DOCS 2.0 CMTS must be backwards compatible with DOCS 1.0 and DOCS 1.1 CMs. Furthermore, it is necessary for a DOCS 2.0 CM to function like a 1.0 CM when interoperating with a 1.0 CMTS and to function like a 1.1 CM when interoperating with a 1.1 CMTS. + +This annex describes the interoperability issues and trade-offs involved when the operator wishes to support DOCS 1.0 and/or DOCS 1.1 CMs as well as DOCS 2.0 CMs on the same cable access channel. + +#### G.1 General interoperability issues + +This clause addresses the general DOCS 1.x/2.0 interoperability issues that do not depend on the modulation type used for the upstream channel. + +##### G.1.1 Provisioning + +The parameters of the TFTP configuration file for a DOCS 2.0 CM are (except for the addition of one optional TLV) identical to those for a DOCS 1.1 CM, and are a superset of those for a DOCS 1.0 CM. Configuration-file editors that support DOCS 1.1 may need to be modified to support the new TLV defined in DOCS 2.0. + +A TFTP configuration file containing class of service TLVs is considered a "DOCS 1.0 style" configuration file. A TFTP configuration file containing service flow TLVs is considered a "DOCS 1.1/2.0 style" configuration file. A TFTP configuration file containing both class of service and service flow TLVs will be rejected by the CMTS (see clause 11.2.9). + +If a DOCS 2.0 CM is provisioned with a DOCS 1.0-style TFTP configuration file, it will register as specified in clause G.1.2, although in the REG-REQ it MUST still specify "DOCS 2.0" in the DOCS version modem capability and MAY specify additional advanced (i.e., DOCS 1.1) modem capabilities that it supports. Thus, a DOCS 2.0 CM can be provisioned to work seamlessly on either a DOCS 1.0, a DOCS 1.1 or a DOCS 2.0 network. However, a DOCS 2.0 modem on a DOCS 1.x network would be clearly unable to support any DOCS 2.0-specific features. + +If a DOCSIS 2.0 CM operating on an S-CDMA channel with the maximum scheduled codes feature enabled (see clause 8.3.3), and provisioned with a DOCSIS 1.0-style configuration file, SHOULD support fragmentation and indicate that support in the modem capabilities encoding in the REG-REQ message. If a DOCS 2.0 CM supports certain advanced capabilities when registered as a DOCS 1.0 CM (as indicated by the modem capabilities encoding), those features MUST function according to the requirements defined in the DOCS 2.0 Recommendations. + +On the other hand, DOCS 1.0 CMs do not recognize (and ignore) many of the new TLVs in a DOCS 1.1/2.0 style configuration file, and will be unable to register successfully if provisioned + +with a DOCS 1.1/2.0 configuration file. To prevent any functionality mismatches, a DOCS 2.0 CMTS MUST reject any registration request with DOCS 1.1/2.0-specific configuration parameters that are not supported by the associated modem capabilities encoding in the REG-REQ (see clause C.1.3.1). + +### **G.1.2 Registration** + +A DOCS 2.0 CMTS is designed to handle the registration TLVs from DOCS 1.0 CMs as well as the TLVs from DOCS 1.1 (TLV types 22 to 38) or DOCS 2.0 (TLV types 22 to 39) CMs. Furthermore, a DOCS 2.0 CM can handle any TLV in a configuration file usable by a DOCS 1.0 CM. + +There is a slight difference in the registration-related messaging procedure when the DOCS 2.0 CMTS is responding to a DOCS 1.1 or 2.0 CM as opposed to a DOCS 1.0 CM (or a DOCS 1.1 CM using a 1.0-style configuration file). There is a further difference in the way a DOCS 2.0 CMTS handles registration from a DOCS 2.0 CM using a DOCS 1.0-style configuration file, depending on whether the upstream on which the registration is occurring has DOCS 2.0 features. + +A DOCS 1.1 or 2.0 CM could be configured to use the service class name, which is statically defined at the CMTS, instead of explicitly asking for the service class parameters. When the DOCS 2.0 CMTS receives such a registration request, it encodes the actual parameters of that service class in the registration response and expects the registration acknowledge MAC message from the CM. If the detailed capabilities in the registration response message exceed those the CM is capable of supporting, the CM is required to indicate this to the CMTS in its registration acknowledge. + +When a DOCS 1.0 CM (or a 1.1 CM using a DOCS 1.0-style configuration file) registers with the same CMTS, the absence of service class names eliminates the need for the DOCS 2.0 CMTS to explicitly specify the service class parameters in the registration response using DOCS 1.1 or 2.0 TLVs. The registration request from a DOCS 1.0 CM explicitly requests all non-default service class parameters in the registration request per its provisioning information. When a DOCS 2.0 CMTS receives a registration request containing DOCS 1.0 class of service encodings, it will respond with the DOCS 1.0-style registration response and, if the CM is a DOCS 1.x CM, not expect the CM to send the registration acknowledge MAC message. A DOCS 1.0 CM can be further identified by the absence of the "DOCS version" modem capabilities encoding in the registration request. + +In the case where a DOCS 2.0 CM is using a DOCS 1.0-style configuration file, there is an additional consideration. This is because in the case where the upstream is a type 2 upstream (see clause 11.2.2), and therefore supports both TDMA and A-TDMA features, the registration acknowledge message is also used to synchronize switching from TDMA (DOCS 1.x) operation to A-TDMA (DOCS 2.0) operation. It is important that this switch be coordinated correctly between the CM and the CMTS in order for the CMTS to be able to correctly interpret bandwidth requests from the CM (see clause 11.2.9). Therefore, when a DOCS 2.0 CM registers using a DOCS 1.0-style configuration file on a type 2 or type 3 upstream, it transmits a registration acknowledgment with a confirmation code of OK/SUCCESS (since DOCS 1.0-style registration does not allow for the CM to reject the registration response). The CMTS knows to expect this because the modem capabilities field in the registration request indicated that the CM was a DOCS 2.0 CM. Table G.1 summarizes registration behaviour for all cases involving a DOCS 2.0 CM. + +**Table G.1 – Registration behaviour for a DOCS 2.0 CM** + +| Configuration file | DOCS 1.0 CMTS | DOCS 2.0 CMTS with a type 1 upstream or a DOCS 1.1 CMTS | DOCS 2.0 CMTS with a type 2 or type 3 upstream | +|---------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------| +| DOCS 1.1/2.0-style configuration file that does not disable DOCS 2.0 mode | N/A | CM sends DOCS 1.1/2.0-style REG-REQ. CMTS sends DOCS 1.1/2.0-style REG-RSP and CM responds with REG-ACK. | CM sends DOCS 1.1/2.0-style REG-REQ. CMTS sends DOCS 1.1/2.0-style REG-RSP and CM responds with REG-ACK. | +| DOCS 1.0-style configuration file that does not disable DOCS 2.0 mode | CM sends DOCS 1.0-style REG-REQ. CMTS sends DOCS 1.0-style REG-RSP. CM MUST NOT send REG-ACK. | CM sends DOCS 1.0-style REG-REQ. CMTS sends DOCS 1.0-style REG-RSP. CM MUST NOT send REG-ACK. | CM sends DOCS 1.0-style REG-REQ. CMTS sends DOCS 1.0-style REG-RSP. CM MUST send REG-ACK with SUCCESS confirmation code. CMTS MUST wait for REG-ACK. | +| DOCS 1.1/2.0-style configuration file that disables DOCS 2.0 mode | N/A | CM sends DOCS 1.1/2.0-style REG-REQ. CMTS sends DOCS 1.1/2.0-style REG-RSP and CM responds with REG-ACK. | CM sends DOCS 1.1/2.0-style REG-REQ. CMTS sends DOCS 1.1/2.0-style REG-RSP and CM responds with REG-ACK. | +| DOCS 1.0-style configuration file that disables DOCS 2.0 mode | CM sends DOCS 1.0-style REG-REQ. CMTS sends DOCS 1.0-style REG-RSP. CM MUST NOT send REG-ACK. | CM sends DOCS 1.0-style REG-REQ. CMTS sends DOCS 1.0-style REG-RSP. CM MUST NOT send REG-ACK. | CM sends DOCS 1.0-style REG-REQ. CMTS sends DOCS 1.0-style REG-RSP. CM MUST NOT send REG-ACK. | + +Another minor issue is that a DOCS 1.0 CM will request a bidirectional (with upstream/downstream parameters) service class from the CMTS using a class of service configuration setting. + +Since a DOCS 2.0 CMTS typically operates with unidirectional service classes, it can easily translate a DOCS 1.0 class of service configuration setting into DOCS 1.1 or 2.0 service flow encodings for setting up unidirectional service classes in local QoS implementation. However, for DOCS 1.0 modems, the DOCS 2.0 CMTS MUST continue to maintain the QosProfile table (with bidirectional class parameters) for backward compatibility with the DOCS 1.0 MIB. + +Thus, if properly provisioned, a DOCS 1.0, a DOCS 1.1 and a DOCS 2.0 CM can all successfully register with the same DOCS 2.0 CMTS, and a DOCS 2.0 CM can register with a 1.0 CMTS. Furthermore, a DOCS 2.0 CM can use a DOCS 1.0-style configuration file, register on a DOCS 2.0 CMTS and still use DOCS 2.0 enhanced physical-layer features with DOCS 1.0 class of service features. + +### **G.1.3 Dynamic service establishment** + +There are 8 MAC messages that relate to dynamic service establishment. A DOCS 1.0 CM will never send them to any CMTS since they are unsupported. A DOCS 1.1 or 2.0 CM will never send them to a DOCS 1.0 CMTS because: + +- to register successfully it has to be provisioned as a DOCS 1.0 CM; and +- when provisioned as a DOCS 1.0 CM, it acts identically. + +When a DOCS 1.1 or 2.0 CM is connected to a DOCS 1.1 or 2.0 CMTS, these messages work as expected. + +#### **G.1.4 Fragmentation** + +Fragmentation is initiated by the CMTS. Thus, a DOCS 1.0 CMTS will never initiate fragmentation since it knows nothing about it. A DOCS 1.1 or 2.0 CMTS can only initiate fragmentation for DOCS 1.1 or 2.0 CMs. A DOCS 1.1 or 2.0 CMTS MUST NOT attempt to fragment transmissions from a DOCS 1.0 CM that has not indicated a modem capabilities encoding for fragmentation support with a value of 1. + +#### **G.1.5 Multicast support** + +It is mandatory for DOCS 1.0 CMs to support forwarding of multicast traffic. However, the Recommendation is silent on IGMP support. The only standard mechanism for controlling IP-multicast on DOCS 1.0 CMs is through SNMP and packet filters. Designers of DOCS 1.0 networks will have to deal with these limitations and expect no different from DOCS 1.0 CMs on a DOCS 2.0 network. + +DOCSIS 2.0 CMs in 1.0 mode MUST still comply with the requirements for IGMP and the forwarding of multicast traffic as per clauses 5.1.2.3.2 and 5.3.1. + +#### **G.1.6 Changing upstream channels** + +A DOCS 2.0 CMTS is capable of specifying the level of re-ranging to be performed only when it issues a DCC-Request to the CM. This re-ranging technique parameter is specified by the DOCS 2.0 CMTS using a TLV in the DCC-Request MAC message. + +DOCS 1.1 or 2.0 CMs can benefit by only re-ranging to the level specified by this TLV. This can help in reducing the re-initialization time following a DCC for the DOCS 1.1 or 2.0 CM carrying a voice call. A DOCS 2.0 CMTS is aware of the type of CM to which it is issuing the channel change request. It MUST refrain from sending a DCC-Request for DOCS 1.0 CMs, instead choosing to send a UCC-Request. If a DOCS 2.0 CMTS sends the UCC-Request, the DOCS 1.0 CMs will perform the default DOCS 1.0 re-ranging from start (initial ranging) with its existing non-zero primary SID. + +### **G.2 Hybrid devices** + +Some DOCS 1.0 CM designs may be capable of supporting individual DOCS 1.1 features via a software upgrade. Similarly, some DOCS 1.0 CMTSs may be capable of supporting individual DOCS 1.1 features. To facilitate these "hybrid" devices, the majority of DOCS 1.1 features are individually enumerated in the modem capabilities. + +DOCS 1.0 hybrid CMs MAY request DOCS 1.1 features via this mechanism. However, unless a CM is fully DOCS 1.1-compliant (i.e., not a hybrid), it MUST NOT send a "DOCS version" modem capability that indicates DOCS 1.1. Similarly, unless a CM is fully DOCS 2.0-compliant, it MUST NOT send a "DOCS version" modem capability which indicates DOCS 2.0. + +If a hybrid CM intends to request such DOCS 1.1 capabilities from the CMTS during registration, it MUST send the ASCII coded string in option code 60 of its DHCP request, "docsis1.0:xxxxxxx", where xxxxxxx MUST be an ASCII representation of the hexadecimal encoding of the modem capabilities. Refer to clauses C.1.3.1 and D.1.1 for details. The DHCP server MAY use such information to determine what configuration file the CM is to use. + +In order to control the hybrid operation of modems, if a DOCS 2.0 CMTS receives a DOCS 1.0-style registration request message from a CM, the CMTS MUST, by default, force the modem to operate in a "pure" DOCS 1.0 mode with respect to certain features by disabling those features via the modem capabilities encoding in the registration response. Specifically, the CMTS MUST support the six default values given in square brackets in Table G.2. The CMTS MAY + +provide switches, as indicated in Table G.2, for the operator to selectively allow certain hybrid features to be enabled. As an exception to these defaults, the DOCSIS 2.0 CMTS SHOULD allow the use of fragmentation for DOCSIS 2.0 CMs registering in DOCSIS 1.0 mode on an S-CDMA channel that has the maximum scheduled codes feature (see clause 8.3.3) enabled. + +**Table G.2 – Hybrid mode controls** + +| | Concatenation Support | Fragmentation Support | Privacy Support | +|-------------------------------------|------------------------------|------------------------------|------------------------| +| DOCS 1.0 CM | Allow/[deny] | Allow/[deny] | Allow BPI+/[force BPI] | +| DOCS 1.1 or 2.0 CM in DOCS 1.0 mode | Allow/[deny] | Allow/[deny] | Allow BPI+/[force-BPI] | + +Normally, a DOCS 1.0 CMTS sets all unknown modem capabilities to "off" in the registration response indicating that these features are unsupported and MUST NOT be used by the CM. A DOCS 1.0 hybrid CMTS MAY leave supported modem capabilities set to "on" in the registration response. However, unless a CMTS is fully DOCS 1.1- or 2.0-compliant (i.e., not a hybrid), it MUST still set all "DOCS version" modem capabilities to DOCS 1.0. + +As always, any modem capability set to "off" in the registration response must be viewed as unsupported by the CMTS and MUST NOT be used by the CM. + +### **G.3 DOCS 2.0 TDMA interoperability** + +#### **G.3.1 Mixed-mode operation with TDMA** + +In mixed-mode operation with both DOCS 1.x and DOCS 2.0 TDMA, a single channel is defined with a single UCD that contains both type 4 and type 5 burst descriptors. DOCS 1.x and 2.0 modems use the type 4 burst descriptors; DOCS 2.0 modems MUST also use the type 5 burst descriptors. DOCS 2.0 modems will use IUCs 9 and 10. + +The following rules of operation apply: + +- 1) Prior to and during registration, a DOCS 2.0 TDMA-capable modem operating on a channel of type 1 or 2 (refer to clause 11.2.2) MUST calculate its request size based on DOCS 1.x IUC parameters, and the CMTS MUST make all grants using DOCS 1.x IUCs. +- 2) On a type 2 channel, a DOCS 2.0 TDMA CM MUST switch to DOCS 2.0 TDMA mode after transmission of the registration acknowledgement (REG-ACK) message. If the CM receives a registration response (REG-RSP) message after transmission of the REG-ACK message, the CM MUST switch back to DOCS 1.1 mode before it continues with the registration process (see Figure 11-12). +- 3) A CM in DOCS 2.0 TDMA mode MUST calculate its request size based on IUC types 9 and 10. The CMTS MUST make grants of IUC types 9 and 10 to that CM after it receives the registration acknowledgement message from the CM (see clause 11.2.9). +- 4) On a type 2 channel, the CM MUST ignore grants with IUCs that are in conflict with its operational mode (e.g., the CM receives a grant with IUC 5 when it is in DOCS 2.0 TDMA mode). +- 5) On a type 3 channel, the CMTS MUST use type 5 burst descriptors in order to prevent DOCS 1.x modems from attempting to use the channel. All data grants are in IUC types 9 and 10. +- 6) On a type 2 channel, only advanced PHY short (IUC 9) and advanced PHY long (IUC 10) bursts may be classified as burst descriptor type 5. + +- 7) A DOCS 1.x modem that does not find appropriate type 4 burst descriptors for long or short data grant intervals MUST consider the UCD, and the associated upstream channel, unusable. + +### **G.3.2 Interoperability and performance** + +This clause addresses the issue of performance impact on the upstream channel when DOCS 1.x CMs are provisioned to share the same upstream MAC channel as DOCS 2.0 TDMA CMs. + +Since the initial maintenance, station maintenance, request and request/data IUCs are common to both DOCS 2.0 TDMA and DOCS 1.x CMs, the overall channel will experience reduced performance compared to a dedicated DOCS 2.0 TDMA upstream channel. This is due to broadcast/contention regions not being capable of taking advantage of improved physical layer parameters. + +## **G.4 DOCS 2.0 S-CDMA interoperability** + +### **G.4.1 Mixed-mode operation with S-CDMA** + +In mixed-mode operation with both TDMA and S-CDMA, two logically separate upstream channels are allocated by the CMTS, one for TDMA modems, and another for DOCS 2.0 modems operating in S-CDMA mode. Each channel has its own upstream channel ID, and its own UCD. However, these two channels are both allocated the same RF centre frequency on the same cable plant segment. The CMTS controls allocation to these two channels in such a way that the channel is shared between the two groups of modems. This can be accomplished by reserving bandwidth through the scheduling of data grants to the NULL SID on all channels other than the channel that is to contain the potential transmit opportunity. Using this method, an upstream channel can support a mixture of differing physical layer DOCS modems, with each type capitalizing on their individual strengths. The channel appears as a single physical channel that provides transmission opportunities for both DOCS 1.x and 2.0 modems. The mixed-mode configuration of the channel will be transparent to the CMs. + +The following rule of operation applies: + +- The CMTS MUST use only type 5 burst descriptors on the S-CDMA channel in order to prevent DOCS 1.x modems from attempting to use the channel. + +### **G.4.2 Interoperability and performance** + +This clause addresses the issue of performance impact on the S-CDMA upstream channel when the upstream centre frequency is shared with an upstream TDMA channel. + +Due to the lack of ability to share the upstream transmit opportunities, the channels will not experience the statistical multiplexing benefits during contention regions across the CMs. Dedicated initial maintenance regions will be required on both logical MAC channels slightly reducing the overall performance available. Request and request/data regions will also not be capable of being shared although an intelligent CMTS scheduler will be able to reduce most performance impact. + +## Annex H + +### The DOCS MAC/PHY interface (DMPI) + +(This annex forms an integral part of this Recommendation) + +#### H.1 Scope + +Integrated circuit (IC) chip sets with separate MAC and PHY chips used in the implementation of a CMTS SHOULD implement DMPI. DMPI does not apply to IC chip sets which integrate MAC and PHY components together into one chip. + +Any usage of "MUST", "SHOULD", or "MAY" within the DMPI specification applies only if DMPI is implemented. + +#### H.2 Conventions + +##### H.2.1 Terminology + +Throughout this annex, the terms "MAC" and "PHY" are used extensively. MAC is used to refer to the device which provides the interface between the PHY devices and the system. The term "PHY" refers to the device which performs the physical layer processing for a single RF channel. It is important to note that both of these terms refer to physical devices as opposed to layers in the IP protocol stack. For the purposes of this Recommendation, integrated circuit chips that handle multiple RF channels simultaneously are considered to contain multiple PHY devices. + +##### H.2.2 Ordering of bits and bytes + +The following rules control the order of transmission of bits and bytes over all the interfaces specified in this Recommendation. In all cases, fields of data blocks are transmitted in the order in which they appear in the data block format description. + +- Multibyte quantities are transmitted most significant byte first (big-endian byte ordering). This byte ordering applies regardless of the width of the interface (byte, nibble, single bit). +- On nibble-wide interfaces, the most significant nibble (bits 7:4) is transmitted first. +- On bit-wide interfaces, the most significant bit of each field is transmitted first. + +##### H.2.3 Signal naming conventions + +Signal names that end with an "\_N" are active low. Signals without this suffix are active high. + +##### H.2.4 Active clock edge + +All signals are driven and sampled on the rising edge of the clock except where otherwise noted. + +##### H.2.5 Timing specifications + +The timing specifications for DMPI use the following terminology (see Table H.1): + +**Table H.1 – Timing parameters** + +| Parameter | Symbol | Description | +|-----------------------------|-----------|-----------------------------------------------------------------------------------| +| Clock frequency | $f$ | The frequency of the interface clock | +| Clock low pulse width | $t_{lpw}$ | The low time of the interface clock | +| Clock high pulse width | $t_{hpw}$ | The high time of the interface clock | +| Clock rise/fall time | $t_{rf}$ | The transition time of the clock | +| Input setup time to clock | $t_{su}$ | From when an interface signal is valid to the following rising clock edge | +| Input hold time from clock | $t_h$ | From the rising clock edge to when an interface signal becomes invalid | +| Clock to signal valid delay | $t_{cq}$ | From the rising edge of the interface clock to an interface signal becoming valid | + +Following are some usage notes for these timing parameters: + +- Set-up and hold time specifications are given from the point of view of the DMPI interface and not from the point of view of a device on the DMPI interface. The clock to output, on the other hand, specifies the timing requirement of a DMPI device. +- The $t_{su}$ parameter specifies the minimum guaranteed amount of set-up time provided by the DMPI interface measured at the receiving device. Therefore, inputs on DMPI devices should require no more than this amount of set-up time. +- The $t_h$ parameter specifies the minimum guaranteed amount of hold time provided by the DMPI interface measured at the receiving device. Therefore, inputs on DMPI devices should require no more than this amount of hold time. +- The $t_{cq}$ parameter specifies the minimum and maximum clock to output time at the driving device. The purpose of the minimum specification is to allow for clock skew between the driving and receiving DMPI device. For example, a 1-ns minimum specification and a 0-ns DMPI hold time requirement allows for at most 1-ns of clock skew between devices. The maximum specification is to allow for the settling time of signals from the driving device to the receiving device and clock skew between devices. + +### H.3 Overview + +This annex describes the DOCS MAC/PHY interface (DMPI). DMPI is used to connect a DOCS MAC device to DOCS downstream and upstream PHY devices. While DMPI is a single interface, for the purposes of clarity, DMPI signals have been grouped into four separate groups. Each group serves a specific purpose and is independent of the others. For this reason, each group of signals is also referred to as an interface. + +A downstream PHY MUST include a downstream data interface and an SPI bus interface. An upstream PHY must include an upstream data interface, an upstream control interface, and an SPI bus interface. PHY chips that integrate multiple PHYs into a single package MUST have one set of interfaces for each PHY that has been integrated, with the following exception: + +An integrated PHY device MAY use a single select and a single SPI bus for all internal PHYs (using the SPI bus protocol described in clause H.8.4). An integrated upstream PHY device MAY have only one TS\_CLK input and only one US\_CLK input. + +A MAC MUST include one downstream data interface for each downstream PHY it supports and one set of upstream interfaces (upstream data and upstream control) for each upstream PHY it supports. It MUST include at least one SPI bus interface. + +DMPI has been defined with the following goals in mind: + +- vendor independence; +- flexibility for future growth and vendor differentiation; +- minimization of PHY-specific logic in the MAC. + +Figure H.1 shows an example application of DMPI. Note that this figure shows the connections required for a single DS PHY and a single US PHY. Obviously, other applications with multiple DS and US PHYs are possible. + +![Block diagram of DMPI application showing connections between MAC, DS PHY, and US PHY blocks.](f34d4741036e8407888cd90a70d1a624_img.jpg) + +``` + +graph LR + subgraph MAC + M[MAC] + end + subgraph PHYs + DSP[DS PHY] + USP[US PHY] + end + + %% MAC to DS PHY signals + M -- DS_DATA[3:0] --> DSP + M -- DS_DATAP --> DSP + M -- DS_VALID_N --> DSP + M -- DS_MSYNC_N --> DSP + DSP -- DS_CLK --> M + DSP -- INT_N --> M + M -- SPI_MOSI --> DSP + DSP -- SPI_MISO --> M + M -- SPI_SS0_N --> DSP + + %% MAC to US PHY signals + USP -- UD_DATA[3:0] --> M + USP -- UD_DATAP --> M + USP -- UD_SOB_N --> M + USP -- UD_DV_N --> M + M -- TS_FS_N --> USP + M -- UC_DATA --> USP + M -- UC_DV_N --> USP + USP -- UC_RDY_N --> M + USP -- INT_N --> M + M -- SPI_SS1_N --> USP + + %% Shared SPI/Clock signals + SPI_CLK --o M + SPI_CLK --o DSP + SPI_CLK --o USP + TS_CLK --o M + TS_CLK --o USP + US_CLK --o M + US_CLK --o USP + +``` + +The diagram illustrates the DMPI application interface between a MAC block and two PHY blocks: DS PHY (Downstream Physical Layer) and US PHY (Upstream Physical Layer). + +**MAC Block (Left):** A large vertical rectangle labeled "MAC". + +**DS PHY Block (Top Right):** A rectangle labeled "DS PHY". Signals between MAC and DS PHY include: DS\_DATA[3:0], DS\_DATAP, DS\_VALID\_N, DS\_MSYNC\_N (MAC to PHY); DS\_CLK, INT\_N, SPI\_MISO (PHY to MAC); SPI\_MOSI, SPI\_SS0\_N (MAC to PHY). + +**US PHY Block (Bottom Right):** A rectangle labeled "US PHY". Signals between MAC and US PHY include: UD\_DATA[3:0], UD\_DATAP, UD\_SOB\_N, UD\_DV\_N (PHY to MAC); TS\_FS\_N, UC\_DATA, UC\_DV\_N (MAC to PHY); UC\_RDY\_N, INT\_N (PHY to MAC); SPI\_SS1\_N (MAC to PHY). + +**Clock Signals:** Three external clock lines enter from the bottom left: SPI\_CLK, TS\_CLK, and US\_CLK. SPI\_CLK connects to MAC, DS PHY, and US PHY. TS\_CLK connects to MAC and US PHY. US\_CLK connects to MAC and US PHY. + +**Reference:** J.122\_FH-1 + +Block diagram of DMPI application showing connections between MAC, DS PHY, and US PHY blocks. + +**Figure H.1 – DMPI application** + +### **H.3.1 Downstream data** + +The downstream data interface carries data from the MAC to the PHY for transmission on the downstream. All signals on the interface are synchronous with respect to a clock driven by the PHY and received by the MAC. Four bits of data are transferred on each clock. The frequency of this clock is proportional to the downstream bit rate. Its precise frequency is a function of the downstream symbol rate, the modulation type (64QAM or 256QAM), and the physical layer framing in use (see Annex A or B of [ITU-T J.83]). + +### **H.3.2 Upstream data** + +The upstream data interface carries data from the PHY to the MAC which has been received on the upstream. The interface is synchronous to a dedicated interface clock whose frequency is not directly related to the upstream bit rate. + +Data is transferred over the interface using a mixture of TLVs and TVs (a TLV for which the length is implied by the type). Along with the DOCS burst data, certain status information about the burst is also transferred to the MAC. There is also a TLV which allows the PHY to indicate that it did not receive a burst when one was expected. + +### **H.3.3 Upstream control** + +The upstream control interface is used for two purposes. The first is to initialize the PHY's timestamp counter, frame counter and mini-slot counter, and to check that the PHY's timestamp counter remains synchronized to the MAC's during operation. The second is to allow the MAC to pass information to the PHY regarding upcoming bursts. + +This interface uses two clocks. The clock used for the counter synchronization is the 10.24 MHz CMTS master clock. A single signal, that is synchronized to this clock, is used to perform this counter synchronization. The other clock used for this interface is shared with the upstream data interface and has a frequency unrelated to the upstream modulation clock or the 10.24 MHz CMTS master clock. This clock, along with an associated set of signals, is used to transfer descriptions of future bursts. + +### **H.3.4 SPI bus** + +The serial peripheral interconnect (SPI) bus is used to read and write registers in the PHYs. The system MAY use one or more SPI buses to provide register access to the PHYs. The number of SPI buses in the system is a function of the system's SPI bus performance requirements. Each SPI bus has a single master device which MAY be the MAC. Alternatively, an SPI bus master MAY be some other device in the system (e.g., a microprocessor). References to the SPI bus in this recommendation assume that the MAC is the master. The PHYs MUST only be slave devices. Each PHY MUST have one SPI bus interface. Multiple PHYs MAY share the same SPI bus. + +The SPI bus definition includes an interrupt signal (INT\_N). Each PHY MUST drive an interrupt. The interrupt signals MAY be received by an SPI bus master or they MAY be received by some other device in the system that provides the ability to monitor their state. + +## **H.4 Signals** + +### **H.4.1 Downstream data** + +The signals used for the downstream data interface are defined in Table H.2. + +**Table H.2 – Downstream data interface signals** + +| Signal | Description | +|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| DS_CLK | DS transmit clock
Driven by the downstream PHY
See clauses H.5.1 and H.5.2 for detailed requirements for this clock | +| DS_MSYNC_N | Downstream MPEG sync
Driven by the MAC
Marks first nibble of sync byte; active low | +| DS_VALID_N | Downstream data valid
Driven by the MAC
Indicates that valid data is present on DS_DATA | +| DS_DATA[3:0] | DS transmit data
Driven by the MAC | +| DS_DATAP | Downstream parity
Driven by the MAC
Even parity for DS-DATA (the number of 1s across DS_DATA and DS_DATAP is even)
DS_DATA and its corresponding DS_DATAP are driven on the same clock.
Parity is not delayed a clock cycle as it is in some interfaces. | + +#### H.4.2 Upstream data + +The signals used for the upstream data interface are defined in Table H.3. + +**Table H.3 – Upstream data interface signals** + +| Signal | Description | +|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| US_CLK | Upstream data/control clock
Driven by external clock source (input to MAC and PHY) | +| UD_SOB_N | Upstream data start of data block
Driven by upstream PHY asserted when the first nibble or first byte of the data block is on UD_DATA | +| UD_DV_N | Upstream data valid
Driven by upstream PHY indicates valid data on UD_DATA | +| UD_DATA[3:0] | Upstream data
Driven by upstream PHY | +| UD_DATAP | Upstream data parity
Driven by upstream PHY
Even parity for UD_DATA (the number of 1s across UD_DATA and UD_DATAP is even)
UD_DATA and its corresponding UD_DATAP are driven on the same clock.
Parity is not delayed a clock cycle as it is in some other interfaces. | + +### H.4.3 Upstream control + +Table H.4 lists the signals that are used for the upstream control interface. + +**Table H.4 – Upstream control interface signals** + +| Signal | Description | +|----------|---------------------------------------------------------------------------------------------------------------------------| +| US_CLK | Upstream clock
Driven by external clock source (input to MAC and PHY) | +| UC_DV_N | Upstream control data valid
Driven by the MAC
Indicates valid upstream control message data on UC_DATA | +| UC_DATA | Upstream control data
Driven by the MAC | +| UC_RDY_N | Upstream control ready
Driven by the PHY
Indicates that the PHY is ready to receive an interval description message | +| TS_CLK | 10.24-MHz master clock
Driven by external clock source (input to MAC and PHY) | +| TS_FS_N | Timestamp frame sync
Driven by the MAC | + +### H.4.4 SPI bus + +**Table H.5 – SPI bus signals** + +| Signal name | Description | +|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| SPI_CLK | SPI bus clock
Driven by a source external to the MAC and PHY or driven by the MAC | +| SPI_MOSI | Master out/slave in
Serial data from the MAC to the PHY | +| SPI_MISO | Slave out/master in
Serial data from the PHY to the MAC
MAY be driven by the PHY from the falling edge of SPI_CLK | +| SPI_SSx_N | Slave select
Selects a slave for a transaction.
One slave select signal is provided by the MAC for each PHY (x = 1 to N).
Addressing of devices within a package is provided by the protocol layer described in clause H.8.4.
MAY be sampled by the PHY on the falling edge of SPI_CLK | +| INT_N | Interrupt
Driven by PHYs
Open drain | + +### H.4.5 Parity + +The downstream data, upstream data, and upstream control interfaces use parity to maintain data integrity on the interface. Parity SHOULD be implemented. + +The SPI bus does not have parity. + +Parity is even and covers only the data lines of the interface. Specific rules for parity checking are detailed in the following clauses. + +#### **H.4.5.1 Downstream data** + +Parity must be checked by the downstream PHY and covers DS\_DATA. Since the downstream transmit data is protected (DOCS frame HCS and CRC), detection of a parity error is not considered fatal and MUST NOT cause the processing of transmit data to halt. The PHY must generate an interrupt to the system when it detects a parity error so that the system can be made aware of its occurrence. Parity checking on this interface provides a way to distinguish between data errors on the interface and those in other parts of the data path. + +#### **H.4.5.2 Upstream data** + +Parity is checked by the MAC and covers UD\_DATA. Since the upstream receive data is protected (DOCS frame HCS and CRC), detection of a parity error is not considered fatal and MUST NOT cause the processing of receive data to halt. The MAC must generate an interrupt to the system when it detects a parity error so that the system can be made aware of its occurrence. Parity checking on this interface provides a way to distinguish between data errors on the interface and those in other parts of the data path. + +#### **H.4.5.3 Upstream control** + +Parity is checked by the upstream PHY and covers the entire upstream control message. A parity error on this interface is considered a fatal error. The PHY MUST NOT process the upstream control message which was received with a parity error as well as any subsequently received message. The PHY MAY process any upstream control messages received prior to the occurrence of the parity error. This processing MAY include the passage of various types of upstream data blocks to the MAC. + +### **H.4.6 Interrupts** + +Various places in this Recommendation make reference to the assertion of an interrupt by the PHY. The characteristics of this interrupt MUST be as follows: + +- one active low interrupt line of level type; +- driven open drain; +- cause of interrupt line assertion determined by software read(s) of PHY register(s) that contains one bit for each interrupt source; +- no hardware prioritization of interrupt sources; +- each interrupt source separately cleared by software write(s) to PHY register(s); +- asserted until all interrupt source bits are cleared (interrupt line is a simple OR of all interrupt sources). + +## **H.5 Protocol** + +### **H.5.1 Downstream data (ITU-T Rec. J.83 Annex A)** + +Figure H.2 shows the protocol for ITU-T Rec. J.83 Annex A operation. + +![Timing diagram for Downstream data J.83 Annex A protocol. It shows five signal lines: DS_CLK (a constant frequency square wave), DS_MSYNC_N (a signal that goes low during data transfer), DS_VALID_N (a signal that goes low during data transfer), DS_DATA (a stream of data packets with fields: SYNCH, SYNCL, IH, IL, 2H, 2L, followed by a break, then 187H, 187L, then SYNCH, SYNCL), and DS_DATAP (a stream of data packets with fields: SYNCH, followed by a break, then data, then SYNCH). The diagram includes break symbols (double slashes) to indicate gaps in the timing sequence. The label J.122_FH-2 is in the bottom right corner.](228db097d546afebf934a1befb86a0a6_img.jpg) + +Timing diagram for Downstream data J.83 Annex A protocol. It shows five signal lines: DS\_CLK (a constant frequency square wave), DS\_MSYNC\_N (a signal that goes low during data transfer), DS\_VALID\_N (a signal that goes low during data transfer), DS\_DATA (a stream of data packets with fields: SYNCH, SYNCL, IH, IL, 2H, 2L, followed by a break, then 187H, 187L, then SYNCH, SYNCL), and DS\_DATAP (a stream of data packets with fields: SYNCH, followed by a break, then data, then SYNCH). The diagram includes break symbols (double slashes) to indicate gaps in the timing sequence. The label J.122\_FH-2 is in the bottom right corner. + +**Figure H.2 – Downstream data J.83 Annex A protocol** + +The following behaviour of DS\_CLK and DS\_VALID\_N is required: + +- DS\_CLK MUST NOT be gapped (it must have a constant frequency). +- DS\_CLK frequency MUST be 1/4 of the downstream line rate. The DS line rate is the data rate including the ITU-T Rec. J.83 Annex A framing overhead. +- The MAC MUST assert DS\_VALID\_N for the entire 188-byte MPEG packet transfer and then MUST de-assert it for exactly 32 clocks following the transfer of the last nibble of the MPEG packet. + +### H.5.2 Downstream data (ITU-T Rec. J.83 Annex B) + +Figure H.3 shows the protocol used to transfer data across this interface for ITU-T Rec. J.83 Annex B operation. + +![Timing diagram for Downstream data signal protocol for J.83 Annex B operation. It shows five signal lines: DS_CLK (a constant frequency square wave), DS_MSYNC_N (a signal that goes low during data transfer), DS_VALID_N (a signal that goes low during data transfer), DS_DATA (a stream of data packets with fields: SYNCH, SYNCL, IH, IL, 2H, 2L, followed by a break, then 187H, 187L, then SYNCH, SYNCL), and DS_DATAP (a stream of data packets with fields: SYNCH, followed by a break, then data, then SYNCH). The diagram includes break symbols (double slashes) to indicate gaps in the timing sequence. The label J.122_FH-3 is in the bottom right corner.](c8a6d227d5677de3c6aeb11eade9ea84_img.jpg) + +Timing diagram for Downstream data signal protocol for J.83 Annex B operation. It shows five signal lines: DS\_CLK (a constant frequency square wave), DS\_MSYNC\_N (a signal that goes low during data transfer), DS\_VALID\_N (a signal that goes low during data transfer), DS\_DATA (a stream of data packets with fields: SYNCH, SYNCL, IH, IL, 2H, 2L, followed by a break, then 187H, 187L, then SYNCH, SYNCL), and DS\_DATAP (a stream of data packets with fields: SYNCH, followed by a break, then data, then SYNCH). The diagram includes break symbols (double slashes) to indicate gaps in the timing sequence. The label J.122\_FH-3 is in the bottom right corner. + +**Figure H.3 – Downstream data signal protocol for J.83 Annex B operation** + +The following behaviour of DS\_CLK and DS\_VALID\_N is required: + +- DS\_CLK MUST NOT be gapped (it must have a constant frequency). +- DS\_CLK frequency MUST be 1/4 of the downstream payload rate. The downstream payload rate is the data rate excluding the ITU-T Rec. J.83 Annex B framing overhead. +- The MAC MUST keep DS\_VALID\_N always asserted. + +### H.5.3 Upstream data + +Figure H.4 shows the signalling protocol for this interface. + +![Timing diagram for the Upstream data protocol showing five signal lines over time. US_CLK is a periodic square wave. UD_SOB_N is a signal that goes low to indicate the start of a data block. UD_DV_N is a signal that goes low to indicate valid data. UD_DATA shows a sequence of nibbles: four 'X's, B0H, B0L, four 'X's, B1H, four 'X's, B1L, followed by a break, then BNH, BNL, B0H, B0L, and four 'X's. UD_DATAP shows a similar sequence but with empty boxes instead of nibbles. The diagram is labeled J.122_FH-4 in the bottom right corner.](b57a7a090805d3dfef36a0130a473432_img.jpg) + +Timing diagram for the Upstream data protocol showing five signal lines over time. US\_CLK is a periodic square wave. UD\_SOB\_N is a signal that goes low to indicate the start of a data block. UD\_DV\_N is a signal that goes low to indicate valid data. UD\_DATA shows a sequence of nibbles: four 'X's, B0H, B0L, four 'X's, B1H, four 'X's, B1L, followed by a break, then BNH, BNL, B0H, B0L, and four 'X's. UD\_DATAP shows a similar sequence but with empty boxes instead of nibbles. The diagram is labeled J.122\_FH-4 in the bottom right corner. + +**Figure H.4 – Upstream data protocol** + +It is a very simple protocol in which the upstream PHY indicates the presence of valid data on UD\_DATA by asserting UD\_DV\_N. The MAC has no ability to control the flow of data and is required to sample UD\_DATA on every rising clock edge on which UD\_DV\_N is asserted. The start of a data block is indicated by the PHY's assertion of UD\_SOB\_N. This signal MUST be asserted when the first nibble of the first byte of the data block is driven onto UD\_DATA. + +The MAC MUST keep track of length of each data block as it relates to the assertion of UD\_SOB\_N. If UD\_SOB\_N is asserted before the entire previous data block has been transferred, the MAC MUST drop the associated burst and generate an interrupt. + +If the FIRST\_STATUS byte indicates the absence of a PHY\_STATUS data block but the PHY transfers one, the PHY\_STATUS data block MUST be discarded by the MAC and an error MUST be signalled to the system. + +## H.5.4 Upstream control + +### H.5.4.1 Counter synchronization + +The master timestamp counter MUST reside in the MAC. The master mini-slot counter and master frame counter MUST reside in the PHY. The PHY MUST capture a timestamp snapshot on every frame boundary. When the system needs a timestamp snapshot for a UCD, it MUST read this snapshot using a single SPI bus transaction. The PHY MUST ensure that the timestamp snapshot does not change during the SPI bus read transaction. + +A common timestamp clock, TS\_CLK, MUST be externally provided to the upstream PHYs and the MACs. The frequency of this timestamp clock MUST be 10.24 MHz $\pm 5$ ppm. The MAC MUST synchronize all PHYs to the timestamp value of the MAC. To accomplish this, the MAC MUST provide a frame sync pulse, TS\_FS\_N, to the PHYs that is synchronous to the positive edge of TS\_CLK and has a pulse width equal to one period of TS\_CLK. + +The 32-bit timestamp counter consists of a group of upper bits and a group of lower bits. The MAC and PHY MUST provide at least the following choices of upper and lower bit boundaries shown in Table H.6. + +**Table H.6 – Timestamp counter initialization options** + +| Upper bits | Lower bits | Frame sync interval | +|------------|------------|---------------------| +| 8 | 24 | 1638.4 ms | +| 9 | 23 | 819.2 ms | +| 10 | 22 | 409.6 ms | +| 11 | 21 | 204.8 ms | +| 12 | 20 | 102.4 ms | + +Figure H.5 shows an example of the proper assertion of the TS\_FS\_N signal. Note that the TIMESTAMP is shown for reference and is not part of the upstream control interface. In this example, upper bits = 8. + +![Timing diagram showing TS_CLK, TS_FS_N, and TIMESTAMP signals. TS_CLK is a periodic square wave. TS_FS_N is a signal that goes low for two clock cycles. TIMESTAMP shows a sequence of values: XXFFF8, XXFFF9, XXFFFA, XXFFFB, XXFFFC, XXFFFD, XXFFFE, XXFFFF, XX0000, XX0001. The transition of TS_FS_N occurs between the XXFFFE and XXFFFF timestamp values.](65dfb5b0cce768997b08d0030d483f76_img.jpg) + +J.122\_FH-5 + +Timing diagram showing TS\_CLK, TS\_FS\_N, and TIMESTAMP signals. TS\_CLK is a periodic square wave. TS\_FS\_N is a signal that goes low for two clock cycles. TIMESTAMP shows a sequence of values: XXFFF8, XXFFF9, XXFFFA, XXFFFB, XXFFFC, XXFFFD, XXFFFE, XXFFFF, XX0000, XX0001. The transition of TS\_FS\_N occurs between the XXFFFE and XXFFFF timestamp values. + +**Figure H.5 – Counter synchronization** + +The MAC MUST assert TS\_FS\_N two 10.24-MHz clock periods prior to the lower bits of the MAC timestamp counter equalling all zeros. The MAC SHOULD provide some sort of maskable indication to the system when TS\_FS\_N occurs so that the system will have time to programme the registers of the PHYs prior to the next assertion of TS\_FS\_N. The period of TS\_FS\_N is a function of the timestamp bit time and the number of lower bits from Table H.6. The variation of the TS\_FS\_N period is to allow the system designer to trade off system response time versus the time available to initialize a PHY chip. + +The PHY MUST provide all combinations of the following three initialization options when TS\_FS\_N is asserted: + +- The upper bits of the timestamp counter are specified and the lower bits are set to zero. +- The full 8 bits of the frame counter are specified. +- The full 32 bits of the mini-slot counter are specified. + +The specification of these counters is supplied across the SPI bus prior to the next frame sync pulse. Two TS\_CLK clock cycles after TS\_FS\_N occurs, the PHY chip MUST initialize the specified counters. These counters are loaded at configuration time, and not on every assertion of TS\_FS\_N. A single PHY may be re-initialized without the need to re-initialize or otherwise interrupt the operation of other PHYs or the MAC. + +During normal operation, the PHY MUST check that the lower bits of the PHY timestamp counter are exactly all zeros two 10.24-MHz clock cycles following every assertion of TS\_FS\_N. If the check is negative, the PHY MUST generate an interrupt and MUST provide status accessible over the SPI bus. + +#### H.5.4.2 Upstream control messages + +Figure H.6 shows a sample transaction. + +![Timing diagram for upstream control message transfer. It shows four signals: US_CLK (a periodic clock), UC_DV_N (asserted low during the transfer), UC_DATA (a burst of data), and UC_RDY_N (de-asserted high during the transfer). The diagram includes break symbols (//) to indicate time gaps.](16ad86204c0dc2490315c856c101159e_img.jpg) + +J.122\_FH-6 + +Timing diagram for upstream control message transfer. It shows four signals: US\_CLK (a periodic clock), UC\_DV\_N (asserted low during the transfer), UC\_DATA (a burst of data), and UC\_RDY\_N (de-asserted high during the transfer). The diagram includes break symbols (//) to indicate time gaps. + +**Figure H.6 – Upstream control message transfer** + +The upstream control interface is used to transfer time-critical configuration information (messages) to the PHY. The most common type of message is an interval description message. This message informs the PHY of the arrival time and characteristics of an upcoming burst. The protocol of this interface is very simple. Following is a description of how this interface works: + +A transaction transfers a single upstream control message. + +- UC\_DV\_N MUST remain asserted for the entire duration of the upstream control message transfer. +- The length of each upstream control message is inferred by its type. +- UC\_DV\_N MUST be de-asserted for a minimum of one US\_CLK clock period to indicate the end of a transaction. +- UC\_RDY\_N MAY be used to stop and start the flow of interval description messages. UC\_RDY\_N does not affect the transfer of other message types. If the PHY is receiving an interval description and does not want to receive a subsequent interval description, the PHY MUST de-assert UC\_RDY\_N at least two clock cycles of US\_CLK prior to the end of the current interval description. This de-assertion behaviour is shown in Figure H.6. The MAC MUST transfer a new interval description message within 10 US\_CLK periods of the assertion of UC\_RDY\_N if a new interval description message is available. + +### H.5.5 SPI bus + +Figure H.7 shows a SPI bus transaction. + +![Timing diagram for a SPI bus transaction. It shows four signals: SPI_CLK (a periodic clock), SPI_SSx_N (asserted low to select a slave), SPI_MOSI (Master Out Slave In data), and SPI_MISO (Master In Slave Out data). The diagram includes break symbols (//) to indicate time gaps.](5a4e859b13c7bb1cdd27378d12027bcd_img.jpg) + +J.122\_FH-7 + +Timing diagram for a SPI bus transaction. It shows four signals: SPI\_CLK (a periodic clock), SPI\_SSx\_N (asserted low to select a slave), SPI\_MOSI (Master Out Slave In data), and SPI\_MISO (Master In Slave Out data). The diagram includes break symbols (//) to indicate time gaps. + +**Figure H.7 – SPI bus transaction** + +A transaction proceeds as follows: + +- The master asserts the select (SPI\_SSx\_N) of the desired slave device. +- The master drives SPI\_MOSI with the appropriate command and data as described in clause H.8.4. + +- For write commands, the first byte of data driven on SPI\_MOSI is written to the register specified by the address in the command. The second byte of data (if it exists), is written to the next higher numbered address. Writes continue in this way until the master terminates the transaction by de-asserting SPI\_SSx\_N. +- For read commands, the slave drives the read data on SPI\_MISO which is indicated by the address in the command. The first bit of this read data is driven one clock after the last bit of the command has been sampled. Read data from consecutively numbered addresses is driven until the master terminates the transaction by de-asserting SPI\_SSx\_N. + +SPI\_CLK MUST be driven (oscillate) for at least one clock period prior to the assertion of SPI\_SSx\_N, during the entire SPI bus transaction, and for one clock after the de-assertion of SPI\_SSx\_N. SPI\_CLK MAY be driven high or low at all other times. + +## H.6 Electrical specifications + +### H.6.1 DC specifications + +Devices which connect to DMPI must meet the requirements listed in Table H.7. Note that output high voltage and output high current specifications do not apply to the INT\_N output as it is open drain. + +**Table H.7 – DC characteristics** + +| Parameter | Symbol | Min | Max | Units | Comments | +|---------------------|-----------------|-----|-----|-------|----------| +| Input capacitance | | | 10 | pF | | +| Input low voltage | V il | | 0.8 | V | | +| Input high voltage | V ih | 2.0 | | V | | +| Output low voltage | V ol | | 0.4 | V | | +| Output high voltage | V oh | 2.4 | | V | | +| Output low current | I ol | 4 | | mA | | +| Output high current | I oh | -4 | | mA | | + +## H.7 Timing specifications + +### H.7.1 Downstream data + +**Table H.8 – Downstream data interface timing** + +| Parameter | Symbol | Min. | Max. | Units | +|------------------------------|------------------|------|-------|-------| +| DS_CLK frequency | f | | 25 | MHz | +| DS_CLK low pulse width | t lpw | 10 | | ns | +| DS_CLK high pulse width | t hpw | 10 | | ns | +| DS_CLK rise/fall time | t rf | | 4 | ns | +| DS_CLK jitter | t j | | 97.66 | ns | +| Input set-up time to DS_CLK | t su | 10 | | ns | +| Input hold time from DS_CLK | t h | 0 | | ns | +| DS_CLK to signal valid delay | t eq | 1 | 15 | ns | + +## H.7.2 Upstream data + +**Table H.9 – Upstream data interface timing** + +| Parameter | Symbol | Min. | Max. | Units | +|------------------------------|------------------|------|-------|-------| +| US_CLK frequency | f | 33 | 40.96 | MHz | +| US_CLK low pulse width | t lpw | 6.5 | | ns | +| US_CLK high pulse width | t hpw | 6.5 | | ns | +| US_CLK rise/fall time | t rf | | 1.5 | ns | +| Input set-up time to US_CLK | t su | 6 | | ns | +| Input hold time from US_CLK | t h | 0 | | ns | +| US_CLK to signal valid delay | t cq | 1 | 9 | ns | + +## H.7.3 Upstream control + +**Table H.10 – Upstream control interface timing** + +| Parameter | Symbol | Min. | Max. | Units | +|------------------------------|-----------------|------|------|-------| +| Input set-up time to US_CLK | t su | 6 | | ns | +| Input hold time from US_CLK | t h | 0 | | ns | +| US_CLK to signal valid delay | t cq | 1 | 9 | ns | +| Input set-up time to TS_CLK | t su | 10 | | ns | +| Input hold time from TS_CLK | t h | 0 | | ns | +| TS_CLK to signal valid delay | t cq | 1 | 15 | ns | + +## H.7.4 SPI bus + +**Table H.11 – SPI bus timing** + +| Parameter | Symbol | Min. | Max. | Units | +|---------------------------------------------|------------------|------|-------|-------| +| SPI_CLK frequency | f | | 10.24 | MHz | +| SPI_CLK low pulse width | t lpw | 43.9 | | ns | +| SPI_CLK high pulse width | t hpw | 43.9 | | ns | +| SPI_CLK rise/fall time | t rf | | 4 | ns | +| SPI_MOSI or SPI_MISO set-up time to SPI_CLK | t su | 15 | | ns | +| SPI_MOSI or SPI_MISO hold time from SPI_CLK | t h | 0 | | ns | +| SPI_SSx_N set-up time to SPI_CLK rising | t su | 50 | | ns | +| SPI_SSx_N setup time to SPI_CLK falling | t su | 25 | | ns | +| SPI_SSx_N hold time from SPI_CLK | t h | 0 | | ns | +| SPI_CLK to signal valid delay | t cq | 1 | 12 | ns | + +## H.8 Data format and usage + +### H.8.1 Downstream data + +The data that passes from the MAC to the PHY is a stream of MPEG packets. The start of the SYNC byte is indicated by the assertion of the DS\_MSYNC\_N signal. Including the SYNC byte, each MPEG packet is 188 bytes in length. + +The MAC MUST generate NULL MPEG packets when there are no DOCS frames to be transmitted. + +### H.8.2 Upstream data + +#### H.8.2.1 Block format + +Data is passed from the upstream PHY to the MAC using a combination of variable sized units called upstream data blocks. Each of these data blocks has the generic format described in Table H.12 (except for the CHANNEL data block type as indicated in clause H.8.2.8.5). + +**Table H.12 – Upstream data block format** + +| Size (bytes) | Name | Description | +|--------------|--------------|-------------------------------------------------------------------------------| +| 1 | Block type | Identifies the type of block | +| 2 | Block length | Length of block data field in bytes (N)
Not present for CHANNEL block type | +| N | Block data | Block data | + +As can be seen from this table, each data block starts with a data block type. This type is used by the MAC to determine which type of data block data is being transferred. The data block length field contains the length in bytes of the data block data and is used by the MAC to find the end of the data block data field. In most cases, the data block type determines the format of the data block data field. The exception to this is the PHY\_STATUS type where the format of the data block data field is PHY-specific. + +Table H.13 gives a complete list of all block types. + +**Table H.13 – Upstream data block types** + +| Type | Name | Description | +|-----------|-------------|--------------------------------------------------------------------------------------------| +| 0x00 | Reserved | Reserved | +| 0x01 | FIRST_DATA | First data of burst contains 7 bytes of fixed-format status data and first data of burst | +| 0x02 | MIDDLE_DATA | Middle data of burst | +| 0x03 | LAST_DATA | Last data of burst contains 4 bytes of fixed format status data and last data of burst | +| 0x04 | PHY_STATUS | Status that should be passed to software
The maximum length of this block is 128 bytes. | +| 0x05 | NO_BURST | Indicates that no burst was received during a transmit opportunity | +| 0x06 | CHANNEL | Used to indicate the channel to which the next data block belongs. | +| 0x07-0xff | Reserved | Reserved | + +### H.8.2.2 FIRST\_DATA block + +Table H.14 shows the format of the FIRST\_DATA block. + +The FIRST\_DATA block is used by the PHY to transfer the beginning of a received burst. This block MUST contain the seven bytes of status information defined in the table. It MAY contain burst data as well. The block length of the FIRST\_DATA block MUST NOT be less than seven. Note that N = 7 is allowed. + +**Table H.14 – FIRST\_DATA data format** + +| Size (bytes) | Name | Description | +|--------------|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 1 | FIRST_STATUS | Bit 7:6, reserved, MUST be zero
Bit 5, new UCD, 1 ≥ First burst received on new UCD
Bit 4, PHY_STATUS data block present, 1 ≥ PHY_STATUS data block present
Bit 3:0, IUC, taken from the upstream control interval description message | +| 2 | SID | Bit 15:14, reserved, MUST be zero
Bit 13:0, SID, taken from the upstream control interval description message | +| 4 | START_MINISLOT | Derived from the upstream control interval description message parameters | +| N – 7 | BURST_DATA | First data of burst | + +### H.8.2.3 MIDDLE\_DATA block + +Table H.15 shows the format of the MIDDLE\_DATA block. The MIDDLE\_DATA block is used to transfer burst data. + +**Table H.15 – MIDDLE\_DATA data format** + +| Size (bytes) | Name | Description | +|--------------|------------|----------------------| +| N | BURST_DATA | Middle data of burst | + +### H.8.2.4 LAST\_DATA block + +Table H.16 shows the format of the LAST\_DATA block. The LAST\_DATA block is used to transfer burst data. This block MUST contain the four bytes of status information defined in the table. It MAY also contain burst data. The block length of the LAST\_DATA block MUST NOT be less than four. Note that N = 4 is allowed. + +**Table H.16 – LAST\_DATA data format** + +| Size (bytes) | Name | Description | +|--------------|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| N – 4 | BURST_DATA | Last data of burst | +| 1 | LAST_STATUS | Bit 7:3, reserved, must be zero
Bit 2, internal PHY error, 1 ≥ internal PHY error
Bit 1, low energy; indicates that the burst power was below the desired threshold, 1 ≥ low energy
Bit 0, high energy; indicates that the burst power was above the desired threshold, 1 ≥ high energy | +| 1 | GOOD_FEC | The number of good FEC blocks in the burst;
must stop incrementing when count reaches 255;
must be zero if FEC is disabled for associated interval | +| 1 | CORRECTED_FEC | The number of corrected FEC blocks in the burst;
must stop incrementing when count reaches 255;
must be zero if FEC is disabled for associated interval | +| 1 | UNCORRECTED_FEC | The number of uncorrected FEC blocks in the burst;
must stop incrementing when count reaches 255;
must be zero if FEC is disabled for associated interval | + +#### H.8.2.5 PHY\_STATUS block + +Table H.17 shows the format of the PHY\_STATUS block. The PHY\_STATUS block is used to transfer PHY unique status to the MAC. The contents of this block are vendor-unique and are unrestricted. + +**Table H.17 – PHY\_STATUS data format** + +| Size (bytes) | Name | Description | +|--------------|------------|-------------------------------------------------------------------------------------------------------------------------------------| +| N | PHY_STATUS | PHY-specific status information such as channel characteristics (e.g., timing error, power error, frequency error, EQ coefficients) | + +#### H.8.2.6 NO\_BURST block + +Table H.18 shows the format of the NO\_BURST block. This block is used by the PHY to indicate that a valid burst was not received when one was expected. Absence of a valid burst may be caused by either no transmitter, multiple transmitters or a noise-corrupted transmission. DMPI does not specify the criteria by which the PHY distinguishes between these cases. + +**Table H.18 – NO\_BURST data format** + +| Size (bytes) | Name | Description | +|--------------|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 2 | SID_STATUS | Bit 15, collision, collision occurred
Bit 14, no energy, no energy detected
Bit 13:0, SID, taken from the upstream control interval description message | +| 4 | START_MINISLOT | Derived from the upstream control interval description message parameters | + +**Table H.18 – NO\_BURST data format** + +| Size (bytes) | Name | Description | +|--------------|--------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 1 | IUC | Bit 7:5, reserved, must be zero
Bit 4, new UCD, 1=> first NO_BURST block received on new UCD
Bit 3:0, IUC, taken from the upstream control interval description message | +| 2 | LENGTH | Taken from the upstream control interval description message
Note that for contention intervals, this is the length of the interval and not the length of each individual transmit opportunity in the interval | + +**H.8.2.7 CHANNEL block** + +Table H.19 shows the format of the CHANNEL block. The CHANNEL block is used by the PHY to indicate to which logical channel subsequent blocks belong. + +**Table H.19 – CHANNEL data format** + +| Size (bytes) | Name | Description | +|--------------|---------|------------------------------------------------------------| +| 1 | CHANNEL | Bit 7:3, reserved, must be zero
Bit 2:0, channel number | + +**H.8.2.8 Block usage****H.8.2.8.1 Overview** + +At least one data block MUST be transferred for every transmit opportunity. If a burst is received during a transmit opportunity, the appropriate series of data blocks MUST be transferred to the MAC (FIRST\_DATA, MIDDLE\_DATA, LAST\_DATA, PHY\_STATUS). If no burst is received, a NO\_BURST data block MUST be transferred unless the region was allocated to a SID that the system has reserved for no CM (e.g., the null SID as defined in clause A.2.1). Note that since contention regions have multiple transmit opportunities, more than one set of data blocks will likely be transferred to over the interface for each region (interval). + +The minimum amount of payload in a data block (the length of the block data field) MUST be 16 bytes with the following exceptions: + +- data blocks for bursts that are less than 16 bytes in length; +- any LAST\_DATA data block. + +The upstream PHY SHOULD minimize the number of data blocks required to transfer a burst so as to minimize the amount of overhead on DMPI. However, nothing specific other than what is mentioned above is required. + +For non-contention intervals, the START\_MINISLOT MUST be equal to the START\_MINISLOT that was passed to the PHY in the corresponding interval description message (described in clause H.8.3). For contention intervals (IE types REQ and REQ/data), the PHY MUST calculate an accurate START\_MINISLOT value and return it in the appropriate data block (FIRST\_DATA or NO\_BURST). In general terms, this means that PHY MUST calculate the START\_MINISLOT for each data block by taking into account the number of mini-slots that have passed since the start of the interval. Specifically, the upstream PHY SHOULD use the IUC and SID in the upstream control interval description message to calculate a burst start offset from the original START\_MINISLOT + +value received in this message. The offset is then added to this START\_MINISLOT and returned to the MAC as the START\_MINISLOT in the appropriate upstream data block. + +#### **H.8.2.8.2 Burst data transfer** + +The transfer of a burst MUST be accomplished by transferring the following data blocks in the following order: + +- one FIRST\_DATA block; +- zero to N MIDDLE\_DATA blocks; +- one LAST\_DATA block; +- zero or one PHY\_STATUS block. + +The only data block type that MAY be transferred after a FIRST\_DATA data block and before a LAST\_DATA data block is a MIDDLE\_DATA data block. Any other data block transferred between these two data blocks MUST be discarded by the MAC. + +In general, each data block will contain one FEC block of data. However, there is no specific requirement as to which data block types contain which parts of the burst data. The data MAY be distributed between the various data block types at the discretion of the PHY as long as the data block ordering shown above is maintained and the minimum block length requirements are respected. A data block type with a length of zero is also allowed. Every burst, regardless of size, MUST be transferred to the MAC using at least a FIRST\_DATA block and a LAST\_DATA data block. The PHY\_STATUS data block is optional with its presence indicated in the FIRST\_STATUS byte in the FIRST\_DATA data block. The MIDDLE\_DATA data block is optional. + +Typically, there will be some arbitrary delay between the transfer of one data block and the transfer of the next. It is the PHY's responsibility to assure that these delays do not interfere with the PHY's ability to keep up with the incoming data rate. + +Note that this series of data blocks is passed to the MAC any time a burst is received, regardless of the type of interval in which the burst was received (contention or non-contention). + +#### **H.8.2.8.3 No burst status transfer** + +It is sometimes useful for the system to know when no usable burst was received during a transmit opportunity. This can happen when there is no transmitter (no energy) in the opportunity, there is more than one transmitter (a collision), or noise corrupted a transmission. For a contention region, knowledge of unused opportunities or those with collisions helps software optimize its scheduling of contention regions (their duration and frequency). For non-contention regions, these same events could be an indication of a problem with a CM, or they could be a result of illegal or malicious use of the US bandwidth. + +The NO\_BURST data block contains two status bits. The one called "collision" indicates that a collision occurred during the transmit opportunity. The other, called "no energy", indicates that there was no energy detected during the transmit opportunity. If neither is set, it means that there was energy but that no preamble was found. Both of these bits must not be set at the same time. + +#### **H.8.2.8.4 UCD change indication** + +In order to allow the system to properly size grants for bandwidth requests that were received prior to a UCD change but are granted after such a UCD change, the MAC needs to be notified that a new UCD is in effect. This notification is achieved via "new UCD" status bits in the NO\_BURST and FIRST\_DATA data blocks. The PHY MUST set the new UCD bit of the first data block sent to the MAC after a UCD change (FIRST\_DATA or NO\_BURST, whichever is sent first). The new UCD bit of these data blocks MUST be zero at all other times. + +#### H.8.2.8.5 Logical channel support + +For upstream PHYs that support multiple logical channels, a data block type called CHANNEL is used to specify to that logical channel each data block belongs. This data block contains a single byte of payload that is the channel number (zero to seven inclusive). Since the data block is a fixed length and is potentially required for every other data block transferred, the length bytes are omitted from the normal data block format and only the data block type and block data are transferred. So, a CHANNEL block is always two bytes long (including the type byte). + +It is important to note that the channel data block is only used to distinguish between data received on logical channels within the same RF channel. Since each PHY has its own DMPI interface, the RF channel to which data belongs is inferred by the PHY's connection to the MAC. + +The CHANNEL data block is used as follows: + +- The CHANNEL data block sets the "current" channel for transmitted data blocks. After reset, the MAC must set the current channel to zero. +- The current channel is always the channel number contained in the most recently transmitted CHANNEL data block. For this reason, transmission of a CHANNEL data blocks is only required when a change in the current channel is desired. + +Since the MAC sets the current channel to zero prior to receipt of any CHANNEL data blocks, PHYs that support a single channel are not required to support this data block type. In cases where multiple CHANNEL data blocks are transferred in succession, the last one received prior to the transfer of one of the other data blocks will be considered valid and the others that preceded it will be ignored. NO\_BURST data blocks may be preceded by a CHANNEL data block. If a series of NO\_BURST data blocks for the same channel are transmitted to the MAC, only one CHANNEL data block is required (transferred prior to the first NO\_BURST data block). + +All data blocks associated with a single burst MUST be transferred contiguously over the upstream data interface. Specifically, this would mean that FIRST\_DATA, MIDDLE\_DATA, LAST\_DATA, PHY\_STATUS would all be transferred for a given burst of a given channel before any other data blocks were transferred for another channel. A CHANNEL data block MUST precede the first data block (NO\_BURST or FIRST\_DATA) that belongs to a channel that is different than the one which preceded it. The PHY MAY transfer a CHANNEL data block prior to the FIRST\_DATA block of every burst. CHANNEL data blocks MUST NOT be transferred immediately before any of the other data block associated with a burst. + +#### H.8.3 Upstream control + +The upstream control interface carries two different messages. One of them is used to describe upcoming bursts. The other is used to indicate UCD changes. + +The format of an upstream control message is shown in Table H.20. + +**Table H.20 – Upstream control message format** + +| Size (bits) | Name | Description | +|-------------|---------|------------------------------------------------------------------------------------------------------------------------| +| 3 | TYPE | Message type | +| 3 | CHANNEL | Logical channel number | +| N | PAYLOAD | Payload of message | +| 1 | PARITY | Even parity for all bits in the message (the number of 1s across all bits in {TYPE, CHANNEL, PAYLOAD, PARITY} is even) | + +Table H.21 shows the message type encoding. + +**Table H.21 – Upstream message types** + +| Type | Name | Description | +|---------|----------------------|-------------------------------------| +| 0x0 | INTERVAL_DESCRIPTION | Describes an interval | +| 0x1 | UCD_CHANGE | Indicates a UCD change has occurred | +| 0x2-0x7 | Reserved | Reserved | + +**H.8.3.1 Interval description message** + +Table H.22 describes the format of the interval description message PAYLOAD. + +**Table H.22 – Upstream control burst description PAYLOAD format** + +| Size (bits) | Name | Description | +|-------------|----------------|------------------------------------------------------------------| +| 14 | SID | Expected SID from MAP IE | +| 4 | IUC | IUC from MAP IE | +| 14 | LENGTH | Length in mini-slots | +| 32 | START_MINISLOT | Starting mini-slot of interval (alloc start time + offset of IE) | +| 3 | PSC | PHY_STATUS control | + +The MAC builds these interval description messages from the information present in the DOCS MAPs that have been generated for the logical channels that the PHY is servicing. The MAC MUST transfer only one interval description message to the PHY for an interval allocation that might describe an interval that has more than one transmit opportunity (e.g., a REQ, REQ/DATA). The MAC MAY generate interval description messages for interval allocations to the NULL SID, but MUST NOT generate interval description messages for interval allocations for the NULL SID if they overlap with interval allocations for non-NULL SIDs on other logical channels being serviced by the same PHY. Interval description messages for the NULL SID MAY be associated with any currently active logical channel. In contrast to MAP messages, the set of all interval description messages from the MAC taken together need not describe every mini-slot on the logical channels in question; the MAC MAY refrain from sending interval description messages to describe inactive time periods on any or all logical channels. So as to minimize the complexity and buffering requirements of the PHY, the MAC MUST sort the interval descriptions from all logical channels, put them into chronological order, and deliver them to the PHY in this order. Note that interval description messages MUST NOT be transferred for the NULL IE, data acknowledgement IEs, or data grants pending (since none of these is an interval allocation). + +The system is allowed to schedule the initial maintenance regions of all logical channels of a physical channel to occur simultaneously. This type of overlap MUST be handled as follows: + +- The MAC MUST transfer an interval description for only one of the logical channels. +- The interval description that is transferred MUST be the one with the earliest start time. If more than one interval description has the earliest start time, the MAC MAY choose any of these overlapping interval descriptions to pass to the PHY. +- The PHY MUST accept any of the logical channel numbers it supports for this interval description. + +The system software is responsible for knowing that bursts received during initial ranging could be from CMs on any of the logical channels. + +It is possible for there to be illegal overlap of intervals for the logical channels. An illegal overlap is defined to be an overlap of intervals other than initial maintenance. The PHY MAY detect these + +illegal overlaps. If the PHY performs this function, it MUST generate an interrupt to alert the system of such an event. It MUST capture the illegally overlapped interval description and hold it in SPI bus-accessible registers until software acknowledges its receipt. + +The PSC field of the interval description message is used to control the contents of the PHY\_STATUS block. The usage of this field is summarized below: + +- If PSC = 000, the contents of the PHY\_STATUS block is determined through PHY programmable registers. +- If PSC is any other value, the contents of the PHY\_STATUS block are vendor-specific. + +The MAC and PHY MUST support PSC = 000. + +The MAC and PHY MAY support other values. + +### H.8.3.2 UCD change message + +Table H.23 describes the format of the UCD change message PAYLOAD. + +**Table H.23 – UCD change PAYLOAD format** + +| Size (bits) | Name | Description | +|-------------|------|-----------------------------------------| +| 8 | CCC | Configuration change count from the MAP | + +The MAC MUST send this message before sending the first interval description message after a UCD change. This message MUST NOT be sent at any other time. + +### H.8.4 SPI bus + +In order to perform an SPI bus transaction, the master MUST drive SPI\_MOSI with a bitstream of the following format: + +**Table H.24 – SPI bus transaction format** + +| Size (bits) | Name | Description | +|-------------|--------------|-------------------------------| +| 4 | DEVICE_ID | Device ID | +| 3 | RSVD | Reserved | +| 1 | WRITE | 1 = write, 0 = read | +| 16 | REGISTER_ADD | Register address | +| N × 8 | WRITE_DATA | Write data; ignored for reads | + +The DEVICE\_ID is used to address PHY devices that are integrated into the same physical package and share a single SPI select. DEVICE\_ID MUST be zero for accesses to single PHY devices. + +## **Annex I** + +### **(Set aside)** + +NOTE – This annex is left blank intentionally to avoid any possible confusion with Appendix I. + +## **Annex J** + +### **Japan specification additions** + +(This annex forms an integral part of this Recommendation) + +This annex applies to the third technology option referred to in clause 1.1, "scope". + +This annex describes the physical layer MAC layer specifications required for what are generally called Japan-DOCS cable-modems. This is an optional annex and in no way affects certification of North American and European DOCS 1.x and DOCS 2.0 modems. + +The numbering of the clauses has been made so that the suffix after the J refers to the part of the specification which has changed. As a consequence, some clauses are missing in this annex because no change is required. + +#### **J.1 Scope and purpose** + +See clause 1. + +#### **J.2 References** + +See clause 2. + +#### **J.3 Glossary** + +See clause 3. + +#### **J.4 Functional assumptions** + +See clause 4. + +##### **J.4.1 Broadband access network** + +A coaxial-based broadband access network is assumed. This may take the form of either an all-coax or hybrid-fibre/coax (HFC) network. The generic term "cable network" is used here to cover all cases. + +A cable network uses a shared-medium, tree-and-branch architecture with analogue transmission. The key functional characteristics assumed in this annex are the following: + +- two-way transmission; +- a maximum optical/electrical spacing between the CMTS and the most distant CM of 160 km, although typical maximum separation may be 16 to 24 km; +- a maximum differential optical/electrical spacing between the CMTS and the closest and most distant modems of 160 km, although this would typically be limited to 24 km. + +## **J.4.2 Equipment assumptions** + +### **J.4.2.1 Frequency plan** + +In the downstream direction, the cable system is assumed to have a passband with a lower edge 90 MHz and an upper edge that is implementation-dependent but is typically in the range of 350 MHz to 770 MHz. Within that passband, NTSC analogue television signals in 6-MHz channels are assumed to be present on the standard Japan frequency plans, as well as other narrow-band and wideband digital signals. + +In the upstream direction, the cable system MAY have a subsplit (10 MHz to 55 MHz) passband. NTSC analogue television signals in 6 MHz channels MAY be present, as well as other signals. + +### **J.4.2.2 Compatibility with other services** + +Refer to clause 4.2.2. + +### **J.4.2.3 Fault isolation impact on other users** + +Refer to clause 4.2.3. + +### **J.4.2.4 Cable system terminal devices** + +The CM MUST meet and SHOULD exceed all applicable regulations for cable system termination devices and cable ready consumer equipment as defined in voluntary control council for interference by information technology equipment (VCCI). None of these specific requirements may be used to relax any of the specifications contained elsewhere within VCCI. The CMTS SHOULD meet and exceed all applicable regulations for Class-B ITE as well. + +## **J.4.3 RF channel assumptions** + +Refer to clause 4.3. + +### **J.4.3.1 Transmission downstream** + +The RF channel transmission characteristics of the cable network in the downstream direction are described in Table J.4-1. These numbers assume total average power of a digital signal in a 6 MHz channel bandwidth for carrier levels unless indicated otherwise. For impairment levels, the numbers in Table J.4-1 assume average power in a bandwidth in which the impairment levels are measured in a standard manner for cable TV system. For analogue signal levels, the numbers in Table J.4-1 assume peak envelope power in a 6-MHz channel bandwidth. All conditions are present concurrently. No combination of the following parameters will exceed any stated interface limit defined elsewhere in this Recommendation. + +**Table J.4-1 – Assumed downstream RF channel transmission characteristics +(see Note 1)** + +| Parameter | Value | +|---------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------| +| Frequency range | Cable system normal downstream operating range is from 90 MHz to as high as 770 MHz. | +| RF channel spacing (design bandwidth) | 6 MHz | +| Transit delay from headend to most distant customer | ≤0.800 ms (typically much less) | +| Carrier-to-noise ratio in a 6-MHz band | Not less than 26 dBrms (@ 5.274 MHz) for 64QAM
Not less than 33 dBrms (@ 5.274 MHz) for 256QAM
(Note 2) | +| Carrier-to-composite triple beat distortion ratio | Not less than 40 dBrms for 64QAM
Not less than 51 dBrms for 256QAM
(Note 2) | +| Carrier-to-any other discrete interference (ingress) | Not less than 26 dBrms for 64QAM
Not less than 33 dBrms for 256QAM
(Note 2) | +| Amplitude ripple | 3 dB within the design bandwidth | +| Micro reflections bound for dominant echo | Figure J.4-1 | +| Maximum analogue video carrier level at the CM input | 85 dB $\mu$ V peak | +| Maximum number of carriers | 111 (770 MHz system) | +| NOTE 1 – Transmission is from the headend combiner to the CM input at the customer location. | | +| NOTE 2 – Measured relative to a QAM signal level (rms) that is –10 dB for 64QAM, –4 dB for 256QAM to the nominal video level (peak) in the plant. | | + +![Figure J.4-1: Micro reflections bound for dominant echo. A line graph showing Micro reflection level (dB) on the y-axis (from -35 to 0) versus Micro reflection time (μs) on the x-axis (logarithmic scale from 0.1 to 10). The graph shows a downward-sloping line starting at -15 dB at 0.1 μs, reaching -30 dB at 1.5 μs, and then leveling off. Two horizontal lines are shown at -30 dB and -32 dB, labeled '-30 for 64QAM' and '-32 for 256QAM' respectively. A vertical dashed line is at 0.25 μs and a solid vertical line is at 1.5 μs.](f17a2bc8b89089561fc93cee086daf84_img.jpg) + +Figure J.4-1: Micro reflections bound for dominant echo. A line graph showing Micro reflection level (dB) on the y-axis (from -35 to 0) versus Micro reflection time (μs) on the x-axis (logarithmic scale from 0.1 to 10). The graph shows a downward-sloping line starting at -15 dB at 0.1 μs, reaching -30 dB at 1.5 μs, and then leveling off. Two horizontal lines are shown at -30 dB and -32 dB, labeled '-30 for 64QAM' and '-32 for 256QAM' respectively. A vertical dashed line is at 0.25 μs and a solid vertical line is at 1.5 μs. + +J.122\_FJ-4-1 + +**Figure J.4-1 – Micro reflections bound for dominant echo** + +### J.4.3.2 Transmission upstream + +The RF channel transmission characteristics of the cable network in the upstream direction assumed for the purposes of minimal operating capability are described in Table J.4-2. All conditions are present concurrently. + +**Table J.4-2 – Assumed upstream RF channel transmission characteristics (see Note 1)** + +| Parameter | Value | +|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------| +| Frequency range | 10 MHz to 55 MHz edge to edge | +| Transit delay from the most distant CM to the nearest CM or CMTS | ≤0.800 ms (typically much less) | +| Carrier-to-interference plus ingress (the sum of noise, distortion, common path distortion and cross modulation, and the sum of discrete and broadband ingress signals, impulse noise excluded) ratio | Not less than 25 dB (Note 2) | +| Carrier hum modulation | Not greater than -23 dBc (7.0 %) | +| Burst noise | Not longer than 10 μs at a 1-kHz average rate for most cases (Notes 3 and 4) | +| Amplitude ripple 10 MHz to 55 MHz | 0.5 dB/MHz | +| Group delay ripple 10 MHz to 55 MHz | 200 ns/MHz | + +**Table J.4-2 – Assumed upstream RF channel transmission characteristics +(see Note 1)** + +| Parameter | Value | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------| +| Micro reflections – single echo | –10 dB @ $\leq 0.5 \mu\text{s}$
–20 dB @ $\leq 1.0 \mu\text{s}$
–30 dB @ $> 1.0 \mu\text{s}$ | +| Seasonal and diurnal reverse gain (loss) variation | Not greater than 14 dB min. to max. | +| NOTE 1 – Transmission is from the CM output at the customer location to the headend.
NOTE 2 – Ingress avoidance or tolerance techniques may be used to ensure operation in the presence of time-varying discrete ingress signals that could be as high as 10 dBc. The ratios are guaranteed only within the digital carrier channels.
NOTE 3 – Amplitude and frequency characteristics sufficiently strong to partially or wholly mask the data carrier.
NOTE 4 – Impulse noise levels more prevalent at lower frequencies ( $<15 \text{ MHz}$ ). | | + +#### J.4.3.2.1 Availability + +Refer to clause 4.3.2.1. + +#### J.4.4 Transmission levels + +The nominal power level of the downstream CMTS signal(s) within a 6 MHz channel is targeted to be in the range –10 dBc to –6 dBc relative to the analogue video carrier level and will normally not exceed the analogue video carrier level. The 256QAM downstream carrier level SHOULD be carefully chosen for two reasons. One is to avoid any interference to the adjacent analogue video carrier, the other is to maintain required carrier-to-noise ratio. Normally the 256QAM downstream signal MAY NOT be allocated to any channels that are adjacent to the analogue video carrier. + +The nominal power level of the upstream CM signal(s) will be as low as possible to achieve the required margin above noise and interference. Uniform power loading per unit bandwidth is commonly followed in setting upstream signal levels, with specific levels established by the cable network operator to achieve the required carrier-to-noise and carrier-to-interference ratios. + +#### J.4.5 Frequency inversion + +Refer to clause 4.5. + +### J.5 Communication protocols + +Refer to clause 5. + +### J.6 Physical media dependent sublayer specification + +#### J.6.1 Scope + +This clause applies to the third technology option referred to in clause 1.1, "scope". In those cases where the requirements for three technology options are identical, a reference is provided to the main text. + +Whenever any reference in this clause to spurious emissions conflicts with any legal requirement for the area of operation, the latter shall take precedence. + +## J.6.2 Upstream + +### J.6.2.1 Overview + +The upstream physical media dependent (PMD) sublayer uses an FDMA/TDMA (herein called TDMA mode) or FDMA/TDMA/S-CDMA (herein called S-CDMA mode) burst type format, which provides six modulation rates and multiple modulation formats. The use of TDMA or S-CDMA mode is configured by the CMTS via MAC messaging. + +FDMA (frequency division multiple access) indicates that multiple RF channels are assigned in the upstream band. A CM transmits on a single RF channel unless reconfigured to change channels. TDMA (time division multiple access) indicates that upstream transmissions have a burst nature. A given RF channel is shared by multiple CMs via the dynamic assignment of time slots. S-CDMA (synchronous code division multiple access) indicates that multiple CMs can transmit simultaneously on the same RF channel and during the same TDMA time slot, while being separated by different orthogonal codes. + +In this Recommendation, the following naming conventions are used. For TDMA, the term "modulation rate" refers to the RF channel symbol rate (144 to 4608 ksymb/s). For S-CDMA, the term "chip rate", which is the modulation rate (1152 to 4608 kHz) of a single bit of the S-CDMA spreading code, may be used interchangeably with "modulation rate". The "modulation interval" is the symbol period (TDMA mode) or chip period (S-CDMA mode) and is the reciprocal of the modulation rate. At the output of the spreader, a group of 128 chips, which comprise a single S-CDMA spreading code and are the result of spreading a single information (QAM constellation) symbol, is referred to as a "spread symbol". The period of a spread symbol (128 chips) is called a "spreading interval". A "burst" is a physical RF entity that contains a single preamble plus data, and (in the absence of preceding and following bursts) exhibits RF energy ramp-up and ramp-down. + +In some cases, logical zeros are used to pad data blocks; this indicates data with zero-valued binary bits, which result in non-zero transmitted RF energy. In other cases, a numerical zero is used; this denotes, for example, symbols that result in zero transmitted RF energy (after ramp-up and ramp-down are taken into account). + +The modulation format includes pulse shaping for spectral efficiency, is carrier-frequency agile, and has selectable output power levels. + +Each burst supports a flexible modulation order, modulation rate, preamble, randomization of the payload, and programmable FEC encoding. + +All of the upstream transmission parameters associated with burst transmission outputs from the CM are configurable by the CMTS via MAC messaging. Many of the parameters are programmable on a burst-by-burst basis. + +The PMD sublayer can support a near-continuous mode of transmission, wherein ramp-down of one burst MAY overlap the ramp-up of the following burst, so that the transmitted envelope is never zero. In TDMA mode, the system timing of the TDMA transmissions from the various CMs MUST provide that the centre of the last symbol of one burst and the centre of the first symbol of the preamble of an immediately following burst are separated by at least the duration of five symbols. The guard time MUST be greater than or equal to the duration of five symbols plus the maximum timing error. Timing error is contributed by both the CM and CMTS. CM timing performance is specified in clause 6.2.19. Maximum timing error and guard time may vary with CMTSs from different vendors. + +The PMD sublayer also supports a synchronous mode of transmission when using S-CDMA, wherein ramp-down of one burst MAY completely overlap the ramp-up of the following burst, so that the transmitted envelope is never zero. The system timing of the S-CDMA transmissions from the various CMs MUST provide adequate timing accuracy so that different CMs do not appreciably + +interfere with each other. S-CDMA utilizes precise synchronization so that multiple CMs can transmit simultaneously. + +The upstream modulator is part of the cable modem that interfaces with the cable network. The modulator contains the electrical-level modulation function and the digital signal-processing function; the latter provides the FEC, preamble prepend, symbol mapping and other processing steps. + +At the demodulator, similar to the modulator, there are two basic functional components: the demodulation function and the signal processing function. The demodulator resides in the CMTS and there is one demodulation function (not necessarily an actual physical demodulator) for each carrier frequency in use. The demodulation function receives all bursts on a given frequency. + +The demodulation function of the demodulator accepts a varying-level signal centred around a commanded power level and performs symbol timing and carrier recovery and tracking, burst acquisition and demodulation. Additionally, the demodulation function provides an estimate of burst timing relative to a reference edge, an estimate of received signal power, may provide an estimate of signal-to-noise ratio, and may engage adaptive equalization to mitigate the effects of: + +- a) echoes in the cable plant; +- b) narrow-band ingress; and +- c) group delay. + +The signal-processing function of the demodulator performs the inverse processing of the signal-processing function of the modulator. This includes accepting the demodulated burst data stream and decoding, etc. The signal-processing function also provides the edge-timing reference and gating-enable signal to the demodulators to activate the burst acquisition for each assigned burst slot. The signal-processing function may also provide an indication of successful decoding, decoding error, or fail-to-decode for each codeword and the number of corrected Reed-Solomon symbols in each codeword. For every upstream burst, the CMTS has a prior knowledge of the exact burst length in modulation intervals (see clauses 6.2.19, 6.2.5.1, and A.2). + +#### **J.6.2.2 Signal processing requirements** + +Refer to clause 6.2.2. + +#### **J.6.2.3 Modulation formats** + +The modulation formats listed here specify requirements for J.122-compliant equipment. Cable operators are free to configure the modulation format to best address their system characteristics and application requirements. + +The upstream modulator MUST provide QPSK and 16QAM differential encoded modulations for TDMA. + +The upstream modulator MUST provide QPSK, 8QAM, 16QAM, 32QAM and 64QAM modulations for TDMA and S-CDMA channels. + +The upstream modulator MUST provide QPSK, 8QAM, 16QAM, 32QAM, 64QAM and 128QAM TCM encoded modulations for S-CDMA channels. + +The upstream demodulator MAY support QPSK and 16QAM differential modulation for TDMA. + +The upstream demodulator MUST support QPSK, 16QAM and 64QAM modulations for TDMA and S-CDMA channels. + +The upstream demodulator MAY support 8QAM and 32QAM modulation for TDMA and S-CDMA channels. + +The upstream demodulator MAY support QPSK, 8QAM, 16QAM, 32QAM, 64QAM and 128QAM TCM encoded modulations for S-CDMA channels. + +#### **J.6.2.4 R-S encode** + +Refer to clause 6.2.4. + +#### **J.6.2.5 R-S frame structure** + +Refer to clause 6.2.5. + +#### **J.6.2.6 TDMA byte interleaver** + +Refer to clause 6.2.6. + +#### **J.6.2.7 Scrambler (randomizer)** + +Refer to clause 6.2.7. + +#### **J.6.2.8 TCM encoder** + +Refer to clause 6.2.8. + +#### **J.6.2.9 Preamble prepend** + +Refer to clause 6.2.9. + +#### **J.6.2.10 Modulation rates** + +In TDMA mode, the CM upstream modulator MUST provide all modulations at 144, 288, 576, 1152, 2304 and 4608 ksymb/s. In S-CDMA mode, the CM upstream modulator MUST provide all modulations at 1152, 2304 and 4608 ksymb/s. + +In TDMA mode, the CMTS upstream demodulator MUST be able to support demodulation at 144, 288, 576, 1152, 2304 and 4608 ksymb/s. In S-CDMA mode, the CMTS upstream demodulator MUST be able to support demodulation at 1152, 2304 and 4608 ksymb/s. + +This variety of modulation rates, and flexibility in setting upstream carrier frequencies, permits operators to position carriers in gaps in the pattern of narrow-band ingress, as discussed in Annex G. + +The modulation rate for each upstream channel is defined in an upstream channel descriptor (UCD) MAC message. All CMs using that upstream channel MUST use the defined modulation rate for upstream transmissions. + +#### **J.6.2.11 S-CDMA framer and interleaver** + +##### **J.6.2.11.1 S-CDMA framing considerations** + +Refer to clause 6.2.11.1. + +##### **J.6.2.11.2 Mini-slot numbering** + +In normal operation, the MAC will request the PHY to transmit a burst of length $n$ mini-slots, starting at mini-slot $m$ , as defined by the MAP. All CMs and the CMTS MUST have a common protocol of how mini-slots are numbered, and how they are mapped onto the physical layer framing structure. This common protocol is obtained from information in the SYNC and upstream channel descriptor (UCD) messages (these messages are described in clause 8.3.2, "time synchronization (SYNC)", and clause 8.3.3, "upstream channel descriptor (UCD)"). + +Mini-slots are mapped onto frames starting at the first active code (usually code number 0), are numbered sequentially through the remainder of the frame (code number 127), and then wrap to the next sequential frame. Mini-slots are mapped onto a group of consecutive codes. + +The CMTS and the CMs require a common protocol for mini-slot numbering. For operation on a TDMA channel, this is achieved solely through recovery of the timestamp. Since the time duration of an S-CDMA frame is not necessarily a power-of-2 multiple of the 9.216-MHz reference, the + +timestamp rollover (at $2^{32}$ counts) is not necessarily at an S-CDMA frame boundary. Therefore, an additional synchronization step is required. + +The CMTS MUST identify frame boundaries relative to the timestamp counter on a periodic basis. This is called the timestamp snapshot and must be sent in the UCD for each upstream S-CDMA channel. + +The CMTS MUST maintain a frame counter and a mini-slot counter, and MUST sample these values along with the timestamp, on a frame boundary, as shown in Figure J.6-5. The CMTS MUST obtain a new sample prior to sending each UCD message. + +![Figure J.6-5 – Timestamp snapshot. The diagram illustrates the timing and data structure for a timestamp snapshot in an S-CDMA system. It shows a grid of mini-slots across multiple codes (0-127) over three frames (f, f+1, f+2). Codes 127 and 126 have mini-slots at m+62, m+125, and m+188. Codes 3, 2, and 1 have mini-slots at m, m+63, and m+126. Code 0 is shaded. A timeline at the bottom shows timestamp counts t1, t2, t3, t4. Arrows point from the mini-slot at m+63 in Code 2 to a 'Timestamp snapshot' box containing 'Timestamp count' (32 bits), 'Mini-slot number' (32 bits), and 'Frame number' (8 bits). This box is labeled 'Included in UCD'. The entire snapshot is labeled 'Timestamp snapshot'.](fdc14f5fb012540451a6e7d2f890062f_img.jpg) + +The diagram shows a grid of mini-slots across multiple codes (0-127) over three frames (f, f+1, f+2). The top part of the diagram shows the mini-slot structure for several codes: Code 127 and Code 126 have mini-slots at $m+62$ , $m+125$ , and $m+188$ . Code 3, Code 2, and Code 1 have mini-slots at $m$ , $m+63$ , and $m+126$ . Code 0 is shaded. The mini-slots are grouped into $K$ spreading intervals. Below the grid, a timeline shows timestamp counts $t_1$ , $t_2$ , $t_3$ , $t_4$ . Arrows point from the mini-slot at $m+63$ in Code 2 to a 'Timestamp snapshot' box. This box contains three fields: 'Timestamp count' (32 bits), 'Mini-slot number' (32 bits), and 'Frame number' (8 bits). An arrow points from this box to the text 'Included in UCD'. The entire snapshot is labeled 'Timestamp snapshot'. + +Figure J.6-5 – Timestamp snapshot. The diagram illustrates the timing and data structure for a timestamp snapshot in an S-CDMA system. It shows a grid of mini-slots across multiple codes (0-127) over three frames (f, f+1, f+2). Codes 127 and 126 have mini-slots at m+62, m+125, and m+188. Codes 3, 2, and 1 have mini-slots at m, m+63, and m+126. Code 0 is shaded. A timeline at the bottom shows timestamp counts t1, t2, t3, t4. Arrows point from the mini-slot at m+63 in Code 2 to a 'Timestamp snapshot' box containing 'Timestamp count' (32 bits), 'Mini-slot number' (32 bits), and 'Frame number' (8 bits). This box is labeled 'Included in UCD'. The entire snapshot is labeled 'Timestamp snapshot'. + +J.122\_FJ-6-5 + +**Figure J.6-5 – Timestamp snapshot** + +Each CM MUST maintain a timestamp counter, mini-slot counter and frame counter functionally identical to the CMTS. + +From the UCD message, the CM receives the CMTS timestamp snapshot and parameters from which it can calculate the number of time counts per S-CDMA frame. Using modulo arithmetic, the CM can then calculate accurate values for timestamp, mini-slot and frame counters at any point into the future. + +The CM can then update its local mini-slot and frame counters at an appropriate timestamp counter value. At this point, the CM representation of mini-slots and frames are aligned with those in the CMTS. + +The CMTS and CM MUST implement a 32-bit timestamp counter, a 32-bit mini-slot counter, and an 8-bit frame counter, as follows: + +- The mini-slot counter MUST contain the value of the first mini-slot of the frame when it is sampled. It MAY be incremented by the number of mini-slots per frame, once per frame interval. The mini-slot counter will use all 32 bits and mini-slot numbers will therefore range from 0 to $2^{32} - 1$ . +- The only specified function for the frame counter is to reset the code-hopping sequence at the frame 0 (modulo 256) boundary, as defined in clause 6.2.14.1, "code hopping". + +The frame structure above relates to the entire upstream and not necessarily to the transmission from a single CM. The codes are resources that are allocated to CMs over each S-CDMA frame. The assignment of codes to CMs is performed by the framer as it assigns a burst of symbols a particular order in the two-dimensional matrix of codes and time. This symbol sequencing is described in detail in clause 6.2.12. + +#### **J.6.2.11.2.1 Mini-slot numbering parameters in UCD** + +Refer to clause 6.2.11.2.1. + +#### **J.6.2.11.2.2 Mini-slot numbering examples** + +Refer to clause 6.2.11.2.2. + +#### **J.6.2.11.3 Transmission time** + +Refer to clause 6.2.11.3. + +#### **J.6.2.11.4 Latency considerations** + +S-CDMA frame timing is derived directly from (is phase-locked to) the 9.216-MHz CMTS master clock. Based on the allowable signalling rates and the fact that there are 128 signalling periods in a spreading interval, the S-CDMA frame time MUST always be a multiple of 27.7 µs. + +Selecting the number of spreading intervals per frame and the signalling rate therefore exactly define the S-CDMA frame duration. As a specific example, a burst profile defined with 10 spreading intervals per frame with a signalling rate of 2.304 Mbaud would result in a frame duration of 555.5 µs. + +The amount of additional upstream latency added by the use of S-CDMA mode is approximately one S-CDMA frame with the exact value described in clause 6.2.17. + +#### **J.6.2.11.5 Spreader-off bursts for maintenance on S-CDMA channel** + +Refer to clause 6.2.11.5. + +#### **J.6.2.12 S-CDMA framer** + +Refer to clause 6.2.12. + +#### **J.6.2.13 Symbol mapping** + +Refer to clause 6.2.13. + +#### **J.6.2.14 S-CDMA spreader** + +Refer to clause 6.2.14. + +#### **J.6.2.15 Transmit pre-equalizer** + +Refer to clause 6.2.15. + +#### J.6.2.16 Spectral shaping + +The upstream transmitter MUST approximate a Nyquist square-root raised-cosine pulse-shaping filter with roll-off factor $\alpha = 0.25$ . The $-30$ dB transmitted bandwidth MUST NOT exceed the channel width values in Table J.6-1. The channel width values are given analytically by: + +$$\text{ChannelWidth} = \text{ModulationRate} \times (1 + \alpha)$$ + +The occupied spectrum MUST NOT exceed the channel widths shown in Table J.6-1. + +**Table J.6-1 – Maximum channel width** + +| Modulation rate (kHz) | Channel width (kHz) | Recommended channel spacing (kHz) | +|-----------------------|---------------------|-----------------------------------| +| 144 | 180 | 187.5 | +| 288 | 360 | 375 | +| 576 | 720 | 750 | +| 1152 | 1440 | 1500 | +| 2304 | 2880 | 3000 | +| 4608 | 5760 | 6000 | + +##### J.6.2.16.1 Upstream frequency agility and range + +The upstream PMD sublayer MUST support operation over the frequency range of 10-55 MHz edge to edge. + +Offset frequency resolution MUST be supported having a range of $\pm 32$ kHz (increment 1 Hz; implement within $\pm 10$ Hz). + +##### J.6.2.16.2 Spectrum format + +Refer to clause 6.2.16.2. + +#### J.6.2.17 Relative processing delays + +The CM MAP processing delay is the time provided between arrival of the last bit of a MAP message at a CM and the effectiveness of this MAP. During this time, the CM should process the MAP message and fill its interleavers (or its framer, in S-CDMA mode) with encoded data. The CMTS MUST transmit the MAP message early enough to allow the CM MAP processing delay specified below. + +The CM MAP processing delay, $D_p$ , is given by the equations: + +$$D_p = 200 + \frac{M}{4.608} \mu\text{s},$$ + +$$M = \begin{cases} I_r N_r, & I_r \neq 0 \\ B_r, & I_r = 0 \end{cases}$$ + +where $M$ is the number of elements in the CM interleavers (in the case of TDMA), or framer (in the case of S-CDMA). In DOCS 1.x mode, $M = 0$ . Note that in the above equations, the values for $B_r$ , and $I_r \times N_r$ , are taken to be the maximum from all of the specified burst types in a particular UCD. + +In S-CDMA mode, $M = 128 (K + 1)$ , where $K$ is the number of spreading intervals per frame. This is the time required for processing an S-CDMA frame plus an extra spreading interval. For + +example, in the case of $K = 32$ , which corresponds to the maximum framer size, the CM MAP processing time is 1117 $\mu\text{s}$ , assuming a modulation rate of 4.608 MHz. + +NOTE 1 – The CM MAP processing delay does not include downstream FEC de-interleaving delay. + +NOTE 2 – The "effectiveness of the MAP" relates to the beginning of the burst frame at the RF output of the CM. In the S-CDMA mode, "effectiveness of the MAP" relates to the beginning (at the RF output of the CM) of the first spreading interval of the S-CDMA frame which contains the burst. + +#### J.6.2.18 Transmit power requirements + +The CM MUST support varying the amount of transmit power. Requirements are presented for: + +- 1) range of reported transmit power; +- 2) step size of power commands; +- 3) step size accuracy (actual change in output power compared to commanded change); and +- 4) absolute accuracy of CM output power. + +The protocol by which power adjustments are performed is defined in clause 11.2.4, "ranging and automatic adjustments". Such adjustments by the CM MUST be within the ranges of tolerances described below. A CM MUST confirm that the transmit power limits are met after a RNG-RSP is received or after a UCD change. + +Transmit power is defined as the average RF power in the occupied bandwidth (channel width) transmitted in the data symbols of a burst, assuming equally likely QAM symbols, measured at the F-connector of the CM. + +Maximum and minimum transmit power level requirements refer to the CM's target transmit power level, defined as the CM's estimate of its actual transmit power. The actual transmitted power MUST be within $\pm 2$ dB of the target power. The target transmit power MUST be variable over the range specified in Table J.6-4. + +Transmit power, as reported by the CM in the MIB, is referenced to the 64QAM constellation. When transmitting with other constellations, a slightly different transmit power will result, depending on the constellation gain in Table J.6-2 (see clause 6.2.13). As an example, if the reported power is 90 dB $\mu\text{V}$ , 64QAM will be transmitted with a target power of 90 dB $\mu\text{V}$ , while QPSK will be transmitted with 88.82 dB $\mu\text{V}$ . + +**Table J.6-2 – Constellation gains and power limits** + +| Constellation | Constellation gain $G_{\text{const}}$ relative to 64QAM (dB) | $P_{\text{min}}$ (dB $\mu\text{V}$ ) | $P_{\text{max}}$ (dB $\mu\text{V}$ ) TDMA | $P_{\text{max}}$ (dB $\mu\text{V}$ ) S-CDMA | $P_{\text{min}}$ (dB $\mu\text{V}$ ) | $P_{\text{max}}$ (dB $\mu\text{V}$ ) TDMA | $P_{\text{max}}$ (dB $\mu\text{V}$ ) S-CDMA | +|---------------|--------------------------------------------------------------|--------------------------------------|-------------------------------------------|---------------------------------------------|--------------------------------------|-------------------------------------------|---------------------------------------------| +| QPSK | -1.18 | 68 | 118 | 113 | 69.18 | 119.18 | 114.18 | +| 8QAM | -0.21 | 68 | 115 | 113 | 68.21 | 115.21 | 113.21 | +| 16QAM | -0.21 | 68 | 115 | 113 | 68.21 | 115.21 | 113.21 | +| 32QAM | 0.00 | 68 | 114 | 113 | 68.00 | 114.00 | 113.00 | +| 64QAM | 0.00 | 68 | 114 | 113 | 68.00 | 114.00 | 113.00 | +| 128QAM | 0.05 | 68 | N/A | 113 | 67.95 | N/A | 112.95 | + +The actual transmitted power within a burst MUST be constant to within 0.1 dB peak to peak. This excludes the amplitude variation theoretically present due to QAM amplitude modulation, pulse shaping, pre-equalization and, for S-CDMA, spreading and varying number of allocated codes. + +### J.6.2.18.1 TDMA transmit power calculations + +In TDMA mode, the CM determines its target transmit power $P_t$ as follows. Define: + +$P_r$ = Reported power level (dB $\mu$ V) of CM in MIB (refers to 64QAM constellation) + +$\Delta P$ = Power level adjustment (dB); for example, as commanded in ranging response message + +$G_{const}$ = Constellation gain (dB) relative to 64QAM constellation (see Table J.6-2) + +$P_{min}$ = Minimum target transmit power permitted for the CM per clause 6.2.21.1 (see Table J.6-2) + +$P_{max}$ = Maximum target transmit power permitted for the CM per clause 6.2.21.1 (see Table J.6-2) + +$P_{hi}$ = $\min(P_{max} - G_{const})$ over all burst profiles used by the CM (see Table J.6-2) + +$P_{low}$ = $\max(P_{max} - G_{const})$ over all burst profiles used by the CM (see Table J.6-2) + +$P_t$ = Target transmit power level (dB $\mu$ V) of CM (actual transmitted power as estimated by CM) + +The CM updates its reported power by the following steps: + +- 1) $P_r = P_r + \Delta P$ //Add power level adjustment to reported power level +- 2) $P_r = \min[P_r, P_{hi}]$ //Clip at max power limit +- 3) $P_r = \max[P_r, P_{low}]$ //Clip at min power limit + +The CM then transmits with target power $P_t = P_r + G_{const}$ , i.e., the reported power plus the constellation gain. + +Usually, the reported power level is a relatively constant quantity, while the transmitted power level varies dynamically as different burst profiles, with different constellation gains, are transmitted. A CM's target transmit power MUST never be below $P_{min}$ , or above $P_{max}$ . This implies that, in some cases, the extreme transmit power levels (e.g., 118 dB $\mu$ V for QPSK and 68 dB $\mu$ V) may not be permitted if burst profiles with multiple constellations are active. Also, if only QPSK is used, the reported power may be greater than 118 dB $\mu$ V, although the target transmit power will not exceed 118 dB $\mu$ V. + +For example, if only QPSK and 64QAM burst profiles are active, $P_{hi} = 114$ dB $\mu$ V and $P_{low} = 69.2$ dB $\mu$ V. The maximum permitted QPSK transmitted power is $114 - 1.2 = 112.8$ dB $\mu$ V, the minimum QPSK power is $69.2 - 1.2 = 68$ dB $\mu$ V, the maximum 64QAM power is 114 dB $\mu$ V, and the minimum 64QAM power is 69.2 dB $\mu$ V. + +### J.6.2.18.2 S-CDMA transmit power calculations + +In S-CDMA mode, the CM determines its target transmit power $P_t$ as follows. Define: + +$P_{hi}$ = $\min[P_{max} - G_{const}]$ over all burst profiles used by the CM (see Table J.6-2) + +$P_{low}$ = $\max[P_{min} - G_{const}] + 10 \log(\text{number\_active\_codes} / \text{number\_of\_codes\_per\_mini-slot})$ where the maximum is over all burst profiles used by the CM (see Table J.6-2) + +The CM updates its reported power by the following steps: + +- 1) $P_r = P_{min} + \Delta P$ //Add power level adjustment to reported power level +- 2) $P_r = \min[P_r, P_{hi}]$ //Clip at max power limit +- 3) $P_r = \max[P_r, P_{low}]$ //Clip at min power limit + +In a spreader-on frame, the CM then transmits each code $i$ with target power + +$$P_{t,i} = P_r + G_{const,i} - 10 \log(\text{number\_active\_codes})$$ + +i.e., the reported power plus the constellation gain $G_{const,i}$ of that code, less a factor taking into account the number of active codes. The total transmit power $P_t$ in a frame is the sum of the individual transmit powers $P_{t,i}$ of each code, where the sum is performed using absolute power quantities (non-dB domain). + +In a spreader-off frame, the CM target transmit power is $P_t = P_r + G_{const}$ . + +The transmitted power level varies dynamically as the number of allocated codes varies, and as different burst profiles, with different constellation gains, are transmitted. A CM's target transmit power MUST never be below $P_{min}$ or above $P_{max}$ including over all numbers of allocated codes and all burst profiles. This implies that, in some cases, the extreme transmit power levels (e.g., 68 and 113 dB $\mu$ V) may not be permitted. Also if, for example, only QPSK is used, the reported power may be greater than 113 dB $\mu$ V, although the target transmit power will not exceed 113 dB $\mu$ V. + +If, for example, QPSK and 64QAM burst profiles are active, $P_{hi} = 113$ dB $\mu$ V and $P_{low} = 69.2$ dB $\mu$ V. The maximum permitted QPSK transmitted power is $113 - 1.2 = 111.8$ dB $\mu$ V when all active codes are transmitted, the minimum QPSK power is $69.2 - 1.2 = 68$ dB $\mu$ V when one mini-slot is transmitted, the maximum 64QAM power is 113 dB $\mu$ V when all active codes are transmitted, and the minimum 64QAM power is 69.2 dB $\mu$ V with one mini-slot transmitted. The minimum QPSK power permitted while transmitting, for example, 2 mini-slots is 71 dB $\mu$ V, and the minimum 64QAM power permitted while transmitting 2 mini-slots is 72.2 dB $\mu$ V. + +The CM needs to implement some form of clipping on the transmitted waveform at the higher output powers in order to prevent peak to average ratio (PAR) issues. + +The power received at the CMTS in a spreader-on frame will sometimes be less than the nominal power of a spreader-off frame because of such factors as: + +- 1) broadcast opportunities not used by any CM; +- 2) unicast grants not used by one or more CMs; or +- 3) mini-slots assigned to the NULL SID. + +### J.6.2.18.3 Transmit power step size + +Refer to clause 6.2.18.3. + +### J.6.2.19 Burst profiles + +The transmission characteristics are separated into three portions: + +- a) channel parameters; +- b) burst profile attributes; and +- c) user-unique parameters. + +The channel parameters include: + +- i) the modulation rate (six rates from 144 ksymb/s to 4.608 Msymb/s in octave steps); +- ii) the centre frequency (Hz); +- iii) the 1536-bit preamble superstring; and +- iv) the S-CDMA channel parameters. + +The channel parameters are further described in Table 8-18; these characteristics are shared by all users on a given channel. The burst profile attributes are listed in Table J.6-3 and are further described in Table 8-19; these parameters are the shared attributes corresponding to a burst type. The user-unique parameters may vary for each user even when using the same burst type on the same channel as another user (for example, power level), and are listed in Table J.6-4. + +The CM MUST generate each burst at the appropriate time as conveyed in the mini-slot grants provided by the CMTS MAPs (see clause 8.3.4). + +The CM MUST support all burst profiles commanded by the CMTS via the burst descriptors in the UCD (see clause 8.3.3), and subsequently assigned for transmission in a MAP (see clause 8.3.4). + +**Table J.6-3 – Burst profile attributes** + +| Burst profile attributes | Configuration settings | +|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------| +| Modulation | QPSK, 8QAM, 16QAM, 32QAM, 64QAM, 128QAM (TCM only) | +| Differential encoding | On/off | +| TCM encoding | On/off | +| Preamble length | 0 to 1536 bits (see clause J.6.2.9) | +| Preamble value offset | 0 to 1534 | +| R-S FEC error correction (T) | 0 to 16 (0 implies no R-S FEC. The number of codeword parity bytes is $2 \times T$ ) | +| R-S FEC codeword information bytes (k) | Fixed: 16 to 253 (assuming R-S FEC on)
Shortened: 16 to 253 (assuming FEC on) | +| Scrambler seed | 15 bits | +| Maximum burst length (mini-slots) a) | 0 to 255 | +| Guard time | 5 to 255 modulation intervals
1 for S-CDMA channels | +| Last codeword length | Fixed, shortened | +| Scrambler on/off | On/off | +| Byte interleaver depth ( $I_r$ ) b) | 0 to floor ( $2048/N_r$ ) c) | +| Byte interleaver block size ( $B_r$ ) d) | $2 \times N_r$ to 2048 | +| S-CDMA spreader e) | On/off | +| S-CDMA codes per subframe e) | 1 to 128 | +| S-CDMA interleaver step e) | 1 to (spreading intervals per frame – 1) | +| a) A burst length of 0 mini-slots in the channel profile means that the burst length is variable on that channel for that burst type. The burst length, while not fixed, is granted explicitly by the CMTS to the CM in the MAP.
b) If depth = 1, no interleaving; if depth = 0, dynamic mode.
c) $N_r$ is the R-S codeword size: $k + 2T$ as defined in clause 6.2.6.1.
d) Used only in dynamic mode.
e) Used only for S-CDMA channels. | | + +**Table J.6-4 – User-unique burst parameters** + +| User-unique parameter | Configuration settings | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Power level | TDMA:
+68 to +114 dBμV (32QAM, 64QAM)
+68 to +115 dBμV (8QAM, 16QAM)
+68 to +118 dBμV (QPSK)
S-CDMA:
+68 to +113 dBμV (all modulations)
1-dB steps | +| Offset frequency a) | Range = ±32 kHz; increment = 1 Hz; implement within ±10 Hz | +| Ranging offset | Integer part: 0 to (2 16 –1), increments of 6.94 4 μs/64
Fractional part: unsigned 8-bit fractional extension, units of 6.94 4 μs/(64 × 256) = 0.42385525 ns | +| Burst length (mini-slots) if variable on this channel (changes burst-to-burst) | 1 to 255 mini-slots | +| Transmit equalizer coefficients | Up to 64 coefficients; 4 bytes per coefficient: 2 real, 2 imaginary | +| a) Values in this table apply for this given channel and modulation rate.
NOTE – Underlined digit represents an infinite series of the same digit: 6.94 4 = 6.9444... | | + +The CM MUST implement the offset frequency to within ±10 Hz. + +#### J.6.2.19.1 Ranging offset + +Ranging offset is the delay correction applied by the CM to the CMTS upstream frame time derived at the CM. It is an advancement equal to roughly the round-trip delay of the CM from the CMTS, and is needed to synchronize upstream transmissions in the TDMA and S-CDMA schemes. The CMTS MUST provide feedback correction for this offset to the CM, based on reception of one or more successfully received bursts (i.e., satisfactory result from each technique employed: error correction and/or CRC), with resolution of 1/16384 of the frame tick increment (6.944 μs/(64 × 256) = 0.42385525 ns). The CMTS sends adjustments to the CM, where a negative value implies the ranging offset is to be decreased, resulting in later times of transmission at the CM. + +For TDMA channels the CM MUST implement the correction with resolution of at most 1 symbol duration (of the symbol rate in use for a given burst), and (other than a fixed bias) with accuracy within ±0.25 μs plus ±1/2 symbol owing to resolution. As an example, for the maximum symbol rate of 4608 ksymb/s, the corresponding symbol period would be 217 ns, the corresponding maximum resolution for the timing correction MUST be 217 ns, and the corresponding minimum accuracy MUST be ±359 ns. The accuracy of CM burst timing of ±0.25 μs plus ±1/2 symbol is relative to the mini-slot boundaries derivable at the CM based on an ideal processing of the timestamp signals received from the CMTS. + +For S-CDMA channels, the CM MUST implement the ranging offset correction to within ±0.01 of the nominal chip period. As an example, for the maximum chip rate of 4608 kHz, the corresponding maximum resolution for the timing correction would be 217 ns × (±0.01) or roughly ±2 ns. + +#### J.6.2.19.2 TDMA reconfiguration times + +Refer to clause 6.2.19.2. + +#### J.6.2.19.3 S-CDMA reconfiguration times + +Refer to clause 6.2.19.3. + +#### J.6.2.20 Burst timing convention + +Refer to clause 6.2.20. + +#### J.6.2.21 Fidelity requirements + +The following requirements assume that any pre-equalization is disabled unless otherwise noted. + +##### J.6.2.21.1 Spurious emissions + +The spurious emissions MUST NOT exceed the values shown in Table J.6-5. + +**Table J.6-5 – Spurious emissions** + +| Frequency | Active Period | Inactive Period | +|------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------| +| 10 to 55 MHz, inband | Less than $-40 \text{ dBc}^{\text{b) c)}}$ | Less than the greater of $-72 \text{ dBc}^{\text{2,4}}$ or $+1 \text{ dB}\mu\text{V}^{\text{d)}}$ | +| 10 to 55 MHz, outband including adjacent band, carrier-related band and other noise powers within 10 to 55 MHz a) | Less than $-45 \text{ dBc}^{\text{b) c)}}$ | | +| 55 to 70 MHz | Less than the greater of $-45 \text{ dBc}^{\text{b) c)}}$ or $+35 \text{ dB}\mu\text{V}^{\text{e)}}$ | Less than $+35 \text{ dB}\mu\text{V}^{\text{e)}}$ | +| 70 to 90 MHz | Less than $+35 \text{ dB}\mu\text{V}^{\text{e)}}$ | Less than $+25 \text{ dB}\mu\text{V}^{\text{e)}}$ | +| 90 to 770 MHz | Less than $+25 \text{ dB}\mu\text{V}^{\text{e)}}$ | | + +a) The out-of-band spurious emissions are measured starting from the neighbouring $-3 \text{ dB}$ response frequencies of the adjacent channels at symbol rate $R$ . To maintain 6-MHz upstream channelization, this frequency offset is given as the transmitted channel centre frequency $\pm \Delta f$ , where $\Delta f = [(1 + 2\alpha)/2 + 240'000/4'608'000] \times R \text{ Hz} = 0.8 R \text{ Hz}$ for roll-off factor $\alpha = 0.25$ . + +b) The modulated carrier power is measured within the occupied bandwidth of the data signal, which is equal to 1.25 times the upstream transmission symbol rate. + +c) The total spurious emissions power is measured within the Nyquist bandwidth of the transmitted signal, which is equal to the upstream transmission symbol rate. + +d) The total spurious emissions power is measured within the Nyquist bandwidth of the lowest transmitted symbol rate, which is equal to 144 kHz. For any other symbol rate $B \text{ Hz}$ , this value is adjusted by $10 \log (B/144,000) \text{ dB}$ . + +e) The total spurious emissions power is measured within the NTSC bandwidth, which is equal to 4.0 MHz. + +##### J.6.2.21.1.1 Adjacent channel spurious emissions + +Clause 6.2.21.1.1 is not applicable to Annex J. + +##### J.6.2.21.1.2 Spurious emissions in 5 to 42 MHz + +Clause 6.2.21.1.2 is not applicable to Annex J. + +##### J.6.2.21.2 Spurious emissions during burst on/off transients + +Clause 6.2.21.2 is not applicable to Annex J. + +##### J.6.2.21.3 Modulation error ratio (MER) + +MER measures the cluster variance caused by the transmit waveform. It includes the effects of ISI, spurious, phase noise and all other transmitter degradations. + +### J.6.2.21.3.1 Definitions + +**Symbol MER:** $MER_{\text{symb}}$ is defined as follows for TDMA or S-CDMA symbols. The transmitted RF waveform (after appropriate downconversion) is applied to the ideal receive symbol matched filter and is sampled once per symbol. For TDMA, the matched filter is a square-root raised cosine filter with $\alpha = 0.25$ . For S-CDMA, the matched filter is a square-root raised cosine filter with $\alpha = 0.25$ , convolved with the time-reversed spreading code sequence (in this convolution, the spreading code sequence is expressed as a weighted impulse train spaced at the chip period). No external noise (AWGN) is added to the signal. The carrier frequency offset, carrier phase offset, symbol timing and gain may be adjusted during each burst to maximize $MER_{\text{symb}}$ . Equalization of the received waveform is not permitted. For cases where the CM transmit equalizer is ON, the transmit equalizer coefficients may be adjusted to maximize $MER_{\text{symb}}$ . $MER_{\text{symb}}$ is defined at the F connector of the CM, except that when an echo channel is inserted, $MER_{\text{symb}}$ is defined at the output of the echo channel. $MER_{\text{symb}}$ is computed by the formula: + +$$MER_{\text{symb}}(\text{dB}) = 10 \times \log_{10} \left( \frac{E_{av}}{\frac{1}{N} \sum_{j=1}^N |e_j|^2} \right)$$ + +where: + +$E_{av}$ is the average constellation energy for equally likely symbols (see clause J.6.2.13 and Figure 6-18) + +$N$ is the number of symbols averaged + +$e_j$ is the error vector from the $j$ th received symbol to the ideal transmitted QAM symbol on the grid of Figure 6-18 + +For S-CDMA, $MER_{\text{symb}}$ is averaged over all active codes. + +**MER of composite chips:** $MER_{\text{chip}}$ is specified for composite S-CDMA chips to ensure that high SNR is maintained, especially for a small number of allocated codes, to prevent noise funnelling effects when many modems transmit simultaneously. A composite S-CDMA chip is defined as the output of the spreader during one chip interval, that is, an element of the transmission vector $\overline{P}_k$ defined in clause J.6.2.14, "S-CDMA spreader". + +$MER_{\text{chip}}$ is defined as follows. The transmitted RF waveform (after appropriate downconversion) is applied to the ideal receive chip matched filter and is sampled once per chip. The matched filter is a square-root raised cosine filter with $\alpha = 0.25$ . No external noise (AWGN) is added to the signal. The carrier frequency offset, carrier phase offset, timing and gain may be adjusted during each burst to maximize $MER_{\text{chip}}$ . Equalization of the received waveform is not permitted. For cases where the CM transmit equalizer is ON, the transmit equalizer coefficients may be adjusted to maximize $MER_{\text{chip}}$ . $MER_{\text{chip}}$ is defined at the F connector of the CM. $MER_{\text{chip}}$ is computed by the formula: + +$$MER_{\text{chip}}(\text{dB}) = 10 \times \log_{10} \left( \frac{\sum_{j=1}^N |p_j|^2}{\sum_{j=1}^N |p_j - r_j|^2} \right)$$ + +where: + +$p_j$ is the $j$ th ideal transmitted composite chip + +$r_j$ is the $j$ th received composite chip + +$N$ is the number of composite chips observed + +#### **J.6.2.21.3.2 Requirements** + +Unless otherwise stated, the MER MUST meet or exceed the following limits over the full transmit power range of Table J.6-4 for each modulation, each modulation rate, and over the full carrier frequency range, and for S-CDMA, over any valid number of active and allocated codes. The 10-55 MHz carrier frequency range refers more precisely to $[10 \text{ MHz} + \text{modulation rate} \times 1.25/2]$ to $[55 \text{ MHz} - \text{modulation rate} \times 1.25/2]$ . At the break points between regions, the higher MER specification applies. + +##### **Case 1: Flat channel, transmit equalization OFF** + +Case 1a: for modulation rates 2.304 MHz and below: + +$\text{MER}_{\text{symb}} \geq 30 \text{ dB}$ over 20 to 41 MHz carrier frequency. + +$\text{MER}_{\text{symb}} \geq 27 \text{ dB}$ over 15 to 20 MHz and 41 to 47 MHz carrier frequency. + +$\text{MER}_{\text{symb}} \geq 23 \text{ dB}$ over 10 to 15 MHz and 47 to 55 MHz carrier frequency. + +Case 1b: for modulation rate 4.608 MHz: + +$\text{MER}_{\text{symb}} \geq 27 \text{ dB}$ over 20 to 41 MHz carrier frequency. + +$\text{MER}_{\text{symb}} \geq 24 \text{ dB}$ over 15 to 20 MHz and 41 to 47 MHz carrier frequency. + +$\text{MER}_{\text{symb}} \geq 20 \text{ dB}$ over 10 to 20 MHz and 47 to 55 MHz carrier frequency. + +##### **Case 2: Flat channel, transmit equalization ON** + +Case 2a: For TDMA/QPSK, $\text{MER}_{\text{symb}} \geq 30 \text{ dB}$ . + +Case 2b: For S-CDMA and all TDMA modulations except QPSK, $\text{MER}_{\text{symb}} \geq 35 \text{ dB}$ . + +Case 2c: For S-CDMA, $\text{MER}_{\text{chip}} \geq 33 \text{ dB}$ . + +##### **Case 3: Echo channel, transmit equalization ON** + +Case 3a: In the presence of a single echo selected from the channel micro-reflections defined in Figure J.4-1, the measured $\text{MER}_{\text{symb}}$ MUST be $\geq 30 \text{ dB}$ for TDMA/QPSK, and $\geq 33 \text{ dB}$ for S-CDMA and all TDMA modulations except QPSK. + +Case 3b: In the presence of two or three of the echoes defined in Figure J.4-1 (at most one of each specified magnitude and delay), the measured $\text{MER}_{\text{symb}}$ MUST be $\geq 29 \text{ dB}$ . + +The CMTS MUST provide a test mode in which it: + +- accepts equalizer coefficients via an external interface, e.g., Ethernet; +- sends the coefficients to the CM's pre-equalizer via ranging response message (both set and convolve modes); +- does not adjust the CM's frequency, timing or power. + +#### **J.6.2.21.4 Filter distortion** + +Refer to clause 6.2.21.4. + +#### **J.6.2.21.5 Carrier phase noise** + +Refer to clause 6.2.21.5. + +#### **J.6.2.21.6 Channel frequency accuracy** + +Refer to clause 6.2.21.6. + +#### J.6.2.21.7 Modulation rate accuracy + +Refer to clause 6.2.21.7. + +#### J.6.2.21.8 Modulation timing jitter + +Refer to clause 6.2.21.8. + +#### J.6.2.22 Upstream demodulator input power characteristics + +The maximum total input power to the upstream demodulator MUST NOT exceed 95 dB $\mu$ V in the 10-55 MHz frequency range of operation. + +The intended received power in each carrier MUST be within the values shown in Table J.6-6. + +**Table J.6-6 – Maximum range of commanded nominal receive power in each carrier** + +| Modulation rate (kHz) | Maximum range (dB $\mu$ V) | +|-----------------------|----------------------------| +| 144 | +44 to +72 | +| 288 | +47 to +75 | +| 576 | +50 to +78 | +| 1152 | +53 to +81 | +| 2304 | +56 to +84 | +| 4608 | +59 to +87 | + +The demodulator MUST operate within its defined performance specifications with received bursts within $\pm 6$ dB of the nominal commanded received power. + +#### J.6.2.23 Upstream electrical output from the CM + +The CM MUST output an RF modulated signal with the characteristics delineated in Table J.6-7. + +**Table J.6-7 – Electrical output from the CM** + +| Parameter | Value | +|---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Frequency | 10 to 55 MHz edge to edge | +| Level range (one channel) | TDMA:
+68 to +114 dB $\mu$ V (32QAM, 64QAM)
+68 to +115 dB $\mu$ V (8QAM, 16QAM)
+68 to +118 dB $\mu$ V (QPSK)
S-CDMA:
+68 to +113 dB $\mu$ V (all modulations of S-CDMA) | +| Modulation type | QPSK, 8QAM, 16QAM, 32QAM, 64QAM and 128QAM | +| Modulation rate (nominal) | TDMA: 144, 288, 576, 1152, 2304 and 4608 kHz
S-CDMA: 1152, 2304 and 4608 kHz | +| Bandwidth | TDMA: 187.5, 375, 750, 1500, 3000 and 6000 kHz
S-CDMA: 1500, 3000 and 6000 kHz | +| Output impedance | 75 ohms | +| Output return loss | >6 dB (10-55 MHz) | +| Connector | F connector per [IEC 60169-24] (common with the input) | + +### J.6.3 Downstream + +#### J.6.3.1 Downstream protocol + +The downstream PMD sublayer MUST conform to Annex C of [ITU-T J.83]. + +#### J.6.3.2 Interleaving + +The interleave method for 64QAM MUST be compliant with Annex C of [ITU-T J.83]. The interleave method for 256QAM is equal to Annex C of [ITU-T J.83] except for interleave depth values. The interleave depth $I = 12$ MUST be supported by the CM and CMTS. The CM and CMTS MAY support interleaver depths of $I = 34$ or $I = 204$ . Table J.6-8 shows the interleaver characteristics at 5.274 Msymb/s. + +**Table J.6-8 – Interleaver characteristics (@ 5.274 Msymb/s)** + +| I
(number of taps)
| J
(increment)
| Burst protection
64QAM/256QAM
| Latency
64QAM/256QAM
| +|-------------------------------|--------------------------|------------------------------------------|---------------------------------| +| 12 | 17 | 24 $\mu\text{s}$ /18 $\mu\text{s}$ | 0.57 ms/0.43 ms | +| 34 | 6 | –/51 $\mu\text{s}$ | –/1.28 ms | +| 204 | 1 | –/300 $\mu\text{s}$ | –/7.85 ms | + +#### J.6.3.3 Downstream frequency plan + +The downstream channel MUST support a 90 MHz to 770 MHz frequency range edge to edge. + +#### J.6.3.4 CMTS electrical output + +The transmission signal level at CMTS output connector MUST be adjustable over the range of +100 to +120 dB $\mu$ Vrms. + +##### J.6.3.4.1 Modulation method + +The modulation method MUST be 64QAM and 256QAM for downstream. + +##### J.6.3.4.2 Signal constellation diagram + +The signal constellation diagram and phase shift rule for 64QAM MUST be compliant with Annex C of [ITU-T J.83]. 256QAM signal constellation diagram MUST be compliant with Figure J.6-6, when the interleave depth $I = 12$ is selected. In case that the interleaver depth $I = 34$ or 204 is selected, the signal constellation diagram and phase shift rule MUST be as shown in Figure J.6-7. + +![Block diagram of the 256QAM mapping process. Six bits b0 through b5 are input to an 'IQ mapping' block. A differential encoding block takes Bk = b6 and Ak = b7(MSB) as inputs and produces Qk and Ik as outputs. These four signals (Ik, Qk, b0-b5) are then processed by the 'IQ mapping' block to produce the final I and Q outputs.](24ca424ca19ebeeafb6a9249dcd7bcfa_img.jpg) + +Block diagram of the 256QAM mapping process. Six bits b0 through b5 are input to an 'IQ mapping' block. A differential encoding block takes Bk = b6 and Ak = b7(MSB) as inputs and produces Qk and Ik as outputs. These four signals (Ik, Qk, b0-b5) are then processed by the 'IQ mapping' block to produce the final I and Q outputs. + +$$I_k = (A_k \oplus B_k) \cdot (A_k \oplus I_{k-1}) + (A_k \oplus B_k) \cdot (A_k \oplus Q_{k-1})$$ + +$$Q_k = (A_k \oplus B_k) \cdot (B_k \oplus Q_{k-1}) + (A_k \oplus B_k) \cdot (B_k \oplus I_{k-1})$$ + +![256QAM signal constellation diagram and phase shift rule. The diagram shows a grid of 256 points in the I-Q plane. The horizontal axis is labeled 'I' and the vertical axis is labeled 'Q'. The grid is divided into four quadrants based on the values of Ik and Qk. The top-right quadrant is labeled 'Ik Qk = 00'. The other three quadrants show phase shifts: 'Ik Qk = 10' (Rotate 90 degrees), 'Ik Qk = 11' (Rotate 180 degrees), and 'Ik Qk = 01' (Rotate 270 degrees). The grid points are labeled with 6-bit binary values b5 b4 b3 b2 b1 b0. The diagram is signed 'J.122_FJ-6-6'.](723d2f8c4e582206a0929413e12c00fe_img.jpg) + +256QAM signal constellation diagram and phase shift rule. The diagram shows a grid of 256 points in the I-Q plane. The horizontal axis is labeled 'I' and the vertical axis is labeled 'Q'. The grid is divided into four quadrants based on the values of Ik and Qk. The top-right quadrant is labeled 'Ik Qk = 00'. The other three quadrants show phase shifts: 'Ik Qk = 10' (Rotate 90 degrees), 'Ik Qk = 11' (Rotate 180 degrees), and 'Ik Qk = 01' (Rotate 270 degrees). The grid points are labeled with 6-bit binary values b5 b4 b3 b2 b1 b0. The diagram is signed 'J.122\_FJ-6-6'. + +Figure J.6-6 – 256QAM signal constellation diagram and phase shift rule (I = 12) + +![Figure J.6-7 – 256QAM signal constellation diagram and phase shift rule (I = 34 or 204). The diagram shows a 16x16 grid of 256 points in the I-Q plane. The horizontal axis is labeled 'I' and the vertical axis is labeled 'Q'. The points are labeled with 6-bit binary sequences b5 b4 b3 b2 b1 b0. The origin is labeled Ik Qk = 00. The diagram also shows phase shift rules: Rotate 90 degrees (Ik Qk = 10), Rotate 180 degrees (Ik Qk = 11), Rotate 270 degrees (Ik Qk = 01). The diagram is labeled J.122_FJ-6-7.](b4869fe05a0f31bb206f729f5081d6a8_img.jpg) + +Figure J.6-7 – 256QAM signal constellation diagram and phase shift rule (I = 34 or 204). The diagram shows a 16x16 grid of 256 points in the I-Q plane. The horizontal axis is labeled 'I' and the vertical axis is labeled 'Q'. The points are labeled with 6-bit binary sequences b5 b4 b3 b2 b1 b0. The origin is labeled Ik Qk = 00. The diagram also shows phase shift rules: Rotate 90 degrees (Ik Qk = 10), Rotate 180 degrees (Ik Qk = 11), Rotate 270 degrees (Ik Qk = 01). The diagram is labeled J.122\_FJ-6-7. + +**Figure J.6-7 – 256QAM signal constellation diagram and phase shift rule (I = 34 or 204)** + +#### J.6.3.4.3 Symbol rate, bandwidth and roll off + +The symbol rate MUST be 5.274 Msymb/s. Bandwidth MUST be 6 MHz. The roll-off factor MUST be $\alpha = 0.13$ . Other parameters related to symbol rate, bandwidth and roll-off SHOULD be compliant with Annex C of [ITU-T J.83]. + +#### J.6.3.4.4 Frame structure + +The frame structure SHOULD be compliant with Annex C of [ITU-T J.83]. + +#### J.6.3.4.5 Error correction + +Error correction functionality SHOULD be considered for the noise environment in the cable television network. Code length and information byte length MUST be in accordance with Annex C of [ITU-T J.83]. + +The original Reed-Solomon code is defined as follows: + +- Primitive polynomial: $P(x) = x^8 + x^4 + x^3 + x^2 + 1$ +- Generator polynomial: $G(x) = (x + \alpha^0)(x + \alpha^1) \cdots (x + \alpha^{2t-1})$ + +where $t$ is the error-correcting capability of a Reed-Solomon code and $\alpha$ is 02H and one of roots of equation $P(x) = 0$ . + +#### J.6.3.4.6 Randomization + +A randomization function MUST be provided. The generator polynomial MUST be compliant with Annex C of [ITU-T J.83]. + +#### **J.6.3.4.7 Transmission signal level** + +The transmission signal level at the CMTS output connector MUST be adjustable over the range of +100 to +120 dB $\mu$ Vrms. + +#### **J.6.3.4.8 Transmission spurious level** + +Transmission spurious level at the CMTS output connector MUST be less than -55 dBc over the range of 90 MHz to 770 MHz. + +#### **J.6.3.4.9 Channel frequency accuracy** + +Channel frequency accuracy MUST be within $\pm 20$ kHz over a temperature range of 0 to 40° C. + +#### **J.6.3.4.10 Symbol rate accuracy** + +Symbol rate accuracy MUST be within $\pm 20$ ppm over a temperature range of 0 to 40° C. + +#### **J.6.3.4.11 Impedance, return loss and connector** + +Impedance, return loss and connector at the CMTS output and CMTS input MUST meet the requirements shown in Table J.6-9. + +**Table J.6-9 – Impedance, return loss and connector type** + +| | Impedance | Return loss | Connector type | +|-------------|------------------|-------------------------------|-----------------------| +| CMTS Output | 75 $\Omega$ | More than 14 dB
90-770 MHz | F-type, female | +| CMTS Input | 75 $\Omega$ | More than 6 dB
10-55 MHz | F- type, female | + +#### **J.6.3.5 Downstream electrical input to CM** + +##### **J.6.3.5.1 Receiving signal level** + +CM MUST be able to operate at the level within a range of +45 to +75 dB $\mu$ Vrms for 64QAM, +51 to +81 dB $\mu$ Vrms for 256QAM at CM Input connector. + +##### **J.6.3.5.2 Impedance, return loss and connector** + +Impedance, return loss and connector at CM in/output MUST meet the requirements shown in Table J.6-10. + +**Table J.6-10 – Impedance, return loss and connector type** + +| | Impedance | Return loss | Connector type | +|--------------|------------------|----------------------------------------|-----------------------| +| CM in/output | 75 $\Omega$ | More than 6 dB
10-55 and 90-770 MHz | F-type, female | + +#### **J.6.3.6 CM BER performance** + +The bit-error-rate performance of a CM MUST be as described in this clause. The requirements apply to the I = 12, J = 17 mode of interleaving. + +##### **J.6.3.6.1 64QAM** + +###### **J.6.3.6.1.1 64QAM CM BER performance** + +Bit error rate MUST be less than $10^{-8}$ at CNR (Nyquist bandwidth) of 26 dB $\text{rms}$ for 64QAM with error correction. + +#### **J.6.3.6.1.2 64QAM image rejection performance** + +Performance as described in clause J.6.3.6.1.1 MUST be met with an analogue or digital signal at +10 dBc in any portion of the RF band other than the adjacent channels. + +#### **J.6.3.6.1.3 64QAM adjacent channel performance** + +Performance as described in clause J.6.3.6.1.1 MUST be met with a digital signal at 0 dBc in the adjacent channels. + +Performance as described in clause J.6.3.6.1.1 MUST be met with an analogue signal at +10 dBc in the adjacent channels. + +Performance as described in clause J.6.3.6.1.1, with an additional 0.2-dB allowance, MUST be met with a digital signal at +10 dBc in the adjacent channels. + +#### **J.6.3.6.2 256QAM** + +##### **J.6.3.6.2.1 256QAM CM BER performance** + +Bit error rate MUST be less than $10^{-8}$ at CNR (Nyquist bandwidth) of 33 dBrms for 256QAM with error correction. + +##### **J.6.3.6.2.2 256QAM image rejection performance** + +Performance as described in clause J.6.3.6.2.1 MUST be met with an analogue or digital signal at +10 dBc in any portion of the RF band other than the adjacent channels. + +##### **J.6.3.6.2.3 256QAM adjacent channel performance** + +Refer to clause J.4.4. + +#### **J.6.3.7 CMTS timestamp jitter** + +The CMTS timestamp jitter MUST be less than 500 ns peak-to-peak at the output of the downstream transmission convergence sublayer. This jitter is relative to an ideal downstream transmission convergence sublayer that transfers the MPEG packet data to the downstream physical media dependent sublayer with a perfectly continuous and smooth clock at the MPEG packet data rate. Downstream physical media dependent sublayer processing MUST NOT be considered in timestamp generation and transfer to the downstream physical media dependent sublayer. + +Thus, any two timestamps N1 and N2 ( $N2 > N1$ ) which were transferred to the downstream physical media dependent sublayer at times T1 and T2, respectively, must satisfy the following relationship: + +$$|(N2 - N1)/f_{\text{CMTS}} - (T2 - T1)| < 500 \times 10^{-9}$$ + +In the equation, the value of $(N2 - N1)$ is assumed to account for the effect of roll-over of the timebase counter, and T1 and T2 represent time in seconds. $f_{\text{CMTS}}$ is the actual frequency of the CMTS master timebase and may include a fixed frequency offset from the nominal frequency of 9.216 MHz. This frequency offset is bounded by a requirement further below in this clause. + +The jitter includes inaccuracy in timestamp value and the jitter in all clocks. The 500 ns allocated for jitter at the downstream transmission convergence sublayer output MUST be reduced by any jitter that is introduced by the downstream physical media dependent sublayer. + +The CM is expected to meet the burst timing accuracy requirements in clause 6.2.19 when the timestamps contain this worst-case jitter. + +NOTE – Jitter is the error (i.e., measured) relative to the CMTS master clock (the CMTS master clock is the 9.216-MHz clock used for generating the timestamps). + +#### J.6.3.7.1 CMTS master clock jitter for asynchronous operation + +The CMTS 9.216-MHz master clock MUST have frequency accuracy of $\leq \pm 5$ ppm, drift rate: $\leq 10^{-8}$ per second, and edge jitter of: $\leq 10$ ns peak-to-peak ( $\pm 5$ ns) over a temperature range of 0 to 40 degrees C up to ten years from date of manufacture30. (The drift rate and jitter requirements on the CMTS master clock implies that the duration of two adjacent segments of 9 216 000 cycles will be within 30 ns, due to 10-ns jitter on each segment's duration, and 10 ns due to frequency drift. Durations of other counter lengths also may be deduced: adjacent 9 216 000 segments, $\leq 21$ ns; 9 216 000 length segments separated by one 92 160 000 cycle segment, $\leq 30$ ns; adjacent 921 600 000 segments, $\leq 120$ ns. The CMTS master clock MUST meet such test limits in 99% or more measurements.) + +#### J.6.3.7.2 CMTS master clock jitter for synchronous operation + +In addition to the requirements in clause 6.3.7.1, the 9.216-MHz CMTS master clock MUST meet the following double sideband phase noise requirements over the specified frequency ranges: + +- $< [-50 + 20 \times \log(f_{MC}/9.216)]$ dBc (i.e., $< 0.05$ ns RMS) 10 Hz to 100 Hz +- $< [-58 + 20 \times \log(f_{MC}/9.216)]$ dBc (i.e., $< 0.02$ ns RMS) 100 Hz to 1 kHz +- $< [-50 + 20 \times \log(f_{MC}/9.216)]$ dBc (i.e., $< 0.05$ ns RMS) 1 to 10 kHz +- $< [-50 + 20 \times \log(f_{MC}/9.216)]$ dBc (i.e., $< 0.05$ ns RMS) 10 kHz to $f_{MC}/2$ + +where $f_{MC}$ is the frequency of the measured master clock in MHz. The value of $f_{MC}$ MUST be either an integral multiple or divisor of 9.216 MHz. For example, if a 18.432-MHz oscillator is used as the master clock frequency source, and there is no explicit 9.216-MHz clock to test, the 18.432-MHz clock may be used with $f_{MC}$ equal to 18.432 in the above expressions. + +#### J.6.3.7.3 CMTS master clock frequency drift for synchronous operation + +Refer to clause 6.3.7.3. + +#### J.6.3.8 CMTS clock generation + +The CMTS has the following three options related to the synchronization of the CMTS master clock and the downstream symbol clock: + +- 1) not locked; +- 2) downstream symbol clock locked to cmts master clock; +- 3) CMTS master clock locked to downstream symbol clock. + +For S-CDMA operation, the master clock and the downstream symbol clock MUST be locked using either option 2 or 3. + +Let $f_b'$ represent the rate of the downstream symbol clock which is locked to the CMTS master clock, and let $f_m'$ represent the rate of the CMTS master clock locked to the downstream symbol clock. Let $f_b$ represent the nominal specified downstream symbol rate, and let $f_m$ represent the nominal CMTS master clock rate (9.216 MHz). + +With the downstream symbol clock locked to the CMTS master clock, the following equation MUST hold: + +$$f_b' = f_m \times M/N$$ + +--- + +30 This Recommendation MAY also be met by synchronizing the CMTS master clock oscillator to an external frequency reference source. If this approach is used, the internal CMTS master clock MUST have frequency accuracy of $\pm 20$ ppm over a temperature range of 0 to 40 degrees C up to ten years from date of manufacture when no frequency reference source is connected. The drift rate and edge jitter MUST be as specified above. + +With the CMTS master clock locked to the downstream symbol clock, the following equation MUST hold: + +$$f_m' = f_b \times N/M$$ + +M and N MUST be unsigned integer values each representable in 16 bits (these are specified in the channel TLV parameters of the UCD). When the downstream symbol clock and the CMTS master clock are not locked together (sync mode = 0), the values of M and N are not valid and are ignored by the CM. + +The values of M and N MUST result in a value of $f_b'$ or $f_m'$ , which is not more than $\pm 1$ ppm from its specified nominal value. Table J.6-11 lists the downstream modes of operation, their associated nominal symbol rates, $f_b$ , example values for M and N, the resulting synchronized clock rates, and their offsets from their nominal values. + +**Table J.6-11 – Downstream symbol rates and example parameters for synchronization with the CMTS master clock** + +| Downstream mode | Nominal specified symbol rate, $f_b$ (MHz) | M/N | CMTS master clock rate, $f_m'$ (MHz) | Downstream symbol rate, $f_b'$ (MHz) | Offset from nominal | +|------------------|--------------------------------------------|---------|--------------------------------------|--------------------------------------|---------------------| +| 64QAM and 256QAM | 5.274 | 293/512 | 9.216 | 5.274 | 0 ppm | + +### J.6.3.9 Downstream symbol clock jitter for synchronous operation + +The downstream symbol clock MUST meet the following double sideband phase noise requirements over the following frequency ranges: + +- $< [-53 + 20 \times \log(f_{DS}/5.274)]$ dBc (i.e., $< 0.07$ ns rms) 10 to 100 Hz +- $< [-53 + 20 \times \log(f_{DS}/5.274)]$ dBc (i.e., $< 0.07$ ns rms) 100 Hz to 1 kHz +- $< [-53 + 20 \times \log(f_{DS}/5.274)]$ dBc (i.e., $< 0.07$ ns rms) 1 to 10 kHz +- $< [-36 + 20 \times \log(f_{DS}/5.274)]$ dBc (i.e., $< 0.5$ ns rms) 10 to 100 kHz +- $< [-30 + 20 \times \log(f_{DS}/5.274)]$ dBc (i.e., $< 1$ ns rms) 100 kHz to ( $f_{DS}/2$ ) + +where $f_{DS}$ is the frequency of the measured clock in MHz. The value of $f_{DS}$ MUST be an integral multiple or divisor of the downstream symbol clock. For example, an $f_{DS} = 21.096$ -MHz clock may be measured if there is no explicit 5.274-MHz clock available. + +The CMTS MUST provide a test mode in which: + +- the downstream QAM symbol sequence is replaced with an alternating binary sequence (1, -1, 1, -1, 1, -1, ...) at nominal amplitude, on both I and Q; +- the CMTS generates the downstream symbol clock from the 9.216-MHz reference clock as in normal synchronous operation. + +If an explicit downstream symbol clock that is capable of meeting the above phase noise requirements is available (e.g., a smooth clock without clock domain jitter), this test mode is not required. + +### J.6.3.10 CMTS downstream symbol clock drift for synchronous operation + +Refer to clause 6.3.10. + +## J.7 Downstream transmission convergence sublayer + +### J.7.1 Introduction + +In order to improve demodulation robustness, facilitate common receiving hardware for both video and data, and provide an opportunity for the possible future multiplexing of video and data over the PMD sublayer bitstream defined in clause 6, a sublayer is interposed between the downstream PMD sublayer and the data-over-cable MAC sublayer. + +The downstream bitstream is defined as a continuous series of 188-byte MPEG [ITU-T H.222.0] packets. These packets consist of a 4-byte header followed by 184 bytes of payload. The header identifies the payload as belonging to the data-over-cable MAC. Other values of the header may indicate other payloads. the mixture of MAC payloads and those of other services is optional and is controlled by the CMTS. + +Figure J.7-1 illustrates the interleaving of data-over-cable (DOC) MAC bytes with other digital information (digital video in the example shown). + +| | | +|----------------|-----------------------| +| Header = DOC | DOC MAC payload | +| Header = video | Digital video payload | +| Header = video | Digital video payload | +| Header = DOC | DOC MAC payload | +| Header = video | Digital video payload | +| Header = DOC | DOC MAC payload | +| Header = video | Digital video payload | +| Header = video | Digital video payload | +| Header = video | Digital video payload | + +Figure J.7-1 – Example of interleaving MPEG packets in downstream + +### J.7.2 MPEG packet format + +Refer to clause 7.2. + +### J.7.3 MPEG header for DOCS data-over-cable + +Refer to clause 7.3. + +### J.7.4 MPEG payload for DOCS data-over-cable + +Refer to clause 7.4. + +### J.7.5 Interaction with the MAC sublayer + +Refer to clause 7.5. + +### J.7.6 Interaction with the physical layer + +The MPEG-2 packet stream MUST be encoded according to Annex C of [ITU-T J.83]. + +### J.7.7 MPEG header synchronization and recovery + +Refer to clause 7.7. + +## J.8 Media access control specification + +Refer to clause 8, except for the following changes: + +- Time tick 6.25 µs MUST change to 6.94 µs. +- Master clock 10.24 MHz MUST change to 9.216 MHz. +- Base rate 160 KHz MUST change to 144 KHz. + +#### J.8.3.20.1.2.3 Downstream symbol rate + +This TLV specifies the symbol rate that is used on the new downstream channel. + +| Subtype | Length | Value | +|---------|--------|-------------------------------------------------------------------------------------------------------| +| 2.3 | 1 | 0: 5.056941 Msymb/s
1: 5.360537 Msymb/s
2: 6.952 Msymb/s
3: 5.274 Msymb/s
4-255: reserved | + +The CMTS SHOULD include this sub-TLV. The CM SHOULD observe this sub-TLV. + +### J.9 Media access control protocol operation + +#### J.9.3.4 Timing units and relationships + +The SYNC message conveys a time reference with a resolution of 6.94/64 microseconds (9.216 MHz) to allow the CM to track the CMTS clock with a small phase offset. Since this timing reference is decoupled from particular upstream channel characteristics, a single SYNC time reference may be used for all upstream channels associated with the downstream channel. + +The bandwidth allocation MAP uses time units of "mini-slots". A mini-slot represents the time needed for transmission of a fixed number of symbols. For some modulations (e.g., QPSK), an integer number of bytes can be transmitted in a mini-slot. For these channels, the mini-slot is expected to represent 16 byte-times, although other values could be chosen. + +A "mini-slot" is the unit of granularity for upstream transmission opportunities; there is no implication that any PDU can actually be transmitted in a single mini-slot. + +##### J.9.3.4.1.1 Mini-slot capacity + +On TDMA channels, the size of the mini-slot, expressed as a multiple of the SYNC time reference, is carried in the upstream channel descriptor. The example in Table J.9-1 relates mini-slots to the SYNC time ticks (assuming QPSK modulation): + +**Table J.9-1 – Example relating mini-slots to time ticks** + +| Parameter | Example value | +|------------------------|------------------------------------------| +| Time tick | 6.94 microseconds | +| Bytes per mini-slot | 16 (nominal, when using QPSK modulation) | +| Symbols/byte | 4 (assuming QPSK) | +| Symbols/second | 2 304 000 | +| Mini-slots/second | 36'000 | +| Microseconds/mini-slot | 27.7 | +| Ticks/mini-slot | 4 | + +Note that the symbols/byte is a characteristic of an individual burst transmission, not of the channel. A mini-slot in this instance could represent a minimum of 16 or a maximum of 48 bytes, depending on the modulation choice. + +In a channel allocated exclusively to DOCS 2.0 TDMA modems, the mini-slot size field of the UCD MAY take on the value 0, in which case the mini-slot size is 1 timebase tick. If a channel is to + +be accessible to both DOCS 1.x and 2.0 TDMA cable modems, the UCD MUST follow the DOCS 1.x requirements for timing units and relationships. + +#### J.9.3.4.2.1 Mini-slot capacity + +On S-CDMA channels, the size of the mini-slot is dependent on the modulation rate, the codes per mini-slot, and the spreading intervals per frame, which are all carried in the upstream channel descriptor. The timing units and relationships for S-CDMA are covered in detail in clause 6.2.11, "S-CDMA framer and interleaver". An example of the timing relationships (assuming 64QAM modulation) is shown in Table J.9-2: + +**Table J.9-2 – Example of mini-slot capacity in S-CDMA mode** + +| Parameter | Example value | +|-------------------------------|-------------------------------------------| +| Spreading intervals per frame | 10 | +| Active code length | 128 | +| Codes per mini-slot | 4 | +| Mini-slots per frame | 32 | +| Symbols per mini-slot | 40 | +| Bytes per mini-slot | 30 (nominal, when using 64QAM modulation) | +| Bits/symbol | 6 (assuming 64QAM) | +| Symbols/second | 4'608'000 | +| Mini-slots/second | 115'200 | +| Microseconds/mini-slot | 8.680 5 | + +#### J.9.5 Data link encryption support + +Refer to clause 9.5 + +#### J.10 Quality of service and fragmentation + +Refer to clause 10. + +#### J.11 Cable modem – CMTS interaction + +##### J.11.2.10 Baseline privacy initialization + +Following registration, if the CM is provisioned to run baseline privacy, the CM MUST initialize baseline privacy operations, as described in [DOCS8]. A CM is provisioned to run baseline privacy if the privacy enable TLV (see clause C.1.1.16) in the DOCS 1.1-style configuration file is explicitly/implicitly set to enable or the baseline privacy configuration setting (see clause C.3.2) is contained in the DOCS 1.0-style configuration file as specified in clauses A.1.1 and C.2 of the BPI+ spec [DOCS8]. Note that the secure software download is required regardless of whether the CM is provisioned to run baseline privacy or not, as specified in Appendix D of the BPI+ spec [DOCS8]. + +In order to ease operations and reduce cost, the manufacturer CA certificate of the CM MAY be self-signed. + +#### J.C Common radio frequency interface encodings + +##### J.C.2.2.6.11 Unsolicited grant time reference + +For unsolicited grant service and unsolicited grant service with activity detection, the value of this parameter specifies a reference time $t_0$ from which can be derived the desired transmission times + +$t_i = t_0 + i \times \text{interval}$ , where interval is the nominal grant interval (refer to clause C.2.2.6.7). This parameter is applicable only for messages transmitted from the CMTS to the CM, and only when a UGS or UGS-AD service flow is being made active. In such cases, this is a mandatory parameter. + +| Type | Length | Value | Valid range | +|-------|--------|----------------|-----------------| +| 24.24 | 4 | CMTS timestamp | 0-4'294'967'295 | + +The timestamp specified in this parameter represents a count state of the CMTS 9.216-MHz master clock. Since a UGS or UGS-AD service flow is always activated before transmission of this parameter to the modem, the reference time $t_0$ is to be interpreted by the modem as the ideal time of the next grant only if $t_0$ follows the current time. If $t_0$ precedes the current time, the modem can calculate the offset from the current time to the ideal time of the next grant according to: + +$$\text{interval} - (((\text{current time} - t_0)/9.216) \bmod \text{interval})$$ + +where interval is in units of microseconds, and current time and $t_0$ are in 9.216-MHz units. + +## J.E The data-over-cable spanning tree protocol + +### J.E.4.1 Path cost + +In [b-ISO/IEC 10038], the following formula is used: + +$$\text{Path\_Cost} = 1000/\text{Attached\_LAN\_speed\_in\_Mb/s}$$ + +For CMs, this formula is adapted as: + +$$\text{Path\_Cost} = 1000/(\text{Upstream\_modulation\_rate} \times \text{bits\_per\_Symbol\_for\_long\_data\_grant})$$ + +That is, the modulation type (QPSK or 16QAM) for the long data grant IUC is multiplied by the raw modulation rate to determine the nominal path cost. Table J.E-1 provides the derived values. + +**Table J.E-1 – CM path cost** + +| Modulation rate | Default path cost | | +|-----------------|-------------------|-------| +| | QPSK | 16QAM | +| kHz | | | +| 144 | 3472 | 1736 | +| 288 | 1736 | 868 | +| 596 | 868 | 434 | +| 1152 | 434 | 217 | +| 2304 | 217 | 108 | + +For CMTSs, this formula is: + +$$\text{Path\_Cost} = 1000/(\text{Downstream\_symbol\_rate} \times \text{bits\_per\_symbol})$$ + +# Appendix I + +## MAC service definition + +(This appendix does not form an integral part of this Recommendation) + +This appendix is informative. In case of conflict between this appendix and any normative section of this Recommendation, the normative section takes precedence. + +### I.1 MAC service overview + +The DOCS MAC provides a protocol service interface to upper-layer services. Examples of upper-layer services include a DOCS bridge, embedded applications (e.g., IPCablecom/VoIP), a host interface (e.g., NIC adapter with NDIS driver), and layer three routers (e.g., IP router). + +The MAC service interface defines the functional layering between the upper-layer service and the MAC. As such it defines the functionality of the MAC which is provided by the underlying MAC protocols. This interface is a protocol interface, not a specific implementation interface. + +The following data services are provided by the MAC service interface: + +- A MAC service exists for classifying and transmitting packets to MAC service flows. +- A MAC service exists for receiving packets from MAC service flows. Packets may be received with suppressed headers. +- A MAC service exists for transmitting and receiving packets with suppressed headers. The headers of transmitted packets are suppressed based upon matching classifier rules. The headers of received suppressed packets are regenerated based upon a packet header index negotiated between the CM and CMTS. +- A MAC service exists for synchronization of grant timing between the MAC and the upper-layer service. This clock synchronization is required for applications such as embedded IPCablecom VoIP clients in which the packetization period needs to be synchronized with the arrival of scheduled grants from the CMTS. +- A MAC service exists for synchronization of the upper-layer clock with the CMTS controlled master clock. + +It should be noted that a firewall and policy based filtering service may be inserted between the MAC layer and the upper-layer service, but such a service is not modelled in this MAC service definition. + +The following control services are provided by the MAC service interface: + +- A MAC service exists for the upper layer to learn of the existence of provisioned service flows and QoS traffic parameter settings at registration time. +- A MAC service exists for the upper layer to create service flows. Using this service, the upper layer initiates the admitted/activated QoS parameter sets, classifier rules and packet suppression headers for the service flow. +- A MAC service exists for the upper layer to delete service flows. +- A MAC service exists for the upper layer to change service flows. Using this service, the upper layer modifies the admitted/activated QoS parameter sets, classifier rules and packet suppression headers. +- A MAC service exists for controlling the classification of and transmission of PDUs with suppressed headers. At most, a single suppressed header is defined for a single classification rule. The upper-layer service is responsible for defining both the definition of suppressed headers (including wild-card do-not-suppress fields) and the unique + +classification rule that discriminates each header. In addition to the classification rule, the MAC service can perform a full match of all remaining header bytes to prevent generation of false headers if so configured by the upper-layer service. + +- A MAC service exists for controlling two-phase control of QoS traffic resources. Two-phase activation is controlled by the upper-layer service to provide both admitted QoS parameters and active QoS parameters within the appropriate service request. Upon receipt of an affirmative indication, the upper-layer service knows that the admitted QoS parameter set has been reserved by the CMTS, and that the activated QoS parameter set has been activated by the CMTS. Barring catastrophic failure (such as resizing of the bandwidth of the upstream PHY), admitted resources will be guaranteed to be available for activation, and active resources will be guaranteed to be available for use in packet transmission. + +A control function for locating an unused service flow and binding it, or a specific identified service flow, to a specific upper-layer service may also exist. The details of such a function are not specified and are implementation-dependent. + +Other control functions may exist at the MAC service interface, such as functions for querying the status of active service flows and packet classification tables, or functions from the MAC service to the upper-layer service to enable the upper-layer service to authorize service flows requested by the peer MAC layer service, but those functions are not modelled in this MAC service definition. + +Other MAC services that are not service flow-related also exist, such as functions for controlling the MAC service MAC address and SAID multicast filtering functions, but those functions are not modelled in this MAC service definition. + +### **I.1.1 MAC service parameters** + +The MAC service utilizes the following parameters. For a full description of the parameters, consult the theory of operation and other relevant clauses within the body of the RFI Recommendation. + +- Service flow QoS traffic parameters + +MAC activate-service-flow and change-service-flow primitives allow common, upstream and downstream QoS traffic parameters to be provided. When such parameters are provided, they override whatever values were configured for those parameters at provisioning time or at the time the service flow was created by the upper-layer service. + +- Active/admitted QoS traffic parameters + +If two-phase service flow activation is being used, then two complete sets of QoS traffic parameters are controlled. The admitted QoS parameters state the requirements for reservation of resources to be authorized by the CMTS. The activated QoS parameters state the requirements for activation of resources to be authorized by the CMTS. Admitted QoS parameters may be activated at a future time by the upper-layer service. Activated QoS parameters may be used immediately by the upper-layer service. + +- Service flow classification filter rules + +Zero or more classification filter rules may be provided for each service flow that is controlled by the upper-layer service. Classifiers are identified with a classifier identifier. + +- Service flow PHS suppressed headers + +Zero or more PHS suppressed header strings with their associated verification control and mask variables may be defined for each service flow. When such headers are defined, they are associated 1-to-1 with specific classification rules. In order to regenerate packets with suppressed headers, a payload header suppression index is negotiated between the CM and CMTS. + +## I.2 MAC data service interface + +MAC services are defined for transmission and reception of data to and from service flows. Typically, an upper-layer service will utilize service flows for mapping of various classes of traffic to different service flows. Mappings to service flows may be defined for low priority traffic, high priority traffic and multiple special traffic classes such as constant bit-rate traffic that is scheduled by periodic grants from the CMTS at the MAC layer. + +The following specific data service interfaces are provided by the MAC service to the upper-layer service. These represent an abstraction of the service provided and do not imply a particular implementation: + +- MAC\_DATA.request; +- MAC\_DATA.indicate; +- MAC\_GRANT\_SYNCHRONIZE.indicate; +- MAC\_CMTS\_MASTER\_CLOCK\_SYNCHRONIZE.indicate; +- MAC\_DATA.request. + +Issued by the upper-layer service to request classification and transmission of an IEEE 802.3 or DIX-formatted PDU to the RF. + +### Parameters + +- PDU – IEEE 802.3 or DIX-encoded PDU including all layer-2 header fields and optional FCS. PDU is the only mandatory parameter. +- Padding – Used when the PDU is less than 60 bytes and it is desired to maintain ISO/IEC 8802-3 transparency. +- ServiceFlowID – If included, the MAC service circumvents the packet classification function and maps the packet to the specific service flow indicated by the ServiceFlowID value. +- ServiceClassName, RulePriority – If included, this tuple identifies the service class name of an active service flow to which the packet is to be mapped so long as a classifier does not exist at a rule priority higher than the rule priority supplied. + +### Expanded service description + +Transmit a PDU from upper-layer service to MAC/PHY. The only mandatory parameter is PDU. PDU contains all layer-2 headers, layer-3 headers, data and (optional) layer-2 checksum. + +If PDU is the only parameter, the packet is subjected to the MAC packet classification filtering function in order to determine how the packet is mapped to a specific service flow. The results of the packet classification operation determine on which service flow the packet is to be transmitted and whether or not the packet should be transmitted with suppressed headers. + +If the parameter ServiceFlowID is supplied, the packet can be directed to the specifically-identified service flow. + +If the parameter tuple ServiceClassName, RulePriority is supplied, the packet is directed to the first active service flow that matches the service class name so long as a classifier does not exist at a rule priority higher than the rule priority supplied. This service is used by upper-layer policy enforcers to allow zero or more dynamic rules to be matched for selected traffic (e.g., voice) while all other traffic is forced to a service flow within the named service flow class. If no active service flow with the service class name exists, then the service performs normal packet classification. + +In all cases, if no classifier match is found, or if none of the combinations of parameters maps to a specific service flow, the packet will be directed to the primary service flow. + +The following pseudo-code describes the intended operation of the MAC\_DATA.request service interface. + +### I.2.1 MAC\_DATA.request + +``` +PDU +[ServiceFlowID] +[ServiceClassName, RulePriority] +``` + +FIND\_FIRST\_SERVICE\_FLOW\_ID (ServiceClassName) returns ServiceFlowID of first service flow whose ServiceClassName equals the parameter of the procedure or NULL if no matching service flow is found. + +SEARCH\_CLASSIFIER\_TABLE (PriorityRange) searches all rules within the specified priority range and returns either the ServiceFlowID associated with the rule or NULL if no classifier rule is found. + +``` +TxServiceFlowID = NULL +IF (ServiceFlowID DEFINED) + TxServiceFlowID = MAC_DATA.ServiceFlowID +ELSEIF (ServiceClassName DEFINED and RulePriority DEFINED) + TxServiceFlowID = FIND_FIRST_SERVICE_FLOW_ID (ServiceClassName) + SearchID = SEARCH_CLASSIFIER_TABLE (All Priority Levels) + IF (SearchID not NULL and ClassifierRule.Priority >= +MAC_DATA.RulePriority) + TxServiceFlowID = SearchID +ELSE [PDU only] + TxServiceFlowID = SEARCH_CLASSIFIER_TABLE (All Priority Levels) +IF (TxServiceFlowID = NULL) + TRANSMIT_PDU (PrimaryServiceFlowID) +ELSE + TRANSMIT_PDU (TxServiceFlowID) +``` + +### I.2.2 MAC\_DATA.indicate + +Issued by the MAC to indicate reception of an IEEE 802.3 or DIX PDU for the upper-layer service from the RF. + +#### Parameters + +- PDU – IEEE 802.3 or DIX-encoded PDU including all layer-2 header fields and FCS. + +### I.2.3 MAC\_GRANT\_SYNCHRONIZE.indicate + +Issued by the MAC service to the upper-layer service to indicate the timing of grant arrivals from the CTMS. It is not stated how the upper layer derives the latency, if any, between the reception of the indication and the actual arrival of grants (within the bounds of permitted grant jitter) from the CMTS. It should be noted that in UGS applications it is expected that the MAC layer service will increase the grant rate or decrease the grant rate based upon the number of grants per interval QoS traffic parameter. It should also be noted that as the number of grants per interval is increased or decreased, the timing of grant arrivals will change also. It should also be noted that when synchronization is achieved with the CMTS downstream master clock, this indication may only be required once per active service flow. No implication is given as to how this function is implemented. + +#### Parameters + +- ServiceFlowID – Unique identifier value for the specific active service flow receiving grants. + +#### **I.2.4 MAC\_CMTS\_MASTER\_CLOCK\_SYNCHRONIZE.indicate** + +Issued by the MAC service to the upper-layer service to indicate the timing of the CMTS master clock. No implication is given as to how often or how many times this indication is delivered by the MAC service to the upper-layer service. No implication is given as to how this function is implemented. + +##### **Parameters** + +- No parameters specified. + +#### **I.3 MAC control service interface** + +A collection of MAC services are defined for control of MAC service flows and classifiers. It should be noted that an upper-layer service may use these services to provide an upper-layer traffic construct such as "connections" or "subflows" or "micro-flows". However, except for the ability to modify individual classifiers, no explicit semantics is defined for such upper layer models. Thus, control of MAC service flow QoS parameters is specified in the aggregate. + +The following specific control service interface functions are provided by the MAC service to the upper-layer service. These represent an abstraction of the service provided and do not imply a particular implementation: + +- MAC\_REGISTRATION\_RESPONSE.indicate; +- MAC\_CREATE\_SERVICE\_FLOW.request/response/indicate; +- MAC\_DELETE\_SERVICE\_FLOW.request/response/indicate; +- MAC\_CHANGE\_SERVICE\_FLOW.request/response/indicate. + +##### **I.3.1 MAC\_REGISTRATION\_RESPONSE.indicate** + +Issued by the DOSCIS MAC to the upper-layer service to indicate the complete set of service flows and service flow QoS traffic parameters that have been provisioned and authorized by the registration phase of the MAC. Subsequent changes to service flow activation state or addition and deletion of service flows are communicated to the upper-layer service with indications from the other MAC control services. + +##### **Parameters** + +- Registration TLVs – Any and all TLVs that are needed for service flow and service flow parameter definition including provisioned QoS parameters. See the normative body of this Recommendation for more details. + +##### **I.3.2 MAC\_CREATE\_SERVICE\_FLOW.request** + +Issued by the upper-layer service to the MAC to request the creation of a new service flow within the MAC service. This primitive is not issued for service flows that are configured and registered, but rather for dynamically-created service flows. This primitive may also define classifiers for the service flow and supply admitted and activated QoS parameters. This function invokes DSA signalling. + +##### **Parameters** + +- ServiceFlowID – Unique ID value for the specific service flow being created. +- ServiceClassName – service flow class name for the service flow being created. +- Admitted QoS parameters – Zero or more upstream, downstream and common traffic parameters for the service flow. +- Activated QoS parameters – Zero or more upstream, downstream and common traffic parameters for the service flow. + +- Service flow payload header suppression rules – Zero or more PHS rules for each service flow that is controlled by the upper-layer service. +- Service flow classification filter rules – Zero or more classification filter rules for each service flow that is controlled by the upper-layer service. Classifiers are identified with a classifier identifier. + +### **I.3.3 MAC\_CREATE\_SERVICE\_FLOW.response** + +Issued by the MAC service to the upper-layer service to indicate the success or failure of the request to create a service flow. + +#### **Parameters** + +- ServiceFlowID – Unique identifier value for the specific service flow being created. +- ResponseCode – Success or failure code. + +### **I.3.4 MAC\_CREATE\_SERVICE\_FLOW.indicate** + +Issued by the MAC service to notify the upper-layer service of the creation of a new service flow within the MAC service. This primitive is not issued for service flows that have been administratively pre-configured, but rather for dynamically defined service flows. In this Recommendation, this notification is advisory only. + +#### **Parameters** + +- ServiceFlowID – Unique ID value for the specific service flow being created. +- ServiceClassName – service flow class name for the service flow being created. +- Admitted QoS parameters – Zero or more upstream, downstream and common traffic parameters for the service flow. +- Activated QoS parameters – Zero or more upstream, downstream and common traffic parameters for the service flow. +- Service flow payload header suppression rules – Zero or more PHS rules for each service flow that is controlled by the upper-layer service. +- Service flow classification filter rules – Zero or more classification filter rules for each service flow that is controlled by the upper-layer service. Classifiers are identified with a classifier identifier. + +### **I.3.5 MAC\_DELETE\_SERVICE\_FLOW.request** + +Issued by the upper-layer service to the MAC to request the deletion of a service flow and all QoS parameters including all associated classifiers and PHS rules. This function invokes DSD signalling. + +#### **Parameters** + +- ServiceFlowID(s) – Unique identifier value(s) for the deleted service flow(s). + +### **I.3.6 MAC\_DELETE\_SERVICE\_FLOW.response** + +Issued by the MAC service to the upper-layer service to indicate the success or failure of the request to delete a service flow. + +#### **Parameters** + +- ResponseCode – Success or failure code. + +### **I.3.7 MAC\_DELETE\_SERVICE\_FLOW.indicate** + +Issued by the MAC service to notify the upper-layer service of deletion of a service flow within the MAC service. + +### Parameters + +- ServiceFlowID(s) – Unique identifier value(s) for the deleted service flow(s). + +### I.3.8 MAC\_CHANGE\_SERVICE\_FLOW.request + +Issued by the upper-layer service to the MAC to request modifications to a specific created and acquired service flow. This function is able to define both the complete set of classifiers and incremental changes to classifiers (add/remove). This function defines the complete set of admitted and active QoS parameters for a service flow. This function invokes DSC MAC-layer signalling. + +### Parameters + +- ServiceFlowID – Unique identifier value for the specific service flow being modified. +- Zero or more packet classification rules with add/remove semantics and LLC, IP and 802.1PQ parameters. +- Admitted QoS parameters – Zero or more upstream, downstream and common traffic parameters for the service flow. +- Activated QoS parameters – Zero or more upstream, downstream and common traffic parameters for the service flow. +- Service flow payload header suppression rules – Zero or more PHS rules for each service flow that is controlled by the upper-layer service. + +### I.3.9 MAC\_CHANGE\_SERVICE\_FLOW.response + +Issued by the MAC service to the upper-layer service to indicate the success or failure of the request to change a service flow. + +### Parameters + +- ServiceFlowID – Unique identifier value for the specific service flow being released. +- ResponseCode – Success or failure code. + +### I.3.10 MAC\_CHANGE\_SERVICE\_FLOW.indicate + +Issued by the DOSCIS MAC service to notify upper-layer service of a request to change a service flow. In this Recommendation, the notification is advisory only and no confirmation is required before the service flow is changed. Change-service-flow indications are generated based upon DSC signalling. DSC signalling can be originated based upon change-service-flow events between the peer upper-layer service and its MAC service, or based upon network resource failures such as a resizing of the total available bandwidth at the PHY layer. How the upper-layer service reacts to forced reductions in admitted or reserved QoS traffic parameters is not specified. + +### Parameters + +- ServiceFlowID – Unique identifier for the service flow being activated. +- Packet classification rules with LLC, IP and 802.1PQ parameters, and with zero or more PHS\_CLASSIFIER\_IDENTIFIERS. +- Admitted QoS parameters – Zero or more upstream, downstream and common traffic parameters for the service flow. +- Activated QoS parameters – Zero or more upstream, downstream and common traffic parameters for the service flow. +- Service flow payload header suppression rules – Zero or more PHS rules for each service flow that is controlled by the upper-layer service. + +## I.4 MAC service usage scenarios + +Upper-layer entities utilize the services provided by the MAC in order to control service flows and in order to send and receive data packets. The partition of function between the upper-layer service and the MAC service is demonstrated by the following scenarios. + +### I.4.1 Transmission of PDUs from upper-layer service to MAC DATA service + +- Upper-layer service transmits PDUs via the MAC\_DATA service. +- MAC\_DATA service classifies transmitted PDUs using the classification table, and transmits the PDUs on the appropriate service flow. The classification function may also cause the packet header to be suppressed according to a header suppression template stored with the classification rule. It is possible for the upper-layer service to circumvent this classification function. +- MAC\_DATA service enforces all service flow-based QoS traffic shaping parameters. +- MAC\_DATA service transmits PDUs on DOCS RF as scheduled by the MAC layer. + +### I.4.2 Reception of PDUs to upper-layer service from MAC DATA service + +PDUs are received from the DOCS RF. + +If a PDU is sent with a suppressed header, the header is regenerated before the packet is subjected to further processing. + +In the CMTS, the MAC\_DATA service classifies the PDU's ingress from the RF using the classification table and then polices the QoS traffic shaping and validates addressing as performed by the CM. In the CM, no per-packet service flow classification is required for traffic ingress from the RF. + +Upper-layer service receives PDUs from the MAC\_DATA.indicate service. + +### I.4.3 Sample sequence of MAC control and MAC data services + +A possible CM-oriented sequence of MAC service functions for creating, acquiring, modifying and then using a specific service flow is as follows: + +- MAC\_REGISTER\_RESPONSE.indicate +Learn of any provisioned service flows and their provisioned QoS traffic parameters. +- MAC\_CREATE\_SERVICE\_FLOW.request/response +Create new service flow. This service interface is utilized if the service flow was learned as not provisioned by the MAC\_REGISTER\_RESPONSE service interface. Creation of a service flow invokes DSA signalling. +- MAC\_CHANGE\_SERVICE\_FLOW.request/response +Define admitted and activated QoS parameter sets, classifiers and packet suppression headers. Change of a service flow invokes DSC signalling. +- MAC\_DATA.request +Send PDUs to MAC service for classification and transmission. +- MAC\_DATA.indication +Receive PDUs from MAC service. +- MAC\_DELETE\_SERVICE\_FLOW.request/response +Delete service flow. Would likely be invoked only for dynamically-created service flows, not provisioned service flows. Deletion of a service flow uses DSD signalling. + +## Appendix II + +### Example preamble sequence + +(This appendix does not form an integral part of this Recommendation) + +#### II.1 Introduction + +A programmable preamble superstring, up to 1536 bits long, is part of the channel-wide profile or attributes, common to the all-burst profiles on the channel (see Table 8-18), but with each burst profile able to specify the start location within this sequence of bits and the length of the preamble (see Table 8-19). The first bit of the preamble pattern is designated by the preamble value offset as described in Table 8-19. The first bit of the preamble pattern is the first bit into the symbol mapper (Figure 6-2, "TDMA upstream transmission processing" and Figure 6-3, "S-CDMA upstream transmission processing"), and is the first symbol of the burst (see clause 6.2.13, "symbol mapping"). As an example, per Table 8-19, for preamble offset value = 100, the 101st bit of the preamble superstring is the first bit into the symbol mapper, and the 102nd bit is the second bit into the mapper, and is mapped to Q1, and so. An example 1536-bit-long preamble superstring is given in clause II.2. + +#### II.2 Example preamble sequence + +The following is the example 1536-bit preamble sequence: + +##### Bits 1 through 128: + +1100 0011 1111 0000 0011 0011 1111 1100 0011 0011 0000 0011 1100 0000 0011 0000 +0000 1110 1101 0001 0001 1110 1110 0101 0010 0101 0010 0101 1110 1110 0010 1110 + +##### Bits 129 through 256: + +0010 1110 1110 0010 0010 1110 1110 1110 1110 1110 0010 0010 0010 1110 1110 0010 +1110 1110 1110 0010 1110 0010 1110 0010 0010 0010 0010 1110 0010 0010 1110 0010 + +##### Bits 257 through 384: + +0010 1010 0110 0110 0110 1110 1110 1110 0010 1110 0010 1110 0010 1110 0110 1010 +0010 1110 1110 1010 0110 1110 0110 0010 0110 1110 1010 1110 0010 1010 0110 0010 + +##### Bits 385 through 512: + +0010 1110 0110 1110 0010 1010 1010 0110 0010 1110 0110 0110 1110 0010 0010 0110 +0010 1110 0010 1010 0010 1110 0110 0010 0010 1010 0010 0110 0010 1010 0010 1010 + +##### Bits 513 through 640: + +0010 1110 0110 1110 0110 0110 1110 0010 0110 1010 0110 0010 1110 1110 1010 0010 +1110 1110 0010 1110 1110 1110 0010 1110 1110 0010 1110 0010 0010 1110 0010 0010 + +##### Bits 641 through 768: + +1110 1110 1110 0010 0010 0010 1110 0010 1110 1110 1110 1110 0010 0010 1110 0010 +1110 0010 0010 0010 1110 1110 0010 0010 0010 0010 1110 0010 0010 0010 0010 1110 + +##### Bits 769 through 896: + +0011 0000 1111 1100 0000 1100 1111 1111 0000 1100 1100 0000 1111 0000 0000 1100 +0000 0000 1111 1111 1111 0011 0011 0011 1100 0011 1100 1111 1100 1111 0011 0000 + +##### Bits 897 through 1024: + +1100 0011 1111 0000 0011 0011 1111 1100 0011 0011 0000 0011 1100 0000 0011 0000 +0000 1110 1101 0001 0001 1110 1110 0101 0010 0101 0010 0101 1110 1110 0010 1110 + +##### Bits 1025 through 1152: + +0010 1110 1110 0010 0010 1110 1110 1110 1110 1110 0010 0010 0010 1110 1110 0010 +1110 1110 1110 0010 1110 0010 1110 0010 0010 0010 0010 1110 0010 0010 1110 0010 + +##### Bits 1153 through 1280: + +0010 0010 1110 1110 1110 1110 1110 1110 0010 1110 0010 1110 0010 1110 1110 0010 +0010 1110 1110 0010 1110 1110 1110 0010 1110 1110 0010 1110 0010 0010 1110 0010 + +**Bits 1281 through 1408:** + +1100 1100 1111 0000 1111 1111 1100 0000 1111 0011 1111 0011 0011 0000 0000 1100 +0011 0000 0011 1111 1111 1100 1100 1100 1111 0000 1111 0011 1111 0011 1100 1100 + +**Bits 1409 through 1536:** + +0011 0000 1111 1100 0000 1100 1111 1111 0000 1100 1100 0000 1111 0000 0000 1100 +0000 0000 1111 1111 1111 0011 0011 0011 1100 0011 1100 1111 1100 1111 0011 0000 + +## Appendix III + +### Multiple upstream channels + +(This appendix does not form an integral part of this Recommendation) + +This appendix is informative. In case of conflict between this appendix and any normative part of this Recommendation, the normative part takes precedence. + +Clause 7.2, "MPEG packet format", describes support for multiple upstream and multiple downstream channels within a DOCS domain. The permutations that a CM may see on the cable segment it is attached to include: + +- single downstream and single upstream per cable segment; +- single downstream and multiple upstreams per cable segment; +- multiple downstreams and single upstream per cable segment; +- multiple downstreams and multiple upstreams per cable segment. + +A typical application that will require one upstream and one downstream per CM is web browsing. Web browsing tends to have asymmetrical bandwidth requirements that match closely to the asymmetrical bandwidth of DOCS. + +A typical application that will require access to one of multiple upstreams per CM is IP telephony. IP telephony tends to have symmetrical bandwidth requirements. If there is a large concentration of CMs in a geographical area all served by the same fibre node, more than one upstream may be required in order to provide sufficient bandwidth and prevent call blocking. + +A typical application that will require access to one of multiple downstreams per CM is IP streaming video. IP streaming video tends to have extremely large downstream bandwidth requirements. If there is a large concentration of CMs in a geographical area, all served by the same fibre node, more than one downstream may be required in order to provide sufficient bandwidth and to deliver multiple IP video streams to multiple CMs. + +A typical application that will require multiple downstreams and multiple upstreams is when the above applications are combined, and it is more economical to have multiple channels than it is to physically subdivide the HFC network. + +The role of the CM in these scenarios would be to be able to move between multiple upstreams and between multiple downstreams. The role of the CMTS would be to manage the traffic load to all attached CMs, and balance the traffic between the multiple upstreams and downstreams by dynamically moving the CMs based upon their resource needs and the resources available. + +This appendix looks at the implementation considerations for these cases. Specifically, the first and last application are profiled. These examples are meant to illustrate one topology and one implementation of that topology. + +#### III.1 Single downstream and single upstream per cable segment + +This clause presents an example of a single downstream channel and four upstream channels. In Figure III.1, the four upstream channels are on separate fibres serving four geographical communities of modems. The CMTS has access to the one downstream and all four upstreams, while each CM has access to the one downstream and only one upstream. + +![Diagram of a single downstream and single upstream channels per CM topology. On the left, a CMTS is connected to a 'Downstream laser and upstream receiver'. The downstream path (f_D0) is a shared fibre that branches to four 'Fibre nodes'. Each fibre node has a downstream laser and an upstream receiver. The upstream paths (f_U0, f_U1, f_U2, f_U3) are individual fibres from each fibre node's upstream receiver back to the CMTS. Each fibre node is connected to a 'CM' (Cable Modem) via a coaxial cable. The diagram is labeled with 'Coax', 'Fibre', and 'Coax' at the bottom, and 'J.122_FIII-1' in the bottom right corner.](1130851355a5fcae4ddb250196fe9092_img.jpg) + +Diagram of a single downstream and single upstream channels per CM topology. On the left, a CMTS is connected to a 'Downstream laser and upstream receiver'. The downstream path (f\_D0) is a shared fibre that branches to four 'Fibre nodes'. Each fibre node has a downstream laser and an upstream receiver. The upstream paths (f\_U0, f\_U1, f\_U2, f\_U3) are individual fibres from each fibre node's upstream receiver back to the CMTS. Each fibre node is connected to a 'CM' (Cable Modem) via a coaxial cable. The diagram is labeled with 'Coax', 'Fibre', and 'Coax' at the bottom, and 'J.122\_FIII-1' in the bottom right corner. + +**Figure III.1 – Single downstream and single upstream channels per CM** + +In this topology, the CMTS transmits upstream channel descriptors (UCDs) and MAPs for each of the four upstream channels related to the shared downstream channel. + +Unfortunately, each CM cannot determine which fibre branch it is attached to because there is no way to convey the geographical information on the shared downstream channel. At initialization, the CM randomly picks a UCD and its corresponding MAP. The CM then chooses an initial maintenance opportunity on that channel and transmits a ranging request. + +The CMTS will receive the ranging request and will redirect the CM to the appropriate upstream channel identifier by specifying the upstream channel ID in the ranging response. The CM MUST then use the channel ID of the ranging response, not the channel ID on which the ranging request was initiated. This is necessary only on the first ranging response received by the CM. The CM SHOULD continue the ranging process normally and proceed to wait for station maintenance IEs. + +From then on, the CM will be using the MAP that is appropriate to the fibre branch to which it is connected. If the CM ever has to redo initial ranging, it may start with its previous known UCD instead of choosing one at random. + +A number of constraints are imposed by this topology: + +- All initial maintenance opportunities across all fibre nodes must be aligned. If there are multiple logical upstreams sharing the same spectrum on a fibre, then the initial maintenance opportunities for each of the logical upstreams MUST align with the initial maintenance opportunity of at least one logical upstream with the same centre frequency on each fibre node. When the CM chooses a UCD to use and then subsequently uses the MAP for that channel, the CMTS must be prepared to receive a ranging request at that initial maintenance opportunity. Note that only the initialization intervals must be aligned. Once the CM is successfully ranged on an upstream channel, its activities need only be aligned + +with other users on the same upstream channel. In Figure III.1, ordinary data transmission and requests for bandwidth may occur independently across the four upstream channels. + +- All of the upstream channels on different nodes should operate at the same frequency or frequencies unless it is known that no other upstream service will be impacted due to a CM transmission of a ranging request on a "wrong" frequency during an initial maintenance opportunity. If the CM chooses an upstream channel descriptor arbitrarily, it could transmit on the wrong frequency if the selected UCD applied to an upstream channel on a different fibre node. This could cause initial ranging to take longer. However, this might be an acceptable system trade-off in order to keep spectrum management independent between cable segments. +- All of the upstream channels may operate at different modulation rates. However, there is a trade-off involved between the time it takes to acquire ranging parameters and flexibility of upstream channel modulation rate. If upstream modulation rates are not the same, the CMTS would be unable to demodulate the ranging request if it was transmitted at the wrong modulation rate for the particular upstream receiver of the channel. The result would be that the CM would retry as specified in the RFI Recommendation and then would eventually try other upstream channels associated with the currently used downstream. Increasing the probability of attempting ranging on multiple channels increases CM initialization time but using different modulation rates on different fibre nodes allows flexibility in setting the degree of burst noise mitigation. +- All initial maintenance opportunities on different channels may use different burst characteristics so that the CMTS can demodulate the ranging request. Again, this is a trade-off between time to acquire ranging and exercising flexibility in setting physical-layer parameters among different upstream channels. If upstream burst parameters for initial maintenance are not the same, the CMTS would be unable to demodulate the ranging request if it was transmitted with the wrong burst parameters for the particular channel. The result would be that the CM would retry the ranging request as specified in the RFI Recommendation and then would eventually try other upstream channels associated with the currently used downstream. Increasing the probability of attempting ranging on multiple channels increases CM initialization time but using different burst parameters for initial maintenance on different fibre nodes allows the ability to set parameters appropriate for plant conditions on a specific node. + +## III.2 Multiple downstreams and multiple upstreams per cable segment + +This clause presents a more complex set of examples of CMs that are served by several downstream channels and several upstream channels and where those upstream and downstream channels are part of one MAC domain. The interaction of initial ranging, normal operation and dynamic channel change are profiled, as well as the impact of the multiple downstreams using synchronized or unsynchronized timestamps. + +Synchronized timestamps refer to both downstream paths transmitting a time stamp that is derived from a common clock frequency and have common time bases. The timestamps on each downstream do not have to be transmitted at the same time in order to be considered synchronized. + +### III.2.1 Topologies + +Suppose two downstream channels are used in conjunction with four upstream channels as shown in Figure III.2. In all three topologies, there are two geographical communities of modems, both served by the same two downstream channels. The difference in the topologies is found in their upstream connectivity. + +![Three diagrams showing different network topologies (Topology #1, #2, and #3) for multiple downstream and upstream channels per CM. Each diagram shows a CMTS on the left, fibre nodes in the middle, and CMs on the right, connected by coax and fibre cables. Topology #1 shows dedicated upstream paths. Topology #2 shows a shared upstream path. Topology #3 shows a different shared upstream path configuration.](7215f3487199c803ab7df25c889fbbaf_img.jpg) + +The diagram illustrates three network topologies (Topology #1, #2, and #3) for multiple downstream and multiple upstream channels per CM. The components are arranged horizontally: CMTS (Coax), Downstream laser and upstream receiver (Fibre), Fibre nodes (Fibre), and CM (Coax). + +- Topology #1:** The CMTS has six ports. Downstream channels $f_{D0}$ and $f_{D1}$ are connected to the first two downstream lasers. Upstream channels $f_{U0}$ , $f_{U1}$ , $f_{U2}$ , and $f_{U3}$ are connected to the first four upstream receivers. Each fibre node contains two upstream receivers and two downstream lasers. One fibre node is connected to $f_{D0}$ and $f_{U0}$ , and the other to $f_{D1}$ and $f_{U1}$ . Each fibre node is connected to a CM. +- Topology #2:** Similar to Topology #1, but the upstream channels $f_{U0}$ and $f_{U1}$ are combined into a single upstream receiver in the CMTS. The fibre nodes remain the same. +- Topology #3:** Similar to Topology #1, but the upstream channels $f_{U2}$ and $f_{U3}$ are combined into a single upstream receiver in the CMTS. The fibre nodes remain the same. + +Labels at the bottom indicate the cable types: Coax, Fibre, and Coax. A reference code J.122\_FIII-2 is present in the bottom right. + +Three diagrams showing different network topologies (Topology #1, #2, and #3) for multiple downstream and upstream channels per CM. Each diagram shows a CMTS on the left, fibre nodes in the middle, and CMs on the right, connected by coax and fibre cables. Topology #1 shows dedicated upstream paths. Topology #2 shows a shared upstream path. Topology #3 shows a different shared upstream path configuration. + +**Figure III.2 – Multiple downstream and multiple upstream channels per CM** + +Topology No. 1 has the return path from each fibre node connected to a dedicated set of upstream receivers. A CM will see both downstream channels, but only one upstream channel that is associated with one of the two downstream channels. + +Topology No. 2 has the return path from each fibre node combined and then split across all upstream receivers. A CM will see both downstream channels and all four upstream channels in use with both downstream channels. + +Topology No. 3 has the return path from each fibre node split and then sent to multiple upstream receivers, each associated with a different downstream channel. A CM will see both downstream channels, and one upstream channel associated with each of the two downstream channels. + +Topology No. 1 is the typical topology in use. Movement between downstreams can only occur if the timestamps on both downstreams are synchronized. Topology No. 2 and Topology No. 3 are to compensate for downstreams that have unsynchronized timestamps, and allow movement between downstream channels as long as the upstream channels are changed at the same time. + +The CMs are capable of single frequency receive and single frequency transmit. + +### III.2.2 Normal operation + +Table III.1 lists MAC messages that contain channel IDs. + +**Table III.1 – MAC messages with channel IDs** + +| MAC message | Downstream channel ID | Upstream channel ID | +|-------------|-----------------------|---------------------| +| UCD | Yes | Yes | +| MAP | No | Yes | +| RNG-REQ | Yes | No | +| RNG-RSP | No | Yes | +| DCC-REQ | Yes | Yes | + +With unsynchronized timestamps: + +- Since upstream synchronization relies on downstream timestamps, each upstream channel must be associated with the time stamp of one of the downstream channels. +- The downstream channels should only transmit MAP messages and UCD messages that pertain to their associated upstream channels. + +With synchronized timestamps: + +- Since upstream synchronization can be obtained from either downstream channel, all upstreams can be associated with any downstream channel. +- All MAPs and UCDs for all upstream channels should be sent on all downstream channels. The UCD messages contains a downstream channel ID so that the CMTS can determine with the RNG-REQ message which downstream channel the CM is on. Thus the UCD messages on each downstream will contain different downstream channel IDs even though they might contain the same upstream channel ID. + +### III.2.3 Initial ranging + +When a CM performs initial ranging, the topology is unknown and the timestamp consistency between downstreams is unknown. Therefore, the CM chooses either downstream channel and any one of the UCDs sent on that downstream channel. + +In both cases: + +- The upstream channel frequencies within a physical upstream or combined physical upstreams must be different. +- The constraints specified in clause III.1 apply. + +### **III.2.4 Dynamic channel change** + +With unsynchronized timestamps: + +- When a DCC-REQ is given, it must contain new upstream and new downstream frequency pairs that are both associated with the same timestamp. +- When the CM resynchronizes to the new downstream, it must allow for timestamp resynchronization without re-ranging unless instructed to do so with the DCC-REQ command. +- Topology No. 1 will support channel changes between local upstream channels present within a cable segment, but will not support changes between downstream channels. Topology No. 2 and No. 3 will support upstream and downstream channel changes on all channels within the fibre node as long as the new upstream and downstream channel pair are associated with the same timestamp. + +With synchronized timestamps: + +- Downstream channel changes and upstream channel changes are independent of each other. + +Topologies No. 1, No. 2, and No. 3 will support changes between all upstream and all downstream channels present within the cable segment. + +## Appendix IV + +### DOCS transmission and contention resolution + +(This appendix does not form an integral part of this Recommendation) + +#### IV.1 Introduction + +This appendix clarifies how the DOCS transmission and contention-resolution algorithms work. It contains a few minor simplifications and assumptions, but should be useful to help clarify this area of the Recommendation. + +The simplifications include: + +- The text does not explicitly discuss packet arrivals while deferring or waiting for pending grants, nor the sizing of piggyback requests. +- The CM always sends a piggyback request for the next frame in the last fragment and not inside one of the headers of the original frame. +- Much of this applies to concatenation, but no attempt is made to address all the subtleties of that situation. + +The assumptions include, among others: + +- The assumption is made that a request always fits in any request/data region. +- When a piggyback request is sent with a contention data packet, the state machine only checks for the grant to the request and assumes the data ack for the contention data packet was supplied by the CMTS. + +![Transmission and deference state transition diagram showing four states: Idle, Deferring, Data ack pending, and Grant pending. Transitions are triggered by various conditions like queue status, retries, or specific data types (reserved, fragmented, or requested).](cf6b2e5b134aeadae43f0ba8d04dea2f_img.jpg) + +``` + +stateDiagram-v2 + [*] --> Idle + Idle --> Idle : !Queue_Empty + Idle --> Deferring : Tx resv. data w/o piggyback + Idle --> Data ack pending : Data ack'ed OR too many retries OR map lost + Idle --> Grant pending : Tx resv. data w/o piggyback OR too many retries OR (TX frag w/o piggyback && Last) + Deferring --> Idle : Map: defer + Deferring --> Data ack pending : Tx cont. data w/o piggyback + Deferring --> Grant pending : TX Frag w/piggyback OR (TX frag w/o piggyback && !Last) OR Tx request OR Tx resv./cont. data W/piggyback OR grant pending + Data ack pending --> Idle : Data ack'ed OR too many retries OR map lost + Data ack pending --> Deferring : Retry + Grant pending --> Idle : Tx resv. data w/o piggyback OR too many retries OR (TX frag w/o piggyback && Last) + Grant pending --> Deferring : Retry + Grant pending --> Data ack pending : Tx resv. request + Grant pending --> [*] : Tx resv. data w/piggyback + Grant pending --> [*] : Grant pending + +``` + +Transmission and deference state transition diagram showing four states: Idle, Deferring, Data ack pending, and Grant pending. Transitions are triggered by various conditions like queue status, retries, or specific data types (reserved, fragmented, or requested). + +**Figure IV.1 – Transmission and deference state transition diagram** + +#### IV.2 Variable definitions + +| | | +|-------------|---------------------------------------------------------------------| +| Start | Data backoff start field from map "currently in effect" | +| End | Data backoff end field from map "currently in effect" | +| Window | Current backoff window | +| Random[n] | Random number generator that selects a number between 0 and $n - 1$ | +| Defer | Number of transmit opportunities to defer before transmitting | +| Retries | Number of transmissions attempted without resolution | +| Tx_time | Saved time of when request or request/data was transmitted | +| Ack_time | Ack time field from current map | +| Piggyback | Flag set whenever a piggyback REQ is added to a transmit packet | +| Queue_Empty | Flag set whenever the data queue for this SID is empty | +| Lost_Map | Flag set whenever a MAP is lost while in state data ack pending | +| my_SID | Service ID of the queue that has a packet to transmit | + +pkt size        Data packet size including MAC and physical-layer overhead (including piggyback if used) + +frag\_size      Size of the fragment + +Tx\_Mode       {Full\_Pkt; First\_Frag; Middle\_Frag; Last\_Frag} + +min\_frag      Size of the minimum fragment + +### IV.3 State examples + +#### IV.3.1 Idle – Waiting for a packet to transmit + +``` +Window = 0; +Retries = 0; + +Wait for !Queue_Empty; /* Packet available to transmit */ +CalcDefer(); +go to Deferring +``` + +#### IV.3.2 Data ack pending – Waiting for data ack only + +``` +Wait for next Map; + +if (Data Acknowledge SID == my_SID)    /* Success! CMDS received data packet */ + go to state Idle; +else if (Ack_time > Tx_time)            /* COLLISION!!! or Pkt Lost or Map Lost */ +{ + if (Lost_Map) + go to state Idle; /* Assume pkt was ack'ed to avoid sending +duplicates */ + else + Retry(); +} + +stay in state Data Ack Pending; +``` + +#### IV.3.3 Grant pending – Waiting for a grant + +``` +Wait for next Map; + +while (Grant SID == my_SID) + UtilizeGrant(); + +if (Ack_time > Tx_time)    /* COLLISION!!!! or Request denied/lost or Map Lost */ + Retry(); +stay in state Grant Pending +``` + +#### IV.3.4 Deferring – Determine proper transmission timing and transmit + +``` +if (Grant SID == my_SID)                    /* Unsolicited Grant */ +{ + UtilizeGrant(); +} +else if (unicast Request SID == my_SID)    /* Unsolicited Unicast Request */ +{ + transmit Request in reservation; + Tx_time = time; + + go to state Grant Pending; +} +else +{ + for (each Request or Request/Data Transmit Opportunity) + { +``` + +``` + + if (Defer != 0) + Defer = Defer - 1; /* Keep deferring until Defer = 0 */ + else + { + if (Request/Data tx_op) and (Request/Data size >= pkt size) + /* Send data in contention */ + { + transmit data pkt in contention; + Tx_time = time; + + if (Piggyback) + go to state Grant Pending; + else + go to state Data Ack Pending; + } + else /* Send Request in contention */ + { + transmit Request in contention; + Tx_time = time; + + go to state Grant Pending; + } + } + } +} + +``` + +Wait for next Map; +STAY IN STATE DEFERRING + +## IV.4 Function examples + +### IV.4.1 CalcDefer() – Determine defer amount + +``` + +if (Window < Start) + Window = Start; + +if (Window > End) + Window = End; + +Defer = Random[2^Window]; + +``` + +### IV.4.2 UtilizeGrant() – Determine best use of a grant + +``` + +if (Grant size >= pkt size) /* CM can send full pkt */ +{ + transmit packet in reservation; + Tx_time = time; + Tx_mode = Full_pkt; + + if (Piggyback) + go to state Grant Pending; + else + go to state Idle; +} +else if (Grant size < min_frag && Grant Size > Request size) + /* Can't send fragment, but can send a Request */ +{ + transmit Request in reservation; + Tx_time = time; + go to state Grant Pending; +} +else if (Grant size == 0) /* Grant Pending */ + go to state Grant Pending; +else +{ + +``` + +``` + +while (pkt_size > 0 && Grant SID == my_SID) +{ + if (Tx_mode == Full_Pkt) + Tx_mode = First_frag; + else + Tx_mode = Middle_frag; + + pkt_size = pkt_size - frag_size; + if (pkt_size == 0) + Tx_mode = Last_frag; + + if (another Grant SID == my_SID) /* multiple grant mode */ + piggyback_size = 0 + else + piggyback_size = pkt_size /* piggyback mode */ + + if (piggyback_size > 0) + transmit fragment with piggyback request for remainder of packet +in reservation + else + transmit fragment in reservation; +} +go to state Grant Pending; +} + +``` + +#### IV.4.3 Retry() + +``` + +Retries = Retries + 1; +if (Retries > 16) +{ + discard pkt, indicate exception condition + go to state Idle; +} + +Window = Window + 1; + +CalcDefer(); + +go to state Deferring; + +``` + +## Appendix V + +### IGMP example + +(This appendix does not form an integral part of this Recommendation) + +Clause 5.3.1 defines the requirements for CMTS and CM support of IGMP signalling. This appendix provides an example CM passive-mode state machine for maintaining membership of a single multicast group. + +![State machine diagram for IGMP support - CM passive mode. The diagram shows three states: Idle (no members), Joining, and Joined. Transitions are labeled with events and actions (E/A).](dae67d96f5906c2a1ab09497840f2df8_img.jpg) + +``` +stateDiagram-v2 + [*] --> Idle + Idle --> Joining : E1/A1 + Joining --> Idle : E6/A7 + Joining --> Joined : E4/A6 + Joined --> Idle : E5/A7 + Joined --> Joining : E2/A4 + Joined --> Idle : E6/A7 + Joined --> Joining : E1/A3 + Joined --> Idle : E3/A5 + Joining --> Joining : E1/A2 +``` + +The diagram illustrates a state machine with three states: Idle (no members), Joining, and Joined. Transitions are labeled with events and actions (E/A). The Idle state is the initial state. Transitions from Idle to Joining are triggered by E1/A1. Transitions from Joining to Idle are triggered by E6/A7. Transitions from Joining to Joined are triggered by E4/A6. Transitions from Joined to Idle are triggered by E5/A7, E6/A7, and E3/A5. Transitions from Joined to Joining are triggered by E2/A4 and E1/A3. There is a self-loop transition on the Joining state triggered by E1/A2. + +State machine diagram for IGMP support - CM passive mode. The diagram shows three states: Idle (no members), Joining, and Joined. Transitions are labeled with events and actions (E/A). + +Figure V.1 – IGMP support – CM passive mode + +#### V.1 Events + +E1: MR received on CPE I/f + +E2: M1 timer expired + +E3: MQ received on RF I/f + +E4: MR received on RF I/f + +E5: M2 timer expired + +E6: Auth failure31 + +31 SA-MAP response returns an error code of 7, "not authorized for requested downstream traffic flow". + +## V.2 Actions + +- A1: MQI = 125 s; QRI = 10 s; start M1 timer with random value between 0 and 3 s; start M2 timer = $2 \times \text{MQI} + \text{QRI}$ ; start TEK machine, if necessary32; add multicast addr to multicast filter +- A2: Discard MR packet +- A3: Reset M2 timer = $2 \times \text{MQI} + \text{QRI}$ ; start M1 timer with random value between 0 and 3 s +- A4: Transmit MR on RF I/f; set I = current time +- A5: Recompute MQI = $\text{MAX}(125, \text{current time} - I)$ ; set I = current time, forward MQ on CPE I/f +- A6: Cancel M1 timer +- A7: Delete multicast addr from multicast filter + +--- + +32 If the multicast traffic is encrypted, a TEK machine needs to be started to decrypt the encrypted multicast packets. To determine whether the multicast is encrypted, the CM makes a SA-MAP request to the CMTS to get the associated SAID of the multicast group address. If the SA-MAP response returns an SAID, then a TEK machine is started. No TEK machine is necessary if the SA-MAP response indicates that the multicast traffic is not encrypted. The SA-MAP response may also indicate that the CM is not authorized to receive this multicast traffic. In such a case, the CM terminates the multicast state machine and stops forwarding the multicast traffic. + +## Appendix VI + +### Unsolicited grant services + +(This appendix does not form an integral part of this Recommendation) + +This appendix discusses the intended use of the unsolicited grant service (UGS) and unsolicited grant service with activity detection (UGS-AD) and includes specific examples. + +#### VI.1 Unsolicited grant service (UGS) + +##### VI.1.1 Introduction + +Unsolicited grant service is an upstream flow scheduling service type that is used for mapping constant bit rate (CBR) traffic onto service flows. Since the upstream is scheduled bandwidth, a CBR service can be established by the CMTS scheduling a steady stream of grants. These are referred to as unsolicited because the bandwidth is predetermined, and there are no ongoing requests being made. + +The classic example of a CBR application of interest is voice over Internet Protocol (VoIP) packets. Other applications are likely to exist as well. + +Upstream flow scheduling services are associated with service flows, each of which is associated with a single service ID (SID). Each service flow may have multiple classifiers. Each classifier may be associated with a unique CBR media stream. Classifiers may be added and removed from a service flow. Thus, the semantics of UGS must accommodate single or multiple CBR media streams per SID. + +For the discussion within this appendix, a subflow will be defined as the output of a classifier. Since a VoIP session is identified with a classifier, a subflow in this context refers to a VoIP session. + +##### VI.1.2 Configuration parameters + +- Nominal grant interval. +- Unsolicited grant size. +- Tolerated grant jitter. +- Grants per interval. + +Explanations of these parameters and their default values are provided in Annex C. + +##### VI.1.3 Operation + +When a service flow is provisioned for UGS, the nominal grant interval is chosen to equal the packet interval of the CBR application. For example, VoIP applications with 10-ms packet sizes will require a nominal grant interval of 10 ms. The size of the grant is chosen to satisfy the bandwidth requirements of the CBR application and relates directly to the length of the packet. + +When multiple subflows are assigned to a UGS service, multiple grants per interval are issued. There is no explicit mapping of subflows to grants. The multiple grants per interval form a pool of grants in which any subflow can use any grant. + +It is assumed in this operational example the default UGS case of no concatenation and no fragmentation. + +##### VI.1.4 Jitter + +Figure VI.1 shows the relationship between grant interval and tolerated grant jitter, and shows an example of jitter on subflows. + +![Figure VI.1: Example jitter with multiple grants per SID. The diagram shows three consecutive nominal grant intervals. Each interval has a 'Max tolerated jitter' window. Grants are represented by black bars. In the first interval, grants 1, 2, and 3 are shown. In the second interval, grants 1 and 2 are shown, with grant 1 occurring at t_i' and grant 2 at t_i + jitter. In the third interval, grants 4, 1, and 2 are shown. The time axis is marked with t_0, t_i, t_i', and t_i + jitter. The label J.122_FVI-1 is in the bottom right corner.](67f1290c75b9e4a4a36af1afacbb7932_img.jpg) + +Figure VI.1: Example jitter with multiple grants per SID. The diagram shows three consecutive nominal grant intervals. Each interval has a 'Max tolerated jitter' window. Grants are represented by black bars. In the first interval, grants 1, 2, and 3 are shown. In the second interval, grants 1 and 2 are shown, with grant 1 occurring at t\_i' and grant 2 at t\_i + jitter. In the third interval, grants 4, 1, and 2 are shown. The time axis is marked with t\_0, t\_i, t\_i', and t\_i + jitter. The label J.122\_FVI-1 is in the bottom right corner. + +**Figure VI.1 – Example jitter with multiple grants per SID** + +For only one grant per interval, the tolerated grant jitter is the maximum difference between the actual grant time ( $t_i'$ ) and the nominal grant time ( $t_i$ ). For multiple grants per interval, the tolerated grant jitter is the maximum difference between the actual time of the last grant in the group of grants and the nominal grant time ( $t_i$ ). If the arrival of any grant is at $t_i'$ , then $t_i \leq t_i' \leq t_i + \text{jitter}$ . + +Figure VI.1 demonstrates how a subflow will be jittered even though the individual grants may not move from their relative position. During the first interval, three VoIP sessions are established, and they happen to fall on the three grants. In the second interval, VoIP session 3 has been torn down. Since the CMTS does not know which subflow is associated with which grant, it decides to remove the first grant. The remaining two calls shift to the other two grants. In the third interval, a new VoIP session 4 and a new grant have been added. The new call happens to fall on the new grant. The net effect is that the subflows may move around within their jitter interval. + +The advantage of a small jitter interval is that the VoIP receive jitter buffer may be kept small. The disadvantage is that this places a scheduling constraint on the CMTS. + +The boundary of a nominal grant interval is arbitrary and is not communicated between the CMTS and the CM. + +NOTE – More dramatic events, like the loss of a downstream MAP or the frequency hopping of an upstream, may cause subflows to jitter outside of this jitter window. + +### VI.1.5 Synchronization issues + +There are two synchronization problems that occur when carrying CBR traffic such as VoIP sessions across a network. The first is a frequency mismatch between the source clock and the destination clock. This is managed by the VoIP application, and is beyond the scope of this Recommendation. The second is the frequency mismatch between the CBR source/sinks, and the bearer channel that carries them. + +Specifically, if the clock that generates the VoIP packets towards the upstream is not synchronized with the clock at the CMTS that is providing the UGS service, the VoIP packets may begin to accumulate in the CM. This could also occur if a MAP was lost, causing packets to accumulate. + +When the CM detects this condition, it asserts the queue indicator in the service flow EH element. The CMTS will respond by issuing an occasional extra grant so as to not exceed 1% of the provisioned bandwidth (this corresponds to a maximum of one extra grant every one hundred grants). The CMTS will continue to supply this extra bandwidth until the CM deasserts this bit. + +A similar problem occurs in the downstream. The far-end transmitting source may not be frequency-synchronized to the clock that drives the CMTS. Thus, the CMTS SHOULD police at a rate slightly higher than the exact provisioned rate to allow for this mismatch and to prevent delay buildup or packet drops at the CMTS. + +## **VI.2 Unsolicited grant service with activity detection (UGS-AD)** + +### **VI.2.1 Introduction** + +Unsolicited grant service with activity detection (UGS-AD) is an upstream flow scheduling service type. This clause describes one application of UGS-AD, which is the support for voice activity detection (VAD). VAD is also known as silence suppression and is a voice technique in which the transmitting CODEC sends voice samples only when there is significant voice energy present. The receiving CODEC will compensate for the silence intervals by inserting silence or comfort noise equal to the perceived background noise of the conversation. + +The advantage of VAD is the reduction of network bandwidth required for a conversation. It is estimated that 60% of a voice conversation is silence. With that silence removed, that would allow a network to handle substantially more traffic. + +Subflows in this context will be described as active and inactive. Both of these states are within the MAC layer QOS state known as active. + +### **VI.2.2 MAC configuration parameters** + +The configuration parameters include all of the normal UGS parameters, plus: + +- nominal polling interval; +- tolerated poll jitter. + +Explanation of these parameters and their default values are provided in Annex C. + +### **VI.2.3 Operation** + +When there is no activity, the CMTS sends polled requests to the CM. When there is activity, the CMTS sends unsolicited grants to the CM. The CM indicates the number of grants per interval that it currently requires in the active grant field of the UGSH in each packet of each unsolicited grant. The CM may request up to the maximum active grants per interval. The CM constantly sends this state information so that no explicit acknowledgment is required from the CMTS. + +It is left to the implementation of the CM to determine activity levels. Implementation options include: + +- Having the MAC layer service provide an activity timer per classifier. The MAC layer service would mark a subflow inactive if packets stopped arriving for a certain time, and mark a subflow active the moment a new packet arrived. The number of grants requested would equal the number of active subflows. +- Having a higher layer service entity, such as an embedded media client, which indicates activity to the MAC layer service. + +When the CM is receiving polled requests and it detects activity, the CM requests enough bandwidth for one grant per interval. If activity is for more than one subflow, the CM will indicate this in the active grant field of the UGSH beginning with the first packet it sends. + +When the CM is receiving unsolicited grants, then detects new activity, and asks for one more grant, there will be a delay in time before it receives the new grant. During that delay, packets may build up at the CM. When the new unsolicited grant is added, the CMTS will burst extra grants to clear out the packet buildup. + +When the CM is receiving unsolicited grants, then detects inactivity on a subflow and asks for one less grant, there will be a delay in time before the reduction in grants occurs. If there has been any build up of packets in the upstream transmit queue, the extra grants will reduce or empty the queue. This is fine, and keeps system latency low. The relationship of which subflow is getting which specific grant will also change. This effect appears as low-frequency jitter that the far end must manage. + +When the CM is receiving unsolicited grants and detects no activity on any of its subflows, it will send one packet with the active grants field of the UGSH set to zero grants, and then cease transmission. The CMTS will switch from UGS mode to real time polling mode. When activity is again detected, the CM sends a request in one of these polls to resume delivery of unsolicited grants. The CMTS ignores the size of the request and resumes allocating grant size grants to the CM. + +It is not necessary for the CMTS to separately monitor packet activity since the CM does this already. In the worst case, if the CMTS misses the last packet that indicated zero grants, the CMTS and CM would be back in sync at the beginning of the next talk spurt. Because of this scenario, when the CM goes from inactive to active, the CM must be able to restart transmission with either polled requests or unsolicited grants. + +#### VI.2.4 Example + +![Figure VI.2 – VAD start-up and stop. A timeline diagram showing the sequence of events for a voice call. The horizontal axis represents time in milliseconds (ms) from 0 to 50. The vertical axis lists several components: Voice, G.711 CODEC, Tx queue, Polled requests, Unsolicited grants, Data on upstream, and Playout. The diagram illustrates the start-up phase where voice packets are generated, queued, and then granted for transmission. The Playout section shows the first packet being played out after a 20 ms jitter buffer is filled.](dfff128799eae85af7d5ba537f31d560_img.jpg) + +The diagram illustrates the VAD start-up and stop process over a 50 ms timeline. + +• **Voice:** A continuous bar from 0 ms to approximately 30 ms. + +• **G.711 CODEC:** Shows three packets generated at 0, 10, and 20 ms. The first packet (0-10 ms) is shaded. + +• **Tx queue:** Shows three packets entering the queue at 10, 20, and 30 ms. + +• **Polled requests:** A series of vertical lines representing polling intervals. The first poll is at approximately 15 ms. + +• **Unsolicited grants:** Grants are issued at 30, 35, 40, and 45 ms. + +• **Data on upstream:** Packets are shown arriving at the upstream at 30, 35, 40, and 45 ms. + +• **Playout:** The first packet (0-10 ms) is played out starting at 30 ms. The second packet (10-20 ms) is played out starting at 35 ms. The third packet (20-30 ms) is played out starting at 40 ms. The first packet is shaded in the playout section. + +A label 'J.122\_FVI-2' is present in the bottom right corner of the diagram area. + +Figure VI.2 – VAD start-up and stop. A timeline diagram showing the sequence of events for a voice call. The horizontal axis represents time in milliseconds (ms) from 0 to 50. The vertical axis lists several components: Voice, G.711 CODEC, Tx queue, Polled requests, Unsolicited grants, Data on upstream, and Playout. The diagram illustrates the start-up phase where voice packets are generated, queued, and then granted for transmission. The Playout section shows the first packet being played out after a 20 ms jitter buffer is filled. + +**Figure VI.2 – VAD start-up and stop** + +Figure VI.2 shows an example of a single G.711 (64 kbit/s) voice call with a packet size of 10 ms, and a receive jitter buffer that requires a minimum of 20 ms of voice (thus, 2 packets) before it will begin playout. + +Assume voice begins at time zero. After a nominal processing delay and a 10-ms packetization delay, the DSP CODEC generates voice packets that are then transferred to the upstream transmit queue. The next polled request is used, which results in the start of the unsolicited grants some time later. Additional unsolicited grants are immediately issued to clear out the upstream queue. + +These packets traverse the network and arrive at the receive jitter buffer. The 20-ms minimum jitter buffer is met when the second packet arrives. Because the packets arrive close together, only an additional few milliseconds of latency is been added. After a nominal processing delay, playout begins. + +When the voice spurt ends, the CM sends one remaining packet with no payload and with the active grants field of the UGSH set to zero grants. Some time later, UGS stops, and real-time polling begins. + +### VI.2.5 Talk spurt grant burst + +The extra burst of unsolicited grants when a flow becomes active is necessary because the jitter buffer at the receiving CODEC typically waits to have a minimum amount of voice samples before beginning the playout. Any delay between the arrival of these initial packets will add to the final latency of the phone call. Thus, the sooner the CMTS recognizes that the CM has packets to send and can empty the CM's buffer, the sooner those packets will reach the receiver, and the lower the latency that will be incurred in the phone call. + +It is an indeterminate problem as to how many grants must be burst. When the CM makes its request for an additional grant, one voice packet has already accumulated. The CM has no idea how many extra grants to request as it has no idea of the round-trip response time it will receive from the CMTS, and thus how many packets may accumulate. The CMTS has a better idea, although it does not know the far-end jitter buffer requirements. + +The solution is for the CMTS to choose the burst size, and burst these grants close together at the beginning of the talk spurt. This occurs when moving from real-time polling to UGS, and when increasing the number of UGS grants per interval. + +A typical start-up latency that will be introduced by the request to grant response time is shown in Table VI.1. + +**Table VI.1 – Example request to grant response time** + +| Variable | | Example value | +|----------|-----------------------------------------------------------------------------------------------------------------------|---------------| +| 1 | The time taken from the voice packet being created to the time that voice packet arrives in the CM upstream queue. | 0-1 ms | +| 2 | The time until a polled request is received. The worst case time is the polled request interval. | 0-5 ms | +| 3 | The request-grant response time of the CMTS. This value is affected by MAP length and the number of outstanding MAPS. | 5-15 ms | +| 4 | The round-trip delay of the HFC plant, including the downstream interleaving delay. | 1-5 ms | +| Total | | 6-26 ms | + +This number will vary between CMTS implementations, but a reasonable number of extra grants to expect from the example above would be: + +**Table VI.2 – Example extra grants for new talk spurts** + +| UGS interval | Extra grants for new talk spurts | +|--------------|----------------------------------| +| 10 ms | 2 | +| 20 ms | 1 | +| 30 ms | 0 | + +Once again, it is worth noting that the CMTS and CM cannot and do not associate individual subflows with individual grants. That means that when current subflows are active and a new subflow becomes active, the new subflow will immediately begin to use the existing pool of grants. This potentially reduces the start-up latency of new talk spurts, but increases the latency of the other subflows. When the burst of grants arrives, it is shared with all the subflows, and restores or even reduces the original latency. This is a jitter component. The more subflows that are active, the less impact that adding a new subflow has. + +### **VI.2.6 Admission considerations** + +Note that when configuring the CMTS admission control, the following factors must be taken into account. + +VAD allows the upstream to be over-provisioned. For example, an upstream that might normally handle 24 VoIP sessions might be over-provisioned by as much as 36 (50%) or even 48 (100%). Whenever there is over-provisioning, there exists the statistical possibility that all upstream VoIP sessions may become active. At that time, the CMTS may be unable to schedule all the VoIP traffic. Additionally, the talk spurt grant bursts would be stretched out. CM implementations of VAD should recognize this possibility, and set a limit as to how many packets they will allow to accumulate on its queue. + +Occasional saturation of the upstream during VAD can be eliminated by provisioning the maximum number of permitted VoIP sessions to be less than the maximum capacity of the upstream with all voice traffic (24 in the previous example). VAD would cause the channel usage to drop from 100% to around 40% for voice, allowing the remaining 60% to be used for data and maintenance traffic. + +## Appendix VII + +### S-CDMA framing + +(This appendix does not form an integral part of this Recommendation) + +This appendix is informative. In case of conflict between this appendix and any normative part of this Recommendation, the normative part takes precedence. + +Please note that the pseudo-code below is specific to the case of a single burst using all spreading codes. + +#### VII.1 Coded subsymbol numbering + +The following code sample contains a short algorithmic description of the operation of the address generator for the coded subsymbols. The address generator for the coded subsymbols fills rows first using the interleaver step size parameter (step in the listing) to step through the spreading intervals within a row. Each step is performed using a modified modulo algorithm that allows the use of interleaver step size and spreading intervals per frame with common divisors. After each row is filled, the next row is begun with the first spreading interval. In the following listings, the index "i" is initialized to the value "1" and coded\_col0 is defined as "0". + +``` +for( row = FIRST_ROW; row <= LAST_ROW; row++ ) +{ + coded_col = 0; + store_coded( row, coded_col ); + /* Store the coded portion of the symbol (or preamble) to (row,coded_col) +*/ + for( i = 1; i < framelen; i++ ) + { + coded_col = coded_col + Interleaver_step_size; + + if( mod( i, framelen / gcd( step, framelen ) ) == 0 ) + coded_col = coded_col + 1; /* gcd is greatest common divisor */ + + coded_col = mod( coded_col, framelen ); + store_coded( row, coded_col ); + /* Store the coded portion of the symbol (or preamble) to +(row,coded_col) */ + } +} +``` + +#### VII.2 Uncoded subsymbol numbering + +The following is a short algorithmic description of the operation of the address generator for uncoded subsymbols. The generator fills columns within a subframe first. The row index increments by one for each uncoded subsymbol. At the end of the subframe, the column index is incremented and the row index set to the first row of the subframe. After completing a subframe, the next subframe begins with the next uncoded subsymbol. + +``` +uncoded_col = 0; +UNCODED_ROW = FIRST_ROW; +while( uncoded_row <= LAST_ROW ) +{ + if( ( uncoded_row + R ) > LAST_ROW ) + Rprime = LAST_ROW - uncoded_row + 1; + else + Rprime = R; + + for( i = 0; i < Rprime; i++ ) +``` + +``` + +{ + /* Check whether (uncoded_row,uncoded_col) is a preamble location. + * If it is, go to next location */ + if( not_preamble( uncoded_row, uncoded_col ) ) + store_uncoded( uncoded_row, uncoded_col, unc_sym ); + uncoded_row = uncoded_row + 1; +} + +uncoded_row = uncoded_row - Rprime; +uncoded_col = uncoded_col + 1; +if (uncoded_col >= framelen) +{ + uncoded_col = 0; + uncoded_row = uncoded_row + R; +} +} + +``` + +FIRST\_ROW and LAST\_ROW are, respectively, the first and last row (i.e., code) in each frame spanned by the grant. FIRST\_ROW can be between 0 and 127 in the first frame of the allocation and is 0 in any other frames that the grant may span (if any). LAST\_ROW can be between 0 to 127 in the last frame of the burst and is 127 for any other frame (if any). + +### VII.3 Framer output numbering + +The following code sample contains a short algorithmic description of the operation of the address generator for the output symbols. The address generator for the output symbols is used to access both the coded and uncoded subsymbol memories. The output address generator accesses all of the rows (codes) of a spreading interval first followed by subsequent spreading intervals. + +``` + +for( col=0; col < framelen; col++ ) + for( row=0; row < ACTIVE_CODES; row++ ) + outsym = get_data( row, col ); + +``` + +### VII.4 Comments + +In all of the samples, the number of iterations for the loop is not always correct since an allocation can be less than the number of codes. In clause VII.2, the listing supports the case of a shortened subframe. + +## Appendix VIII + +### Ambient temperature and wind loading effects + +(This appendix does not form an integral part of this Recommendation) + +This appendix discusses possible ambient temperature change and dynamic wind loading effects relevant to operating a system with DOCS 2.0 CMs and CMTSs. The intent of this appendix is to describe possible approaches for dealing with these issues. The relationships between the timing variation of the received upstream signal and the rate of change of these ambient plant conditions are discussed. However, measured field data providing the statistics of the ambient conditions used in these relationships is not available, so it is not possible at the time of writing to determine the magnitude or frequency of occurrence of these conditions on operational cable systems. This appendix is not intended to be an exhaustive discussion of either these issues or solutions. + +The following issues are discussed in this appendix: + +- synchronization tolerances to plant delay variations; +- changes in propagation delay due to temperature changes; +- changes in propagation delay due to wind, in the case of aerial cable plant. + +#### VIII.1 Synchronization tolerances to plant delay variations + +The CMTS receiver synchronization requirements for S-CDMA and advanced TDMA are identical for the same signal constellation and symbol rates. However, for S-CDMA, burst synchronization is accomplished to a fine degree through the ranging process, while for TDMA, burst synchronization is accomplished to a coarse degree through the ranging process and then to a fine degree through a receiver burst timing recovery process. In both cases, the degree of timing accuracy required in the receiver is tighter for higher symbol rates and higher-order constellations. + +Because S-CDMA requires a fine degree of timing accuracy to be accomplished solely by the ranging process, it is more sensitive to changes in the propagation delay of the cable plant between ranging intervals, which can be as much as 30 seconds apart. Table VIII.1 lists plant delay variations that can be accommodated in S-CDMA and TDMA modes for a 1-dB degradation under example conditions. + +**Table VIII.1 – Allowable plant timing drift** + +| Constellation | $E_s/N_0$ for 1e-8 BER (dB) | Allowable peak-to-peak plant delay variation (ns) S-CDMA mode | Allowable peak-to-peak plant delay variation (ns) TDMA mode | +|-------------------|-----------------------------|---------------------------------------------------------------|-------------------------------------------------------------| +| Fully-coded QPSK | 5 | 90 | 800 | +| TCM QPSK | 9 | 79 | N/A | +| TCM 8QAM | 12 | 57 | N/A | +| Uncoded QPSK | 15 | 38 | 800 | +| Fully-coded 64QAM | 17.7 | 24 | 800 | +| TCM 32QAM | 19 | 18 | N/A | +| Uncoded 16QAM | 22 | 9 | 800 | +| Uncoded 32QAM | 25 | 6 | 800 | +| TCM 128QAM | 25 | 6 | N/A | +| Uncoded 64QAM | 28 | 2 | 800 | + +Defined conditions: + +- 1 dB degradation at 1e-8 BER; +- uniform ranging offset over $\pm 1/64$ chip; +- 63 CMs, each with 2 codes; +- $E_s/N_0$ numbers are ideal theoretical values, not including implementation effects; +- 5.12 MHz modulation rate; +- Timing variation over 30-second period; +- TDMA receiver accepts $\pm 2$ symbol coarse timing offset (implementation-dependent). + +This channel impairment should be considered along with all of the other upstream channel characteristics highlighted in Table 4-2. + +DOCS requires station maintenance at least every 30 seconds (T4 time-out has a maximum value of 35 seconds). For S-CDMA at a given modulation and symbol rate, if there exists a rapid propagation delay variation such that the resulting delay change cannot be tracked by station maintenance, then one or more of the following performance trade-offs and/or system changes may be enacted: + +- 1) decrease the station maintenance period; +- 2) decrease the constellation order; +- 3) decrease the modulation rate; +- 4) apply additional error correction; +- 5) apply some combination of 1 through 4; or +- 6) change the channel to operate in advanced TDMA mode. + +The following clauses discuss the relationship of temperature changes and wind loading on the propagation delay in coaxial and HFC cable plants. + +## **VIII.2 Change in propagation delay due to temperature changes** + +### **VIII.2.1 Fibre delay changes due to temperature** + +In HFC plant design, the number of amplifiers in cascade in the coax portion is kept low in order to keep signal degradation to an acceptable level. As a result, long runs of cable plant are mainly comprised of fibre. A typical value for propagation delay variation due to temperature change of the fibre is 44 picoseconds per km per degree C [b-TRISCHITTA]. The delay variation comes mostly from the change in refractive index of the glass with temperature, not the change in fibre length. + +It is assumed that changes in optical cable length due to stretching or expansion will be a negligible factor because optical cables are built to isolate the fibre from stresses in the cable itself. The fibre usually sits loosely in a tube inside the cable and considerable relative movement is possible. This construction allows normal cable handling and aerial deployment without resulting in high stress on the optical fibre. + +Assuming 44 picoseconds per km per degree C, any product of optical cable length and temperature change that equals 50 results in approximately a 2-nanosecond change in the fibre propagation delay. For example, 25-km fibre and a 2-degree temperature change will result in a 2-ns change in propagation delay. For the maximum distance between CMTS and CM specified in DOCS of 100 miles, or roughly 160 km, the temperature change needed for a 2-ns second change in one-way propagation delay is 0.3 degree C. + +Obviously, the issue is how fast the cable core (where the fibre is) will heat up under ambient temperature changes. For buried or underground cable, there is no issue. For aerial cable, solar loading changes should be considered. Black sheathed cable has interior temperatures considerably + +higher than ambient temperatures in sunlight, but data is currently unavailable. When the rising sun hits aerial cable on a cold morning, one would expect a temperature change. Similarly, sunlight appearing out of cloud cover may have a similar impact, although the size of the shadow of the cloud moving out of the way has to be considered. The numerical examples above suggest that only long aerial cable runs may have a problem under some combinations of time-of-day and weather. + +### **VIII.2.2 Coaxial cable delay changes due to temperature** + +The coaxial cable has a blown foam between the centre conductor and the solid shield, and nominal propagation velocity is about 87% of free space velocity according to one manufacturer. Propagation velocity does not vary markedly with temperature. + +Given the relatively short lengths of coaxial cable in most HFC plant (a few miles), this seems unlikely to be a significant source of delay variation. + +### **VIII.2.3 Delay change due to wind** + +Aerial cable stretches with wind loading, so it is possible to estimate a propagation delay from the change in length under various wind loads. As mentioned, the construction of optical cable makes it tolerant of stretching, so it is assumed that optical cable stretching due to wind loading can be ignored. Wind loading will affect aerial coaxial cables. + +Wind loading is difficult to deal with analytically because it is unlikely to be uniform along the cable. A delay model derived from a significant body of measured data is needed to investigate this further. Wind loading may be a source of fast delay variation and station maintenance may not occur at intervals small enough for the ranging mechanism to track this variation accurately. + +The effects of wind loading on typical cable was investigated with a programme from a coaxial cable manufacturer. These calculations showed that length changes in the range 0.01% to 0.05% are possible for various amounts of wind loading. This converts to significant propagation delay variation. As an example, with 5 miles (8 km) and 0.02% length variation, the change in propagation delay is: + +$$\frac{8 \text{ km}}{3 \times 10^5 \text{ km/s}} \times \frac{1}{0.87} \times 2 \times 10^{-4} = 6 \text{ ns}$$ + +This is a peak value, but the length of coax is quite short and the wind load is moderate. While the time duration over which this delay variation occurs is unspecified, it may be noted that wind gust data is readily available for most cities, and wind gust will be the primary mechanism for wind-based timing changes on cable plants. For example, in New York City at the time of writing, wind gusts of up to 40 mph are reported, while average wind speed is about 10 mph. Hence, over a period of 1 to 4 seconds (the typical wind gust measurement interval), the wind speed changes by 30 mph. Much stronger wind gusts are frequently measured in locations prone to windy conditions. + +## Bibliography + +- [b-Cab 960702] CableLabs SP-CMTS-NSII01-960702 (1996), *Data-Over-Cable Service Interface Specifications: Cable Modem Termination System – Network Side Interface Specification*. +- [b-Cab 010829] CableLabs SP-CMCI-I06-010829 (2001), *Data-Over-Cable Service Interface Specifications: Cable Modem to Customer Premise Equipment Interface Specification*. +- [b-ETSI EG 201 212] ETSI EG 201 212 (1998), *Electrical safety; Classification of interfaces for equipment to be connected to telecommunication networks*. (Also available from CENELEC as ROBT-002.) +- [b-EN 50081-1] CENELEC EN 50081-1 (1992), *Electromagnetic compatibility – Generic emission standard – Part 1: Residential, commercial, and light industry*. +- [b-EN 50082-1] CENELEC EN 50082-1 (1997), *Electromagnetic compatibility – Generic immunity standard – Part 1: Residential, commercial, and light industry*. +- [b-EN 50083-1] CENELEC EN 50083-1 (1993), *Cabled networks for television signals, sound signals, and interactive services – Part 1: Safety requirements*. +- [b-EN 50083-2] CENELEC EN 50083-2 (1995), *Cabled networks for television signals, sound signals, and interactive services – Part 2: Electromagnetic compatibility for equipment*. +- [b-EN 50083-7] CENELEC EN 50083-7 (1996), *Cabled networks for television signals, sound signals, and interactive services – Part 7: System performance*. +- [b-EN 50083-10] CENELEC EN 50083-10 (1999), *Cabled networks for television signals, sound signals, and interactive services – Part 10: System performance for return paths*. +- [b-EN 60950] CENELEC EN 60950 (1992), *Specification for safety of information technology equipment*. +- [b-US 47CFR 18.305] *Code of Federal Regulations*, Title 47, Parts 15 and 76, October 2000. +- [b-CommScope] CommScope catalog for Parameter III cable (QR cable is listed as 88%). +- [b-ISO/IEC 10038] ISO/IEC 10038:1993, *Information Technology – Telecommunications and information exchange between systems – Local area networks – Media access control (MAC) bridges*. +- [b-RFC 1700] IETF RFC 1700 (1994), *Assigned Numbers*. +- [b-RFC 2210] IETF RFC 2210 (1997), *The Use of RSVP with the IETF Integrated Services*. +- [b-RFC 2211] IETF RFC 2211 (1997), *Specification of the Controlled-Load Network Element Service*. +- [b-TRISCHITTA] TRISCHITTA (P.R.), VARMA (E.L.): *Jitter in Digital Transmission Systems*, Artech House, Norwood, MA, 1989. + +- [b-SpanMaster] SpanMaster: available at +[www.commscope.com/html/community\\_access\\_cable.shtml](http://www.commscope.com/html/community_access_cable.shtml). +- [b-VCCI-1] Voluntary Control Council for Interference by Information Technology Equipment (VCCI-1): +[http://www.vcci.or.jp/vvci\\_e/index.html](http://www.vcci.or.jp/vvci_e/index.html). +- [b-Ethernet] Ethernet Protocol Version 2.0, Digital, Intel, Xerox, 1982. + + + +## SERIES OF ITU-T RECOMMENDATIONS + +| | | +|-----------------|----------------------------------------------------------------------------------------------------| +| Series A | Organization of the work of ITU-T | +| Series D | General tariff principles | +| Series E | Overall network operation, telephone service, service operation and human factors | +| Series F | Non-telephone telecommunication services | +| Series G | Transmission systems and media, digital systems and networks | +| Series H | Audiovisual and multimedia systems | +| Series I | Integrated services digital network | +| Series J | Cable networks and transmission of television, sound programme and other multimedia signals | +| Series K | Protection against interference | +| Series L | Construction, installation and protection of cables and other elements of outside plant | +| Series M | Telecommunication management, including TMN and network maintenance | +| Series N | Maintenance: international sound programme and television transmission circuits | +| Series O | Specifications of measuring equipment | +| Series P | Terminals and subjective and objective assessment methods | +| Series Q | Switching and signalling | +| Series R | Telegraph transmission | +| Series S | Telegraph services terminal equipment | +| Series T | Terminals for telematic services | +| Series U | Telegraph switching | +| Series V | Data communication over the telephone network | +| Series X | Data networks, open system communications and security | +| Series Y | Global information infrastructure, Internet protocol aspects and next-generation networks | +| Series Z | Languages and general software aspects for telecommunication systems | \ No newline at end of file diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/0f985b39edc1d52ba3600c438bc8f0a5_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/0f985b39edc1d52ba3600c438bc8f0a5_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a7d3ddb57a4617cf52eb008be0f46730b81b7585 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/0f985b39edc1d52ba3600c438bc8f0a5_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17b840e11583ba23b65586e29fa92b2edda595b31d5320bae1ade84df95c202b +size 24547 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/1142ba0197b158bb198186fe8baccc32_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/1142ba0197b158bb198186fe8baccc32_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..744e615fd6f2040a77e45bbb621a9305ae192b01 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/1142ba0197b158bb198186fe8baccc32_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6284d91a522ba57f61378f88214c44b3c8e1f412a03a3617b58c5d9bcff460ef +size 33300 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d5a35041124e73f88d6638cd17f42a2eb4f6781a --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f24b214263bab4142643453a604fb5196f9397e2500c675cde79d53ce5e5d8e +size 3645 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/1841f348dfa81a3438d4e1f8465d9ac7_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/1841f348dfa81a3438d4e1f8465d9ac7_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5f60ce0ae80568031d4b69678c11b110a4922ec6 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/1841f348dfa81a3438d4e1f8465d9ac7_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:835ffcb5c53bd097ff8bb787b9578801ccf1da9256510530663de116c7a7f636 +size 28201 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/2b3a967f6ce4f23649be995a353e39f8_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/2b3a967f6ce4f23649be995a353e39f8_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ebb1d2108007fe15f615938a045e262a683a591c --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/2b3a967f6ce4f23649be995a353e39f8_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25c4849486e80b67e3c8dfa07c2bc02e045a0f498a682a82be564a3eeecd714c +size 19812 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/33a8f3f01dfa8bce75d23017855a13c5_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/33a8f3f01dfa8bce75d23017855a13c5_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2524c38659f85cb71fe06f649389fef837e0fe79 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/33a8f3f01dfa8bce75d23017855a13c5_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8becc78abf7d6b948a6ef111b42bc2cb4d18cdbcfd00ec8bd2add6322be7b5e +size 24577 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/33ed1f9b27c7c21c797aa928b0f06851_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/33ed1f9b27c7c21c797aa928b0f06851_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..68d9da4cddf9b9edb1cec593aacdebad42c1c461 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/33ed1f9b27c7c21c797aa928b0f06851_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a870dfed2e05b13ff2d124edfbbe21a905e8ff3eab905a63a4828ec247cfc277 +size 96112 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/409498e57b1f988b2b604d12cd997002_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/409498e57b1f988b2b604d12cd997002_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a196dcff687a51e36054dadad63f03af2ecaf03c --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/409498e57b1f988b2b604d12cd997002_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61289d69b039e80c4302a9be7210dc57d88108aff895ec10eef2a3482c588f4e +size 31599 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/47a7beddcb8a1b7abdca746967e32bb4_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/47a7beddcb8a1b7abdca746967e32bb4_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2ea27b25209eb1b70d0da8f0f679d0262bf75fb2 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/47a7beddcb8a1b7abdca746967e32bb4_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f972d7df38c6282bba758d3d0e471e8a89933ba055c989a7574f69c06259a5c +size 57372 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c4a9325f1bae52faf78b707f493efd40e6d7423f --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0b9d4bfe092d8c789cef986da3d4095ceefb5ff5f85355e6416503c974a8fac +size 85051 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/4ee27dbf5ef12e7b58b0ef0937bc5a5e_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/4ee27dbf5ef12e7b58b0ef0937bc5a5e_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..404933771eb442771e7bee1b71bb868dd646fba2 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/4ee27dbf5ef12e7b58b0ef0937bc5a5e_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c8791dae3c0722549c5bb736b4f42facbb1aa1ab9c44c0739a77903b1713f1e +size 18637 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/5445597cceefaca1ac89e710fe339325_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/5445597cceefaca1ac89e710fe339325_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f572cfba699ec370d7d5aa1785a80553ec58c852 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/5445597cceefaca1ac89e710fe339325_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34c983f057a5f1e90d9021c704413fc6f26a4a768c521611832d778f6b84d901 +size 94583 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/67114ecf6da13c97a89aeff0d86885d5_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/67114ecf6da13c97a89aeff0d86885d5_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..90bcac159a29d8b420b0fe36a159787bc7adc2a7 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/67114ecf6da13c97a89aeff0d86885d5_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:871a5463125789db81792a844afac14f1e8494f02cd70d3aac2bc8b8b82f16a7 +size 211479 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/724c7777b608e53be38b12b6fb3c43bc_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/724c7777b608e53be38b12b6fb3c43bc_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a424c2e8cab678b80bd8b612f2850b33bcff32d3 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/724c7777b608e53be38b12b6fb3c43bc_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:989a4f97802bfdc16e467b3c2e34e971be88e7a7e24e4135b951d6f385ae6ad6 +size 20740 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/76b0cd79baaedd942af4dc42f2e764b8_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/76b0cd79baaedd942af4dc42f2e764b8_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..12f0d685118ab3c69ace957cb017bdb83fa879a7 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/76b0cd79baaedd942af4dc42f2e764b8_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec1d3a7b2184f9c23ea872910a3d99be5aae5bd24a89e4d5beb644011746f009 +size 77542 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/8fbdfc3d17fb1dae7b2d8f5a287fa9fc_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/8fbdfc3d17fb1dae7b2d8f5a287fa9fc_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1553b9ac656621e2df39bcf8cc1653495deb15a8 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/8fbdfc3d17fb1dae7b2d8f5a287fa9fc_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e869ba9f48ffa3415f30b1ad18bb782cc07fe1c642f2c9f9da5215c95809d75 +size 144794 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/9c6461e1e94afae4dec455e69a2ce152_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/9c6461e1e94afae4dec455e69a2ce152_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1ad33430a4768294e49144a5b7bb4200378757a2 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/9c6461e1e94afae4dec455e69a2ce152_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7aa686ac25ab0e400c603e7034ff698ac5a9e5766be91e1a463995971f7b713 +size 83878 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/a9bd36d25444d896e8d6941ff59d8f2d_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/a9bd36d25444d896e8d6941ff59d8f2d_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..046643ce11d9fd397ba97c3ed283162ac0d7fe07 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/a9bd36d25444d896e8d6941ff59d8f2d_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7a8d9dd27787e9e3315751b536eec61e7be56813a02c283e90fe61b8b7d0e16 +size 45579 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0e78f925d547d95125b2bea491e7ee398ee81d9b --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3da70b52d32c5e4faa3ae5a5a6bcb7c07a7fbbab2c3aa0af1ef2a010ceae2b68 +size 91616 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/dfe556fea00682b09a59427aaf72051c_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/dfe556fea00682b09a59427aaf72051c_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..488ad1946ed140471204d4e4db2a5711eddb6003 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/dfe556fea00682b09a59427aaf72051c_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47f82e9686e6e3f494e78b9dde807055ccc554b930b6eed929c09361e2ad6ce9 +size 20827 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/f1cbfa3fc27f58581615654fec4335d8_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/f1cbfa3fc27f58581615654fec4335d8_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4c8942b5a1c7d6972421a0d4f50ebf1f1fa6881f --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/f1cbfa3fc27f58581615654fec4335d8_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb05944e66ed000ec3af17034aedd3701cb08afa741c23adcd56655a1b78e337 +size 34552 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/fa859e4e468bfb2710a94527f2c504af_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/fa859e4e468bfb2710a94527f2c504af_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f9c6e80a083cb6ae93d64fdb1fd17a5fdfa41b2c --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/fa859e4e468bfb2710a94527f2c504af_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8393894e6900ba9acdea2bacb05af043cefb630a0cc8786649463fd6203b47b +size 91763 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/fcbc3c31776721edc98ceb1944ec438f_img.jpg b/marked/J/T-REC-J.126-200712-I_PDF-E/fcbc3c31776721edc98ceb1944ec438f_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9d3735f567e8c9a799800488d03bada11c0d1164 --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/fcbc3c31776721edc98ceb1944ec438f_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a23d1ce2fb2d7886549f446cba2bfd2f3076f687a178c4c2b6533db638e3d79d +size 33888 diff --git a/marked/J/T-REC-J.126-200712-I_PDF-E/raw.md b/marked/J/T-REC-J.126-200712-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..ec518ed125eaa8eb021ded9830b62f6121afcc1d --- /dev/null +++ b/marked/J/T-REC-J.126-200712-I_PDF-E/raw.md @@ -0,0 +1,2367 @@ + + +**ITU-T** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +**J.126** + +(12/2007) + +SERIES J: CABLE NETWORKS AND TRANSMISSION +OF TELEVISION, SOUND PROGRAMME AND OTHER +MULTIMEDIA SIGNALS + +Interactive systems for digital television distribution + +# --- **Embedded Cable Modem device specification** + +ITU-T Recommendation J.126 + + + +## ITU-T Recommendation J.126 + +# Embedded Cable Modem device specification + +## Summary + +ITU-T Recommendation J.126 defines additional features that must be added to a Cable Modem for implementations that embed the Cable Modem with another application, such as an IPCablecom multimedia terminal adapter (MTA). + +## Source + +ITU-T Recommendation J.126 was approved on 14 December 2007 by ITU-T Study Group 9 (2005-2008) under the ITU-T Recommendation A.8 procedure. + +## History + +| Edition | | Approval | +|---------|-------|------------| +| 1.0 | J.126 | 2004-04-22 | +| 2.0 | J.126 | 2007-12-14 | + +## FOREWORD + +The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. + +The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics. + +The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1. + +In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. + +## NOTE + +In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure e.g. interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party. + +## INTELLECTUAL PROPERTY RIGHTS + +ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. + +As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at . + +© ITU 2008 + +All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU. + +## CONTENTS + +| | Page | +|--------------------------------------------------------------------------------------------|------| +| 1 Scope ..... | 1 | +| 2 References..... | 1 | +| 2.1 Normative references..... | 1 | +| 2.2 Informative references..... | 2 | +| 3 Definitions ..... | 3 | +| 4 Abbreviations and conventions..... | 4 | +| 4.1 Abbreviations ..... | 4 | +| 4.2 Conventions..... | 6 | +| 5 Embedded cable modem..... | 6 | +| 5.1 Device interface reference model..... | 6 | +| 5.2 eDOCSIS requirements ..... | 14 | +| Annex A – SLED MIB definition..... | 39 | +| Annex B – eSAFE MIB Definition..... | 44 | +| Annex C – Format and content for eCM/eSTB event, SYSLOG, and SNMP trap
extensions ..... | 55 | + + + +# Embedded Cable Modem device specification + +# 1 Scope + +This Recommendation defines additional features that must be added to a Cable Modem for implementations that embed the Cable Modem with another application, such as an IPCablecom MTA. + +NOTE – The structure and content of this Recommendation have been organized for ease of use by those familiar with the original source material; as such, the usual style of ITU-T Recommendations has not been applied. + +# 2 References + +## 2.1 Normative references + +The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation. + +- [BB] ITU-T Recommendation J.199 (2006), *Battery backup for cable-based devices*. +- [BPI+] ITU-T Recommendation J.125 (2004), *Link privacy for cable modem implementations*. +- [DOCSIS0-OSSI] ANSI/SCTE 22-3 2002, *Data-Over-Cable Service Interface Specification DOCSIS 1.0 Part 3: Operations Support System Interface (OSSI)*. +- [DOCSIS0-RFI] ANSI/SCTE 22-1 2002, *Data-Over-Cable Service Interface Specification DOCSIS 1.0 Radio Frequency Interface (RFI)*. +- [DOCSIS1-OSSI] ANSI/SCTE 23-3 2005, *DOCSIS 1.1 Part 3: Operations Support System Interface*. +- [DOCSIS1-RFI] ITU-T Recommendation J.112 Annex B (2004), *Data-over-cable service interface specifications: Radio-frequency interface specification*. +- [DOCSIS2-OSSI] ANSI/SCTE 79-2 2002, *DOCS 2.0 Operations Support System Interface*. +- [DOCSIS2-RFI] ITU-T Recommendation J.122 (2007), *Second-generation transmission systems for interactive cable television services – IP cable modems*. +- [DOCSIS3-MULPI] ITU-T Recommendation J.222.2 (2007), *Third-generation transmission systems for interactive cable television services – IP cable modems: MAC and upper layer protocols*. +- [DOCSIS3-OSSI] ANSI/SCTE 135-4 2007, *DOCSIS 3.0 Operations Support System Interface*. +- [DOCSIS-OSSI] Refers to [DOCSIS1-OSSI], [DOCSIS2-OSSI] and [DOCSIS3-OSSI]. +- [DOCSIS-RFI/MULPI] Refers to [DOCSIS1-RFI], [DOCSIS2-RFI] and [DOCSIS3-MULPI]. + +- [DSG] ITU-T Recommendation J.128 (2005), *Set-top gateway specification for transmission systems for interactive cable television services.* +- [eRouter] ITU-T Recommendation J.218 (2007), *Cable modem IPv4 and IPv6 eRouter specification.* +- [IETF RFC 768] IETF RFC 768 (1980), *User Datagram Protocol.* +- [IETF RFC 791] IETF RFC 791 (1981), *Internet Protocol – DARPA Internet Program – Protocol Specification.* +- [IETF RFC 1493] IETF RFC 1493 (1993), *Definitions of Managed Objects for Bridges.* +- [IETF RFC 2011] IETF RFC 2011 (1996), *SNMPv2 Management Information Base for the Internet Protocol using SMIv2.* +- [IETF RFC 2131] IETF RFC 2131 (1997), *Dynamic Host Configuration Protocol.* +- [IETF RFC 2132] IETF RFC 2132 (1997), *DHCP Options and BOOTP Vendor Extensions.* +- [IETF RFC 2863] IETF RFC 2863 (2000), *The Interfaces Group MIB.* +- [IETF RFC 3396] IETF RFC 3396 (2002), *Encoding Long Options in the Dynamic Host Configuration Protocol (DHCPv4).* +- [IETF RFC 3418] IETF RFC 3418 (2002), *Management Information Base (MIB) for the Simple Network Management Protocol (SNMP).* +- [IETF RFC 4293] IETF RFC 4293 (2006), *Management Information Base for the Internet Protocol (IP).* + +## 2.2 Informative references + +- [CableHome] CableLabs (). +- [CANN-DHCP] *CableLabs DHCP Options Registry*, CL-SP-CANN-DHCP-Reg-I01-070119, January 19, 2007, Cable Television Laboratories, Inc. +- [CCIF 2.0] *CableCARD™ Interface 2.0 Specification*, OC-SP-CCIF2.0-I09-070105, January 5, 2007, Cable Television Laboratories, Inc. +- [CH10] ITU-T Recommendation J.191 (2004), *IP feature package to enhance cable modems.* +- [CH11] ITU-T Recommendation J.192 (2004), *A residential gateway to support the delivery of cable data services.* +- [DOCSIS] CableLabs (). +- [HOST2.0] *OpenCable Host Device 2.0 Core Functional Requirements*, OC-SP-HOST2.0-CFR-I14-070615, June 15, 2007, Cable Television Laboratories, Inc. +- [IETF RFC 2578] IETF RFC 2578 (1999), *Structure of Management Information Version 2 (SMIv2).* +- [PacketCable] CableLabs (). +- [PC10-MTA] ITU-T Recommendation J.167 (2001), *Media terminal adapter (MTA) device provisioning requirements for the delivery of real-time services over cable television networks using cable modems.* +- [PC10-MIB] ITU-T Recommendation J.166 (2001), *IPCablecom Management Information Base (MIB) framework.* + +# 3 Definitions + +This Recommendation defines the following terms: + +**3.1 CableHome:** This is a Cable Television Laboratories, Inc. ("CableLabs") specification (see ) for the interfaces necessary to extend high-quality cable-based services to network devices within the home. The CableHome project addresses issues such as device interoperability, QoS (Quality of Service), and network management. This term is also used for a system or device that is compliant with the CableHome specifications [CH10] or [CH11]. + +**3.2 DOCSIS:** The term for a system or device compliant with any one of the Cable Television Laboratories, Inc. ("CableLabs") series of specifications located at: . + +**3.3 CableModem base specifications:** There are currently four versions of what are in this Recommendation referred to as the CableModem Base Specifications. The original CableModem is specified in SCTE 22-1 2002: *DOCSIS 1.0 Radio Frequency Interface* and SCTE 22-3. SCTE 22-1 is J.112 (1998) with some corrections and minor additions. The second specification is J.112 with SCTE 23-3, the third specification is J.122 with SCTE 79-2, and the fourth specification is J.222. + +**3.4 eCM:** An eCM is an embedded Cable Modem, i.e., one that has been enhanced with the features of this Recommendation. + +**3.5 eDOCSIS:** eDOCSIS is a CableLabs specification that defines the interface between the eCM and an eSAFE. The international version of the specification is this Recommendation. + +**3.6 eDOCSIS device:** An eDOCSIS device is one that includes an eCM entity, one or more eSAFEs and supports a single software image using a CableModem secured software download mechanism. + +**3.7 embedded multimedia terminal adapter (eMTA):** An embedded version of an MTA. + +**3.8 embedded MTA device (e-MTA):** An eDOCSIS device that contains both an eMTA and an eCM. + +**3.9 embedded portal service element (ePS):** An IPCable2Home-compliant eSAFE that provides management and network address translation functions between the cable data network and the home network. + +**3.10 logical CPE interface:** A bidirectional, data-only 802.3/Ethernet MAC frame interface between eCM and an eSAFE. + +**3.11 multimedia terminal adapter (MTA):** An IPCablecom device that contains the interface to a physical voice device, a network interface, CODECs, and all signalling and encapsulation functions required for VoIP transport, class features signalling and QoS signalling. + +**3.12 embedded service/application functional entity (eSAFE):** An embedded version of a specified application, such as an IPCablecom multimedia terminal adapter (MTA), that provides a service using the CableModem IP platform, or a function or set of functions, such as the IPCable2Home Portal Service logical element, that supports the delivery of one or more services over an IP platform. + +**3.13 PacketCable:** PacketCable is a CableLabs specification located at: . The PacketCable specifications are interoperable interface specifications for delivering advanced, real-time multimedia services over a two-way cable plant. Built on top of the industry's highly successful cable modem infrastructure, + +PacketCable networks uses Internet Protocol (IP) technology to enable a wide range of multimedia services, such as IP telephony, multimedia conferencing, interactive gaming, and general multimedia applications. This term is also applicable to a system or device that is compliant to the PacketCable specifications. The international version of PacketCable is standardized in ITU-T J-series Recommendations J.160 to J.179. + +**3.14 point of deployment (POD) module:** A removable conditional access module which, when inserted into certain eSTB implementations, enables delivery of digital video programming and other services. POD module functionality includes copy protection and signal demodulation. The interface between the POD module and the eSTB is specified by [CCIF 2.0]. + +**3.15 eRouter:** DOCSIS Embedded Router. An eSAFE that is compliant with [eRouter], providing version 4 and/or version 6 Internet Protocol-formatted data forwarding, address configuration, and Domain Name services to Internet Protocol host devices connected to the cable modem in a customer's premises. + +**3.16 embedded set-top box (eSTB):** An eSAFE that is compliant with [DSG], providing video, audio and data services. An example OpenCable-compliant eSTB is further specified in [HOST2.0]. + +**3.17 embedded TDM emulator adapter (eTEA):** An eSAFE that is compliant with [TEI], providing T1 and E1 Circuit transport over IP. + +**3.18 monolithic firmware image:** A single firmware image containing one or more code images for the entire eDOCSIS device. For eDOCSIS devices, the Monolithic Firmware Image contains both the eCM code image as well as the applicable eSAFE code image. As an example for an eDOCSIS device containing an eSTB, the Monolithic Firmware Image contains the eCM code image as well as the eSTB code image (which may also be composed of multiple eSTB code images). + +**3.19 network virtual terminal (NVT):** As defined in the Telnet Protocol. NVT was a bidirectional character device, representing characters as 7-bit ASCII codes, using an 8-bit field. + +**3.20 OpenCable host eSTB:** An eSTB device built to CableLabs OpenCable Host specifications. + +**3.21 embedded security eSTB:** An eSTB with integrated security functions. + +**3.22 secure microprocessor:** The security element in a device that supports downloadable conditional access. + +**3.23 set-top device:** An eDOCSIS device that contains an eSTB. + +**3.24 time division multiplexing (TDM):** The means by which multiple digital signals can be carried on a single transmission path by interleaving portions of each signal in time. + +# 4 Abbreviations and conventions + +## 4.1 Abbreviations + +This Recommendation uses the following abbreviations: + +| | | +|-------|------------------------------------------------------| +| ASCII | American Standard Code for Information Interchange | +| BSOD | Business Services over DOCSIS | +| CATV | Community Access Television, Cable Television | +| CM | Cable Modem | +| CMCI | Cable Modem to Customer Premises Equipment Interface | +| CMTS | Cable Modem Termination System | + +| | | +|---------|--------------------------------------------------| +| CVC | Code Verification Certificate | +| DHCP | Dynamic Host Configuration Protocol | +| DIX | Digital Intel Xerox | +| DNS | Domain Name Server | +| DOCSIS | Data-Over-Cable Service Interface Specifications | +| DSG | DOCSIS Set-top Gateway | +| eCM | embedded Cable Modem | +| eDOCSIS | embedded DOCSIS | +| eMTA | embedded Multimedia Terminal Adapter | +| ePS | embedded Portal Services Element | +| eSTB | embedded Set-Top Box | +| eSAFE | embedded Service/Application Functional Entity | +| eTEA | embedded T1/E1 TDM Emulation Adapter (TEA) | +| FCS | Frame Check Sequence | +| FQDN | Fully Qualified Domain Name | +| IP | Internet Protocol | +| LCI | Logical CPE Interface | +| LLC | Logical Link Control | +| MAC | Media Access Control | +| MIC | Message Integrity Check | +| MTA | Multimedia Terminal Adapter | +| OCAP | Open Cable Application Platform | +| PS | Portal Service | +| RF | Radio Frequency | +| ROM | Read-Only Memory | +| SAFE | Service/Application Functional Entity | +| SLED | Software Loopback for eDOCSIS | +| SNMP | Simple Network Management Protocol | +| SW | Software | +| SSD | Secure Software Download | +| TDM | Time Division Multiplexing | +| TFTP | Trivial File Transfer Protocol | +| TLV | Type/Length/Value | +| UDP | User Datagram Protocol | +| UPS | Uninterrupted Power Supply | +| USB | Universal Serial Bus | +| WAN | Wide Area Network | + +## 4.2 Conventions + +Throughout this Recommendation, the words that are used to define the significance of particular requirements are capitalized. These words are: + +- MUST** This word or the adjective "REQUIRED" means that the item is an absolute requirement of this Recommendation. +- MUST NOT** This phrase means that the item is an absolute prohibition of this Recommendation. +- SHOULD** This word or the adjective "RECOMMENDED" means that there may exist valid reasons in particular circumstances to ignore this item, but the full implications should be understood and the case carefully weighed before choosing a different course. +- SHOULD NOT** This phrase means that there may exist valid reasons in particular circumstances when the listed behaviour is acceptable or even useful, but the full implications should be understood and the case carefully weighed before implementing any behaviour described with this label. +- MAY** This word or the adjective "OPTIONAL" means that this item is truly optional. One vendor may choose to include the item because a particular marketplace requires it or because it enhances the product; for example, another vendor may omit the same item. + +# 5 Embedded cable modem + +The goals for this Recommendation are: + +- to preserve functional separation of the Cable Modem entity from eSAFEs within the eDOCSIS device, so that existing cable plant integrity, cable modem configuration, management and provisioning security are not compromised; +- to isolate Cable Modem functionality so that compliance can be tested for the eCM component independent of eSAFEs; +- to enable the service provider to enable or disable forwarding traffic between each eSAFE and the eCM within the eDOCSIS Device; +- to maximize compatibility with existing back-office management/provisioning infrastructure so that new services enabled by eDOCSIS devices can be deployed rapidly; +- to architect eDOCSIS devices in such a way as to scale to new services and applications, and to take advantage of technology innovations to achieve low cost and high functionalities. + +## 5.1 Device interface reference model + +As per Figure 5-1, an eDOCSIS device consists of an embedded cable modem (eCM) and one or more embedded service/application functional entities (eSAFEs). An eDOCSIS device may also have one or more physically exposed interfaces. In addition, only a single secured software image download is used for the entire eDOCSIS device. + +eSAFEs include: + +- ePS: embedded IPCable2Home portal services logical element [CH10]. +- eMTA: embedded IPCablecom multimedia terminal adapter [PC10-MTA] and [PC10-MIB]. + +- eSTB: embedded set-top box: An eSAFE that is compliant with [DSG], providing video, audio and data services. An example OpenCable-compliant eSTB is further specified in [HOST2.0]. +- eTEA: embedded T1/E1 TDM Emulation Adapter (eTEA) [TEI]. +- eRouter: An eSAFE that is compliant with [eRouter], providing Internet Protocol data forwarding, address configuration, and Domain Name services. + +Within an eDOCSIS device, each eSAFE interfaces to the eCM via a point-to-point logical CPE interface. + +Figure 5-2 presents a typical IPCable2Home Home Access eDOCSIS Device reference model. + +Figure 5-3 presents a logical view of protocol stacks for an eCM to ePS interface. + +Figure 5-4 presents a typical IPCablecom E-MTA eDOCSIS Device reference model. + +Figure 5-5 presents a logical view of protocol stacks for an eCM to eMTA interface. + +Figure 5-6 presents a typical OpenCable Host 2.0 eDOCSIS Device reference model where the Host provides DSG Flow, Socket Flow and IP Flow support. + +NOTE 1 – The POD module may support Socket Flow or IP Flow or both, but neither is supported simultaneously by the Host. + +Figure 5-7 presents a logical view of protocol stacks for an OpenCable Host 2.0 eCM to eSTB to POD module interface where the Host provides DSG Flow, Socket Flow and IP Flow support. + +NOTE 2 – The POD module may support Socket Flow or IP Flow or both, but neither is supported simultaneously by the Host. + +Figure 5-8 presents a typical embedded security STB eDOCSIS device reference model. + +Figure 5-9 presents a logical view of protocol stacks for an eCM to eSTB interface (embedded security STB). + +Figure 5-10 presents a typical T1/E1 TDM emulation adapter (TEA) eDOCSIS device reference model. + +Figure 5-11 presents a logical view of protocol stacks for an eCM to eTEA interface (embedded TDM emulation adapter). + +Figure 5-12 presents a typical DOCSIS eRouter eDOCSIS device reference model. + +Figure 5-13 presents a logical view of protocol stacks for an eCM to IPv4 eRouter interface. + +Figure 5-14 presents a logical view of protocol stacks for an eCM to IPv6 eRouter interface. + +![Figure 5-1: eDOCSIS reference model diagram. The diagram shows an 'eDOCSIS device' containing an 'eCM' and a 'SLED'. The 'eCM' is connected to an 'RF' input and contains 'Downstream PHY', 'Upstream PHY', 'DOCSIS MAC', 'SF Classifiers', and 'MAC Bridge and Filters'. The 'MAC Bridge and Filters' are connected to 'Logical CPE interface for PS', 'Logical CPE interface for MTA', 'Logical CPE interface for eSAFEs', and 'Physical CPE interfaces'. The 'SLED' is connected to the 'eCM' and contains 'embedded Service/Application Functional Entities' which include 'ePS', 'eMTA', and 'eSAFEs'. The 'ePS' is connected to 'Home Network (Ethernet, USB, 802.11, etc.)'. The 'eMTA' is connected to 'Phone(s) (RJ11)'. The 'eSAFEs' are connected to 'Other interfaces'. The 'Physical CPE interfaces' are connected to 'Other CPEs'. A label 'J.126(07)_F5-1' is in the bottom right corner.](4801720824e4b5e2361a5564f91cfb70_img.jpg) + +Figure 5-1: eDOCSIS reference model diagram. The diagram shows an 'eDOCSIS device' containing an 'eCM' and a 'SLED'. The 'eCM' is connected to an 'RF' input and contains 'Downstream PHY', 'Upstream PHY', 'DOCSIS MAC', 'SF Classifiers', and 'MAC Bridge and Filters'. The 'MAC Bridge and Filters' are connected to 'Logical CPE interface for PS', 'Logical CPE interface for MTA', 'Logical CPE interface for eSAFEs', and 'Physical CPE interfaces'. The 'SLED' is connected to the 'eCM' and contains 'embedded Service/Application Functional Entities' which include 'ePS', 'eMTA', and 'eSAFEs'. The 'ePS' is connected to 'Home Network (Ethernet, USB, 802.11, etc.)'. The 'eMTA' is connected to 'Phone(s) (RJ11)'. The 'eSAFEs' are connected to 'Other interfaces'. The 'Physical CPE interfaces' are connected to 'Other CPEs'. A label 'J.126(07)\_F5-1' is in the bottom right corner. + +Figure 5-1 – eDOCSIS reference model + +![Figure 5-2: IPCable2Home home access eDOCSIS device reference model diagram. The diagram shows an 'IP Cable2Home home access device' containing an 'eCM' and an 'ePS'. The 'eCM' is connected to an 'RF' input and is connected to the 'ePS' via a dotted line. The 'ePS' is connected to a 'Home network CMCI' output. A label 'J.126(07)_F5-2' is in the bottom right corner.](4ee27dbf5ef12e7b58b0ef0937bc5a5e_img.jpg) + +Figure 5-2: IPCable2Home home access eDOCSIS device reference model diagram. The diagram shows an 'IP Cable2Home home access device' containing an 'eCM' and an 'ePS'. The 'eCM' is connected to an 'RF' input and is connected to the 'ePS' via a dotted line. The 'ePS' is connected to a 'Home network CMCI' output. A label 'J.126(07)\_F5-2' is in the bottom right corner. + +Figure 5-2 – IPCable2Home home access eDOCSIS device reference model + +![Protocol stack diagram for IPCable2Home home access device showing eCM and ePS layers.](33ed1f9b27c7c21c797aa928b0f06851_img.jpg) + +The diagram illustrates the protocol stacks for the **IP Cable2Home home access device**, divided into two main components: **eCM** (Embedded Cable Modem) and **ePS** (Embedded Packet Switch). + +- eCM Stack (Left):** + - Top layer: DHCP, TFTP, ToD, SNMP + - Second layer: UDP + - Third layer: IP, ICMP, ARP (1 private IP address) + - Fourth layer: MAC mgmt, 802.2 LLC + - Fifth layer: 802.3 framing, MAC bridge and filters + - Sixth layer: DOCSIS link security + - Seventh layer: DOCSIS MAC + - Eighth layer: MPEG (d/s only) + - Ninth layer: DOCSIS PHY +- ePS Stack (Right):** + - Top layer: DHCP, TFTP, ToD, DNS, SYSLOG, SNMP, Kerb-cros + - Second layer: UDP + - Third layer: IP, ICMP, ARP (1 public/private IP address) + - Fourth layer: Firewall + - Fifth layer: MAC bridge +- Central Component:** CAT / CAPT (0 or more Public IP addresses) +- Right Stack (LAN side):** + - Top layer: DNS server, DHCP server + - Second layer: UDP + - Third layer: IP, ICMP, ARP (1 public/private address) + - Fourth layer: Firewall + - Fifth layer: MAC bridge/switch + - Sixth layer: Home LAN data link(s) + - Seventh layer: Home LAN PHY(s) +- Interfaces:** + - RF:** Radio Frequency interface on the far left. + - Logical CPE interface:** A bidirectional arrow between the eCM's 802.3 framing layer and the ePS's MAC bridge. + - Home network(s):** Connection point on the far right. + +J.126(07)\_F5-3 + +Protocol stack diagram for IPCable2Home home access device showing eCM and ePS layers. + +**Figure 5-3 – eCM-ePS protocol stacks** + +![Block diagram of IPCablecom E-MTA/DOCSIS CM showing eCM, eMTA, RF, RJ11(s), and CMCI interfaces.](724c7777b608e53be38b12b6fb3c43bc_img.jpg) + +The diagram shows the **IP Cablecom E-MTA/DOCSIS CM** block diagram. It consists of two main internal components: **eCM** and **eMTA**, connected by a dashed line. + +- RF:** Radio Frequency input on the left side. +- eCM:** Embedded Cable Modem component. +- eMTA:** Embedded Media Terminal Adapter component. +- RJ11(s):** Output interface on the right side. +- CMCI:** Cable Modem Control Interface, shown as a line connecting the bottom of the eCM/eMTA block to the external environment. + +J.126(07)\_F5-4 + +Block diagram of IPCablecom E-MTA/DOCSIS CM showing eCM, eMTA, RF, RJ11(s), and CMCI interfaces. + +**Figure 5-4 – IPCablecom E-MTA (with DOCSIS CM) +eDOCSIS reference model** + +![](fa859e4e468bfb2710a94527f2c504af_img.jpg) + +**IP Cablecom E-MTA device** + +| eCM | | | | eMTA | | | | | | +|---------------------------------------|------|-----|------|---------------------------------------------|------|------------------------------------|----------------|----------|----------------------| +| DHCP | TFTP | ToD | SNMP | NCS | SNMP | DHCP, TFTP,
NTP, DNS,
SYSLOG | Kerb-
beros | RTP/RTCP | | +| UDP | | | | UDP/TCP (RSVP+) | | | | | MTA0

CODEC(s) | +| IP, ICMP, ARP
1 private IP address | | | | IP, ICMP, ARP, IPSEC
1 public IP address | | | | | | +| MAC mgmt
802.2 LLC | | | | MAC/LLC | | | | | | +| 802.3 framing | | | | MAC bridge
and filters | | | | | TR909 | +| DOCSIS link
security | | | | | | | | | | +| DOCSIS MAC | | | | | | | | | | +| MPEG (d/s only) | | | | | | | | | | +| DOCSIS PHY | | | | | | | | | | + +Logical CPE interface + +RF + +RJ11 + POTS + +J.126(07)\_F5-5 + +**Figure 5-5 – eCM-eMTA protocol stacks** + +![](0f985b39edc1d52ba3600c438bc8f0a5_img.jpg) + +**OpenCable Host 2.0 STB/DOCSIS CM** + +RF + +eCM +eSTB + +A/V + +J.126(07)\_F5-6 + +CableCard + +**Figure 5-6 – OpenCable Host 2.0 eDOCSIS reference model** + +![Figure 5-7: eCM-eSTB protocol stacks – OpenCable Host 2.0 – Unicast IP flow. This diagram shows the protocol stacks for an eCM (Embedded Cable Modem) and a Host/eSTB (Embedded STB). The eCM stack includes layers for Prov/Mgmt Apps, UDP, IP, ICMP, ARP (1 address only), 802.2 LLC, 802.3 Framing, MAC bridge and filters, DOCSIS Link Security, DOCSIS MAC with DSG Support, MPEG (d/s only), and DOCSIS PHY. The Host/eSTB stack includes Prov/Mgmt Apps, OCAP Apps, Card IP Sockets Flow Support, TCP/UDP, IP, ICMP, ARP, eSTB MAC (802.2 LLC), DSG Support, CARD MAC (802.2 LLC), and CARD IP Flow Support. A MAC bridge is shown between the eCM and Host/eSTB. Below the Host/eSTB is a CHI (Cable Home Interface) block containing OpenCable CableCARD IF & Control, IP, TCP and/or UDP**, Other, and DSG Client. Arrows indicate various data flows: DSG Ex. Channel (red dashed), IP Ex. Channel (red solid), Ethernet/IP (black solid), CCIF APDUs (blue dashed), and DSG (black dashed).](8fbdfc3d17fb1dae7b2d8f5a287fa9fc_img.jpg) + +Figure 5-7: eCM-eSTB protocol stacks – OpenCable Host 2.0 – Unicast IP flow. This diagram shows the protocol stacks for an eCM (Embedded Cable Modem) and a Host/eSTB (Embedded STB). The eCM stack includes layers for Prov/Mgmt Apps, UDP, IP, ICMP, ARP (1 address only), 802.2 LLC, 802.3 Framing, MAC bridge and filters, DOCSIS Link Security, DOCSIS MAC with DSG Support, MPEG (d/s only), and DOCSIS PHY. The Host/eSTB stack includes Prov/Mgmt Apps, OCAP Apps, Card IP Sockets Flow Support, TCP/UDP, IP, ICMP, ARP, eSTB MAC (802.2 LLC), DSG Support, CARD MAC (802.2 LLC), and CARD IP Flow Support. A MAC bridge is shown between the eCM and Host/eSTB. Below the Host/eSTB is a CHI (Cable Home Interface) block containing OpenCable CableCARD IF & Control, IP, TCP and/or UDP\*\*, Other, and DSG Client. Arrows indicate various data flows: DSG Ex. Channel (red dashed), IP Ex. Channel (red solid), Ethernet/IP (black solid), CCIF APDUs (blue dashed), and DSG (black dashed). + +\* Prov/Mgmt Apps include: DHCP, TFTP, DNS, SNMP, ToD, etc., as dictated by the relevant specification. + +\*\* CableLabs places no requirements on the TCP/UDP layer of the CableCARD as such, the actual inclusion of the said protocols is at the discretion of the CableCARD provider. + +J.126(07)\_F5-7 + +**Figure 5-7 – eCM-eSTB protocol stacks – OpenCable Host 2.0 – Unicast IP flow** + +![Figure 5-8: Embedded security STB eDOCSIS reference model. This diagram shows a reference model for an Embedded security STB. It features an 'Embedded security STB/DOCSIS CM' block containing an 'eCM' and an 'eSTB' with 'Embedded security'. The eCM is connected to an 'RF' input and a 'CMCI' output. The eSTB is connected to an 'A/V' output. There is a bidirectional connection between the eCM and the eSTB.](33a8f3f01dfa8bce75d23017855a13c5_img.jpg) + +Figure 5-8: Embedded security STB eDOCSIS reference model. This diagram shows a reference model for an Embedded security STB. It features an 'Embedded security STB/DOCSIS CM' block containing an 'eCM' and an 'eSTB' with 'Embedded security'. The eCM is connected to an 'RF' input and a 'CMCI' output. The eSTB is connected to an 'A/V' output. There is a bidirectional connection between the eCM and the eSTB. + +J.126(07)\_F5-8 + +**Figure 5-8 – Embedded security STB eDOCSIS reference model** + +![Protocol stack diagram for Embedded security STB showing eCM and eSTB layers.](76b0cd79baaedd942af4dc42f2e764b8_img.jpg) + +The diagram illustrates the protocol stacks for an Embedded security STB, divided into two main components: eCM and eSTB, connected by logical CPE interfaces. + +**eCM Stack (Left):** + +- Top layer: DHCP, TFTP, ToD, SNMP +- Second layer: UDP +- Third layer: IP, ICMP, ARP (1 IP address only) +- Fourth layer: 802.2 LLC +- Fifth layer: 802.3 framing, MAC bridge and filters +- Sixth layer: DOCSIS link security +- Seventh layer: DOCSIS MAC with DSG support +- Eighth layer: MPEG (d/s only) +- Ninth layer: DOCSIS PHY +- Bottom: RF interface + +**eSTB Stack (Right):** + +- Top layer: DHCP/TFTP/DNS, SNMP, others, DSG +- Second layer: UDP/TCP +- Third layer: IP, ICMP, ARP (1 IP address only) +- Fourth layer: 802.2 LLC + +**Connections:** + +- A dashed double-headed arrow labeled "Logical CPE interfaces" connects the MAC bridge and filters in the eCM stack to the 802.2 LLC layer in the eSTB stack. +- The RF interface at the bottom of the eCM stack is connected to an external RF source. + +J.126(07)\_F5-9 + +Protocol stack diagram for Embedded security STB showing eCM and eSTB layers. + +**Figure 5-9 – eCM-eSTB protocol stacks – Embedded security STB** + +![BSOD eTEA (with DOCSIS CM) eDOCSIS reference model diagram.](dfe556fea00682b09a59427aaf72051c_img.jpg) + +The diagram shows the BSoD eTEA (with DOCSIS CM) eDOCSIS reference model. It features a central block labeled "BSoD E-TEA/DOCSIS CM" containing two sub-components: "eCM" and "TEA". + +- The "eCM" component is connected to an external "RF" interface on its left. +- A dashed line connects the "eCM" component to the "TEA" component. +- The "TEA" component is connected to two external "TDM interfaces" on its right. +- A "CMCI" interface is shown at the bottom, connected to the "eCM" component. + +J.126(07)\_F5-10 + +BSOD eTEA (with DOCSIS CM) eDOCSIS reference model diagram. + +**Figure 5-10 – BSoD eTEA (with DOCSIS CM) eDOCSIS reference model** + +![Figure 5-11: eCM-eTEA protocol stacks diagram. It shows two protocol stacks, eCM and eTEA, within a BSoD E-TEA device. The eCM stack includes DHCP, TFTP, ToD, SNMP, UDP, IP/ICMP/ARP with a private IP address, MAC mgmt, 802.2 LLC, 802.3 framing, MAC bridge and filters, DOCSIS link security, DOCSIS MAC, MPEG (d/s only), and DOCSIS PHY. The eTEA stack includes SNMP, DHCP/TFTP, RTP, UDP, IP/ICMP/ARP/IPSEC with a public IP address, and MAC/LLC. A 'Logical CPE interface: bridge port' connects the two stacks. The eCM stack connects to an RF interface, and the eTEA stack connects through an IWF Framer LIU and a TDM I/F to a T1/E1 interface. Reference J.126(07)_F5-11 is noted.](9c6461e1e94afae4dec455e69a2ce152_img.jpg) + +Figure 5-11: eCM-eTEA protocol stacks diagram. It shows two protocol stacks, eCM and eTEA, within a BSoD E-TEA device. The eCM stack includes DHCP, TFTP, ToD, SNMP, UDP, IP/ICMP/ARP with a private IP address, MAC mgmt, 802.2 LLC, 802.3 framing, MAC bridge and filters, DOCSIS link security, DOCSIS MAC, MPEG (d/s only), and DOCSIS PHY. The eTEA stack includes SNMP, DHCP/TFTP, RTP, UDP, IP/ICMP/ARP/IPSEC with a public IP address, and MAC/LLC. A 'Logical CPE interface: bridge port' connects the two stacks. The eCM stack connects to an RF interface, and the eTEA stack connects through an IWF Framer LIU and a TDM I/F to a T1/E1 interface. Reference J.126(07)\_F5-11 is noted. + +Figure 5-11 – eCM-eTEA protocol stacks + +![Figure 5-12: DOCSIS eRouter eDOCSIS device reference model diagram. It shows a DOCSIS eRouter device containing an eCM and an eRouter connected by a dotted line. The eCM is connected to an RF interface on the left, and the eRouter is connected to a Home network CMCI on the right. Reference J.126(07)_F5-12 is noted.](2b3a967f6ce4f23649be995a353e39f8_img.jpg) + +Figure 5-12: DOCSIS eRouter eDOCSIS device reference model diagram. It shows a DOCSIS eRouter device containing an eCM and an eRouter connected by a dotted line. The eCM is connected to an RF interface on the left, and the eRouter is connected to a Home network CMCI on the right. Reference J.126(07)\_F5-12 is noted. + +Figure 5-12 – DOCSIS eRouter eDOCSIS device reference model + +![Figure 5-13: DOCSIS IPv4 eRouter eDOCSIS device reference model. This diagram shows the internal architecture of a DOCSIS eRouter eDOCSIS device. On the left, the eCM (Embedded Cable Modem) stack includes layers for DHCP, TFTP, ToD, and SNMP; UDP; IP, ICMP, and ARP with one private IP address; MAC Management and 802.2 LLC; 802.3 framing; MAC bridge and filters; DOCSIS link security; MPEG (downstream only); and DOCSIS PHY. The eCM connects via an RF interface. The central part is the IPv4 eRouter, which contains a DHCPv4 client, SNMP, and DNS components at the top. Below these are UDP and ICMPv4 layers. The IPv4 layer includes one IP address, a NAPT (Network Address Translation) component for 0 or 1 public IP address, and another IPv4 layer with one private IP address. ARP is shown on both sides of the NAPT. The IPv4 eRouter connects to a central MAC bridge via an Operator-facing interface. The MAC bridge connects to a MAC bridge/switch via a Customer-facing interface. The MAC bridge/switch is connected to Home LAN data link(s) and Home LAN data PHY(s), which in turn connect to Home network(s). The IPv4 eRouter also includes a DHCPv4 server and a Customer-facing management interface.](b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg) + +Figure 5-13: DOCSIS IPv4 eRouter eDOCSIS device reference model. This diagram shows the internal architecture of a DOCSIS eRouter eDOCSIS device. On the left, the eCM (Embedded Cable Modem) stack includes layers for DHCP, TFTP, ToD, and SNMP; UDP; IP, ICMP, and ARP with one private IP address; MAC Management and 802.2 LLC; 802.3 framing; MAC bridge and filters; DOCSIS link security; MPEG (downstream only); and DOCSIS PHY. The eCM connects via an RF interface. The central part is the IPv4 eRouter, which contains a DHCPv4 client, SNMP, and DNS components at the top. Below these are UDP and ICMPv4 layers. The IPv4 layer includes one IP address, a NAPT (Network Address Translation) component for 0 or 1 public IP address, and another IPv4 layer with one private IP address. ARP is shown on both sides of the NAPT. The IPv4 eRouter connects to a central MAC bridge via an Operator-facing interface. The MAC bridge connects to a MAC bridge/switch via a Customer-facing interface. The MAC bridge/switch is connected to Home LAN data link(s) and Home LAN data PHY(s), which in turn connect to Home network(s). The IPv4 eRouter also includes a DHCPv4 server and a Customer-facing management interface. + +Figure 5-13 – DOCSIS IPv4 eRouter eDOCSIS device reference model + +![Figure 5-14: DOCSIS IPv6 eRouter eDOCSIS device reference model. This diagram shows the internal architecture of a DOCSIS eRouter eDOCSIS device for IPv6. The eCM stack on the left is identical to the IPv4 model. The central part is the IPv6 eRouter, which contains DHCPv6 client, SNMP, IGMPv3, and DNS components at the top. Below these are UDP, ND (Neighbor Discovery), DAD (Duplicate Address Detection), and ICMPv6 layers. The IPv6 layer includes one IP address, an IPv6 router component, and another IPv6 layer with one IP address. The IPv6 eRouter connects to a central MAC bridge via an Operator-facing interface. The MAC bridge connects to a MAC bridge/switch via a Customer-facing interface. The MAC bridge/switch is connected to Home LAN data link(s) and Home LAN data PHY(s), which in turn connect to Home network(s). The IPv6 eRouter also includes a DHCPv6 server and a Customer-facing management interface.](5445597cceefaca1ac89e710fe339325_img.jpg) + +Figure 5-14: DOCSIS IPv6 eRouter eDOCSIS device reference model. This diagram shows the internal architecture of a DOCSIS eRouter eDOCSIS device for IPv6. The eCM stack on the left is identical to the IPv4 model. The central part is the IPv6 eRouter, which contains DHCPv6 client, SNMP, IGMPv3, and DNS components at the top. Below these are UDP, ND (Neighbor Discovery), DAD (Duplicate Address Detection), and ICMPv6 layers. The IPv6 layer includes one IP address, an IPv6 router component, and another IPv6 layer with one IP address. The IPv6 eRouter connects to a central MAC bridge via an Operator-facing interface. The MAC bridge connects to a MAC bridge/switch via a Customer-facing interface. The MAC bridge/switch is connected to Home LAN data link(s) and Home LAN data PHY(s), which in turn connect to Home network(s). The IPv6 eRouter also includes a DHCPv6 server and a Customer-facing management interface. + +Figure 5-14 – DOCSIS IPv6 eRouter eDOCSIS device reference model + +## 5.2 eDOCSIS requirements + +### 5.2.1 General requirements + +The eCM will provide an SNMP agent which is logically separated from any SNMP agent provided by an eSAFE. + +Except for MIB objects that are explicitly allowed to be shared, the CableModem-specified MIBs MUST only be accessible through the Management IP address of the eCM. The eSAFE-specified MIBs MUST NOT be accessible through the Management IP address of the eCM. + +The MIB objects that MAY be shared are: + +- An eDOCSIS device MAY share MIB objects from [IETF RFC 3418]. As an exception, the eDOCSIS device MUST share the sysDescr MIB object1 and report its value as defined in DOCSIS OSS. +- An eDOCSIS device MAY share MIB objects from UDP-MIB and IP-MIB. However, the eDOCSIS device MUST not share MIB objects from IP-MIB that define per-interface management information (e.g., ipNetToMediaTable or IpNetToPhysicalTable; see clause 5.2.3.2). +- An eDOCSIS device MAY share MIB objects rooted under snmpV2 [IETF RFC 2578]. + +The eCM MUST act as an entity distinct from, and MUST have logical CPE interfaces to, the eSAFEs. + +All messages coming from the DOCSIS data network (labelled RF in the diagrams) destined for eSAFEs MUST be processed through the eCM first. + +The eCM MUST be the only interface to the DOCSIS data network. + +In addition, only a single secured software image download MUST be used for the entire eDOCSIS device and it MUST be controlled by the eCM. + +For an eDOCSIS device containing an eSTB, the eCM MUST implement DSG client support functionality including one-way DOCSIS and DCD MAC message as specified in DSG. + +An eDOCSIS device MUST NOT implement both an ePS and an eRouter simultaneously. + +An eCM MUST meet the requirements of an equivalent stand-alone cable modem as specified in the applicable CableModem Base Specifications. In case any requirement in this Recommendation conflicts with a requirement in the CableModem Base Specifications, the requirement in this Recommendation takes precedence for any eDOCSIS device. + +### 5.2.2 Interface requirements + +The bridging function between RF port and the CPE interfaces (logical or physical) MUST be equivalent to that of a multi-port learning bridge. Each CPE interface MUST comply with the CM Forwarding Rules defined in [DOCSIS-RFI]. In particular: + +- MAC addresses of each eSAFE MUST be counted toward the total allowed by the Maximum Number of CPEs configuration setting. + +Note that an OpenCable Host STB, where the POD module opens an IP Flow, will have at least 2 MAC addresses, one for the eSTB and one for the POD module. In this case, both MAC Addresses are counted toward the total allowed by the Maximum Number of CPEs configuration setting. + +- The DSG tunnel MAC addresses associated with ifIndex=18 MUST NOT be counted in the MaxCPE count of the eCM configuration file. +- Packet forwarding and filtering rules defined in [DOCSIS-RFI] specification MUST apply to both logical and physical interfaces to eSAFE as defined in this Recommendation and in [DOCSIS-OSSI]. + +--- + +1 In order to associate one unique image to an eDOCSIS device, the sysDescr MIB value is shared among eCM and eSAFEs. This is defined with the purpose of providing a mechanism to properly associate a firmware image with the eDevice vendor name and hardware model. + +- Data forwarding through the interfaces to all eSAFEs with the exception of the interface to the DSG Client (ifIndex 18) MUST obey the Network Access Control Object as defined in [DOCSIS-RFI]. NACO state does not affect the forwarding of DSG traffic (through ifIndex 18) in an eDOCSIS device containing an eSTB. + +### 5.2.3 Operations support requirements + +#### 5.2.3.1 ifTable requirements + +The eCM MUST represent the logical interface to each eSAFE with an entry in the ifTable with ifType other(1) as described in [DOCSIS-OSSI] and as detailed below. + +If the eCM is embedded into a device which contains an active (i.e., not disabled) ePS, or an eRouter, then: + +- the eCM MUST use ifIndex 1 (the Primary CPE interface) to represent the logical interface between the eCM and the ePS or between the eCM and the eRouter; +- the eCM MUST NOT report in the ifTable the physically exposed interfaces associated with the ePS or with the eRouter; +- the eCM MUST NOT report the MIB Module extensions associated with ePS or eRouter interfaces exposed to customer premises (e.g., EtherLike-MIB and USB-MIB). + +If the eCM is embedded into a device that contains an eRouter that is disabled, the eCM MUST report in the eCM's ifTable the physical CPE interfaces that would be associated with the eRouter if the eRouter was not disabled. + +NOTE – The ifIndex range allowed for CPE interfaces is described in Table 5-1. + +If the eCM is embedded into a device which contains an eMTA, then: + +- the eCM MUST use ifIndex 16 to represent the logical interface between the eCM and the eMTA; +- the eCM MUST NOT report in the ifTable the MTA endpoints (ifType = 198). + +If the CM is embedded into a device which contains an eSTB, then: + +- The eCM MUST use ifIndex 17 to represent the logical interface between the eCM and the eSTB for the interactive IP traffic. +- The eCM MUST use ifIndex 18 to represent the logical interface between the eCM and the eSTB for the one-way DSG tunnel traffic. +- The eCM MUST NOT report in the ifTable any other interfaces on the eSTB (such as POD module, DSG Clients, and A/V interfaces, etc.) which are not directly and physically connected to the eCM. + +If the eCM is embedded into a device which contains an eTEA, then: + +- The eCM MUST use ifIndex 19 to represent the logical interface between the eCM and the eTEA. +- The eCM MUST NOT report in the ifTable the eTEA interfaces (ifType = ds1(18), ds0Bundle(82), etc.). + +The ifXTable MUST be supported in accordance with [IETF RFC 2863]. The default value of ifLinkUpDownTrapEnable MUST be enabled(1) for logical interfaces to eSAFEs. + +The ifStackTable MUST be supported in accordance with [IETF RFC 2863]. The logical interface to an eSAFE MUST NOT contain any sub-layers. + +Table 5-1 summarizes the eCM assignment of ifIndexes to its connected interfaces. Table 5-2 defines the details of the ifTable entries that MUST be supported by ePS, eRouter, eMTA, eSTB, and eTEA. + +**Table 5-1 – eDOCSIS ifTable interface designations** + +| Interface | Type | +|-----------|---------------------------------------------------------------------------------------------------------------------| +| 1 | Primary CPE interface (IPCable2Home ePS WAN interface or eRouter Operator-Facing Interface, when eRouter is enable) | +| 2 | CATV-MAC | +| 3 | RF-downstream channel | +| 4 | RF-upstream channel | +| 5-15 | Other CPE interfaces | +| 16 | Reserved for IPCablecom/eMTA | +| 17 | Reserved for eSTB-IP | +| 18 | Reserved for eSTB-DSG | +| 19 | Reserved for eTEA | +| 20-31 | Reserved for other eDOCSIS interfaces | + +An eDOCSIS compliant eCM can have zero, one or multiple CPE interfaces, as well as interfaces to one or multiple eSAFEs. When multiple CPE interfaces are present, if filter(s) (IP, LLC, or NmAccess) are applied to the eCM's "Primary CPE Interface" (ifIndex 1), the eCM MUST also apply the same filter(s) to its "Other CPE Interfaces" (ifIndexes 5 through 15). Moreover, filters are never used to limit traffic between the CPE interfaces ("Primary CPE Interface" and "Other CPE Interfaces") within the eCM. However, if IP, LLC, or NmAccess filters are applied to the eCM's "Primary CPE Interface" (ifIndex 1), the eCM MUST NOT apply these filters to ifIndex 16 through 31, which are reserved as interfaces to eSAFEs. + +The above defined mechanism provides granular, independent control of filters applied to the CPE interfaces versus those applied to the interface to each eSAFE. In addition, the eCM MUST have the ability to filter traffic at a particular interface to an eSAFE, regardless of the origination point of that traffic. This granular filter control provides the ability for the eCM to filter traffic sourced by one eSAFE that is destined to another eSAFE within the same device. + +**Table 5-2 – [IETF RFC 2863] ifTable, MIB-Object details for eDOCSIS device interfaces** + +| RFC 2863 MIB-Object details for eCM-eSAFE Interfaces | ePS or eRouter | eMTA | eSTB | | eTEA | +|-------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|----------------------------------|-------------------------------------|--------------------------------------|-------------------------------| +| | | | eSTB-IP | eSTB-DSG | | +| ifIndex | 1 | 16 | 17 | 18 | 19 | +| ifDescr: MUST match the text | "CableHome Embedded Interface" for the ePS, or "eRouter Embedded Interface" for the eRouter | "PacketCable Embedded Interface" | "Set-Top Box Embedded IP Interface" | "Set-Top Box Embedded DSG Interface" | "BSOD Embedded TEA Interface" | +| ifType | other(1) | other(1) | other (1) | other (1) | other(1) | +| ifMtu | 0 | 0 | 0 | 0 | 0 | +| ifSpeed | 0 | 0 | 0 | 0 | 0 | +| ifPhysAddress | | | | | | +| ifAdminStatus: Only up/down controls are required for this interface. Other values are optional | up(1), down(2) | up(1), down(2) | up(1), down(2) | up(1), down(2) | up(1), down(2) | +| ifOperStatus: Only up/down controls are required for this interface. Other values are optional | up(1), down(2) | up(1), down(2) | up(1), down(2) | up(1), down(2) | up(1), down(2) | +| ifLastChange | | | | | | +| ifInOctets | (n) | (n) | (n) | Deprecated | (n) | +| ifInUCastPkts | (n) | (n) | (n) | Deprecated | (n) | +| ifInNUCastPkts | Deprecated | Deprecated | Deprecated | Deprecated | Deprecated | +| ifInDiscards | 0 | 0 | 0 | 0 | 0 | +| ifInErrors | 0 | 0 | 0 | 0 | 0 | +| ifUnknownProtos | 0 | 0 | 0 | 0 | 0 | +| ifOutOctets | (n) | (n) | (n) | (n) | (n) | +| ifOutUCastPkts | (n) | (n) | (n) | (n) | (n) | +| ifOutNUCastPkts | Deprecated | Deprecated | Deprecated | Deprecated | Deprecated | +| ifOutDiscards | 0 | 0 | 0 | 0 | 0 | +| ifOutErrors | 0 | 0 | 0 | 0 | 0 | +| ifOutQlen | Deprecated | Deprecated | Deprecated | Deprecated | Deprecated | +| ifSpecific | Deprecated | Deprecated | Deprecated | Deprecated | Deprecated | + +#### 5.2.3.2 ipNetToMediaTable requirements + +Table 5-3 shows the details of the ipNetToMediaTable entries that MUST be supported by an ePS and eMTA. + +**Table 5-3 – [IETF RFC 2011] ipNetToMedia MIB-Object details for eDOCSIS device interfaces** + +| RFC 2011 MIB-Object details for eCM-eSAFE interfaces | ePS | eMTA | eSTB-IP | eTEA | +|-------------------------------------------------------------|-------------------------------------------------|---------------------------------------------|------------------------------------------------|------------------------------------------------| +| ipNetToMediaIfIndex | 1 | 16 | 17 | 19 | +| ipNetToMediaPhysAddress | WAN-Man MAC Address | MTA MAC Address | STB MAC Address | TEA MAC Address | +| ipNetToMediaNetAddress | WAN-Man Address, if acquired; otherwise 0.0.0.0 | MTA Address, if acquired; otherwise 0.0.0.0 | STB IP Address, if acquired; otherwise 0.0.0.0 | TEA IP Address, if acquired; otherwise 0.0.0.0 | +| ipNetToMediaType | static(4) | static(4) | static(4) | static(4) | + +If implemented in an eDOCSIS device, eSAFE elements ePS, eMTA, eSTB, and/or eTEA SHOULD support the ipNetToPhysicalTable [IETF RFC 4293] as described in Table 5-4. The eRouter MUST support the ipNetToPhysicalTable [IETF RFC 4293] as described in Table 5-4. + +**Table 5-4 – ipNetToPhysical MIB-Object details for eDOCSIS device interfaces** + +| MIB Object Name | ePS or eRouter | eMTA | eSTB-IP | eTEA | +|-------------------------------|------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------|-------------------------------------------------------------|-------------------------------------------------------------| +| ipNetToPhysicalIfIndex | 1 | 16 | 17 | 19 | +| ipNetToPhysicalPhysAddress | WAN-Man MAC Address for the ePS or operator-facing interface MAC Address for the eRouter | MTA MAC Address | STB MAC Address | TEA MAC Address | +| ipNetToPhysicalNetAddressType | ipv4(1) or ipv6(2), as applicable | ipv4(1) or ipv6(2), as applicable | ipv4(1) or ipv6(2), as applicable | ipv4(1) or ipv6(2), as applicable | +| ipNetToPhysicalNetAddress | WAN-Man IP Address for the ePS, or eRouter operator-facing interface IP address, if acquired; otherwise a zero-length string | MTA IP Address, if acquired; otherwise a zero-length string | STB IP Address, if acquired; otherwise a zero-length string | TEA IP Address, if acquired; otherwise a zero-length string | +| ipNetToPhysicalLastUpdated | | | | | +| ipNetToPhysicalType | static(4) | static(4) | static(4) | static(4) | +| ipNetToPhysicalState | | | | | +| ipNetToPhysicalRowStatus | 'active' | 'active' | 'active' | 'active' | + +#### 5.2.3.3 IETF RFC 1493 requirements + +The eCM MUST add ports associated with eSAFEs to its [IETF RFC 1493] dot1dBasePortTable. + +The eCM MUST support all bridge statistics of the [IETF RFC 1493] dot1dTpPortTable for all ports associated with eSAFEs. + +The eCM MUST create a row entry in its dot1dTpFdbTable for each active eSAFE MAC address within the eDOCSIS device. Note that an eSAFE could have more than one active MAC address. In the case of an eCM embedded into a device that contains an OpenCable Host, both the Host and the POD module could have active MAC addresses. + +Within each dot1dTpFdbTable entry for an eSAFE, the dot1dTpFdbAddress value MUST be the corresponding eSAFE MAC address, the dot1dTpFdbPort value MUST be the port associated with the ifIndex of that eSAFE from the dot1dBasePortTable, and the dot1dTpFdbStatus value MUST be mgmt(5). The eCM MUST prevent row entries for eSAFEs from being aged-out or overwritten. + +##### 5.2.3.3.1 IETF RFC 1493 requirements for the eSTB + +An eDOCSIS device containing an eSTB MUST implement the objects from the [IETF RFC 1493] dot1dStaticTable with a MAX-ACCESS of read-only. + +In an eDOCSIS device containing an eSTB, the eCM will acquire the DSG MAC addresses from the eSTB in an implementation-dependent manner. For each DSG MAC address acquired by the eCM, the eCM MUST create a corresponding row entry in the dot1dStaticTable. + +For a dot1dStaticTable row entry for a DSG MAC address, the dot1dStaticAddress value MUST be the DSG MAC address, the dot1dStaticReceivePort value MUST be the port associated with ifIndex 2 (CATV-MAC interface) from the dot1dBasePortTable, the dot1dStaticAllowedToGoTo value MUST be the port associated with the ifIndex 18 (interface to the DSG Client of the eSTB) from the dot1dBasePortTable, and the dot1dStaticStatus value MUST be deleteOnReset(4). + +**Table 5-5 – dot1dStaticTable entries for DSG MAC addresses** + +| MIB object | Value | +|--------------------------|-------------------------------------------------------| +| dot1dStaticAddress | DSG MAC Address | +| dot1dStaticReceivePort | port associated with ifIndex 2 in dot1dBasePortTable | +| dot1dStaticAllowedToGoTo | port associated with ifIndex 18 in dot1dBasePortTable | +| dot1dStaticStatus | deleteOnReset(4) | + +Each row entry in the dot1dStaticTable describes a bridging rule in which the eCM only bridges a frame with a destination address of the value of dot1dStaticAddress – that is received from the port represented by the value of dot1dStaticReceivePort – if the frame is to be bridged out a port included in the value of dot1dStaticAllowedToGoTo. + +An eCM MUST NOT bridge a frame having a destination address equal to an active DSG MAC address if that frame was received from any port other than the one associated with ifIndex 2 (CATV-MAC). + +An eCM MUST NOT bridge a frame having a destination address equal to an active DSG MAC address to any port other than the one associated with ifIndex 18 (the interface to the DSG Client of the eSTB). + +If a CPE MAC address is acquired by the eCM via the eCM Configuration File or via the address learning process, and the eCM is later informed that the same address is a DSG tunnel MAC address, the eCM SHOULD remove the DSG tunnel MAC address from its list of acquired CPE MAC addresses. + +Also, the eCM SHOULD NOT populate a CPE MAC address from the eCM Configuration File into its list of acquired CPE MAC addresses if that MAC address matches that of a DSG tunnel MAC address already established via DSG operation. + +##### 5.2.3.3.2 IETF RFC 1493 requirements for the eTEA + +An eCM MUST NOT bridge a frame having a destination address equal to an active eTEA MAC address if that frame was received from any port other than the one associated with ifIndex 19. + +An eCM MUST NOT bridge a frame having a destination address equal to an active eTEA MAC address to any port other than the one associated with ifIndex 19 (the interface to the eTEA). + +If a CPE MAC address is acquired by the eCM via the eCM Configuration File or via the address learning process, and the eCM is later informed that the same address is an eTEA MAC address, the eCM SHOULD remove the eTEA MAC address from its list of acquired CPE MAC addresses. + +#### **5.2.3.4 Battery backup UPS MIB requirements** + +eSAFE specifications can require support for the Battery Backup UPS MIB, if Battery Backup is supported in the containing eDOCSIS device. For more information, please refer to the Battery Backup MIB specification [BB]. + +For an eDOCSIS device meeting the requirements specified in [BB], the eCM MUST implement the Battery Backup UPS MIB specified in [BB]. + +### **5.2.4 DHCP option 43 syntax requirements** + +In order to facilitate device provisioning, all eDOCSIS devices operating with IPv4 will use DHCP [IETF RFC 2131] Option 43 during registration process for providing vendor class identification, embedded component and vendor specific capability enumerations. Requirements in this clause apply only to cable modems operating with IPv4 and do not apply to cable modems not operating with an IPv4 protocol stack, such as a DOCSIS 3.0 or greater cable modem operating with only an IPv6 protocol stack. + +#### **5.2.4.1 General requirements** + +Each eCM DHCP DISCOVER and DHCP REQUEST MUST use option 43 and its sub-options 2 through 10 for vendor-specific information to identify embedded components as specified in Table 5-6. + +Similarly, each eSAFE MAY issue its own DHCP DISCOVER and DHCP REQUEST with Option 43 after eCM has been successfully registered and operational; details are specified in each eSAFE's specification. + +#### **5.2.4.2 DHCP option 43 syntax** + +DHCP option 43 provides device specific information through the use of sub-options. Sub-options 1 through 10 are specified by this Recommendation, sub-options 11-127 are reserved for future definition, and sub-options 128 and above are reserved for vendor use. + +The eCM MUST implement the vendor-specific information option (DHCP option 43) as specified in Table 5-6. Details of DHCP option 43 and its sub-options for eDOCSIS are further defined below. The definitions of DHCP option 43 sub-options MUST conform to requirements imposed by [IETF RFC 2132]. + +The option begins with a type octet with the value of number 43, followed by a length octet. The length octet is followed by the number of octets of data equal to the value of the length octet. The value of the length octet does not include the two octets specifying the tag and length. + +DHCP option 43 in eDOCSIS is a compound option. The content of option 43 is composed of one or more sub-options. Supported DHCP option 43 sub-options in eDOCSIS is in the range 1-254. A sub-option begins with a tag octet containing the sub-option code, followed by a length octet which indicates the total number of octets of data. The value of the length octet does not include itself or the tag octet. The length octet is followed by "length" octets of sub-option data. + +#### **5.2.4.3 DHCP option 43 sub-option encoding** + +The encoding of each option 43 sub-option is defined below. See Table 5-6 for the intended purpose of each sub-option. + +The eCM MAY include option 43 sub-option 1 in DHCP DISCOVER and DHCP REQUEST messages. If DHCP option 43 sub-option 1 is included in these DHCP client messages, the eCM MUST encode this sub-option by the number of octets equal to the value of the length octet of this + +sub-option, with each octet codifying a requested sub-option. If the length octet of this sub-option is 0 (because there are no requested sub-options), this sub-option SHOULD be omitted from DHCP option 43. The eCM MUST encode each of the DHCP option 43 sub-options 2, 3, 4, 5, 6, 7, 8, 9 and 10 as a character string consisting of characters from the NVT ASCII character set, with no terminating NULL. + +An eCM MUST send DHCP option 43 sub-option 2 containing the character string "ECM" (without the quotation marks). + +An eCM MUST send DHCP option 43 sub-option 3 containing a colon-separated list of all eSAFE types in the eDOCSIS device, including at a minimum the colon-separated character string "ECM:" (without the quotation marks). + +Defined eSAFEs are: "EPS" for IPCable2Home embedded Portal Services Element, "EMTA" for IPCablecom embedded MTA, "ESTB" for embedded set-top box, and "ETEA" for embedded TDM emulation adapter. + +An eCM MUST send DHCP option 43 sub-option 4 containing the device serial number as in MIB object docsDevSerialNumber. + +An eCM MUST send DHCP option 43 sub-option 5 containing the Hardware version number, identical to the value as reported in field in MIB object sysDescr. + +An eCM MUST send DHCP option 43 sub-option 6 containing the Software version number, identical to the value as reported in field in MIB object sysDescr. + +An eCM MUST send DHCP option 43 sub-option 7 containing the Boot ROM version number, identical to the value as reported in field in MIB object sysDescr. + +An eCM MUST send DHCP option 43 sub-option 8 containing a 6-octet, hexadecimally-encoded, vendor-specific organization unique identifier (OUI) that uniquely identifies the eCM manufacturer. A vendor MAY use the same OUI as in the eCM's MAC address, and MAY use a single OUI to identify all its eDOCSIS products. + +An eCM MUST send DHCP option 43 sub-option 9 containing the Model number, identical to the value as reported in field in MIB object sysDescr. + +An eCM MUST send DHCP option 43 sub-option 10 containing the Vendor name, identical to the value as reported in field in MIB object sysDescr. + +If an eCM is embedded with one or more eSAFEs that utilize eCM Config File Encapsulation, the eCM MUST send DHCP option 43 sub-option 15 containing the list of eSAFEs that support this feature. + +If an eCM is embedded in a device containing an eSTB, the eCM MUST send DHCP option 43 sub-option 18 containing the type of video security element in the device. + +In eDOCSIS, DHCP option 43 sub-options 11-127 are reserved for future definition and MUST NOT be used for other purposes. + +In eDOCSIS, DHCP option 43 sub-options 128-254 are reserved for vendors and MAY be used by vendors. + +If the total number of octets in all DHCP option 43 sub-options exceeds 255 octets, the eCM MUST follow [IETF RFC 3396] to split the option into multiple smaller options. + +**Table 5-6 – DHCP option 43 syntax** + +| eCM DHCP Option 43 | Value | Description | +|--------------------|------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Sub-option 1 | | The request sub-option vector is a list of sub-options (within option 43) to be returned to client by the server upon reply to the request. None defined. | +| Sub-option 2 | "ECM" | Device type of the component making the DHCP request. For DOCSIS, this is:
"ECM"= embedded Cable Modem (as specified by DOCSIS 1.0, 1.1, 2.0, or 3.0 Base Specifications) | +| Sub-option 3 | "ECM: 1 :eSAFE 2 ... SAFE n >" | Colon-separated list of eCM and eSAFE(s) contained in the complete eDOCSIS device. First on the list MUST be "ECM" for eCM. x > can be "EMTA", "EPS", "EROUTER", "ESTB", or "ETEA" corresponding to embedded MTA, embedded Portal Services Element, embedded Router, embedded STB, and embedded TDM Emulation Adapter, respectively.
For example:
"ECM:EMTA" = A PacketCable/Embedded MTA
"ECM:EPS" = A CableHome/Embedded Portal Services Element
"ECM:EROUTER" = A DOCSIS Embedded Router
"ECM:ESTB" = An Embedded STB
"ECM:ETEA" = An Embedded TEA
"ECM:EMTA:EPS" = An Embedded MTA and Embedded Portal Services Element | +| Sub-option 4 | "" | Device serial number as in MIB object docsDevSerialNumber
e.g., "123456" | +| Sub-option 5 | "" | Hardware version number. Identical to value as reported in the field in MIB object sysDescr.
e.g., "v.3.2.1" | +| Sub-option 6 | "" | Software version number. Identical to value as reported in the field in MIB object sysDescr.
e.g., "v.1.0.2" | +| Sub-option 7 | "" | Boot ROM version. Identical to value as reported in the field in MIB object sysDescr.
e.g., "Bv4.5.6" | +| Sub-option 8 | "" | A 6-octet, hexadecimally-encoded, vendor-specific organization unique identifier (OUI) that may match the OUI in eCM's MAC address. | +| Sub-option 9 | "" | Device model number. Identical to value as reported in the field in MIB object sysDescr.
e.g., "T3000" | +| Sub-option 10 | "" | Vendor name or ID. Identical to value as reported in the field in MIB object sysDescr.
e.g., "XYZ Corp" | +| Sub-option 15 | "1 :eSAFE 2 ... SAFE n >" | Colon-separated list of eSAFEs contained in the eDOCSIS device that supports eCM Config File Encapsulation. The list could contain "EMTA", "EPS", "ESTB", "ETEA" or "EROUTER". The requirements for support of eCM Config File Encapsulation by each eSAFE type (and hence the requirements for the contents of this sub-option) can be found in the relevant eSAFE specification.
If no eSAFE supports eCM Config File Encapsulation, then the eCM MUST either not populate this sub-option, or set the sub-option length to zero.
For example:
"ESTB" = An Embedded STB with eCM eSAFE config file TLV support (or absence of sub-option 15) = no eSAFE supports the eCM eSAFE config file TLV | + +**Table 5-6 – DHCP option 43 syntax** + +| eCM DHCP Option 43 | Value | Description | +|---------------------------|--------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Sub-option 18 | "" | Video Security Type
Only present if the device contains an eSTB. This sub-option takes one of the following values:
"CARD" corresponds to an eSTB with a POD module as its security element.
"SM" corresponds to an eSTB with a Secure Microprocessor as its security element.
"EMBED" corresponds to an embedded security eSTB. | + +#### **5.2.4.4 Examples (informative)** + +##### **5.2.4.4.1 DOCSIS cable modem with embedded IPCablecom 1.0 MTA example** + +Table 5-7 shows the syntax for DHCP option 43 for the eCM in an E-MTA. + +**Table 5-7 – Example eDOCSIS device: E-MTA** + +| DHCP DISCOVER options | Value | Description | +|------------------------------|-----------------------------------------|--------------------------------------------------------------------------------------------| +| eCM DHCP DISCOVER | | | +| eCM Option 43 sub-option 1 | N/A (omitted because the list is empty) | List of sub-options (within option 43) to be returned by server | +| eCM Option 43 sub-option 2 | "ECM" | Embedded cable modem | +| eCM Option 43 sub-option 3 | "ECM:EMTA" | ECM followed by a list of embedded components (eSAFEs) | +| eCM Option 43 sub-option 4 | "123456" | Device serial number as in MIB object docsDevSerialNumber | +| eCM Option 43 sub-option 5 | "V1.2.3" | Hardware version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 6 | "V3.2.1" | Software version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 7 | "Boot 4.5.6" | Boot ROM version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 8 | "0204DF" | 6-octet OUI as Vendor ID | +| eCM Option 43 sub-option 9 | "Xman200" | Device model number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 10 | "XYZ Broadband" | Vendor name as in field in MIB object sysDescr | + +##### **5.2.4.4.2 DOCSIS cable modem with embedded IPCable2Home 1.1 PS example** + +Table 5-8 shows the syntax for DHCP options 43 for the eCM in an IPCable2Home 1.1 ePS device. + +**Table 5-8 – Example eDOCSIS device: DOCSIS 1.1 IPCable2Home/ePS** + +| DHCP DISCOVER options | Value | Description | +|-----------------------------|-----------------|--------------------------------------------------------------------------------------------| +| eCM DHCP DISCOVER | | | +| eCM Option 43 sub-option 1 | "" | List of sub-options (within option 43) to be returned by server | +| eCM Option 43 sub-option 2 | "ECM" | Embedded cable modem | +| eCM Option 43 sub-option 3 | "ECM:EPS" | ECM followed by a list of embedded components (eSAFEs) | +| eCM Option 43 sub-option 4 | "123456" | Device serial number as in MIB object docsDevSerialNumber | +| eCM Option 43 sub-option 5 | "V1.2.3" | Hardware version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 6 | "V3.2.1" | Software version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 7 | "Boot 4.5.6" | Boot ROM version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 8 | "0204DF" | 6-octet OUI as Vendor ID | +| eCM Option 43 sub-option 9 | "Xman200" | Device model number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 10 | "XYZ Broadband" | Vendor name as in field in MIB object sysDescr | + +##### 5.2.4.4.3 DOCSIS cable modem with embedded STB example + +Table 5-9 illustrates the syntax for DHCP options 43 for the eCM with an embedded STB. + +**Table 5-9 – Example eDOCSIS device: DOCSIS 1.1 embedded STB** + +| DHCP DISCOVER & REQUEST Options | Options Value | Description | +|----------------------------------------|-----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| eCM DHCP DISCOVER & REQUEST | | | +| eCM Option 43 sub-option 1 | N/A (omitted because the list is empty) | List of sub-options (within option 43) to be returned by server. | +| eCM Option 43 sub-option 2 | "ECM" | Device type of the entity making the DHCP request. For DOCSIS, this is:
"ECM" = embedded Cable Modem (as specified by DOCSIS 1.0, 1.1, or 2.0 Base Specifications) | +| eCM Option 43 sub-option 3 | "ECM:ESTB" | Colon-separated list of eCM and eSAFE(s) contained in the device. First on the list MUST be "ECM".
"ECM" = embedded CM
"ESTB" = embedded STB | +| eCM Option 43 sub-option 4 | e.g., "123456" | Device serial number from MIB object docsDevSerialNumber | +| eCM Option 43 sub-option 5 | e.g., "V1.2.3" | Hardware version number from field in MIB object sysDescr | +| eCM Option 43 sub-option 6 | e.g., "V3.2.1" | Software version number from field in MIB object sysDescr | +| eCM Option 43 sub-option 7 | "Boot 4.5.6" | Boot ROM version number from field in MIB object sysDescr | +| eCM Option 43 sub-option 8 | "0204DF" | A 6-octet, hexadecimally-encoded, vendor-specific organization unique identifier (OUI) that may match the OUI in the eCM's MAC address | + +**Table 5-9 – Example eDOCSIS device: DOCSIS 1.1 embedded STB** + +| DHCP DISCOVER & REQUEST Options | Options Value | Description | +|----------------------------------------|-----------------|-----------------------------------------------------------------------------------| +| eCM DHCP DISCOVER & REQUEST | | | +| eCM Option 43 sub-option 9 | "Xman200" | Device model number from field in MIB object sysDescr | +| eCM Option 43 sub-option 10 | "XYZ Broadband" | Vendor name as in field in MIB object sysDescr | +| eCM Option 43 sub-option 15 | "ESTB" | eSTB supports eCM eSAFE Config file TLVs | +| eCM Option 43 sub-option 18 | "EMBED" | This device contains an embedded security eSTB. | + +##### 5.2.4.4.4 DOCSIS Cable Modem with embedded IPCablecom MTA and IPCable2Home PS + +Table 5-10 shows the syntax for DHCP option 43 for the eCM in an eDOCSIS device that contains the following embedded components: a DOCSIS 2.0 eCM, an IPCablecom 1.0 eMTA and an IPCable2Home 1.1 ePS. + +**Table 5-10 – Example eDOCSIS device containing DOCSIS 2.0 eCM, eMTA and ePS** + +| DHCP DISCOVER options | Value | Description | +|-----------------------------|-----------------|--------------------------------------------------------------------------------------------| +| eCM DHCP DISCOVER | | | +| eCM Option 43 sub-option 1 | "" | List of sub-options (within option 43) to be returned by server | +| eCM Option 43 sub-option 2 | "ECM" | Embedded cable modem | +| eCM Option 43 sub-option 3 | "ECM:EMTA:EPS" | ECM followed by a list of embedded components (eSAFEs) | +| eCM Option 43 sub-option 4 | "123456" | Device serial number as in MIB object docsDevSerialNumber | +| eCM Option 43 sub-option 5 | "V1.2.3" | Hardware version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 6 | "V3.2.1" | Software version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 7 | "Boot 4.5.6" | Boot ROM version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 8 | "0204DF" | 6-octet OUI as Vendor ID | +| eCM Option 43 sub-option 9 | "Xman200" | Device model number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 10 | "XYZ Broadband" | Vendor name as in field in MIB object sysDescr | + +##### 5.2.4.4.5 DOCSIS cable modem with embedded TEA + +Table 5-11 shows the syntax for DHCP option 43 for the eCM with an embedded TEA. + +**Table 5-11 – Example eDOCSIS device: DOCSIS 1.1 TEA** + +| DHCP DISCOVER Options | Value | Description | +|-----------------------------|-----------------------------------------|--------------------------------------------------------------------------------------------| +| eCM DHCP DISCOVER | | | +| eCM Option 43 sub-option 1 | N/A (omitted because the list is empty) | List of sub-options (within option 43) to be returned by server | +| eCM Option 43 sub-option 2 | "ECM" | Embedded cable modem | +| eCM Option 43 sub-option 3 | "ECM:ETEA" | ECM followed by a list of embedded components (eSAFEs) | +| eCM Option 43 sub-option 4 | "123456" | Device serial number as in MIB object docsDevSerialNumber | +| eCM Option 43 sub-option 5 | "V1.2.3" | Hardware version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 6 | "V3.2.1" | Software version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 7 | "Boot 4.5.6" | Boot ROM version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 8 | "0204DF" | 6-octet OUI as Vendor ID | +| eCM Option 43 sub-option 9 | "Xman200" | Device model number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 10 | "XYZ Broadband" | Vendor name as in field in MIB object sysDescr | + +##### **5.2.4.4.6 DOCSIS cable modem with embedded router** + +Table 5-12 shows the syntax for DHCP Option 43 for the eCM with an embedded router. + +**Table 5-12 – DOCSIS cable modem with embedded router** + +| DHCP DISCOVER Options | Value | Description | +|-----------------------------|-----------------------------------------|--------------------------------------------------------------------------------------------| +| eCM DHCP DISCOVER | | | +| eCM Option 43 sub-option 1 | N/A (omitted because the list is empty) | List of sub-options (within option 43) to be returned by server | +| eCM Option 43 sub-option 2 | "ECM" | Embedded cable modem | +| eCM Option 43 sub-option 3 | "ECM:EROUTER" | ECM followed by a list of embedded components (eSAFEs) | +| eCM Option 43 sub-option 4 | "123456" | Device serial number as in MIB object docsDevSerialNumber | +| eCM Option 43 sub-option 5 | "V1.2.3" | Hardware version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 6 | "V3.2.1" | Software version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 7 | "Boot 4.5.6" | Boot ROM version number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 8 | "0204DF" | 6-octet OUI as Vendor ID | +| eCM Option 43 sub-option 9 | "Xman200" | Device model number as in field in MIB object sysDescr | +| eCM Option 43 sub-option 10 | "XYZ Broadband" | Vendor name as in field in MIB object sysDescr | +| eCM Option 43 sub-option 15 | "EROUTER" | eRouter supports eCM eSAFE Config file TLVs | + +### 5.2.5 DHCPv6 vendor-specific option syntax requirements + +In order to facilitate provisioning, all eDOCSIS devices implementing a DOCSIS 3.0 or greater CM and operating with IPv6 will include vendor-specific information options during the CM IPv6 registration process [DOCSIS3-MULPI]. Vendor-specific information options include configuration file location and name information, syslog server information, device identifier information, and cable modem capabilities. Refer to [CANN-DHCP]. + +#### 5.2.5.1 eDOCSIS device information in DHCPv6 vendor-specific options + +An eCM operating with IPv6 provides device-specific information through the use of the DHCPv6 vendor-specific information options. This information, which is carried in option 43 sub-options in the case of an eCM or eSAFE using IPv4, provides the provisioning system with details about the eDOCSIS device, including implemented CableLabs specification, hardware revision, software revision, and number and type of implemented eSAFEs. Refer to clause 5.2.4.3 for more information about DHCPv4 option 43 requirements. + +An eCM operating with IPv6 MUST include the DHCPv6 vendor-specific option codes listed below in DHCPv6 solicit messages: + +- Option Code 2: Embedded Cable Modem Identifier +- Option Code 3: List of Implemented eSAFEs +- Option Code 4: Device Serial Number +- Option Code 5: Hardware Version Number +- Option Code 6: Software Version Number +- Option Code 9: Model Number +- Option Code 10: Vendor Identifier + +The format of the DHCPv6 vendor specific option codes 2-6 and 9-10 listed above generally follow the format of other vendor-specific options described in [CANN-DHCP]. The specific format of each of the required Option Codes listed above is described below. + +##### Option Code 2: Embedded Cable Modem Identifier + +Option code 2 contains the string ECM, indicating to the provisioning system that the DHCP client is implemented on an embedded cable modem. + +![](1841f348dfa81a3438d4e1f8465d9ac7_img.jpg) + +``` + + 0 1 2 3 + 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | CL_OPTION_ECM_ID | 3 | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | E | C | M | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + +``` + +##### Option Code 3: List of Implemented eSAFEs + +This option is a colon-separated list of eSAFEs implemented in the eDOCSIS device. The CM MUST list in the List of Implemented eSAFEs option the abbreviation for each eSAFE implemented in the device, beginning with ECM and separated with a colon. Defined eSAFE abbreviations are listed in the Description field for DHCPv4 Option 43, sub-option 3 in Table 5-6. + +| 0 | | | | | | | | 1 | | | | | | | | 2 | | | | | | | | 3 | | | | | | | | +|------------------------------------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|------------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | +| CL_OPTION_EMBEDDED_COMPONENTS_LIST | | | | | | | | | | | | | | | | option-len | | | | | | | | | | | | | | | | +| E | | | | | | | | C | | | | | | | | M | | | | | | | | : | | | | | | | | +| eSAFE_1: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +| eSAFE_2: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +| eSAFE_n | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + +An example of the List of Implemented eSAFEs for a hypothetical product implementing an eCM, eMTA, and eSTB follows: + +| 0 | | | | | | | | 1 | | | | | | | | 2 | | | | | | | | 3 | | | | | | | | +|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | +| 3 | | | | | | | | | | | | | | | | 0x0E | | | | | | | | | | | | | | | | +| E | | | | | | | | C | | | | | | | | M | | | | | | | | : | | | | | | | | +| E | | | | | | | | M | | | | | | | | T | | | | | | | | A | | | | | | | | +| : | | | | | | | | E | | | | | | | | S | | | | | | | | T | | | | | | | | +| B | | | | | | | | : | | | | | | | | | | | | | | | | | | | | | | | | + +### Option Code 4: Device Serial Number + +The Device Serial Number option contains the eDOCSIS device's serial number. + +| 0 | | | | | | | | 1 | | | | | | | | 2 | | | | | | | | 3 | | | | | | | | +|--------------------------------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|------------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | +| CL_OPTION_DEVICE_SERIAL_NUMBER | | | | | | | | | | | | | | | | option-len | | | | | | | | | | | | | | | | +| Serial Number | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + +### Option Code 5: Hardware Version Number + +The Hardware Version Number option contains the eDOCSIS device's hardware version number. + +| 0 | | | | | | | | 1 | | | | | | | | 2 | | | | | | | | 3 | | | | | | | | +|-----------------------------------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|------------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | +| CL_OPTION_HARDWARE_VERSION_NUMBER | | | | | | | | | | | | | | | | option-len | | | | | | | | | | | | | | | | +| Hardware Version Number | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + +ITU-T Rec. J.126 (12/2007) 29 + +##### Option Code 6: Software Version Number + +The Software Version Number option contains the vendor-assigned version number of the software implemented in the device. + +![Diagram of Option Code 6: Software Version Number. It shows a header with CL_OPTION_SOFTWARE_VERSION_NUMBER and option-len, followed by the Software Version Number field.](1142ba0197b158bb198186fe8baccc32_img.jpg) + +Diagram illustrating the structure of Option Code 6: Software Version Number. The diagram shows a header with two fields: CL\_OPTION\_SOFTWARE\_VERSION\_NUMBER and option-len, followed by the Software Version Number field. The header is 4 bytes long, with the first byte containing the option code (0x06) and the remaining three bytes containing the option length. The Software Version Number field is variable in length. + +| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +|-----------------------------------|---|---|---|---|---|---|---|---|---|------------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | | | | | | | | 2 | | | | | | | | 3 | | | | | | | | | | | | | | | +| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | +| CL_OPTION_SOFTWARE_VERSION_NUMBER | | | | | | | | | | option-len | | | | | | | | | | | | | | | | | | | | | | +| Software Version Number | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +| ... | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + +Diagram of Option Code 6: Software Version Number. It shows a header with CL\_OPTION\_SOFTWARE\_VERSION\_NUMBER and option-len, followed by the Software Version Number field. + +##### Option Code 9: Device Model Number + +The Device Model Number option contains the model number of the eDOCSIS device. + +![Diagram of Option Code 9: Device Model Number. It shows a header with CL_OPTION_MODEL_NUMBER and option-len, followed by the Device Model Number field.](fcbc3c31776721edc98ceb1944ec438f_img.jpg) + +Diagram illustrating the structure of Option Code 9: Device Model Number. The diagram shows a header with two fields: CL\_OPTION\_MODEL\_NUMBER and option-len, followed by the Device Model Number field. The header is 4 bytes long, with the first byte containing the option code (0x09) and the remaining three bytes containing the option length. The Device Model Number field is variable in length. + +| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +|------------------------|---|---|---|---|---|---|---|---|---|------------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | | | | | | | | 2 | | | | | | | | 3 | | | | | | | | | | | | | | | +| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | +| CL_OPTION_MODEL_NUMBER | | | | | | | | | | option-len | | | | | | | | | | | | | | | | | | | | | | +| Device Model Number | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +| ... | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + +Diagram of Option Code 9: Device Model Number. It shows a header with CL\_OPTION\_MODEL\_NUMBER and option-len, followed by the Device Model Number field. + +##### Option Code 10: Vendor Identifier + +The Vendor Identifier option contains the name or other identifier of the vendor who manufactures and/or sells the eDOCSIS device. + +![Diagram of Option Code 10: Vendor Identifier. It shows a header with CL_OPTION_VENDOR_OUI and option-len, followed by the Vendor Identifier field.](409498e57b1f988b2b604d12cd997002_img.jpg) + +Diagram illustrating the structure of Option Code 10: Vendor Identifier. The diagram shows a header with two fields: CL\_OPTION\_VENDOR\_OUI and option-len, followed by the Vendor Identifier field. The header is 4 bytes long, with the first byte containing the option code (0x0A) and the remaining three bytes containing the option length. The Vendor Identifier field is variable in length. + +| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +|----------------------|---|---|---|---|---|---|---|---|---|------------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | | | | | | | | 2 | | | | | | | | 3 | | | | | | | | | | | | | | | +| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | +| CL_OPTION_VENDOR_OUI | | | | | | | | | | option-len | | | | | | | | | | | | | | | | | | | | | | +| Vendor Identifier | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +| ... | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + +Diagram of Option Code 10: Vendor Identifier. It shows a header with CL\_OPTION\_VENDOR\_OUI and option-len, followed by the Vendor Identifier field. + +##### Option Code 15: eCM Config File Encapsulation + +The eCM Config File Encapsulation option indicates the list of eSAFE devices that support this feature. + +![Diagram of Option Code 15: eCM Config File Encapsulation. It shows a header with CL_OPTION_ECM_CFG_ENCAPS and option-len, followed by the eCM Config File Encapsulation field.](f1cbfa3fc27f58581615654fec4335d8_img.jpg) + +Diagram illustrating the structure of Option Code 15: eCM Config File Encapsulation. The diagram shows a header with two fields: CL\_OPTION\_ECM\_CFG\_ENCAPS and option-len, followed by the eCM Config File Encapsulation field. The header is 4 bytes long, with the first byte containing the option code (0x0F) and the remaining three bytes containing the option length. The eCM Config File Encapsulation field is variable in length. + +| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +|-------------------------------|---|---|---|---|---|---|---|---|---|------------|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | | | | | | | | 2 | | | | | | | | 3 | | | | | | | | | | | | | | | +| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | +| CL_OPTION_ECM_CFG_ENCAPS | | | | | | | | | | option-len | | | | | | | | | | | | | | | | | | | | | | +| eCM Config File Encapsulation | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +| ... | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + +Diagram of Option Code 15: eCM Config File Encapsulation. It shows a header with CL\_OPTION\_ECM\_CFG\_ENCAPS and option-len, followed by the eCM Config File Encapsulation field. + +### 5.2.6 Testability requirements + +In order to verify conformance to this Recommendation and to the DOCSIS Base Specifications, a mechanism to generate and receive traffic bridged through the eCM is required. eDOCSIS devices that have a physically exposed CMCI (e.g., 10BaseT or USB) can be tested by using external packet generation equipment connected to that interface. + +For cost, security, or other reasons, however, certain eDOCSIS devices may not have an exposed CMCI, necessitating an alternative mechanism. + +Additionally, an eDOCSIS device MAY have multiple eSAFEs, each with a logical CPE interface (LCI) to the eCM. This Recommendation places requirements on the LCIs as well as the bridging of traffic among eCM and eSAFEs. + +To this end, a software loopback for eDOCSIS (SLED) is specified below. + +#### 5.2.6.1 General requirements + +An eCM SHOULD implement SLED. An eCM without an externally accessible CMCI port, or a physical interface configured to be equivalent to a CMCI port, MUST implement SLED. + +#### 5.2.6.2 SLED protocol description + +##### 5.2.6.2.1 General description + +SLED is an embedded test function residing in an eCM enabling DOCSIS and eDOCSIS conformance testing coverage, particularly when an exposed CMCI is not available. + +The SLED test functions are controlled via SLED MIB objects as specified in Annex A. The SLED MIB objects MUST be associated with the SNMP stack of the eCM. The SLED MIB objects MUST NOT be accessible through the CMCI. + +To prevent unintended activation of SLED, all SLED functions MUST be disabled by default. SLED functions MUST only be enabled if the MIB object *sledGlobalEnable* is set to 'true' prior to eCM registration; *sledGlobalEnable* MAY be set to 'true' via inclusion in TLV-11 of the eCM's configuration file. + +The SLED MIB values revert to power-on values when the CM de-registers or loses Operational state; the *sledGlobalEnable* will revert to 'false' and in-progress packet generation or loopback will be stopped. + +Figure 5-15 illustrates the SLED reference model. + +![Figure 5-15 – SLED reference model diagram](a9bd36d25444d896e8d6941ff59d8f2d_img.jpg) + +``` + +graph LR + subgraph Test_station [Test station] + PS[Packet sniffer] + PG[Packet generator] + end + + subgraph CMTS_Block [CMTS] + NSI[NSI] + RFI[RFI] + NSI --- RFI + end + + subgraph eDOCSIS_device [eDOCSIS device] + subgraph eCM [eCM] + MIB[(SLED MIB)] + end + LCI[LCI] + eSAFE[eSAFE] + subgraph SLED_Block [SLED] + Loopback[Loopback] + PacketGen[Packet Gen] + end + end + + PG --> NSI + NSI --> PS + RFI <--> eCM + eCM <--> LCI + LCI <--> eSAFE + eCM --> Loopback + Loopback --> eCM + PacketGen --> eSAFE + +``` + +The diagram illustrates the SLED reference model. A 'Test station' containing a 'Packet sniffer' and 'Packet generator' connects via an 'NSI' to a 'CMTS'. The 'CMTS' connects via an 'RFI' to an 'eDOCSIS device'. Inside the 'eDOCSIS device', an 'eCM' (containing a 'SLED MIB') connects to an 'eSAFE' via an 'LCI'. A 'SLED' functional block within the device contains 'Loopback' (interfacing with the 'eCM') and 'Packet Gen' (interfacing with the 'eSAFE'). Bidirectional arrows indicate traffic flow between the CMTS and the eCM, and between the eCM, LCI, and eSAFE. + +Figure 5-15 – SLED reference model diagram + +Figure 5-15 – SLED reference model + +The SLED functionality supports: + +###### 1) *Packet loopback* + +The primary purpose of the Packet loopback protocol is to enable verification of the receipt of packets across the LCI by the eSAFE. Once enabled by the SLED MIB object, all packets that are forwarded to the indicated LCI are encapsulated into a predefined packet header (Ethernet DIX frame header + IP header + UDP header) and reflected back across the LCI to the eCM for forwarding to the final destination. Typically, the looped-back packets will be addressed to, and captured by, a test station residing in the network side interface (NSI) of the CMTS. + +###### 2) *Packet generation* + +SLED MIB objects are defined to enable setting up of Ethernet framing and payload transmission for packet generation and transmission through the LCI to the eCM. The SLED MIB objects described below control the packet transmission with parameters such as Ethernet packet header, packet rate, and the number of packets. + +3) Packet loopback and packet generation SLED functions MUST be able to be controlled independently. + +4) The packet loopback and packet generation SLED functions MUST NOT disrupt network connectivity to or from the eSAFE. When SLED loopback is enabled, a packet transmitted across the LCI in the eCM-to-eSAFE direction, MUST be forwarded to both the eSAFE and the SLED loopback function. When SLED functions are enabled, packets to/from the eSAFE MUST continue to be bridged across the LCI. + +##### 5.2.6.2.2 Loopback protocol + +An eCM implementing SLED MUST implement the following loopback protocol: + +1) The SLED packet loopback function is attached to the LCI associated with the eSAFE by setting SLED MIB *sledLoopbackInterface* to the eCM's ifIndex number associated with the LCI (per Table 5-1). + +2) The SLED MIB object *sledLoopbackPktHdr* is configured with the 42-byte loopback Ethernet packet/IP/UDP headers (14-byte Ethernet header + 20-byte IPv4 header + 8-byte UDP header). + +3) As an example, the following loopback header parameters could be used: + +- a) Ethernet MAC source address = eSAFE MAC address; +- b) Ethernet MAC destination address = test station MAC address; +- c) IP source address = eSAFE Management IP address; +- d) IP destination address = test station IP address; +- e) UDP source port number = 7; +- f) UDP destination port number = 7. + +4) When the SLED MIB object *sledLoopbackInterface* is set to an ifIndex associated with an LCI which supports SLED, *sledLoopbackPktHdr* contains a 42-byte octet string, and *sledLoopbackEnable* is set to 'true', the SLED MUST operate in a loopback mode. + +5) When operating in loopback mode, all Ethernet packets forwarded across the indicated LCI by the eCM will be processed as follows: + +- a) If the received Ethernet packet is greater than 1472 octets, the Ethernet packet MUST be split into two fragments according to IP fragmentation scheme as described in [IETF RFC 791], the first consisting of the first 1472 octets of the Ethernet packet and the second containing the remaining octets, resulting in two payloads that are processed as described below. + +- b) If the received Ethernet packet is less than or equal to 1472 octets, the entire packet MUST be processed as a single payload. + - c) Each payload generated in step 5a or 5b MUST be prepended with the contents of *sledLoopbackPktHdr*. + - d) The mutable fields within *sledLoopbackPktHdr* MUST be recomputed. The mutable fields are IP Header Checksum, IP Total Length per [IETF RFC 791], and UDP Checksum, UDP Length per [IETF RFC 768]. + - e) If the Ethernet packet is fragmented as defined in step 5a, the appropriate IP header fields MUST be updated to indicate IP fragmentation. The IP fragmentation header values will differ depending on if this is the first or second fragment being processed (per [IETF RFC 791]). Further, the final 8-bytes of *sledLoopbackPktHdr* (the UDP header) MUST NOT be prepended to the second fragment. + - f) The Ethernet FCS MUST be computed and appended. + - g) The resulting Ethernet packet MUST be transmitted to the LCI toward the eCM. +- 6) When the SLED MIB object *sledLoopbackEnable* is set to 'false', the SLED loopback function MUST be disabled. +- 7) While the SLED loopback function is enabled, the eCM MUST reject changes to *sledLoopbackInterface* or *sledLoopbackPktHdr*. + +Figure 5-16 illustrates the SLED packet loopback encapsulation. + +![Diagram of SLED packet loopback encapsulation showing the outer packet structure and a detailed view of the 42-octet loopback encapsulation header.](47a7beddcb8a1b7abdca746967e32bb4_img.jpg) + +The diagram illustrates the SLED packet loopback encapsulation. The top part shows the overall packet structure: a 42-octet Loopback encapsulation header, a payload of 64-1518 octets (containing a Downstream Ethernet/802 MAC frame, which may be fragmented into 2 IP fragments if greater than 1472 octets), and a 4-octet FCS. The bottom part provides a detailed view of the 42-octet Loopback encapsulation header, which is composed of five fields: Ethernet MAC Dest Addr (6 octets, set to test station), Ethernet MAC Src. Addr (6 octets, set to eSAFE), Type (2 octets, set to 0800), IP header (20 octets, with Src IP Addr = eSAFE and Dest IP Addr = test station), and UDP header (8 octets). Dashed lines connect the 42-octet header in the top diagram to its constituent fields in the bottom diagram. A small label 'J.126(07)\_F5-16' is present in the bottom right corner. + +| | | | | | | +|-------------------------------|--|------------------------------------------------------------------------------------------------------------------|--|--|----------| +| 42 octets | | 64-1518 octets | | | 4 octets | +| Loopback encapsulation header | | Payload: Downstream Ethernet/802 MAC frame
(fragment into 2 IP fragments if greater than 1472 octets)
| | | FCS | + + + +| | | | | | +|---------------------------------------|--------------------------------|-------------|-----------------------------------------------------------------|------------| +| 6 octets | 6 octets | 2 octets | 20 octets | 8 octets | +| Ethernet MAC Dest Addr = test station | Ethernet MAC Src. Addr = eSAFE | Type = 0800 | IP header
Src IP Addr = eSAFE
Dest IP Addr = test station | UDP header | + +J.126(07)\_F5-16 + +Diagram of SLED packet loopback encapsulation showing the outer packet structure and a detailed view of the 42-octet loopback encapsulation header. + +**Figure 5-16 – SLED packet loopback encapsulation** + +Figure 5-17 illustrates an example of the SLED loopback sequence. + +![Sequence diagram showing SLED loopback and packet generation sequences between a Test station, CMTS, and an eDOCSIS device.](67114ecf6da13c97a89aeff0d86885d5_img.jpg) + +The diagram illustrates two sequences of interactions between a Test station, a CMTS, and an eDOCSIS device. The eDOCSIS device contains an eCM, LCI, eSAFE, SLED MIB, SLED, Loopback, and Packet Gen components. + +**SLED Loopback Sequence:** + +- The CMTS sends an **Enable SLED via TLV-11** message to the eDOCSIS device. A note indicates `sledGlobalEnable = 'true'` included in TLV-11 of configuration file. +- The Test station sends an **Select loopback LCI** message (SNMP SET sledLoopbackInterface to ifIndex of eSAFE LCI) to the eDOCSIS device. +- The Test station sends a **Set up filters** message (Config. file or SNMP) to pass UDP traffic to LCI to the eDOCSIS device. +- The Test station sends a **Set up encapsulation** message (Ethernet/UDP header using SLED MIB sledLoopbackPktHdr) to the eDOCSIS device. +- The Test station sends an **Enable Loopback** message (SNMP SET sledLoopbackEnable='true') to the eDOCSIS device. +- The eDOCSIS device responds with **Loopback enabled**. +- The Test station sends a **send packet** message to the eDOCSIS device. +- The eDOCSIS device responds with **Encapsulate & transmit Ethernet packet received**. +- If the packet is greater than 1472 octets, the eDOCSIS device sends a message to **Encapsulate and transmit 2nd fragment**. +- The Test station sends a **Disable Loopback** message (SNMP SET sledLoopbackEnable='false') to the eDOCSIS device. +- The eDOCSIS device responds with **Loopback disabled**. + +**SLED Packet Generation Sequence:** + +- The Test station sends a **Select packet gen. LCI** message (SNMP SET sledPktGenInterface to ifIndex of eSafe LCI) to the eDOCSIS device. +- The Test station sends a **Set up packet payload, packet rate and number of packets** via SNMP SET: sledPktGenPayload, sledPktGenRate, and sledPktGenNumPkts to the eDOCSIS device. +- The Test station sends a **Start packet transmission** message (SNMP SET sledPktGenTrigger='start') to the eDOCSIS device. +- The eDOCSIS device responds with `sledPktGenLastTrigger = sysUptime`. +- The eDOCSIS device sends **Xmit packet #1** to the Test station. +- The eDOCSIS device sends **Xmit packet #2** to the Test station. +- The Test station sends an **Abort packet transmission** message (SNMP SET sledPktGenTrigger='stop') to the eDOCSIS device. +- The eDOCSIS device sends **Xmit last packet** to the Test station. +- The eDOCSIS device responds with **Packet gen. completed**. + +J.126(07)\_F5-17 + +Sequence diagram showing SLED loopback and packet generation sequences between a Test station, CMTS, and an eDOCSIS device. + +Figure 5-17 – SLED packet loopback and generation sequences + +##### 5.2.6.2.3 Packet generation protocol + +An eDOCSIS device implementing SLED MUST implement the following packet generator protocol: + +- 1) The SLED packet generation function is attached to the eCM's LCI associated with the eSAFE by setting SLED MIB *sledPktGenInterface* to the ifIndex number associated with the LCI (per Table 5-1). +- 2) The SLED MIB object *sledPktGenPayload* is set up to be a complete Ethernet (DIX/802 MAC) packet, including FCS trailer, for transmission across the LCI. The FCS is set to be correct for the packet as specified, and MAY be recalculated by the eCM as required for upstream processing; the SLED is not required to validate the FCS, and a packet with an invalid FCS MAY be transmitted with a corrected FCS. +- 3) The SLED MIB objects *sledPktGenRate* and *sledPktGenNumPkts* are set to non-zero values. +- 4) When *sledPktGenInterface* is set to an ifIndex associated with an LCI which supports SLED, *sledPktGenRate* and *sledPktGenNumPkts* are both set to non-zero values, the SLED Packet Generator MUST start to send generated Ethernet packets to the LCI in within 250 ms after *sledPktGenTrigger* is set to 'start'; the SLED SHOULD start to transmit packets to the LCI as soon as possible in order to minimize the amount of time it takes to run tests that use the SLED Packet Generator. +- 5) When *sledPktGenTrigger* is set to 'start', the SLED Packet Generator MUST set the SLED MIB *sledPktGenLastTrigger* to the current value of the system MIB *sysUptime*. +- 6) The packets generated by the SLED Packet Generator MUST be the exact copies of the Ethernet packet specified by the SLED MIB *sledPktGenPayload*. The average rate of generated packets MUST be as specified by the SLED MIB *sledPktGenRate*. +- 7) The packet generation MUST be continued until the total number of generated packets reaches the limit as specified by the SLED MIB *sledPktGenNumPkts*, unless terminated by setting *sledPktGenTrigger* to 'stop'. If *sledPktGenTrigger* is set to 'stop' while packets are being generated, the SLED SHOULD stop packet generation within 1 second. +- 8) While the previous sequence of SLED packets is still in progress, the eCM MUST reject changes to *sledPktGenInterface*, *sledPktGenPayload*, *sledPktGenNumPkts* or *sledPktGenRate*. + +Refer to Figure 5-17 for an illustration of the SLED packet loopback and generation sequences. + +### 5.2.7 Firmware download + +All eDOCSIS devices MUST support a single secured firmware image download that is used for the entire eDOCSIS device. + +With the exception of eDOCSIS devices that contain eSTBs, the download MUST be controlled by the eCM using the DOCSIS secure software download (SSD) mechanisms as specified in [BPI+], [DOCSIS2-RFI] and DOCSIS OSS. + +Firmware download for an eDOCSIS device that contains an eSTB (referred to as a Set-top Device) is defined in the following subclauses. + +#### 5.2.7.1 Set-top device firmware download + +There are two firmware download methods for an eDOCSIS device that contains an eSTB: + +- 1) DSM-CC data carousel methods as defined in [CCIF 2.0], +- 2) DOCSIS secure software download (SSD) mechanisms as defined in [DOCSIS-RFI], [BPI+] and [DOCSIS-OSSI]. + +Note that OpenCable host 2.0 Set-top devices support the above firmware download methods as specified in [HOST2.0] and [CCIF 2.0]. + +All other Set-top Devices that do not comply with HOST 2.0 MUST support a mechanism for firmware download. Examples are 1) all the DSM-CC Data Carousel methods [CCIF 2.0], and 2) the DOCSIS SSD method. + +Firmware downloads can be triggered either via the eCM or the eSTB depending upon implementation. When a Set-top Device firmware download is triggered via the eCM logical element, the eCM MUST report the status of the firmware download as described in clause 5.2.7.2. When a set-top device firmware download is triggered via the eSTB logical element, the eCM MUST report the status of the firmware download as indicated in clause 5.2.7.3. + +#### **5.2.7.2 OSS requirements for firmware downloads initiated by the eCM** + +If the Set-top Device supports DOCSIS SSD, then it MUST report the status of a firmware download initiated by the eCM in accordance with the CM requirements in DOCSIS OSS. + +If the Set-top Device does not implement DOCSIS SSD mechanisms, its eCM MUST set the docsDevSwOperStatus to other(5). The Set-top Device responds to an attempt to trigger a TFTP upgrade (initiated through SNMP or Configuration File) as follows: + +- The Set-top Device MUST ignore DOCSIS SSD triggers through SNMP or Config File TLVs. +- The Set-top Device MUST remain capable of accepting new software through the non-DOCSIS firmware download mechanism. +- The Set-top Device MUST report the attempt to trigger a TFTP firmware upgrade by logging the appropriate event at the eCM (via an entry in the docsDevEvTable). +- The docsDevSwOperStatus MUST remain other(5). + +If the Set-top Device does not implement DOCSIS SSD mechanisms, then all the download-related requirements as specified in [BPI+] do not apply. Additionally the eCM in this type of Set-top Device MUST support the BPI+ MIB docsBpi2CodeDownloadControl objects with the following constraints (other objects within docsBpi2CodeDownloadControl are as defined within the MIB): + +- docsBpi2CodeDownloadStatusCode always reports other(7); +- docsBpi2CodeDownloadStatusString always returns the string "DOCSIS SSD not supported". + +#### **5.2.7.3 OSS requirements for firmware downloads initiated by the eSTB** + +During a firmware download for the Set-top Device which is initiated by the eSTB, the eCM MUST set its MIB objects as follows: + +- docsDevSwServer to 0.0.0.0. +- docsDevSwFilename to the filename of the image the eSTB is downloading. +- docsDevSwAdminStatus to ignoreProvisioningUpgrade(3). +- docsDevSwOperStatus to inProgress(1). +- docsDevSwCurrentVers to the current version of the eDOCSIS device code. +- docsBpi2CodeDownloadStatusCode to other(7). +- docsBpi2CodeDownloadStatusString to the string "Set-top Device code file download initialized by the eSTB". + +During the download of an image for the Set-top Device which is initiated by the eSTB, the eCM MUST ignore any change to the docsDevSwAdminStatus MIB object. Note that by setting docsDevSwAdminStatus to ignoreProvisioningUpgrade and by fixing this value, the eCM will + +ignore any firmware download triggers through the eCM configuration file while a firmware download initiated by the eSTB is taking place. Note also that setting docsDevSwAdminStatus to ignoreProvisioningUpgrade and by fixing this value, the eCM effectively ignores firmware download triggers through SNMP while a firmware download initiated by the eSTB is taking place. + +After the download process finishes, the eCM MUST set its MIB objects as follows: + +- docsDevSwServer to 0.0.0.0. +- docsDevSwFilename to the filename of the image that the eSTB intended to download. +- docsDevSwAdminStatus to ignoreProvisioningUpgrade(3) if the eDOCSIS device firmware download initiated by the eSTB succeeded, or to the value present before the download was initiated if the eDOCSIS device firmware download initiated by the eSTB failed. +- docsDevSwOperStatus to failed(4) if the eDOCSIS device firmware download initiated by the eSTB failed, or to other(5) if it succeeded. +- docsDevSwCurrentVers to the current version of the eDOCSIS device code. +- docsBpi2CodeDownloadStatusCode to codeFileVerified(5) if the eDOCSIS device could verify the firmware download, or codeFileRejected(6) if the eDOCSIS device could not verify the firmware download and therefore rejected it, or to other(7) in any other case. +- docsBpi2CodeDownloadStatusString to the string "Firmware Download initiated by the eSTB successful" if the eDOCSIS device firmware download initiated by the eSTB succeeded, or "Firmware Download initiated by the eSTB failed". + +In the case where the CVC distributed to the Set-top Device through the eSTB fails verification checks (e.g., those defined in OpenCable), the eCM MUST set its MIB objects as follows: + +- docsBpi2CodeDownloadStatusCode to other(7). +- docsBpi2CodeDownloadStatusString to the string "Set-top Device CVC validation failure for CVC distributed through eSTB". + +### 5.2.8 eSAFE configuration + +It is within the scope of each eSAFE specification to define the configuration mechanisms for each type of eSAFE device. eDOCSIS provides two methods for the direct configuration of eSAFE features via the eCM. Either of these two methods may be used by an eSAFE, both may be used, or neither may be used, as defined in the relevant eSAFE specification. The two methods are: + +- eSAFE-MIB Configuration – The eSAFE-MIB can provide eCM MIB objects that can be used to configure a particular type of eSAFE (see Annex B). Such MIB objects can be set via the CM configuration file, or by direct SNMP access to the eCM. +- eCM Config File Encapsulation – The eCM configuration file can contain eSAFE specific configuration parameters, the details of which are defined by the eSAFE specification. These configuration parameters are encapsulated in the eCM configuration file via the "eCM eSAFE Configuration File TLVs", and are passed to the eSAFE upon validation of the configuration file. + +#### 5.2.8.1 eCM config file encapsulation + +If the eCM is embedded with one or more eSAFEs that utilize eCM Config File Encapsulation, the eCM MUST recognize the corresponding eCM eSAFE Configuration TLVs as listed in Table 5-13. + +**Table 5-13 – eCM eSAFE TLVs** + +| Type | Length | Applies to eSAFE type | +|----------|--------|-----------------------| +| 201 | n | ePS | +| 202 | n | eRouter | +| 203..215 | | | +| 216 | n | eMTA | +| 217 | n | eSTB | +| 218 | | | +| 219 | n | eTEA | +| 220..231 | | | + +Upon successful validation of the CM MIC, the eCM MUST pass the contents of the appropriate eCM eSAFE Configuration File TLVs to each eSAFE that supports eCM Config File Encapsulation. + +The eCM MUST silently ignore eCM eSAFE Configuration File TLVs for eSAFEs that do not exist or that do not support eCM Config File Encapsulation. + +The mechanism used to pass eCM eSAFE Configuration File TLVs to the eSAFE is vendor specific. It is in the scope of each eSAFE specification to define the encoding of configuration parameters within the corresponding eSAFE TLV and the rules in case the contents are longer than the 254-octet maximum length of each eCM configuration file TLV instance. + +## Annex A + +## SLED MIB definition + +(This annex forms an integral part of this Recommendation) + +An eCM implementing SLED MUST implement the following SLED MIB objects. + +``` +SLED-MIB DEFINITIONS ::= BEGIN +IMPORTS + MODULE-IDENTITY, + Integer32, + OBJECT-TYPE FROM SNMPv2-SMI + TruthValue, + Timestamp FROM SNMPv2-TC + OBJECT-GROUP, + MODULE-COMPLIANCE FROM SNMPv2-CONF + clabProjDocsis FROM CLAB-DEF-MIB + InterfaceIndex FROM IF-MIB +; + +sledMib MODULE-IDENTITY + LAST-UPDATED "2003123000000Z" -- December 30, 2003 + ORGANIZATION "eDOCSIS Working Group" + CONTACT-INFO + "John Eng + Postal: Cable Television Laboratories, Inc + 400 Centennial Parkway + Louisville, CO 80027 + U.S.A. + Phone: +1 303-661-9100 + Fax: +1 303-661-9199 + E-mail: mibs@cablelabs.com" + DESCRIPTION + "This MIB module provides the management objects necessary + to configure and invoke the Software Loopback Application + for eDOCSIS (SLED) functionality." + REVISION "2003123000000Z" -- December 30, 2003 + DESCRIPTION + "Initial version of the ITU-T eDOCSIS SLED MIB module. + + Acknowledgement: + Greg Nakanishi of Motorola, Inc. + " + + ::= { clabProjDocsis 13 } +-- Administrative assignments +sledNotifications OBJECT IDENTIFIER ::= { sledMib 0 } +sledMibObjects OBJECT IDENTIFIER ::= { sledMib 1 } +sledMibNotificationsObjects OBJECT IDENTIFIER ::= { sledMib 2 } +sledMibConformance OBJECT IDENTIFIER ::= { sledMib 3 } + +-- Object Groups +sledGlobal OBJECT IDENTIFIER ::= { sledMibObjects 1 } +sledLoopback OBJECT IDENTIFIER ::= { sledMibObjects 2 } +sledPktGen OBJECT IDENTIFIER ::= { sledMibObjects 3 } + +-- +-- The following group describes the objects that apply to +-- both loopback and packet generator SLED functionality +-- +``` + +``` + +sledGlobalEnable OBJECT-TYPE +SYNTAX TruthValue +MAX-ACCESS read-write +STATUS current +DESCRIPTION + "This object allows the SLED functionality to be enabled/disabled. + + This object may only be updated prior to device registration. If + the device has completed registration, any attempt to update + the value of this object returns 'notWritable'. + + Prior to registration, if the value of this object is set to + 'true', the SLED functionality is enabled and access to this MIB is + allowed. + + Prior to registration, if the value of this object is set to + 'false', the SLED functionality is disabled and any attempt to + update other objects in this MIB returns 'noAccess'. + " + DEFVAL {false} + ::= { sledGlobal 1 } + +-- +-- The following group describes the loopback objects +-- +sledLoopbackInterface OBJECT-TYPE + SYNTAX InterfaceIndex + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The index of the logical CPE interface (LCI) that the SLED + loopback function is attached to. If the index does not + correspond to a LCI supported by this device, 'wrongValue' + is returned. + + Any attempt to set this object while sledLoopbackEnable is + set to 'true' returns 'notWritable'." + ::= { sledLoopback 1 } + +sledLoopbackEnable OBJECT-TYPE + SYNTAX TruthValue + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Setting this object to 'true' enables the loopback function. + Setting this object to 'false' disables the loopback function. + When enabled, all Ethernet packets received by the SLED from the + LCI are processed as follows: + + 1. If the received Ethernet packet is greater than 1472 octets, + the Ethernet packet is split into two fragments, the first + consisting of the first 1472 octets of the Ethernet packet + and the second containing the remaining octets, resulting in + two payloads that are processed as described below. If + the received Ethernet packet is less than or equal to 1472 + octets, the entire packet will be processed as a single payload. + 2. For each payload generated in step 1, the payload is appended to + the contents of sledLoopbackPktHdr. + 3. The mutable fields within sledLoopbackPktHdr MUST be recomputed. + The mutable fields are IP Header Checksum, IP Total Length, UDP + Checksum, and UDP Length. + 4. If the Ethernet packet was fragmented in step 1, the appropriate + IP header fields (Flags and Fragment Offset) are updated to + indicate IP fragmentation. + " + +``` + +- These IP fragmentation header values will differ depending on if this is the first or second fragment being processed. +5. The Ethernet FCS is computed and appended. + 6. The resulting Ethernet packet is transmitted to the LCI." + +``` +DEFVAL {false} +::= { sledLoopback 2 } +``` + +``` +sledLoopbackPktHdr OBJECT-TYPE + SYNTAX OCTET STRING (SIZE(42)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A properly formatted Ethernet(DIX)+IP+UDP header for use in + SLED loopback processing as described in sledLoopbackEnable. + The object value contains mutable fields that are recomputed: + the IP Header Checksum, IP Total Length, UDP Length,and + UDP Checksum. Any attempt to set this object while + sledLoopbackEnable is set to 'true' returns 'notWritable'." + ::= { sledLoopback 3 } +``` + +``` +-- +-- The following group describes the packet generation objects +-- +``` + +``` +sledPktGenInterface OBJECT-TYPE + SYNTAX InterfaceIndex + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The index of the logical CPE interface (LCI) that the SLED + packet generation function is attached to. If the index does + not correspond to a LCI supported by the device, 'wrongValue' + is returned. Any attempt to set this object while + sledPktGenTrigger is set to 'start' returns 'notWritable'." + ::= { sledPktGen 1 } +``` + +``` +sledPktGenPayload OBJECT-TYPE + SYNTAX OCTET STRING (SIZE(64..1518)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The properly formatted Ethernet packet payload to be generated. + Any attempt to set this object while sledPktGenTrigger is set + to 'start' returns 'notWritable'." + ::= { sledPktGen 2 } +``` + +``` +sledPktGenRate OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The packet rate (in packets per second) that the SLED is to + transmit the packet specified in the sledPktGenPayload. Any + attempt to set this object while sledPktGenTrigger is set to + 'start' returns 'notWritable'." + DEFVAL {10} + ::= { sledPktGen 3 } +``` + +``` +sledPktGenNumPkts OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-write + STATUS current +``` + +``` + +DESCRIPTION + "Number of packets to be generated at the rate specified by + sledPktGenRate. Any attempt to set this object while + sledPktGenTrigger has been set to 'start' will return + 'notWritable'." + DEFVAL {1} + ::= { sledPktGen 4 } + +sledPktGenTrigger OBJECT-TYPE + SYNTAX INTEGER { + start(1), + stop(2) + } + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "This object controls the packet generation. Setting this object + to 'start' causes the packet generation to begin. Reading this + object will return 'start' if a packet generation is in progress, + otherwise it will return 'stop'. Setting this object to 'stop' + while packet generation is in progress aborts the packet + generation. Setting this object to 'start' while packet + generation is in progress, 'wrongValue' is returned." + DEFVAL {stop} + ::= { sledPktGen 5 } + +sledPktGenLastTrigger OBJECT-TYPE + SYNTAX TimeStamp + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Value of sysUptime when the packet generation was + last triggered." + ::= { sledPktGen 6 } + +-- Conformance information ***** + +sledMibCompliances OBJECT IDENTIFIER ::= { sledMibConformance 1 } +sledMibGroups OBJECT IDENTIFIER ::= { sledMibConformance 2 } + +-- Compliance statements + +sledMibCompliance MODULE-COMPLIANCE + STATUS current + DESCRIPTION + "The compliance statement for SLED." + MODULE + +-- unconditionally mandatory groups + + MANDATORY-GROUPS { + sledMibBaseGroup + } + + ::= { sledMibCompliances 1 } + +sledMibBaseGroup OBJECT-GROUP + OBJECTS { + sledGlobalEnable, + sledLoopbackInterface, + sledLoopbackEnable, + sledLoopbackPktHdr, + sledPktGenInterface, + } + +``` + +``` + sledPktGenPayload, + sledPktGenRate, + sledPktGenNumPkts, + sledPktGenTrigger, + sledPktGenLastTrigger + } + STATUS current + DESCRIPTION + "Group of object in SLED MIB" + ::= { sledMibGroups 1 } +END +``` + +## Annex B + +## eSAFE MIB Definition + +(This annex forms an integral part of this Recommendation) + +An eCM in an eDOCSIS device implementing an embedded CableHome portal services logical element (ePS) and/or embedded PacketCable multimedia terminal adapter (eMTA) logical element as an eSAFE MUST implement the following eSAFE MIB. + +``` +ESAFE-MIB DEFINITIONS ::= BEGIN +IMPORTS + MODULE-IDENTITY, + Unsigned32, + OBJECT-TYPE FROM SNMPv2-SMI --RFC 2578 + OBJECT-GROUP, + MODULE-COMPLIANCE FROM SNMPv2-CONF -- RFC 2580 + + TruthValue, + DateAndTime, + PhysAddress FROM SNMPv2-TC -- RFC 2579 + + SnmpAdminString FROM SNMP-FRAMEWORK-MIB --RFC 3411 + + ifIndex FROM IF-MIB --RFC 2863 + + clabProjDocsis FROM CLAB-DEF-MIB + +; + +esafeMib MODULE-IDENTITY + LAST-UPDATED "200702230000Z" -- February 23, 2007 + ORGANIZATION "Cable Television Laboratories, Inc." + CONTACT-INFO + "Postal: Cable Television Laboratories, Inc. + 858 Coal Creek Circle + Louisville, CO 80027 + U.S.A. + Phone: +1 303-661-9100 + Fax: +1 303-661-9199 + E-mail: mibs@cablelabs.com" + DESCRIPTION + "This MIB module provides the management objects necessary + to configure functionality of eSAFE components of a device + implementing an eDOCSIS compliant cable modem and one or + more eSAFE elements. + + Copyright 1999-2007 Cable Television Laboratories, Inc. + All rights reserved." + REVISION "200702230000Z" -- February 23, 2007 + DESCRIPTION + "This revision is published as CM-SP-eDOCSIS-I11." + + REVISION "200607280000Z" -- July 28, 2006 + DESCRIPTION + "This revision is published as CM-SP-eDOCSIS-I09." + ::= { clabProjDocsis 14 } + +-- Administrative assignments + +-- esafeNotifications OBJECT IDENTIFIER ::= { esafeMib 0 } +esafeMibObjects OBJECT IDENTIFIER ::= { esafeMib 1 } +esafeBase OBJECT IDENTIFIER ::= { esafeMibObjects 1 } +``` + +``` + +esafePsMibObjects OBJECT IDENTIFIER ::= { esafeMibObjects 2 } +esafeMtaMibObjects OBJECT IDENTIFIER ::= { esafeMibObjects 3 } +esafeStbMibObjects OBJECT IDENTIFIER ::= { esafeMibObjects 4 } +esafeErouterMibObjects OBJECT IDENTIFIER ::= { esafeMibObjects 5 } + +``` + +Object Groups + +eSAFE Base Objects + +``` + +esafeProvisioningStatusTable OBJECT-TYPE + SYNTAX SEQUENCE OF EsafeProvisioningStatusEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "This table contains the current provisioning + status of each implemented eSAFE, and information + about the last failure or exception condition in + the eSAFE provisioning process, if applicable." + ::= { esafeBase 1 } + +``` + +``` + +esafeProvisioningStatusEntry OBJECT-TYPE + SYNTAX EsafeProvisioningStatusEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "An entry in this table is created for + each eSAFE implemented in the eDOCSIS + compliant device." + INDEX { ifIndex } + ::= { esafeProvisioningStatusTable 1 } + +``` + +``` + +EsafeProvisioningStatusEntry ::= SEQUENCE +{ + esafeProvisioningStatusProgress INTEGER, + esafeProvisioningStatusFailureFound TruthValue, + esafeProvisioningStatusFailureFlow SnmpAdminString, + esafeProvisioningStatusFailureEventID Unsigned32, + esafeProvisioningStatusFailureErrorText SnmpAdminString, + esafeProvisioningStatusLastUpdate DateAndTime +} + +``` + +``` + +esafeProvisioningStatusProgress OBJECT-TYPE + SYNTAX INTEGER { + notInitiated(1), + inProgress(2), + finished(3) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The current state of the eSAFE provisioning process. + + notInitiated(1) indicates that the eSAFE has not yet + begun its provisioning process. + + inProgress(2) indicates that the eSAFE is in the process + of provisioning. + + finished(3) indicates that the eSAFE completed + its provisioning process. Provisioning success + or failure information is provided by other + objects, including + +``` + +``` + + esafeProvisioningStatusFailureFound and + cabhPsDevProvState." + ::= { esafeProvisioningStatusEntry 1 } + +esafeProvisioningStatusFailureFound OBJECT-TYPE + SYNTAX TruthValue + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "true(1) indicates that the eSAFE encountered + an error condition during the provisioning + process. An eSAFE could start a looping process + from a previous flow step after a failure, + therefore this value is retained until the + flow step that initially failed eventually + passes or is updated with another error + condition. + + The eSAFE device needs to reflect in the value of + 'esafePsProvisioningStatusFailureFound' any recognized + errors even if it is still in the process of + provisioning, i.e., when + esafeProvisioningStatusProgress has a value of + inProgress(2)." + REFERENCE + "PacketCable Provisioning specification, + Provisioning Overview section; CableHome + specification, Provisioning Processes + section, BSoD TDM Emulation Interface Specification, + Provisioning section." + ::= { esafeProvisioningStatusEntry 2 } + +esafeProvisioningStatusFailureFlow OBJECT-TYPE + SYNTAX SnmpAdminString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "If esafeProvisioningStatusFailureFound + is true(1), this object contains the + label for the provisioning flow step + in which the error condition was + encountered, otherwise an empty value + is reported. + + The value of this object corresponds to + the provisioning sequence 'Flow Step' + designator for the associated eSAFE, as + defined in the eSAFE specification. For + example, an ePS will report a value like + CHPSWMD-1, an eMTA will report a value + such as MTA-1, and a TEA will report a value + such as eTEA-1." + REFERENCE + "PacketCable Provisioning specification, + Provisioning Overview section; CableHome + specification, Provisioning Processes + section; BSoD TDM Emulation Interface Specification, + provisioning section." + ::= { esafeProvisioningStatusEntry 3 } + +esafeProvisioningStatusFailureEventID OBJECT-TYPE + SYNTAX Unsigned32 (0..4294967295) + MAX-ACCESS read-only + STATUS current + +``` + +### DESCRIPTION + +"If esafeProvisioningStatusFailureFound is true(1), this object contains the eSAFE log error Event Identifier defined in the eSAFE specification, otherwise it returns a value '0'. For an eMTA type eSAFE, this object reports the PacketCable EventID value from the Provisioning Events table, e.g., 65535. For an ePS type eSAFE, this object reports the EventID value from the Defined Events for CableHome table, e.g., 68000100. For an eTEA type eSAFE, this object reports the Event ID value from the 'Event ID' column of the DOCSIS Events Extensions table for BSoD TDM Emulation Interface Specification, e.g., 8000100." + +### REFERENCE + +"PacketCable Provisioning specification, Appendix I Provisioning Events; CableHome specification, Appendix II Format and Content for Event, SYSLOG, and SNMP Trap; BSoD TDM Emulation Interface Specification, Annex A Event, SYSLOG, and SNMP Trap Extensions." + +::={ esafeProvisioningStatusEntry 4 } + +### esafeProvisioningStatusFailureErrorText OBJECT-TYPE + +SYNTAX SnmpAdminString + +MAX-ACCESS read-only + +STATUS current + +### DESCRIPTION + +"If esafeProvisioningStatusFailureFound is true(1), this object contains the eSAFE log error messages based on the eSAFE specification, otherwise it returns an empty value. For an eMTA type eSAFE, this object reports the value from the 'Comments' column of the Provisioning Events table, e.g., 'The DNS Response from the DNS server did not resolve the TFTP FQDN.' For an ePS type eSAFE this object reports the value from the 'Event Text' column of the Defined Events for CableHome table, e.g., 'DHCP Failed - Discover sent, no offer received. For an eTEA type eSAFE, this object reports the value from the 'Event Message' column of the DOCSIS Events Extensions table for BSoD TDM Emulation Interface Specification, e.g., 'TFTP config file download error (eTEA-6).'" + +### REFERENCE + +"PacketCable Provisioning specification, PacketCable Management Event Mechanism specification; CableHome specification, Appendix II Format and Content for Event, SYSLOG, and SNMP Trap; BSoD TDM Emulation Interface Specification, DOCSIS Events Extensions Annex for Event, SYSLOG, and SNMP Trap Extensions." + +::={ esafeProvisioningStatusEntry 5 } + +### esafeProvisioningStatusLastUpdate OBJECT-TYPE + +SYNTAX DateAndTime + +MAX-ACCESS read-only + +STATUS current + +``` + +DESCRIPTION + "The value of the eCM docsDevDateTime when + this row entry was last updated." + ::= { esafeProvisioningStatusEntry 6 } + +esafeDevStatusTable OBJECT-TYPE + SYNTAX SEQUENCE OF EsafeDevStatusEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "This table contains entries that provide the SNMP manager + with status information pertaining to each implemented + eSAFE device. While this table MUST be implemented by all + eDOCSIS devices, the support for reporting such information + and the status conditions supported will be determined by + the corresponding eSAFE specifications. It is highly + recommended that the eSAFE MIBs themselves have objects + to specify more detailed information." + ::= { esafeBase 2 } + +esafeDevStatusEntry OBJECT-TYPE + SYNTAX EsafeDevStatusEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "An entry in this table MUST be created for each eSAFE + device behind the eCM. The index needs to be the + corresponding index in the ifTable for the associated + eSAFE device." + INDEX { ifIndex } + ::= { esafeDevStatusTable 1 } + +esafeDevStatusEntry ::=SEQUENCE +{ + esafeDevServiceIntImpact INTEGER, + esafeDevServiceIntImpactInfo SnmpAdminString +} + +esafeDevServiceIntImpact OBJECT-TYPE + SYNTAX INTEGER { + significant(1), + none(2), + unsupported(3) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The value of this MIB object indicates the service + interruption impact assessment of the corresponding eSAFE + device as determined by the current status of the eSAFE + device, in accordance with the directives provided in the + eSAFE specification. + + If esafeDevServiceIntImpact is set to significant (1), it + indicates that the corresponding eSAFE device (as per the + eSAFE specification) identifies a significant impact on the + active services at the given point in time. This impact + level is highly recommended for critical or real-time + services, though the impact assessment is left to the + directives provided by the associated eSAFE specification. + " +} + +``` + +If esafeDevServiceIntImpact is set to none (2), it indicates that the corresponding eSAFE device (as per the eSAFE specification) identifies no significant impact on the services offered at the given point in time. + +If esafeDevServiceIntImpact is unsupported(3), it indicates that the corresponding eSAFE device has no known interfaces to support this feature or the eSAFE specification does not recommend this feature. + +If the eSAFE specification specifies the use of this mechanism, then it MUST define definitive states for the impacts (significant or none) and the value of unsupported(3) MUST not be used by the eDOCSIS device for that eSAFE interface. + +However, if the corresponding eSAFE specification does not provide any directives, then the value MUST be set to unsupported(3). + +If there exists multiple services being offered by an eSAFE device (Either multiple services or multiple instances of the same service), this MIB MUST indicate the highest possible impact and other impact information SHOULD be populated in the associated esafeDevServiceIntImpactInfo table." + +::={ esafeDevStatusEntry 1 } + +esafeDevServiceIntImpactInfo OBJECT-TYPE + +SYNTAX SnmpAdminString + +MAX-ACCESS read-only + +STATUS current + +DESCRIPTION + +"This object provides more information to the SNMP Managers regarding the condition reported in esafeDevServiceIntImpact. The eSAFE device vendor could use this to fill in specific vendor strings or values that could add value or provide more information related to the status. + +Examples: + +For eMTA devices: + +Lines 1 and 3 have active connections, Line 2 is not provisioned. + + + +For other eSAFE devices: + +Critical video streaming in progress, please wait for 5.30 minutes + +. + +The device MUST report 'No Additional Information' in case the associated eSAFE vendor cannot obtain information from the eSAFE device." + +::={ esafeDevStatusEntry 2 } + +-- + +-- Objects that apply to an eCM with an ePS type eSAFE. + +-- + +``` + +esafePsCableHomeModeControl OBJECT-TYPE + SYNTAX INTEGER { + disabledMode(1), + provSystem(2), + dormantCHMode(3) + } + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "This object provides control over the mode of + operation of the CableHome ePS eSAFE element + of the eDOCSIS compliant device. + + When this object is set to disabledMode(1), the + ePS eSAFE element is instructed to switch to + CableHome Disabled Mode operation. + + When this object is set to provSystem(2), the ePS + eSAFE element restarts its provisioning process. + + When this object is set to dormantCHMode(3), the ePS + eSAFE element is instructed to switch to CableHome + Dormant Mode operation. In this mode, the ePS restarts + its provisioning process omitting CableHome-specific + DHCP Options 60 and 43 in the DHCP DISCOVER and + DHCP REQUEST messages, acquires an IP address lease from + the cable operator's DHCP server, and operates in unmanaged + Dormant CableHome Mode regardless of the values of the file + and siaddr fields or of the values of DHCP options that + might otherwise configure the ePS to operate in DHCP + Provisioning Mode or in SNMP Provisioning Mode. + + The value of this object MUST persist across cable modem + resets." + REFERENCE + "CableHome specifications, CableHome Operational + Modes section." + DEFVAL { dormantCHMode } + ::= { esafePsMibObjects 1 } + +esafePsCableHomeModeStatus OBJECT-TYPE + SYNTAX INTEGER { + disabledMode(1), + dormantCHMode(2), + cableHomeMode(3) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "This object provides visibility to the current + mode of operation of the CableHome ePS eSAFE + element of the eDOCSIS compliant device. + + If the value of this object is disabledMode(1), the + ePS eSAFE element is currently operating in CableHome + Disabled Mode. + + If the value of this object is dormantCHMode(2), the + ePS is currently operating in Dormant CableHome Mode. + + If the value of this object is cableHomeMode(3), the ePS + is currently operating in CableHome mode." + +``` + +### REFERENCE + +"CableHome specification, CableHome Operational Models section." + +::= { esafePsMibObjects 2 } + +-- + +-- Objects that apply to an eCM with an eRouter type eSAFE. + +-- + +### esafeErouterAdminMode OBJECT-TYPE + +SYNTAX INTEGER { + +disabled(1), +ipv4Only(2), +ipv6Only(3), +ipv4AndIpv6(4) + +} + +MAX-ACCESS read-only + +STATUS current + +### DESCRIPTION + +"This object provides visibility to the mode of operation to which the DOCSIS eRouter eSAFE element was set via TLV in the cable modem configuration file. + +If the value of this object is disabled(1), the eRouter was configured via TLV in the cable modem configuration file to not initialize as described in the eRouter Initialization section of the CableLabs IPv4 and IPv6 eRouter Specification. + +If the value of this object is ipv4Only(2), the eRouter was configured via TLV in the cable modem configuration file to operate with an IPv4 network address and with the IPv4 stack operational and to operate without an IPv6 network address and to not run an IPv6 protocol stack. + +If the value of this object is ipv6Only(3), the eRouter was configured via TLV in the cable modem configuration file to operate with an IPv6 network address and with the IPv6 stack operational and to operate without an IPv4 network address and to not run an IPv4 protocol stack. + +If the value of this object is ipv4AndIpv6(4), the eRouter was configured via TLV in the cable modem configuration file to operate with an IPv4 network address and an IPv6 network address and to run both IPv4 and IPv6 protocol stacks." + +### REFERENCE + +"DOCSIS IPv4 and IPv6 eRouter Specification, CM-SP-eRouter-I02-070223." + +::= { esafeErouterMibObjects 1 } + +### esafeErouterOperMode OBJECT-TYPE + +SYNTAX INTEGER { + +disabled(1), +ipv4OnlyFwding(2), +ipv6OnlyFwding(3), +ipv4AndIpv6Fwding(4), +noIpv4AndNoIpv6Fwding(5) + +} + +MAX-ACCESS read-only + +STATUS current + +### DESCRIPTION + +"This object provides visibility to the current mode of operation of the DOCSIS eRouter eSAFE element of the eDOCSIS compliant device. + +If the value of this object is disabled(1), the eRouter eSAFE element has been administratively Disabled. The eDOCSIS device will bridge traffic according to the configuration of the DOCSIS embedded cable modem (eCM) + +If the value of this object is ipv4OnlyFwding(2), the eRouter eSAFE element is currently operating with the IPv4 protocol stack operational, is forwarding IPv4 traffic, and is not running an IPv6 protocol stack and not forwarding IPv6 traffic. + +If the value of this object is ipv6OnlyFwding(3), the eRouter eSAFE element is currently operating with the IPv6 protocol stack operational, is forwarding IPv6 traffic, and is not running an IPv4 protocol stack and not forwarding IPv4 traffic. + +If the value of this object is ipv4AndIpv6Fwding(4), the eRouter eSAFE element is currently operating with both the IPv4 protocol stack and IPv6 protocol stack operational, and is forwarding IPv4 and IPv6 traffic. + +If the value of this object is noIpv4AndNoIpv6Fwding(5), the eRouter is currently operating with neither the IPv4 nor IPv6 protocol stack running. The eRouter is unable to pass traffic between the Operator-Facing Interface and the Customer-Facing Interface. " + +### REFERENCE + +"DOCSIS IPv4 and IPv6 eRouter Specification, +CM-SP-eRouter-I02-070223." +::= { esafeErouterMibObjects 2 } + +### esafeErouterPhysAddress OBJECT-TYPE + +SYNTAX PhysAddress + +MAX-ACCESS read-only + +STATUS current + +### DESCRIPTION + +"The physical address of the operator-facing interface of the DOCSIS eRouter eSAFE element." +::= { esafeErouterMibObjects 3 } + +### -- Conformance information + +esafeMibConformance OBJECT IDENTIFIER ::= { esafeMib 2 } +esafeMibCompliances OBJECT IDENTIFIER ::= { esafeMibConformance 1 } +esafeMibGroups OBJECT IDENTIFIER ::= { esafeMibConformance 2 } + +### -- Compliance statements + +### esafeMibBasicCompliance MODULE-COMPLIANCE + +STATUS current + +### DESCRIPTION + +"The compliance statement for eSAFE MIB objects." + +MODULE -- eSAFE-MIB + +``` + +-- unconditionally mandatory groups + +MANDATORY-GROUPS { + esafeBaseGroup +} + +-- conditionally mandatory groups + +GROUP esafePsMibGroup + DESCRIPTION + "This group is implemented only by eDOCSIS devices + that implement an embedded Portal Services logical + element (ePS) compliant with CableLabs + CableHome specifications." + +GROUP esafeERouterMibGroup + DESCRIPTION + "This group is implemented only by eDOCSIS devices + that implement a DOCSIS embedded router (eRouter) + element compliant with CableLabs DOCSIS eRouter + specifications." + ::= { esafeMibCompliances 1 } + +-- eSAFE Base Group Declarations + +esafeBaseGroup OBJECT-GROUP + OBJECTS { + esafeProvisioningStatusProgress, + esafeProvisioningStatusFailureFound, + esafeProvisioningStatusFailureFlow, + esafeProvisioningStatusFailureEventID, + esafeProvisioningStatusFailureErrorText, + esafeProvisioningStatusLastUpdate, + esafeDevServiceIntImpact, + esafeDevServiceIntImpactInfo + } + STATUS current + DESCRIPTION + "Group of eSAFE Base objects in the eSAFE MIB." + ::= { esafeMibGroups 1 } + +-- PS MIB Group + +esafePsMibGroup OBJECT-GROUP + OBJECTS { + esafePsCableHomeModeControl, + esafePsCableHomeModeStatus + } + STATUS current + DESCRIPTION + "Group of embedded PS-specific objects + in the eSAFE MIB." + ::= { esafeMibGroups 2 } + +-- eRouter MIB Group + +esafeERouterMibGroup OBJECT-GROUP + OBJECTS { + esafeERouterAdminMode, + esafeERouterOperMode, + esafeERouterPhysAddress + } +} + +``` + +``` +STATUS current +DESCRIPTION + "Group of embedded Router-specific objects + in the eSAFE MIB." +:: = { esafeMibGroups 3 } +``` + +``` +END +``` + +# Annex C + +## Format and content for eCM/eSTB event, SYSLOG, and SNMP trap extensions + +(This annex forms an integral part of this Recommendation) + +To facilitate device provisioning and fault management, the eCM of a Set-top Device MUST support the DOCSIS Event extensions defined in this annex. + +This annex is an extension of Annex D Format and Content for Event, SYSLOG, and SNMP Trap (normative) of [DOCSIS2-OSSI]. + +**Table C.1 – eDOCSIS events extensions** + +| Set-top device software upgrade | | | | | | | | +|---------------------------------|----------------------------|-------------|----------------------------------------------------------------------------|---------------------------|----------------|----------|-------------------------------| +| Process | Sub-process | CM priority | Event message | Message notes and details | Error code set | Event ID | Trap name | +| SW Upgrade | SW Upgrade General Failure | Notice | DOCSIS SSD not supported | | H01.1 | 72000101 | | +| SW Upgrade | Verification of CVC | Error | Set-top Device CVC validation failure for CVC distributed through the eSTB | | H01.2 | 72000102 | docsDevCmSwUpgradeCVCFailTrap | +| SW Upgrade | SW Upgrade Init | Notice | Set-top Device code file download initialized through the eSTB | | H01.3 | 72000103 | docsDevCmSwUpgradeInitTrap | +| SW Upgrade | SW Upgrade General Failure | Error | Set-top Device code file download through the eSTB failed | | H01.4 | 72000104 | docsDevCmSwUpgradeFailTrap | +| SW Upgrade | SW Upgrade Success | Notice | Set-top Device code file successfully downloaded through the eSTB | | H01.5 | 72000105 | docsDevCmSwUpgradeSuccessTrap | + + + + + +## SERIES OF ITU-T RECOMMENDATIONS + +| | | +|-----------------|----------------------------------------------------------------------------------------------------| +| Series A | Organization of the work of ITU-T | +| Series D | General tariff principles | +| Series E | Overall network operation, telephone service, service operation and human factors | +| Series F | Non-telephone telecommunication services | +| Series G | Transmission systems and media, digital systems and networks | +| Series H | Audiovisual and multimedia systems | +| Series I | Integrated services digital network | +| Series J | Cable networks and transmission of television, sound programme and other multimedia signals | +| Series K | Protection against interference | +| Series L | Construction, installation and protection of cables and other elements of outside plant | +| Series M | Telecommunication management, including TMN and network maintenance | +| Series N | Maintenance: international sound programme and television transmission circuits | +| Series O | Specifications of measuring equipment | +| Series P | Telephone transmission quality, telephone installations, local line networks | +| Series Q | Switching and signalling | +| Series R | Telegraph transmission | +| Series S | Telegraph services terminal equipment | +| Series T | Terminals for telematic services | +| Series U | Telegraph switching | +| Series V | Data communication over the telephone network | +| Series X | Data networks, open system communications and security | +| Series Y | Global information infrastructure, Internet protocol aspects and next-generation networks | +| Series Z | Languages and general software aspects for telecommunication systems | \ No newline at end of file diff --git a/marked/J/T-REC-J.127-200406-I_PDF-E/raw.md b/marked/J/T-REC-J.127-200406-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..2ad2f2a66907fecfa9a83f066832244e893cd8c6 --- /dev/null +++ b/marked/J/T-REC-J.127-200406-I_PDF-E/raw.md @@ -0,0 +1,541 @@ + + +![ITU logo](2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg) + +The logo of the International Telecommunication Union (ITU) features the letters 'ITU' in a bold, sans-serif font, superimposed on a stylized globe with intersecting lines. + +ITU logo + +INTERNATIONAL TELECOMMUNICATION UNION + +**ITU-T** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +**J.127** + +(06/2004) + +SERIES J: CABLE NETWORKS AND TRANSMISSION +OF TELEVISION, SOUND PROGRAMME AND OTHER +MULTIMEDIA SIGNALS + +Interactive systems for digital television distribution + +--- + +**Transmission protocol for multimedia +webcasting over TCP/IP networks** + +ITU-T Recommendation J.127 + +--- + + + +# **ITU-T Recommendation J.127** + +# **Transmission protocol for multimedia webcasting over TCP/IP networks** + +# **Summary** + +This Recommendation defines a transmission protocol for multimedia webcasting over TCP/IP networks. The protocol consists of a presentation description and session control. The presentation description is based on the XHTML format, and it specifies properties of the media such as URI, content type, content size, accounting information, and so on. First of all, a terminal receives the presentation description, and sets up in accordance with the description. Then the terminal starts transmission of the media in accordance with the session control, which is based on HTTP. The session control supports starting the session, retrieving the media data and ending the session. In addition, a remote camera control scheme is also defined in the session control. Since the protocol defined in this Recommendation is similar to the WWW browsing system, problems related to the UDP/IP streaming such as the Firewall issue are resolved by this Recommendation, and the implementation will have less affect. + +## **Source** + +ITU-T Recommendation J.127 was approved on 29 June 2004 by ITU-T Study Group 9 (2001-2004) under the ITU-T Recommendation A.8 procedure. + +# FOREWORD + +The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. + +The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics. + +The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1. + +In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. + +## NOTE + +In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure e.g. interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party. + +# INTELLECTUAL PROPERTY RIGHTS + +ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. + +As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database. + +© ITU 2004 + +All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU. + +# CONTENTS + +###### Page + +| | | | +|-----|--------------------------------------------|---| +| 1 | Scope ..... | 1 | +| 2 | References..... | 1 | +| 2.1 | Normative references..... | 1 | +| 2.2 | Informative references..... | 1 | +| 3 | Terms and definitions ..... | 1 | +| 4 | Abbreviations..... | 2 | +| 5 | Presentation Description..... | 2 | +| 5.1 | XHTML Presentation Description Format..... | 2 | +| 5.2 | Element ..... | 3 | +| 5.3 | Element ..... | 4 | +| 6 | Session control..... | 6 | +| 6.1 | Retrieval of the content size ..... | 6 | +| 6.2 | Data transmission ..... | 7 | +| 6.3 | Normal termination ..... | 8 | +| 6.4 | Abnormal termination ..... | 8 | +| 6.5 | Camera control ..... | 9 | + + + +# ITU-T Recommendation J.127 + +## Transmission protocol for multimedia webcasting over TCP/IP networks + +# 1 Scope + +This Recommendation defines a transmission protocol for multimedia webcasting of various media format over TCP/IP networks. Such formats include J.123 and J.124 as well as other media formats. However, the protocol defined in this Recommendation is independent from the media format, which is outside the scope of this Recommendation. + +The protocol consists of a presentation description and session control. The presentation description is based on the XHTML format, and the session control is based on HTTP. Issues not especially specified here shall comply with XHTML and HTTP. + +# 2 References + +## 2.1 Normative references + +The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation. + +- [1] W3C Recommendation, XHTML 1.0: *The Extensible HyperText Markup Language*. +- [2] IETF RFC 2068 (1997), *Hypertext Transfer Protocol – HTTP/1.1*. + +## 2.2 Informative references + +- [3] ITU-T Recommendation J.123 (2002), *Multiplexing format for webcasting on TCP/IP network*. +- [4] ITU-T Recommendation J.124 (2004), *Multiplexing format for multimedia webcasting over TCP/IP networks*. + +# 3 Terms and definitions + +This Recommendation defines the following terms: + +- 3.1 file downloading:** Program transmission method whereby the program starts playing after the entire data has been downloaded. +- 3.2 live transmission:** Program transmission method whereby the program starts playing after a certain amount of data has been buffered while receiving subsequent data in the background, where the program is fed in real time by the content provider. +- 3.3 VoD transmission:** Program transmission method whereby the program starts playing after a certain amount of data has been buffered while receiving subsequent data in the background, where the program is completely created by the content provider. + +# 4 Abbreviations + +This Recommendation uses the following abbreviations: + +HTTP Hypertext Transfer Protocol + +MIME Multipurpose Internet Mail Extensions + +VoD Video-on-Demand + +XHTML Extensible HyperText Markup Language + +# 5 Presentation Description + +## 5.1 XHTML Presentation Description Format + +The overall program and the properties of the media shall be defined by a presentation description in XHTML [1]. The presentation description may be obtained by the receiver using HTTP or other means such as e-mail and may not necessarily be stored on the server. + +The presentation description contains a description of the media streams making up the program, including their location, title, encoding types, data size, and other parameters that enable the receiver to start retrieving the most appropriate media. + +The presentation description is written by the element with the elements of XHTML. + +An example is shown below. Elements defined by this Recommendation are written with bold letters. + +``` + + + + +Webcasting Test Page + + + + + + + + + + + +``` + +Elements used in the presentation description are summarized in Table 1. In Table 1, M/O stands for "Mandatory" or "Optional", respectively. + +**Table 1/J.127 – Elements defined in this Recommendation** + +| Element | Attribute | M/O | Value | Description | +|---------|--------------------------------------------------------|-----|----------------|----------------------------------------------------------------------------------------------------------| +| object | data | M | URI String | Actual location of the media file. | +| object | type | M | MIME Type | MIME type of the media. | +| object | copyright | O | "yes" "no" | Copyright control. | +| object | standby | M | String | The displayed text of the link. | +| param | name="ac"
value="...."
valuetype="data" | O | String | Access Ticket. | +| param | name="bitrate"
value="...."
valuetype="data" | O | Numeric String | Bit rate of the content in bit/s. | +| param | name="camctl"
value="...."
valuetype="data" | O | Numeric String | Camera control capability. | +| param | name="disposition"
value="...."
valuetype="data" | M | String | Types of the content distribution, which stands for downloading, VoD transmission, or live transmission. | +| param | name="duration"
value="...."
valuetype="data" | O | Numeric String | Duration of the content in milliseconds. | +| param | name="size"
value="...."
valuetype="data" | O | Numeric String | File size of the content in bytes. This field is effective for downloading and VoD streaming. | +| param | name="title"
value="...."
valuetype="data" | M | String | Title text of the content. | + +## 5.2 Element + +The following attributes for the element are defined in this Recommendation. + +### 5.2.1 data + +This is a mandatory attribute that specifies the URI of the media to be transmitted. In this Recommendation, since the media is transmitted by HTTP, the scheme of the URI shall be http, or the URI shall start with "http://". + +### 5.2.2 type + +This is a mandatory attribute that specifies the MIME type of the media to be transmitted. For example, "video/MP2T" is specified for MPEG-2 Transport Stream. + +### 5.2.3 copyright + +This attribute takes "yes" or "no", and this is optional. The default value is "no". The copyright attribute takes effect as follows. + +yes: The content is protected from storing. The media data cannot be stored in the device after playing. + +no: The media data can be stored in the device after playing. + +If this attribute is not specified, the terminal shall handle the file as storing allowed. + +### 5.2.4 standby + +This is a mandatory attribute that specifies the displayed text of the link to the media. It will typically be "Click Here" or the name of the content. + +## 5.3 Element + +Parameters of the media are specified with the element in the HTML description. The following parameters are defined in this Recommendation. Each parameter is identified by the name attribute and the value is specified by the value attribute. For the all parameters, valuetype="data" shall be included in each element. + +The terminal shall ignore unknown parameters. + +### 5.3.1 ac + +This is an optional parameter and the value attribute specifies the access ticket. The maximum length of the value is 512 bytes. The terminal that obtained the access ticket from the ac parameter in the presentation description shall use this ticket when the terminal carries out the session control as "ac=" parameter in the HTTP request. See also clause 6. + +This is used for identification of fee collection. + +### 5.3.2 bitrate + +This is an optional parameter. It specifies the total bit rate of the media in bits per second. If the media has video and audio track, the bitrate value will be the sum of the bit rate of each track. + +If the media has multiple bit rates for adaptive bit rate changing, all the values are specified with ':' separator. For example, + + + +### 5.3.3 camctl + +This is an optional parameter that shows the camera control capability of the content. The value consists of 8-numeric letters and each digit shows the capability of each camera control. The following table explains the camera control value (= "XYZABCDE"), where the left-most digit is firstly described. + +**Table 2/J.127 – Camera control parameters** + +| No. | Value | Description | +|-----|--------|--------------------------------------------------| +| 1 | 0 or 1 | If the value is 1, panning control is supported. | +| 2 | 0 or 1 | If the value is 1, tilting control is supported. | +| 3 | 0 or 1 | If the value is 1, zooming control is supported. | +| 4 | 0 | Reserved | +| 5 | 0 | Reserved | +| 6 | 0 | Reserved | +| 7 | 0 | Reserved | +| 8 | 0 | Reserved | + +For example, the following shows the case where the content supports the pan and the zoom control. + +**** + +- The "camctl" parameter is effective only for the camera control enabled content, which is specified by the "disposition" parameter described below. +- The terminal shall recognize the content has camera control capability only when the "camctl" parameter exists and the value has an appropriate setting. +- The terminal shall recognize the content has no camera control capability if the value is not specified or the value is "00000000". +- The terminal shall recognize the content has no camera control capability if the value has more than eight digits or less than eight digits. +- The terminal shall recognize the content has no camera control capability if the value contains any digits other than 0 or 1. +- The terminal shall ignore the "camctl" parameter if any reserved field contains a non-zero. + +Actual actions for the camera control are described in 6.5. + +### 5.3.4 disposition + +The disposition parameter defines the content type, its application, distribution scheme, and so on. The existence of the disposition parameter is mandatory. In this Recommendation, the disposition parameter itself is not defined, but what the parameter specifies is defined as follows. + +- Category of the content: Video (including Video and Audio), Audio, Voice, MIDI, Still Image, Animation, Application Program (e.g., JAVA), etc. +- Transmission scheme of the content: File downloading, VoD transmission, Live transmission. +- Purpose of the content: Just viewing, Storing, Particular use (Wallpaper, Screensaver, Alarm, etc.). + +### 5.3.5 duration + +This is an optional parameter. It specifies the duration of the media in milliseconds. If the media has different duration of video and audio track, the value is the longest duration in the tracks. + +### 5.3.6 size + +This is an optional parameter. It specifies the data size of the media in bytes, which helps the terminal to obtain the content size in advance of transmitting. Regarding the file downloading and the VoD transmission, the file is already created before transmitting. Therefore, the value of the size parameter is the same as the size of the file. + +In addition, if the media has multiple bit rates for adaptive bit rate changing, each size corresponding to each bit rate is specified with ':' separator. For example, + +**** + +If this parameter is not specified in the presentation description, the terminal shall require the content size from the server at the beginning of the transmission. This is carried out with the HEAD request of HTTP. Details are described in 6.1. + +For the live transmission, the file size cannot be estimated before transmission. In this case, the size value indicates the maximum size of the stream that is continuously transmitted. For example, if the size is 1572864 for the live transmission, the connection will be closed after receiving 1.5 MB of the content. + +### 5.3.7 title + +This is a mandatory parameter that describes the title of the content. The maximum length of the value is 40 bytes. The title may be shown on the terminal when the content is playing. + +# 6 Session control + +In this Recommendation, all session controls are based on HTTP. Some commands are embedded in the HTTP-URI query part and some are sent to the server in the HTTP request header. + +After retrieving the presentation description, the terminal issues the HTTP request in order to start the session. The following defines the session control in this Recommendation. + +## 6.1 Retrieval of the content size + +For the file downloading and the VoD streaming, the terminal shall obtain the size of the content unless the size parameter exists in the presentation description. This is done with the HEAD method of HTTP as follows. + +Syntax: + +**HEAD /URI?ac=xxxx&br=128000&ts=1 HTTP/1.1** + +| Item | M/O | Description | +|----------------|-----|-----------------------------------------------------------------------| +| Method | M | HEAD | +| URI | M | URI obtained from the presentation description. | +| URI Parameters | ac | O Access ticket obtained from the presentation description. | +| | br | O Bit rate selection in accordance with the presentation description. | +| | ts | M 1
This parameter shall exist if ac is contained. | + +M/O stands for "Mandatory" or "Optional" respectively. + +The following defines the response expected to the request. + +**HTTP/1.1 200 OK** + +**Content-Length:** + +| Item | M/O | Description | +|-------------|----------------|----------------------------| +| Status Code | M | 200 OK | +| Header | Content-Length | M The size of the content. | + +The Content-Length header shall be returned only when the status is successful (200 OK). Other headers might be embedded in the response. The terminal shall ignore unknown headers. + +Status codes other than those described above are defined in HTTP [2]. + +## 6.2 Data transmission + +Request of the data transmission is defined as follows. + +| Item | | M/O | Description | +|----------------|------------------------------|-----|-----------------------------------------------------------------------------------------------------------------------------------------| +| Method | | M | GET | +| URI | | M | URI obtained from the presentation description. | +| URI Parameters | data | O | None: File downloading
evdo-2: Live transmission
evdo-4: VoD transmission | +| | ac | O | Access Ticket obtained from the presentation description. | +| | br | O | Bit rate selection in accordance with the presentation description. | +| | st | O | Specifies the start position of the transmission in milliseconds.
Effective only for the initial transmission request, where ts = 2. | +| | ts | M | 2: The beginning of the transmission
3: Continuous transmission
This parameter shall exist if ac is contained. | +| Header | Range | M | bytes = 0-XXXXX (The beginning of the transmission)
bytes = YYYYY-ZZZZZ (Subsequent transmission) | +| | x-up-devcap-streaming-camctl | O | See 6.5.
get_control: Camera control ticket is requested with the HTTP request.
pan±X, tilt±X, zoom±X: Camera control commands. | + +M/O stands for "Mandatory" or "Optional" respectively. + +Response to the data transmission request is defined as follows. + +| Item | | M/O | Description | +|-------------|--------------------|-----|------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Status Code | | M | 206 Partial Content | +| Parameters | Content-Range | M | bytes = xxxx-xxxx/xxxxxx
The size transmitted | +| | x-streaming-camctl | O | See 6.5.
XXX (digits, in seconds)
Valid period of the camera control ticket. Maximum value is 999 (seconds). | +| | x-streaming-campos | O | See 6.5.
pan±X, tilt±X, zoom±X
If the camera control parameter is contained in the request, the current camera position is returned in the response. | + +Regarding the Range parameter, the start bytes shall correspond to the actual bytes received at the previous request. The following table shows an example. Note that the Range parameter does not specify an actual position of the content in the server but specifies the number of bytes expected through the transmission. + +| The request number | Specified bytes in the request | Actual bytes in the response | +|--------------------|--------------------------------|------------------------------| +| 1 | 0-96767 | 48000 | +| 2 | 48000-144767 | 52000 | +| 3 | 100000-196767 | 50000 | + +Consequently, the request syntax is shown as follows. + +**GET /URI?data=evdo-4&ac=xxxx&br=128000&ts=2 HTTP/1.1 (The first request)** +**Range:bytes=0-96767** + +The following is the response expected to the request. + +**HTTP/1.1 206 Partial Content** +**Content-Range: bytes 0-48000/1572864** + +The subsequent request will be as follows. + +**GET /URI?data=evdo-4&ac=xxxx&br=128000&ts=3 HTTP/1.1 (The subsequent request)** +**Range:bytes=48000-144767** + +The following is the response to the subsequent request. + +**HTTP/1.1 206 Partial Content** +**Content-Range: bytes 48000-96000/1572864** + +Request and response are repeated until the media data is completely received. + +## 6.3 Normal termination + +For the VoD transmission and the live transmission, the terminal shall issue the termination request after receiving data of the requested size. + +Syntax: + +**GET /URI?ac=xxxx&ts=4 HTTP/1.1** + +| Item | M/O | Description | +|--------|-----|-----------------------------------------------------------| +| Method | M | GET | +| URI | M | URI obtained from the presentation description. | +| ac | O | Access Ticket obtained from the presentation description. | +| ts | M | 4
This parameter shall exist if ac is contained. | + +- For the file downloading, it is not necessary to send the termination request. +- When the terminal receives the response to this request, the VoD/live transmission is finished. The response will be "200 OK" or similar, and the terminal should ignore it. + +## 6.4 Abnormal termination + +For the VoD transmission and the live transmission, the terminal shall issue the abnormal termination request when a transmission error occurs. For example, the case is regarded as a transmission error where the expected size of the content cannot be received during VoD transmission or live transmission. + +Syntax: + +**GET /URI?ac=xxxx&ts=5 HTTP/1.1** + +| Item | M/O | Description | +|--------|-----|-------------------------------------------------------------| +| Method | M | GET | +| URI | M | URI obtained from the presentation description. | +| | ac | O Access Ticket obtained from the presentation description. | +| | ts | M 5
This parameter shall exist if ac is contained. | + +- For the file downloading, it is not necessary to send the abnormal termination request. +- When the terminal receives the response to this request, the VoD/live transmission is finished. The response will be "200 OK" or similar, and the terminal should ignore it. + +## 6.5 Camera control + +This clause describes camera control functions. If the "camctl" attribute is specified in the presentation description, the terminal shall recognize the content as camera control enabled. The camera control is carried out in accordance with the following procedure: + +- request the camera control ticket; +- retrieve the ticket; +- send the camera control command; +- receive the notification of completion; + +Details are defined in the following subclauses. + +### 6.5.1 Request of the camera control ticket + +The request of the camera control ticket is issued with the data transmission request. This is done by adding a header to the HTTP request. The following shows the format of the header. + +**x-up-devcap-streaming-camctl: get\_control** + +If the ticket is successfully retrieved, the following header will be embedded in the HTTP response of the data transmission. + +**x-streaming-camctl: XXX** + +where XXX is the period of validity in seconds of the camera control assigned to the terminal. The range of the XXX is 0 to 999. + +If the XXX is less than zero or if the header is not contained in the HTTP response, the camera control ticket request has been rejected by the server. + +The following shows an example of the request and the response with the camera control ticket retrieval. + +*(Request)* + +**GET /URI?data=evdo-4&ac=xxxx&br=128000&ts=3 HTTP/1.1** + +**Range:bytes=48000-144767** + +**x-up-devcap-streaming-camctl: get\_control** + +*(Response)* + +**HTTP/1.1 206 Partial Content** + +**Content-Range: bytes 48000-96000/1572864** + +**x-streaming-camctl: 30** + +Note that if the terminal receives the "x-streaming-camctl" header without sending the request of the camera control ticket, it shall be ignored. + +### 6.5.2 Send the camera control command + +The request of the camera control is issued with the data transmission request as well as the ticket request. This is done by adding a header to the HTTP request during the ticket validation period. The following shows the format of the header. + +x-up-devcap-streaming-camctl: pan $\pm$ X, tilt $\pm$ X, zoom $\pm$ X + +where X is relative camera position, which is an integer value from 0 to 5. Adaptation of the value to the actual camera position is outside the scope of this Recommendation. Only the supported parameter shall be sent. The supported parameter is specified by the "camctl" attribute in the presentation description. See 5.3.3. Parameters that are not changed do not have to be sent. In this case, making X to 0 is also accepted. + +If the control is successfully performed, the following header will be embedded in the HTTP response of the data transmission. + +x-streaming-campos: pan+3, tilt-1, zoom+2 + +where each parameter is an actual camera position as a consequence of the camera control. + +The following shows an example of the request and the response with the camera control parameters. + +*(Request)* + +**GET /URI?data=evdo-4&ac=xxxx&br=128000&ts=3 HTTP/1.1** + +**Range:bytes=96000-192767** + +**x-up-devcap-streaming-camctl: pan+1,tilt-1,zoom+2** + +*(Response)* + +**HTTP/1.1 206 Partial Content** + +**Content-Range: bytes 96000-134000/1572864** + +**x-streaming-campos: pan+3,tilt+0,zoom+1** + +Note that if the terminal receives the "x-streaming-campos" header without sending the request of the camera control ticket, it shall be ignored. If the server receives the "x-up-devcap-streaming-camctl" parameter without a valid ticket, it shall be ignored. The terminal shall not re-send the "x-up-devcap-streaming-camctl" parameter unless the terminal receives the "x-streaming-campos" response. + + + +# SERIES OF ITU-T RECOMMENDATIONS + +| | | +|-----------------|--------------------------------------------------------------------------------------------------------------------------------| +| Series A | Organization of the work of ITU-T | +| Series B | Means of expression: definitions, symbols, classification | +| Series C | General telecommunication statistics | +| Series D | General tariff principles | +| Series E | Overall network operation, telephone service, service operation and human factors | +| Series F | Non-telephone telecommunication services | +| Series G | Transmission systems and media, digital systems and networks | +| Series H | Audiovisual and multimedia systems | +| Series I | Integrated services digital network | +| Series J | Cable networks and transmission of television, sound programme and other multimedia signals | +| Series K | Protection against interference | +| Series L | Construction, installation and protection of cables and other elements of outside plant | +| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits | +| Series N | Maintenance: international sound programme and television transmission circuits | +| Series O | Specifications of measuring equipment | +| Series P | Telephone transmission quality, telephone installations, local line networks | +| Series Q | Switching and signalling | +| Series R | Telegraph transmission | +| Series S | Telegraph services terminal equipment | +| Series T | Terminals for telematic services | +| Series U | Telegraph switching | +| Series V | Data communication over the telephone network | +| Series X | Data networks and open system communications | +| Series Y | Global information infrastructure, Internet protocol aspects and Next Generation Networks | +| Series Z | Languages and general software aspects for telecommunication systems | \ No newline at end of file diff --git a/marked/J/T-REC-J.1301-202101-I_PDF-E/raw.md b/marked/J/T-REC-J.1301-202101-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..22893962d24dca19c66c042e3aee62ed62df5a89 --- /dev/null +++ b/marked/J/T-REC-J.1301-202101-I_PDF-E/raw.md @@ -0,0 +1,342 @@ + + +**ITU-T** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +**J.1301** + +(01/2021) + +SERIES J: CABLE NETWORKS AND TRANSMISSION +OF TELEVISION, SOUND PROGRAMME AND OTHER +MULTIMEDIA SIGNALS + +Cloud-based converged media services for IP and +broadcast cable television + +--- + +**Specification of a cloud-based converged media +service to support Internet protocol and +broadcast cable television – Requirements** + +Recommendation ITU-T J.1301 + + + +# Recommendation ITU-T J.1301 + +# Specification of a cloud-based converged media service to support Internet protocol and broadcast cable television – Requirements + +## Summary + +Recommendation ITU-T J.1301 specifies functional requirements for a cloud-based converged media service (CBCMS) to support Internet protocol (IP) and broadcast cable television (TV). With the development of cloud-native technology, CBCMS can be quickly deployed by cable TV operators. This Recommendation forms part of a series and specifies requirements for function, architecture, interface and security for CBCMSs to support IP and broadcast cable TV. + +## History + +| Edition | Recommendation | Approval | Study Group | Unique ID* | +|---------|----------------|------------|-------------|---------------------------------------------------------------------------| +| 1.0 | ITU-T J.1301 | 2021-01-13 | 9 | 11.1002/1000/14585 | + +## Keywords + +CBCMS, converged media, requirements. + +--- + +\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, . + +## FOREWORD + +The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. + +The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics. + +The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1. + +In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. + +## NOTE + +In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party. + +## INTELLECTUAL PROPERTY RIGHTS + +ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. + +As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents/software copyrights, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the appropriate ITU-T databases available via the ITU-T website at . + +© ITU 2021 + +All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU. + +## Table of Contents + +| | Page | +|-----------------------------------------------|------| +| 1 Scope ..... | 1 | +| 2 References..... | 1 | +| 3 Definitions ..... | 1 | +| 3.1 Terms defined elsewhere ..... | 1 | +| 3.2 Terms defined in this Recommendation..... | 1 | +| 4 Abbreviations and acronyms ..... | 2 | +| 5 Conventions ..... | 2 | +| 6 Overview ..... | 3 | +| 7 General requirements..... | 4 | +| 7.1 Functional requirements ..... | 4 | +| 7.2 Architecture requirements ..... | 5 | +| 7.3 Interface requirements ..... | 5 | +| 7.4 Security requirements ..... | 6 | +| Bibliography..... | 7 | + +## **Introduction** + +This Recommendation is part 1 of a multi-part deliverable covering the requirements for cloud-based converged media service to support IP and broadcast cable TV, as identified below: + +## **Part 1: Requirements.** + +Part 2: System architecture. + +Part 3: System specification on collaboration between production media cloud and cable service cloud. + +# Recommendation ITU-T J.1301 + +## Specification of a cloud-based converged media service to support Internet protocol and broadcast cable television – Requirements + +## 1 Scope + +This Recommendation specifies requirements for cloud-based converged media services (CBCMSs) to support Internet protocol (IP) and broadcast cable television (TV). The CBCMS is intended to be deployed in the service cloud of cable TV operators, which enables rapid innovation and deployment of new services, flexible expansion of online services, smart adaptation of service origins or paths to meet the distribution needs for different terminal types and network status. + +## 2 References + +The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation. + +[ITU-T J.205] Recommendation ITU-T J.205 (2012), *Requirements for an application control framework using integrated broadcast and broadband digital television*. + +[ITU-T J.295] Recommendation ITU-T J.295 (2012), *Functional requirements for a hybrid cable set-top box*. + +## 3 Definitions + +### 3.1 Terms defined elsewhere + +This Recommendation uses the following terms defined elsewhere: + +**3.1.1 infrastructure as a service (IaaS)** [b-ITU-T Y.3500]: Cloud service category in which the cloud capabilities type provided to the cloud service customer is an infrastructure capabilities type. + +**3.1.2 platform as a service (PaaS)** [b-ITU-T Y.3500]: Cloud service category in which the cloud capabilities type provided to the cloud service customer is a platform capabilities type. + +**3.1.3 software as a service (SaaS)** [b-ITU-T Y.3500]: Cloud service category in which the cloud capabilities type provided to the cloud service customer is an application capabilities type. + +**3.1.4 integrated broadcast and broadband (IBB) DTV service** [ITU-T J.205]: A service that simultaneously provides an integrated experience of broadcasting and interactivity relating to media content, data and applications from multiple sources, where the interactivity is sometimes associated with broadcasting programmes. + +### 3.2 Terms defined in this Recommendation + +This Recommendation defines the following terms: + +**3.2.1 cloud-based converged media service (CBCMS)**: A service intended for deployment by cable television operators and to support the requirements of rapid service innovation and deployment, which enables media services to be developed by separate vendors according to standard application programming interfaces, where appropriate. + +**3.2.2 microservice:** An architectural and organizational approach to software development where software is composed of small independent microservices that communicate over well-defined application programming interfaces. Microservice architecture makes applications easier to scale and faster to develop, enabling innovation and accelerating time-to-market for new features. + +**3.2.3 cloud digital video recorder (DVR):** A recorder that saves television (TV) shows in the cloud data centre of a service provider rather than in the DVR or set-top box near the TV. Cloud DVRs enable customers to store more content and record more shows that are broadcast at the same time. + +## 4 Abbreviations and acronyms + +This Recommendation uses the following abbreviations and acronyms: + +| | | +|--------|-------------------------------------| +| AI | Artificial Intelligence | +| API | Application Programming Interface | +| CA | Conditional Access | +| CBCMS | Cloud-Based Converged Media Service | +| DevOps | Development and Operations | +| DRM | Digital Rights Management | +| DTV | Digital Television | +| DVB | Digital Video Broadcasting | +| DVR | Digital Video Recorder | +| IaaS | Infrastructure as a Service | +| IBB | Integrated Broadcast and Broadband | +| PaaS | Platform as a Service | +| PPV | Pay Per View | +| QAM | Quadrature Amplitude Modulation | +| SaaS | Software as a Service | +| TV | Television | +| VOD | Video On Demand | + +## 5 Conventions + +In this Recommendation: + +The phrase "**is required to**" indicates a requirement that must be strictly followed and from which no deviation is permitted if conformity to this Recommendation is to be claimed. + +The phrase "**is recommended**" indicates a requirement that is recommended but which is not absolutely required. Thus this requirement need not be present to claim conformity. + +The phrase "**is prohibited from**" indicates a requirement that must be strictly followed and from which no deviation is permitted if conformity to this Recommendation is to be claimed. + +The phrase "**can optionally**" indicates an optional requirement that is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option and the feature can be optionally enabled by the network operator or service + +provider. Rather, it means the vendor may optionally provide the feature and still claim conformity with this Recommendation. + +In the body of this Recommendation and its annexes, the words *shall*, *shall not*, *should*, and *may* sometimes appear, in which case they are to be interpreted, respectively, as *is required to*, *is prohibited from*, *is recommended*, and *can optionally*. The appearance of such phrases or keywords in an appendix or in material explicitly marked as *informative* are to be interpreted as having no normative intent. + +## 6 Overview + +CBCMS is a service that provides various capabilities according to practical development requirements, including service abstraction, encapsulation, registration, control and open methods of various services. CBCMS will be deployed by cable TV operators and is intended to support rapid service innovation and deployment of interoperable IP-based cable TV systems. The general architecture of CBCMS is depicted in Figure 1. + +![Figure 1 – Cloud-based converged media service general architecture diagram](7a0db9703b68b3d06cdaeefc084c0006_img.jpg) + +The diagram illustrates the general architecture of CBCMS, showing a stack of layers. At the top is a blue box labeled 'Service abilities encapsulation and aggregation'. Below this is the SaaS layer, which contains several boxes: 'Service ability 1', 'Service ability 2', 'Service ability 3', an ellipsis '...', and 'Service ability N'. To the right of these boxes is a bracket labeled 'SaaS'. Below the SaaS layer is the PaaS layer, represented by a blue box labeled 'Libraries of microservices'. To the right of this box is a bracket labeled 'PaaS'. Below the PaaS layer is the IaaS layer, which consists of two blue boxes: 'Resources configuration/control' and 'Resources assurance/monitoring'. To the right of these boxes is a bracket labeled 'IaaS'. At the bottom of the stack is a dashed box labeled 'Cloud platform'. The entire stack is labeled 'J.1301(21)\_F01' at the bottom right. + +Figure 1 – Cloud-based converged media service general architecture diagram + +**Figure 1 – Cloud-based converged media service general architecture** + +Based on the cloud platform, the CBCMS has three layers: IaaS, PaaS and SaaS. + +The IaaS layer is required to do system cloud orchestration, virtual and physical cloud resources configuration, and assurance. + +The PaaS layer is required to provide libraries of CBCMS microservices that implement the key building blocks to be used by CBCMS service abilities. + +The SaaS layer is required to be composed of various service abilities that comprise all aspects of the IP-based video service. The SaaS layer also includes service abilities encapsulation and aggregation, which provide a common application programming interface (API) for use by all IP-based video devices. + +The details of the standard microservices that comprise the PaaS layer and especially all TV services that are included within the SaaS are under study. + +## **7 General requirements** + +### **7.1 Functional requirements** + +This Recommendation includes IP and broadcast cable TV services known at the time of drafting; however, this Recommendation is a framework that allows new services to be easily added in the future. + +#### **7.1.1 Cable digital television service** + +A CBCMS is required to support playback of the content provided by broadcast digital television (DTV) services as specified in [ITU-T J.295]. See also [b-GB-SEP] and [b-ETSI EN 301 192]. + +#### **7.1.2 Integrated broadcast and broadband digital television service** + +A CBCMS is required to support playback of the content provided by IBB DTV services as specified in [ITU-T J.205]. See also [b-ETSI TS 102 809]. + +#### **7.1.3 Internet protocol linear and time-shifting service** + +A CBCMS is required to support live and time-shifting TV programming and other video content using the IP. + +#### **7.1.4 Video-on-demand service** + +A CBCMS is required to support playback of the content provided by IP-based video on demand (VOD) and pay-per-view (PPV) services as specified in [ITU-T J.295], and shall support playback of the content provided by IP VOD services based on quadrature amplitude modulation (QAM). + +#### **7.1.5 Cloud digital video recorder service** + +A CBCMS is required to support a cloud DVR that saves TV shows in the cloud data centre of a service provider rather than in the DVR or set-top box near the TV. Cloud DVRs enable customers to store more content and record more shows that are broadcast at the same time. + +#### **7.1.6 Service integration** + +A CBCMS is required to support media services, such as linear, time-shifting, VOD or cloud DVR, with various capabilities according to practical development requirements, including service abstraction, encapsulation, registration and control. + +#### **7.1.7 Service adaptation** + +A CBCMS is required to support service coordination and adaptation to meet distribution needs for different service scenarios (e.g., different terminal types and different network conditions), which allows users to consume content both by terminal devices connected to a digital video broadcasting (DVB) cable distribution network and by terminal devices via an IP network. + +#### **7.1.8 Media content integration** + +A CBCMS is required to support the integration and enhancement of media content resources from different platforms, such as self-media and social media, which provide original material for service innovation. + +#### **7.1.9 Media processing** + +A CBCMS is required to support a variety of media processing tools such as non-linear editing, video rendering, special effects production, and video and audio transcoding, to facilitate media content production, integration and service release. + +#### **7.1.10 Media artificial intelligence service** + +A CBCMS is recommended to support media artificial intelligence (AI) services, such as intelligent processing, identification, analysis and decision making, which enable video tags, video fingerprints, video search, content moderation, etc. + +#### **7.1.11 Operating support capabilities** + +A CBCMS is required to support unified authentication, identity management, authorization management, business management and other back-end support functionalities that enable rapid service deployment with an open capability engine. + +#### **7.1.12 Data integration and analysis** + +A CBCMS is required to support data integration and analysis of services, products, customers, markets, services, management, etc., which assist the service design, deployment, operation and decision-making process. + +#### **7.1.13 Security** + +A CBCMS is required to support security mechanisms, such as content encryption, digital rights management (DRM) and conditional access (CA) and comply with security requirements of systems deployed in the cloud. CBCMS is recommended to support multi-dimensional data analysis to strengthen security. + +#### **7.1.14 Scaling** + +A CBCMS is required to support secure auto-scaling and resource optimization. Each service scales independently. + +#### **7.1.15 Test environment** + +A CBCMS is recommended to support management systems, such as an application development test environment and developer community on an open platform. + +### **7.2 Architecture requirements** + +The deployment of CBCMS is required to refer to the cloud-native architecture designed as loosely coupled microservices, the resiliency core, lightweight orchestrated containers and agile development and operations (DevOps). Typically, it consists of five layers devoted to: application, ability, infrastructure, management and security. + +The application layer provides a high-level architecture listing all converged media services, corresponding functionalities and APIs which fulfil the aforementioned requirements. + +The ability layer provides the core capabilities of converged media services. It includes functions such as content aggregation, content processing, content distribution, load balancing, big data, AI and DevOps support. + +The infrastructure layer is required to support elastic computing, storage, network and security sources, which are able to be quickly expanded or decreased to meet changing demand. + +The management layer is composed of a series of components, which is required to register and orchestrate microservices, and manage basic functions and other components for the whole architecture. + +The security layer is required to comply with clause 7.4. + +### **7.3 Interface requirements** + +To provide ease of service development and extension, CBCMS is required to include APIs and capability interfaces. CBCMS APIs are used to provide a common application environment for the + +implementation of various services. CBCMS capability interfaces are used to expand microservice capabilities. Protocols used for APIs are required to be lightweight. + +### **7.4 Security requirements** + +CBCMS security is required to provide the following security aspects: security architecture, fundamental security capabilities and basic functionalities. + +CBCMS security architecture should determine how CBCMS fundamental security capabilities can be built and expanded based on the CBCMS software architecture and security mechanism. + +CBCMS fundamental security capabilities shall include hardware security, software security, network security and data security. The hardware security capability shall include a secure storage area. + +CBCMS basic functionalities shall include content security, service security and payment security. CBCMS basic functionalities shall also include a secure upgrade. CBCMS basic functionalities shall be able to continuously be enhanced and expanded through the improvement of fundamental capabilities and addition of more secure functional components. + +## Bibliography + +- [b-ITU-T Y.3500] Recommendation ITU-T Y.3500 (2014), *Information technology – Cloud computing – Overview and vocabulary*. +- [b-ETSI EN 301 192] European Standard ETSI EN 301 192 V1.6.1 (2015), *Digital video broadcasting (DVB); DVB specification for data broadcasting*. +- [b-ETSI TS 102 809] Technical Specification ETSI TS 102 809 V1.3.1 (2017), *Digital video broadcasting (DVB); Signalling and carriage of interactive applications and services in hybrid broadcast/broadband environments*. +- [b-GB-SEP] GB/T 28160-2011, 数字电视广播电子节目指南规范 [Specification of electronic programme guide for digital television broadcasting]. + + + + + +## SERIES OF ITU-T RECOMMENDATIONS + +| | | +|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------| +| Series A | Organization of the work of ITU-T | +| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues | +| Series E | Overall network operation, telephone service, service operation and human factors | +| Series F | Non-telephone telecommunication services | +| Series G | Transmission systems and media, digital systems and networks | +| Series H | Audiovisual and multimedia systems | +| Series I | Integrated services digital network | +| Series J | Cable networks and transmission of television, sound programme and other multimedia signals | +| Series K | Protection against interference | +| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant | +| Series M | Telecommunication management, including TMN and network maintenance | +| Series N | Maintenance: international sound programme and television transmission circuits | +| Series O | Specifications of measuring equipment | +| Series P | Telephone transmission quality, telephone installations, local line networks | +| Series Q | Switching and signalling, and associated measurements and tests | +| Series R | Telegraph transmission | +| Series S | Telegraph services terminal equipment | +| Series T | Terminals for telematic services | +| Series U | Telegraph switching | +| Series V | Data communication over the telephone network | +| Series X | Data networks, open system communications and security | +| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities | +| Series Z | Languages and general software aspects for telecommunication systems | \ No newline at end of file diff --git a/marked/J/T-REC-J.1306-202307-I_PDF-E/088921fa3f5a44c8551815122517eefd_img.jpg b/marked/J/T-REC-J.1306-202307-I_PDF-E/088921fa3f5a44c8551815122517eefd_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..85c18b6989cc04e016314c96a016ba5fb18f4c7f --- /dev/null +++ b/marked/J/T-REC-J.1306-202307-I_PDF-E/088921fa3f5a44c8551815122517eefd_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1d07250323bed1f9abe714f51aef7d222552c0e28c9072bb4c5dca2361a008e +size 21133 diff --git a/marked/J/T-REC-J.1306-202307-I_PDF-E/4f4b52340aaccb1bcf733468dca9ee03_img.jpg b/marked/J/T-REC-J.1306-202307-I_PDF-E/4f4b52340aaccb1bcf733468dca9ee03_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..38bdd7bc1d3581fbdc3cf6b035f618693dbe3846 --- /dev/null +++ b/marked/J/T-REC-J.1306-202307-I_PDF-E/4f4b52340aaccb1bcf733468dca9ee03_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75efa8e3513a799767c04a0bb7bcd87a550f2378f5880629068581808c1c9f7f +size 7353 diff --git a/marked/J/T-REC-J.1306-202307-I_PDF-E/8c348bf9c2c81b018017ae1d19506a9a_img.jpg b/marked/J/T-REC-J.1306-202307-I_PDF-E/8c348bf9c2c81b018017ae1d19506a9a_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e733610086d206cfa3b948643f7c94e27d9b1711 --- /dev/null +++ b/marked/J/T-REC-J.1306-202307-I_PDF-E/8c348bf9c2c81b018017ae1d19506a9a_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af4536ba3cf94c57fe93f5c31431416b5b98dc516c53609a9dd4a892aed4bee3 +size 96823 diff --git a/marked/J/T-REC-J.1306-202307-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg b/marked/J/T-REC-J.1306-202307-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a68205a726078b09fde52fa3c72a8a3d9f08eaa7 --- /dev/null +++ b/marked/J/T-REC-J.1306-202307-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c29dcceadbf4770547dbe56a0a235a3b8d49efc63bdfe053d17ac568b778feb +size 344766 diff --git a/marked/J/T-REC-J.1311-202406-I_PDF-E/raw.md b/marked/J/T-REC-J.1311-202406-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..ce7942c6e924aa570bac467c81bc1018f7c3d0d5 --- /dev/null +++ b/marked/J/T-REC-J.1311-202406-I_PDF-E/raw.md @@ -0,0 +1,291 @@ + + +# Recommendation + +## **ITU-T J.1311 (06/2024)** + +SERIES J: Cable networks and transmission of television, sound programme and other multimedia signals + +Cloud-based services for IP delivery over integrated broadband cable network + +## --- **Technical requirements for cloud gaming service platforms** + +![ITU logo](84a1d09fb489061482111515543b60dc_img.jpg) + +The logo of the International Telecommunication Union (ITU) is located in the bottom right corner. It features a blue globe with white grid lines and the letters 'ITU' in a bold, blue, sans-serif font. + +ITU logo + +## ITU-T J-SERIES RECOMMENDATIONS + +# **Cable networks and transmission of television, sound programme and other multimedia signals** + +| | | +|-------------------------------------------------------------------------------------------------|----------------------| +| GENERAL RECOMMENDATIONS | J.1-J.9 | +| GENERAL SPECIFICATIONS FOR ANALOGUE SOUND-PROGRAMME TRANSMISSION | J.10-J.19 | +| PERFORMANCE CHARACTERISTICS OF ANALOGUE SOUND-PROGRAMME CIRCUITS | J.20-J.29 | +| EQUIPMENT AND LINES USED FOR ANALOGUE SOUND-PROGRAMME CIRCUITS | J.30-J.39 | +| DIGITAL ENCODERS FOR ANALOGUE SOUND-PROGRAMME SIGNALS - PART 1 | J.40-J.49 | +| DIGITAL TRANSMISSION OF SOUND-PROGRAMME SIGNALS | J.50-J.59 | +| CIRCUITS FOR ANALOGUE TELEVISION TRANSMISSION | J.60-J.69 | +| ANALOGUE TELEVISION TRANSMISSION OVER METALLIC LINES AND INTERCONNECTION WITH RADIO-RELAY LINKS | J.70-J.79 | +| DIGITAL TRANSMISSION OF TELEVISION SIGNALS | J.80-J.89 | +| ANCILLARY DIGITAL SERVICES FOR TELEVISION TRANSMISSION | J.90-J.99 | +| OPERATIONAL REQUIREMENTS AND METHODS FOR TELEVISION TRANSMISSION | J.100-J.109 | +| INTERACTIVE SYSTEMS FOR DIGITAL TELEVISION DISTRIBUTION (DOCSIS FIRST AND SECOND GENERATIONS) | J.110-J.129 | +| TRANSPORT OF MPEG-2 SIGNALS ON PACKETIZED NETWORKS | J.130-J.139 | +| MEASUREMENT OF THE QUALITY OF SERVICE - PART 1 | J.140-J.149 | +| DIGITAL TELEVISION DISTRIBUTION THROUGH LOCAL SUBSCRIBER NETWORKS | J.150-J.159 | +| IPCABLECOM (MGCP-BASED) - PART 1 | J.160-J.179 | +| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 1 | J.180-J.189 | +| CABLE MODEMS AND HOME NETWORKING | J.190-J.199 | +| APPLICATION FOR INTERACTIVE DIGITAL TELEVISION - PART 1 | J.200-J.209 | +| INTERACTIVE SYSTEMS FOR DIGITAL TELEVISION DISTRIBUTION (DOCSIS THIRD TO FIFTH GENERATIONS) | J.210-J.229 | +| MULTI-DEVICE SYSTEMS FOR CABLE TELEVISION | J.230-J.239 | +| MEASUREMENT OF THE QUALITY OF SERVICE - PART 2 | J.240-J.249 | +| DIGITAL TELEVISION DISTRIBUTION THROUGH LOCAL SUBSCRIBER NETWORKS | J.250-J.259 | +| IPCABLECOM (MGCP-BASED) - PART 2 | J.260-J.279 | +| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 2 | J.280-J.289 | +| CABLE SET-TOP BOX | J.290-J.299 | +| APPLICATION FOR INTERACTIVE DIGITAL TELEVISION - PART 2 | J.300-J.309 | +| MEASUREMENT OF THE QUALITY OF SERVICE - PART 3 | J.340-J.349 | +| IPCABLECOM2 (SIP-BASED) - PART 1 | J.360-J.379 | +| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 3 | J.380-J.389 | +| MEASUREMENT OF THE QUALITY OF SERVICE - PART 4 | J.440-J.449 | +| IPCABLECOM2 (SIP-BASED) - PART 2 | J.460-J.479 | +| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 4 | J.480-J.489 | +| TRANSPORT OF LARGE SCREEN DIGITAL IMAGERY | J.600-J.699 | +| SECONDARY DISTRIBUTION OF IPTV SERVICES | J.700-J.799 | +| MULTIMEDIA OVER IP IN CABLE | J.800-J.899 | +| TRANSMISSION OF 3-D TV SERVICES | J.900-J.999 | +| CONDITIONAL ACCESS AND PROTECTION | J.1000-J.1099 | +| SWITCHED DIGITAL VIDEO OVER CABLE NETWORKS | J.1100-J.1119 | +| SMART TV OPERATING SYSTEM | J.1200-J.1209 | +| IP VIDEO BROADCAST | J.1210-J.1219 | +| CABLE SET-TOP BOX - PART 2 | J.1290-J.1299 | +| CLOUD-BASED CONVERGED MEDIA SERVICES FOR IP AND BROADCAST CABLE TELEVISION | J.1300-J.1309 | +| CLOUD-BASED SERVICES FOR IP DELIVERY OVER INTEGRATED BROADBAND CABLE NETWORK | J.1310-J.1319 | +| TELEVISION TRANSPORT NETWORK AND SYSTEM DEPLOYMENT IN DEVELOPING COUNTRIES | J.1400-J.1409 | +| ARTIFICIAL INTELLIGENCE (AI) ASSISTED CABLE NETWORKS | J.1600-J.1649 | + +For further details, please refer to the list of ITU-T Recommendations. + +# Recommendation ITU-T J.1311 + +## Technical requirements for cloud gaming service platforms + +## Summary + +Recommendation ITU-T J.1311 describes the cloud gaming service platform basic components and functional element requirements including resource layer, capability layer, business layer and client access layer. + +This Recommendation is intended to provide a reference for game service developers and operators to build and operate a cloud gaming service. + +## History\* + +| Edition | Recommendation | Approval | Study Group | Unique ID | +|---------|----------------|------------|-------------|--------------------| +| 1.0 | ITU-T J.1311 | 2024-06-29 | 9 | 11.1002/1000/15971 | + +## Keywords + +Cloud gaming, requirements, service platform. + +--- + +\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. + +## FOREWORD + +The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. + +The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics. + +The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1. + +In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. + +## NOTE + +In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party. + +## INTELLECTUAL PROPERTY RIGHTS + +ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. + +As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents/software copyrights, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the appropriate ITU-T databases available via the ITU-T website at . + +© ITU 2024 + +All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU. + +## Table of Contents + +| | Page | +|-------------------------------------------------------|------| +| 1 Scope ..... | 1 | +| 2 References..... | 1 | +| 3 Definitions ..... | 1 | +| 3.1 Terms defined elsewhere ..... | 1 | +| 3.2 Terms defined in this Recommendation..... | 1 | +| 4 Abbreviations and acronyms ..... | 1 | +| 5 Conventions ..... | 1 | +| 6 Cloud gaming service platform basic components..... | 2 | +| 6.1 Resource layer ..... | 2 | +| 6.2 Capability layer ..... | 2 | +| 6.3 Business layer..... | 3 | +| 6.4 Client access layer ..... | 3 | +| Bibliography..... | 4 | + + + +# Recommendation ITU-T J.1311 + +## Technical requirements for cloud gaming service platforms + +# 1 Scope + +This Recommendation mainly specifies the basic components and required functional elements of cloud gaming service platforms for cable network operators, and presents the corresponding technical requirements for each layer of cloud gaming service platforms. + +## 2 References + +The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation. + +None. + +# 3 Definitions + +## 3.1 Terms defined elsewhere + +This Recommendation uses the following term defined elsewhere: + +**3.1.1 cloud gaming** [b-ITU-T F.743.17]: A way of playing the game on a cloud server. In the "cloud gaming" mode, game storage, computing, rendering, and so on are completed in the cloud, players can experience high-quality games through any terminal, anytime anywhere. + +## 3.2 Terms defined in this Recommendation + +This Recommendation defines the following term: + +**3.2.1 game instance**: An independent virtual computing environment provided to users in the cloud that can run games. + +# 4 Abbreviations and acronyms + +This Recommendation uses the following abbreviations and acronyms: + +| | | +|-----|--------------------------| +| CPU | Central Processing Unit | +| GPU | Graphics Processing Unit | +| IDC | Internet Data Centre | +| SDK | Software Development Kit | + +# 5 Conventions + +In this Recommendation: + +The phrase "**is required to**" indicates a requirement that must be strictly followed and from which no deviation is permitted if conformity with this document is to be claimed. + +The phrase "**is recommended**" indicates a requirement that is recommended but which is not absolutely required. Thus, this requirement needs not be present to claim conformity. + +The phrase "**is prohibited from**" indicates a requirement that must be strictly followed and from which no deviation is permitted if conformity with this document is to be claimed. + +The phrase "**can optionally**" indicates an optional requirement that is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option and the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformity with this Recommendation. + +In this Recommendation the words *shall*, *shall not*, *should*, and *may* sometimes appear, in which case they are to be interpreted, respectively, as *is required to*, *is prohibited from*, *is recommended*, and *can optionally*. The appearance of such phrases or keywords in an appendix or in material explicitly marked as *informative* are to be interpreted as having no normative intent. + +# 6 Cloud gaming service platform basic components + +The cloud gaming service platform includes resource layer, capability layer, business layer and client access layer. + +![Diagram of Cloud gaming service platform architecture showing four layers: Business layer, Client access layer, Capability layer, and Resource layer.](5860ad6bd2a2dd8d1ab12864b8f90f37_img.jpg) + +The diagram illustrates the architecture of a cloud gaming service platform. It consists of four layers arranged vertically. The top layer is divided into two side-by-side boxes labeled "Business layer" and "Client access layer". Below this top layer is a single box labeled "Capability layer". At the bottom is another single box labeled "Resource layer". The layers are stacked, with the "Business layer" and "Client access layer" on top of the "Capability layer", which is on top of the "Resource layer". + +J.1311(24) + +Diagram of Cloud gaming service platform architecture showing four layers: Business layer, Client access layer, Capability layer, and Resource layer. + +**Figure 1 – Cloud gaming service platform architecture** + +## 6.1 Resource layer + +The resource layer is equipped with basic capabilities such as configuration, management, monitoring and automated fault handling of data centres and network resources. It provides support for large-scale distributed systems and serves as an interface for the capability layer, supporting the configuration and scheduling of basic resources for the capability layer. The basic capabilities required for the resource layer of cloud gaming include: + +[CGSP-01] Game instance device is required to have powerful, flexibly allocatable rendering capabilities based on dedicated graphics processors (graphics processing units (GPUs)). + +[CGSP-02] Game instance device is required to have efficient video hardware encoding capabilities. + +[CGSP-03] Both game instance device and Internet data centre (IDC) are required to have large-capacity downstream network bandwidth. + +[CGSP-04] Game instance device is required to support virtualization technology to virtualize central processing unit (CPU) and GPU, enabling flexible adjustment of CPU and GPU resources allocated to individual instances. + +## 6.2 Capability layer + +The capability layer provides configuration, management, monitoring and fault handling capabilities for application resources, user resources, running instances, intermediate processes and bidirectional data flows between instances and terminals, and provides service interfaces for the business layer. + +[CGSP-05] The cloud gaming capability layer is required to have game instance management capabilities, mainly including adding instances, identifying instances, configuring instances, instance upgrades and instance allocation. + +[CGSP-06] The capability to put games on the shelf is required to include acquiring game packages, storing them and configuring games within the system. + +[CGSP-07] The cloud gaming service platform is required to have the ability to adjust audio and video streaming metrics for different scenarios. + +[CGSP-08] The cloud gaming service platform is required to detect network fluctuations and take automatic response measures. + +[CGSP-09] The cloud gaming service platform is required to support game operations by users on different terminals. + +## **6.3 Business layer** + +The business layer refers to the platform that provides customers with customized cloud gaming business capabilities and management. + +[CGSP-10] The business layer is required to provide functional interfaces for service subscription and unsubscription, supporting customers to subscribe to or unsubscribe from specific services, or to decrease or increase the number of subscriptions. + +[CGSP-11] The business layer is required to provide interfaces for game on/off shelf and cloud gaming parameter configuration. + +[CGSP-12] Instruction compatibility configuration is required to mapping user input operations to game instructions through configuration. + +[CGSP-13] The business layer is required provide pricing and billing functions to support accounting and charging for various cloud gaming services. + +## **6.4 Client access layer** + +The cloud gaming service platform needs to provide software development kits (SDKs) that support access to various types of terminals (common terminals include portable terminals, computers and television sets) to assist customers in accessing cloud gaming. + +[CGSP-14] Before accessing the global navigation service, it is required to perform user identity verification on the client side to verify the legitimacy of user requests and prevent malicious requests from occupying service resources. + +[CGSP-15] The access layer is required to collect input instructions from terminal devices to support game operations and transmit these input instructions to the capability layer through the instruction transmission service provided by the capability layer. + +[CGSP-16] The access layer is required to upload the above information to the cloud gaming service platform. + +## Bibliography + +[b-ITU-T F.743.17] Recommendation ITU-T F.743.17 (2022), *Requirements for cloud gaming systems*. + + + +## SERIES OF ITU-T RECOMMENDATIONS + +| | | +|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------| +| Series A | Organization of the work of ITU-T | +| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues | +| Series E | Overall network operation, telephone service, service operation and human factors | +| Series F | Non-telephone telecommunication services | +| Series G | Transmission systems and media, digital systems and networks | +| Series H | Audiovisual and multimedia systems | +| Series I | Integrated services digital network | +| Series J | Cable networks and transmission of television, sound programme and other multimedia signals | +| Series K | Protection against interference | +| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant | +| Series M | Telecommunication management, including TMN and network maintenance | +| Series N | Maintenance: international sound programme and television transmission circuits | +| Series O | Specifications of measuring equipment | +| Series P | Telephone transmission quality, telephone installations, local line networks | +| Series Q | Switching and signalling, and associated measurements and tests | +| Series R | Telegraph transmission | +| Series S | Telegraph services terminal equipment | +| Series T | Terminals for telematic services | +| Series U | Telegraph switching | +| Series V | Data communication over the telephone network | +| Series X | Data networks, open system communications and security | +| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities | +| Series Z | Languages and general software aspects for telecommunication systems | \ No newline at end of file diff --git a/marked/J/T-REC-J.133-200207-I_PDF-E/0b8b087a7baa471015d3ffeaa43d9a6c_img.jpg b/marked/J/T-REC-J.133-200207-I_PDF-E/0b8b087a7baa471015d3ffeaa43d9a6c_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8519156ef4c68a5f3b118f7842c69ebd17a6df13 --- /dev/null +++ b/marked/J/T-REC-J.133-200207-I_PDF-E/0b8b087a7baa471015d3ffeaa43d9a6c_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a0a9ebf97fdd5333352e2e9f0c40972a43a2853b621badd46531aa2ec2eb6a6 +size 89323 diff --git a/marked/J/T-REC-J.133-200207-I_PDF-E/177e8bc1c595b7fe3461d9919f87e044_img.jpg b/marked/J/T-REC-J.133-200207-I_PDF-E/177e8bc1c595b7fe3461d9919f87e044_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7e5ff30199f8ea9ed05ed7d7d1b0899cc1ab2dd9 --- /dev/null +++ b/marked/J/T-REC-J.133-200207-I_PDF-E/177e8bc1c595b7fe3461d9919f87e044_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:255a3b36458a95d59cab7a89e82f1b2e3bec283d96809b484d7765a97531a845 +size 172488 diff --git a/marked/J/T-REC-J.133-200207-I_PDF-E/1d529a819ad929684331c55eed6673bb_img.jpg b/marked/J/T-REC-J.133-200207-I_PDF-E/1d529a819ad929684331c55eed6673bb_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a7d134b4b96ab00daf9ae882c0c6b195e2e84b84 --- /dev/null +++ b/marked/J/T-REC-J.133-200207-I_PDF-E/1d529a819ad929684331c55eed6673bb_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53c110e94327cc717fccffb8e79fbe3f51d63912490495469831186058acf2d6 +size 31267 diff --git a/marked/J/T-REC-J.133-200207-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/J/T-REC-J.133-200207-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..939eb6a57fac47a375526475ba6c31bf67e08b30 --- /dev/null +++ b/marked/J/T-REC-J.133-200207-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52a289bbb49d106b16f646b5050f62e5c7cbe1bb201f8c767547c3039abbf359 +size 8245 diff --git a/marked/J/T-REC-J.133-200207-I_PDF-E/898fb89a50d9ec1dfb4e425c816976a7_img.jpg b/marked/J/T-REC-J.133-200207-I_PDF-E/898fb89a50d9ec1dfb4e425c816976a7_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e95e8f2ef8c322d5c1bb6431db2a1fb976a8c4fc --- /dev/null +++ b/marked/J/T-REC-J.133-200207-I_PDF-E/898fb89a50d9ec1dfb4e425c816976a7_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70f1041c9d5fc8ce45b1d9b47f5d5cffcd610b1be8c99c8f535739ffb7b2ca43 +size 105861 diff --git a/marked/J/T-REC-J.133-200207-I_PDF-E/9c6461e1e94afae4dec455e69a2ce152_img.jpg b/marked/J/T-REC-J.133-200207-I_PDF-E/9c6461e1e94afae4dec455e69a2ce152_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..35c8b9af8cd297f56e2eb8e1b825fa86a78f9267 --- /dev/null +++ b/marked/J/T-REC-J.133-200207-I_PDF-E/9c6461e1e94afae4dec455e69a2ce152_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5be0644e3c6f96172208ae77b26a1ab35f6d7fba7f495cb82931096c571c802b +size 24363 diff --git a/marked/J/T-REC-J.133-200207-I_PDF-E/dfe556fea00682b09a59427aaf72051c_img.jpg b/marked/J/T-REC-J.133-200207-I_PDF-E/dfe556fea00682b09a59427aaf72051c_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c01a9bd32b7827fb7ec4bbd23a9989a133a8d55f --- /dev/null +++ b/marked/J/T-REC-J.133-200207-I_PDF-E/dfe556fea00682b09a59427aaf72051c_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3dfb9467da604be5e4ce11b675a5944a2ba11e1f7f9e932e610521d8d3c9d07a +size 69505 diff --git a/marked/J/T-REC-J.133-200207-I_PDF-E/e95f47f7a4c01c8889d6d46919b4c73d_img.jpg b/marked/J/T-REC-J.133-200207-I_PDF-E/e95f47f7a4c01c8889d6d46919b4c73d_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..799dde1edc24e73086eb07dfe46a81e6342903c6 --- /dev/null +++ b/marked/J/T-REC-J.133-200207-I_PDF-E/e95f47f7a4c01c8889d6d46919b4c73d_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef9ef1bebe7ab8f57220fca038cb6aa359b68288b7e75b4d2d243da048d2ca5f +size 26105 diff --git a/marked/J/T-REC-J.133-200207-I_PDF-E/fc46871d72c65d3381d9201646d23439_img.jpg b/marked/J/T-REC-J.133-200207-I_PDF-E/fc46871d72c65d3381d9201646d23439_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b6fdfc7b8dff004c14e267589068544f1582f45d --- /dev/null +++ b/marked/J/T-REC-J.133-200207-I_PDF-E/fc46871d72c65d3381d9201646d23439_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9afb9beb0af1f310c22f2b6f9162b8542ea420b85be1ec1bafd168f57650f3fd +size 36729 diff --git a/marked/J/T-REC-J.133-200207-I_PDF-E/fed39b841ae2dce01088b84bfc1e2789_img.jpg b/marked/J/T-REC-J.133-200207-I_PDF-E/fed39b841ae2dce01088b84bfc1e2789_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4007a3fce44a0ba35d14c9786697ba095c3c2bef --- /dev/null +++ b/marked/J/T-REC-J.133-200207-I_PDF-E/fed39b841ae2dce01088b84bfc1e2789_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88ca8d75c8a90a7a5c3b774c49fdb38247a2b30c4e00bf019f52d28ef9fa1708 +size 42284 diff --git a/marked/J/T-REC-J.14-198811-I_PDF-E/raw.md b/marked/J/T-REC-J.14-198811-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..8b2035182993cd31c6c4760d56d0769877f2a372 --- /dev/null +++ b/marked/J/T-REC-J.14-198811-I_PDF-E/raw.md @@ -0,0 +1,95 @@ + + +![ITU logo](2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg) + +The logo of the International Telecommunication Union (ITU) features the letters 'ITU' in a bold, sans-serif font, superimposed on a stylized globe with intersecting lines. + +ITU logo + +INTERNATIONAL TELECOMMUNICATION UNION + +**ITU-T** + +**J.14** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +**TELEVISION AND SOUND TRANSMISSION** + +--- + +**RELATIVE LEVELS AND IMPEDANCES ON +AN INTERNATIONAL SOUND - PROGRAMME +CONNECTION** + +**ITU-T Recommendation J.14** + +(Extract from the *Blue Book*) + +--- + +# NOTES + +1 ITU-T Recommendation J.14 was published in Fascicle III.6 of the *Blue Book*. This file is an extract from the *Blue Book*. While the presentation and layout of the text might be slightly different from the *Blue Book* version, the contents of the file are identical to the *Blue Book* version and copyright conditions remain unchanged (see below). + +2 In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +## **RELATIVE LEVELS AND IMPEDANCES ON AN INTERNATIONAL SOUND-PROGRAMME CONNECTION** + +*(former Recommendation J.13; amended at Geneva, 1972, 1976 and 1980, and at Melbourne, 1988)* + +### **1 Level adjustment on an international sound-programme connection** + +The CCITT recommends the use of the *constant voltage* method. If, to a zero relative level point of the international sound-programme connection, a zero absolute voltage level is applied (sine-wave signal of 0.775 volts r.m.s.) at the reference frequency 0.8 or 1 kHz, the absolute voltage level at the output of each sound-programme circuit (Points B, C, D . . . F of Figure 3/J.13) should be + 6 dB (i.e. 1.55 volts r.m.s.). Therefore these points have to be regarded as relative level points of + 6 dBrs according to Recommendations J.21, J.22 and J.23. + +The zero relative level point is, in principle, the origin of the international sound-programme connection (Point A in Figure 3/J.13). Different conventions may be agreed between the telephone Administration and the broadcast organization within a country, provided that the levels on the international sound-programme link are unchanged. + +A zero relative level point is, in principle, a point at which the sound-programme signals correspond exactly with those at the origin of the international sound-programme connection. At a point of zero relative levels, signals have been controlled in level by the broadcasting organization such that the peak levels very rarely exceed +9 dB relative to the peak values reached by a sine-wave signal of 0.775 volts r.m.s. (for a 600-ohm resistor load, when levels are expressed in terms of dBm). + +In Recommendation 645, CCIR has defined test signals to be used on international sound-programme connections based on existing CCITT Recommendations. + +## **2 Diagram of signal levels on an international sound-programme connection** + +All signal levels are expressed in terms of r.m.s. values of sine-wave signals with reference to 0.775 volts. + +The voltage level diagram for an international sound-programme connection, however made up, should be such that the voltage levels shown will not exceed the maximum undistorted power which an amplifier can deliver to a sound-programme link when a peak voltage (i.e. +9 dB) is applied to a zero relative level point on the international sound-programme connection. + +With these conditions, +6 dB is the nominal voltage level at the output of the terminal amplifiers of the sound-programme circuits making up the international sound-programme link (Points B, C, D . . . F of Figure 3/J.13). + +Considering that rare excursions of the permitted maximum signal level may occur, and that adjustment errors and maintenance tolerance have to be taken into account, sound-programme circuits need a definite overload margin. The amount of this margin is still under study. + +If a sound-programme circuit which is part of the international sound-programme link is set up on a group in a carrier system, the objective for a new design of equipment is that the relative level of the sound-programme circuit, with respect to the relative level of the telephone channel, should be chosen such that the mean value and the peak value of the load presented by the sound-programme channel should be no higher than that of the telephone channels which are replaced by the sound-programme channel. The effects of pre-emphasis and compandors should, where present, be taken into consideration. + +It is recognized that this condition may not be observed in all cases, particularly in certain existing types of equipments. It is recommended that in those cases the zero relative level points of the sound-programme circuit and of the telephone channels should coincide. + +It might be as well, however, if the equipment could, where possible, tolerate a maximum difference of $\pm 3$ dB between the relative levels of the sound-programme and telephone transmissions, so that the best adjustment can be obtained, depending on any noise or intermodulation present, but at the same time observing the constraints imposed by the considerations on loading. + +*Note* – The relative level at which the modulated sound-programme signal is applied to the group link is given in Recommendations J.31 for 15 kHz-type circuits, J.34 for 7 kHz-type circuits and in the Annex to Recommendation J.22 for 10 kHz-type circuits. + +### 3 Definitions and abbreviations for new sound-programme signals + +Definitions and symbols are in current use to define relative levels for telephony. However, additional definitions and symbols are necessary for the absolute and relative levels in respect of sound-programme signals. The corresponding definitions and symbols for telephony and sound-programme signals are given below. + +#### 3.1 **dBm01)** + +The absolute signal power level, in decibels, referred to a point of zero relative level. + +#### 3.2 **dB1)** + +The relative power level, in decibels. + +#### 3.3 **dBm0s** + +The absolute signal power level, in decibels, referred to a point of zero relative sound-programme level. + +#### 3.4 **dBrs** + +The relative (power) level, in decibels, with respect to sound- programme signals. (This abbreviation is only applicable at points in a sound-programme circuit where the signals can nominally be related to the input by a simple scaling factor.) + +*Note* – The use of level definitions is given in CCIR Recommendation 574. + +--- + +1) These symbols traditionally relate to telephony relative levels. \ No newline at end of file diff --git a/marked/J/T-REC-J.1401-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/J/T-REC-J.1401-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1d8deae6031c18707104a329a7eae044811bbb4b --- /dev/null +++ b/marked/J/T-REC-J.1401-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f418e2fcf77b057e807e60d0a0a741dd98ab9ee337764072def10cd9ce79d647 +size 5986 diff --git a/marked/J/T-REC-J.1401-202201-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg b/marked/J/T-REC-J.1401-202201-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..52dd542ed896afaff731cd8ff8d1b242db72841e --- /dev/null +++ b/marked/J/T-REC-J.1401-202201-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:752df4a349ae7cc6561b2703729110df58461428bbfa3419638dee9af9718d9e +size 41568 diff --git a/marked/J/T-REC-J.145-200103-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/J/T-REC-J.145-200103-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..104a57fbd03964ffd2520508b2be42e03343d20f --- /dev/null +++ b/marked/J/T-REC-J.145-200103-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2468dfa77e8d32611a5fe8a2ebb904676994eeb54463226fd865698560c960c +size 8232 diff --git a/marked/J/T-REC-J.151-200010-I_PDF-E/raw.md b/marked/J/T-REC-J.151-200010-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..93873389416f1fc4e520a3b2af0dea13558808f8 --- /dev/null +++ b/marked/J/T-REC-J.151-200010-I_PDF-E/raw.md @@ -0,0 +1,1005 @@ + + +![ITU logo](2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg) + +The logo of the International Telecommunication Union (ITU) features the letters 'ITU' in a bold, sans-serif font, superimposed on a stylized globe with intersecting lines. + +ITU logo + +INTERNATIONAL TELECOMMUNICATION UNION + +**ITU-T** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +**J.151** + +(10/2000) + +SERIES J: TRANSMISSION OF TELEVISION, SOUND +PROGRAMME AND OTHER MULTIMEDIA SIGNALS + +Digital television distribution through local subscriber +networks + +--- + +**RF remodulator interface for digital television** + +ITU-T Recommendation J.151 + +(Formerly CCITT Recommendation) + +--- + +# ITU-T J-SERIES RECOMMENDATIONS + +# TRANSMISSION OF TELEVISION, SOUND PROGRAMME AND OTHER MULTIMEDIA SIGNALS + +| | | +|-------------------------------------------------------------------------------------------------|--------------------| +| General Recommendations | J.1–J.9 | +| General specifications for analogue sound-programme transmission | J.10–J.19 | +| Performance characteristics of analogue sound-programme circuits | J.20–J.29 | +| Equipment and lines used for analogue sound-programme circuits | J.30–J.39 | +| Digital encoders for analogue sound-programme signals | J.40–J.49 | +| Digital transmission of sound-programme signals | J.50–J.59 | +| Circuits for analogue television transmission | J.60–J.69 | +| Analogue television transmission over metallic lines and interconnection with radio-relay links | J.70–J.79 | +| Digital transmission of television signals | J.80–J.89 | +| Ancillary digital services for television transmission | J.90–J.99 | +| Operational requirements and methods for television transmission | J.100–J.109 | +| Interactive systems for digital television distribution | J.110–J.129 | +| Transport of MPEG-2 signals on packetised networks | J.130–J.139 | +| Measurement of the quality of service | J.140–J.149 | +| Digital television distribution through local subscriber networks | J.150–J.159 | + +*For further details, please refer to the list of ITU-T Recommendations.* + +# **RF remodulator interface for digital television** + +## **Summary** + +With the advent of digital television (DTV) there is now a need for a simple and cost-effective interconnect between the various digital signal sources and the DTV receiver. Digital video and audio are now available from digital VCRs (DVCR), terrestrial broadcasts, digital video disks (DVD), cable TV, satellite systems and digital camcorders. The RF remodulator in this Recommendation is an economical and practical digital interconnect for the new consumer digital video devices. The RF remodulator, is a one way throughput device with a data rate of 19.3 Mbit/s, which is suitable for most connections. The interface transmits MPEG (Moving Picture Experts Group) data for compressed digital video and audio and an OSD (on-screen display) overlay. The RF remodulator uses a simple coaxial cable to interconnect devices in a way with which consumers are most familiar. + +## **Source** + +ITU-T Recommendation J.151 was prepared by ITU-T Study Group 9 (1997-2000) and approved by the World Telecommunication Standardization Assembly (Montreal, 27 September – 6 October 2000). + +## FOREWORD + +The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. + +The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics. + +The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1. + +In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. + +## NOTE + +In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +## INTELLECTUAL PROPERTY RIGHTS + +ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. + +As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database. + +© ITU 2001 + +All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from ITU. + +## CONTENTS + +| | | Page | +|-------|---------------------------------------------------------------------|------| +| 1 | Scope..... | 1 | +| 2 | Normative references ..... | 1 | +| 3 | Abbreviations..... | 1 | +| 4 | System overview ..... | 3 | +| 5 | DTV remodulator RF output specifications..... | 5 | +| 5.1 | Selectable output channel frequency..... | 5 | +| 5.2 | Nominal RMS output level ..... | 5 | +| 5.3 | Pilot phase noise ..... | 5 | +| 5.3.1 | Pilot phase noise – 8 VSB trellis ..... | 5 | +| 5.3.2 | Pilot phase noise – 16 VSB ..... | 5 | +| 5.4 | Error vector magnitude (EVM)..... | 5 | +| 5.4.1 | EVM – 8 VSB trellis ..... | 5 | +| 5.4.2 | EVM – 16 VSB..... | 5 | +| 5.4.3 | EVM definition..... | 5 | +| 5.5 | Connector..... | 6 | +| 5.6 | Side-band output ..... | 6 | +| 5.7 | Roll-off specification ..... | 6 | +| 5.8 | Data and clock rates ..... | 7 | +| 6 | On-screen display (OSD) support ..... | 7 | +| 6.1 | OSD encapsulation ..... | 7 | +| 6.1.1 | PES encapsulation ..... | 8 | +| 6.1.2 | Syntax and semantics for PES packets carrying OSD information ..... | 8 | +| 6.1.3 | Maximum transmission rate for OSD data ..... | 9 | +| 6.1.4 | OSD retransmission..... | 10 | +| 7 | OSD data..... | 10 | +| 7.1 | Format of OSD data ..... | 10 | +| 7.1.1 | Subframe types ..... | 10 | +| 7.1.2 | Subframe typeCode ..... | 11 | +| 7.1.3 | Subframe processing..... | 11 | +| 7.1.4 | Subframe syntax and definition ..... | 11 | +| 7.2 | Alignment of OSD with video ..... | 19 | +| 8 | Capability profiles..... | 20 | +| 9 | DTV RF remodulator input specifications..... | 20 | +| 9.1 | Input overview ..... | 20 | + +| | Page | +|------|-------------------------------------------| +| 9.2 | Input from remodulator to source ..... 21 | +| 9.3 | Input from source to remodulator ..... 21 | +| 10 | Monitor mode ..... 22 | +| 10.1 | Monitor mode overview..... 22 | +| 10.2 | Monitor mode conditions..... 22 | +| 10.3 | Monitor mode practices ..... 23 | +| 11 | Measurement..... 24 | + +# **RF remodulator interface for digital television** + +# **1 Scope** + +This ITU-T Recommendation defines an RF remodulator interface for digital television with an advanced on-screen display (OSD) overlay capability. This Recommendation defines minimum specifications for a one-way data path utilizing an 8 VSB trellis (8T VSB) or a 16 VSB remodulator in compliance with Annex D/J.83 (System D) (ATSC Standard A/53, Annex D). The advanced overlay uses the same OSD syntax as ITU-T J.117 and allows signal service providers their incremental revenue from programme guides and supplemental services. The RF remodulator also facilitates conditional access required by service providers. + +This Recommendation applies to any type of device used to connect to a J.83 System D compliant digital television receiver. Devices meeting this Recommendation should interoperate with any J.83 System D compliant receiver that also supports "monitor mode." + +This Recommendation addresses RF output specifications, on-screen display (OSD) capabilities, and capability profiles for a DTV remodulator and recommendations concerning input to the remodulator. + +This Recommendation is derived from several standards of the Electronic Industries Alliance (EIA). + +# **2 Normative references** + +The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is published regularly. + +- ITU-R BT.601-5 (1995), *Studio encoding parameters of digital television for standard 4:3 and wide-screen 16:9 aspect ratios.* +- ITU-R BT.709-4 (2000), *Parameter values for the HDTV standards for production and international programme exchange.* +- ITU-T J.83 (1997), *Digital multi-programme systems for television, sound and data services for cable distribution, Annex D.* +- IEC 60169-24 (1991), *Radio-frequency connectors – Part 24: Radio-frequency coaxial connectors with screw coupling, typically for use in 75 ohm cable distribution systems (Type F).* + +# **3 Abbreviations** + +This Recommendation uses the following abbreviations: + +ATSC Advanced Television Systems Committee + +A/V Audio/Video + +CEA Consumer Electronics Association + +CLUT Colour Look-Up Table +CPU Central Processing Unit +CVCT Cable Virtual Channel Table +D/A Digital-to-Analogue +DTV Digital Television: ATSC compliant receiving device +DVCR Digital Video Cassette Recorder +DVD Digital Video Disk +EIA Electronic Industries Alliance +EIT Event Information Table +EVM Error Vector Magnitude +HDTV High Definition TeleVision +IEC International Electrotechnical Commission +IEEE Institute of Electrical and Electronics Engineers +IF Intermediate Frequency +IRC Interface Reference Clock +ITU International Telecommunication Union +MPEG Moving Picture Experts Group +NTSC National Television Systems Committee +OSD On-Screen Display +PAT Program Association Table +PES Program Elementary Stream +PID Program Identifier +PMT Program Map Table +PSIP Program and System Information Protocol +RF Radio Frequency +SDTV Standard Definition Television +STB Set-Top Box +TSID Transport Stream Identification +TVCT Terrestrial Virtual Channel Table +UHF Ultra High Frequency +VCR Video Cassette Recorder +VCT Virtual Channel Table +VHF Very High Frequency +VSB Vestigial SideBand + +# 4 System overview + +A typical NTSC analogue system with an RF remodulator appears in Figure 1. The figure shows a typical VCR block diagram but could be a cable set top box (STB) or satellite receiver. The consumer connects the RF signal from the antenna or cable feed to the VCR or STB. The VCR or other receiving device connects to the television receiver via the RF output jack. If the VCR or receiving device is not in use, it simply passes the entire RF spectrum through to the TV. If the VCR or receiving device is active in the play mode, it remodulates the video and audio signals to an unused RF channel for display by the television set. The VCR, STB or satellite receiver can overlay its own on-screen display for user control or added features. The connection is made with an inexpensive coaxial cable. + +![Block diagram of a typical NTSC system showing signal flow from antenna and cable feed through a splitter, tuner, overlay, RF remodulator, and RF switch to a TV. It also includes a CPU, menu system, and remote control.](562f471e8153729557e6a4ee6343c32c_img.jpg) + +``` +graph TD; Antenna --> Splitter; CableFeed[Cable Feed] --> Splitter; Splitter -- RF Pass Through --> RFSwitch[RF Switch]; Splitter --> Tuner[Tuner/IF or Tape Source]; Tuner -- Composite Video --> Overlay; Tuner --> CPU; MenuConst[Menu Const.] --> BitBuffer[Bit Buffer]; BitBuffer --> NTSC[NTSC Encoder]; NTSC --> Overlay; MenuFonts[Menu Fonts] --> MenuConst; CPU --> MenuConst; CPU --> BitBuffer; CPU --> MenuFonts; CPU --> Remote[Remote]; Overlay --> RFRemod[RF Remod]; RFRemod --> RFSwitch; RFSwitch -- RF to TV --> TV[TV]; +``` + +The diagram illustrates the signal flow in a typical NTSC system. It starts with an 'Antenna' and 'Cable Feed' entering a 'Splitter'. The 'Splitter' has two outputs: 'RF Pass Through' which goes to an 'RF Switch', and a signal that goes to a 'Tuner/IF or Tape Source'. The 'Tuner/IF or Tape Source' outputs 'Composite Video' to an 'Overlay' block and also connects to a 'CPU'. The 'CPU' is connected to a 'Menu Const.' block, which in turn connects to a 'Bit Buffer' and then to an 'NTSC Encoder'. The 'NTSC Encoder' outputs to the 'Overlay' block. The 'CPU' also connects to 'Menu Fonts' and a 'Remote' control. The 'Overlay' block receives signals from the 'Tuner/IF or Tape Source' and the 'NTSC Encoder' and outputs to an 'RF Remod' block. The 'RF Remod' block outputs to the 'RF Switch'. The 'RF Switch' receives the 'RF Pass Through' signal and the output from the 'RF Remod' block and outputs 'RF to TV'. + +Block diagram of a typical NTSC system showing signal flow from antenna and cable feed through a splitter, tuner, overlay, RF remodulator, and RF switch to a TV. It also includes a CPU, menu system, and remote control. + +Figure 1/J.151 – Typical NTSC system + +The system of Figure 1 can be extended to the digital receiving device and digital TV receiver (DTV) by using the RF Remodulator as depicted in Figure 2. This Recommendation defines a specification for an RF digital interface to a DTV receiver that provides a level of functionality that is similar to the analogue system. This solution is very practical, cost-effective, and introduces no picture or sound degradation. The RF Remodulator has the added advantage of no cable length limitation as do some baseband digital interfaces such as the type in ITU-T J.117. + +![Block diagram of an Equivalent DTV system showing signal flow from various sources through a remodulator and coax cable to a digital TV receiver.](a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg) + +The diagram illustrates the signal flow in an equivalent DTV system. It is divided into two main sections: the source side (left) and the digital TV receiver side (right), connected by a coaxial cable. + +**Source Side (Left):** + +- An **Analogue A/V Source** (dashed box) connects to an **Overlay** (dashed box). +- A **Resident or Downloaded Application** connects to an **OSD Gen.** (On-Screen Display Generator). +- The **OSD Gen.** connects to a **Mux.** (Multiplexer). +- An **ATSC Transport Stream Source** (labeled **MPEG-2**) also connects to the **Mux.** +- The **Mux.** output connects to a **16 VSB RF Remod.** (Remodulator). +- An optional **D/A** (Digital-to-Analog) converter connects the **ATSC Transport Stream Source** to the **Overlay**. +- An optional **Analogue A/V** (oval) interface connects the **Overlay** to the **Compositor/Format Conversion** block in the receiver. + +The entire source section is labeled **Cable, Terrestrial, DVCR, Satellite or DVD Source**. + +**Transmission:** + +- The **16 VSB RF Remod.** output connects to the **Digital TV Receiver** via an **Antenna Terminal** and a **Coax Cable**. + +**Digital TV Receiver Side (Right):** + +- The **Coax Cable** input connects to a **16 VSB RF Demod.** (Demodulator). +- The **16 VSB RF Demod.** output connects to a **Demux.** (Demultiplexer). +- The **Demux.** output connects to an **SDTV & HDTV MPEG Decode** block. +- The **SDTV & HDTV MPEG Decode** block connects to **Audio Processing** and **Compositor/Format Conversion**. +- The **Compositor/Format Conversion** block also receives input from the optional **Analogue A/V** interface and connects to the **Display**. +- An **OSD Interpreter** block is connected between the **Demux.** and the **Compositor/Format Conversion**. + +The entire receiver section is labeled **Digital TV Receiver**. A small code **T0909450-00** is present in the bottom right corner. + +Block diagram of an Equivalent DTV system showing signal flow from various sources through a remodulator and coax cable to a digital TV receiver. + +----- Support for the analogue interface is optional + +**Figure 2/J.151 – Equivalent DTV system** + +Figure 2 depicts a digital audio/video receiving device connected to a DTV receiver with a 75-ohm coaxial cable. The figure also shows an optional analogue baseband connection. The OSD data is multiplexed with the source material before the remodulator. This allows for extended features like on-screen programming guides or on-screen display capability for operating the VCR, STB or other signal-receiving device. If no OSD information is required, this system can deliver two HD signals to the DTV receiver using the 16VSB mode. + +Users of this Recommendation should note that future copy protection systems or standards will be implemented and content traversing this DTV RF interface will be required to comply with these future systems or standards. + +# **5 DTV remodulator RF output specifications** + +The entire transport modulation system should be compliant with Annex D/J.83, System D. + +## **5.1 Selectable output channel frequency** + +The channel output frequency is user selectable to one of two adjacent VHF or UHF channels. The system designer should choose output channels appropriate for the market or country where the product will be implemented. In addition, the channel frequency tolerance should be $\pm 10$ kHz. All devices equipped with RF modulators should be clearly marked indicating the available output channels. + +## **5.2 Nominal RMS output level** + +The Nominal RMS Output level should be $-3$ dBmV ( $+6/-3$ dB) at 75 ohms. + +NOTE – Nominal output signal is based on a reduction of 3 to 6 dB from typical NTSC levels. The value of $-3$ dBmV at 75 ohms is equivalent to $-51.8$ dBm in the entire VSB signal (which includes 0.3 dB for the pilot), or $-119.4$ dBm/Hz in the data portion of the spectrum. + +## **5.3 Pilot phase noise** + +This clause addresses pilot phase noise for 8 VSB trellis and 16 VSB. + +### **5.3.1 Pilot phase noise – 8 VSB trellis** + +Pilot Phase Noise should be less than $-90$ dBc at 20 kHz for 8 VSB trellis. + +NOTE – The specification is 12 dB better than the demonstrated threshold of $-78$ dBc at 20 kHz for 8 VSB (trellis coded) reception. + +### **5.3.2 Pilot phase noise – 16 VSB** + +Pilot Phase Noise should be less than $-90$ dBc at 20 kHz for 16 VSB. + +NOTE – The specification is 7 dB better than the demonstrated threshold of $-83$ dBc at 20 kHz for 16 VSB reception. + +## **5.4 Error vector magnitude (EVM)** + +### **5.4.1 EVM – 8 VSB trellis** + +The EVM, in instances without equalization, should be at least 18 dB below the measured output power for 8 VSB trellis. The specification is set to allow simple filtering without phase correction in the remodulator, while leaving sufficient tolerance for additional linear distortion due to home wiring. The EVM, in instances with equalization, should be at least 24 dB below the measured output power. The specification effectively sets a limit on non-linear distortions in the remodulator. + +### **5.4.2 EVM – 16 VSB** + +The EVM, in instances without equalization, should be at least 18 dB below the measured output power for 16 VSB. The specification is set to allow simple filtering without phase correction in the remodulator, while leaving sufficient tolerance for additional linear distortion due to home wiring. The EVM, in instances with equalization, should be at least 34 dB below the measured output power for 16 VSB. The specification effectively sets a limit on non-linear distortions in the remodulator. + +### **5.4.3 EVM definition** + +EVM is a measure of performance of the received and demodulated 8 or 16 VSB constellation. EVM will quantify the in-band distortions. + +$$EVM = \sqrt{(I_{ref} - I_{meas})^2 + (Q_{ref} - Q_{meas})^2} \quad (5.1)$$ + +![Figure 3/J.151 – Error vector magnitude. A vector diagram in the I-Q plane. The vertical axis is labeled 'I' and the horizontal axis is labeled 'Q'. A vector labeled 'EVM' originates from the origin and points into the first quadrant. The diagram is labeled 'T0909460-00'.](398674b42e3466add6d47f420c136494_img.jpg) + +Figure 3/J.151 – Error vector magnitude. A vector diagram in the I-Q plane. The vertical axis is labeled 'I' and the horizontal axis is labeled 'Q'. A vector labeled 'EVM' originates from the origin and points into the first quadrant. The diagram is labeled 'T0909460-00'. + +**Figure 3/J.151 – Error vector magnitude** + +In theory the VSB signal has no Q component, Q reference = 0. However, non-linear effects can cause phase distortion which could transfer the vector into the Q domain. + +$$EVM(dB) = 10 \log \left[ \frac{\text{Signal Energy}}{\frac{1}{n} \sum_{i=1}^n [EVM_{(n)}/n]} \right] \quad (5.2)$$ + +## 5.5 Connector + +The connector should be an F-type female connector per IEC 60169-24 (1991-11). + +## 5.6 Side-band output + +A double side-band output is acceptable. + +## 5.7 Roll-off specification + +All spurious signals that are greater than 12 MHz from the pilot of the desired channel's output signal should be more than 30 dB down from the actual signal level. See Figure 4. + +![Figure 4/J.151 – Roll-off. A graph showing the roll-off of a channel filter. The horizontal axis represents frequency offset from the pilot, with markers at -12 MHz, -6 MHz, Band Edge, +6 MHz, and +12 MHz. The vertical axis represents attenuation, with a marker at -30 dB. A dashed line shows the filter's roll-off, and a solid line shows the transmitted channel. The 'Unused Lower Side-band' is indicated between -6 MHz and the Band Edge. The 'Transmitted Channel 6 MHz BW' is indicated between the Band Edge and +6 MHz. The pilot is marked at the Band Edge. The diagram is labeled 'T0909470-00'.](c8cbc7250125f5d48395f1885ef248d9_img.jpg) + +Channel Filter Bandwidth = $\pm 12$ MHz +from transmitted pilot + +Attenuation @ $\pm 12$ MHz = $-30$ dB +from average transmitted power + +$-30$ dB + +$-12$ MHz $-6$ MHz Band Edge $+6$ MHz $+12$ MHz + +Unused Lower Side-band + +Pilot + +Transmitted Channel 6 MHz BW + +T0909470-00 + +Figure 4/J.151 – Roll-off. A graph showing the roll-off of a channel filter. The horizontal axis represents frequency offset from the pilot, with markers at -12 MHz, -6 MHz, Band Edge, +6 MHz, and +12 MHz. The vertical axis represents attenuation, with a marker at -30 dB. A dashed line shows the filter's roll-off, and a solid line shows the transmitted channel. The 'Unused Lower Side-band' is indicated between -6 MHz and the Band Edge. The 'Transmitted Channel 6 MHz BW' is indicated between the Band Edge and +6 MHz. The pilot is marked at the Band Edge. The diagram is labeled 'T0909470-00'. + +**Figure 4/J.151 – Roll-off** + +## 5.8 Data and clock rates + +Data and clock rates should be as indicated in Table 1. + +**Table 1/J.151 – Data and clock rates** + +| VSB Mode | IRC (Interface Reference Clock) | Input data rate bits per second (bit/s) 1 | Input data rate bytes per second (byte/s) 2 | +|---------------|---------------------------------|------------------------------------------------------|--------------------------------------------------------| +| 16 VSB | 5 381 118 | 38 785 317 | 4 848 164 | +| 8 VSB Trellis | 2 690 559 | 19 392 658 | 2 424 082 | + +# 6 On-screen display (OSD) support + +Figure 5 illustrates a typical OSD system. + +![Figure 5/J.151 – Typical OSD system illustration. The diagram shows a Source Device (DVCR, DVD, Satellite Box, Cable Box, etc.) and a DTV Receiver. In the Source Device, a Valid ATSC Transport Stream and an OSD Generator are input to a Mux. The output of the Mux is input to a Remod. The output of the Remod is input to a Demod in the DTV Receiver. The output of the Demod is input to a Demux. The output of the Demux is split into a Valid ATSC Transport Stream and an OSD Interpreter. The diagram is labeled T0909480-00.](ddc7460821484f1ae2835c67955c554c_img.jpg) + +Figure 5/J.151 – Typical OSD system illustration. The diagram shows a Source Device (DVCR, DVD, Satellite Box, Cable Box, etc.) and a DTV Receiver. In the Source Device, a Valid ATSC Transport Stream and an OSD Generator are input to a Mux. The output of the Mux is input to a Remod. The output of the Remod is input to a Demod in the DTV Receiver. The output of the Demod is input to a Demux. The output of the Demux is split into a Valid ATSC Transport Stream and an OSD Interpreter. The diagram is labeled T0909480-00. + +**Figure 5/J.151 – Typical OSD system illustration** + +## 6.1 OSD encapsulation + +OSD data should be encapsulated in PES packets, which are then converted to MPEG-2 transport stream packets. See Figure 6. + +1 Includes MPEG2-TS packet sync byte (0 × 47). The effective bit rate, not including MPEG2-TS sync byte is 19 289 506 bit/s and 38 579 012 bit/s. + +2 The input data rate is not an integral number of byte/s. The actual byte/s is derived from the bit rate. The values in this table have been rounded. + +![Diagram illustrating OSD data packet encapsulation. At the top, an OSD packet is shown with 'OSD Header' and 'OSD Data'. This is divided into two partitions: 'Partition #1' and 'Partition #2'. Each partition is encapsulated into a PES packet with a 'PES H' header. These PES packets are then segmented into Transport Stream (TS) packets. 'Partition #1' is shown as three TS packets, each with a 'TS H' header. 'Partition #2' is shown as four TS packets: the first has a 'TS H' header, the second has a 'Fill' field, the third has a 'TS H' header, and the fourth has a 'TS H' header. The label 'Transport Stream packets' is at the bottom. A small code 'T0909490-00' is in the bottom right corner of the diagram area.](4801720824e4b5e2361a5564f91cfb70_img.jpg) + +Diagram illustrating OSD data packet encapsulation. At the top, an OSD packet is shown with 'OSD Header' and 'OSD Data'. This is divided into two partitions: 'Partition #1' and 'Partition #2'. Each partition is encapsulated into a PES packet with a 'PES H' header. These PES packets are then segmented into Transport Stream (TS) packets. 'Partition #1' is shown as three TS packets, each with a 'TS H' header. 'Partition #2' is shown as four TS packets: the first has a 'TS H' header, the second has a 'Fill' field, the third has a 'TS H' header, and the fourth has a 'TS H' header. The label 'Transport Stream packets' is at the bottom. A small code 'T0909490-00' is in the bottom right corner of the diagram area. + +**Figure 6/J.151 – OSD data packet illustration** + +### 6.1.1 PES encapsulation + +The following restrictions should apply: + +- a) **stream\_id** is defined as 0xBF to indicate that this stream should be of type private\_stream\_2. +- b) OSD data should be carried as the payload of PES packets identified by PID 0x1ABC. +- c) Each OSD subframe should start a new PES packet. +- d) The OSD subframe may be transported in more than one PES packet. + +In addition, the Transport Stream packets that result from PES segmentation should conform to the following constraints: + +- a) **transport\_scrambling\_control** bits should have the value '00'. +- b) **adaptation\_field\_control** bits should have the value '01'. + +For a detailed description of PES encapsulation, see ITU-T H.222.0 | ISO/IEC 13818-1, as constrained by Annex D/J.83. + +### 6.1.2 Syntax and semantics for PES packets carrying OSD information + +The syntax and semantics for a PES packet carrying OSD information should be as defined in Table 2. + +**Table 2/J.151 – PES packet definition for carrying OSD information** + +| | Bits | Format | +|-------------------------------|------|--------| +| OSD_PES_packet() { | | | +| Start_code_prefix | 24 | Bslbf | +| stream_id | 8 | 0xBF | +| PES_packet_length | 16 | Uimsbf | +| Total_partitions | 8 | Uimsbf | +| partition_number | 8 | Uimsbf | +| version_control | 5 | Uimsbf | +| protocol_id | 3 | Uimsbf | +| additional_info_length | 8 | Uimsbf | +| additional_info() | var | | +| OSD_data() | var | | +| Reserved | 32 | rpchof | +| } | | | + +where: + +**start\_code\_prefix**: is a 24-bit field that identifies the beginning of a packet. Its value should be set to 0x000001. + +**stream\_id**: is an 8-bit field that should be set to 0xBF (private\_stream\_2) to indicate that the format of the OSD PES packets follows a privately defined protocol. + +**PES\_packet\_length**: is a 16-bit field specifying the number of bytes in the PES packet immediately following this field to the end of the PES packet. The value of this field should not exceed 65 529 (equivalently, the maximum size for an OSD PES packet is 65 535 bytes). + +**total\_partitions**: is an 8-bit field that specifies the total number of partitions required to carry the OSD datagram using fixed length PES packets. The range for this field should be between 1 and 255 (inclusive). + +**partition\_number**: is an 8-bit field that specifies the OSD partition carried in this PES packet. The range for this field should be between 1 and 255 (inclusive). + +**version\_control**: is a 5-bit field that identifies the version number of the transmitted OSD. Its value increases by one every time a new OSD subframe is generated and transmitted. If the same subframe is retransmitted, then this value is not incremented. Upon reaching the value 31, it wraps around to 0. + +**protocol\_id**: is a 3-bit field that is currently defined as '000'. All other values are reserved for future eventual additions and/or restructuring of the OSD protocol. + +**additional\_info\_length**: is an 8-bit field the value of which corresponds to the length in bytes of the **additional\_info** field. + +**additional\_info**: is a field designated to contain additional information that may be added eventually in the future. Currently, no additional information exists and therefore the value of the field **additional\_info\_length** is 0x00. + +**OSD\_data**: is a subframe header. It may contain data if necessary. + +### 6.1.3 Maximum transmission rate for OSD data + +The maximum transmission rate for OSD data should not exceed 19.29 Mbit/s3 averaged over any 100 ms interval. This rate should be further constrained by the requirement that the solid colour fill region subframes should not be transmitted more frequently than fully expanded subframes. Further, + +3 This value does not include the MPEG2-TS packet sync byte (0 × 47). See ITU-T Annex D/J.83, System D. + +the OSD source should pause between transmission of a solid colour fill region subframe and the next subframe to permit the subframe to be expanded. Even though the solid colour fill region subframe may be smaller in size than the fully expanded subframe, the processing time required in the OSD consumer is the same. The time in seconds ( $T_s$ ) required to transmit the fully expanded subframe may be calculated as follows: + +Step 1: Subframe Width $\times$ Subframe4 Height $\times$ # bits/pixel = $T_b$ + +Step 2: $T_b/19.29$ Mbit/s = $T_s$ + +where: + +$T_s$ = time in seconds + +$T_b$ = total bits to be transmitted + +Example calculations follow: + +a) A $640 \times 480$ , 4-bit solid colour fill region subframe + +Step 1: $640 \times 480 \times 4 = 1.23$ Mbit + +Step 2: $1.23$ Mbit/ $19.29$ Mbit/s = $63.8$ ms + +Therefore the OSD source should pause $63.8$ ms after the transmission of the first solid colour fill region subframe before another subframe is transmitted. + +b) A $300 \times 200$ , 16-bit solid colour fill region subframe + +Step 1: $300 \times 200 \times 16 = 0.96$ Mbit + +Step 2: $0.96$ Mbit/ $19.29$ Mbit/s = $49.8$ ms + +Therefore the OSD source should pause $49.8$ ms after the transmission of the first solid colour fill region subframe before another subframe is transmitted. + +If the OSD producer is making use of the double buffering feature, then it should not assume a frame rate faster than 24 frames per second. + +### 6.1.4 OSD retransmission + +The consumer device should retransmit the OSD within 1 second, if there has been no change to the OSD. + +# 7 OSD data + +## 7.1 Format of OSD data + +In this clause the source of the OSD signal is called the OSD Producer and the DTV Display is called the OSD Consumer. + +### 7.1.1 Subframe types + +The defined subframe types are: + +**Set\_OSD\_pixel\_format:** Establishes the format of the basic 16-bit pixels that make up the data definition to follow, and the size and colour depth of the OSD grid. For OSD grid formats with either 4- or 8-bit colour depths, the subframe should contain either a 4- or 8-bit Colour Look-up Table (CLUT). + +--- + +4 All references in this Recommendation to resolutions, such as $640 \times 480$ , are termed as width $\times$ height. + +**4\_bit\_OSD\_data:** Defines 4-bit pixels in a rectangular region. Each 4-bit pixel represents a colour/alpha blend value derived by indirection through the 4-bit CLUT. + +**8\_bit\_OSD\_data:** Defines 8-bit pixels in a rectangular region. Each 8-bit pixel represents a colour/alpha blend value derived by indirection through the 8-bit CLUT. + +**Uncompressed\_16\_bit\_data:** Defines raw uncompressed 16-bit OSD data in a rectangular region. + +**Fill\_region\_with\_constant:** Defines a rectangular region to fill with a 16-bit constant with a format defined by **pixel\_format**. + +**Clear\_OSD:** Should load the complete OSD with a transparent value. + +### 7.1.2 Subframe typeCode + +The type of each subframe is identified by a **typeCode** field, as defined in Table 3. All subframes in this protocol, as well as ones defined in future extensions, are formatted with the 8-bit **typeCode** and 24-bit **dataLength** in the first quadlet. OSD Consumer equipment that encounters a subframe with an unknown **typeCode** should use the **dataLength** to skip that subframe. + +**Table 3/J.151 – typeCode coding** + +| typeCode | Meaning | +|-----------------|----------------------------------| +| 0 | Reserved | +| 1 | Set_OSD_pixel_format | +| 2 | 4_bit_OSD_data | +| 3 | 8_bit_OSD_data | +| 4 | Uncompressed_16_bit_data | +| 5 | Fill_region_with_constant | +| 6 | Clear_OSD | +| 7-255 | Reserved for future use | + +### 7.1.3 Subframe processing + +The DTV should process subframes in the order received. A DTV may not have buffer space sufficient to hold a complete frame of OSD data; if that is the case, processing of subframes as they arrive will be necessary. In any case, the DTV should process each subframe as it arrives. + +### 7.1.4 Subframe syntax and definition + +#### 7.1.4.1 Set OSD pixel format subframe + +The OSD Producer device should use the **Set\_OSD\_pixel\_format** subframe to set the pixel format, colour depth, and CLUT (if applicable) for subsequent delivery of OSD data. + +The **Set\_OSD\_pixel\_format** subframe should be formatted as shown in Figure 7 when **OSD\_layout** specifies a 16-bit colour depth. + +![Figure 7/J.151 – Set OSD pixel format subframe, 16-bit colour depth. A diagram showing a 16-bit word structure. The first byte is 'typeCode'. The second byte is 'OSD_layout'. The third byte is 'overlay_format'. The fourth byte is 'pixel_format'. The fifth byte is split into nibbles: '0', 'cs', 'buf', 'sw'. The sixth byte is 'mix'. The seventh byte is 'fill_value'. The eighth byte is 'reserved'. MSB (first) is at the top left, LSB is at the bottom right. Reference code T0909500-00 is at the bottom right.](76b0cd79baaedd942af4dc42f2e764b8_img.jpg) + +Figure 7/J.151 – Set OSD pixel format subframe, 16-bit colour depth. A diagram showing a 16-bit word structure. The first byte is 'typeCode'. The second byte is 'OSD\_layout'. The third byte is 'overlay\_format'. The fourth byte is 'pixel\_format'. The fifth byte is split into nibbles: '0', 'cs', 'buf', 'sw'. The sixth byte is 'mix'. The seventh byte is 'fill\_value'. The eighth byte is 'reserved'. MSB (first) is at the top left, LSB is at the bottom right. Reference code T0909500-00 is at the bottom right. + +Figure 7/J.151 – Set OSD pixel format subframe, 16-bit colour depth + +The **Set\_OSd\_pixel\_format** subframe should be formatted as shown in Figure 8 when **OSD\_layout** specifies a 4-bit colour depth. + +![Figure 8/J.151 – Set OSD pixel format subframe, 4-bit colour depth. A diagram showing a 16-bit word structure. The first byte is 'typeCode'. The second byte is 'OSD_layout'. The third byte is 'overlay_format'. The fourth byte is 'pixel_format'. The fifth byte is split into nibbles: '0', 'cs', 'buf', 'sw'. The sixth byte is 'mix'. The seventh byte is 'fill_value'. The eighth byte is 'reserved'. The ninth byte is 'CLUT[0]'. The tenth byte is 'CLUT[1]'. The eleventh byte is '...'. The twelfth byte is 'CLUT[14]'. The thirteenth byte is 'CLUT[15]'. MSB (first) is at the top left, LSB is at the bottom right. Reference code T0909510-00 is at the bottom right.](4356776ca004ecba5d599667a155d7d4_img.jpg) + +Figure 8/J.151 – Set OSD pixel format subframe, 4-bit colour depth. A diagram showing a 16-bit word structure. The first byte is 'typeCode'. The second byte is 'OSD\_layout'. The third byte is 'overlay\_format'. The fourth byte is 'pixel\_format'. The fifth byte is split into nibbles: '0', 'cs', 'buf', 'sw'. The sixth byte is 'mix'. The seventh byte is 'fill\_value'. The eighth byte is 'reserved'. The ninth byte is 'CLUT[0]'. The tenth byte is 'CLUT[1]'. The eleventh byte is '...'. The twelfth byte is 'CLUT[14]'. The thirteenth byte is 'CLUT[15]'. MSB (first) is at the top left, LSB is at the bottom right. Reference code T0909510-00 is at the bottom right. + +Figure 8/J.151 – Set OSD pixel format subframe, 4-bit colour depth + +The **Set\_OSd\_pixel\_format** subframe should be formatted as shown in Figure 9 when **OSD\_layout** specifies an 8-bit colour depth. + +![Figure 9/J.151 – Set OSD pixel format subframe, 8-bit colour depth. A diagram showing a 16-bit word structure. The first byte is 'typeCode'. The second byte is 'OSD_layout'. The third byte is 'overlay_format'. The fourth byte is 'pixel_format'. The fifth byte is split into nibbles: '0', 'cs', 'buf', 'sw'. The sixth byte is 'mix'. The seventh byte is 'fill_value'. The eighth byte is 'reserved'. The ninth byte is 'CLUT[0]'. The tenth byte is 'CLUT[1]'. The eleventh byte is '...'. The twelfth byte is 'CLUT[254]'. The thirteenth byte is 'CLUT[255]'. MSB (first) is at the top left, LSB is at the bottom right. Reference code T0909520-00 is at the bottom right.](8592a32c2fdf17c1e562f0ba6b7e8e1a_img.jpg) + +Figure 9/J.151 – Set OSD pixel format subframe, 8-bit colour depth. A diagram showing a 16-bit word structure. The first byte is 'typeCode'. The second byte is 'OSD\_layout'. The third byte is 'overlay\_format'. The fourth byte is 'pixel\_format'. The fifth byte is split into nibbles: '0', 'cs', 'buf', 'sw'. The sixth byte is 'mix'. The seventh byte is 'fill\_value'. The eighth byte is 'reserved'. The ninth byte is 'CLUT[0]'. The tenth byte is 'CLUT[1]'. The eleventh byte is '...'. The twelfth byte is 'CLUT[254]'. The thirteenth byte is 'CLUT[255]'. MSB (first) is at the top left, LSB is at the bottom right. Reference code T0909520-00 is at the bottom right. + +Figure 9/J.151 – Set OSD pixel format subframe, 8-bit colour depth + +The source should send the **Set\_OSD\_pixel\_format** subframe prior to the initial delivery of OSD data to establish the format for the data to follow. The subframe should also be sent prior to delivery of OSD data in a different pixel format. Note that it is not possible to define one OSD image as a mixture of different pixel formats (**pixel\_format** 0 and 1, for example). + +The **Set\_OSD\_pixel\_format** subframe also selects one of possibly several OSD buffer formats offered by the OSD Consumer. + +**typeCode** for the **Set\_OSD\_pixel\_format** subframe is 0116. + +**dataLength** should reflect the number of bytes in the subframe following the **dataLength** field itself, either 8, 40, or 520, depending upon the colour depth defined in **OSD\_layout**. + +**OSD\_layout** specifies the OSD frame buffer dimensions and colour depth and should be as specified in Table 4. + +**Table 4/J.151 – OSD layout coding** + +| OSD_layout | Meaning | +|-------------------|----------------------------| +| 0 | $640 \times 480 \times 4$ | +| 1 | $640 \times 480 \times 8$ | +| 2 | $640 \times 480 \times 16$ | +| 3-255 | Reserved for future use | + +**overlay\_format** specifies the way the OSD Consumer should overlay the selected grid format over decoded video. Table 5 defines coding for **overlay\_format**. Support for formats 1 and 2 is optional. All devices should support format 0. + +**Table 5/J.151 – Overlay format coding** + +| overlay_format | Meaning | +|-----------------------|------------------------------| +| 0 | no stretch requested | +| 1 | Stretch horizontally to 14:9 | +| 2 | Stretch horizontally to 16:9 | +| 3-255 | Reserved for future use | + +**pixel\_format** should be as specified in Table 6. The format for the 16 bit pixel for each pixel format is as shown in Figure 10. + +**Table 6/J.151 – Pixel format coding** + +| pixel_format | Meaning | +|---------------------|-------------------------| +| 0 | $Y:C_b:C_r = 6:5:5$ | +| 1 | $a:Y:C_b:C_r = 2:6:4:4$ | +| 2 | $a:Y:C_b:C_r = 4:6:3:3$ | +| 3-255 | Reserved for future use | + +A zero value for Y indicates lowest luminance (most black). A maximum value for Y (all ones) indicates highest luminance level. Y is related to primary colour signals (R, G, B) in accordance with the colourimetry clauses of ITU-R BT.709-2, the standard for DTV, or ITU-R BT.601-4, the + +standard for NTSC. An OSD consumer may only support one of the standards; as the complexity of requiring support for both was deemed excessive for the improvement in quality that would result. $C_r$ and $C_b$ are chrominance vectors related to primary colour signals (R, G, B) in accordance with ITU-R BT.709-2 or ITU-R BT.601-4. + +For **pixel\_format** 0 only, any pixel with a Y value of zero should be transparent. Pixels with non-zero values of Y should be opaque. + +![Diagram showing pixel format bit fields for pixel_format 0, 1, and 2. Each format is shown as a horizontal bar with MSB on the left and LSB on the right. pixel_format 0 contains Y, Cb, and Cr. pixel_format 1 contains alpha, Y, Cb, and Cr. pixel_format 2 contains alpha, Y, Cb, and Cr. A small code T0909530-00 is at the bottom right.](5445597cceefaca1ac89e710fe339325_img.jpg) + +The diagram illustrates the bit field structure for three pixel formats. Each format is represented by a horizontal bar with 'MSB' (Most Significant Bit) at the left and 'LSB' (Least Significant Bit) at the right. The fields are labeled as follows: + +- pixel\_format 0:** Contains three fields: Y, $C_b$ , and $C_r$ . +- pixel\_format 1:** Contains four fields: $\alpha$ , Y, $C_b$ , and $C_r$ . +- pixel\_format 2:** Contains four fields: $\alpha$ , Y, $C_b$ , and $C_r$ . + +A small code 'T0909530-00' is located at the bottom right of the diagram. + +Diagram showing pixel format bit fields for pixel\_format 0, 1, and 2. Each format is shown as a horizontal bar with MSB on the left and LSB on the right. pixel\_format 0 contains Y, Cb, and Cr. pixel\_format 1 contains alpha, Y, Cb, and Cr. pixel\_format 2 contains alpha, Y, Cb, and Cr. A small code T0909530-00 is at the bottom right. + +Figure 10/J.151 – Pixel format bit fields + +**a** is an alpha level associated with pixels in **pixel\_format** 1 or 2. **a** values for **pixel\_format** 1 are defined in Table 7. For **pixel\_format** 2, values in between 0 and all-ones indicate the mix weight between the OSD pixel and decoded video for each pixel. A zero value for **a** indicates transparent. The all-ones value indicates opaque. The interpolation between zero and all ones should be approximately linear. + +The **mix** parameter in the **Set\_OSD\_pixel\_format** subframe is used with **pixel\_format** 1 to specify the alpha-blend value to use for pixels that are neither transparent nor opaque. Table 7 should define the interpretation of the 2-bit alpha field in pixels formatted as **pixel\_format** 1. The **mix** parameter should be ignored in an OSD Consumer for pixel formats 0 and 2. + +Table 7/J.151 – A field interpretation for pixel\_format 1 + +| pixel a | Meaning | +|---------|---------------------------------------------------------------------------------------| +| 0 | Opaque | +| 1 | Mix with video using mix parameter in the Set_OSD_pixel_format subframe | +| 2 | Transparent | +| 3 | Reserved for future use | + +**cs** defines the chrominance standard used in the OSD Producer, and acts to notify the OSD Consumer that it should interpret Y-Cb-Cr data in accordance with the referenced standard, if possible. **cs** is defined in Table 8. + +**Table 8/J.151 – Colourimetry standards** + +| cs | Colour Standard | +|-----------|------------------------| +| 0 | ITU-R BT.709-2 | +| 1 | ITU-R BT.601-4 | + +**buf** indicates whether data is placed into the buffer currently being used for output (**buf** = 0) or into a buffer that is not currently being used for output (**buf** = 1). The **buf** and **sw** bits together specify how the data update will take place as shown in Table 9. + +When double buffering is not supported in the OSD consumer, **buf** = 1 has no meaning. In this case the OSD consumer may ignore subframes with **buf** = 1. + +**Table 9/J.151 – buf/sw coding** + +| buf | sw | Rule | +|------------|-----------|------------------------------------------------------------------------------------------------------------------------------------------| +| 0 | 0 | Should put data into the active buffer immediately | +| 0 | 1 | Should start to put data into the active buffer synchronized with the start of the next vertical retrace | +| 1 | 0 | Should put data into an off-screen buffer | +| 1 | 1 | Should put data into an off-screen buffer and then swap with the active buffer, synchronized with the start of the next vertical retrace | + +**sw** indicates when the data update will take place. The **buf** and **sw** bits together specify how the data update will take place as shown in Table 9. + +**fill\_value** is formatted according to **OSD\_Layout** as shown in Table 10. + +**Table 10/J.151 – fill\_value coding** + +| OSD_layout | fill_value format | +|-------------------|------------------------------------------| +| 0 | 4 bits (right justified) | +| 1 | 8 bits (right justified) | +| 2 | as defined by pixel_format Coding | +| 3-255 | Reserved | + +For Set\_OSD\_pixel\_format purposes, Set OSD pixel format subframe, Item 1 below states "Processing the first **Set\_OSD\_pixel\_format** subframe after establishing the OSD connection should have the effect of setting the OSD frame buffers to the fill pixel value provided in the command." For purposes of compliance with this Recommendation, the condition "...after establishing the OSD connection...", should mean "...after an OSD producer has been selected...". + +Processing within the OSD Consumer of the **Set\_OSD\_pixel\_format** subframe should conditionally cause the OSD frame buffers to be initialized to the **fill\_value** value provided: + +- 1) Processing the first **Set\_OSD\_pixel\_format** subframe after establishing the OSD connection should have the effect of setting the OSD frame buffers to the fill pixel value provided in the command. +- 2) Processing a subsequent **Set\_OSD\_pixel\_format** subframe that changes the **pixel\_format** or **OSD\_layout**, the DTV should initialize the OSD buffers to the fill pixel value provided. + +Processing a subsequent **Set\_OSD\_pixel\_format** subframe that changes only the **mix** field or CLUT data, previously defined pixel data values do not change. + +**CLUT[N]** is a colour look-up table entry. CLUT entries are 16-bits, formatted according to the pixel format defined in **pixel\_format**. + +#### 7.1.4.2 4-bit OSD data subframe + +Figure 11 defines the format of the **4\_bit\_OSD\_data** subframe, used to deliver 4-bit pixels from A/V Source to display. + +![Diagram of the 4-bit OSD data subframe format. The diagram shows a sequence of fields: typeCode (0, buf, sw), dataLength, X_loc (0016), Y_loc, width, height, pixel[0] through pixel[N], zeroPad1, and zeroPad2. The diagram is labeled MSB (first) at the top left and LSB at the top right. A bracket on the right side indicates the end of the subframe. The identifier T0909540-00 is at the bottom right.](e180f2b5fcbe8001554a7c0677cd3f82_img.jpg) + +The diagram illustrates the structure of a 4-bit OSD data subframe. It begins with the **typeCode** field, which includes sub-fields **0**, **buf**, and **sw**. This is followed by the **dataLength** field. The **X\_loc** field is shown as **0016**. The **Y\_loc** field follows. The **width** and **height** fields are then present. The pixel data is represented by **pixel[0]**, **pixel[1]**, **pixel[2]**, **pixel[3]**, an ellipsis, **pixel[N]**, and another ellipsis. The subframe ends with **zeroPad1** and **zeroPad2** padding fields. The diagram is labeled **MSB (first)** at the top left and **LSB** at the top right. A bracket on the right side indicates the end of the subframe. The identifier **T0909540-00** is at the bottom right. + +Diagram of the 4-bit OSD data subframe format. The diagram shows a sequence of fields: typeCode (0, buf, sw), dataLength, X\_loc (0016), Y\_loc, width, height, pixel[0] through pixel[N], zeroPad1, and zeroPad2. The diagram is labeled MSB (first) at the top left and LSB at the top right. A bracket on the right side indicates the end of the subframe. The identifier T0909540-00 is at the bottom right. + +Figure 11/J.151 – 4-bit OSD data subframe format + +**typeCode** should be set to value 0216, indicating the **4\_bit\_OSD\_data** subframe format. + +The 24-bit **dataLength** field should be set to indicate the number of data bytes in the remainder of the subframe. The subframe should be padded so that the next subframe address is quadlet aligned. Based on the height and width parameters (if both are odd numbers), the least significant 4 bits in the last data byte may be unused. + +**X\_loc** is the 12-bit X-coordinate (column number) within the image buffer in the buffer indicated by **buf**. The coordinate system is defined with 0,0 in the upper left corner. + +**Y\_loc** is the 12-bit Y-coordinate (row number) within the image buffer in the buffer indicated by **buf**. + +![Figure 12/J.151 – Pixel data display order. A diagram showing a 4x6 grid of pixels labeled P0 through P23. The grid is defined by X_loc (top-left corner), width (6 pixels), and height (4 pixels). The pixels are displayed in scan order: left-to-right, top-to-bottom. Row 1: P0, P1, P2, P3, P4, P5. Row 2: P6, P7, P8, P9, P10, P11. Row 3: P12, P13, P14, P15, P16, P17. Row 4: P18, P19, P20, P21, P22, P23. Arrows indicate the flow from P0 to P23. A label 'T0909550-00' is at the bottom right.](c914f51f4427bc672dd0526cfc90ebe9_img.jpg) + +Figure 12/J.151 – Pixel data display order. A diagram showing a 4x6 grid of pixels labeled P0 through P23. The grid is defined by X\_loc (top-left corner), width (6 pixels), and height (4 pixels). The pixels are displayed in scan order: left-to-right, top-to-bottom. Row 1: P0, P1, P2, P3, P4, P5. Row 2: P6, P7, P8, P9, P10, P11. Row 3: P12, P13, P14, P15, P16, P17. Row 4: P18, P19, P20, P21, P22, P23. Arrows indicate the flow from P0 to P23. A label 'T0909550-00' is at the bottom right. + +Figure 12/J.151 – Pixel data display order + +**buf** and **sw** are the same as defined in 7.1.4.1, **Set\_OSD\_pixel\_format** subframe. + +**width** is a 16-bit unsigned integer number representing the width, in pixels, of the OSD region being defined. Value zero is undefined. + +**height** is a 16-bit unsigned integer number representing the height, in pixels, of the OSD region being defined. Value zero is undefined. + +**pixel[0]** through **pixel[N]** are 4-bit pixel values. The pixels should be listed in a scan order that is left to right and top to bottom. An illustration of the order is shown in Figure 12. In this particular example **width** has a value of 6 and **height** has a value of 4. The display values for each should be expanded through the 4-bit to 16-bit CLUT defined in the most recently received **Set\_OSD\_pixel\_format** subframe. + +#### 7.1.4.3 8-bit OSD data subframe + +Figure 13 defines the format of the **8\_bit\_OSD\_data** subframe, used to deliver 8-bit pixels from an OSD Producer to an OSD Consumer. + +![Figure 13/J.151 – 8-bit OSD data subframe format. A diagram showing the structure of an 8-bit OSD data subframe. The subframe is divided into fields: typeCode (bits 0, buf, sw), X_loc, dataLength (0016), Y_loc, width, height, pixel[0], pixel[1], pixel[2], pixel[3], ..., pixel[N], and zeroPad1. The diagram shows the MSB (first) on the left and LSB on the right. A label 'T0909560-00' is at the bottom right.](6f31cdb576d2f15c35c3f266e5f59211_img.jpg) + +Figure 13/J.151 – 8-bit OSD data subframe format. A diagram showing the structure of an 8-bit OSD data subframe. The subframe is divided into fields: typeCode (bits 0, buf, sw), X\_loc, dataLength (0016), Y\_loc, width, height, pixel[0], pixel[1], pixel[2], pixel[3], ..., pixel[N], and zeroPad1. The diagram shows the MSB (first) on the left and LSB on the right. A label 'T0909560-00' is at the bottom right. + +Figure 13/J.151 – 8-bit OSD data subframe format + +**typeCode** should be set to value 0316, indicating the **8\_bit\_OSD\_data** subframe format. + +The definitions for **dataLength**, **X\_loc**, **Y\_loc**, **width** and **height** are the same as for the **4\_bit\_OSD\_data** subframe. + +The definitions for **buf** and **sw** are the same as defined in 7.1.4.1, **Set\_OSD\_pixel\_format** subframe. + +**pixel[0]** through **pixel[N]** are 8-bit pixel values. The display values for each should be derived by indirection through the 8-bit CLUT defined in the last received **Set\_OSD\_pixel\_format** subframe. The pixels should be listed in a scan order as shown in Figure 12. + +#### 7.1.4.4 Uncompressed 16-bit data subframe + +Figure 14 defines the format of the **Uncompressed\_16\_bit\_data** subframe, used to deliver uncompressed 16-bit pixels from A/V Source to display. + +![Figure 14/J.151 – Uncompressed 16-bit data subframe format diagram. The diagram shows a subframe structure with fields: typeCode, dataLength, X_loc, Y_loc, width, height, pixel[0], pixel[1], pixel[N], zeroPad1, and zeroPad2. It is divided into MSB (first) and LSB sections.](171115f072e42b379238ed0dd438e9d7_img.jpg) + +The diagram illustrates the layout of an Uncompressed 16-bit data subframe. It is divided into two main sections: MSB (first) on the left and LSB on the right. The fields are arranged as follows: + +- typeCode**: Located in the MSB section, containing sub-fields 0, buf, and sw. +- dataLength**: Located in the MSB section, containing sub-fields 0016 and Y\_loc. +- X\_loc**: Located in the MSB section. +- width**: Located in the MSB section. +- height**: Located in the LSB section. +- pixel[0]**: Located in the MSB section. +- pixel[1]**: Located in the LSB section. +- ...**: Ellipsis indicating intermediate pixel values. +- pixel[N]**: Located in the MSB section. +- zeroPad1**: Located in the LSB section. +- zeroPad2**: Located in the LSB section. + +A dashed line separates the pixel data from the zero-padding. An arrow points from the end of pixel[N] to the start of zeroPad1. + +Figure 14/J.151 – Uncompressed 16-bit data subframe format diagram. The diagram shows a subframe structure with fields: typeCode, dataLength, X\_loc, Y\_loc, width, height, pixel[0], pixel[1], pixel[N], zeroPad1, and zeroPad2. It is divided into MSB (first) and LSB sections. + +Figure 14/J.151 – Uncompressed 16-bit data subframe format + +**typeCode** should be set to value 0416, indicating the **Uncompressed\_16\_bit\_data** subframe format. + +The definitions for **dataLength**, **X\_loc**, **Y\_loc**, **width** and **height** are the same as for the **4\_bit\_OSD\_data** subframe. + +The definitions for **buf** and **sw** are the same as defined in 7.1.4.1, **Set\_OSD\_pixel\_format** subframe. + +**pixel[0]** through **pixel[N]** are 16-bit pixel values. The format of each pixel (in terms of luminance, chrominance, and optional alpha level) are as defined by the **Set\_OSD\_pixel\_format** subframe. The pixels should be listed in a scan order as shown in Figure 12. + +#### 7.1.4.5 Fill region with constant subframe + +Figure 15 defines the format of the **Fill\_region\_with\_constant** subframe, used to direct the display to fill a rectangular area in the display image buffer with a constant value. + +![](7133ccf78043568ca62ecbcd43628a4a_img.jpg) + +| | | | | | | | | | | | | | | | | | | | | | | | | +|-------------|-----|----|--|--|--|------------|--|--|--|--|--|------------------|--|--|-------|--|--|--|--|--|--|--|--| +| MSB (first) | | | | | | | | | | | | LSB | | | | | | | | | | | | +| typeCode | | | | | | dataLength | | | | | | | | | | | | | | | | | | +| 0 | buf | sw | | | | X_loc | | | | | | 00 16 | | | Y_loc | | | | | | | | | +| width | | | | | | | | | | | | height | | | | | | | | | | | | +| fill_value | | | | | | | | | | | | reserved | | | | | | | | | | | | + +T0909580-00 + +Figure 15/J.151 – Fill region with constant subframe format + +**typeCode** should be set to value 0516, indicating the **Fill\_region\_with\_constant** subframe format. + +The 24-bit **dataLength** field should be set to 12 for this subframe type. + +The definitions for **dataLength**, **X\_loc**, **Y\_loc**, **width** and **height** are the same as for the **4\_bit\_OSD\_data** subframe. + +The definitions for **buf** and **sw** are the same as defined in 7.1.4.1, **Set\_OSD\_pixel\_format** subframe. + +**Fill\_Value** indicates the constant value to be filled. The format of **fill\_value** should be as defined by Table 10. + +Some implementations of DTVs may provide a feature that allows the colour of the area surrounding the defined OSD grid to be defined. The OSD Producer may specify the fill colour for the surrounding area by setting the **width** and **height** fields to FF16. + +#### 7.1.4.6 Clear OSD subframe + +Figure 16 defines the format of the **Clear\_OSD** subframe, used to direct the display to fill the display image buffer with a zero (Transparent) value. + +![](303fadfb9def251d1575d6221199b158_img.jpg) + +| | | | | | | | | | | | | | | | | | | | | | | | | +|-------------|--|--|--|--|--|------------|--|--|--|--|--|-----|--|--|--|--|--|--|--|--|--|--|--| +| MSB (first) | | | | | | | | | | | | LSB | | | | | | | | | | | | +| typeCode | | | | | | dataLength | | | | | | | | | | | | | | | | | | + +T0909590-00 + +Figure 16/J.151 – Clear\_OSD subframe format + +**typeCode** should be set to value 0616, indicating the **Clear\_OSD** subframe format. + +The 24-bit **dataLength** field should be set to 0 for this subframe type. + +## 7.2 Alignment of OSD with video + +A Square pixel aspect ratio is desirable. The OSD consumer should align the 640 × 480 display grid with video according to the constraints: + +- a) The 640 × 480 grid should be centered horizontally within the visible display area. +- b) The 640 × 480 grid should be centered vertically within the visible display area, or cover it completely. + +# 8 Capability profiles + +This clause defines the capability profiles for the RF DTV interface. At present, two profiles are defined. Future extensions to this protocol may define additional profiles. + +All OSD consumers using OSDs should have the capabilities defined in Profile 1 of Table 11 and the OSD capabilities defined in Profile 1 of Table 12. Profile 1 is intended to define the capabilities for near-term designs. Profile 2 is intended to identify prospective capabilities for future designs. + +**Table 11/J.151 – Capability profiles** + +| Capability | Profile 1 | Profile 2 | +|-----------------------------------------------------------|-----------|-----------| +| RF Demodulator 8 VSB (trellis coded) | ✓ | ✓ | +| RF Demodulator 16 VSB | ✓ | ✓ | +| Decodes All Video Formats | ✓ | ✓ | +| Delivery Format Supports Region-Based Updating | ✓ | ✓ | +| Pixel transparency support (Transparent or Opaque Pixels) | ✓ | ✓ | +| Double Buffering | | ✓ | + +**Table 12/J.151 – OSD capability profiles** + +| Capability | Profile 1 | Profile 2 | +|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|-------------| +| 640 × 480 × 4 OSD grid, 4-bit to 16-bit CLUT format:
$\alpha$ , YC B C R , 2:6:4:4, transparent, opaque or per-screen alpha value
$\alpha$ , YC B C R , 4:6:3:3, transparent, opaque or alpha value per pixel | ✓ | ✓
✓ | +| 640 × 480 × 8 OSD grid, 8-bit to 16-bit CLUT format:
$\alpha$ , YC B C R , 2:6:4:4, transparent, opaque or per-screen alpha value
$\alpha$ , YC B C R , 4:6:3:3, transparent, opaque or alpha value per pixel
YC B C R 6:5:5 | | ✓
✓
✓ | +| 640 × 480 × 16 OSD grid, pixel format:
$\alpha$ , YC B C R , 2:6:4:4, transparent, opaque or per-screen alpha value
$\alpha$ , YC B C R , 4:6:3:3, transparent, opaque or alpha value per pixel
YC B C R 6:5:5 | | ✓
✓
✓ | + +# 9 DTV RF remodulator input specifications + +## 9.1 Input overview + +An overview of input to the DTV remodulator is provided in Figure 17. If the device is partitioned as indicated in Figure 17, then it is expected (in general) that: + +- The remodulator should support transport streams for both the 16 VSB high data rate transmission mode and the 8 VSB (trellis coded) transmission mode. +- The remodulator should support 3.3V Process TTL Logic Levels. +- The f(sym) is equal to 10 762 238 Hz. $(4.5E6 \times 684/286) \pm 10$ ppm. + +![Figure 17/J.151 – Remodulator system diagram. The diagram shows a 'Baseband Data Source (or) Input Buffer' on the left and a 'Remodulator' on the right. 'Valid Transport Streams' enter the source from the left. The source outputs 'In_Data[7..0]' and 'Data_Valid' to the remodulator. The remodulator outputs 'Data Request' and 'Interface Reference Clock (IRC)' back to the source. A 'Master Clock' is shown connected to the remodulator. The identifier 'T0909600-00' is present near the remodulator.](aaf3e6e44cdeabd6d1df869c5f392ea1_img.jpg) + +``` + +graph LR + VTS[Valid Transport Streams] --> BDS[Baseband Data Source +(or) +Input Buffer] + BDS -- In_Data[7..0] --> REM[Remodulator] + BDS -- Data_Valid --> REM + REM -- Data Request --> BDS + REM -- IRC[Interface Reference Clock (IRC)] --> BDS + MC[Master Clock] --> REM + T0909600-00 --- REM + +``` + +Figure 17/J.151 – Remodulator system diagram. The diagram shows a 'Baseband Data Source (or) Input Buffer' on the left and a 'Remodulator' on the right. 'Valid Transport Streams' enter the source from the left. The source outputs 'In\_Data[7..0]' and 'Data\_Valid' to the remodulator. The remodulator outputs 'Data Request' and 'Interface Reference Clock (IRC)' back to the source. A 'Master Clock' is shown connected to the remodulator. The identifier 'T0909600-00' is present near the remodulator. + +**Figure 17/J.151 – Remodulator system** + +## 9.2 Input from remodulator to source + +In general + +- The **IRC... (Interface Reference Clock)** is generated from the Master Clock to provide the frequency reference. +- The **Data\_Request...** is generated to provide timing for the data pull from the source device. (Active High for 188 cycles). +- The first byte of packet is the $0 \times 47$ MPEG Sync. +- There are 313 packet cycles, 312 with Data\_Request active and 1 with Data\_Request inactive. + +## 9.3 Input from source to remodulator + +In general + +- The **In\_Data...** is an 8 bit Parallel (Byte Wide) data bus. +- The **Data\_Valid...** is active high (for 188 cycles) starting at packet sync ( $0 \times 47$ ). See Figure 18. +- There are 313 packet cycles, 312 with Data\_Valid active and 1 with Data\_Valid inactive. + +Figure 18 provides a detailed illustration of the preceding three points. + +![Timing diagram for Data_Valid signal. The diagram shows four waveforms: Byte_Clk (top), In_Data[7..0] (second from top), Data_Valid (third from top), and IRC (bottom). Byte_Clk is a periodic square wave. In_Data[7..0] shows data segments: 47H, D[0], D[1], D[184], D[185], D[186]. Data_Valid is high for 188 cycles, starting 3 1/2 cycles after the first data segment begins. Data_Request is also high for 188 cycles, starting at the same time as Data_Valid. IRC is a periodic square wave.](8c348bf9c2c81b018017ae1d19506a9a_img.jpg) + +Timing diagram for Data\_Valid signal. The diagram shows four waveforms: Byte\_Clk (top), In\_Data[7..0] (second from top), Data\_Valid (third from top), and IRC (bottom). Byte\_Clk is a periodic square wave. In\_Data[7..0] shows data segments: 47H, D[0], D[1], D[184], D[185], D[186]. Data\_Valid is high for 188 cycles, starting 3 1/2 cycles after the first data segment begins. Data\_Request is also high for 188 cycles, starting at the same time as Data\_Valid. IRC is a periodic square wave. + +**Figure 18/J.151 – Data\_Valid timing** + +# 10 Monitor mode + +## 10.1 Monitor mode overview + +In this system, the DTV receiver tunes according to the PSIP tables present in the transport stream. The PSIP tables contain the virtual channel identification information (the major and minor channel number) and actual frequency on which the digital signal is transmitted, as well as other data such as time and programming information. In some situations, a "monitor" mode may be needed in DTV receivers. + +In a remodulator system, a source unit produces a transport stream that is intended to be sent to the DTV receiver via an RF cable to the terrestrial RF input. The manufacturer may choose a separate RF input for the monitor mode, however the separate RF input should have the same characteristics as the terrestrial RF input to the DTV. Since the remodulator outputs on the frequency of the selected RF channel, any frequency related PSIP data, which is part of the transport stream, should be ignored, if present. A source unit may already be performing some modification of the transport stream prior to output, but a source unit such as a digital VCR (DVCR) may simply record the entire transport stream of a particular input program and replay it at a later time through the remodulator. The remodulator system should accommodate both types of source units. A remodulator system, permits proper display of a program without a specific change to the PSIP content of the transport stream, thus enabling an extremely simple and low complexity source unit using a remodulator to properly interface with a DTV. + +## 10.2 Monitor mode conditions + +The following conditions are applied concerning the "monitor mode": + +- A unique5 transport stream payload is serviced by the DTV receiver at a time. In principle, any RF channel can be monitored, and therefore this process is referred to as "***setting the DTV receiver to monitor mode N***" where *N* is the monitored RF channel number6. +- A requirement to have a unique transport stream payload to carry a valid Program Association Table (PAT), Program Map Table (PMT), and PSIP information + +5 Unique means that there is no need to compose aggregated channel maps for devices connected to the DTV unit since each unit is serviced one at a time. + +6 A statement such as "tune to channel 3 for VCR operation" is no longer valid in DTV. Instead, the concept of monitor mode *N* permits similar functionality. Future digital VCR manuals may carry a statement like "set your DTV to monitor mode 3 for VCR operation". + +- The DTV receiver relies on PSIP data to identify the virtual channels present in the transport stream. The channel map in PSIP may be a Terrestrial Virtual Channel Table (TVCT) or a Cable Virtual Channel Table (CVCT) and receivers should be prepared to understand both7. +- In monitor mode, there may be one or more virtual channels in the monitored transport stream and the DTV receiver may use software and on-screen menus to provide navigation and/or option selection for display or for other use. + +## 10.3 Monitor mode practices + +Based on the monitor mode conditions, the following practices are established to engineer DTV receivers capable of utilizing RF unidirectional interfacing: + +- The channel mapping described by PSIP defines the use of virtual channels identified by their major and minor numbers. These numbers are, in general, independent of the actual RF channel that carries the data payload. For this reason, direct tuning to an RF channel in digital television is not recommended. Therefore, standard navigation and access devices (such as remote control units, on-screen menus, or buttons on the DTV receiver) for DTV receivers should be engineered with special controls to switch operation to **monitor mode N**. +- In monitor mode, the channel mapping, via the Virtual Channel Table (VCT), and its parameters may change completely at a given time. For example, these changes will occur when a recorded segment in a digital VCR follows another segment with different channels and programs. Accordingly, the TSID of the monitored transport stream will also change with different recording segments. In normal DTV operation, the TSID for a given transport stream does not change, therefore DTV receivers should be engineered to operate under variable conditions for the monitoring mode. +- In the VCT, some fields are no longer relevant for the operation of a DTV receiver in monitor mode. The fields that should be ignored include, but are not limited to the following: the carrier frequency, the modulation mode, the path-select field, and the out-of-band field. +- In monitor mode, the major and minor numbers, as well as the short and extended channel names may be used to provide navigation for services carried within the monitored transport stream. In the case of digital VCRs, major and minor channel numbers also give reference to the original channels from which programs were recorded. +- All time of day clock references explicitly or implicitly8 defined in PSIP tables obtained from monitored transport streams should be considered relative to decoded System Time Tables (STT) rather than the local clock of the DTV receiver. +- The set of tables identified as EIT-0 give necessary program guide information about services found in the monitored transport stream. Future Event Information Tables (EIT) (EIT-1 to EIT-127), although still valid and applicable, should be considered mostly in an informative sense since, according to the practice of bullet 2 described above, there is no guarantee of the constancy of the transport stream. + +7 The most important difference is the location of audiovisual PIDs. For a TVCT, these are carried as part of the TVCT within the service\_location\_descriptor, while for a CVCT these are entries listed in the PMT. + +8 An explicit time reference in PSIP is, for example, the start time field for events in the EIT. An implicit time reference is the definition of the time segment for which an EIT is applicable. + +- When navigating the transport stream in monitor mode, PSIP may identify programs that are not in the current transport stream. Accessing such channels is beyond the scope of this Recommendation. The transport stream ID (TSID) can be used to make this distinction. Virtual channels with channel\_TSID values different than that indicated in the transport\_stream\_ID field of the virtual channel table (VCT) may be ignored. + +# 11 Measurement + +Measurement of the values specified herein should be with respect to an impedance of 75 ohms $\pm 1\%$ . This tolerance has no other applicability. + +# Bibliography + +ATSC Standard A/54 (1995), *Guide to the Use of the ATSC Digital Television Standard*. + +ATSC Standard A/64 (1997), *Transmission Measurement and Compliance for Digital Television*. + +ATSC Standard A/65 (1997), *Program and System Information Protocol for Terrestrial Broadcast and Cable*. + +EIA-761-A (1998), *DTV Remodulator Specification with Enhanced OSD Capability*. + +EIA-799 (1999), *On-Screen Display Specification*. + +EIA CEB5 (1998), *Recommended Practice for DTV Receiver "Monitor" Mode Capability*. + +ITU-T H.222.0 (2000) | ISO/IEC 13818-1:2000, *Information Technology – Generic coding of moving pictures and associated audio information: Systems*. + +# **SERIES OF ITU-T RECOMMENDATIONS** + +| | | +|-----------------|--------------------------------------------------------------------------------------------------------------------------------| +| Series A | Organization of the work of ITU-T | +| Series B | Means of expression: definitions, symbols, classification | +| Series C | General telecommunication statistics | +| Series D | General tariff principles | +| Series E | Overall network operation, telephone service, service operation and human factors | +| Series F | Non-telephone telecommunication services | +| Series G | Transmission systems and media, digital systems and networks | +| Series H | Audiovisual and multimedia systems | +| Series I | Integrated services digital network | +| Series J | Transmission of television, sound programme and other multimedia signals | +| Series K | Protection against interference | +| Series L | Construction, installation and protection of cables and other elements of outside plant | +| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits | +| Series N | Maintenance: international sound programme and television transmission circuits | +| Series O | Specifications of measuring equipment | +| Series P | Telephone transmission quality, telephone installations, local line networks | +| Series Q | Switching and signalling | +| Series R | Telegraph transmission | +| Series S | Telegraph services terminal equipment | +| Series T | Terminals for telematic services | +| Series U | Telegraph switching | +| Series V | Data communication over the telephone network | +| Series X | Data networks and open system communications | +| Series Y | Global information infrastructure and Internet protocol aspects | +| Series Z | Languages and general software aspects for telecommunication systems | \ No newline at end of file diff --git a/marked/J/T-REC-J.153-202406-I_PDF-E/0538daaa5583c23e17db3a12f2281a55_img.jpg b/marked/J/T-REC-J.153-202406-I_PDF-E/0538daaa5583c23e17db3a12f2281a55_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..38bdd7bc1d3581fbdc3cf6b035f618693dbe3846 --- /dev/null +++ b/marked/J/T-REC-J.153-202406-I_PDF-E/0538daaa5583c23e17db3a12f2281a55_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75efa8e3513a799767c04a0bb7bcd87a550f2378f5880629068581808c1c9f7f +size 7353 diff --git a/marked/J/T-REC-J.153-202406-I_PDF-E/21ad58fee90f2be50708ff541d225507_img.jpg b/marked/J/T-REC-J.153-202406-I_PDF-E/21ad58fee90f2be50708ff541d225507_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a6bc61fb6f01f04fb0bfac2bb63cca1c197a0cce --- /dev/null +++ b/marked/J/T-REC-J.153-202406-I_PDF-E/21ad58fee90f2be50708ff541d225507_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00a97922011dc5f9658e25edef8b67fce766ba25c16f8b8dbf572e1c0c72d836 +size 93061 diff --git a/marked/J/T-REC-J.153-202406-I_PDF-E/27b06ec9f42b5d727a2630f61a5f1861_img.jpg b/marked/J/T-REC-J.153-202406-I_PDF-E/27b06ec9f42b5d727a2630f61a5f1861_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..dce99ff6afe1447d8717e83c9cd7d50ec0ef76e8 --- /dev/null +++ b/marked/J/T-REC-J.153-202406-I_PDF-E/27b06ec9f42b5d727a2630f61a5f1861_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9303fd115b8d29638a12bb6d216a8b6c25b589d027f027e5b4d0554058e493f0 +size 54420 diff --git a/marked/J/T-REC-J.153-202406-I_PDF-E/4356776ca004ecba5d599667a155d7d4_img.jpg b/marked/J/T-REC-J.153-202406-I_PDF-E/4356776ca004ecba5d599667a155d7d4_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..843908e239cae55e99115d19364e21ea01da72a7 --- /dev/null +++ b/marked/J/T-REC-J.153-202406-I_PDF-E/4356776ca004ecba5d599667a155d7d4_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:673f99ecfa88a07802134925e67e383166cbe5917ab7b81bb2f64666f677ff8a +size 61962 diff --git a/marked/J/T-REC-J.153-202406-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg b/marked/J/T-REC-J.153-202406-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4367c60f476e053cc88539bebed24e95b02d5a8a --- /dev/null +++ b/marked/J/T-REC-J.153-202406-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2da5fd372c8f30aacc362ce46a5bc0b94039af6cb41e41258e4f7b82b3137c38 +size 93874 diff --git a/marked/J/T-REC-J.153-202406-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg b/marked/J/T-REC-J.153-202406-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d221c09d845688eb17d4297ad45c5ba09b561b2a --- /dev/null +++ b/marked/J/T-REC-J.153-202406-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7bfff0bf5e068d05c885848314ae667d162525437bae490544b2943e7e38771c +size 101281 diff --git a/marked/J/T-REC-J.153-202406-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg b/marked/J/T-REC-J.153-202406-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d3115eb378004bea44ede34856159e4af318012f --- /dev/null +++ b/marked/J/T-REC-J.153-202406-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ed66ee9a6e554e62d40d25fbc7263dc48cb5f6fd55954134d04276d81883895 +size 22560 diff --git a/marked/J/T-REC-J.153-202406-I_PDF-E/c2fc2621e8206d24427b56bcb2398fc0_img.jpg b/marked/J/T-REC-J.153-202406-I_PDF-E/c2fc2621e8206d24427b56bcb2398fc0_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..584fe50267e30cd0ffab00e5a9be86f59f9e9aeb --- /dev/null +++ b/marked/J/T-REC-J.153-202406-I_PDF-E/c2fc2621e8206d24427b56bcb2398fc0_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48f7b29d71d96c1f49742019f87af72e0f1837dec857cc276c7d1b46939fe5eb +size 122167 diff --git a/marked/J/T-REC-J.153-202406-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg b/marked/J/T-REC-J.153-202406-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..419fde29fb3f050bcfed43fee4a2f3eb46427504 --- /dev/null +++ b/marked/J/T-REC-J.153-202406-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:788c97cdaebb8813fd0d03ddcda7061736bc734684fe5ff74738fdaefc1e6068 +size 83630 diff --git a/marked/J/T-REC-J.153-202406-I_PDF-E/fa859e4e468bfb2710a94527f2c504af_img.jpg b/marked/J/T-REC-J.153-202406-I_PDF-E/fa859e4e468bfb2710a94527f2c504af_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..348f23e893f9b615c5f19640d8e7c5e8780f87f5 --- /dev/null +++ b/marked/J/T-REC-J.153-202406-I_PDF-E/fa859e4e468bfb2710a94527f2c504af_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4cc09a55fde7efbf6036c378ba8e0a8bb9075e8f3c1fee1d36e27ae97b4af434 +size 75258 diff --git a/marked/J/T-REC-J.16-198811-I_PDF-E/raw.md b/marked/J/T-REC-J.16-198811-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..200ef908b282aeecdc8c52f791509bc79b8f70fa --- /dev/null +++ b/marked/J/T-REC-J.16-198811-I_PDF-E/raw.md @@ -0,0 +1,353 @@ + + +![ITU logo](2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg) + +The logo of the International Telecommunication Union (ITU) features a globe with a lightning bolt superimposed on it, and the letters 'ITU' in a bold, sans-serif font. + +ITU logo + +INTERNATIONAL TELECOMMUNICATION UNION + +**ITU-T** + +**J.16** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +**TELEVISION AND SOUND TRANSMISSION** + +--- + +**MEASUREMENT OF WEIGHTED NOISE +IN SOUND - PROGRAMME CIRCUITS** + +**ITU-T Recommendation J.16** + +(Extract from the *Blue Book*) + +--- + +# NOTES + +1 ITU-T Recommendation J.16 was published in Fascicle III.6 of the *Blue Book*. This file is an extract from the *Blue Book*. While the presentation and layout of the text might be slightly different from the *Blue Book* version, the contents of the file are identical to the *Blue Book* version and copyright conditions remain unchanged (see below). + +2 In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +# **MEASUREMENT OF WEIGHTED NOISE IN SOUND-PROGRAMME CIRCUITS** + +*(Geneva, 1972; amended at Geneva, 1976 and 1980)* + +The noise objectives for sound-programme circuits are defined in terms of psophometrically weighted noise power levels at a zero relative level point. Psophometric weighting is used to ensure that the objectives and the results of measurements are directly related to the disturbing effect of the noise on the human ear. The psophometric weighting for sound-programme circuits consists of two operations: + +- a frequency-dependent weighting of the noise signal, and +- a weighting of the time function of the noise signal to take account of the disturbing effect of noise peaks. + +To achieve results which are comparable, it is recommended that for the measurement of noise in sound-programme circuits, a measuring set be used which conforms to the characteristics laid down in CCIR Recommendation 468 which is reproduced at the end of this Recommendation. + +Annex A gives symbols and definitions used in noise measurements. + +## **ANNEX A** + +(to Recommendation J.16) + +### **Symbols and definitions used in noise measurements** + +A clear distinction should be made between measurements performed with equipment conforming to the Recommendation cited in [1] and those with equipment conforming to CCIR Recommendation 468. + +It is recommended that the definitions and symbols in Table A-1/J.16 be used. + +TABLE A-1/J.16 + +### **Definitions and symbols for the specification of noise measured on sound-programme circuits** + +| Definitions | Symbols | +|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------| +| Unweighted noise level, measured with a quasi-peak measuring instrument complying with CCIR Recommendation 468 and referred to a point of zero relative sound-programme level | dBq0s | +| Weighted noise level, measured with a quasi-peak measuring instrument complying with CCIR Recommendation 468 and referred to a point of zero relative sound-programme level | dBq0ps | + +### **Reference** + +- [1] CCITT Recommendation *Psophometers (apparatus for the objective measurement of circuit noise)*, Green Book, Vol. V, Rec. P.53, Part B, ITU, Geneva, 1973. + +# **MEASUREMENT OF AUDIO-FREQUENCY NOISE VOLTAGE LEVEL IN SOUND BROADCASTING** + +(Question 50/10) + +(1970 – 1974 – 1978 – 1982 – 1986) + +The CCIR, + +## CONSIDERING + +- (a) that it is desirable to standardize the methods of measurement of audio-frequency noise in broadcasting, in sound-recording systems and on sound-programme circuits; +- (b) that such measurements of noise should provide satisfactory agreement with subjective assessments, + +# UNANIMOUSLY RECOMMENDS + +that the noise voltage level be measured in a quasi-peak and weighted manner, using the measurement system defined below: + +## **1. Weighting network** + +The nominal response curve of the weighting network is given in Fig. 1 b which is the theoretical response of the passive network shown in Fig. 1 a. Table I gives the values of this response at various frequencies. + +The permissible differences between this nominal curve and the response curve of the measuring equipment, comprising the amplifier and the network, are shown in the last column of Table I and in Fig. 2. + +*Note 1.* – When a weighting filter conforming to § 1 is used to measure audio-frequency noise, the measuring device should be a quasi-peak meter conforming to § 2. Indeed, the use of any other meter (e.g. an r.m.s. meter) for such a measurement would lead to figures for the signal-to-noise ratio that are not directly comparable with those obtained by using the characteristics that are described in the present Recommendation. + +*Note 2.* – The whole instrument is calibrated at 1 kHz (see § 2.6). + +![Circuit diagram of a passive weighting network (Figure 1a). It consists of a 600 Ω resistor in series with a network of inductors and capacitors, followed by an amplifier with an input impedance Z = 600 Ω. The components are: a 600 Ω resistor in series with a 12.88 mH inductor; a 13.85 nF capacitor in shunt; a 26.82 nF capacitor in shunt; a 33.06 nF capacitor in series; a 9.21 nF capacitor in shunt; a 26.49 mH inductor in series; a 31.47 nF capacitor in shunt; and finally an amplifier with Z = 600 Ω input impedance. The diagram is labeled CCITT-15680.](86f61404a19a384d06a7b0b2c4e6937a_img.jpg) + +Circuit diagram of a passive weighting network (Figure 1a). It consists of a 600 Ω resistor in series with a network of inductors and capacitors, followed by an amplifier with an input impedance Z = 600 Ω. The components are: a 600 Ω resistor in series with a 12.88 mH inductor; a 13.85 nF capacitor in shunt; a 26.82 nF capacitor in shunt; a 33.06 nF capacitor in series; a 9.21 nF capacitor in shunt; a 26.49 mH inductor in series; a 31.47 nF capacitor in shunt; and finally an amplifier with Z = 600 Ω input impedance. The diagram is labeled CCITT-15680. + +FIGURE 1 a — *Weighting network, simple form* + +(A constant-resistance realization is described in Annex I) + +(A tolerance of at most 1% on component values and a *Q*-factor of at least 200 at 10 000 Hz are sufficient to meet the tolerances given in Table I.) + (The difference between the responses at 1000 Hz and 6300 Hz may be adjusted more precisely by a small adjustment of the 33.06 nF capacitor, or by a different approach using an active filter [CCIR, 1982-86a]) + +![Frequency response graph showing Response (dB) vs Frequency (Hz) on a semi-logarithmic scale. The curve rises from -30 dB at 30 Hz to a peak of 12 dB at 8 kHz, then falls sharply to -48 dB at 20 kHz. CCITT - 15680 label is present.](de6e8b740c69dac308cce9edfec3eff4_img.jpg) + +The graph shows the frequency response of a weighting network. The vertical axis represents 'Response (dB)' from -48 to 12 in 4 dB increments. The horizontal axis represents 'Frequency (Hz)' on a logarithmic scale with major markers at 2, 5, 102, 2, 5, 103, 2, 5, 104, 2, 5. A curve with data points shows a rise from -30 dB at 30 Hz to a peak of 12 dB at 8 kHz, followed by a sharp decline to -48 dB at 20 kHz. The label 'CCITT - 15680' is located at the bottom right of the graph area. + +| Frequency (Hz) | Response (dB) | +|----------------|---------------| +| 30 | -30 | +| 40 | -26 | +| 50 | -22 | +| 60 | -18 | +| 80 | -14 | +| 100 | -10 | +| 150 | -6 | +| 200 | -2 | +| 300 | 0 | +| 400 | 2 | +| 500 | 4 | +| 700 | 6 | +| 1000 | 8 | +| 1500 | 10 | +| 2000 | 11 | +| 3000 | 12 | +| 4000 | 12 | +| 5000 | 12 | +| 6000 | 12 | +| 7000 | 12 | +| 8000 | 12 | +| 9000 | 11 | +| 10000 | 10 | +| 12000 | 0 | +| 14000 | -6 | +| 16000 | -12 | +| 18000 | -22 | +| 20000 | -48 | + +Frequency response graph showing Response (dB) vs Frequency (Hz) on a semi-logarithmic scale. The curve rises from -30 dB at 30 Hz to a peak of 12 dB at 8 kHz, then falls sharply to -48 dB at 20 kHz. CCITT - 15680 label is present. + +FIGURE 1b – Frequency response of the weighting network shown in Fig. 1 a + +TABLE I + +| Frequency (Hz) | Response (dB) | Proposed tolerance (dB) | +|----------------|---------------|---------------------------------------------------| +| 31.5 | -29.9 | $\pm 2.0$ | +| 63 | -23.9 | $\pm 1.4^{(1)}$ | +| 100 | -19.8 | $\pm 1.0$ | +| 200 | -13.8 | $\pm 0.85^{(1)}$ | +| 400 | -7.8 | $\pm 0.7^{(1)}$ | +| 800 | -1.9 | $\pm 0.55^{(1)}$ | +| 1 000 | 0 | $\pm 0.5$ | +| 2 000 | +5.6 | $\pm 0.5$ | +| 3 150 | +9.0 | $\pm 0.5^{(1)}$ | +| 4 000 | +10.5 | $\pm 0.5^{(1)}$ | +| 5 000 | +11.7 | $\pm 0.5$ | +| 6 300 | +12.2 | 0 | +| 7 100 | +12.0 | $\pm 0.2^{(1)}$ | +| 8 000 | +11.4 | $\pm 0.4^{(1)}$ | +| 9 000 | +10.1 | $\pm 0.6^{(1)}$ | +| 10 000 | +8.1 | $\pm 0.8^{(1)}$ | +| 12 500 | 0 | $\pm 1.2^{(1)}$ | +| 14 000 | -5.3 | $\pm 1.4^{(1)}$ | +| 16 000 | -11.7 | $\pm 1.6^{(1)}$ | +| 20 000 | -22.2 | $\pm 2.0$ | +| 31 500 | -42.7 | $\begin{cases} +2.8^{(1)} \\ -\infty \end{cases}$ | + +1) This tolerance is obtained by a linear interpolation on a logarithmic graph on the basis of values specified for the frequencies used to define the mask, i.e. 31.5, 100, 1000, 5000, 6300 and 20 000 Hz. + +![Figure 2: A log-log plot showing the maximum tolerances for the frequency response of the weighting network and the amplifier. The x-axis is Frequency (Hz) from 2 to 5, with major ticks at 10^2, 10^3, and 10^4. The y-axis is Tolerance (dB) from -8 to 4, with major ticks every 2 dB. Two lines are plotted: an upper line representing the upper tolerance limit and a lower line representing the lower tolerance limit. The upper line starts at 2 dB at 20 Hz, decreases to 0.5 dB at 100 Hz, remains flat until 5000 Hz, then rises to 3 dB at 50000 Hz. The lower line starts at -2 dB at 20 Hz, increases to -1 dB at 100 Hz, remains flat until 5000 Hz, then drops to -2 dB at 20000 Hz and remains flat until 50000 Hz.](4086a572c080354982c11f1de4d6921d_img.jpg) + +| Frequency (Hz) | Upper Tolerance (dB) | Lower Tolerance (dB) | +|----------------|----------------------|----------------------| +| 20 | 2 | -2 | +| 100 | 0.5 | -1 | +| 1000 | 0.5 | -1 | +| 5000 | 0.5 | -1 | +| 20000 | 2 | -2 | +| 50000 | 3 | -2 | + +Figure 2: A log-log plot showing the maximum tolerances for the frequency response of the weighting network and the amplifier. The x-axis is Frequency (Hz) from 2 to 5, with major ticks at 10^2, 10^3, and 10^4. The y-axis is Tolerance (dB) from -8 to 4, with major ticks every 2 dB. Two lines are plotted: an upper line representing the upper tolerance limit and a lower line representing the lower tolerance limit. The upper line starts at 2 dB at 20 Hz, decreases to 0.5 dB at 100 Hz, remains flat until 5000 Hz, then rises to 3 dB at 50000 Hz. The lower line starts at -2 dB at 20 Hz, increases to -1 dB at 100 Hz, remains flat until 5000 Hz, then drops to -2 dB at 20000 Hz and remains flat until 50000 Hz. + +FIGURE 2 — *Maximum tolerances for the frequency response of the weighting network and the amplifier* + +## 2. Characteristics of the measuring device + +A quasi-peak value method of measurement shall be used. The required dynamic performance of the measuring set may be realized in a variety of ways (see Note). It is defined in the following sections. Tests of the measuring equipment, except those for § 2.4, should be made through the weighting network. + +*Note* — After full wave rectification of the input signal, a possible arrangement would consist of two peak rectifier circuits of different time constants connected in tandem [CCIR, 1974-78]. + +### 2.1 *Dynamic characteristic in response to single tone-bursts* + +#### *Method of measurement* + +Single bursts of 5 kHz tone are applied to the input at an amplitude such that the steady signal would give a reading of 80% of full scale. The burst should start at the zero-crossing of the 5 kHz tone and should consist of an integral number of full periods. The limits of reading corresponding to each duration of tone burst are given in Table II. + +The tests should be performed both without adjustment of the attenuators, the readings being observed directly from the instrument scale, and also with the attenuators adjusted for each burst duration to maintain the reading as nearly constant at 80% of full scale as the attenuator steps will permit. + +TABLE II + +| Burst duration
(ms) | 1 (1) | 2 | 5 | 10 | 20 | 50 | 100 | 200 | +|----------------------------------------------------------------|------------------|----------------|-------------|-------------|-------------|-------------|-------------|-------------| +| Amplitude reference
steady signal
reading
(%)
(dB) | 17.0
– 15.4 | 26.6
– 11.5 | 40
– 8.0 | 48
– 6.4 | 52
– 5.7 | 59
– 4.6 | 68
– 3.3 | 80
– 1.9 | +| Limiting values: | | | | | | | | | +| – lower limit
(%)
(dB) | 13.5
– 17.4 | 22.4
– 13.0 | 34
– 9.3 | 41
– 7.7 | 44
– 7.1 | 50
– 6.0 | 58
– 4.7 | 68
– 3.3 | +| – upper limit
(%)
(dB) | 21.4
– 13.4 | 31.6
– 10.0 | 46
– 6.6 | 55
– 5.2 | 60
– 4.4 | 68
– 3.3 | 78
– 2.2 | 92
– 0.7 | + +(1) The Administration of the USSR intends to use burst durations $\geq 5$ ms. + +### 2.2 Dynamic characteristic in response to repetitive tone-bursts + +#### Method of measurement + +A series of 5 ms bursts of 5 kHz tone starting at zero-crossing is applied to the input at an amplitude such that the steady signal would give a reading of 80% of full scale. The limits of the reading corresponding to each repetition frequency are given in Table III. + +The tests should be performed without adjustment of the attenuators but the characteristic should be within tolerance on all ranges. + +TABLE III + +| Number of bursts per second | 2 | 10 | 100 | +|-------------------------------------------------------------|-------------|-------------|--------------| +| Amplitude reference
steady signal reading
(%)
(dB) | 48
– 6.4 | 77
– 2.3 | 97
– 0.25 | +| Limiting values: | | | | +| – lower limit
(%)
(dB) | 43
– 7.3 | 72
– 2.9 | 94
– 0.5 | +| – upper limit
(%)
(dB) | 53
– 5.5 | 82
– 1.7 | 100
– 0.0 | + +### 2.3 *Overload characteristics* + +The overload capacity of the measuring set should be more than 20 dB with respect to the maximum indication of the scale at all settings of the attenuators. The term “overload capacity” refers both to absence of clipping in linear stages and to retention of the law of any logarithmic or similar stage which may be incorporated. + +#### *Method of measurement* + +Isolated 5 kHz tone-bursts of 0.6 ms duration starting at zero-crossing are applied to the input at an amplitude giving full scale reading using the most sensitive range of the instrument. The amplitude of the tone-bursts is decreased in steps by a total of 20 dB while the readings are observed to check that they decrease by corresponding steps within an overall tolerance of $\pm 1$ dB. The test is repeated for each range. + +### 2.4 *Reversibility error* + +The difference in reading when the polarity of an asymmetrical signal is reversed shall not be greater than 0.5 dB. + +#### *Method of measurement* + +1 ms rectangular d.c. pulses with a pulse repetition rate of 100 pulses per second or less are applied to the input in the unweighted mode, at an amplitude giving an indication of 80% of full scale. The polarity of the input signal is reversed and the difference in indication is noted. + +### 2.5 *Overswing* + +The reading device shall be free from excessive overswing. + +#### *Method of measurement* + +1 kHz tone is applied to the input at an amplitude giving a steady reading of 0.775 V or 0 dB (see § 2.6). When this signal is suddenly applied there shall be less than 0.3 dB momentary excess reading. + +### 2.6 *Calibration* + +The instrument shall be calibrated such that a steady input signal of 1 kHz sine-wave at 0.775 V r.m.s., having less than 1% total harmonic distortion, shall give a reading of 0.775 V, 0 dB. The scale should have a calibrated range of at least 20 dB with the indication corresponding to 0.775 V (or 0 dB) between 2 and 10 dB below full scale. + +### 2.7 *Input impedance* + +The instrument should have an input impedance $\geq 20$ k $\Omega$ and if an input termination is provided then this should be $600 \Omega \pm 1\%$ . + +## 3. **Presentation of results** + +Noise voltage levels measured according to this Recommendation are expressed in units of dBbps. + +*Note 1* – If, for technical reasons, it is desirable to measure unweighted noise, the method described in Annex II should be used. + +*Note 2* – The influence of the weighting network on readings obtained with different spectra of random noise is discussed in Report 496. + +## REFERENCES + +## *CCIR Documents* + +[1974-78]: 10/28 (United Kingdom). + +[1982-86]: a. 10/248 (Australia). + +## BIBLIOGRAPHY + +BBC [1968] Research Department Report No. EL-17. The assessment of noise in audio-frequency circuits. + +DEUTSCHE NORMEN DIN 45 405. + +STEFFEN, E. [1972] Untersuchungen zur Geräuschspannungsmessung (Investigations into the measurement of noise voltage). +*Techn. Mitt. RFZ*, Heft 3. + +WILMS, H. A. O. [December, 1970] Subjective or psophometric audio noise measurement: A review of standards. *J. Audio Eng. Soc.*, Vol. 18, 6. + +*CCIR Documents* + +[1978-82]: 10/9 (EBU); 10/31 (L M Ericsson); 10/38 (OIRT); 10/225 (German Democratic Republic). + +## ANNEX I + +### CONSTANT RESISTANCE REALIZATION OF WEIGHTING NETWORK + +![Circuit diagram of a constant resistance realization of a weighting network. The diagram shows an input section with a voltage source, resistors R0 and 1/2 R0, capacitors 2C1, and inductors L1A and L1B. A switch S connects the input to a balanced/unbalanced section containing a transformer with windings L2A, L2B, L3A+B, and L3C. The output section includes resistors R1, R2, R3, capacitors C2 through C7, and inductors L4 through L7, terminating in a load Z = 600 Ω. The diagram is labeled CCITT-85730.](1eadbbe42cfcac5c0023577110aec5e3_img.jpg) + +Circuit diagram of a constant resistance realization of a weighting network. The diagram shows an input section with a voltage source, resistors R0 and 1/2 R0, capacitors 2C1, and inductors L1A and L1B. A switch S connects the input to a balanced/unbalanced section containing a transformer with windings L2A, L2B, L3A+B, and L3C. The output section includes resistors R1, R2, R3, capacitors C2 through C7, and inductors L4 through L7, terminating in a load Z = 600 Ω. The diagram is labeled CCITT-85730. + +FIGURE 3 + +Constant resistance realization of weighting network + +| R (Ω) | C (nF) | L (mH) | +|------------------------|------------------------|----------------------------------------------------------------------------------------------------------------------------------| +| R 0 : 600 | 2C 1 : 83.7 | L 1 : 12.70 (for both windings in series) | +| ½ R 0 : 300 | C 2 : 35.28 | L 2 : 15.06 (for each of two windings separated by electrostatic shield) | +| R 1 : 912 | C 3 : 38.4 | L 3A+B : 16.73 (two equal windings in series) | +| R 2 : 3340 | C 4 : 7.99 | L 3C : 4.18 (one winding, turns half L 3A+B , can have large d.c. resistance, absorbed in R 3 ) | +| R 3 : 941 | C 5 : 23.8 | L 4 : 20.1 (can have large d.c. resistance, absorbed in R 3 ) | +| | C 6 : 13.94 | L 5 : 31.5 (with tap 20.1 at 0.798 of total turns) | +| | C 7 : 35.4 | L 6 : 13.29 | +| | | L 7 : 8.00 | + +A: unbalanced +S: balanced + +### BIBLIOGRAPHY + +AUSTRALIAN BROADCASTING COMMISSION Engineering Development Report No. 106 – Constant resistance realization of CCIR noise weighting network, Recommendation 468. + +## ANNEX II + +### UNWEIGHTED MEASUREMENT + +It is recognized that unweighted measurements outside the scope of this Recommendation may be required for specific purposes. A standard response for unweighted measurements is included here for guidance. + +#### Frequency response + +The frequency response shall be within the limits given in Fig. 4. + +This response serves to standardize the measurement and ensure consistent readings of noise distributed across the useful spectrum. When out-of-band signals, e.g. carrier leaks, are present at a sufficient amplitude, they may produce readings that are inconsistent between measuring equipments whose responses are different but still fall within the tolerance template of Fig. 4. + +![Figure 4: Frequency response graph showing Level (dB) vs Frequency (Hz and kHz). The graph shows a flat response between 22.4 Hz and 22.4 kHz with a tolerance of ±0.5 dB. The response rolls off at 12 dB/octave below 22.4 Hz and 18 dB/octave above 22.4 kHz.](b712e7522f1bb7135730c7d1abb46d43_img.jpg) + +The graph shows the frequency response in dB versus frequency. The y-axis is labeled 'Level (dB)' and ranges from -70 to 10. The x-axis is labeled 'Frequency (Hz)' and 'Frequency (kHz)'. The frequency scale is logarithmic, with major markings at 1, 2, 5, 10, 2, 5, 102, 2, 5, 103, 2, 5, 104, 2, 5, 105 Hz, and 22.4 Hz, 31.5 Hz, 16 kHz, and 22.4 kHz. The response is flat at 0 dB between 22.4 Hz and 22.4 kHz, with a tolerance of ±0.5 dB. Below 22.4 Hz, the response rolls off at 12 dB/octave. Above 22.4 kHz, the response rolls off at 18 dB/octave. + +Figure 4: Frequency response graph showing Level (dB) vs Frequency (Hz and kHz). The graph shows a flat response between 22.4 Hz and 22.4 kHz with a tolerance of ±0.5 dB. The response rolls off at 12 dB/octave below 22.4 Hz and 18 dB/octave above 22.4 kHz. + +FIGURE 4 + +## BIBLIOGRAPHY + +CCIR Documents + +[1978-82]: 10/76 (CMTT/14) (Canada). \ No newline at end of file diff --git a/marked/J/T-REC-J.17-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/J/T-REC-J.17-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..64672153e39c851d9e16fdbc702e526c7ba7e8a7 --- /dev/null +++ b/marked/J/T-REC-J.17-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:454a9958ffe168868cb7d38a0eb24418dafe31a7a4245c992089b2316ac37d3e +size 7392 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/09797d4289ec96309d21a9a993153dab_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/09797d4289ec96309d21a9a993153dab_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8ff81a9aeff7699ef4381449187805357ac0a94c --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/09797d4289ec96309d21a9a993153dab_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:720bd97ecd19bee9f1d6491e0cd48d57a7043b721c883b23b86827785b4b6f74 +size 22009 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/107c8e1abcb7033ad244e30e7a910045_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/107c8e1abcb7033ad244e30e7a910045_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c5d853f5988fb603b386c3101286bee3c47eb97b --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/107c8e1abcb7033ad244e30e7a910045_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:daee86017933f81ccdcaadd98571bdbe4771b6e0587c2038d008664ea765f52e +size 98575 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/137bcfed81ada68ca5162ca5afed35c7_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/137bcfed81ada68ca5162ca5afed35c7_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..12fd748f5233fa0e3373e62793804c3cac05c112 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/137bcfed81ada68ca5162ca5afed35c7_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85cafbc40cedcc795ef458bc7775a4657e212e16cad08cdae6df6b60f1faf611 +size 20208 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/199607ec43a5b7ad43b1896e152e742b_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/199607ec43a5b7ad43b1896e152e742b_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..59925178bf87ecc49c7a34cd0d3bb59f6993caa4 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/199607ec43a5b7ad43b1896e152e742b_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dee9f09706daf76bacf44d09a3460f533f7f5577330139a4451a974a6d2cfe1 +size 53372 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/26d664119ad25250780f554633444e54_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/26d664119ad25250780f554633444e54_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4adbcfb34887e7927df82d169bae4eed0fae48d9 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/26d664119ad25250780f554633444e54_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c0d185f32bbec38bc4829e5875b317ea32bef869949d1323e6a9755ee88ed93 +size 211686 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/2b3a967f6ce4f23649be995a353e39f8_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/2b3a967f6ce4f23649be995a353e39f8_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a3f80ba7dbf15f510750a9473a573ad1d17d6700 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/2b3a967f6ce4f23649be995a353e39f8_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c18c5ceefef7d6828eca18ad89a0b5bcba9998dc7ad31f81028484af5366679 +size 168047 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/343e05a9fd8a8c8743428fa4ae6e2736_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/343e05a9fd8a8c8743428fa4ae6e2736_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..83b739e98dcec81c6456991e37b86f1371bd9770 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/343e05a9fd8a8c8743428fa4ae6e2736_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fca3f682ab4397b12f11d9cfa8c2aff8f82db42cc8ddf837122a974a3b940e72 +size 78691 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/43f7b6b61db9a2f3e3920740a9527d97_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/43f7b6b61db9a2f3e3920740a9527d97_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..26dddf0af0dee326389ec70156cf1f2214a766e8 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/43f7b6b61db9a2f3e3920740a9527d97_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50efa2e9791a7e35e8d53a2a1fce3334adb03318a5b86986152bbc3f0d271ff4 +size 64768 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/5c3dd31372f59e15250f0ab1613ca485_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/5c3dd31372f59e15250f0ab1613ca485_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9bb257a45ecd431fba66e0d43cf14ab9fc53cafd --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/5c3dd31372f59e15250f0ab1613ca485_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f480f8e29b67b915edd1db80d0928f625480b35ad1d29984f054faebc381f9bd +size 61930 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/5eb69662cc4fa7d0d49b4eb22951c204_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/5eb69662cc4fa7d0d49b4eb22951c204_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..074a159bb4de20d49ecfeb6cf56fb8888c392b38 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/5eb69662cc4fa7d0d49b4eb22951c204_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0af4070f2b31ff9760322f8fef198bcc2a215fd8118c7c741ee5bcfc5679a907 +size 53713 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/61474739fd197587cfea52af9b6a3885_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/61474739fd197587cfea52af9b6a3885_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d1f3acf4b820e7b6c3edd34d1b7ec3b7855d8719 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/61474739fd197587cfea52af9b6a3885_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3665119a6c53b6625b75ad5a93a11fb9ab47280cdba0ec1ce2bce1bac733d701 +size 17855 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/633fb609c4b7e841224c558b9db215bf_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/633fb609c4b7e841224c558b9db215bf_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cc98971bc7f4bfecdb3286e4b51ddfc0fcdcd033 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/633fb609c4b7e841224c558b9db215bf_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0c97ce9055a72aed759a6537fe06a48ff162caede3d7b3ab5842265e9079681 +size 36857 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/708e7ef81dbf726e558047afe57d6ff7_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/708e7ef81dbf726e558047afe57d6ff7_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2def6dd8bf8ea0c1e18e9f5017712bd44df78672 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/708e7ef81dbf726e558047afe57d6ff7_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efd958a4cb41cf95e0ccf27a7d7bc7a4ccc64f15c4fd7519ee11fdb4703e1938 +size 12344 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/7f5df81190b8dc50dad2604562ae0715_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/7f5df81190b8dc50dad2604562ae0715_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..99a69ed4e3197189b75dea8874f98bfb74c315e9 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/7f5df81190b8dc50dad2604562ae0715_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:671900b76d24289aa0584195df28088f7ee6223100a0779d08007ac59a2f88f2 +size 79439 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..77f214804971b0fad6917b49164459f434a82f48 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9b4f863fda6342c5e088dce2bea419ebeab436843a6c56f4f9b27e0a259ad7b +size 7496 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/893d65bf826925a7283359b1672010a0_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/893d65bf826925a7283359b1672010a0_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..20b83ce876899868459937e0dea7a11798114d76 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/893d65bf826925a7283359b1672010a0_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56424dc744a9159d66b9b9445a2e32ef21677b16dda5f28274a1c642772efbdb +size 28015 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/912a57b374babddd0201eecb2e9e1e4b_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/912a57b374babddd0201eecb2e9e1e4b_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a5b40d9f429b8dfceab41315d89eb0df8876b505 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/912a57b374babddd0201eecb2e9e1e4b_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb0343446ecaa9bc95ebec7ab3dd29365408cfed17ffd5a96aa478303ff68e94 +size 55519 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/a963ca41bde1669b18a4b783616f228b_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/a963ca41bde1669b18a4b783616f228b_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1f5f97d36168a16ebe8465cb02932d9599030a5a --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/a963ca41bde1669b18a4b783616f228b_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c3d83e80cf473c4dd9e6c0d1cf141481669c935d65635968d6066438c720dd64 +size 52967 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/ae0a735d106290c594b0bafb1f5e72e7_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/ae0a735d106290c594b0bafb1f5e72e7_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..cfaec8dd3f31fab082682d6c95d1070addc94fa1 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/ae0a735d106290c594b0bafb1f5e72e7_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72920963d7d4da706247e152c54c8be9e8f55f8a4026907be61fdb4ecd987793 +size 51367 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/af4f213abb5ad1891a43425e0d758021_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/af4f213abb5ad1891a43425e0d758021_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..baf1b6c2b38be2116acfa29ab72b06d4f01548bc --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/af4f213abb5ad1891a43425e0d758021_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb4c17c7ecb32b971a791ac2f1bfdd1f10175da9777d887477672a128c1a2604 +size 48622 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/af90aabfe3c8c65617da060d82bf99c5_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/af90aabfe3c8c65617da060d82bf99c5_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e065eeec9a0964c63bca3ba3487a1020533f525a --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/af90aabfe3c8c65617da060d82bf99c5_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e969a48c5245c5c67f406e7ba5c571b02da892b70e592bf66df3951995bd46c +size 72740 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/beda549cc2a4e2b9ac7f74fe9ed72b67_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/beda549cc2a4e2b9ac7f74fe9ed72b67_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..aebee2410ae1b13c7ebfb98baca5e1c8565919ee --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/beda549cc2a4e2b9ac7f74fe9ed72b67_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f0f70a6c5378655a8390c4079ff0cf4328bd5bb0316ac068efd294a05f0a9c7 +size 45155 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/bffdddb47fced140f8d17fdc2a29f592_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/bffdddb47fced140f8d17fdc2a29f592_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0924d61af07874c39b6f5cdce56ef51ad73cd047 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/bffdddb47fced140f8d17fdc2a29f592_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33a71af2720419e354fdd5d9df061d9937342d245b4f03f80b0b3fe7771c07d1 +size 90350 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/c93c4b33a2b42c8dd6d82a354f2f89f1_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/c93c4b33a2b42c8dd6d82a354f2f89f1_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9711e7b7bc58b3f99d4d16094677bed3a03b9b8f --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/c93c4b33a2b42c8dd6d82a354f2f89f1_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb6d5b0913c7b9a94d223f05a9301259933c91089c8678629988fc1bd16f8257 +size 82204 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/d24991add1927bb17af2ee171454a31f_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/d24991add1927bb17af2ee171454a31f_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..455e37d380322507224c56492fe597aafebbdcf7 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/d24991add1927bb17af2ee171454a31f_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38ba766bdd41f774af519eb734e94a625f56c3b74716571d1cedf35e44f050c0 +size 27775 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/da85343976fdbb19f866d9ddbdad0eae_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/da85343976fdbb19f866d9ddbdad0eae_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..27b62a135188eeb6283020ea5b9c3e01017c7aeb --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/da85343976fdbb19f866d9ddbdad0eae_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50a1c53a16ff8b28f88abd44afff961c162420f568b0900c6aee33289148fe94 +size 140366 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/e2180bd000d9ae6dea6b38d1cc79755b_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/e2180bd000d9ae6dea6b38d1cc79755b_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7daa51eeb493c80ba0bf85828f0fa4330e428cce --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/e2180bd000d9ae6dea6b38d1cc79755b_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21c7c6db739b5d081c241e694dd1415a01a40db480c82d6f45fd9253532c2a3e +size 29162 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/e4e0e43b969b09f3ef8ed29722d4d427_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/e4e0e43b969b09f3ef8ed29722d4d427_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b8719742111b8c7b4eac9cda24471502e535d881 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/e4e0e43b969b09f3ef8ed29722d4d427_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e443d430dc28db1b259bf748bc7c153f82e068642aebdf085ce65a1188bbbf91 +size 21615 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/e8f5117fb031f413a836525061addd61_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/e8f5117fb031f413a836525061addd61_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..263b46ab8abb5c37eb8a7f6390b3abe0b87282ab --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/e8f5117fb031f413a836525061addd61_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:933ea1127f438224ea46b69937605cd113ad7d8d379f477d4a6401c69955f5a3 +size 318884 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/f087d3f5d298b3b1634d13ff17879e41_img.jpg b/marked/J/T-REC-J.170-200511-I_PDF-E/f087d3f5d298b3b1634d13ff17879e41_img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4675d981b4361287f37a73732aeaa9274cef9612 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/f087d3f5d298b3b1634d13ff17879e41_img.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27c2dae56a497daf824267bd41c2bb74e16f5c19868a154a158dcfb6abd5f7ae +size 33660 diff --git a/marked/J/T-REC-J.170-200511-I_PDF-E/raw.md b/marked/J/T-REC-J.170-200511-I_PDF-E/raw.md new file mode 100644 index 0000000000000000000000000000000000000000..7d103703705437b362c31d29a6fe53c7564f4320 --- /dev/null +++ b/marked/J/T-REC-J.170-200511-I_PDF-E/raw.md @@ -0,0 +1,5441 @@ + + +International Telecommunication Union + +**ITU-T** + +TELECOMMUNICATION +STANDARDIZATION SECTOR +OF ITU + +**J.170** + +(11/2005) + +SERIES J: CABLE NETWORKS AND TRANSMISSION +OF TELEVISION, SOUND PROGRAMME AND OTHER +MULTIMEDIA SIGNALS + +IPCablecom + +--- + +**IPCablecom security specification** + +Recommendation ITU-T J.170 + +![ITU logo](84a1d09fb489061482111515543b60dc_img.jpg) + +The logo of the International Telecommunication Union (ITU) features a globe with a red lightning bolt striking it, symbolizing global communication. The text "ITU" is prominently displayed in blue, with "International Telecommunication Union" written in smaller blue text to the right. + +ITU logo + + + +# **Recommendation ITU-T J.170** + +# **IPCablecom security specification** + +# **Summary** + +This Recommendation defines authentication, access control, signalling and media content integrity, confidentiality, and non-repudiation security services for each of the network element interfaces. + +IPCablecom security spans the entire IPCablecom architecture. The IPCablecom architectural framework Recommendation (ITU-T Rec. J.160) defines the overall IPCablecom architecture, as well as the system elements, interfaces, and functional requirements for the entire IPCablecom network. + +## **Source** + +Recommendation ITU-T J.170 was approved on 29 November 2005 by ITU-T Study Group 9 (2005-2008) under Recommendation ITU-T A.8 procedures. + +# FOREWORD + +The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. + +The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics. + +The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1. + +In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. + +## NOTE + +In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. + +Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party. + +# INTELLECTUAL PROPERTY RIGHTS + +ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. + +As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at . + +© ITU 2010 + +All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU. + +# CONTENTS + +###### Page + +| | | | +|-----|----------------------------------------------------|-----| +| 1 | Scope and introduction ..... | 1 | +| 1.1 | Scope ..... | 1 | +| 1.2 | Introduction ..... | 1 | +| 2 | References..... | 2 | +| 2.1 | Normative references..... | 2 | +| 2.2 | Informative references..... | 3 | +| 3 | Terms and definitions ..... | 4 | +| 4 | Abbreviations, acronyms and conventions ..... | 5 | +| 4.1 | Abbreviations and acronyms ..... | 5 | +| 4.2 | Conventions ..... | 8 | +| 5 | Architectural overview of IPCablecom security..... | 9 | +| 5.1 | IPCablecom reference architecture..... | 9 | +| 5.2 | Threats ..... | 13 | +| 5.3 | Security architecture ..... | 19 | +| 6 | Security mechanisms ..... | 26 | +| 6.1 | IPsec ..... | 26 | +| 6.2 | Internet Key Exchange (IKE)..... | 28 | +| 6.3 | SNMPv3 ..... | 30 | +| 6.4 | Kerberos/PKINIT ..... | 31 | +| 6.5 | Kerberized key management ..... | 55 | +| 6.6 | End-to-end security for RTP ..... | 76 | +| 6.7 | End-to-end security for RTCP..... | 76 | +| 6.8 | BPI+..... | 77 | +| 6.9 | TLS ..... | 78 | +| 7 | Security profile ..... | 80 | +| 7.1 | Device and service provisioning ..... | 81 | +| 7.2 | Quality of Service (QoS) signalling ..... | 93 | +| 7.3 | Billing system interfaces ..... | 95 | +| 7.4 | Call signalling..... | 97 | +| 7.5 | PSTN Gateway interface ..... | 104 | +| 7.6 | Media stream ..... | 106 | +| 7.7 | Audio Server services..... | 126 | +| 7.8 | Electronic surveillance interfaces..... | 129 | +| 7.9 | CMS provisioning ..... | 133 | +| 8 | IPCablecom certificates ..... | 134 | +| 8.1 | Generic structure ..... | 134 | +| 8.2 | Certificate trust hierarchy ..... | 135 | + +| | Page | +|---------------------------------------------------------------------------|------| +| 9 Cryptographic algorithms ..... | 145 | +| 9.1 AES..... | 145 | +| 9.2 DES..... | 145 | +| 9.3 Block termination ..... | 146 | +| 9.4 RSA signature..... | 151 | +| 9.5 HMAC-SHA-1 ..... | 151 | +| 9.6 Key derivation ..... | 151 | +| 9.7 The MMH-MAC ..... | 152 | +| 9.8 Random number generation ..... | 154 | +| 10 Physical security ..... | 154 | +| 10.1 Protection for MTA key storage..... | 154 | +| 10.2 MTA key encapsulation ..... | 157 | +| 11 Secure software upgrade..... | 157 | +| Annex A – Oakley groups..... | 158 | +| Annex B – Kerberos Network Authentication Service ..... | 159 | +| Annex C – PKINIT specification..... | 159 | +| Appendix I – IPCablecom administration guidelines and best practices..... | 160 | +| I.1 Routine CMS service key refresh..... | 160 | +| Appendix II – Example of MMH algorithm implementation..... | 161 | + +# IPCablecom security specification + +# 1 Scope and introduction + +## 1.1 Scope + +Authentication, access control, signalling and media content integrity, confidentiality, and non-repudiation security services must be provided as defined herein for each of the network element interfaces. + +IPCablecom security spans the entire IPCablecom architecture. The IPCablecom architectural framework Recommendation (ITU-T Rec. J.160) defines the overall IPCablecom architecture, as well as the system elements, interfaces, and functional requirements for the entire IPCablecom network. + +## 1.2 Introduction + +### 1.2.1 Goals + +This Recommendation describes the security relationships between the elements on the IPCablecom network. The general goals of this IPCablecom network security Recommendation and any implementations that encompass the requirements defined herein should be: + +- **Secure network communications:** The IPCablecom network security must define a security architecture, methods, algorithms and protocols that meet the stated security service requirement. All media packets and all sensitive signalling communication across the network must be safe from eavesdropping. Unauthorized message modification, insertion, deletion and replays anywhere in the network must be easily detectable and must not affect proper network operation. +- **Reasonable cost:** The IPCablecom network security must define security methods, algorithms and protocols that meet the stated security service requirements such that a reasonable implementation can be manifested with reasonable cost and implementation complexity. +- **Network element interoperability:** All of the security services for any of the IPCablecom network elements must interoperate with the security services for all of the other IPCablecom network elements. Multiple vendors may implement each of the IPCablecom network elements as well as multiple vendors for a single IPCablecom network element. +- **Extensibility:** The IPCablecom security architecture, methods, algorithms and protocols must provide a framework into which new security methods and algorithms may be incorporated as necessary. + +### 1.2.2 Assumptions + +The following assumptions are made relative to the current scope of the IPCablecom security Recommendation: + +- Embedded Media Terminal Adaptors (MTAs) are within the current scope. Stand-alone MTAs will be addressed in later phases and security issues for stand-alone MTAs are thus for future study. +- Network Call Signalling (NCS) is the only call signalling method, on the access network, addressed in this Recommendation. +- This version of the IPCablecom security Recommendation specifies security for a single administrative domain and the communications between domains. + +- Security for chained RADIUS servers is not currently in the scope. + +This Recommendation also does not include requirements for associated security operational issues (e.g., site security), back-office or inter/intra back-office security, service authorization policies or secure database handling. Record Keeping Servers (RKS), Network Management Systems, File Transfer Protocol (FTP) servers and Dynamic Host Configuration Protocol (DHCP) servers are all considered to be unique to any service provider's implementation and are beyond the scope of this Recommendation. + +# 2 References + +## 2.1 Normative references + +The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation. + +- Recommendation ITU-T J.112 (1998), *Transmission systems for interactive cable television services*. +- Recommendation ITU-T J.122 (2002), *Second-generation transmission systems for interactive cable television services – IP cable modems*. +- Recommendation ITU-T J.125 (2004), *Link privacy for cable modem implementations*. +- Recommendation ITU-T J.126 (2004), *Embedded Cable Modem device specification*. +- Recommendation ITU-T J.162 (2005), *Network call signalling protocol for the delivery of time-critical services over cable television networks using cable modems*. +- Recommendation ITU-T J.166 (2005), *IPCablecom Management Information Base (MIB) framework*. +- Recommendation ITU-T J.167 (2005), *Media terminal adapter (MTA) device provisioning requirements for the delivery of real-time services over cable television networks using cable modems*. +- Recommendation ITU-T X.509 (2000) | ISO/IEC 9594-8:2001, *Information technology – Open Systems Interconnection – The Directory: Public-key and attribute certificate frameworks*. +- Recommendation ITU-T X.690 (2002) | ISO/IEC 8825-1:2002, *Information technology – ASN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER)*. +- IETF RFC 1889 (1996), *RTP: A Transport Protocol for Real-Time Applications*. +- IETF RFC 1890 (1996), *RTP Profile for Audio and Video Conferences with Minimal Control*. +- IETF RFC 2104 (1997), *HMAC: Keyed-Hashing for Message Authentication*. +- IETF RFC 2246 (1999), *The TLS Protocol Version 1.0*. +- IETF RFC 2367 (1998), *PF\_KEY Key Management API, Version 2*. +- IETF RFC 2401 (1998), *Security Architecture for the Internet Protocol*. + +- IETF RFC 2403 (1998), *The Use of HMAC-MD5-96 within ESP and AH.* +- IETF RFC 2404 (1998), *The Use of HMAC-SHA-1-96 within ESP and AH.* +- IETF RFC 2406 (1998), *IP Encapsulating Security Payload (ESP).* +- IETF RFC 2407 (1998), *The Internet IP Security Domain of Interpretation for ISAKMP.* +- IETF RFC 2409 (1998), *The Internet Key Exchange (IKE).* +- IETF RFC 2437 (1998), *PKCS#1: RSA Cryptography Specification Version 2.0.* +- IETF RFC 2451 (1998), *The ESP CBC-Mode Cipher Algorithms.* +- IETF RFC 2459 (1999), *Internet X.509 Public Key Infrastructure Certificate and CRL Profile.* +- IETF RFC 2630 (1999), *Cryptographic Message Syntax.* +- IETF RFC 3261 (2002), *SIP: Session Initiation Protocol.* +- IETF RFC 3412 (2002), *Message Processing and Dispatching for the Simple Network Management Protocol (SNMP).* +- IETF RFC 3414 (2002), *User-based Security Model (USM) for Version 3 of the Simple Network Management Protocol (SNMPv3).* +- IETF RFC 4120 (2005), *The Kerberos Network Authentication Service (V5).* +- IETF RFC 4556 (2006), *Public Key Cryptography for Initial Authentication in Kerberos (PKINIT).* +- FIPS PUB 81 (1980), *DES Modes of Operation.* +- FIPS PUB 180-1 (1995), *Secure Hash Algorithm (SHS).* +- FIPS PUB 197 (2001), *Advanced Encryption Standard (AES).* + +## 2.2 Informative references + +- Recommendation ITU-T J.160 (2005), *Architectural framework for the delivery of time-critical services over cable television networks using cable modems.* +- Recommendation ITU-T J.161 (2001), *Audio codec requirements for the provision of bidirectional audio service over cable television networks using cable modems.* +- Recommendation ITU-T J.163 (2005), *Dynamic quality of service for the provision of real-time services over cable television networks using cable modems.* +- Recommendation ITU-T J.164 (2005), *Event message requirements for the support of real-time services over cable television networks using cable modems.* +- Recommendation ITU-T J.171.x (2005), *IPCablecom Trunking Gateway Control Protocol (TGCP).* +- Recommendation ITU-T J.175 (2002), *Audio server protocol.* +- Recommendation ITU-T J.178 (2005), *IPCablecom CMS to CMS signalling.* +- FIPS PUB 140-1 (1994), *Security Requirements for Cryptographic Modules.* +- IETF RFC 1750 (1994), *Randomness Recommendations for Security.* +- IETF RFC 2327 (1998), *SDP: Session Description Protocol.* +- IETF RFC 2782 (2000), *A DNS RR for specifying the location of services (DNS SRV).* + +- IETF RFC 3268 (2002), *Advanced Encryption Standard (AES) Ciphersuites for Transport Layer Security (TLS)*. +- HALEVI [S.], KRAWCZYK [H.]: MMH: Software Message Authentication in the Gbit/Second Rates, *Proceedings of the 4th Workshop on Fast Software Encryption*, Vol. 1267 Springer-Verlag, pp. 172-189, 1997. +- KILIAN [J.], ROGAWAY [P.]: How to Protect DES Against Exhaustive Key Search, *Edited version presented at Proceedings of Crypto '96*, July 1997. +- SCHNEIER [B.]: *Applied Cryptography*, John Wiley & Sons, Inc., Second edition, 1996. + +# 3 Terms and definitions + +This Recommendation defines the following terms: + +**3.1 access control:** Limiting the flow of information from the resources of a system only to authorized persons, programs, processes or other system resources on a network. + +**3.2 audio server:** An Audio Server plays informational announcements in IPCablecom network. Media announcements are needed for communications that do not complete and to provide enhanced information services to the user. The component parts of Audio Server services are Media Players and Media Player Controllers. + +**3.3 authentication:** The process of verifying the claimed identity of an entity to another entity. + +**3.4 authenticity:** The ability to ensure that the given information is without modification or forgery and was in fact produced by the entity that claims to have given the information. + +**3.5 authorization:** The act of giving access to a service or device if one has the permission to have the access. + +**3.6 cipher:** An algorithm that transforms data between plaintext and ciphertext. + +**3.7 ciphersuite:** A set, which must contain both an encryption algorithm and a message authentication algorithm (e.g., a MAC or an HMAC). In general, it may also contain a key management algorithm, which does not apply in the context of IPCablecom. + +**3.8 confidentiality:** A way to ensure that information is not disclosed to any one other than the intended parties. Information is encrypted to provide confidentiality. Also known as privacy. + +**3.9 cryptanalysis:** The process of recovering the plaintext of a message or the encryption key without access to the key. + +**3.10 downstream:** The direction from the head-end toward the subscriber location. + +**3.11 encryption:** A method used to translate information in plaintext into ciphertext. + +**3.12 endpoint:** A Terminal, Gateway or MCU. + +**3.13 event message:** Message capturing a single portion of a connection. + +**3.14 gateway:** Devices bridging between the IPCablecom Voice Communication world and the PSTN. Examples are the Media Gateway which provides the bearer circuit interfaces to the PSTN and transcodes the media stream, and the Signalling Gateway which sends and receives circuit switched network signalling to the edge of the IPCablecom network. + +**3.15 header:** Protocol control information located at the beginning of a protocol data unit. + +**3.16 integrity:** A way to ensure that information is not modified except by those who are authorized to do so. + +**3.17 Kerberos:** A secret-key network authentication protocol that uses a choice of cryptographic algorithms for encryption and a centralized key database for authentication. + +- 3.18 key:** A mathematical value input into the selected cryptographic algorithm. +- 3.19 key exchange:** The swapping of public keys between entities to be used to encrypt communication between the entities. +- 3.20 key management:** The process of distributing shared symmetric keys needed to run a security protocol. +- 3.21 non-repudiation:** The ability to prevent a sender from denying later that he or she sent a message or performed an action. +- 3.22 privacy:** A way to ensure that information is not disclosed to any one other than the intended parties. Information is usually encrypted to provide confidentiality. Also known as "confidentiality". +- 3.23 private key:** The key used in public key cryptography that belongs to an individual entity and must be kept secret. +- 3.24 proxy:** A facility that indirectly provides some service or acts as a representative in delivering information thereby eliminating the need for a host to support the service. +- 3.25 public key:** The key used in public key cryptography that belongs to an individual entity and is distributed publicly. Other entities use this key to encrypt data to be sent to the owner of the key. +- 3.26 public key certificate:** A binding between an entity's public key and one or more attributes relating to its identity, also known as a digital certificate. +- 3.27 public key cryptography:** A procedure that uses a pair of keys, a public key and a private key for encryption and decryption, also known as an asymmetric algorithm. A user's public key is publicly available for others to use to send a message to the owner of the key. A user's private key is kept secret and is the only key that can decrypt messages sent encrypted by the user's public key. +- 3.28 root private key:** The private signing key of the highest-level Certification Authority. It is normally used to sign public key certificates for lower-level Certification Authorities or other entities. +- 3.29 X.509 certificate:** A public key certificate specification developed as part of the ITU-T Rec. X.500 standards directory. + +# **4 Abbreviations, acronyms and conventions** + +## **4.1 Abbreviations and acronyms** + +This Recommendation uses the following abbreviations and acronyms: + +- | | | +|------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| AES | Advanced Encryption Standard | +| AH | Authentication Header is an IPsec security protocol that provides message integrity for complete IP packets, including the IP header. | +| ASD | Application-Specific Data. An application-specific field in the IPsec header that along with the destination IP address provides a unique number for each SA. | +| BPI+ | Baseline Privacy Interface Plus is the security portion of ITU-T Rec. J.112 that runs on the MAC layer. | +| CBC | Cipher-block Chaining mode is an option in block ciphers that combine (XOR) the previous block of ciphertext with the current block of plaintext before encrypting that block of the message. | + +| | | +|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| CA | Certification Authority. A trusted organization that accepts certificate applications from entities, authenticates applications, issues certificates and maintains status information about certificates. | +| CA | Call Agent. The part of the CMS that maintains the communication state, and controls the line side of the communication. | +| CM | Cable Modem | +| CMS | Cryptographic Message Syntax | +| CMS | Call Management Server. Controls the audio connections. Also called a Call Agent in MGCP/SGCP terminology. This is one example of an Application Server. | +| CMTS | Cable Modem Termination System | +| CNAME | Canonical Name | +| COPS | Common Open Policy Service | +| CRL | Certificate Revocation List | +| CSR | Customer Service Record | +| DES | Data Encryption Standard | +| DF | Delivery Function | +| DH | Diffie-Hellman | +| DHCP | Dynamic Host Configuration Protocol | +| DNS | Domain Name Server | +| DNS SRV | A DNS RR for specifying the location of services | +| DOCSIS | Data-Over-Cable Service Interface Specification | +| DQoS | Dynamic Quality of Service | +| DSCP | DiffServ Code Point. A field in every IP packet that identifies the DiffServ Per-Hop Behavior. In IP version 4, the TOS byte is redefined to be the DSCP. In IP version 6, the Traffic Class octet is used as the DSCP. See IETF RFC 4556. | +| DTMF | Dual-Tone Multifrequency (tones) | +| ESP | IPsec Encapsulating Security | +| FQDN | Fully Qualified Domain Name. Refer to IETF RFC 821 for details. | +| GW | Gateway | +| HFC | Hybrid-Fibre/Coax | +| HMAC | Hashed Message Authentication Code. A message authentication algorithm, based on either SHA-1 or MD5 hash and defined in IETF RFC 2104. | +| IKE | Internet Key Exchange is a key management mechanism used to negotiate and derive keys for SAs in IPsec. | +| IKE | A notation defined to refer to the use of IKE with pre-shared keys for authentication. | +| INA | Interactive Network Adapter | +| IPsec | Internet Protocol Security | +| ISAKMP | Internet Security Association and Key Management Protocol | +| ISTP | Internet Signalling Transport Protocol | + +| | | +|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| IVR | Interactive Voice Response | +| KDC | Key Distribution Centre | +| MAC | Message Authentication Code. A fixed-length data item that is sent together with a message to ensure integrity; also known as a MIC. | +| MAC | Media Access Control. It is a sublayer of the Data Link Layer. It normally runs directly over the physical layer. | +| MD5 | Message Digest 5 | +| MG | Media Gateway | +| MGC | Media Gateway Controller | +| MGCP | Media Gateway Control Protocol | +| MIB | Management Information Base | +| MMH | Multilinear Modular Hash | +| MSB | Most Significant Bit | +| MTA | Media Terminal Adapter | +| NCS | Network Call Signalling | +| NVRAM | Non-Volatile Random Access Memory | +| OID | Object Identification | +| OSS | Operations Support Systems. The back-office software used for configuration, performance, fault, accounting, and security management. | +| PKCS | Public Key Cryptography Standards | +| PKI | Public Key Infrastructure. A process for issuing public key certificates, which includes standards, Certification Authorities, communication between authorities and protocols for managing certification processes. | +| PKCROSS | Utilizes PKINIT for establishing the inter-realm keys and associated inter-realm policies to be applied in issuing cross-realm service tickets between realms and domains in support of Intradomain and Interdomain CMS-to-CMS signalling (CMSS). | +| PSTN | Public Switched Telephone Network | +| QoS | Quality of Service | +| RADIUS | Remote Authentication Dial-In User Service | +| RC4 | A variable key length stream cipher offered in the ciphersuite, used to encrypt the media traffic in IPCablecom. | +| RFI | Radio Frequency Interface | +| RKS | Record Keeping Server. The device which collects and correlates the various Event Messages. | +| RSIP | Realm Specific IP | +| RSVP | Resource Reservation Protocol | +| RTCP | Real-Time Control Protocol | +| RTO | Retransmission Timeout | +| RTP | Real-Time Protocol | + +| | | +|------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| SA | Security Association | +| SDP | Session Description Protocol | +| SG | Signalling Gateway. A SG is a signalling agent that receives/sends SCN native signalling at the edge of the IP network. In particular, the SS7 SG function translates variants ISUP and TCAP in an SS7-Internet Gateway to a common version of ISUP and TCAP. | +| SIP | Session Initiation Protocol. An application-layer control (signalling) protocol for creating, modifying, and terminating sessions with one or more participants. | +| SIP+ | Session Initiation Protocol Plus. An extension to SIP. | +| SNMP | Simple Network Management Protocol | +| SRV | Server | +| SS7 | Signalling System No. 7. An architecture and set of protocols for performing out-of-band call signalling with a telephone network. | +| SSL | Secure Sockets Layer | +| TCAP | Transaction Capabilities Application Protocol. A protocol within the SS7 stack that is used for performing remote database transactions with a Signalling Control Point. | +| TD | Timeout for Disconnect | +| TFTP | Trivial File Transfer Protocol | +| TGS | Ticket Granting Server. A sub-system of the KDC used to grant Kerberos tickets. | +| TLS | Transport Layer Security | +| UDP | User Datagram Protocol | +| UNI | User-Network Interface | +| VCI | Virtual Channel Identifier | +| VPI | Virtual Path Identifier | + +## 4.2 Conventions + +If this Recommendation is implemented, the keywords "MUST" and "SHALL" as well as "REQUIRED" are to be interpreted as indicating a mandatory aspect of this Recommendation. + +The keywords indicating a certain level of significance of a particular requirements that are used throughout this Recommendation are summarized below: + +"MUST" This word or the adjective "REQUIRED" means that the item is an absolute requirement of this Recommendation. + +"MUST NOT" This phrase means that the item is an absolute prohibition of this Recommendation. + +"SHOULD" This word or the adjective "RECOMMENDED" means that there may exist valid reasons in particular circumstances to ignore this item, but the full implications should be understood and the case carefully weighed before choosing a different course. + +"SHOULD NOT" This phrase means that there may exist valid reasons in particular circumstances when the listed behaviour is acceptable or even useful, but the full implications should be understood and the case carefully weighed before implementing any behaviour described with this label. + +"MAY" + +This word or the adjective "OPTIONAL" means that this item is truly optional. One vendor may choose to include the item because a particular marketplace requires it or because it enhances the product, for example; another vendor may omit the same item. + +# 5 Architectural overview of IPCablecom security + +## 5.1 IPCablecom reference architecture + +Security requirements have been defined for every signalling and media link within the IPCablecom network. In order to understand the security requirements and specifications for IPCablecom, one must first understand the overall architecture. This clause presents a brief overview of the IPCablecom architecture. For a more detailed specification, refer to the IPCablecom architecture Recommendation (ITU-T Rec. J.160). + +### 5.1.1 HFC network + +In Figure 1, the access network between the MTAs and the CMTS is an HFC network, which employs J.112/J.122 physical layer and MAC layer protocols. J.125 enhanced security (see 6.8) and QoS protocols are enabled over this link. + +![Figure 1 – IPCablecom single zone architecture diagram](bffdddb47fced140f8d17fdc2a29f592_img.jpg) + +The diagram illustrates the IPCablecom single zone architecture. At the center is a 'Managed IP backbone' represented by a large cloud. To the left, two 'Embedded MTA' units, each containing an 'MTA' and a 'Cable Modem', are connected to an 'HFC access network (J.112)', which in turn connects to an 'AN' (Access Network) node. Both 'AN' nodes are connected to the central 'Managed IP backbone'. Above the backbone is a 'Call Management Server'. To the right of the backbone, a stack of three 'Media Servers' is connected, with labels for 'Announcement servers', 'Conference mixing bridges', and 'J.170\_F01'. Below the media servers, a dashed box contains three stacked components: 'Media Gateway', 'Media Gateway Controller', and 'Signalling Gateway'. This entire stack is connected to the 'Managed IP backbone' and also to a 'PSTN' cloud on the far right. Below the dashed box is an 'OSS Back-office' unit, which is also connected to the 'Managed IP backbone' and has labels for 'Billing', 'Provisioning', 'Problem resolution', 'DHCP servers', and 'TFTP servers'. + +Figure 1 – IPCablecom single zone architecture diagram + +Figure 1 – IPCablecom single zone architecture + +### 5.1.2 Call Management Server + +In the context of voice communications applications, a central component of the system is the Call Management Server (CMS). It is involved in both call signalling and the establishment of Dynamic Quality of Service (DQoS). The CMS also performs queries at the PSTN Gateway for LNP (Local Number Portability) and other services necessary for voice communications, including interfacing with the PSTN. + +As described in the IPCablecom Architecture Framework, the CMS is divided into the following functional components: + +- Call Agent (CA) – The Call Agent maintains network intelligence and call state and controls the media gateway. Most of the time Call Agent is synonymous for Call Management Server. +- Gate Controller (GC) – The Gate Controller is a logical QoS management component that is typically part of the CMS. The GC coordinates all quality of service authorization and control on behalf of the application service – e.g., voice communications. +- Media Player Controller (MPC) – The MPC initiates and manages all announcement services provided by the Media Player. The MPC accepts requests from the CMS and arranges for the MP to provide the announcement in the appropriate stream so that the user hears the announcement. +- Media Gateway Controller (MGC) – The Media Gateway Controller maintains the gateway's portion of call state for communications traversing the Gateway. + +A particular CMS can contain any subset of the above listed functional components. + +### 5.1.3 Functional categories + +The IPCablecom Architecture Framework identifies the following functional categories within the architecture: + +- MTA device provisioning; +- quality of Service (HFC access network and managed IP Backbone); +- billing interface security; +- security (specified herein); +- network call signalling (NCS); +- PSTN interconnectivity; +- CODEC functionality and media stream mapping; +- Audio Server services; +- electronic surveillance (DF interfaces). + +In most cases, each functional category corresponds to a particular IPCablecom Recommendation. + +#### 5.1.3.1 Device and service provisioning + +During MTA provisioning, the MTA gets its configuration with the help of the DHCP and TFTP servers, as well as the OSS. + +Provisioning interfaces need to be secured and have to configure the MTA with the appropriate security parameters (e.g., customer X.509 certificate signed by the Service Provider). This Recommendation specifies the steps in MTA provisioning, but provides detailed specifications only for the security parameters. Refer to ITU-T Rec. J.167 for a full specification on MTA provisioning and customer enrolment. + +#### 5.1.3.2 Dynamic Quality of Service + +IPCablecom provides guaranteed Quality of Service (QoS) for each voice communication within a single zone with Dynamic QoS (ITU-T Rec. J.163). + +DQoS is controlled by the Gate Controller function within the CMS and can guarantee Quality of Service within a single administrative domain. The Gate Controller utilizes the Common Open Policy Service (COPS) protocol to download QoS policy into the CMTS. After that, the QoS reservation is established via J.112/J.122 QoS messaging between the MTA and the CMTS on both sides of the connection. + +#### 5.1.3.3 Billing system interfaces + +The CMS, CMTS and the PSTN Gateway are all required to send out billing event messages to the Record Keeping Server (RKS). This interface is specified to be RADIUS. Billing information should be checked for integrity and authenticity as well as kept private. This Recommendation defines security requirements and specifications for the communication with RKS. + +#### 5.1.3.4 Call signalling + +The call signalling architecture defined within IPCablecom is network-based call signalling (NCS) per ITU-T Rec. J.162. The CMS is used to control call set-up, termination and most other call signalling functions. In the NCS architecture, the Call Agent function within the CMS is used in call signalling and utilizes the MGCP protocol. + +#### 5.1.3.5 PSTN interconnectivity + +The PSTN interface to the voice communications capabilities of the IPCablecom network is through the Signalling and Media Gateways (SG and MG). Both of these gateways are controlled with the MGC (Media Gateway Controller). The MGC may be standalone or combined with a CMS. For further detail on PSTN Gateways, refer to ITU-T Rec. J.171.x-series. + +All communications between the MGC and the SG and MG may be over the same-shared IP network and is subject to similar threats (e.g., privacy, masquerade, denial-of-service) that are encountered in other links in the same network. This Recommendation defines the security requirements and specifications for the PSTN Gateway links. + +When communications from an MTA to a PSTN phone are made, bearer channel traffic is passed directly between an MTA and an MG. The protocols used in this case are RTP and RTCP, as in the MTA-to-MTA case. Both security requirements and specifications are very similar to the MTA-to-MTA bearer requirements and are fully defined in this Recommendation. After a voice communication enters the PSTN, the security requirements as well as specifications are the responsibility of the PSTN. + +#### 5.1.3.6 CODEC functionality and media stream mapping + +The media stream between two MTAs or between an MTA and a PSTN Gateway utilizes the RTP protocol. Although ITU-T J.125 provides for privacy over the HFC network, the potential threats within the rest of the voice communications network require that the RTP packets be encrypted end-to-end1. + +In addition to RTP, there is an accompanying RTCP protocol, primarily used for reporting of RTCP statistics. In addition, RTCP packets may carry CNAME – a unique identifier of the sender of RTP packets. RTCP also defines a BYE message2 that can be used to terminate an RTP session. These two additional RTCP functions raise privacy and denial-of-service threats. Due to these threats, RTCP security requirements are the same as the requirements for all other end-to-end (SIP+) signalling and are addressed in the same manner. + +--- + +1 In general, it is possible for an MTA-to-MTA or MTA-to-PSTN connection to cross the networks of several different Service Providers. In the process, this path may cross a PSTN network. This is an exception to the rule, where all RTP packets are encrypted end-to-end. The media traffic inside a PSTN network does not utilize RTP and has its own security requirements. Thus, in this case the encryption would not be end-to-end and would terminate at the PSTN Gateway on both sides of the intermediate PSTN network. + +2 The RTCP BYE message should not be confused with the SIP+ BYE message that is also used to indicate the end of a voice communication within the network. + +In addition to MTAs and PSTN Gateways, Media Servers may also participate in the media stream flows. Media Servers are network-based components that operate on media flows to support various voice communications service options. Media Servers perform audio bridging, play terminating announcements, provide interactive voice response services, and so on. Both media stream and signalling interfaces to a Media Server are the same as the interfaces to an MTA. For more information on Codec functionality, see ITU-T Rec. J.161. + +#### **5.1.3.7 Audio Server services** + +Audio Server interfaces provide a suite of signalling protocols for providing announcement and audio services in an IPCablecom network. + +##### **5.1.3.7.1 Media Player Controller (MPC)** + +The Media Player Controller (MPC) initiates and manages all announcement services provided by the Media Player. The MPC accepts requests from the CMS and arranges for the MP to provide the announcement in the appropriate stream so that the user hears the announcement. The MPC also serves as the termination for certain calls routed to it for IVR services. When the MP collects information from the end-user, the MPC is responsible for interpreting this information and managing the IVR session accordingly. The MPC manages call state. + +##### **5.1.3.7.2 Media Player (MP)** + +The Media Player (MP) is a media resource server. It is responsible for receiving and interpreting commands from the MPC and for delivering the appropriate announcement(s) to the MTA. The MP provides the media stream with the announcement contents. The MP also is responsible for accepting and reporting user inputs (e.g., DTMF tones). The MP functions under the control of the MPC. + +#### **5.1.3.8 Electronic surveillance** + +The event interface between the CMS and the DF provides descriptions of calls, necessary to perform wiretapping. This information includes the media stream encryption key and the corresponding encryption algorithm. This event interface uses RADIUS and is similar to the CMS-RKS interface. + +The COPS interface between the CMS and the CMTS is used to signal the CMTS to start/stop duplicating media packets to the DF for a particular call. This is the same COPS interface that is used for (DQoS) Gate Authorization messages. + +## 5.2 Threats + +Figure 2 contains the interfaces that were analysed for security. + +![Figure 2 – IPCablecom secured interfaces. A network diagram showing various nodes and their interfaces. Nodes include TFTP server, OSS / Prov server, MSO KDC, Telephony KDC, EBP, MPC, MTA, CMS, MP, RKS, CMTS, DF, Remote MTA, CM, MG, and MGC. Interfaces are labeled with packet types such as TFTP, SNMP, PKINIT, NCS, RADIUS*, RTP, RTCP, DOCSIS 1.1, TGCP, and CMSS.](2b3a967f6ce4f23649be995a353e39f8_img.jpg) + +``` + +graph TD + TFTP_server((TFTP server)) -- "pkt-s1: TFTP" --> OSS_Prov_server((OSS / Prov server)) + OSS_Prov_server -- "pkt-s26: MTA FQDN" --> MSO_KDC((MSO KDC)) + OSS_Prov_server -- "pkt-s0: SNMP" --> MTA((MTA)) + OSS_Prov_server -- "pkt-s12: PKINIT" --> Telephony_KDC((Telephony KDC)) + OSS_Prov_server -- "pkt-s13: PKINIT" --> CMS((CMS)) + Telephony_KDC -- "pkt-s27: HTTP" --> CMS + EBP1((EBP)) -- "pkt-s16: CMSS" --> EBP2((EBP)) + EBP2 -- "pkt-s16: CMSS" --> CMS2((CMS)) + CMS2 -- "pkt-s16: CMSS" --> DF2((DF)) + DF2 -- "pkt-s24: RADIUS*" --> DF1((DF)) + DF1 -- "pkt-s23: RADIUS*" --> MGC((MGC)) + MGC -- "pkt-s10: TGCP" --> MG((MG)) + MG -- "pkt-s32: DOCSIS 1.1" --> CM((CM)) + CM -- "pkt-s25: RADIUS*" --> CMTS((CMTS)) + CMTS -- "pkt-s22: RADIUS*" --> DF + DF -- "pkt-s21: RADIUS*" --> CMS + CMS -- "pkt-s16: CMSS" --> CMS2 + CMS -- "pkt-s6: RADIUS*" --> RKS((RKS)) + RKS -- "pkt-s7: RADIUS*" --> CMTS + RKS -- "pkt-s8: CORP" --> CMS + MTA -- "pkt-s5: NCS" --> CMS + MTA -- "pkt-s1: TFTP" --> TFTP_server + MTA -- "pkt-s20: ASP" --> MPC((MPC)) + MTA -- "pkt-s3: RTP" --> Remote_MTA((Remote MTA)) + MTA -- "pkt-s4: RTCP" --> Remote_MTA + MTA -- "pkt-s3: RTP" --> MP((MP)) + MTA -- "pkt-s4: RTCP" --> MP + MTA -- "pkt-s25: RADIUS*" --> CMTS + +``` + +Figure 2 – IPCablecom secured interfaces. A network diagram showing various nodes and their interfaces. Nodes include TFTP server, OSS / Prov server, MSO KDC, Telephony KDC, EBP, MPC, MTA, CMS, MP, RKS, CMTS, DF, Remote MTA, CM, MG, and MGC. Interfaces are labeled with packet types such as TFTP, SNMP, PKINIT, NCS, RADIUS\*, RTP, RTCP, DOCSIS 1.1, TGCP, and CMSS. + +Figure 2 – IPCablecom secured interfaces + +There are additional interfaces identified in IPCablecom but for which protocols are not specified. In those cases, the corresponding security protocols are also not specified, and those interfaces are not listed in Figure 2. + +As well, the interfaces for which security is not required in IPCablecom are not listed. + +The following clause summarizes general threats and the corresponding attacks that are relevant in the context of IP voice communications. This list of threats is not based on the knowledge of the specific protocols or security mechanisms employed in the network. A more specific summary of threats that are based on the functionality of each network element is listed in 5.2.6. + +Some of the outlined threats cannot be addressed purely by cryptographic means – physical security and/or fraud management should also be used. These threats may be important, but cannot be fully addressed within the scope of IPCablecom. How vendors and cable operators implement fraud management and physical security will differ and in this case a standard is not required for interoperability. + +### **5.2.1 Theft of network services** + +In the context of voice communications, the main services that may be stolen are: + +- long-distance service; +- local (subscription) voice communications service; +- video conferencing; +- network-based three-way calling; +- Quality of Service. + +#### **5.2.1.1 MTA clones** + +One or more MTAs can masquerade as another MTA by duplicating its permanent identity and keys. The secret cryptographic keys may be obtained by either breaking the physical security of the MTA or by employing cryptanalysis. + +When an MTA is broken into, the perpetrator can steal voice communications service and charge it all to the original owner. The feasibility of such an attack depends on where an MTA is located. This attack must be seriously considered in the cases when an MTA is located in an office or apartment building, or on a street corner. + +An owner might break into his or her own MTA in at least one instance – after a false account with the cable operator providing the voice communications service had been set up. The customer name, address, and Social Security number may all be invalid or belong to someone else. The provided credit card number may be stolen. In that case, the owner of the MTA would not mind giving out the MTA cryptographic identity to others – he or she would not have to pay for service anyway. + +In addition to cloning of the permanent cryptographic keys, temporary (usually symmetric) keys may also be cloned. Such an attack is more complex, since the temporary keys expire more often and have to be frequently redistributed. The only reason why someone would attempt this attack is if the permanent cryptographic keys are protected much better than the temporary ones, or if the temporary keys are particularly easy to steal or discover with cryptanalysis. + +#### **5.2.1.2 Other clones** + +It is conceivable that the cryptographic identity of another network element, such as a CMTS or a CMS, may be cloned. Such an attack is most likely to be mounted by an insider such as a corrupt or disgruntled employee. + +#### **5.2.1.3 Subscription fraud** + +A customer sets up an account under false information. + +#### **5.2.1.4 Non-payment for voice communications services** + +A customer stops paying his or her bill, but continues to use the MTA for voice communications service. This can happen if the network does not have an automated method to revoke the customer's access to the network. + +#### **5.2.1.5 Protocol attacks against an MTA** + +A weakness in the protocol can be manipulated to allow an MTA to authenticate to a network server with a false identity or hijack an existing voice communication. This includes replay and man-in-the-middle attacks. + +#### **5.2.1.6 Protocol attacks against other network elements** + +A perpetrator might employ similar protocol attacks to masquerade as a different network element, such as a CMTS or a CMS. Such an attack may be used in collaboration with cooperating MTAs to steal service. + +#### **5.2.1.7 Theft of services provided by the MTA** + +Services such as the support for multiple MTA ports, 3-way calling and call waiting may be implemented entirely in the MTA, without any required interaction with the network. + +##### **5.2.1.7.1 Attacks** + +MTA code to support these services may be downloaded illegally by an MTA clone, in which case the clone has to interact with the network to get the download. In that case, this threat is no different from the network service theft described in the previous clause. + +Alternatively, downloading an illegal code image using some illegal out-of-band means can also enable these services. Such service theft is much harder to prevent (a secure software environment within the MTA may be required). On the other hand, in order for an adversary to go through this trouble, the price for these MTA-based services has to make the theft worthwhile. + +An implication of this threat is that valuable services cannot be implemented entirely inside the MTA without a secure software environment in addition to tamper-proof protection for the cryptographic keys. (While a secure software environment within an MTA adds significant complexity, it is an achievable task.) + +#### **5.2.1.8 MTA moved to another network** + +A leased MTA may be reconfigured and registered with another network, contrary to the intent and property rights of the leasing company. + +### **5.2.2 Bearer channel information threats** + +This class of threats is concerned with the breaking of privacy of voice communications over the IP bearer channel. Threats against non-VoIP communications are not considered here and assumed to require additional security at the application layer. + +#### **5.2.2.1 Attacks** + +Clones of MTAs and other network elements, as well as protocol manipulation attacks, also apply in the case of bearer channel information threats. These attacks are already described under the Service Theft threats. + +MTA cloning attacks mounted by the actual owner of the MTA are less likely in this case, but not inconceivable. An owner of an MTA may distribute clones to unsuspecting victims, so that he or she can later spy on them. + +##### **5.2.2.1.1 Off-line cryptanalysis** + +Bearer channel information may be recorded and then analysed over a period of time, until the encryption keys are discovered through cryptanalysis. The discovered information may be of value even after a relatively long time has passed. + +### **5.2.3 Signalling channel information threats** + +Signalling information, such as the caller identity and the services to which each customer subscribes, may be collected for marketing purposes. The caller identity may also be used illegally to locate a customer that wishes to keep his or her location private. + +#### **5.2.3.1 Attacks** + +Clones of MTAs and other network elements, as well as protocol manipulation attacks, also apply in the case of the signalling channel information threats. These attacks are already described in the clause on Service Theft threats. + +MTA cloning attacks mounted by the actual owner of the MTA is theoretically possible in this case. An owner of an MTA may distribute clones to the unsuspecting victims, so that he or she can monitor their signalling messages (e.g., for information with marketing value). The potential benefits of such an attack seem unjustified, however. + +##### **5.2.3.1.1 Caller ID** + +A number of a party initiating a voice communication is revealed, even though a number is not generally available (i.e., is "unlisted") and the owner of that number enabled ID blocking. + +##### **5.2.3.1.2 Information with marketing value** + +Dialled numbers and the type of service customers use may be gathered for marketing purposes by other corporations. + +### **5.2.4 Service disruption threats** + +This class of threats is aimed at disrupting the normal operation of voice communications. The motives for denial-of-service attacks may be malicious intent against a particular individual or against the service provider; or, perhaps a competitor wishes to degrade the performance of another service provider and use the resulting problems in an advertising campaign. + +#### **5.2.4.1 Attacks** + +##### **5.2.4.1.1 Remote interference** + +A perpetrator is able to manipulate the protocol to close down ongoing voice communications. This might be achieved by masquerading as an MTA involved in such an ongoing communication. The same effect may be achieved if the perpetrator impersonates another network element, such as a gate controller or an edge router during either call set-up or voice packet routing. + +Depending on the signalling protocol security, it might be possible for the perpetrator to mount this attack from the MTA, in the privacy of his or her own home. + +Clones of MTAs and other network elements, as well as protocol manipulation attacks, also apply in the case of the service disruption threats. These attacks are described under Service Theft threats. + +MTA cloning attacks mounted by the actual owner of the MTA can theoretically be used in service disruption against unsuspecting clone owners. However, since there are so many other ways to cause service disruption, such an attack cannot be taken seriously in this context. + +### 5.2.5 Repudiation + +In a network where masquerading (using the above-mentioned cloning and protocol manipulation techniques) is common or easily achievable, a customer may repudiate a particular communication (and, thus deny responsibility for paying for it) on that basis. + +In addition, unless public key-based digital signatures are employed on each message, the source of each message cannot be absolutely proven. If a signature over a message that originated at an MTA is based on a symmetric key that is shared between that MTA and a network server (e.g., the CMS), it is unclear if the owner of the MTA can claim that the service provider somehow falsified the message. + +However, even if each message were to carry a public key-based digital signature and if each MTA were to employ stringent physical security, the customer can still claim in court that someone else initiated that communication without his or her knowledge, just as a customer of a telecommunications carrier on the PSTN can claim, e.g., that particular long distance calls made from the customer's telephone were not authorized by the customer. Such telecommunications carriers commonly address this situation by establishing contractual and/or tariffed relationships with customers in which customers assume liability for unauthorized use of the customer's service. These same contractual principles are typically implemented in service contracts between information services providers such as ISPs and their subscribers. For these reasons, the benefits of non-repudiation seem dubious at best and do not appear to justify the performance penalty of carrying a public key-based digital signature on every message. + +### 5.2.6 Threat summary + +This clause provides a summary of the above threats and attacks and a brief assessment of their relative importance. + +#### 5.2.6.1 Primary threats + +– **Theft of Service:** Attacks are: + +- **Subscription fraud:** This attack is prevalent in today's telephony systems (i.e., the PSTN) and requires little economic investment. It can only be addressed with a Fraud Management system. +- **Non-payment for services:** Within the PSTN, telecommunications carriers usually do not prosecute the offenders, but simply shut down their accounts. Because prosecution is expensive and not always successful, it is a poor counter to this attack. Methods such as debit-based billing and device authorization (pay as you play), increasingly common in the wireless sector of the PSTN, might be a possible solution for this attack in the IPCablecom context. This threat can also be minimized with effective Fraud Management systems. +- **MTA clones:** This threat requires more technical knowledge than the previous two threats. A technically-knowledgeable adversary or underground organization might offer cloning services for profit. This threat is most effective when combined with subscription fraud, where an MTA registered under a fraudulent account is cloned. This threat can be addressed with both Fraud Management and physical security inside the MTA, or a combination of both. +- **Impersonation of a network server:** With proper cryptographic mechanisms, authorization and procedural security in place, this attack is unlikely, but has the potential for great damage. +- **Protocol manipulation:** Can occur only when security protocols are flawed or when not enough cryptographic strength is in place. + +- **Bearer Channel Information Disclosure:** Attacks are: + - Simple snooping: This would happen if voice packets were sent in the clear over some segment of the network. Even if that segment appears to be protected, an insider may still compromise it. This is the only major attack on privacy. The bearer channel privacy attacks listed below are possible but are all of secondary importance. + - MTA clones: Again, this threat requires more technical knowledge but can be offered as a service by an underground organization. A most likely variation of this attack is when a publicly accessible MTA (e.g., in an office or apartment building) is cloned. + - Protocol manipulation: A flawed protocol may somehow be exploited to discover bearer channel encryption keys. + - Off-line cryptanalysis: Even when media packets are protected with encryption, they can be stored and analysed for long periods of time, until the decryption key is finally discovered. Such an attack is not likely to be prevalent, since it is justified only for particularly valuable customer-provided information (IPCablecom security is not required to protect data). This attack is more difficult to perform on voice packets (as opposed to data). Still, customers are very sensitive to this threat and it can serve as the basis for a negative publicity campaign by competitors. +- **Signalling Information Disclosure:** This threat is listed as primary only due to potential for bad publicity and customer sensitivity to keeping their numbers and location private. All of the attacks listed below are similar to those for bearer channel privacy and are not described here: + - Simple snooping; + - MTA clones; + - Protocol manipulation; + - Off-line cryptanalysis; + - Service disruption. + +#### 5.2.6.2 Secondary threats + +- **Theft of MTA-based services:** Based on the voice communications services that are planned for the near future, this threat does not appear to have potential for significant economic damage. This could possibly change with the introduction of new value-added services in the future. +- **Illegally registering a leased MTA with a different Service Provider:** Leased MTAs can normally be tracked. Most likely, this threat is combined with the actual theft of a leased MTA. Thus, this threat does not appear to have potential for widespread damage. + +## 5.3 Security architecture + +### 5.3.1 Overview of security interfaces + +Figure 3 summarizes all of the IPCablecom security interfaces, including key management. + +![A complex network diagram showing security interfaces between various components like TFTP server, MPC, MP, Remote MTA, MG, CM, MTA, OSS/Prov server, MSO KDC, Telephony KDC, EBP, CMS, RKS, CMTS, DF, and MGC. Each interface is labeled with a packet type (e.g., pkt-s1, pkt-s2) and security protocols (e.g., TFTP, Hash & Encryption, Kerberos, PKINIT, NCS, RADIUS, COPS, DOCSIS 1.1, TGCP).](26d664119ad25250780f554633444e54_img.jpg) + +The diagram illustrates the security architecture and interfaces for IPCablecom. It features a central **MTA** connected to various external and internal components. The interfaces are defined by packet types and associated security protocols: + +- MTA to TFTP server:** pkt-s1: TFTP (Hash & Encryption) +- MTA to OSS/Prov server:** pkt-s26: MTA FQDN (Kerberos), pkt-s12: PKINIT (Issue Kerberos tickets) +- MTA to MSO KDC:** pkt-s13: PKINIT (Issue Kerberos tickets) +- MTA to Telephony KDC:** pkt-s27: HTTP (IPsec/IKE/Kerb) +- MTA to EBP (top right):** pkt-s16: CMSS (TLS) +- MTA to CMS (middle right):** pkt-s16: CMSS (TLS) +- MTA to RKS:** pkt-s5: NCS (IPsec/Kerberos + PKINIT), pkt-s6: RADIUS\* (IPsec/IKE/Kerb) +- MTA to CMTS:** pkt-s25: RADIUS\* (IPsec/IKE/Kerb), pkt-s7: RADIUS\*\* (IPsec/IKE/Kerb), pkt-s8: COPS (IPsec/IKE/Kerb) +- MTA to DF (bottom right):** pkt-s21: RADIUS\* (IPsec/IKE/Kerb) +- MTA to MGC:** pkt-s10: TGCP (IPsec/IKE/Kerb) +- MTA to CM:** pkt-s2: DOCSIS 1.1 (BPI+ BPIKM) +- MTA to MG:** pkt-s3: RTP (Cipher + HMAC/CMS-based KM), pkt-s4: RTCP (Cipher + HMAC/CMS-based KM), pkt-s3: RTP (Cipher + HMAC/CMS-based KM), pkt-s4: RTCP (Cipher + HMAC/CMS-based KM) +- MTA to Remote MTA:** pkt-s3: RTP (Cipher + HMAC/CMS-based KM), pkt-s4: RTCP (Cipher + HMAC/CMS-based KM) +- MTA to MP:** pkt-s20: ASP +- MTA to MPC:** pkt-s1: TFTP (Hash & Encryption), pkt-s9: SNMP (SNMPv3 Security) +- CMS to EBP (bottom right):** pkt-s16: CMSS (TLS) +- CMS to CMS (bottom right):** pkt-s16: CMSS (TLS) +- CMS to DF:** pkt-s24: RADIUS\* (IPsec/IKE+) +- DF to DF (bottom right):** pkt-s23: RADIUS\* (IPsec/IKE/Kerb) + +J.170\_F03 + +A complex network diagram showing security interfaces between various components like TFTP server, MPC, MP, Remote MTA, MG, CM, MTA, OSS/Prov server, MSO KDC, Telephony KDC, EBP, CMS, RKS, CMTS, DF, and MGC. Each interface is labeled with a packet type (e.g., pkt-s1, pkt-s2) and security protocols (e.g., TFTP, Hash & Encryption, Kerberos, PKINIT, NCS, RADIUS, COPS, DOCSIS 1.1, TGCP). + +Figure 3 – IPCablecom security interfaces with key management + +In Figure 3, each interface label is of the form: + +**