diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-09-27 17:55:31 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-09-28 12:02:03 +0200 |
commit | 3871c1ff0ca3b125ce0436b42d6a6e20c1cd10c6 (patch) | |
tree | 401b90182aca70ad0e23bc0f9ba9275b6f3ccb56 /include | |
parent | 5f4e7291222d0135d7609d7cd0c3da2fee5412d9 (diff) |
Decouple handling of Measurement Report from lapdm
This is a preparation commit in order to move power loops up in the
stack in order to have DTXu information available, in order to decide
whether SUB or FULL ul measurements should be used in the MS Power
Control Loop.
Function rsl_tx_meas_res() is stripped from code changing state, and it
simply encodes content and transmits the message.
Change-Id: Id67259ec9ac4c2c33bd0eef3f64450affbe3fb9f
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/measurement.h | 2 | ||||
-rw-r--r-- | include/osmo-bts/rsl.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/osmo-bts/measurement.h b/include/osmo-bts/measurement.h index 45f275f1..481b7bed 100644 --- a/include/osmo-bts/measurement.h +++ b/include/osmo-bts/measurement.h @@ -20,4 +20,6 @@ bool ts45008_83_is_sub(struct gsm_lchan *lchan, uint32_t fn); int is_meas_complete(struct gsm_lchan *lchan, uint32_t fn); +int handle_ms_meas_report(struct gsm_lchan *lchan, struct gsm48_hdr *gh, unsigned int len); + #endif diff --git a/include/osmo-bts/rsl.h b/include/osmo-bts/rsl.h index 4e79de5e..16630067 100644 --- a/include/osmo-bts/rsl.h +++ b/include/osmo-bts/rsl.h @@ -34,6 +34,6 @@ void ipacc_dyn_pdch_complete(struct gsm_bts_trx_ts *ts, int rc); int rsl_tx_cbch_load_indication(struct gsm_bts *bts, bool ext_cbch, bool overflow, uint8_t amount); -int rsl_tx_meas_res(struct gsm_lchan *lchan, uint8_t *l3, int l3_len, const struct lapdm_entity *le); +int rsl_tx_meas_res(struct gsm_lchan *lchan, uint8_t *l3, int l3_len, int timing_offset); #endif // _RSL_H */ |