Attention is currently required from: dexter.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/28913 )
Change subject: signal.h: make om2k mo const
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/28913
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Id0969d44855506af18974de1ea81105653920d2f
Gerrit-Change-Number: 28913
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 03 Aug 2022 15:49:02 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: neels, laforge.
dexter has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/28838 )
Change subject: abis_om2000: fix missing signal
......................................................................
Patch Set 2:
(1 comment)
File src/osmo-bsc/abis_om2000.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/28838/comment/24eeba0c_cad41921
PS2, Line 51: abis_om2000_fsm_becomes_enabled
> it's a bit odd that the function name looks generic, but then in reality it is very specific to the […]
I have oriented myself on the naming scheme I found in nm_rcarrier_fsm.c and nm_bb_transc_fsm.c. Maybe we should add "transc" into the name?
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/28838
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I305df5b2f962473e33e32484c42a79ff96e53e1a
Gerrit-Change-Number: 28838
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Wed, 03 Aug 2022 15:48:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: comment
Attention is currently required from: dexter.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/28914 )
Change subject: abis_om2000: move switch-case to function
......................................................................
Patch Set 1: Code-Review+1
(2 comments)
File src/osmo-bsc/abis_om2000.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/28914/comment/af588b0d_e47201dc
PS1, Line 997: switch (mo->class) {
You can probably move this inside oml_avstate_from_om2k_mostate() too, and pass mo->class there as a param.
https://gerrit.osmocom.org/c/osmo-bsc/+/28914/comment/01355f18_821ba2a7
PS1, Line 1016: enum abis_nm_op_state oml_opstate_from_om2k_opstate(uint8_t op_state)
it's a bit strange that a function starting with "oml_opstate" returns a "abis_nm_op_state" don't you think? :D
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/28914
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I41f0d9d0d498f6f698c2c959baac50424f5ac317
Gerrit-Change-Number: 28914
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 03 Aug 2022 15:48:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: laforge, pespin.
dexter has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/28896 )
Change subject: abis_om2000: duplicate nmstate of bb_trxc mo to trx mo
......................................................................
Patch Set 2:
(2 comments)
File src/osmo-bsc/abis_om2000.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/28896/comment/80286ab8_1f9b7dfc
PS1, Line 895: prin
> this printf shouldn't be merged
Done
https://gerrit.osmocom.org/c/osmo-bsc/+/28896/comment/366c1355_9433cd5b
PS1, Line 2245: otfp->trx->bb_transc.mo.nm_state.administrative = NM_STATE_UNLOCKED;
> I have addressed this in a different patch before this one now.
Ack
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/28896
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I4611d8af16a30725308bd527098b12a356bfde9f
Gerrit-Change-Number: 28896
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 03 Aug 2022 15:44:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: dexter <pmaier(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin.
dexter has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/28896 )
Change subject: abis_om2000: duplicate nmstate of bb_trxc mo to trx mo
......................................................................
Patch Set 2:
(1 comment)
Commit Message:
https://gerrit.osmocom.org/c/osmo-bsc/+/28896/comment/82ea4b98_4d131e73
PS1, Line 11: the trx MO to the trxc_mo to make it look like if it were present.
> BB_TRANSC MO to the RCARRIER MO
Done
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/28896
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I4611d8af16a30725308bd527098b12a356bfde9f
Gerrit-Change-Number: 28896
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 03 Aug 2022 15:43:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/28913 )
Change subject: signal.h: make om2k mo const
......................................................................
signal.h: make om2k mo const
The om2k mo that is put into the nsd as reference to notify other
entities about the signal change can be const. Its only accessed
read-only (if at all) and also the API in abis_om2000.h suggests that
the om2k mo should be const.
Change-Id: Id0969d44855506af18974de1ea81105653920d2f
Related: OS#5634
---
M include/osmocom/bsc/signal.h
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/13/28913/1
diff --git a/include/osmocom/bsc/signal.h b/include/osmocom/bsc/signal.h
index 66776da..300bd55 100644
--- a/include/osmocom/bsc/signal.h
+++ b/include/osmocom/bsc/signal.h
@@ -138,7 +138,7 @@
/* This pointer is valid for TS 12.21 MO */
struct abis_om_obj_inst *obj_inst;
/* This pointer is valid for RBS2000 MO */
- struct abis_om2k_mo *om2k_mo;
+ const struct abis_om2k_mo *om2k_mo;
};
/* data for <SS_NM, S_NM_RUNNING_CHG>: */
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/28913
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Id0969d44855506af18974de1ea81105653920d2f
Gerrit-Change-Number: 28913
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-MessageType: newchange