measurement: make lchan_meas_check_compute() available to l1sap.c

lchan_meas_check_compute() is a static function measurement.c.
In order to distribute the measurement result calculation events,
we need to be able to call lchan_meas_check_compute() from l1sap.c

Change-Id: Ideffe896613e0feda443bc13dac59dcdbbc605aa
This commit is contained in:
Philipp Maier 2017-04-19 16:04:37 +02:00
parent 67d8c72c2e
commit 2f028c4e2c
2 changed files with 3 additions and 1 deletions

View File

@ -5,4 +5,6 @@ int lchan_new_ul_meas(struct gsm_lchan *lchan, struct bts_ul_meas *ulm);
int trx_meas_check_compute(struct gsm_bts_trx *trx, uint32_t fn);
int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn);
#endif

View File

@ -191,7 +191,7 @@ static uint8_t ber10k_to_rxqual(uint32_t ber10k)
return 7;
}
static int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn)
int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn)
{
struct gsm_meas_rep_unidir *mru;
uint32_t ber_full_sum = 0;