802.1 AVB Support for Coordinated Shared Network I 802.1 AV WG Nov 07 Philippe Klein (philippe@broadcom.com) avb-phkl_avb_support_sn_1107-v4.pdf
Coordinated Shared Network Time domain multiple access (TDMA) network Coordinated contention free media access controlled by a single elected or designated network controller (NC) Interface for priority (& parameterized) QoS CSN is the trend of the more recent (OFDM based) home networks : Moca (coax) Homeplug (powerline) UWB, 802.15 (wireless) HCCA 802.11 I 802.1 AVB 2
Shared Network Support in Current Draft I 802.1 AVB I 802.1as includes the current 802.11 AP/STA topology similar * to the shared network topology if a single node only is connected to a bridge [*] SN supports node-to-node connections while 802.1 does not support STA-STA connections (if Direct Link Protocol is not supported) Bridge Bridge AP SN node 802.11 STA STA ndpoint SN node ndpoint SN node I 802.1 AVB 3
Shared Network Backbone Support in I 802.1 AVB Current draft model does not support SN backbone connecting multiple bridges No support in the current I 802.1 AVB standard for AVB to AVB SN link However, an 801.11 STA / Bridge discussion has being initiated in the joint AVB and Video Transport TG. Bridge Bridge AP SN node 802.11 STA/Bridge STA SN node SN node Bridge Bridge I 802.1 AVB 4
AVB Support for Coordinated Shared Network Proposal: AVB Standard layer interface for any Coordinated Shared Network (CSN) MoCA HomePlug Future 802.11 with STA-Bridge support AVB Coordinated Shared Network AVB AVB NC NC = Network Controller I 802.1 AVB 5
MoCA Network Characteristics MULTIMDIA over COAX ALLIANC 802.3 Link emulation over coax Bridge 802.3 packets over coax medium Synchronized access network Network access is controlled by an single (self-selected or preferred) Network Coordinator (NC) Clock Services NC periodically broadcasts clock references to all the nodes Nodes maintain a local timer, resynchronized by the NC clock references Max permissible jitter defined by the specs 802.3 802.3 MoCA NC node MoCA node MoCA node MoCA node 802.3 802.3 coax I 802.1 AVB 6
Topology Option #1 CSN Adapter () is a 802.3 / CSN bridge BRIDG B2B Interface B2B Interface BRIDG Bridge #1 Bridge #2 Bridge #3 Bridge #4 B2B Interface BRIDG Bridge #5 Bridge #6 PRO CONS Natural decomposition Cascaded bridges Bridge 2 Bridge interface is well defined Implementing a full bridge HW/SW functionality might be too expensive for low end adapters I 802.1 AVB 7
Topology Option #2 CSN Adapter emulates links ( is seen as a PHY) BRIDG Bridge #1 Bridge #2 BRIDG 802.3 Link mulation Bridge #3 BRIDG PRO CONS Cheaper implementation Transparent to AVB Transparent to AVB (LLDP & RSP messages should be spoofed & modified) SNA inner queue latencies SN link latencies might change over time No Bridge interface to export / import CSN characteristics / policies for 802.1Qav I 802.1 AVB 8
Ingress / gress Queue Latencies Sub-layer interface IBQ BQ IAQ AQs CSN BQ IBQ AQ IAQ 802.3 AVB CSN Adapter IBQ-BQ latencies and policies are covered by I 802.1Qav s S&F inner queues cannot be transparent to AVB: IAQ-AQ max latencies should be queried and accounted for by the AVB IAQ-AQ policies should be exported by the AVB Could be done thru a AVB standardized sub-layer interface I 802.1 AVB 9
AVB Messages CSN Handling Messages 802.1 ab Link Layer Discovery Protocol Msgs 802.1 at Stream Reservation Protocol Msgs 802.1 as Clock Synchronization Msgs Spoofed and broadcasted by CSN Spoofed & intercepted by CSN Boundary Clock or Transparent Clock CSN Handling LLDP queries messages broadcasted to every s LLDP responses forwarded over the CSN Similar to non AVB intermediate bridge Request are transparently forwarded from SN edge to edge Responses are intercepted and eventually modified (if i.e. the SN capabilities are lower than the 802.3 capability for this link) SN Native Sync handling I 802.1 AVB 10
AVB LLDP Messages Broadcasting CSN 2 802.3 AVB2 802.3 AVB1 1 broadcasted LLDP 802.3 port 802.3 port LLDP LLDP LLDP LLDP broadcasted 3 LLDP 802.3 AVB3 802.3 port LLDP messages are encapsulated in CSN containers and broadcasted over the CSN network 802.3 AVB port supposedly connected to a (P2P FD) 802.3 link now could receive LLDP message from multiple links. I 802.1 AVB 11
AVB SRP Messages Interception AVB1 1 CSN 2 AVB2 SRP Req SRP Req forwarding SRP Req NC intercepted SRP Rsp CSN Rsv Req CSN Rsv Rsp SRP Rsp SRP Rsp Upd modified Available bandwidth of the SN link might be lower that the bandwidth reservation acknowledged by AVB2 AVB reservation responses should be demoted by the SN do we need feedback msg to AVB2 to update AVB2? I 802.1 AVB 12
SN 802.1as Clock Model TC AVB Model #1 AVB TC CSN OC SBC AVB Model #2 AVB S-BC CSN OC = Ordinary Clock OC S-BC = Simple Boundary Clock TC = Transparent Clock I 802.1 AVB 13
SN AVB Timing Services AVB Timing Services If the CSN clock is accurate enough, the 802.1as CSN media dependant part could be provided by the CSN time services: NC s master clock periodically broadcasted to all s s local timer synchronized on NC s master clock references Time-stamped Txm frames AVB CSN Timing SAP: Sync, Follow_Up, Pdelay_Req, Pdelay_Resp, Pdelay_Resp_Follow_Up I 802.1 AVB 14
Link Delay SAP AVB Pdelay_Req T 1 t 1 Pdelay_Resp t 2 T 2 Pdelay_FU (t 1,t 2 ) LinkDelay* = ( (T 2 -T 1 ) - (t 2 -t 1 ) ) / 2 * In most cases, will be co-located on the AVB board and LinkDelay should be neglectable I 802.1 AVB 15
CSN Propagation Delay Measurement between 2 s a CSN b a CSN b ta 1 CSN Pd_Request() [ta 1 ] ta 1 CSN Pd_Request() tb 1 tb 1 ta 2 CSN Pd_Resp(tb 1 ) [tb 2 ] tb 2 ta 2 CSN Pd_Resp(tb 1 ) CSN Pd_Resp_FU(tb 2 ) tb 2 w/i Txm packet timestamps w/o Txm packet timestamps CSN_PropagationDelay = ( (ta 2 -ta 1 ) - (tb 2 -tb 1 ) ) / 2 [t] Tx Packet Header s Timestamp (t) API Parameters I 802.1 AVB 16
Transparent Clock Sync SAP AVB a Sync () a CSN b ld a pd a-b ld b FRC ta FRC tb T 1 ta 1 AVB b Sync_FU (T 1 ) GT ta1 = T 1 + ld a CSN Sync () ta 2 GT ta2 = GT ta1 + T(ta 2 -ta 1 ) tb 1 CSN Sync_FU (GT ta2 ) GT tb1 = GT ta2 + pd a-b tb 2 Sync () GT tb2 = GT tb1 + T(tb 2 -tb 1 ) GT = AVB Grand Time FRC = free running clock ld = AVB - SNA link delay tx i = free running clock time pd = SN propagation delay Sync_FU (GT tb2 ) I 802.1 AVB 17
Boundary Clock Sync SAP AVB a a CSN b CSN-LC ta CSN Master Clock CSNC Sync CSNC Sync CSN-LC tb AVB b ld a pd a-b ld b Sync () T 1 ta 1 Sync_FU (T 1 ) GT ta1 = T 1 + ld a t = GT ta1 ta 1 ~ ~ CSN GT Sync ( t ) tb 1 ~ ~ Sync () GT tb1 = tb 1 + t Sync_FU (GT tb1 ) GT = AVB Grand Time CSN-LC = CSN Local Clock ld = AVB - link delay tx i = CSN Local Clock time pd = CSN propagation delay I 802.1 AVB 18
Call to Action I 802.1 AVB 19
Thank you