osmo-bsc/src/osmo-bsc
Neels Hofmeyr e262919892 add fields to reflect nr of lchans in ts struct
So far the number of usable lchans is determined on-the-fly by the
physical channel config. With VAMOS, this becomes more complex, namely
determining whether the BTS is vamos capable.

Instead of calling a function to determine the number of lchans for
every use, rather place the number of valid lchans in int members of the
timeslot struct, and initialize those during timeslot setup.

Actual use of these new fields will follow in a subsequent patch, which
introduces the ts_for_n_lchans() macro to replace current lchan
iteration macros.

Related: SYS#5315 OS#4940
Change-Id: I08027d79db71a23e874b729c4e6173b0f269ee4f
2021-05-31 05:20:03 +00:00
..
Makefile.am Replace all references to 'sysmobts' with 'osmo-bts' 2021-04-12 18:54:40 +00:00
a_reset.c BSSMAP RESET: move RESET-ACK into reset fsm 2020-10-15 05:28:44 +02:00
abis_bs11.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
abis_nm.c RSL link: explicitly select rsl_link based on lchan 2021-05-28 17:22:59 +00:00
abis_nm_ipaccess.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
abis_nm_vty.c VTY: let all descriptions end in \n 2020-03-27 10:15:01 +01:00
abis_om2000.c Add command to enable RX diversity to RBS2000 2021-03-15 18:50:32 +00:00
abis_om2000_vty.c Add command to enable RX diversity to RBS2000 2021-03-15 18:50:32 +00:00
abis_rsl.c allow explixit TSC Set and TSC on chan activ / modif / assignment 2021-05-31 05:20:02 +00:00
acc.c RSL link: explicitly select rsl_link based on lchan 2021-05-28 17:22:59 +00:00
arfcn_range_encode.c range_enc_determine_range(): Don't dereference array on size=0 2018-10-21 11:10:23 +02:00
assignment_fsm.c allow explixit TSC Set and TSC on chan activ / modif / assignment 2021-05-31 05:20:02 +00:00
bsc_ctrl_commands.c ctrl: Avoid fclose() on NULL pointer 2021-05-25 11:49:12 +02:00
bsc_ctrl_lookup.c bts: Drop duplicated function to get trx by number 2020-07-18 21:45:32 +00:00
bsc_init.c stats: add BTS uptime counter 2021-05-04 16:09:46 +00:00
bsc_rf_ctrl.c use osmo_fd_setup() whenever applicable 2020-10-19 12:05:17 +02:00
bsc_rll.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
bsc_sccp.c LCS: implement the bulk of Location Services 2020-10-09 00:26:02 +02:00
bsc_subscr_conn_fsm.c RSL link: explicitly select rsl_link based on lchan 2021-05-28 17:22:59 +00:00
bsc_subscriber.c bsc_subscr_name: print both IMSI and TMSI 2020-10-07 11:40:12 +00:00
bsc_vty.c add fields to reflect nr of lchans in ts struct 2021-05-31 05:20:03 +00:00
bssmap_reset.c Lb: stop RESET FSM when sccp_user is unbound 2021-04-27 17:34:23 +02:00
bts.c bsc: Use osmo_clock_gettime everywhere 2021-05-23 10:30:44 +00:00
bts_ericsson_rbs2000.c Add command to enable RX diversity to RBS2000 2021-03-15 18:50:32 +00:00
bts_init.c Replace all references to 'sysmobts' with 'osmo-bts' 2021-04-12 18:54:40 +00:00
bts_ipaccess_nanobts.c RSL link: explicitly select rsl_link based on lchan 2021-05-28 17:22:59 +00:00
bts_ipaccess_nanobts_omlattr.c Fix typo in function nanobts_attr_nsvc_get 2020-12-04 14:44:43 +01:00
bts_nokia_site.c Store GPRS MOs directly under BTS SiteMgr object 2020-12-03 16:31:36 +01:00
bts_osmobts.c Replace all references to 'sysmobts' with 'osmo-bts' 2021-04-12 18:54:40 +00:00
bts_siemens_bs11.c RSL link: explicitly select rsl_link based on lchan 2021-05-28 17:22:59 +00:00
bts_sm.c Introduce NM GPRS NSVC FSM 2020-12-04 14:44:40 +01:00
bts_trx.c gsm_lchan_name_compute with ctx 2021-04-28 16:32:19 +02:00
bts_unknown.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
cbch_scheduler.c smscb: Avoid scheduler array overflow 2021-01-03 22:09:40 +00:00
cbsp_link.c CBSP VTY: re-add legacy cbc config for backwards compat 2020-09-03 15:04:29 +02:00
chan_alloc.c chan_alloc: Fix typo in a comment. 2020-08-12 18:38:06 +00:00
codec_pref.c Move struct gsm_bts: gsm_data.* => bts.* 2020-07-18 21:45:32 +00:00
e1_config.c RSL link: explicitly select rsl_link based on lchan 2021-05-28 17:22:59 +00:00
gsm_04_08_rr.c allow explixit TSC Set and TSC on chan activ / modif / assignment 2021-05-31 05:20:02 +00:00
gsm_08_08.c Send EUTRAN neighs based on whether Common Id msg contained Last used E-UTRAN PLMN ID 2021-04-19 12:12:31 +02:00
gsm_data.c gsm48_lchan2chan_desc(): expose TSC as param 2021-05-28 17:22:59 +00:00
handover_cfg.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
handover_decision.c fix/refactor neighbor config 2021-03-24 21:22:21 +01:00
handover_decision_2.c hodec 2: do intra-cell congestion resolution by Assignment 2021-05-28 17:22:59 +00:00
handover_fsm.c make sure channel mode and s15_s0 are updated only after an ACK 2021-05-27 17:06:21 +02:00
handover_logic.c fix/refactor neighbor config 2021-03-24 21:22:21 +01:00
handover_vty.c vty: add attributes to VTY commands indicating when they apply 2020-10-08 07:18:12 +00:00
lb.c Lb: RESET FSM: never send sccp_user == NULL 2021-04-27 17:34:23 +02:00
lchan_fsm.c allow explixit TSC Set and TSC on chan activ / modif / assignment 2021-05-31 05:20:02 +00:00
lchan_rtp_fsm.c make sure channel mode and s15_s0 are updated only after an ACK 2021-05-27 17:06:21 +02:00
lchan_select.c add chan_mode_to_chan_type() 2021-05-28 17:22:59 +00:00
lcs_loc_req.c allow explixit TSC Set and TSC on chan activ / modif / assignment 2021-05-31 05:20:02 +00:00
lcs_ta_req.c Lb: make sure we never have missing timer configurability 2021-04-28 16:31:08 +02:00
meas_feed.c Use osmo_fd_*_{disable,enable} 2020-11-11 20:15:22 +00:00
meas_rep.c dissolve libbsc: move all to src/osmo-bsc, link .o files 2018-06-07 19:09:06 +02:00
neighbor_ident.c fixup for neighbor config for coverity 2021-04-08 21:12:49 +00:00
neighbor_ident_vty.c Revert "update neighbor ARFCNs on startup and config changes" 2021-04-23 13:38:58 +02:00
net_init.c lchan_fsm: mode modify: fix missing timeouts and error transitions 2021-04-28 16:32:19 +02:00
nm_bb_transc_fsm.c RSL link: explicitly select rsl_link based on lchan 2021-05-28 17:22:59 +00:00
nm_bts_fsm.c NM FSMs: fix DISABLED_NOTINSTALLED -> DISABLED_NOTINSTALLED 2020-12-13 12:08:45 +00:00
nm_bts_sm_fsm.c NM FSMs: fix DISABLED_NOTINSTALLED -> DISABLED_NOTINSTALLED 2020-12-13 12:08:45 +00:00
nm_channel_fsm.c NM FSMs: fix DISABLED_NOTINSTALLED -> DISABLED_NOTINSTALLED 2020-12-13 12:08:45 +00:00
nm_common_fsm.c oml: Delay configuring NSVC until BTS features are negotiated 2020-12-04 15:54:34 +01:00
nm_gprs_cell_fsm.c NM FSMs: fix DISABLED_NOTINSTALLED -> DISABLED_NOTINSTALLED 2020-12-13 12:08:45 +00:00
nm_gprs_nse_fsm.c NM FSMs: fix DISABLED_NOTINSTALLED -> DISABLED_NOTINSTALLED 2020-12-13 12:08:45 +00:00
nm_gprs_nsvc_fsm.c NM FSMs: fix DISABLED_NOTINSTALLED -> DISABLED_NOTINSTALLED 2020-12-13 12:08:45 +00:00
nm_rcarrier_fsm.c NM FSMs: fix DISABLED_NOTINSTALLED -> DISABLED_NOTINSTALLED 2020-12-13 12:08:45 +00:00
osmo_bsc_bssap.c make sure channel mode and s15_s0 are updated only after an ACK 2021-05-27 17:06:21 +02:00
osmo_bsc_ctrl.c ctrl: Fix CTRL TRAP for {msc.X,msc_)connection_status not sent 2020-08-25 19:04:24 +02:00
osmo_bsc_filter.c cosmetic: shorten deref chains where possible 2021-02-04 20:25:52 +00:00
osmo_bsc_grace.c dissolve bsc_grace_paging_request() 2020-09-16 21:54:52 +00:00
osmo_bsc_lcls.c make sure channel mode and s15_s0 are updated only after an ACK 2021-05-27 17:06:21 +02:00
osmo_bsc_main.c Revert "update neighbor ARFCNs on startup and config changes" 2021-04-23 13:38:58 +02:00
osmo_bsc_mgcp.c Use OSMO_FD_* instead of deprecated BSC_FD_* 2020-07-15 18:38:11 +02:00
osmo_bsc_msc.c drop features 'core-location-area-code' and 'core-cell-identity' 2020-10-16 13:51:48 +00:00
osmo_bsc_sigtran.c BSSMAP RESET: tweak logging 2020-10-15 05:28:44 +02:00
paging.c LCS: implement the bulk of Location Services 2020-10-09 00:26:02 +02:00
pcu_sock.c Store GPRS MOs directly under BTS SiteMgr object 2020-12-03 16:31:36 +01:00
penalty_timers.c refactor handover penalty timers 2021-03-24 10:02:29 +01:00
smscb.c smscb: Fix adding of SMSCB messages when no message with lower period exists 2021-01-04 21:48:03 +00:00
system_information.c gsm48_lchan2chan_desc(): expose TSC as param 2021-05-28 17:22:59 +00:00
timeslot_fsm.c add fields to reflect nr of lchans in ts struct 2021-05-31 05:20:03 +00:00