osmo-gbproxy/openbsc/tests
Neels Hofmeyr bc9efd152a dyn TS: fix: ts_subslots() for TCH/F_PDCH in PDCH mode
In gsm_data_shared.c, add ts_pchan() to determine actual pchan type for dynamic
and non-dynamic TS.

Use in ts_subslots() to fix the value returned for TCH/F_PDCH in PDCH mode.
Adjust the assertion in channel_test.c accordingly.

Drop GSM_PCHAN_TCH_F_PDCH, which is now handled in ts_pchan().
Explicitly add GSM_PCHAN_PDCH as zero in subslots_per_pchan[] (cosmetic).
Adjust the comment in subslots_per_pchan[].

The fix for the number of subslots affects only one caller: bts_chan_load() in
chan_alloc.c. Before this, it would always include a TCH/F_PDCH in the
load_counter->total, now it is skipped when in PDCH mode. Whether this is the
way bts_chan_load() should handle dynamic TS is a separate discussion, so far
I'm only making sure that the two dyn TS kinds act in the same way:
TCH/F_TCH/H_PDCH is only counted when in TCH mode, and TCH/F_PDCH should match.

Change-Id: Icd6668667ad2be7ad20866ffd185bf3b8711ccd6
2016-09-28 00:28:01 +00:00
..
abis Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
bsc cosmetic: various comment, whitespace tweaks 2016-09-18 23:40:06 +02:00
bsc-nat Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
bsc-nat-trie move libctrl from openbsc to libosmoctrl (libosmocore.git) 2014-08-21 15:34:28 +02:00
channel dyn TS: fix: ts_subslots() for TCH/F_PDCH in PDCH mode 2016-09-28 00:28:01 +00:00
db Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
gbproxy Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
gprs Move osmo_gsup_messages.[ch] to libosmocore 2016-04-29 13:10:37 +02:00
gsm0408 mscsplit: gsm_network_init(): add explicit root talloc ctx 2016-09-26 02:25:46 +02:00
gtphub Build fixes 2016-09-15 16:02:18 +02:00
mgcp Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
mm_auth Build fixes 2016-09-15 16:02:18 +02:00
oap Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
sgsn SNDCP: add V.42bis data compression functionality 2016-09-24 03:17:59 +00:00
slhc SLHC: Improving slhc (RFC1144) testcase 2016-09-27 05:52:20 +00:00
smpp Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
sndcp_xid SNDCP: add SNDCP-XID encoder/decoder and unit test 2016-09-24 03:17:58 +00:00
subscr Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
trau Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
v42bis V.42bis: integration and unit test 2016-09-24 03:17:59 +00:00
xid Build fixes 2016-09-15 16:02:18 +02:00
Makefile.am V.42bis: integration and unit test 2016-09-24 03:17:59 +00:00
atlocal.in tests: fix condition to run sgsn, oap, gtphub tests 2015-12-03 11:47:34 +01:00
ctrl_test_runner.py fix ctrl test: dyn TS: use new GSM_PCHAN_TCH_F_TCH_H_PDCH 2016-07-24 13:35:04 +02:00
smpp_test_runner.py nitb/smpp: Add simple test runner for the issues found by daniel 2014-03-06 23:48:17 +01:00
testsuite.at V.42bis: integration and unit test 2016-09-24 03:17:59 +00:00
vty_test_runner.py vty_test_runner.py: raise exception when MSC socket connection fails 2016-09-26 13:00:35 +02:00