host/trxcon/scheduler: store BSIC in trx_instance
We need to know BSIC value, before sending RACH requests. So, let's store it in trx_instance and update as soon as the first SCH burst is received after L1CTL_FBSB_REQ. Change-Id: I49574c3661f79f3b4941db6c651baebab2665c1b
This commit is contained in:
parent
85b700421f
commit
59c98b14ac
|
@ -224,8 +224,10 @@ int rx_sch_fn(struct trx_instance *trx, struct trx_ts *ts,
|
|||
}
|
||||
|
||||
/* Send L1CTL_FBSB_CONF to higher layers */
|
||||
if (!trx->l1l->fbsb_conf_sent)
|
||||
if (!trx->l1l->fbsb_conf_sent) {
|
||||
l1ctl_tx_fbsb_conf(trx->l1l, 0, bsic);
|
||||
trx->bsic = bsic;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -27,7 +27,10 @@ struct trx_instance {
|
|||
struct llist_head trx_ctrl_list;
|
||||
struct osmo_fsm_inst *fsm;
|
||||
uint32_t prev_state;
|
||||
|
||||
/* GSM L1 specific */
|
||||
uint16_t band_arfcn;
|
||||
uint8_t bsic;
|
||||
|
||||
/* Scheduler stuff */
|
||||
struct trx_sched sched;
|
||||
|
|
Loading…
Reference in New Issue