This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, fairwaves/master has been updated
via cefa52b42170032b2f2d6eca1ff63cb7d8030040 (commit)
via c35c0cd6c8b055f9487661751866f437b34a8e3b (commit)
via d2448c697f9a86ad83e81590c1074b590767f1d0 (commit)
via 68923685eaaa61b97d9d3642599c314c09763b5e (commit)
from 90b4e07e425198bbe651461c0fb259f7fecf33dd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-bts/commit/?id=cefa52b42170032b2f2d6eca1ff63cb…
commit cefa52b42170032b2f2d6eca1ff63cb7d8030040
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Wed Jun 10 00:27:18 2015 -0400
trx: Assume 100% BER if total decoded bits is 0 in l1if_process_meas_res()
http://cgit.osmocom.org/osmo-bts/commit/?id=c35c0cd6c8b055f9487661751866f43…
commit c35c0cd6c8b055f9487661751866f437b34a8e3b
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Wed Jun 10 00:26:14 2015 -0400
trx: Cleanup unused parts of loops.c
http://cgit.osmocom.org/osmo-bts/commit/?id=d2448c697f9a86ad83e81590c1074b5…
commit d2448c697f9a86ad83e81590c1074b590767f1d0
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Fri Jun 5 01:12:21 2015 -0400
trx: Remove unused variables.
http://cgit.osmocom.org/osmo-bts/commit/?id=68923685eaaa61b97d9d3642599c314…
commit 68923685eaaa61b97d9d3642599c314c09763b5e
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Fri Jun 5 00:54:03 2015 -0400
trx: Fix typo in a log message.
-----------------------------------------------------------------------
Summary of changes:
src/osmo-bts-trx/gsm0503_coding.c | 4 ++--
src/osmo-bts-trx/l1_if.c | 3 ++-
src/osmo-bts-trx/loops.c | 9 ++-------
src/osmo-bts-trx/scheduler.c | 2 +-
4 files changed, 7 insertions(+), 11 deletions(-)
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, fairwaves/master has been created
at 90b4e07e425198bbe651461c0fb259f7fecf33dd (commit)
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, fairwaves/update has been deleted
was 9c5cd51116ff2257ae27e31362085ffe6e9acd6e
-----------------------------------------------------------------------
9c5cd51116ff2257ae27e31362085ffe6e9acd6e trx: Assume 100% BER if total decoded bits is 0 in l1if_process_meas_res()
-----------------------------------------------------------------------
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, fairwaves/master-old has been created
at a6ad0b44ae45a2fd51b6a55507e8295605431e92 (commit)
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, fairwaves/master has been deleted
was a6ad0b44ae45a2fd51b6a55507e8295605431e92
-----------------------------------------------------------------------
a6ad0b44ae45a2fd51b6a55507e8295605431e92 handover fix: we can receive handover rach on trx == bts->c0
-----------------------------------------------------------------------
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/wip/pdch-alloc has been updated
discards c6c27922645df9ce181a4c23a7d902d31447cbfa (commit)
via 01213ceba8b84da093dbe9aa50828696a00e688f (commit)
via 7f79f0d332316acb306682ecac0a1b812d6023d1 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (c6c27922645df9ce181a4c23a7d902d31447cbfa)
\
N -- N -- N (01213ceba8b84da093dbe9aa50828696a00e688f)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=01213ceba8b84da093dbe9aa5082869…
commit 01213ceba8b84da093dbe9aa50828696a00e688f
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 08:26:17 2015 +0200
alloc: Optionally enforce first common TS in find_multi_slots (TODO)
TODO:
- This isn't probably triggered at all currently, so this commit
can possibly be dropped
http://cgit.osmocom.org/osmo-pcu/commit/?id=7f79f0d332316acb306682ecac0a1b8…
commit 7f79f0d332316acb306682ecac0a1b812d6023d1
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jul 17 11:38:49 2015 +0200
bssgp: Adapt flowcontrol MS default to current alloc algorithm
Currently the values Bmax/R default MS are computed under the
assumption than min(4, N_PDCH) DL slots are allocated for an MS, even
if multislot assignment is not enabled.
This commit changes the computation to assume 1 DL slot if algorithm
A is selected or the dynamic algorithm is used and has disabled
multislot assigment due to high load.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
src/gprs_bssgp_pcu.cpp | 7 +++++--
src/gprs_rlcmac.h | 3 +++
src/gprs_rlcmac_ts_alloc.cpp | 21 +++++++++++++++++++++
3 files changed, 29 insertions(+), 2 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenBTS' transceiver retro-fit".
The tag, fairwaves/0.1.9 has been created
at bb8d46adaa9b8571be30c6d1c75c6aadd4f0b43d (commit)
- Log -----------------------------------------------------------------
commit bb8d46adaa9b8571be30c6d1c75c6aadd4f0b43d
Author: Kirill Zakharenko <earwin(a)gmail.com>
Date: Thu Jul 16 16:45:36 2015 +0200
bumped version to 0.1.9
-----------------------------------------------------------------------
hooks/post-receive
--
OpenBTS' transceiver retro-fit
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenBTS' transceiver retro-fit".
The branch, fairwaves/master has been updated
via bb8d46adaa9b8571be30c6d1c75c6aadd4f0b43d (commit)
via 20b388973c2f2031b4662e7075a6d12f80cf4c84 (commit)
from 0d039e26764f8e136c7c2579195fc169f6805e4b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-trx/commit/?id=bb8d46adaa9b8571be30c6d1c75c6aa…
commit bb8d46adaa9b8571be30c6d1c75c6aadd4f0b43d
Author: Kirill Zakharenko <earwin(a)gmail.com>
Date: Thu Jul 16 16:45:36 2015 +0200
bumped version to 0.1.9
http://cgit.osmocom.org/osmo-trx/commit/?id=20b388973c2f2031b4662e7075a6d12…
commit 20b388973c2f2031b4662e7075a6d12f80cf4c84
Author: Kirill Zakharenko <earwin(a)gmail.com>
Date: Thu Jul 16 16:45:04 2015 +0200
build with instruction set/tuning for atom processors
fix non-working hardening
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 6 ++++++
debian/control | 2 +-
debian/rules | 4 +++-
3 files changed, 10 insertions(+), 2 deletions(-)
hooks/post-receive
--
OpenBTS' transceiver retro-fit
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/wip/pdch-alloc has been updated
discards 27d9f3e9d45a7f7be15cd1b602cb94f8ab057c3e (commit)
discards 563f35eb49be3d7f1ecdc3d230c81fe28315e607 (commit)
discards 96a33c74849c8e92fd6e101fc633fdd27891f25e (commit)
discards 58070d62c88586fda707b88df6d442b480137f78 (commit)
discards ac4084f0c09fb3df0b1ff4cd0c406cf14b588d7d (commit)
discards 8a99b7a87a7fb2940333a45e17fdb452fe485ae1 (commit)
discards b4f2b917c24fe051d05366f78db7d2ccd22bd7ae (commit)
discards 4095a641fed649f3a08873963253c2ab262f0281 (commit)
via c6c27922645df9ce181a4c23a7d902d31447cbfa (commit)
via 77da35515ce40baf2305cf7cf5e4008f6b478e36 (commit)
via 7b3675bf7a6203467e6a72e255544365cefc3b06 (commit)
via 0f352a6f2293534fa31bfe81cf85ea7dbe317481 (commit)
via bf9042203d02298040e5289c86238961c154a3d4 (commit)
via 7af53e61f0a9de8c6ebe412d7bb0ffe11f71dbbd (commit)
via 88fb6136fb8b69f37ded4c868689556f3bde3ac8 (commit)
via e21b79cb211fa930b79b69ce9416a25816daff47 (commit)
via f16a069fd7e34c3f94527965073df3bae0e524b1 (commit)
via 5979fe9d8af159bbf8ea382bcd06ad43e25e209c (commit)
via 400ec02e8a0415a59eae9dcdae43de38247897a3 (commit)
via 40da3e17e5b3d4cf199cb868d561f98c35b93147 (commit)
via 5a2b8be3f5c9659cedb56855d2741accfdaeab3d (commit)
via 2b558857dd720ea0a743d2656873a8c472ecd6b9 (commit)
via a8c2aaf6f05d5e25665e8cbb2b415c6a2ad34d8b (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (27d9f3e9d45a7f7be15cd1b602cb94f8ab057c3e)
\
N -- N -- N (c6c27922645df9ce181a4c23a7d902d31447cbfa)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=c6c27922645df9ce181a4c23a7d902d…
commit c6c27922645df9ce181a4c23a7d902d31447cbfa
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 08:26:17 2015 +0200
alloc: Optionally enforce first common TS in find_multi_slots (TODO)
TODO:
- This isn't probably triggered at all currently, so this commit
can possibly be dropped
-----------------------------------------------------------------------
Summary of changes:
src/bts.h | 2 +
src/gprs_rlcmac_ts_alloc.cpp | 76 ++++-
tests/alloc/AllocTest.cpp | 81 +++--
tests/alloc/AllocTest.err | 676 ++-------------------------------------
tests/alloc/AllocTest.ok | 730 ++++++++++++++++++++++++++-----------------
5 files changed, 602 insertions(+), 963 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/master has been updated
via 77da35515ce40baf2305cf7cf5e4008f6b478e36 (commit)
via 7b3675bf7a6203467e6a72e255544365cefc3b06 (commit)
via 0f352a6f2293534fa31bfe81cf85ea7dbe317481 (commit)
via bf9042203d02298040e5289c86238961c154a3d4 (commit)
via 7af53e61f0a9de8c6ebe412d7bb0ffe11f71dbbd (commit)
via 88fb6136fb8b69f37ded4c868689556f3bde3ac8 (commit)
via e21b79cb211fa930b79b69ce9416a25816daff47 (commit)
via f16a069fd7e34c3f94527965073df3bae0e524b1 (commit)
via 5979fe9d8af159bbf8ea382bcd06ad43e25e209c (commit)
via 400ec02e8a0415a59eae9dcdae43de38247897a3 (commit)
via 40da3e17e5b3d4cf199cb868d561f98c35b93147 (commit)
via 5a2b8be3f5c9659cedb56855d2741accfdaeab3d (commit)
via 2b558857dd720ea0a743d2656873a8c472ecd6b9 (commit)
via a8c2aaf6f05d5e25665e8cbb2b415c6a2ad34d8b (commit)
via 69c9bfa0897c63b8a220bdb8db6658dc5021e5da (commit)
via b2439bbb8a73f00873efd7f744f70be535496e90 (commit)
via 3a10dbd56428cf0e79b738f62748509bbd04aa68 (commit)
via e0853cdf42e60acd7759acd4869c84756eb1fa27 (commit)
via 5879c6493f74aecddc81abbd785065325bf2e117 (commit)
via 47a57f6f869f19704bbb993fc157a86fd0c85e58 (commit)
via 61205a7e6539b3926c3039e8dcabda6aa9b408ef (commit)
from 57cf69a18ccceac4b250dceb56c4e0d5f0018a95 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=77da35515ce40baf2305cf7cf5e4008…
commit 77da35515ce40baf2305cf7cf5e4008f6b478e36
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 16 18:33:46 2015 +0200
alloc: Make alloc_algorithm_dynamic stateful
Currently there is no persistent state being used in
alloc_algorithm_dynamic. So algorithm B is even used in persistent
high usage scenarios. If there are many active TBFs, multislot
assigments are not fair, because MS of a "higher" multislot class get
higher troughputs. On the other hand, as long as all PDCH are busy no
bandwidth will be wasted even if all MS use algorithm A.
This commit modifies alloc_algorithm_dynamic to disable algorithm B
when that call fails. It then keeps it disabled until there is a
single PDCH which is idle (it is considered idle, if there is at most
one active DL TBF assigned to it).
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=7b3675bf7a6203467e6a72e25554436…
commit 7b3675bf7a6203467e6a72e255544365cefc3b06
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 16 18:28:22 2015 +0200
alloc/test: Fix trx_no assertion
Currently the value of trx_no2 is used in the assertion, even if the
call to tfi_find_free has failed.
This commit fixes the asserted expression to only compare the trx_no
values if the function call has succeeded.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=0f352a6f2293534fa31bfe81cf85ea7…
commit 0f352a6f2293534fa31bfe81cf85ea7dbe317481
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 16 18:23:33 2015 +0200
alloc/test: Free the TBF if the recursion has failed
Currently if both an uplink and a downlink TBF are to be allocated by
alloc_tbfs() and the second allocation fails, the first TBF is not
freed.
This commit changes the recursive function to free the TBF if the ms
variable has been changed to NULL.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=bf9042203d02298040e5289c8623896…
commit bf9042203d02298040e5289c86238961c154a3d4
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 16 18:19:09 2015 +0200
alloc/test: Use lower case for slots with TFI shortage
Indicate those slots with lower case letters that do not have a spare
TFI for the other direction if such a TBF has not been attached to
the MS object yet.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=7af53e61f0a9de8c6ebe412d7bb0ffe…
commit 7af53e61f0a9de8c6ebe412d7bb0ffe11f71dbbd
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 16 15:04:07 2015 +0200
alloc: Use a separate usage computation for algo A
Currently algorithm A can select an TBF even when there is no free
TBF in the reverse direction. While this does not necessarily lead to
an allocation failure, the probabily is higher. In addition, the
current slot reservations are not taken into account.
This commit changes the selection algorithm to prefer slots where TFI
are available in both directions and which are less reserved.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=88fb6136fb8b69f37ded4c868689556…
commit 88fb6136fb8b69f37ded4c868689556f3bde3ac8
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 16 15:01:38 2015 +0200
alloc/test: Show expectation before failure
To simplify debugging, show the actuals value before the assertion
fails in some cases.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=e21b79cb211fa930b79b69ce9416a25…
commit e21b79cb211fa930b79b69ce9416a25816daff47
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 16 11:48:43 2015 +0200
alloc: Change tx_window optimization strategy
Currently each tx_window combination is checked only once by using a
set containing the sets of TX slots that have been checked already.
This approach does not ensure, that num_tx and ul_ts really match the
tx_window being tested. This does not make a difference with the
current test cases probably because num_tx starts with 1 and is
increased each iteration. Since the bitmap optimization is equivalent
to a cache optimization strategy that only uses tx_window as key. On
the other hand, ul_ts, num_tx, and rx_mask cannot be derived from
tx_window, but these values are also refered to after the call to
test_and_set_bit(). This makes it difficult to prove that correctness
of the caching. While this will not lead to a defect, the results
might be less optimal.
This commit changes the optimization strategy to skip all tx_window
where ul_ts and ul_ts+num_tx-1 are not both contained. This provides
a similar degree of optimization like the set approach (only the
iteration with num_ts == 8 is not optimized, which only applies to to
ms class 18 and 29 MS) but ensures that the values of the related
variables have a clear relationship.
Note that the bitset based optimization for rx_window does not suffer
from a possible cache inconsistency, since only tx_window and
rx_window (tx_slot_count and rx_slot_count can be derived from the
windows and thus are covered by the cache key) are used after the call
to test_and_set_bit(). tx_window is constant over the whole lifetime
of the cache.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=f16a069fd7e34c3f94527965073df3b…
commit f16a069fd7e34c3f94527965073df3bae0e524b1
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 14:29:34 2015 +0200
pcu: Use alloc_algorithm_dynamic by default
The dynamic algorithm behaves like B until there are no TFI left.
This commit changes the default algorithm to to former.
Ticket: #1934
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=5979fe9d8af159bbf8ea382bcd06ad4…
commit 5979fe9d8af159bbf8ea382bcd06ad43e25e209c
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 14:02:41 2015 +0200
alloc: Add counters for successful algo A/B allocations
This adds counters for algorithm A and B with count successful
allocation combined for UL and DL.
Ticket: #1934
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=400ec02e8a0415a59eae9dcdae43de3…
commit 400ec02e8a0415a59eae9dcdae43de38247897a3
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 13:31:48 2015 +0200
alloc: Add 'dynamic' allocation algorithm
The idea behind this meta algorithm is to automatically select one of
the other algorithms based on the system state. Basically algorithm B
will be selected if the PDCH usage is low to improve throughput and
latency. Algorithm A will be selected to support more concurrent MS.
This commit adds a first simple state-less version of this algorithm
that always tries B first and only if that fails A is tried
afterwards.
The following VTY command is added to the 'pcu' node:
- alloc-algorithm dynamic
Ticket: #1934
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=40da3e17e5b3d4cf199cb868d561f98…
commit 40da3e17e5b3d4cf199cb868d561f98c35b93147
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 12:57:07 2015 +0200
alloc: Remove disabled code fragment for multi-UL allocation
This part of algorithm_b has already been disabled. Further work may
depend on this, but it is going out of sync. So this commit removes
it completely.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=5a2b8be3f5c9659cedb56855d2741ac…
commit 5a2b8be3f5c9659cedb56855d2741accfdaeab3d
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 11:35:21 2015 +0200
alloc: Refactor alloc algorithms to only apply changes on success
Currently these algorithms modify other objects (MS, TBF, PDCH) even
if the allocation will fail later on. To implement an algorithm that
dynamically tries another algorithm on failure (e.g. A after B), the
first (failing) algorithm should not change or damage anything.
This commit refactors algorithm A and B to delay the actual allocation
until it is known that the allocation will not fail.
Ticket: #1934
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=2b558857dd720ea0a743d2656873a8c…
commit 2b558857dd720ea0a743d2656873a8c472ecd6b9
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jul 13 15:15:18 2015 +0200
alloc: Remove redundant first_common_ts handling
Currently this code path is only used, if an allocation has been
taken place in a former call to an allocation algorithm function.
If this was for an DL TBF, the first common TS was selected,
otherwise the least used common TS was selected for an UL TBF.
The shrinking of the UL set (to 1<<first_common_ts) is done in the
latter case.
This commit removes an additional code path that aligns the UL set to
first_common_ts, because it has no more influence on the set of
common TS after both UL and DL TBF have been allocated.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=a8c2aaf6f05d5e25665e8cbb2b415c6…
commit a8c2aaf6f05d5e25665e8cbb2b415c6a2ad34d8b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jul 13 14:50:08 2015 +0200
alloc/test: Add test for interleaved TBF chains
MS iniated TCP connections generally result in a sequence
of short time UL and longer lasting DL TBFs, being interleaved
between several MS. This scenario is not covered by the existing
tests.
This commit adds a test, that allocates as man as possible TBFs
several times with different test modes without clearing the BTS (and
thus the TBF list) in between. The number of allocated DL TBFs in
each round is expected to be constant.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
src/bts.cpp | 149 ++--
src/bts.h | 30 +-
src/gprs_ms.cpp | 8 +
src/gprs_ms.h | 2 +
src/gprs_rlcmac.h | 11 +-
src/gprs_rlcmac_ts_alloc.cpp | 471 ++++++++---
src/pcu_main.cpp | 2 +-
src/pcu_vty.c | 13 +-
src/tbf.cpp | 65 +-
src/tbf.h | 5 +-
src/tbf_dl.cpp | 17 +-
tests/alloc/AllocTest.cpp | 410 ++++++---
tests/alloc/AllocTest.err | 875 +++++++++++++++++++
tests/alloc/AllocTest.ok | 1907 +++++++++++++++++++++++++++++++++++++++---
tests/tbf/TbfTest.cpp | 10 +-
tests/tbf/TbfTest.err | 324 ++++---
16 files changed, 3636 insertions(+), 663 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, master has been updated
via 61205a7e6539b3926c3039e8dcabda6aa9b408ef (commit)
via 57cf69a18ccceac4b250dceb56c4e0d5f0018a95 (commit)
via dd08ac86e6fa1ea69e78c344424d72fc9d79d6d7 (commit)
via bae33a70019e2344053eae3798856364cdb8aa12 (commit)
via 5e46a20e030a71816a20935befadf232968e1ff6 (commit)
via c135b878cd7a155431b4f000e9c00be07e157222 (commit)
from 1139ec1d0f20014bb17ea5d5cb65478b4489a8e7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
src/gprs_rlcmac_ts_alloc.cpp | 175 ++++++++--------
tests/alloc/AllocTest.cpp | 87 +++++++-
tests/alloc/AllocTest.err | 24 +++
tests/alloc/AllocTest.ok | 480 +++++++++++++++++++++----------------------
4 files changed, 444 insertions(+), 322 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Radio block for interfacing with various radio hardware".
The branch, master has been updated
via ac1d8ec02def12a31168a1d06683c027cecdfe0e (commit)
from 46e95395e09f952654da30bf575790ad1f7736e1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/gr-osmosdr/commit/?id=ac1d8ec02def12a31168a1d06683c…
commit ac1d8ec02def12a31168a1d06683c027cecdfe0e
Author: Utomnia <info(a)utomnia.com>
Date: Thu Jul 16 11:15:41 2015 +0100
bug fixes
-----------------------------------------------------------------------
Summary of changes:
lib/sdrplay/sdrplay_source_c.cc | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU Radio block for interfacing with various radio hardware
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenBTS' transceiver retro-fit".
The branch, fairwaves/master has been created
at 0d039e26764f8e136c7c2579195fc169f6805e4b (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-trx/commit/?id=0d039e26764f8e136c7c2579195fc16…
commit 0d039e26764f8e136c7c2579195fc169f6805e4b
Author: Ivan Kluchnikov <kluchnikovi(a)gmail.com>
Date: Wed Apr 29 17:30:18 2015 +0300
debian: make it possible to install osmo-trx dependencies manually on the system
http://cgit.osmocom.org/osmo-trx/commit/?id=ad669513d22689d052869f1fd5ea97a…
commit ad669513d22689d052869f1fd5ea97ace9395fd4
Author: Ivan Kluchnikov <kluchnikovi(a)gmail.com>
Date: Mon Feb 23 17:46:10 2015 +0300
debian: update osmo-trx dependencies
Now we use uhd and umtrx-uhd instead of libuhd-dev.
http://cgit.osmocom.org/osmo-trx/commit/?id=fd978b28bdd016e498b44e229821400…
commit fd978b28bdd016e498b44e2298214000893205ca
Author: Ivan Kluchnikov <kluchnikovi(a)gmail.com>
Date: Mon Sep 22 17:32:53 2014 +0400
debian: Add debug package for the osmo-trx
http://cgit.osmocom.org/osmo-trx/commit/?id=1b6aaae3fad5c5ca29a94ce728ec8d9…
commit 1b6aaae3fad5c5ca29a94ce728ec8d9147f26f4b
Author: Ivan Kluchnikov <kluchnikovi(a)gmail.com>
Date: Sun Mar 9 14:58:40 2014 +0400
debian: Add debian directory to ease building packages
-----------------------------------------------------------------------
hooks/post-receive
--
OpenBTS' transceiver retro-fit
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenBTS' transceiver retro-fit".
The branch, fairwaves/master-old has been created
at 2fb62ea45e8287821175558e1d75209b46355348 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-trx/commit/?id=2fb62ea45e8287821175558e1d75209…
commit 2fb62ea45e8287821175558e1d75209b46355348
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Mon Apr 8 00:14:08 2013 +0200
Transceier52M: Make error response to an unknown command on UDP command interface more understandable.
Previously we just repeated the last response which could confuse a command sender.
http://cgit.osmocom.org/osmo-trx/commit/?id=feb4028b1b16c69ac363e3db550d54a…
commit feb4028b1b16c69ac363e3db550d54a7792242db
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Tue May 19 23:58:02 2015 -0400
Transceiver: Check TSC values to be in [0..7] range.
http://cgit.osmocom.org/osmo-trx/commit/?id=7451e47d8afc4973a4fca9300198459…
commit 7451e47d8afc4973a4fca9300198459cec568e19
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Sun May 17 23:25:57 2015 -0400
uhd: Output Rx/Tx gain limits to log to make it more transparent.
http://cgit.osmocom.org/osmo-trx/commit/?id=a6e2d6f9a109662ff4e95bff1d49dfa…
commit a6e2d6f9a109662ff4e95bff1d49dfa00c4b164c
Author: Tom Tsou <tom(a)tsou.cc>
Date: Thu Dec 18 15:26:57 2014 -0800
Transceiver52M: Add clipping detection on RACH input
Alert user of overdriven RACH input indicated by a positive
threshold detector result. This indication serves as notification
that the receive RF gain level is too high for the configured
transceiver setup.
Signed-off-by: Tom Tsou <tom(a)tsou.cc>
http://cgit.osmocom.org/osmo-trx/commit/?id=456cf7f068e7244c4558c0e6eaa02dc…
commit 456cf7f068e7244c4558c0e6eaa02dcbdfdc210b
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Tue Apr 28 12:20:49 2015 -0400
A hack to pass all dev.args to UHD.
http://cgit.osmocom.org/osmo-trx/commit/?id=8974a801927100a7657fd973c5b0982…
commit 8974a801927100a7657fd973c5b098289ac6f35f
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Thu Apr 9 18:55:02 2015 +0300
umtrx: Don't use DSP tuning, because LMS6002D PLL steps are small enough.
We end up with DSP tuning just for 2-3Hz, which is meaningless and
only distort the signal.
http://cgit.osmocom.org/osmo-trx/commit/?id=63cd7705a9bf04e33f33fb26f25ef23…
commit 63cd7705a9bf04e33f33fb26f25ef23a23a1e9a6
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Tue Apr 28 13:26:07 2015 -0400
uhd: Update UmTRX specific code to work with PA Tx gain.
http://cgit.osmocom.org/osmo-trx/commit/?id=00cc772f90b274bb75232f29b20c31d…
commit 00cc772f90b274bb75232f29b20c31d5b552cfde
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Tue Apr 28 23:09:02 2015 -0400
uhd: Set RF frontend bandwidth for UmTRX to improve signal quality.
http://cgit.osmocom.org/osmo-trx/commit/?id=34333e8919d02fd1e4177917dd425a9…
commit 34333e8919d02fd1e4177917dd425a9ee6e615e1
Author: Ivan Kluchnikov <kluchnikovi(a)gmail.com>
Date: Wed Apr 29 17:30:18 2015 +0300
debian: make it possible to install osmo-trx dependencies manually on the system
http://cgit.osmocom.org/osmo-trx/commit/?id=947fc8cd1f6b468798d015e0032ffb5…
commit 947fc8cd1f6b468798d015e0032ffb541a849e50
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Tue Apr 28 13:17:31 2015 -0400
Revert "UmTRX: Fix Tx gain setting procedure for the best signal quality."
This reverts commit 48da6f97e3274f751a133365b526f4ca0f3b7ea1.
http://cgit.osmocom.org/osmo-trx/commit/?id=cd20d12392811ef92fe0f60c6184c31…
commit cd20d12392811ef92fe0f60c6184c31f483fc07e
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Wed Mar 25 14:22:37 2015 +0300
uhd: Use full DAC scale with UmTRX to improve signal quality.
http://cgit.osmocom.org/osmo-trx/commit/?id=b61d91b50d1efe4cc303c2e9838de9f…
commit b61d91b50d1efe4cc303c2e9838de9fb54148d26
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Sun Mar 1 10:30:12 2015 +0100
Logger: Output ERR log messages to stderr as well.
http://cgit.osmocom.org/osmo-trx/commit/?id=3531a6a6ac36e59c41a93cd9e07ae4c…
commit 3531a6a6ac36e59c41a93cd9e07ae4cc1529522f
Author: Ivan Kluchnikov <kluchnikovi(a)gmail.com>
Date: Mon Feb 23 17:46:10 2015 +0300
debian: update osmo-trx dependencies
Now we use uhd and umtrx-uhd instead of libuhd-dev.
http://cgit.osmocom.org/osmo-trx/commit/?id=19c392df82fe7acd303e4340059c87c…
commit 19c392df82fe7acd303e4340059c87c432623881
Author: Ivan Kluchnikov <kluchnikovi(a)gmail.com>
Date: Tue Dec 16 15:12:57 2014 +0300
Handover support for transceiver (TCH/F TCH/H SDCCH4 SDCCH8)
It allows to enable/disable access burst detection on each subslot individually.
http://cgit.osmocom.org/osmo-trx/commit/?id=48da6f97e3274f751a133365b526f4c…
commit 48da6f97e3274f751a133365b526f4ca0f3b7ea1
Author: Ivan Kluchnikov <kluchnikovi(a)gmail.com>
Date: Fri Sep 26 17:09:39 2014 +0400
UmTRX: Fix Tx gain setting procedure for the best signal quality.
We fixed setting Tx gain procedure in UHD, so we should fix it in osmo-trx too.
From our measurements, VGA1 must be 18dB plus-minus one and VGA2 is the best when 23dB or lower.
http://cgit.osmocom.org/osmo-trx/commit/?id=ed10f05eddddd4ce5a2a273e2979a4f…
commit ed10f05eddddd4ce5a2a273e2979a4f85a5acacb
Author: Ivan Kluchnikov <kluchnikovi(a)gmail.com>
Date: Mon Sep 22 17:32:53 2014 +0400
debian: Add debug package for the osmo-trx
http://cgit.osmocom.org/osmo-trx/commit/?id=a5ae4b52ca35262e35ab78355027084…
commit a5ae4b52ca35262e35ab7835502708442e6d79e8
Author: Ivan Kluchnikov <kluchnikovi(a)gmail.com>
Date: Sun Mar 9 14:58:40 2014 +0400
debian: Add debian directory to ease building packages
http://cgit.osmocom.org/osmo-trx/commit/?id=50fc8a1e9e81eaa735d288cf0383afa…
commit 50fc8a1e9e81eaa735d288cf0383afa9f2b32c77
Author: Ivan Kluchnikov <kluchnikovi(a)gmail.com>
Date: Mon Jun 30 20:36:51 2014 +0400
Transceiver52M: UHD: Exit on receive more than 100 timeout errors
Receiving timeout is not a fatal error and should be recoverable on network devices.
But for some reasons these errors are not always recoverable, in this case osmo-trx should be restarted.
http://cgit.osmocom.org/osmo-trx/commit/?id=79ca9ae69450142abf51c8cbd4d4a39…
commit 79ca9ae69450142abf51c8cbd4d4a39e33169c92
Author: Alexander Chemeris <Alexander.Chemeris(a)gmail.com>
Date: Sat Apr 19 17:25:00 2014 +0400
UmTRX: Manually set Tx gain stages for the best signal quality.
New UHD versions support split configuration of Tx gain stages.
We utilize this to set the gain configuration, optimal for
the Tx signal quality. From our measurements, VGA1 must be
18dB plus-minus one and VGA2 is the best when 23dB or lower.
-----------------------------------------------------------------------
hooks/post-receive
--
OpenBTS' transceiver retro-fit
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenBTS' transceiver retro-fit".
The branch, fairwaves/master has been deleted
was 2fb62ea45e8287821175558e1d75209b46355348
-----------------------------------------------------------------------
2fb62ea45e8287821175558e1d75209b46355348 Transceier52M: Make error response to an unknown command on UDP command interface more understandable.
-----------------------------------------------------------------------
hooks/post-receive
--
OpenBTS' transceiver retro-fit
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/master has been updated
discards 01f5df9589e83f97f9b15e31b06a53cfe4192e6d (commit)
discards d6108ac1e13b9701b4bc2c5b2dba360ac231b589 (commit)
discards 5a7dd909fe51a9925ca844cdfcba48e0a890fb56 (commit)
discards cfdd37fa164f8918fe6dea33b0212d01133f98e5 (commit)
discards e3859a113af4d7865831a7f778574f830de8b23f (commit)
via 57cf69a18ccceac4b250dceb56c4e0d5f0018a95 (commit)
via dd08ac86e6fa1ea69e78c344424d72fc9d79d6d7 (commit)
via bae33a70019e2344053eae3798856364cdb8aa12 (commit)
via 5e46a20e030a71816a20935befadf232968e1ff6 (commit)
via c135b878cd7a155431b4f000e9c00be07e157222 (commit)
via 1139ec1d0f20014bb17ea5d5cb65478b4489a8e7 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (01f5df9589e83f97f9b15e31b06a53cfe4192e6d)
\
N -- N -- N (57cf69a18ccceac4b250dceb56c4e0d5f0018a95)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
src/sba.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/wip/pdch-alloc has been updated
discards aa148d0a0734d1cec5d588b20f81e1702c4014b9 (commit)
discards 0a6e06388875adb859d33712e68b583e77e5b7bb (commit)
discards 378d5075a42e6f3185f858a0b5b04dd8e42bafda (commit)
discards a64aa7a65defed38baf2b344240ddf16095a9051 (commit)
discards 5f16b96df993c8f44ed8ab64a39c20b9b2904db3 (commit)
discards f78593d6e83dd9f26bd1f9cc0e97dabf792a6d8a (commit)
discards cf01665b6bd4cc79276cb331ec20f9141c622eee (commit)
discards d31560624cd55371fc9d0a3f7b8d023f5dda3558 (commit)
discards 48d01a8e2fe77fa13d4f846ba730f43fa3166319 (commit)
discards c86d1933900fdf4c1a296fe6fba72512fe025958 (commit)
discards 0c8ebf5f511826419c37e04dd1363357c2b4ec35 (commit)
discards ec4f21ddec40a9091083c23ec1f040fd52525df9 (commit)
discards 0062976f9ba526c67544184f19e7d1216b3d5fcd (commit)
discards 4da768b26976cd10f20be32b460d374051b20b81 (commit)
discards 0023fbde402832765f083cd79a3e2fe382e8b8fe (commit)
discards 01f5df9589e83f97f9b15e31b06a53cfe4192e6d (commit)
discards d6108ac1e13b9701b4bc2c5b2dba360ac231b589 (commit)
discards 5a7dd909fe51a9925ca844cdfcba48e0a890fb56 (commit)
discards cfdd37fa164f8918fe6dea33b0212d01133f98e5 (commit)
discards e3859a113af4d7865831a7f778574f830de8b23f (commit)
via 27d9f3e9d45a7f7be15cd1b602cb94f8ab057c3e (commit)
via 563f35eb49be3d7f1ecdc3d230c81fe28315e607 (commit)
via 96a33c74849c8e92fd6e101fc633fdd27891f25e (commit)
via 58070d62c88586fda707b88df6d442b480137f78 (commit)
via ac4084f0c09fb3df0b1ff4cd0c406cf14b588d7d (commit)
via 8a99b7a87a7fb2940333a45e17fdb452fe485ae1 (commit)
via b4f2b917c24fe051d05366f78db7d2ccd22bd7ae (commit)
via 4095a641fed649f3a08873963253c2ab262f0281 (commit)
via 69c9bfa0897c63b8a220bdb8db6658dc5021e5da (commit)
via b2439bbb8a73f00873efd7f744f70be535496e90 (commit)
via 3a10dbd56428cf0e79b738f62748509bbd04aa68 (commit)
via e0853cdf42e60acd7759acd4869c84756eb1fa27 (commit)
via 5879c6493f74aecddc81abbd785065325bf2e117 (commit)
via 47a57f6f869f19704bbb993fc157a86fd0c85e58 (commit)
via 61205a7e6539b3926c3039e8dcabda6aa9b408ef (commit)
via 57cf69a18ccceac4b250dceb56c4e0d5f0018a95 (commit)
via dd08ac86e6fa1ea69e78c344424d72fc9d79d6d7 (commit)
via bae33a70019e2344053eae3798856364cdb8aa12 (commit)
via 5e46a20e030a71816a20935befadf232968e1ff6 (commit)
via c135b878cd7a155431b4f000e9c00be07e157222 (commit)
via 1139ec1d0f20014bb17ea5d5cb65478b4489a8e7 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (aa148d0a0734d1cec5d588b20f81e1702c4014b9)
\
N -- N -- N (27d9f3e9d45a7f7be15cd1b602cb94f8ab057c3e)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=27d9f3e9d45a7f7be15cd1b602cb94f…
commit 27d9f3e9d45a7f7be15cd1b602cb94f8ab057c3e
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 14:29:34 2015 +0200
pcu: Use alloc_algorithm_dynamic by default
The dynamic algorithm behaves like B until there are no TFI left.
This commit changes the default algorithm to to former.
Ticket: #1934
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=563f35eb49be3d7f1ecdc3d230c81fe…
commit 563f35eb49be3d7f1ecdc3d230c81fe28315e607
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 14:02:41 2015 +0200
alloc: Add counters for successful algo A/B allocations
This adds counters for algorithm A and B with count successful
allocation combined for UL and DL.
Ticket: #1934
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=96a33c74849c8e92fd6e101fc633fdd…
commit 96a33c74849c8e92fd6e101fc633fdd27891f25e
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 13:31:48 2015 +0200
alloc: Add 'dynamic' allocation algorithm
The idea behind this meta algorithm is to automatically select one of
the other algorithms based on the system state. Basically algorithm B
will be selected if the PDCH usage is low to improve throughput and
latency. Algorithm A will be selected to support more concurrent MS.
This commit adds a first simple state-less version of this algorithm
that always tries B first and only if that fails A is tried
afterwards.
The following VTY command is added to the 'pcu' node:
- alloc-algorithm dynamic
Ticket: #1934
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=58070d62c88586fda707b88df6d442b…
commit 58070d62c88586fda707b88df6d442b480137f78
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 12:57:07 2015 +0200
alloc: Remove disabled code fragment for multi-UL allocation
This part of algorithm_b has already been disabled. Further work may
depend on this, but it is going out of sync. So this commit removes
it completely.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=ac4084f0c09fb3df0b1ff4cd0c406cf…
commit ac4084f0c09fb3df0b1ff4cd0c406cf14b588d7d
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 11:35:21 2015 +0200
alloc: Refactor alloc algorithms to only apply changes on success
Currently these algorithms modify other objects (MS, TBF, PDCH) even
if the allocation will fail later on. To implement an algorithm that
dynamically tries another algorithm on failure (e.g. A after B), the
first (failing) algorithm should not change or damage anything.
This commit refactors algorithm A and B to delay the actual allocation
until it is known that the allocation will not fail.
Ticket: #1934
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=8a99b7a87a7fb2940333a45e17fdb45…
commit 8a99b7a87a7fb2940333a45e17fdb452fe485ae1
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 08:26:17 2015 +0200
alloc: Optionally enforce first common TS in find_multi_slots (TODO)
TODO:
- This isn't probably triggered at all currently, so this commit
can possibly be dropped
http://cgit.osmocom.org/osmo-pcu/commit/?id=b4f2b917c24fe051d05366f78db7d2c…
commit b4f2b917c24fe051d05366f78db7d2ccd22bd7ae
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jul 13 15:15:18 2015 +0200
alloc: Remove redundant first_common_ts handling
Currently this code path is only used, if an allocation has been
taken place in a former call to an allocation algorithm function.
If this was for an DL TBF, the first common TS was selected,
otherwise the least used common TS was selected for an UL TBF.
The shrinking of the UL set (to 1<<first_common_ts) is done in the
latter case.
This commit removes an additional code path that aligns the UL set to
first_common_ts, because it has no more influence on the set of
common TS after both UL and DL TBF have been allocated.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=4095a641fed649f3a08873963253c2a…
commit 4095a641fed649f3a08873963253c2ab262f0281
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jul 13 14:50:08 2015 +0200
alloc/test: Add test for interleaved TBF chains
MS iniated TCP connections generally result in a sequence
of short time UL and longer lasting DL TBFs, being interleaved
between several MS. This scenario is not covered by the existing
tests.
This commit adds a test, that allocates as man as possible TBFs
several times with different test modes without clearing the BTS (and
thus the TBF list) in between. The number of allocated DL TBFs in
each round is expected to be constant.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=69c9bfa0897c63b8a220bdb8db6658d…
commit 69c9bfa0897c63b8a220bdb8db6658dc5021e5da
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jul 13 14:38:18 2015 +0200
alloc/test: Put TBF allocation loop into alloc_many_tbfs
Currently all TBFs are deleted after the allocation loop finishes.
This make it difficult to interleave the TBF allocation like it
happens with real MS.
This commit refactors the allocation loop into alloc_many_tbfs and
adds support for TLLIs, which are derived from the counter value and
used to retrieve an old MS object if alloc_many_tbfs is called a
second time.
Note that this does not make a difference for the existing tests.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=b2439bbb8a73f00873efd7f744f70be…
commit b2439bbb8a73f00873efd7f744f70be535496e90
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jul 13 14:23:32 2015 +0200
ms: Add is_idle() method to GprsMs::Guard
Currently there is no simple way to determine, whether the MS object
protected by a guard will continue to exist after the guard object is
destroyed.
This patch adds a is_idle() method that will return true if the MS
object is just kept by the guard from being idle. In that case, the
MS object would either be deleted or return true for
GprsMs::is_idle() after the guard's destruction, provided that no
TBF attachment took place in between.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=3a10dbd56428cf0e79b738f62748509…
commit 3a10dbd56428cf0e79b738f62748509bbd04aa68
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jul 10 19:52:37 2015 +0200
tbf: Put the TFI->TBF mapping into the PDCH objects
Currently the TBFs are registered in a TFI indexed array within the TRX
objects. TBFs can be searched globally by TFI and TRX number. This
conflicts with the use of the same TFI for different TBF on different
PDCH. This use case requires the specification of the PDCH as
additional search dimension.
This commit moves the TFI index TBF arrays into the PDCH objects. The
related methods are updated accordingly.
Ticket: #1793
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=e0853cdf42e60acd7759acd4869c847…
commit e0853cdf42e60acd7759acd4869c84756eb1fa27
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jul 10 12:25:25 2015 +0200
alloc: Allocate TFI per slot (algorithm A)
Currently the TFI are managed per TRX, thus only a maximum of 32 TBF
per direction and per TRX are possible simultaneously.
This commit modifies algorithm_a() to allow the sharing of TFI
between different PDCH. Since algorithm A only assigns a single slot
to each TBF, the TFI of each PDCH can be assigned independently.
This increases the maximum to 32 TBF per direction and per PDCH
concerning the TFI allocation.
Ticket: #1793
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=5879c6493f74aecddc81abbd7850653…
commit 5879c6493f74aecddc81abbd785065325bf2e117
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jul 10 10:41:36 2015 +0200
tbf: Move TFI selection into alloc_algorithm
Currently the TFI and the TRX have to be determined before the actual TBF
allocation function is called, passing TFI and TRX number as
parameters. This does fit to TFI reuse for different slots, since
this were tightly coupled with the slot selection.
This commit just moves the TFI selection into the alloc_algorithm
functions. The tfi parameter is removed from the the TFI alloc
functions. The trx parameter is changed into use_trx to optionally
limit the trx selection (same semantics like in tfi_find_free).
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=47a57f6f869f19704bbb993fc157a86…
commit 47a57f6f869f19704bbb993fc157a86fd0c85e58
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 8 12:53:16 2015 +0200
pdch: Manage TFIs per direction
Currently a single bit set is used to maintain a set of used TFI
without distinguishing between uplink and downlink. Since the
namespaces of UL and DL TFI are separate, this implementation is
not correct.
This commit changes gprs_rlcmac_pdch to use a separate bit set for
each direction. It also replace the corresponding conditional fprintf
statement in check_tfi_usage (AllocTest.cpp) by an equivalent
OSMO_ASSERT.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=61205a7e6539b3926c3039e8dcabda6…
commit 61205a7e6539b3926c3039e8dcabda6aa9b408ef
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 9 11:35:50 2015 +0200
alloc/test: Check for TFI conflicts
This commit adds the check_tfi_usage function that checks the TFI
usage. It iterates through all TBFs, records on which PDCH it uses
which TFI and check for conflicts. It also checks the bits returned
by pdch->assigned_tfi(). The latter suffers from an bug in that
method (no separation of uplink and downlink), so a conditional
fprintf is used instead of an assertion. The method tfi_find_free
is checked for conflicts after allocations.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=57cf69a18ccceac4b250dceb56c4e0d…
commit 57cf69a18ccceac4b250dceb56c4e0d5f0018a95
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 8 12:18:33 2015 +0200
alloc: Fix MS_B/MS_C interpretation
Currently the handling of MS_B and MS_C is not compliant with TS
45.002, annex B.1. These values may only interpreted as 0, if
frequency hopping is not enabled and if there is no change from Rx to
Tx or vice-versa.
This commit sets Ttb/Trb to 1 if the table entry is MS_B/MS_C, since
only combined down/up access modes are supported.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=dd08ac86e6fa1ea69e78c344424d72f…
commit dd08ac86e6fa1ea69e78c344424d72fc9d79d6d7
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 9 12:06:56 2015 +0200
alloc: Do not use masking for multislot class type 2 MS
Currently the masks are computed equally for each class type. This
does not make much sense for class type 2 MS, since those are capable
to work in full duplex mode.
This commit sets the masks to 0xff for class type 2 MS.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=bae33a70019e2344053eae379885636…
commit bae33a70019e2344053eae3798856364cdb8aa12
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jul 6 14:55:13 2015 +0200
alloc: Select applicable Tta/Tra
According to TS 45.002, 6.4.2.2 the choice whether Tta or Tra has to
be applied, depends on the medium access mode (currently always
dynamic) and the number of UL/DL slots. Currently either value can be
used which might result in combinations not covered by the spec.
This commit changes find_multi_slots() to skip non-compliant
combinations.
Note that this code will have to be extended, if other medium
access modes are implemented.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=5e46a20e030a71816a20935befadf23…
commit 5e46a20e030a71816a20935befadf232968e1ff6
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 9 11:48:23 2015 +0200
alloc: Use an enum instead of numbers to select the mask
The local enums MASK_TT and MASK_TR replace the hard coded indices.
The variable m_idx is renamed to mask_sel for more clarity.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=c135b878cd7a155431b4f000e9c00be…
commit c135b878cd7a155431b4f000e9c00be07e157222
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 9 13:44:18 2015 +0200
alloc: Merge find_least_busy_pdch and find_least_reserved_pdch
Both functions only differ in the computation of the value for
num_tbfs.
This commit merge both functions and adds a parameter containing a
function for that compuation.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
src/sba.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, master has been updated
via 1139ec1d0f20014bb17ea5d5cb65478b4489a8e7 (commit)
from 3db617f14a0314a0e2a233b3ddaba1501213c0e5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=1139ec1d0f20014bb17ea5d5cb65478…
commit 1139ec1d0f20014bb17ea5d5cb65478b4489a8e7
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 15 14:17:19 2015 +0200
sba: Fix loop exit in SBAController::alloc (Coverity)
The commit 506f156f7a4aebb52dace00a760f86b2b4f5e19a has reverted the
TS search order. The outer loop exit condition was not updated
accordingly. This bug would would only lead to an error if there were
multiple TRX where the first TRX has not got any PDCH assigned.
This commit corrects the break condition.
Fixes: Coverity CID 1311776
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
src/sba.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/wip/pdch-alloc has been updated
discards 50076d7a18e03fee84017df4066efa1429904c41 (commit)
discards ba39f92b58e69d6c1d7268bb2b8f90d0ff199a41 (commit)
discards a58d17131f2f6f7aca4f2479a0348ce04625fbfe (commit)
via aa148d0a0734d1cec5d588b20f81e1702c4014b9 (commit)
via 0a6e06388875adb859d33712e68b583e77e5b7bb (commit)
via 378d5075a42e6f3185f858a0b5b04dd8e42bafda (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (50076d7a18e03fee84017df4066efa1429904c41)
\
N -- N -- N (aa148d0a0734d1cec5d588b20f81e1702c4014b9)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=aa148d0a0734d1cec5d588b20f81e17…
commit aa148d0a0734d1cec5d588b20f81e1702c4014b9
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 14:29:34 2015 +0200
pcu: Use alloc_algorithm_dynamic by default
The dynamic algorithm behaves like B until there are no TFI left.
This commit changes the default algorithm to to former.
Ticket: #1934
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=0a6e06388875adb859d33712e68b583…
commit 0a6e06388875adb859d33712e68b583e77e5b7bb
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 14:02:41 2015 +0200
alloc: Add counters for successful algo A/B allocations
This adds counters for algorithm A and B with count successful
allocation combined for UL and DL.
Ticket: #1934
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=378d5075a42e6f3185f858a0b5b04dd…
commit 378d5075a42e6f3185f858a0b5b04dd8e42bafda
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 13:31:48 2015 +0200
alloc: Add 'dynamic' allocation algorithm
The idea behind this meta algorithm is to automatically select one of
the other algorithms based on the system state. Basically algorithm B
will be selected if the PDCH usage is low to improve throughput and
latency. Algorithm A will be selected to support more concurrent MS.
This commit adds a first simple state-less version of this algorithm
that always tries B first and only if that fails A is tried
afterwards.
The following VTY command is added to the 'pcu' node:
- alloc-algorithm dynamic
Ticket: #1934
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, zecke/wip has been created
at 410d98e5d0c0eae76221a2d62a837b962f082506 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=410d98e5d0c0eae76221a2d62a837b9…
commit 410d98e5d0c0eae76221a2d62a837b962f082506
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 15:48:25 2015 +0200
alloc: Use least reserved PDCH for algo A (TODO)
TODO:
- unify find_least_reserved_pdch and find_least_busy_pdch or
- force find_multi_slots to single slot reservation
http://cgit.osmocom.org/osmo-pcu/commit/?id=eff0c350c848c642efad7ebe478a52c…
commit eff0c350c848c642efad7ebe478a52c2c8c351ce
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 15:10:20 2015 +0200
Revert "ms: Delay the call to set_reserved_slots(NULL, 0,0) (EXPERIMENTAL)"
This reverts commit 341c9189caf00c077ef73138d087bf29e3ae12d1.
http://cgit.osmocom.org/osmo-pcu/commit/?id=a0ea29a5968308224b24b8718a8baa0…
commit a0ea29a5968308224b24b8718a8baa09806ad645
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 14:35:57 2015 +0200
FIXUP bts: Add Poll Timeout counter (TODO)
http://cgit.osmocom.org/osmo-pcu/commit/?id=bdcfb71161aed1dd882ec7f9dcc4880…
commit bdcfb71161aed1dd882ec7f9dcc4880146175155
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 13:19:49 2015 +0200
sba: Reverse TS search order (TODO)
- when using multiple TS the first TS cannot be used for UL
eventually if a TBF is still active or releasing.
- Currently RACH requests are often accompanied by poll timeouts
- This cannot prevent them completely (especially with multiple TRX
in the future)
http://cgit.osmocom.org/osmo-pcu/commit/?id=70960fb90cf4ab5efa2851f6927e53b…
commit 70960fb90cf4ab5efa2851f6927e53bb14878512
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 12:54:26 2015 +0200
bts: Add Poll Timeout counter (TODO)
http://cgit.osmocom.org/osmo-pcu/commit/?id=9eb88f2348ce449deac1022950998ec…
commit 9eb88f2348ce449deac1022950998ecef372a67b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 12:34:26 2015 +0200
tbf: Remove call to update() in reuse_tbf (TODO)
http://cgit.osmocom.org/osmo-pcu/commit/?id=5ef6a6028a1ed8aa59d3b2a701d53e4…
commit 5ef6a6028a1ed8aa59d3b2a701d53e4737c15478
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 12:04:20 2015 +0200
tbf: Set ms in call to tbf_alloc_dl_tbf (TODO)
- reuse
- alloc didn't know slot reservation
TODO:
- cm
http://cgit.osmocom.org/osmo-pcu/commit/?id=341c9189caf00c077ef73138d087bf2…
commit 341c9189caf00c077ef73138d087bf29e3ae12d1
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 10:48:09 2015 +0200
ms: Delay the call to set_reserved_slots(NULL, 0,0) (EXPERIMENTAL)
TODO:
- Check whether this fixes the issues.
http://cgit.osmocom.org/osmo-pcu/commit/?id=f5082f9372efa00090519a1b133b7ee…
commit f5082f9372efa00090519a1b133b7eee88ea0d61
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 10:47:37 2015 +0200
ms: Clear the reserved slots in the destructor (FIXUP)
http://cgit.osmocom.org/osmo-pcu/commit/?id=6b3a27be054a2cc4667a22a4c435cd5…
commit 6b3a27be054a2cc4667a22a4c435cd5d7ecb59ce
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 14:48:13 2015 +0200
alloc: Disable inner loop debugging by default (TODO)
Callgrind: 42%-> 25%
http://cgit.osmocom.org/osmo-pcu/commit/?id=596f547a378786b2a9dea5a3b1e6182…
commit 596f547a378786b2a9dea5a3b1e6182abf794e60
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 14:34:24 2015 +0200
alloc: Optimize find_free_usf
According to callgrind, this function consumes 33% CPU when running
the AllocTest program.
This commit uses the assigned_usf() method to get the USFs allocated
by a PDCH instead of traversing the TBFs.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=eb22ef5c755a3bacda653185f4ce634…
commit eb22ef5c755a3bacda653185f4ce63402bd95d93
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 14:10:13 2015 +0200
tbf: Keep a set of used TFI and USF per PDCH (TODO)
http://cgit.osmocom.org/osmo-pcu/commit/?id=1e64bdbe3f7304fe5c5098ae0738d1f…
commit 1e64bdbe3f7304fe5c5098ae0738d1ff06f14ad1
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 13:43:52 2015 +0200
FIXUP tbf: Maintain the number of TBF per PDCH
http://cgit.osmocom.org/osmo-pcu/commit/?id=4d4fb6597592dc16795868ab24cb906…
commit 4d4fb6597592dc16795868ab24cb9063765c5fb9
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 13:40:18 2015 +0200
alloc: Skip common TS without free USF when rating (TODO)
http://cgit.osmocom.org/osmo-pcu/commit/?id=8cee5c6d06ebc743414df3b3d8ea4af…
commit 8cee5c6d06ebc743414df3b3d8ea4af462db0851
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 1 13:10:41 2015 +0200
alloc: Only reserve 1 UL slot with algorithm B (TODO)
Since currently the algorithm B will only allocate a single UL slot
and will have to stick to it (first common TS), the other possible UL
slots will not be allocated while the reservation is kept.
This commit adds code to update the reserved set of UL slots to the
single common TS when the UL TBF is allocated.
TODO:
- test it
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=53cf1d4da78852cc168246cca1f4caa…
commit 53cf1d4da78852cc168246cca1f4caa7e9acf837
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 1 12:27:30 2015 +0200
alloc: Set minimum slot capacity to 1 (TODO)
- < 0 can only happen rarely (if at all ATM)
- doesn't change anything
TODO:
- test it anyway
http://cgit.osmocom.org/osmo-pcu/commit/?id=3ac16ddac029d00f71bfe722cb25d66…
commit 3ac16ddac029d00f71bfe722cb25d66c26961fc7
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 1 12:19:40 2015 +0200
alloc: Only use common UL slots when calculating the capacity
Currently al possible UL slots are included in the capacity
calculation which is the base of the slot selection. Nevertheless
UL-only slots will never be used, since only one uplink slot (which
must be a common slot) will be used.
This patch changes the code to only include common slots in the
capacity sum.
Note that this might not be optimal if algorithm B supported
multiple uplink slots.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=0bb98075f4046e55c48478520752b09…
commit 0bb98075f4046e55c48478520752b09f71b545e0
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 22 16:14:23 2015 +0200
WIP Algorithm B UL (TODO)
Select UL slot based on slot usage (similar to algorithm A)
- Ensure to keep the first common TS
TODO:
- cm
http://cgit.osmocom.org/osmo-pcu/commit/?id=3c9fcfadc825256987ecb259b793c2f…
commit 3c9fcfadc825256987ecb259b793c2f85ed5d21c
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 10:24:37 2015 +0200
alloc: Base algo A on reserved PDCHs
Currently algorithm A bases its time slots selection on the number of
TBF actively using the PDCHs. This statistically prefers the first
time slots, especially with short living TBFs. So when the first TBF
is triggered by an uplink transfer (which generally results in a
short-lived TBF) the potentially longer living DL TBF will be bound
to the same slot. When another MS then requests an uplink TBF, it
will get the same slot (no UL TBF currently active).
This commit changes the algorithm to base its selection on reserved
slots instead.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=ea061943e0d4179822224d7830d0f14…
commit ea061943e0d4179822224d7830d0f147ce90ba2c
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 09:44:05 2015 +0200
alloc: Ignore slots with differing TSC if multiple slots are requested
According to TS 45.002, 6.4.2 the training sequence (TSC) must be the
same for all slots in a multi-slot set.
This commit updates find_possible_pdchs() to only consider slots with
the same TSC if more that 1 slot shall be assigned.
Note that the first PDCH's TSC will be used as reference, so if two
or more groups with a common TSC are configured, only the first will
be used. This restriction does not apply to algorithm A, since it
will not assign more than one slot and therefore sets the max_slots
parameter to 1.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=bbdca1b43caaa47ae71e35872909c25…
commit bbdca1b43caaa47ae71e35872909c25ffc091900
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 09:18:30 2015 +0200
ms: Get the set of slots currently active
This commits adds methods to GprsMs and gprs_rlcmac_tbf to retrieve
the slots that are actively used.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=b70f7ca553b4747618383b5c631f702…
commit b70f7ca553b4747618383b5c631f7023dc0b2f84
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 08:52:54 2015 +0200
ms: Add support for slot reservation
In contrast to the slots currently used by existing TBFs, the
reserved slots refer to the time slots that can be used for newly
allocated TBFs without causing conflicts (given that the first common
TS does not change). They correspond to the potential use of the
PDCHs and can be used to achieve a more uniform slot allocation.
This commit adds bit set based methods to GprsMs and gprs_rlcmac_trx
and a counter to gprs_rlcmac_pdch. The current TRX will also be
stored in the MS object.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=7e32903033af3f93dfe397e55de5498…
commit 7e32903033af3f93dfe397e55de549870747d62c
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jun 19 16:35:38 2015 +0200
alloc: Load balancing for algo A
Currently only the first enabled PDCH will be used. Beside the
throughput this will also limit the number of TBFs:
- number of UL TBFs <= 7
- number of DL TBFs <= 32
This commit changes the allocation algorithm to use the PDCH with the
least number of attached TBFs. This will improve the troughput in
both directions and the UL limits:
- number of UL TBFs <= min(32, N_PDCH * 7) UL TBFs
Ticket: #1794
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=3e4ac92f79446378fc4c4697d8f31ea…
commit 3e4ac92f79446378fc4c4697d8f31ea1cdb6eafb
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 14:18:46 2015 +0200
ms: Add tbf() method to get the TBF based on the direction
To avoid the need for a switch or conditional statement when needing
a TBF from an MS object in direction independant code, this method
contains that case distinction. For additional flexibility, a
reverse() function is added to get the opposite direction.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=6f9587bd091ff95c7150646920bc3c8…
commit 6f9587bd091ff95c7150646920bc3c8b1ea14d3b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 14:05:55 2015 +0200
ms: Add first_common_ts method to GprsMs
This method gets the index (0 based) of first common time slot used
by the TBFs attach to it. It expects that all of them have the same
notion of this. If no TBF is attached, -1 will be returned.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=6eca14991030ee87c9370c46d719e22…
commit 6eca14991030ee87c9370c46d719e22763a65609
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 13:45:05 2015 +0200
tbf: Maintain the number of TBF per PDCH
Currently the PDCH object do not know anything about the TBFs using
them. To make the slot allocation load dependant, at least some
numbers are required.
This commit adds TBF counters (one per direction) and the related methods
attach_tbf, detach_tbf, and num_tbfs to gprs_rlcmac_pdch.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=8fb193a04767967350fd63501f2f46e…
commit 8fb193a04767967350fd63501f2f46e8da3f1a66
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 13:30:43 2015 +0200
tbf: Update the new TBF in tbf_reuse (TODO)
Currently the old TBF is updated for reallocation in tbf_reuse().
This commit changes this to update the new TBF instead.
TODO:
- does this make sense?
- does this fix anything?
- should the call to update() be removed completely there?
http://cgit.osmocom.org/osmo-pcu/commit/?id=6ec4b962ba8be347708f3c4c3d3f106…
commit 6ec4b962ba8be347708f3c4c3d3f1062ba1ffc91
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 13:03:46 2015 +0200
tbf/test: Add assertions
These assertions check for the TBF allocation result before the tbf
object is dereferenced the first time.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=8b5add11527ee7108d0f11cf55d9726…
commit 8b5add11527ee7108d0f11cf55d972651a4a0eb1
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 13:00:20 2015 +0200
alloc/test: Use LOGL_DEBUG environment variable
When this environment variable is set, the logging level is set to
LOGL_DEBUG to help debugging without putting everything into
AllocTest.err.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=8f37bfe3abfaeda30de7f1f2f813c7b…
commit 8f37bfe3abfaeda30de7f1f2f813c7b9b20f39ac
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 12:45:11 2015 +0200
alloc/test: Enhance test_alloc_a
This commit adds:
- an assertion to check that count is valid,
- an assertion the verify that tbf_alloc did not fail
- a slots parameter to specify the enabled slots
- additional test invocations with more slots enabled
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=edcab1a0be452d8c977e35783ce489b…
commit edcab1a0be452d8c977e35783ce489beb82da099
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 12:19:52 2015 +0200
alloc/test: Add test for successive allocation
This test allocates as many as possible UL/DL TBF pairs, shows their
PDCH usage, and checks how many of them has been created
successfully.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/wip/pdch-alloc has been updated
discards 520c2919f4bf5d0d0d6dd254e8d76a6876b3b481 (commit)
discards 509fdb69a9e2036b55cac7f954f9343b6c77d5af (commit)
discards 8b7c196e9047073de6c7d4ff2857562ce0368303 (commit)
discards 03ecaff5834c949058dd128a9e4f4a549db9bcf5 (commit)
discards cb80e6abb755bb6711a56388eb709f0995de9b1c (commit)
discards f297ac8e06506ddce1ab629bbc36f4fa402af915 (commit)
discards 17ac3f7a1bd67aad0e0682d29d5356f193403f02 (commit)
discards acbf887cf8fcbd56fa3fd620cb46978210398bc9 (commit)
discards a8af58d7d5e44b175749290ef2a76f47fb714ac2 (commit)
discards 3a0635c0145e5c814945b30d7eea50d3fd76b851 (commit)
discards 9a2c6655686fb773550b6e1050f60c821eee70b4 (commit)
via 50076d7a18e03fee84017df4066efa1429904c41 (commit)
via ba39f92b58e69d6c1d7268bb2b8f90d0ff199a41 (commit)
via a58d17131f2f6f7aca4f2479a0348ce04625fbfe (commit)
via a64aa7a65defed38baf2b344240ddf16095a9051 (commit)
via 5f16b96df993c8f44ed8ab64a39c20b9b2904db3 (commit)
via f78593d6e83dd9f26bd1f9cc0e97dabf792a6d8a (commit)
via cf01665b6bd4cc79276cb331ec20f9141c622eee (commit)
via d31560624cd55371fc9d0a3f7b8d023f5dda3558 (commit)
via 48d01a8e2fe77fa13d4f846ba730f43fa3166319 (commit)
via c86d1933900fdf4c1a296fe6fba72512fe025958 (commit)
via 0c8ebf5f511826419c37e04dd1363357c2b4ec35 (commit)
via ec4f21ddec40a9091083c23ec1f040fd52525df9 (commit)
via 0062976f9ba526c67544184f19e7d1216b3d5fcd (commit)
via 4da768b26976cd10f20be32b460d374051b20b81 (commit)
via 0023fbde402832765f083cd79a3e2fe382e8b8fe (commit)
via 01f5df9589e83f97f9b15e31b06a53cfe4192e6d (commit)
via d6108ac1e13b9701b4bc2c5b2dba360ac231b589 (commit)
via 5a7dd909fe51a9925ca844cdfcba48e0a890fb56 (commit)
via cfdd37fa164f8918fe6dea33b0212d01133f98e5 (commit)
via e3859a113af4d7865831a7f778574f830de8b23f (commit)
via 3db617f14a0314a0e2a233b3ddaba1501213c0e5 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (520c2919f4bf5d0d0d6dd254e8d76a6876b3b481)
\
N -- N -- N (50076d7a18e03fee84017df4066efa1429904c41)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=50076d7a18e03fee84017df4066efa1…
commit 50076d7a18e03fee84017df4066efa1429904c41
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 14:29:34 2015 +0200
pcu: Use alloc_algorithm_dynamic by default
The dynamic algorithm behaves like B until there are no TFI left.
This commit changes the default algorithm to to former.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=ba39f92b58e69d6c1d7268bb2b8f90d…
commit ba39f92b58e69d6c1d7268bb2b8f90d0ff199a41
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 14:02:41 2015 +0200
alloc: Add counters for successful algo A/B allocations
This adds counters for algorithm A and B with count successful
allocation combined for UL and DL.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=a58d17131f2f6f7aca4f2479a0348ce…
commit a58d17131f2f6f7aca4f2479a0348ce04625fbfe
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 13:31:48 2015 +0200
alloc: Add 'dynamic' allocation algorithm
The idea behind this meta algorithm is to automatically select one of
the other algorithms based on the system state. Basically algorithm B
will be selected if the PDCH usage is low to improve throughput and
latency. Algorithm A will be selected to support more concurrent MS.
This commit adds a first simple state-less version of this algorithm
that always tries B first and only if that fails A is tried
afterwards.
The following VTY command is added to the 'pcu' node:
- alloc-algorithm dynamic
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=a64aa7a65defed38baf2b344240ddf1…
commit a64aa7a65defed38baf2b344240ddf16095a9051
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 12:57:07 2015 +0200
alloc: Remove disabled code fragment for multi-UL allocation
This part of algorithm_b has already been disabled. Further work may
depend on this, but it is going out of sync. So this commit removes
it completely.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=5f16b96df993c8f44ed8ab64a39c20b…
commit 5f16b96df993c8f44ed8ab64a39c20b9b2904db3
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 11:35:21 2015 +0200
alloc: Refactor alloc algorithms to only apply changes on success
Currently these algorithms modify other objects (MS, TBF, PDCH) even
if the allocation will fail later on. To implement an algorithm that
dynamically tries another algorithm on failure (e.g. A after B), the
first (failing) algorithm should not change or damage anything.
This commit refactors algorithm A and B to delay the actual allocation
until it is known that the allocation will not fail.
Ticket: #1934
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=f78593d6e83dd9f26bd1f9cc0e97dab…
commit f78593d6e83dd9f26bd1f9cc0e97dabf792a6d8a
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 14 08:26:17 2015 +0200
alloc: Optionally enforce first common TS in find_multi_slots (TODO)
TODO:
- This isn't probably triggered at all currently, so this commit
can possibly be dropped
http://cgit.osmocom.org/osmo-pcu/commit/?id=cf01665b6bd4cc79276cb331ec20f91…
commit cf01665b6bd4cc79276cb331ec20f9141c622eee
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jul 13 15:15:18 2015 +0200
alloc: Remove redundant first_common_ts handling
Currently this code path is only used, if an allocation has been
taken place in a former call to an allocation algorithm function.
If this was for an DL TBF, the first common TS was selected,
otherwise the least used common TS was selected for an UL TBF.
The shrinking of the UL set (to 1<<first_common_ts) is done in the
latter case.
This commit removes an additional code path that aligns the UL set to
first_common_ts, because it has no more influence on the set of
common TS after both UL and DL TBF have been allocated.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=d31560624cd55371fc9d0a3f7b8d023…
commit d31560624cd55371fc9d0a3f7b8d023f5dda3558
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jul 13 14:50:08 2015 +0200
alloc/test: Add test for interleaved TBF chains
MS iniated TCP connections generally result in a sequence
of short time UL and longer lasting DL TBFs, being interleaved
between several MS. This scenario is not covered by the existing
tests.
This commit adds a test, that allocates as man as possible TBFs
several times with different test modes without clearing the BTS (and
thus the TBF list) in between. The number of allocated DL TBFs in
each round is expected to be constant.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=48d01a8e2fe77fa13d4f846ba730f43…
commit 48d01a8e2fe77fa13d4f846ba730f43fa3166319
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jul 13 14:38:18 2015 +0200
alloc/test: Put TBF allocation loop into alloc_many_tbfs
Currently all TBFs are deleted after the allocation loop finishes.
This make it difficult to interleave the TBF allocation like it
happens with real MS.
This commit refactors the allocation loop into alloc_many_tbfs and
adds support for TLLIs, which are derived from the counter value and
used to retrieve an old MS object if alloc_many_tbfs is called a
second time.
Note that this does not make a difference for the existing tests.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=c86d1933900fdf4c1a296fe6fba7251…
commit c86d1933900fdf4c1a296fe6fba72512fe025958
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jul 13 14:23:32 2015 +0200
ms: Add is_idle() method to GprsMs::Guard
Currently there is no simple way to determine, whether the MS object
protected by a guard will continue to exist after the guard object is
destroyed.
This patch adds a is_idle() method that will return true if the MS
object is just kept by the guard from being idle. In that case, the
MS object would either be deleted or return true for
GprsMs::is_idle() after the guard's destruction, provided that no
TBF attachment took place in between.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=0c8ebf5f511826419c37e04dd136335…
commit 0c8ebf5f511826419c37e04dd1363357c2b4ec35
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jul 10 19:52:37 2015 +0200
tbf: Put the TFI->TBF mapping into the PDCH objects
Currently the TBFs are registered in a TFI indexed array within the TRX
objects. TBFs can be searched globally by TFI and TRX number. This
conflicts with the use of the same TFI for different TBF on different
PDCH. This use case requires the specification of the PDCH as
additional search dimension.
This commit moves the TFI index TBF arrays into the PDCH objects. The
related methods are updated accordingly.
Ticket: #1793
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=ec4f21ddec40a9091083c23ec1f040f…
commit ec4f21ddec40a9091083c23ec1f040fd52525df9
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jul 10 12:25:25 2015 +0200
alloc: Allocate TFI per slot (algorithm A)
Currently the TFI are managed per TRX, thus only a maximum of 32 TBF
per direction and per TRX are possible simultaneously.
This commit modifies algorithm_a() to allow the sharing of TFI
between different PDCH. Since algorithm A only assigns a single slot
to each TBF, the TFI of each PDCH can be assigned independently.
This increases the maximum to 32 TBF per direction and per PDCH
concerning the TFI allocation.
Ticket: #1793
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=0062976f9ba526c67544184f19e7d12…
commit 0062976f9ba526c67544184f19e7d1216b3d5fcd
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jul 10 10:41:36 2015 +0200
tbf: Move TFI selection into alloc_algorithm
Currently the TFI and the TRX have to be determined before the actual TBF
allocation function is called, passing TFI and TRX number as
parameters. This does fit to TFI reuse for different slots, since
this were tightly coupled with the slot selection.
This commit just moves the TFI selection into the alloc_algorithm
functions. The tfi parameter is removed from the the TFI alloc
functions. The trx parameter is changed into use_trx to optionally
limit the trx selection (same semantics like in tfi_find_free).
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=4da768b26976cd10f20be32b460d374…
commit 4da768b26976cd10f20be32b460d374051b20b81
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 8 12:53:16 2015 +0200
pdch: Manage TFIs per direction
Currently a single bit set is used to maintain a set of used TFI
without distinguishing between uplink and downlink. Since the
namespaces of UL and DL TFI are separate, this implementation is
not correct.
This commit changes gprs_rlcmac_pdch to use a separate bit set for
each direction. It also replace the corresponding conditional fprintf
statement in check_tfi_usage (AllocTest.cpp) by an equivalent
OSMO_ASSERT.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=0023fbde402832765f083cd79a3e2fe…
commit 0023fbde402832765f083cd79a3e2fe382e8b8fe
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 9 11:35:50 2015 +0200
alloc/test: Check for TFI conflicts
This commit adds the check_tfi_usage function that checks the TFI
usage. It iterates through all TBFs, records on which PDCH it uses
which TFI and check for conflicts. It also checks the bits returned
by pdch->assigned_tfi(). The latter suffers from an bug in that
method (no separation of uplink and downlink), so a conditional
fprintf is used instead of an assertion. The method tfi_find_free
is checked for conflicts after allocations.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
src/bts.cpp | 2 +
src/bts.h | 6 +
src/gprs_ms.cpp | 8 +
src/gprs_ms.h | 2 +
src/gprs_rlcmac.h | 5 +
src/gprs_rlcmac_ts_alloc.cpp | 311 +++++----
src/pcu_main.cpp | 2 +-
src/pcu_vty.c | 13 +-
tests/alloc/AllocTest.cpp | 163 ++++-
tests/alloc/AllocTest.err | 1502 +++++++++++++++++++++++++++++++++++++++++-
tests/alloc/AllocTest.ok | 1261 +++++++++++++++++++++++++++++++++++
11 files changed, 3124 insertions(+), 151 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, zecke/features/no-tmsi has been updated
discards 55a3e676047651d7487aba50e7e9a1437d3f519a (commit)
via 32ee7f9840c373bd51761cc5af6a39b261f2e1e1 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (55a3e676047651d7487aba50e7e9a1437d3f519a)
\
N -- N -- N (32ee7f9840c373bd51761cc5af6a39b261f2e1e1)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=32ee7f9840c373bd51761cc5af6a39b2…
commit 32ee7f9840c373bd51761cc5af6a39b261f2e1e1
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Jul 13 20:33:08 2015 +0200
nitb: Add a mode to not use TMSI for normal operation
In case foreign simcards are used we can not do authentication
and ciphering. In case a TMSI is re-used too early and we do
page using TMSI we can't know which of the two MS is responding
to us. We could change the "secure channel" routine to ask for
the IMSI and only then stop the paging.
As we don't have ciphering there is not much use in using the
TMSI. Add a mode "no assign-tmsi" that will not assign the TMSI
during LU. Now CM Service Request and Paging Response will
work using the IMSI. There can't be a clash with that.
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/libmsc/gsm_04_08.c | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, master has been updated
via a7c276b72b07b8b713c5d9af869159690e073441 (commit)
from f869a95f3b81d281405e3fc3026e1d0d53174082 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-bts/commit/?id=a7c276b72b07b8b713c5d9af8691596…
commit a7c276b72b07b8b713c5d9af869159690e073441
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Tue Jul 14 09:44:19 2015 +0200
meas: Do not send incomplete measurement reports
The RSL_IE_MEAS_RES_NR is mandatory element with a minimum
of 5 octets (two for TL and three for the value). When we
establish a new channel we might not have had enough time
in a TDMA frame to calculate the average. The issue is not
easy to reproduce. At the point we receive the measurement
report we have two uplink measurements queued. As it is not
easy to reproduce and only occurs when a channel is new
I have decided to drop the message instead of sending made
up uplink measurement reports.
As of now lchan_build_rsl_ul_meas will always return 3 and
the condition will never be false.
Avoids: SYS#1781
-----------------------------------------------------------------------
Summary of changes:
src/common/rsl.c | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/master has been updated
via 01f5df9589e83f97f9b15e31b06a53cfe4192e6d (commit)
via d6108ac1e13b9701b4bc2c5b2dba360ac231b589 (commit)
via 5a7dd909fe51a9925ca844cdfcba48e0a890fb56 (commit)
via cfdd37fa164f8918fe6dea33b0212d01133f98e5 (commit)
via e3859a113af4d7865831a7f778574f830de8b23f (commit)
from 3db617f14a0314a0e2a233b3ddaba1501213c0e5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=01f5df9589e83f97f9b15e31b06a53c…
commit 01f5df9589e83f97f9b15e31b06a53cfe4192e6d
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 8 12:18:33 2015 +0200
alloc: Fix MS_B/MS_C interpretation
Currently the handling of MS_B and MS_C is not compliant with TS
45.002, annex B.1. These values may only interpreted as 0, if
frequency hopping is not enabled and if there is no change from Rx to
Tx or vice-versa.
This commit sets Ttb/Trb to 1 if the table entry is MS_B/MS_C, since
only combined down/up access modes are supported.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=d6108ac1e13b9701b4bc2c5b2dba360…
commit d6108ac1e13b9701b4bc2c5b2dba360ac231b589
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 9 12:06:56 2015 +0200
alloc: Do not use masking for multislot class type 2 MS
Currently the masks are computed equally for each class type. This
does not make much sense for class type 2 MS, since those are capable
to work in full duplex mode.
This commit sets the masks to 0xff for class type 2 MS.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=5a7dd909fe51a9925ca844cdfcba48e…
commit 5a7dd909fe51a9925ca844cdfcba48e0a890fb56
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jul 6 14:55:13 2015 +0200
alloc: Select applicable Tta/Tra
According to TS 45.002, 6.4.2.2 the choice whether Tta or Tra has to
be applied, depends on the medium access mode (currently always
dynamic) and the number of UL/DL slots. Currently either value can be
used which might result in combinations not covered by the spec.
This commit changes find_multi_slots() to skip non-compliant
combinations.
Note that this code will have to be extended, if other medium
access modes are implemented.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=cfdd37fa164f8918fe6dea33b0212d0…
commit cfdd37fa164f8918fe6dea33b0212d01133f98e5
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 9 11:48:23 2015 +0200
alloc: Use an enum instead of numbers to select the mask
The local enums MASK_TT and MASK_TR replace the hard coded indices.
The variable m_idx is renamed to mask_sel for more clarity.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=e3859a113af4d7865831a7f778574f8…
commit e3859a113af4d7865831a7f778574f830de8b23f
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 9 13:44:18 2015 +0200
alloc: Merge find_least_busy_pdch and find_least_reserved_pdch
Both functions only differ in the computation of the value for
num_tbfs.
This commit merge both functions and adds a parameter containing a
function for that compuation.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
src/gprs_rlcmac_ts_alloc.cpp | 175 ++++++++--------
tests/alloc/AllocTest.ok | 480 +++++++++++++++++++++----------------------
2 files changed, 334 insertions(+), 321 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/master has been updated
discards 9a2c6655686fb773550b6e1050f60c821eee70b4 (commit)
via 3db617f14a0314a0e2a233b3ddaba1501213c0e5 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (9a2c6655686fb773550b6e1050f60c821eee70b4)
\
N -- N -- N (3db617f14a0314a0e2a233b3ddaba1501213c0e5)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, master has been updated
via 3db617f14a0314a0e2a233b3ddaba1501213c0e5 (commit)
via efe62a73953349ba38781af2c264f273b2dde6e6 (commit)
via 14376a73a5916a3dfa5bb65a2487d364a933e4c8 (commit)
via 506f156f7a4aebb52dace00a760f86b2b4f5e19a (commit)
via 1653f837e3be32d94eeaabf29ae89fdf1dc66bac (commit)
via 20b7ba75017a590294dcd4e38135293f33f66740 (commit)
via cc9358f95aca618db451faf53971c45dfe0b505a (commit)
via 16c6ecc3657f62728845764731c189b3cb8daca2 (commit)
via 5f494b8415ff4e5c9bf323ea7bc8326ad423c7ae (commit)
via 9ae282372c9b3e10050244b8a1c9179122556175 (commit)
via ed46afda6f647e47702379abacf632e7dcc9ee5b (commit)
via ea65c72d069c279951c022daf337d99e3aaa670a (commit)
from c91c18e6ef9ee5fca3d10b57ebddf211d3655a8d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=3db617f14a0314a0e2a233b3ddaba15…
commit 3db617f14a0314a0e2a233b3ddaba1501213c0e5
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 7 13:43:44 2015 +0200
llc: Fix comparison warning
Fixes: Jenkins build #609 warning
Addresses:
llc.cpp:56, GNU C Compiler 3 (gcc), Priority: Normal
comparison between signed and unsigned integer expressions
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
src/bts.cpp | 28 +-
src/bts.h | 15 +
src/gprs_rlcmac_ts_alloc.cpp | 882 ++++++++++++++++++++++---------------------
src/llc.cpp | 2 +-
src/sba.cpp | 4 +-
tests/alloc/AllocTest.cpp | 46 +--
tests/alloc/AllocTest.err | 14 +-
tests/alloc/AllocTest.ok | 470 ++++++++++++++---------
tests/tbf/TbfTest.err | 106 +++---
9 files changed, 879 insertions(+), 688 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, zecke/features/no-tmsi has been created
at 55a3e676047651d7487aba50e7e9a1437d3f519a (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=55a3e676047651d7487aba50e7e9a143…
commit 55a3e676047651d7487aba50e7e9a1437d3f519a
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Jul 13 20:33:08 2015 +0200
nitb: Add a mode to not use TMSI for normal operation
In case foreign simcards are used we can not do authentication
and ciphering. In case a TMSI is re-used too early and we do
page using TMSI we can't know which of the two MS is responding
to us. We could change the "secure channel" routine to ask for
the IMSI and only then stop the paging.
As we don't have ciphering there is not much use in using the
TMSI. Add a mode "no assign-tmsi" that will not assign the TMSI
during LU. Now CM Service Request and Paging Response will
work using the IMSI. There can't be a clash with that.
http://cgit.osmocom.org/openbsc/commit/?id=0c0b30022534e330029a21f8d3b8ed42…
commit 0c0b30022534e330029a21f8d3b8ed42e7d1c953
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Jul 13 14:28:29 2015 +0200
nitb: Be less strict about the reject cause
When we can't find the TMSI then the subscriber is not in our
VLR. We have not consulted with the HLR and it is better to not
use such a severe error code.
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, zecke/features/smpp-route has been deleted
was 7c19c6b4064b10511fa5f5327030c21616905d94
-----------------------------------------------------------------------
7c19c6b4064b10511fa5f5327030c21616905d94 sms: Do not go through the routing a second time
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, zecke/hacks/tmp has been deleted
was b4c86cb17d30d08c31edf6c05e9198498a810e4e
-----------------------------------------------------------------------
b4c86cb17d30d08c31edf6c05e9198498a810e4e WIP: speculative fixes for the periodic expiring handling
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, zecke/wip has been deleted
was bbf21e85607366899c4422ec38cff6ffb7f3aba9
-----------------------------------------------------------------------
bbf21e85607366899c4422ec38cff6ffb7f3aba9 osmux: Fix potential memory leak in the msgb handling
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, zecke/laforge/meas_vis has been deleted
was 89b2542aee84f43d945dfc955db9ccdb5071dfe2
-----------------------------------------------------------------------
89b2542aee84f43d945dfc955db9ccdb5071dfe2 meas_feed: add osmo-meas-udp2db for realtime feed into database
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, zecke/features/gprs-gsup-fixes has been deleted
was e3933ac46d76122dde8aa01b5efb1ba58d25442d
-----------------------------------------------------------------------
e3933ac46d76122dde8aa01b5efb1ba58d25442d sgsn: Show the QoS that has been assigned
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, zecke/features/auth has been deleted
was 393b605c1a0d747a4c36eca91aa48e9475c171ee
-----------------------------------------------------------------------
393b605c1a0d747a4c36eca91aa48e9475c171ee nat: After we identified the bsc check the key
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via a2c41c42b1a8558965f201e43dcaec6bb8e64b35 (commit)
from 1e365477ee5e4dc708b94474b4e094ea3c21d95b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=a2c41c42b1a8558965f201e43dcaec6b…
commit a2c41c42b1a8558965f201e43dcaec6bb8e64b35
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Jul 13 11:23:53 2015 +0200
sms: Fix the non-SMPP mode of the test
List needs to be executed from within the right configuration
node to see if it is available or not. list on the toplevel
will uncoditionally show "smpp" as part of the logging config.
-----------------------------------------------------------------------
Summary of changes:
openbsc/tests/vty_test_runner.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via 1e365477ee5e4dc708b94474b4e094ea3c21d95b (commit)
from 14a434b9d660cb92382f418739b8329b44640496 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=1e365477ee5e4dc708b94474b4e094ea…
commit 1e365477ee5e4dc708b94474b4e094ea3c21d95b
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Jul 13 11:06:10 2015 +0200
bsc: Rename core_ncc to core_mnc
Struct osmo_msc_data contains int core_ncc, which is actually the
MNC part of the PLMN, not to be confused with the Network Colour
Code.
The following patch renames this field for clarity and consistency
with the standards.
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/osmo_msc_data.h | 2 +-
openbsc/src/osmo-bsc/osmo_bsc_api.c | 4 ++--
openbsc/src/osmo-bsc/osmo_bsc_filter.c | 2 +-
openbsc/src/osmo-bsc/osmo_bsc_msc.c | 2 +-
openbsc/src/osmo-bsc/osmo_bsc_vty.c | 8 ++++----
5 files changed, 9 insertions(+), 9 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via 14a434b9d660cb92382f418739b8329b44640496 (commit)
via 7c19c6b4064b10511fa5f5327030c21616905d94 (commit)
via 42cf2e03c936d34c1bda7d491f9e367bf02dddce (commit)
via dcbc83355e1d7243180d436cadabd913bee2c922 (commit)
via e3c391e8d00b80cc2a2c2a71a52a077cc9aaf9d7 (commit)
via af1b968b22fa36d11dc2a20cb35dcbddaba50b7b (commit)
from b69518f3834b60901ab5750b6ce3b623d9479c1e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=14a434b9d660cb92382f418739b8329b…
commit 14a434b9d660cb92382f418739b8329b44640496
Merge: b69518f 7c19c6b
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Jul 13 10:42:17 2015 +0200
Merge branch 'zecke/features/smpp-route'
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/libmsc/gsm_04_11.c | 117 +++++++++++++++++++++++++-------------
openbsc/src/libmsc/smpp_openbsc.c | 5 ++
openbsc/src/libmsc/smpp_smsc.h | 11 ++++
openbsc/src/libmsc/smpp_vty.c | 22 +++++++
openbsc/tests/vty_test_runner.py | 22 +++++++
5 files changed, 136 insertions(+), 41 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, zecke/features/smpp-route has been created
at 7c19c6b4064b10511fa5f5327030c21616905d94 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=7c19c6b4064b10511fa5f5327030c216…
commit 7c19c6b4064b10511fa5f5327030c21616905d94
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Jul 13 10:39:51 2015 +0200
sms: Do not go through the routing a second time
If we have tried SMPP first and it was not routable, and then
tried the local delivery there is no point in trying SMPP with
the same parameters again. Leave early and return unknown sub
to the caller.
http://cgit.osmocom.org/openbsc/commit/?id=42cf2e03c936d34c1bda7d491f9e367b…
commit 42cf2e03c936d34c1bda7d491f9e367bf02dddce
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Jul 6 16:41:30 2015 +0200
sms: Add a way to always route SMS through SMPP systems
default-route would only be looked at after there has been
no subscriber in the local database. Depending on the setup
this is not what one wants. This has been discussed at the
OsmoDevCon and there have been hacks in some branches. Let's
introduce a VTY command to select if SMPP should be consulted
first and then fallback to the current behavior.
http://cgit.osmocom.org/openbsc/commit/?id=dcbc83355e1d7243180d436cadabd913…
commit dcbc83355e1d7243180d436cadabd913bee2c922
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Jul 6 16:40:51 2015 +0200
sms: Simplify the return handling for SMPP routes/unroutable
http://cgit.osmocom.org/openbsc/commit/?id=e3c391e8d00b80cc2a2c2a71a52a077c…
commit e3c391e8d00b80cc2a2c2a71a52a077cc9aaf9d7
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Jul 6 16:40:01 2015 +0200
sms: Put the try_deliver into the header file
Even if it is using BSC/NITB types let's put it in the header
file than just declaring it at a place that could bitrot in a
way that doesn't lead a warning.
http://cgit.osmocom.org/openbsc/commit/?id=af1b968b22fa36d11dc2a20cb35dcbdd…
commit af1b968b22fa36d11dc2a20cb35dcbddaba50b7b
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Jul 6 15:54:25 2015 +0200
sms: Move the routing of the sms to a separate function
The "default-route" for SMPP will be used after a local
subscriber look-up. Sometimes we want to route everything
to SMPP. Make this possible by changing this routine.
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/wip/pdch-alloc has been updated
discards 838a3d11815982f89f4ee33024795cfd91c795ae (commit)
discards f83fa4c3da863a35e3bf41d48d96e07a2267c380 (commit)
discards dcced44b6d4b7f16ba36311475ea78fb424b537f (commit)
discards aa2c339b1cf9bc7bd7562f046c4d738ce49f6e11 (commit)
discards 308175b012ff0de8490c312817567a18b4247d84 (commit)
discards 3c7ea0433dc690a45dcad0592990e8b39b6a5490 (commit)
discards 0272b8b8f69925e12a7f3bc281165afe061f982f (commit)
discards 6f094b3b61ae6b424866e8b6e06d8356b473d716 (commit)
discards ea79e641b653edce592d1b16602d0f4e49cdda73 (commit)
discards 4d6c8f423dcdd5c3d192332bd6d117811b119162 (commit)
discards 377250f3ada5701a104ccb5388bfe13640b53eb7 (commit)
via 520c2919f4bf5d0d0d6dd254e8d76a6876b3b481 (commit)
via 509fdb69a9e2036b55cac7f954f9343b6c77d5af (commit)
via 8b7c196e9047073de6c7d4ff2857562ce0368303 (commit)
via 03ecaff5834c949058dd128a9e4f4a549db9bcf5 (commit)
via cb80e6abb755bb6711a56388eb709f0995de9b1c (commit)
via f297ac8e06506ddce1ab629bbc36f4fa402af915 (commit)
via 17ac3f7a1bd67aad0e0682d29d5356f193403f02 (commit)
via acbf887cf8fcbd56fa3fd620cb46978210398bc9 (commit)
via a8af58d7d5e44b175749290ef2a76f47fb714ac2 (commit)
via 3a0635c0145e5c814945b30d7eea50d3fd76b851 (commit)
via 9a2c6655686fb773550b6e1050f60c821eee70b4 (commit)
via efe62a73953349ba38781af2c264f273b2dde6e6 (commit)
via 14376a73a5916a3dfa5bb65a2487d364a933e4c8 (commit)
via 506f156f7a4aebb52dace00a760f86b2b4f5e19a (commit)
via 1653f837e3be32d94eeaabf29ae89fdf1dc66bac (commit)
via 20b7ba75017a590294dcd4e38135293f33f66740 (commit)
via cc9358f95aca618db451faf53971c45dfe0b505a (commit)
via 16c6ecc3657f62728845764731c189b3cb8daca2 (commit)
via 5f494b8415ff4e5c9bf323ea7bc8326ad423c7ae (commit)
via 9ae282372c9b3e10050244b8a1c9179122556175 (commit)
via ed46afda6f647e47702379abacf632e7dcc9ee5b (commit)
via ea65c72d069c279951c022daf337d99e3aaa670a (commit)
via c91c18e6ef9ee5fca3d10b57ebddf211d3655a8d (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (838a3d11815982f89f4ee33024795cfd91c795ae)
\
N -- N -- N (520c2919f4bf5d0d0d6dd254e8d76a6876b3b481)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=520c2919f4bf5d0d0d6dd254e8d76a6…
commit 520c2919f4bf5d0d0d6dd254e8d76a6876b3b481
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jul 10 19:52:37 2015 +0200
tbf: Put the TBF list into the PDCH objects (TODO)
Currently the TBFs are registered in a TFI indexed array within the TRX
objects. TBFs can be searched globally by TFI and TRX number. This
conflicts with the use of the same TFI for different TBF on different
PDCH. This use case requires the specification of the PDCH as
additional search dimension.
This commit moves the TFI index TBF arrays into the PDCH objects. The
related methods are updated accordingly.
Sponsored-by: On-Waves ehf
TODO:
- corner case tests, e.g. for tfi_find_free
- add test cases that crash without this fix
- move this commit in front of "Allocate TFI per slot (algorithm A)"
to avoid a non-operational version
http://cgit.osmocom.org/osmo-pcu/commit/?id=509fdb69a9e2036b55cac7f954f9343…
commit 509fdb69a9e2036b55cac7f954f9343b6c77d5af
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jul 10 12:25:25 2015 +0200
alloc: Allocate TFI per slot (algorithm A)
Currently the TFI are managed per TRX, thus only a maximum of 32 TBF
per direction and per TRX are possible simultaneously.
This commit modifies algorithm_a() to allow the sharing of TFI
between different PDCH. Since algorithm A only assigns a single slot
to each TBF, the TFI of each PDCH can be assigned independently.
This increases the maximum to 32 TBF per direction and per PDCH
concerning the TFI allocation.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=8b7c196e9047073de6c7d4ff2857562…
commit 8b7c196e9047073de6c7d4ff2857562ce0368303
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jul 10 10:41:36 2015 +0200
tbf: Move TFI selection into alloc_algorithm
Currently the TFI and the TRX have to be determined before the actual TBF
allocation function is called, passing TFI and TRX number as
parameters. This does fit to TFI reuse for different slots, since
this were tightly coupled with the slot selection.
This commit just moves the TFI selection into the alloc_algorithm
functions. The tfi parameter is removed from the the TFI alloc
functions. The trx parameter is changed into use_trx to optionally
limit the trx selection (same semantics like in tfi_find_free).
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=03ecaff5834c949058dd128a9e4f4a5…
commit 03ecaff5834c949058dd128a9e4f4a549db9bcf5
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 8 12:53:16 2015 +0200
pdch: Manage TFIs per direction
Currently a single bit set is used to maintain a set of used TFI
without distinguishing between uplink and downlink. Since the
namespaces of UL and DL TFI are separate, this implementation is
not correct.
This commit changes gprs_rlcmac_pdch to use a separate bit set for
each direction. It also replace the corresponding conditional fprintf
statement in check_tfi_usage (AllocTest.cpp) by an equivalent
OSMO_ASSERT.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=cb80e6abb755bb6711a56388eb709f0…
commit cb80e6abb755bb6711a56388eb709f0995de9b1c
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 9 11:35:50 2015 +0200
alloc/test: Check for TFI conflicts
This commit adds the check_tfi_usage function that checks the TFI
usage. It iterates through all TBFs, records on which PDCH it uses
which TFI and check for conflicts. It also checks the bits returned
by pdch->assigned_tfi(). The latter suffers from an bug in that
method (no separation of uplink and downlink), so a conditional
fprintf is used instead of an assertion.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=f297ac8e06506ddce1ab629bbc36f4f…
commit f297ac8e06506ddce1ab629bbc36f4fa402af915
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 8 12:18:33 2015 +0200
alloc: Fix MS_B/MS_C interpretation
Currently the handling of MS_B and MS_C is not compliant with TS
45.002, annex B.1. These values may only interpreted as 0, if
frequency hopping is not enabled and if there is no change from Rx to
Tx or vice-versa.
This commit sets Ttb/Trb to 1 if the table entry is MS_B/MS_C, since
only combined down/up access modes are supported.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=17ac3f7a1bd67aad0e0682d29d5356f…
commit 17ac3f7a1bd67aad0e0682d29d5356f193403f02
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 9 12:06:56 2015 +0200
alloc: Do not use masking for multislot class type 2 MS
Currently the masks are computed equally for each class type. This
does not make much sense for class type 2 MS, since those are capable
to work in full duplex mode.
This commit sets the masks to 0xff for class type 2 MS.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=acbf887cf8fcbd56fa3fd620cb46978…
commit acbf887cf8fcbd56fa3fd620cb46978210398bc9
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jul 6 14:55:13 2015 +0200
alloc: Select applicable Tta/Tra
According to TS 45.002, 6.4.2.2 the choice whether Tta or Tra has to
be applied, depends on the medium access mode (currently always
dynamic) and the number of UL/DL slots. Currently either value can be
used which might result in combinations not covered by the spec.
This commit changes find_multi_slots() to skip non-compliant
combinations.
Note that this code will have to be extended, if other medium
access modes are implemented.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=a8af58d7d5e44b175749290ef2a76f4…
commit a8af58d7d5e44b175749290ef2a76f47fb714ac2
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 9 11:48:23 2015 +0200
alloc: Use an enum instead of numbers to select the mask
The local enums MASK_TT and MASK_TR replace the hard coded indices.
The variable m_idx is renamed to mask_sel for more clarity.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=3a0635c0145e5c814945b30d7eea50d…
commit 3a0635c0145e5c814945b30d7eea50d3fd76b851
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 9 13:44:18 2015 +0200
alloc: Merge find_least_busy_pdch and find_least_reserved_pdch
Both functions only differ in the computation of the value for
num_tbfs.
This commit merge both functions and adds a parameter containing a
function for that compuation.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
src/bts.cpp | 147 +++---
src/bts.h | 22 +-
src/gprs_rlcmac.h | 6 +-
src/gprs_rlcmac_ts_alloc.cpp | 315 +++++++++----
src/llc.cpp | 2 +-
src/tbf.cpp | 65 +--
src/tbf.h | 5 +-
src/tbf_dl.cpp | 17 +-
tests/alloc/AllocTest.cpp | 214 +++++----
tests/alloc/AllocTest.err | 29 +-
tests/alloc/AllocTest.ok | 1016 ++++++++++++++++++++++++++----------------
tests/tbf/TbfTest.cpp | 10 +-
tests/tbf/TbfTest.err | 324 +++++++-------
13 files changed, 1283 insertions(+), 889 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, mmcternan/bb_maint has been updated
via e4d0a26f0b235702365c7fb42b87da588bf0c09e (commit)
from fe416dfe0707ab7d0ea2236a823465d67b98f057 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=e4d0a26f0b235702365c7fb42b87da58…
commit e4d0a26f0b235702365c7fb42b87da588bf0c09e
Author: Michael McTernan <mike.mcternan(a)wavemobile.com>
Date: Thu Jul 9 17:25:04 2015 +0100
Remove test for @mgw.
-----------------------------------------------------------------------
Summary of changes:
openbsc/src/libmgcp/mgcp_protocol.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Repository for OsmoSDR UI".
The branch, master has been updated
via 64a1d97017aaa769d8181645cd198616fb2a105b (commit)
from e8ad31d70f67d6b935ead1d124220e76499b358a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/sdrangelove/commit/?id=64a1d97017aaa769d8181645cd19…
commit 64a1d97017aaa769d8181645cd198616fb2a105b
Author: Hoernchen <la(a)tfc-server.de>
Date: Tue Jul 7 22:28:50 2015 +0200
allow building without sse #2
-----------------------------------------------------------------------
Summary of changes:
include-gpl/dsp/interpolator.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Repository for OsmoSDR UI
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, origin/jerlbeck/wip/pdch-alloc has been created
at 9c8b3e69a971106f328ce52c877d8dfeb42c616e (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=9c8b3e69a971106f328ce52c877d8df…
commit 9c8b3e69a971106f328ce52c877d8dfeb42c616e
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jul 6 14:55:13 2015 +0200
alloc: Fix Tta/Tra handling (WIP, TODO)
TODO:
- cm
- remove debug prints
- fix MS_A/B/C
-----------------------------------------------------------------------
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/master has been updated
via 9a2c6655686fb773550b6e1050f60c821eee70b4 (commit)
from efe62a73953349ba38781af2c264f273b2dde6e6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=9a2c6655686fb773550b6e1050f60c8…
commit 9a2c6655686fb773550b6e1050f60c821eee70b4
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 7 13:43:44 2015 +0200
llc: Fix comparison warning
Fixes: Jenkins build 609 warning
Addresses:
llc.cpp:56, GNU C Compiler 3 (gcc), Priority: Normal
comparison between signed and unsigned integer expressions
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
src/llc.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/master has been updated
via efe62a73953349ba38781af2c264f273b2dde6e6 (commit)
via 14376a73a5916a3dfa5bb65a2487d364a933e4c8 (commit)
via 506f156f7a4aebb52dace00a760f86b2b4f5e19a (commit)
via 1653f837e3be32d94eeaabf29ae89fdf1dc66bac (commit)
via 20b7ba75017a590294dcd4e38135293f33f66740 (commit)
via cc9358f95aca618db451faf53971c45dfe0b505a (commit)
via 16c6ecc3657f62728845764731c189b3cb8daca2 (commit)
via 5f494b8415ff4e5c9bf323ea7bc8326ad423c7ae (commit)
via 9ae282372c9b3e10050244b8a1c9179122556175 (commit)
via ed46afda6f647e47702379abacf632e7dcc9ee5b (commit)
via ea65c72d069c279951c022daf337d99e3aaa670a (commit)
from c91c18e6ef9ee5fca3d10b57ebddf211d3655a8d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=efe62a73953349ba38781af2c264f27…
commit efe62a73953349ba38781af2c264f273b2dde6e6
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 15:48:25 2015 +0200
alloc: Use least reserved PDCH for algo A
Currently the slot selection of algorithm A is based on the current
slot usage by active TBF. Especially in the Dl after UL case which
reflects the commen use case "MS initiates TCP connection", the
resulting distribution is not optimal with respect to PDCH usage.
This commit changes the implementation to use the slot reservation
information instead.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=14376a73a5916a3dfa5bb65a2487d36…
commit 14376a73a5916a3dfa5bb65a2487d364a933e4c8
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 7 11:31:28 2015 +0200
alloc/test: Delete first TBF after the second is allocated
Currently when using the test modes TEST_MODE_DL_AFTER_UL or
TEST_MODE_UL_AFTER_DL, the first TBF is deleted before the second is
allocated. The far more interesting case were to keep the first TBF a
little bit longer until the second TBF has been created and delete
then. This comes closer the the situation observed with real MS,
where the first TBF takes some time (timeout or waiting for Ack)
before it gets deleted and thus detached from the MS object.
This commit delays the call to tbf_free accordingly.
The effect can be observed in the results of the algo A tests, where
the uniform distribution of the allocated PDCH is lost.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=506f156f7a4aebb52dace00a760f86b…
commit 506f156f7a4aebb52dace00a760f86b2b4f5e19a
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 13:19:49 2015 +0200
sba: Reverse TS search order
Currently the search for an enabled PDCH slot for SBA start with the
first TS. If there are more than 2 PDCH slots enabled, this slot will
conflict with an existing multislot reservation for most multislot
classes. This were less likely if the search were reversed and
started with the last slot due to the 3 slot shift between Tx and Rx.
When multislot allocation is enabled and several MS are connected,
and increased rate of poll timeouts can be observed.
This commit tries to reduce the number of poll timeouts by reverting
the slot search order for SBA allocation.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=1653f837e3be32d94eeaabf29ae89fd…
commit 1653f837e3be32d94eeaabf29ae89fdf1dc66bac
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 14:48:13 2015 +0200
alloc: Disable inner loop debugging by default
The current logging statements within the inner loop of
find_multi_slots drain quite a lot of CPU resources even if
LOGL_DEBUG is not enabled. This might cause issues on the target
hardware.
This commit disables these LOGP calls unless the
ENABLE_TS_ALLOC_DEBUG macro has been set explicitly. This results in
a reduction in the CPU usage reported by callgrind for
find_multi_slots from 42% to 25% when executing AllocTest.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=20b7ba75017a590294dcd4e38135293…
commit 20b7ba75017a590294dcd4e38135293f33f66740
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 14:34:24 2015 +0200
alloc: Optimize find_free_usf
According to callgrind, this function consumes 33% CPU when running
the AllocTest program.
This commit uses the assigned_usf() method to get the USFs allocated
by a PDCH instead of traversing the TBFs.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=cc9358f95aca618db451faf53971c45…
commit cc9358f95aca618db451faf53971c45dfe0b505a
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 14:10:13 2015 +0200
tbf: Keep a set of used TFI and USF per PDCH
Currently is is rather expensive to get TFI and USF usage per PDCH,
because the TBFs need to be scanned to get that information.
This commit adds corresponding bit sets which get updated by the
attach_tbf/detach_tbf methods of the gprs_rlcmac_pdch class.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=16c6ecc3657f62728845764731c189b…
commit 16c6ecc3657f62728845764731c189b3cb8daca2
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 13:40:18 2015 +0200
alloc: Skip common TS without free USF when rating
Currently the search of the "best" slot combination is done
separately from the UL slot selection, which can lead to an
allocation failure due to USF exhaustion even if another combination
had been possible.
This commit reduces the probability for this event by skipping UL
slots without free USF while calculation the capacity.
Note that the implementation is rather inefficient which will be
fixed by the following commits.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=5f494b8415ff4e5c9bf323ea7bc8326…
commit 5f494b8415ff4e5c9bf323ea7bc8326ad423c7ae
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 1 13:10:41 2015 +0200
alloc: Only reserve 1 UL slot with algorithm B
Since currently the algorithm B will only allocate a single UL slot
and will have to stick to it (first common TS), the other possible UL
slots will not be allocated while the reservation is kept.
This commit adds code to update the reserved set of UL slots to only
reserve the single common TS when the UL TBF is allocated.
Interestingly this leads to fewer allocated TBF in some cases due to
USF exhaustion. This will be improved by the following commit "alloc:
Skip common TS without free USF".
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=9ae282372c9b3e10050244b8a1c9179…
commit 9ae282372c9b3e10050244b8a1c9179122556175
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 1 12:27:30 2015 +0200
alloc: Set minimum slot capacity to 1
Currently the capacity of a PDCH slot is calculated as 32 - N_reserved
for each direction. This can result in a capacity of 0 and even
negative values.
This commit forces the capacity of an usable slot to be at least zero
under the assumption, that an overly reserved PDCH is still better
than none.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=ed46afda6f647e47702379abacf632e…
commit ed46afda6f647e47702379abacf632e7dcc9ee5b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 1 12:19:40 2015 +0200
alloc: Only use common UL slots when calculating the capacity
Currently al possible UL slots are included in the capacity
calculation which is the base of the slot selection. Nevertheless
UL-only slots will never be used, since only one uplink slot (which
must be a common slot) will be used.
This patch changes the code to only include common slots in the
capacity sum.
Note that this might not be optimal if algorithm B supported
multiple uplink slots.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=ea65c72d069c279951c022daf337d99…
commit ea65c72d069c279951c022daf337d99e3aaa670a
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 22 16:14:23 2015 +0200
alloc: Replace Algorithm B implementation
The current implementation always starts the downlink slot allocation
with the first possible slot, depending on which channels are enabled
and which multislot class is offered by the MS. So in configurations
with many (>4) PDCH, some PDCH are not really used.
The new implementation introduced by this commit differs as follows:
- The reservation mechanism provided by GprsMs is used to avoid
incompatibilities is used in the same way like algo A does. This
basically means, that the allocation is done once when the first
TBF is requested and then used until all TBF have been released.
- All combinations of Rx and Tx slots are checked for compatibility
with the multiscot class. Basically the combination with the most
usable PDCH and the least number of reservations is used.
- Only one UL slots is provided.
- Tta and Tra are checked.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
src/bts.cpp | 28 +-
src/bts.h | 15 +
src/gprs_rlcmac_ts_alloc.cpp | 882 ++++++++++++++++++++++---------------------
src/sba.cpp | 4 +-
tests/alloc/AllocTest.cpp | 46 +--
tests/alloc/AllocTest.err | 14 +-
tests/alloc/AllocTest.ok | 470 ++++++++++++++---------
tests/tbf/TbfTest.err | 106 +++---
8 files changed, 878 insertions(+), 687 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/master has been updated
discards 377250f3ada5701a104ccb5388bfe13640b53eb7 (commit)
via c91c18e6ef9ee5fca3d10b57ebddf211d3655a8d (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (377250f3ada5701a104ccb5388bfe13640b53eb7)
\
N -- N -- N (c91c18e6ef9ee5fca3d10b57ebddf211d3655a8d)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, master has been updated
via c91c18e6ef9ee5fca3d10b57ebddf211d3655a8d (commit)
via e0c734dcfe6501198e56bd3a89ad03ce5cfd5129 (commit)
via 07111668d4b4bfe44c02077b29ed7d3cb8415134 (commit)
via 4944c195d4a71f4aa5d9a3274907fa0bfed0e6ce (commit)
via 5cd496d2083bef03d9f2425cabec9ec51c8e9254 (commit)
via 83426b20a30832cbacd8165f5b757910e98f5417 (commit)
via 617c7127f434fc866ca370e8812f1ad01ad90d27 (commit)
via 23f93a15ca759b55b4713148f06d9a2d152278ab (commit)
via ec478756ccc8e8df264811741bfc9c362cb9233d (commit)
via 9380f5d2181c63922627cbff6abe5e3cd05523e4 (commit)
via ac89a555fa73b24a77bb861811774a5af885bc84 (commit)
via 699b8dca49df30b7bf6db7090eb416d1ad4fd46d (commit)
via ccc34e4d30b962a2963c004d003d3851801ffb3b (commit)
via c6d4ceeda6e6b96cc5bbc07fb9489587ed181f60 (commit)
via 9ec49e2411abb206c82af643d18e2ada82e865e2 (commit)
via fa464bbce90130a7f429cdbafac7b64b1fdacd32 (commit)
via e565564bc9d74e09ec1962f86aa5155e97377e1f (commit)
from cb1b494c896243a92a1969bb4c0ee4baddad2423 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=c91c18e6ef9ee5fca3d10b57ebddf21…
commit c91c18e6ef9ee5fca3d10b57ebddf211d3655a8d
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jul 7 09:33:29 2015 +0200
tbf: Add Poll Timeout counters
This commits adds three poll timeout counters
- RLC Assign Timeout
- RLC Ack Timeout
- RLC Release Timeout
to help diagnosing to cause for these events. There seems to be an
increased rate of these when a PDCH is shared by multiple TBFs.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
src/bts.cpp | 48 ++++++
src/bts.h | 37 +++++
src/gprs_ms.cpp | 83 +++++++++-
src/gprs_ms.h | 29 ++++
src/gprs_rlcmac_ts_alloc.cpp | 153 +++++++++++++++++--
src/tbf.cpp | 59 ++++++-
src/tbf.h | 7 +
src/tbf_dl.cpp | 6 +-
tests/alloc/AllocTest.cpp | 222 ++++++++++++++++++++++++++-
tests/alloc/AllocTest.err | 19 ++-
tests/alloc/AllocTest.ok | 355 +++++++++++++++++++++++++++++++++++++++++++
tests/ms/MsTest.cpp | 3 +
tests/tbf/TbfTest.cpp | 14 ++
tests/tbf/TbfTest.err | 210 ++++++++++++++++++++++---
tests/tbf/TbfTest.ok | 2 +
15 files changed, 1188 insertions(+), 59 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Repository for OsmoSDR UI".
The branch, master has been updated
via e8ad31d70f67d6b935ead1d124220e76499b358a (commit)
from 4dfb9844318374e0d22e543d3dfe1d67182b0d33 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/sdrangelove/commit/?id=e8ad31d70f67d6b935ead1d12422…
commit e8ad31d70f67d6b935ead1d124220e76499b358a
Author: Hoernchen <la(a)tfc-server.de>
Date: Sun Jul 5 17:08:06 2015 +0200
allow building without sse
-----------------------------------------------------------------------
Summary of changes:
CMakeLists.txt | 25 +++++++++++++++++--------
include-gpl/dsp/interpolator.h | 2 ++
sdrbase/gui/glspectrum.cpp | 5 +++--
3 files changed, 22 insertions(+), 10 deletions(-)
hooks/post-receive
--
Repository for OsmoSDR UI
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SIM card APDU tracing based on AT91SAM7 and wireshark".
The branch, v1.5 has been created
at 6279da6fe08aa1a31d96d1cda4df40fe672274b7 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/simtrace/commit/?id=6279da6fe08aa1a31d96d1cda4df40f…
commit 6279da6fe08aa1a31d96d1cda4df40fe672274b7
Author: King Kévin <kingkevin(a)cuvoodoo.info>
Date: Sun Jul 5 09:58:19 2015 +0200
change microcontroller to SAM3S
-----------------------------------------------------------------------
hooks/post-receive
--
SIM card APDU tracing based on AT91SAM7 and wireshark
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/wip/pdch-alloc has been updated
discards 410d98e5d0c0eae76221a2d62a837b962f082506 (commit)
discards eff0c350c848c642efad7ebe478a52c2c8c351ce (commit)
discards a0ea29a5968308224b24b8718a8baa09806ad645 (commit)
discards bdcfb71161aed1dd882ec7f9dcc4880146175155 (commit)
discards 70960fb90cf4ab5efa2851f6927e53bb14878512 (commit)
discards 9eb88f2348ce449deac1022950998ecef372a67b (commit)
discards 5ef6a6028a1ed8aa59d3b2a701d53e4737c15478 (commit)
discards 341c9189caf00c077ef73138d087bf29e3ae12d1 (commit)
discards f5082f9372efa00090519a1b133b7eee88ea0d61 (commit)
discards 6b3a27be054a2cc4667a22a4c435cd5d7ecb59ce (commit)
discards 596f547a378786b2a9dea5a3b1e6182abf794e60 (commit)
discards eb22ef5c755a3bacda653185f4ce63402bd95d93 (commit)
discards 1e64bdbe3f7304fe5c5098ae0738d1ff06f14ad1 (commit)
discards 4d4fb6597592dc16795868ab24cb9063765c5fb9 (commit)
discards 8cee5c6d06ebc743414df3b3d8ea4af462db0851 (commit)
discards 53cf1d4da78852cc168246cca1f4caa7e9acf837 (commit)
discards 3ac16ddac029d00f71bfe722cb25d66c26961fc7 (commit)
discards 0bb98075f4046e55c48478520752b09f71b545e0 (commit)
discards 3c9fcfadc825256987ecb259b793c2f85ed5d21c (commit)
discards ea061943e0d4179822224d7830d0f147ce90ba2c (commit)
discards bbdca1b43caaa47ae71e35872909c25ffc091900 (commit)
discards b70f7ca553b4747618383b5c631f7023dc0b2f84 (commit)
discards 7e32903033af3f93dfe397e55de549870747d62c (commit)
discards 3e4ac92f79446378fc4c4697d8f31ea1cdb6eafb (commit)
discards 6f9587bd091ff95c7150646920bc3c8b1ea14d3b (commit)
discards 6eca14991030ee87c9370c46d719e22763a65609 (commit)
discards 8fb193a04767967350fd63501f2f46e8da3f1a66 (commit)
discards 6ec4b962ba8be347708f3c4c3d3f1062ba1ffc91 (commit)
discards 8b5add11527ee7108d0f11cf55d972651a4a0eb1 (commit)
discards 8f37bfe3abfaeda30de7f1f2f813c7b9b20f39ac (commit)
discards edcab1a0be452d8c977e35783ce489beb82da099 (commit)
via 838a3d11815982f89f4ee33024795cfd91c795ae (commit)
via f83fa4c3da863a35e3bf41d48d96e07a2267c380 (commit)
via dcced44b6d4b7f16ba36311475ea78fb424b537f (commit)
via aa2c339b1cf9bc7bd7562f046c4d738ce49f6e11 (commit)
via 308175b012ff0de8490c312817567a18b4247d84 (commit)
via 3c7ea0433dc690a45dcad0592990e8b39b6a5490 (commit)
via 0272b8b8f69925e12a7f3bc281165afe061f982f (commit)
via 6f094b3b61ae6b424866e8b6e06d8356b473d716 (commit)
via ea79e641b653edce592d1b16602d0f4e49cdda73 (commit)
via 4d6c8f423dcdd5c3d192332bd6d117811b119162 (commit)
via 377250f3ada5701a104ccb5388bfe13640b53eb7 (commit)
via e0c734dcfe6501198e56bd3a89ad03ce5cfd5129 (commit)
via 07111668d4b4bfe44c02077b29ed7d3cb8415134 (commit)
via 4944c195d4a71f4aa5d9a3274907fa0bfed0e6ce (commit)
via 5cd496d2083bef03d9f2425cabec9ec51c8e9254 (commit)
via 83426b20a30832cbacd8165f5b757910e98f5417 (commit)
via 617c7127f434fc866ca370e8812f1ad01ad90d27 (commit)
via 23f93a15ca759b55b4713148f06d9a2d152278ab (commit)
via ec478756ccc8e8df264811741bfc9c362cb9233d (commit)
via 9380f5d2181c63922627cbff6abe5e3cd05523e4 (commit)
via ac89a555fa73b24a77bb861811774a5af885bc84 (commit)
via 699b8dca49df30b7bf6db7090eb416d1ad4fd46d (commit)
via ccc34e4d30b962a2963c004d003d3851801ffb3b (commit)
via c6d4ceeda6e6b96cc5bbc07fb9489587ed181f60 (commit)
via 9ec49e2411abb206c82af643d18e2ada82e865e2 (commit)
via fa464bbce90130a7f429cdbafac7b64b1fdacd32 (commit)
via e565564bc9d74e09ec1962f86aa5155e97377e1f (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (410d98e5d0c0eae76221a2d62a837b962f082506)
\
N -- N -- N (838a3d11815982f89f4ee33024795cfd91c795ae)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=838a3d11815982f89f4ee33024795cf…
commit 838a3d11815982f89f4ee33024795cfd91c795ae
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 15:48:25 2015 +0200
alloc: Use least reserved PDCH for algo A (TODO)
TODO:
- unify find_least_reserved_pdch and find_least_busy_pdch or
- force find_multi_slots to single slot reservation
- find a test case which reproduces the improvement observed with
real MS
http://cgit.osmocom.org/osmo-pcu/commit/?id=f83fa4c3da863a35e3bf41d48d96e07…
commit f83fa4c3da863a35e3bf41d48d96e07a2267c380
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 13:19:49 2015 +0200
sba: Reverse TS search order (TODO)
- when using multiple TS the first TS cannot be used for UL
eventually if a TBF is still active or releasing.
- Currently RACH requests are often accompanied by poll timeouts
- This cannot prevent them completely (especially with multiple TRX
in the future)
http://cgit.osmocom.org/osmo-pcu/commit/?id=dcced44b6d4b7f16ba36311475ea78f…
commit dcced44b6d4b7f16ba36311475ea78fb424b537f
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 14:48:13 2015 +0200
alloc: Disable inner loop debugging by default (TODO)
Callgrind: 42%-> 25%
http://cgit.osmocom.org/osmo-pcu/commit/?id=aa2c339b1cf9bc7bd7562f046c4d738…
commit aa2c339b1cf9bc7bd7562f046c4d738ce49f6e11
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 14:34:24 2015 +0200
alloc: Optimize find_free_usf
According to callgrind, this function consumes 33% CPU when running
the AllocTest program.
This commit uses the assigned_usf() method to get the USFs allocated
by a PDCH instead of traversing the TBFs.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=308175b012ff0de8490c312817567a1…
commit 308175b012ff0de8490c312817567a18b4247d84
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 14:10:13 2015 +0200
tbf: Keep a set of used TFI and USF per PDCH
Currently is is rather expensive to get TFI and USF usage per PDCH,
because the TBFs need to be scanned to get that information.
This commit adds corresponding bit sets which get updated by the
attach_tbf/detach_tbf methods of the gprs_rlcmac_pdch class.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=3c7ea0433dc690a45dcad0592990e8b…
commit 3c7ea0433dc690a45dcad0592990e8b39b6a5490
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 13:40:18 2015 +0200
alloc: Skip common TS without free USF when rating (TODO)
http://cgit.osmocom.org/osmo-pcu/commit/?id=0272b8b8f69925e12a7f3bc281165af…
commit 0272b8b8f69925e12a7f3bc281165afe061f982f
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 1 13:10:41 2015 +0200
alloc: Only reserve 1 UL slot with algorithm B (TODO)
Since currently the algorithm B will only allocate a single UL slot
and will have to stick to it (first common TS), the other possible UL
slots will not be allocated while the reservation is kept.
This commit adds code to update the reserved set of UL slots to the
single common TS when the UL TBF is allocated.
TODO:
- test it
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=6f094b3b61ae6b424866e8b6e06d835…
commit 6f094b3b61ae6b424866e8b6e06d8356b473d716
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 1 12:27:30 2015 +0200
alloc: Set minimum slot capacity to 1 (TODO)
- < 0 can only happen rarely (if at all ATM)
- doesn't change anything
TODO:
- test it anyway
http://cgit.osmocom.org/osmo-pcu/commit/?id=ea79e641b653edce592d1b16602d0f4…
commit ea79e641b653edce592d1b16602d0f4e49cdda73
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Jul 1 12:19:40 2015 +0200
alloc: Only use common UL slots when calculating the capacity
Currently al possible UL slots are included in the capacity
calculation which is the base of the slot selection. Nevertheless
UL-only slots will never be used, since only one uplink slot (which
must be a common slot) will be used.
This patch changes the code to only include common slots in the
capacity sum.
Note that this might not be optimal if algorithm B supported
multiple uplink slots.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=4d6c8f423dcdd5c3d192332bd6d1178…
commit 4d6c8f423dcdd5c3d192332bd6d117811b119162
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 22 16:14:23 2015 +0200
WIP Algorithm B UL (TODO)
Select UL slot based on slot usage (similar to algorithm A)
- Ensure to keep the first common TS
- Some tests expected multiple UL slots which is disabled in the
current algo B impl (and the former impl was labelled 'Assign one
uplink slot' so it schouldn't have returned more than 1 UL slot
either).
TODO:
- cm
-----------------------------------------------------------------------
Summary of changes:
src/tbf_dl.cpp | 2 -
tests/alloc/AllocTest.cpp | 161 ++++++++++++++++++---
tests/alloc/AllocTest.err | 10 ++
tests/alloc/AllocTest.ok | 350 +++++++++++++++++++++++++++++++++++++++++++++-
tests/tbf/TbfTest.err | 34 -----
5 files changed, 494 insertions(+), 63 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, jerlbeck/master has been updated
discards 0c0ed3e98aecb331d67910dad28842e97ece7ec8 (commit)
via 377250f3ada5701a104ccb5388bfe13640b53eb7 (commit)
via e0c734dcfe6501198e56bd3a89ad03ce5cfd5129 (commit)
via 07111668d4b4bfe44c02077b29ed7d3cb8415134 (commit)
via 4944c195d4a71f4aa5d9a3274907fa0bfed0e6ce (commit)
via 5cd496d2083bef03d9f2425cabec9ec51c8e9254 (commit)
via 83426b20a30832cbacd8165f5b757910e98f5417 (commit)
via 617c7127f434fc866ca370e8812f1ad01ad90d27 (commit)
via 23f93a15ca759b55b4713148f06d9a2d152278ab (commit)
via ec478756ccc8e8df264811741bfc9c362cb9233d (commit)
via 9380f5d2181c63922627cbff6abe5e3cd05523e4 (commit)
via ac89a555fa73b24a77bb861811774a5af885bc84 (commit)
via 699b8dca49df30b7bf6db7090eb416d1ad4fd46d (commit)
via ccc34e4d30b962a2963c004d003d3851801ffb3b (commit)
via c6d4ceeda6e6b96cc5bbc07fb9489587ed181f60 (commit)
via 9ec49e2411abb206c82af643d18e2ada82e865e2 (commit)
via fa464bbce90130a7f429cdbafac7b64b1fdacd32 (commit)
via e565564bc9d74e09ec1962f86aa5155e97377e1f (commit)
via cb1b494c896243a92a1969bb4c0ee4baddad2423 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (0c0ed3e98aecb331d67910dad28842e97ece7ec8)
\
N -- N -- N (377250f3ada5701a104ccb5388bfe13640b53eb7)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=377250f3ada5701a104ccb5388bfe13…
commit 377250f3ada5701a104ccb5388bfe13640b53eb7
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 12:54:26 2015 +0200
tbf: Add Poll Timeout counters
This commits adds three poll timeout counters
- RLC Assign Timeout
- RLC Ack Timeout
- RLC Release Timeout
to help diagnosing to cause for these events. There seems to be an
increased rate of these when a PDCH is shared by multiple TBFs.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=e0c734dcfe6501198e56bd3a89ad03c…
commit e0c734dcfe6501198e56bd3a89ad03ce5cfd5129
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jul 3 14:03:33 2015 +0200
Revert "tbf: Add GprsMs* argument to update() and use it in reuse_tbf"
This reverts commit 2272a83a13b57ea7e99fe96ac76e4ad892e19e90.
The modification is no longer needed, since the call to update has
been removed from reuse_tbf().
Conflicts:
src/tbf_dl.cpp
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=07111668d4b4bfe44c02077b29ed7d3…
commit 07111668d4b4bfe44c02077b29ed7d3cb8415134
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 13:30:43 2015 +0200
tbf: Remove call to update() in reuse_tbf
Since both TBF are based on the same reservation which means that
they should be compatible with respect to the slot usage, and since
the new TBF has not been forced to single slot usage, an update of
the allocation is not necessary now.
This commit removes the call to update() from within reuse_tbf().
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=4944c195d4a71f4aa5d9a3274907fa0…
commit 4944c195d4a71f4aa5d9a3274907fa0bfed0e6ce
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jul 2 12:04:20 2015 +0200
tbf: Set ms in call to tbf_alloc_dl_tbf
The call to tbf_alloc_dl_tbf misses the pointer to the GprsMs object
which is already known in that case (tbf_reuse). This leads to a full
reallocation of the PDCH slots, which is possibly incompatible with
the old set of slots. This can result in hanging TCP connections and
TCP connection failures.
This commit replaces the old NULL value by the actual GprsMs object.
Since the set_ms() is also done within the tbf_alloc_dl_tbf method,
that call is removed.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=5cd496d2083bef03d9f2425cabec9ec…
commit 5cd496d2083bef03d9f2425cabec9ec51c8e9254
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 10:24:37 2015 +0200
alloc: Base algo A on reserved PDCHs
Currently algorithm A bases its time slots selection on the number of
TBF actively using the PDCHs. This statistically prefers the first
time slots, especially with short living TBFs. So when the first TBF
is triggered by an uplink transfer (which generally results in a
short-lived TBF) the potentially longer living DL TBF will be bound
to the same slot. When another MS then requests an uplink TBF, it
will get the same slot (no UL TBF currently active).
This commit changes the algorithm to base its selection on reserved
slots instead.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=83426b20a30832cbacd8165f5b75791…
commit 83426b20a30832cbacd8165f5b757910e98f5417
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 09:44:05 2015 +0200
alloc: Ignore slots with differing TSC if multiple slots are requested
According to TS 45.002, 6.4.2 the training sequence (TSC) must be the
same for all slots in a multi-slot set.
This commit updates find_possible_pdchs() to only consider slots with
the same TSC if more that 1 slot shall be assigned.
Note that the first PDCH's TSC will be used as reference, so if two
or more groups with a common TSC are configured, only the first will
be used. This restriction does not apply to algorithm A, since it
will not assign more than one slot and therefore sets the max_slots
parameter to 1.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=617c7127f434fc866ca370e8812f1ad…
commit 617c7127f434fc866ca370e8812f1ad01ad90d27
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 09:18:30 2015 +0200
ms: Get the set of slots currently active
This commits adds methods to GprsMs and gprs_rlcmac_tbf to retrieve
the slots that are actively used.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=23f93a15ca759b55b4713148f06d9a2…
commit 23f93a15ca759b55b4713148f06d9a2d152278ab
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jun 30 08:52:54 2015 +0200
ms: Add support for slot reservation
In contrast to the slots currently used by existing TBFs, the
reserved slots refer to the time slots that can be used for newly
allocated TBFs without causing conflicts (given that the first common
TS does not change). They correspond to the potential use of the
PDCHs and can be used to achieve a more uniform slot allocation.
This commit adds bit set based methods to GprsMs and gprs_rlcmac_trx
and a counter to gprs_rlcmac_pdch. The current TRX will also be
stored in the MS object.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=ec478756ccc8e8df264811741bfc9c3…
commit ec478756ccc8e8df264811741bfc9c362cb9233d
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jun 19 16:35:38 2015 +0200
alloc: Load balancing for algo A
Currently only the first enabled PDCH will be used. Beside the
throughput this will also limit the number of TBFs:
- number of UL TBFs <= 7
- number of DL TBFs <= 32
This commit changes the allocation algorithm to use the PDCH with the
least number of attached TBFs. This will improve the troughput in
both directions and the UL limits:
- number of UL TBFs <= min(32, N_PDCH * 7) UL TBFs
Ticket: #1794
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=9380f5d2181c63922627cbff6abe5e3…
commit 9380f5d2181c63922627cbff6abe5e3cd05523e4
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jul 3 12:38:59 2015 +0200
tbf: Add GprsMs* argument to update() and use it in reuse_tbf
Since set_ms() is caled on the new DL TBF, the old DL TBF loses the
reference to the MS object. This will lead to a segfault, when
update() is called in reuse_tbf().
This commit adds an optional GprsMs* parameter to update() and uses it
for the slot allocation.
This fixes a TbfTest crash that would otherwise occur after applying
the next commit.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=ac89a555fa73b24a77bb861811774a5…
commit ac89a555fa73b24a77bb861811774a5af885bc84
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 14:18:46 2015 +0200
ms: Add tbf() method to get the TBF based on the direction
To avoid the need for a switch or conditional statement when needing
a TBF from an MS object in direction independant code, this method
contains that case distinction. For additional flexibility, a
reverse() function is added to get the opposite direction.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=699b8dca49df30b7bf6db7090eb416d…
commit 699b8dca49df30b7bf6db7090eb416d1ad4fd46d
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 14:05:55 2015 +0200
ms: Add first_common_ts method to GprsMs
This method gets the index (0 based) of first common time slot used
by the TBFs attach to it. It expects that all of them have the same
notion of this. If no TBF is attached, -1 will be returned.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=ccc34e4d30b962a2963c004d003d385…
commit ccc34e4d30b962a2963c004d003d3851801ffb3b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 13:45:05 2015 +0200
tbf: Maintain the number of TBF per PDCH
Currently the PDCH object do not know anything about the TBFs using
them. To make the slot allocation load dependant, at least some
numbers are required.
This commit adds TBF counters (one per direction) and the related methods
attach_tbf, detach_tbf, and num_tbfs to gprs_rlcmac_pdch.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=c6d4ceeda6e6b96cc5bbc07fb948958…
commit c6d4ceeda6e6b96cc5bbc07fb9489587ed181f60
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 13:03:46 2015 +0200
tbf/test: Add assertions
These assertions check for the TBF allocation result before the tbf
object is dereferenced the first time.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=9ec49e2411abb206c82af643d18e2ad…
commit 9ec49e2411abb206c82af643d18e2ada82e865e2
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 13:00:20 2015 +0200
alloc/test: Use LOGL_DEBUG environment variable
When this environment variable is set, the logging level is set to
LOGL_DEBUG to help debugging without putting everything into
AllocTest.err.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=fa464bbce90130a7f429cdbafac7b64…
commit fa464bbce90130a7f429cdbafac7b64b1fdacd32
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 12:45:11 2015 +0200
alloc/test: Enhance test_alloc_a
This commit adds:
- an assertion to check that count is valid,
- an assertion the verify that tbf_alloc did not fail
- a slots parameter to specify the enabled slots
- additional test invocations with more slots enabled
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/osmo-pcu/commit/?id=e565564bc9d74e09ec1962f86aa5155…
commit e565564bc9d74e09ec1962f86aa5155e97377e1f
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jun 29 12:19:52 2015 +0200
alloc/test: Add test for successive allocation
This test allocates as many as possible UL/DL TBF pairs, shows their
PDCH usage, and checks how many of them has been created
successfully.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
src/bts.cpp | 48 ++++++
src/bts.h | 37 +++++
src/gprs_ms.cpp | 83 +++++++++-
src/gprs_ms.h | 29 ++++
src/gprs_rlcmac_ts_alloc.cpp | 153 +++++++++++++++++--
src/tbf.cpp | 59 ++++++-
src/tbf.h | 7 +
src/tbf_dl.cpp | 6 +-
tests/alloc/AllocTest.cpp | 222 ++++++++++++++++++++++++++-
tests/alloc/AllocTest.err | 19 ++-
tests/alloc/AllocTest.ok | 355 +++++++++++++++++++++++++++++++++++++++++++
tests/ms/MsTest.cpp | 3 +
tests/tbf/TbfTest.cpp | 14 ++
tests/tbf/TbfTest.err | 210 ++++++++++++++++++++++---
tests/tbf/TbfTest.ok | 2 +
15 files changed, 1188 insertions(+), 59 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, mmcternan/bb_maint has been updated
via 331dd016059b6dae03032c320c4b32a85d8d26ea (commit)
from f3405e5b0342362d5d592f013014847a4dc135d8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=331dd016059b6dae03032c320c4b32a…
commit 331dd016059b6dae03032c320c4b32a85d8d26ea
Author: Michael McTernan <mike.mcternan(a)wavemobile.com>
Date: Fri Jul 3 11:12:03 2015 +0100
Changes to compile with mnc_t.
Signed-off-by: Michael McTernan <mike.mcternan(a)wavemobile.com>
-----------------------------------------------------------------------
Summary of changes:
src/gprs_bssgp_pcu.cpp | 12 ++++++++----
src/gprs_bssgp_pcu.h | 2 +-
src/pcu_l1_if.cpp | 3 ++-
src/pcu_main.cpp | 7 ++++---
src/pcuif_proto.h | 4 +++-
tests/emu/pcu_emu.cpp | 2 +-
6 files changed, 19 insertions(+), 11 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT