fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmocom-bb/+/28789 )
Change subject: trxcon: make [l1sched_]tchh_block_dl_first_fn() static
......................................................................
trxcon: make [l1sched_]tchh_block_dl_first_fn() static
Change-Id: Ic3b990aaa1a3a3e13a80a63e1933799e58e7158f
---
M src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h
M src/host/trxcon/src/sched_lchan_tchh.c
2 files changed, 3 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/89/28789/1
diff --git a/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h
b/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h
index 1719ff8..29b6933 100644
--- a/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h
+++ b/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h
@@ -469,8 +469,6 @@
size_t l1sched_bad_frame_ind(uint8_t *l2, struct l1sched_lchan_state *lchan);
/* Interleaved TCH/H block TDMA frame mapping */
-uint32_t l1sched_tchh_block_dl_first_fn(enum l1sched_lchan_type chan,
- uint32_t last_fn, bool facch);
bool l1sched_tchh_block_map_fn(enum l1sched_lchan_type chan,
uint32_t fn, bool ul, bool facch, bool start);
diff --git a/src/host/trxcon/src/sched_lchan_tchh.c
b/src/host/trxcon/src/sched_lchan_tchh.c
index b0bc566..2b4b682 100644
--- a/src/host/trxcon/src/sched_lchan_tchh.c
+++ b/src/host/trxcon/src/sched_lchan_tchh.c
@@ -149,8 +149,8 @@
* @return either frame number of the first burst,
* or fn=last_fn if calculation failed
*/
-uint32_t l1sched_tchh_block_dl_first_fn(enum l1sched_lchan_type chan,
- uint32_t last_fn, bool facch)
+static uint32_t tchh_block_dl_first_fn(enum l1sched_lchan_type chan,
+ uint32_t last_fn, bool facch)
{
uint8_t fn_mf, fn_diff;
int i = 0;
@@ -331,7 +331,7 @@
/* Didn't try to decode, fake measurements */
if (n_errors < 0) {
lchan->meas_avg = (struct l1sched_meas_set) {
- .fn = l1sched_tchh_block_dl_first_fn(lchan->type, fn, false),
+ .fn = tchh_block_dl_first_fn(lchan->type, fn, false),
.toa256 = 0,
.rssi = -110,
};
--
To view, visit
https://gerrit.osmocom.org/c/osmocom-bb/+/28789
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ic3b990aaa1a3a3e13a80a63e1933799e58e7158f
Gerrit-Change-Number: 28789
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange