[PATCH] osmo-bts[master]: measurement: make lchan_meas_check_compute() available to l1...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Wed May 17 16:58:24 UTC 2017


Hello Max, Harald Welte, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/2411

to look at the new patch set (#3).

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
---
M include/osmo-bts/measurement.h
M src/common/measurement.c
2 files changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/11/2411/3

diff --git a/include/osmo-bts/measurement.h b/include/osmo-bts/measurement.h
index 2037ff6..2efe40f 100644
--- a/include/osmo-bts/measurement.h
+++ b/include/osmo-bts/measurement.h
@@ -5,4 +5,6 @@
 
 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
diff --git a/src/common/measurement.c b/src/common/measurement.c
index 6b06138..260304a 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -191,7 +191,7 @@
 	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;

-- 
To view, visit https://gerrit.osmocom.org/2411
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ideffe896613e0feda443bc13dac59dcdbbc605aa
Gerrit-PatchSet: 3
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list