fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-sgsn/+/15385 )

Change subject: Implement GMM State using osmocom FSM
......................................................................


Patch Set 1:

(2 comments)

Same comments apply to both 'mm_state_gb_fsm' and 'mm_state_iu_fsm'.

https://gerrit.osmocom.org/#/c/15385/1/include/osmocom/sgsn/gprs_gmm_state_fsm.h
File include/osmocom/sgsn/gprs_gmm_state_fsm.h:

https://gerrit.osmocom.org/#/c/15385/1/include/osmocom/sgsn/gprs_gmm_state_fsm.h@6
PS1, Line 6: gmm_state_fsm_states
> I'm simply following convention of naming _states and _events the fields of 
> an osmocom FSM.

This is fine, I have nothing against '_states' and '_events' postfixes.

> It happens to be be by casuality that the machine definition is named "GMM 
> state"

Right now we have 'gmm_state' field in the 'sgsn_mm_ctx' structure. The purpose 
of this field is to store the current state, so it's logical to call it that 
way. You're introducing the FSM, so it doesn't make sense to follow the old 
naming.


https://gerrit.osmocom.org/#/c/15385/1/include/osmocom/sgsn/gprs_sgsn.h
File include/osmocom/sgsn/gprs_sgsn.h:

https://gerrit.osmocom.org/#/c/15385/1/include/osmocom/sgsn/gprs_sgsn.h@122
PS1, Line 122: gmm_state_fsm
In the other comment I mentioned this field. Let's call it 'gmm_fsm'.



--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/15385
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: Idecb43c10d66224d4f9ba9320825040ce6cf9a07
Gerrit-Change-Number: 15385
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: lynxis lazus <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-CC: fixeria <[email protected]>
Gerrit-Comment-Date: Tue, 03 Sep 2019 11:49:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <[email protected]>
Comment-In-Reply-To: fixeria <[email protected]>
Gerrit-MessageType: comment

Reply via email to