From c49691ff76187e83c3bcb023ac4c83460faa99ee Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 1 Sep 2023 19:49:34 +0200 Subject: [PATCH] gsm_12_21.h: Introduce packed structs for NM_ATT_IPACC_NS_CFG values Change-Id: Ie477b0e6d79e6d408e0004fd60307afc5feaa3b6 --- include/osmocom/gsm/protocol/gsm_12_21.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/osmocom/gsm/protocol/gsm_12_21.h b/include/osmocom/gsm/protocol/gsm_12_21.h index 8f288bb56..9cc0aa8a8 100644 --- a/include/osmocom/gsm/protocol/gsm_12_21.h +++ b/include/osmocom/gsm/protocol/gsm_12_21.h @@ -790,6 +790,17 @@ enum ipac_bcch_info_type { IPAC_BINF_CELL_ALLOC = (1 << 2), }; +/*! ip.access NM_ATT_IPACC_NS_CFG value */ +struct abis_nm_ipacc_att_ns_cfg { + uint8_t un_blocking_timer; /* (un)blocking Timer (Tns-block) timeout */ + uint8_t un_blocking_retries; /* (un)blocking Timer (Tns-block) number of retries */ + uint8_t reset_timer; /* Reset Timer (Tns-reset) timeout */ + uint8_t reset_retries; /* Reset Timer (Tns-reset) number of retries */ + uint8_t test_timer; /* Test Timer (Tns-test) timeout */ + uint8_t alive_timer; /* Alive Timer (Tns-alive) timeout */ + uint8_t alive_retries; /* Alive Timer (Tns-alive) number of retries */ +} __attribute__((packed)); + /*! ip.access NM_ATT_IPACC_BSSGP_CFG value */ struct abis_nm_ipacc_att_bssgp_cfg { uint8_t t1_s; /* blocking timer (T1) */