IEEE 802.1BA AVB: the first TSN profile
The TSN posts so far describe tools. A real network does not use every tool: it uses the subset that its application needs, configured in a particular way. IEEE 802.1 writes such subsets down as profiles. Audio Video Bridging (AVB), specified in IEEE 802.1BA, was the first.
Abbreviations used in this post (7)
| Abbreviation | Stands for | Meaning |
|---|---|---|
| AVB | Audio Video Bridging | The predecessor of TSN: gPTP, the credit-based shaper and stream reservation, combined for audio and video (profile: IEEE 802.1BA). |
| gPTP | generalized Precision Time Protocol | The profile of PTP defined by IEEE 802.1AS, in which every bridge takes part in time distribution. |
| IEC | International Electrotechnical Commission | The international standards body for electrical and electronic technologies; co-owner of IEC/IEEE 60802. |
| IEEE | Institute of Electrical and Electronics Engineers | The professional association whose Standards Association publishes the IEEE 802 LAN/MAN standards. |
| PCP | Priority Code Point | The 3-bit priority field of the 802.1Q tag (priorities 0 to 7). |
| SRP | Stream Reservation Protocol | IEEE 802.1Qat: distributed admission control in which talkers advertise streams and listeners subscribe, reserving resources hop by hop. |
| TSN | Time-Sensitive Networking | The set of IEEE 802.1 standards that give Ethernet bounded latency, time synchronisation and high reliability. |
1. What a profile is
IEEE 802.1 writes two kinds of standards [1][2]:
- base standards and their amendments define features and protocols for many use cases, so they contain required functions ("shall") and optional ones ("may");
- profiles serve one use case. A profile selects features, options, configurations, defaults, protocols and procedures from the base standards.
A profile can make an optional function mandatory, but it cannot make a required function optional, and it cannot define new features or protocols. When a profile finds a gap, the group starts an amendment to the base standard instead [1][2]. The TSN profiles are 802.1BA (AVB), 802.1CM (fronthaul), IEC/IEEE 60802 (industrial automation) and 802.1DG (automotive), with a profile for service provider networks (802.1DF) also in progress [2].
2. Where AVB came from
AVB started as an IEEE 802.3 study group called "Residential Ethernet", aiming at low-cost, plug-and-play, low-latency audio and video transport. The work moved to IEEE 802.1, where the AVB task group was formed [1]. That group later became the TSN task group, when it was clear that more use cases needed the same tools [1][3].

Three markets were targeted: residential, professional audio and video, and automotive [1]. For a network of 7 hops (6 bridge spans) on Fast Ethernet, the goals were [1]:
| Goal | Target |
|---|---|
| Synchronous playback | Within 1 µs between any two nodes |
| Class A ("real-time") | 2 ms from source to destination, so that a musician hears the playback of their own performance in real time; all links Ethernet |
| Class B ("playback") | 50 ms, for example for wireless speakers; up to two Wi-Fi hops allowed |
| Coexistence | No drops for AVB flows while they share the wires with best-effort traffic |
Larger networks degrade these targets gracefully, and faster links reduce latency or allow more hops [1].

3. How AVB meets its goals
Synchronised playback
Every node shares a common time, distributed by gPTP (802.1AS). gPTP is a "ruler", not the media clock. IEEE 1722 carries audio samples or video pixels together with presentation timestamps in gPTP time. Each listener rebuilds its media clock from those timestamps, so all listeners play at the same instant, whatever their distance from the source [1].

gPTP finds the best clock source automatically, builds the clock tree, and corrects for frequency errors in software, so cheap crystals suffice. It was modelled at 40 ns timestamp resolution over 7 hops of Fast Ethernet; Gigabit links usually reach 8 ns [1].
No drops while sharing the wire
Three base standards combine [1]:
- Strict priorities. AVB class A and class B traffic use priority code points 3 and 2, mapped to the two highest traffic classes; gPTP travels as network management traffic just below them.
- Stream reservation (SRP, 802.1Qat). Congestion causes almost all frame drops on Ethernet. SRP admits AVB streams only up to 75 % of each link and reserves bridge memory for them. A request that does not fit is refused, like a busy signal.
- Credit-based shaper (802.1Qav). A 20 Mb/s stream is still sent as back-to-back bursts at link speed. When bursts from several ports overlap on one output, buffers overflow even though the average fits. The shaper spreads each class over time.

Plug and play
gPTP and SRP configure themselves, but SRP must still be told which talker to connect to which listener. IEEE 1722.1, ATDECC, completes the system with discovery, enumeration, connection management and control of AVB devices [1].
4. The base standards of AVB

| Standard | Role in AVB |
|---|---|
| IEEE 802.1AS | Timing and synchronisation (gPTP) |
| IEEE 802.1Qav | Credit-based shaper |
| IEEE 802.1Qat | Stream Reservation Protocol |
| IEEE 1722 | Audio Video Transport Protocol (not an 802.1 standard, but necessary) |
| IEEE 1722.1 | Discovery, enumeration, connection management and control (needed for plug and play) |
The profile itself, IEEE 802.1BA, was first published in 2011 and revised as 802.1BA-2021 [1][4].
5. What came after
The webinar on AVB lists how the tools grew after the profile [1]:
- Redundancy: for time in 802.1AS-2020, and for streams in 802.1CB.
- Engineered networks: 802.1AS-2020 was extended for networks that are designed rather than plug-and-play.
- Configured reservations: 802.1Qcc allows reservations stored in configuration, without running the reservation protocol.
- Policing and security: 802.1Qci adds policing, and 802.1 security standards have been enhanced.
- Transport and control: IEEE 1722-2016 adds control formats, and IEEE 1722.1-2021 updates discovery and control.
For analysis, the AVB targets are early examples of the kind of guarantee this series formalises. The 2 ms class A bound is a worst case over a fixed hop count. Network calculus for TSN shapers shows how such a bound is derived for the credit-based shaper.
References
- D. Pannell, "An Introduction to AVB (Audio Video Bridging), the 1st TSN Profile," IEEE SA TSN webinar series, June 2022, slides 9–30. Slides
- D. Pannell, "Status & Content of the IEEE TSN Auto Profile," IEEE Ethernet & IP @ Automotive Technology Day, September 2020, slide 5. Slides
- J. Farkas, "Introduction to IEEE 802.1: Focus on the Time-Sensitive Networking Task Group," 15 May 2017, slides 23–24. Slides
- IEEE, IEEE 802.1BA, Audio Video Bridging (AVB) Systems. IEEE SA, IEEE 802.1 page