diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2023-02-02 16:13:45 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2023-02-11 14:06:44 +0100 |
commit | 3c4320f935d80d1410780bc8bd9859bb1de850c7 (patch) | |
tree | 6ab8d963e654a02913717a2b611b9a915b636394 | |
parent | 54b7cd53925bf9bcb010b27c42216aa291b68e97 (diff) |
pcuif_proto: rename PCU_IF_SAPI_AGCH_DT to PCU_IF_SAPI_PCH_DT
The current name of PCU_IF_SAPI_AGCH_DT is a bit misleading as it
describes a method to send immediate assignment messages (normally AGCH)
via the PCH. The name in the constant should reflect that correctly
Change-Id: I78abeb62d0267baa31a4727c4bdd027b7230f137
Related: OS#5198
-rw-r--r-- | include/osmocom/bsc/pcuif_proto.h | 2 | ||||
-rw-r--r-- | src/osmo-bsc/pcu_sock.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/osmocom/bsc/pcuif_proto.h b/include/osmocom/bsc/pcuif_proto.h index bf05b01c9..693a1d537 100644 --- a/include/osmocom/bsc/pcuif_proto.h +++ b/include/osmocom/bsc/pcuif_proto.h @@ -39,7 +39,7 @@ #define PCU_IF_SAPI_PDTCH 0x05 /* packet data/control/ccch block */ #define PCU_IF_SAPI_PRACH 0x06 /* packet random access channel */ #define PCU_IF_SAPI_PTCCH 0x07 /* packet TA control channel */ -#define PCU_IF_SAPI_AGCH_DT 0x08 /* assignment on AGCH but with additional TLLI */ +#define PCU_IF_SAPI_PCH_DT 0x08 /* assignment on PCH (confirmed using TLLI) */ /* flags */ #define PCU_IF_FLAG_ACTIVE (1 << 0)/* BTS is active */ diff --git a/src/osmo-bsc/pcu_sock.c b/src/osmo-bsc/pcu_sock.c index df8461592..307a70e3c 100644 --- a/src/osmo-bsc/pcu_sock.c +++ b/src/osmo-bsc/pcu_sock.c @@ -55,7 +55,7 @@ static const char *sapi_string[] = { [PCU_IF_SAPI_PDTCH] = "PDTCH", [PCU_IF_SAPI_PRACH] = "PRACH", [PCU_IF_SAPI_PTCCH] = "PTCCH", - [PCU_IF_SAPI_AGCH_DT] = "AGCH_DT", + [PCU_IF_SAPI_PCH_DT] = "PCH_DT", }; /* Check if BTS has a PCU connection */ @@ -443,7 +443,7 @@ static int pcu_rx_data_req(struct gsm_bts *bts, uint8_t msg_type, rc = -EIO; } break; - case PCU_IF_SAPI_AGCH_DT: + case PCU_IF_SAPI_PCH_DT: /* DT = direct tlli. A tlli is prefixed */ if (data_req->len < 5) { |