diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-07-10 02:08:37 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-07-10 02:08:41 +0700 |
commit | b1fc967719365fc0467b7dc2a6d94086ccaf863f (patch) | |
tree | 55d9871b86d43aae3e686ae1666bae17a5ce53a2 | |
parent | 60215bc051c96d87c552ece42d594be7f7388c4f (diff) |
[HACK] trxcon: permit event RX_DATA_IND in state FBSB_SEARCHfixeria/grgsm_hack
This is a work-around for grgsm_trx not sending us SCH bursts.
Change-Id: Ic096d6c3b85b6a438848b0c5fbabe8f9ffee7569
-rw-r--r-- | src/host/trxcon/src/trxcon_fsm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/host/trxcon/src/trxcon_fsm.c b/src/host/trxcon/src/trxcon_fsm.c index eabab3d2..bc76c94b 100644 --- a/src/host/trxcon/src/trxcon_fsm.c +++ b/src/host/trxcon/src/trxcon_fsm.c @@ -271,6 +271,7 @@ static void trxcon_st_fbsb_search_action(struct osmo_fsm_inst *fi, switch (event) { case TRXCON_EV_FBSB_SEARCH_RES: + case TRXCON_EV_RX_DATA_IND: osmo_fsm_inst_state_chg(fi, TRXCON_ST_BCCH_CCCH, 0, 0); l1ctl_tx_fbsb_conf(trxcon, trxcon->l1p.band_arfcn, trxcon->sched->bsic); break; @@ -667,7 +668,8 @@ static const struct osmo_fsm_state trxcon_fsm_states[] = { .name = "FBSB_SEARCH", .out_state_mask = S(TRXCON_ST_RESET) | S(TRXCON_ST_BCCH_CCCH), - .in_event_mask = S(TRXCON_EV_FBSB_SEARCH_RES), + .in_event_mask = S(TRXCON_EV_FBSB_SEARCH_RES) + | S(TRXCON_EV_RX_DATA_IND), .action = &trxcon_st_fbsb_search_action, }, [TRXCON_ST_BCCH_CCCH] = { |