Attention is currently required from: osmith, pespin.

fixeria has posted comments on this change by fixeria. ( 
https://gerrit.osmocom.org/c/osmocom-bb/+/43828?usp=email )

Change subject: trxcon/trx_if: migrate to libosmo-trx
......................................................................


Patch Set 2:

(1 comment)

File src/host/trxcon/src/trx_if.c:

https://gerrit.osmocom.org/c/osmocom-bb/+/43828/comment/0910cf06_29b7cd51?usp=email
 :
PS1, Line 642:          osmo_trx_ep_send_ctrl_msg(trx->ep, 0, &cmd_poweroff);
> If the API takes care, why then sending it explicitly here?
Not sure what you mean by "explicitly". `osmo_trx_ep` does not make any 
assumptions regarding POWERON/POWEROFF, so there's simply no implicit "send 
POWEROFF on close()" logic.

`fi->state == TRX_ST_POWERON` here in `trx_fsm_cleanup_cb()` is actually an 
abnormal case. It can happen if the L1CTL peer does not shutdown trxcon 
properly (i.e. does not send `L1CTL_RESET_REQ`) before disconnecting. In this 
case we (the FSM) enqueue TRXC POWEROFF message, so that we do not leave the 
transceiver running.



--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/43828?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I4604f4b12ca903e936dedf167b478455bd28a2e8
Gerrit-Change-Number: 43828
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-Attention: osmith <[email protected]>
Gerrit-Attention: pespin <[email protected]>
Gerrit-Comment-Date: Fri, 09 Oct 2026 19:19:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <[email protected]>
Comment-In-Reply-To: fixeria <[email protected]>

Reply via email to