diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-06-06 01:43:28 +0600 |
---|---|---|
committer | fixeria <vyanitskiy@sysmocom.de> | 2022-06-30 16:36:41 +0000 |
commit | c2928ac269a55d2ea1a6ae7984ba9065f8c41db0 (patch) | |
tree | 6b51e4a323ab6083589934f399063dd4e22c088f /src/osmo-bsc/bsc_init.c | |
parent | ff9d3a64dc8fec465140c244a816db22eea97b6b (diff) |
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
Diffstat (limited to 'src/osmo-bsc/bsc_init.c')
0 files changed, 0 insertions, 0 deletions