summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMinh-Quang Nguyen <minh-quang.nguyen@nutaq.com>2017-01-18 16:49:00 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-27 22:17:22 +0000
commitf18862309172e63c9631863cddceedb20ca3add2 (patch)
tree63689eb5a4d35655262fdb0fb20eff7b35314489
parent42def7205ba91df4bbb7e3240be0df8c26c2d63e (diff)
rsl: Fix dropping of LAPDm UA message.
In some cases, when successive mobile originated calls are made, the LAPDm UA message gets lost because the channel is relased to early. Too overcome the problem we do not send release indications immediately. Instead a flag will be set and the message stored and sent on the next TCH-RTS-IND. This commit adds the required flag and the msg-buffer to struct gsm_lchan. See also coresponding change in osmo-bts.git: Change-Id Ie4f70c75f0137b4bd72d579b3a32575bac2fca38 This patch is is a slightly improved/reformatted version of: https://gitlab.com/nrw_noa/osmo-bts/commit/95d1f15ad108c1c1869c1965144acd64c1395d8c Change-Id: I15fc1ef8e9e83f009bde96de9a8e95702cffbce6
-rw-r--r--openbsc/include/openbsc/gsm_data_shared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index 5b05016..91bdfce 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -350,6 +350,8 @@ struct gsm_lchan {
uint8_t current;
uint8_t fixed;
} ms_power_ctrl;
+
+ struct msgb *pending_rel_ind_msg;
#endif
};