From 10997d0b9bbc63a4480b4e95fb4312fc0401685b Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 3 May 2010 12:28:12 +0200 Subject: [gprs] LLC: API to send XID responses to XID commands --- openbsc/include/openbsc/gprs_llc.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'openbsc/include/openbsc/gprs_llc.h') diff --git a/openbsc/include/openbsc/gprs_llc.h b/openbsc/include/openbsc/gprs_llc.h index 2ed2d12ea..5a6682d80 100644 --- a/openbsc/include/openbsc/gprs_llc.h +++ b/openbsc/include/openbsc/gprs_llc.h @@ -15,6 +15,16 @@ enum gprs_llc_sapi { GPRS_SAPI_SNDCP11 = 11, }; +/* Section 6.4 Commands and Responses */ +enum gprs_llc_u_cmd { + GPRS_LLC_U_DM_RESP = 0x01, + GPRS_LLC_U_DISC_CMD = 0x04, + GPRS_LLC_U_UA_RESP = 0x06, + GPRS_LLC_U_SABM_CMD = 0x07, + GPRS_LLC_U_FRMR_RESP = 0x08, + GPRS_LLC_U_XID = 0x0b, + GPRS_LLC_U_NULL_CMD = 0x00, +}; int gprs_llc_rcvmsg(struct msgb *msg, struct tlv_parsed *tv); int gprs_llc_tx_ui(struct msgb *msg, uint8_t sapi, int command); -- cgit v1.2.3