diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-06-15 02:29:57 +0700 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-06-29 08:51:11 +0000 |
commit | 842e4fab44434ef60b12f56d175fe5a13d7cd4bc (patch) | |
tree | 907fe259d0bbc6850784e96770b62b645bebe6e0 /include | |
parent | f23d83583139f58b78ad4f57f2eab629e1dd3a1e (diff) |
A-bis/OML: handle hopping params in Set Channel Attributes
Change-Id: Ieac26c7aca118c16889cdde2565a514681dc137b
Related: OS#4546
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/gsm_data.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h index 255c871d..7b4d4569 100644 --- a/include/osmo-bts/gsm_data.h +++ b/include/osmo-bts/gsm_data.h @@ -350,17 +350,13 @@ struct gsm_bts_trx_ts { uint8_t nm_chan_comb; int tsc; /* -1 == use BTS TSC */ + /* Frequency hopping parameters (configured via OML) */ struct { - /* Parameters below are configured by VTY */ - int enabled; + bool enabled; uint8_t maio; uint8_t hsn; - struct bitvec arfcns; - uint8_t arfcns_data[1024/8]; - /* This is the pre-computed MA for channel assignments */ - struct bitvec ma; - uint8_t ma_len; /* part of ma_data that is used */ - uint8_t ma_data[8]; /* 10.5.2.21: max 8 bytes value part */ + uint16_t ma[64]; + uint8_t ma_len; } hopping; struct gsm_lchan lchan[TS_MAX_LCHAN]; |