STANAG 5066 is a NATO specification for running data applications over HF Radio. STANAG 5066 operates over an HF modem, and provides an interface for data applications to use and share an HF modem. It provides core data link services to enable applications to operate efficiently over HF radio, and specifies a protocol that enables a clean separation between applications and modem/radio level. This paper describes STANAG 5066, and shows why it is key to deploying applications over HF Radio.


What is STANAG 5066?

STANAG 5066 "TECHINCAL STANDARDS FOR HF RADIO LINK AYER AND APPLICATION SUPPORT PROTOCOLS" is a NATO specification to enable applications to communicate efficiently over HF Radio. STANAG 5066 provides peer protocols that operate above an HF Modem and below the application level. STANAG 5066 includes the (mandatory) SIS (Subnet Interface Service) Access Protocol that enables an application to connect to an HF Modem through a STANAG 5066 server over TCP/IP. This enables a clean separation between application and modem.

The diagram above shows a configuration of three sites communicating by HF Radio, using STANAG 5066 to provide end to end communication between a set of applications.

The site shown in detail illustrates how STANAG 5066 fits with applications and hardware. It comprises:

  • An HF Radio, which is an analogue device.
  • An HF Modem, which converts from analogue to digital.
  • Encryption (optional). Data Encryption will generally be used with HF Radio, and this will be achieved by an encryption unit (COMSEC) that sits between the HF Modem and STANAG 5066 Server.
  • A STANAG 5066 server. There will be one STANAG 5066 server associated with the modem. The STANAG 5066 Servers communicate with each other over the HF Modem, using protocols specified by STANAG 5066.
  • One or more data applications communicating with the STANAG 5066 server using the SIS protocol.

On a small system, the STANAG 5066 server and applications may run on the same hardware and connect locally. For a larger deployment, applications may be running on separate computers and connecting over a LAN.

The SIS protocol provides a clean separation between the radio subsystem (Radio/Modem/Encryption/STANAG 5066 Server) and the applications that can interface to this subsystem using the SIS protocol.

You can evaluate our STANAG 5066 server, fill in our contact form and let us know your requirements. We will contact you to arrange an evaluation.

Why STANAG 5066 is needed

It is useful to consider the key characteristics of HF Radio, which is sufficiently different to other systems that it becomes imperative to use a specially designed protocol. Key characteristics are:

  1. Low bandwidth. HF Radio is slow, with bandwidth ranging from 75 to 9600 bits per second, with a typical rate of 1200 bits per second.
  2. Noise. HF transmission is subject to varying levels and types of noise and interference.
  3. Variable bandwidth. A modern modem/radio system will respond to varying signal/noise ratio by adopting appropriate waveforms and forward error correction. This will result in varying bandwidth for the system using the modem.
  4. Simplex mode. An HF radio cannot detect incoming signals when it transmits, and so is not even half duplex. If more than one radio transmits at once, nothing gets through and none of the transmitting radios can detect the problem.
  5. Broadcast. HF Radio is a broadcast medium, and it is important to enable applications to use this in order to provide broadcast and multicast services.
  6. Receive only. Some military applications need to work where a radio is in EMCON (Emission Control) and not sending data.
  7. Long turnaround time. Turnaround time is the time taken for one radio to stop sending, and another radio to start. This can vary from a few seconds to a few tens of seconds. Interleaving is a technique commonly used to reduce the impact of burst noise, and this substantially increases turnaround time. To optimize throughput, a radio needs to transmit for a reasonably long period and then allow other radios to transmit. To get reasonable utilization of the bandwidth, the transmit time needs to be quite a lot longer than the turnaround time.
  8. Interface. An HF modem provides a quite basic interface; essentially send OR receive data.

This combination of requirements is quite unlike any other communications medium, and special protocols are needed to efficiently transmit data over HF.

The basic problems of HF apply at lower frequencies (LF and VLF), but at higher frequencies (VHF and above) support of data applications becomes much more straightforward and does not require a special protocol like STANAG 5066, although use of STANAG 5066 at these higher frequencies can still give performance advantages.

Unit Data: The Primary Application Service

STANAG 5066 provides a number of services to applications over the SIS protocol. The central service is called "Unit Data", where the application sends (or receives) a block of data, typically up to around 2 kBytes. There are two basic variants of Unit Data:

  1. Unreliable. Here the data is sent out, without any form of acknowledgement. This is used for broadcasting (i.e., to two or more remote radios) and for sending data to single stations in EMCON.
  2. Reliable. This is used for sending data to a single radio that is not in EMCON mode, and provides guaranteed delivery. Optional services associated with Reliable Unit Data are:
    • Acknowledgement of Unit Data delivery to the sending application.
    • Delivery of (multiple) Unit Data blocks to the receiving application in the order they were sent.

The Unit Data service provides a number of things to the application:

  1. Multiplexing. It enables multiple applications to send and receive data at the same time.
  2. Flow Control. The STANAG 5066 server will provide flow control to the application, to control the amount of queued data that builds up.
  3. Precedence handling. Each Unit Data has a precedence value (Routine; Priority; Immediate; Flash) and higher precedence data is sent first. This is a vital feature for military applications.

Unit Data gives a simple building block that can be used by a wide variety of applications, and is the key capability provided by STANAG 5066 to applications using it.

Notes on How STANAG 5066 Works

STANAG 5066 is a complex and sophisticated specification. This section does not attempt to fully explain how it works, but describes a few key features to help better understand its value.

The operation of a STANAG 5066 server completely decouples control of the modem and sending/receiving data from the application communicating using the SIS protocol. This decoupling is a key feature and benefit of STANAG 5066.

STANAG 5066 controls which radio is transmitting and seeks to organize data to minimize the number of turnarounds. Where the maximum transmit time (127 seconds) can be used, this will give reasonable link utilization, for normal turnaround times.

At the modem level, STANAG 5066 uses packets (DPDUs) of a size appropriate to the modem speed. At 1200 bits/second 128 bytes will be used, which is much less than the typical Unit Data. Benefits of using smaller DPDUs include:

  • Acknowledgement is done for each DPDU, so if data loss occurs when transmitting a DPDU, only that DPDU (and not the whole Unit Data) need to be retransmitted.
  • When higher precedence Unit Data arrives it is sent for transmission by a STANAG 5066 server, sending can begin after transmission of the current DPDU (i.e., there is no need to wait for the full Unit Data transmission).

Acknowledgements, often referred to as ARQ (Acknowledgement ReQuest), are used for Reliable Unit Data and are made for each DPDU. In order to minimize the number of turnarounds, sending of acknowledgements is delayed. A typical sequence with two radios might be:

  1. Radio 1 transmits to Radio 2 for 127 seconds; it sends a number of DPDUs.
  2. Radio 2 transmits to Radio 1 for 127 seconds; it sends acknowledgments for the DPDUs received from Radio 1; then it sends some DPDUs.
  3. Radio 1 transmits to Radio 2 for 127 seconds; it sends acknowledgements for the DPDUs received from Radio 2; then it works out which DPDUs failed to transmit last time and resends them; then it sends more DPDUs.

As you can see this sequence makes efficient use of the link by minimizing turnarounds. You can also see that in the event of retransmissions, that there can be considerable delays in data getting through. These delays could be reduced, but at the cost of less efficient link utilization.

STANAG 5066 provides a number of management features, and one of the most interesting is remote modem control. The optimum modem parameters (e.g., Waveform choice; Forward Error Correction; and Interleaver) are best determined by the receiving system, based on signal/noise ratio. STANAG 5066 allows the receiving system to use this information to control the sending modem.

STANAG 5066 Editions 1, 2, 3 and 4

There are four published editions of STANAG 5066. The SIS protocol is the same for each edition, so that any can be used with a STANAG 5066 enabled application.

