|
TECHNICAL SPECIFICATION
Digital Video Broadcasting (DVB);
Second Generation Common Interface (CI);
Implementation Using the Universal Serial Bus (USB)
---------------------- Page: 1 ----------------------
2 ETSI TS 103 605 V1.1.1 (2018-10)
Reference
DTS/JTC-DVB-380
Keywords
CI Plus, DVB
ETSI
650 Route des Lucioles
F-06921 Sophia Antipolis Cedex - FRANCE
Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16
Siret N° 348 623 562 00017 - NAF 742 C
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88
Important notice
The present document can be downloaded from:
The present document may be made available in electronic versions and/or in print. The content of any electronic and/or
print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any
existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the
print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat.
Users of the present document should be aware that the document may be subject to revision or change of status.
Information on the current status of this and other ETSI documents is available at
If you find errors in the present document, please send your comment to one of the following services:
Copyright Notification
No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying
and microfilm except as authorized by written permission of ETSI.
The content of the PDF version shall not be modified without the written authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.
© ETSI 2018.
© European Broadcasting Union 2018.
All rights reserved.
TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are trademarks of ETSI registered for the benefit of its Members.
TM TM
3GPP and LTE are trademarks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
oneM2M™ logo is a trademark of ETSI registered for the benefit of its Members and
of the oneM2M Partners
GSM and the GSM logo are trademarks registered and owned by the GSM Association.
ETSI
---------------------- Page: 2 ----------------------
3 ETSI TS 103 605 V1.1.1 (2018-10)
Contents
Intellectual Property Rights . 5
Foreword . 5
Modal verbs terminology . 5
Introduction . 6
1 Scope . 8
2 References . 8
2.1 Normative references . 8
2.2 Informative references . 9
3 Definition of terms and abbreviations . 9
3.1 Terms . 9
3.2 Abbreviations . 10
4 Mechanical and electrical characteristics . 10
4.1 Mechanical characteristics. 10
4.1.1 Connector . 10
4.1.2 Mechanical properties . 10
4.2 Electrical characteristics . 11
5 Module discovery and capabilities description . 11
5.1 General . 11
6 Command interface . 14
6.1 Command endpoints . 14
6.2 Command data encapsulation . 14
6.2.1 USB transfer format . 14
6.2.2 Example single transfer of 3 300 bytes over 512 byte endpoint (informative) . 14
6.3 Modification to resources and APDU . 15
6.3.1 Introduction. 15
6.3.2 Application information . 15
6.3.2.1 request_ci_cam_reset APDU . 15
6.3.2.2 data_rate_info APDU . 15
6.3.3 Low Speed communication . 15
6.3.4 CAM upgrade . 15
6.3.4.1 cam_firmware_upgrade_complete APDU . 15
7 Media interface . 15
7.1 Introduction . 15
7.2 Media endpoints . 16
7.3 Use of USB3.1 bulk streams . 16
7.4 MPEG TS content encapsulation . 16
7.4.1 Mapping MPEG TS packets to fragments . 16
7.4.2 Protection of MPEG TS content from CICAM to Host . 17
7.5 Sample content encapsulation . 17
7.5.1 Mapping samples to fragments . 17
7.5.2 Protection of sample content from CICAM to Host . 18
7.5.2.1 Content encryption . 18
7.5.2.2 Native CI Plus 2.0 Encryption. 19
7.5.2.3 CI Plus1.4 Compatible Encryption . 19
7.6 Encapsulation rules. 20
7.7 Fragment header . 21
7.7.1 Syntax . 21
7.7.2 Fragment header descriptors . 23
7.7.2.1 General . 23
7.7.2.2 CI Plus initialization vector descriptor . 23
7.7.2.3 CI Plus key identifier descriptor . 23
7.7.3 Fragment header fields usage (informative) . 23
ETSI
---------------------- Page: 3 ----------------------
4 ETSI TS 103 605 V1.1.1 (2018-10)
8 Networking Interface (NI) . 24
8.1 Introduction . 24
8.2 Descriptors . 25
8.3 USB Control requests . 25
8.4 Content on the bulk endpoints . 26
8.5 CICAM access to network services . 26
8.5.1 IPv4 services . 26
8.5.2 IPv6 services . 26
8.5.3 Security and Privacy . 26
Annex A (informative): Adapter for first generation CICAMs . 27
A.1 Introduction . 27
A.2 Adaptation of the command interface . 27
A.3 Adaptation of the Transport Stream interface . 27
Annex B (informative): Providing connectivity with a bridge . 29
B.1 Configuration . 29
B.2 IGMP snooping description. 30
Annex C (informative): Change History . 31
History . 32
ETSI
---------------------- Page: 4 ----------------------
5 ETSI TS 103 605 V1.1.1 (2018-10)
Intellectual Property Rights
Essential patents
IPRs essential or potentially essential to normative deliverables may have been declared to ETSI. The information
pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found
in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in
respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web
server (https://ipr.etsi.org/).
Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee
can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web
server) which are, or may be, or may become, essential to the present document.
Trademarks
The present document may include trademarks and/or tradenames which are asserted and/or registered by their owners.
ETSI claims no ownership of these except for any which are indicated as being the property of ETSI, and conveys no
right to use or reproduce any trademark and/or tradename. Mention of those trademarks in the present document does
not constitute an endorsement by ETSI of products, services or organizations associated with those trademarks.
Foreword
This Technical Specification (TS) has been produced by Joint Technical Committee (JTC) Broadcast of the European
Broadcasting Union (EBU), Comité Européen de Normalisation ELECtrotechnique (CENELEC) and the European
Telecommunications Standards Institute (ETSI).
NOTE: The EBU/ETSI JTC Broadcast was established in 1990 to co-ordinate the drafting of standards in the
specific field of broadcasting and related fields. Since 1995 the JTC Broadcast became a tripartite body
by including in the Memorandum of Understanding also CENELEC, which is responsible for the
standardization of radio and television receivers. The EBU is a professional association of broadcasting
organizations whose work includes the co-ordination of its members' activities in the technical, legal,
programme-making and programme-exchange domains. The EBU has active members in about 60
countries in the European broadcasting area; its headquarters is in Geneva.
European Broadcasting Union
CH-1218 GRAND SACONNEX (Geneva) Switzerland
Tel: +41 22 717 21 11
Fax: +41 22 717 24 81
The Digital Video Broadcasting Project (DVB) is an industry-led consortium of broadcasters, manufacturers, network
operators, software developers, regulatory bodies, content owners and others committed to designing global standards
for the delivery of digital television and data services. DVB fosters market driven solutions that meet the needs and
economic circumstances of broadcast industry stakeholders and consumers. DVB standards cover all aspects of digital
television from transmission through interfacing, conditional access and interactivity for digital video, audio and data.
The consortium came together in 1993 to provide global standardization, interoperability and future proof
specifications.
Modal verbs terminology
In the present document "shall", "shall not", "should", "should not", "may", "need not", "will", "will not", "can" and
"cannot" are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of
provisions).
"must" and "must not" are NOT allowed in ETSI deliverables except when used in direct citation.
ETSI
---------------------- Page: 5 ----------------------
6 ETSI TS 103 605 V1.1.1 (2018-10)
Introduction
The DVB Common Interface (DVB-CI) specifications CENELEC EN 50221 [1] and ETSI TS 101 699 [2] describe a
system whereby a removable Conditional Access CICAM, given the appropriate rights, unscrambles protected content
and routes it back to the Host over the same interface. These DVB Common Interface specifications were extended by
the CI Plus specification [3], developed by CI Plus™ LLP, which provides common methods (i.e. methods that are
independent of the up-stream CA system) for mutual authentication of the CICAM and Host, and link encryption over
the return interface from the CICAM to the Host. The first generation Common Interface connector was an industry
standard PCMCIA slot. The connector for the second generation Common Interface as described in the present
document is an industry standard USB Standard-A connector USB 2.0 [5] and USB 3.2 [6].
The first generation DVB-CI system defined two interfaces between the CICAM and the Host: a command interface,
and a Transport Stream interface.
Figure 1: Transport Stream interface layers
Figure 2: Command Interface layers
The USB makes use of so-called endpoints for all data transfers. Generally, these endpoints are uni-directional (i.e. they
can either send or receive data, but not both). The only exception is the special, bi-directional endpoint zero which is
used for discovery and control of USB devices. As shown in figure 3, the present document makes use of USB endpoint
zero and of six further USB endpoints in each device. Since USB endpoints are implemented in the hardware of USB
chipsets, they are a scarce resource and keeping their number to a minimum is important.
ETSI
---------------------- Page: 6 ----------------------
7 ETSI TS 103 605 V1.1.1 (2018-10)
Figure 3: USB endpoints used by the second generation Common Interface
ETSI
---------------------- Page: 7 ----------------------
8 ETSI TS 103 605 V1.1.1 (2018-10)
1 Scope
The present document defines USB physical, link and transport layers for the DVB Common Interface to replace the PC
Card interface defined in CENELEC EN 50221 [1]. The present document also profiles and extends the application
layer defined in CENELEC EN 50221 [1], ETSI TS 101 699 [2] and CI Plus specification [3] to cater for the use over
USB.
2 References
2.1 Normative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
Referenced documents which are not found to be publicly available in the expected location might be found at
https://docbox.etsi.org/Reference/.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are necessary for the application of the present document.
[1] CENELEC EN 50221: "Common Interface Specification for Conditional Access and other Digital
Video Broadcasting Decoder Applications".
[2] ETSI TS 101 699: "Digital Video Broadcasting (DVB); Extensions to the Common Interface
Specification".
[3] CI Plus™ specification v1.3.2: "Content Security Extensions to the Common Interface".
NOTE: Available from http://www.ci-plus.com/data/ci-plus_specification_v1.3.1.pdfhttp://www.ci-
plus.com/data/ci-plus_specification_v1.3.2.pdf.
TM
[4] ETSI TS 103 205: "Digital Video Broadcasting (DVB); Extensions to the CI Plus
Specification".
[5] Universal Serial Bus Specification, Revision 2.0.
NOTE: Available from https://www.usb.org/sites/default/files/documents/usb_20_20180904.zip.
[6] Universal Serial Bus 3.2 Specification.
NOTE: Available from https://www.usb.org/sites/default/files/documents/usb_32_20180912.zip.
[7] Universal Serial Bus Class Definitions for Communications Devices, Revision 1.2.
[8] Universal Serial Bus Communications Class, Subclass Specification for Ethernet Emulation Model
Devices, Revision 1.0.
[9] ISO/IEC 23001-7: "Information technology -- MPEG systems technologies -- Part 7: Common
encryption in ISO base media file format files".
ETSI
---------------------- Page: 8 ----------------------
9 ETSI TS 103 605 V1.1.1 (2018-10)
2.2 Informative references
References are either specific (identified by date of publication and/or edition number or version number) or
non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the
referenced document (including any amendments) applies.
NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee
their long term validity.
The following referenced documents are not necessary for the application of the present document but they assist the
user with regard to a particular subject area.
[i.1] IEEE Registration Authority: "MAC Address Block Large (MA-L)".
NOTE: Available from http://standards.ieee.org/develop/regauth/oui/index.html.
[i.2] IEEE Std 802.1D-2004™: "IEEE Standard for Local and metropolitan area networks. Media
Access Control (MAC) Bridges".
[i.3] IETF RFC 4541: "Considerations for Internet Group Management Protocol (IGMP) and Multicast
Listener Discovery (MLD) Snooping Switches".
[i.4] Universal Serial Bus Class Codes Registry.
NOTE: The registry can be consulted on-line at https://usb.org/defined-class-codes.
3 Definition of terms and abbreviations
3.1 Terms
For the purposes of the present document, the terms given in CENELEC EN 50221 [1], ETSI TS 101 699 [2], CI Plus™
specification v1.3.2 [3], ETSI TS 103 205 [4] and the following apply:
cipher block size: size of the unit of operation of a block-based cipher algorithm
DVB-CI command interface: interface used to transfer commands and metadata between the Host and the CICAM
DVB-CI media interface: interface used to transfer media content between Host and CICAM
NOTE: This includes broadcast video and broadband video.
fragment: sequence of bytes transferred on the Media Interface that belong to Media Content and is preceded by a
Fragment Header
subsample: block of clear data bytes followed by a block of encrypted data bytes
NOTE: Either one or the other block may be of zero size, but not both.
transfer: sequence of USB packets where all of them contain the maximum size for the endpoint except the last one
which is either short or zero-length, as defined in clause 5.8.3 of Universal Serial Bus Specification, Revision 2.0 [2]
USB CDC EEM networking interface: interface used to transfer Ethernet datagrams between the Host and the
CICAM
NOTE: The Host provides network connectivity on this interface. This interface is defined Universal Serial Bus
Class Definitions for Communications Devices, Revision 1.2 [7] and Universal Serial Bus
Communications Class, Subclass Specification for Ethernet Emulation Model Devices, Revision 1.0 [8].
USB control: interface defined by Universal Serial Bus Specification, Revision 2.0 [5] to set-up and control the
configuration of the device
ETSI
---------------------- Page: 9 ----------------------
10 ETSI TS 103 605 V1.1.1 (2018-10)
3.2 Abbreviations
For the purposes of the present document, the abbreviations given in CENELEC EN 50221 [1], ETSI TS 101 699 [2],
CI Plus™ specification v1.3.2 [3], ETSI TS 103 205 [4] and the following apply:
CENC Common ENCryption scheme
NOTE: See ISO/IEC 23001-7 [9].
MPEG Moving Pictures Expert Group
4 Mechanical and electrical characteristics
4.1 Mechanical characteristics
4.1.1 Connector
The CICAM shall have a USB 2.0 Standard-A plug as defined in clause 6.5.4 of USB 2.0 [5], or a USB 3.1 Standard-A
plug as defined in clause 5.3.1 of USB 3.2 [6].
NOTE: The compatibility between USB 2.0 and USB 3.1 plugs and receptacles is described in clause 5.2.1 of
USB 3.2 [6].
Since the Standard-A is the most widespread USB connector type, and as it is interoperable between all versions of
USB up to and including 3.1 (the latest version as of this writing), it is expected that future versions of USB retain
interoperability with this connector type.
4.1.2 Mechanical properties
To be able to be plugged directly into a Host, a CICAM shall not exceed the size limits defined in table 1. These limits
do not include the USB Standard-A plug [5] and USB 3.2 [6]. If a CICAM is designed to not be directly plugged into a
Host (e.g. by using a flying lead), it may exceed these size limits. A Host shall provide at least one USB Standard-A
receptacle with appropriate spacing to accommodate a CICAM up to the size limits given in table 1. The USB Standard-
A plug [5] and USB 3.2 [6] shall be located as shown in figure 4. The plug shall be centred relative to dimension W.
Table 1: CICAM size limits
Dimension W D L A
Limit 22 mm 12 mm 70 mm <= 1.75 mm
ETSI
---------------------- Page: 10 ----------------------
11 ETSI TS 103 605 V1.1.1 (2018-10)
Figure 4: Application of CICAM size limits
NOTE: Specification for flying lead can be found in USB 2.0 [5], clause 6.3 and following and in USB 3.2 [6],
clause 5.4 and following.
4.2 Electrical characteristics
The CICAM shall work within the electrical characteristics defined in USB 2.0 [5] or USB 3.2 [6].
A Host which implements one or more USB 2.0 slots with the mechanical characteristics defined in clause 4.1.2, shall
allow for high-power bus-powered functions as defined in clause 7.2.1 of USB 2.0 [5] on these ports.
NOTE 1: Such devices draw no more than 100 mA upon power-up and may draw up to 500 mA after being
configured.
A Host which implements one or more USB 3.1 slots with the mechanical characteristics defined in clause 4.1.2, shall
allow for high-power bus-powered functions as defined in clause 11.4.1 of USB 3.2 [6] on these ports.
NOTE 2: The amount of current draw for Enhanced SuperSpeed devices is increased to 150 mA for low-power
devices and 900 mA for high-power devices when operating at Gen X speed.
5 Module discovery and capabilities description
5.1 General
For describing the CICAM during bus enumeration, the following rules shall apply:
a) In the device descriptor, the CICAM shall report a device Class code of 0xEF, SubClass 0x02, and
DeviceProtocol 0x01 to indicate a multi-interface function class, for which the information is given in the
Interface Association Descriptor.
b) In each configuration offered by the CICAM which support DVB-CI function, there shall be exactly one
Interface Association Descriptor (IAD) for the DVB-CI function.
NOTE: This does not preclude the presence of further IADs for other functions the device may be offering such
as for example mass storage.
ETSI
---------------------- Page: 11 ----------------------
12 ETSI TS 103 605 V1.1.1 (2018-10)
c) In the Interface Association Descriptor for the DVB-CI function, the CICAM shall report a Class code of 0xEF
(miscellaneous class), and SubClass code of 0x07. The CICAM shall report a Protocol code of 0x01 on the
Command interface and 0x02 on the Media interface. The Function string shall be set to "DVB Common
Interface".
d) In the Interface Descriptor for the Command Interface (see clause 6) referenced by the IAD for the DVB-CI
function, the CICAM shall report a Class code of 0xEF (Miscellaneous device class), and the SubClass and
Protocol codes assigned to DVB Common Interface by the USB-IF [i.4] for this interface. The Interface string
shall be set to "DVB-CI Command Interface".
e) If the CICAM implements the Media Interface (see clause 7), the CICAM shall report a Class code of 0xEF
(Miscellaneous device class), and the SubClass and Protocol codes assigned to DVB Common Interface by the
USB-IF [i.4] in the corresponding Interface Descriptor referenced by the IAD for the DVB-CI function. The
Interface string shall be set to "DVB-CI Media Interface".
f) If the CICAM implements the Networking Interfaces (see clause 8), the CICAM shall report the Class,
SubClass, and Protocol codes assigned to USB CDC EEM [8] in the corresponding Interface Descriptors
referenced by the IAD for the DVB-CI function.
ETSI
---------------------- Page: 12 ----------------------
13 ETSI TS 103 605 V1.1.1 (2018-10)
Legend:
Standard Class Specific
bDeviceClass = 0xEF (Miscellaneous) bFunctionClass = 0xEF (Miscellaneous)
Descriptor (CS) Descriptor
Device
bDeviceSubClass = 0x
...