diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-02-23 13:53:33 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-02-23 19:57:52 +0100 |
commit | aa9ce821a09ebbe95364926a54aed6871d59d026 (patch) | |
tree | 876c0272f7fda9b34bd4152d7870ac30f290ed1a /src/common/l1sap.c | |
parent | 1effad1004d203c755b475ea6ef26586d45153f0 (diff) |
l1sap: Pass is_sub from L1 primitive into the Uplink Measurement
info_meas_ind on the L1SAP always allowed the lower layers to pass
in whether a given measurement is part of the "SUB", or not.
However, the existing l1sap code before this patch simply drops this
information, despite the measurement.c code also having "is_sub" state.
Let's make sure this state is passed from L1SAP into measurement
processing as intended.
Fact is, none of our current lower-layers actually set this is_sub flag
for their primitives passed up in L1SAP, but at least now *if* they
would set that flag, the measurement code would process it as intended.
Related: OS#2978
Change-Id: Ibed2e8d7563b471c6b5dd2214ac4765caf31ed2a
Diffstat (limited to 'src/common/l1sap.c')
-rw-r--r-- | src/common/l1sap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c index f6a04eab..3580a73f 100644 --- a/src/common/l1sap.c +++ b/src/common/l1sap.c @@ -525,6 +525,7 @@ static int l1sap_info_meas_ind(struct gsm_bts_trx *trx, ulm.ta_offs_qbits = info_meas_ind->ta_offs_qbits; ulm.ber10k = info_meas_ind->ber10k; ulm.inv_rssi = info_meas_ind->inv_rssi; + ulm.is_sub = info_meas_ind->is_sub; /* we assume that symbol period is 1 bit: */ set_ms_to_data(lchan, info_meas_ind->ta_offs_qbits / 4, true); |