# Layer 2 - LAP-Dm

#### GSM Layer 2 - LAP-Dm

GSM Layer 2, or the Link Access Protocol for the Dm channel (LAP-Dm), manages the data link control in GSM networks. LAP-Dm is responsible for:

* Establishing a reliable communication link between Mobile Stations (MS) and the Base Transceiver Station (BTS).
* Handling error correction, flow control, and frame synchronization.
* Ensuring data integrity through frame acknowledgment and retransmission of corrupted frames.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gsm.learn-telecom.com/architecture/gsm-radio-stack/layer-2-lap-dm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
