diff options
author | Andreas.Eversberg <jolly@eversberg.eu> | 2010-08-14 17:10:26 +0000 |
---|---|---|
committer | Andreas.Eversberg <jolly@eversberg.eu> | 2010-08-14 17:10:26 +0000 |
commit | 4337d3bb2e2a0d205a2f846160633d4bf4b6ec83 (patch) | |
tree | 17737d430c8753f54182388163fa64f437fbadf9 /src/host/layer23/src/common/l1ctl.c | |
parent | 49d6f1aca9b8d57c27878bd8e3ba79c521e5545d (diff) |
[layer23] Added (incomplete) ASSIGNMENT COMMAND handling
This commit features handling of ASSIGNMENT COMMAND. Currently only channel
descriptions "after time" are processed, which is mostly the case.
The ASSIGNMENT COMMAND is essential, because public networks assign an
SDCCH4/8 before actually assigning a TCH.
Diffstat (limited to 'src/host/layer23/src/common/l1ctl.c')
-rw-r--r-- | src/host/layer23/src/common/l1ctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c index 2aa3ab5a..835de5d3 100644 --- a/src/host/layer23/src/common/l1ctl.c +++ b/src/host/layer23/src/common/l1ctl.c @@ -149,7 +149,9 @@ static int rx_ph_data_ind(struct osmocom_ms *ms, struct msgb *msg) rsl_chan_nr_str(dl->chan_nr), tm.t1, tm.t2, tm.t3, hexdump(ccch->data, sizeof(ccch->data))); + meas->last_fn = ntohl(dl->frame_nr); meas->frames++; + meas->snr += dl->snr; meas->berr += dl->num_biterr; meas->rxlev += dl->rx_level; |