Friday, 6 November 2009

Inter-Layer Communication Primitives


IEEE defines service primitives that are used for communication between different layers in a protocol stack. There are 4 types of service primitives as can be seen in the diagram above and are described below:

Request: This is sent by the initiating side and from a higher layer to a lower layer. For example when RRC wants to send a message to peer RRC entity, it sends an RLC Data Request to RLC.

Indication: This primitive on the receiving entity is passed from Layer N to the layer above (N+1). For example when RLC entity receives MAC data from MAC and its addressed to RRC, it sends RLC Data Ind to the RRC.

Response: This is the response to the Indication on the receiving entity. So in our example case, RLC Data Resp would be sent by RRC when it receives RLC Data Ind.

Confirm: This is used as a reply in the sending entity as the lower layer conveys the result of one or more previous request primitives. The confirm will generally contain status code indicating success or failure of the procedure. In our example, RLC Data Cnf will be sent by RLC as a response to RLC Data Req.

1 comment:

Anonymous said...

Are all control messages sent between layers are transferred via primitives? For example, an RRC message is sent downwards through a Request message?