bts: Store the bcch_change_mark in the bts structure
Store the BCCH change mark inside the BTS structure. This will allow us increment the number and re-generate the SIs. Related: SYS#739
This commit is contained in:
parent
8a64141a53
commit
b92a538d23
|
@ -686,8 +686,9 @@ struct gsm_bts {
|
|||
int num_trx;
|
||||
struct llist_head trx_list;
|
||||
|
||||
/* SI compatibility hacks */
|
||||
/* SI related items */
|
||||
int force_combined_si;
|
||||
int bcch_change_mark;
|
||||
|
||||
#ifdef ROLE_BSC
|
||||
/* Abis NM queue */
|
||||
|
|
|
@ -792,6 +792,9 @@ static int generate_si13(uint8_t *output, struct gsm_bts *bts)
|
|||
si13_default.no_pbcch.rac = bts->gprs.rac;
|
||||
si13_default.no_pbcch.net_ctrl_ord = bts->gprs.net_ctrl_ord;
|
||||
|
||||
/* Information about the other SIs */
|
||||
si13_default.bcch_change_mark = bts->bcch_change_mark;
|
||||
|
||||
ret = rest_octets_si13(si13->rest_octets, &si13_default);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
|
|
@ -276,6 +276,9 @@ struct gsm_bts *gsm_bts_alloc(void *ctx)
|
|||
bts->rach_ldavg_slots = -1;
|
||||
bts->paging.free_chans_need = -1;
|
||||
|
||||
/* si handling */
|
||||
bts->bcch_change_mark = 1;
|
||||
|
||||
return bts;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue