Change in osmo-bsc[master]: add CTRL 'rf_states' and 'bts.N.rf_states'

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

neels gerrit-no-reply at
Mon Sep 6 20:24:32 UTC 2021

Hello Jenkins Builder, 

I'd like you to reexamine a change. Please visit

to look at the new patch set (#3).

Change subject: add CTRL 'rf_states' and 'bts.N.rf_states'

add CTRL 'rf_states' and 'bts.N.rf_states'

These commands return a listing of OML state, RF policy as well as RSL
connection status for each TRX in the form:


For example, the root node 'rf_states' may return:


A 'bts.N.rf_states' returns the same form of string, but lists only the
TRX for the given BTS nr.

Note, there is already a CTRL command 'bts.N.rf_state' (singular
'rf_state', not plural 'rf_states'), which only reflects the overall
status of all TRX combined. This new command has per-TRX resolution.

The rf-policy is so far always looked up in the global gsm_network flag,
as does the old 'rf_state' command; see osmo_bsc_rf_get_policy_by_bts()
which does not depend on the specific BTS at all. This may be worth
revisiting in the future, so I am already including the rf-policy in the
rf_state string for each TRX, even though it is globally identical.

Related: SYS#5542
Related: I01e6f391a5e71b0606c42be9b57f8a1687d59bcb (osmo-ttcn3-hacks)
Change-Id: I14fa2678fc8f2c11a879c5e9615ac552782c5b7e
M include/osmocom/bsc/osmo_bsc_rf.h
M src/osmo-bsc/bsc_ctrl_commands.c
M src/osmo-bsc/bsc_rf_ctrl.c
3 files changed, 119 insertions(+), 0 deletions(-)

  git pull ssh:// refs/changes/87/25387/3
To view, visit
To unsubscribe, or for help writing mail filters, visit

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I14fa2678fc8f2c11a879c5e9615ac552782c5b7e
Gerrit-Change-Number: 25387
Gerrit-PatchSet: 3
Gerrit-Owner: neels <nhofmeyr at>
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gerrit-log mailing list