diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2014-03-20 19:24:48 +0100 |
---|---|---|
committer | Daniel Willmann <daniel@totalueberwachung.de> | 2014-03-26 18:11:07 +0100 |
commit | 3dc4e16786d1e5723e76ad7c70ad54134957f9e5 (patch) | |
tree | c8a9609da0fff4967574b1d7af375d58a65f4788 /include | |
parent | 09129352f99a90a784912ae3c8ff442268a35480 (diff) |
gsm/lapdm: Prevent LAPD tx_queue from filling up in polling mode
If LAPDm receives an I-Frame while there already is an I-Frame in the
tx_queue the code generates an additional RR (to acknowledge the
received I-Frame). Instead, N(R) of the I-Frame in the tx_queue should
be updated to ACK the data.
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/gsm/lapd_core.h | 1 |
1 files changed, 1 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; |