osmo-bsc/include/osmocom/bsc
Vadim Yanitskiy c2928ac269 lchan_select: allow different alloc order for assignment and handover
A follow-up patch implements a special channel allocation mode, which is
only working for assignment (basically TCH selection for a voice call).
This mode cannot be employed for initial CHANNEL REQUEST or handover due
to the absence of an already established lchan.

Adding this mode to the existing VTY command syntax would be confusing:

  channel allocator (ascending|desscending|dynamic)
                                           ^^^^^^^

so this patch extends the VTY syntax in a way that it becomes possible
to configure different channel allocator modes for different cases:

  OsmoBSC(config-net-bts)# channel allocator mode ?
    set-all     Set a single mode for all variants
    chan-req    Channel allocation for CHANNEL REQUEST (RACH)
    assignment  Channel allocation for assignment
    handover    Channel allocation for handover

The old command syntax, which is basically 'set-all', is kept for
backwards compatibility, but marked as deprecated.

Change-Id: I3ae73b36ee9433cc768376b56f0765e5f416162f
Related: SYS#5460
2022-06-30 16:36:41 +00:00
..
Makefile.am move time_cc to libosmocore osmo_time_cc 2021-11-16 12:06:53 +01:00
a_reset.h BSSMAP RESET: generalize a_reset FSM 2020-10-15 05:28:24 +02:00
abis_nm.h ipa: Fix use of null pointer in log macro 2020-10-17 13:56:16 +00:00
abis_om2000.h Add command to enable RX diversity to RBS2000 2021-03-15 18:50:32 +00:00
abis_osmo.h Support proto IPAC_PROTO_EXT_PCU BSC<->PCU 2021-06-30 08:13:37 +00:00
abis_rsl.h RSL link: explicitly select rsl_link based on lchan 2021-05-28 17:22:59 +00:00
acc.h acc: Fix erratic ramping behavior when several BTS configured 2022-05-06 12:34:59 +00:00
assignment_fsm.h for linter: s/while(0)/while (0) 2021-11-06 17:01:58 +01:00
bsc_msc_data.h fix typo in name of BSS_MAP_MSG_ASSIGNMENT_RQST 2022-03-09 07:15:51 +00:00
bsc_rll.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
bsc_stats.h fix performance for chan_counts and all_allocated stats 2022-06-02 14:24:30 +02:00
bsc_subscr_conn_fsm.h emerg call: send BSSMAP Clear Req cause as preemption 2022-04-25 21:19:10 +00:00
bsc_subscriber.h stats: add bsc.paging:expired 2021-11-29 11:33:34 +01:00
bss.h Replace all references to 'sysmobts' with 'osmo-bts' 2021-04-12 18:54:40 +00:00
bssmap_reset.h vty: add "msc N bssmap reset" command 2021-08-30 16:18:12 +00:00
bts.h lchan_select: allow different alloc order for assignment and handover 2022-06-30 16:36:41 +00:00
bts_ipaccess_nanobts_omlattr.h Rename functions generating OML SetAttr messages 2022-04-25 17:06:22 +02:00
bts_sm.h Introduce NM GPRS NSVC FSM 2020-12-04 14:44:40 +01:00
bts_trx.h bts_chan_load(): also calculate per-TRX channel load 2022-06-22 05:49:20 +07:00
chan_alloc.h chan_alloc: remove references to lchan_alloc() 2019-01-17 15:52:25 +01:00
chan_counts.h fix performance for chan_counts and all_allocated stats 2022-06-02 14:24:30 +02:00
codec_pref.h assignment_fsm: fix channel allocator preferences 2019-02-21 10:17:37 +01:00
ctrl.h Support control connection status query for a particular MSC. 2018-01-09 11:18:10 +00:00
debug.h Implement MS Uplink Power Control Loop 2021-10-05 04:32:33 +00:00
e1_config.h libcommon: join gsm_data_shared.* into gsm_data.* 2018-02-14 12:15:40 +01:00
gsm_04_08_rr.h gsm48_make_ho_cmd(): optionally add Synchronization Indication IE 2022-03-14 14:07:39 +03:00
gsm_08_08.h struct gsm_encr: store alg_id in human-readable format 2022-03-29 11:50:12 +00:00
gsm_data.h fix performance for chan_counts and all_allocated stats 2022-06-02 14:24:30 +02:00
handover.h for linter: s/while(0)/while (0) 2021-11-06 17:01:58 +01:00
handover_cfg.h hodec2: add penalty-time low-rxqual-ho 2022-03-31 14:43:48 +00:00
handover_ctrl.h handover_ctrl: add control interface for handover settings 2021-07-19 10:44:05 +02:00
handover_decision.h HO: make bts_by_arfcn_bsic() public 2018-01-19 22:09:19 +00:00
handover_decision_2.h HO: Implement load based handover, as handover_decision_2.c 2018-02-19 17:11:47 +01:00
handover_fsm.h ensure trigger_ho() returns zero only when HO or AS was indeed triggered 2021-07-15 09:28:18 +00:00
handover_vty.h HO: cfg: tweak vty write 2018-02-16 16:11:16 +01:00
ipaccess.h IPA: log OML/RSL link drop reason 2019-01-03 19:10:58 +00:00
lb.h LCS: add proper BSSMAP-LE RESET re-using new generalized reset FSM 2020-10-15 05:39:09 +02:00
lchan_fsm.h for linter: s/while(0)/while (0) 2021-11-06 17:01:58 +01:00
lchan_rtp_fsm.h for linter: s/while(0)/while (0) 2021-11-06 17:01:58 +01:00
lchan_select.h lchan_select: allow different alloc order for assignment and handover 2022-06-30 16:36:41 +00:00
lcs_loc_req.h BSSMAP LE: handle optional LCS {Client Type, QoS} IEs 2022-03-22 19:17:44 +03:00
lcs_ta_req.h for linter: s/while(0)/while (0) 2021-11-06 17:01:58 +01:00
meas_feed.h Fix some typos 2019-11-13 22:10:41 +01:00
meas_rep.h hodec2: [2/2] implement automatic choice between FULL and SUBSET measurements 2021-07-09 11:51:40 +00:00
misdn.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
neighbor_ident.h heighbor_ident: add/del neighbor cells via ctrl interface 2021-11-03 17:25:28 +00:00
network_listen.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
nm_common_fsm.h Introduce new signal S_NM_RUNNING_CHG and implement it for rcarrier,bbtransc 2022-05-13 14:06:37 +02:00
openbscdefines.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
osmo_bsc.h drop some unused members and function decls 2020-09-03 01:07:15 +02:00
osmo_bsc_grace.h dissolve bsc_grace_paging_request() 2020-09-16 21:54:52 +00:00
osmo_bsc_lcls.h Move LCLS references from gsm_data to osmo_bsc_lcls 2019-03-14 13:21:19 +00:00
osmo_bsc_rf.h add CTRL 'rf_states' and 'bts.N.rf_states' 2021-09-14 08:44:45 +00:00
osmo_bsc_sigtran.h BSSMAP RESET: move cancel-paging call to osmo_bsc_sigtran_reset() 2020-10-15 05:28:44 +02:00
osmux.h vty: Add option to enable osmux towards MSC 2019-05-19 07:26:28 +00:00
paging.h paging: start/stop credit_timer based on C0 running 2022-05-13 14:06:37 +02:00
pcu_if.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
pcuif_proto.h Support Neighbor Address Resolution over PCUIF IPA multiplex 2021-09-13 16:04:05 +02:00
penalty_timers.h refactor handover penalty timers 2021-03-24 10:02:29 +01:00
power_control.h Move power control related definitions to power_control.h 2022-04-08 01:23:04 +03:00
rs232.h move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
signal.h Introduce new signal S_NM_RUNNING_CHG and implement it for rcarrier,bbtransc 2022-05-13 14:06:37 +02:00
smscb.h smscb: Base cell operational life cycle on CBCH being operative 2022-06-16 19:07:14 +02:00
system_information.h Drop duplicated arfcn_range_encode.c available in libosmocore 2021-06-01 20:00:51 +02:00
timeslot_fsm.h for linter: s/while(0)/while (0) 2021-11-06 17:01:58 +01:00
vty.h osmo_bsc_main: integrate MGW pooling into osmo-bsc 2021-09-03 15:03:38 +00:00