diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-07-30 18:28:46 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-07-31 00:48:06 +0700 |
commit | 8194febb09f75c9027d52e8376b679d3327e97a3 (patch) | |
tree | 48c466cc4c60bd0cbf0614caf5bcf076b8826eaa /src/host/layer23/src/common/l1ctl.c | |
parent | 7c7632de3ebb1eb7706047c445845e97ab8717b4 (diff) |
layer23/mobile: implement handling of TCH test loop commands
For more information, see 3GPP TS 44.014, sections:
- 5.1 "Single-slot TCH loops", and
- 8 "Message definitions and contents".
This feature has nothing to do with the Mobility Management, so
let's handle GSM48_PDISC_TEST messages in the Radio Resources
layer implementation (gsm48_mm.c -> gsm48_rr.c).
Change-Id: If8efc57c7017aa8ea47b37c472d1bbb1914389ca
Diffstat (limited to 'src/host/layer23/src/common/l1ctl.c')
-rw-r--r-- | src/host/layer23/src/common/l1ctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c index 54c7452a..da30767c 100644 --- a/src/host/layer23/src/common/l1ctl.c +++ b/src/host/layer23/src/common/l1ctl.c @@ -461,7 +461,7 @@ int l1ctl_tx_ccch_mode_req(struct osmocom_ms *ms, uint8_t ccch_mode) /* Transmit L1CTL_TCH_MODE_REQ */ int l1ctl_tx_tch_mode_req(struct osmocom_ms *ms, uint8_t tch_mode, - uint8_t audio_mode) + uint8_t audio_mode, uint8_t tch_loop_mode) { struct msgb *msg; struct l1ctl_tch_mode_req *req; @@ -475,6 +475,7 @@ int l1ctl_tx_tch_mode_req(struct osmocom_ms *ms, uint8_t tch_mode, req = (struct l1ctl_tch_mode_req *) msgb_put(msg, sizeof(*req)); req->tch_mode = tch_mode; req->audio_mode = audio_mode; + req->tch_loop_mode = tch_loop_mode; return osmo_send_l1(ms, msg); } |