diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2021-04-12 09:12:22 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2021-04-12 09:12:22 +0200 |
commit | 9e6f8c3ad4b43ad46d125a379d9ec327d366991d (patch) | |
tree | 3a100c69b68499ac8cb09cccb95eb5e87298b858 /include/osmo-bts/bts_trx.h | |
parent | 6cf8c691e226410b341fa9ce5ce209fd918b3073 (diff) |
wipneels/vamos0
Change-Id: I76b4744d610ad92671bfc676e21b41a8f1d7d2db
Diffstat (limited to 'include/osmo-bts/bts_trx.h')
-rw-r--r-- | include/osmo-bts/bts_trx.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osmo-bts/bts_trx.h b/include/osmo-bts/bts_trx.h index 39a9d37b..da72c9ec 100644 --- a/include/osmo-bts/bts_trx.h +++ b/include/osmo-bts/bts_trx.h @@ -14,6 +14,12 @@ * handles CCHAN and TRXMGMT, which is always done on the primary TRX's RSL link. */ #define TRX_PRIMARY(TRX) ((TRX)->vamos.primary_trx ? : (TRX)) +/* Return true if TRX is a plain primary TRX (with or without VAMOS operation). */ +#define TRX_IS_PRIMARY(TRX) ((TRX)->vamos.primary_trx == NULL) + +/* Return true if TRX is a VAMOS shadow TRX. */ +#define TRX_IS_SHADOW(TRX) ((TRX)->vamos.primary_trx != NULL) + struct gsm_bts_bb_trx { struct gsm_abis_mo mo; }; |