aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/nm_gprs_nse_fsm.c
AgeCommit message (Collapse)AuthorFilesLines
2022-11-15Add BTS setup ramping to prevent BSC overloadingAlexander Couzens1-3/+16
Prevent BSC overloading in the event of too many BTS try to connect. E.g. a network outage between the BSC and BTS. The BSC will accept incoming OML connection, but will delay sending any BSC originated messages. Change-Id: Id56dde6d58f3d0d20352f6c306598d2cccc6345d
2022-06-02nm_*_fsm: Remove comment no longer applyingPau Espin Pedrol1-2/+0
Since b7ef6884f91db7ffe7add51766abc311c9e7d05e, the state is updated before triggering the signal S_NM_STATECHG, so the warning does no longer hold true. Change-Id: I7b7dd30b4fcdc92febca42e3e6a75e6f98e184ff
2022-05-06nm_statechg_signal_data: Convert state ptr to dataPau Espin Pedrol1-4/+4
There's no need to use pointers there, it is only asking for errors from code handling the data structe from the signal by attempting to change them. Even for mem size point of view it doesn't make sense, since it's 3 byte vs a 4 byte pointer. Furthermore, this is a preparation for new commit, where the NM object current state will be updated before emitting the signal. This patch eases a lot the follow up mentioned patch. Change-Id: I9b648dfd8392b7b40bfe2b38f3345017481f5129
2022-05-05constify state pointers of struct gsm_nm_statePau Espin Pedrol1-5/+5
This makes sure code accessing those fields is not changing its values, since it would make no sense to change those. Follow up commit will make convert those pointers to be full structs instead, as there's no need to have pointers there. Change-Id: I9979e62eac861e25bbe2161ab187ddb2b40fd097
2022-05-05cosmetic: Fix open brace in same line as func definitionPau Espin Pedrol1-1/+2
Change-Id: Ibde106ea9ae1aea2b7f8fc6d9ed80eb79579b9e0
2022-04-25Rename functions generating OML SetAttr messagesPau Espin Pedrol1-1/+1
Its name is totally misleading, since they seem to be related to GetAttributes messages rather than SetAttributes. Change-Id: I306cb407dbd9b98e301b5d93046bdadcb466b82b
2020-12-13NM FSMs: fix DISABLED_NOTINSTALLED -> DISABLED_NOTINSTALLEDVadim Yanitskiy1-1/+2
This state transaction does not make sense, let's avoid it. Change-Id: I24a78905bb684f8501dc5ade0605662ec283febc Related: OS#4901
2020-12-03Introduce NM GPRS NSE FSMPau Espin Pedrol1-0/+371
Related: OS#4870 Change-Id: I91a5f40324d5373eac885032295690cec97214a6