aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-06-15 08:52:12 +0200
committerHarald Welte <laforge@gnumonks.org>2010-06-20 10:44:53 +0200
commitfd3708976ab894cd3a8529d3956b32d39344ca24 (patch)
tree40b91aec2ea9849425f0da302867278c5b3654e3 /openbsc/include/openbsc/gsm_data.h
parentc2fb3d0c3d0e8b12db01db70ca718914a6caad92 (diff)
[BSC] Generate MA for each timeslot that has hopping enabled
The MA is used in 04.08 channel assignment related messages
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r--openbsc/include/openbsc/gsm_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 8cb09d2eb..170ebab0b 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -338,11 +338,15 @@ struct gsm_bts_trx_ts {
u_int8_t nm_chan_comb;
struct {
+ /* Parameters below are configured by VTY */
int enabled;
u_int8_t maio;
u_int8_t hsn;
struct bitvec arfcns;
u_int8_t arfcns_data[1024/8];
+ /* This is the pre-computed MA for channel assignments */
+ struct bitvec ma;
+ u_int8_t ma_data[8]; /* 10.5.2.21: max 8 bytes value part */
} hopping;
/* To which E1 subslot are we connected */