From a3f05d86095e5f67ca5b62702b0c4ba0324411a3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 27 Oct 2010 11:49:24 +0200 Subject: gsm0808: Add a method to create a clear command message. Use the msgb_tv_put functions for putting the data into the message. Do not support the extended error reports. --- include/osmocore/gsm0808.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/osmocore') diff --git a/include/osmocore/gsm0808.h b/include/osmocore/gsm0808.h index 2d609c9e..39a439b2 100644 --- a/include/osmocore/gsm0808.h +++ b/include/osmocore/gsm0808.h @@ -26,6 +26,7 @@ struct msgb; struct msgb *gsm0808_create_layer3(struct msgb *msg, uint16_t netcode, uint16_t countrycode, int lac, uint16_t ci); struct msgb *gsm0808_create_reset(void); +struct msgb *gsm0808_create_clear_command(uint8_t reason); struct msgb *gsm0808_create_clear_complete(void); struct msgb *gsm0808_create_cipher_complete(struct msgb *layer3, uint8_t alg_id); struct msgb *gsm0808_create_cipher_reject(uint8_t cause); -- cgit v1.2.3