diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-07-22 17:07:27 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-07-23 17:21:40 +0200 |
commit | e6372cff1bb044faf992976f6e1096a14a8f0295 (patch) | |
tree | 3559cbaf3175362ca25e4cf1758883959962d300 /include | |
parent | aa54224e563bcde01bcd1dfc21c59552b421a815 (diff) |
bts-trx: Introduce VTY command osmotrx trxd-max-version
This command allows setting a maximum TRXD format version to negotiate
with TRX. osmo-bts-trx will hence end up using that version if supported
by TRX, or a lower one otherwise (or fail if TRX doesn't support any of
them).
Since now the maximum version can be 0, avoid going through SETFORMAT
negotiation in that case, since 0 is the default version. This way we
keep backward compatibility with TRX implementations that exit upon
receival of unknown commands (such as SC5 current one).
The VTY command is located in the "phy" node instead of the "phy
instance" node because instances of same phy are expected to use same
host with same implementation, so TRXD version to use should be the same
for both.
Related: OS#4006
Change-Id: I5eb1fdc002f9d7f4acf475356d8fc998dc8f6326
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/phy_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmo-bts/phy_link.h b/include/osmo-bts/phy_link.h index 273103c6..3bf51597 100644 --- a/include/osmo-bts/phy_link.h +++ b/include/osmo-bts/phy_link.h @@ -50,6 +50,7 @@ struct phy_link { uint32_t clock_advance; uint32_t rts_advance; bool use_legacy_setbsic; + uint8_t trxd_hdr_ver_max; /* Maximum TRXD header version to negotiate */ } osmotrx; struct { char *mcast_dev; /* Network device for multicast */ |