diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-06-29 10:36:07 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-06-29 10:36:07 +0200 |
commit | 6818881d72cdde04eca4b1923a805190acde493c (patch) | |
tree | 02a808116ca27e88637e8880a02261b69138fbe3 /include/osmo-bts/measurement.h | |
parent | c5e01c8bd463e42ea3bbe4142941f43c548f14c7 (diff) |
implement baseic uplink measurement processing + reporting
* gather measurements from each PH-DATA.ind
* check every TDMA frame about meas period expiration
* compute averages after period expired
* put MS DL MEAS REP into RSL MEAS RES messages, include UL meas
bugs:
* L3 INFO content seems to have some offset
* is_sub is not set anywhere
* measurement periods might have up/downlink offset
Diffstat (limited to 'include/osmo-bts/measurement.h')
-rw-r--r-- | include/osmo-bts/measurement.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/osmo-bts/measurement.h b/include/osmo-bts/measurement.h new file mode 100644 index 00000000..5ad6795e --- /dev/null +++ b/include/osmo-bts/measurement.h @@ -0,0 +1,13 @@ +#ifndef OSMO_BTS_MEAS_H +#define OSMO_BTS_MEAS_H + +int lchan_new_ul_meas(struct gsm_lchan *lchan, struct bts_ul_meas *ulm); + +int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn); +int ts_meas_check_compute(struct gsm_bts_trx_ts *ts, uint32_t fn); +int trx_meas_check_compute(struct gsm_bts_trx *trx, uint32_t fn); + +/* build the 3 byte RSL uplinke measurement IE content */ +int lchan_build_rsl_ul_meas(struct gsm_lchan *, uint8_t *buf); + +#endif |