<p>neels <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25387">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">add CTRL 'rf_states' and 'bts.N.rf_states'<br><br>These commands return a listing of OML state, RF policy as well as RSL<br>connection status for each TRX in the form:<br><br> <bts_nr>,<trx_nr>,<opstate>,<adminstate>,<rf_policy>,<rsl_status>;<bts_nr>,<trx_nr>,...<br><br>For example, the root node 'rf_states' may return:<br><br> 0,0,operational,unlocked,on,rsl-up;1,0,operational,unlocked,on,rsl-down;2,0,inoperational,locked,on,rsl-down;<br><br>A 'bts.N.rf_states' returns the same form of string, but lists only the<br>TRX for the given BTS nr.<br><br>Note, there is already a CTRL command 'bts.N.rf_state' (singular<br>'rf_state', not plural 'rf_states'), which only reflects the overall<br>status of all TRX combined. This new command has per-TRX resolution.<br><br>The rf-policy is so far always looked up in the global gsm_network flag,<br>as does the old 'rf_state' command; see osmo_bsc_rf_get_policy_by_bts()<br>which does not depend on the specific BTS at all. This may be worth<br>revisiting in the future, so I am already including the rf-policy in the<br>rf_state string for each TRX, even though it is globally identical.<br><br>Related: SYS#5542<br>Related: I01e6f391a5e71b0606c42be9b57f8a1687d59bcb (osmo-ttcn3-hacks)<br>Change-Id: I14fa2678fc8f2c11a879c5e9615ac552782c5b7e<br>---<br>M include/osmocom/bsc/osmo_bsc_rf.h<br>M src/osmo-bsc/bsc_ctrl_commands.c<br>M src/osmo-bsc/bsc_rf_ctrl.c<br>3 files changed, 119 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/87/25387/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25387">change 25387</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-bsc/+/25387"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I14fa2678fc8f2c11a879c5e9615ac552782c5b7e </div>
<div style="display:none"> Gerrit-Change-Number: 25387 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>