gsm 04.08: encode the LTE neighbors measurement bandwindth in Channel Release

Encoding missing measurement bandwidth of LTE neighbors in Channel Release
(Cell selection indicator after release of all TCH and SDCCH value part).
The measurement bandwidth was encoded in the neighbors description transmitted in
SI2quater while missing in the Channel Release which would overwrite the
SI2quater measurement bandwidth.

Change-Id: I4847d840ba9d5ac56bd00e4f405dc47792008c0d
This commit is contained in:
Alexander Couzens 2020-09-09 03:23:30 +02:00
parent cdfd687af4
commit 27a887f666
1 changed files with 8 additions and 2 deletions

View File

@ -270,8 +270,14 @@ static int generate_cell_sel_ind_after_rel(uint8_t *out, unsigned int out_len, c
} else {
bitvec_set_bit(&bv, 1);
bitvec_set_uint(&bv, e->arfcn[i], 16);
/* No "Measurement Bandwidth" */
bitvec_set_bit(&bv, 0);
/* Measurement Bandwidth: 9.1.54 */
if (OSMO_EARFCN_MEAS_INVALID == e->meas_bw[i])
bitvec_set_bit(&bv, 0);
else {
bitvec_set_bit(&bv, 1);
bitvec_set_uint(&bv, e->meas_bw[i], 3);
}
/* No "Not Allowed Cells" */
bitvec_set_bit(&bv, 0);
/* No "TARGET_PCID" */