Attention is currently required from: pespin.
neels has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-bsc/+/31615
)
Change subject: vty: add 'osmodyn' as alias for 'tch/f_tch/h_sdcch8_pdch'
......................................................................
Patch Set 1:
(1 comment)
File src/osmo-bsc/gsm_data.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/31615/comment/dac921f8_93d18781
PS1, Line 192: { GSM_PCHAN_OSMO_DYN, "OSMODYN" },
We use "OSMO_DYN", see line 209.
not
in the 'ts' / 'phys_chan_config' command we don't! see
bts_trx_vty_init().
oh, are you saying I should rather name it "OSMO_DYN"? I think that would be
wrong, because in the phys_chan_config command, the underscore serves as a separator. Like
"TCH/F_PDCH" is either "TCH/F" or "PDCH".
"OSMO_DYN" would look like it is a pchan offering one of "OSMO" or
"DYN".
(the "+" separator is about pchans that offer multiple things at the same time,
the "_" is for alternative modes)
But I'm a bit puzzled, where do we use gsm_pchan_ids[] then?
... we only use it in timeslot_fsm.c, lchan_fsm.c, assignment_fsm.c. It is the
CTRL-interface id compatible name for gsm_pchant_names. I guess we want to remove
gsm_pchan_ids[], rather use gsm_pchant_names[] and use
osmo_fsm_inst_update_id_f_sanitize() there? I'll see in a separate patch.
This confusion makes me notice that this patch should have a vty test to go with it.
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bsc/+/31615
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I37719edd867c777d1ce944b8e2f1efffac38f00e
Gerrit-Change-Number: 31615
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 01 Mar 2023 22:45:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment