osmo-bsc/openbsc/src
Neels Hofmeyr fdd9ad7c40 dyn TS: enhance channel allocator for dynamic TS
Change _lc_find_bts() to _lc_dyn_find_bts() with added dyn_as_pchan arg to
pass exactly as which pchan we'd like to allocate on a dynamic TS. Add
_lc_find_bts() as wrapper so non-dynamic-TS callers remain unchanged.

Also add dyn_as_pchan arg to _lc_find_trx() (not renaming to dyn and wrapping
because there is only one caller).

Implement dynamic allocator logic in _lc_find_trx() and lchan_alloc().

A returned dynamic channel still needs to be switched to the proper mode, which
will follow in another commit.

Replace a fixme comment with a normal comment in subslots_per_pchan[], because
handling of dynamic TS is now defined.

Change-Id: I18da7679300c43220d9baa6a304e8df74d366249
2016-07-28 11:56:51 +02:00
..
gprs fix: create_pdp_conf(): unset reject_cause after unknown ran_type 2016-07-25 15:19:50 +00:00
ipaccess drop unneccessary duplicate/unused linking: ipaccess 2016-05-21 15:20:47 +00:00
libbsc dyn TS: enhance channel allocator for dynamic TS 2016-07-28 11:56:51 +02:00
libcommon dyn TS: rsl_lchan_lookup(): add dyn PCHAN 2016-07-28 11:56:51 +02:00
libfilter 04.08: apply new bitmask functions, fix bitmask use 2016-03-15 14:15:00 +01:00
libmgcp osmux: Add negotiation state so race conditions can't disable osmux 2016-07-11 19:19:05 +00:00
libmsc mncc_sock: use osmo_sock_unix_init() from libosmocore 2016-07-23 19:21:17 +00:00
libtrau Fix SIGABRT on wrong AMR payload 2016-06-14 10:20:05 +00:00
osmo-bsc drop unneccessary duplicate linking: osmo-bsc 2016-05-21 15:02:55 +00:00
osmo-bsc_mgcp rm dup: use channel type names from libosmocore 2016-06-18 11:34:21 +00:00
osmo-bsc_nat osmux: Add negotiation state so race conditions can't disable osmux 2016-07-11 19:19:05 +00:00
osmo-nitb drop unneccessary duplicate linking: osmo-nitb 2016-05-21 15:54:36 +00:00
utils bs11_config: add brackets to fix warning in argument parsing 2016-07-25 00:14:44 +00:00
Makefile.am filter: Move the gsm 04.08 filter to a common place 2015-05-03 21:42:27 +02:00