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.orgdexter has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/25762 ) Change subject: bts: set pwrc value in bts_alloc ...................................................................... bts: set pwrc value in bts_alloc The pwrc value is currently set from bootstrap_bts() in osmo_bsc_main.c. The value is set to 0. Since the BTS object is allocated using talloc it is guaranteed to be 0 from the beginning. Lets set it from bts_alloc anyway so that we have a place holder that is easy to find. Change-Id: Id76879a94cf8cf8c07e8fc7e8aa399cd50e04e9a --- M src/osmo-bsc/bts.c M src/osmo-bsc/osmo_bsc_main.c 2 files changed, 1 insertion(+), 2 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved fixeria: Looks good to me, but someone else must approve diff --git a/src/osmo-bsc/bts.c b/src/osmo-bsc/bts.c index dc835d5..82fe496 100644 --- a/src/osmo-bsc/bts.c +++ b/src/osmo-bsc/bts.c @@ -271,6 +271,7 @@ bts->si_common.chan_desc.bs_pa_mfrms = RSL_BS_PA_MFRMS_5; /* paging frames */ bts->si_common.chan_desc.bs_ag_blks_res = 1; /* reserved AGCH blocks */ bts->si_common.chan_desc.t3212 = osmo_tdef_get(net->T_defs, 3212, OSMO_TDEF_CUSTOM, -1); + bts->si_common.cell_options.pwrc = 0; /* PWRC not set */ gsm_bts_set_radio_link_timeout(bts, 32); /* Use RADIO LINK TIMEOUT of 32 */ INIT_LLIST_HEAD(&bts->abis_queue); diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c index 2931dcf..757f053 100644 --- a/src/osmo-bsc/osmo_bsc_main.c +++ b/src/osmo-bsc/osmo_bsc_main.c @@ -510,8 +510,6 @@ bts->si_common.chan_desc.ccch_conf = (n << 1); } - bts->si_common.cell_options.pwrc = 0; /* PWRC not set */ - bts->si_common.cell_sel_par.acs = 0; bts->si_common.ncc_permitted = 0xff; -- To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/25762 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Change-Id: Id76879a94cf8cf8c07e8fc7e8aa399cd50e04e9a Gerrit-Change-Number: 25762 Gerrit-PatchSet: 2 Gerrit-Owner: dexter <pmaier at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <pmaier at sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de> Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211014/6fa4d75b/attachment.htm>