aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-04-05 17:09:36 +0200
committerpespin <pespin@sysmocom.de>2023-04-06 10:28:22 +0000
commit10d5499d0375f596b8b1cea0d8e571512fb2fb2b (patch)
tree7061a09a4bea74faa5f1e251138e32276b103ef2
parentd50d2399147a70100559ffa91223a27e28958167 (diff)
Rearrange declaration of struct gsm_bts_gprs_nsvc
Move it together with the other similar objects like gprs_nse and gprs_cell. Move the "mo" field to the start of the struct, similar to the other types. Change-Id: I5dc020a6bab8c94ab831b6ca506bc5cb681d07a3
-rw-r--r--include/osmo-bts/bts.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h
index c5a0709a..03a29e4e 100644
--- a/include/osmo-bts/bts.h
+++ b/include/osmo-bts/bts.h
@@ -72,18 +72,6 @@ const char *btsvariant2str(enum gsm_bts_type_variant v);
#define bts_internal_flag_set(bts, flag) \
bts->flags |= (typeof(bts->flags)) flag
-struct gsm_bts_gprs_nsvc {
- struct gsm_bts *bts;
- /* data read via VTY config file, to configure the BTS
- * via OML from BSC */
- int id;
- uint16_t nsvci;
- struct osmo_sockaddr local; /* on the BTS */
- struct osmo_sockaddr remote; /* on the SGSN */
-
- struct gsm_abis_mo mo;
-};
-
struct gprs_rlc_cfg {
uint16_t parameter[_NUM_RLC_PAR];
struct {
@@ -136,6 +124,18 @@ struct gsm_bts_sm {
struct gsm_abis_mo mo;
};
+/* GPRS NSVC; ip.access specific NM Object */
+struct gsm_bts_gprs_nsvc {
+ struct gsm_abis_mo mo;
+ struct gsm_bts *bts;
+ /* data read via VTY config file, to configure the BTS
+ * via OML from BSC */
+ int id;
+ uint16_t nsvci;
+ struct osmo_sockaddr local; /* on the BTS */
+ struct osmo_sockaddr remote; /* on the SGSN */
+};
+
/* GPRS NSE; ip.access specific NM Object */
struct gsm_gprs_nse {
struct gsm_abis_mo mo;