osmo-bsc[master]: introduce an osmo_fsm for gsm_subscriber_connection

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Mar 12 15:58:53 UTC 2018


Patch Set 3:

(4 comments)

https://gerrit.osmocom.org/#/c/7142/3/src/libbsc/bsc_subscr_conn_fsm.c
File src/libbsc/bsc_subscr_conn_fsm.c:

Line 246: 		/* FIXME: Extract Mobile ID and update FSM using osmo_fsm_inst_set_id() */
related: https://osmocom.org/issues/2969, i.e. we will probably extract the mobile identity earlier, where the imsi filter code is. Then we just take the bsub->imsi here or something.


Line 265: 		/* FIXME: Extract optional IMSI and update FSM using osmo_fsm_inst_set_id() */
related: https://osmocom.org/issues/2969 (same as above)


Line 322: 		 * should be restructured */
should still be restructured?


https://gerrit.osmocom.org/#/c/7142/3/tests/handover/handover_test.c
File tests/handover/handover_test.c:

Line 63: 	 * Unfortunately, the fi pointer we get here is (normally) unpopulated
"normally", the fi is of course populated, just in this artificial test setup it isn't.

I think this comment should shout really loudly first off and above all that the fi pointer is misused to referene a completely unrelated instance, and then explain a little bit why. Right now from reading this comment as uninformed reader I don't understand the hack.

Added bonus would be to still use the bts_fi like in a real setup and wrap away all its outside actions, so that we don't need super ugly hacks like this.

On a different take, @laforge: should we consider taking this entire test suite out of here into ttcn3? Would be some coding effort, but then we'd not have these kinds of issues.


-- 
To view, visit https://gerrit.osmocom.org/7142
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I68286d26e2014048b054f39ef29c35fef420cc97
Gerrit-PatchSet: 3
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list