Change in osmo-bts[master]: bts-trx: Remove unused function l1if_provision_transceiver()

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/.

pespin gerrit-no-reply at lists.osmocom.org
Mon Jul 6 15:34:59 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/19162 )


Change subject: bts-trx: Remove unused function l1if_provision_transceiver()
......................................................................

bts-trx: Remove unused function l1if_provision_transceiver()

Change-Id: I509fdbc7883f227cef4b7e46cb68fa2418c63f97
---
M src/osmo-bts-trx/l1_if.c
M src/osmo-bts-trx/l1_if.h
2 files changed, 0 insertions(+), 25 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/62/19162/1

diff --git a/src/osmo-bts-trx/l1_if.c b/src/osmo-bts-trx/l1_if.c
index f47fc05..a3bdf01 100644
--- a/src/osmo-bts-trx/l1_if.c
+++ b/src/osmo-bts-trx/l1_if.c
@@ -363,30 +363,6 @@
 	return 0;
 }
 
-int l1if_provision_transceiver(struct gsm_bts *bts)
-{
-	struct gsm_bts_trx *trx;
-	uint8_t tn;
-
-	llist_for_each_entry(trx, &bts->trx_list, list) {
-		struct phy_instance *pinst = trx_phy_instance(trx);
-		struct trx_l1h *l1h = pinst->u.osmotrx.hdl;
-		l1h->config.trxd_hdr_ver_req = 0;
-		l1h->config.trxd_hdr_ver_use = 0;
-		l1h->config.setformat_sent = 0;
-		l1h->config.arfcn_sent = 0;
-		l1h->config.tsc_sent = 0;
-		l1h->config.bsic_sent = 0;
-		l1h->config.rxgain_sent = 0;
-		l1h->config.maxdly_sent = 0;
-		l1h->config.maxdlynb_sent = 0;
-		for (tn = 0; tn < TRX_NR_TS; tn++)
-			l1h->config.slottype_sent[tn] = 0;
-		l1if_provision_transceiver_trx(l1h);
-	}
-	return 0;
-}
-
 /*
  * activation/configuration/deactivation of transceiver's TRX
  */
diff --git a/src/osmo-bts-trx/l1_if.h b/src/osmo-bts-trx/l1_if.h
index 7f60ca3..d2fdf06 100644
--- a/src/osmo-bts-trx/l1_if.h
+++ b/src/osmo-bts-trx/l1_if.h
@@ -120,7 +120,6 @@
 
 struct trx_l1h *trx_l1h_alloc(void *tall_ctx, struct phy_instance *pinst);
 int l1if_provision_transceiver_trx(struct trx_l1h *l1h);
-int l1if_provision_transceiver(struct gsm_bts *bts);
 int l1if_mph_time_ind(struct gsm_bts *bts, uint32_t fn);
 void l1if_trx_set_nominal_power(struct gsm_bts_trx *trx, int nominal_power);
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/19162
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I509fdbc7883f227cef4b7e46cb68fa2418c63f97
Gerrit-Change-Number: 19162
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200706/ef999c83/attachment.htm>


More information about the gerrit-log mailing list