laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/28269 )
Change subject: iuup: Drop unused events
......................................................................
iuup: Drop unused events
Those events are not realy used there and they are not even present in
the FSM definition. Let's drop them.
Change-Id: I4beec96ac4bdf047ebf144a8b009b297b47cacdc
---
M src/gsm/iuup.c
1 file changed, 0 insertions(+), 6 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/src/gsm/iuup.c b/src/gsm/iuup.c
index bd9e82c..4c0a948 100644
--- a/src/gsm/iuup.c
+++ b/src/gsm/iuup.c
@@ -757,12 +757,6 @@
irp = tnl_to_rnl_data(itp);
iui->user_prim_cb(&irp->oph, iui->user_prim_priv);
break;
- case IUUP_FSM_EVT_IUUP_UNITDATA_REQ:
- case IUUP_FSM_EVT_IUUP_UNITDATA_IND:
- case IUUP_FSM_EVT_SSASAR_UNITDATA_REQ:
- case IUUP_FSM_EVT_SSASAR_UNITDATA_IND:
- /* no state change */
- break;
}
}
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/28269
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I4beec96ac4bdf047ebf144a8b009b297b47cacdc
Gerrit-Change-Number: 28269
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged
laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/28268 )
Change subject: iuup: Add missing state to bitmask for st SMpSDU_Data_Transfer_Ready
......................................................................
iuup: Add missing state to bitmask for st SMpSDU_Data_Transfer_Ready
The event is expected since the user of the IuUP stack can send a
CONFIGURE.req to transition to state null. The handling was already
there in the function, but the bit was missing in the FSM definition.
Change-Id: I830835a5b8b98f8b91b866f5280f508098c9ae7e
---
M src/gsm/iuup.c
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
daniel: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
diff --git a/src/gsm/iuup.c b/src/gsm/iuup.c
index 2c70307..bd9e82c 100644
--- a/src/gsm/iuup.c
+++ b/src/gsm/iuup.c
@@ -826,7 +826,8 @@
.action = iuup_fsm_init,
},
[IUUP_FSM_ST_SMpSDU_DATA_XFER_READY] = {
- .in_event_mask = S(IUUP_FSM_EVT_IUUP_DATA_REQ) |
+ .in_event_mask = S(IUUP_FSM_EVT_IUUP_CONFIG_REQ) |
+ S(IUUP_FSM_EVT_IUUP_DATA_REQ) |
S(IUUP_FSM_EVT_IUUP_DATA_IND),
.out_state_mask = S(IUUP_FSM_ST_NULL) |
S(IUUP_FSM_ST_INIT),
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/28268
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I830835a5b8b98f8b91b866f5280f508098c9ae7e
Gerrit-Change-Number: 28268
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged
Attention is currently required from: pespin.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/28268 )
Change subject: iuup: Add missing state to bitmask for st SMpSDU_Data_Transfer_Ready
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/28268
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I830835a5b8b98f8b91b866f5280f508098c9ae7e
Gerrit-Change-Number: 28268
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 13 Jun 2022 18:44:35 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: pespin.
daniel has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/28268 )
Change subject: iuup: Add missing state to bitmask for st SMpSDU_Data_Transfer_Ready
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/28268
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I830835a5b8b98f8b91b866f5280f508098c9ae7e
Gerrit-Change-Number: 28268
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 13 Jun 2022 17:52:02 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment