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
Review at https://gerrit.osmocom.org/2411
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/1
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 472f8f9..79f6ae4 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -196,7 +196,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: newchange
Gerrit-Change-Id: Ideffe896613e0feda443bc13dac59dcdbbc605aa
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>