Hi:
I am studying the tch code, and want to decode the Convolutional code of TCH using xcch.c; and how to set the parameters;
1. conv_xcch_next_output 2. conv_xcch_next_state 3. N = 2, 4. K = 5,
static const uint8_t conv_xcch_next_output[][2] = { { 0, 3 }, { 1, 2 }, { 0, 3 }, { 1, 2 }, { 3, 0 }, { 2, 1 }, { 3, 0 }, { 2, 1 }, { 3, 0 }, { 2, 1 }, { 3, 0 }, { 2, 1 }, { 0, 3 }, { 1, 2 }, { 0, 3 }, { 1, 2 }, };
static const uint8_t conv_xcch_next_state[][2] = { { 0, 1 }, { 2, 3 }, { 4, 5 }, { 6, 7 }, { 8, 9 }, { 10, 11 }, { 12, 13 }, { 14, 15 }, { 0, 1 }, { 2, 3 }, { 4, 5 }, { 6, 7 }, { 8, 9 }, { 10, 11 }, { 12, 13 }, { 14, 15 }, };
const struct osmo_conv_code conv_xcch = { .N = 2, .K = 5, .len = 224, .next_output = conv_xcch_next_output, .next_state = conv_xcch_next_state, };
Thanks!
you could start with facch http://git.gnumonks.org/cgi-bin/gitweb.cgi?p=airprobe.git;a=commitdiff;h=b6d... http://git.gnumonks.org/cgi-bin/gitweb.cgi?p=airprobe.git;a=commitdiff;h=b6d...
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/TCH-Viterbi-decode-Parameter-tp40... Sent from the baseband-devel mailing list archive at Nabble.com.
baseband-devel@lists.osmocom.org