Attention is currently required from: pespin, fixeria.
osmith has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-bsc/+/27921
)
Change subject: Always use reported features if available
......................................................................
Patch Set 1:
(2 comments)
File src/osmo-bsc/bts.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/27921/comment/2186f4b5_ab576150
PS1, Line 693: !osmo_bts_has_feature(&bts->features, BTS_FEAT_GPRS)) {
note: model->features field can probably be turned
const in the struct definition?
This would need some refactoring, currently the
various bts models make use of osmo_bts_set_feature(&model.features to set the
model's features on initialization.
File src/osmo-bsc/bts_trx_vty.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/27921/comment/9f822830_16cb1905
PS1, Line 346: return CMD_WARNING;
Have you tested that starting osmo-bsc with 'model
osmo-bts' and hopping parameters is still possibl […]
Right, only the later
patch
https://gerrit.osmocom.org/c/osmo-bsc/+/27923/1 will make the features available in
the bts model (so they are used before the bts reports its features). I've moved the
change with "return CMD_WARNING" to that patch.
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bsc/+/27921
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Idf2d933aa8b03b1f708e56a08707fe6c620a97aa
Gerrit-Change-Number: 27921
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 25 Apr 2022 13:46:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment