Attention is currently required from: Hoernchen, pespin, fixeria.
Jenkins Builder has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-trx/+/30415 )
Change subject: vita demod by piotr krysik, modified
......................................................................
Patch Set 4:
(692 comments)
File Transceiver52M/grgsm_vitac/grgsm_vitac.cpp:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7244d104_c74ad3c7
PS4, Line 1: /* -*- c++ -*- */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6d498cb9_2c05222a
PS4, Line 2: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/06a97362_008be061
PS4, Line 3: * @file
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aa749ef2_3cf66b41
PS4, Line 4: * @author (C) 2009-2017 by Piotr Krysik <ptrkrysik(a)gmail.com>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c13ecc03_33e9bd8f
PS4, Line 5: * @author Contributions by sysmocom - s.f.m.c. GmbH / Eric Wild
<ewild(a)sysmocom.de>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/03f592a5_11614b20
PS4, Line 6: * @section LICENSE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4fa816e9_79527bcd
PS4, Line 7: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/13de5f09_32c17231
PS4, Line 8: * Gr-gsm is free software; you can redistribute it and/or modify
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e54c5cc6_4add4a2c
PS4, Line 9: * it under the terms of the GNU General Public License as published by
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d24837b9_e5382d4f
PS4, Line 10: * the Free Software Foundation; either version 3, or (at your option)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7a985dfe_882faeb1
PS4, Line 11: * any later version.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/37c4623d_a2108267
PS4, Line 12: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4eb0a4a4_b256687b
PS4, Line 13: * Gr-gsm is distributed in the hope that it will be useful,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2754fc7d_2178a6ba
PS4, Line 14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/75de5a4b_967e58f1
PS4, Line 15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a416f954_b503ae67
PS4, Line 16: * GNU General Public License for more details.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/79c808d1_cf4209eb
PS4, Line 17: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/518c5acc_0c15b4a9
PS4, Line 18: * You should have received a copy of the GNU General Public License
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/06fd629f_aab83034
PS4, Line 19: * along with gr-gsm; see the file COPYING. If not, write to
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2981341d_08c4b9f6
PS4, Line 20: * the Free Software Foundation, Inc., 51 Franklin Street,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9954fa9a_0f586feb
PS4, Line 20: * the Free Software Foundation, Inc., 51 Franklin Street,
Do not include the paragraph about writing to the Free Software Foundation's mailing
address from the sample GPL notice. The FSF has changed addresses in the past, and may do
so again. This Osmocom project should already include a copy of the (A)GPL.
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/acc5d78f_3375c1cf
PS4, Line 21: * Boston, MA 02110-1301, USA.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/64bae917_90b2e110
PS4, Line 22: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/50439343_627a8183
PS4, Line 23:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/71a10e94_0122ebc5
PS4, Line 24: #include "constants.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6a134a4e_3698bb40
PS4, Line 25:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/337161d2_7a41055a
PS4, Line 26: #ifdef HAVE_CONFIG_H
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/35cf213c_5a326aeb
PS4, Line 27: #include "config.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/16befb83_ea26c4d6
PS4, Line 28: #endif
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5985a4c7_932aaaca
PS4, Line 29: #include <complex>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/419110a1_fc00e4b2
PS4, Line 30:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/875928eb_44663a9a
PS4, Line 31:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4cf9244d_9f94ed4e
PS4, Line 32: #include <algorithm>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1f880965_52c6636b
PS4, Line 33: #include <string.h>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5285d312_a1fcc8cc
PS4, Line 34: #include <iostream>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f4f90508_124444e8
PS4, Line 35: #include <numeric>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ca473b7c_6b432607
PS4, Line 36: #include <vector>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9104ff45_e8d2b715
PS4, Line 37: #include <fstream>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1f2c8e42_83b45899
PS4, Line 38:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c07e36d9_010f20ef
PS4, Line 39: #include "viterbi_detector.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/48da2579_06da111f
PS4, Line 40: #include "grgsm_vitac.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d465ebd1_1c8fed39
PS4, Line 41:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2d661cca_8b69b843
PS4, Line 42: //signalVector mChanResp;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6fe44b24_14eea2dd
PS4, Line 43: gr_complex d_sch_training_seq[N_SYNC_BITS]; ///<encoded training sequence
of a SCH burst
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/45e252e6_55da805a
PS4, Line 44: gr_complex d_norm_training_seq[TRAIN_SEQ_NUM][N_TRAIN_BITS]; ///<encoded
training sequences of a normal and dummy burst
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9a230d0f_e9329565
PS4, Line 45: const int d_chan_imp_length = CHAN_IMP_RESP_LENGTH;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/27f09e81_8865459a
PS4, Line 46:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b285b5ca_72118d6f
PS4, Line 47: void initvita() {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/148497cd_cdfa93d0
PS4, Line 48:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/86ce0025_df2b6dc4
PS4, Line 49: /**
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/93c46ddd_92cb245b
PS4, Line 50: * Prepare SCH sequence bits
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2be76b20_1bd95906
PS4, Line 51: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1f258408_13724b04
PS4, Line 52: * (TS_BITS + 2 * GUARD_PERIOD)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/18eb9608_6b38d349
PS4, Line 53: * Burst and two guard periods
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/76f17b4c_75fc5350
PS4, Line 54: * (one guard period is an arbitrary overlap)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/83853ed3_97b97267
PS4, Line 55: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a1b1d62c_cb6ac8a2
PS4, Line 56: gmsk_mapper(SYNC_BITS, N_SYNC_BITS,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bf372af2_766a8565
PS4, Line 57: d_sch_training_seq, gr_complex(0.0, -1.0));
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e98f213c_d4cd765c
PS4, Line 58: for (auto &i : d_sch_training_seq)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f4af36e9_a2ff2d07
PS4, Line 59: i = conj(i);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f152a918_1bbba413
PS4, Line 60:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b9f609e6_0e86977c
PS4, Line 61: /* Prepare bits of training sequences */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/66ee733f_dec01f61
PS4, Line 62: for (int i = 0; i < TRAIN_SEQ_NUM; i++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/34531700_a6a57a6c
PS4, Line 63: /**
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7a09d1e8_6f2251ae
PS4, Line 64: * If first bit of the sequence is 0
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f531f27d_c9851c5f
PS4, Line 65: * => first symbol is 1, else -1
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8a46e71a_c862ede3
PS4, Line 66: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b4923536_0a814cc9
PS4, Line 67: gr_complex startpoint = train_seq[i][0] == 0 ?
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0fe911df_0244bfe4
PS4, Line 68: gr_complex(1.0, 0.0) : gr_complex(-1.0, 0.0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ebd94553_51d32115
PS4, Line 69: gmsk_mapper(train_seq[i], N_TRAIN_BITS,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0fa35dd5_66975e0f
PS4, Line 70: d_norm_training_seq[i], startpoint);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c85beeba_0930b760
PS4, Line 71: for (auto &i : d_norm_training_seq[i])
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/15eb3fdf_09f07190
PS4, Line 72: i = conj(i);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c5c7d843_35480f95
PS4, Line 73: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2bc068d8_43a6354d
PS4, Line 74:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0140d0f5_3c76826e
PS4, Line 75: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6a94b9d9_e9755460
PS4, Line 76:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aeaa359c_2769ccfa
PS4, Line 77: MULTI_VER_TARGET_ATTR
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a6597647_8966bdd9
PS4, Line 78: void detect_burst(const gr_complex *input, gr_complex *chan_imp_resp, int
burst_start, char *output_binary)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5a03b95a_f7a872c0
PS4, Line 79: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/17862483_cbd8dca3
PS4, Line 80: std::vector<gr_complex> rhh_temp(CHAN_IMP_RESP_LENGTH * d_OSR);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/206d90b5_c351055f
PS4, Line 81: unsigned int stop_states[2] = { 4, 12 };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/744eb83f_832e9255
PS4, Line 82: gr_complex filtered_burst[BURST_SIZE];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d3f3b6da_a4d875f1
PS4, Line 83: gr_complex rhh[CHAN_IMP_RESP_LENGTH];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e8519f08_3c24ad79
PS4, Line 84: float output[BURST_SIZE];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7606e746_6e289090
PS4, Line 85: int start_state = 3;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d5532ebf_4137b506
PS4, Line 86:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ee6ae238_7bf79971
PS4, Line 87: // if(burst_start < 0 ||burst_start > 10)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/79650d38_ec48edc4
PS4, Line 88: // fprintf(stderr, "bo %d\n", burst_start);
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d96db033_9ea338bf
PS4, Line 89:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6bbc4fbf_e33e697e
PS4, Line 90: // burst_start = burst_start >= 0 ? burst_start : 0;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ed7e17de_94edc6ee
PS4, Line 91:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5bab16da_8696b4d3
PS4, Line 92: autocorrelation(chan_imp_resp, &rhh_temp[0], d_chan_imp_length *
d_OSR);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f440d14d_13654a14
PS4, Line 93: for (int ii = 0; ii < d_chan_imp_length; ii++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ed918ec1_93fcd0a4
PS4, Line 94: rhh[ii] = conj(rhh_temp[ii * d_OSR]);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/518bd02a_8699e121
PS4, Line 95:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7e676a75_d7bc21d4
PS4, Line 96: mafi(&input[burst_start], BURST_SIZE, chan_imp_resp,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f583c6bf_8cdfb69c
PS4, Line 97: d_chan_imp_length * d_OSR, filtered_burst);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e60e322a_8801cada
PS4, Line 98:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0cc33a06_9da2ccfa
PS4, Line 99: viterbi_detector(filtered_burst, BURST_SIZE, rhh,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0e00c80c_dcfd28e7
PS4, Line 100: start_state, stop_states, 2, output);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/860582f1_c8f10c74
PS4, Line 101:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/21347fa6_87bfa18e
PS4, Line 102: for (int i = 0; i < BURST_SIZE; i++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9fc11e64_f16a8384
PS4, Line 103: output_binary[i] = output[i] * -127; // pre flip bits!
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b185edcb_651a7da8
PS4, Line 104: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/993e19d2_a0596c9c
PS4, Line 105:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bdd66a51_13a8a372
PS4, Line 106: void
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1388a5db_2d423f0b
PS4, Line 107: gmsk_mapper(const unsigned char* input,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e5f5cdc8_e76f6f72
PS4, Line 108: int nitems, gr_complex* gmsk_output, gr_complex start_point)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/615f254c_1f465eca
PS4, Line 109: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3ab5cca1_f45b0ae0
PS4, Line 110: gr_complex j = gr_complex(0.0, 1.0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/57cbfb1b_817b3267
PS4, Line 111: gmsk_output[0] = start_point;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9468654d_994d1032
PS4, Line 112:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/43d2227d_fd2417ae
PS4, Line 113: int previous_symbol = 2 * input[0] - 1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cc9d23f8_d706fb1f
PS4, Line 114: int current_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/81fb73dc_ba01226f
PS4, Line 115: int encoded_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8942830a_b1a10818
PS4, Line 116:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1a75187d_f2ecaa5e
PS4, Line 117: for (int i = 1; i < nitems; i++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4e316c7a_ace7edbe
PS4, Line 118: /* Change bits representation to NRZ */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2fa1df77_66a28b71
PS4, Line 119: current_symbol = 2 * input[i] - 1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/12e3e2e7_f960220e
PS4, Line 120:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a123880d_d6df2340
PS4, Line 121: /* Differentially encode */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5d72c75f_aa1eb9ba
PS4, Line 122: encoded_symbol = current_symbol * previous_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0ab79c15_cb54de21
PS4, Line 123:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d23807d9_1dbdc3a7
PS4, Line 124: /* And do GMSK mapping */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/64760df0_7cb4a3b7
PS4, Line 125: gmsk_output[i] = j * gr_complex(encoded_symbol, 0.0)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9d35c6d1_b879f3b3
PS4, Line 126: * gmsk_output[i - 1];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fdb314c6_ca0a482d
PS4, Line 127:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1e55c09a_316da7a2
PS4, Line 128: previous_symbol = current_symbol;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b271f2f7_c26e20bf
PS4, Line 129: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2e5ad3e6_9342970f
PS4, Line 130: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a505eb63_dc57db37
PS4, Line 131:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ccb94df7_7784398e
PS4, Line 132: gr_complex
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/402b9547_07eb640f
PS4, Line 133: correlate_sequence(const gr_complex* sequence,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9e7ac012_8979f8ac
PS4, Line 134: int length, const gr_complex* input)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fcffeed3_6fbf2f46
PS4, Line 135: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1b2c2041_dde96136
PS4, Line 136: gr_complex result(0.0, 0.0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a69ec75b_7faf3bcf
PS4, Line 137:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b6d94cf8_fc85e988
PS4, Line 138: for (int ii = 0; ii < length; ii++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2d847a59_eeba99e1
PS4, Line 139: result += sequence[ii] * input[ii * d_OSR];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7ee9ca3a_11848781
PS4, Line 140:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d6115460_5fe58824
PS4, Line 141: return conj(result) / gr_complex(length, 0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1ebbc6b5_239a61bd
PS4, Line 142: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ad3b04cd_afaf612f
PS4, Line 143:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/71255bb4_85a84c23
PS4, Line 144: /* Computes autocorrelation for positive arguments */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9594f643_54942fec
PS4, Line 145: inline void
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d83e3b6c_6ddc1d12
PS4, Line 146: autocorrelation(const gr_complex* input,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dda5934f_c9e5ac80
PS4, Line 147: gr_complex* out, int nitems)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b94b8a9d_07e9619d
PS4, Line 148: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b2163935_ea180579
PS4, Line 149: for (int k = nitems - 1; k >= 0; k--) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8a710d40_d0d26583
PS4, Line 150: out[k] = gr_complex(0, 0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f46f2e9e_19368fb4
PS4, Line 151: for (int i = k; i < nitems; i++)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a8752573_fb7aef52
PS4, Line 152: out[k] += input[i] * conj(input[i - k]);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9f3a1701_438aa177
PS4, Line 153: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a95d8620_6f93362f
PS4, Line 154: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8c9368e4_39b62ece
PS4, Line 155:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/490f67e3_c3ccbce3
PS4, Line 156: inline void
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a973b964_6142b128
PS4, Line 157: mafi(const gr_complex* input, int nitems,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f5d026b8_2b7fa5a3
PS4, Line 158: gr_complex* filter, int filter_length, gr_complex* output)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/10c14499_592845d6
PS4, Line 159: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/453eb364_0bc0db0a
PS4, Line 160: for (int n = 0; n < nitems; n++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/43146a59_38d2c50a
PS4, Line 161: int a = n * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d3000a5b_2ecf92f0
PS4, Line 162: output[n] = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/af939e94_e4cc64d7
PS4, Line 163:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3033d857_bab4a169
PS4, Line 164: for (int ii = 0; ii < filter_length; ii++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2495c795_54d7b29c
PS4, Line 165: if ((a + ii) >= nitems * d_OSR)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c3c372e2_5c4e238b
PS4, Line 166: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/183c889f_1b04c59f
PS4, Line 167:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/85d79266_36202f3b
PS4, Line 168: output[n] += input[a + ii] * filter[ii];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c547dd6c_8aa63573
PS4, Line 169: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1af80842_e2c42fd8
PS4, Line 170: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1f2b768a_0cf68e75
PS4, Line 171: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3dd2947b_fb3a5a50
PS4, Line 172:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/650a263b_febc5d48
PS4, Line 173: int get_chan_imp_resp(const gr_complex *input, gr_complex *chan_imp_resp,
int search_center, int search_start_pos,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/907c7052_136fa1f6
PS4, Line 174: int search_stop_pos, gr_complex *tseq, int tseqlen, float
*corr_max)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d7aee50d_6c99da4b
PS4, Line 175: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b6f255cd_928dec37
PS4, Line 176: std::vector<gr_complex> correlation_buffer;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bd4113c0_87299e14
PS4, Line 177: std::vector<float> window_energy_buffer;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3318fa9e_98f1da6d
PS4, Line 178: std::vector<float> power_buffer;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/79b65527_93ec6b95
PS4, Line 179:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b59a5a95_322b453f
PS4, Line 180: for (int ii = search_start_pos; ii < search_stop_pos; ii++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/99458efe_d4248c8f
PS4, Line 181: gr_complex correlation = correlate_sequence(tseq, tseqlen,
&input[ii]);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1e0d9b03_f620af04
PS4, Line 182: correlation_buffer.push_back(correlation);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ca984adb_0957719b
PS4, Line 183: power_buffer.push_back(std::pow(abs(correlation), 2));
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b9157521_eddb8a37
PS4, Line 184: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d3558f6e_62019a21
PS4, Line 185:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7bdbea70_7528cea2
PS4, Line 186: int strongest_corr_nr = max_element(power_buffer.begin(),
power_buffer.end()) - power_buffer.begin();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/844a76b0_1ee5d3a9
PS4, Line 187:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/898dc4bc_0fcec899
PS4, Line 188: /* Compute window energies */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eb789162_6bb4bfa2
PS4, Line 189: auto window_energy_start_offset = strongest_corr_nr - 6 * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8a98ebc3_82f172f7
PS4, Line 190: window_energy_start_offset = window_energy_start_offset < 0 ? 0 :
window_energy_start_offset; //can end up out of range..
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bc6db9e0_831f8290
PS4, Line 191: auto window_energy_end_offset = strongest_corr_nr + 6 * d_OSR +
d_chan_imp_length * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a1a3bff9_a9ceea4e
PS4, Line 192: auto iter = power_buffer.begin() + window_energy_start_offset;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/faa5e803_6d2277d5
PS4, Line 193: auto iter_end = power_buffer.begin() + window_energy_end_offset;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/04af2ddf_4a1fbb5f
PS4, Line 194: while (iter != iter_end) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/adefe06c_5b2b3dac
PS4, Line 195: std::vector<float>::iterator iter_ii = iter;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7b6ca7bf_5b3e79dc
PS4, Line 196: bool loop_end = false;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7716a428_4ab2f257
PS4, Line 197: float energy = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6a15bb25_330981e6
PS4, Line 198:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c779111c_5a9187fe
PS4, Line 199: int len = d_chan_imp_length * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/73fc52d0_eb3f2062
PS4, Line 200: for (int ii = 0; ii < len; ii++, iter_ii++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bc24ffce_4a69d6fb
PS4, Line 201: if (iter_ii == power_buffer.end()) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f8313fd2_e5b845c5
PS4, Line 202: loop_end = true;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/084c0f77_6b9aeae0
PS4, Line 203: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1fa30d7f_a67b5e2b
PS4, Line 204: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/463e3c8e_624d444d
PS4, Line 205:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0b9e6614_f8bfa67c
PS4, Line 206: energy += (*iter_ii);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e6b09ef9_92892627
PS4, Line 207: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bde038a1_c1c7b6b4
PS4, Line 208:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a06be917_ca92a07f
PS4, Line 209: if (loop_end)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7bcb7da0_373203c3
PS4, Line 210: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f88a84e1_61c575c4
PS4, Line 211:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e1d9c448_85584655
PS4, Line 212: window_energy_buffer.push_back(energy);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a0109dbc_c827b7a9
PS4, Line 213: iter++;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/85021aaf_b438300d
PS4, Line 214: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/11d1ca93_8c746d67
PS4, Line 215:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ab4af041_21ebed47
PS4, Line 216: /* Calculate the strongest window number */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0757a648_2a318d2f
PS4, Line 217: int strongest_window_nr = window_energy_start_offset +
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f33b7f9c_1f8e949b
PS4, Line 218: max_element(window_energy_buffer.begin(), window_energy_buffer.end())
-
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/94ef504f_f5773214
PS4, Line 219: window_energy_buffer.begin();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e8197595_08aa7abb
PS4, Line 220:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/38d8e735_0670e50a
PS4, Line 221: // auto window_search_start = window_energy_buffer.begin() +
strongest_corr_nr - 5* d_OSR;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/32a7dd70_00f306e3
PS4, Line 222: // auto window_search_end = window_energy_buffer.begin() +
strongest_corr_nr + 10* d_OSR;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c3a82500_5966ccf3
PS4, Line 223: // window_search_end = window_search_end >= window_energy_buffer.end()
? window_energy_buffer.end() : window_search_end;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9fa3dc79_07c0f1fc
PS4, Line 224:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f59c596b_fe7fdb12
PS4, Line 225: // /* Calculate the strongest window number */
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/30fc7526_1b3aa75a
PS4, Line 226: // int strongest_window_nr = max_element(window_search_start,
window_search_end /* - d_chan_imp_length * d_OSR*/) - window_energy_buffer.begin();
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/603772ac_77062f99
PS4, Line 227:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a49763b7_cf689ae0
PS4, Line 228: // if (strongest_window_nr < 0)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2c6aae30_e1a93e1e
PS4, Line 229: // strongest_window_nr = 0;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f0e52aca_0accd3eb
PS4, Line 230:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/07c79bb2_6a15f4bd
PS4, Line 231: float max_correlation = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fb2fcdab_1971f997
PS4, Line 232: for (int ii = 0; ii < d_chan_imp_length * d_OSR; ii++) {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/93f3e1d7_58a2fed8
PS4, Line 233: gr_complex correlation = correlation_buffer[strongest_window_nr + ii];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6486805f_11ab52d9
PS4, Line 234: if (abs(correlation) > max_correlation)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/764e32e5_6edfa6ee
PS4, Line 235: max_correlation = abs(correlation);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d121a6b4_6e4a0c72
PS4, Line 236: chan_imp_resp[ii] = correlation;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0abe7783_9fa332d4
PS4, Line 237: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/67e2442e_d8c40413
PS4, Line 238:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d6bec6fc_42dad16b
PS4, Line 239: *corr_max = max_correlation;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7119030c_9e4b2535
PS4, Line 240:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c422d27b_273ae9c4
PS4, Line 241: /**
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/890b3beb_d63ccab7
PS4, Line 242: * Compute first sample position, which corresponds
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/77e222e1_e1df7e2e
PS4, Line 243: * to the first sample of the impulse response
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/afa06b16_68dce019
PS4, Line 244: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/92058759_08b63f79
PS4, Line 245: return search_start_pos + strongest_window_nr - search_center * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a3cec35c_68b77fd0
PS4, Line 246: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/87ffae4b_348dc6d0
PS4, Line 247:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/544fa58f_357c6623
PS4, Line 248: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a3d09015_4f192661
PS4, Line 249:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/38b31993_9fed9c4a
PS4, Line 250: 3 + 57 + 1 + 26 + 1 + 57 + 3 + 8.25
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c014bb20_d40253f2
PS4, Line 251:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/44378904_67294536
PS4, Line 252: search center = 3 + 57 + 1 + 5 (due to tsc 5+16+5 split)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/46541e6b_855637e9
PS4, Line 253: this is +-5 samples around (+5 beginning) of truncated t16 tsc
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6ddf8191_347223d6
PS4, Line 254:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a82c2d43_368e8fc9
PS4, Line 255: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/258aa77c_c3eca987
PS4, Line 256: int get_norm_chan_imp_resp(const gr_complex *input, gr_complex
*chan_imp_resp, float *corr_max, int bcc)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/92d7dd18_94e2ecff
PS4, Line 257: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/02304bbd_53e312d6
PS4, Line 258: const int search_center = TRAIN_POS;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1744411e_3b832e48
PS4, Line 259: const int search_start_pos = (search_center - 5) * d_OSR + 1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b9ce0568_1222fa8e
PS4, Line 260: const int search_stop_pos = (search_center + 5 + d_chan_imp_length) *
d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0707ee07_71d1c8be
PS4, Line 261: const auto tseq = &d_norm_training_seq[bcc][TRAIN_BEGINNING];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/746bdd99_9ec01f2c
PS4, Line 262: const auto tseqlen = N_TRAIN_BITS - (2 * TRAIN_BEGINNING);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e164d780_df13646a
PS4, Line 263: return get_chan_imp_resp(input, chan_imp_resp, search_center,
search_start_pos, search_stop_pos, tseq, tseqlen,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/45570647_77d212e7
PS4, Line 264: corr_max);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5ae766ee_7849679d
PS4, Line 265: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/422b9b6d_b21ef8d9
PS4, Line 266:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cb5880cc_5e721a78
PS4, Line 267: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/473ca09c_28e6b550
PS4, Line 268:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/43a60bd4_506e6793
PS4, Line 269: 3 tail | 39 data | 64 tsc | 39 data | 3 tail | 8.25 guard
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/98c9e4f3_317af24b
PS4, Line 270: start 3+39 - 10
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/48d8e020_b9e7b42e
PS4, Line 271: end 3+39 + SYNC_SEARCH_RANGE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/29828689_b12ba476
PS4, Line 272:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/38be869b_f8d9fb80
PS4, Line 273: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b046bd3d_4d04f550
PS4, Line 274: int get_sch_chan_imp_resp(const gr_complex *input, gr_complex
*chan_imp_resp)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0e903f28_89b973b6
PS4, Line 275: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/88b249e9_e9decb29
PS4, Line 276: const int search_center = SYNC_POS + TRAIN_BEGINNING;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4dcec9d7_03578b80
PS4, Line 277: const int search_start_pos = (search_center - 10) * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/24697040_cba628d1
PS4, Line 278: const int search_stop_pos = (search_center + SYNC_SEARCH_RANGE) * d_OSR;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4b43c10f_a0f4ef73
PS4, Line 279: const auto tseq = &d_sch_training_seq[TRAIN_BEGINNING];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0df51644_12333994
PS4, Line 280: const auto tseqlen = N_SYNC_BITS - (2 * TRAIN_BEGINNING);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4a830694_b247e3cf
PS4, Line 281:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d790d399_96d74b70
PS4, Line 282: // strongest_window_nr + chan_imp_resp_center + SYNC_POS *d_OSR - 48 *
d_OSR - 2 * d_OSR + 2 ;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fa94a4db_5707e53e
PS4, Line 283: float corr_max;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2e342ded_fab3060e
PS4, Line 284: return get_chan_imp_resp(input, chan_imp_resp, search_center,
search_start_pos, search_stop_pos, tseq, tseqlen,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/71170beb_ad917078
PS4, Line 285: &corr_max);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9239c59a_5b1f59a2
PS4, Line 286: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/68d040d4_8b6edf03
PS4, Line 287:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e5884a49_346f984b
PS4, Line 288: int get_sch_buffer_chan_imp_resp(const gr_complex *input, gr_complex
*chan_imp_resp, unsigned int len, float *corr_max)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5cc297ca_a9a887fa
PS4, Line 289: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/01fbc977_e87c844f
PS4, Line 290: const auto tseqlen = N_SYNC_BITS - (2 * TRAIN_BEGINNING);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3dfb79ae_196a5afb
PS4, Line 291: const int search_center = SYNC_POS + TRAIN_BEGINNING;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3c020687_10cf8812
PS4, Line 292: const int search_start_pos = 0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/66615407_9bbac1e0
PS4, Line 293: // FIXME: proper end offset
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/779bca7a_b7c171ce
PS4, Line 294: const int search_stop_pos = len - (N_SYNC_BITS*8);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/06b97b01_522f4732
PS4, Line 295: auto tseq = &d_sch_training_seq[TRAIN_BEGINNING];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f0c2cfd6_ccfd5e51
PS4, Line 296:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/079bcec2_b3c26e87
PS4, Line 297: return get_chan_imp_resp(input, chan_imp_resp, search_center,
search_start_pos, search_stop_pos, tseq, tseqlen,
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/65b8e518_3c52613c
PS4, Line 298: corr_max);
DOS line endings
File Transceiver52M/grgsm_vitac/viterbi_detector.cc:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/56d4d51e_ef8c4009
PS4, Line 1: /* -*- c++ -*- */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8fe560ae_76dd7b38
PS4, Line 2: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4d234460_4e8ed78c
PS4, Line 3: * @file
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/87d26200_73d44aa9
PS4, Line 4: * @author (C) 2009 by Piotr Krysik <ptrkrysik(a)gmail.com>
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2cead01d_f6a18522
PS4, Line 5: * @section LICENSE
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0816211c_5229305c
PS4, Line 6: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2ffe24d3_e6eb756a
PS4, Line 7: * Gr-gsm is free software; you can redistribute it and/or modify
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/821dee9c_aeea5ba8
PS4, Line 8: * it under the terms of the GNU General Public License as published by
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8083bdc0_cda4b8bb
PS4, Line 9: * the Free Software Foundation; either version 3, or (at your option)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/08158a2c_74a5cd7b
PS4, Line 10: * any later version.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/731ed5e6_27f686dd
PS4, Line 11: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/56c69f55_4b59bfb8
PS4, Line 12: * Gr-gsm is distributed in the hope that it will be useful,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7be29d78_424ac329
PS4, Line 13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/41b103bf_e46dd35e
PS4, Line 14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e51f28f0_48ad900d
PS4, Line 15: * GNU General Public License for more details.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/20ec1143_570f2a57
PS4, Line 16: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7dadba63_df607fd9
PS4, Line 17: * You should have received a copy of the GNU General Public License
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e3c2f5c8_4f37f8e7
PS4, Line 18: * along with gr-gsm; see the file COPYING. If not, write to
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e8f58a24_d8f35cff
PS4, Line 19: * the Free Software Foundation, Inc., 51 Franklin Street,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2f5e1478_a8e78edf
PS4, Line 19: * the Free Software Foundation, Inc., 51 Franklin Street,
Do not include the paragraph about writing to the Free Software Foundation's mailing
address from the sample GPL notice. The FSF has changed addresses in the past, and may do
so again. This Osmocom project should already include a copy of the (A)GPL.
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7daf910d_8ba4d2ef
PS4, Line 20: * Boston, MA 02110-1301, USA.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/89183a25_bff1a5d6
PS4, Line 21: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/27affee9_1a1bb5c4
PS4, Line 22:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4f6a8b09_a44f9463
PS4, Line 23: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ad731030_17387033
PS4, Line 24: * viterbi_detector:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b8e97190_3cd4a961
PS4, Line 25: * This part does the detection of received sequnece.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/64e4af0b_4c3ad6fb
PS4, Line 26: * Employed algorithm is viterbi Maximum Likehood Sequence
Estimation.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fc44ca0a_e8c5fe49
PS4, Line 27: * At this moment it gives hard decisions on the output, but
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/37c72c2f_a150436d
PS4, Line 28: * it was designed with soft decisions in mind.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9836ac85_ee06190a
PS4, Line 29: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b9e72261_9a4e1103
PS4, Line 30: * SYNTAX: void viterbi_detector(
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6d967e54_c05d6eda
PS4, Line 31: * const gr_complex * input,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/59373133_5fd5c182
PS4, Line 32: * unsigned int samples_num,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6db363a7_002314d8
PS4, Line 33: * gr_complex * rhh,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6a4ae3bb_0051ce06
PS4, Line 34: * unsigned int start_state,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7a1d666d_35af5d3e
PS4, Line 35: * const unsigned int * stop_states,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c54ecbf5_91decca6
PS4, Line 36: * unsigned int stops_num,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/21697a02_d9bb4798
PS4, Line 37: * float * output)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/390a3a84_23ac68bd
PS4, Line 38: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a1ac5832_0d2c9388
PS4, Line 39: * INPUT: input: Complex received signal afted matched filtering.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8217c46d_4d434339
PS4, Line 40: * samples_num: Number of samples in the input table.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/91ee2541_889ee83d
PS4, Line 41: * rhh: The autocorrelation of the estimated channel
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7530d20d_5f1c87b9
PS4, Line 42: * impulse response.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bfef8abc_4aa26ef9
PS4, Line 43: * start_state: Number of the start point. In GSM each burst
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bae45e30_43f6aa43
PS4, Line 44: * starts with sequence of three bits (0,0,0) which
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dfe62b9e_941c9bf2
PS4, Line 45: * indicates start point of the algorithm.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eaee77c1_34126d5b
PS4, Line 46: * stop_states: Table with numbers of possible stop states.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/75ad65d3_cb5440de
PS4, Line 47: * stops_num: Number of possible stop states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/37d9675f_3a6767b9
PS4, Line 48: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f2c61f8e_09d1c424
PS4, Line 49: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bfa5f8d4_6f75e9c2
PS4, Line 50: * OUTPUT: output: Differentially decoded hard output of the
algorithm:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9e6e5890_5fa1e65e
PS4, Line 51: * -1 for logical "0" and 1 for logical
"1"
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/468ec753_5147724c
PS4, Line 52: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7d8520c8_6548d0cb
PS4, Line 53: * SUB_FUNC: none
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d4dae222_3d6ca3c6
PS4, Line 54: *
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c7b4ff77_e410a4fd
PS4, Line 55: * TEST(S): Tested with real world normal burst.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ec074333_93ac25d7
PS4, Line 56: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a4e87a18_9d6fad5f
PS4, Line 57:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8d0a180b_85828b4f
PS4, Line 58: #include "constants.h"
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6e56b086_6e24fe9f
PS4, Line 59: #include <cmath>
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/92f400a2_6a3f66a3
PS4, Line 60:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/02960e84_8dd86c76
PS4, Line 61: #define PATHS_NUM (1 << (CHAN_IMP_RESP_LENGTH-1))
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cbd30f72_2e60c52a
PS4, Line 62:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/020e2acd_61c766ae
PS4, Line 63: void viterbi_detector(const gr_complex * input, unsigned int samples_num,
gr_complex * rhh, unsigned int start_state, const unsigned int * stop_states, unsigned int
stops_num, float * output)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/86b76e98_50571208
PS4, Line 64: {
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/963800fe_575461fe
PS4, Line 65: float increment[8];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/34678ba2_a5507542
PS4, Line 66: float path_metrics1[16];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2a350aa2_d05e1dd0
PS4, Line 67: float path_metrics2[16];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/db359c56_ac0dcf5f
PS4, Line 68: float paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6f3ec2c6_1d74cd0e
PS4, Line 69: float * new_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f5d3b31a_e5423068
PS4, Line 70: float * old_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f92b65ae_ac60fe54
PS4, Line 71: float * tmp;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9f06d9bc_b13d2c74
PS4, Line 72: float trans_table[BURST_SIZE][16];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1cb62748_beb4c1e6
PS4, Line 73: float pm_candidate1, pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2cf9ca92_e98b61bd
PS4, Line 74: bool real_imag;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0a7c44e7_9eccf775
PS4, Line 75: float input_symbol_real, input_symbol_imag;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/502b6f3e_db67fa1e
PS4, Line 76: unsigned int i, sample_nr;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b70b536e_7f76f8f6
PS4, Line 77:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4ae46d00_535624df
PS4, Line 78: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fb7db3cb_be1a64ac
PS4, Line 79: * Setup first path metrics, so only state pointed by start_state is
possible.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/57b1b8db_cd1fed0a
PS4, Line 80: * Start_state metric is equal to zero, the rest is written with some very
low value,
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/57ac451d_bf11d36e
PS4, Line 81: * which makes them practically impossible to occur.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/54050302_a67d2b77
PS4, Line 82: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/20c7a715_be07398a
PS4, Line 83: for(i=0; i<PATHS_NUM; i++){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aad798d1_4b39f08d
PS4, Line 84: path_metrics1[i]=(-10e30);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/724f716e_1b18a77b
PS4, Line 85: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f1a28255_b7d1b9ee
PS4, Line 86: path_metrics1[start_state]=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/99c68cbf_4e2400c0
PS4, Line 87:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1d2dd48c_49db93ea
PS4, Line 88: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/87056bfd_ec6b04aa
PS4, Line 89: * Compute Increment - a table of values which does not change for subsequent
input samples.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b4d49196_73b8e457
PS4, Line 90: * Increment is table of reference levels for computation of branch metrics:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/daa420be_86b0aa73
PS4, Line 91: * branch metric = (+/-)received_sample (+/-) reference_level
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e46c84dc_533a27ca
PS4, Line 92: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f8a551db_055437b9
PS4, Line 93: increment[0] = -rhh[1].imag() -rhh[2].real() -rhh[3].imag()
+rhh[4].real();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cc7481be_61747b87
PS4, Line 94: increment[1] = rhh[1].imag() -rhh[2].real() -rhh[3].imag()
+rhh[4].real();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0c88f614_8b20f92b
PS4, Line 95: increment[2] = -rhh[1].imag() +rhh[2].real() -rhh[3].imag()
+rhh[4].real();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ce76d52d_1d71da39
PS4, Line 96: increment[3] = rhh[1].imag() +rhh[2].real() -rhh[3].imag()
+rhh[4].real();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3474cbe3_d189195b
PS4, Line 97: increment[4] = -rhh[1].imag() -rhh[2].real() +rhh[3].imag()
+rhh[4].real();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c0ec3005_006c9848
PS4, Line 98: increment[5] = rhh[1].imag() -rhh[2].real() +rhh[3].imag()
+rhh[4].real();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4be35b6f_158c0d2a
PS4, Line 99: increment[6] = -rhh[1].imag() +rhh[2].real() +rhh[3].imag()
+rhh[4].real();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/70144b3e_eb87167b
PS4, Line 100: increment[7] = rhh[1].imag() +rhh[2].real() +rhh[3].imag()
+rhh[4].real();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bc5f4595_1b839f6e
PS4, Line 101:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d590714a_986afe98
PS4, Line 102:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7500442a_affdafb2
PS4, Line 103: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dab2d34e_12cbdaa5
PS4, Line 104: * Computation of path metrics and decisions (Add-Compare-Select).
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/86ebdf27_8d9dac16
PS4, Line 105: * It's composed of two parts: one for odd input samples (imaginary
numbers)
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/76678b77_9343af7f
PS4, Line 106: * and one for even samples (real numbers).
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/31c72d42_62ff3ff7
PS4, Line 107: * Each part is composed of independent (parallelisable) statements like
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/961052a1_e39fe2fb
PS4, Line 108: * this one:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e1657e97_9f1acebc
PS4, Line 109: * pm_candidate1 = old_path_metrics[0] -input_symbol_imag
+increment[2];
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/42026b79_3f22c273
PS4, Line 110: * pm_candidate2 = old_path_metrics[8] -input_symbol_imag
-increment[5];
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f7b069a9_3d2d5528
PS4, Line 111: * paths_difference=pm_candidate2-pm_candidate1;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0b48b734_bbebe66e
PS4, Line 112: * new_path_metrics[1]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e0627d7e_241e43f3
PS4, Line 113: * trans_table[sample_nr][1] = paths_difference;
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1b9025f2_a79f65a6
PS4, Line 114: * This is very good point for optimisations (SIMD or OpenMP) as it's
most time
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fbebc677_5256ada5
PS4, Line 115: * consuming part of this function.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bc383698_1608552d
PS4, Line 116: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/422a68cd_29125308
PS4, Line 117: sample_nr=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/34f1c758_a4f343f5
PS4, Line 118: old_path_metrics=path_metrics1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/675c20a4_7053c55a
PS4, Line 119: new_path_metrics=path_metrics2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7a9e3a43_f4b6b29d
PS4, Line 120: while(sample_nr<samples_num){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/79bad530_d2d1548b
PS4, Line 121: //Processing imag states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8bc4f230_2ba634b1
PS4, Line 122: real_imag=1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/acc5bcf2_11aeb113
PS4, Line 123: input_symbol_imag = input[sample_nr].imag();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4d5e1e45_e21de719
PS4, Line 124:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8258d1fd_2b8c1e00
PS4, Line 125: pm_candidate1 = old_path_metrics[0] +input_symbol_imag
-increment[2];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e877018c_2878d96b
PS4, Line 126: pm_candidate2 = old_path_metrics[8] +input_symbol_imag
+increment[5];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e08a056f_66a69d54
PS4, Line 127: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a3a6cdb4_851aa741
PS4, Line 128: new_path_metrics[0]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b413424a_476439b4
PS4, Line 129: trans_table[sample_nr][0] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/52f15693_48270797
PS4, Line 130:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b01a7b6b_a251084e
PS4, Line 131: pm_candidate1 = old_path_metrics[0] -input_symbol_imag
+increment[2];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ae0d07bd_ca5b1e2b
PS4, Line 132: pm_candidate2 = old_path_metrics[8] -input_symbol_imag
-increment[5];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9fd5b1ba_4c16e1b9
PS4, Line 133: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/04cfc94a_47983f41
PS4, Line 134: new_path_metrics[1]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b7a33b89_cc877c4d
PS4, Line 135: trans_table[sample_nr][1] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bd5d4b89_12522b0a
PS4, Line 136:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ba5d9b0c_ba5f2959
PS4, Line 137: pm_candidate1 = old_path_metrics[1] +input_symbol_imag
-increment[3];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/103dd7f4_f7d2ce17
PS4, Line 138: pm_candidate2 = old_path_metrics[9] +input_symbol_imag
+increment[4];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6adca3cd_9c7ed6d9
PS4, Line 139: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f6808edc_ba387ef5
PS4, Line 140: new_path_metrics[2]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e874e5c1_13f68b26
PS4, Line 141: trans_table[sample_nr][2] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e80c4b1a_c68a5cd6
PS4, Line 142:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a2d3c2c5_784bcd66
PS4, Line 143: pm_candidate1 = old_path_metrics[1] -input_symbol_imag
+increment[3];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/103d925a_f9d20b32
PS4, Line 144: pm_candidate2 = old_path_metrics[9] -input_symbol_imag
-increment[4];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0bad7a57_5c11dcf8
PS4, Line 145: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8f5f0487_ebf33396
PS4, Line 146: new_path_metrics[3]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5c33003a_e7dbcf9f
PS4, Line 147: trans_table[sample_nr][3] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6d94dbdd_71246adb
PS4, Line 148:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/30edf5a8_7949cca9
PS4, Line 149: pm_candidate1 = old_path_metrics[2] +input_symbol_imag
-increment[0];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f2ce544d_ccea211d
PS4, Line 150: pm_candidate2 = old_path_metrics[10] +input_symbol_imag
+increment[7];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7d987b7e_2aed1401
PS4, Line 151: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e24955e9_26cdb98d
PS4, Line 152: new_path_metrics[4]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b7d21a58_306bfacb
PS4, Line 153: trans_table[sample_nr][4] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/675e3cc9_fbfe8539
PS4, Line 154:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/35571d98_4ac529c5
PS4, Line 155: pm_candidate1 = old_path_metrics[2] -input_symbol_imag
+increment[0];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6907ec07_1298acdb
PS4, Line 156: pm_candidate2 = old_path_metrics[10] -input_symbol_imag
-increment[7];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dbf25e3e_5424d992
PS4, Line 157: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c9757726_8d762b65
PS4, Line 158: new_path_metrics[5]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/52feedc0_c39ed54a
PS4, Line 159: trans_table[sample_nr][5] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/87f941c0_e7c678e2
PS4, Line 160:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/26d0bbbf_6be1f70a
PS4, Line 161: pm_candidate1 = old_path_metrics[3] +input_symbol_imag
-increment[1];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d7b2a117_00cee004
PS4, Line 162: pm_candidate2 = old_path_metrics[11] +input_symbol_imag
+increment[6];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/524f5c4e_e1c5c19d
PS4, Line 163: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e1a40313_c4e153ef
PS4, Line 164: new_path_metrics[6]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/972c2208_aeee7bf9
PS4, Line 165: trans_table[sample_nr][6] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/da441680_503b5900
PS4, Line 166:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/666bf8d6_e97ae13a
PS4, Line 167: pm_candidate1 = old_path_metrics[3] -input_symbol_imag
+increment[1];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d53e130b_fcb690e1
PS4, Line 168: pm_candidate2 = old_path_metrics[11] -input_symbol_imag
-increment[6];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/15670c33_4130d702
PS4, Line 169: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0bbf0c06_72687d00
PS4, Line 170: new_path_metrics[7]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cf8f1be1_e6fe8f4a
PS4, Line 171: trans_table[sample_nr][7] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/88d58044_47bddc46
PS4, Line 172:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/37a3cb8b_711c2e77
PS4, Line 173: pm_candidate1 = old_path_metrics[4] +input_symbol_imag
-increment[6];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/da2bb45e_e46751b7
PS4, Line 174: pm_candidate2 = old_path_metrics[12] +input_symbol_imag
+increment[1];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6de816da_ba4e22a5
PS4, Line 175: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a023d6bc_e60618b3
PS4, Line 176: new_path_metrics[8]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e390bf64_d783e6c3
PS4, Line 177: trans_table[sample_nr][8] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/895e0394_47ca22c6
PS4, Line 178:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f95e965b_4ccd1241
PS4, Line 179: pm_candidate1 = old_path_metrics[4] -input_symbol_imag
+increment[6];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c88f4cf1_25740845
PS4, Line 180: pm_candidate2 = old_path_metrics[12] -input_symbol_imag
-increment[1];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3396473f_2a031010
PS4, Line 181: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4942fab5_ff1e87c8
PS4, Line 182: new_path_metrics[9]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5bf4135f_604cb684
PS4, Line 183: trans_table[sample_nr][9] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d202b8ac_18cc3692
PS4, Line 184:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5d391d31_d9676b17
PS4, Line 185: pm_candidate1 = old_path_metrics[5] +input_symbol_imag
-increment[7];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/375ff81d_dc10b3ad
PS4, Line 186: pm_candidate2 = old_path_metrics[13] +input_symbol_imag
+increment[0];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/52e0c236_a78e703d
PS4, Line 187: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/12b86296_c15c3997
PS4, Line 188: new_path_metrics[10]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1c64d6e8_f87ea148
PS4, Line 189: trans_table[sample_nr][10] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ef4ccddc_3de9fdc2
PS4, Line 190:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3142d618_8b91f015
PS4, Line 191: pm_candidate1 = old_path_metrics[5] -input_symbol_imag
+increment[7];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/73bcc1b2_0252ba0a
PS4, Line 192: pm_candidate2 = old_path_metrics[13] -input_symbol_imag
-increment[0];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b23c47e7_181f9bca
PS4, Line 193: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/dbda29c1_492206f7
PS4, Line 194: new_path_metrics[11]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/58d34ea8_eeb93fb9
PS4, Line 195: trans_table[sample_nr][11] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3d11b7a0_6f4a08ab
PS4, Line 196:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6116a543_5520f92d
PS4, Line 197: pm_candidate1 = old_path_metrics[6] +input_symbol_imag
-increment[4];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/414c2dcf_563b020a
PS4, Line 198: pm_candidate2 = old_path_metrics[14] +input_symbol_imag
+increment[3];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/12e6ab66_25afe193
PS4, Line 199: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3a98f15a_da53e419
PS4, Line 200: new_path_metrics[12]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/16c9f1df_975760f0
PS4, Line 201: trans_table[sample_nr][12] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6975e7bf_5b76e4e4
PS4, Line 202:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/058603d7_e5eab519
PS4, Line 203: pm_candidate1 = old_path_metrics[6] -input_symbol_imag
+increment[4];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2ca6aa9c_6c6835d2
PS4, Line 204: pm_candidate2 = old_path_metrics[14] -input_symbol_imag
-increment[3];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/502ea680_4af883ac
PS4, Line 205: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/70659511_8d192ff1
PS4, Line 206: new_path_metrics[13]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c9885d0e_717e6ebc
PS4, Line 207: trans_table[sample_nr][13] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/89b59ef6_c32eb6e0
PS4, Line 208:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c55aa096_69854a48
PS4, Line 209: pm_candidate1 = old_path_metrics[7] +input_symbol_imag
-increment[5];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e2eb67c4_0d0026b0
PS4, Line 210: pm_candidate2 = old_path_metrics[15] +input_symbol_imag
+increment[2];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/18cada21_dd9b52b9
PS4, Line 211: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/066f7c3a_85eed9e1
PS4, Line 212: new_path_metrics[14]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fafd61ec_be89d0cd
PS4, Line 213: trans_table[sample_nr][14] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b65cc3e2_d217fde5
PS4, Line 214:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/deb9b2b5_dd95cc70
PS4, Line 215: pm_candidate1 = old_path_metrics[7] -input_symbol_imag
+increment[5];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/66099376_f721add0
PS4, Line 216: pm_candidate2 = old_path_metrics[15] -input_symbol_imag
-increment[2];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/66957c21_d0cf2594
PS4, Line 217: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bf7d02d5_eea2e018
PS4, Line 218: new_path_metrics[15]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5b992fae_6598f918
PS4, Line 219: trans_table[sample_nr][15] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0a0f4460_5fa7b9db
PS4, Line 220: tmp=old_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/06e5fd00_ba8b1a4f
PS4, Line 221: old_path_metrics=new_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/95312adc_2434b1b4
PS4, Line 222: new_path_metrics=tmp;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c094babb_3a18d4f2
PS4, Line 223:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b3300254_f9cc9663
PS4, Line 224: sample_nr++;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c98fb83a_3cc0834b
PS4, Line 225: if(sample_nr==samples_num)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cf1b7ec3_2e0ffb66
PS4, Line 226: break;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3ae79548_c1d72664
PS4, Line 227:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8d77e6a2_68d7516f
PS4, Line 228: //Processing real states
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1a37e588_1d0efd4c
PS4, Line 229: real_imag=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c7f4df06_47b8d13d
PS4, Line 230: input_symbol_real = input[sample_nr].real();
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6b24d414_e3e3b877
PS4, Line 231:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5b8c6910_88daabc7
PS4, Line 232: pm_candidate1 = old_path_metrics[0] -input_symbol_real
-increment[7];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/047980c8_471edb96
PS4, Line 233: pm_candidate2 = old_path_metrics[8] -input_symbol_real
+increment[0];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a58724b9_6f66faf3
PS4, Line 234: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1e751af5_27c62abd
PS4, Line 235: new_path_metrics[0]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0c893e37_5d30e684
PS4, Line 236: trans_table[sample_nr][0] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/580cfee2_51580115
PS4, Line 237:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/fa0630e2_5201f2f2
PS4, Line 238: pm_candidate1 = old_path_metrics[0] +input_symbol_real
+increment[7];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a7f469dd_467c9978
PS4, Line 239: pm_candidate2 = old_path_metrics[8] +input_symbol_real
-increment[0];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/18503873_ab0fbcda
PS4, Line 240: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/27a0ec72_2776959f
PS4, Line 241: new_path_metrics[1]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/471b9371_8e15118d
PS4, Line 242: trans_table[sample_nr][1] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/97f2acaf_7a21a6d1
PS4, Line 243:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8fa00802_ec0ac865
PS4, Line 244: pm_candidate1 = old_path_metrics[1] -input_symbol_real
-increment[6];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/40ef9704_9a709ecc
PS4, Line 245: pm_candidate2 = old_path_metrics[9] -input_symbol_real
+increment[1];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3282cdd9_e328d967
PS4, Line 246: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8c7a6f49_797151a3
PS4, Line 247: new_path_metrics[2]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ba479060_17bf5d60
PS4, Line 248: trans_table[sample_nr][2] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5a91140e_0c2ebf1f
PS4, Line 249:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/100ce3c7_a4a3eec3
PS4, Line 250: pm_candidate1 = old_path_metrics[1] +input_symbol_real
+increment[6];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4ebaec86_6fd31c49
PS4, Line 251: pm_candidate2 = old_path_metrics[9] +input_symbol_real
-increment[1];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4cb2ed66_bc43148f
PS4, Line 252: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a514efa1_3a54a07d
PS4, Line 253: new_path_metrics[3]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4a191e10_c1fbd62f
PS4, Line 254: trans_table[sample_nr][3] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c21af92b_7b49c39a
PS4, Line 255:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/db427033_d51d4ea9
PS4, Line 256: pm_candidate1 = old_path_metrics[2] -input_symbol_real
-increment[5];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e77e080f_44350b62
PS4, Line 257: pm_candidate2 = old_path_metrics[10] -input_symbol_real
+increment[2];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3ca26ecd_f678e21a
PS4, Line 258: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/30c14f9c_8394ac7d
PS4, Line 259: new_path_metrics[4]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ec9207f3_cc33fa9e
PS4, Line 260: trans_table[sample_nr][4] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c982748a_c5e02d5c
PS4, Line 261:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/807e0370_eaa31b8c
PS4, Line 262: pm_candidate1 = old_path_metrics[2] +input_symbol_real
+increment[5];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f531d271_431e0bd7
PS4, Line 263: pm_candidate2 = old_path_metrics[10] +input_symbol_real
-increment[2];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7fb550f7_b0030586
PS4, Line 264: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0dda86ef_f11ab5ee
PS4, Line 265: new_path_metrics[5]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4d97365d_d38e5262
PS4, Line 266: trans_table[sample_nr][5] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a21a22ab_e758481d
PS4, Line 267:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2be40256_a93f5bf7
PS4, Line 268: pm_candidate1 = old_path_metrics[3] -input_symbol_real
-increment[4];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6fa653ab_bd58048f
PS4, Line 269: pm_candidate2 = old_path_metrics[11] -input_symbol_real
+increment[3];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/465df447_c8dcd0bd
PS4, Line 270: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/30e808df_48c772eb
PS4, Line 271: new_path_metrics[6]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/097d802c_6a6c66c2
PS4, Line 272: trans_table[sample_nr][6] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2e5be319_41eb7244
PS4, Line 273:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/46ca51a0_7330b51f
PS4, Line 274: pm_candidate1 = old_path_metrics[3] +input_symbol_real
+increment[4];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2dc8ccdb_898a5352
PS4, Line 275: pm_candidate2 = old_path_metrics[11] +input_symbol_real
-increment[3];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/02608335_796d037e
PS4, Line 276: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ea264723_7ee12bcc
PS4, Line 277: new_path_metrics[7]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bb9788fb_93067e59
PS4, Line 278: trans_table[sample_nr][7] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b98f45e3_84945451
PS4, Line 279:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/199721a2_430f43a2
PS4, Line 280: pm_candidate1 = old_path_metrics[4] -input_symbol_real
-increment[3];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/86820ebe_a30c02a9
PS4, Line 281: pm_candidate2 = old_path_metrics[12] -input_symbol_real
+increment[4];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d0e102b2_aa4d3c3a
PS4, Line 282: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bd12bbf6_2b8f3ec6
PS4, Line 283: new_path_metrics[8]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/74ee60c5_b4f20623
PS4, Line 284: trans_table[sample_nr][8] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9a840e95_7164c327
PS4, Line 285:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7a57f4f0_ac5dc6e4
PS4, Line 286: pm_candidate1 = old_path_metrics[4] +input_symbol_real
+increment[3];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/63184108_c9898968
PS4, Line 287: pm_candidate2 = old_path_metrics[12] +input_symbol_real
-increment[4];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e6282dcd_db7976c7
PS4, Line 288: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4304731b_8bce71f1
PS4, Line 289: new_path_metrics[9]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9c3c85f1_7eee63fe
PS4, Line 290: trans_table[sample_nr][9] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ce44b2b7_efae144a
PS4, Line 291:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/edf0653d_08b7c182
PS4, Line 292: pm_candidate1 = old_path_metrics[5] -input_symbol_real
-increment[2];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6fd542b8_7e2ba510
PS4, Line 293: pm_candidate2 = old_path_metrics[13] -input_symbol_real
+increment[5];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2fc4d88b_a9cb10f0
PS4, Line 294: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3d4037f9_24a85261
PS4, Line 295: new_path_metrics[10]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ca392bda_5a368484
PS4, Line 296: trans_table[sample_nr][10] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/507b9fbb_4c41caaf
PS4, Line 297:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/faf267ac_6c1ec426
PS4, Line 298: pm_candidate1 = old_path_metrics[5] +input_symbol_real
+increment[2];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5cd87f68_811da2db
PS4, Line 299: pm_candidate2 = old_path_metrics[13] +input_symbol_real
-increment[5];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6ad26d0d_c45c021f
PS4, Line 300: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bdc785f1_f861878c
PS4, Line 301: new_path_metrics[11]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1564b85e_f8064f81
PS4, Line 302: trans_table[sample_nr][11] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8c2de6d6_3df9deb5
PS4, Line 303:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8fe01662_1351133d
PS4, Line 304: pm_candidate1 = old_path_metrics[6] -input_symbol_real
-increment[1];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f7247013_6a7bf1a3
PS4, Line 305: pm_candidate2 = old_path_metrics[14] -input_symbol_real
+increment[6];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/872f21eb_a7a5bc07
PS4, Line 306: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c24e9351_d5caa907
PS4, Line 307: new_path_metrics[12]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f57cba15_c609b5a8
PS4, Line 308: trans_table[sample_nr][12] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/566d22d7_9ee1fd87
PS4, Line 309:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/13f6a38b_bd114f12
PS4, Line 310: pm_candidate1 = old_path_metrics[6] +input_symbol_real
+increment[1];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cbff0648_3a6ae213
PS4, Line 311: pm_candidate2 = old_path_metrics[14] +input_symbol_real
-increment[6];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/aff6ffd5_a654559f
PS4, Line 312: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/4fd4b2bc_3357ff3d
PS4, Line 313: new_path_metrics[13]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7034c89b_9ca049b3
PS4, Line 314: trans_table[sample_nr][13] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cfb8aab8_1170e969
PS4, Line 315:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/81becd61_68338b7e
PS4, Line 316: pm_candidate1 = old_path_metrics[7] -input_symbol_real
-increment[0];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8203d71b_ff7761a0
PS4, Line 317: pm_candidate2 = old_path_metrics[15] -input_symbol_real
+increment[7];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/10de8339_596f0d23
PS4, Line 318: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b3629f71_332ae992
PS4, Line 319: new_path_metrics[14]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/d7695a12_34a99b6e
PS4, Line 320: trans_table[sample_nr][14] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3be2eeca_7e438d53
PS4, Line 321:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b10e28c0_7450607e
PS4, Line 322: pm_candidate1 = old_path_metrics[7] +input_symbol_real
+increment[0];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5676b8b1_d175984b
PS4, Line 323: pm_candidate2 = old_path_metrics[15] +input_symbol_real
-increment[7];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f142a712_f029ad81
PS4, Line 324: paths_difference=pm_candidate2-pm_candidate1;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a9ecbff9_d0423f36
PS4, Line 325: new_path_metrics[15]=(paths_difference<0) ? pm_candidate1 :
pm_candidate2;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/957d10c8_d2327b02
PS4, Line 326: trans_table[sample_nr][15] = paths_difference;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/7a80987d_69bb58d0
PS4, Line 327:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e60461d3_7c05f64d
PS4, Line 328: tmp=old_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8424a471_893431d2
PS4, Line 329: old_path_metrics=new_path_metrics;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/61bd7b32_3df610e6
PS4, Line 330: new_path_metrics=tmp;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/84de7cef_fde3dc51
PS4, Line 331:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/e372bc3f_201b1b38
PS4, Line 332: sample_nr++;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/03ae49d8_9995729a
PS4, Line 333: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cc5aa73e_45557851
PS4, Line 334:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3fc34b27_83d6be98
PS4, Line 335: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/43e10c00_f492960f
PS4, Line 336: * Find the best from the stop states by comparing their path metrics.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/cc4b4cbc_5693a3e5
PS4, Line 337: * Not every stop state is always possible, so we are searching in
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8551321b_86fb9cba
PS4, Line 338: * a subset of them.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6070d76e_a3500e52
PS4, Line 339: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a75be0bd_8bd9e7c5
PS4, Line 340: unsigned int best_stop_state;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/c131acce_be8fc95f
PS4, Line 341: float stop_state_metric, max_stop_state_metric;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/93314785_0e1702a2
PS4, Line 342: best_stop_state = stop_states[0];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a180e72d_f159087a
PS4, Line 343: max_stop_state_metric = old_path_metrics[best_stop_state];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/39064641_eb093212
PS4, Line 344: for(i=1; i< stops_num; i++){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8b3c5ce7_18af9b0b
PS4, Line 345: stop_state_metric = old_path_metrics[stop_states[i]];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a6bcc4cb_46723fbf
PS4, Line 346: if(stop_state_metric > max_stop_state_metric){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f6a67c80_59c83de0
PS4, Line 347: max_stop_state_metric = stop_state_metric;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5fe15fd8_2a6025ea
PS4, Line 348: best_stop_state = stop_states[i];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/275995aa_5014c393
PS4, Line 349: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/395ae5a8_03eab5de
PS4, Line 350: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/40200af0_8bc95962
PS4, Line 351:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/44788a75_c6a185c9
PS4, Line 352: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/707dd013_f6d5aeac
PS4, Line 353: * This table was generated with hope that it gives a litle speedup during
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a15234b6_8af50d48
PS4, Line 354: * traceback stage.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5a79c4e3_72d9f102
PS4, Line 355: * Received bit is related to the number of state in the trellis.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5078de71_39bb479b
PS4, Line 356: * I've numbered states so their parity (number of ones) is related
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/0a44f52a_369d1ff2
PS4, Line 357: * to a received bit.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/89e2daef_266200d4
PS4, Line 358: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9aa7cc48_2f72caab
PS4, Line 359: static const unsigned int parity_table[PATHS_NUM] = { 0, 1, 1, 0, 0, 1,
1, 0, 0, 1, 1, 0, 0, 1, 1, 0, };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/19db3176_3e8fbf74
PS4, Line 360:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/eb5b4e5a_f29498b6
PS4, Line 361: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/01a4ddc0_3ef07ebc
PS4, Line 362: * Table of previous states in the trellis diagram.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f83b8e45_8b7aa1b6
PS4, Line 363: * For GMSK modulation every state has two previous states.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/2c327994_35776878
PS4, Line 364: * Example:
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/a7b49e23_97d0d829
PS4, Line 365: * previous_state_nr1 = prev_table[current_state_nr][0]
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/8f1d798b_19ab1cab
PS4, Line 366: * previous_state_nr2 = prev_table[current_state_nr][1]
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b726e212_2ad9c258
PS4, Line 367: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6884f196_c03a4b8c
PS4, Line 368: static const unsigned int prev_table[PATHS_NUM][2] = { {0,8}, {0,8},
{1,9}, {1,9}, {2,10}, {2,10}, {3,11}, {3,11}, {4,12}, {4,12}, {5,13}, {5,13}, {6,14},
{6,14}, {7,15}, {7,15}, };
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ef77d79d_f5d8638f
PS4, Line 369:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/766811fc_a43ba370
PS4, Line 370: /*
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/74dbe156_6409fcf5
PS4, Line 371: * Traceback and differential decoding of received sequence.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/9793aed8_9b5dd6dd
PS4, Line 372: * Decisions stored in trans_table are used to restore best path in the
trellis.
trailing whitespace
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5680ef8c_d1129e85
PS4, Line 373: */
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f7b3ce46_98ff7c71
PS4, Line 374: sample_nr=samples_num;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/28658b3e_228b4902
PS4, Line 375: unsigned int state_nr=best_stop_state;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/98f4689c_bc9f77e8
PS4, Line 376: unsigned int decision;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f7cbcf4f_0051965e
PS4, Line 377: bool out_bit=0;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/93036c95_c5da3687
PS4, Line 378:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/5fb7e630_7c16f53e
PS4, Line 379: while(sample_nr>0){
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/75937b33_fbbe14a7
PS4, Line 380: sample_nr--;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/b57ec1dd_d9c983b4
PS4, Line 381: decision = (trans_table[sample_nr][state_nr]>0);
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f4902d9e_189852df
PS4, Line 382:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/bf6295d6_3d050aa7
PS4, Line 383: if(decision != out_bit)
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f1a15774_535c8097
PS4, Line 384: output[sample_nr]=-trans_table[sample_nr][state_nr];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/6ece24c1_80db8cc2
PS4, Line 385: else
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/ee764878_8a20c2f5
PS4, Line 386: output[sample_nr]=trans_table[sample_nr][state_nr];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/3f66756b_cc3f5ec0
PS4, Line 387:
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/224969b6_983df7bc
PS4, Line 388: out_bit = out_bit ^ real_imag ^ parity_table[state_nr];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/23aa4bc7_5f354565
PS4, Line 389: state_nr = prev_table[state_nr][decision];
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/f55720d7_c5a5c3c8
PS4, Line 390: real_imag = !real_imag;
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/729f41cf_13e0dd08
PS4, Line 391: }
DOS line endings
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-1538):
https://gerrit.osmocom.org/c/osmo-trx/+/30415/comment/1526daff_abdbfe76
PS4, Line 392: }
DOS line endings
--
To view, visit
https://gerrit.osmocom.org/c/osmo-trx/+/30415
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I5466c522cf4de984a4810ec46df43a10b52ed78f
Gerrit-Change-Number: 30415
Gerrit-PatchSet: 4
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 02 Dec 2022 13:14:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment