MAC (Medium Access Control) Architecture (25.321)

MAC is a layer 2 protocol in the UMTS Access Stratum. MAC has the input as logical channels and at the output it has transport channels.

Logical channels define ‘WHAT’ type of information is being transferred and transport channel defines ‘HOW’ the information is being transferred. So one of the primary objective of MAC is to map appropriate logical channels on transport channel.

clip_image001

NOTE: Before proceeding check out the different types of logical channels and transport channel here.

UMTS Logical Channels and Transport Channels

 

MAC Entities

MAC-b is the MAC entity that handles the following transport channels:

  1. broadcast channel (BCH)

MAC-c/sh/m, is the MAC entity that handles the following transport channels:

  1. paging channel (PCH)
  2. forward access channel (FACH)
  3. random access channel (RACH)
  4. downlink shared channel (DSCH). The DSCH exists only in TDD mode.
  5. uplink shared channel (USCH). The USCH exists only in TDD mode.

MAC-d is the MAC entity that handles the following transport channels:

  1. dedicated transport channel (DCH)

MAC-hs is the MAC entity that handles the following transport channels:

  1. high speed downlink shared channel (HS-DSCH)

MAC-m is the MAC entity that handles the following transport channels:

  1. forward access channel (FACH).

MAC-e/es are the MAC entities that handle the following transport channels:

  1. enhanced dedicated transport channel (E-DCH).

MAC Architecture – UE Side

Mac-ue-side

 
MAC-c/sh/m entity – UE Side

Mac-c-sg-m-on-ue-side

There is one MAC-c/sh/m entity present in the UE side.

The following functionality is covered by this MAC entity.

TCTF MUX:

The TCTF field indicates the common logical channel type, or if a dedicated logical channel is used;

add/read UE Id:

1. the UE Id is added for RACH transmissions;

2. the UE Id, when present, identifies data to this UE

read MBMS Id:

1. the MBMS Id is read in case of MTCH reception;

2. the MBMS Id identifies received data to an MBMS service.

UL: TF selection:

in the uplink, the possibility of transport format selection exists.

ASC selection:

For RACH, MAC indicates the ASC associated with the PDU to the physical layer. This is to ensure that RACH messages associated with a given Access Service Class (ASC) are sent on the appropriate signature(s) and time slot(s). MAC also applies the appropriate back-off parameter(s) associated with the given ASC. When sending an RRC CONNECTION REQUEST message, RRC will determine the ASC; in all other cases MAC selects the ASC;

scheduling /priority handling

this functionality is used to transmit the information received from MAC-d on RACH based on logical channel priorities. This function is related to TF selection.

TFC selection

transport format and transport format combination selection according to the transport format combination set (or transport format combination subset) configured by RRC is performed.

MAC-m entity – UE Side

clip_image007

The following functionality is covered:

TCTF DEMUX:

this function represents the handling (detection and deletion for downlink channels) of the TCTF field in the MAC header, and the respective mapping between logical and transport channels. The TCTF field indicates the common logical channel type;

read MBMS Id

1. the MBMS Id is read in case of MTCH reception;

2. the MBMS Id identifies received data to an MBMS service.

MAC-d entity – UE Side

Mac-d-ue-side

NOTE: There is one MAC-d entity in the UE side.

The following functionality is covered:

Transport Channel type switching

Transport Channel type switching is performed by this entity, based on decision taken by RRC. This is related to a change of radio resources. If requested by RRC, MAC shall switch the mapping of one designated logical channel between common and dedicated transport channels.

C/T MUX:

The C/T MUX is used when multiplexing of several dedicated logical channels onto one transport channel (other than HS-DSCH) or one MAC-d flow (HS-DSCH) is used. An unambiguous identification of the logical channel is included. If MAC-ehs is configured, C/T MUX toward MAC-ehs is not used.

Ciphering:

Ciphering for transparent mode data to be ciphered is performed in MAC-d.

Deciphering:

Deciphering for ciphered transparent mode data is performed in MAC-d.

UL TFC selection:

Transport format and transport format combination selection according to the transport format combination set (or transport format combination subset) configured by RRC is performed.

MAC-hs entity – UE Side
clip_image010
HARQ:

