diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2011-10-28 04:07:07 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-12-01 11:49:15 +0100 |
commit | f7396eac2f03d612ab27ff279dfefaf3058bf591 (patch) | |
tree | 1d707854015c469532bbe294921075d4c4381942 /openbsc/include | |
parent | 07dec137deaf5505564fdacec5f3b83ee9399a39 (diff) |
sms: Replaced the SMC process by new implementation in libosmocore
This has been rebased and fixed by Holger Freyther. The change of
the debug area was split out in a previous commit and the is_mt was
put back into the transaction code.
The transaction is now freed from the RELEASE_REQ sent by the SMC
layer and not inside the error path. When clearing the SMC instance
we also clear the callbacks.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/transaction.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/include/openbsc/transaction.h b/openbsc/include/openbsc/transaction.h index 04abb9c41..db6a704b1 100644 --- a/openbsc/include/openbsc/transaction.h +++ b/openbsc/include/openbsc/transaction.h @@ -6,6 +6,7 @@ #include <osmocom/core/linuxlist.h> #include <openbsc/gsm_04_11.h> #include <openbsc/mncc.h> +#include <osmocom/gsm/gsm0411_smc.h> /* One transaction */ struct gsm_trans { @@ -48,11 +49,10 @@ struct gsm_trans { struct { uint8_t link_id; /* RSL Link ID to be used for this trans */ int is_mt; /* is this a MO (0) or MT (1) transfer */ - enum gsm411_cp_state cp_state; - struct osmo_timer_list cp_timer; - enum gsm411_rp_state rp_state; + struct gsm411_smc_inst smc_inst; + struct gsm_sms *sms; } sms; }; |