aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/gsm_data.h
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-09-14 00:24:15 +0700
committerfixeria <vyanitskiy@sysmocom.de>2020-09-17 15:45:48 +0000
commit0cd8df218429ee7e05d7dbcafbeabba2f26d4b98 (patch)
treec07685def72babc7fcfc0782670b7fd4ca8425a2 /include/osmo-bts/gsm_data.h
parent9b6000c6fa9ccf71bb10dd8db4ff7f7b8a601d4a (diff)
gsm_data: rename hopping.{ma,ma_len} to hopping.arfcn_{list,num}
MA (Mobile Allocation) is actually a bit-mask indicating those ARFCNs of the Cell Allocation, which must be used as the hopping sequence. What we store in struct gsm_bts_trx_ts is the actual list of hopping channels, so let's name it properly and eliminate possible confusion. Change-Id: I677d66e428fa0fe119ebc37bc2a4e6cc05c251c4
Diffstat (limited to 'include/osmo-bts/gsm_data.h')
-rw-r--r--include/osmo-bts/gsm_data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index d4ef7c24..a9f65ebe 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -330,8 +330,8 @@ struct gsm_bts_trx_ts {
bool enabled;
uint8_t maio;
uint8_t hsn;
- uint16_t ma[64];
- uint8_t ma_len;
+ uint16_t arfcn_list[64];
+ uint8_t arfcn_num;
} hopping;
/* Transceiver "cache" for frequency hopping */