diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-26 18:15:06 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-26 18:15:57 +0100 |
commit | d0ed9218bc79a25b46023a6cc57aedcda3fc9152 (patch) | |
tree | c8a9609da0fff4967574b1d7af375d58a65f4788 /include/osmocom | |
parent | e4c50d5a43f129aa4bdfaf62a7238c4db671974b (diff) | |
parent | 3dc4e16786d1e5723e76ad7c70ad54134957f9e5 (diff) |
Merge remote-tracking branch 'daniel/lapdm-desync'
This should fix long delays when sending a long SMS on an encrypted
channel. It is the most minimal change to the polling mode. One
option we discussed internally is to queue a higher level representation
and generate the actual LAPDm frames later.
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/gsm/lapd_core.h | 1 | ||||
-rw-r--r-- | include/osmocom/gsm/lapdm.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/gsm/lapd_core.h b/include/osmocom/gsm/lapd_core.h index c2fdc622..f88fb112 100644 --- a/include/osmocom/gsm/lapd_core.h +++ b/include/osmocom/gsm/lapd_core.h @@ -125,6 +125,7 @@ struct lapd_datalink { int (*send_dlsap)(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx); int (*send_ph_data_req)(struct lapd_msg_ctx *lctx, struct msgb *msg); + int (*update_pending_frames)(struct lapd_msg_ctx *lctx); struct { /*! \brief filled-in once we set the lapd_mode above */ struct lapd_cr_ent loc2rem; diff --git a/include/osmocom/gsm/lapdm.h b/include/osmocom/gsm/lapdm.h index a6e4ad72..93934068 100644 --- a/include/osmocom/gsm/lapdm.h +++ b/include/osmocom/gsm/lapdm.h @@ -81,6 +81,8 @@ struct lapdm_channel { const char *get_rsl_name(int value); extern const char *lapdm_state_names[]; +struct lapdm_datalink *lapdm_datalink_for_sapi(struct lapdm_entity *le, uint8_t sapi); + /* initialize a LAPDm entity */ void lapdm_entity_init(struct lapdm_entity *le, enum lapdm_mode mode, int t200); void lapdm_channel_init(struct lapdm_channel *lc, enum lapdm_mode mode); |