lynxis lazus has uploaded this change for review.

View Change

gprs: define OSMO_RESERVED_RAC 0xff

will be used by UE when no valid RAC or internally.
No valid cell has this RAC.

Change-Id: I17a2adedc2c2ab158f40d58280f5df5c6967b8ec
---
M TODO-RELEASE
M include/osmocom/gsm/protocol/gsm_04_08_gprs.h
2 files changed, 6 insertions(+), 0 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/57/39557/1
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 0ed7189..df92aef 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,3 +7,4 @@
# If any interfaces have been added since the last public release: c:r:a + 1.
# If any interfaces have been removed or changed since the last public release: c:r:0.
#library what description / commit summary line
+gprs define OSMO_RESERVED_RAC
diff --git a/include/osmocom/gsm/protocol/gsm_04_08_gprs.h b/include/osmocom/gsm/protocol/gsm_04_08_gprs.h
index 6ba92c2..75bd4fb 100644
--- a/include/osmocom/gsm/protocol/gsm_04_08_gprs.h
+++ b/include/osmocom/gsm/protocol/gsm_04_08_gprs.h
@@ -8,6 +8,11 @@
#include <osmocom/crypt/gprs_cipher.h>
#include <osmocom/core/endian.h>

+/* osmocom specific */
+
+/*! will be used by UE when no valid RAC or internally. No valid cell has this RAC */
+#define OSMO_RESERVED_RAC 0xff
+
/* Table 10.4 / 10.4a, GPRS Mobility Management (GMM) */
#define GSM48_MT_GMM_ATTACH_REQ 0x01
#define GSM48_MT_GMM_ATTACH_ACK 0x02

To view, visit change 39557. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I17a2adedc2c2ab158f40d58280f5df5c6967b8ec
Gerrit-Change-Number: 39557
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis@fe80.eu>