aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-03 12:28:12 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-04 07:20:44 +0200
commit10997d0b9bbc63a4480b4e95fb4312fc0401685b (patch)
tree3ee1ca1ad52f211c392aa5a2b9b326077191cdcf /openbsc/include
parent86fda90d036e30615c2930073e964a11952c7c9f (diff)
[gprs] LLC: API to send XID responses to XID commands
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gprs_llc.h10
1 files changed, 10 insertions, 0 deletions
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);