Edition 1, and Edition 2 radios do not attempt to transmit when it is known that another radio is transmitting. When there is silence, if two radios start transmitting together, they conflict with each other and all data is lost. This causes problems when there are more than a few radios and/or traffic is high.

Edition 3 added a mechanism call WTRP (Wireless Token Ring Protocol) which provides control over which Radio transmits and a CSMA (Carrier Sense Multiple Access) mechanism. This enables interoperable multi-node deployment.

Edition 4 adds support for Wideband HF up to 240 kbps and use of ALE (Automatic Link Establishment) and addresses a number of other issues. Details on changes in Edition 4 are given here. Edition 4 is recommended and this paper references elements of edition 4.

The STANAG 5066 Protocol Stack

STANAG 5066 provides an interface between applications and the HF channel communications, comprising Crypto, Modem and Radio.
STANAG 5066 has a layered architecture, with peer protocol defined with a set of PDU's and service interfaces specified between each layer. The following sublayers are specified:

  1. The Subnetwork Interface Sublayer (SIS) provides a service interface to applications using STANAG 5066. Annex A defines the service interface provided by SIS to applications. The primary service function is to transfer blocks of data (UNIDATA). The SIS defines a peer protocol using S_PDUs.
  2. The Routing Sublayer (RS) is an optional sublayer that is used in configuration where data needs to traverse a HF channel multiple times. This is needed to support Wireless Token Ring Protocol (WTRP) configurations with partial connectivity. The RS is specified in Annex R.
  3. The Channel Access Sublayer (CAS) controls communication between peers by managing 'physical links' which control ARQ communications between peers. The CAS can provide simultaneous access to multiple peers or constrain operation to one active peer at a time. The CAS is specified in Annex B.
  4. The Data Transfer Sublayer (DTS) provides data transfer with one or more peers. The DTS provides a reliable (ARQ) data link service, as well as best-effort (non-ARQ) service for broadcast, multicast and communication to peers in EMCON. The DTS supports data rate selection for STANAG 4539 and STANAG 5069 waveforms. The DTS is specified in Annex C.
  5. The Media-Access-Control (MAC) Sublayer provides mechanisms for enhanced media-access control capability for HF data communication in multi-node networks. Whereas the Channel-Access Sublayer provides pairwise logical link control mechanisms to establish a point-to-point link (or set of multiple, independent point-to-point links) for data communication, the Media-Access- Control Sublayer introduces modes for enhanced media-access control capability for HF data communication in multi-node networks, and the prescribed method in which they may be used with other STANAG 5066 capabilities. These optional channel-access modes extend or modify, but do not replace, the pairwise logical link control mechanisms defined for the Channel Access Sublayer. General requirements for the Media-Access-Control Sublayer are defined in Annex J of this STANAG, with requirements on each of the defined protocols for media-access- control provided in Annexe K for Carrier-Sense-Multiple Access and Annex L for Wireless-Token- Ring Protocol (WTRP). Annexes may be added in future versions of this STANAG for other techniques, such as Adaptive Time Division Multiple Access.

Modem Control and Monitoring

STANAG 5066 allows for, but does not require control communication with the modem.Monitoring and control of the modem is performed by the DTS, as shown in the image above. The following requirements are identified:

  1. To achieve Data Rate Selection, as described in Annex C, the sender needs to control the modems sending speed and associated parameters such as interleaver.
  2. To provide optimum recommendations on transmission parameters, the receiver needs to be able to monitor SNR and other receive characteristics.
  3. 3. To determine switching time when no EOT is received, performance of Annex K and Annex L can be optimized by monitoring end of transmission at modem level.
In addition to these requirements an implementation may use additional modem control, configuration and monitoring capabilities to improve system performance and management.

Use of Automatic Link Establishment (ALE)

