Patch Set 1: Code-Review+2
I also agree in that it makes sense for PRBS sequences to be in libosmocore,
but the current patch is not mergeable into libosmocore. If someone decides to
rewrite the patch in C and appropriate coding style for libosmocore, then we
can remove it from osmo-trx at
Patch Set 1:
Harald - I agree that in general it would make sense to have PRBS in
libosmocore. But I'm not very familiar with the libosmocore coding style, so I
would appreciate to commit this patch as is to osmo-trx and then move the code
to libosmocore later if someone more familiar with it
Patch Set 1:
I would really prefer to haee generic code like this implemented as part of
libosmocore. There is nothing "TRX specific" about it, and PRBS sequences are
used virtually anywhere for testing, whether on wired or wireless interfaces
in telecoms.
--
To view, visit
Review at https://gerrit.osmocom.org/2764
PRBS: a Pseudo-random binary sequence (PRBS) generator class.
Implemeted with a Galois LFSR for speed and flexibility compared to Fibonacci
version.
Aliases for three popular PRBS' are added for convenience - PRBS9, PRBS15 and
PRBS64.
Note that we