diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2023-02-06 12:35:01 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2023-02-13 12:39:22 +0100 |
commit | ec1a0a102f89569ad3f882439961984f191c7c28 (patch) | |
tree | 1eca8d6cfe7040c42c05c5a0d7d9d5bf4845777b | |
parent | ee43e37528b34c57b7c9d7a9a20eb35e26ed6e9a (diff) |
pcu_sock: set direct TLLI flag in info indication
osmo-bsc requires the PCU to tag IMMEDIATE ASSIGNMENTS that shall be
sent via PCU with a TLLI. This is required to confirm the sending of the
IMMEDIATE ASSIGNMENT messages to the PCU.
Related: OS#5198
Change-Id: Ib804143a57824632e5435f7ba68f2e94f5f3fb21
-rw-r--r-- | include/osmocom/bsc/pcuif_proto.h | 1 | ||||
-rw-r--r-- | src/osmo-bsc/pcu_sock.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/bsc/pcuif_proto.h b/include/osmocom/bsc/pcuif_proto.h index 693a1d537..7e13b5c76 100644 --- a/include/osmocom/bsc/pcuif_proto.h +++ b/include/osmocom/bsc/pcuif_proto.h @@ -44,6 +44,7 @@ /* flags */ #define PCU_IF_FLAG_ACTIVE (1 << 0)/* BTS is active */ #define PCU_IF_FLAG_SYSMO (1 << 1)/* access PDCH of sysmoBTS directly */ +#define PCU_IF_FLAG_DT (1 << 2)/* use TLLI for confirmation directly */ #define PCU_IF_FLAG_CS1 (1 << 16) #define PCU_IF_FLAG_CS2 (1 << 17) #define PCU_IF_FLAG_CS3 (1 << 18) diff --git a/src/osmo-bsc/pcu_sock.c b/src/osmo-bsc/pcu_sock.c index f6148b4ab..add968aee 100644 --- a/src/osmo-bsc/pcu_sock.c +++ b/src/osmo-bsc/pcu_sock.c @@ -200,6 +200,7 @@ static int pcu_tx_info_ind(struct gsm_bts *bts) info_ind->version = PCU_IF_VERSION; info_ind->flags |= PCU_IF_FLAG_ACTIVE; info_ind->flags |= PCU_IF_FLAG_SYSMO; + info_ind->flags |= PCU_IF_FLAG_DT; /* RAI */ info_ind->mcc = bts->network->plmn.mcc; |