aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/nm_bb_transc_fsm.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2021-04-12 09:12:22 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2021-04-12 09:12:22 +0200
commit9e6f8c3ad4b43ad46d125a379d9ec327d366991d (patch)
tree3a100c69b68499ac8cb09cccb95eb5e87298b858 /src/common/nm_bb_transc_fsm.c
parent6cf8c691e226410b341fa9ce5ce209fd918b3073 (diff)
Diffstat (limited to 'src/common/nm_bb_transc_fsm.c')
-rw-r--r--src/common/nm_bb_transc_fsm.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/common/nm_bb_transc_fsm.c b/src/common/nm_bb_transc_fsm.c
index 936451ff..75349063 100644
--- a/src/common/nm_bb_transc_fsm.c
+++ b/src/common/nm_bb_transc_fsm.c
@@ -60,7 +60,12 @@ static void st_op_disabled_notinstalled(struct osmo_fsm_inst *fi, uint32_t event
switch (event) {
case NM_EV_SW_ACT:
- oml_mo_tx_sw_act_rep(&bb_transc->mo);
+ /* For VAMOS shadow TRXs, do not send the initial Software Activated Report. The primary TRX's Software
+ * Activated Report implies the shadow TRX. (The main reason is to not confuse non-osmocom BSCs into
+ * thinking a shadow TRX were an independent primary TRX.) */
+ if (!osmo_bts_has_feature(trx->bts->features, BTS_FEAT_VAMOS)
+ || TRX_PRIMARY(trx) == trx)
+ oml_mo_tx_sw_act_rep(&bb_transc->mo);
nm_bb_transc_fsm_state_chg(fi, NM_BBTRANSC_ST_OP_DISABLED_OFFLINE);
for (i = 0; i < TRX_NR_TS; i++) {
struct gsm_bts_trx_ts *ts = &trx->ts[i];