Skip to content
Wireshark Wiki 中文翻译整理专题首页原始页面

演进型通用公共无线电接口 (eCPRI)

evolved Common Public Radio Interface (eCPRI) 是一种将用于 fronthaul transport network 的协议。它将被包含在标准 Ethernet frames 和 UDP frames 中。eCPRI Specification V1.2 中有 8 种 Message Types 需要解码。

数据包格式

| eCPRI Common Header | eCPRI Payload

| eCPRI Protocol Revision | Reserved | C | eCPRI Message Type | eCPRI Payload Size

| 4 Bit | 3 Bit | 1 Bit | 8 Bit = 1 Byte | 16 Bit = 2 Bytes | 0 - 65535 Bytes

eCPRI Header fields

eCPRI Protocol Revision field

可用的 revision 值:

| 0x1 | 应遵循 specification V1.0 | | 0x2-0xF | 为未来保留;临时为 vendor specific |

Reserved field

Reserved field 应填充为 000b。

C field

C field 表示 concatenation。

  • 如果 C = 0,则这是 eCPRI PDU 内的最后一个 eCPRI Message。
  • 如果 C = 1,则同一 PDU 内还有另一个 eCPRI Message。两个 message 之间是 padding bits (0-3)。新的 message 从 4-Byte 边界开始。

eCPRI Message Type field

共有 255 种 Message Types。0 - 7 在 Specification 中定义,8 - 63 为保留,64 - 255 为 vendor specific。

| Message Type | Name | 0x00 | IQ Data | 0x01 | Bit Sequence | 0x02 | Real-Time Control Data | 0x03 | Generic Data Transfer | 0x04 | Remote Memory Access | 0x05 | One-way Delay Measurement | 0x06 | Remote Reset | 0x07 | Event Indication | 0x08 - 0x3F | Reserved | 0x40 - 0xFF | Vendor Specific

eCPRI Payload Size field

它是后续 payload 的大小。eCPRI Payload 不包含任何 padding bytes。最大 payload size 为 65535,但会受到传输网络的限制,例如 Ethernet。

eCPRI Payload field

eCPRI Payload field 取决于所使用的 message type。更多信息请参见 Specification。

历史

它始于 CPRI,随着 5G 即将到来,需要一种新的协议。

  • 2017 年 8 月发布了 eCPRI Specification V1.0。
  • 2018 年 1 月发布了 eCPRI Specification V1.1。
  • 2018 年 6 月发布了 eCPRI Specification V1.2(最新版本)。

你可以在这里找到最新版本

协议依赖

  • Ethernet:eCPRI 使用 Ethertype 0xAEFE 的 Ethernet

  • UDP:eCPRI 使用 UDP 作为其传输协议

示例流量

该示例显示了 Wireshark 中 Message Type 5 的 eCPRI tree。

evolved Common Public Radio Interface eCPRI Common Header: 0x1005002a 0001 .... = Protocol Revision: 1 .... 000. = Reserved: 0 .... ...0 = C-Bit: 0 Message Type: One-Way Delay Measurement (0x05) Payload Size: 42 eCPRI Payload: 11:00:00:00:45:b1:11:49:1c:41:78:f4:00:00:00:00:… Measurement ID: 0x11 Action Type: Request (0x00) Time Stamp: 00:00:45:b1:11:49:1c:41:78:f4 Seconds: 1169232201s Nanoseconds: 474052852ns Compensation Value: 12025856 = 183.500000ns User Data: dd:dd:dd:dd:dd:dd:dd:dd:dd:dd:dd:dd:dd:dd:dd:dd:…

Wireshark

eCPRI dissector 位于 Development Release 3.1.0 中,并且对最新的数据包格式功能完整。

首选项设置

(XXX 添加影响 PROTO 剖析方式的首选项设置链接)。

示例捕获文件

  • SampleCaptures/ecpri.pcap

显示过滤器

eCPRI 显示过滤器字段的完整列表可以在显示过滤器参考中找到

仅显示基于 eCPRI 的流量:

 ecpri

仅显示 Message Type 为 0x00 (IQ Data) 的 eCPRI-messages:

 ecpri.type == 0x00

捕获过滤器

仅捕获基于 eCPRI 的流量:

 ecpri

外部链接

  • eCPRIeCPRI Specification V1.2

讨论

Imported from https://wiki.wireshark.org/eCPRI on 2020-08-11 23:13:43 UTC

相关 Wireshark Wiki 页面

网络分析技术档案