diff options
Diffstat (limited to 'src/target/firmware/layer1/l23_api.c')
-rw-r--r-- | src/target/firmware/layer1/l23_api.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/target/firmware/layer1/l23_api.c b/src/target/firmware/layer1/l23_api.c index de298cf6..16f89694 100644 --- a/src/target/firmware/layer1/l23_api.c +++ b/src/target/firmware/layer1/l23_api.c @@ -202,6 +202,15 @@ static void l1ctl_rx_dm_est_req(struct msgb *msg) l1a_mftask_set(1 << chan_nr2mf_task(ul->chan_nr)); } +/* receive a L1CTL_DM_REL_REQ from L23 */ +static void l1ctl_rx_dm_rel_req(struct msgb *msg) +{ + struct l1ctl_hdr *l1h = (struct l1ctl_hdr *) msg->data; + struct l1ctl_info_ul *ul = (struct l1ctl_info_ul *) l1h->data; + + l1a_mftask_set(0); +} + /* receive a L1CTL_RACH_REQ from L23 */ static void l1ctl_rx_rach_req(struct msgb *msg) { @@ -354,6 +363,9 @@ static void l1a_l23_rx_cb(uint8_t dlci, struct msgb *msg) case L1CTL_DM_EST_REQ: l1ctl_rx_dm_est_req(msg); break; + case L1CTL_DM_REL_REQ: + l1ctl_rx_dm_rel_req(msg); + break; case L1CTL_RACH_REQ: l1ctl_rx_rach_req(msg); break; |