The HARQ entity is responsible for handling the MAC functions relating to the HARQ protocol. The HARQ functional entity handles all the tasks that are required for hybrid ARQ. It is responsible for generating ACKs or NACKs. The detailed configuration of the hybrid ARQ protocol is provided by RRC over the MAC-Control SAP. The maximum number of HARQ process per HS-DSCH per TTI on which an HS-DSCH transmission can be received is one.

Reordering Queue distribution:

The reordering queue distribution function routes the MAC-hs PDUs to the correct reordering buffer based on the Queue ID.

Reordering:

The reordering entity reorders received MAC-hs PDUs according to the received TSN. MAC-hs PDUs with consecutive TSNs are delivered to the disassembly function upon reception. MAC-hs PDUs are not delivered to the disassembly function if MAC-hs PDUs with lower TSN are missing. There is one reordering entity for each Queue ID configured at the UE.

Disassembly:

The disassembly entity is responsible for the disassembly of MAC-hs PDUs. When a MAC-hs PDU is disassembled the MAC-hs header is removed, the MAC-d PDUs are extracted and any present padding bits are removed. Then the MAC-d PDUs are delivered to higher layer.

MAC-e/es entity – UE Side

The MAC-es/e handles the E-DCH specific functions.

MAC-e/es comprise the following entities:

HARQ:

The HARQ entity is responsible for handling the MAC functions relating to the HARQ protocol. It is responsible for storing MAC-e payloads and re-transmitting them.

For FDD: The HARQ entity provides the E-TFC, the retransmission sequence number (RSN), and the power offset to be used by L1. Redundancy version (RV) of the HARQ transmission is derived by L1 from RSN, CFN and in case of 2 ms TTI from the sub-frame number.

Multiplexing and TSN setting:

The multiplexing and TSN setting entity is responsible for concatenating multiple MAC-d PDUs into MAC-es PDUs, and to multiplex one or multiple MAC-es PDUs into a single MAC-e PDU, to be transmitted in the next TTI, as instructed by the E-TFC selection function.

It is also responsible for managing and setting the TSN per logical channel for each MAC-es PDU.

E-TFC selection:

This entity is responsible for E-TFC selection according to the scheduling information, Relative Grants (FDD only) and Absolute Grants, received from UTRAN via L1 and Serving Grant value signalled through RRC, and for arbitration among the different flows mapped on the E-DCH.

Scheduling Access Control (TDD only):

The Scheduling Access Control entity is responsible for routing associated uplink signalling via E-UCCH and MAC-e PDU (in the case that E-DCH resources are assigned) or via E-RUCCH (in the case that no E-DCH resources are assigned). It is also responsible for obtaining and formatting the appropriate information to be carried on E-UCCH/E-RUCCH.

NOTE: HARQ process ID and RSN are carried on E-UCCH.

MAC Architecture – UTRAN Side

Mac-Utran-side

MAC-c/sh/m entity – UTRAN Side

Mac-c-sh-m-UTRAN

The following functionalities are covered:

Scheduling – Buffering – Priority Handling;

This function manages FACH and for TDD DSCH resources between the UEs and between data flows according to their priority and delay requirements set by higher layers.

TCTF MUX:

The TCTF field indicates the common logical channel type, or if a dedicated logical channel is used;

UE Id Mux

For dedicated type logical channels, the UE Id field in the MAC header is used to distinguish between UEs;

MBMS Id Mux

For MTCH channels, the MBMS Id field in the MAC header is used to distinguish between MBMS services.

TFC selection

In the downlink, transport format combination selection is done for FACH and PCH and for TDD DSCHs.

Demultiplex

For TDD operation the demultiplex function is used to separate USCH data from different UEs, i.e. to be transferred to different MAC-d entities.

DL code allocation

For TDD this function is used to indicate the code used on the DSCH.

Flow control

A flow control function exists toward MAC-d to limit buffering between MAC-d and MAC-c/sh/m entities.

A flow control function also exists towards MAC-hs in case of configuration with MAC-c/sh/m.

MAC-d entity – UTRAN Side

Mac-d-utran-side

The following functionalities are covered:

Transport Channel type switching

If requested by RRC, MAC shall switch the mapping of one designated logical channel between common and dedicated transport channels.

This is the case when UE moves from CELL_DCH state to CELL_FACH state.

C/T MUX

The function includes the C/T field when multiplexing of several dedicated logical channels onto one transport channel (other than HS-DSCH) or one MAC-d flow (HS-DSCH) is used.

Priority setting

This function is responsible for priority setting on data received from DCCH / DTCH.

Ciphering

Ciphering of transparent mode data is performed in MAC-d.

Deciphering

Deciphering of transparent mode data is performed in MAC-d.

DL Scheduling/Priority handling

In the downlink, scheduling and priority handling of transport channels is performed within the allowed transport format combinations of the TFCS assigned by the RRC.

Flow Control

A flow control function exists toward MAC-c/sh/m to limit buffering between MAC-d and MAC-c/sh/m entities. This function is intended to limit layer 2 signalling latency and reduce discarded and retransmitted data as a result of FACH or for TDD DSCH congestion. For the Iur interface, a flow control function also exists towards MAC-hs/ehs in case of configuration without MAC-c/sh/m.

MAC-hs entity – UTRAN Side

clip_image016

The MAC-hs is comprised of four different functional entities.

Flow Control

This is the companion flow control function to the flow control function in the MAC-c/sh/m in case of configuration with MAC-c/sh/m and MAC-d in case of configuration without MAC-c/sh/m. Both entities together provide a controlled data flow between the MAC-c/sh/m and the MAC-hs (Configuration with MACc/sh/m) or the MAC-d and MAC-hs (Configuration without MAC-c/sh/m) taking the transmission capabilities of the air interface into account in a dynamic manner. This function is intended to limit layer 2 signalling latency and reduce discarded and retransmitted data as a result of HS-DSCH congestion.

Scheduling/Priority Handling

This function manages HS-DSCH resources between HARQ entities and data flows according to their priority. Based on status reports from associated uplink signalling either new transmission or retransmission is determined. Further it determines the Queue ID and TSN for each new MAC-hs PDU being serviced, and in the case of TDD the HCSN is determined.

HARQ

One HARQ entity handles the hybrid ARQ functionality for one user. One HARQ entity is capable of supporting multiple instances (HARQ process) of stop and wait HARQ protocols. There shall be one HARQ process per HS-DSCH per TTI

TFRC selection

Selection of an appropriate transport format and resource for the data to be transmitted on HS-DSCH.

MAC-es entity – UTRAN Side

clip_image018

For each UE, there is one MAC-es entity in the SRNC.

MAC-es comprises the following entities:

Reordering Queue Distribution

The reordering queue distribution function routes the MAC-es PDUs to the correct reordering buffer based on the SRNC configuration.

Reordering

This function reorders received MAC-es PDUs according to the received TSN and Node-B tagging i.e. (CFN, subframe number). MAC-es PDUs with consecutive TSNs are delivered to the disassembly function upon reception.

There is one Re-ordering Process per logical channel.

Macro diversity selection (FDD only)

The function is performed in the MAC-es, in case of soft handover with multiple Node-Bs. This means that the reordering function receives MAC-es PDUs from each Node-B in the E-DCH active set.

Disassembly

The disassembly function is responsible for disassembly of MAC-es PDUs. When a MAC-es PDU is disassembled the MAC-es header is removed, the MAC-d PDU’s are extracted and delivered to MAC-d.

MAC-e entity – UTRAN Side

clip_image020

There is one MAC-e entity in the Node B for each UE and one E-DCH scheduler function in the Node-B.

E-DCH Scheduling

This function manages E-DCH cell resources between UEs. Based on scheduling requests, Scheduling Grants are determined and transmitted.

E-DCH Control

The E-DCH control entity is responsible for reception of scheduling requests and transmission of Scheduling Grants.

De-multiplexing

This function provides de-multiplexing of MAC-e PDUs. MAC-es PDUs are forwarded to the associated MAC-d flow.

HARQ

One HARQ entity is capable of supporting multiple instances (HARQ processes) of stop and wait HARQ protocols. Each process is responsible for generating ACKs or NACKs indicating delivery status of E-DCH transmissions.

References

Medium Access Control (MAC) protocol specification: 3GPP TS 25.321

2 Comments


  1. Your Comments it’s excellant
    can i get a good document on non access stratum protocols


  2. This article is brilliant. I appreciate that you wrote this

Leave a Reply

Your email address will not be published. Required fields are marked *