Change in osmocom-bb[master]: fix trx_if_tx_burst(): do not drop Uplink bursts in TRX_STATE_RSP_WAIT

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 https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Fri Oct 16 16:17:37 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/20685 )


Change subject: fix trx_if_tx_burst(): do not drop Uplink bursts in TRX_STATE_RSP_WAIT
......................................................................

fix trx_if_tx_burst(): do not drop Uplink bursts in TRX_STATE_RSP_WAIT

Some commands, such as SETTA or SETPOWER, are expected to be sent
when the transceiver is powered on.  We should not drop Uplink
bursts while waiting TRXC response.

For now it's easier to comment out the state check completely,
because the existing TRXC state machine is quite messy.

Change-Id: Iefe6030200b11b29a5790d1f4aa4070ed1d9a493
---
M src/host/trxcon/trx_if.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/85/20685/1

diff --git a/src/host/trxcon/trx_if.c b/src/host/trxcon/trx_if.c
index 7a736a8..e1ce588 100644
--- a/src/host/trxcon/trx_if.c
+++ b/src/host/trxcon/trx_if.c
@@ -641,11 +641,13 @@
 	 * TODO: introduce proper state machines for both
 	 *       transceiver and its TRXC interface.
 	 */
+#if 0
 	if (trx->fsm->state != TRX_STATE_ACTIVE) {
 		LOGP(DTRXD, LOGL_ERROR, "Ignoring TX data, "
 			"transceiver isn't ready\n");
 		return -EAGAIN;
 	}
+#endif
 
 	LOGP(DTRXD, LOGL_DEBUG, "TX burst tn=%u fn=%u pwr=%u\n", tn, fn, pwr);
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/20685
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Iefe6030200b11b29a5790d1f4aa4070ed1d9a493
Gerrit-Change-Number: 20685
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201016/38954237/attachment.htm>


More information about the gerrit-log mailing list