pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/32242 )
Change subject: nm: Document current state of SW_ACT in TRX related objects
......................................................................
nm: Document current state of SW_ACT in TRX related objects
Change-Id: Ie24503b25b9c8042edae696d5b002933c73d00fb
---
M src/common/bts.c
M src/common/nm_bts_fsm.c
2 files changed, 23 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/42/32242/1
diff --git a/src/common/bts.c b/src/common/bts.c
index 0dd830a..1154c6a 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -414,10 +414,17 @@
LOGP(DOML, LOGL_INFO, "Main link established, sending NM Status.\n");
- /* BTS SITE MGR becomes Offline (tx SW ACT Report), BTS, NSE, etc. is DEPENDENCY */
+ /* BTS SITE MGR becomes Offline (tx SW ACT Report) and dispatches same
+ * event to its children objects (except TRX level and below, see comment
+ * below)
+ */
osmo_fsm_inst_dispatch(bts->site_mgr->mo.fi, NM_EV_SW_ACT, NULL);
- /* All other objects start off-line until the BTS Model code says otherwise */
+ /* TRX objects are SW_ACTed by the lower layers (bts_model) when they
+ * become available. Since that may happen before the OML link becomes
+ * established, we need to manually trigger tx of state reports to the BSC
+ * so it learns current state and can go on bringing them up.
+ */
for (i = 0; i < bts->num_trx; i++) {
struct gsm_bts_trx *trx = gsm_bts_trx_num(bts, i);
diff --git a/src/common/nm_bts_fsm.c b/src/common/nm_bts_fsm.c
index 13a4727..451530f 100644
--- a/src/common/nm_bts_fsm.c
+++ b/src/common/nm_bts_fsm.c
@@ -93,6 +93,11 @@
}
nm_bts_fsm_state_chg(fi, NM_BTS_ST_OP_DISABLED_OFFLINE);
+
+ /* Avoid submitting NM_EV_SW_ACT to children NM objects
+ * (RCARRIER, BBTRANSC), the lower layers (bts_model) are in charge
+ * of submitting them once the TRX becomes available
+ */
return;
default:
OSMO_ASSERT(0);
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/32242
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ie24503b25b9c8042edae696d5b002933c73d00fb
Gerrit-Change-Number: 32242
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: pespin.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-bts/+/32236
to look at the new patch set (#4).
Change subject: Merge gsm_network into gsm_bts_sm and place gsm_bts under it
......................................................................
Merge gsm_network into gsm_bts_sm and place gsm_bts under it
This way the data model in TS 12.21 (Figure 1) is followed, where
there's a BTS Site Manager containing one or more BTS. In our case we
only support 1 BTS (cell) so far.
Change-Id: Ideb0d458ec631008223f861cf8b46d09524a1a21
Related: OS#5994
---
M include/osmo-bts/Makefile.am
M include/osmo-bts/bts.h
A include/osmo-bts/bts_sm.h
M include/osmo-bts/gsm_data.h
M include/osmo-bts/pcu_if.h
M include/osmo-bts/vty.h
M src/common/Makefile.am
M src/common/abis_osmo.c
M src/common/bts.c
M src/common/bts_shutdown_fsm.c
A src/common/bts_sm.c
M src/common/main.c
M src/common/nm_bts_sm_fsm.c
M src/common/oml.c
M src/common/pcu_sock.c
M src/common/vty.c
M src/osmo-bts-oc2g/oc2gbts_vty.c
M src/osmo-bts-omldummy/main.c
M tests/agch/agch_test.c
M tests/cipher/cipher_test.c
M tests/handover/handover_test.c
M tests/meas/meas_test.c
M tests/misc/misc_test.c
M tests/paging/paging_test.c
M tests/tx_power/tx_power_test.c
25 files changed, 271 insertions(+), 160 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/36/32236/4
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/32236
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ideb0d458ec631008223f861cf8b46d09524a1a21
Gerrit-Change-Number: 32236
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: fixeria.
Hello osmith, Jenkins Builder, fixeria,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-bts/+/32226
to look at the new patch set (#4).
Change subject: Introduce NM FSM for GPRS NSVC object
......................................................................
Introduce NM FSM for GPRS NSVC object
Change-Id: I684482064136a461d01cace3cd37afc8b68458cc
Related: OS#5994
---
M include/osmo-bts/nm_common_fsm.h
M src/common/Makefile.am
M src/common/bts.c
M src/common/nm_gprs_nse_fsm.c
A src/common/nm_gprs_nsvc_fsm.c
M src/common/oml.c
M src/osmo-bts-lc15/oml.c
M src/osmo-bts-oc2g/oml.c
M src/osmo-bts-octphy/l1_oml.c
M src/osmo-bts-omldummy/bts_model.c
M src/osmo-bts-sysmo/oml.c
M src/osmo-bts-trx/l1_if.c
M src/osmo-bts-virtual/bts_model.c
13 files changed, 313 insertions(+), 54 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/26/32226/4
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/32226
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I684482064136a461d01cace3cd37afc8b68458cc
Gerrit-Change-Number: 32226
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: laforge, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/32235 )
Change subject: si2quater: add CTRL commands for deleting neighbor [EU]ARFCNs
......................................................................
Patch Set 1:
(3 comments)
Commit Message:
https://gerrit.osmocom.org/c/osmo-bsc/+/32235/comment/f850d1c5_f64214d2
PS1, Line 9: EUTRAN neighbors can be deteled using the following command:
> deleted
Done
https://gerrit.osmocom.org/c/osmo-bsc/+/32235/comment/50ae601c_3b73c943
PS1, Line 15: UUTRAN neighbors can be deteled using the following command:
> deleted. […]
Done
File src/osmo-bsc/bts_ctrl.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/32235/comment/d21debc7_0e46c881
PS1, Line 651: /* si2quater neighbor management: del UARFCN */
> You are missing SCRAMBLE here documenting the format.
Done
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/32235
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I890bffb003f2a0ee9438f6ea6e8067c092504f08
Gerrit-Change-Number: 32235
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 06 Apr 2023 15:36:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment