fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-bts/+/27750 )
Change subject: osmo-bts-trx: rename 'loops.[ch]' to 'amr_loop.[ch]'
......................................................................
osmo-bts-trx: rename 'loops.[ch]' to 'amr_loop.[ch]'
There is nothing else except the AMR link adaptation loop in these files.
Change-Id: Iff2c0d32da5cd89824197d05f4732ce974c12f28
Related: SYS#5917, OS#4984
---
M src/osmo-bts-trx/Makefile.am
R src/osmo-bts-trx/amr_loop.c
R src/osmo-bts-trx/amr_loop.h
M src/osmo-bts-trx/sched_lchan_tchf.c
M src/osmo-bts-trx/sched_lchan_tchh.c
M src/osmo-bts-trx/trx_vty.c
6 files changed, 7 insertions(+), 7 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/50/27750/1
diff --git a/src/osmo-bts-trx/Makefile.am b/src/osmo-bts-trx/Makefile.am
index afa5414..f6094dd 100644
--- a/src/osmo-bts-trx/Makefile.am
+++ b/src/osmo-bts-trx/Makefile.am
@@ -32,7 +32,7 @@
sched_utils.h \
trx_if.h \
l1_if.h \
- loops.h \
+ amr_loop.h \
trx_provision_fsm.h \
$(NULL)
@@ -51,7 +51,7 @@
sched_lchan_tchh.c \
trx_provision_fsm.c \
trx_vty.c \
- loops.c \
+ amr_loop.c \
probes.d \
$(NULL)
diff --git a/src/osmo-bts-trx/loops.c b/src/osmo-bts-trx/amr_loop.c
similarity index 97%
rename from src/osmo-bts-trx/loops.c
rename to src/osmo-bts-trx/amr_loop.c
index 4c70e8d..6cfb0fc 100644
--- a/src/osmo-bts-trx/loops.c
+++ b/src/osmo-bts-trx/amr_loop.c
@@ -1,4 +1,4 @@
-/* Loop control for OsmoBTS-TRX */
+/* AMR link adaptation loop (see 3GPP TS 45.009, section 3) */
/* (C) 2013 by Andreas Eversberg <jolly(a)eversberg.eu>
*
@@ -33,7 +33,7 @@
#include "trx_if.h"
#include "l1_if.h"
-#include "loops.h"
+#include "amr_loop.h"
void trx_loop_amr_input(struct l1sched_chan_state *chan_state,
int n_errors, int n_bits_total)
diff --git a/src/osmo-bts-trx/loops.h b/src/osmo-bts-trx/amr_loop.h
similarity index 100%
rename from src/osmo-bts-trx/loops.h
rename to src/osmo-bts-trx/amr_loop.h
diff --git a/src/osmo-bts-trx/sched_lchan_tchf.c b/src/osmo-bts-trx/sched_lchan_tchf.c
index f886e59..8ca0961 100644
--- a/src/osmo-bts-trx/sched_lchan_tchf.c
+++ b/src/osmo-bts-trx/sched_lchan_tchf.c
@@ -43,7 +43,7 @@
#include <osmo-bts/msg_utils.h>
#include <sched_utils.h>
-#include <loops.h>
+#include <amr_loop.h>
/* 3GPP TS 45.009, table 3.2.1.3-{1,3}: AMR on Uplink TCH/F.
*
diff --git a/src/osmo-bts-trx/sched_lchan_tchh.c b/src/osmo-bts-trx/sched_lchan_tchh.c
index c9811da..e3ce600 100644
--- a/src/osmo-bts-trx/sched_lchan_tchh.c
+++ b/src/osmo-bts-trx/sched_lchan_tchh.c
@@ -43,7 +43,7 @@
#include <osmo-bts/msg_utils.h>
#include <sched_utils.h>
-#include <loops.h>
+#include <amr_loop.h>
/* 3GPP TS 45.009, table 3.2.1.3-{2,4}: AMR on Uplink TCH/H.
*
diff --git a/src/osmo-bts-trx/trx_vty.c b/src/osmo-bts-trx/trx_vty.c
index 2b8bc24..bd6b3b1 100644
--- a/src/osmo-bts-trx/trx_vty.c
+++ b/src/osmo-bts-trx/trx_vty.c
@@ -46,7 +46,7 @@
#include "l1_if.h"
#include "trx_if.h"
-#include "loops.h"
+#include "amr_loop.h"
#define X(x) (1 << x)
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bts/+/27750
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Iff2c0d32da5cd89824197d05f4732ce974c12f28
Gerrit-Change-Number: 27750
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange