diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-09-13 11:50:26 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-09-13 17:52:24 +0200 |
commit | c80abd109b9fc218de047a25ecf4d0de49ca2cdc (patch) | |
tree | c059b469c9f30b273787d16c5385e0a5bb12960f /include | |
parent | 8d218919596efff32b825fc3188742c0bf31cf73 (diff) |
MS Power Control Loop: Feed UL C/I from correct measurement period
As per 3GPP TS 45.008 sec 4.2, the ms_pwr received in L1 SACCH Header is
the value used over previous measurement period. Hence, we need to feed
the algo with the measurements taken over that same period.
Related: SYS#4917
Change-Id: I13c0014fdd73f823ae5b1256c35bfa7d97cfa334
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/gsm_data.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h index e2a1ae96..08694266 100644 --- a/include/osmo-bts/gsm_data.h +++ b/include/osmo-bts/gsm_data.h @@ -105,8 +105,8 @@ struct bts_ul_meas { uint16_t ber10k; /* timing advance offset (in 1/256 bits) */ int16_t ta_offs_256bits; - /* C/I ratio in dB */ - float c_i; + /* C/I ratio in cB */ + int16_t c_i; /* flags */ uint8_t is_sub:1; /* RSSI in dBm * -1 */ @@ -339,6 +339,8 @@ struct gsm_lchan { struct rsl_l1_info l1_info; struct gsm_meas_rep_unidir ul_res; int16_t ms_toa256; + int16_t ul_ci_cb_full; + int16_t ul_ci_cb_sub; /* Frame number of the last measurement indication receceived */ uint32_t last_fn; /* Osmocom extended measurement results, see LC_UL_M_F_EXTD_VALID */ |