diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/host/layer23/src/common/lapdm.c | 6 | ||||
-rw-r--r-- | src/host/layer23/src/mobile/gsm48_rr.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/host/layer23/src/common/lapdm.c b/src/host/layer23/src/common/lapdm.c index 259f5b1b..3ee157d6 100644 --- a/src/host/layer23/src/common/lapdm.c +++ b/src/host/layer23/src/common/lapdm.c @@ -373,7 +373,7 @@ static int send_rslms_rll_l3_ui(struct lapdm_msg_ctx *mctx, struct msgb *msg) mctx->link_id, 1); rllh = (struct abis_rsl_rll_hdr *)msgb_l2(msg); - rllh->data[0] = RSL_IE_ACCESS_DELAY; + rllh->data[0] = RSL_IE_TIMING_ADVANCE; rllh->data[1] = mctx->ta_ind; rllh->data[2] = RSL_IE_MS_POWER; @@ -1664,8 +1664,8 @@ static int rslms_rx_rll_udata_req(struct msgb *msg, struct lapdm_datalink *dl) rsl_tlv_parse(&tv, rllh->data, msgb_l2len(msg)-sizeof(*rllh)); - if (TLVP_PRESENT(&tv, RSL_IE_ACCESS_DELAY)) { - ta = *TLVP_VAL(&tv, RSL_IE_ACCESS_DELAY); + if (TLVP_PRESENT(&tv, RSL_IE_TIMING_ADVANCE)) { + ta = *TLVP_VAL(&tv, RSL_IE_TIMING_ADVANCE); } if (TLVP_PRESENT(&tv, RSL_IE_MS_POWER)) { tx_power = *TLVP_VAL(&tv, RSL_IE_MS_POWER); diff --git a/src/host/layer23/src/mobile/gsm48_rr.c b/src/host/layer23/src/mobile/gsm48_rr.c index dbc191f0..bc30d067 100644 --- a/src/host/layer23/src/mobile/gsm48_rr.c +++ b/src/host/layer23/src/mobile/gsm48_rr.c @@ -3043,7 +3043,7 @@ static int gsm48_rr_tx_meas_rep(struct osmocom_ms *ms) msgb_tv16_push(nmsg, RSL_IE_L3_INFO, nmsg->tail - (uint8_t *)msgb_l3(nmsg)); msgb_push(nmsg, 2 + 2); - nmsg->data[0] = RSL_IE_ACCESS_DELAY; + nmsg->data[0] = RSL_IE_TIMING_ADVANCE; nmsg->data[1] = ta; nmsg->data[2] = RSL_IE_MS_POWER; nmsg->data[3] = tx_power; |