Automatic Link Establishment (ALE) enables selection of best frequency. For STANAG 5069, 4G ALE also allows selection of transmit and receive bandwidth. ALE mechanisms are specified in MIL STD-188-141D, providing 2G (synchronous), 3G (asynchronous) and 4G mechanisms. STANAG 4538 defines 3G mechanisms.
ALE sits at the same level as the modem in the protocol architecture. ALE and Modem share use of the radio, with only one of them having access at any moment. ALE and Modem will co-ordinate sharing of the modem.
STANAG 5066 specifies two uses of ALE, as shown in the image above:

  1. ALE used by MAC Sublayer, as specified in Annex J. In this mode, the MAC layer negotiates a frequency for use by all nodes on the subnetwork.
  2. ALE used by the CAS, as specified in Annex B. In this mode, ALE is used to connect to one peer node or to a subset of nodes on the network. This will lead to the SIS queueing traffic for other nodes, as specified in Annex A.
ALE may be used in a third implicit mode on a two-node network. In this configuration, ALE can be used to setup a link without interaction with STANAG 5066, as there is only one destination.

Applications over STANAG 5066

STANAG 5066 is a layer protocol to support applications and defines a number of protocols that can be used over STANAG 5066, using the SIS protocol to connect to a STANAG 5066 Server. This includes:

  1. HF Operator Chat. A simple operator chat protocol specified in Annex O.
  2. Support for ACP 127 legacy formal military messaging using the Character Oriented Stream Service (COSS), specified in Annex P.
  3. Support for Multicast Transfer using ACP 142, specified in Annex Q. This enables two services over ACP 142:
    a. STANAG 54406 Annex E, to provide formal military messaging.
    b. Multicase Email (MULE) specified in RFC 8494, to provide email or formal military messaging using RFC 6477.
  4. Compressed File Transfer Protocol (CFTP) which can be used to provide basic email services, specified in Annex V.
  5. Chat and Presence using XMPP, specified in XEP-0365.
  6. IP Client, that enables an IP subnet to be operated over STANAG 5066. This provides support for some IP services, such as ICMP Ping. IP Client is specified in Annex U.

List of Annexes

STANAG 5066 Ed4 has the following annexes:
Annex A: Subnetwork Interface Sublayer (mandatory)
Annex B: Channel Access Sublayer (mandatory)
Annex C: Data Transfer Sublayer (mandatory)
Annex D: Interface between Data Transfer Sublayer and Communications Equipment (mandatory)
Annex E: Absent
Annex F: SAP Assignment (mandatory)
Annex G: Absent
Annex H: Absent
Annex I: Absent
Annex J: General Requirements for Enhanced Media-Access-Control (MAC) Capabilities in Multi-Node STANAG 5066 Networks
Annex K: High-Frequency Carrier-Sense Multiple-Access (CSMA) Protocols
Annex L: High-Frequency Wireless Token-Ring-Protocol (WTRP) Requirements
Annex M: Reserved
Annex N: Guidance on Address Management in STANAG 5066 Networks
Annex O: HF Operator Chat
Annex P: ACP 127 & Character-Oriented Serial Stream
Annex Q: ACP 142
Annex R: Routing Sublayer
Annex S: SIS Access Protocol (mandatory)
Annex T: STANAG 5066 TRANSEC Crypto Sublayer using AES and other Protocols
Annex U: IP Client
Annex V: Compressed File Transfer Protocol

Annexes not marked as "mandatory" are "information only".
Annexes marked "Absent" were present in previous editions of STANAG 5066. Annex M is marked "reserved" as a provisional allocation has been made.

Isode and STANAG 5066

Isode's view is that STANAG 5066 is key to deployment of applications over HF Radio. Isode provides a suite of products supporting STANAG 5066, based around the Icon-5066 product.

Conclusions

This paper has described STANAG 5066 and shown its critical role in supporting applications operating over HF Radio. The STANAG 5066 SIS protocol is the key integration point between HF Applications and the underlying HF Modem and Radio systems.