diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2023-02-24 16:01:54 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2023-03-01 11:21:50 +0100 |
commit | 111b13f9a22875548eca9a0906fd6c351626c804 (patch) | |
tree | 688614be0d177c4c0bd8c4dd49c5791a77d81814 | |
parent | 4e54e16b9fc36b4a7144122c26389a1096e48a21 (diff) |
pcu_sock: print OML alerts from PCU
The PCU is able to send OML alerts via the BTS to the BSC. When the PCU
operates in co-location to the BSC we just print the alerts in the log
directly
Change-Id: Id32553556356c2affe32e47ae1c3ae6a514efdce
Related: OS#5198
-rw-r--r-- | src/osmo-bsc/pcu_sock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osmo-bsc/pcu_sock.c b/src/osmo-bsc/pcu_sock.c index add968aee..a0c9827dd 100644 --- a/src/osmo-bsc/pcu_sock.c +++ b/src/osmo-bsc/pcu_sock.c @@ -686,6 +686,9 @@ static int pcu_rx_txt_ind(struct gsm_bts *bts, if (rc < 0) return -EINVAL; break; + case PCU_OML_ALERT: + LOG_BTS(bts, DPCU, LOGL_ERROR, "PCU external alarm: %s\n", txt->text); + break; default: LOGP(DPCU, LOGL_ERROR, "Unknown TXT_IND type %u received\n", txt->type); |