diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-06-01 11:44:27 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-06-02 08:17:59 +0000 |
commit | 2e78f900cfd5d62f885900d1c58b1d1e6bb79756 (patch) | |
tree | 9756526e20b67ab11e2a344c8e7ea15ac82443e7 /src/gsm | |
parent | b606d76813b72db8fbc86508f6b969204e728c5e (diff) |
lapdm: Don't truncate L3 payload at 200 bytes length
3GPP TS 04.06 is quite clear that the [segmented] L3 payload can be as
long as 251 bytes. Our libosmocore lapdm implementation truncated
already at 200 bytes :(
Change-Id: I6769986f27dda1d429ed7b2e32c36d34663acba9
Closes: OS#4035
Diffstat (limited to 'src/gsm')
-rw-r--r-- | src/gsm/lapdm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm/lapdm.c b/src/gsm/lapdm.c index d76175bf..f1651d6d 100644 --- a/src/gsm/lapdm.c +++ b/src/gsm/lapdm.c @@ -136,7 +136,7 @@ static void lapdm_dl_init(struct lapdm_datalink *dl, { memset(dl, 0, sizeof(*dl)); dl->entity = entity; - lapd_dl_init(&dl->dl, 1, 8, 200); + lapd_dl_init(&dl->dl, 1, 8, 251); /* Section 5.8.5 of TS 04.06 */ dl->dl.reestablish = 0; /* GSM uses no reestablish */ dl->dl.send_ph_data_req = lapdm_send_ph_data_req; dl->dl.send_dlsap = send_rslms_dlsap; |