From 1356c08cc8f22b4b75a845ebd96651577c984744 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 30 Dec 2009 09:00:01 +0100 Subject: [abis] Dispatch a IPAC restart ACK/NACK signal * Add the NACK version to the list * Dispatch the signal when we receive the message * Handle it in ipaccess-config by exiting the application --- openbsc/include/openbsc/abis_nm.h | 1 + openbsc/include/openbsc/signal.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'openbsc/include') diff --git a/openbsc/include/openbsc/abis_nm.h b/openbsc/include/openbsc/abis_nm.h index c237613c8..a122342f2 100644 --- a/openbsc/include/openbsc/abis_nm.h +++ b/openbsc/include/openbsc/abis_nm.h @@ -211,6 +211,7 @@ enum abis_nm_msgtype_bs11 { enum abis_nm_msgtype_ipacc { NM_MT_IPACC_RESTART = 0x87, NM_MT_IPACC_RESTART_ACK, + NM_MT_IPACC_RESTART_NACK, NM_MT_IPACC_RSL_CONNECT = 0xe0, NM_MT_IPACC_RSL_CONNECT_ACK, NM_MT_IPACC_RSL_CONNECT_NACK, diff --git a/openbsc/include/openbsc/signal.h b/openbsc/include/openbsc/signal.h index 8b6b4a628..23551f743 100644 --- a/openbsc/include/openbsc/signal.h +++ b/openbsc/include/openbsc/signal.h @@ -70,6 +70,8 @@ enum signal_nm { S_NM_NACK, /* GSM 12.21 various NM_MT_*_NACK happened */ S_NM_IPACC_NACK, /* GSM 12.21 nanoBTS extensions NM_MT_IPACC_*_*_NACK happened */ S_NM_IPACC_ACK, /* GSM 12.21 nanoBTS extensions NM_MT_IPACC_*_*_ACK happened */ + S_NM_IPACC_RESTART_ACK, /* nanoBTS has send a restart ack */ + S_NM_IPACC_RESTART_NACK,/* nanoBTS has send a restart ack */ S_NM_TEST_REP, /* GSM 12.21 Test Report */ }; -- cgit v1.2.3