diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2020-03-09 15:42:33 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2020-03-09 19:02:22 +0700 |
commit | e5ee0e5ef19c8c4c48f7999238d39ca70cce4114 (patch) | |
tree | 811263faa51362c0482a8a40e2345a09e2824702 /src/host/layer23 | |
parent | d3396238678b0f586346f7d762be340984d1c6f2 (diff) |
firmware/layer1: introduce experimental PDCH supportfixeria/gprs
Change-Id: I44531bbe8743c188cc5d4a6ca2a63000e41d6189
Diffstat (limited to 'src/host/layer23')
-rw-r--r-- | src/host/layer23/src/common/l1ctl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c index b6ee455a..6444fffb 100644 --- a/src/host/layer23/src/common/l1ctl.c +++ b/src/host/layer23/src/common/l1ctl.c @@ -319,6 +319,12 @@ static int rx_ph_data_ind(struct osmocom_ms *ms, struct msgb *msg) dl->snr, ccch->data, sizeof(ccch->data)); } + /* HACK: Do not pass PDTCH / PTCCH frames to LAPDm */ + if (chan_type == RSL_CHAN_OSMO_PDCH) { + msgb_free(msg); + return 0; + } + /* determine LAPDm entity based on SACCH or not */ if (dl->link_id & 0x40) le = &ms->lapdm_channel.lapdm_acch; |